:root {
  --surface: #f4faff;
  --surface-container: #d9f2ff;
  --surface-high: #ceedfd;
  --white: #ffffff;
  --ink: #001f2a;
  --muted: #414751;
  --primary: #005da7;
  --primary-2: #2976c7;
  --secondary: #e2165f;
  --secondary-deep: #b80049;
  --tertiary: #4f8207;
  --lime: #37c978;
  --purple: #8f6ee8;
  --lavender: #efe8ff;
  --line: rgba(0, 93, 167, 0.14);
  --shadow: 0 18px 44px rgba(0, 31, 42, 0.08);
  --soft-shadow: 0 12px 30px rgba(0, 96, 172, 0.08);
  --radius: 16px;
  --radius-sm: 8px;
  --container: 1200px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: "Work Sans", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

img { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

button, input, textarea { font: inherit; }

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.sr-only,
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.skip-link:focus {
  width: auto;
  height: auto;
  clip: auto;
  z-index: 999;
  left: 20px;
  top: 20px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: var(--white);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  isolation: isolate;
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -34px;
  z-index: -1;
  height: 42px;
  pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 68' preserveAspectRatio='none'%3E%3Cpath fill='%23ffffff' d='M0 0h1440v24c-92 25-190 34-294 27-95-7-177-28-272-28-114 0-206 30-323 27-102-2-177-27-282-24C165 29 78 48 0 35V0z'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat;
  filter: drop-shadow(0 12px 14px rgba(0, 93, 167, 0.06));
}

.nav {
  position: relative;
  z-index: 2;
  min-height: 84px;
  display: flex;
  align-items: center;
  gap: 26px;
}

.brand img { width: 190px; height: auto; }

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  flex: 1;
  color: #15214a;
  font-weight: 700;
  font-size: 0.95rem;
}

.nav-menu a {
  position: relative;
  padding: 14px 0;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 3px;
  border-radius: 999px;
  background: var(--primary-2);
  transform: scaleX(0);
  transition: transform 180ms ease;
}

body[data-page="inicio"] [data-nav="inicio"]::after,
body[data-page="servicios"] [data-nav="servicios"]::after,
body[data-page="nosotros"] [data-nav="nosotros"]::after,
body[data-page="testimonios"] [data-nav="testimonios"]::after,
body[data-page="contacto"] [data-nav="contacto"]::after,
.nav-menu a:hover::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  padding: 12px;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--primary);
  border-radius: 99px;
}

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 14px;
  padding: 13px 22px;
  border: 1px solid transparent;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn:hover { transform: translateY(-2px); }

.btn svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn-primary {
  background: linear-gradient(135deg, #ff3f86, var(--secondary));
  color: var(--white);
  box-shadow: 0 16px 34px rgba(226, 22, 95, 0.25);
}

.btn-secondary {
  border-color: rgba(0, 93, 167, 0.22);
  color: var(--primary);
  background: var(--white);
}

.btn-secondary.solid {
  background: linear-gradient(135deg, var(--primary-2), var(--primary));
  color: var(--white);
  border: 0;
  box-shadow: 0 14px 28px rgba(0, 93, 167, 0.2);
}

.btn-whatsapp {
  color: #11a957;
  border-color: rgba(17, 169, 87, 0.45);
  background: var(--white);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 0;
  background: var(--white);
}

.hero::before {
  display: none;
}

.hero-grid {
  position: relative;
  width: min(calc(100% - 44px), 1600px);
  display: grid;
  grid-template-columns: minmax(520px, 0.46fr) minmax(520px, 0.54fr);
  align-items: center;
  gap: 0;
  min-height: 0;
  aspect-ratio: 1672 / 941;
  padding: 52px 0 76px 76px;
  background:
    linear-gradient(90deg, rgba(229, 246, 255, 0.96) 0%, rgba(229, 246, 255, 0.9) 34%, rgba(229, 246, 255, 0.22) 55%, rgba(229, 246, 255, 0.02) 100%),
    url("assets/dra_coco.png") center center / 100% auto no-repeat;
  box-shadow: 0 24px 54px rgba(0, 96, 172, 0.12);
  overflow: hidden;
}

.hero-copy {
  position: relative;
  z-index: 2;
  align-self: start;
  padding-bottom: 0;
}

.eyebrow,
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  border-radius: 999px;
  background: var(--white);
  color: #3c4470;
  padding: 10px 16px;
  font-weight: 800;
  box-shadow: var(--soft-shadow);
}

.eyebrow span {
  width: 15px;
  height: 15px;
  border-radius: 999px;
  background: var(--secondary);
  box-shadow: 0 0 0 7px rgba(226, 22, 95, 0.12);
}

h1, h2, h3 {
  font-family: "Plus Jakarta Sans", "Segoe UI", Arial, sans-serif;
  line-height: 1.15;
  color: #24315f;
}

h1 {
  margin: 0;
  max-width: 740px;
  color: #3770c5;
  font-size: clamp(2.65rem, 4.55vw, 4rem);
  letter-spacing: 0;
}

h1 strong {
  display: block;
  color: #e3337a;
}

.hero-lead {
  max-width: 590px;
  margin: 18px 0 24px;
  font-size: 1.12rem;
  color: #34405e;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.hero-visual {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-visual img {
  display: none;
}

.doctor-card {
  position: absolute;
  left: 50%;
  bottom: 39%;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 300px;
  min-height: 66px;
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(143, 110, 232, 0.18);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.doctor-card strong { color: #7251d0; display: block; line-height: 1.2; }
.doctor-card small { color: var(--muted); font-weight: 700; }

.badge-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #b397ff, #7f62dd);
  color: var(--white);
}

.badge-icon svg,
.service-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.trust-strip {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  width: min(100%, 620px);
  margin-top: 68px;
}

.trust-strip div {
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 18px;
  border-right: 1px solid var(--line);
  color: #283157;
  font-weight: 800;
  font-size: 0.9rem;
  line-height: 1.25;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 26px rgba(0, 93, 167, 0.06);
}

.trust-strip div:first-child { border-radius: 18px 0 0 18px; }
.trust-strip div:last-child { border-right: 0; border-radius: 0 18px 18px 0; }

.mini-icon {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: inset 0 0 0 10px rgba(255,255,255,0.38), 0 8px 18px rgba(0, 31, 42, 0.1);
}

.purple { color: var(--purple); }
.blue { color: #2d8ee8; }
.green { color: #32c77c; }
.pink { color: #ef5aa0; }

.wave {
  width: 100%;
  height: 66px;
  background: var(--white);
  clip-path: ellipse(62% 56% at 50% 100%);
}

.wave-bottom { margin-top: -10px; transform: rotate(180deg); }
.wave-top { background: var(--surface); transform: rotate(180deg); }

.section {
  padding: 78px 0;
  background: var(--white);
}

.section.tint {
  background: linear-gradient(180deg, #fbf7ff, #f4faff);
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-heading.left {
  margin-left: 0;
  text-align: left;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
}

.section-heading p { color: var(--muted); }

.home-choice-heading h2 {
  color: #24315f;
}

.home-choice-heading h2 span {
  color: #2d6fd0;
}

.section-heading.accent h2 {
  color: #7354d8;
}

.testimonial-heading h2 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.testimonial-heading .kicker {
  margin-bottom: 12px;
}

.testimonial-heading h2 {
  color: #24315f;
}

.testimonial-heading h2::before,
.testimonial-heading h2::after {
  content: "\2665";
  color: #ef5aa0;
  font-size: 1.45rem;
  line-height: 1;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--soft-shadow);
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.benefit-card,
.service-card {
  padding: 32px 24px;
  text-align: center;
}

.service-icon {
  width: 78px;
  height: 78px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: color-mix(in srgb, currentColor 20%, white);
  box-shadow: inset 0 0 0 8px rgba(255, 255, 255, 0.6), 0 12px 24px rgba(0, 31, 42, 0.08);
}

.benefit-card h3,
.service-card h3 {
  margin: 20px 0 10px;
  font-size: 1.35rem;
}

.benefit-card p,
.service-card p {
  margin: 0;
  color: var(--muted);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
}

.service-card {
  min-height: 250px;
  padding: 28px 18px;
}

.center {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  padding: 26px;
}

.stars {
  color: #ffbf2f;
  letter-spacing: 2px;
  font-weight: 900;
  margin-bottom: 12px;
}

.testimonial-card p {
  color: #303856;
  margin: 0 0 18px;
}

.person {
  display: grid;
  grid-template-columns: 64px 1fr;
  align-items: center;
  column-gap: 12px;
}

.person small { color: var(--muted); font-weight: 700; }

.testimonial-photo {
  grid-row: span 2;
  width: 64px;
  height: 64px;
  border: 3px solid var(--white);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 10px 22px rgba(20, 42, 82, .14);
}

.family-avatar {
  grid-row: span 2;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #ffd9de, #a4c9ff);
}

.family-avatar::before,
.family-avatar::after {
  content: "";
  position: absolute;
  bottom: 9px;
  border-radius: 999px 999px 16px 16px;
}

.family-avatar::before {
  left: 9px;
  width: 24px;
  height: 32px;
  background: #39476d;
}

.family-avatar::after {
  right: 8px;
  width: 22px;
  height: 28px;
  background: #e2165f;
}

.family-avatar.two { background: linear-gradient(135deg, #c9e7f7, #b9f474); }
.family-avatar.three { background: linear-gradient(135deg, #ffb2be, #d4e3ff); }

.schedule-section {
  background: linear-gradient(rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.75)), url("assets/fondito.png") center / cover no-repeat;
  padding-top: 38px;
}

.schedule-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: end;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
}

.step {
  padding: 30px;
  border-right: 1px solid var(--line);
}

.step:last-child { border-right: 0; }

.step-icon-wrap {
  position: relative;
  width: 86px;
  height: 86px;
  margin-bottom: 14px;
}

.step-icon-wrap img {
  width: 86px;
  height: 86px;
  border-radius: 999px;
  object-fit: cover;
  box-shadow: 0 12px 24px rgba(0, 96, 172, 0.14);
}

.step-icon-wrap span {
  position: absolute;
  right: -6px;
  top: -6px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, #8f6ee8, #2d8ee8);
  color: var(--white);
  font-weight: 900;
  border: 3px solid var(--white);
  box-shadow: 0 8px 18px rgba(45, 142, 232, 0.28);
}

.step h3 { margin: 8px 0 8px; }
.step p { margin: 0; color: var(--muted); }

.booking-card {
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 2px dashed rgba(143, 110, 232, 0.32);
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

.coco-band {
  position: relative;
  overflow: visible;
  background: linear-gradient(180deg, #dff3ff, #c9e7f7);
  z-index: 1;
  padding-bottom: 70px;
}

.coco-grid {
  display: grid;
  grid-template-columns: 230px minmax(280px, 0.78fr) minmax(420px, 1fr);
  align-items: center;
  gap: 36px;
  padding: 30px 0 0;
}

.coco-grid > img {
  align-self: end;
  max-height: 210px;
  object-fit: contain;
  object-position: bottom;
  transform: translateY(44px);
  position: relative;
  z-index: 1;
}

.coco-grid h2 {
  color: #2d6fd0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin: 0 0 12px;
}

.coco-grid p { margin: 0; color: #25304f; font-weight: 600; }

.habit-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: start;
  gap: 22px;
  text-align: center;
  font-weight: 800;
  color: #25304f;
}

.habit-list div {
  min-width: 0;
  width: 150px;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 10px;
  justify-self: center;
}

.habit-icon-img {
  display: block;
  width: 92px;
  height: 92px;
  margin-inline: auto;
  object-fit: contain;
  border-radius: 999px;
  filter: drop-shadow(0 14px 20px rgba(0, 96, 172, 0.14));
}

.habit-list span {
  display: block;
  width: 150px;
  min-height: 54px;
  line-height: 1.28;
  text-align: center;
}

.site-footer {
  position: relative;
  background: var(--primary);
  color: var(--white);
  padding: 64px 0 0;
  margin-top: 0;
  z-index: 2;
  overflow: visible;
}

.site-footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: 46px;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 1440 46' preserveAspectRatio='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23005da7' d='M0 28C118 10 224 10 360 27C500 44 594 45 720 26C852 6 972 9 1110 27C1238 44 1338 43 1440 26V46H0V28Z'/%3E%3C/svg%3E") bottom center / 100% 100% no-repeat;
  z-index: 0;
}

.footer-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.1fr 1fr;
  gap: 36px;
}

.footer-logo { width: 210px; margin-bottom: 14px; }
.site-footer h2 { color: var(--white); font-size: 1.1rem; margin: 0 0 14px; }
.site-footer p { margin: 0 0 10px; color: rgba(255,255,255,0.86); font-weight: 600; }
.site-footer a { color: var(--white); font-weight: 800; }

.socials { display: flex; gap: 10px; margin-top: 14px; }
.socials a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: var(--white);
  transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
}
.socials a svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}
.socials a.instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}
.socials a.instagram:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(220, 39, 67, 0.45);
}

.footer-bottom {
  position: relative;
  z-index: 1;
  background: #a391df; /* Tono pastel lavanda de la imagen */
  color: var(--white);
  padding: 16px 0;
  margin-top: 48px;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: 0.9rem;
  font-weight: 600;
}
.footer-bottom-inner a {
  color: var(--white);
  font-weight: 800;
  text-decoration: underline;
  transition: opacity 0.2s;
}
.footer-bottom-inner a:hover {
  opacity: 0.85;
  text-decoration: none;
}

.floating-whatsapp {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 60;
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #22c768;
  color: var(--white);
  border: 6px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 14px 30px rgba(0, 31, 42, 0.22);
  transition: transform 0.2s, box-shadow 0.2s;
}
.floating-whatsapp svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}
.floating-whatsapp:hover {
  transform: scale(1.08);
  box-shadow: 0 16px 36px rgba(0, 31, 42, 0.32);
}

.page-hero {
  padding: 76px 0 82px;
  background: linear-gradient(180deg, #e5f6ff, #fff);
  position: relative;
  overflow: hidden;
}

.page-hero .container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 50px;
  align-items: center;
}

.page-hero h1 {
  font-size: clamp(2.6rem, 5vw, 4.8rem);
}

.page-hero p {
  max-width: 720px;
  font-size: 1.18rem;
  color: #34405e;
}

.page-hero img {
  border-radius: 26px;
  box-shadow: var(--shadow);
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

body[data-page="nosotros"] .page-hero img {
  width: 100%;
  max-height: 580px;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center bottom;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
}

@media (min-width: 1021px) {
  body[data-page="nosotros"] .page-hero .container {
    grid-template-columns: 360px minmax(0, 1fr);
  }
  body[data-page="nosotros"] .page-hero .container > div {
    order: 2;
  }
  body[data-page="nosotros"] .page-hero .container > img {
    order: 1;
  }
}

.page-hero img.contact-hero-logo {
  width: 100%;
  max-width: 360px;
  padding: 36px;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  object-position: center;
  background: rgba(255, 255, 255, 0.62);
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.wide-card {
  display: grid;
  grid-template-columns: 310px 1fr;
  gap: 28px;
  align-items: center;
  padding: 28px;
}

.wide-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 18px;
}

.placeholder-photo {
  min-height: 220px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 30% 36%, #ffd9de 0 12%, transparent 13%),
    radial-gradient(circle at 62% 32%, #d4e3ff 0 12%, transparent 13%),
    radial-gradient(circle at 45% 78%, #b9f474 0 30%, transparent 31%),
    linear-gradient(135deg, #f4faff, #e6f6ff);
  border: 1px dashed rgba(0, 93, 167, 0.18);
}

.contact-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.form-card {
  padding: 28px;
}

.contact-aside-photo {
  display: block;
  width: 95%;
  max-width: 340px;
  height: auto;
  border-radius: 24px;
  margin: 20px auto 0;
  box-shadow: var(--soft-shadow);
  border: 1px solid rgba(0, 93, 167, 0.08);
}

.form-grid { display: grid; gap: 16px; }

label {
  display: grid;
  gap: 7px;
  color: #24315f;
  font-weight: 800;
}

input, textarea, select {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  background: #fbfdff;
  color: var(--ink);
}

textarea { min-height: 130px; resize: vertical; }

input:focus, textarea:focus, select:focus {
  outline: 3px solid rgba(41, 118, 199, 0.2);
  border-color: var(--primary-2);
}

.map-placeholder {
  min-height: 420px;
  padding: 0;
  overflow: hidden;
}

.map-placeholder iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  display: block;
  border: 0;
}

.legal {
  max-width: 900px;
  color: #26324f;
}

.legal h2 { margin-top: 34px; }

.coco-peeker {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%) translateX(100%);
  width: 220px;
  height: auto;
  z-index: 100;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
}

.coco-peeker.peeking {
  transform: translateY(-50%) translateX(0);
}

@media (max-width: 1020px) {
  .nav { min-height: 78px; }
.brand img { width: 156px; }
  .nav-toggle { display: block; margin-left: auto; }
  .nav-cta { display: none; }
  .nav-menu {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 78px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border-radius: 18px;
    background: var(--white);
    box-shadow: var(--shadow);
  }
  .nav-menu.is-open { display: flex; }
  .nav-menu a { padding: 14px 16px; }
  .hero-grid,
  .page-hero .container,
  .schedule-grid,
  .contact-panel,
  .wide-card {
    grid-template-columns: 1fr;
  }
  .hero::before { display: none; }
  .hero-grid {
    width: min(calc(100% - 40px), var(--container));
    padding: 42px 24px 72px 42px;
    background:
      linear-gradient(90deg, rgba(229, 246, 255, 0.98) 0%, rgba(229, 246, 255, 0.88) 44%, rgba(229, 246, 255, 0.18) 76%, rgba(229, 246, 255, 0) 100%),
      url("assets/dra_coco.png") center center / cover no-repeat;
    box-shadow: 0 24px 54px rgba(0, 96, 172, 0.12);
    overflow: hidden;
    gap: 10px;
    min-height: 640px;
    aspect-ratio: auto;
    align-items: center;
  }
  .hero-visual {
    min-height: 0;
    width: 100%;
    max-width: 650px;
    margin: 0 auto;
  }
  .hero-visual img { display: none; }
  .trust-strip,
  .benefit-grid,
  .service-grid,
  .testimonial-grid,
  .content-grid,
  .footer-grid,
  .coco-grid {
    grid-template-columns: 1fr 1fr;
  }
  .trust-strip div { border-radius: 18px; border-right: 0; }
  .coco-grid > img {
    max-height: 190px;
    transform: translateY(42px);
  }
  .habit-list { grid-column: 1 / -1; }
}

@media (max-width: 700px) {
  .container { width: min(calc(100% - 32px), var(--container)); }
  .hero { padding-top: 0; }
  .hero-grid {
    width: min(calc(100% - 24px), var(--container));
    min-height: 0;
    padding: 18px 16px 34px;
    background: linear-gradient(180deg, #e5f6ff 0%, #f7fcff 100%);
    display: grid;
    gap: 22px;
  }
  .hero-copy {
    order: 2;
    align-self: auto;
  }
  .hero-visual {
    position: relative;
    inset: auto;
    order: 1;
    min-height: 0;
    width: 100%;
    max-width: 520px;
    margin-inline: auto;
  }
  .hero-visual img {
    display: block;
    width: 100%;
    max-height: 390px;
    object-fit: contain;
    object-position: center bottom;
  }
  h1 { font-size: clamp(2.25rem, 10vw, 3rem); }
  .testimonial-heading h2 {
    gap: 10px;
  }
  .hero-lead { font-size: 1rem; }
  .hero-actions .btn { width: 100%; }
  .doctor-card {
    left: 16px;
    right: auto;
    bottom: 14px;
    max-width: calc(100vw - 48px);
  }
  .trust-strip,
  .benefit-grid,
  .service-grid,
  .testimonial-grid,
  .content-grid,
  .steps,
  .footer-grid,
  .coco-grid,
  .habit-list {
    grid-template-columns: 1fr;
  }
  .section { padding: 58px 0; }
  .step { border-right: 0; border-bottom: 1px solid var(--line); }
  .step:last-child { border-bottom: 0; }
  .page-hero img { max-width: 260px; }
  .page-hero img.contact-hero-logo {
    max-width: 280px;
    padding: 28px;
    justify-self: center;
  }
  body[data-page="nosotros"] .page-hero img {
    max-width: 300px;
    max-height: 460px;
    justify-self: center;
  }
  .footer-bottom-inner { flex-direction: column; text-align: center; gap: 10px; }
  .coco-grid {
    padding-bottom: 34px;
  }
  .coco-grid > img {
    justify-self: center;
    max-height: 180px;
    transform: translateY(24px);
  }
  .site-footer {
    margin-top: 0;
    padding-top: 48px;
  }
  .site-footer::before {
    height: 34px;
  }
  .floating-whatsapp {
    width: 58px;
    height: 58px;
    right: 16px;
    bottom: 16px;
  }
}

@media (max-width: 700px) {
  .coco-peeker {
    width: 160px;
  }
}

/* Ocultar elementos nativos de Google Translate */
.goog-te-banner-frame,
.goog-te-banner-frame.skiptranslate,
iframe.goog-te-banner-frame,
.VIpgJd-ZVi9od-ORHb-OEVmcd,
iframe[class*="VIpgJd-ZVi9od"],
#goog-gt-tt,
.goog-te-balloon-frame,
.goog-te-menu-value,
.goog-te-gadget-icon,
.goog-te-banner {
  display: none !important;
}
body {
  top: 0 !important;
  position: static !important;
  margin-top: 0 !important;
}
html {
  top: 0 !important;
  margin-top: 0 !important;
}
.translate-btn {
  margin-left: 6px;
  padding: 6px 12px;
  background: rgba(226, 22, 95, 0.1);
  border-radius: 999px;
  transition: background 0.2s;
}
.translate-btn:hover {
  background: rgba(226, 22, 95, 0.2);
}

/* Sección de Semblanza / Biografía de la Dra. */
.bio-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 52px;
  align-items: start;
}

.bio-image {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.bio-image img {
  width: 100%;
  height: auto;
  border-radius: 24px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(143, 110, 232, 0.18);
  object-fit: cover;
  transition: transform 0.3s ease;
}

.bio-image img:hover {
  transform: translateY(-4px);
}

.bio-content h2 {
  font-size: clamp(2rem, 3.5vw, 2.6rem);
  color: #24315f;
  margin: 12px 0 20px;
}

.bio-content .lead {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-2);
  line-height: 1.6;
  margin-bottom: 24px;
}

.bio-content p {
  color: #34405e;
  line-height: 1.7;
  margin-bottom: 18px;
}

.bio-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 32px 0;
}

.highlight-item {
  background: var(--surface);
  border: 1px solid rgba(0, 93, 167, 0.08);
  border-radius: 18px;
  padding: 20px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.highlight-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--soft-shadow);
  background: var(--white);
  border-color: rgba(143, 110, 232, 0.25);
}

.highlight-item h4 {
  margin: 0 0 8px;
  color: #7354d8;
  font-weight: 800;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.highlight-item h4::before {
  content: "✦";
  color: var(--secondary);
}

.highlight-item p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--muted);
}

.bio-closing {
  font-weight: 700;
  border-left: 4px solid var(--secondary);
  padding-left: 18px;
  margin-top: 28px;
  font-style: italic;
}

@media (max-width: 1020px) {
  .bio-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .bio-image {
    max-width: 380px;
    margin: 0 auto;
  }
}

@media (max-width: 700px) {
  .bio-highlights {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}


/* Modal de confirmación de envío */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0, 31, 42, 0.55);
  backdrop-filter: blur(4px);
  opacity: 0;
  animation: modal-fade 0.25s ease forwards;
}

.modal-overlay[hidden] { display: none; }

.modal-card {
  position: relative;
  width: min(100%, 440px);
  background: var(--white);
  border-radius: var(--radius);
  padding: 42px 32px 32px;
  text-align: center;
  box-shadow: var(--shadow);
  transform: translateY(14px) scale(0.97);
  animation: modal-pop 0.32s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.modal-icon {
  width: 78px;
  height: 78px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: color-mix(in srgb, var(--lime) 22%, white);
  color: var(--lime);
}

.modal-icon svg {
  width: 40px;
  height: 40px;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.modal-card h2 { margin: 0 0 10px; color: #24315f; }
.modal-card p { margin: 0 0 24px; color: var(--muted); }

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s;
}

.modal-close:hover { background: var(--surface-high); }

@keyframes modal-fade { to { opacity: 1; } }
@keyframes modal-pop { to { transform: translateY(0) scale(1); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
  .modal-overlay,
  .modal-card {
    animation: none;
    opacity: 1;
    transform: none;
  }
}
