/* ============================================================
   CRECIENDO JUNTOS — Centro de Terapias Infantiles
   Línea gráfica: cálido · lúdico · tipo mapa de aventura
   Base branding (salvia · taupe · durazno) + acentos vibrantes
   Maquinaria heredada: Lenis + GSAP ScrollTrigger
   ============================================================ */

/* ---------- TOKENS ---------- */
:root {
  /* base cálida */
  --cream:    #FBF6EC;
  --cream-2:  #F5ECDC;
  --sand:     #EFE3CE;
  --ink:      #3B342C;
  --ink-soft: #6B6155;

  /* branding suave */
  --sage:     #8FA79C;
  --sage-dk:  #6F8B7F;
  --taupe:    #9A8064;
  --taupe-dk: #7E6849;
  --peach:    #F2C4A6;

  /* acentos "explosivos" */
  --coral:    #FF7A59;
  --teal:     #45C1AB;
  --blue:     #3E93B4;
  --yellow:   #F3B04C;

  --bg: var(--cream);
  --fg: var(--ink);
  --muted: var(--ink-soft);
  --line: rgba(59, 52, 44, 0.12);

  --font-display: "Fredoka", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, sans-serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io:  cubic-bezier(0.65, 0, 0.35, 1);
  --bounce:   cubic-bezier(0.34, 1.56, 0.64, 1);

  --container: 1200px;
  --gutter: clamp(20px, 5vw, 72px);
  --radius: 26px;

  --shadow-sm: 0 8px 24px -12px rgba(126, 104, 73, 0.35);
  --shadow-md: 0 24px 50px -24px rgba(126, 104, 73, 0.45);
  --shadow-lg: 0 36px 80px -30px rgba(126, 104, 73, 0.5);
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; -webkit-tap-highlight-color: transparent; }
body {
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream) 40%, #F3E7D0 78%, #ECDCBE 100%);
  color: var(--fg);
  font-family: var(--font-body);
  font-weight: 500;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  cursor: none;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: none; }
ul, ol { list-style: none; }
::selection { background: var(--yellow); color: var(--ink); }

/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

@media (max-width: 960px) { body, button { cursor: auto; } }

/* ---------- LAYOUT ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { position: relative; padding-block: clamp(64px, 11vh, 150px); overflow: hidden; }
.hero, .section { scroll-margin-top: 84px; }

/* ---------- TIPOGRAFÍA ---------- */
.eyebrow {
  display: inline-block; text-align: center;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--taupe-dk);
  background: var(--sand);
  padding: 0.5em 1em;
  border-radius: 999px;
  margin-bottom: 1.3rem;
  max-width: 100%;
}
.eyebrow--pop { background: #fff; box-shadow: var(--shadow-sm); color: var(--coral); }
.eyebrow--light { background: rgba(255,255,255,0.22); color: #fff; }

.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.1rem, 5.4vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.section-head { max-width: 760px; margin-bottom: clamp(2.2rem, 5vw, 3.6rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-lead { color: var(--muted); font-size: 1.08rem; margin-top: 1rem; }

/* resaltados con "marcador" */
.hl { position: relative; white-space: nowrap; color: var(--ink); z-index: 0; }
.hl::after {
  content: ""; position: absolute; left: -0.08em; right: -0.08em; bottom: 0.06em; height: 0.34em;
  border-radius: 999px; z-index: -1; opacity: 0.55;
}
.hl--coral::after  { background: var(--coral); }
.hl--teal::after   { background: var(--teal); }
.hl--yellow::after { background: var(--yellow); }
.hl--blue::after   { background: var(--blue); }

/* ---------- CURSOR ---------- */
.cursor {
  position: fixed; top: 0; left: 0;
  width: 30px; height: 30px;
  border: 2.5px solid var(--coral);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none; z-index: 9999;
  transition: width .25s var(--ease-out), height .25s var(--ease-out), background .25s, border-color .25s;
}
.cursor.is-hover { width: 54px; height: 54px; background: rgba(255,122,89,0.18); border-color: var(--coral); }
@media (max-width: 960px) { .cursor { display: none; } }

/* ---------- BOTONES ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.55em;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.005em;
  padding: 0.85em 1.5em;
  border-radius: 999px;
  transition: transform .3s var(--bounce), box-shadow .3s var(--ease-out), background .3s, color .3s;
  will-change: transform;
}
.btn .arrow { transition: transform .3s var(--ease-out); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-lg { font-size: 1.1rem; padding: 1em 1.9em; }

.btn-primary { background: var(--coral); color: #fff; box-shadow: 0 12px 26px -10px rgba(255,122,89,0.7); }
.btn-primary:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 20px 40px -12px rgba(255,122,89,0.85); }

.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2.5px var(--line); }
.btn-ghost:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 2.5px var(--taupe); background: #fff; }

.btn-light { background: #fff; color: var(--coral); box-shadow: var(--shadow-md); }
.btn-light:hover { transform: translateY(-3px) scale(1.03); box-shadow: var(--shadow-lg); }

/* ---------- PRELOADER ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 10000;
  background: var(--cream);
  display: grid; place-content: center; justify-items: center; gap: 1.4rem;
}
.preloader__tree { width: 96px; transform-origin: bottom center; animation: treePulse 1.3s ease-in-out infinite alternate; }
@keyframes treePulse { from { transform: scale(0.9) rotate(-2.5deg); } to { transform: scale(1.05) rotate(2.5deg); } }
.preloader__bar { width: 170px; height: 5px; background: var(--sand); border-radius: 999px; overflow: hidden; }
.preloader__bar i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--sage), var(--yellow)); transform: scaleX(0); transform-origin: left; border-radius: 999px; }
.preloader__word { font-family: var(--font-display); font-weight: 500; color: var(--taupe); letter-spacing: 0.02em; }

/* ---------- BARRA DE PROGRESO SUPERIOR ---------- */
.topbar { position: fixed; top: 0; left: 0; height: 4px; width: 0%; z-index: 950; background: linear-gradient(90deg, var(--coral), var(--yellow), var(--teal), var(--blue)); border-radius: 0 999px 999px 0; }

/* ---------- MASCOTA (mariposa que vuela con el scroll) ---------- */
.mascot { position: fixed; width: 58px; right: 26px; top: 30%; z-index: 780; pointer-events: none; filter: drop-shadow(0 10px 14px rgba(126,104,73,0.3)); opacity: 0; }
.mascot__wing { transform-box: fill-box; transform-origin: center right; }
.mascot__wing--r { transform-origin: center left; }
.mascot.is-on { opacity: 1; }
.mascot .mascot__wing--l { animation: flutterL 0.32s ease-in-out infinite alternate; }
.mascot .mascot__wing--r { animation: flutterR 0.32s ease-in-out infinite alternate; }
@keyframes flutterL { from { transform: rotateY(0deg); } to { transform: rotateY(55deg); } }
@keyframes flutterR { from { transform: rotateY(0deg); } to { transform: rotateY(-55deg); } }
@media (max-width: 1180px) { .mascot { display: none; } }

/* ---------- MEDIDOR DE CRECIMIENTO ---------- */
.grow { position: fixed; left: 18px; top: 50%; transform: translateY(-50%); z-index: 800; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.grow__track { width: 6px; height: 180px; background: var(--sand); border-radius: 999px; overflow: hidden; display: flex; align-items: flex-end; }
.grow__fill { width: 100%; height: 0%; background: linear-gradient(var(--yellow), var(--sage)); border-radius: 999px; }
.grow__seed { font-size: 1.1rem; line-height: 1; }
@media (max-width: 1180px) { .grow { display: none; } }

/* ---------- NAV ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  display: flex; align-items: center; justify-content: space-between; gap: 1.2rem;
  padding: 1rem var(--gutter);
  padding-top: max(1rem, env(safe-area-inset-top));
  transition: background .4s var(--ease-out), padding .4s var(--ease-out), box-shadow .4s;
}
.nav.scrolled { background: rgba(251,246,236,0.86); backdrop-filter: blur(14px); padding-block: 0.65rem; box-shadow: 0 6px 24px -18px rgba(126,104,73,0.6); }
.nav__logo { display: flex; align-items: center; gap: 0.5rem; font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; }
.nav__logo b { color: var(--sage-dk); font-weight: 600; margin-left: 0.15em; }
.nav__mark { width: 34px; }
.nav__links { display: flex; gap: 1.5rem; }
.nav__links a { font-weight: 700; font-size: 0.94rem; color: var(--muted); position: relative; padding: 0.2em 0; transition: color .25s; }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: -2px; height: 2.5px; width: 0; background: var(--coral); border-radius: 999px; transition: width .3s var(--ease-out); }
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { width: 100%; }
.nav__cta { flex-shrink: 0; }
.nav__burger { display: none; width: 42px; height: 42px; position: relative; }
.nav__burger span { display: block; width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; margin: 5px auto; transition: transform .3s var(--ease-out), opacity .3s; }

.nav__panel { position: fixed; inset: 0; z-index: -1; background: var(--cream); display: flex; align-items: center; justify-content: center; padding-inline: var(--gutter); opacity: 0; visibility: hidden; transition: opacity .4s var(--ease-out), visibility .4s; }
.nav__panel-links { display: flex; flex-direction: column; gap: 1.4rem; text-align: center; width: 100%; max-width: 360px; }
.nav__panel-links a { font-family: var(--font-display); font-weight: 500; font-size: 1.9rem; color: var(--ink); }
.nav__panel-cta { font-size: 1.05rem; align-self: center; color: #fff; }
.nav.menu-open .nav__panel { opacity: 1; visibility: visible; z-index: 899; }
.nav.menu-open .nav__burger span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav.menu-open .nav__burger span:nth-child(2) { opacity: 0; }
.nav.menu-open .nav__burger span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- JUGUETES FLOTANTES ---------- */
.toy { position: absolute; z-index: 1; pointer-events: none; filter: drop-shadow(0 16px 24px rgba(126,104,73,0.28)); will-change: transform; }
[data-pop] { pointer-events: auto; cursor: none; }

/* ---------- HERO ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: grid; place-items: center;
  padding-block: 128px 84px;
  text-align: center;
  overflow: hidden;
}
.hero__sky { position: absolute; inset: 0; z-index: 0; background:
  radial-gradient(70% 55% at 14% 10%, rgba(69,193,171,0.16), transparent 60%),
  radial-gradient(70% 55% at 86% 6%, rgba(255,122,89,0.13), transparent 60%),
  linear-gradient(180deg, #FFFDF9 0%, var(--cream) 38%, #EEDFC6 76%, #E4CDA6 100%);
}
.hero__sky::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(154,128,100,0.12) 1.4px, transparent 1.5px); background-size: 26px 26px; mask-image: radial-gradient(80% 80% at 50% 40%, #000 0%, transparent 78%); -webkit-mask-image: radial-gradient(80% 80% at 50% 40%, #000 0%, transparent 78%); }

/* aurora que se mueve suavemente detrás del contenido */
.hero__aurora { position: absolute; inset: -20%; z-index: 0; pointer-events: none; opacity: 0.9;
  background:
    radial-gradient(35% 45% at 30% 40%, rgba(69,193,171,0.20), transparent 60%),
    radial-gradient(40% 40% at 70% 30%, rgba(243,176,76,0.18), transparent 60%),
    radial-gradient(45% 45% at 55% 70%, rgba(255,122,89,0.14), transparent 60%);
  filter: blur(30px); animation: aurora 22s ease-in-out infinite alternate; }
@keyframes aurora {
  0%   { transform: translate3d(-3%, -2%, 0) scale(1);   }
  50%  { transform: translate3d(3%, 3%, 0)   scale(1.12);}
  100% { transform: translate3d(-2%, 4%, 0)  scale(1.05);}
}

.hero__blob { position: absolute; border-radius: 50%; filter: blur(70px); z-index: 0; will-change: transform; }
.hero__blob--sage  { width: 44vw; height: 44vw; max-width: 620px; max-height: 620px; background: rgba(143,167,156,0.45); top: -12%; left: -10%; animation: drift-a 17s ease-in-out infinite alternate; }
.hero__blob--peach { width: 40vw; height: 40vw; max-width: 560px; max-height: 560px; background: rgba(242,196,166,0.55); bottom: -12%; right: -12%; animation: drift-b 21s ease-in-out infinite alternate; }
.hero__blob--taupe { width: 34vw; height: 34vw; max-width: 460px; max-height: 460px; background: rgba(154,128,100,0.34); bottom: -20%; left: 18%; animation: drift-c 25s ease-in-out infinite alternate; }
@keyframes drift-a { from { transform: translate(0,0) scale(1); }     to { transform: translate(70px,50px) scale(1.16); } }
@keyframes drift-b { from { transform: translate(0,0) scale(1); }     to { transform: translate(-60px,-36px) scale(1.12); } }
@keyframes drift-c { from { transform: translate(0,0) scale(1); }     to { transform: translate(40px,-44px) scale(1.2); } }

.hero__content { position: relative; z-index: 3; max-width: 940px; padding-inline: var(--gutter); }
.hero__eyebrow { margin-bottom: 1.5rem; }
.hero__title { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.5rem, 7vw, 5.4rem); line-height: 1.02; letter-spacing: -0.02em; color: var(--ink); margin-bottom: 1.4rem; }
.hero__sub { font-size: clamp(1.05rem, 2.2vw, 1.35rem); color: var(--muted); font-weight: 600; max-width: 640px; margin: 0 auto 2.2rem; }
.hero__sub b { color: var(--ink); }
.hero__cta { display: flex; gap: 0.9rem; justify-content: center; flex-wrap: wrap; }

.hero__stats { display: flex; justify-content: center; gap: clamp(1.4rem, 5vw, 3.4rem); margin-top: 2.4rem; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; align-items: center; gap: 0.2rem; }
.stat__num { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.9rem, 4.6vw, 2.8rem); line-height: 1; color: var(--coral); }
.stat:nth-child(2) .stat__num { color: var(--teal); }
.stat:nth-child(3) .stat__num { color: var(--blue); }
.stat__word { letter-spacing: 0.02em; }
.stat span { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); line-height: 1.25; }

/* posiciones juguetes hero */
.toy--block  { width: clamp(52px, 7vw, 92px); top: 20%; left: 9%; }
.toy--star   { width: clamp(48px, 6.5vw, 84px); top: 15%; right: 11%; }
.toy--circle { width: clamp(46px, 6vw, 78px); bottom: 20%; left: 13%; }
.toy--tri    { width: clamp(44px, 6vw, 74px); bottom: 24%; right: 12%; }
.toy--fly    { width: clamp(64px, 9vw, 120px); top: 40%; right: 5%; }
.toy--squig  { width: clamp(70px, 9vw, 120px); top: 46%; left: 3%; }
@media (max-width: 900px) {
  .toy--circle, .toy--squig { display: none; }
  .toy--block { top: 12%; left: 5%; }
  .toy--star { top: 10%; right: 6%; }
  .toy--tri { bottom: 15%; right: 6%; }
  .toy--fly { top: auto; bottom: 12%; left: 6%; right: auto; }
}

.hero__scroll { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 0.5rem; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.hero__scroll i { width: 2px; height: 32px; background: linear-gradient(var(--coral), transparent); border-radius: 999px; animation: scrollLine 1.8s var(--ease-io) infinite; }
@keyframes scrollLine { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 50.1% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* animación "wave" del texto */
.wave { display: inline-block; color: var(--sage-dk); }

/* ---------- MARQUEE ---------- */
.marquee { background: var(--sage); color: #fff; padding-block: 0.7rem; overflow: hidden; white-space: nowrap; }
.marquee__track { display: inline-flex; animation: marquee 30s linear infinite; }
.marquee__track span { font-family: var(--font-display); font-weight: 500; font-size: 1.1rem; letter-spacing: 0.04em; padding-inline: 0.4rem; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- NOSOTROS ---------- */
.nosotros__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.nosotros__body p { color: var(--muted); font-size: 1.06rem; margin-bottom: 1.1rem; }
.nosotros__body b { color: var(--ink); }
.portrait { position: relative; aspect-ratio: 1; border-radius: 32px; background: radial-gradient(120% 120% at 30% 20%, #fff, var(--sand)); box-shadow: var(--shadow-md); display: grid; place-items: center; }
.portrait__img { width: 74%; }
.portrait__tag { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); white-space: nowrap; background: #fff; color: var(--taupe-dk); font-family: var(--font-display); font-weight: 500; font-size: 0.98rem; padding: 0.5em 1.2em; border-radius: 999px; box-shadow: var(--shadow-sm); }
.portrait__fly { position: absolute; width: 56px; top: 14px; right: 14px; filter: none; }
.pills { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.6rem; }
.pills li { font-family: var(--font-display); font-weight: 500; font-size: 0.92rem; padding: 0.45em 1em; border-radius: 999px; background: #fff; box-shadow: var(--shadow-sm); color: var(--taupe-dk); }
@media (max-width: 860px) { .nosotros__grid { grid-template-columns: 1fr; } .portrait { max-width: 420px; margin-inline: auto; } }

/* ---------- PASOS ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; counter-reset: step; }
.step { position: relative; padding: clamp(1.8rem, 3vw, 2.6rem); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); transition: transform .4s var(--bounce), box-shadow .4s; }
.step:hover { transform: translateY(-8px) rotate(-1deg); box-shadow: var(--shadow-md); }
.step__num { position: absolute; top: -18px; right: 22px; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--yellow); color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; box-shadow: var(--shadow-sm); }
.step__icon { width: 62px; height: 62px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 1.2rem; }
.step__icon svg { width: 34px; height: 34px; }
.step__icon--coral { background: rgba(255,122,89,0.14); color: var(--coral); }
.step__icon--teal  { background: rgba(69,193,171,0.16); color: #2f9d89; }
.step__icon--blue  { background: rgba(62,147,180,0.14); color: var(--blue); }
.step__title { font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; margin-bottom: 0.6rem; color: var(--ink); }
.step p { color: var(--muted); font-size: 1rem; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } }

/* ---------- RUTA / MAPA ---------- */
.ruta { background: linear-gradient(180deg, var(--cream), #FFFCF6 40%, var(--cream)); }
.map { position: relative; max-width: 940px; margin-inline: auto; padding-top: 1rem; }
.map__path { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 300px; height: 100%; z-index: 0; }
.stations { position: relative; z-index: 1; display: flex; flex-direction: column; gap: clamp(2.4rem, 6vw, 5rem); }
.station { position: relative; display: flex; }
.station--left  { justify-content: flex-start; }
.station--right { justify-content: flex-end; }
.station__card { position: relative; width: min(46%, 420px); background: #fff; border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.2rem); box-shadow: var(--shadow-sm); transition: transform .4s var(--bounce), box-shadow .4s; }
.station__card::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 6px; border-radius: var(--radius) var(--radius) 0 0; }
.station:hover .station__card { transform: translateY(-6px) scale(1.02); box-shadow: var(--shadow-md); }
.station__badge { position: absolute; top: 50%; width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--taupe-dk); font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; box-shadow: 0 0 0 6px var(--cream), var(--shadow-sm); z-index: 2; transform: translateY(-50%); }
.station--left  .station__badge { left: calc(50% - 27px); }
.station--right .station__badge { right: calc(50% - 27px); }
.station__icon { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 1rem; }
.station__icon svg { width: 32px; height: 32px; }
.station__title { font-family: var(--font-display); font-weight: 600; font-size: 1.28rem; line-height: 1.15; margin-bottom: 0.55rem; color: var(--ink); }
.station__card p { color: var(--muted); font-size: 1rem; }

/* colores por estación */
.station[data-color="coral"]  .station__card::before { background: var(--coral); }
.station[data-color="coral"]  .station__icon { background: rgba(255,122,89,0.14); color: var(--coral); }
.station[data-color="coral"]  .station__badge { color: var(--coral); }
.station[data-color="blue"]   .station__card::before { background: var(--blue); }
.station[data-color="blue"]   .station__icon { background: rgba(62,147,180,0.14); color: var(--blue); }
.station[data-color="blue"]   .station__badge { color: var(--blue); }
.station[data-color="teal"]   .station__card::before { background: var(--teal); }
.station[data-color="teal"]   .station__icon { background: rgba(69,193,171,0.16); color: #2f9d89; }
.station[data-color="teal"]   .station__badge { color: #2f9d89; }
.station[data-color="yellow"] .station__card::before { background: var(--yellow); }
.station[data-color="yellow"] .station__icon { background: rgba(243,176,76,0.18); color: #cf8c22; }
.station[data-color="yellow"] .station__badge { color: #cf8c22; }
.station[data-color="sage"]   .station__card::before { background: var(--sage); }
.station[data-color="sage"]   .station__icon { background: rgba(143,167,156,0.22); color: var(--sage-dk); }
.station[data-color="sage"]   .station__badge { color: var(--sage-dk); }
.station--goal .station__card { background: linear-gradient(150deg, #fff, #FFF6E8); box-shadow: 0 0 0 2px var(--yellow), var(--shadow-md); }

@media (max-width: 720px) {
  .map__path { display: none; }
  .stations { gap: 1.2rem; }
  .station--left, .station--right { justify-content: stretch; }
  .station__card { width: 100%; padding-left: clamp(1.4rem, 4vw, 2rem); }
  .station__badge { position: static; transform: none; margin-bottom: 0.8rem; box-shadow: var(--shadow-sm); }
  .station--left .station__badge, .station--right .station__badge { left: auto; right: auto; }
}

/* ---------- HOGAR (banner) ---------- */
.hogar__card { position: relative; overflow: hidden; border-radius: 34px; padding: clamp(2.4rem, 6vw, 4rem); background: linear-gradient(140deg, var(--sage), var(--sage-dk)); color: #fff; box-shadow: var(--shadow-lg); }
.hogar__card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 90% at 90% 10%, rgba(255,255,255,0.16), transparent 55%); pointer-events: none; }
.hogar__text { position: relative; z-index: 2; max-width: 640px; }
.hogar__title { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.9rem, 4.6vw, 3.1rem); line-height: 1.06; margin: 0.6rem 0 1rem; }
.hogar__card p { font-size: 1.08rem; opacity: 0.94; margin-bottom: 1.8rem; }
.hogar__card p b { color: #fff; }
.hogar__toy { position: absolute; width: clamp(120px, 20vw, 220px); right: -10px; bottom: -30px; opacity: 0.35; filter: none; z-index: 1; }
@media (max-width: 620px) { .hogar__toy { display: none; } }

/* ---------- SEÑALES ---------- */
.senales__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.senales__head p { color: var(--muted); font-size: 1.06rem; margin: 1rem 0 1.6rem; }
.checklist { display: grid; gap: 0.8rem; }
.checklist li { position: relative; padding: 1rem 1.1rem 1rem 3.2rem; border-radius: 16px; background: #fff; box-shadow: var(--shadow-sm); font-weight: 600; font-size: 1.02rem; transition: transform .3s var(--bounce); }
.checklist li::before { content: "✓"; position: absolute; left: 1rem; top: 1rem; width: 1.6rem; height: 1.6rem; display: grid; place-items: center; background: var(--teal); color: #fff; border-radius: 50%; font-size: 0.85rem; font-weight: 800; }
.checklist li:nth-child(2n)::before { background: var(--coral); }
.checklist li:nth-child(3n)::before { background: var(--yellow); }
.checklist li:hover { transform: translateX(6px); }
@media (max-width: 820px) { .senales__grid { grid-template-columns: 1fr; } }

/* ---------- VALORES / CHIPS ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 0.7rem; justify-content: center; max-width: 860px; margin-inline: auto; }
.chip { font-family: var(--font-display); font-weight: 500; font-size: clamp(0.95rem, 2vw, 1.3rem); padding: 0.5em 1.1em; border-radius: 999px; background: #fff; box-shadow: var(--shadow-sm); color: var(--ink); transition: transform .3s var(--bounce), background .3s, color .3s; }
.chip:nth-child(4n+1):hover { background: var(--coral); color: #fff; }
.chip:nth-child(4n+2):hover { background: var(--teal); color: #fff; }
.chip:nth-child(4n+3):hover { background: var(--blue); color: #fff; }
.chip:nth-child(4n+4):hover { background: var(--yellow); color: #fff; }
.chip:hover { transform: translateY(-4px) rotate(-2deg); }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.faq__list { display: grid; gap: 0.8rem; }
.faq__item { border-radius: 18px; background: #fff; box-shadow: var(--shadow-sm); overflow: hidden; transition: box-shadow .3s; }
.faq__item[open] { box-shadow: var(--shadow-md); }
.faq__item summary { list-style: none; cursor: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.15rem 1.3rem; font-family: var(--font-display); font-weight: 500; font-size: 1.08rem; color: var(--ink); }
@media (max-width: 960px) { .faq__item summary { cursor: pointer; } }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary i { position: relative; width: 16px; height: 16px; flex-shrink: 0; }
.faq__item summary i::before, .faq__item summary i::after { content: ""; position: absolute; background: var(--coral); border-radius: 2px; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.faq__item summary i::before { width: 16px; height: 2.5px; }
.faq__item summary i::after { width: 2.5px; height: 16px; transition: transform .3s var(--ease-out); }
.faq__item[open] summary i::after { transform: translate(-50%, -50%) scaleY(0); }
.faq__item p { padding: 0 1.3rem 1.3rem; color: var(--muted); }
@media (max-width: 820px) { .faq__grid { grid-template-columns: 1fr; } }

/* ---------- CONTACTO ---------- */
.contacto { text-align: center; background: radial-gradient(120% 90% at 50% 0%, #FFFCF6, var(--cream) 60%); }
.contacto__inner { position: relative; z-index: 2; max-width: 820px; margin-inline: auto; }
.contacto__title { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.2rem, 6vw, 4.4rem); line-height: 1.03; color: var(--ink); margin-bottom: 1.2rem; }
.contacto__lead { color: var(--muted); font-size: 1.14rem; max-width: 560px; margin: 0 auto 2rem; }
.contacto__lead b { color: var(--coral); }
.contacto__cta { display: flex; gap: 0.9rem; justify-content: center; flex-wrap: wrap; margin-bottom: 1.1rem; }
.contacto__mail { color: var(--muted); font-size: 0.98rem; margin-bottom: 2.4rem; }
.contacto__mail a { color: var(--taupe-dk); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.contacto__mail a:hover { color: var(--coral); }
.contacto__meta { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(1.2rem, 4vw, 3rem); }
.contacto__meta div { display: flex; flex-direction: column; gap: 0.2rem; }
.contacto__meta span { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 800; }
.contacto__meta b { font-family: var(--font-display); font-weight: 500; font-size: 1.05rem; color: var(--ink); }
.contacto__star { width: clamp(60px, 8vw, 100px); top: 12%; left: 8%; }
@media (max-width: 620px) { .contacto__star { display: none; } }

/* ---------- FOOTER ---------- */
.footer { background: var(--cream-2); padding-block: 3.2rem 2.2rem; }
.footer__grid { display: grid; grid-template-columns: 1.1fr 1.6fr; gap: 2.4rem; margin-bottom: 2.4rem; align-items: start; }
.footer__mark { width: clamp(160px, 24vw, 220px); }
.footer__org { color: var(--muted); font-size: 0.94rem; margin-top: 1rem; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.footer__col h4 { font-family: var(--font-display); font-weight: 600; font-size: 1rem; color: var(--ink); margin-bottom: 0.8rem; }
.footer__col a { display: block; color: var(--muted); font-size: 0.94rem; font-weight: 600; padding: 0.28em 0; transition: color .25s; }
.footer__col a:hover { color: var(--coral); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.6rem; padding-top: 1.6rem; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.85rem; }
@media (max-width: 760px) { .footer__grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .footer__cols { grid-template-columns: 1fr 1fr; } }

/* ---------- DIVISORES ONDULADOS ---------- */
.wave-divider { position: absolute; left: 0; width: 100%; height: clamp(50px, 7vw, 90px); z-index: 4; pointer-events: none; }
.wave-divider--bottom { bottom: -1px; }

/* ---------- HERO: reveal de líneas ---------- */
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.04em; }
.hero__title .line__in { display: inline-block; }

/* ---------- LA TERAPEUTA (enriquecida) ---------- */
.nosotros__role { font-family: var(--font-display); font-weight: 500; color: var(--coral); font-size: 1.05rem; margin-bottom: 1rem; }
.portrait__chip { position: absolute; font-family: var(--font-display); font-weight: 500; font-size: 0.82rem; padding: 0.4em 0.85em; border-radius: 999px; background: #fff; box-shadow: var(--shadow-md); white-space: nowrap; }
.portrait__chip--1 { top: 12%; right: -6%; color: var(--coral); }
.portrait__chip--2 { top: 44%; left: -10%; color: var(--blue); }
.portrait__chip--3 { bottom: 16%; right: -4%; color: #2f9d89; }
.creds { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; margin-top: 1.8rem; }
.cred { display: flex; gap: 0.7rem; align-items: flex-start; background: #fff; border-radius: 16px; padding: 0.9rem 1rem; box-shadow: var(--shadow-sm); }
.cred__ic { font-size: 1.3rem; line-height: 1.2; flex-shrink: 0; }
.cred b { display: block; font-family: var(--font-display); font-weight: 500; font-size: 0.98rem; color: var(--ink); line-height: 1.2; }
.cred em { font-style: normal; font-size: 0.82rem; color: var(--muted); }
.flags { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin-top: 1.6rem; }
.flags__label { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-right: 0.2rem; }
.flag { font-weight: 700; font-size: 0.88rem; color: var(--taupe-dk); background: var(--sand); padding: 0.35em 0.8em; border-radius: 999px; }
@media (max-width: 560px) { .creds { grid-template-columns: 1fr; } .portrait__chip { font-size: 0.74rem; } }

/* ---------- BANDA DE NÚMEROS ---------- */
.impacto { background: linear-gradient(135deg, var(--coral), #ff9270); overflow: hidden; }
.impacto::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,0.16) 1.5px, transparent 1.6px); background-size: 26px 26px; opacity: 0.5; }
.impacto__grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }
.imp { color: #fff; }
.imp__num { display: block; font-family: var(--font-display); font-weight: 600; font-size: clamp(2.6rem, 6vw, 4.2rem); line-height: 1; }
.imp span { display: block; margin-top: 0.4rem; font-weight: 700; font-size: 0.9rem; opacity: 0.94; line-height: 1.3; }
@media (max-width: 640px) { .impacto__grid { grid-template-columns: 1fr 1fr; gap: 2rem 1rem; } }

/* ---------- MARIPOSA DE LA RUTA ---------- */
.map__flier { position: absolute; width: 46px; left: 0; top: 0; z-index: 3; margin: -23px 0 0 -23px; pointer-events: none; filter: drop-shadow(0 8px 10px rgba(126,104,73,0.3)); opacity: 0; transition: opacity .4s; }
.map__flier.is-on { opacity: 1; }
.map__flier .mascot__wing--l { animation: flutterL 0.3s ease-in-out infinite alternate; }
.map__flier .mascot__wing--r { animation: flutterR 0.3s ease-in-out infinite alternate; }
@media (max-width: 720px) { .map__flier { display: none; } }

/* ---------- QUOTE ---------- */
.quote { text-align: center; background: linear-gradient(180deg, var(--cream), #FFFCF6); }
.quote .container { position: relative; max-width: 900px; }
.quote__mark { font-family: var(--font-display); font-size: clamp(5rem, 14vw, 9rem); line-height: 0.6; color: var(--peach); height: 0.5em; }
.quote__text { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.6rem, 4.4vw, 2.9rem); line-height: 1.25; color: var(--ink); }
.quote__by { margin-top: 1.4rem; color: var(--muted); font-weight: 700; letter-spacing: 0.02em; }

/* ---------- TESTIMONIOS ---------- */
.testimonios { background: linear-gradient(180deg, #FFFCF6, var(--cream)); }
.tgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; }
.tcard { position: relative; background: #fff; border-radius: var(--radius); padding: clamp(1.6rem, 3vw, 2.2rem); box-shadow: var(--shadow-sm); overflow: hidden; transition: transform .4s var(--bounce), box-shadow .4s; }
.tcard::before { content: "“"; position: absolute; top: -0.2em; right: 0.35em; font-family: var(--font-display); font-size: 6rem; line-height: 1; color: var(--sand); z-index: 0; }
.tcard::after { content: ""; position: absolute; left: 0; top: 0; width: 6px; height: 100%; }
.tcard[data-accent="coral"]::after { background: var(--coral); }
.tcard[data-accent="teal"]::after { background: var(--teal); }
.tcard[data-accent="blue"]::after { background: var(--blue); }
.tcard[data-accent="yellow"]::after { background: var(--yellow); }
.tcard:hover { transform: translateY(-6px) rotate(-0.6deg); box-shadow: var(--shadow-md); }
.stars { display: flex; gap: 3px; margin-bottom: 0.9rem; position: relative; z-index: 1; }
.stars i { width: 18px; height: 18px; background: var(--yellow); display: inline-block; clip-path: polygon(50% 0,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%); }
.tcard blockquote { position: relative; z-index: 1; font-size: 1.05rem; color: var(--ink); line-height: 1.6; margin-bottom: 1.4rem; }
.tcard figcaption { display: flex; align-items: center; gap: 0.8rem; position: relative; z-index: 1; }
.tavatar { width: 46px; height: 46px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; background: var(--a, var(--sage)); color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; }
.tinfo b { display: block; font-family: var(--font-display); font-weight: 500; font-size: 1.02rem; color: var(--ink); line-height: 1.2; }
.tinfo em { font-style: normal; font-size: 0.86rem; color: var(--muted); }
.tnote { text-align: center; color: var(--muted); font-size: 0.86rem; margin-top: 1.8rem; }
@media (max-width: 720px) { .tgrid { grid-template-columns: 1fr; } }

/* ---------- REVEAL ---------- */
[data-reveal] { opacity: 0; transform: translateY(34px); }
[data-reveal].is-revealed { opacity: 1; transform: none; }

/* ---------- CONFETTI ---------- */
.confetti { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 9998; }

/* ============================================================
   RESPONSIVE FINO
   ============================================================ */
@media (max-width: 960px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: block; position: relative; z-index: 950; }
  .nav__logo { z-index: 950; }
}
@media (max-width: 768px) {
  .hero { padding-block: 108px 76px; }
  .hero__stats { margin-top: 2.2rem; gap: 1.4rem 2.4rem; }
  .section { padding-block: clamp(56px, 9vh, 100px); }
  /* evitar desbordes horizontales en móvil */
  .hl { white-space: normal; }
  .hl::after { bottom: 0.02em; height: 0.28em; }
  .section-title, .hero__title, .hogar__title, .contacto__title { overflow-wrap: anywhere; }
  .hero__eyebrow { letter-spacing: 0.1em; }
}
@media (max-width: 560px) {
  .hero__cta .btn, .contacto__cta .btn { width: 100%; max-width: 360px; justify-content: center; }
  .btn { padding-block: 1em; }
}
/* --- Móvil: juguetes fuera del texto + chips del retrato dentro de pantalla --- */
@media (max-width: 600px) {
  .toy--fly, .toy--tri { display: none; }
  .toy--block { top: 7%; left: 4%; width: 48px; }
  .toy--star  { top: 6%; right: 5%; width: 44px; }
  .hero { padding-block: 100px 64px; }
  .hero__scroll { display: none; }
  .portrait { max-width: 360px; }
  .portrait__chip { font-size: 0.72rem; padding: 0.35em 0.7em; }
  .portrait__chip--1 { right: 2%; top: 8%; }
  .portrait__chip--2 { left: 2%; }
  .portrait__chip--3 { right: 4%; }
  .hero__stats { gap: 1rem 1.6rem; }
  .stat span { font-size: 0.72rem; }
}
@media (max-width: 380px) {
  :root { --gutter: 18px; }
  .hero__title { font-size: clamp(2.1rem, 8.5vw, 2.6rem); }
}

/* --- Poca altura (laptops/landscape): el indicador de scroll estorba --- */
@media (max-height: 900px) {
  .hero__scroll { display: none; }
}
@media (max-height: 760px) {
  .hero { min-height: auto; padding-block: 110px 60px; }
}

/* ---------- REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .marquee__track { animation: none; }
  .hero__aurora, .hero__blob, .preloader__tree { animation: none !important; }
}
