:root {
  /* Backgrounds */
  --bg-main: #fff7ed;        /* fond clair et doux (orange pâle) */
  --bg-alt: #fff1e0;         /* sections alternées pastel */
  --bg-soft: #fffaf3;        /* cartes, blocs */

  /* Textes */
  --text-main: #0d1326;      /* noir bleu dense */
  --text-muted: #1f2937;     /* gris contrasté */
  --text-soft: #4b5568;

  /* Brand */
  --brand-primary: #fa8805;  /* orange principal */
  --brand-primary-dark: #c56a04;
  --brand-secondary: #ffc271;/* accent orange clair */
  --brand-teal: #0ea5e9;     /* accent bleu cyan */

  /* Gradients */
  --grad-hero-start: #f0a15a; /* orange plus doux */
  --grad-hero-mid: #f7b56d;   /* orange clair */
  --grad-hero-end: #fbc98a;   /* orange pastel */

  --grad-button-start: #047ccc;
  --grad-button-end: #0ea5e9;

  --grad-phone-1: #047ccc;
  --grad-phone-2: #0ea5e9;
  --grad-phone-3: #5ab0ff;

  /* Ombres */
  --shadow-soft: 0 12px 26px rgba(15, 23, 42, 0.08);
  --shadow-strong: 0 20px 40px rgba(15, 23, 42, 0.18);
  --shadow-logo: 0 10px 24px rgba(28, 126, 214, 0.45);
}

/* RESET SIMPLE */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Work Sans', system-ui, -apple-system, BlinkMacSystemFont,
    'Segoe UI', sans-serif;
  color: var(--text-main);
  background: var(--bg-main);
  font-weight: 400;
  line-height: 1.6;
}

/* TITRES */
h1, h2, h3, h4, h5, h6,
.hero-label,
.logo,
.btn {
  font-family: 'Poppins', system-ui, sans-serif;
}

h1, h2, h3 {
  margin: 0 0 0.5rem;
}

/* LAYOUT GÉNÉRAL */
.container {
  width: min(1080px, 100% - 2.5rem);
  margin-inline: auto;
}

.section {
  padding: 4.5rem 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-label {
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  color: var(--brand-primary);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.section h2 {
  font-size: clamp(1.8rem, 2.6vw, 2.4rem);
  margin-bottom: 1rem;
}

.section-intro {
  max-width: 42rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 247, 237, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  position: relative;
}

/* LOGO */
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.logo-mark {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.logo-subtitle {
  font-size: 0.8rem;
  color: var(--text-soft);
}

/* NAV */
.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.main-nav a {
  text-decoration: none;
  font-size: 0.9rem;
  color: #0c1428;
  font-weight: 500;
  position: relative;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.3rem;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--brand-primary), var(--brand-secondary));
  transition: width 0.2s ease-out;
}

.main-nav a:hover::after {
  width: 100%;
}

.main-nav a.active {
  color: var(--brand-primary);
}

.main-nav a.active::after {
  width: 100%;
}

/* NAV TOGGLE (MOBILE) */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 0.45rem;
  cursor: pointer;
  width: 44px;
  height: 44px;
}

.nav-toggle-bar {
  display: block;
  width: 24px;
  height: 3px;
  background: var(--text-main);
  border-radius: 999px;
  position: relative;
  box-shadow: 0 0 0.5px rgba(0, 0, 0, 0.1);
}

.nav-toggle-bar + .nav-toggle-bar {
  margin-top: 0;
}

/* HERO */
.hero {
  padding: 4.5rem 0 4rem;
  background: radial-gradient(
    circle at top left,
    var(--grad-hero-start) 0,
    var(--grad-hero-mid) 55%,
    var(--grad-hero-end) 100%
  );
  color: #2f1900;
  position: relative;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-skyline-wrapper {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.hero-skyline {
  width: 100%;
  height: 190px;
  color: var(--brand-primary-dark);
}

.hero-label {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: clamp(2rem, 3vw, 2.6rem);
  color: #ffd7a3;
  margin-bottom: 0.75rem;
}

.hero-subtitle {
  color: #4a2805;
  max-width: 32rem;
  font-size: 1rem;
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.hero-highlights {
  list-style: none;
  padding-left: 0;
  margin: 0;
  color: #5c3208;
  font-size: 0.95rem;
}

.hero-highlights li + li {
  margin-top: 0.4rem;
}

/* HERO MEDIA (PHONE MOCKUP) */
.hero-media {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.hero-phone {
  width: 260px;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  border-radius: 32px;
  padding: 0.65rem;
  background: linear-gradient(145deg, #020617, #111827);
  box-shadow:
    0 32px 60px rgba(15, 23, 42, 0.7),
    0 0 0 1px rgba(255, 255, 255, 0.06);
}

.hero-phone-screen {
  border-radius: 24px;
  background: radial-gradient(
    circle at 10% 0,
    var(--grad-phone-1) 0,
    var(--grad-phone-2) 40%,
    var(--grad-phone-3) 80%,
    #020617 120%
  );
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: stretch;
  min-height: 330px;
}

.dog-card {
  background: var(--brand-secondary);
  border-radius: 18px;
  padding: 0;
  box-shadow: var(--shadow-strong);
  animation: float 5s ease-in-out infinite;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.dog-card.secondary {
  background: rgba(255, 255, 255, 0.94);
  animation-delay: 1s;
}

.dog-card h3 {
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.dog-card p {
  font-size: 0.8rem;
  margin: 0;
  color: var(--text-muted);
}

.dog-avatar {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff7cc;
  margin-bottom: 0.4rem;
}

.dog-card-photo {
  width: 100%;
  min-width: min(250px, 100%);
  max-width: 100%;
  height: auto;
  border-radius: 18px;
  display: block;
  margin: 0 auto;
  box-shadow: var(--shadow-strong);
}

.hero-caption {
  font-size: 0.85rem;
  color: #4f2a06;
  text-align: center;
  max-width: 18rem;
  margin-inline: auto;
}

/* BOUTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.6rem 1.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition:
    transform 0.12s ease-out,
    box-shadow 0.12s ease-out,
    background 0.2s ease-out,
    color 0.2s ease-out;
}

.btn-primary {
  background: linear-gradient(
    135deg,
    var(--grad-button-start),
    var(--grad-button-end)
  );
  color: #ffffff;
  box-shadow: 0 18px 36px rgba(4, 124, 204, 0.32);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 42px rgba(4, 124, 204, 0.42);
}

.btn-secondary {
  background: #ffffff;
  color: var(--brand-primary);
  border: 1px solid rgba(4, 124, 204, 0.35);
}

.btn-secondary:hover {
  background: #e6f4ff;
}

.btn-outline {
  border: 1px solid rgba(4, 124, 204, 0.35);
  background: transparent;
  color: var(--brand-primary);
}

.btn-outline:hover {
  background: rgba(226, 242, 255, 0.8);
}

.btn-full {
  width: 100%;
}

/* ABOUT */
.two-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
}

.two-columns > div:last-child {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.about-cards {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.info-card {
  background: linear-gradient(135deg, #ffffff, #f6fbff);
  border-radius: 18px;
  padding: 1.2rem 1.4rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(15, 23, 42, 0.04);
}

.info-card:nth-child(2) {
  background: linear-gradient(135deg, #ffffff, #eef5ff);
}

.about-image-2 {
  width: min(400px, 100%);
  border-radius: 18px;
  object-fit: cover;
  background: linear-gradient(135deg, #f7b56d, #fbc98a);
  border: 1px solid var(--brand-primary);
  box-shadow: var(--shadow-soft);
  margin-top: clamp(20px, 8vw, 100px);
}

.info-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

/* WHO WE SERVE CARDS */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 0;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(15, 23, 42, 0.05);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.service-card > * {
  position: relative;
  z-index: 1;
}

.service-card-media {
  height: 200px;
  border-radius: 18px 18px 0 0;
  overflow: hidden;
  background: transparent;
  position: relative;
}

.service-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.service-card-overlay {
  position: absolute;
  inset: 0;
  padding: 0.5rem 0.2rem 0.5rem 0.2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
  background: inherit;
  color: var(--text-main);
  opacity: 0;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
  min-height: 200px;
}

.service-card-overlay h3,
.service-card-overlay p {
  opacity: 0;
  margin: 0;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.service-card:hover .service-card-img {
  opacity: 0;
  transform: scale(1.05);
}

.service-card:hover .service-card-overlay {
  opacity: 1;
  transform: none;
}

.service-card:hover .service-card-overlay h3,
.service-card:hover .service-card-overlay p {
  opacity: 1;
  transform: none;
}

.service-card h3 {
  font-size: 1.05rem;
  margin: 0;
  color: #0f172a;
}

.service-card p {
  margin: 0;
  color: #e7eef7;
}

.service-card-overlay h3 {
  color: #ffffff;
}

.service-card-overlay p {
  color: #e4edf9;
}

.service-card-body {
  padding: 1.05rem 1.3rem 1.25rem;
  transition: transform 0.6s ease, color 0.6s ease, opacity 0.6s ease;
  position: relative;
  z-index: 2;
}

/* service cards accents */

.service-card:nth-child(1) {
  color: #047ccc; /* bleu */
  border-color: rgba(4, 124, 204, 0.35);
  background: #d8eaff;
}

.service-card:nth-child(2) {
  color: #16a34a; /* vert */
  border-color: rgba(22, 163, 74, 0.3);
  background: #e6f7f0;
}

.service-card:nth-child(3) {
  color: #f59e0b; /* jaune vif */
  border-color: rgba(245, 158, 11, 0.35);
  background: #fff7de;
}

.service-card:nth-child(4) {
  color: var(--brand-primary); /* orange */
  border-color: rgba(250, 136, 5, 0.35);
  background: #ffe9cc;
}

.service-card:nth-child(n) h3 {
  color: currentColor;
}

.service-card:nth-child(n) p {
  color: #0f172a;
}

.section-cta {
  margin-top: 2.5rem;
  text-align: center;
}

/* BENEFITS */
.benefits-grid {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-top: 1.4rem;
}

.benefit-card {
  background: linear-gradient(135deg, #ffffff, #fffaf3);
  border-radius: 16px;
  padding: 1.35rem 1.35rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(15, 23, 42, 0.05);
  width: 100%;
}

.benefit-card h3 {
  margin: 0 0 0.6rem;
  font-size: 1.05rem;
  color: currentColor;
  padding-bottom: 0.15rem;
}

.benefit-card ul {
  margin: 0;
  padding-left: 0;
  color: #0f172a;
  line-height: 1.7;
  font-size: 0.98rem;
  list-style: none;
}

.benefit-card li + li {
  margin-top: 0.35rem;
}

.benefit-card strong {
  color: currentColor;
}

/* benefits accents (align with service cards) */
.benefit-card:nth-child(1) {
  color: #047ccc; /* bleu */
  border-color: rgba(4, 124, 204, 0.35);
  background: #d8eaff;
}

.benefit-card:nth-child(2) {
  color: #16a34a; /* vert */
  border-color: rgba(22, 163, 74, 0.3);
  background: #e6f7f0;
}

.benefit-card:nth-child(3) {
  color: #f59e0b; /* jaune vif */
  border-color: rgba(245, 158, 11, 0.35);
  background: #fff7de;
}

.benefit-card:nth-child(4) {
  color: var(--brand-primary); /* orange */
  border-color: rgba(250, 136, 5, 0.35);
  background: #ffe9cc;
}

/* SERVICES DÉTAILLÉS */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.8rem;
  margin-top: 1.8rem;
}

.detail-card {
  background: linear-gradient(135deg, #ffffff, #f3f8ff);
  border-radius: 18px;
  padding: 1.5rem 1.7rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(15, 23, 42, 0.04);
}

.detail-card-img {
  display: block;
  width: 150px;
  height: 150px;
  max-width: 100%;
  object-fit: cover;
  margin: 0 auto 1rem;
  border-radius: 14px;
  border: 1px solid currentColor;
}

.detail-card:nth-child(1) {
  color: #047ccc;
  background: #d8eaff;
  border-color: rgba(4, 124, 204, 0.35);
}

.detail-card:nth-child(2) {
  color: #16a34a;
  background: #e6f7f0;
  border-color: rgba(22, 163, 74, 0.3);
}

.detail-card:nth-child(3) {
  color: #f59e0b;
  background: #fff7de;
  border-color: rgba(245, 158, 11, 0.35);
}

.detail-tag {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-soft);
  margin-bottom: 0.8rem;
}

.detail-card ul {
  padding-left: 1.1rem;
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.detail-card li + li {
  margin-top: 0.4rem;
}

/* PRICING */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.8rem;
  margin-top: 2rem;
}

.pricing-card {
  background: linear-gradient(135deg, #ffffff, #f4f9ff);
  border-radius: 18px;
  padding: 1.5rem 1.7rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid transparent;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.pricing-blue {
  background: #d8eaff;
  color: #0f172a;
  border-color: rgba(4, 124, 204, 0.35);
}

.pricing-green {
  background: #e6f7f0;
  color: #0f172a;
  border-color: rgba(22, 163, 74, 0.3);
}

.pricing-yellow {
  background: #fff7de;
  color: #0f172a;
  border-color: rgba(245, 158, 11, 0.35);
}

.pricing-card h3 {
  margin-bottom: 0.6rem;
}

.pricing-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: auto;
  margin-bottom: auto;
}

.pricing-list li + li {
  margin-top: 0.35rem;
}

.pricing-image {
  display: block;
  width: 100%;
  max-width: 240px;
  height: auto;
  margin: 1rem auto 0;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.05);
  box-shadow: var(--shadow-soft);
}

/* NEWS */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 1.6rem;
}

.news-card {
  background: linear-gradient(135deg, #ffffff, #f3f8ff);
  border-radius: 16px;
  padding: 1.3rem 1.4rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(15, 23, 42, 0.05);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.news-card h3 {
  margin-bottom: 0.2rem;
}

[data-soon] {
  margin-top: auto;
}

/* TESTIMONIALS */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1.8rem;
}

.testimonial-card {
  background: linear-gradient(135deg, #ffffff, #f3f8ff);
  border-radius: 16px;
  padding: 1.5rem 1.6rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(15, 23, 42, 0.04);
}

.testimonial-text {
  margin: 0 0 0.6rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.testimonial-author {
  margin: 0;
  font-weight: 600;
  color: var(--text-main);
}

/* CONTACT */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
  display: grid;
  gap: 0.5rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
}

.contact-icon {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(28, 126, 214, 0.1);
  color: var(--brand-primary);
  flex-shrink: 0;
}

.contact-icon svg {
  width: 20px;
  height: 20px;
  display: block;
}

.contact-link {
  color: var(--text-main);
  text-decoration: none;
  font-weight: 600;
}

.contact-link:hover {
  color: var(--brand-primary);
  text-decoration: underline;
}

.contact-note {
  margin-top: 1.25rem;
  background: linear-gradient(135deg, #ffffff, #f4f9ff);
  border-radius: 14px;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(200, 58, 42, 0.15);
  color: var(--text-muted);
  box-shadow: var(--shadow-soft);
}

.contact-form {
  background: linear-gradient(135deg, #ffffff, #f4f9ff);
  border-radius: 18px;
  padding: 1.4rem 1.5rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(200, 58, 42, 0.14);
  display: grid;
  gap: 1rem;
}

.contact-disabled {
  text-align: center;
  gap: 0.75rem;
}

.contact-disabled-title {
  margin: 0;
  font-weight: 700;
  color: var(--text-main);
}

.contact-disabled-copy {
  margin: 0;
  color: var(--text-muted);
}

.form-group {
  display: grid;
  gap: 0.35rem;
}

.form-group label {
  font-weight: 600;
  color: var(--text-main);
}

.form-group input,
.form-group textarea {
  width: 100%;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 12px;
  padding: 0.75rem 0.85rem;
  font-family: inherit;
  font-size: 1rem;
  background: var(--bg-soft);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: rgba(28, 126, 214, 0.7);
  box-shadow: 0 0 0 3px rgba(28, 126, 214, 0.18);
  background: #ffffff;
}

.form-feedback {
  min-height: 1.25rem;
  margin: 0;
  font-weight: 600;
  color: var(--brand-teal);
}

/* FOOTER */
.site-footer {
  background: #0f172a;
  color: #e5e7eb;
  padding: 2.75rem 0;
  margin-top: 2rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 2.5rem;
  align-items: flex-start;
  flex-wrap: wrap;
}

.footer-left {
  max-width: 460px;
}

.footer-branding {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 0.35rem;
}

.footer-logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
  filter: drop-shadow(var(--shadow-logo));
}

.footer-brand {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-copy,
.footer-credits {
  margin: 0.2rem 0;
  color: #cbd5e1;
  line-height: 1.5;
}

.footer-credits {
  font-size: 0.95rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.45rem;
}

.footer-links a {
  color: #e5e7eb;
  text-decoration: none;
  font-weight: 600;
}

.footer-links a:hover {
  color: var(--brand-secondary);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .hero-inner,
  .two-columns {
    grid-template-columns: 1fr;
  }

  .hero-text {
    text-align: center;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .main-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 0.35rem);
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: var(--shadow-soft);
    border-radius: 14px;
    padding: 0.35rem 0;
    display: none;
    z-index: 50;
    width: 100%;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 0;
    align-items: flex-start;
  }

  .main-nav a {
    display: block;
    width: 100%;
    padding: 0.7rem 1rem;
  }

  .main-nav.open {
    display: block;
  }

  .nav-toggle {
    display: inline-flex;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(1080px, 100% - 1.6rem);
  }

  .section {
    padding: 3.5rem 0;
  }

  .hero {
    padding-top: 3.5rem;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
