/* ==========================================================================
   Alberto Hernández · Cursos y guías digitales
   Hoja de estilos (mobile first). Orden:
   1. Tokens y reinicio   2. Utilidades y botones   3. Cargador   4. Cabecera
   5. Hero 3D             6. Cintas                 7. Precios    8. Vitrina (scroll)
   9. Catálogo           10. Texto gigante         11. Pasos     12. Beneficios
  13. Preguntas          14. Contacto              15. Pie, WhatsApp y visor
  16. Sistema de reveal  17. Movimiento reducido
   ========================================================================== */

/* ---------- 1. TOKENS Y REINICIO ---------- */
@font-face { font-family: "Nunito"; src: url("assets/fonts/nunito-latin-wght-normal.woff2") format("woff2"); font-weight: 200 1000; font-style: normal; font-display: swap; }
/* Títulos: Fraunces desde jsDelivr (si no carga, entra Georgia sin romper nada) */
@font-face { font-family: "Fraunces"; src: url("https://cdn.jsdelivr.net/npm/@fontsource-variable/fraunces@5/files/fraunces-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("https://cdn.jsdelivr.net/npm/@fontsource-variable/fraunces@5/files/fraunces-latin-wght-italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }

:root {
  /* Paleta: noche índigo + oro (destellos del avatar del cliente) + violeta y turquesa de sus flyers */
  --noche: #120E32;
  --noche-2: #1B1550;
  --violeta: #6C3CE0;
  --violeta-claro: #9B7BFF;
  --oro: #F6B72E;
  --oro-claro: #FFD66E;
  --menta: #18B9A5;
  --marfil: #FBF7EF;
  --marfil-2: #F3EDE0;
  --tinta: #17133B;
  --tinta-suave: #4A4570;

  --f-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --f-texto: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; overflow-x: clip; }
body { margin: 0; overflow-x: clip; font-family: var(--f-texto); font-size: 1rem; line-height: 1.6; color: var(--tinta); background: var(--marfil); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
html.visor-abierto, html.menu-abierto { overflow: hidden; }
img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #8B5CFF; outline-offset: 3px; border-radius: 6px; }

.pagina { position: relative; overflow-x: clip; }
.sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.saltar { position: fixed; left: 1rem; top: -5rem; z-index: 2000; padding: .7rem 1rem; border-radius: 10px; background: var(--oro); color: var(--tinta); font-weight: 800; text-decoration: none; }
.saltar:focus { top: 1rem; }

/* ---------- 2. UTILIDADES Y BOTONES ---------- */
.contenedor { width: min(1240px, 100% - 2.5rem); margin-inline: auto; }
.contenedor--angosto { width: min(860px, 100% - 2.5rem); }
.seccion { position: relative; padding: 5.5rem 0; overflow: clip; }
.seccion--marfil { background: var(--marfil); }
.seccion--noche { background: var(--noche); color: #fff; }
.seccion--violeta { background: linear-gradient(160deg, #2A1D7A 0%, #4B2BB8 55%, #6C3CE0 100%); color: #fff; }

.encabezado { max-width: 46rem; margin-bottom: 3rem; }
.encabezado--centro { margin-inline: auto; text-align: center; }
.encabezado--centro .eyebrow { justify-content: center; }
.encabezado__texto { margin-top: 1.1rem; font-size: 1.1rem; color: var(--tinta-suave); max-width: 38rem; }
.seccion--noche .encabezado__texto, .seccion--violeta .encabezado__texto { color: rgba(255, 255, 255, .78); }
.encabezado--centro .encabezado__texto { margin-inline: auto; }

.eyebrow { display: inline-flex; align-items: center; gap: .65rem; margin-bottom: 1rem; font-weight: 800; font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: var(--violeta); }
.eyebrow::before { content: ""; width: 28px; height: 2px; border-radius: 2px; background: currentColor; }
.eyebrow--oro, .seccion--violeta .eyebrow { color: var(--oro); }

h1, h2 { font-family: var(--f-display); font-weight: 600; letter-spacing: -.02em; }
h2 { font-size: clamp(2rem, 6.2vw, 3.7rem); line-height: 1.06; }
h2 em, h1 em { font-style: italic; font-weight: 500; color: var(--violeta); }
.seccion--noche h2 em, .seccion--violeta h2 em, .pared h2 em { color: var(--oro-claro); }

/* Palabras que suben al aparecer (las crea el JS) */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: .1em .08em .18em; margin: -.1em -.08em -.18em; }
.w-in { display: inline-block; transition: transform 1s var(--ease); transition-delay: calc(var(--wi, 0) * 70ms); }
html.js [data-split] .w-in { transform: translateY(112%); }
html.js [data-split].visto .w-in { transform: none; }

.pildora { display: inline-flex; align-items: center; gap: .6rem; padding: .5rem 1rem; border-radius: 99px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .2); backdrop-filter: blur(8px); font-weight: 700; font-size: .82rem; color: #fff; }
.pildora__punto { width: 8px; height: 8px; border-radius: 50%; background: var(--oro); animation: ping 2s infinite; }
.etiqueta { font-weight: 800; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--violeta); }
.etiqueta--oro { color: var(--oro); }
.ic { width: 1.25em; height: 1.25em; flex: none; }
.ic--izq { transform: scaleX(-1); }
.enlace { font-weight: 800; color: var(--oro-claro); text-underline-offset: 4px; }
.nota { margin-top: 1.8rem; font-size: .85rem; text-align: center; color: var(--tinta-suave); }

.btn { --bg: var(--oro); --fg: var(--tinta); position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 52px; padding: .8rem 1.5rem; border: 0; border-radius: 999px; background: var(--bg); color: var(--fg); font-weight: 800; font-size: 1rem; line-height: 1.1; text-decoration: none; text-align: center; letter-spacing: .005em; box-shadow: 0 12px 28px -12px rgba(246, 183, 46, .9), inset 0 1px 0 rgba(255, 255, 255, .55); transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, color .3s, border-color .3s; }
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .6) 50%, transparent 70%); transform: translateX(-130%); animation: brillo 4.2s ease-in-out infinite; }
.btn:hover { transform: translateY(-3px); box-shadow: 0 18px 34px -12px rgba(246, 183, 46, 1), inset 0 1px 0 rgba(255, 255, 255, .6); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--grande { min-height: 58px; padding-inline: 1.9rem; font-size: 1.05rem; }
.btn--chico { min-height: 44px; padding: .6rem 1.15rem; font-size: .93rem; }
.btn--bloque { width: 100%; white-space: normal; }
.btn--vidrio { --bg: rgba(255, 255, 255, .1); --fg: #fff; border: 1px solid rgba(255, 255, 255, .3); backdrop-filter: blur(10px); box-shadow: none; }
.btn--vidrio:hover { --bg: rgba(255, 255, 255, .2); box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .7); }
.btn--linea { --bg: transparent; --fg: var(--tinta); border: 2px solid rgba(23, 19, 59, .85); box-shadow: none; }
.btn--linea::after { display: none; }
.btn--linea:hover { --bg: var(--tinta); --fg: #fff; box-shadow: none; }
.btn--noche { --bg: var(--noche); --fg: #fff; box-shadow: 0 14px 28px -12px rgba(18, 14, 50, .9); }
.btn--mag { transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, color .3s, border-color .3s, translate .25s ease-out; }
/* Sin número de WhatsApp en el script: el botón, los enlaces y el formulario se ocultan con elegancia */
.sin-whatsapp [data-wa], .sin-whatsapp .fab-whatsapp, .sin-whatsapp .form { display: none !important; }

/* ---------- 3. CARGADOR (spinner) ---------- */
.cargador { position: fixed; inset: 0; z-index: 1000; display: grid; align-content: center; justify-items: center; gap: 1.3rem; color: #fff; background: radial-gradient(80% 60% at 50% 38%, #2A1D7A 0%, var(--noche) 72%); clip-path: circle(150% at 50% 50%); transition: clip-path .8s cubic-bezier(.77, 0, .18, 1), visibility 0s linear .8s; /* respaldo si el JS falla: se oculta solo a los 2.4 s */ animation: cargador-seguro .4s ease 2s forwards; }
.cargador--fuera { clip-path: circle(0% at 50% 50%); visibility: hidden; pointer-events: none; }
.cargador__nucleo { position: relative; width: 132px; height: 132px; display: grid; place-items: center; }
.cargador__anillo { position: absolute; inset: 0; border-radius: 50%; border: 2px solid transparent; border-top-color: var(--oro); border-right-color: rgba(246, 183, 46, .35); animation: girar-simple 1.1s linear infinite; }
.cargador__anillo--2 { inset: 14px; border-top-color: transparent; border-left-color: var(--violeta-claro); border-bottom-color: rgba(155, 123, 255, .35); animation-duration: 1.7s; animation-direction: reverse; }
.cargador__logo { width: 64px; height: 64px; animation: latido 1.5s ease-in-out infinite; filter: drop-shadow(0 0 18px rgba(246, 183, 46, .55)); }
.cargador__orbita { position: absolute; inset: -22px; animation: girar-simple 3.4s linear infinite; }
.cargador__orbita i { position: absolute; top: 0; left: 50%; width: 30px; height: 30px; margin: -15px 0 0 -15px; display: grid; place-items: center; border-radius: 50%; background: radial-gradient(circle at 30% 25%, #FFF2B8, #F6B72E 60%, #C98A06); color: var(--tinta); font: 700 .72rem/1 var(--f-display); font-style: normal; animation: girar-simple 3.4s linear infinite reverse; }
.cargador__orbita--2 { inset: -40px; animation-duration: 4.6s; animation-direction: reverse; }
.cargador__orbita--2 i { animation-duration: 4.6s; animation-direction: normal; }
.cargador__orbita--3 { inset: -58px; animation-duration: 6s; }
.cargador__orbita--3 i { animation-duration: 6s; }
.cargador__texto { margin-top: 1.4rem; font-weight: 700; font-size: .95rem; letter-spacing: .08em; color: rgba(255, 255, 255, .85); animation: parpadeo-texto 1.6s ease-in-out infinite; }
.cargador__barra { width: min(240px, 60vw); height: 4px; overflow: hidden; border-radius: 4px; background: rgba(255, 255, 255, .15); }
.cargador__barra span { display: block; width: 100%; height: 100%; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, var(--oro), #FF9A5A, var(--violeta-claro)); }
.cargador__pct { font: 700 1.5rem/1 var(--f-display); color: var(--oro-claro); font-variant-numeric: tabular-nums; }

/* ---------- 4. CABECERA ---------- */
.cabecera { position: fixed; inset: 0 0 auto 0; z-index: 100; padding: .7rem .8rem; pointer-events: none; }
.cabecera__in { position: relative; isolation: isolate; pointer-events: auto; max-width: 1240px; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .45rem .55rem .45rem .9rem; border-radius: 999px; color: #fff; }
.cabecera__in::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: rgba(18, 14, 50, .55); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(16px) saturate(1.4); box-shadow: 0 12px 40px -14px rgba(0, 0, 0, .6); transition: background .4s; }
.cabecera--fija .cabecera__in::before { background: rgba(18, 14, 50, .88); }
.marca { position: relative; z-index: 3; display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; font: 600 1.05rem/1 var(--f-display); letter-spacing: -.01em; }
.marca img { width: 38px; height: 38px; }
.marca b { font-style: italic; font-weight: 600; color: var(--oro-claro); }
.burger { position: relative; z-index: 3; width: 46px; height: 46px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .1); display: grid; place-content: center; gap: 5px; }
.burger span { display: block; width: 20px; height: 2px; border-radius: 2px; background: #fff; transition: transform .4s var(--ease), opacity .3s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.menu { position: fixed; inset: 0; z-index: 1; display: flex; flex-direction: column; justify-content: center; gap: .3rem; padding: 6rem 1.8rem 2.5rem; background: radial-gradient(70% 50% at 80% 10%, rgba(108, 60, 224, .5), transparent 70%), rgba(18, 14, 50, .98); opacity: 0; visibility: hidden; transform: translateY(-14px); transition: opacity .35s, transform .5s var(--ease), visibility 0s linear .35s; }
.menu--abierto { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.menu a:not(.btn) { padding: .7rem 0; font: 600 clamp(1.8rem, 8vw, 2.6rem)/1.1 var(--f-display); text-decoration: none; color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.menu a[aria-current="true"] { color: var(--oro-claro); }
.menu .btn { margin-top: 1.6rem; align-self: flex-start; }
.progreso { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 101; pointer-events: none; }
.progreso span { display: block; height: 100%; transform-origin: left; transform: scaleX(var(--sp, 0)); background: linear-gradient(90deg, var(--oro), #FF9A5A, var(--violeta-claro)); }

/* ---------- 5. HERO ---------- */
.hero { position: relative; isolation: isolate; overflow: clip; display: flex; align-items: center; min-height: 100svh; padding: 7.5rem 0 4.5rem; color: #fff; background: radial-gradient(110% 70% at 85% 0%, #2F2090 0%, transparent 62%), radial-gradient(90% 70% at 0% 100%, #4A1D8F 0%, transparent 58%), var(--noche); }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; z-index: 1; height: 120px; pointer-events: none; background: linear-gradient(transparent, var(--noche)); }
.hero__canvas { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; }
.hero__aurora i { position: absolute; z-index: 0; border-radius: 50%; pointer-events: none; }
.hero__aurora i:nth-child(1) { width: 90vmax; height: 90vmax; left: -45vmax; top: -30vmax; background: radial-gradient(circle, rgba(108, 60, 224, .55), transparent 62%); animation: aurora-a 22s ease-in-out infinite alternate; }
.hero__aurora i:nth-child(2) { width: 70vmax; height: 70vmax; right: -35vmax; top: 10vmax; background: radial-gradient(circle, rgba(246, 183, 46, .22), transparent 62%); animation: aurora-b 26s ease-in-out infinite alternate; }
.hero__aurora i:nth-child(3) { width: 60vmax; height: 60vmax; left: 10vmax; bottom: -40vmax; background: radial-gradient(circle, rgba(24, 185, 165, .22), transparent 62%); animation: aurora-a 30s ease-in-out infinite alternate-reverse; }
.hero__rejilla { position: absolute; inset: 0; z-index: 0; pointer-events: none; background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(70% 60% at 50% 40%, #000 15%, transparent 75%); mask-image: radial-gradient(70% 60% at 50% 40%, #000 15%, transparent 75%); animation: rejilla 24s linear infinite; }
.hero__in { position: relative; z-index: 2; width: min(1240px, 100% - 2.5rem); margin-inline: auto; display: grid; gap: 2.2rem; align-items: center; }
.hero__titulo { margin-top: 1.4rem; font-size: clamp(2.35rem, 4.2vw + 1.2rem, 4.7rem); line-height: 1.02; letter-spacing: -.03em; }
.hero__titulo em { font-weight: 500; color: var(--oro-claro); }
.hero__titulo em .w-in { background: linear-gradient(100deg, #FFE08A 0%, #F6B72E 55%, #FF9A5A 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; padding-right: .06em; }
.hero__rotor { margin-top: 1.3rem; font: italic 500 clamp(1.4rem, 5.2vw, 2.1rem)/1.3 var(--f-display); color: #fff; }
.rotor { position: relative; display: inline-block; height: 1.35em; vertical-align: bottom; overflow: hidden; color: var(--oro-claro); border-bottom: 2px solid rgba(246, 183, 46, .5); transition: width .55s var(--ease); }
.rotor span { position: absolute; left: 0; top: 0; padding-right: .12em; white-space: nowrap; opacity: 0; transform: translateY(100%); transition: transform .65s var(--ease), opacity .45s; }
.rotor span.on { opacity: 1; transform: none; }
.rotor span.off { opacity: 0; transform: translateY(-100%); }
html:not(.js) .rotor { width: auto; }
html:not(.js) .rotor span:first-child { position: static; opacity: 1; transform: none; }
.hero__sub { margin-top: 1.1rem; max-width: 34rem; font-size: 1.08rem; color: rgba(255, 255, 255, .8); }
.hero__acciones { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.hero__datos { display: flex; flex-wrap: wrap; gap: 1rem 1.8rem; margin-top: 2.1rem; padding-top: 1.4rem; border-top: 1px solid rgba(255, 255, 255, .14); }
.hero__datos li { display: grid; gap: .1rem; }
.hero__datos strong { font: 700 1.1rem/1.2 var(--f-display); color: var(--oro-claro); }
.hero__datos span { font-size: .82rem; color: rgba(255, 255, 255, .66); }

.escena { --cw: 126px; --ch: 196px; --r: 140px; position: relative; width: 100%; height: clamp(330px, 92vw, 400px); margin-inline: auto; perspective: 1200px; perspective-origin: 50% 30%; }
.escena__suelo { position: absolute; left: 8%; right: 8%; bottom: 3%; height: 18%; background: radial-gradient(50% 50% at 50% 50%, rgba(246, 183, 46, .5), transparent 70%); filter: blur(12px); animation: respirar 6s ease-in-out infinite; }
.escena__tilt { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(calc(-9deg + var(--ty, 0) * 1deg)) rotateY(calc(var(--tx, 0) * 1deg)); }
.anillo { position: absolute; left: 50%; top: 50%; width: var(--cw); height: var(--ch); margin: calc(var(--ch) / -2) 0 0 calc(var(--cw) / -2); transform-style: preserve-3d; animation: girar 44s linear infinite; }
.carta { position: absolute; inset: 0; overflow: hidden; border-radius: 16px; background: #0b0824; backface-visibility: hidden; -webkit-backface-visibility: hidden; transform: rotateY(calc(var(--i) * 60deg)) translateZ(var(--r)); box-shadow: 0 0 0 1px rgba(255, 255, 255, .2), 0 30px 50px -14px rgba(0, 0, 0, .7), 0 0 40px -8px rgba(155, 123, 255, .5); }
.carta::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(125deg, rgba(255, 255, 255, .28), transparent 38%); }
.carta img { width: 100%; height: 100%; object-fit: cover; }
.moneda { position: absolute; z-index: 5; display: grid; place-items: center; width: clamp(52px, 14vw, 84px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 30% 26%, #FFF2B8, #F6B72E 55%, #C98A06); box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .35), inset 0 -7px 12px rgba(150, 90, 0, .4), 0 18px 30px -10px rgba(0, 0, 0, .6); color: var(--tinta); font: 700 clamp(1rem, 3.4vw, 1.5rem)/1 var(--f-display); translate: 0 0 calc(var(--r) * .55); animation: moneda 6s ease-in-out infinite; }
.moneda--a { left: 0; top: 6%; }
.moneda--b { right: 0; top: 38%; animation-delay: -2s; }
.moneda--c { left: 5%; bottom: 8%; animation-delay: -4s; }
.chispa { position: absolute; width: 18px; height: 18px; background: #FFE9A8; clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%); animation: parpadeo 2.8s ease-in-out infinite; }
.chispa--a { left: 22%; top: 2%; }
.chispa--b { right: 14%; top: 14%; width: 12px; height: 12px; animation-delay: -1s; }
.chispa--c { right: 24%; bottom: 4%; width: 22px; height: 22px; animation-delay: -1.8s; }

.hero__scroll { position: absolute; left: 50%; bottom: 1.4rem; z-index: 3; translate: -50% 0; display: none; flex-direction: column; align-items: center; gap: .4rem; font-size: .72rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .7); text-decoration: none; }
.hero__raton { position: relative; width: 22px; height: 34px; border: 2px solid rgba(255, 255, 255, .5); border-radius: 12px; }
.hero__raton i { position: absolute; left: 50%; top: 6px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--oro); animation: rueda 1.8s ease-in-out infinite; }

/* Entrada del hero (solo con JS; el respaldo de abajo lo muestra aunque el JS falle) */
html.js .intro { transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
html.js:not(.listo) .intro { opacity: 0; transform: translateY(26px); animation: aparecer-seguro 0s linear 3.2s forwards; }

/* ---------- 6. CINTAS ---------- */
.cintas { position: relative; overflow: clip; padding: 3rem 0 3.6rem; background: linear-gradient(180deg, var(--noche) 0 46%, var(--marfil) 46% 100%); }
.cinta { width: 120%; margin-inline: -10%; overflow: hidden; padding: .95rem 0; font: 600 clamp(1.1rem, 3.6vw, 1.7rem)/1 var(--f-display); }
.cinta--oro { background: var(--oro); color: var(--tinta); transform: rotate(-1.8deg); box-shadow: 0 24px 40px -22px rgba(0, 0, 0, .55); }
.cinta--violeta { margin-top: -1rem; background: var(--violeta); color: #fff; transform: rotate(1.5deg); box-shadow: 0 24px 40px -22px rgba(23, 19, 59, .6); }
.cinta__pista { display: flex; width: max-content; animation: cinta 48s linear infinite; }
.cinta__pista--inversa { animation-direction: reverse; animation-duration: 56s; }
.cinta__pista span { display: inline-flex; align-items: center; gap: 1.4rem; padding-right: 1.4rem; white-space: nowrap; font-style: italic; }
.cinta__pista span::after { content: "✦"; font-size: .7em; font-style: normal; opacity: .85; }

/* ---------- 7. PRECIOS ---------- */
.precios { background-color: var(--marfil); background-image: radial-gradient(rgba(23, 19, 59, .07) 1px, transparent 1px); background-size: 24px 24px; }
.tickets { display: grid; gap: 1.6rem; }
.ticket { --pie: 5.6rem; position: relative; perspective: 1000px; filter: drop-shadow(0 28px 28px rgba(23, 19, 59, .3)); }
.ticket__in { position: relative; display: flex; flex-direction: column; gap: 1rem; height: 100%; padding: 2rem 1.7rem calc(var(--pie) + .6rem); border-radius: 26px; color: #fff; overflow: hidden; background: radial-gradient(120% 90% at 100% 0%, var(--c1, #6C3CE0), transparent 62%), linear-gradient(160deg, var(--c2, #2A1D7A), #120E32); transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .3s var(--ease); -webkit-mask: radial-gradient(circle 14px at 0 calc(100% - var(--pie)), #0000 97%, #000) left / 51% 100% no-repeat, radial-gradient(circle 14px at 100% calc(100% - var(--pie)), #0000 97%, #000) right / 51% 100% no-repeat; mask: radial-gradient(circle 14px at 0 calc(100% - var(--pie)), #0000 97%, #000) left / 51% 100% no-repeat, radial-gradient(circle 14px at 100% calc(100% - var(--pie)), #0000 97%, #000) right / 51% 100% no-repeat; }
.ticket__in::before { content: ""; position: absolute; left: 1.6rem; right: 1.6rem; bottom: var(--pie); border-top: 2px dashed rgba(255, 255, 255, .32); }
.ticket__in::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .2) 50%, transparent 65%); transform: translateX(-130%); animation: brillo 6s ease-in-out infinite; }
.ticket__in .btn { position: absolute; left: 1.7rem; right: 1.7rem; bottom: 1.7rem; z-index: 1; }
.ticket__etq { font-weight: 800; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; opacity: .85; }
.ticket__monto { display: flex; align-items: flex-start; gap: .15rem; font: 700 clamp(4.6rem, 18vw, 6.6rem)/.88 var(--f-display); letter-spacing: -.04em; font-variant-numeric: lining-nums tabular-nums; }
.ticket__monto sup { margin-top: .12em; font-size: .38em; }
.ticket__monto small { align-self: flex-end; margin: 0 0 .5em .5rem; font: 800 .9rem/1 var(--f-texto); letter-spacing: .12em; opacity: .75; }
.ticket__lista { display: grid; gap: .6rem; margin-top: .2rem; font-weight: 700; font-size: .98rem; }
.ticket__lista li { display: flex; gap: .6rem; align-items: flex-start; }
.ticket__lista .ic { margin-top: .12em; color: var(--oro-claro); }
.ticket--oro .ticket__in { color: var(--tinta); background: radial-gradient(120% 90% at 0 0, #FFF4C4, transparent 55%), linear-gradient(160deg, #FFD66E, #F6B72E 55%, #E49A0C); }
.ticket--oro .ticket__in::before { border-top-color: rgba(23, 19, 59, .35); }
.ticket--oro .ticket__lista .ic { color: var(--tinta); }

/* ---------- 8. VITRINA (imagen que crece con el scroll) ---------- */
.pared { --p1: 1; --p2: 1; position: relative; background: var(--noche); color: #fff; }
html.js .pared { height: 280svh; --p1: 0; --p2: 0; }
.pared__escenario { position: relative; height: 100svh; min-height: 560px; overflow: clip; display: grid; place-items: center; }
html.js .pared__escenario { position: sticky; top: 0; }
.pared__fondo { position: absolute; inset: 0; background: radial-gradient(55% 48% at 50% 46%, rgba(108, 60, 224, .6), transparent 72%), radial-gradient(40% 30% at 15% 8%, rgba(246, 183, 46, .2), transparent 70%), radial-gradient(40% 30% at 90% 95%, rgba(24, 185, 165, .18), transparent 70%), var(--noche); }
.pared__fondo::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(1.5px 1.5px at 20% 30%, #fff, transparent), radial-gradient(1.5px 1.5px at 70% 20%, #FFE9A8, transparent), radial-gradient(1px 1px at 40% 80%, #fff, transparent), radial-gradient(1.5px 1.5px at 85% 60%, #fff, transparent), radial-gradient(1px 1px at 10% 65%, #FFE9A8, transparent); background-size: 340px 340px; animation: parpadeo 4.5s ease-in-out infinite; opacity: .7; }
.pared__titulo { position: absolute; inset: 0; z-index: 4; display: grid; place-content: center; justify-items: center; padding: 0 1.4rem; text-align: center; pointer-events: none; opacity: calc(1 - var(--p1) * 1.9); transform: translateY(calc(var(--p1) * -9svh)) scale(calc(1 + var(--p1) * .1)); }
.pared__titulo::before { content: ""; position: absolute; inset: 20% 0; z-index: -1; background: radial-gradient(closest-side, rgba(18, 14, 50, .82), transparent); }
.pared__titulo h2 { max-width: 15ch; text-shadow: 0 6px 30px rgba(0, 0, 0, .6); }
.pared__pista { display: flex; flex-direction: column; align-items: center; gap: .5rem; margin-top: 1.6rem; font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.pared__pista span { width: 2px; height: 34px; background: linear-gradient(var(--oro), transparent); transform-origin: top; animation: caer 1.8s ease-in-out infinite; }
.sat { --x: 50%; --y: 50%; --w: 20vw; --dx: 0vw; --dy: 0vh; --rot: 0deg; --dr: 0deg; position: absolute; z-index: 1; left: var(--x); top: var(--y); width: var(--w); translate: -50% -50%; overflow: hidden; border-radius: 12px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .18), 0 28px 50px -16px rgba(0, 0, 0, .75); opacity: calc(1 - var(--p1) * 1.15); transform: translate3d(calc(var(--p1) * var(--dx)), calc(var(--p1) * var(--dy)), 0) rotate(calc(var(--rot) + var(--p1) * var(--dr))) scale(calc(1 + var(--p1) * .3)); will-change: transform, opacity; }
.sat img { width: 100%; height: auto; animation: flotar 7s ease-in-out infinite; }
.sat--1 { --x: 27%; --y: 15%; --w: 44vw; --dx: -34vw; --dy: -22vh; --rot: -7deg; --dr: -12deg; }
.sat--2 { --x: 82%; --y: 22%; --w: 25vw; --dx: 30vw; --dy: -26vh; --rot: 8deg; --dr: 14deg; }
.sat--3 { --x: 13%; --y: 76%; --w: 26vw; --dx: -30vw; --dy: 24vh; --rot: -9deg; --dr: -12deg; }
.sat--4 { --x: 88%; --y: 72%; --w: 26vw; --dx: 30vw; --dy: 22vh; --rot: 10deg; --dr: 12deg; }
.sat--5 { --x: 62%; --y: 91%; --w: 40vw; --dx: 12vw; --dy: 30vh; --rot: 5deg; --dr: 9deg; }
.sat--6 { --x: 8%; --y: 43%; --w: 20vw; --dx: -28vw; --dy: 0vh; --rot: -5deg; --dr: -10deg; }
.sat--2 img { animation-delay: -1.5s; } .sat--3 img { animation-delay: -3s; } .sat--4 img { animation-delay: -4.5s; } .sat--5 img { animation-delay: -2s; } .sat--6 img { animation-delay: -5.5s; }
.central { position: absolute; z-index: 2; left: 50%; top: 45%; height: min(68svh, 116vw); aspect-ratio: 771 / 1024; translate: -50% -50%; overflow: hidden; border-radius: clamp(10px, 2vw, 22px); transform: scale(calc(.34 + var(--p1) * .66)) rotate(calc((1 - var(--p1)) * -9deg)); box-shadow: 0 0 0 1px rgba(255, 255, 255, .22), 0 50px 90px -22px rgba(0, 0, 0, .85), 0 0 calc(var(--p1) * 100px) rgba(246, 183, 46, calc(var(--p1) * .38)); will-change: transform; }
.central img { width: 100%; height: 100%; object-fit: cover; }
.pared__pie { position: absolute; left: 50%; bottom: calc(2.2svh + env(safe-area-inset-bottom)); z-index: 5; translate: -50% 0; width: min(580px, 100% - 1.6rem); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .7rem 1rem; padding: .85rem .9rem .85rem 1.2rem; border-radius: 22px; background: rgba(18, 14, 50, .72); border: 1px solid rgba(255, 255, 255, .2); backdrop-filter: blur(14px); opacity: var(--p2); transform: translateY(calc((1 - var(--p2)) * 26px)); }
.pared__pie-texto { display: grid; gap: .1rem; min-width: 0; }
.pared__pie-texto strong { font: 600 1.15rem/1.2 var(--f-display); }
.pared__pie-texto span { font-size: .82rem; color: rgba(255, 255, 255, .75); }
html.js .pared:not(.pared--fin) .pared__pie { visibility: hidden; pointer-events: none; }

/* ---------- 9. CATÁLOGO ---------- */
.catalogo { background: linear-gradient(180deg, var(--marfil), var(--marfil-2)); }
.filtros { display: grid; gap: .6rem; }
.filtros__grupo { display: flex; align-items: center; gap: .5rem; padding: .2rem 0 .4rem; overflow-x: auto; scrollbar-width: none; }
.filtros__grupo::-webkit-scrollbar { display: none; }
.filtros__etq { flex: none; min-width: 3.7rem; font-weight: 800; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--tinta-suave); }
.chip { flex: none; padding: .55rem 1.05rem; border: 1.5px solid rgba(23, 19, 59, .2); border-radius: 99px; background: #fff; color: var(--tinta); font-weight: 800; font-size: .9rem; transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease); }
.chip:hover { transform: translateY(-2px); border-color: var(--tinta); }
.chip[aria-pressed="true"] { background: var(--tinta); color: #fff; border-color: var(--tinta); }
.filtros__cuenta { margin: .8rem 0 0; font-size: .9rem; font-weight: 700; color: var(--tinta-suave); }
.cursos { display: grid; gap: 1.6rem; margin-top: 1.2rem; }
.curso { display: flex; flex-direction: column; overflow: hidden; border-radius: 26px; background: #fff; border: 1px solid rgba(23, 19, 59, .07); box-shadow: 0 1px 0 rgba(23, 19, 59, .05), 0 30px 50px -32px rgba(23, 19, 59, .5); }
.curso.entra { animation: entra .7s var(--ease) both; animation-delay: calc(var(--k, 0) * 60ms); }
.curso__media { position: relative; isolation: isolate; display: block; width: 100%; aspect-ratio: 4 / 4.7; padding: 0; overflow: hidden; border: 0; background: var(--noche); cursor: zoom-in; }
.curso__fondo { position: absolute; inset: -12%; z-index: -1; background: var(--img) center / cover; filter: blur(26px) saturate(1.4) brightness(.62); transform: scale(1.1); }
.curso__fondo--arte { background: var(--noche); filter: none; }
.curso__media > img { position: absolute; inset: 0; width: 100%; height: 100%; padding: 1rem; object-fit: contain; transition: transform .7s var(--ease); }
.curso__media:hover > img, .curso__media:focus-visible > img { transform: scale(1.05); }
.curso__precio { position: absolute; top: .9rem; right: .9rem; z-index: 2; display: grid; place-items: center; min-width: 58px; height: 58px; padding: 0 .4rem; border-radius: 50%; background: radial-gradient(circle at 30% 25%, #FFF2B8, #F6B72E 60%, #E49A0C); color: var(--tinta); font: 700 1.25rem/1 var(--f-display); box-shadow: 0 12px 22px -8px rgba(0, 0, 0, .55), inset 0 0 0 2px rgba(255, 255, 255, .4); animation: bamboleo 4.5s ease-in-out infinite; }
.curso__zoom { position: absolute; left: 50%; bottom: .9rem; z-index: 2; translate: -50% 0; display: inline-flex; align-items: center; gap: .4rem; padding: .45rem .9rem; border-radius: 99px; background: rgba(18, 14, 50, .82); backdrop-filter: blur(8px); color: #fff; font-weight: 800; font-size: .8rem; white-space: nowrap; opacity: 0; transform: translateY(10px); transition: opacity .3s, transform .4s var(--ease); }
.curso__media:hover .curso__zoom, .curso__media:focus-visible .curso__zoom { opacity: 1; transform: none; }
.curso__cuerpo { display: flex; flex-direction: column; flex: 1; gap: .55rem; padding: 1.3rem 1.4rem 1.5rem; }
.curso__titulo { font: 600 1.38rem/1.15 var(--f-display); letter-spacing: -.01em; }
.curso__texto { font-size: .96rem; color: var(--tinta-suave); }
.curso__precio-txt { margin-top: auto; padding-top: .4rem; font-size: .85rem; font-weight: 700; color: var(--tinta-suave); }
.curso__precio-txt b { font: 700 1.8rem/1 var(--f-display); color: var(--tinta); }
.curso__acciones { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .3rem; }
.vacio { display: grid; justify-items: center; gap: 1rem; margin-top: 2rem; padding: 2.5rem 1rem; text-align: center; border: 2px dashed rgba(23, 19, 59, .25); border-radius: 24px; font-weight: 700; }

/* Portada de «El código de tu alma» hecha con SVG (no hay flyer propio publicable) */
.arte { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(80% 60% at 50% 38%, #5B34D0, #1B1550 68%, #120E32); }
.arte svg { width: 84%; margin-top: -10%; overflow: visible; }
.arte__flor { transform-origin: 100px 100px; animation: girar-simple 70s linear infinite reverse; }
.arte__nums { transform-origin: 100px 100px; animation: girar-simple 50s linear infinite; }
.arte__titulo { position: absolute; left: 0; right: 0; bottom: 8%; text-align: center; font: 600 1.5rem/1.05 var(--f-display); color: #fff; text-shadow: 0 4px 18px rgba(0, 0, 0, .6); }
.arte__titulo::before { content: "Numerología pitagórica"; display: block; margin-bottom: .4rem; font: 800 .62rem/1 var(--f-texto); letter-spacing: .2em; text-transform: uppercase; color: var(--oro-claro); }

/* ---------- 10. TEXTO GIGANTE ---------- */
.gigante { position: relative; isolation: isolate; overflow: clip; padding: 4.5rem 0 5rem; background: radial-gradient(60% 80% at 50% 50%, rgba(108, 60, 224, .35), transparent 70%), var(--noche); color: #fff; }
.gigante__fila { font: italic 700 clamp(3.6rem, 17vw, 11rem)/1.04 var(--f-display); letter-spacing: -.02em; white-space: nowrap; color: transparent; -webkit-text-stroke: 1.6px rgba(255, 255, 255, .55); translate: calc(var(--sx, 0) * 1px) 0; will-change: translate; }
.gigante__fila--oro { margin-top: -.08em; margin-left: -150vw; color: var(--oro); -webkit-text-stroke: 0; }
.gigante__cta { position: relative; display: grid; justify-items: center; gap: 1.3rem; margin-top: 2.6rem; padding-inline: 1.4rem; text-align: center; }
.gigante__cta p { max-width: 30rem; font: italic 500 clamp(1.3rem, 4vw, 2rem)/1.25 var(--f-display); }

/* ---------- 11. CÓMO FUNCIONA ---------- */
.pasos-sec { background: radial-gradient(70% 40% at 85% 0%, rgba(108, 60, 224, .4), transparent 70%), radial-gradient(50% 40% at 0% 100%, rgba(246, 183, 46, .12), transparent 70%), var(--noche); }
.pasos { position: relative; display: grid; gap: 1.6rem; padding-left: 3.6rem; margin-top: 1rem; }
.linea { position: absolute; left: 1.3rem; top: 1.4rem; bottom: 1.4rem; width: 3px; border-radius: 3px; background: rgba(255, 255, 255, .14); }
.linea__fill { position: absolute; inset: 0; border-radius: 3px; transform-origin: top; transform: scaleY(var(--lp, 0)); background: linear-gradient(180deg, var(--oro), #FF9A5A, var(--violeta-claro)); box-shadow: 0 0 14px rgba(246, 183, 46, .6); }
.paso { position: relative; }
.paso__nodo { position: absolute; left: -3.6rem; top: .3rem; z-index: 2; display: grid; place-items: center; width: 2.7rem; height: 2.7rem; border-radius: 50%; background: var(--noche-2); border: 2px solid rgba(255, 255, 255, .28); color: rgba(255, 255, 255, .75); font: 700 1.1rem/1 var(--f-display); transition: background .5s, color .5s, border-color .5s, box-shadow .5s; }
.paso--activo .paso__nodo { background: var(--oro); border-color: var(--oro); color: var(--tinta); box-shadow: 0 0 0 8px rgba(246, 183, 46, .18), 0 0 34px rgba(246, 183, 46, .65); }
.paso__tarjeta { height: 100%; padding: 1.7rem 1.5rem; border-radius: 24px; background: linear-gradient(160deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .03)); border: 1px solid rgba(255, 255, 255, .15); backdrop-filter: blur(6px); }
.paso__tarjeta h3 { font: 600 1.45rem/1.15 var(--f-display); }
.paso__tarjeta p { margin-top: .6rem; color: rgba(255, 255, 255, .78); }
.paso__icono { width: 64px; height: 64px; margin-bottom: 1rem; fill: none; stroke: var(--oro); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.p1-a { animation: flotar 3.6s ease-in-out infinite; } .p1-b { animation: flotar 3.6s ease-in-out -1.8s infinite; }
.p1-c { stroke-dasharray: 40; animation: trazo 3.6s ease-in-out infinite; }
.p2-b { fill: var(--oro); stroke: none; animation: puntos 1.4s ease-in-out infinite; } .p2-b--2 { animation-delay: .2s; } .p2-b--3 { animation-delay: .4s; }
.p3-a { stroke-dasharray: 140; animation: trazo 4s ease-in-out infinite; }
.p3-b { fill: var(--oro); stroke: none; transform-origin: 34px 32px; animation: latido 1.8s ease-in-out infinite; }
.pasos__cta { display: grid; justify-items: center; margin-top: 3rem; }

/* ---------- 12. BENEFICIOS (bento) ---------- */
.porque { background: var(--marfil); }
.porque__blob { position: absolute; z-index: 0; border-radius: 50%; pointer-events: none; opacity: .6; translate: 0 var(--py, 0px); }
.porque__blob--1 { width: 360px; height: 360px; left: -140px; top: 8%; background: radial-gradient(circle, #FFD66E, transparent 70%); }
.porque__blob--2 { width: 440px; height: 440px; right: -180px; bottom: 4%; background: radial-gradient(circle, #B9A2FF, transparent 70%); }
.porque .contenedor { position: relative; z-index: 1; }
.bento { display: grid; gap: 1rem; }
.tile { position: relative; display: flex; flex-direction: column; gap: .5rem; padding: 1.7rem 1.6rem; overflow: hidden; border-radius: 28px; background: #fff; border: 1px solid rgba(23, 19, 59, .08); box-shadow: 0 30px 50px -36px rgba(23, 19, 59, .55); }
.tile h3 { font: 600 1.35rem/1.15 var(--f-display); }
.tile p { color: var(--tinta-suave); }
.tile__icono { width: 58px; height: 58px; margin-bottom: .7rem; fill: none; stroke: var(--violeta); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.tile__icono--doc { animation: flotar 4.5s ease-in-out infinite; }
.tile__icono .mano { transform-origin: 24px 24px; animation: girar-simple 6s linear infinite; }
.tile__icono--chat { animation: bamboleo 4s ease-in-out infinite; }
.tile__icono .onda { animation: parpadeo 2s ease-in-out infinite; }
.tile__icono--mapa circle { fill: rgba(108, 60, 224, .15); animation: respirar 3s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.tile--grande { justify-content: flex-end; min-height: 320px; color: #fff; border: 0; background: radial-gradient(100% 80% at 100% 0%, #6C3CE0, transparent 62%), linear-gradient(160deg, #2A1D7A, #120E32); }
.tile--grande p { color: rgba(255, 255, 255, .78); }
.tile__etq { font-weight: 800; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--oro-claro); }
.tile__monto { display: flex; margin: .2rem 0 auto; font: 700 clamp(7.5rem, 30vw, 11.5rem)/.8 var(--f-display); letter-spacing: -.05em; color: var(--oro); font-variant-numeric: lining-nums; }
.tile__monto sup { margin-top: .12em; font-size: .34em; }
.tile__moneda { position: absolute; right: -44px; top: -44px; width: 190px; height: 190px; border-radius: 50%; border: 2px dashed rgba(246, 183, 46, .55); animation: girar-simple 30s linear infinite; }
.tile__moneda::after { content: ""; position: absolute; inset: 24px; border-radius: 50%; border: 1px solid rgba(255, 214, 110, .4); }
.tile--oro { border: 0; background: radial-gradient(120% 90% at 0 0, #FFF4C4, transparent 55%), linear-gradient(160deg, #FFD66E, #F6B72E 60%, #E49A0C); }
.tile--oro .tile__icono { stroke: var(--tinta); }
.tile--oro p { color: rgba(23, 19, 59, .8); }

/* ---------- 13. PREGUNTAS ---------- */
.preguntas { position: relative; }
.preguntas::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 50% at 100% 0%, rgba(255, 214, 110, .18), transparent 70%); }
.preguntas .contenedor { position: relative; }
.faq { display: grid; gap: .8rem; }
.faq details { overflow: hidden; border-radius: 22px; background: rgba(255, 255, 255, .09); border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(6px); transition: background .3s; }
.faq details[open] { background: rgba(255, 255, 255, .16); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.2rem 1.4rem; font: 600 1.12rem/1.3 var(--f-display); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--oro); transition: transform .45s var(--ease); }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2.4px; margin: -1.2px 0 0 -6px; border-radius: 2px; background: var(--tinta); }
.faq summary i::after { transform: rotate(90deg); transition: transform .45s var(--ease); }
.faq details[open] summary i { transform: rotate(180deg); }
.faq details[open] summary i::after { transform: rotate(0); }
.faq details p { padding: 0 1.4rem 1.4rem; color: rgba(255, 255, 255, .86); animation: abrir .55s var(--ease); }
.faq__cta { margin-top: 1.8rem; text-align: center; color: rgba(255, 255, 255, .85); }

/* ---------- 14. CONTACTO ---------- */
.contacto { background: radial-gradient(80% 60% at 15% 0%, #2A1D7A 0%, transparent 60%), var(--noche); }
.contacto__canvas { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; opacity: .85; pointer-events: none; }
.contacto__aurora i { position: absolute; z-index: 0; border-radius: 50%; pointer-events: none; }
.contacto__aurora i:nth-child(1) { width: 80vmax; height: 80vmax; right: -40vmax; top: -30vmax; background: radial-gradient(circle, rgba(246, 183, 46, .2), transparent 62%); animation: aurora-b 24s ease-in-out infinite alternate; }
.contacto__aurora i:nth-child(2) { width: 70vmax; height: 70vmax; left: -40vmax; bottom: -40vmax; background: radial-gradient(circle, rgba(108, 60, 224, .5), transparent 62%); animation: aurora-a 28s ease-in-out infinite alternate; }
.contacto__in { position: relative; z-index: 1; display: grid; gap: 2.6rem; }
.canales { display: grid; gap: .8rem; margin-top: 2rem; }
.canales a { display: flex; align-items: center; gap: 1rem; padding: .9rem 1.1rem; border-radius: 20px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .17); text-decoration: none; transition: background .3s, translate .4s var(--ease); }
.canales a:hover { background: rgba(255, 255, 255, .14); translate: 6px 0; }
.canales__ic { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 15px; color: #fff; }
.canales__ic--wa { background: linear-gradient(145deg, #1DA851, #0E7A3F); }
.canales__ic--fb { background: #1877F2; }
.canales small { display: block; font-size: .74rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .62); }
.canales b { font: 600 1.2rem/1.2 var(--f-display); }
.nota-js { margin-top: 1rem; color: rgba(255, 255, 255, .8); }

.form { display: grid; gap: 1.1rem; padding: 1.7rem 1.4rem; border-radius: 30px; color-scheme: dark; background: linear-gradient(160deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .04)); border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(14px); box-shadow: 0 40px 80px -34px rgba(0, 0, 0, .7); }
.form__titulo { font: 600 1.7rem/1.1 var(--f-display); }
.campo { display: grid; gap: .4rem; }
.campo label { font-weight: 800; font-size: .86rem; letter-spacing: .03em; color: rgba(255, 255, 255, .85); }
.campo input, .campo select, .campo textarea { width: 100%; padding: .9rem 1rem; border: 1.5px solid rgba(255, 255, 255, .24); border-radius: 15px; background: rgba(10, 7, 32, .5); color: #fff; font-size: 1rem; transition: border-color .25s, box-shadow .25s, background .25s; }
.campo textarea { resize: vertical; min-height: 96px; }
.campo input::placeholder, .campo textarea::placeholder { color: rgba(255, 255, 255, .5); }
.campo input:focus, .campo select:focus, .campo textarea:focus { outline: none; border-color: var(--oro); background: rgba(10, 7, 32, .7); box-shadow: 0 0 0 4px rgba(246, 183, 46, .2); }
.campo.invalido input { border-color: #FF8D8D; }
.campo__error { min-height: 1em; font-size: .82rem; font-weight: 700; color: #FFB4B4; }
.form__nota { font-size: .82rem; color: rgba(255, 255, 255, .62); text-align: center; }
.form__ok { min-height: 1em; font-weight: 800; text-align: center; color: var(--oro-claro); }

/* ---------- 15. PIE, WHATSAPP Y VISOR ---------- */
.pie { padding: 3.5rem 0 6rem; background: #0B0824; color: rgba(255, 255, 255, .75); }
.pie__in { display: grid; gap: 2rem; }
.pie__marca p { margin-top: 1rem; max-width: 22rem; }
.pie__nav { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; font-weight: 700; }
.pie__nav a { text-decoration: none; transition: color .25s; }
.pie__nav a:hover { color: var(--oro-claro); }
.pie__redes { display: flex; gap: .7rem; }
.pie__redes a { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: rgba(255, 255, 255, .09); border: 1px solid rgba(255, 255, 255, .16); color: #fff; transition: background .3s, transform .3s var(--ease); }
.pie__redes a:hover { background: var(--oro); color: var(--tinta); transform: translateY(-3px); }
.pie__legal { display: grid; gap: .4rem; margin-top: 2.2rem; padding-top: 1.4rem; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .85rem; color: rgba(255, 255, 255, .6); }

.fab-whatsapp { position: fixed; right: max(1rem, env(safe-area-inset-right)); bottom: max(1rem, env(safe-area-inset-bottom)); z-index: 90; display: flex; align-items: center; justify-content: center; height: 60px; min-width: 60px; padding: 0 1rem; border-radius: 99px; background: linear-gradient(145deg, #1DA851, #0E7A3F); color: #fff; text-decoration: none; font-weight: 800; box-shadow: 0 16px 32px -10px rgba(14, 122, 63, .85), inset 0 1px 0 rgba(255, 255, 255, .35); transition: transform .6s var(--ease) .5s, box-shadow .3s; }
.fab-whatsapp .ic { width: 30px; height: 30px; }
.fab-whatsapp:hover { box-shadow: 0 22px 40px -10px rgba(14, 122, 63, 1), inset 0 1px 0 rgba(255, 255, 255, .35); }
.fab-whatsapp__pulso { position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: #1DA851; animation: pulso 2.4s ease-out infinite; }
.fab-whatsapp__tip { max-width: 0; overflow: hidden; opacity: 0; white-space: nowrap; font-size: .92rem; transition: max-width .5s var(--ease), opacity .3s, margin .3s; }
html.js:not(.listo) .fab-whatsapp { transform: scale(0); animation: aparecer-fab 0s linear 3.2s forwards; }

.visor { position: fixed; inset: 0; z-index: 500; display: grid; place-items: center; }
.visor__fondo { position: absolute; inset: 0; background: rgba(10, 7, 32, .88); backdrop-filter: blur(12px); opacity: 0; transition: opacity .45s; }
.visor.abierto .visor__fondo { opacity: 1; }
.visor__panel { position: relative; width: min(1100px, 100%); max-height: 100svh; overflow-y: auto; display: grid; gap: 1.2rem; padding: 4rem 1.1rem 1.6rem; color: #fff; }
.visor__cerrar { position: absolute; top: .9rem; right: .9rem; z-index: 3; display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 1px solid rgba(255, 255, 255, .3); border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; transition: background .3s, transform .4s var(--ease); }
.visor__cerrar:hover { background: var(--oro); color: var(--tinta); transform: rotate(90deg); }
.visor__media { display: grid; place-items: center; min-height: 0; }
.visor__media > img { width: auto; max-width: 100%; max-height: 58svh; border-radius: 16px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .2), 0 50px 90px -24px rgba(0, 0, 0, .9); transform-origin: center; }
.visor__media > .arte { position: relative; inset: auto; width: min(100%, 340px); aspect-ratio: 4 / 4.7; overflow: hidden; border-radius: 16px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .2), 0 50px 90px -24px rgba(0, 0, 0, .9); }
.visor__info { display: grid; gap: .8rem; align-content: center; opacity: 0; transform: translateY(18px); transition: opacity .5s .15s, transform .6s var(--ease) .15s; }
.visor.abierto .visor__info { opacity: 1; transform: none; }
.visor__info h3 { font: 600 clamp(1.7rem, 5vw, 2.6rem)/1.1 var(--f-display); letter-spacing: -.02em; }
.visor__precio { font: 700 2.2rem/1 var(--f-display); color: var(--oro-claro); }
.visor__precio small { font: 800 .9rem var(--f-texto); letter-spacing: .1em; opacity: .75; }
.visor__desc { color: rgba(255, 255, 255, .82); }
.visor__nav { display: flex; align-items: center; justify-content: space-between; gap: .6rem; margin-top: .4rem; font-size: .85rem; font-weight: 800; color: rgba(255, 255, 255, .65); }

/* ---------- 16. SISTEMA DE REVEAL (animaciones al hacer scroll) ---------- */
/* El estado oculto solo existe con JS (clase "js"). Si el script falla, un respaldo lo muestra a los 3.5 s. */
html.js .reveal { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0) * 110ms); }
html.js .reveal.visto { opacity: 1; transform: none; }
html.js .reveal.reveal-fin { transition: box-shadow .4s, translate .4s var(--ease), transform .4s; transition-delay: 0s; }
html.js:not(.js-ok) .reveal { animation: aparecer-seguro 0s linear 3.5s forwards; }
html.js .ticket.reveal { transform: translateY(46px) scale(.96); }
html.js .ticket.reveal.visto { transform: none; }

/* ---------- Animaciones ---------- */
@keyframes girar-simple { to { transform: rotate(360deg); } }
@keyframes girar { from { transform: rotateY(0); } to { transform: rotateY(-360deg); } }
@keyframes latido { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.12); } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(246, 183, 46, .75); } 80%, 100% { box-shadow: 0 0 0 12px rgba(246, 183, 46, 0); } }
@keyframes pulso { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(1.7); opacity: 0; } }
@keyframes brillo { 0%, 55% { transform: translateX(-130%); } 100% { transform: translateX(130%); } }
@keyframes respirar { 0%, 100% { transform: scale(1); opacity: .8; } 50% { transform: scale(1.08); opacity: 1; } }
@keyframes parpadeo { 0%, 100% { opacity: .25; transform: scale(.7); } 50% { opacity: 1; transform: scale(1.1); } }
@keyframes parpadeo-texto { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
@keyframes flotar { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes bamboleo { 0%, 100% { transform: rotate(8deg); } 50% { transform: rotate(-6deg) scale(1.05); } }
@keyframes moneda { 0%, 100% { transform: translateY(0) rotateY(-26deg); } 50% { transform: translateY(-18px) rotateY(26deg); } }
@keyframes aurora-a { to { transform: translate3d(12vmax, 8vmax, 0) scale(1.15); } }
@keyframes aurora-b { to { transform: translate3d(-10vmax, 12vmax, 0) scale(1.2); } }
@keyframes rejilla { to { background-position: 56px 56px; } }
@keyframes cinta { to { transform: translateX(-50%); } }
@keyframes rueda { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(12px); opacity: 0; } }
@keyframes caer { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
@keyframes trazo { 0% { stroke-dashoffset: 140; } 50%, 100% { stroke-dashoffset: 0; } }
@keyframes puntos { 0%, 100% { transform: translateY(0); opacity: .5; } 50% { transform: translateY(-5px); opacity: 1; } }
@keyframes entra { from { opacity: 0; transform: translateY(26px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes abrir { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@keyframes cargador-seguro { to { opacity: 0; visibility: hidden; pointer-events: none; } }
@keyframes aparecer-seguro { to { opacity: 1; transform: none; } }
@keyframes aparecer-fab { to { transform: none; } }

/* ---------- Pantallas medianas (≥ 700px) ---------- */
@media (min-width: 700px) {
  .escena { --cw: 168px; --ch: 260px; --r: 186px; height: 470px; }
  .hero__scroll { display: flex; }
  .cursos { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile--grande, .tile--ancho { grid-column: span 2; }
  .filtros { grid-template-columns: 1fr; }
  .form { padding: 2.2rem 2rem; }
  .fab-whatsapp:hover .fab-whatsapp__tip, .fab-whatsapp:focus-visible .fab-whatsapp__tip { max-width: 220px; opacity: 1; margin-left: .6rem; }
  .fab-whatsapp__tip { animation: tip 14s ease-in-out 6s infinite; }
  @keyframes tip { 0%, 6%, 100% { max-width: 0; opacity: 0; margin-left: 0; } 10%, 22% { max-width: 220px; opacity: 1; margin-left: .6rem; } 28% { max-width: 0; opacity: 0; margin-left: 0; } }
  .visor__panel { padding: 4.5rem 2rem 2rem; }
  .pie__in { grid-template-columns: 1.4fr 1fr auto; align-items: start; }
}

/* ---------- Escritorio (≥ 900px) ---------- */
@media (min-width: 900px) {
  .seccion { padding: 8rem 0; }
  .cabecera { padding: 1rem 1.4rem; }
  .cabecera__in { padding: .5rem .6rem .5rem 1.2rem; }
  .burger { display: none; }
  .menu { position: static; inset: auto; z-index: auto; flex-direction: row; align-items: center; justify-content: flex-end; gap: .4rem; padding: 0; background: none; opacity: 1; visibility: visible; transform: none; transition: none; }
  .menu a:not(.btn) { padding: .55rem .95rem; border: 0; border-radius: 99px; font: 800 .92rem/1 var(--f-texto); color: rgba(255, 255, 255, .85); transition: background .3s, color .3s; }
  .menu a:not(.btn):hover { background: rgba(255, 255, 255, .12); color: #fff; }
  .menu .btn { margin: 0 0 0 .6rem; align-self: auto; }
  .tickets { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
  .ticket--oro { translate: 0 -16px; }
  .bento { grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(220px, auto); }
  .tile--grande { grid-column: span 2; grid-row: span 2; }
  .tile--ancho { grid-column: span 2; }
  .pasos { grid-template-columns: repeat(3, 1fr); gap: 1.6rem; padding: 3.8rem 0 0; }
  .linea { left: 2%; right: 2%; top: 1.3rem; bottom: auto; width: auto; height: 3px; }
  .linea__fill { transform-origin: left; transform: scaleX(var(--lp, 0)); }
  .paso__nodo { left: 1.5rem; top: -3.85rem; }
  .contacto__in { grid-template-columns: 1fr 1fr; align-items: center; gap: 5rem; }
  .visor__panel { grid-template-columns: 1.05fr .95fr; align-items: center; gap: 3.5rem; overflow: visible; padding: 2rem 3rem; }
  .visor__media > img { max-height: 84svh; }
  .sat--1 { --x: 17%; --y: 24%; --w: 21vw; --dx: -22vw; --dy: -16vh; }
  .sat--2 { --x: 82%; --y: 26%; --w: 12vw; --dx: 22vw; --dy: -18vh; }
  .sat--3 { --x: 9%; --y: 72%; --w: 11vw; --dx: -22vw; --dy: 16vh; }
  .sat--4 { --x: 92%; --y: 68%; --w: 11vw; --dx: 22vw; --dy: 14vh; }
  .sat--5 { --x: 74%; --y: 86%; --w: 20vw; --dx: 16vw; --dy: 20vh; }
  .sat--6 { --x: 27%; --y: 84%; --w: 9vw; --dx: -14vw; --dy: 18vh; }
  .central { top: 47%; height: min(72svh, 120vw); }
  .gigante__fila--oro { margin-left: -45vw; }
}

@media (min-width: 1040px) {
  .hero__in { grid-template-columns: 1.02fr .98fr; gap: 3rem; }
  .escena { --cw: 208px; --ch: 320px; --r: 230px; height: 580px; }
  .cursos { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
}

/* ---------- 17. MOVIMIENTO REDUCIDO ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  html.js .reveal, html.js:not(.listo) .intro { opacity: 1 !important; transform: none !important; }
  html.js [data-split] .w-in { transform: none !important; }
  .anillo { animation: none; transform: rotateY(-30deg); }
  .cinta__pista { animation: none; }
  html.js .pared { height: auto; --p1: 1; --p2: 1; }
  html.js .pared__escenario { position: relative; }
  html.js .pared:not(.pared--fin) .pared__pie { visibility: visible; pointer-events: auto; }
  .sat img { animation: none; }
  .hero__canvas, .contacto__canvas { display: none; }
}
