/* ===== Variables ===== */
:root {
  --teal-900: #0f3b3a;
  --teal-700: #1d5c58;
  --teal-500: #2a9d8f;
  --teal-300: #8fd6cb;
  --teal-100: #dff1ee;
  --sand: #f7f3ec;
  --coral: #e76f51;
  --amber: #f4a261;
  --ink: #1b2826;
  --muted: #5d6b69;
  --muted-light: #b5cfcb;
  --line: rgba(15, 59, 58, 0.1);
  --white: #ffffff;

  --radius: 20px;
  --radius-lg: 28px;
  --shadow: 0 20px 50px -20px rgba(15, 59, 58, 0.25);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", system-ui, sans-serif;
}

/* ===== Base ===== */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--sand);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
fieldset { border: 0; }

:focus-visible {
  outline: 2px solid var(--teal-500);
  outline-offset: 3px;
  border-radius: 6px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.6rem, 5vw, 3.9rem); }
h2 { font-size: clamp(2rem, 4vw, 2.9rem); }
h3 { font-size: 1.3rem; }

em { font-style: italic; color: var(--teal-500); }

.container { width: min(1140px, 100% - 2.5rem); margin-inline: auto; }

.icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-500);
  margin-bottom: 1rem;
}
.eyebrow-light { color: var(--teal-300); }

.stars { display: inline-flex; gap: 2px; color: var(--amber); }
.stars svg { width: 16px; height: 16px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s, box-shadow 0.2s, color 0.2s;
  font-family: inherit;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--teal-700);
  color: var(--white);
  box-shadow: 0 10px 25px -10px rgba(29, 92, 88, 0.7);
}
.btn-primary:hover { background: var(--teal-900); }

.btn-ghost { border-color: var(--teal-700); color: var(--teal-700); }
.btn-ghost:hover { background: var(--teal-700); color: var(--white); }

.btn-sm { padding: 0.6rem 1.2rem; }
.btn-block { width: 100%; }

/* ===== Header ===== */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background 0.3s, box-shadow 0.3s;
}
.header.scrolled {
  background: rgba(247, 243, 236, 0.85);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--teal-900);
}
.logo-mark {
  width: 42px;
  height: 42px;
  transition: transform 0.4s ease;
}
.logo:hover .logo-mark { transform: rotate(-8deg) scale(1.05); }
.logo-text {
  display: flex;
  flex-direction: column;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
}
.logo-text small {
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--teal-500);
  margin-top: 0.3rem;
}

.nav-links { display: flex; align-items: center; gap: 1.8rem; }
.nav-links a:not(.btn) {
  font-weight: 500;
  color: var(--muted);
  position: relative;
  transition: color 0.2s;
}
.nav-links a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--teal-500);
  transition: width 0.25s;
}
.nav-links a:not(.btn):hover { color: var(--teal-900); }
.nav-links a:not(.btn):hover::after { width: 100%; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--teal-900);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  padding: 116px 0 64px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 4rem;
  align-items: stretch;
}
.hero-text { align-self: center; }
.lead {
  font-size: 1.15rem;
  color: var(--muted);
  margin: 1.2rem 0 1.8rem;
  max-width: 32rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 2.2rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}
.hero-stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--teal-900);
}
.hero-stats span { font-size: 0.85rem; color: var(--muted); }

.hero-media {
  position: relative;
  min-height: 460px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.hero-media img {
  /* absoluta: la altura la marca la columna de texto, no la foto */
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 59, 58, 0.35), transparent 40%);
  pointer-events: none;
}

.hero-chip {
  position: absolute;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.75rem 1.1rem;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  border-radius: 14px;
  font-size: 0.88rem;
  color: var(--ink);
  box-shadow: 0 10px 30px -12px rgba(15, 59, 58, 0.35);
}
.chip-top { top: 1.5rem; left: 1.5rem; }
.chip-bottom { bottom: 1.5rem; left: 1.5rem; }
.chip-bottom > span { display: grid; gap: 0.1rem; color: var(--muted); font-size: 0.8rem; }
.chip-score {
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1;
  color: var(--teal-900);
}

.dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.dot-green {
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.2);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  50% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
}

/* ===== Mutuas (marquee) ===== */
.insurers {
  border-block: 1px solid var(--line);
  padding: 1.4rem 0;
}
.insurers-inner {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}
.insurers-inner > p {
  flex-shrink: 0;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
}
.marquee {
  flex: 1;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 30s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track li {
  padding-inline: 2rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--teal-700);
  opacity: 0.55;
  white-space: nowrap;
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ===== Sections ===== */
.section { padding: 110px 0; }
.section-soft { background: var(--teal-100); }
.section-dark { background: var(--teal-900); color: var(--white); }

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 4rem;
}
.section-head p { color: var(--muted); margin-top: 1rem; font-size: 1.05rem; }

/* Variante: título a la izquierda, texto a la derecha */
.section-head-split {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 3rem;
  max-width: none;
  text-align: left;
  margin-bottom: 3.5rem;
}
.section-head-split h2 { max-width: 15ch; }
.section-head-split > p { max-width: 26rem; margin: 0; }

/* ===== Servicios (bento) ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 280px;
  gap: 1.2rem;
}
.service-lg { grid-column: span 2; grid-row: span 2; }
.service-wide { grid-column: span 2; }

.service {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--teal-900);
  color: var(--white);
  isolation: isolate;
}
.service img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 0.7s ease;
}
.service::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(15, 59, 58, 0.92) 0%, rgba(15, 59, 58, 0.55) 45%, rgba(15, 59, 58, 0.05) 75%);
  transition: opacity 0.4s;
}
.service:hover img { transform: scale(1.06); }

.service-body {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.6rem;
}
.service-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 0.9rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
  transition: background 0.3s;
}
.service:hover .service-icon { background: var(--coral); border-color: var(--coral); }
.service-icon svg {
  width: 22px;
  fill: none;
  stroke: var(--white);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.service h3 { font-size: 1.25rem; margin-bottom: 0.4rem; }
.service p { color: rgba(255, 255, 255, 0.82); font-size: 0.92rem; line-height: 1.5; }
.service-lg .service-body { padding: 2.2rem; }
.service-lg h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.service-lg p { font-size: 1rem; max-width: 28rem; }

/* ===== Clínica ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about-media { position: relative; }
.about-media img {
  width: 100%;
  aspect-ratio: 4 / 3.4;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.about-badge {
  position: absolute;
  right: -1.5rem;
  bottom: -1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--coral);
  color: var(--white);
  padding: 1.2rem 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.about-badge strong { font-family: var(--font-display); font-size: 2.2rem; line-height: 1; }
.about-badge span { font-size: 0.85rem; line-height: 1.35; }
.about-text p { color: var(--muted); margin: 1.2rem 0 1.5rem; font-size: 1.05rem; }

/* Check dibujado con CSS (sin caracteres de texto) */
.checks { display: grid; gap: 0.8rem; margin-bottom: 2rem; }
.checks li { display: flex; align-items: center; gap: 0.75rem; font-weight: 500; }
.checks li::before,
.price-card li::before {
  content: "";
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat,
    var(--teal-700);
}

/* ===== Equipo ===== */
.team {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.member-photo {
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4 / 5;
  background: var(--teal-100);
}
.member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9);
  transition: transform 0.6s ease, filter 0.6s ease;
}
.member:hover .member-photo img { transform: scale(1.04); filter: saturate(1.05); }
.member figcaption { padding: 1.1rem 0.2rem 0; }
.member h3 { font-size: 1.2rem; }
.member-role { color: var(--teal-700); font-weight: 500; font-size: 0.92rem; margin-top: 0.3rem; }
.member-col { color: var(--muted); font-size: 0.8rem; margin-top: 0.15rem; }

/* ===== Método ===== */
.method-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: start;
}
.muted-light { color: var(--muted-light); margin-top: 1.2rem; font-size: 1.05rem; }

.steps { display: grid; gap: 1.2rem; }
.step {
  display: flex;
  gap: 1.5rem;
  padding: 1.8rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.3s;
}
.step:hover { background: rgba(255, 255, 255, 0.1); }
.step-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--teal-300);
  line-height: 1;
}
.step h3 { margin-bottom: 0.4rem; }
.step p { color: var(--muted-light); font-size: 0.95rem; }

/* ===== Opiniones ===== */
.rating-summary {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.4rem;
  background: var(--white);
  border-radius: var(--radius);
}
.rating-summary strong {
  font-family: var(--font-display);
  font-size: 2.6rem;
  line-height: 1;
  color: var(--teal-900);
}
.rating-summary small { display: block; color: var(--muted); font-size: 0.82rem; margin-top: 0.2rem; }

.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.testimonial {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.testimonial blockquote {
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.5;
  flex: 1;
}
.testimonial figcaption {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 600;
}
.testimonial figcaption small {
  font-weight: 400;
  color: var(--muted);
  margin-left: auto;
  font-size: 0.8rem;
}
.avatar {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--c);
  color: var(--white);
  font-weight: 600;
  font-size: 0.85rem;
}

/* ===== Tarifas ===== */
.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: center;
}
.price-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.4rem 2rem;
}
.price-card.featured {
  background: var(--teal-900);
  color: var(--white);
  padding-block: 3rem;
  box-shadow: var(--shadow);
}
.price-card.featured .btn-primary { background: var(--coral); box-shadow: none; }
.price-card.featured .btn-primary:hover { background: #d35a3c; }
.badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--coral);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
}
.price { margin: 1rem 0 1.5rem; color: var(--muted); }
.featured .price { color: var(--muted-light); }
.price span {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--teal-900);
  margin-right: 0.3rem;
}
.featured .price span { color: var(--white); }
.price-card ul { display: grid; gap: 0.75rem; margin-bottom: 2rem; }
.price-card li { display: flex; align-items: center; gap: 0.7rem; }
.price-card li::before { width: 20px; height: 20px; background-color: var(--teal-500); }
.featured li::before { background-color: var(--coral); }

/* ===== FAQ ===== */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 5rem;
  align-items: start;
}
.faq-intro { position: sticky; top: 110px; }
.faq-intro p { color: var(--muted); margin-top: 1.2rem; font-size: 1.05rem; }
.faq-intro a { color: var(--teal-700); font-weight: 600; border-bottom: 1.5px solid currentColor; white-space: nowrap; }

.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-item h3 { font-size: inherit; letter-spacing: normal; }
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  width: 100%;
  padding: 1.5rem 0;
  background: none;
  border: 0;
  font: 500 1.1rem/1.4 var(--font-body);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: color 0.2s;
}
.faq-q:hover { color: var(--teal-700); }

/* Icono + que gira a × */
.faq-icon {
  position: relative;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--teal-100);
  transition: transform 0.35s ease, background 0.3s;
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  margin: -1px 0 0 -6px;
  background: var(--teal-700);
  border-radius: 2px;
  transition: background 0.3s;
}
.faq-icon::after { transform: rotate(90deg); }
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--teal-700); }
.faq-item.open .faq-icon::before,
.faq-item.open .faq-icon::after { background: var(--white); }

/* Truco grid 0fr → 1fr para animar la altura */
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  visibility: hidden;
  transition: grid-template-rows 0.35s ease, visibility 0.35s;
}
.faq-a > div { overflow: hidden; }
.faq-a p { color: var(--muted); padding: 0 3.5rem 1.6rem 0; }
.faq-item.open .faq-a { grid-template-rows: 1fr; visibility: visible; }

/* ===== Cómo llegar ===== */
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 4rem;
  align-items: center;
}
.location-address {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 1.2rem 0 2rem;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--teal-900);
}
.location-address .icon { color: var(--coral); }
.transport { display: grid; gap: 1rem; }
.transport li {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.2rem;
  background: var(--white);
  border-radius: 14px;
}
.transport .icon {
  width: 38px;
  height: 38px;
  padding: 8px;
  border-radius: 10px;
  background: var(--teal-100);
  color: var(--teal-700);
}
.transport strong { display: block; font-size: 0.95rem; }
.transport span { color: var(--muted); font-size: 0.85rem; }

.map {
  height: 100%;
  min-height: 420px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--white);
}
.map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
  filter: grayscale(0.35) contrast(1.05);
}

/* ===== Cita ===== */
.booking {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  background: linear-gradient(135deg, var(--teal-700), var(--teal-900));
  border-radius: 32px;
  padding: 4rem;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.booking::before {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(143, 214, 203, 0.12);
  top: -150px;
  left: -120px;
}
.booking-info { position: relative; }
.booking-info p { color: var(--muted-light); margin-top: 1rem; }

.contact-list { margin-top: 2rem; display: grid; gap: 0.9rem; }
.contact-list li { display: flex; align-items: center; gap: 0.75rem; }
.contact-list .icon { color: var(--teal-300); }

.booking-form {
  position: relative;
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 2rem;
  display: grid;
  gap: 1.1rem;
}
.field { display: grid; gap: 0.4rem; }
.field label,
.field legend { font-size: 0.85rem; font-weight: 600; }
.field legend { margin-bottom: 0.4rem; }
.field input,
.field select {
  font: inherit;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1.5px solid #dde5e3;
  background: #fbfcfc;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--teal-500);
  box-shadow: 0 0 0 4px rgba(42, 157, 143, 0.15);
}
.field input.invalid { border-color: var(--coral); }

/* Selector de franja horaria en forma de pastillas */
.pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.pills label { position: relative; cursor: pointer; }
.pills input { position: absolute; opacity: 0; pointer-events: none; }
.pills span {
  display: block;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  border: 1.5px solid #dde5e3;
  font-size: 0.88rem;
  font-weight: 500;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.pills label:hover span { border-color: var(--teal-500); }
.pills input:checked + span {
  background: var(--teal-700);
  border-color: var(--teal-700);
  color: var(--white);
}
.pills input:focus-visible + span { outline: 2px solid var(--teal-500); outline-offset: 2px; }

.form-msg { font-size: 0.9rem; min-height: 1.2em; text-align: center; }
.form-msg.ok { color: var(--teal-700); font-weight: 600; }
.form-msg.error { color: var(--coral); }

/* ===== Footer ===== */
.footer {
  background: var(--teal-900);
  color: var(--muted-light);
  padding: 80px 0 0;
  font-size: 0.92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  padding-bottom: 3.5rem;
}
.footer .logo { color: var(--white); }
.footer .logo-text small { color: var(--teal-300); }
.footer-brand p { margin: 1.2rem 0 1.5rem; max-width: 18rem; }
.footer h4 {
  color: var(--white);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}
.footer ul { display: grid; gap: 0.7rem; }
.footer ul a { transition: color 0.2s; }
.footer ul a:hover { color: var(--white); }
.hours li { display: flex; justify-content: space-between; gap: 1rem; }
.hours li span:last-child { color: var(--white); }

.socials { display: flex; gap: 0.6rem; }
.socials a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: background 0.2s, border-color 0.2s;
}
.socials a:hover { background: var(--teal-500); border-color: var(--teal-500); color: var(--white); }
.socials svg { width: 18px; height: 18px; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.82rem;
}
.footer-credit { opacity: 0.6; }

/* ===== Reveal on scroll ===== */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    inset: 76px 0 auto 0;
    flex-direction: column;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--sand);
    box-shadow: 0 20px 30px -20px rgba(0, 0, 0, 0.2);
    transform: translateY(-120%);
    transition: transform 0.35s ease;
  }
  .nav-links.open { transform: none; }
}

@media (max-width: 960px) {
  .hero-grid,
  .about-grid,
  .method-grid,
  .faq-grid,
  .location-grid,
  .booking { grid-template-columns: 1fr; }

  .hero-media {
    height: 60vh;
    min-height: 380px;
  }

  .section-head-split { flex-direction: column; align-items: flex-start; gap: 1.2rem; }
  .section-head-split h2 { max-width: none; }

  .services-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 260px; }
  .service-lg { grid-row: span 1; }
  .service-wide { grid-column: span 1; }
  .service:last-child { grid-column: span 2; }

  .team { grid-template-columns: repeat(2, 1fr); }
  .testimonials { grid-template-columns: repeat(2, 1fr); }
  .pricing { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .method-grid,
  .about-grid,
  .faq-grid,
  .location-grid { gap: 3rem; }
  .faq-intro { position: static; }
  .about-badge { right: 1rem; }
  .booking { padding: 2.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .hero { padding: 108px 0 40px; }
  .hero-grid { gap: 2.5rem; }
  .hero-stats { gap: 1.5rem; }
  .hero-stats strong { font-size: 1.6rem; }
  .chip-top { top: 1rem; left: 1rem; }
  .chip-bottom { bottom: 1rem; left: 1rem; }

  .insurers-inner { flex-direction: column; gap: 0.8rem; }
  .marquee { width: 100%; }

  .section { padding: 80px 0; }
  .services-grid { grid-template-columns: 1fr; grid-auto-rows: 250px; }
  .service-lg,
  .service:last-child { grid-column: auto; }
  .service-lg .service-body { padding: 1.6rem; }
  .testimonials { grid-template-columns: 1fr; }
  .team { gap: 1rem; }
  .member h3 { font-size: 1.05rem; }
  .faq-a p { padding-right: 0; }
  .map, .map iframe { min-height: 320px; }
  .booking { padding: 1.8rem; border-radius: 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.2rem; }
  .footer-bottom { justify-content: center; text-align: center; }
}
