/* ==========================================================================
   Nivel UP · Landing (rediseño con personalidad)
   ========================================================================== */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--body);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; }
ul { list-style: none; padding: 0; }

/* ---------- Preloader (logo que se rellena) ---------- */
#preloader {
  position: fixed; inset: 0; z-index: 9999; background: var(--cream);
  display: grid; place-items: center;
  transition: opacity .55s ease, visibility .55s ease;
}
#preloader.hide { opacity: 0; visibility: hidden; pointer-events: none; }
.pl-logo { position: relative; width: min(72vw, 360px); }
.pl-outline { width: 100%; display: block; opacity: .14; }
.pl-fill {
  position: absolute; inset: 0;
  background: linear-gradient(to top, var(--verde) 0%, var(--azul) 100%);
  -webkit-mask-size: contain; mask-size: contain;
  clip-path: inset(100% 0 0 0);
  animation: plfill 2.4s var(--ease) .25s forwards;
}
@keyframes plfill { to { clip-path: inset(0 0 0 0); } }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: 104px; position: relative; overflow: hidden; }
.section--cream { background: var(--cream); }
.section--cream2 { background: var(--cream-2); }
.section--white { background: var(--white); }
.section__head { max-width: 720px; margin-bottom: 52px; }
.section__head.center { margin-inline: auto; text-align: center; }

/* ---------- Tipografía ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); line-height: 1.08; letter-spacing: -0.02em; font-weight: 700; }
.display { font-size: clamp(2.7rem, 6.2vw, 4.6rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.02; }
.title { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; letter-spacing: -0.03em; }
.subtitle { font-size: clamp(1.3rem, 2.4vw, 1.7rem); font-weight: 700; }
.lead { font-size: clamp(1.08rem, 1.7vw, 1.28rem); color: var(--body); line-height: 1.6; max-width: 56ch; }
.muted { color: var(--muted); }
.hand { font-family: var(--font-hand); font-weight: 700; }

.kicker {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-display); font-weight: 700; font-size: 0.82rem;
  letter-spacing: 0.04em; text-transform: uppercase;
  padding: 7px 15px; border-radius: var(--r-pill);
  background: var(--white); color: var(--azul);
  box-shadow: var(--sh-soft); border: 1px solid var(--line);
}
.kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--coral); }
.text-grad-word { position: relative; white-space: nowrap; }
.squiggle { display: block; width: 100%; height: 14px; color: var(--coral); margin-top: -6px; }

.mt-8{margin-top:8px}.mt-16{margin-top:16px}.mt-24{margin-top:24px}.mt-32{margin-top:32px}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-display); font-weight: 700; font-size: 1rem;
  padding: 15px 26px; border-radius: var(--r-pill);
  transition: transform .25s var(--spring), box-shadow .25s var(--ease), background .2s ease;
}
.btn .ico { font-size: 1.15rem; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn--coral { background: var(--coral); color: #fff; box-shadow: var(--sh-coral); }
.btn--coral:hover { background: var(--coral-deep); }
.btn--azul { background: var(--azul); color: #fff; box-shadow: var(--sh-azul); }
.btn--azul:hover { background: var(--azul-deep); }
.btn--white { background: #fff; color: var(--ink); box-shadow: var(--sh-soft); border: 1px solid var(--line); }
.btn--white:hover { border-color: var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); border: 2px solid var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }

/* ---------- Chips / badges ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 13px; border-radius: var(--r-pill); font-size: 0.85rem; font-weight: 600;
  background: var(--white); border: 1px solid var(--line); box-shadow: var(--sh-soft);
}
.chip .ico { font-size: 1.05rem; }

/* ---------- Iconos (Phosphor, fuente) ---------- */
.ico { line-height: 1; display: inline-flex; align-items: center; justify-content: center; }
.benefit__ic .ico, .act__ic .ico { font-size: 1.7rem; }
.feature__ic .ico { font-size: 1.4rem; }
.float-card .ic .ico { font-size: 1.3rem; }
.contact__channels .ic .ico { font-size: 1.25rem; }
.hero .deco .ico { font-size: 2.4rem; }

/* ---------- Decoración (blobs / formas) ---------- */
.deco { position: absolute; pointer-events: none; z-index: 0; }
.blob { border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%; filter: blur(2px); opacity: .5; }
@keyframes float-slow { 0%,100%{ transform: translate(0,0) rotate(0); } 50%{ transform: translate(0,-18px) rotate(6deg); } }
@keyframes float-x { 0%,100%{ transform: translateX(0); } 50%{ transform: translateX(16px); } }
.floaty { animation: float-slow 9s ease-in-out infinite; }
.floaty-2 { animation: float-x 11s ease-in-out infinite; }

/* ---------- Navbar ---------- */
.nav { position: sticky; top: 0; z-index: 50; transition: background .3s, box-shadow .3s; }
.nav__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  height: 76px; margin-top: 12px; padding: 0 10px 0 18px;
  background: rgba(255,255,255,0.82); backdrop-filter: saturate(150%) blur(12px);
  border: 1px solid var(--line); border-radius: var(--r-pill); box-shadow: var(--sh-soft);
}
.nav__logo img { height: 50px; width: auto; }
.nav.scrolled .nav__logo img { height: 42px; }
.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__links a { font-family: var(--font-display); font-weight: 600; font-size: 0.97rem; color: var(--ink); transition: color .2s; }
.nav__links a:hover { color: var(--azul); }
.nav__actions { display: flex; align-items: center; gap: 12px; }
.nav__toggle { display: none; padding: 8px; color: var(--ink); }

/* ---------- Hero ---------- */
.hero { position: relative; padding-block: 64px 96px; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.06fr 0.94fr; gap: 48px; align-items: center; position: relative; z-index: 2; }
.hero__hand { position: relative; }
.hero__hand .hand { color: var(--coral); font-size: 1.7rem; transform: rotate(-4deg); display: inline-block; }
.hero h1 { margin-top: 14px; }
.hero h1 .ink-azul { color: var(--azul); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }

.hero__art { position: relative; }
.hero__photo {
  position: relative; z-index: 2; border-radius: 48% 52% 56% 44% / 52% 46% 54% 48%;
  overflow: hidden; aspect-ratio: 5/5.4; box-shadow: var(--sh-card);
  border: 6px solid #fff;
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__art .blob-a { width: 340px; height: 340px; background: var(--ambar); top: -34px; right: -28px; }
.hero__art .blob-b { width: 280px; height: 280px; background: var(--azul); bottom: -36px; left: -34px; opacity: .35; }
.float-card {
  position: absolute; z-index: 3; background: #fff; border-radius: var(--r);
  box-shadow: var(--sh-card); padding: 13px 16px; display: flex; align-items: center; gap: 11px;
  font-family: var(--font-display); font-weight: 700; color: var(--ink); font-size: 0.92rem;
}
.float-card .ic { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; color: #fff; flex: none; }
.float-card small { display: block; font-family: var(--font-body); font-weight: 500; color: var(--muted); font-size: 0.78rem; }
.float-card--tl { top: 22px; left: -26px; }
.float-card--br { bottom: 30px; right: -22px; }

/* ---------- Beneficios (familias / colegios) ---------- */
.benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.benefit {
  position: relative; border-radius: var(--r-lg); padding: 38px; overflow: hidden;
  border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.benefit:hover { transform: translateY(-4px); box-shadow: var(--sh-card); }
.benefit--fam { background: var(--c-arte-bg); }
.benefit--col { background: var(--c-academia-bg); }
.benefit__ic { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; color: #fff; box-shadow: var(--sh-soft); }
.benefit--fam .benefit__ic { background: var(--coral); }
.benefit--col .benefit__ic { background: var(--azul); }
.benefit h3 { font-size: 1.5rem; margin-top: 20px; }
.benefit p { margin-top: 10px; }
.benefit__list { margin-top: 20px; display: grid; gap: 11px; }
.benefit__list li { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; color: var(--ink); }
.benefit__list .ico { font-size: 1.3rem; flex: none; margin-top: 1px; }
.benefit--fam .benefit__list .ico { color: var(--coral); }
.benefit--col .benefit__list .ico { color: var(--azul); }

/* ---------- Actividades (bento de colores) ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.act {
  position: relative; background: #fff; border-radius: var(--r-lg); padding: 26px;
  border: 1px solid var(--line); overflow: hidden; grid-column: span 2;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.act:hover { transform: translateY(-5px); box-shadow: var(--sh-card); }
.act:hover .act__ic { transform: rotate(-6deg) scale(1.06); }
.act__ic { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; color: #fff; transition: transform .3s var(--spring); }
.act h3 { font-size: 1.3rem; margin-top: 18px; }
.act p { margin-top: 8px; font-size: 0.96rem; }
.act__blob { position: absolute; width: 130px; height: 130px; border-radius: 50%; right: -42px; top: -42px; opacity: .12; }
.act--big { grid-column: span 3; }
.act--tall { grid-column: span 3; }
/* mapeo de color por categoría */
.c-academia .act__ic, .c-academia.float-card .ic { background: var(--c-academia); } .c-academia .act__blob { background: var(--c-academia); }
.c-arte .act__ic { background: var(--c-arte); } .c-arte .act__blob { background: var(--c-arte); }
.c-teatro .act__ic { background: var(--c-teatro); } .c-teatro .act__blob { background: var(--c-teatro); }
.c-musica .act__ic { background: var(--c-musica); } .c-musica .act__blob { background: var(--c-musica); }
.c-deportes .act__ic, .c-deportes.float-card .ic { background: var(--c-deportes); } .c-deportes .act__blob { background: var(--c-deportes); }
.c-estrategia .act__ic { background: var(--c-estrategia); } .c-estrategia .act__blob { background: var(--c-estrategia); }
.c-valores .act__ic { background: var(--c-valores); } .c-valores .act__blob { background: var(--c-valores); }

/* ---------- Cómo funciona (camino numerado) ---------- */
.how { position: relative; }
.how__track { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; position: relative; z-index: 2; }
.how__path { position: absolute; top: 38px; left: 8%; right: 8%; height: 40px; z-index: 1; color: var(--line); }
.step { text-align: center; }
.step__num {
  width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 18px; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800; font-size: 1.7rem; color: #fff;
  box-shadow: var(--sh-card); border: 5px solid #fff;
}
.step { opacity: 0; transform: translateY(22px); transition: opacity .55s var(--ease), transform .55s var(--ease); }
.step.step-in { opacity: 1; transform: none; }
.step__num { transform: scale(.5); transition: transform .55s var(--spring); }
.step.step-in .step__num { transform: scale(1); }
.step:nth-child(1) .step__num { background: var(--azul); }
.step:nth-child(2) .step__num { background: var(--coral); }
.step:nth-child(3) .step__num { background: var(--ambar); }
.step:nth-child(4) .step__num { background: var(--verde); }
.step h3 { font-size: 1.18rem; }
.step p { margin-top: 8px; font-size: 0.95rem; }

/* ---------- Bloques zig-zag (colegios / familias) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split--rev .split__media { order: 2; }
.split__media { position: relative; }
.split__media img { width: 100%; aspect-ratio: 4/3.2; object-fit: cover; border-radius: var(--r-xl); box-shadow: var(--sh-card); border: 5px solid #fff; }
.split__media .blob { position: absolute; width: 220px; height: 220px; z-index: -1; }
.split__panel { }
.feature-list { margin-top: 24px; display: grid; gap: 16px; }
.feature { display: flex; gap: 14px; align-items: flex-start; }
.feature__ic { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; flex: none; color: #fff; }
.feature h4 { font-size: 1.08rem; }
.feature p { font-size: 0.95rem; margin-top: 3px; }

/* ---------- Testimonios ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.quote {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px;
  position: relative; transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.quote:hover { transform: translateY(-4px); box-shadow: var(--sh-card); }
.quote:nth-child(2) { background: var(--c-musica-bg); border-color: transparent; margin-top: -22px; }
@media (max-width: 980px) { .quote:nth-child(2) { margin-top: 0; } }
.quote__mark { font-family: var(--font-display); font-size: 3.4rem; line-height: .6; color: var(--coral); font-weight: 800; }
.quote p { color: var(--ink); font-weight: 500; margin-top: 8px; }
.quote__who { display: flex; align-items: center; gap: 13px; margin-top: 22px; }
.avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-family: var(--font-display); font-weight: 800; flex: none; overflow: hidden; }
.avatar--img { object-fit: cover; }
.quote__who strong { display: block; font-family: var(--font-display); color: var(--ink); }
.quote__who span { font-size: 0.86rem; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { max-width: 800px; margin-inline: auto; display: grid; gap: 14px; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: box-shadow .25s; }
.faq__item.open { box-shadow: var(--sh-card); }
.faq__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 26px; font-family: var(--font-display); font-weight: 700; font-size: 1.08rem; color: var(--ink); text-align: left; }
.faq__sign { width: 30px; height: 30px; border-radius: 50%; background: var(--c-academia-bg); color: var(--azul); display: grid; place-items: center; flex: none; font-size: 1.3rem; line-height: 1; transition: transform .3s var(--spring), background .2s; }
.faq__item.open .faq__sign { transform: rotate(135deg); background: var(--coral); color: #fff; }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq__item.open .faq__a { max-height: 340px; }
.faq__a p { padding: 0 26px 24px; }

/* ---------- CTA final ---------- */
.cta {
  position: relative; overflow: hidden; background: var(--azul-ink);
  border-radius: var(--r-xl); padding: 72px 56px; text-align: center; color: #fff;
}
.cta h2 { color: #fff; font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 800; }
.cta p { color: rgba(255,255,255,0.82); max-width: 52ch; margin: 16px auto 0; }
.cta__btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 32px; position: relative; z-index: 2; }
.cta .deco { z-index: 1; }
.cta .blob-1 { width: 260px; height: 260px; background: var(--coral); top: -60px; left: -40px; opacity: .5; }
.cta .blob-2 { width: 300px; height: 300px; background: var(--azul); bottom: -90px; right: -50px; opacity: .55; }

/* ---------- Form (contacto dentro de CTA o sección) ---------- */
.contact { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 50px; align-items: start; }
.contact__channels { margin-top: 26px; display: grid; gap: 13px; }
.contact__channels a, .contact__channels span { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--ink); }
.contact__channels .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: #fff; background: var(--azul); flex: none; }
.contact__channels .ic.wa { background: var(--verde); }
.contact__channels .ic.ph { background: var(--coral); }
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: 36px; box-shadow: var(--sh-soft); }
.field { margin-bottom: 16px; display: grid; gap: 7px; }
.field label { font-family: var(--font-display); font-weight: 600; font-size: 0.9rem; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: 13px 15px;
  font: inherit; font-size: 0.98rem; color: var(--ink); background: var(--paper); transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--azul); box-shadow: 0 0 0 4px rgba(46,107,240,0.12); }
.field--row { grid-template-columns: 1fr 1fr; }
.field--check { display: flex; flex-direction: row; align-items: flex-start; gap: 10px; font-size: 0.88rem; color: var(--muted); }
.field--check input { width: auto; margin-top: 3px; }
.field--check a { color: var(--azul); text-decoration: underline; font-weight: 600; }

/* ---------- Flash ---------- */
.flash { padding: 15px 20px; border-radius: var(--r); font-weight: 600; margin-bottom: 18px; }
.flash--ok { background: var(--c-deportes-bg); color: var(--verde-deep); }
.flash--error { background: #fde7e7; color: #c0392b; }

/* ---------- Colegios (logos) ---------- */
.schools { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.school { aspect-ratio: 16/10; background: #fff; border: 1px solid var(--line); border-radius: var(--r); display: grid; place-items: center; padding: 8px 14px; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.school:hover { transform: translateY(-4px); box-shadow: var(--sh-card); }
.school img { max-width: 100%; max-height: 90px; object-fit: contain; }
.school--dark { background: var(--azul-ink); border-color: var(--azul-ink); }

/* ---------- Footer ---------- */
.footer { position: relative; overflow: hidden; background: var(--azul-ink); color: rgba(255,255,255,0.74); padding-block: 68px 34px; }
.footer__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; position: relative; z-index: 2; }
.footer__brand strong { color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; }
.footer__brand p { margin-top: 12px; max-width: 320px; font-size: 0.93rem; }
.footer__brand .hand { color: var(--ambar); font-size: 1.4rem; }
.footer h4 { color: #fff; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 16px; }
.footer__links { display: grid; gap: 10px; }
.footer__links a { font-size: 0.94rem; transition: color .2s; }
.footer__links a:hover { color: var(--ambar); }
.footer__bottom { margin-top: 46px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.14); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 0.85rem; position: relative; z-index: 2; }
.footer .blob-f { width: 320px; height: 320px; background: var(--azul); bottom: -120px; right: -60px; opacity: .4; z-index: 1; }

/* ---------- Páginas legales ---------- */
.legal { max-width: 760px; margin-inline: auto; padding-block: 72px; }
.legal h1 { font-size: 2.6rem; font-weight: 800; }
.legal h2 { font-size: 1.3rem; margin-top: 34px; }
.legal p, .legal li { color: var(--body); margin-top: 12px; }
.legal ul { list-style: disc; padding-left: 22px; }
.legal .note { background: var(--c-musica-bg); color: #8a5a12; border-radius: var(--r); padding: 16px 18px; margin-top: 22px; font-weight: 500; }

/* ---------- Botón flotante de WhatsApp ---------- */
.fab-wa {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  display: inline-flex; align-items: center; gap: 10px;
  background: #25d366; color: #fff; padding: 14px 20px; border-radius: var(--r-pill);
  font-family: var(--font-display); font-weight: 700; font-size: 0.98rem;
  box-shadow: 0 14px 28px -8px rgba(37, 211, 102, 0.6);
  animation: bob 4.5s ease-in-out infinite;
  transition: transform .25s var(--spring), box-shadow .25s ease;
}
.fab-wa:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 18px 34px -8px rgba(37, 211, 102, 0.7); }
.fab-wa i { font-size: 1.7rem; line-height: 1; }

/* ---------- Banda animada (marquee) ---------- */
.marquee { overflow: hidden; background: var(--azul-ink); padding: 15px 0; }
.marquee__track { display: inline-flex; align-items: center; white-space: nowrap; width: max-content; animation: marquee 32s linear infinite; }
.marquee span { font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; text-transform: uppercase; letter-spacing: .02em; color: #fff; padding: 0 18px; }
.marquee span.g { color: var(--verde); }
.marquee i { color: rgba(255, 255, 255, .38); font-style: normal; font-size: 1.05rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Brillo periódico en CTAs ---------- */
.btn--coral, .btn--azul { position: relative; overflow: hidden; }
.btn--coral::after, .btn--azul::after {
  content: ""; position: absolute; top: 0; left: -70%; width: 45%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .5), transparent);
  transform: skewX(-20deg); animation: shine 5s ease-in-out infinite; pointer-events: none;
}
@keyframes shine { 0% { left: -70%; } 16% { left: 140%; } 100% { left: 140%; } }

/* ---------- Servicios (bento de tamaños variados) ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service {
  display: flex; gap: 16px; align-items: flex-start; background: #fff;
  border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.service:hover { transform: translateY(-3px); box-shadow: var(--sh-card); }
.service__ic { width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; color: #fff; flex: none; }
.service__ic .ico { font-size: 1.45rem; }
.service h3 { font-size: 1.1rem; }
.service p { font-size: 0.93rem; margin-top: 4px; }
/* variantes bento */
.service--wide { grid-column: span 2; }
.service--tall { grid-row: span 2; flex-direction: column; justify-content: space-between; }
.service--tall .service__ic { width: 62px; height: 62px; border-radius: 16px; }
.service--tall .service__ic .ico { font-size: 1.95rem; }
.service--feature { background: var(--verde); border-color: var(--verde); color: #fff; position: relative; overflow: hidden; }
.service--feature h3 { color: #fff; font-size: 1.45rem; }
.service--feature p { color: rgba(255, 255, 255, 0.9); font-size: 1rem; }
.service--feature .service__ic { background: rgba(255, 255, 255, 0.2); }

/* ---------- Por qué elegirnos ---------- */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 40px; max-width: 940px; margin: 0 auto; }

/* ---------- Transparencia / ficha de monitor ---------- */
.transparency {
  margin-top: 56px; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: 44px;
}
.badge-soon {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--c-academia-bg); color: var(--azul);
  font-family: var(--font-display); font-weight: 700; font-size: 0.78rem;
  text-transform: uppercase; letter-spacing: 0.04em; padding: 7px 13px; border-radius: var(--r-pill);
}
.badge-soon .ico { font-size: 0.95rem; }
.transparency__text p { color: var(--body); }
.monitor-card { background: var(--cream-2); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; box-shadow: var(--sh-soft); }
.monitor-card__head { display: flex; gap: 14px; align-items: flex-start; }
.monitor-card .avatar { width: 56px; height: 56px; font-size: 1.1rem; flex: none; }
.monitor-card strong { font-family: var(--font-display); color: var(--ink); }
.stars { display: flex; gap: 3px; color: var(--verde); margin-top: 6px; }
.stars .ico { font-size: 1rem; }
.monitor-card__quote { margin-top: 18px; color: var(--ink); font-weight: 500; }
.monitor-card__by { display: block; margin-top: 8px; font-size: 0.85rem; color: var(--muted); }

/* ---------- Scroll reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(24px) scale(.985); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0ms); will-change: transform, opacity; }
[data-reveal="left"] { transform: translateX(-36px); }
[data-reveal="right"] { transform: translateX(36px); }
[data-reveal="pop"] { transform: translateY(20px) scale(.9); }
[data-reveal].in { opacity: 1; transform: none; }

/* Subrayado verde que se "dibuja" como una culebra al entrar el hero */
.squiggle path { stroke-dasharray: 320; stroke-dashoffset: 320; }
[data-reveal].in .squiggle path { animation: draw 1.5s .5s cubic-bezier(0.65, 0, 0.35, 1) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* Flotación suave de las tarjetas del hero */
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.float-card { animation: bob 6s ease-in-out infinite; }
.float-card--br { animation-duration: 7.6s; animation-delay: .8s; }

/* Nav: se compacta y gana sombra al hacer scroll */
.nav.scrolled .nav__inner { height: 64px; box-shadow: 0 12px 30px -14px rgba(22, 36, 63, 0.28); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .section { padding-block: 76px; }
  .hero__grid, .benefits, .split, .contact, .transparency { grid-template-columns: 1fr; }
  .services { grid-template-columns: 1fr 1fr; }
  .service--wide, .service--tall { grid-column: auto; grid-row: auto; }
  .service--tall { flex-direction: row; }
  .transparency { gap: 32px; }
  .hero { padding-block: 36px 72px; }
  .hero__art { max-width: 460px; margin: 8px auto 0; }
  .split--rev .split__media { order: 0; }
  .bento { grid-template-columns: repeat(4, 1fr); }
  .act, .act--big, .act--tall { grid-column: span 2; }
  .how__track { grid-template-columns: 1fr 1fr; gap: 36px; }
  .how__path { display: none; }
  .quotes { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .nav__links, .nav__actions .desktop-only { display: none; }
  .nav__toggle { display: inline-flex; }
  .nav.open .nav__links { display: flex; position: absolute; top: 92px; left: var(--gutter); right: var(--gutter); flex-direction: column; align-items: flex-start; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; box-shadow: var(--sh-card); }
  .bento, .field--row, .how__track, .footer__top, .services, .why-grid { grid-template-columns: 1fr; }
  .fab-wa { padding: 0; width: 56px; height: 56px; justify-content: center; right: 16px; bottom: 16px; }
  .fab-wa__txt { display: none; }
  .transparency { padding: 28px; }
  .act, .act--big, .act--tall { grid-column: span 1; }
  .float-card--tl { left: -8px; top: 8px; }
  .float-card--br { right: -6px; }
  .cta { padding: 52px 26px; }
  .schools { grid-template-columns: repeat(2, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  /* Se quita el movimiento continuo y los grandes desplazamientos,
     pero se mantienen los fundidos de opacidad y los hover (la web sigue "viva"). */
  .floaty, .floaty-2, .float-card, .fab-wa, .marquee__track { animation: none !important; }
  .btn--coral::after, .btn--azul::after { animation: none !important; opacity: 0; }
  [data-reveal] { transform: none !important; }
  .step, .step__num { transform: none !important; }
  /* El subrayado del hero SÍ se dibuja aunque haya movimiento reducido
     (efecto pequeño, de una sola pasada, sin desplazamientos). */
  .pl-fill { clip-path: none !important; animation: none !important; }
}
