/*
 * Wonder School · sistema visual de la web pública
 *
 * Reglas de la casa (ver Web nueva/Plan de diseño · nivel Escaland.md):
 *   - Blanco como base, azul Wonder como acento, rojo/naranja solo para logros,
 *     verde solo para WhatsApp y "en vivo".
 *   - Una retícula: 1440 px con 40 px de margen (20 en celular). Menú, portada
 *     y secciones nuevas se alinean a ella.
 *   - Un solo easing de marca y una sola forma de entrar (ver web.js · MOTION).
 *   - El estado de reposo del CSS es el estado final: sin JS o con movimiento
 *     reducido, todo se ve.
 */

:root {
  /* Color */
  --w-blue: #1a6de8;
  --w-blue-hi: #3b8cff;
  --w-blue-deep: #1e3a8a;
  --w-ink: #0d1b3e;
  --w-ink-2: #374151;
  --w-ink-3: #4b5563;
  --w-paper: #ffffff;
  --w-mist: #f3f7ff;
  --w-line: rgba(13, 27, 62, 0.1);
  --w-win: #ef4444;
  --w-live: #22c55e;

  /* Degradados de marca */
  --w-grad-blue: linear-gradient(100deg, #38bdf8 0%, #1a6de8 50%, #1e3a8a 100%);
  --w-grad-win: linear-gradient(100deg, #fb923c 0%, #ef4444 55%, #dc2626 100%);
  --w-grad-tile: linear-gradient(160deg, #3b8cff 0%, #1a6de8 60%, #1e3a8a 100%);

  /* Retícula */
  --w-max: 1440px;
  --w-side: 40px;

  /* Forma */
  --w-r-sm: 12px;
  --w-r-md: 18px;
  --w-r-lg: 28px;
  --w-pill: 999px;

  /* Sombras de dos capas: brillo interior + sombra profunda */
  --w-shadow-card: inset 0 1px 0 #fff, 0 22px 44px -18px rgba(14, 50, 120, 0.35), 0 4px 12px -6px rgba(14, 50, 120, 0.18);
  --w-shadow-soft: 0 6px 20px -10px rgba(14, 50, 120, 0.25);

  /* Movimiento (espejo de MOTION en web.js) */
  --w-ease: cubic-bezier(.16, 1, .3, 1);
}
@media (max-width: 900px) { :root { --w-side: 20px; } }

.w-wrap { width: 100%; max-width: var(--w-max); margin: 0 auto; padding: 0 var(--w-side); box-sizing: border-box; }

/* =====================================================================
   APERTURA (solo inicio, una vez por sesión): el logo se arma pieza por
   pieza sobre azul profundo y la cortina sube revelando la portada.
   ===================================================================== */
.w-intro { display: none; }
.w-intro-on .w-intro {
  position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; align-content: center; gap: 26px;
  background: radial-gradient(70% 60% at 50% 40%, #1e4fb8 0%, #0f2a6b 45%, #070f26 100%);
  animation: wiLift 1s cubic-bezier(.76, 0, .24, 1) 2.15s forwards;
}
.w-intro-on body { overflow: hidden; }
.w-intro-on.wi-done body { overflow: auto; }
.wi-glow { position: absolute; width: 60vmin; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(125, 211, 252, 0.35), transparent); filter: blur(10px); animation: wiGlow 2.2s ease-out both; }
.wi-logo { position: relative; width: min(74vw, 560px); aspect-ratio: 963 / 378; animation: wiLogoOut .7s cubic-bezier(.76, 0, .24, 1) 1.95s forwards; }
.wi-l { position: absolute; inset: 0; width: 100%; height: 100%; }
/* Cada estrella cae con rebote, una tras otra */
.wi-s1 { clip-path: inset(0 91.4% 82% 0); }
.wi-s2 { clip-path: inset(0 82.6% 82% 8.6%); }
.wi-s3 { clip-path: inset(0 73.8% 82% 17.4%); }
.wi-s1, .wi-s2, .wi-s3 { opacity: 0; transform: translateY(-40%) scale(.4); transform-origin: 13% 9%; animation: wiStar .7s cubic-bezier(.34, 1.56, .64, 1) forwards; }
.wi-s1 { animation-delay: .25s; } .wi-s2 { animation-delay: .4s; transform-origin: 13% 9%; } .wi-s3 { animation-delay: .55s; }
/* La palabra WONDER se dibuja de izquierda a derecha */
.wi-word { clip-path: inset(17% 100% 36.5% 0); animation: wiWipe .85s cubic-bezier(.65, 0, .35, 1) .7s forwards; }
/* school y las líneas suben al final */
.wi-school { clip-path: inset(63.5% 0 0 0); opacity: 0; transform: translateY(14px); animation: wiUp .6s cubic-bezier(.16, 1, .3, 1) 1.3s forwards; }
.wi-tag { margin: 0; font-family: var(--heading); font-weight: 600; font-size: 0.8rem; letter-spacing: .28em; text-transform: uppercase; color: rgba(255, 255, 255, 0.7); opacity: 0; animation: wiUp .6s ease 1.1s forwards, wiFade .4s ease 1.95s forwards; }
@keyframes wiStar { to { opacity: 1; transform: none; } }
@keyframes wiWipe { to { clip-path: inset(17% 0 36.5% 0); } }
@keyframes wiUp { to { opacity: 1; transform: none; } }
@keyframes wiFade { to { opacity: 0; } }
@keyframes wiGlow { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }
@keyframes wiLogoOut { to { opacity: 0; transform: translateY(-30px) scale(.92); filter: blur(6px); } }
@keyframes wiLift { to { clip-path: inset(0 0 100% 0); visibility: hidden; } }
.w-intro-on .w-intro { clip-path: inset(0 0 0 0); }

/* ===== Barra de anuncio: un solo mensaje, clicable ===== */
.bx {
  position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; gap: 14px;
  padding: 11px 16px; text-decoration: none; color: #fff;
  background: linear-gradient(90deg, #1a6de8 0%, #2b8cff 50%, #1a6de8 100%);
}
.bx::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.28) 50%, transparent 70%);
  transform: translateX(-100%); animation: bxsheen 4.5s ease-in-out infinite;
}
@keyframes bxsheen { 0%, 55% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
.bx-tag { flex: none; padding: 4px 10px; border-radius: var(--w-pill); background: rgba(255, 255, 255, 0.16); border: 1px solid rgba(255, 255, 255, 0.4);
  font-family: var(--body); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.bx-txt { font-family: var(--body); font-size: 0.95rem; font-weight: 400; letter-spacing: 0.01em; color: rgba(255, 255, 255, 0.92); }
.bx-txt strong { font-weight: 600; color: #fff; }
.bx-cta { flex: none; font-family: var(--body); font-size: 0.88rem; font-weight: 600; letter-spacing: 0.01em; color: var(--w-blue);
  background: #fff; padding: 5px 14px; border-radius: var(--w-pill); }
.bx-cta span { display: inline-block; transition: transform .2s; }
.bx:hover .bx-cta span { transform: translateX(4px); }

/* ===== Menú sobre la misma retícula que la portada ===== */
.nav { background: rgba(255, 255, 255, 0.92); border-bottom: 1px solid rgba(13, 27, 62, 0.07); box-shadow: none; }
.nav .nav-inner { max-width: var(--w-max); padding-left: var(--w-side); padding-right: var(--w-side); box-sizing: border-box; }
.nav-portal { border-radius: var(--w-pill) !important; padding: 8px 18px !important; }
.nav .btn-green { border-radius: var(--w-pill); }

/* ===== Portada ===== */
.hero-x {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: max(720px, calc(100svh - 112px));
  background: var(--w-paper); color: var(--w-ink);
  display: flex; flex-direction: column;
}
.hx-glow {
  position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(55% 60% at 78% 55%, rgba(26, 109, 232, 0.12) 0%, rgba(26, 109, 232, 0) 70%),
    radial-gradient(40% 45% at 6% 0%, rgba(56, 189, 248, 0.10) 0%, rgba(56, 189, 248, 0) 70%),
    linear-gradient(180deg, var(--w-mist) 0%, #fff 60%);
}
.hx-glow::after {
  content: ''; position: absolute; inset: 0; opacity: 0.6;
  background-image: radial-gradient(rgba(26, 109, 232, 0.16) 1px, transparent 1.2px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(70% 60% at 70% 60%, #000 0%, transparent 75%);
  mask-image: radial-gradient(70% 60% at 70% 60%, #000 0%, transparent 75%);
}
.hx-grid { position: relative; z-index: 2; flex: 1; display: flex; align-items: center; }
.hx-copy { flex: none; width: 48%; padding: 64px 0 72px; container-type: inline-size; }

.hx-chip {
  display: inline-flex; align-items: center; gap: 12px; padding: 9px 18px 9px 14px; border-radius: var(--w-pill);
  background: #fff; border: 1px solid var(--w-line); box-shadow: var(--w-shadow-soft);
  font-size: 0.92rem; font-weight: 500; color: var(--w-ink-2);
}
.hx-chip .stars { color: #fbbf24; letter-spacing: 1px; font-size: 0.95rem; }

.hx-title {
  margin: 30px 0 28px; font-family: var(--heading); font-weight: 800; color: var(--w-ink);
  font-size: min(10.6cqi, 6.4rem); line-height: 0.95; letter-spacing: -0.05em;
}
/* Cada línea vive en una ventana: sube desde abajo sin recortar tildes ni descendentes */
.hx-line { display: block; white-space: nowrap; overflow: hidden; padding: 0.06em 0.08em 0.14em; margin: -0.06em -0.08em -0.14em; }
.hx-line > span { display: inline-block; }
.hx-title em { font-style: normal; position: relative; padding-right: 0.08em; margin-right: -0.08em; background: var(--w-grad-blue); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hx-title strong { font-weight: 800; padding-right: 0.08em; margin-right: -0.08em; background: var(--w-grad-win); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

.hx-kicker {
  margin: -8px 0 16px; font-family: var(--heading); font-weight: 600; color: var(--w-ink);
  font-size: min(4.15cqi, 2.1rem); line-height: 1.2; letter-spacing: -0.02em; white-space: nowrap;
}
/* Programas en etiquetas: niños en una franja, adultos en otra; la edad en pequeño */
.hx-tags { display: flex; flex-direction: column; gap: 10px; margin: 4px 0 28px; }
.hx-row { list-style: none; display: flex; flex-wrap: nowrap; gap: 10px; margin: 0; padding: 0; }
.hx-tag {
  display: inline-flex; align-items: baseline; gap: 9px; padding: 9px 16px 9px 12px; border-radius: var(--w-pill);
  background: #fff; border: 1px solid rgba(13, 27, 62, 0.1); box-shadow: 0 4px 14px -8px rgba(14, 50, 120, 0.35);
  text-decoration: none; color: var(--w-ink); transition: transform .25s var(--w-ease), border-color .25s, box-shadow .25s;
}
.hx-tag::before { content: ''; align-self: center; width: 8px; height: 8px; border-radius: 50%; flex: none; background: #38bdf8; box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.16); }
.hx-tag.is-adult::before { background: var(--w-blue); box-shadow: 0 0 0 4px rgba(26, 109, 232, 0.14); }
.hx-tag b { font-family: var(--heading); font-weight: 600; font-size: 0.98rem; line-height: 1.2; letter-spacing: -0.01em; }
.hx-tag small { font-size: 0.8rem; font-weight: 500; line-height: 1.2; color: var(--w-ink-3); }
.hx-tag:hover { transform: translateY(-2px); border-color: rgba(26, 109, 232, 0.35); box-shadow: 0 10px 22px -10px rgba(26, 109, 232, 0.45); }
/* Dato clave en fichas: dónde y cuándo, con icono en lugar de frase */
.hx-facts { display: flex; gap: 36px; }
.hx-fact { display: flex; align-items: center; gap: 14px; }
.hx-fact-ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; flex: none; color: #fff; background: var(--w-grad-blue); box-shadow: 0 8px 18px -8px rgba(26, 109, 232, 0.7); }
.hx-fact-ico svg { width: 22px; height: 22px; }
.hx-fact b { display: block; font-family: var(--heading); font-weight: 600; font-size: 1.08rem; line-height: 1.2; letter-spacing: -0.01em; color: var(--w-ink); white-space: nowrap; }
.hx-fact small { display: block; font-size: 0.86rem; color: var(--w-ink-3); }
.hx-trust {
  display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 40px; padding-top: 26px; max-width: 520px;
  border-top: 1px solid var(--w-line); font-size: 0.92rem; color: var(--w-ink-3);
}
.hx-trust span { display: inline-flex; align-items: center; gap: 9px; }
.hx-trust svg { width: 18px; height: 18px; color: var(--w-blue); flex: none; }

/* Escena: ENGLISH gigante + órbitas de nivel + plataforma + grupo */
.hx-scene {
  position: absolute; z-index: 1; top: 50%; transform: translateY(-50%);
  right: max(16px, calc((100vw - var(--w-max)) / 2 + 16px));
  width: min(52vw, 820px, 110svh); aspect-ratio: 1 / 0.92; container-type: inline-size;
}
.sc-halo { position: absolute; left: 14%; right: 14%; top: 2%; aspect-ratio: 1; border-radius: 50%; filter: blur(12px);
  background: radial-gradient(circle, rgba(26, 109, 232, 0.16) 0%, rgba(26, 109, 232, 0.05) 50%, rgba(26, 109, 232, 0) 70%); }
/* La palabra va detrás: las cabezas del grupo se le montan encima */
.sc-word {
  position: absolute; z-index: 0; left: 50%; top: 13%; transform: translateX(-50%); white-space: nowrap;
  font-family: var(--heading); font-weight: 800; font-size: 21cqi; line-height: 1; letter-spacing: -0.06em;
  background: linear-gradient(180deg, rgba(26, 109, 232, 0.9) 0%, rgba(26, 109, 232, 0.12) 85%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
/* Órbitas finas centradas en el grupo; los niveles viven sobre ellas */
.sc-orbits { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.sc-orbits i { position: absolute; left: 50%; top: 46%; aspect-ratio: 1; border-radius: 50%; translate: -50% -50%; border: 1.5px solid rgba(26, 109, 232, 0.18); }
.sc-orbits .o1 { width: 46%; background: radial-gradient(closest-side, rgba(26, 109, 232, 0.12), rgba(26, 109, 232, 0)); }
.sc-orbits .o2 { width: 68%; }
.sc-orbits .o3 { width: 90%; border-style: dashed; border-color: rgba(26, 109, 232, 0.16); }
.sc-lvl {
  position: absolute; z-index: 4; left: var(--x); top: var(--y); translate: -50% -50%;
  padding: 6px 13px; border-radius: var(--w-pill); font-family: var(--heading); font-weight: 600; font-size: 0.92rem; letter-spacing: 0.01em;
  background: #fff; color: var(--w-blue); border: 1px solid rgba(26, 109, 232, 0.22); box-shadow: 0 8px 20px -10px rgba(26, 109, 232, 0.6);
}
.sc-lvl.is-goal { color: #fff; border-color: transparent; background: var(--w-grad-blue); box-shadow: 0 10px 24px -8px rgba(26, 109, 232, 0.75); }

/* Plataforma: cara superior iluminada, anillos de escenario, canto y sombra */
.sc-floor { position: absolute; z-index: 2; left: 7%; right: 5%; bottom: 2%; height: 17%; }
.sc-floor::before { content: ''; position: absolute; left: 0; right: 0; top: 16%; bottom: 0; border-radius: 50%;
  background: linear-gradient(180deg, #0f2f78 0%, #081a45 55%, #050f2c 100%);
  box-shadow: 0 30px 50px -22px rgba(14, 50, 120, 0.55), 0 0 80px -20px rgba(26, 109, 232, 0.35); }
.sc-floor::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 84%; border-radius: 50%;
  background:
    repeating-radial-gradient(ellipse at 50% 50%, rgba(255, 255, 255, 0) 0 15px, rgba(191, 219, 254, 0.16) 15px 16px),
    radial-gradient(ellipse at 50% 42%, rgba(191, 219, 254, 0.6) 0%, rgba(59, 130, 246, 0.55) 30%, #1450b8 62%, #0e3a8f 100%);
  box-shadow: inset 0 2px 1px rgba(255, 255, 255, 0.55), inset 0 -10px 22px rgba(3, 10, 35, 0.45), 0 0 0 1px rgba(147, 197, 253, 0.35); }
.sc-floor-shadow { position: absolute; z-index: 1; left: 14%; right: 12%; top: 22%; height: 42%; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(3, 8, 28, 0.6) 0%, rgba(3, 8, 28, 0) 70%); }
.sc-hero { position: absolute; z-index: 3; left: 2%; bottom: 11.5%; width: 96%; height: auto; filter: drop-shadow(0 24px 30px rgba(0, 0, 0, 0.45)); }

/* Tarjetas flotantes: gráficas, casi sin texto */

/* ===== Entrada de la portada =====
   Solo se oculta con JS activo (html.js) y sin movimiento reducido. El texto sube
   desde su ventana; la escena llega en orden: planeta → plataforma → grupo → tarjetas. */
@media (prefers-reduced-motion: no-preference) {
  .js .hero-x:not(.hx-go) .hx-line > span { transform: translateY(110%); }
  .js .hx-line > span { transition: transform 1.1s var(--w-ease); transition-delay: calc(var(--d, 0) * 1ms); }
  .js .hero-x:not(.hx-go) .hx-in { opacity: 0; transform: translateY(18px); filter: blur(8px); }
  .js .hx-in { transition: opacity .8s var(--w-ease), transform 1s var(--w-ease), filter 1s var(--w-ease); transition-delay: calc(var(--d, 0) * 1ms); }

  .js .hero-x:not(.hx-go) .sc-orbits, .js .hero-x:not(.hx-go) .sc-halo { opacity: 0; transform: scale(.85); }
  .js .sc-orbits, .js .sc-halo { transition: opacity 1.2s ease, transform 1.6s var(--w-ease); }
  .js .hero-x:not(.hx-go) .sc-word { opacity: 0; transform: translate(-50%, 30px); }
  .js .sc-word { transition: opacity 1s ease .25s, transform 1.3s var(--w-ease) .25s; }
  .js .hero-x:not(.hx-go) .sc-floor { opacity: 0; transform: scaleX(.4); }
  .js .sc-floor { transition: opacity .8s ease .2s, transform 1.1s var(--w-ease) .2s; }
  .js .hero-x:not(.hx-go) .sc-hero { opacity: 0; transform: translateY(50px) scale(.97); }
  .js .sc-hero { transform-origin: 50% 100%; transition: opacity .9s ease .45s, transform 1.2s var(--w-ease) .45s; }
  .js .hero-x:not(.hx-go) .sc-lvl { opacity: 0; transform: scale(.6); }
  .js .sc-lvl { transition: opacity .5s ease, transform .7s var(--w-ease); transition-delay: calc(var(--d, 0) * 1ms); }
}
@media (prefers-reduced-motion: no-preference) {
  .bx::after { animation: bxsheen 4.5s ease-in-out infinite; }
}
@media (prefers-reduced-motion: reduce) { .bx::after { animation: none; } }

/* ===== Franja de cifras: lo siguiente a la portada vuelve al blanco ===== */
.proof-strip { background: #fff !important; padding: 40px 0 !important; border-top: 1px solid rgba(13, 27, 62, 0.06); }

/* ===== Tableta y celular ===== */
@media (max-width: 900px) {
  .hero-x { min-height: 0; }
  .hx-copy { width: 100%; padding: 36px 0 0; }
  .hx-title { font-size: min(12.2cqi, 3.6rem); }
  .hx-kicker { font-size: min(5.4cqi, 1.35rem); white-space: normal; text-wrap: balance; }
  .hx-trust { margin-top: 28px; }
  .hx-scene { position: relative; top: auto; right: auto; transform: none; width: 100%; margin: 24px auto 0; }
}
@media (max-width: 640px) {
  .bx { gap: 8px; padding: 8px 12px; }
  .bx-hide, .bx-long { display: none; }
  .bx-txt { font-size: 0.85rem; }
  .bx-tag { font-size: 0.6rem; padding: 3px 8px; }
  .bx-cta { font-size: 0.78rem; padding: 4px 10px; }
}
/* Celular: pensado para iPhone (375 a 430). Las pastillas escalan con el ancho
   para que las tres de niños llenen su franja sin quedar diminutas. */
@media (max-width: 600px) {
  .hx-copy { padding-top: 24px; }
  .hx-chip { font-size: 0.88rem; padding: 7px 14px 7px 12px; }
  .hx-title { margin: 18px 0 14px; font-size: min(12.6cqi, 3.2rem); }
  .hx-kicker { font-size: 1.2rem; margin: 0 0 20px; }
  .hx-trust { display: none; }
  .hx-tags { gap: 2.2vw; margin: 0 -20px 26px; }
  .hx-row { gap: 1.4vw; padding: 2px 12px 6px 20px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .hx-row::-webkit-scrollbar { display: none; }
  .hx-row li { flex: none; }
  .hx-tag { gap: 1vw; padding: min(2.3vw, 10px) min(2.5vw, 12px); white-space: nowrap; }
  .hx-tag::before { display: none; }
  .hx-tag b { font-size: min(3.25vw, 1rem); letter-spacing: -0.015em; }
  .hx-tag small { font-size: min(2.7vw, 0.84rem); letter-spacing: -0.01em; }
  .hx-facts { flex-wrap: nowrap; gap: 22px; }
  .hx-fact { gap: 11px; }
  .hx-fact-ico { width: 44px; height: 44px; border-radius: 13px; }
  .hx-fact-ico svg { width: 21px; height: 21px; }
  .hx-fact b { font-size: 1rem; }
  .hx-fact small { font-size: 0.84rem; }
  .hx-scene { margin-top: 8px; aspect-ratio: 1 / 0.86; }
  .sc-lvl { padding: 5px 12px; font-size: 0.86rem; }
}

/* =====================================================================
   SECCIONES DEL INICIO
   Mismo idioma de la portada: tipografía gigante, órbitas, pastillas,
   pocos contenedores. Un bloque azul profundo (el viaje) y uno azul Wonder
   (el test) dan el ritmo; todo lo demás es blanco.
   ===================================================================== */
.w-sec { position: relative; padding: clamp(80px, 10vw, 140px) 0; background: #fff; overflow: hidden; }
.w-head { position: relative; z-index: 1; margin-bottom: clamp(36px, 5vw, 64px); }
.w-eyebrow { margin: 0 0 14px; font-family: var(--heading); font-weight: 600; font-size: 0.86rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--w-blue); }
.w-eyebrow.is-light { color: #93c5fd; }
.w-h2 {
  margin: 0; font-family: var(--heading); font-weight: 800; color: var(--w-ink);
  font-size: clamp(2.3rem, 5.2vw, 4.6rem); line-height: 1.02; letter-spacing: -0.035em; text-wrap: balance;
}
.w-h2 em { font-style: normal; padding-right: 0.06em; margin-right: -0.06em; background: var(--w-grad-blue); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.w-h2.is-light { color: #fff; }
.w-h2.is-light em { display: inline-block; margin: .06em 0; padding: .02em .26em .08em; border-radius: .22em; background: #fff; -webkit-background-clip: border-box; background-clip: border-box; -webkit-text-fill-color: var(--w-blue); color: var(--w-blue); transform: rotate(-1.5deg); box-shadow: 0 18px 40px -18px rgba(10, 24, 56, 0.6); }
/* Palabra fantasma de fondo, eco del ENGLISH de la portada */
.w-ghost {
  position: absolute; z-index: 0; top: clamp(30px, 4vw, 60px); right: -0.04em; pointer-events: none; white-space: nowrap;
  font-family: var(--heading); font-weight: 800; font-size: clamp(6rem, 19vw, 18rem); line-height: 1; letter-spacing: -0.06em;
  background: linear-gradient(180deg, rgba(26, 109, 232, 0.10), rgba(26, 109, 232, 0)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.w-ghost.is-light { background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0)); -webkit-background-clip: text; background-clip: text; }
.w-stars { font-style: normal; color: #f5b301; letter-spacing: 0.08em; }

/* Botones */
.w-btn, .w-btn-wa {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px; border-radius: var(--w-pill);
  font-family: var(--heading); font-weight: 600; font-size: 1rem; text-decoration: none; border: 0; cursor: pointer;
  transition: transform .3s var(--w-ease), box-shadow .3s var(--w-ease);
}
.w-btn { color: #fff; background: var(--w-grad-tile); box-shadow: 0 12px 30px -12px rgba(26, 109, 232, 0.8); }
.w-btn.is-light { color: var(--w-blue-deep); background: #fff; box-shadow: 0 12px 30px -12px rgba(0, 0, 0, 0.35); }
.w-btn-wa { color: #fff; background: #16a34a; box-shadow: 0 12px 30px -12px rgba(22, 163, 74, 0.8); }
.w-btn-wa svg { width: 20px; height: 20px; }
.w-btn:hover, .w-btn-wa:hover { transform: translateY(-2px); }
.w-btn-xl { min-height: 60px; padding: 0 36px; font-size: 1.08rem; }
.w-link { font-family: var(--heading); font-weight: 600; color: var(--w-blue); text-decoration: none; border-bottom: 2px solid rgba(26, 109, 232, 0.25); padding-bottom: 2px; transition: border-color .3s; }
.w-link:hover { border-color: var(--w-blue); }

/* Iconos de línea en CSS (máscaras), para no repetir SVG en cada dato */
[class^="ic-"] { display: inline-block; flex: none; width: 20px; height: 20px; background: var(--w-blue); -webkit-mask: var(--ic) center / contain no-repeat; mask: var(--ic) center / contain no-repeat; }
.ic-clock { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E"); }
.ic-cap { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 10 12 5 2 10l10 5 10-5z'/%3E%3Cpath d='M6 12v5c3 2 9 2 12 0v-5'/%3E%3C/svg%3E"); }
.ic-lvl { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M5 20v-5M12 20V10M19 20V4'/%3E%3C/svg%3E"); }
.ic-flag { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3c3 3 3 15 0 18M12 3c-3 3-3 15 0 18'/%3E%3C/svg%3E"); }
.ic-skill { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z'/%3E%3C/svg%3E"); }
.ic-pc { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'%3E%3Crect x='3' y='4' width='18' height='12' rx='2'/%3E%3Cpath d='M8 20h8M12 16v4'/%3E%3C/svg%3E"); }
.ic-open { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M19 8v6M22 11h-6'/%3E%3C/svg%3E"); }

/* ===== 2 · Prueba social: fotos reales apenas termina la portada =====
   Negocio local: la credibilidad entra por los ojos. Cada foto lleva su cifra. */
.w-proof { background: #fff; padding: 0 0 clamp(20px, 3vw, 40px); }
.proof-rail {
  display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 12px; max-width: var(--w-max); margin: 0 auto; padding: 0 var(--w-side); box-sizing: border-box;
  height: clamp(340px, 34vw, 500px);
}
.proof-tile { position: relative; margin: 0; overflow: hidden; border-radius: var(--w-r-lg); background: var(--w-ink); }
.proof-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--w-ease); }
.proof-tile:hover img { transform: scale(1.05); }
.proof-tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(26, 109, 232, 0) 38%, rgba(26, 109, 232, 0.55) 68%, rgba(30, 58, 138, 0.96) 100%); }
/* Marco interior fino y brillo de marca, como las tarjetas de la portada */
.proof-tile::before { content: ''; position: absolute; z-index: 2; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25); pointer-events: none; }
.proof-tile { box-shadow: 0 30px 60px -30px rgba(26, 109, 232, 0.65); }
.proof-chip {
  position: absolute; z-index: 2; left: 16px; top: 16px; display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: var(--w-pill);
  font-family: var(--heading); font-weight: 600; font-size: 0.8rem; color: var(--w-ink); background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: 0 8px 20px -10px rgba(13, 27, 62, 0.5);
}
.proof-chip svg { width: 15px; height: 15px; }
/* Ritmo: las tarjetas pares bajan un poco, como la composición de la portada */
@media (min-width: 901px) {
  .proof-rail { height: auto; align-items: start; }
  .proof-tile { height: clamp(340px, 32vw, 470px); }
  .proof-tile:nth-child(even) { margin-top: 44px; }
}
.proof-tile figcaption { position: absolute; z-index: 1; left: clamp(18px, 2vw, 28px); right: 16px; bottom: clamp(18px, 2vw, 26px); display: flex; flex-direction: column; gap: 6px; color: #fff; }
.proof-tile .w-num { font-family: var(--heading); font-weight: 800; font-size: clamp(2.4rem, 4vw, 4rem); line-height: 1; letter-spacing: -0.045em; color: #fff; font-variant-numeric: tabular-nums; text-shadow: 0 6px 24px rgba(10, 24, 56, 0.45); }
.proof-tile figcaption span { font-size: 0.98rem; line-height: 1.3; color: rgba(255, 255, 255, 0.86); }
.proof-tile .w-stars { margin-right: 4px; }

/* ===== 3 · Recomendador ===== */
.w-reco { background: linear-gradient(180deg, #fff 0%, var(--w-mist) 100%); }
.reco-wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 0.85fr 2fr; gap: clamp(28px, 4vw, 64px); align-items: stretch; }
.reco-photo { position: relative; margin: 0; min-height: 460px; border-radius: var(--w-r-lg); overflow: hidden; }
.reco-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reco-photo figcaption {
  position: absolute; left: 16px; right: 16px; bottom: 16px; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: var(--w-r-md);
  font-family: var(--heading); font-weight: 600; font-size: 0.95rem; color: var(--w-ink); background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.reco { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 4vw, 60px); align-items: start; align-self: center; }
.reco-steps { display: flex; flex-direction: column; gap: 34px; }
.reco-step[hidden] { display: none; }
.reco-q { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; font-family: var(--heading); font-weight: 600; font-size: 1.25rem; color: var(--w-ink); }
.reco-q i { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; font-style: normal; font-size: 0.9rem; color: #fff; background: var(--w-grad-tile); }
.reco-opts { display: flex; flex-wrap: wrap; gap: 10px; }
.reco-opt {
  min-height: 52px; padding: 0 24px; border-radius: var(--w-pill); cursor: pointer;
  font-family: var(--heading); font-weight: 600; font-size: 1.05rem; color: var(--w-ink);
  background: #fff; border: 1.5px solid rgba(13, 27, 62, 0.12); box-shadow: 0 6px 16px -10px rgba(14, 50, 120, 0.35);
  transition: transform .3s var(--w-ease), border-color .3s, background .3s, color .3s;
}
.reco-opt:hover { transform: translateY(-2px); border-color: rgba(26, 109, 232, 0.45); }
.reco-opt[aria-checked="true"] { color: #fff; border-color: transparent; background: var(--w-grad-tile); box-shadow: 0 12px 26px -12px rgba(26, 109, 232, 0.9); }
.reco-out { min-height: 300px; padding-left: clamp(0px, 3vw, 48px); border-left: 1px solid var(--w-line); }
.reco-empty { display: flex; align-items: center; gap: 14px; max-width: 30ch; font-size: 1.1rem; color: var(--w-ink-3); line-height: 1.45; padding-top: 8px; }
.reco-empty-ico { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 50%; color: var(--w-blue); background: rgba(26, 109, 232, 0.1); }
.reco-empty-ico svg { width: 20px; height: 20px; }
.reco-res[hidden], .reco-empty[hidden] { display: none; }
.reco-res { animation: recoIn .7s var(--w-ease); }
@keyframes recoIn { from { opacity: 0; transform: translateY(14px); } }
.reco-tag { margin: 0 0 6px; font-family: var(--heading); font-weight: 600; font-size: 0.86rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--w-blue); }
.reco-name { margin: 0 0 18px; font-family: var(--heading); font-weight: 800; font-size: clamp(2rem, 3.6vw, 3rem); letter-spacing: -0.035em; color: var(--w-ink); line-height: 1; }
.reco-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; margin-bottom: 22px; }
.reco-amount { font-family: var(--heading); font-weight: 800; font-size: clamp(3rem, 5.6vw, 4.8rem); letter-spacing: -0.05em; line-height: 1; background: var(--w-grad-blue); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
.reco-meta { font-size: 1.05rem; color: var(--w-ink-3); }
.reco-facts { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 12px; }
.reco-facts li { display: flex; align-items: center; gap: 12px; font-size: 1.05rem; color: var(--w-ink-2); }
.reco-facts li::before { content: ''; width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--w-blue); box-shadow: 0 0 0 4px rgba(26, 109, 232, 0.14); }
.reco-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 26px; }

/* ===== 4 · El viaje A1 → B2: único pin. Sin JS o en celular es una lista. ===== */
.w-trip { position: relative; overflow-x: clip; background: radial-gradient(120% 80% at 80% 0%, #1e4fb8 0%, #0f2a6b 45%, #0a1838 100%); color: #fff; }
.trip-stick { padding: clamp(80px, 10vw, 140px) 0; }
.trip-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
/* Lado izquierdo: dial de nivel que se llena + duración en barras */
.trip-meta { display: flex; align-items: center; gap: clamp(24px, 3vw, 44px); margin-top: clamp(30px, 4vw, 52px); }
.trip-dial { position: relative; flex: none; width: clamp(200px, 17vw, 250px); aspect-ratio: 1; display: grid; place-items: center; align-content: center; }
.trip-dial svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.dial-arc { stroke-dasharray: 100; stroke-dashoffset: calc(100 * (1 - var(--p, 1))); filter: drop-shadow(0 0 8px rgba(125, 211, 252, 0.6)); transition: stroke-dashoffset 1s var(--w-ease); }
.dial-lbl text { fill: rgba(255, 255, 255, 0.35); transition: fill .4s; }
.dial-lbl text.is-on { fill: #fff; }
.trip-level-now { position: relative; font-family: var(--heading); font-weight: 800; font-size: clamp(3.8rem, 6vw, 5.4rem); line-height: .9; letter-spacing: -0.05em; background: linear-gradient(180deg, #fff 35%, #93c5fd); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .04em; }
.trip-dial small { position: relative; margin-top: 6px; font-family: var(--heading); font-weight: 600; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: #93c5fd; }
.trip-facts { display: flex; flex-direction: column; gap: 22px; min-width: 0; flex: 1; }
.trip-dur { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.trip-dur li { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; align-items: baseline; }
.trip-dur span { font-family: var(--heading); font-weight: 600; font-size: 1rem; color: #fff; }
.trip-dur b { font-family: var(--heading); font-weight: 800; font-size: 1.3rem; letter-spacing: -0.02em; color: #fff; }
.trip-dur i { grid-column: 1 / -1; position: relative; height: 8px; border-radius: 8px; background: rgba(255, 255, 255, 0.1); overflow: hidden; }
.trip-dur i::after { content: ''; position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: 8px; background: linear-gradient(90deg, #3b8cff, #7dd3fc); }
.trip-badge { display: inline-flex; align-items: center; gap: 10px; margin: 0; align-self: flex-start; padding: 10px 16px 10px 12px; border-radius: var(--w-pill); font-family: var(--heading); font-weight: 600; font-size: 0.95rem; color: var(--w-blue-deep); background: #fff; }
.trip-badge svg { width: 20px; height: 20px; color: var(--w-blue); }
.trip-map { position: relative; }
.trip-orbits { position: absolute; inset: -12% -8%; pointer-events: none; }
.trip-orbits i { position: absolute; left: 50%; top: 50%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; border: 1px solid rgba(147, 197, 253, 0.16); }
.trip-orbits i:nth-child(1) { width: 40%; } .trip-orbits i:nth-child(2) { width: 62%; } .trip-orbits i:nth-child(3) { width: 84%; } .trip-orbits i:nth-child(4) { width: 106%; border-style: dashed; }

/* Cada etapa: un gráfico propio en un panel de vidrio + nombre y una línea */
.trip-stages { position: relative; list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; }
.trip-stage { display: grid; gap: 22px; }
.ts-art {
  position: relative; padding: clamp(18px, 2.4vw, 32px); border-radius: var(--w-r-lg); overflow: hidden;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04)); border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 40px 80px -40px rgba(0, 0, 0, 0.6);
}
.ts-art svg { display: block; width: 100%; height: auto; overflow: visible; }
.ts-photo { position: absolute; right: 18px; top: 18px; width: 30%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 4px solid #fff; box-shadow: 0 16px 30px -10px rgba(0, 0, 0, 0.5); }
.ts-txt { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; align-items: baseline; }
.ts-txt b { grid-row: span 2; font-family: var(--heading); font-weight: 800; font-size: 1rem; letter-spacing: 0.06em; color: #93c5fd; }
.ts-txt h3 { min-width: 0; overflow-wrap: anywhere; margin: 0; font-family: var(--heading); font-weight: 800; font-size: clamp(1.4rem, 2.2vw, 2rem); letter-spacing: -0.03em; line-height: 1.1; color: #fff; }
.ts-txt p { margin: 6px 0 0; font-size: 1.05rem; line-height: 1.45; color: rgba(255, 255, 255, 0.72); }

/* Barra de etapas (solo con el pin) */
.trip-steps { display: none; }

/* Movimiento de cada gráfico: arranca cuando su etapa queda activa */
@media (prefers-reduced-motion: no-preference) {
  .trip-stage .g-pop { opacity: 0; transform: translateY(14px) scale(.94); transform-box: fill-box; transform-origin: center; transition: opacity .5s ease, transform .7s var(--w-ease); transition-delay: calc(var(--k, 0) * 220ms + 150ms); }
  .trip-stage .g-bar { transform: scaleY(0); transform-box: fill-box; transform-origin: bottom; transition: transform .9s var(--w-ease); transition-delay: calc(var(--k, 0) * 120ms + 150ms); }
  .trip-stage .g-radar { transform: scale(.2); opacity: 0; transform-box: fill-box; transform-origin: center; transition: transform 1.1s var(--w-ease) .15s, opacity .6s ease .15s; }
  .trip-stage .g-hl { transform: scaleX(0); transform-box: fill-box; transform-origin: left; transition: transform .8s var(--w-ease) .2s; }
  .trip-stage .g-checks > g { opacity: 0; transform: translateX(-10px); transition: opacity .4s ease, transform .6s var(--w-ease); transition-delay: calc(var(--k, 0) * 260ms + 200ms); }
  .trip-stage.is-cur .g-pop, .trip-stage.is-cur .g-checks > g { opacity: 1; transform: none; }
  .trip-stage.is-cur .g-bar, .trip-stage.is-cur .g-hl { transform: none; }
  .trip-stage.is-cur .g-radar { transform: none; opacity: 1; }
  .trip-stage.is-cur .g-dot { animation: tsDot 1.2s ease-in-out infinite; animation-delay: calc(var(--k, 0) * 160ms); transform-box: fill-box; transform-origin: center; }
}
@keyframes tsDot { 0%, 60%, 100% { transform: none; opacity: .5; } 30% { transform: translateY(-6px); opacity: 1; } }

/* Con JS en escritorio: la sección mide 3 pantallas y el contenido se queda fijo */
.trip-pin.w-trip { height: 320vh; }
.trip-pin .trip-stick { position: sticky; top: 0; min-height: 100vh; display: flex; align-items: center; box-sizing: border-box; }
.trip-pin .trip-stages { display: block; height: min(64vh, 560px); }
.trip-pin .trip-stage { position: absolute; inset: 0; align-content: start; opacity: 0; visibility: hidden; transform: translateY(30px); transition: opacity .5s ease, transform .8s var(--w-ease), visibility 0s linear .5s; }
.trip-pin .trip-stage.is-cur { opacity: 1; visibility: visible; transform: none; transition: opacity .5s ease .1s, transform .8s var(--w-ease) .1s, visibility 0s; }
.trip-pin .ts-art { height: min(46vh, 400px); display: grid; place-items: center; }
.trip-pin .ts-art svg { width: auto; height: 100%; max-width: 100%; }
.trip-pin .trip-steps { display: flex; gap: 8px; margin-top: 26px; }
.trip-steps span { flex: 1; display: flex; flex-direction: column; gap: 8px; font-family: var(--heading); font-weight: 600; font-size: 0.8rem; color: rgba(255, 255, 255, 0.45); transition: color .4s; }
.trip-steps span::before { content: ''; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, 0.14); transition: background .4s; }
.trip-steps span::after { content: attr(data-lvl); }
.trip-steps span.is-on { color: #fff; }
.trip-steps span.is-on::before { background: linear-gradient(90deg, #7dd3fc, #fff); box-shadow: 0 0 12px rgba(125, 211, 252, 0.7); }

/* ===== 5 · Programas para adultos ===== */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column; gap: 22px; padding: clamp(28px, 3vw, 40px); border-radius: var(--w-r-lg);
  background: var(--w-mist); border: 1px solid rgba(26, 109, 232, 0.08);
}
.plan.is-hot { color: #fff; background: radial-gradient(120% 90% at 100% 0%, #3b8cff 0%, #1a6de8 40%, #1e3a8a 100%); border: 0; box-shadow: 0 30px 60px -28px rgba(26, 109, 232, 0.9); }
.plan-top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; min-height: 44px; }
.plan-name { margin: 0; font-family: var(--heading); font-weight: 800; font-size: 1.7rem; letter-spacing: -0.03em; color: inherit; }
.plan:not(.is-hot) .plan-name { color: var(--w-ink); }
.plan-badge { padding: 7px 13px; border-radius: var(--w-pill); font-family: var(--heading); font-weight: 600; font-size: 0.8rem; color: var(--w-blue-deep); background: #fff; }
.plan-chip { padding: 7px 13px; border-radius: var(--w-pill); font-family: var(--heading); font-weight: 600; font-size: 0.8rem; color: var(--w-blue); background: #fff; }
.plan-switch { display: inline-flex; padding: 4px; border-radius: var(--w-pill); background: #fff; box-shadow: inset 0 0 0 1px rgba(13, 27, 62, 0.08); }
.plan-switch button { min-height: 36px; padding: 0 14px; border: 0; border-radius: var(--w-pill); cursor: pointer; font-family: var(--heading); font-weight: 600; font-size: 0.86rem; color: var(--w-ink-3); background: transparent; transition: background .3s, color .3s; }
.plan-switch button[aria-selected="true"] { color: #fff; background: var(--w-grad-tile); }
.plan-price { display: flex; flex-direction: column; gap: 6px; }
.plan-price[hidden], .plan-facts li[hidden] { display: none; }
.plan-price small { font-size: 0.9rem; opacity: .75; }
.plan-price b { font-family: var(--heading); font-weight: 800; font-size: clamp(2.8rem, 4.4vw, 4rem); line-height: 1; letter-spacing: -0.05em; }
.plan:not(.is-hot) .plan-price b { color: var(--w-ink); }
.plan-price span { font-size: 1rem; opacity: .75; }
.plan-facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; flex: 1; }
.plan-facts li { display: flex; align-items: center; gap: 12px; font-size: 1.02rem; }
.plan:not(.is-hot) .plan-facts li { color: var(--w-ink-2); }
.plan.is-hot [class^="ic-"] { background: #bfdbfe; }
.plan-cta { width: 100%; }
.plans-foot { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 36px; margin-top: 32px; font-size: 1rem; color: var(--w-ink-3); }
.plans-foot b { font-family: var(--heading); color: var(--w-ink); }

/* ===== 6 · Kids ===== */
.w-kids { background: linear-gradient(180deg, var(--w-mist) 0%, #fff 100%); }
.ages { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 3vw, 48px); }
.age { padding-top: 22px; border-top: 2px solid var(--w-ink); white-space: nowrap; }
.age p { white-space: normal; }
.age-num { display: inline-block; font-family: var(--heading); font-weight: 800; font-size: clamp(3.6rem, 6.6vw, 7rem); line-height: .95; letter-spacing: -0.06em; background: var(--w-grad-blue); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
.age-num i { font-style: normal; font-weight: 300; margin: 0 0.04em; }
.age-unit { margin-left: 8px; font-family: var(--heading); font-weight: 600; font-size: 1.15rem; color: var(--w-ink-3); }
.age h3 { margin: 14px 0 6px; font-family: var(--heading); font-weight: 800; font-size: 1.6rem; letter-spacing: -0.03em; color: var(--w-ink); }
.age p { margin: 0; font-size: 1rem; color: var(--w-ink-3); }
.kids-band {
  display: flex; align-items: center; flex-wrap: wrap; gap: 20px 40px; margin-top: clamp(40px, 5vw, 64px); padding: 28px 32px; border-radius: var(--w-r-lg);
  background: #fff; box-shadow: var(--w-shadow-card);
}
.kb-main b { display: block; font-family: var(--heading); font-weight: 800; font-size: clamp(2.4rem, 4vw, 3.4rem); letter-spacing: -0.05em; line-height: 1; color: var(--w-ink); }
.kb-main span { font-size: 0.98rem; color: var(--w-ink-3); }
.kb-side { display: flex; flex-direction: column; gap: 6px; flex: 1; min-width: 220px; font-size: 1rem; color: var(--w-ink-3); }
.kb-side b { font-family: var(--heading); color: var(--w-ink); }
.kb-hot { font-family: var(--heading); font-weight: 600; color: var(--w-blue); }

/* Personajes en Kids: la niña salta junto a las edades; el niño se asoma por la franja de precio */
.w-kids .w-wrap { position: relative; }
.kids-nina { position: absolute; z-index: 2; right: var(--w-side); top: -30px; width: clamp(220px, 22vw, 320px); height: auto; pointer-events: none; filter: drop-shadow(0 30px 30px rgba(13, 27, 62, 0.22)); }
.w-kids .ages { padding-right: clamp(220px, 24vw, 340px); }
.w-kids .kids-band { position: relative; margin-top: 210px; }
.kb-peek { position: absolute; left: 44%; bottom: calc(100% - 24px); width: 170px; height: 241px; overflow: hidden; pointer-events: none; }
.kb-peek img { position: absolute; left: 0; bottom: 0; width: 100%; height: auto; }
.js .kb-peek[data-in]:not(.is-in) { opacity: 1; filter: none; transform: none; }
@media (prefers-reduced-motion: no-preference) {
  .js .kb-peek:not(.is-in) img { transform: translateY(100%); }
  .js .kb-peek img { transition: transform 1s var(--w-ease) .3s; }
}

/* ===== 7 · Test de nivel: qué es, cuánto toma y qué te llevas, en tres pasos ===== */
.w-test { position: relative; overflow: hidden; padding: clamp(90px, 10vw, 150px) 0; color: #fff; background: radial-gradient(90% 120% at 30% 0%, #3b8cff 0%, #1a6de8 45%, #1e3a8a 100%); }
.w-test .w-ghost { top: 50%; left: 50%; right: auto; translate: -50% -50%; font-size: clamp(8rem, 30vw, 28rem); }
.w-test-in { position: relative; z-index: 1; }
.test-copy { max-width: 640px; display: flex; flex-direction: column; align-items: flex-start; gap: 26px; }
.test-pill { padding: 8px 16px; border-radius: var(--w-pill); font-family: var(--heading); font-weight: 600; font-size: 0.9rem; color: var(--w-blue-deep); background: #fff; }
.w-test .w-h2 { font-size: clamp(2.4rem, 4.8vw, 4.2rem); line-height: 1.08; }
/* El dato clave va resaltado en una cinta blanca con el texto en azul de marca */
.w-test .w-h2 em { display: inline-block; margin-top: .12em; padding: .02em .28em .08em; border-radius: .22em; background: #fff; -webkit-background-clip: border-box; background-clip: border-box; -webkit-text-fill-color: var(--w-blue); color: var(--w-blue); transform: rotate(-1.5deg); box-shadow: 0 18px 40px -18px rgba(10, 24, 56, 0.6); }
.test-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; width: 100%; }
.test-steps li { display: flex; align-items: center; gap: 16px; padding: 14px 18px; border-radius: var(--w-r-md); background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.18); }
.test-steps b { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 50%; font-family: var(--heading); font-weight: 800; color: var(--w-blue-deep); background: #fff; }
.test-steps li > span { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; font-size: 1rem; color: rgba(255, 255, 255, 0.82); }
.test-steps strong { font-family: var(--heading); font-weight: 600; font-size: 1.12rem; color: #fff; }
.test-lvls { display: inline-flex; gap: 6px; }
.test-lvls i { padding: 3px 10px; border-radius: var(--w-pill); font-style: normal; font-family: var(--heading); font-weight: 600; font-size: 0.85rem; background: rgba(255, 255, 255, 0.16); border: 1px solid rgba(255, 255, 255, 0.3); }
.test-lvls i.is-goal { color: var(--w-blue-deep); background: #fff; }
.test-cta { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 22px; }
.test-note { font-size: 0.95rem; color: rgba(255, 255, 255, 0.8); }

/* Kids: el cierre va en celeste vivo, más infantil sin dejar la marca */
.w-test.is-kids { background: radial-gradient(90% 120% at 30% 0%, #7dd3fc 0%, #38bdf8 35%, #1a6de8 100%); }
.w-test.is-kids .test-teen { width: clamp(220px, 21vw, 300px); }

/* La teen camina hacia afuera del bloque azul, con el celular en la mano */
.test-teen { position: absolute; z-index: 2; right: calc(var(--w-side) + 4vw); bottom: calc(-1 * clamp(90px, 10vw, 150px)); width: clamp(260px, 26vw, 380px); height: auto; pointer-events: none; filter: drop-shadow(0 30px 40px rgba(10, 24, 56, 0.45)); }

/* ===== 8 · Certificación ===== */
.cert-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.cert-lvls { display: flex; flex-wrap: wrap; gap: 10px; margin: 30px 0 28px; }
.cert-lvls span { min-width: 72px; padding: 12px 18px; border-radius: var(--w-pill); text-align: center; font-family: var(--heading); font-weight: 800; font-size: 1.35rem; letter-spacing: -0.02em; color: var(--w-blue); background: var(--w-mist); border: 1px solid rgba(26, 109, 232, 0.15); }
.cert-facts { list-style: none; margin: 0 0 34px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 28px; }
.cert-facts li { display: flex; align-items: center; gap: 12px; font-size: 1.02rem; color: var(--w-ink-2); line-height: 1.35; }
.cert-buy { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 18px 32px; }
.cert-buy .w-btn { margin-bottom: 3px; }
.cert-price small { display: block; font-size: 0.9rem; color: var(--w-ink-3); }
.cert-price b { font-family: var(--heading); font-weight: 800; font-size: clamp(2.6rem, 4vw, 3.6rem); letter-spacing: -0.05em; line-height: 1; color: var(--w-ink); }
.cert-visual { position: relative; padding: 0 clamp(96px, 9.5vw, 140px) 40px 40px; }
.cert-photo { display: block; width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; object-position: 92% 50%; border-radius: var(--w-r-lg); box-shadow: 0 40px 70px -40px rgba(13, 27, 62, 0.6); }
.seal-svg { position: absolute; left: 0; bottom: 0; width: clamp(150px, 15vw, 210px); height: auto; filter: drop-shadow(0 20px 30px rgba(13, 27, 62, 0.3)); }
.seal-ring { transform-origin: 200px 200px; }
@media (prefers-reduced-motion: no-preference) { .seal-ring { animation: sealSpin 40s linear infinite; } }
@keyframes sealSpin { to { transform: rotate(360deg); } }

/* La profesional muestra su diploma parada frente al borde de la foto */
.cert-visual .cert-pro { position: absolute; z-index: 2; right: 0; bottom: 0; width: auto; height: calc(100% + 56px); max-width: none; pointer-events: none; filter: drop-shadow(0 30px 30px rgba(13, 27, 62, 0.35)); }

/* ===== 9 · Así se vive Wonder: dos filas de fotos reales que no paran ===== */
.w-class { padding-bottom: clamp(60px, 7vw, 100px); }
.gal-head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 20px 32px; margin-bottom: clamp(30px, 4vw, 50px); }
.gal-play { display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 0 26px 0 8px; border: 0; border-radius: var(--w-pill); cursor: pointer; font-family: var(--heading); font-weight: 600; font-size: 1.02rem; color: var(--w-ink); background: #fff; box-shadow: var(--w-shadow-card); transition: transform .3s var(--w-ease); }
.gal-play:hover { transform: translateY(-2px); }
.gal-play span { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: #fff; background: var(--w-grad-tile); }
.gal-play svg { width: 18px; height: 18px; margin-left: 2px; }
.gal { display: grid; gap: 14px; }
.gal-row { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.gal-track { display: flex; gap: 14px; width: max-content; }
.gal-track img { height: clamp(190px, 19vw, 280px); width: auto; border-radius: var(--w-r-md); object-fit: cover; box-shadow: 0 18px 36px -24px rgba(13, 27, 62, 0.6); }
@media (prefers-reduced-motion: no-preference) {
  .gal-track.is-run { animation: galMove 70s linear infinite; }
  .gal-row.is-rev .gal-track.is-run { animation-direction: reverse; animation-duration: 80s; }
  .gal-row:hover .gal-track { animation-play-state: paused; }
}
@media (prefers-reduced-motion: reduce) { .gal-row { overflow-x: auto; } }
@keyframes galMove { to { transform: translateX(-50%); } }
.gal-video { position: fixed; inset: 0; margin: auto; width: min(1000px, 92vw); max-height: 88vh; height: fit-content; padding: 0; border: 0; border-radius: var(--w-r-lg); overflow: hidden; background: #000; }
.gal-video::backdrop { background: rgba(10, 24, 56, 0.8); backdrop-filter: blur(6px); }
.gal-video video { display: block; width: 100%; height: auto; max-height: 88vh; aspect-ratio: 16 / 9; object-fit: contain; background: #000; }
.gal-close { position: absolute; z-index: 2; right: 12px; top: 12px; width: 44px; height: 44px; border: 0; border-radius: 50%; cursor: pointer; font-size: 1.6rem; line-height: 1; color: var(--w-ink); background: #fff; }

/* ===== 10 · Reseñas: marquesina ===== */
.w-reviews { padding-top: clamp(40px, 5vw, 70px); }
/* Cabecera de reseñas: primero el gracias, luego la prueba que se lee sola (G · 4.9 · ★★★★★) */
.rev-head { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; margin-bottom: clamp(30px, 4vw, 50px); }
.rev-title { margin: 0; font-family: var(--heading); font-weight: 800; font-size: clamp(2.3rem, 5.2vw, 4.6rem); line-height: 1.02; letter-spacing: -0.035em; color: var(--w-ink); }
.rev-title em { font-style: normal; padding-right: .05em; background: var(--w-grad-blue); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rev-score { display: inline-flex; align-items: center; gap: 16px; padding: 12px 14px 12px 14px; border-radius: var(--w-pill); background: #fff; box-shadow: var(--w-shadow-card); text-decoration: none; transition: transform .35s var(--w-ease), box-shadow .35s var(--w-ease); }
.rev-score:hover { transform: translateY(-3px); box-shadow: inset 0 1px 0 #fff, 0 28px 50px -20px rgba(26, 109, 232, 0.55), 0 4px 12px -6px rgba(14, 50, 120, 0.18); }
.rev-go { display: grid; place-items: center; width: 44px; height: 44px; margin-left: 8px; border-radius: 50%; font-family: var(--heading); font-weight: 600; font-size: 1.2rem; color: #fff; background: var(--w-grad-tile); transition: transform .35s var(--w-ease); }
.rev-score:hover .rev-go { transform: translateX(3px); }
.rev-g { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1px var(--w-line); }
.rev-g svg { width: 28px; height: 28px; }
.rev-big { font-family: var(--heading); font-weight: 800; font-size: clamp(2.8rem, 4.6vw, 3.8rem); line-height: 1; letter-spacing: -0.05em; padding-right: .04em; background: var(--w-grad-blue); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rev-meta { display: flex; flex-direction: column; gap: 2px; }
.rev-meta .w-stars { font-size: 1.5rem; letter-spacing: 0.04em; background: linear-gradient(100deg, #fcd34d, #f59e0b 60%, #f97316); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rev-meta small { font-family: var(--heading); font-weight: 600; font-size: 0.9rem; color: var(--w-ink-3); }
.w-reviews.is-short { padding: clamp(60px, 7vw, 90px) 0; }
.w-reviews.is-short .rev-head { align-items: center; text-align: center; margin-bottom: 0; }
.rev-sub { margin: 0; font-size: 1.05rem; line-height: 1.5; color: var(--w-ink-3); }
.marquee { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 20px; width: max-content; padding: 6px 0 20px; }
/* Tarjeta de reseña: comilla de marca, texto protagonista y autor anclado abajo */
.marquee-track { align-items: stretch; padding: 10px 0 30px; }
.rev { position: relative; flex: none; display: flex; flex-direction: column; width: min(400px, 82vw); margin: 0; padding: 26px 28px 24px; border-radius: var(--w-r-lg); background: #fff; border: 1px solid rgba(13, 27, 62, 0.06); box-shadow: 0 24px 48px -30px rgba(14, 50, 120, 0.45); overflow: hidden; }
.rev::before { content: '\201D'; position: absolute; right: 22px; bottom: -46px; font-family: var(--heading); font-weight: 800; font-size: 9rem; line-height: 1; background: var(--w-grad-blue); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .12; pointer-events: none; }
.rev-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.rev-top .w-stars { font-size: 1.05rem; letter-spacing: .06em; background: linear-gradient(100deg, #fcd34d, #f59e0b 60%, #f97316); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rev-gl { width: 22px; height: 22px; }
.rev blockquote { position: relative; margin: 0 0 22px; font-size: 1.06rem; line-height: 1.55; color: var(--w-ink); display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.rev figcaption { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--w-line); font-family: var(--heading); color: var(--w-ink); }
.rev figcaption b { display: block; font-weight: 600; font-size: 1rem; }
.rev figcaption small { display: block; font-family: var(--body); font-weight: 400; font-size: 0.85rem; color: var(--w-ink-3); }
.rev-av { width: 46px; height: 46px; flex: none; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px #fff, 0 0 0 4px rgba(26, 109, 232, 0.25); }
/* Ritmo: una de cada tres en azul de marca */
.rev:nth-child(3n+2) { color: #fff; background: radial-gradient(120% 90% at 100% 0%, #3b8cff 0%, #1a6de8 45%, #1e3a8a 100%); border-color: transparent; box-shadow: 0 30px 56px -28px rgba(26, 109, 232, 0.85); }
.rev:nth-child(3n+2)::before { background: #fff; -webkit-background-clip: text; background-clip: text; opacity: .18; }
.rev:nth-child(3n+2) blockquote, .rev:nth-child(3n+2) figcaption { color: #fff; }
.rev:nth-child(3n+2) figcaption { border-color: rgba(255, 255, 255, 0.2); }
.rev:nth-child(3n+2) figcaption small { color: rgba(255, 255, 255, 0.75); }
.rev:nth-child(3n+2) .rev-gl { background: #fff; border-radius: 50%; padding: 3px; box-sizing: content-box; }
@media (prefers-reduced-motion: no-preference) { .marquee-track.is-run { animation: marquee 40s linear infinite; } .marquee:hover .marquee-track, .marquee:focus-within .marquee-track, .marquee.is-held .marquee-track { animation-play-state: paused; } }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ===== 11 · Cómo empezar: chat ===== */
.w-start { background: linear-gradient(180deg, #fff 0%, var(--w-mist) 100%); }
.start-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.start-steps { list-style: none; margin: 30px 0 34px; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 28px; }
.start-steps li { display: flex; align-items: center; gap: 10px; font-family: var(--heading); font-weight: 600; font-size: 1.1rem; color: var(--w-ink); }
.start-steps b { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; font-size: 0.9rem; color: #fff; background: var(--w-grad-tile); }
.chat { max-width: 420px; justify-self: center; width: 100%; border-radius: 30px; overflow: hidden; background: #efeae2; box-shadow: 0 40px 80px -30px rgba(13, 27, 62, 0.45), 0 0 0 8px #fff; }
.chat-top { display: flex; align-items: center; gap: 12px; padding: 14px 18px; color: #fff; background: #075e54; }
.chat-top img { width: 38px; height: 38px; border-radius: 50%; background: #fff; object-fit: contain; }
.chat-top b { display: block; font-family: var(--heading); font-size: 1rem; }
.chat-top small { font-size: 0.8rem; opacity: .8; }
.chat-body { display: flex; flex-direction: column; gap: 8px; padding: 20px 14px 26px; min-height: 400px; }
.msg { max-width: 82%; margin: 0; padding: 10px 14px; border-radius: 14px; font-size: 0.98rem; line-height: 1.4; color: #111; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.12); }
.msg.in { align-self: flex-start; background: #fff; border-top-left-radius: 4px; }
.msg.out { align-self: flex-end; background: #d9fdd3; border-top-right-radius: 4px; }
.msg.out { display: flex; align-items: flex-end; gap: 6px; }
.tick { flex: none; width: 17px; height: 12px; margin-bottom: 2px; color: #8696a0; transition: color .3s; }
.tick svg { display: block; width: 100%; height: 100%; }
.msg.is-read .tick { color: #34b7f1; }
/* Motion graphic del chat (web.js): ocultos hasta su turno, entran con rebote */
.chat.is-live .msg:not(.is-shown) { display: none; }
.chat.is-live .msg.is-shown { animation: msgIn .55s cubic-bezier(.34, 1.56, .64, 1) both; }
.chat.is-live .msg.in { transform-origin: 0 100%; }
.chat.is-live .msg.out { transform-origin: 100% 100%; }
.chat.is-live .msg.is-out { animation: msgOut .45s ease forwards; }
@keyframes msgIn { from { opacity: 0; transform: translateY(14px) scale(.6); } }
@keyframes msgOut { to { opacity: 0; transform: translateY(-8px); } }
.msg.typing { display: inline-flex !important; gap: 5px; padding: 14px 16px; width: auto; }
.msg.typing i { width: 8px; height: 8px; border-radius: 50%; background: #8696a0; animation: typeDot 1.1s ease-in-out infinite; }
.msg.typing i:nth-child(2) { animation-delay: .15s; } .msg.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typeDot { 0%, 60%, 100% { transform: none; opacity: .5; } 30% { transform: translateY(-5px); opacity: 1; } }
.chat-top small { transition: color .3s; }

/* ===== 12 · Contacto: dos caminos claros (WhatsApp o que te llamen) + la sede ===== */
.w-contact { background: linear-gradient(180deg, #fff 0%, var(--w-mist) 100%); }
.ct-title { text-align: center; margin-bottom: clamp(30px, 4vw, 50px); }
.ct-paths { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 28px); align-items: stretch; }
.ct-card { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: clamp(28px, 3.4vw, 46px); border-radius: var(--w-r-lg); }
.ct-card h3 { margin: 0; font-family: var(--heading); font-weight: 800; font-size: clamp(1.9rem, 3vw, 2.6rem); line-height: 1.05; letter-spacing: -0.035em; }
.ct-card > p { margin: 0 0 10px; font-size: 1.08rem; line-height: 1.5; }
.ct-card.is-wa { min-height: 460px; color: #fff; background: radial-gradient(120% 90% at 0% 0%, #22c55e 0%, #16a34a 45%, #14532d 100%); box-shadow: 0 30px 60px -30px rgba(22, 163, 74, 0.9); }
.ct-card.is-wa > p { color: rgba(255, 255, 255, 0.88); }
.ct-card.is-wa .w-btn-wa { position: relative; z-index: 2; color: #15803d; background: #fff; box-shadow: 0 14px 30px -14px rgba(0, 0, 0, 0.45); }
.ct-tag { padding: 6px 13px; border-radius: var(--w-pill); font-family: var(--heading); font-weight: 600; font-size: 0.82rem; background: rgba(255, 255, 255, 0.2); border: 1px solid rgba(255, 255, 255, 0.35); }
.ct-agent.is-dir { right: 0; width: min(44%, 270px); }
.ct-agent.is-dir + * { }
.ct-agent { position: absolute; z-index: 1; right: -4%; bottom: 0; width: min(62%, 360px); height: auto; filter: drop-shadow(0 20px 24px rgba(0, 0, 0, 0.3)); }
.ct-card.is-form { background: #fff; box-shadow: var(--w-shadow-card); }
.ct-card.is-form h3 { color: var(--w-ink); }
.ct-card.is-form > p { color: var(--w-ink-3); }
.ct-card.is-form form { width: 100%; }
.cf-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.cf-field > span { font-family: var(--heading); font-weight: 600; font-size: 0.9rem; color: var(--w-ink); }
.cf-field input, .cf-field select {
  min-height: 54px; padding: 0 16px; border-radius: 14px; font: inherit; font-size: 1rem; color: var(--w-ink);
  background: var(--w-mist); border: 1.5px solid transparent; outline: none; transition: border-color .25s, background .25s; -webkit-appearance: none; appearance: none;
}
.cf-field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a6de8' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.cf-field input:focus, .cf-field select:focus { background-color: #fff; border-color: var(--w-blue); }
.cf-error { margin: 0 0 12px; font-size: 0.92rem; color: #dc2626; }
.cf-send { width: 100%; margin-top: 6px; }
.cf-send:disabled { opacity: .6; cursor: wait; }
.cf-ok { flex-direction: column; align-items: center; gap: 8px; width: 100%; padding: 40px 10px; text-align: center; color: var(--w-ink-3); }
.cf-ok[style*="block"] { display: flex !important; }
.cf-ok b { font-family: var(--heading); font-size: 1.4rem; color: var(--w-ink); }
.cf-ok-ico { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 8px; border-radius: 50%; color: #fff; background: #16a34a; }
.cf-ok-ico svg { width: 30px; height: 30px; }
/* Selector de programa propio (site.js): botón + lista con el estilo de la marca */
.cf-field.has-pick { position: relative; }
.cf-field.has-pick select { position: absolute; inset: auto 0 0 0; height: 1px; opacity: 0; pointer-events: none; }
.pick-btn { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; min-height: 54px; padding: 0 16px; border-radius: 14px; cursor: pointer; text-align: left; font: inherit; font-size: 1rem; color: var(--w-ink); background: var(--w-mist); border: 1.5px solid transparent; transition: border-color .25s, background .25s; }
.pick-btn::after { content: ''; width: 18px; height: 18px; flex: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a6de8' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat; transition: transform .3s var(--w-ease); }
.pick-btn.is-empty span { color: var(--w-ink-3); }
.pick-btn.is-bad { border-color: rgba(248, 113, 113, 0.7); }
.pick-btn:focus-visible, .is-open .pick-btn { background: #fff; border-color: var(--w-blue); }
.is-open .pick-btn::after { transform: rotate(180deg); }
.pick-list { position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 6px); max-height: 320px; overflow: auto; margin: 0; padding: 8px; list-style: none; border-radius: var(--w-r-md); background: #fff; box-shadow: 0 30px 60px -20px rgba(13, 27, 62, 0.45), 0 0 0 1px rgba(13, 27, 62, 0.06); animation: pickIn .3s var(--w-ease); }
.pick-list[hidden] { display: none; }
@keyframes pickIn { from { opacity: 0; transform: translateY(-6px); } }
.pick-list li { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 12px 14px; border-radius: 12px; cursor: pointer; color: var(--w-ink); }
.pick-list li b { font-family: var(--heading); font-weight: 600; font-size: 1rem; }
.pick-list li small { font-size: 0.85rem; color: var(--w-ink-3); }
.pick-list li.is-act, .pick-list li:hover { background: var(--w-mist); }
.pick-list li[aria-selected="true"] { color: #fff; background: var(--w-grad-tile); }
.pick-list li[aria-selected="true"] small { color: rgba(255, 255, 255, 0.85); }
.ct-card.is-form { overflow: visible; }

/* La sede: mapa a lo ancho con los datos encima */
.kd-sede { margin-top: clamp(40px, 5vw, 70px); }
.ct-sede { position: relative; margin-top: clamp(16px, 2vw, 28px); border-radius: var(--w-r-lg); overflow: hidden; box-shadow: var(--w-shadow-card); }
.ct-map { display: block; width: 100%; height: clamp(300px, 30vw, 400px); border: 0; filter: saturate(.9); }
.ct-info { position: absolute; left: 18px; right: 18px; bottom: 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.ct-info > span { display: flex; flex-direction: column; padding: 12px 18px; border-radius: var(--w-r-md); font-size: 0.9rem; color: var(--w-ink-3); background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: 0 10px 24px -14px rgba(13, 27, 62, 0.5); }
.ct-info b { font-family: var(--heading); font-weight: 600; font-size: 1rem; color: var(--w-ink); }
.ct-info .w-btn { margin-left: auto; }
.ct-hours { gap: 4px; }
.ct-hours i { display: flex; justify-content: space-between; gap: 18px; font-style: normal; font-size: 0.92rem; color: var(--w-ink); }
.ct-hours em { font-style: normal; color: var(--w-ink-3); }

/* ===== 13 · Cierre: la escena de la portada vuelve ===== */
.w-end { position: relative; overflow: hidden; padding: clamp(80px, 10vw, 130px) 0 0; text-align: center; background: linear-gradient(180deg, #fff 0%, var(--w-mist) 100%); }
.end-in { display: flex; flex-direction: column; align-items: center; gap: 30px; }
.end-in .w-h2 { max-width: 14ch; }
.end-scene { position: relative; width: min(100%, 900px); aspect-ratio: 1 / 0.7; margin-top: 10px; container-type: inline-size; }
.end-scene .sc-word { top: 4%; }
.end-scene .sc-orbits i { top: 56%; }
.end-scene .sc-hero { bottom: 6%; }
.end-scene .sc-floor { bottom: -4%; }

/* ===== Tableta ===== */
@media (max-width: 900px) {
  .reco, .trip-grid, .cert-grid, .start-grid, .contact-grid, .ct-paths { grid-template-columns: 1fr; }
  .ct-card.is-wa { min-height: 540px; }
  .ct-agent.is-dir { width: min(62%, 240px); }
  .ct-info { position: static; padding: 14px; background: #fff; }
  .ct-info > span { flex: 1 1 200px; box-shadow: none; background: var(--w-mist); }
  .ct-info .w-btn { width: 100%; margin-left: 0; }
  .reco-out { padding-left: 0; padding-top: 30px; border-left: 0; border-top: 1px solid var(--w-line); min-height: 0; }
  .plans { grid-template-columns: 1fr; }
  .ages { grid-template-columns: 1fr; gap: 28px; }
  .w-kids .ages { padding-right: 0; }
  .kids-nina { top: -10px; width: 150px; }
  .w-kids .w-head { padding-right: 150px; }
  .age { display: grid; grid-template-columns: auto 1fr; align-items: baseline; column-gap: 10px; }
  .age h3, .age p { grid-column: 1 / -1; }
  .cert-visual { order: -1; padding: 0 96px 30px 24px; }
  .seal-svg { width: 130px; }
  .test-teen { position: static; order: -1; width: 170px; margin-bottom: -10px; }
  .cert-visual .cert-pro { right: 0; }
  .reco-wrap { grid-template-columns: 1fr; }
  .reco-photo { min-height: 0; aspect-ratio: 16 / 10; }
  /* Las fotos con cifras se deslizan de lado, grandes */
  .proof-rail { display: flex; height: 440px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
  .proof-rail::-webkit-scrollbar { display: none; }
  .proof-tile { flex: none; width: 78vw; max-width: 420px; scroll-snap-align: start; scroll-margin-left: var(--w-side); }
  .proof-tile.is-wide { width: 88vw; max-width: 520px; }
  .trip-orbits { display: none; }
}
/* ===== Celular (iPhone 375 a 430) ===== */
@media (max-width: 600px) {
  .w-sec { padding: 72px 0; }
  .w-h2 { font-size: clamp(2.2rem, 10vw, 2.9rem); }
  .w-eyebrow { font-size: 0.8rem; }
  .proof-rail { height: 420px; }
  .reco-opt { flex: 1 1 auto; padding: 0 18px; font-size: 1rem; }
  .reco-ctas .w-btn-wa { width: 100%; }
  .trip-meta { flex-direction: column; align-items: stretch; }
  .trip-dial { align-self: center; width: 210px; }
  .plan-switch button { padding: 0 12px; }
  .w-kids .kids-band { padding: 24px 22px; margin-top: 170px; }
  .kb-peek { left: auto; right: 18px; width: 130px; height: 184px; }
  .kids-band .w-btn-wa { width: 100%; }
  .cert-facts { grid-template-columns: 1fr; }
  .cert-buy .w-btn { width: 100%; }
  .test-steps li { padding: 12px 14px; gap: 12px; }
  .test-cta .w-btn { width: 100%; }
  .w-btn-xl { width: 100%; }
  .cf-row { grid-template-columns: 1fr; gap: 0; }
  .chat-body { min-height: 330px; }
  .end-scene { aspect-ratio: 1 / 0.86; }
}

/* ===== Inicio · puertas a los programas: cada una con su personaje y su precio ===== */
.doors { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); }
.door {
  position: relative; display: flex; flex-direction: column; min-height: 520px; padding: clamp(26px, 3vw, 38px); border-radius: var(--w-r-lg);
  overflow: hidden; text-decoration: none; color: #fff; isolation: isolate;
  transition: transform .5s var(--w-ease), box-shadow .5s var(--w-ease);
}
.door:hover { transform: translateY(-6px); }
.door.is-kids { background: radial-gradient(120% 90% at 100% 0%, #7dd3fc 0%, #38bdf8 35%, #1a6de8 100%); box-shadow: 0 30px 60px -30px rgba(56, 189, 248, 0.9); }
.door.is-std { background: radial-gradient(120% 90% at 100% 0%, #3b8cff 0%, #1a6de8 45%, #1e3a8a 100%); box-shadow: 0 30px 60px -30px rgba(26, 109, 232, 0.9); }
.door.is-int { background: radial-gradient(120% 90% at 100% 0%, #1e4fb8 0%, #0f2a6b 50%, #0a1838 100%); box-shadow: 0 30px 60px -30px rgba(10, 24, 56, 0.9); }
.door img { position: absolute; z-index: -1; right: -6%; bottom: 0; width: 70%; height: auto; transition: transform .7s var(--w-ease); transform-origin: bottom center; }
.door.is-int img { width: 88%; right: -10%; }
.door:hover img { transform: scale(1.04); }
.door-tag { align-self: flex-start; padding: 6px 12px; border-radius: var(--w-pill); font-family: var(--heading); font-weight: 600; font-size: 0.82rem; background: rgba(255, 255, 255, 0.18); border: 1px solid rgba(255, 255, 255, 0.3); }
.door h3 { margin: 18px 0 4px; font-family: var(--heading); font-weight: 800; font-size: clamp(2.4rem, 3.6vw, 3.4rem); line-height: 1; letter-spacing: -0.04em; }
.door p { margin: 0; max-width: 16ch; font-size: 1.02rem; color: rgba(255, 255, 255, 0.85); }
.door-price { margin-top: 16px; font-size: 0.95rem; color: rgba(255, 255, 255, 0.85); }
.door-price b { display: block; font-family: var(--heading); font-weight: 800; font-size: 1.9rem; letter-spacing: -0.03em; color: #fff; }
.door-go { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: var(--w-pill); font-family: var(--heading); font-weight: 600; color: var(--w-ink); background: #fff; }
.door-go::after { content: '→'; transition: transform .3s var(--w-ease); }
.door:hover .door-go::after { transform: translateX(4px); }
@media (max-width: 900px) {
  .doors { grid-template-columns: 1fr; }
  .door { min-height: 360px; }
  .door img { width: 46%; right: 2%; }
  .door.is-int img { width: 62%; right: -4%; }
}

/* =====================================================================
   LANDINGS DE PROGRAMA (/kids, /estandar, /intensivo)
   Reusan la portada y las secciones del inicio; aquí solo lo propio.
   ===================================================================== */
/* Portada con un solo personaje de pie sobre la plataforma */
.hx-scene.is-solo .sc-hero { left: 50%; width: auto; height: 74%; bottom: 11.5%; translate: -50% 0; }
.hx-scene.is-solo .sc-hero[src*="kids-trio"] { height: auto; width: 52%; }
/* En Kids la palabra va arriba de las cabezas, completa (la S no se recorta) */
.hx-scene.is-kids .sc-word { top: 2%; padding: 0 .08em; }
.hx-scene.is-solo .sc-word { font-size: 24cqi; }
.lp-hero .hx-chip { gap: 10px; }
.lp-count { padding: 3px 10px; border-radius: var(--w-pill); font-family: var(--heading); font-weight: 700; font-size: 0.82rem; color: #fff; background: var(--w-grad-tile); }
.lp-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 14px; margin: 4px 0 26px; }
.lp-price b { font-family: var(--heading); font-weight: 800; font-size: clamp(3rem, 5vw, 4.6rem); line-height: 1; letter-spacing: -0.05em; background: var(--w-grad-blue); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
.lp-price span { font-size: 1.05rem; color: var(--w-ink-3); }
.lp-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 26px; margin-top: 32px; }

/* Mismo diploma, distinto ritmo */
.lp-ritmo { background: var(--w-mist); }
.lp-ritmo-in { display: grid; grid-template-columns: 1fr 1.1fr; gap: 20px clamp(32px, 5vw, 80px); align-items: center; }
.lp-ritmo-in > .w-link { grid-column: 2; justify-self: start; }
.lp-dur { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.lp-dur li { display: grid; grid-template-columns: 1fr auto; gap: 10px 12px; align-items: baseline; opacity: .55; }
.lp-dur li.is-me { opacity: 1; }
.lp-dur span { font-family: var(--heading); font-weight: 600; font-size: 1.05rem; color: var(--w-ink); }
.lp-dur b { font-family: var(--heading); font-weight: 800; font-size: clamp(1.6rem, 2.6vw, 2.2rem); letter-spacing: -0.03em; color: var(--w-ink); }
.lp-dur i { grid-column: 1 / -1; position: relative; height: 12px; border-radius: 12px; background: rgba(13, 27, 62, 0.08); overflow: hidden; }
.lp-dur i::after { content: ''; position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: 12px; background: var(--w-grad-blue); }

/* Precio desglosado en filas grandes */
.lp-rows { display: grid; margin-top: clamp(30px, 4vw, 50px); border-top: 2px solid var(--w-ink); }
.lp-row { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; column-gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--w-line); }
.lp-row span { font-family: var(--heading); font-weight: 600; font-size: 1.15rem; color: var(--w-ink); }
.lp-row b { grid-row: span 2; align-self: center; font-family: var(--heading); font-weight: 800; font-size: clamp(2rem, 4vw, 3.4rem); letter-spacing: -0.045em; color: var(--w-ink); }
.lp-row small { font-size: 0.95rem; color: var(--w-ink-3); }
.lp-row:first-child b { background: var(--w-grad-blue); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
.lp-note { margin: 20px 0 0; font-family: var(--heading); font-weight: 600; color: var(--w-blue); }

/* Estándar: dos horarios lado a lado */
.plans.is-two { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 980px; }

/* Kids: tranquilidad para los papás. Bloque azul profundo con una foto real y sellos de confianza alrededor */
.lp-padres { position: relative; overflow: hidden; padding: clamp(80px, 10vw, 140px) 0; color: #fff; background: radial-gradient(90% 80% at 85% 10%, #1e4fb8 0%, #0f2a6b 45%, #0a1838 100%); }
.pd-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.pd-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.pd-copy { gap: 28px; }
.pd-copy .w-h2 { font-size: clamp(2.6rem, 5.2vw, 5rem); line-height: 1.04; }
.pd-copy .w-h2 em { white-space: nowrap; }
.pd-copy .w-btn { min-height: 64px; padding: 0 34px; font-size: 1.12rem; }
.pd-lead { margin: 0; max-width: 30ch; font-size: clamp(1.15rem, 1.6vw, 1.45rem); line-height: 1.5; color: rgba(255, 255, 255, 0.78); }
.pd-stage { position: relative; padding: 40px 0; }
.pd-photo { display: block; width: 78%; margin: 0 auto; aspect-ratio: 4 / 4.6; object-fit: cover; border-radius: 32px; box-shadow: 0 50px 90px -40px rgba(0, 0, 0, 0.8), 0 0 0 8px rgba(255, 255, 255, 0.06); }
.pd-chips { list-style: none; margin: 0; padding: 0; }
.pd-chip { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; border-radius: 18px; color: var(--w-ink); background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 24px 44px -20px rgba(0, 0, 0, 0.6); white-space: nowrap; }
.pd-chip b { display: block; font-family: var(--heading); font-weight: 600; font-size: 1rem; }
.pd-chip small { display: block; font-size: 0.82rem; color: var(--w-ink-3); }
.pd-ico { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 13px; color: #fff; background: var(--w-grad-tile); }
.pd-ico svg { width: 22px; height: 22px; }
/* Los sellos van sobre la pared (arriba) y el piso (abajo): nunca sobre las caras */
.pd-c1 { left: 0; top: 2%; } .pd-c2 { right: 0; top: 13%; } .pd-c3 { left: -3%; top: 70%; } .pd-c4 { right: -3%; top: 76%; } .pd-c5 { left: 50%; bottom: -1%; translate: -50% 0; }
.pd-c1 .pd-ico { background: linear-gradient(160deg, #22c55e, #15803d); }
@media (prefers-reduced-motion: no-preference) { .pd-chip { animation: pdFloat 6s ease-in-out infinite; animation-delay: calc(var(--d, 0) * 3ms); } }
@keyframes pdFloat { 50% { transform: translateY(-6px); } }
@media (max-width: 900px) {
  .pd-grid { grid-template-columns: 1fr; }
  .pd-stage { padding: 0; }
  .pd-photo { width: 100%; aspect-ratio: 4 / 3; }
  .pd-chips { display: grid; gap: 10px; margin-top: 16px; }
  .pd-chip { position: static; white-space: normal; animation: none; translate: none; }
}

/* Kids · Así aprenden: fondo multicolor, manchas de luz y cuatro tarjetas cada una con su degradado */
.mk { position: relative; overflow: hidden; padding: clamp(80px, 9vw, 130px) 0; color: var(--w-ink); background: #fff; }
.mk-in { position: relative; z-index: 1; }
.mk-top { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 30px; }
.mk-title { margin: 0 0 28px; font-family: var(--heading); font-weight: 800; font-size: clamp(2.8rem, 6vw, 5.6rem); line-height: 1.02; letter-spacing: -0.04em; text-wrap: balance; }
.mk-title em { display: inline-block; font-style: normal; padding: .02em .26em .08em; border-radius: .22em; color: #fff; background: linear-gradient(105deg, #ef4444 0%, #f97316 45%, #fbbf24 100%); transform: rotate(-2deg); box-shadow: 0 18px 40px -16px rgba(239, 68, 68, 0.6); }
.mk-lead { margin: 0; max-width: 34ch; font-family: var(--heading); font-weight: 600; font-size: clamp(1.15rem, 1.6vw, 1.4rem); line-height: 1.4; color: var(--w-ink-3); }

.mk-nina { width: clamp(200px, 22vw, 330px); height: auto; margin-bottom: -60px; filter: drop-shadow(0 30px 30px rgba(13, 27, 62, 0.25)); }
.mk-cards { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.mk-card::after { content: ''; position: absolute; right: -30px; top: -30px; width: 120px; height: 120px; border-radius: 50%; background: rgba(255, 255, 255, 0.14); pointer-events: none; }
.mk-card { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 8px; padding: 26px 24px 28px; border-radius: 26px; color: #fff; box-shadow: 0 26px 50px -26px rgba(20, 0, 60, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.35); }
.mk-1 { background: radial-gradient(120% 90% at 0% 0%, #ff8a5c 0%, #ef4444 50%, #c81e4a 100%); }
.mk-2 { background: radial-gradient(120% 90% at 0% 0%, #5aa9ff 0%, #1a6de8 50%, #1e3a8a 100%); }
.mk-3 { background: radial-gradient(120% 90% at 0% 0%, #67e8f9 0%, #22b8e8 45%, #0e7fc4 100%); }
.mk-4 { background: radial-gradient(120% 90% at 0% 0%, #ffe066 0%, #fbbf24 45%, #f97316 100%); }
.mk-ico { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 10px; border-radius: 18px; color: inherit; background: rgba(255, 255, 255, 0.25); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35); }
.mk-ico svg { width: 28px; height: 28px; }
.mk-card b { font-family: var(--heading); font-weight: 800; font-size: 1.45rem; line-height: 1.1; letter-spacing: -0.02em; }
.mk-card > span:last-child { font-size: 1.02rem; line-height: 1.4; color: rgba(255, 255, 255, 0.92); }
.mk-card:nth-child(even) { transform: translateY(18px); }
@media (max-width: 900px) {
  .mk-top { grid-template-columns: 1fr; }
  .mk-nina { order: -1; margin: 0 auto -20px; width: 200px; }
  .mk-cards { grid-template-columns: 1fr 1fr; }
  .mk-card:nth-child(even) { transform: none; }
}
@media (max-width: 600px) { .mk-cards { grid-template-columns: 1fr; } }

/* Preguntas frecuentes */
.lp-faq { background: var(--w-mist); }
.lp-faq-in { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(30px, 5vw, 80px); align-items: start; }
.lp-faq-in .w-head { position: sticky; top: 110px; }
.lp-faq-list { border-top: 2px solid var(--w-ink); }
.lp-faq-item { border-bottom: 1px solid var(--w-line); }
.lp-faq-item summary { position: relative; list-style: none; cursor: pointer; padding: 24px 50px 24px 0; font-family: var(--heading); font-weight: 600; font-size: 1.15rem; color: var(--w-ink); }
.lp-faq-item summary::-webkit-details-marker { display: none; }
.lp-faq-item summary::after { content: ''; position: absolute; right: 6px; top: 50%; width: 30px; height: 30px; translate: 0 -50%; border-radius: 50%; background: var(--w-blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 16px no-repeat; transition: transform .4s var(--w-ease); }
.lp-faq-item[open] summary::after { transform: rotate(45deg); }
.lp-faq-item p { margin: -6px 0 24px; max-width: 60ch; font-size: 1.05rem; line-height: 1.6; color: var(--w-ink-2); }

@media (max-width: 900px) {
  .lp-ritmo-in, .lp-faq-in { grid-template-columns: 1fr; }
  .lp-ritmo-in > .w-link { grid-column: 1; }
  .lp-faq-in .w-head { position: static; }
  .plans.is-two { grid-template-columns: 1fr; }
  .hx-scene.is-solo { aspect-ratio: 1 / 0.95; }
}
@media (max-width: 600px) {
  .lp-price { margin-bottom: 20px; }
  .lp-ctas .w-btn-wa { width: 100%; }
  .lp-hero .hx-facts { flex-wrap: wrap; }
  .lp-hero .hx-fact { flex: 1 1 100%; }
  .lp-row { padding: 18px 0; }
}

/* =====================================================================
   CANALES DE ATENCIÓN (/canales)
   ===================================================================== */
.ch-page { background: #fff; }
.ch-hero { position: relative; overflow: hidden; padding: clamp(60px, 8vw, 110px) 0 clamp(36px, 5vw, 56px); text-align: center; background: linear-gradient(180deg, var(--w-mist) 0%, #fff 100%); }
.ch-hero .w-ghost { top: 50%; left: 50%; right: auto; translate: -50% -50%; font-size: clamp(7rem, 24vw, 22rem); }
.ch-hero-in { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.ch-hero .w-h2 { font-size: clamp(2.4rem, 5.6vw, 4.8rem); }
.ch-lead { margin: 0; max-width: 44ch; font-size: 1.12rem; line-height: 1.5; color: var(--w-ink-3); }
.ch-search { display: flex; align-items: center; gap: 12px; width: min(100%, 640px); margin-top: 10px; padding: 0 22px; min-height: 64px; border-radius: var(--w-pill); background: #fff; box-shadow: var(--w-shadow-card); border: 1.5px solid transparent; transition: border-color .25s; cursor: text; }
.ch-search:focus-within { border-color: var(--w-blue); }
.ch-search svg { width: 22px; height: 22px; flex: none; color: var(--w-blue); }
.ch-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: inherit; font-size: 1.08rem; color: var(--w-ink); }
.ch-quick { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.ch-quick button { min-height: 40px; padding: 0 16px; border-radius: var(--w-pill); cursor: pointer; font-family: var(--heading); font-weight: 600; font-size: 0.9rem; color: var(--w-blue); background: #fff; border: 1px solid rgba(26, 109, 232, 0.22); transition: background .25s, color .25s; }
.ch-quick button:hover { color: #fff; background: var(--w-blue); }

.ch-wa { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 22px; width: calc(100% - 2 * var(--w-side)); max-width: calc(900px - 2 * var(--w-side)); margin: 10px auto 30px; padding: 22px 26px !important; border-radius: var(--w-r-lg); background: linear-gradient(100deg, #f0fdf4, #fff); box-shadow: inset 0 0 0 1px rgba(22, 163, 74, 0.18); }
.ch-wa .hx-fact-ico { background: linear-gradient(160deg, #22c55e, #15803d); box-shadow: 0 8px 18px -8px rgba(22, 163, 74, 0.7); }
.ch-wa > div { flex: 1; min-width: 220px; display: flex; flex-direction: column; gap: 2px; }
.ch-wa b { font-family: var(--heading); font-weight: 600; font-size: 1.1rem; color: var(--w-ink); }
.ch-wa span { font-size: 0.98rem; color: var(--w-ink-3); }

.ch-grid { display: grid; grid-template-columns: 1fr; gap: 16px; max-width: 900px; }
.ch-card { display: flex; flex-direction: column; gap: 18px; padding: clamp(22px, 2.6vw, 32px); border-radius: var(--w-r-lg); background: var(--w-mist); border: 1px solid rgba(26, 109, 232, 0.08); transition: transform .4s var(--w-ease), box-shadow .4s var(--w-ease); }
.ch-card[hidden] { display: none; }
.ch-card:hover { transform: translateY(-3px); box-shadow: 0 24px 48px -28px rgba(26, 109, 232, 0.6); }
.ch-top { display: flex; gap: 16px; align-items: flex-start; }
.ch-ico { display: grid; place-items: center; width: 60px; height: 60px; flex: none; border-radius: 15px; color: #fff; background: var(--w-grad-tile); box-shadow: 0 10px 20px -10px rgba(26, 109, 232, 0.8); }
.ch-ico svg { width: 30px; height: 30px; }
.ch-top h2 { margin: 2px 0 4px; font-family: var(--heading); font-weight: 800; font-size: 1.4rem; letter-spacing: -0.025em; color: var(--w-ink); }
.ch-top p { margin: 0; font-size: 1rem; line-height: 1.5; color: var(--w-ink-3); }
.ch-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ch-chips span { padding: 5px 12px; border-radius: var(--w-pill); font-family: var(--heading); font-weight: 600; font-size: 0.8rem; color: var(--w-blue); background: #fff; }
.ch-mail { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: auto; padding: 10px 10px 10px 18px; border-radius: var(--w-pill); background: #fff; box-shadow: 0 6px 16px -10px rgba(14, 50, 120, 0.35); }
.ch-addr { min-width: 0; overflow-wrap: anywhere; font-family: var(--heading); font-weight: 600; font-size: 0.95rem; color: var(--w-ink); }
.ch-acts { display: flex; gap: 6px; }
.ch-send, .ch-copy { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: var(--w-pill); font-family: var(--heading); font-weight: 600; font-size: 0.88rem; text-decoration: none; cursor: pointer; border: 0; }
.ch-send { color: #fff; background: var(--w-grad-tile); }
.ch-copy { color: var(--w-ink); background: var(--w-mist); }
.ch-empty { max-width: 900px; margin: 10px auto 0; text-align: center; color: var(--w-ink-3); }
.ch-empty[hidden] { display: none; }
.ch-empty a { color: var(--w-blue); font-weight: 600; }

.ch-sede { max-width: 900px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: clamp(50px, 6vw, 80px); margin-bottom: clamp(60px, 8vw, 100px); padding-top: 34px !important; border-top: 1px solid var(--w-line); }
.ch-sede > div { display: flex; align-items: center; gap: 14px; }
.ch-sede b { display: block; font-family: var(--heading); font-weight: 600; color: var(--w-ink); }
.ch-sede small { display: block; font-size: 0.92rem; color: var(--w-ink-3); }

.ch-toast { position: fixed; z-index: 200; left: 50%; bottom: 28px; translate: -50% 20px; opacity: 0; pointer-events: none; padding: 12px 20px; border-radius: var(--w-pill); font-family: var(--heading); font-weight: 600; font-size: 0.92rem; color: #fff; background: var(--w-ink); box-shadow: 0 16px 32px -14px rgba(13, 27, 62, 0.6); transition: opacity .3s, translate .5s var(--w-ease); }
.ch-toast.is-on { opacity: 1; translate: -50% 0; }

@media (max-width: 900px) {
  .ch-grid, .ch-sede { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .ch-wa .w-btn-wa { width: 100%; }
  .ch-mail { border-radius: var(--w-r-md); padding: 12px; }
  .ch-acts { width: 100%; }
  .ch-send, .ch-copy { flex: 1; justify-content: center; }
}

/* ===== Entradas de sección (web.js · entrada) ===== */
@media (prefers-reduced-motion: no-preference) {
  .js [data-in]:not(.is-in) { opacity: 0; transform: translateY(30px); filter: blur(8px); }
  .js [data-in] { transition: opacity .8s var(--w-ease), transform 1s var(--w-ease), filter 1s var(--w-ease); transition-delay: calc(var(--d, 0) * 1ms); }
}

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