/* =============================================================
   Dra. Mafe Pineda — Pediatra · Landing de sueño infantil
   Archetype: Editorial Light Cream (warm / pediatric)
   ============================================================= */

/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  /* Base — durazno / crema */
  --bg:        #fdf6ee;   /* crema cálida */
  --bg-2:      #fbeee2;   /* durazno claro */
  --bg-3:      #f7e1d0;   /* durazno */
  --paper:     #ffffff;

  /* Tinta */
  --ink:       #33291f;   /* café casi negro, cálido */
  --ink-soft:  #5a4c3f;
  --ink-mute:  #8c7c6d;

  /* Marca (del logo) */
  --teal:      #1f8a8a;
  --teal-deep: #146a6a;
  --teal-soft: #d7ebe9;
  --pink:      #ef97a4;
  --pink-deep: #e0788a;
  --pink-soft: #fbe0e2;
  --green:     #93c94f;
  --green-deep: #74ac36;
  --green-soft: #e6f1d3;

  /* WhatsApp */
  --wa:        #25d366;
  --wa-deep:   #1da851;

  --accent:    var(--teal);
  --line:      rgba(51, 41, 31, 0.12);
  --line-soft: rgba(51, 41, 31, 0.07);

  --shadow-sm: 0 2px 10px rgba(51,41,31,.06);
  --shadow-md: 0 14px 40px -18px rgba(51,41,31,.28);
  --shadow-lg: 0 30px 70px -30px rgba(51,41,31,.35);

  --radius:    22px;
  --radius-sm: 14px;
  --radius-lg: 34px;

  --sans: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;

  --container: 1200px;
  --gutter: clamp(1.15rem, 4vw, 2.5rem);

  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.4, 0.64, 1);
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  tab-size: 2;
  overflow-x: clip;
  scroll-behavior: smooth;
}
body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.62;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.06; letter-spacing: -0.015em; font-weight: 600; }
::selection { background: var(--pink); color: #fff; }

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* =============================================================
   3. Utilities
   ============================================================= */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .7rem 1.1rem; background: var(--teal); color: #fff;
  z-index: 9999; border-radius: 10px; font-weight: 700;
  transition: top .2s var(--ease-out);
}
.skip-link:focus { top: 1rem; }

.section {
  padding-block: clamp(3.6rem, 9vw, 7rem);
  position: relative;
}
.eyebrow {
  font-weight: 800;
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin-bottom: .8rem;
}
.eyebrow--light { color: rgba(255,255,255,.85); }
.section-head { max-width: 40rem; margin: 0 auto clamp(2rem, 5vw, 3.2rem); text-align: center; }
.section-head--left { margin-inline: 0; text-align: left; }
.section-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.9rem, 5vw, 3.1rem);
  line-height: 1.02;
  color: var(--ink);
}
.section-title em { font-style: italic; color: var(--pink-deep); font-weight: 500; }
.section-lead {
  margin-top: 1rem;
  color: var(--ink-soft);
  font-size: 1.06rem;
}

/* =============================================================
   4. Buttons
   ============================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .85rem 1.5rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: .98rem;
  line-height: 1.1;
  letter-spacing: .005em;
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out), background .25s var(--ease-out), color .25s var(--ease-out);
  will-change: transform;
  text-align: center;
}
.btn-lg { padding: 1.1rem 1.9rem; font-size: 1.06rem; }
.btn-block { width: 100%; }

.btn-primary {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-deep) 100%);
  color: #fff;
  box-shadow: 0 12px 26px -12px rgba(20,106,106,.75);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 18px 34px -12px rgba(20,106,106,.85); }

.btn-ghost {
  background: var(--paper);
  color: var(--teal-deep);
  border: 1.5px solid var(--teal);
}
.btn-ghost:hover { transform: translateY(-3px); background: var(--teal-soft); }

.btn-white {
  background: #fff;
  color: var(--teal-deep);
  box-shadow: var(--shadow-md);
}
.btn-white:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

.btn-nav {
  background: linear-gradient(135deg, var(--pink) 0%, var(--pink-deep) 100%);
  color: #fff;
  padding: .72rem 1.4rem;
  min-height: 44px;
  box-shadow: 0 10px 20px -12px rgba(224,120,138,.9);
}
.btn-nav:hover { transform: translateY(-2px); }

.btn-wa-ico { display: inline-flex; }

/* =============================================================
   5. Nav
   ============================================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background .35s var(--ease-out), box-shadow .35s var(--ease-out), padding .35s var(--ease-out);
  padding-block: .5rem;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.nav-brand img {
  height: clamp(46px, 6vw, 60px);
  width: auto;
  transition: height .35s var(--ease-out);
}
.nav.is-scrolled {
  background: rgba(253, 246, 238, 0.9);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 4px 24px -14px rgba(51,41,31,.4);
}
.nav.is-scrolled .nav-brand img { height: clamp(40px, 5vw, 50px); }
.nav-actions { display: flex; align-items: center; gap: .5rem; }

/* Mobile: nav-links is a dropdown panel toggled by the hamburger */
.nav-links {
  position: absolute;
  top: 100%; left: 0; right: 0;
  display: flex;
  flex-direction: column;
  font-weight: 700;
  font-size: 1.05rem;
  background: rgba(253, 246, 238, 0.98);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  padding: .25rem var(--gutter) 1rem;
  border-top: 1px solid var(--line-soft);
  box-shadow: 0 22px 40px -22px rgba(51,41,31,.45);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity .3s var(--ease-out), transform .3s var(--ease-out), visibility .3s;
}
.nav.is-open .nav-links { opacity: 1; visibility: visible; transform: none; }
.nav-links a {
  color: var(--ink-soft);
  position: relative;
  padding: .95rem .2rem;
  border-bottom: 1px solid var(--line-soft);
}
.nav-links a:last-child { border-bottom: 0; }
.nav-links a:hover { color: var(--ink); }

/* Hamburger button */
.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px; height: 44px;
  border-radius: 12px;
}
.nav-toggle span {
  width: 22px; height: 2.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .3s var(--ease-out), opacity .2s var(--ease-out);
}
.nav.is-open .nav-toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav.is-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav-toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* =============================================================
   6. Hero
   ============================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 5.5rem;
  padding-bottom: 3rem;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% center; }
@media (max-width: 719px) {
  .hero-bg img { object-position: 50% 16%; }
}
.hero-tint {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(253,246,238,.30) 0%, rgba(253,246,238,.10) 40%, rgba(51,41,31,.35) 100%),
    linear-gradient(100deg, rgba(253,246,238,.94) 0%, rgba(253,246,238,.72) 34%, rgba(253,246,238,.14) 62%, transparent 82%);
}
.hero-inner { position: relative; z-index: 1; width: 100%; }
.hero-card {
  max-width: 40rem;
  padding: clamp(1.5rem, 4vw, 2.6rem);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.42);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-weight: 800;
  font-size: .82rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--teal-deep);
  background: rgba(255,255,255,.7);
  padding: .45rem .9rem;
  border-radius: 999px;
  margin-bottom: 1.1rem;
}
.kicker-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(147,201,79,.6);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(147,201,79,.55); }
  70% { box-shadow: 0 0 0 10px rgba(147,201,79,0); }
  100% { box-shadow: 0 0 0 0 rgba(147,201,79,0); }
}
.hero-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.1rem, 6.4vw, 4rem);
  line-height: 1.0;
  color: var(--ink);
  margin-bottom: 1rem;
}
.hero-title em { font-style: italic; color: var(--teal); }
.hero-sub {
  font-size: clamp(1.05rem, 2.4vw, 1.3rem);
  color: var(--ink-soft);
  font-weight: 500;
  max-width: 34rem;
  margin-bottom: 1.6rem;
}
.hero-actions { margin-bottom: 1.4rem; }
.hero-reassure {
  margin-top: .8rem;
  font-size: .86rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.hero-reassure strong { color: var(--teal-deep); font-weight: 800; }
.hero-trust {
  display: grid;
  grid-template-columns: 1fr;
  background: rgba(255,255,255,.66);
  border-radius: var(--radius);
  padding: .35rem 1rem;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}
.hero-trust li {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .7rem .1rem;
}
.hero-trust li + li { border-top: 1px solid var(--line-soft); }
.ht-ico {
  font-size: 1.3rem;
  width: 2.4rem; height: 2.4rem;
  display: grid; place-items: center;
  background: var(--bg-2);
  border-radius: 13px;
  flex-shrink: 0;
}
.ht-txt { display: flex; flex-direction: column; line-height: 1.25; color: var(--ink-mute); font-size: .78rem; font-weight: 600; }
.ht-txt strong { font-weight: 800; color: var(--ink); font-size: .98rem; }

/* =============================================================
   7. Dolor
   ============================================================= */
.section-dolor { background: var(--bg); }
.pain-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.pain-card {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
.pain-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pain-ico {
  font-size: 1.9rem;
  line-height: 1;
  flex-shrink: 0;
  filter: saturate(1.1);
}
.pain-card p { font-weight: 600; color: var(--ink-soft); font-size: 1.05rem; }

/* =============================================================
   8. Empatía
   ============================================================= */
.section-empathy {
  background: linear-gradient(135deg, var(--pink-soft) 0%, var(--bg-2) 100%);
  padding-block: clamp(3rem, 8vw, 5.5rem);
  text-align: center;
}
.empathy-quote {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.5rem, 4.2vw, 2.6rem);
  line-height: 1.22;
  color: var(--ink);
  max-width: 48rem;
  margin-inline: auto;
}
.empathy-quote em { font-style: italic; color: var(--pink-deep); display: inline-block; }

/* =============================================================
   9. Solución
   ============================================================= */
.section-solucion { background: var(--bg); }
.solucion-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.solucion-media { position: relative; }
.solucion-media img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.img-tinted { filter: sepia(.22) saturate(1.15) hue-rotate(-8deg) brightness(1.03); }
.solucion-media-badge {
  position: absolute;
  right: -6px; bottom: -14px;
  background: var(--green);
  color: #23400a;
  padding: .9rem 1.3rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.solucion-media-badge strong { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; }
.solucion-media-badge span { font-weight: 700; font-size: .82rem; }

.feature-list { list-style: none; display: grid; gap: 1.1rem; margin: 1.6rem 0 2rem; }
.feature-list li { display: flex; gap: .9rem; align-items: flex-start; }
.feature-list li div { color: var(--ink-soft); }
.feature-list strong { color: var(--ink); font-weight: 800; }
.feature-check {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green-deep);
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: .9rem;
  margin-top: 2px;
}

/* =============================================================
   10. Resultados
   ============================================================= */
.section-resultados {
  background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg-3) 100%);
}
.result-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.result-card {
  background: rgba(255,255,255,.7);
  border: 1px solid var(--paper);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
.result-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.result-ico {
  font-size: 2.3rem;
  display: block;
  margin-bottom: .7rem;
}
.result-card h3 { font-family: var(--serif); font-weight: 600; font-size: 1.28rem; color: var(--teal-deep); margin-bottom: .4rem; }
.result-card p { color: var(--ink-soft); font-size: .98rem; }

/* =============================================================
   10b. Cómo funciona (pasos)
   ============================================================= */
.section-pasos { background: var(--bg); }
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
  counter-reset: step;
}
.step {
  position: relative;
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
  box-shadow: var(--shadow-sm);
}
.step-num {
  flex-shrink: 0;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-deep) 100%);
  color: #fff;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.4rem;
  border-radius: 50%;
  box-shadow: 0 8px 18px -8px rgba(20,106,106,.7);
}
.step-body { flex: 1; }
.step-ico { font-size: 1.5rem; display: block; margin-bottom: .3rem; }
.step-body h3 { font-size: 1.16rem; font-weight: 800; color: var(--ink); margin-bottom: .35rem; }
.step-body p { color: var(--ink-soft); font-size: .98rem; }

/* =============================================================
   11b. Para cada etapa
   ============================================================= */
.section-etapas { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%); }
.etapa-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.etapa-card {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem;
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
.etapa-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.etapa-ico { font-size: 2rem; display: block; margin-bottom: .5rem; }
.etapa-card h3 { font-size: 1.16rem; font-weight: 800; color: var(--ink); }
.etapa-age {
  display: inline-block;
  margin: .4rem 0 .6rem;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .02em;
  color: var(--teal-deep);
  background: var(--teal-soft);
  padding: .25rem .7rem;
  border-radius: 999px;
}
.etapa-card p { color: var(--ink-soft); font-size: .96rem; }
.etapa-card--featured {
  background: linear-gradient(160deg, var(--pink-soft) 0%, #fff 100%);
  border: 2px solid var(--pink);
}
.etapa-card--featured .etapa-age { color: var(--pink-deep); background: #fff; }

/* =============================================================
   11. Tu especialista
   ============================================================= */
.section-especialista { background: var(--bg); }
.especialista-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}
.especialista-media { position: relative; }
.especialista-media > img {
  width: 100%;
  aspect-ratio: 4/5;
  max-height: 560px;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.especialista-media-2 {
  display: none;
  position: absolute;
  width: 42%;
  aspect-ratio: 1/1 !important;
  right: -18px; bottom: -26px;
  border-radius: var(--radius) !important;
  border: 6px solid var(--bg);
  box-shadow: var(--shadow-md);
}
.especialista-role { color: var(--teal-deep); font-weight: 700; margin-top: .5rem; }
.especialista-bio { color: var(--ink-soft); font-size: 1.08rem; margin: 1.4rem 0; }
.cred-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.8rem;
}
.cred-list li {
  background: var(--paper);
  border-radius: var(--radius-sm);
  padding: .9rem 1.1rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  min-width: 8rem;
}
.cred-list strong {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--pink-deep);
}
.cred-list span { font-size: .84rem; font-weight: 700; color: var(--ink-mute); }

/* Banda de certificados */
.cert-band {
  margin-top: clamp(2.6rem, 6vw, 4.2rem);
  padding-top: clamp(2rem, 5vw, 3rem);
  border-top: 1px solid var(--line);
}
.cert-band-title {
  text-align: center;
  font-weight: 800;
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin-bottom: 1.6rem;
}
.cert-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.4rem;
  max-width: 900px;
  margin-inline: auto;
  align-items: start;
}
.cert-item {
  display: block;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: .8rem;
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
.cert-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.cert-item img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}
@media (min-width: 720px) { .cert-grid { grid-template-columns: 1fr 1fr; } }
.cert-cap { display: flex; flex-direction: column; padding: .85rem .5rem .25rem; color: var(--ink-mute); font-size: .82rem; font-weight: 600; line-height: 1.3; }
.cert-cap strong { color: var(--ink); font-weight: 800; font-size: .96rem; margin-bottom: .15rem; }
.cert-hint { text-align: center; margin-top: 1.1rem; font-size: .82rem; color: var(--ink-mute); font-weight: 600; }
.degree-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  max-width: 760px;
  margin: 0 auto 1.6rem;
}
.degree-list li {
  display: flex;
  align-items: center;
  gap: .9rem;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  padding: 1.05rem 1.3rem;
  box-shadow: var(--shadow-sm);
}
.degree-ico { font-size: 1.6rem; flex-shrink: 0; }
.degree-list strong { display: block; color: var(--ink); font-weight: 800; font-size: 1.06rem; }
.degree-list div { color: var(--ink-mute); font-size: .9rem; font-weight: 600; line-height: 1.35; }
@media (min-width: 720px) { .degree-list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 720px) {
  .cert-grid { grid-template-columns: 1fr 1fr; }
}

/* =============================================================
   12. Servicios
   ============================================================= */
.section-servicios { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%); }
.service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
}
.service-card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.service-card--featured {
  border: 2px solid var(--teal);
  background: linear-gradient(180deg, #fff 0%, var(--teal-soft) 100%);
}
.service-flag {
  position: absolute;
  top: -12px; left: 1.6rem;
  background: var(--teal);
  color: #fff;
  font-weight: 800;
  font-size: .74rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: .35rem .8rem;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.service-name { font-size: 1.2rem; font-weight: 800; color: var(--ink); margin-bottom: .5rem; }
.service-price {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 2rem;
  color: var(--teal-deep);
  line-height: 1;
}
.service-card--featured .service-price { color: var(--teal-deep); }
.service-cur { font-family: var(--sans); font-size: .78rem; font-weight: 800; color: var(--ink-mute); letter-spacing: .03em; vertical-align: .35em; }
.service-usd { font-size: .92rem; font-weight: 700; color: var(--ink-mute); margin-top: .2rem; }
.price-note { margin-top: .8rem; font-size: .82rem; font-weight: 600; color: var(--ink-mute); }
.service-meta { font-size: .86rem; font-weight: 700; color: var(--ink-mute); margin-top: .3rem; }
.service-note { color: var(--ink-soft); font-size: .98rem; margin: .9rem 0 1.4rem; flex-grow: 1; }

/* =============================================================
   12b. Nuestros convenios
   ============================================================= */
.section-convenios { background: var(--bg); }
.convenio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: 920px;
  margin-inline: auto;
}
.convenio-item {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.2rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 96px;
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.convenio-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.convenio-item img {
  max-width: 100%;
  max-height: 62px;
  width: auto;
  object-fit: contain;
}
@media (min-width: 720px) { .convenio-grid { grid-template-columns: repeat(4, 1fr); } }

/* =============================================================
   13. Momentos / galería
   ============================================================= */
.section-momentos { background: var(--bg-2); overflow: hidden; }
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .7rem;
  padding-inline: var(--gutter);
  max-width: 1400px;
  margin-inline: auto;
}
.gallery-item {
  margin: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  aspect-ratio: 1/1;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease-out);
}
.gallery-item:hover img { transform: scale(1.07); }

/* =============================================================
   14. Testimonios
   ============================================================= */
.section-testimonios { background: var(--bg); }
.testi-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
}
.testi-card {
  background: linear-gradient(160deg, var(--pink-soft) 0%, #fff 100%);
  border-radius: var(--radius);
  padding: 2rem 1.7rem 1.7rem;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.testi-mark {
  font-family: var(--serif);
  font-size: 3.4rem;
  line-height: .6;
  color: var(--pink);
  display: block;
  margin-bottom: .3rem;
}
.testi-quote { color: var(--ink-soft); font-size: 1.02rem; font-style: italic; min-height: 3.5rem; }
.testi-card--placeholder .testi-quote { color: var(--ink-mute); }
.testi-author { margin-top: 1.1rem; font-weight: 800; color: var(--ink); }
.testi-author span { font-weight: 700; color: var(--teal-deep); }
.testi-stars { color: #f5a623; font-size: 1rem; letter-spacing: .12em; margin-bottom: .5rem; }
.testi-rating { color: #f5a623; letter-spacing: .1em; }
.testi-cta { text-align: center; margin-top: 1.9rem; }

/* =============================================================
   15. FAQ
   ============================================================= */
.section-faq { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%); }
.faq-wrap { max-width: 50rem; }
.faq-list { display: grid; gap: .8rem; }
.faq-item {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.2rem 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-weight: 800;
  color: var(--ink);
  font-size: 1.04rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-plus {
  position: relative;
  flex-shrink: 0;
  width: 22px; height: 22px;
}
.faq-plus::before, .faq-plus::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  background: var(--teal);
  border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: transform .3s var(--ease-out);
}
.faq-plus::before { width: 14px; height: 2.5px; }
.faq-plus::after { width: 2.5px; height: 14px; }
.faq-item[open] .faq-plus::after { transform: translate(-50%, -50%) scaleY(0); }
.faq-answer { padding: 0 1.4rem 1.3rem; }
.faq-answer p { color: var(--ink-soft); }
.faq-item[open] summary { color: var(--teal-deep); }

/* =============================================================
   16. CTA final
   ============================================================= */
.section-cta {
  background:
    radial-gradient(120% 90% at 15% 0%, rgba(147,201,79,.35) 0%, transparent 55%),
    radial-gradient(120% 90% at 90% 100%, rgba(239,151,164,.4) 0%, transparent 55%),
    linear-gradient(135deg, var(--teal) 0%, var(--teal-deep) 100%);
  color: #fff;
  padding-block: clamp(3.6rem, 9vw, 6.5rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-inner { max-width: 44rem; margin-inline: auto; position: relative; z-index: 1; }
.cta-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 5.6vw, 3.4rem);
  line-height: 1.02;
  margin-bottom: 1rem;
}
.cta-title em { font-style: italic; color: #fdf0d8; }
.cta-sub { font-size: 1.1rem; color: rgba(255,255,255,.9); margin-bottom: 2rem; max-width: 34rem; margin-inline: auto; }
.cta-contact {
  margin-top: 1.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: .8rem 1.8rem;
  justify-content: center;
  font-weight: 700;
}
.cta-contact a { color: #fff; border-bottom: 1.5px solid rgba(255,255,255,.4); padding-bottom: 2px; transition: border-color .25s; }
.cta-contact a:hover { border-color: #fff; }

/* =============================================================
   17. Footer
   ============================================================= */
.footer {
  background: linear-gradient(165deg, #155f5f 0%, #0e4747 100%);
  color: #d7ebe8;
  padding-block: clamp(2.8rem, 6vw, 4rem) 1.6rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding-bottom: 2.2rem;
  border-bottom: 1px solid rgba(255,255,255,.14);
}
.footer-wordmark { display: flex; flex-direction: column; margin-bottom: 1rem; }
.fw-name { font-family: var(--serif); font-weight: 600; font-size: 1.75rem; color: #fff; line-height: 1; }
.fw-role { font-weight: 800; font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--green-soft); margin-top: .45rem; }
.footer-brand p { color: #a6cdc9; font-size: .96rem; }
.footer-col h3 { font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--green-soft); margin-bottom: .9rem; font-weight: 800; }
.footer-col p { margin-bottom: .55rem; font-size: .96rem; }
.footer-col a { color: #d7ebe8; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  font-size: .82rem;
  color: #86b3ae;
}
.footer-credits a { color: var(--green-soft); }

/* =============================================================
   18. Botón flotante WhatsApp
   ============================================================= */
.wa-float {
  position: fixed;
  right: 1rem; bottom: 1rem;
  z-index: 200;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  background: var(--wa);
  color: #fff;
  padding: .8rem 1rem;
  border-radius: 999px;
  font-weight: 800;
  box-shadow: 0 12px 28px -8px rgba(37,211,102,.7);
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.wa-float:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 16px 32px -8px rgba(37,211,102,.8); }
.wa-float-label { display: none; }
.wa-float svg { animation: waWiggle 3.5s ease-in-out infinite; }
@keyframes waWiggle {
  0%, 88%, 100% { transform: rotate(0); }
  90%, 94% { transform: rotate(-9deg); }
  92%, 96% { transform: rotate(9deg); }
}

/* =============================================================
   19. Reveal animations
   ============================================================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }
/* Defensive net: split-text elements never invisible (gotcha A.4.5) */
.reveal[data-split] { opacity: 1; transform: none; }
/* If JS never runs, show everything */
.no-js .reveal { opacity: 1; transform: none; }

/* =============================================================
   20. Responsive
   ============================================================= */
@media (min-width: 540px) {
  .pain-grid { grid-template-columns: repeat(2, 1fr); }
  .result-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .wa-float-label { display: inline; }
  .hero-trust { grid-template-columns: repeat(3, 1fr); padding: .5rem .6rem; }
  .hero-trust li { flex-direction: column; align-items: flex-start; gap: .5rem; padding: .7rem .9rem; }
  .hero-trust li + li { border-top: 0; border-left: 1px solid var(--line-soft); }
  .etapa-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 720px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-title { line-height: .98; }
}

@media (min-width: 960px) {
  .nav-toggle { display: none; }
  .nav-links {
    position: static;
    flex-direction: row;
    gap: 1.7rem;
    font-size: .96rem;
    background: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: 0;
    border-top: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .nav-links a { padding: .3rem 0; border-bottom: 0; }
  .nav-links a::after {
    content: "";
    position: absolute; left: 0; bottom: 0;
    width: 100%; height: 2px;
    background: var(--pink-deep);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s var(--ease-out);
  }
  .nav-links a:hover::after { transform: scaleX(1); }
  .result-grid { grid-template-columns: repeat(4, 1fr); }
  .service-grid { grid-template-columns: repeat(3, 1fr); }
  .pain-grid { grid-template-columns: repeat(4, 1fr); }
  .solucion-grid { grid-template-columns: 1fr 1.1fr; }
  .especialista-grid { grid-template-columns: 1fr 1.05fr; }
  .especialista-media-2 { display: block; }
  .footer-inner { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-bottom { flex-direction: row; justify-content: space-between; }
  .gallery { grid-template-columns: repeat(6, 1fr); gap: .8rem; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .etapa-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1280px) {
  .hero-card { max-width: 44rem; }
}

/* =============================================================
   21. Reduced motion — only intrusive effects
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .kicker-dot { animation: none; }
  .wa-float svg { animation: none; }
}
