/* Método IA · landing v3 — colores de mauroaguirre.com (teal y azul noche) */
:root {
  --paper: #f6f8fb;
  --paper-2: #e8f1f0;
  --card: #ffffff;
  --ink: #0f1b33;
  --ink-2: #3d4a63;
  --ink-3: #16264a;
  --accent: #0f9d8a;
  --accent-2: #0b7d6e;
  --sky: #c9f1e6;
  --cyan: #5fd3c0;
  --coral: #e8582c;
  --sun: #ffc83d;
  --rule: rgba(15, 27, 51, .16);
  --shadow: 6px 6px 0 var(--ink);
  --radius: 14px;
  --pad: clamp(16px, 4.5vw, 64px);
  --max: 1240px;
  --display: "Archivo", "Arial Narrow", Impact, sans-serif;
  --body: "Lexend", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--body);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
body::after { /* grano sutil */
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
[hidden] { display: none !important; }
img, video, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--accent); color: #fff; }

.wrap { width: min(100%, var(--max)); margin-inline: auto; padding-inline: var(--pad); }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 200; padding: .6rem 1rem; background: var(--ink); color: #fff; border-radius: 8px; }
.skip-link:focus { top: 1rem; }

/* ---------- tipografía ---------- */
.display {
  font-family: var(--display);
  font-stretch: 66%;
  font-weight: 900;
  text-transform: uppercase;
  line-height: .86;
  letter-spacing: -.005em;
}
.mono { font-family: var(--mono); font-weight: 500; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; }
mark {
  background: var(--accent);
  color: #fff;
  padding: 0 .1em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.h2 { font-size: clamp(2.6rem, 6.4vw, 5.6rem); max-width: 16ch; }
.h2-xl { font-size: clamp(3.4rem, 10vw, 9rem); }
.h3 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
.h4 { font-size: 1.9rem; }
.kicker { display: flex; align-items: center; gap: .8rem; margin-bottom: 1.2rem; color: var(--accent); }
.kicker::after { content: ""; width: 72px; height: 2px; background: currentColor; }
.kicker-sky { color: var(--sky); }

/* ---------- botones, chips, tags ---------- */
.btn {
  --bg: var(--card);
  --fg: var(--ink);
  --sh: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 3.4rem;
  padding: .85rem 1.5rem;
  border: 2px solid var(--ink);
  border-radius: 10px;
  background: var(--bg);
  color: var(--fg);
  box-shadow: 4px 4px 0 var(--sh);
  font: 800 1.05rem/1 var(--display);
  font-stretch: 85%;
  letter-spacing: .02em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background-color .2s;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--sh); }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--sh); }
.btn-accent { --bg: var(--accent); --fg: #fff; }
.btn-accent:hover { --bg: var(--accent-2); }
.btn-paper { --bg: var(--card); }
.btn-ink { --bg: var(--ink); --fg: #fff; }
.btn-sm { min-height: 2.6rem; padding: .55rem 1rem; font-size: .9rem; box-shadow: 3px 3px 0 var(--sh); }
.chip {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin: 0 0 1.4rem;
  padding: .45rem .8rem;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--card);
  box-shadow: 3px 3px 0 var(--ink);
  font: 600 .72rem/1 var(--mono);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.dot { width: .55rem; height: .55rem; border-radius: 50%; background: var(--coral); animation: ping 1.8s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(255, 77, 103, .7); } 70%, 100% { box-shadow: 0 0 0 .5rem rgba(255, 77, 103, 0); } }
.tag {
  display: inline-block;
  padding: .3rem .55rem;
  border: 2px solid var(--ink);
  border-radius: 6px;
  background: var(--sky);
  font: 600 .7rem/1 var(--mono);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.tag-accent { background: var(--accent); color: #fff; }

/* ---------- cabecera ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; border-bottom: 2px solid transparent; transition: background-color .3s, border-color .3s; }
.site-header.is-solid { background: rgba(246, 248, 251, .92); border-color: var(--ink); backdrop-filter: blur(8px); }
.header-inner { display: flex; align-items: center; gap: 1.5rem; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  box-shadow: 2px 2px 0 var(--ink);
  font: 900 1.05rem/1 var(--display);
  transition: transform .4s var(--ease);
}
.brand:hover .brand-mark { transform: rotate(-12deg) scale(1.08); }
.brand-name { font: 900 1.15rem/1 var(--display); font-stretch: 70%; text-transform: uppercase; }
.brand-sub { padding-left: .6rem; border-left: 2px solid var(--rule); font: 500 .68rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.site-nav { display: flex; gap: 1.6rem; margin-left: auto; }
.site-nav a { position: relative; font: 600 .74rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.site-nav a:hover::after { transform: scaleX(1); }

/* ---------- portada ---------- */
.hero { position: relative; overflow-x: clip; }
.hero-sticky { display: flex; align-items: center; min-height: 100vh; min-height: 100svh; padding: 110px 0 60px; overflow: clip; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(var(--rule) 1px, transparent 1px), linear-gradient(90deg, var(--rule) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 70% 40%, #000 0 35%, transparent 75%);
  opacity: .6;
}
.hero::after { /* halo azul */
  content: "";
  position: absolute;
  right: 0;
  top: 5%;
  width: 60vw;
  height: 70vh;
  pointer-events: none;
  background: radial-gradient(closest-side, rgba(15, 157, 138, .16), transparent);
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(1.5rem, 4vw, 4rem); }
.hero h1 { font-size: clamp(3.6rem, 10.5vw, 9.6rem); margin-bottom: 1.6rem; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero h1 .line > span { display: inline-block; }
.hero h1 mark { padding: 0 .12em; }
.hero-lede { max-width: 34rem; font-size: clamp(1.02rem, 1.4vw, 1.18rem); color: var(--ink-2); }
.hero-buy { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; margin: 1.8rem 0 1.4rem; }
.price { display: flex; flex-direction: column; margin: 0; }
.price strong { font: 900 2.8rem/.9 var(--display); font-stretch: 66%; }
.price strong span { font-size: .5em; color: var(--accent); }
.price small { font: 500 .68rem/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.hero-free { display: inline-flex; align-items: center; gap: .6rem; font-weight: 600; font-size: .95rem; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .3em; }
.hero-free:hover { text-decoration-color: var(--accent); }

[data-intro] { animation: rise .95s var(--ease) both; animation-delay: calc(var(--d, 0) * 90ms + 120ms); }
.hero h1 [data-intro] { animation-name: lineUp; animation-duration: 1.05s; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } }
@keyframes lineUp { from { transform: translateY(105%) rotate(4deg); } }

/* escena 3D: el short por capas */
.hero-scene { --p: 0; --e: calc(1 - var(--p)); --sw: clamp(210px, 21vw, 280px); display: flex; flex-direction: column; align-items: center; animation: rise 1s var(--ease) .45s both; }
.scene-head { display: flex; justify-content: space-between; gap: 1rem; width: min(100%, 26rem); padding-bottom: .7rem; margin-bottom: 1rem; border-bottom: 2px solid var(--ink); }
.scene-count b { color: var(--accent); }
.stage3d { position: relative; width: var(--sw); height: calc(var(--sw) * 16 / 9); perspective: 1500px; margin: calc(var(--sw) * .08) 0; }
.stack {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transform: translateY(calc(var(--e) * 6%)) rotateX(calc(var(--e) * 56deg)) rotateZ(calc(var(--e) * -36deg)) scale(calc(1 - var(--e) * .1));
}
.plane {
  position: absolute;
  inset: 0;
  border-radius: calc(var(--sw) * .11);
  transform: translateZ(calc((var(--i) - 2) * var(--sw) * .27 * var(--e)));
  transform-style: preserve-3d;
}
.plane::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px dashed rgba(15, 157, 138, .7);
  border-radius: inherit;
  background: rgba(196, 224, 255, .2);
  opacity: var(--e);
  pointer-events: none;
}
.plane-tag {
  position: absolute;
  left: -.6rem;
  top: -1.1rem;
  z-index: 2;
  padding: .32rem .55rem;
  border: 2px solid var(--ink);
  border-radius: 6px;
  background: var(--c);
  color: var(--t, var(--ink));
  box-shadow: 2px 2px 0 var(--ink);
  font: 600 .66rem/1 var(--mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: clamp(0, calc(var(--e) * 1.6 - .2), 1);
}
.plane-voice .plane-tag, .plane-frame .plane-tag { left: auto; right: -.6rem; }

.plane-script .script-card { position: absolute; inset: 0; padding: 14% 11%; border: 2px solid var(--ink); border-radius: inherit; background: var(--card); box-shadow: 4px 4px 0 var(--ink); overflow: hidden; }
.script-label { margin: 0 0 .6rem; font-size: .6rem; color: var(--accent); }
.script-line { margin: 0 0 .5rem; font-size: calc(var(--sw) * .052); line-height: 1.35; }
.script-card .bar { display: block; width: var(--w); height: .42rem; margin: .5rem 0; border-radius: 4px; background: var(--paper-2); }
.script-card .bar:nth-of-type(4) { margin-bottom: 1.4rem; }

.plane-video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; background: var(--ink); }

.plane-voice .wave { position: absolute; left: 12%; right: 12%; bottom: 17%; display: flex; align-items: center; justify-content: center; gap: 3px; height: 2.4rem; padding: 0 .7rem; border: 2px solid var(--ink); border-radius: 999px; background: var(--coral); box-shadow: 2px 2px 0 var(--ink); }
.wave i { flex: 1; max-width: 4px; height: 30%; border-radius: 2px; background: #fff; animation: wave 1.1s ease-in-out infinite; }
.wave i:nth-child(3n) { animation-duration: .8s; }
.wave i:nth-child(4n+1) { animation-duration: 1.3s; animation-delay: -.4s; }
.wave i:nth-child(5n+2) { animation-delay: -.7s; }
@keyframes wave { 50% { height: 85%; } }

.plane-subs .sub-line {
  position: absolute;
  left: 8%;
  right: 8%;
  top: 56%;
  margin: 0;
  text-align: center;
  font: 900 calc(var(--sw) * .088)/1.02 var(--display);
  font-stretch: 72%;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 2px 0 var(--ink), 2px 0 0 var(--ink), -2px 0 0 var(--ink), 0 -2px 0 var(--ink), 3px 3px 0 var(--ink);
}
.plane-subs .sub-line mark { text-shadow: none; border: 2px solid var(--ink); border-radius: 4px; }

.plane-frame .frame-progress, .plane-frame .frame-handle, .plane-frame .frame-notch { position: absolute; }
.plane-frame::after { content: ""; position: absolute; inset: calc(var(--sw) * -.04); border: calc(var(--sw) * .04) solid var(--ink); border-radius: calc(var(--sw) * .15); box-shadow: 8px 8px 0 rgba(15, 157, 138, .35); }
.frame-notch { top: 2.4%; left: 50%; width: 30%; height: 3.4%; transform: translateX(-50%); border-radius: 999px; background: var(--ink); }
.frame-handle { left: 0; right: 0; bottom: 6%; text-align: center; color: rgba(255, 255, 255, .55); font-size: .6rem; }
.frame-progress { top: 8%; left: 8%; right: 8%; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .25); overflow: hidden; }
.frame-progress i { display: block; height: 100%; width: calc(var(--p) * 100%); background: var(--accent); }

.stage-shadow { position: absolute; left: 50%; bottom: -10%; width: 90%; height: 12%; transform: translateX(-50%) scale(calc(.75 + var(--e) * .45)); border-radius: 50%; background: radial-gradient(closest-side, rgba(15, 27, 51, .28), transparent); z-index: -1; }
.stamp {
  position: absolute;
  right: -18%;
  top: 12%;
  z-index: 5;
  display: grid;
  place-items: center;
  width: calc(var(--sw) * .44);
  aspect-ratio: 1;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  box-shadow: 3px 3px 0 var(--ink);
  font: 900 calc(var(--sw) * .056)/1 var(--display);
  font-stretch: 75%;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(14deg) scale(0);
  transition: transform .5s cubic-bezier(.3, 1.6, .5, 1);
}
.hero-scene.is-done .stamp { transform: rotate(14deg) scale(1); }
.scene-hint { margin: .8rem 0 0; color: var(--ink-2); animation: bob 1.6s ease-in-out infinite; opacity: clamp(0, calc(var(--e) * 2 - .6), 1); }
@keyframes bob { 50% { transform: translateY(5px); } }

/* ---------- cintas cruzadas ---------- */
.ribbons { position: relative; height: clamp(150px, 16vw, 210px); overflow: hidden; margin-top: -1rem; }
.ribbon { position: absolute; left: -5%; right: -5%; top: 50%; padding: .9rem 0; border-block: 2px solid var(--ink); overflow: hidden; white-space: nowrap; color: #fff; }
.ribbon-accent { background: var(--accent); transform: translateY(-50%) rotate(-3.5deg); z-index: 2; box-shadow: 0 6px 0 var(--ink); }
.ribbon-ink { background: var(--ink); transform: translateY(-50%) rotate(3deg); }
.ribbon-track { display: inline-flex; animation: marquee 30s linear infinite; }
.ribbon-track.reverse { animation-direction: reverse; animation-duration: 38s; }
.ribbon span { font: 900 clamp(1.5rem, 3.2vw, 2.6rem)/1 var(--display); font-stretch: 70%; text-transform: uppercase; letter-spacing: .02em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- secciones generales ---------- */
section { position: relative; }
.proof, .syllabus, .about, .fit, .faq { padding: clamp(4.5rem, 10vw, 8rem) 0; }
.card { position: relative; border: 2px solid var(--ink); border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); }
a.card { text-decoration: none; transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
a.card:hover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--ink); }

html.js [data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--rd, 0ms); }
html.js [data-reveal].in { opacity: 1; transform: none; }

/* resultados */
.proof .h2 { margin-bottom: 3rem; max-width: 20ch; }
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.stat { display: flex; flex-direction: column; gap: .6rem; padding: 1.4rem 1.4rem 1.5rem; }
.stat-label { display: flex; align-items: center; gap: .5rem; color: var(--ink-2); }
.net { display: grid; place-items: center; width: 1.5rem; height: 1.5rem; border-radius: 6px; background: var(--accent); color: #fff; font-size: .8rem; }
.stat-num { display: flex; align-items: baseline; font: 900 clamp(4rem, 7vw, 6.2rem)/.9 var(--display); font-stretch: 62%; }
.stat-num small { margin-left: .3rem; font-size: .38em; font-stretch: 80%; color: var(--accent); }
.stat-desc { color: var(--ink-2); font-size: .95rem; line-height: 1.45; }
.stat-go { margin-top: auto; padding-top: .6rem; color: var(--accent); }

/* galería de estilos */
.styles { background: var(--ink); color: #fff; }
.styles-sticky { display: flex; flex-direction: column; justify-content: center; gap: clamp(1.5rem, 3vh, 2.6rem); padding: clamp(4.5rem, 10vw, 7rem) 0; }
.styles .kicker { color: var(--sky); }
.styles-head { display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 2rem; }
.styles-meta p { color: rgba(255, 255, 255, .7); max-width: 26rem; }
.styles-count { font-size: 1rem; color: #fff; }
.styles-count b { color: var(--sky); font-size: 1.6rem; }
.styles-bar { display: block; height: 3px; max-width: 26rem; background: rgba(255, 255, 255, .18); }
.styles-bar i { display: block; height: 100%; width: calc(var(--sp, 0) * 100%); background: var(--accent); }
.styles-viewport { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.styles-viewport::-webkit-scrollbar { display: none; }
.styles-track { --rw: clamp(190px, 60vw, 250px); display: flex; gap: clamp(1.2rem, 2.4vw, 2.2rem); width: max-content; margin: 0; padding: 1.4rem var(--pad) 1.8rem; list-style: none; will-change: transform; }
.reel { flex: 0 0 var(--rw); scroll-snap-align: center; }
.reel figure { margin: 0; transform: rotate(var(--tilt)); transition: transform .4s var(--ease); }
.reel:hover figure, .reel.is-on figure { transform: rotate(0) translateY(-6px); }
.reel video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border: 3px solid var(--c); border-radius: 18px; background: var(--ink-3); box-shadow: 7px 7px 0 var(--c); }
.reel figcaption { display: grid; grid-template-columns: auto 1fr; gap: .15rem .7rem; margin-top: 1.1rem; }
.reel figcaption .mono { grid-row: span 2; align-self: start; padding: .3rem .4rem; border-radius: 5px; background: var(--c); color: var(--ink); }
.reel figcaption strong { font: 900 1.35rem/1 var(--display); font-stretch: 68%; text-transform: uppercase; }
.reel figcaption em { font-style: normal; font-size: .85rem; color: rgba(255, 255, 255, .6); }
.reel-cta a { display: flex; flex-direction: column; justify-content: center; gap: 1.1rem; height: calc(var(--rw) * 16 / 9); padding: 1.6rem; border: 3px dashed var(--accent); border-radius: 18px; text-decoration: none; }
.reel-cta .display { font-size: 3rem; color: var(--sky); }
.reel-cta .btn { align-self: flex-start; }

html.js.pin .styles-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; padding: 72px 0 0; }
html.js.pin .styles-viewport { overflow: visible; }
html.js.pin .styles-track { --rw: min(17.5vw, calc((100vh - 400px) * 9 / 16)); transform: translate3d(var(--x, 0px), 0, 0); }

/* detrás de un video: anatomía por capas */
.anatomy { --lc: var(--sky); padding: clamp(4.5rem, 10vw, 8rem) 0; background: linear-gradient(180deg, var(--ink) 0%, #132a4a 100%); color: #fff; border-top: 2px solid rgba(255, 255, 255, .08); overflow: hidden; }
.anatomy::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 56px 56px; }
.anatomy .wrap { position: relative; }
.anatomy-head { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 2rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.anatomy-lede { max-width: 30rem; color: rgba(255, 255, 255, .75); }
.anatomy-grid { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: clamp(2rem, 5vw, 4.5rem); }
.anatomy-phone { margin: 0; }
.phone-shell { position: relative; width: clamp(220px, 21vw, 290px); aspect-ratio: 9 / 16; border: 9px solid #050a19; border-radius: 34px; overflow: hidden; background: var(--ink-3); box-shadow: 0 0 0 2px rgba(255, 255, 255, .15), 12px 12px 0 var(--lc); transition: box-shadow .4s var(--ease); }
.phone-shell video { width: 100%; height: 100%; object-fit: cover; }
.phone-shell::after { content: ""; position: absolute; inset: 0; border: 3px solid var(--lc); border-radius: 25px; opacity: 0; pointer-events: none; }
.anatomy.flash .phone-shell::after { animation: flash .7s var(--ease); }
@keyframes flash { 0% { opacity: 1; } 100% { opacity: 0; } }
.phone-layer { position: absolute; left: 10px; top: 10px; padding: .35rem .55rem; border: 2px solid var(--ink); border-radius: 6px; background: var(--lc); color: var(--lt, var(--ink)); box-shadow: 2px 2px 0 var(--ink); }
.anatomy-phone figcaption { margin-top: 1.4rem; color: rgba(255, 255, 255, .55); text-align: center; }

.editor { min-width: 0; --off: 150px; padding: 1rem; border: 2px solid rgba(255, 255, 255, .14); border-radius: 18px; background: rgba(20, 33, 70, .85); box-shadow: 10px 10px 0 rgba(0, 0, 0, .35); }
.editor-bar { display: flex; align-items: center; gap: .6rem; padding: .2rem .3rem .9rem; color: rgba(255, 255, 255, .6); }
.rec { width: .6rem; height: .6rem; border-radius: 50%; background: var(--coral); animation: ping 1.8s infinite; }
.tc { margin-left: auto; color: #fff; }
.tc b { color: var(--sky); }
.tracks { position: relative; display: grid; gap: 6px; }
.track {
  display: grid;
  grid-template-columns: calc(var(--off) - 16px) minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 5px 6px;
  border: 2px solid transparent;
  border-radius: 10px;
  background: rgba(255, 255, 255, .04);
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background-color .25s, border-color .25s, transform .25s var(--ease);
}
.track:hover { background: rgba(255, 255, 255, .09); }
.track.is-active { border-color: var(--c); background: rgba(255, 255, 255, .1); transform: translateX(4px); }
.track-name { font: 600 .74rem/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .8); }
.track-name b { display: inline-grid; place-items: center; min-width: 1.6rem; margin-right: .35rem; padding: .18rem .2rem; border-radius: 4px; background: var(--c); color: var(--t, var(--ink)); }
.track.is-active .track-name { color: #fff; }
.track-lane { position: relative; height: 30px; border-radius: 6px; background: rgba(255, 255, 255, .05); overflow: hidden; opacity: .55; transition: opacity .3s; }
.track.is-active .track-lane, .track:hover .track-lane { opacity: 1; }
.lane-script i, .lane-block i, .lane-sound i { position: absolute; top: 5px; bottom: 5px; left: var(--l); width: var(--w); border-radius: 4px; background: var(--c); }
.lane-script i { background: repeating-linear-gradient(180deg, var(--c) 0 3px, rgba(196, 224, 255, .55) 3px 6px); }
.lane-block i { background: repeating-linear-gradient(135deg, var(--c) 0 8px, #3fc4ad 8px 16px); }
.lane-wave { display: flex; align-items: center; gap: 2px; padding: 0 4px; }
.lane-wave i { flex: 1; height: var(--h); min-height: 2px; border-radius: 1px; background: var(--c); }
.lane-words { display: flex; align-items: center; gap: 4px; padding: 0 4px; }
.lane-words i { padding: 3px 6px; border-radius: 4px; background: var(--c); color: var(--ink); font: 600 .62rem/1 var(--mono); font-style: normal; white-space: nowrap; }
.lane-words i:nth-child(3) { background: var(--sun); }
.lane-keys::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: rgba(95, 211, 192, .4); }
.lane-keys i { position: absolute; top: 50%; left: var(--l); width: 11px; height: 11px; transform: translate(-50%, -50%) rotate(45deg); background: var(--c); }
.lane-sound i { opacity: .35; }
.lane-sound em { position: absolute; top: 4px; bottom: 4px; left: var(--l); width: 6px; border-radius: 3px; background: var(--c); }
.lane-render i { position: absolute; top: 5px; bottom: 5px; left: 0; width: calc(var(--vp, 0) * 100%); border-radius: 4px; background: repeating-linear-gradient(135deg, #8a96b5 0 6px, #6c7899 6px 12px); }
.playhead { position: absolute; z-index: 2; top: -4px; bottom: -4px; left: calc(var(--off) + (100% - var(--off) - 8px) * var(--vp, 0)); width: 2px; background: var(--coral); pointer-events: none; }
.playhead::before { content: ""; position: absolute; top: -4px; left: -5px; width: 12px; height: 10px; clip-path: polygon(0 0, 100% 0, 50% 100%); background: var(--coral); }

.layer-detail { min-height: 12.5rem; margin-top: 1.1rem; padding: 1.3rem 1.4rem; border: 2px solid var(--ink); border-left: 10px solid var(--lc); border-radius: 12px; background: var(--card); color: var(--ink); transition: border-color .3s; }
.layer-detail.swap { animation: rise .45s var(--ease); }
.layer-num { margin: 0 0 .4rem; color: var(--ink-2); }
.layer-num b { color: var(--accent); }
.layer-title { font-size: clamp(2rem, 3.2vw, 2.6rem); margin-bottom: .6rem; }
.layer-text { margin-bottom: .9rem; color: var(--ink-2); font-size: .98rem; }
.layer-tools { display: flex; flex-wrap: wrap; gap: .45rem; margin: 0; padding: 0; list-style: none; }
.layer-tools li { padding: .38rem .65rem; border: 2px solid var(--ink); border-radius: 999px; background: var(--paper); font: 600 .7rem/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.layer-tools li:first-child { background: var(--accent); color: #fff; }

/* temario */
.syllabus .h2-xl { margin-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.course { margin-bottom: clamp(3rem, 7vw, 5rem); scroll-margin-top: 90px; }
.course-head { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1rem; padding-bottom: 1rem; margin-bottom: 1.6rem; border-bottom: 2px solid var(--ink); }
.course-n { margin-left: auto; color: var(--ink-2); }
.num { display: grid; place-items: center; flex: 0 0 auto; width: 2.6rem; height: 2.6rem; border: 2px solid var(--ink); border-radius: 8px; background: var(--c); color: var(--t, var(--ink)); font: 900 1.3rem/1 var(--display); }
.lesson-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; align-items: start; }
.lesson { border: 2px solid var(--ink); border-radius: 12px; background: var(--card); box-shadow: 4px 4px 0 var(--ink); transition: box-shadow .2s, transform .2s var(--ease); }
.lesson:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.lesson summary, .qa summary { display: flex; align-items: center; gap: 1rem; padding: .9rem 1rem; cursor: pointer; list-style: none; font-weight: 600; line-height: 1.3; }
.lesson summary::-webkit-details-marker, .qa summary::-webkit-details-marker { display: none; }
.lesson summary::after, .qa summary::after { content: "+"; margin-left: auto; font: 900 1.6rem/1 var(--display); transition: transform .3s var(--ease); }
.lesson[open] summary::after, .qa[open] summary::after { transform: rotate(45deg); }
.lesson-body { padding: 0 1.2rem 1.2rem 4.6rem; font-size: .95rem; color: var(--ink-2); animation: rise .5s var(--ease); }
.lesson-body a, .qa a { color: var(--accent); font-weight: 600; }
.module-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin: 0 0 2rem; padding: 0; list-style: none; }
.module { display: flex; gap: 1rem; padding: 1.2rem; border: 2px solid var(--ink); border-radius: 12px; background: var(--card); box-shadow: 4px 4px 0 var(--ink); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.module:hover { transform: translate(-3px, -3px) rotate(-.6deg); box-shadow: 7px 7px 0 var(--accent); }
.module strong { display: block; margin-bottom: .3rem; font: 900 1.25rem/1.05 var(--display); font-stretch: 75%; text-transform: uppercase; }
.module p { margin: 0; font-size: .9rem; color: var(--ink-2); line-height: 1.45; }
.course-cta { display: flex; flex-wrap: wrap; gap: .9rem; }

/* quién soy */
.about { background: var(--paper-2); border-block: 2px solid var(--ink); }
.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: clamp(2rem, 7vw, 6rem); }
.about-badge { position: relative; justify-self: center; width: min(100%, 360px); aspect-ratio: 1; border: 2px solid var(--ink); border-radius: 50%; background: var(--accent); box-shadow: 10px 10px 0 var(--ink); }
.badge-ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 22s linear infinite; }
.badge-ring text { font: 600 12.5px var(--mono); fill: #fff; }
.badge-core { position: absolute; inset: 24%; display: grid; place-items: center; border: 2px solid var(--ink); border-radius: 50%; background: var(--ink); color: #fff; font: 900 clamp(3.5rem, 8vw, 5.4rem)/1 var(--display); letter-spacing: -.03em; transition: transform .5s var(--ease); }
.about-badge:hover .badge-core { transform: rotate(-14deg) scale(1.05); }
@keyframes spin { to { transform: rotate(360deg); } }
.about-role { margin: 1.2rem 0 1.8rem; color: var(--ink-2); }
.facts { margin: 0; padding: 0; list-style: none; }
.facts li { position: relative; padding: 1rem 0 1rem 2rem; border-top: 2px solid var(--ink); }
.facts li::before { content: "✦"; position: absolute; left: 0; top: 1rem; color: var(--accent); }
.facts li:last-child { border-bottom: 2px solid var(--ink); }
.facts b { background: linear-gradient(transparent 55%, var(--sky) 55%); }

/* para quién */
.fit .h2 { margin-bottom: 3rem; }
.fit-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.fit-card { overflow: hidden; transition: transform .3s var(--ease); }
.fit-card:nth-child(odd) { transform: rotate(-1deg); }
.fit-card:nth-child(even) { transform: rotate(1deg); }
.fit-card:hover { transform: rotate(0) translateY(-4px); }
html.js .fit-card[data-reveal]:not(.in) { transform: translateY(34px); }
.fit-card h3 { padding: 1rem 1.2rem; border-bottom: 2px solid var(--ink); background: var(--c); color: var(--t, var(--ink)); }
.fit-card ul { margin: 0; padding: 1rem 1.2rem 1.3rem; list-style: none; }
.fit-card li { padding: .55rem 0; border-bottom: 1px dashed var(--rule); font-size: .95rem; line-height: 1.4; }
.fit-card li:last-child { border-bottom: 0; }

/* preguntas */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.faq-list { display: grid; gap: 1rem; }
.qa { border: 2px solid var(--ink); border-radius: 12px; background: var(--card); box-shadow: 4px 4px 0 var(--ink); transition: background-color .25s; }
.qa summary { padding: 1.1rem 1.3rem; font-size: 1.05rem; }
.qa[open] { background: var(--sky); }
.qa > div { padding: 0 1.3rem 1.2rem; animation: rise .45s var(--ease); }

/* cierre */
.enroll { padding: clamp(3rem, 8vw, 6rem) 0 clamp(5rem, 10vw, 8rem); }
.enroll-card { position: relative; padding: clamp(2.2rem, 6vw, 5rem); border: 2px solid var(--ink); border-radius: 24px; background: var(--accent); color: #fff; box-shadow: 12px 12px 0 var(--ink); overflow: hidden; }
.enroll-card::before { content: ""; position: absolute; right: -8%; bottom: -30%; width: 55%; aspect-ratio: 1; border: 2px solid rgba(255, 255, 255, .5); border-radius: 50%; background: repeating-radial-gradient(circle, transparent 0 18px, rgba(255, 255, 255, .14) 18px 20px); }
.enroll-title { position: relative; font-size: clamp(4.4rem, 15vw, 13rem); line-height: .8; margin-bottom: 1.6rem; }
.enroll-lede { position: relative; max-width: 30rem; font-size: 1.15rem; color: rgba(255, 255, 255, .9); }
.enroll-price { position: relative; display: flex; flex-wrap: wrap; align-items: baseline; gap: .4rem 1rem; margin: 1.4rem 0 0; }
.enroll-price strong { font: 900 clamp(3rem, 6vw, 4.6rem)/.9 var(--display); font-stretch: 66%; }
.enroll-price .mono { color: rgba(255, 255, 255, .8); }
.enroll-actions { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 2rem; }
.pending { margin: 0; padding: .9rem 1.1rem; border: 2px dashed rgba(255, 255, 255, .8); border-radius: 10px; }
.enroll-sticker { position: absolute; top: 2rem; right: 2rem; z-index: 1; padding: .6rem 1rem; border: 2px solid var(--ink); border-radius: 999px; background: var(--card); color: var(--ink); box-shadow: 3px 3px 0 var(--ink); font: 600 .75rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; transform: rotate(8deg); animation: wobble 4s ease-in-out infinite; }
@keyframes wobble { 50% { transform: rotate(-4deg) translateY(-4px); } }

/* pie */
.site-footer { background: var(--ink); color: #fff; padding: 2.2rem 0; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem 2rem; }
.site-footer .brand-mark { border-color: #fff; box-shadow: 2px 2px 0 #fff; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.site-footer nav a { font: 600 .74rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; }
.site-footer nav a:hover { color: var(--sky); }
.footer-note { width: 100%; margin: .6rem 0 0; color: rgba(255, 255, 255, .5); font-size: .68rem; }

/* ---------- responsive ---------- */
@media (min-width: 900px) {
  html.js.pin .hero { height: 230vh; }
  html.js.pin .hero-sticky { position: sticky; top: 0; height: 100vh; }
}
@media (max-width: 1080px) {
  .fit-grid { grid-template-columns: repeat(2, 1fr); }
  .module-grid { grid-template-columns: repeat(2, 1fr); }
  .brand-sub { display: none; }
}
@media (max-width: 899px) {
  .site-nav { display: none; }
  .header-inner { justify-content: space-between; height: 64px; }
  .hero-sticky { padding: 96px 0 40px; min-height: 0; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-scene { --sw: min(54vw, 230px); margin-top: 1.5rem; }
  .stamp { right: -26%; }
  .proof-grid { grid-template-columns: 1fr; }
  .styles-head, .anatomy-head { grid-template-columns: 1fr; gap: 1rem; }
  .anatomy-grid { grid-template-columns: minmax(0, 1fr); }
  .anatomy-phone { justify-self: center; }
  .phone-shell { width: min(62vw, 240px); }
  .lesson-grid, .module-grid { grid-template-columns: 1fr; }
  .about-grid, .faq-grid { grid-template-columns: 1fr; }
  .about-badge { width: min(70%, 280px); }
  .course-n { margin-left: 0; width: 100%; }
  .enroll-sticker { position: relative; top: 0; right: 0; display: inline-block; margin-bottom: 1.4rem; }
}
@media (max-width: 560px) {
  body { font-size: 1rem; }
  .fit-grid { grid-template-columns: 1fr; }
  .hero-buy .btn { flex: 1 1 100%; }
  .lesson-body { padding-left: 1.2rem; }
  .header-inner .btn-sm { padding-inline: .8rem; font-size: .8rem; }
  .enroll-actions .btn { width: 100%; }
  .editor { --off: 112px; padding: .7rem; }
  .track-name { font-size: .58rem; letter-spacing: 0; }
  .track-name b { min-width: 1.3rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  html.js [data-reveal] { opacity: 1; transform: none; }
}

/* ======================================================
   v7 · precio de lanzamiento, habilidad de alto valor, ecosistema
   ====================================================== */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:root { --green: #2fd18c; }

/* tarjeta de precio en la portada */
.price-card { position: relative; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: .2rem 1.4rem; max-width: 34rem; margin: 1.8rem 0 1.3rem; padding: 1.2rem 1.4rem 1.3rem; border: 2px solid var(--ink); border-radius: 16px; background: var(--card); box-shadow: 8px 8px 0 var(--accent); }
.price-label { grid-column: 1 / -1; margin: 0; color: var(--coral); font-weight: 600; }
.price-row { grid-column: 1; display: flex; align-items: baseline; gap: .9rem; margin: 0; }
.price-old { position: relative; font: 800 1.6rem/1 var(--display); font-stretch: 70%; color: var(--ink-2); text-decoration: none; }
.price-old::after { content: ""; position: absolute; left: -4%; right: -4%; top: 50%; height: 3px; background: var(--coral); transform: rotate(-12deg); }
.price-now { font: 900 clamp(3.6rem, 6vw, 4.8rem)/.85 var(--display); font-stretch: 62%; color: var(--accent); }
.price-now .cur { margin-left: .2rem; font-size: .36em; font-stretch: 80%; color: var(--ink); }
.price-note { grid-column: 1; margin: .2rem 0 0; color: var(--ink-2); font-size: .66rem; }
.price-cta { grid-column: 2; grid-row: 2 / span 2; justify-self: end; }
.price-badge { position: absolute; top: -1.1rem; right: -1rem; display: grid; place-items: center; width: 4.6rem; aspect-ratio: 1; border: 2px solid var(--ink); border-radius: 50%; background: var(--coral); color: #fff; box-shadow: 3px 3px 0 var(--ink); font: 900 1.35rem/1 var(--display); font-stretch: 72%; transform: rotate(12deg); animation: badgePulse 2.4s ease-in-out infinite; }
@keyframes badgePulse { 50% { transform: rotate(4deg) scale(1.08); } }
.tag s, .btn s, .enroll-price s { text-decoration-thickness: 2px; opacity: .75; }
.enroll-price s { font: 800 clamp(1.6rem, 3vw, 2.4rem)/1 var(--display); font-stretch: 70%; text-decoration-color: var(--ink); }
.enroll-badge { padding: .45rem .7rem; border: 2px solid var(--ink); border-radius: 8px; background: var(--coral); color: #fff !important; box-shadow: 3px 3px 0 var(--ink); }

/* habilidad de alto valor */
.skill { padding: clamp(4.5rem, 10vw, 7.5rem) 0; background: var(--paper-2); border-block: 2px solid var(--ink); }
.skill-head { display: grid; grid-template-columns: 1.1fr .9fr; align-items: end; gap: 2rem; margin-bottom: 3rem; }
.skill-lede { color: var(--ink-2); max-width: 32rem; }
.skill-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.skill-card { display: flex; flex-direction: column; gap: .8rem; padding: 1.6rem; box-shadow: 8px 8px 0 var(--c); transition: transform .25s var(--ease); }
.skill-card:hover { transform: translate(-3px, -3px) rotate(-.5deg); }
.skill-num { display: flex; align-items: baseline; gap: .2rem; font: 900 clamp(4.4rem, 8vw, 7rem)/.85 var(--display); font-stretch: 62%; color: var(--ink); }
.skill-num small { font-size: .34em; font-stretch: 80%; color: var(--accent); }
.skill-card p { margin: 0; font-size: 1.02rem; line-height: 1.45; }
.skill-src { margin-top: auto; padding-top: .8rem; border-top: 1px dashed var(--rule); color: var(--accent); text-decoration: none; font-size: .66rem; }
.skill-src:hover { text-decoration: underline; }
.skill-foot { margin: 2.4rem 0 0; max-width: 48rem; font-size: 1.05rem; }
.skill-foot .mono { font-size: .68rem; color: var(--ink-2); }

/* ecosistema */
.eco { padding: clamp(4.5rem, 10vw, 8rem) 0; overflow: hidden; }
.eco-grid { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: clamp(2rem, 5vw, 4rem); }
.eco-copy > p { color: var(--ink-2); max-width: 30rem; margin-top: 1.6rem; }
.eco-vs { display: grid; gap: .8rem; margin-top: 1.8rem; }
.eco-vs p { display: flex; align-items: center; gap: .8rem; margin: 0; padding: .8rem 1rem; border: 2px solid var(--ink); border-radius: 12px; font-weight: 600; }
.eco-vs span { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 8px; border: 2px solid var(--ink); font-weight: 900; }
.eco-no { background: var(--card); color: var(--ink-2); text-decoration: line-through; text-decoration-color: var(--coral); text-decoration-thickness: 2px; }
.eco-no span { background: var(--coral); color: #fff; text-decoration: none; }
.eco-yes { background: var(--sky); box-shadow: 4px 4px 0 var(--ink); }
.eco-yes span { background: var(--green); }
.eco-map { --dur: 70s; position: relative; width: min(100%, 620px); aspect-ratio: 1; justify-self: center; container-type: inline-size; }
.ring { position: absolute; left: 50%; top: 50%; border: 2px dashed rgba(15, 27, 51, .25); border-radius: 50%; transform: translate(-50%, -50%); }
.ring-1 { width: 52cqw; height: 52cqw; }
.ring-2 { width: 88cqw; height: 88cqw; }
.orbit { position: absolute; inset: 0; animation: orbit var(--dur) linear infinite; }
.orbit-2 { animation-direction: reverse; animation-duration: calc(var(--dur) * 1.4); }
.orbit-1 { --r: 26cqw; }
.orbit-2 { --r: 44cqw; }
.node { position: absolute; left: 50%; top: 50%; transform: rotate(var(--a)) translateX(var(--r)) rotate(calc(-1 * var(--a))); }
.node b { position: absolute; left: 0; top: 0; translate: -50% -50%; padding: .5em .8em; border: 2px solid var(--ink); border-radius: 999px; background: var(--c); color: var(--t, var(--ink)); box-shadow: 3px 3px 0 var(--ink); font: 600 clamp(.58rem, 2.1cqw, .8rem)/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; animation: orbit var(--dur) linear infinite reverse; }
.orbit-2 .node b { animation-direction: normal; animation-duration: calc(var(--dur) * 1.4); }
@keyframes orbit { to { rotate: 360deg; } }
.eco-core { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; align-content: center; gap: .3rem; width: 30cqw; aspect-ratio: 1; border: 2px solid var(--ink); border-radius: 50%; background: var(--ink); color: #fff; box-shadow: 0 0 0 10px rgba(15, 157, 138, .15), 6px 6px 0 var(--accent); transform: translate(-50%, -50%); text-align: center; }
.eco-core strong { font: 900 clamp(1.3rem, 6cqw, 2.4rem)/.9 var(--display); font-stretch: 66%; text-transform: uppercase; }
.eco-prompt { padding: .25em .55em; border-radius: 6px; background: var(--coral); font: 600 clamp(.5rem, 1.9cqw, .72rem)/1 var(--mono); text-transform: uppercase; text-decoration: line-through; }

@media (max-width: 899px) {
  .skill-head, .eco-grid { grid-template-columns: 1fr; }
  .skill-grid { grid-template-columns: 1fr; }
  .eco-map { width: min(100%, 460px); }
}
@media (max-width: 560px) {
  .price-card { grid-template-columns: 1fr; }
  .price-cta { grid-column: 1; grid-row: auto; justify-self: stretch; margin-top: .8rem; }
  .price-badge { width: 3.8rem; font-size: 1.1rem; right: -.4rem; }
}
@media (prefers-reduced-motion: reduce) {
  .orbit, .node b, .price-badge { animation: none !important; }
}
/* la portada cabe en pantallas bajas */
.hero h1 { font-size: clamp(3.4rem, min(10.5vw, 14vh), 9.6rem); margin-bottom: 1.2rem; }
.hero .chip { margin-bottom: 1rem; }
.hero-lede { margin-bottom: 0; }
.price-card { margin: 1.4rem 0 1rem; }
@media (min-width: 900px) { .hero-sticky { padding: 92px 0 32px; } }
@media (max-width: 560px) {
  .node b { font-size: .5rem; padding: .45em .6em; letter-spacing: .02em; }
  .orbit-2 { --r: 41cqw; }
  .ring-2 { width: 82cqw; height: 82cqw; }
}

/* ======================================================
   v11 · temario nuevo: 3 lecciones gratis, 5 pasos, skills, pack plus
   ====================================================== */
.lesson-grid-3 { grid-template-columns: repeat(3, 1fr); }
.lesson-t { display: flex; flex-direction: column; gap: .2rem; }
.lesson-t small { font: 500 .66rem/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.lesson-grid-3 .lesson-body { padding: 0 1.1rem 1.2rem; }
.lesson-video { aspect-ratio: 16 / 9; margin-bottom: 1rem; border: 2px solid var(--ink); border-radius: 10px; overflow: hidden; background: var(--ink); }
.lesson-video iframe { display: block; width: 100%; height: 100%; border: 0; }
.lesson-video.is-soon { display: grid; place-items: center; background: repeating-linear-gradient(135deg, var(--ink) 0 14px, #16294c 14px 28px); color: var(--sky); }
.free-bridge { margin: 1.6rem 0 0; padding: 1rem 1.2rem; border: 2px dashed var(--accent); border-radius: 12px; font-size: 1.02rem; }
.free-bridge b { color: var(--accent); }

.pipeline { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin-bottom: 1.6rem; padding: 1rem 1.2rem; border: 2px solid var(--ink); border-radius: 14px; background: var(--ink); color: #fff; box-shadow: 6px 6px 0 var(--accent); }
.pipeline span { padding: .45rem .75rem; border: 2px solid rgba(255, 255, 255, .25); border-radius: 999px; font: 600 .74rem/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.pipeline .pipe-you { background: var(--accent); border-color: #fff; }
.pipeline .pipe-arrow { border: 0; padding: 0 .2rem; font-size: 1.1rem; color: var(--sky); }
.module-grid-5 { grid-template-columns: repeat(5, 1fr); }
.module-grid-5 .module { flex-direction: column; gap: .7rem; }

.skills-block { margin: 2.6rem 0 2rem; }
.skills-head { display: grid; grid-template-columns: auto 1fr; align-items: end; gap: 1rem 2rem; margin-bottom: 1.4rem; }
.skills-head p { margin: 0; color: var(--ink-2); max-width: 34rem; }
.skills-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 0; padding: 0; list-style: none; }
.skill-item { padding: 1.1rem 1.2rem; border: 2px solid var(--ink); border-radius: 12px; background: var(--card); box-shadow: 4px 4px 0 var(--sky); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.skill-item:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--accent); }
.skill-item code { display: inline-block; margin-bottom: .55rem; padding: .25rem .5rem; border-radius: 6px; background: var(--ink); color: var(--sky); font: 600 .72rem/1.2 var(--mono); }
.skill-item strong { display: block; font: 900 1.4rem/1 var(--display); font-stretch: 72%; text-transform: uppercase; }
.skill-item p { margin: .4rem 0 0; font-size: .9rem; line-height: 1.45; color: var(--ink-2); }

.plus-card { position: relative; display: flex; align-items: center; gap: 1.4rem; margin-bottom: 2rem; padding: 1.4rem 1.6rem; border: 2px solid var(--ink); border-radius: 16px; background: linear-gradient(120deg, var(--sky), #eef9f6); box-shadow: 8px 8px 0 var(--ink); }
.plus-tag { flex: 0 0 auto; display: grid; place-items: center; width: 6.2rem; aspect-ratio: 1; border: 2px solid var(--ink); border-radius: 50%; background: var(--coral); color: #fff; font: 900 1.2rem/1 var(--display); font-stretch: 72%; text-align: center; text-transform: uppercase; transform: rotate(-10deg); }
.plus-card h4 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: .4rem; }
.plus-card p { margin: 0; max-width: 46rem; }

@media (max-width: 1080px) {
  .module-grid-5 { grid-template-columns: repeat(3, 1fr); }
  .lesson-grid-3 { grid-template-columns: 1fr; }
}
@media (max-width: 899px) {
  .skills-grid { grid-template-columns: repeat(2, 1fr); }
  .skills-head { grid-template-columns: 1fr; }
  .module-grid-5 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .skills-grid, .module-grid-5 { grid-template-columns: 1fr; }
  .plus-card { flex-direction: column; align-items: flex-start; }
}

/* ---------- v12 · aula del curso gratis ---------- */
.classroom { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 360px); gap: 1.4rem; align-items: start; }
.cr-stage { min-width: 0; }
.cr-screen { position: relative; aspect-ratio: 16 / 9; border: 2px solid var(--ink); border-radius: var(--radius); overflow: hidden; background: var(--ink); box-shadow: var(--shadow); isolation: isolate; }
.cr-player, .cr-player > *, .cr-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.cr-poster { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; padding: 0; border: 0; background: var(--ink); color: #fff; cursor: pointer; font: inherit; }
.cr-poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), filter .4s; }
.cr-poster::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 27, 51, 0) 45%, rgba(15, 27, 51, .85)); }
.cr-poster:hover img { transform: scale(1.03); filter: brightness(1.05); }
.cr-play { position: relative; z-index: 1; display: grid; place-items: center; width: clamp(64px, 9vw, 104px); aspect-ratio: 1; border: 3px solid var(--ink); border-radius: 50%; background: var(--accent); box-shadow: 5px 5px 0 var(--ink); transition: transform .25s var(--ease); }
.cr-play::before { content: ""; position: absolute; inset: -12px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .7); animation: cr-pulse 2s var(--ease) infinite; }
.cr-play svg { width: 46%; fill: #fff; margin-left: 8%; }
.cr-poster:hover .cr-play { transform: scale(1.08); }
.cr-poster-t { position: absolute; z-index: 1; left: clamp(14px, 3%, 28px); right: 14px; bottom: clamp(12px, 3%, 24px); display: flex; flex-direction: column; gap: .3rem; text-align: left; }
.cr-poster-t .mono { color: var(--sky); }
.cr-poster-t b { font: 900 clamp(1.2rem, 2.6vw, 2.1rem)/1 var(--display); font-stretch: 75%; text-transform: uppercase; }
.classroom.is-playing .cr-poster { opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s .3s; }
.classroom.is-loading:not(.is-playing) .cr-play::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 4px solid transparent; border-top-color: #fff; animation: cr-spin .8s linear infinite; }
.cr-soon { position: relative; z-index: 1; padding: .7rem 1rem; border-radius: 8px; background: rgba(15, 27, 51, .8); color: var(--sky); }
@keyframes cr-pulse { 0% { transform: scale(.9); opacity: .9; } 100% { transform: scale(1.35); opacity: 0; } }
@keyframes cr-spin { to { rotate: 360deg; } }

.cr-overlay { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: clamp(.6rem, 2vw, 1.2rem); padding: clamp(14px, 4%, 40px); background: rgba(15, 27, 51, .93); color: #fff; text-align: center; animation: cr-in .45s var(--ease); backdrop-filter: blur(6px); }
.cr-overlay[hidden] { display: none; }
.cr-overlay > .mono { margin: 0; color: var(--green); }
@keyframes cr-in { from { opacity: 0; transform: scale(1.04); } }
.cr-next-card { display: flex; align-items: center; gap: 1rem; max-width: 30rem; padding: .6rem; border: 2px solid rgba(255, 255, 255, .25); border-radius: 12px; background: rgba(255, 255, 255, .06); text-align: left; }
.cr-next-card img { width: clamp(96px, 16vw, 160px); aspect-ratio: 16 / 9; object-fit: cover; border-radius: 7px; }
.cr-next-card div { display: flex; flex-direction: column; gap: .35rem; }
.cr-next-card .mono { color: var(--sky); }
.cr-next-card b { font: 900 clamp(1.1rem, 2.4vw, 1.8rem)/1 var(--display); font-stretch: 75%; text-transform: uppercase; }
.cr-next-actions { display: flex; align-items: center; gap: 1rem; }
.cr-next-text { display: flex; flex-direction: column; align-items: flex-start; gap: .25rem; font-size: .95rem; }
.cr-ring { position: relative; display: grid; place-items: center; width: 64px; height: 64px; padding: 0; border: 0; border-radius: 50%; background: var(--accent); color: #fff; cursor: pointer; font: 800 1.3rem/1 var(--display); }
.cr-ring svg:first-child { position: absolute; inset: 0; rotate: -90deg; fill: none; stroke-width: 5; }
.cr-ring circle { stroke: rgba(255, 255, 255, .25); }
.cr-ring .cr-ring-p { stroke: #fff; stroke-linecap: round; stroke-dasharray: 176; stroke-dashoffset: 0; }
.classroom.is-counting .cr-ring-p { animation: cr-ring 8s linear forwards; }
@keyframes cr-ring { to { stroke-dashoffset: 176; } }
.cr-ring-play { display: none; width: 26px; fill: #fff; margin-left: 4px; }
.classroom:not(.is-counting) .cr-ring [data-cr-count] { display: none; }
.classroom:not(.is-counting) .cr-ring-play { display: block; }
.classroom:not(.is-counting) .cr-ring .cr-ring-p { stroke: transparent; }
.cr-ring:hover { background: var(--accent-2); }
.cr-link { padding: 0; border: 0; background: none; color: var(--sky); font: 600 .85rem/1.2 var(--body); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.cr-link[hidden] { display: none; }

.cr-done { container-type: size; }
.cr-done h4 { margin: 0; font-size: clamp(1.5rem, 4vw, 3.2rem); line-height: .95; font-weight: 900; font-stretch: 75%; text-transform: uppercase; }
.cr-done-sub { max-width: 34rem; margin: 0; font-size: clamp(.82rem, 1.5vw, 1rem); color: rgba(255, 255, 255, .8); }
.cr-done-buy { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .8rem 1.2rem; }
.cr-done-price { display: flex; align-items: baseline; gap: .5rem; font-family: var(--display); font-stretch: 75%; }
.cr-done-price s { color: rgba(255, 255, 255, .6); font-size: 1.1rem; text-decoration-color: var(--coral); text-decoration-thickness: 3px; }
.cr-done-price b { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 900; }
.cr-done-price em { padding: .2rem .45rem; border-radius: 6px; background: var(--coral); font: 700 .8rem/1 var(--mono); font-style: normal; }
.cr-done .btn { --sh: #000; border-color: #fff; }
.cr-confetti { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.cr-confetti i { position: absolute; top: -20px; left: calc(var(--x) * 1%); width: 10px; height: 16px; border-radius: 2px; background: var(--c); opacity: 0; animation: cr-fall 2.6s var(--d) cubic-bezier(.3, .6, .5, 1) forwards; }
.cr-confetti i:nth-child(4n+1) { --c: var(--accent); }
.cr-confetti i:nth-child(4n+2) { --c: var(--sun); }
.cr-confetti i:nth-child(4n+3) { --c: var(--coral); }
.cr-confetti i:nth-child(4n) { --c: var(--green); }
.cr-confetti i:nth-child(1) { --x: 6; --d: 0s; }
.cr-confetti i:nth-child(2) { --x: 14; --d: .3s; }
.cr-confetti i:nth-child(3) { --x: 23; --d: .1s; }
.cr-confetti i:nth-child(4) { --x: 31; --d: .5s; }
.cr-confetti i:nth-child(5) { --x: 40; --d: .2s; }
.cr-confetti i:nth-child(6) { --x: 48; --d: .6s; }
.cr-confetti i:nth-child(7) { --x: 57; --d: 0s; }
.cr-confetti i:nth-child(8) { --x: 65; --d: .4s; }
.cr-confetti i:nth-child(9) { --x: 73; --d: .15s; }
.cr-confetti i:nth-child(10) { --x: 81; --d: .55s; }
.cr-confetti i:nth-child(11) { --x: 89; --d: .25s; }
.cr-confetti i:nth-child(12) { --x: 95; --d: .45s; }
@keyframes cr-fall { 0% { opacity: 1; transform: translateY(0) rotate(0); } 100% { opacity: 0; transform: translateY(110cqh) rotate(540deg); } }

.cr-info { padding: 1.2rem .2rem 0; }
.cr-now { margin: 0 0 .4rem; color: var(--accent); }
.cr-info h4 { margin: 0 0 .7rem; font-size: clamp(1.5rem, 3vw, 2.2rem); line-height: 1; font-weight: 900; font-stretch: 75%; text-transform: uppercase; }
.cr-info p { margin: 0 0 .6rem; max-width: 46rem; color: var(--ink-2); }

.cr-list { display: flex; flex-direction: column; gap: .8rem; padding: 1rem; border: 2px solid var(--ink); border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); }
.cr-progress { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .5rem; }
.cr-progress .mono { color: var(--ink-2); }
.cr-progress b { font: 900 1.2rem/1 var(--display); }
.cr-bar { grid-column: 1 / -1; height: 8px; border: 2px solid var(--ink); border-radius: 99px; overflow: hidden; background: var(--paper); }
.cr-bar i { display: block; width: 0; height: 100%; background: var(--green); transition: width .6s var(--ease); }
.cr-list ol { display: flex; flex-direction: column; gap: .55rem; margin: 0; padding: 0; list-style: none; }
.cr-item { display: grid; grid-template-columns: 104px minmax(0, 1fr) 26px; align-items: center; gap: .75rem; width: 100%; padding: .45rem; border: 2px solid transparent; border-radius: 10px; background: none; color: var(--ink); font: inherit; text-align: left; cursor: pointer; transition: background-color .2s, border-color .2s; }
.cr-item:hover { background: var(--paper); }
.cr-item.is-current { border-color: var(--ink); background: var(--sky); }
.cr-item:disabled { opacity: .5; cursor: default; }
.cr-thumb { position: relative; overflow: hidden; aspect-ratio: 16 / 9; border-radius: 6px; background: var(--ink); }
.cr-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cr-item-bar { position: absolute; left: 0; bottom: 0; height: 4px; width: 0; background: var(--coral); transition: width .4s; }
.cr-item.is-done .cr-item-bar { background: var(--green); }
.cr-item-t { display: flex; flex-direction: column; gap: .18rem; min-width: 0; }
.cr-item-t .mono { font-size: .62rem; color: var(--ink-2); }
.cr-item-t b { font-size: .9rem; line-height: 1.15; }
.cr-item-t small { font-size: .74rem; color: var(--ink-2); }
.cr-state { display: grid; place-items: center; width: 26px; height: 26px; border: 2px solid var(--ink); border-radius: 50%; background: var(--card); font: 800 .8rem/1 var(--display); }
.cr-item.is-current .cr-state::before { content: ""; width: 0; height: 0; margin-left: 2px; border-left: 8px solid var(--ink); border-block: 5px solid transparent; }
.cr-item.is-done .cr-state { background: var(--green); }
.cr-item.is-done .cr-state::before { content: "✓"; width: auto; height: auto; margin: 0; border: 0; }
.classroom.is-playing .cr-item.is-current .cr-state { animation: cr-beat 1.2s ease-in-out infinite; }
@keyframes cr-beat { 50% { transform: scale(1.15); } }

.cr-unlock { display: grid; grid-template-columns: 44px 1fr; align-items: center; gap: .75rem; padding: .7rem; border: 2px dashed var(--accent); border-radius: 10px; color: var(--ink); text-decoration: none; transition: background-color .25s; }
.cr-unlock > span:last-child { display: flex; flex-direction: column; gap: .15rem; }
.cr-unlock .mono { font-size: .62rem; color: var(--accent); }
.cr-unlock b { font-size: .92rem; line-height: 1.15; }
.cr-unlock small { font-size: .74rem; color: var(--ink-2); }
.cr-lock { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; background: var(--accent); }
.cr-lock svg { width: 22px; fill: #fff; }
.cr-unlock:hover { background: var(--paper); }
.classroom.is-complete .cr-unlock { border-style: solid; border-color: var(--ink); background: var(--accent); color: #fff; box-shadow: 4px 4px 0 var(--ink); animation: cr-glow 1.8s ease-in-out infinite; }
.classroom.is-complete .cr-unlock .mono, .classroom.is-complete .cr-unlock small { color: rgba(255, 255, 255, .85); }
.classroom.is-complete .cr-lock { background: #fff; }
.classroom.is-complete .cr-lock svg { fill: var(--accent); }
@keyframes cr-glow { 50% { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--ink); } }
.cr-auto { display: flex; align-items: center; gap: .5rem; font-size: .8rem; color: var(--ink-2); cursor: pointer; }
.cr-auto input { width: 18px; height: 18px; accent-color: var(--accent); }

@media (max-width: 899px) {
  .classroom { grid-template-columns: minmax(0, 1fr); }
  .cr-screen { box-shadow: 4px 4px 0 var(--ink); }
  .cr-next-card { padding: .4rem; }
  .cr-next-card .mono, .cr-overlay > .mono { font-size: .6rem; }
  .cr-ring { width: 52px; height: 52px; }
  .cr-done-sub, .cr-done .cr-link { display: none; }
  .cr-done .btn { min-height: 2.6rem; padding: .55rem 1rem; font-size: .9rem; }
}
@media (max-width: 520px) {
  .cr-next-card img, .cr-overlay > .mono { display: none; }
  .cr-done h4 { font-size: 1.25rem; }
  .cr-done-price b { font-size: 1.5rem; }
  .cr-item { grid-template-columns: 88px minmax(0, 1fr) 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .cr-play::before, .classroom.is-complete .cr-unlock, .classroom.is-playing .cr-item.is-current .cr-state { animation: none; }
  .cr-confetti { display: none; }
}
