/* Lexioon — línea gráfica v2 «Aprende en vivo, sin límites»
   Noche #0B132B · Azul eléctrico #1D4EDB · Violeta #8B3DFF · Lavanda #C7B7FF · Niebla #F3F4F6
   El degradado azul→violeta es de la marca (logo, «OO» infinito): va en formas, trazos y botones, nunca en texto.
   Tipos: Poppins (titulares, cifras, etiquetas) · Figtree (lectura). */

:root {
  --night: #0B132B;
  --night-2: #111B3B;
  --night-3: #1B2757;
  --blue: #1D4EDB;
  --blue-deep: #1639A8;
  --violet: #8B3DFF;
  --violet-deep: #6D24E0;
  --lavender: #C7B7FF;
  --lav-100: #EDE7FF;
  --lav-50: #F6F3FF;
  --mist: #F3F4F6;
  --paper: #FCFCFE;
  --text: #0B132B;
  --text-2: #465072;
  --muted: #6A7394;
  --line: #E3E5EE;
  --line-2: #CFD3E2;
  --on-dark: #E6E8F5;
  --on-dark-2: #A9B0D0;
  --live: #FF4D6D;
  --grad: linear-gradient(120deg, var(--blue) 0%, var(--violet) 100%);

  --f-display: "Poppins", ui-sans-serif, system-ui, sans-serif;
  --f-body: "Figtree", ui-sans-serif, system-ui, sans-serif;
  --f-serif: var(--f-display);
  --f-sans: var(--f-body);

  --fs-display: clamp(2.35rem, 1.3rem + 4.1vw, 4.5rem);
  --fs-h2: clamp(1.85rem, 1.25rem + 2.3vw, 3.05rem);
  --fs-h3: clamp(1.15rem, 1.05rem + .4vw, 1.35rem);
  --fs-lead: clamp(1.06rem, 1rem + .3vw, 1.22rem);

  --sec: clamp(64px, 3.4vw + 46px, 116px);
  --gutter: clamp(18px, 3vw, 32px);
  --wrap: 1200px;
  --r-sm: 12px; --r-md: 20px; --r-lg: 28px; --r-pill: 999px;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --shadow-soft: 0 1px 2px rgb(11 19 43 / .05), 0 14px 34px -14px rgb(29 78 219 / .22);
  --shadow-lift: 0 2px 6px rgb(11 19 43 / .06), 0 34px 70px -28px rgb(60 30 170 / .42);
  --glow: 0 12px 34px -10px rgb(139 61 255 / .55);
  --cut: 26px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--paper); color: var(--text); font-family: var(--f-body); font-size: 1.0625rem; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--lavender); color: var(--night); }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.i { width: 1.15em; height: 1.15em; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.i--fill { fill: currentColor; stroke: none; }

/* ---------- Tipografía ---------- */
h1, h2, h3, h4 { font-family: var(--f-display); color: var(--night); margin: 0; }
h1 { font-size: var(--fs-display); font-weight: 700; line-height: 1.04; letter-spacing: -.035em; text-wrap: balance; }
h2 { font-size: var(--fs-h2); font-weight: 700; line-height: 1.1; letter-spacing: -.03em; text-wrap: balance; }
h3 { font-size: var(--fs-h3); font-weight: 600; line-height: 1.25; letter-spacing: -.015em; }
p { margin: 0; text-wrap: pretty; }
.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--text-2); max-width: 58ch; }
.dark { background: var(--night); color: var(--on-dark); }
.dark h1, .dark h2, .dark h3, .dark h4 { color: #fff; }
.dark .lead { color: var(--on-dark-2); }
.num { font-family: var(--f-display); font-variant-numeric: lining-nums proportional-nums; }

.kicker { display: inline-flex; align-items: center; gap: 8px; justify-self: start; align-self: start; width: max-content; padding: 6px 14px 6px 10px; border-radius: var(--r-pill); background: var(--lav-100); color: var(--violet-deep); font-family: var(--f-display); font-size: .78rem; font-weight: 600; letter-spacing: .02em; }
.kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--grad); }
.dark .kicker { background: rgb(199 183 255 / .12); color: var(--lavender); }

/* palabra resaltada: marcador lavanda + trazo en degradado que se dibuja */
.ink-mark { position: relative; white-space: nowrap; font-style: normal; z-index: 0; }
.ink-mark::before { content: ""; position: absolute; left: -.08em; right: -.08em; top: .52em; bottom: .02em; background: var(--lav-100); border-radius: .16em; z-index: -1; transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease-out) .1s; }
.ink-mark.is-in::before, .is-on .ink-mark::before { transform: scaleX(1); }
.dark .ink-mark::before { background: rgb(139 61 255 / .38); }
.ink-mark svg { position: absolute; left: -2%; width: 104%; bottom: -.14em; height: .3em; overflow: visible; pointer-events: none; }
.ink-mark path { fill: none; stroke: url(#g-brand); stroke-width: 2.2; stroke-linecap: round; }
.dark .ink-mark path { stroke: var(--lavender); }
.sec-head { display: grid; gap: 16px; max-width: 760px; margin-bottom: clamp(32px, 4vw, 56px); }
.sec-head .lead { margin-top: 2px; }

/* ---------- Botones ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: var(--r-pill); border: 1.5px solid transparent; background: var(--night); color: #fff; font-family: var(--f-display); font-weight: 600; font-size: .98rem; text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out), background-position .4s var(--ease-out), border-color .2s, color .2s; }
.btn .i { width: 19px; height: 19px; transition: transform .25s var(--ease-out); }
.btn:hover .i--arrow { transform: translateX(4px); }
.btn:active { transform: scale(.97); }
.btn--primary { background: var(--grad); background-size: 160% 100%; background-position: 0 0; box-shadow: var(--glow); }
.btn--primary:hover { background-position: 100% 0; box-shadow: 0 16px 40px -10px rgb(139 61 255 / .7); }
.btn--ghost { background: #fff; color: var(--night); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--violet); color: var(--violet-deep); }
.btn--light { background: #fff; color: var(--night); }
.btn--light:hover { box-shadow: 0 14px 34px -12px rgb(255 255 255 / .55); }
.btn--line-light { background: transparent; color: #fff; border-color: rgb(255 255 255 / .4); }
.btn--line-light:hover { border-color: #fff; }
.btn--block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-display); font-weight: 600; color: var(--violet-deep); text-decoration: none; }
.link-arrow .i { width: 18px; height: 18px; transition: transform .25s var(--ease-out); }
.link-arrow:hover .i { transform: translateX(4px); }
.dark .link-arrow { color: var(--lavender); }

/* ---------- En vivo ---------- */
.live { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-display); font-size: .78rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.live__dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--live); flex: none; }
.live__dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--live); opacity: 0; animation: pulse 2s var(--ease-out) infinite; }
@keyframes pulse { 0% { transform: scale(.5); opacity: .9; } 100% { transform: scale(1.9); opacity: 0; } }

/* ---------- Marca ---------- */
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--night); }
.brand img { width: 30px; height: auto; }
.brand__word { display: grid; line-height: 1; }
.wm { display: inline-flex; align-items: center; font-family: var(--f-display); font-weight: 600; font-size: 1.12rem; letter-spacing: .14em; color: currentColor; }
.wm svg { width: 2.05em; height: .9em; margin: 0 .12em 0 0; overflow: visible; }
.wm path { fill: none; stroke: url(#g-brand); stroke-width: 11; stroke-linecap: round; }
.brand__tag { font-family: var(--f-body); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 5px; font-weight: 600; }
.foot .brand { color: #fff; }

/* ---------- Encabezado ---------- */
.site-head { position: sticky; top: 0; z-index: 50; background: rgb(252 252 254 / .82); backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px); border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s; }
.site-head.is-scrolled { border-color: var(--line); box-shadow: 0 10px 30px -24px rgb(11 19 43 / .5); }
.site-head__in { display: flex; align-items: center; gap: 24px; height: 74px; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.nav a:not(.btn) { padding: 10px 14px; border-radius: var(--r-pill); text-decoration: none; font-family: var(--f-display); font-size: .92rem; font-weight: 500; color: var(--text-2); transition: color .15s, background-color .15s; }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--violet-deep); background: var(--lav-50); }
.nav .btn { min-height: 46px; margin-left: 10px; padding: 0 20px; font-size: .92rem; }
.head-cta { display: none; }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; align-items: center; justify-content: center; cursor: pointer; }
@media (max-width: 900px) {
  .head-cta { display: inline-flex; margin-left: auto; min-height: 42px; padding: 0 16px; font-size: .88rem; gap: 7px; }
  .head-cta .i { width: 16px; height: 16px; }
  .nav-toggle { display: inline-flex; }
  .nav { position: fixed; inset: 74px 0 auto; margin: 0; flex-direction: column; align-items: stretch; gap: 2px; padding: 12px var(--gutter) 22px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 30px 50px -30px rgb(11 19 43 / .4); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s var(--ease-out), transform .2s var(--ease-out), visibility .2s; }
  .nav.is-open { opacity: 1; transform: none; visibility: visible; }
  .nav a:not(.btn) { padding: 14px 12px; font-size: 1.05rem; }
  .nav .btn { margin: 10px 0 0; min-height: 52px; }
}
@media (max-width: 440px) { .brand__tag { display: none; } }

/* ---------- Secciones y fondos ---------- */
.sec { padding-block: var(--sec); position: relative; }
.sec--mist { background: var(--mist); }
.sec--tight { padding-block: calc(var(--sec) * .7); }
.orb { position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none; z-index: 0; opacity: .5; }
.orb--blue { background: var(--blue); }
.orb--violet { background: var(--violet); }
.grid-bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; background-image: linear-gradient(rgb(199 183 255 / .08) 1px, transparent 1px), linear-gradient(90deg, rgb(199 183 255 / .08) 1px, transparent 1px); background-size: 44px 44px; -webkit-mask-image: radial-gradient(70% 70% at 50% 40%, #000, transparent); mask-image: radial-gradient(70% 70% at 50% 40%, #000, transparent); }
.sec > .wrap { position: relative; z-index: 1; }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; padding-block: clamp(24px, 4vw, 60px) clamp(64px, 7vw, 108px); overflow: clip; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(50% 60% at 85% 25%, rgb(139 61 255 / .14), transparent 70%), radial-gradient(40% 50% at 60% 90%, rgb(29 78 219 / .1), transparent 70%); }
.hero__grid { display: grid; grid-template-columns: 1fr 1.02fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__copy { display: grid; gap: 22px; align-content: center; }
.hero__copy > .live { justify-self: start; color: var(--night); background: #fff; border: 1px solid var(--line); padding: 8px 14px 8px 12px; border-radius: var(--r-pill); box-shadow: var(--shadow-soft); }
.hero__copy > .live .sep { width: 1px; height: 12px; background: var(--line-2); }
.hero__copy > .live b { font-weight: 500; text-transform: none; letter-spacing: 0; color: var(--text-2); }
.hero__title .line { display: block; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.proof { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 12px 26px; margin: 10px 0 0; padding: 20px 0 0; border-top: 1px solid var(--line); list-style: none; }
.proof li { display: flex; align-items: center; gap: 10px; font-size: .9rem; color: var(--text-2); line-height: 1.25; }
.proof .i { width: 38px; height: 38px; padding: 9px; border-radius: 13px; background: var(--lav-100); color: var(--violet-deep); }
.proof b { display: block; color: var(--night); font-family: var(--f-display); font-weight: 600; font-size: .92rem; }
.js .hero__title .line, .js .hero__reveal { opacity: 0; transform: translateY(22px); animation: rise .8s var(--ease-out) forwards; animation-delay: calc(var(--d, 0) * 1ms); }
@keyframes rise { to { opacity: 1; transform: none; } }

.hero__visual { position: relative; }
.hero__3d { position: absolute; z-index: 0; width: 112%; aspect-ratio: 2 / 1.05; right: -26%; top: -20%; pointer-events: none; }
.hero__3d img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 30px 40px rgb(76 40 200 / .25)); transition: opacity .6s; }
.hero__3d canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; }
.hero__3d.has-3d img { opacity: 0; }
.float-ico { position: absolute; z-index: 3; width: clamp(66px, 7vw, 104px); filter: drop-shadow(0 18px 24px rgb(40 30 140 / .25)); pointer-events: none; }
.float-ico img { width: 100%; height: auto; }

.classroom { position: relative; z-index: 2; border-radius: var(--r-lg); background: var(--night); padding: 10px; box-shadow: var(--shadow-lift); }
.classroom__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 6px 8px 12px; color: var(--on-dark-2); font-size: .8rem; }
.classroom__bar .live { color: #fff; }
.classroom__dots { display: flex; gap: 6px; }
.classroom__dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--night-3); }
.classroom__dots i:first-child { background: var(--violet); }
.classroom__meta { display: flex; align-items: center; gap: 14px; }
.classroom__stage { position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 3.3; background: var(--night-2); }
.classroom__stage > img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.classroom__stage::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgb(11 19 43 / .6)); pointer-events: none; }
.tile-teacher { position: absolute; top: 14px; right: 14px; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 7px 14px 7px 7px; border-radius: var(--r-pill); background: rgb(11 19 43 / .72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: #fff; font-size: .8rem; font-weight: 600; }
.tile-teacher img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--violet); }
.tile-teacher small { display: block; font-weight: 500; color: var(--on-dark-2); font-size: .72rem; }
.people { position: absolute; left: 14px; bottom: 14px; z-index: 2; display: flex; align-items: center; }
.people span { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-family: var(--f-display); font-size: .64rem; font-weight: 600; color: var(--night); background: var(--c, var(--lav-100)); border: 2px solid var(--night); margin-left: -8px; }
.people span:first-child { margin-left: 0; }
.people em { font-style: normal; margin-left: 10px; font-size: .76rem; font-weight: 600; color: #fff; }

.fix { position: absolute; z-index: 4; left: clamp(-60px, -3.4vw, -20px); bottom: clamp(-44px, -3vw, -28px); width: min(340px, 78%); }
.fix__card { position: relative; background: #fff; border-radius: var(--r-md); padding: 16px 18px 18px; box-shadow: var(--shadow-lift); border: 1px solid var(--line); }
.fix__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: .76rem; font-weight: 600; color: var(--muted); margin-bottom: 10px; }
.fix__head span { display: inline-flex; align-items: center; gap: 7px; color: var(--violet-deep); font-family: var(--f-display); }
.fix__head .i { width: 15px; height: 15px; }
.fix__slides { display: grid; }
.fix__slide { grid-area: 1 / 1; opacity: 0; transform: translateY(8px); visibility: hidden; transition: opacity .45s var(--ease-out), transform .45s var(--ease-out); }
.fix__slide.is-on { opacity: 1; transform: none; visibility: visible; }
.fix__wrong { position: relative; display: inline-block; font-size: 1.02rem; color: var(--muted); font-family: var(--f-display); }
.fix__wrong svg { position: absolute; left: -3%; top: 50%; width: 106%; height: 10px; transform: translateY(-40%); overflow: visible; }
.fix__wrong path { fill: none; stroke: var(--live); stroke-width: 2; stroke-linecap: round; }
.fix__right { display: block; margin-top: 4px; font-family: var(--f-display); font-size: 1.28rem; font-weight: 700; letter-spacing: -.02em; color: var(--night); line-height: 1.25; }
.fix__right .ink-mark path { stroke-width: 4; }
.fix__note { margin-top: 10px; font-size: .86rem; color: var(--text-2); line-height: 1.4; }
.fix__progress { display: flex; gap: 5px; margin-top: 14px; }
.fix__progress i { height: 4px; flex: 1; border-radius: 4px; background: var(--lav-100); overflow: hidden; position: relative; cursor: pointer; }
.fix__progress i::after { content: ""; position: absolute; inset: 0; background: var(--grad); transform: scaleX(0); transform-origin: left; }
.fix__progress i.is-done::after { transform: scaleX(1); }
.fix__progress i.is-on::after { animation: fill var(--dur, 5200ms) linear forwards; }
@keyframes fill { to { transform: scaleX(1); } }
.fix__fig { width: 100%; height: 52px; }
.fix__fig path { fill: none; stroke-linecap: round; stroke-linejoin: round; }

.draw { stroke-dasharray: var(--l, 100); stroke-dashoffset: var(--l, 100); }
.is-on .draw, .is-in .draw, .draw.is-in { animation: draw var(--t, 900ms) var(--ease-io) forwards; animation-delay: var(--dl, 0ms); }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- La diferencia (grabado vs en vivo) ---------- */
.diff { overflow: clip; }
.diff .orb--violet { width: 520px; height: 520px; right: -140px; top: 10%; }
.diff .orb--blue { width: 420px; height: 420px; left: -160px; bottom: -10%; opacity: .32; }
.diff__grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(20px, 3vw, 40px); align-items: stretch; }
.panel { position: relative; border-radius: var(--r-lg); padding: clamp(18px, 2.4vw, 28px); display: grid; gap: 18px; align-content: start; }
.panel--rec { background: rgb(255 255 255 / .04); border: 1px solid rgb(255 255 255 / .08); }
.panel--live { background: linear-gradient(160deg, rgb(29 78 219 / .24), rgb(139 61 255 / .24)); border: 1px solid rgb(199 183 255 / .3); box-shadow: 0 40px 80px -40px rgb(139 61 255 / .6); }
.panel__label { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-family: var(--f-display); font-size: .8rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--on-dark-2); }
.panel__label span { display: inline-flex; align-items: center; gap: 8px; }
.panel--live .panel__label { color: #fff; }
.panel ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.panel li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: start; font-size: 1rem; line-height: 1.4; color: var(--on-dark-2); }
.panel--live li { color: #fff; }
.panel li .i { width: 30px; height: 30px; padding: 6px; border-radius: 10px; }
.panel--rec li .i { background: rgb(255 255 255 / .06); color: #7C84A8; }
.panel--live li .i { background: var(--grad); color: #fff; }
.panel li small { display: block; color: var(--on-dark-2); font-size: .86rem; margin-top: 2px; }

.player { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 16 / 9.6; background: #151D3A; }
.player img { width: 100%; height: 100%; object-fit: cover; opacity: .45; filter: grayscale(1) contrast(.9); }
.player__play { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: rgb(255 255 255 / .14); display: grid; place-items: center; color: #fff; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.player__play .i { width: 24px; height: 24px; margin-left: 3px; }
.player__bar { position: absolute; left: 14px; right: 14px; bottom: 14px; display: grid; gap: 8px; }
.player__track { height: 5px; border-radius: 5px; background: rgb(255 255 255 / .2); overflow: hidden; }
.player__track i { display: block; height: 100%; width: 12%; background: #C3C8DD; border-radius: 5px; }
.player__meta { display: flex; justify-content: space-between; font-size: .74rem; color: rgb(255 255 255 / .7); font-family: var(--f-display); }
.stamp { position: absolute; top: 14px; left: 14px; padding: 6px 12px; border-radius: var(--r-pill); background: rgb(11 19 43 / .8); color: #C3C8DD; font-family: var(--f-display); font-size: .74rem; font-weight: 600; }

.liveroom { position: relative; border-radius: 16px; overflow: hidden; background: var(--night-2); display: grid; grid-template-columns: 1.3fr 1fr; min-height: 260px; }
.liveroom__video { position: relative; min-height: 220px; }
.liveroom__video img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.liveroom__video .live { position: absolute; left: 12px; top: 12px; color: #fff; background: rgb(11 19 43 / .72); padding: 6px 10px; border-radius: var(--r-pill); }
.wave { position: absolute; left: 12px; bottom: 12px; display: flex; gap: 3px; align-items: end; height: 26px; padding: 6px 8px; border-radius: 10px; background: rgb(11 19 43 / .72); }
.wave i { width: 3px; border-radius: 3px; background: var(--lavender); height: 30%; animation: wave .9s var(--ease-io) infinite alternate; }
.wave i:nth-child(2) { animation-delay: -.3s; } .wave i:nth-child(3) { animation-delay: -.6s; } .wave i:nth-child(4) { animation-delay: -.15s; } .wave i:nth-child(5) { animation-delay: -.45s; }
@keyframes wave { to { height: 100%; } }
.chat { display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: 12px; background: rgb(255 255 255 / .03); }
.msg { padding: 8px 11px; border-radius: 14px 14px 14px 4px; background: rgb(255 255 255 / .1); color: #fff; font-size: .8rem; line-height: 1.35; }
.msg b { display: block; font-family: var(--f-display); font-size: .68rem; font-weight: 600; color: var(--lavender); margin-bottom: 2px; }
.msg--prof { background: var(--grad); border-radius: 14px 14px 4px 14px; }
.msg--prof b { color: #fff; opacity: .85; }
.js .chat .msg { opacity: 0; transform: translateY(10px) scale(.96); }
.chat.is-in .msg { animation: pop .45s var(--ease-out) forwards; }
.chat.is-in .msg:nth-child(2) { animation-delay: .8s; } .chat.is-in .msg:nth-child(3) { animation-delay: 1.6s; } .chat.is-in .msg:nth-child(4) { animation-delay: 2.4s; }
@keyframes pop { to { opacity: 1; transform: none; } }

/* ---------- Programas ---------- */
.prog-head { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: end; margin-bottom: clamp(28px, 4vw, 48px); }
.prog-head .sec-head { margin-bottom: 0; }
.area-cloud { position: relative; width: clamp(280px, 32vw, 420px); height: clamp(180px, 19vw, 240px); }
.area-cloud img { position: absolute; filter: drop-shadow(0 16px 22px rgb(40 30 140 / .22)); }
.area-cloud img:nth-child(1) { left: 0; top: 22%; width: 34%; }
.area-cloud img:nth-child(2) { left: 25%; top: -8%; width: 32%; }
.area-cloud img:nth-child(3) { left: 50%; top: 32%; width: 30%; }
.area-cloud img:nth-child(4) { right: 0; top: -4%; width: 30%; }

.finder { display: grid; grid-template-columns: .8fr 1.2fr; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); overflow: hidden; margin-bottom: clamp(40px, 5vw, 64px); box-shadow: var(--shadow-soft); }
.finder__intro { position: relative; overflow: hidden; padding: clamp(24px, 3vw, 40px); background: var(--night); color: var(--on-dark); display: grid; align-content: space-between; gap: 20px; }
.finder__intro .kicker { background: rgb(199 183 255 / .12); color: var(--lavender); }
.finder__intro h3 { color: #fff; font-size: clamp(1.5rem, 1.2rem + 1vw, 2.05rem); font-weight: 700; letter-spacing: -.03em; margin-top: 12px; }
.finder__intro p { color: var(--on-dark-2); margin-top: 10px; }
.finder__intro .orb { width: 280px; height: 280px; right: -100px; bottom: -120px; opacity: .65; }
.finder__intro > :not(.orb) { position: relative; z-index: 1; }
.finder__steps { display: flex; gap: 8px; }
.finder__steps i { width: 30px; height: 5px; border-radius: 5px; background: rgb(255 255 255 / .18); transition: background .3s; }
.finder__steps i.is-on { background: var(--lavender); }
.finder__body { padding: clamp(22px, 3vw, 36px); min-height: 300px; display: grid; }
.finder__panel { display: none; gap: 14px; align-content: start; }
.finder__panel.is-on { display: grid; animation: rise .45s var(--ease-out) both; }
.finder__q { font-family: var(--f-display); font-weight: 600; color: var(--night); font-size: 1.1rem; }
.finder__opts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.opt { position: relative; display: flex; align-items: center; gap: 14px; text-align: left; padding: 12px 16px 12px 12px; min-height: 84px; border-radius: 18px; border: 1.5px solid var(--line); background: #fff; cursor: pointer; font-family: var(--f-display); font-weight: 600; color: var(--night); line-height: 1.25; transition: border-color .2s, box-shadow .25s var(--ease-out), transform .25s var(--ease-out); }
.opt:hover { border-color: var(--violet); box-shadow: 0 16px 30px -18px rgb(139 61 255 / .6); transform: translateY(-3px); }
.opt:active { transform: scale(.98); }
.opt img { width: 58px; height: 58px; object-fit: contain; flex: none; transition: transform .35s var(--ease-out); }
.opt:hover img { transform: scale(1.12) rotate(-6deg); }
.opt .i { width: 40px; height: 40px; padding: 9px; border-radius: 13px; background: var(--lav-100); color: var(--violet-deep); }
.opt small { display: block; font-family: var(--f-body); font-weight: 500; color: var(--muted); font-size: .82rem; margin-top: 3px; }
.finder__back { justify-self: start; background: none; border: 0; padding: 6px 0; color: var(--muted); font-size: .9rem; cursor: pointer; display: inline-flex; gap: 6px; align-items: center; }
.finder__back:hover { color: var(--violet-deep); }
.match { display: grid; grid-template-columns: 140px 1fr; gap: 22px; align-items: center; }
.match img { width: 140px; height: 140px; object-fit: cover; border-radius: 20px; }
.match__k { font-family: var(--f-display); font-size: .78rem; font-weight: 600; color: var(--violet-deep); }
.match h4 { font-size: 1.4rem; font-weight: 700; letter-spacing: -.02em; color: var(--night); margin: 4px 0 6px; line-height: 1.2; }
.match p { color: var(--text-2); font-size: .96rem; }
.match__row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 18px; border-radius: var(--r-pill); border: 1.5px solid var(--line); background: #fff; font-family: var(--f-display); font-size: .9rem; font-weight: 500; color: var(--text-2); cursor: pointer; transition: all .2s; }
.chip:hover { color: var(--night); border-color: var(--line-2); }
.chip[aria-pressed="true"] { background: var(--night); color: #fff; border-color: var(--night); }
.chip b { font-weight: 600; font-size: .76rem; opacity: .6; }
.programs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.prog[hidden] { display: none; }
.prog a { position: relative; display: grid; grid-template-rows: auto 1fr; height: 100%; border-radius: var(--r-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); text-decoration: none; color: inherit; transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), border-color .2s; }
.prog a:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); border-color: var(--lavender); }
.prog__media { position: relative; display: block; aspect-ratio: 16 / 10; }
.prog__media > span { position: absolute; inset: 0; overflow: hidden; clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%); }
.prog__thumb { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease-out); }
.prog a:hover .prog__thumb { transform: scale(1.06); }
.prog__ico { position: absolute; right: 16px; bottom: -22px; width: 76px; z-index: 2; filter: drop-shadow(0 12px 16px rgb(40 30 140 / .3)); transition: transform .45s var(--ease-out); }
.prog a:hover .prog__ico { transform: translateY(-6px) rotate(-8deg) scale(1.06); }
.prog__body { display: grid; gap: 8px; align-content: start; padding: 20px 22px 22px; }
.prog__area { display: flex; align-items: center; gap: 8px; font-family: var(--f-display); font-size: .78rem; font-weight: 600; color: var(--violet-deep); }
.prog__n { color: var(--muted); font-weight: 500; }
.prog__t { font-family: var(--f-display); font-size: 1.2rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; color: var(--night); padding-right: 64px; }
.prog__o { color: var(--text-2); font-size: .95rem; line-height: 1.45; }
.prog__foot { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-top: 8px; padding-top: 14px; border-top: 1px dashed var(--line-2); }
.prog__meta { display: grid; gap: 4px; font-size: .84rem; color: var(--muted); }
.prog__meta span { display: inline-flex; align-items: center; gap: 6px; }
.prog__meta .i { width: 15px; height: 15px; }
.prog__price { text-align: right; }
.prog__price small { display: block; font-size: .72rem; color: var(--muted); }
.prog__price b { font-family: var(--f-display); font-size: 1.15rem; font-weight: 700; color: var(--night); }

/* ---------- Del boceto al personaje ---------- */
.sketch { overflow: clip; }
.sketch__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.sketch__stage { position: relative; aspect-ratio: 1 / 1; border-radius: var(--r-lg); background-color: #fff; border: 1px solid var(--line); overflow: hidden; box-shadow: var(--shadow-soft); background-image: radial-gradient(circle, #DADDEA 1.2px, transparent 1.3px); background-size: 22px 22px; }
.sketch__layer { position: absolute; inset: 0; }
.sketch__layer img { position: absolute; left: 50%; top: 50%; height: 86%; width: auto; max-width: none; transform: translate(-50%, -50%); }
.sketch__layer--line, .sketch__layer--color { clip-path: inset(0 100% 0 0); }
.sketch__wand { position: absolute; z-index: 4; top: 0; bottom: 0; width: 3px; left: 0; background: var(--grad); box-shadow: 0 0 22px var(--violet); opacity: 0; }
.sketch__tag { position: absolute; left: 16px; top: 16px; z-index: 5; }
.sketch__steps { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 10px; }
.sketch__steps li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center; padding: 12px 14px; border-radius: 18px; border: 1.5px solid var(--line); background: #fff; transition: border-color .3s, box-shadow .3s, transform .3s var(--ease-out); }
.sketch__steps li.is-on { border-color: var(--violet); box-shadow: 0 14px 28px -18px rgb(139 61 255 / .7); transform: translateX(6px); }
.sketch__steps b { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--lav-100); color: var(--violet-deep); font-family: var(--f-display); font-weight: 700; transition: background .3s, color .3s; }
.sketch__steps li.is-on b { background: var(--grad); color: #fff; }
.sketch__steps strong { display: block; font-family: var(--f-display); font-weight: 600; color: var(--night); }
.sketch__steps span { font-size: .9rem; color: var(--text-2); }

/* ---------- Método ---------- */
.method { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.method__media { position: relative; }
.method__media > img { width: 100%; aspect-ratio: 4 / 4.3; object-fit: cover; object-position: 34% 50%; border-radius: var(--r-lg); clip-path: polygon(0 0, calc(100% - 48px) 0, 100% 48px, 100% 100%, 0 100%); }
.method__stamp { position: absolute; right: -18px; bottom: 30px; background: #fff; border-radius: var(--r-md); padding: 16px 20px; box-shadow: var(--shadow-lift); display: grid; gap: 2px; max-width: 230px; }
.method__stamp b { font-family: var(--f-display); font-size: 2.4rem; font-weight: 700; letter-spacing: -.03em; line-height: 1; color: var(--violet-deep); }
.method__stamp span { font-size: .88rem; color: var(--text-2); line-height: 1.35; }
.steps { list-style: none; margin: 28px 0 0; padding: 0; display: grid; position: relative; }
.steps::before { content: ""; position: absolute; left: 23px; top: 16px; bottom: 16px; width: 2px; background: var(--line); }
.step { display: grid; grid-template-columns: 48px 1fr; gap: 18px; padding: 12px 0; position: relative; }
.step__n { width: 48px; height: 48px; border-radius: 16px; background: #fff; border: 1.5px solid var(--line-2); display: grid; place-items: center; color: var(--violet-deep); position: relative; z-index: 1; transition: background .4s, color .4s, border-color .4s, transform .4s var(--ease-out); }
.step.is-in .step__n { background: var(--grad); border-color: transparent; color: #fff; transform: rotate(-6deg); }
.step__n .i { width: 22px; height: 22px; }
.step h3 { font-size: 1.15rem; margin-top: 10px; }
.step p { color: var(--text-2); margin-top: 4px; font-size: .98rem; max-width: 50ch; }

/* ---------- Certificado ---------- */
.cert { overflow: clip; }
.cert .orb--violet { width: 560px; height: 560px; right: -120px; top: -10%; }
.cert .orb--blue { width: 380px; height: 380px; left: 30%; bottom: -30%; opacity: .32; }
.cert__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 5vw, 80px); align-items: center; }
.cert__list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 14px; }
.cert__list li { display: grid; grid-template-columns: 38px 1fr; gap: 12px; align-items: center; color: var(--on-dark); line-height: 1.45; }
.cert__list .i { width: 38px; height: 38px; padding: 9px; border-radius: 12px; background: rgb(199 183 255 / .12); color: var(--lavender); }
.cert__try { margin-top: 28px; display: grid; gap: 10px; max-width: 470px; }
.cert__try label { font-family: var(--f-display); font-size: .88rem; font-weight: 600; color: var(--lavender); }
.cert__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.field { width: 100%; min-height: 52px; border-radius: 14px; border: 1.5px solid rgb(255 255 255 / .16); background: rgb(255 255 255 / .06); color: #fff; padding: 0 16px; font-size: 1rem; transition: border-color .2s, background-color .2s; }
.field::placeholder { color: #8E96BA; }
.field:focus { outline: none; border-color: var(--lavender); background: rgb(255 255 255 / .1); }
select.field { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='%23C7B7FF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
select.field option { color: var(--night); }
.doc-stage { perspective: 1400px; }
.doc { position: relative; aspect-ratio: 1.414 / 1; width: 100%; border-radius: 10px; background: #fff; color: var(--night); box-shadow: 0 50px 90px -40px rgb(0 0 0 / .8), 0 0 0 1px rgb(255 255 255 / .1); transform: rotateX(4deg) rotateY(-9deg) rotateZ(1.2deg); transition: transform .9s var(--ease-out); overflow: hidden; container-type: inline-size; }
.doc::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 50% at 100% 0%, rgb(139 61 255 / .09), transparent 70%), radial-gradient(50% 50% at 0% 100%, rgb(29 78 219 / .07), transparent 70%); }
.doc-stage:hover .doc { transform: rotateX(0) rotateY(-3deg) rotateZ(.4deg); }
.doc__border { position: absolute; inset: 3.2cqw; width: calc(100% - 6.4cqw); height: calc(100% - 6.4cqw); }
.doc__border path, .doc__border rect { fill: none; }
.doc__in { position: absolute; inset: 9cqw 10cqw; display: grid; grid-template-rows: auto auto 1fr auto; text-align: center; }
.doc__brand { display: flex; align-items: center; justify-content: center; gap: 1.6cqw; }
.doc__brand img { width: 3.4cqw; }
.doc__brand .wm { font-size: 2.3cqw; }
.doc__type { font-family: var(--f-display); font-size: 5.4cqw; font-weight: 700; letter-spacing: -.02em; margin-top: 2.2cqw; color: var(--night); }
.doc__body { align-self: center; display: grid; gap: 1.2cqw; }
.doc__small { font-size: 1.5cqw; letter-spacing: .14em; text-transform: uppercase; color: #6A7394; font-weight: 600; }
.doc__name { font-family: var(--f-display); font-size: 5cqw; font-weight: 600; line-height: 1.15; letter-spacing: -.02em; color: var(--night); min-height: 1.15em; padding-bottom: .6cqw; border-bottom: .2cqw solid var(--lavender); margin-inline: 8cqw; }
.doc__name.is-empty { color: #B9BED3; font-weight: 500; }
.doc__prog { font-family: var(--f-display); font-size: 2.8cqw; font-weight: 700; color: var(--violet-deep); line-height: 1.2; }
.doc__detail { font-size: 1.6cqw; color: #56607f; line-height: 1.5; }
.doc__foot { display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 3cqw; }
.doc__sign { display: grid; gap: .8cqw; font-size: 1.3cqw; color: #6A7394; letter-spacing: .06em; text-transform: uppercase; font-weight: 600; }
.doc__sign svg { width: 100%; height: 4.2cqw; }
.doc__sign svg path { fill: none; stroke: var(--night-3); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.doc__sign i { display: block; height: .14cqw; background: #C9CEDF; }
.doc__seal { width: 13.5cqw; height: 13.5cqw; margin-bottom: -1.5cqw; }
.doc__seal text { font-family: var(--f-display); font-weight: 600; letter-spacing: .2em; fill: #fff; }
.seal-spin { transform-origin: 50% 50%; animation: spin 36s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Inscripción ---------- */
.cohort { display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; margin: 0; padding: 0; position: relative; }
.cohort::before { content: ""; position: absolute; top: 29px; left: 12.5%; right: 12.5%; height: 3px; border-radius: 3px; background: var(--line); }
.cohort::after { content: ""; position: absolute; top: 29px; left: 12.5%; right: 12.5%; height: 3px; border-radius: 3px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease-io) .2s; }
.cohort.is-in::after { transform: scaleX(1); }
.cohort li { display: grid; justify-items: center; text-align: center; gap: 10px; padding: 0 14px; position: relative; }
.cohort__dot { width: 60px; height: 60px; border-radius: 20px; display: grid; place-items: center; background: #fff; border: 1.5px solid var(--line-2); color: var(--violet-deep); position: relative; z-index: 1; font-family: var(--f-display); font-weight: 700; font-size: 1.25rem; transform: rotate(-4deg); }
.cohort li:last-child .cohort__dot { background: var(--grad); color: #fff; border-color: transparent; box-shadow: var(--glow); }
.cohort h3 { font-size: 1.1rem; }
.cohort p { color: var(--text-2); font-size: .94rem; max-width: 28ch; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: clamp(40px, 5vw, 64px); }
.fact { position: relative; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 2.6vw, 30px); display: grid; gap: 8px; align-content: start; }
.fact:first-child { background: var(--night); border-color: var(--night); color: var(--on-dark); }
.fact:first-child .fact__v { color: #fff; }
.fact:first-child p { color: var(--on-dark-2); }
.fact:first-child .fact__k { color: var(--lavender); }
.fact__k { display: flex; align-items: center; gap: 10px; color: var(--violet-deep); font-family: var(--f-display); font-weight: 600; font-size: .9rem; }
.fact__k .i { width: 20px; height: 20px; }
.fact__v { font-family: var(--f-display); font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem); font-weight: 700; letter-spacing: -.03em; color: var(--night); line-height: 1.1; }
.fact p { color: var(--text-2); font-size: .95rem; }

/* ---------- Profes ---------- */
.faculty { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.fac { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px 22px 26px; display: grid; gap: 12px; align-content: start; transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out); }
.fac:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); }
.fac__ico { width: 66px; height: 66px; object-fit: contain; filter: drop-shadow(0 10px 14px rgb(40 30 140 / .2)); }
.fac__area { font-family: var(--f-display); font-size: .78rem; font-weight: 600; color: var(--violet-deep); }
.fac h3 { font-size: 1.08rem; line-height: 1.3; }
.fac ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.fac li { display: grid; grid-template-columns: 18px 1fr; gap: 8px; font-size: .92rem; color: var(--text-2); line-height: 1.4; }
.fac li .i { width: 17px; height: 17px; color: var(--violet); margin-top: 2px; }

/* ---------- Preguntas ---------- */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.faq__list { display: grid; gap: 10px; }
.qa { border: 1.5px solid var(--line); border-radius: 18px; background: #fff; transition: border-color .2s, box-shadow .25s; }
.qa[open] { border-color: var(--lavender); box-shadow: 0 16px 30px -24px rgb(139 61 255 / .6); }
.qa summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 20px; cursor: pointer; font-family: var(--f-display); font-weight: 600; font-size: 1.02rem; color: var(--night); line-height: 1.35; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary .i { width: 30px; height: 30px; padding: 6px; border-radius: 10px; background: var(--lav-50); color: var(--violet-deep); transition: transform .3s var(--ease-out), background .2s; flex: none; }
.qa[open] summary .i { transform: rotate(180deg); background: var(--grad); color: #fff; }
.qa__a { padding: 0 20px 20px; color: var(--text-2); line-height: 1.6; max-width: 68ch; }
.qa[open] .qa__a { animation: rise .35s var(--ease-out) both; }
.qa__a p + p { margin-top: 10px; }

/* ---------- Llamado final ---------- */
.cta-band { position: relative; overflow: clip; background: var(--grad); color: #fff; }
.cta-band h2 { color: #fff; }
.cta-band .lead { color: rgb(255 255 255 / .86); }
.cta-band .kicker { background: rgb(255 255 255 / .16); color: #fff; }
.cta-band .kicker::before { background: #fff; }
.cta-band .ink-mark::before { background: rgb(11 19 43 / .22); }
.cta-band .ink-mark path { stroke: #fff; }
.cta-band__in { display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; align-items: end; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
.cta-band__loop { position: absolute; right: -6%; top: 50%; width: min(640px, 64vw); transform: translateY(-50%); opacity: .2; pointer-events: none; z-index: 0; }
.cta-band__loop path { fill: none; stroke: #fff; stroke-width: 9; stroke-linecap: round; }
.cta-band__comet { stroke-dasharray: 24 76; animation: comet 7s linear infinite; }
@keyframes comet { to { stroke-dashoffset: -100; } }
.cta-band > .wrap { position: relative; z-index: 1; }

/* ---------- Pie ---------- */
.foot { background: var(--night); color: var(--on-dark-2); padding-block: 64px 32px; font-size: .94rem; }
.foot a { text-decoration: none; }
.foot a:hover { color: #fff; }
.foot__grid { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 32px; }
.foot .brand__tag { color: #8E96BA; }
.foot h4 { margin: 0 0 14px; font-size: .8rem; color: var(--lavender); font-weight: 600; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot li a { display: inline-flex; align-items: center; gap: 8px; }
.foot li .i { width: 17px; height: 17px; }
.foot__about { margin-top: 16px; max-width: 34ch; line-height: 1.5; }
.powered { display: inline-flex; align-items: center; gap: 12px; margin-top: 20px; padding: 8px 16px 8px 8px; border-radius: var(--r-pill); border: 1px solid rgb(255 255 255 / .12); background: rgb(255 255 255 / .04); color: #fff; text-decoration: none; transition: border-color .25s, background-color .25s, transform .3s var(--ease-out); }
.powered:hover { border-color: var(--lavender); background: rgb(199 183 255 / .08); transform: translateY(-2px); }
.powered img { width: 30px; height: 30px; border-radius: 9px; flex: none; }
.powered span { display: grid; line-height: 1.2; }
.powered small { font-size: .72rem; color: var(--on-dark-2); }
.powered b { font-family: var(--f-display); font-size: .95rem; font-weight: 600; color: #fff; }
.powered .i { width: 16px; height: 16px; color: var(--lavender); }
.powered:hover .i { transform: translateX(3px); }
.qa__a a { color: var(--violet-deep); font-weight: 600; }
.foot__legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgb(255 255 255 / .1); display: grid; gap: 8px; font-size: .82rem; color: #8E96BA; line-height: 1.5; }

/* ---------- Página de curso ---------- */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .88rem; color: var(--muted); margin-bottom: 22px; }
.crumbs a { text-decoration: none; color: var(--text-2); }
.crumbs a:hover { color: var(--violet-deep); }
.c-hero { position: relative; isolation: isolate; padding-block: clamp(20px, 3vw, 44px) clamp(48px, 6vw, 88px); overflow: clip; }
.c-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(45% 55% at 92% 8%, rgb(139 61 255 / .14), transparent 70%), radial-gradient(35% 40% at 40% 0%, rgb(29 78 219 / .08), transparent 70%); }
.c-hero__grid { display: grid; grid-template-columns: 1fr 380px; gap: clamp(32px, 4vw, 64px); align-items: start; }
.c-hero__copy { display: grid; gap: 20px; position: relative; }
.c-hero__ico { position: absolute; right: 0; top: -6px; width: clamp(84px, 9vw, 128px); filter: drop-shadow(0 18px 24px rgb(40 30 140 / .25)); }
.c-hero__label { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tag { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; padding: 0 14px; border-radius: var(--r-pill); background: var(--lav-100); color: var(--violet-deep); font-family: var(--f-display); font-size: .8rem; font-weight: 600; }
.tag--gold { background: var(--night); color: #fff; }
.tag .i { width: 15px; height: 15px; }
.c-hero h1 { font-size: clamp(2.2rem, 1.4rem + 3.2vw, 3.9rem); padding-right: clamp(0px, 9vw, 120px); }
.specs { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 12px 30px; padding: 18px 0; border-block: 1px solid var(--line); margin: 4px 0 0; list-style: none; }
.specs li { display: grid; gap: 2px; }
.specs small { font-size: .78rem; color: var(--muted); }
.specs b { font-family: var(--f-display); font-size: 1rem; color: var(--night); font-weight: 600; }
.c-hero__photo { margin-top: 8px; position: relative; }
.c-hero__photo img { width: 100%; aspect-ratio: 16 / 9.4; object-fit: cover; border-radius: var(--r-lg); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 56px), calc(100% - 56px) 100%, 0 100%); }
.c-hero__photo .live { position: absolute; left: 16px; top: 16px; color: #fff; background: rgb(11 19 43 / .72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); padding: 8px 12px; border-radius: var(--r-pill); }

.price { position: sticky; top: 96px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; box-shadow: var(--shadow-lift); display: grid; gap: 18px; overflow: hidden; }
.price::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--grad); }
.price__k { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.price__amt { display: grid; gap: 4px; }
.price__amt b { font-family: var(--f-display); font-size: 2.6rem; font-weight: 700; letter-spacing: -.04em; color: var(--night); line-height: 1; }
.price__amt b sup { font-size: .5em; vertical-align: .75em; margin-right: 2px; }
.price__amt span { font-size: .9rem; color: var(--text-2); }
.price__per { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: var(--lav-50); font-size: .92rem; color: var(--text-2); }
.price__per b { color: var(--night); font-family: var(--f-display); }
.price__per .i { color: var(--violet); width: 18px; height: 18px; }
.price__inc { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.price__inc li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: .94rem; color: var(--text); line-height: 1.35; }
.price__inc .i { width: 19px; height: 19px; color: var(--violet); margin-top: 1px; }
.price__actions { display: grid; gap: 10px; }
.price__note { font-size: .84rem; color: var(--muted); line-height: 1.45; }
.price__note b { color: var(--text-2); }

.outcomes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; list-style: none; margin: 0; padding: 0; counter-reset: o; }
.outcomes li { counter-increment: o; display: grid; gap: 12px; align-content: start; padding: 22px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); font-family: var(--f-display); font-size: 1rem; font-weight: 500; color: var(--night); line-height: 1.4; }
.outcomes li::before { content: counter(o, decimal-leading-zero); width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; background: var(--grad); color: #fff; font-size: .9rem; font-weight: 700; }

.fit { display: grid; grid-template-columns: 1.1fr .9fr; gap: 16px; }
.fit__col { border-radius: var(--r-lg); padding: clamp(24px, 3vw, 34px); display: grid; gap: 14px; align-content: start; }
.fit__col--yes { background: #fff; border: 1.5px solid var(--lavender); }
.fit__col--no { background: transparent; border: 1.5px dashed var(--line-2); }
.fit__col h3 { display: flex; align-items: center; gap: 10px; font-size: 1.2rem; }
.fit__col h3 .i { width: 32px; height: 32px; padding: 7px; border-radius: 10px; background: var(--grad); color: #fff; }
.fit__col--no h3 .i { background: var(--mist); color: var(--muted); }
.fit ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.fit li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; color: var(--text-2); line-height: 1.45; }
.fit li .i { width: 18px; height: 18px; margin-top: 3px; color: var(--violet); }
.fit__col--no li .i { color: var(--muted); }
.fit li a { color: var(--violet-deep); font-weight: 600; }
.fit__quote { margin-top: 6px; padding-top: 16px; border-top: 1px solid var(--line); font-family: var(--f-display); font-weight: 500; color: var(--night); font-size: 1rem; line-height: 1.45; }
.fit__quote span { display: block; margin-top: 6px; font-family: var(--f-body); font-weight: 500; font-size: .8rem; color: var(--muted); }

.syllabus { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.syllabus__aside { position: sticky; top: 104px; display: grid; gap: 18px; }
.meter { display: grid; gap: 10px; margin-top: 6px; }
.meter__bar { height: 8px; border-radius: 8px; background: var(--lav-100); overflow: hidden; }
.meter__bar i { display: block; height: 100%; width: 100%; background: var(--grad); transform-origin: left; transform: scaleX(var(--p, 0)); transition: transform .15s linear; }
.meter__txt { font-size: .9rem; color: var(--text-2); }
.meter__txt b { color: var(--night); font-family: var(--f-display); }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 25px; top: 8px; bottom: 8px; width: 3px; border-radius: 3px; background: var(--line); }
.timeline__fill { position: absolute; left: 25px; top: 8px; width: 3px; height: calc(100% - 16px); background: var(--grad); transform-origin: top; transform: scaleY(var(--p, 0)); border-radius: 3px; }
.lesson { display: grid; grid-template-columns: 52px 1fr; gap: 22px; padding: 0 0 20px; position: relative; }
.lesson:last-child { padding-bottom: 0; }
.lesson__n { width: 52px; height: 52px; border-radius: 17px; display: grid; place-items: center; background: #fff; border: 1.5px solid var(--line-2); font-family: var(--f-display); font-weight: 700; font-size: 1.05rem; color: var(--muted); position: relative; z-index: 1; transition: all .35s var(--ease-out); }
.lesson.is-past .lesson__n { background: var(--grad); border-color: transparent; color: #fff; transform: rotate(-5deg); }
.lesson--final .lesson__n { border-color: var(--violet); color: var(--violet-deep); }
.lesson__card { padding: 16px 20px 18px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); transition: border-color .3s; }
.lesson.is-past .lesson__card { border-color: var(--lav-100); }
.lesson__k { font-family: var(--f-display); font-size: .76rem; font-weight: 600; color: var(--violet-deep); }
.lesson h3 { font-size: clamp(1.08rem, 1rem + .35vw, 1.26rem); margin: 4px 0 10px; }
.lesson__topics { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.lesson__topics li { font-size: .85rem; padding: 5px 11px; border-radius: var(--r-pill); background: var(--lav-50); color: var(--text-2); }
.lesson__topics li:nth-child(n+4):not(.lesson__more) { display: none; }
.lesson__topics.is-open li { display: list-item; }
.lesson__topics.is-open .lesson__more { display: none; }
.lesson__more { background: transparent !important; border: 1.5px dashed var(--lavender); }
.lesson__more button { all: unset; cursor: pointer; font-weight: 600; color: var(--violet-deep); }
.lesson__do { margin-top: 12px; display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: .95rem; color: var(--text); line-height: 1.45; }
.lesson__do .i { width: 18px; height: 18px; color: var(--violet); margin-top: 2px; }
.lesson__do b { font-family: var(--f-display); font-weight: 600; color: var(--night); }

.hour { display: grid; gap: 12px; padding: 18px; border-radius: var(--r-md); background: var(--lav-50); }
.hour__k { display: flex; align-items: center; gap: 8px; font-family: var(--f-display); font-size: .88rem; font-weight: 600; color: var(--night); }
.hour__k .i { width: 17px; height: 17px; color: var(--violet); }
.hour__bar { display: flex; gap: 3px; height: 14px; border-radius: 8px; overflow: hidden; }
.hour__bar i { display: block; min-width: 6px; transform-origin: left; }
.js .hour__bar i { transform: scaleX(0); transition: transform .7s var(--ease-out); }
.js .hour.is-in .hour__bar i { transform: none; }
.hour.is-in .hour__bar i:nth-child(2) { transition-delay: .12s; } .hour.is-in .hour__bar i:nth-child(3) { transition-delay: .24s; }
.hour.is-in .hour__bar i:nth-child(4) { transition-delay: .36s; } .hour.is-in .hour__bar i:nth-child(5) { transition-delay: .48s; }
.hour__legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.hour__legend li { display: grid; grid-template-columns: 10px 54px 1fr; gap: 8px; align-items: baseline; font-size: .82rem; color: var(--text-2); line-height: 1.35; }
.hour__legend span { width: 10px; height: 10px; border-radius: 3px; transform: translateY(1px); }
.hour__legend b { color: var(--night); font-family: var(--f-display); font-weight: 600; }

.project { position: relative; overflow: hidden; display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 3vw, 40px); align-items: center; border-radius: var(--r-lg); padding: clamp(26px, 3.6vw, 48px); background: var(--night); color: var(--on-dark); }
.project .orb { width: 380px; height: 380px; right: -100px; top: -140px; }
.project > :not(.orb) { position: relative; z-index: 1; }
.project__icon { width: 84px; height: 84px; border-radius: 26px; display: grid; place-items: center; background: var(--grad); color: #fff; box-shadow: var(--glow); transform: rotate(-6deg); }
.project__icon .i { width: 38px; height: 38px; stroke-width: 1.7; }
.project .kicker { background: rgb(199 183 255 / .12); color: var(--lavender); }
.project h2 { font-size: clamp(1.6rem, 1.3rem + 1.1vw, 2.3rem); color: #fff; margin: 10px 0; }
.project p { max-width: 62ch; line-height: 1.55; color: var(--on-dark-2); }

.kit { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(24px, 4vw, 64px); padding: clamp(24px, 3vw, 40px); border-radius: var(--r-lg); border: 1px solid var(--line); background: #fff; align-items: start; }
.kit__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 24px; }
.kit__list li { display: grid; grid-template-columns: 20px 1fr; gap: 8px; font-size: .94rem; color: var(--text); line-height: 1.35; }
.kit__list .i { width: 17px; height: 17px; color: var(--violet); margin-top: 1px; }

.mini-cert { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: center; }
.mini-cert .doc { transform: rotate(-1.5deg); }

.related { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.rel { display: grid; grid-template-columns: 120px 1fr; gap: 18px; align-items: center; padding: 14px; border-radius: var(--r-md); border: 1px solid var(--line); background: #fff; text-decoration: none; transition: border-color .2s, transform .35s var(--ease-out), box-shadow .35s; }
.rel:hover { border-color: var(--lavender); transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.rel img { width: 120px; height: 100px; object-fit: cover; border-radius: 14px; }
.rel small { font-family: var(--f-display); font-size: .78rem; font-weight: 600; color: var(--violet-deep); }
.rel b { display: block; font-family: var(--f-display); font-size: 1.1rem; color: var(--night); font-weight: 700; letter-spacing: -.02em; line-height: 1.25; margin: 4px 0; }
.rel span { font-size: .9rem; color: var(--text-2); }

.mbar { position: fixed; z-index: 45; left: 0; right: 0; bottom: 0; display: none; align-items: center; justify-content: space-between; gap: 12px; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: rgb(255 255 255 / .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .3s var(--ease-out); }
.mbar.is-on { transform: none; }
.mbar__p { display: grid; line-height: 1.15; }
.mbar__p small { font-size: .74rem; color: var(--muted); }
.mbar__p b { font-family: var(--f-display); font-size: 1.15rem; font-weight: 700; color: var(--night); }
.mbar .btn { min-height: 48px; padding: 0 18px; }

#modusuite-widget-host { position: fixed; inset: auto 0 0 auto; width: 0; height: 0; z-index: 44; transform: translateY(0); transition: transform .3s var(--ease-out); }

/* ---------- Revelado ---------- */
.js [data-rv] { opacity: 0; transform: translateY(18px); transition: opacity .55s var(--ease-out), transform .55s var(--ease-out); transition-delay: calc(var(--i, 0) * 80ms); }
.js [data-rv].is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .programs { grid-template-columns: repeat(2, 1fr); }
  .faculty { grid-template-columns: repeat(2, 1fr); }
  .c-hero__grid { grid-template-columns: 1fr 340px; }
  .outcomes { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .hero__grid, .method, .cert__grid, .faq, .syllabus, .mini-cert, .finder, .diff__grid, .c-hero__grid, .sketch__grid { grid-template-columns: 1fr; }
  .hero__grid { gap: 22px; }
  .hero__copy { display: contents; }
  .hero__copy > .live { order: 1; }
  .hero__title { order: 2; }
  .hero__visual { order: 3; margin-top: 10px; }
  .hero__copy > .lead { order: 4; }
  .hero__actions { order: 5; }
  .proof { order: 6; grid-template-columns: 1fr; gap: 12px; }
  .hero__title, .hero__copy > .live { position: relative; z-index: 3; }
  .hero__3d { width: 88%; right: -26%; top: -7%; opacity: .9; }
  .float-ico { width: 60px; }
  .classroom { padding: 8px; }
  .classroom__stage { aspect-ratio: 4 / 3; }
  .fix { position: relative; left: auto; bottom: auto; width: auto; margin: -34px 10px 4px; }
  .hero { padding-bottom: 56px; }
  .prog-head { grid-template-columns: 1fr; }
  .area-cloud { width: 100%; max-width: 380px; height: 180px; }
  .liveroom { grid-template-columns: 1fr; }
  .liveroom__video { aspect-ratio: 16 / 10; min-height: 0; }
  .cohort { grid-template-columns: 1fr 1fr; gap: 32px 0; }
  .cohort::before, .cohort::after { display: none; }
  .facts { grid-template-columns: 1fr; }
  .method__media { order: -1; }
  .method__stamp { right: 12px; }
  .syllabus__aside { position: static; }
  .price { position: relative; top: auto; }
  .c-hero__aside { order: 3; }
  .cta-band__in { grid-template-columns: 1fr; }
  .cta-band__actions { justify-content: flex-start; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .foot__grid > :first-child { grid-column: 1 / -1; }
  .mbar { display: flex; }
  body.has-mbar { padding-bottom: 76px; }
  body:has(.mbar.is-on) #modusuite-widget-host { transform: translateY(calc(-68px - env(safe-area-inset-bottom))); }
  .project { grid-template-columns: 1fr; }
  .related, .fit { grid-template-columns: 1fr; }
  .doc { transform: rotate(-1.2deg); }
  .kit { grid-template-columns: 1fr; }
  .sketch__stage { max-width: 520px; }
}
@media (max-width: 640px) {
  .nav .btn span.long { display: none; }
  .hero__actions .btn { flex: 1 1 100%; }
  .finder__opts { grid-template-columns: 1fr; }
  .match { grid-template-columns: 1fr; }
  .match img { width: 100%; height: 170px; }
  .programs, .outcomes { grid-template-columns: 1fr; }
  .specs { grid-template-columns: 1fr 1fr; gap: 14px 20px; }
  .faculty, .facts { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin-inline: calc(-1 * var(--gutter)); padding: 2px var(--gutter) 12px; scrollbar-width: none; }
  .faculty::-webkit-scrollbar, .facts::-webkit-scrollbar { display: none; }
  .fac, .fact { flex: 0 0 82%; scroll-snap-align: start; }
  .cert__fields { grid-template-columns: 1fr; }
  .cohort { grid-template-columns: 1fr; gap: 0; }
  .cohort li { grid-template-columns: 60px 1fr; justify-items: start; text-align: left; gap: 4px 16px; padding: 12px 0; }
  .cohort li .cohort__dot { grid-row: span 2; }
  .cohort p { max-width: none; }
  .rel { grid-template-columns: 96px 1fr; }
  .rel img { width: 96px; height: 88px; }
  .method__media > img { aspect-ratio: 4 / 3.2; }
  .method__stamp { position: relative; right: auto; bottom: auto; margin: -44px 0 0 16px; max-width: 250px; }
  .kit__list { grid-template-columns: 1fr; }
  .lesson { gap: 14px; grid-template-columns: 44px 1fr; }
  .lesson__n { width: 44px; height: 44px; border-radius: 14px; font-size: .95rem; }
  .timeline::before, .timeline__fill { left: 21px; }
  .lesson__card { padding: 14px 16px 16px; }
  .c-hero__ico { width: 70px; top: 46px; }
  .c-hero h1 { padding-right: 62px; }
  .panel li small { display: none; }
  .player { aspect-ratio: 16 / 7.5; }
  .liveroom__video { aspect-ratio: 16 / 8; }
  .programs { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin-inline: calc(-1 * var(--gutter)); padding: 4px var(--gutter) 16px; scrollbar-width: none; }
  .programs::-webkit-scrollbar { display: none; }
  .prog { flex: 0 0 84%; scroll-snap-align: start; }
  .prog a:hover { transform: none; }
  .area-cloud { height: 150px; max-width: 320px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js [data-rv], .js .hero__title .line, .js .hero__reveal, .js .chat .msg { opacity: 1; transform: none; }
  .draw { stroke-dashoffset: 0; }
  .seal-spin { animation: none; }
  .sketch__layer--line, .sketch__layer--color { clip-path: none; }
  .sketch__layer--line { display: none; }
}
