/* Ronda · landing (Paso 52). Paleta y tipografías del producto (mockup v23). Mobile first. */

@font-face { font-family: "Fraunces"; src: url("/fonts/fraunces-latin-full-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("/fonts/fraunces-latin-full-italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("/fonts/ibm-plex-sans-latin-300-normal.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("/fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("/fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("/fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("/fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("/fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --ink: #1E2A42; --ink-2: #2B3A58; --ink-3: #141C2F; --ink-4: #0E1424;
  --paper: #F7F4EC; --paper-2: #F0ECE0; --rule: #D9D3C0; --white: #FFFFFF;
  --text: #26241F; --soft: #5B5848; --mist: #AEB8CC;
  --mustard: #D98E2B; --gold: #E8A93C; --blue: #3D6B92; --green: #4F7A5C; --coral: #C96A5E; --purple: #7C5CBF;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --max: 1240px;
  --pad: clamp(20px, 5vw, 56px);
  --nav-h: 64px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --shadow: 0 1px 0 rgba(255,255,255,.5) inset, 0 40px 80px -30px rgba(14,20,36,.38), 0 16px 32px -16px rgba(14,20,36,.28);
}
@media (min-width: 900px) { :root { --nav-h: 76px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 1rem/1.6 var(--sans); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
::selection { background: var(--gold); color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--pad)); margin-inline: auto; padding-inline: var(--pad); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--gold); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 600; text-decoration: none; transition: top .2s; }
.skip:focus { top: 12px; }

/* ── Tipografía ─────────────────────────────────────────── */
.h2 { font-family: var(--serif); font-variation-settings: "opsz" 144, "SOFT" 20; font-weight: 380; font-size: clamp(2rem, 1.2rem + 3.6vw, 3.75rem); line-height: 1.04; letter-spacing: -.022em; text-wrap: balance; }
.lede { margin-top: 22px; font-size: clamp(1.04rem, .95rem + .45vw, 1.24rem); line-height: 1.6; color: var(--soft); max-width: 62ch; text-wrap: pretty; }
.dark .lede { color: var(--mist); }
.eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; font: 500 .74rem/1.2 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--soft); }
.eyebrow span { color: var(--mustard); }
.eyebrow span::after { content: ""; display: inline-block; width: 28px; height: 1px; margin-left: 12px; vertical-align: middle; background: currentColor; opacity: .7; }
.eyebrow--light { color: var(--mist); }
.head { max-width: 880px; margin-bottom: clamp(40px, 6vw, 76px); }
.head--center { margin-inline: auto; text-align: center; }
.head--center .eyebrow { justify-content: center; }
.head--center .lede { margin-inline: auto; }

/* ── Botones ────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px; border-radius: 999px; font: 500 .98rem/1 var(--sans); text-decoration: none; white-space: nowrap; transition: transform .35s var(--ease-out), background-color .25s, box-shadow .35s, color .25s; }
.btn--gold { background: var(--gold); color: var(--ink); box-shadow: 0 10px 30px -12px rgba(232,169,60,.7); }
.btn--gold:hover { transform: translateY(-2px); background: #F0B64F; box-shadow: 0 16px 36px -14px rgba(232,169,60,.85); }
.btn--ghost { border: 1px solid rgba(247,244,236,.28); color: var(--paper); }
.btn--ghost:hover { border-color: rgba(247,244,236,.6); background: rgba(247,244,236,.06); }
.round { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--rule); background: var(--white); cursor: pointer; font-size: 1.1rem; transition: background .2s, transform .3s var(--ease-out); }
.round:hover { background: var(--ink); color: var(--paper); transform: scale(1.05); }

/* ── Secciones oscuras ──────────────────────────────────── */
.dark { position: relative; background: radial-gradient(120% 90% at 80% 0%, var(--ink-2) 0%, var(--ink) 42%, var(--ink-3) 100%); color: var(--paper); isolation: isolate; }
.dark::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .32; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ── Marca ──────────────────────────────────────────────── */
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; min-height: 44px; }
.mark { width: 30px; height: 30px; color: currentColor; flex: none; }
.mark__dot { fill: var(--gold); }
.brand__word { font-family: var(--serif); font-variation-settings: "opsz" 144, "SOFT" 50; font-weight: 500; font-size: 1.6rem; letter-spacing: -.03em; line-height: 1; }

/* ── Nav ────────────────────────────────────────────────── */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h); color: var(--paper); transition: background-color .4s, color .4s, box-shadow .4s, backdrop-filter .4s; }
.nav__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.nav.is-solid { background: rgba(247,244,236,.84); color: var(--ink); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 rgba(30,42,66,.08); }
.nav.is-solid.is-dark { background: rgba(20,28,47,.78); color: var(--paper); box-shadow: 0 1px 0 rgba(255,255,255,.06); }
.nav__links { display: none; }
.nav__links a { position: relative; padding: 8px 2px; font-size: .94rem; text-decoration: none; opacity: .82; transition: opacity .2s; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease-out); }
.nav__links a:hover, .nav__links a.is-active { opacity: 1; }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__end { display: flex; align-items: center; gap: 10px; }
.lang { display: inline-flex; align-items: center; padding: 3px; border-radius: 999px; border: 1px solid currentColor; border-color: color-mix(in srgb, currentColor 22%, transparent); }
.lang a { display: inline-flex; align-items: center; min-height: 32px; padding: 0 11px; border-radius: 999px; font: 500 .74rem/1 var(--mono); letter-spacing: .1em; text-decoration: none; opacity: .7; transition: opacity .2s, background-color .25s, color .25s; }
.lang a[aria-current] { opacity: 1; background: currentColor; }
.lang a[aria-current] { color: var(--ink); background: var(--paper); }
.nav.is-solid:not(.is-dark) .lang a[aria-current] { color: var(--paper); background: var(--ink); }
.nav__end > .lang { display: none; }
.btn-demo { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: 999px; background: var(--gold); color: var(--ink); font: 500 .9rem/1 var(--sans); text-decoration: none; white-space: nowrap; box-shadow: 0 8px 22px -12px rgba(232,169,60,.9); transition: transform .35s var(--ease-out), background-color .25s, box-shadow .35s; position: relative; }
.btn-demo::after { content: ""; position: absolute; inset: -2px; } /* zona táctil de 44 px */
.btn-demo:hover { transform: translateY(-1px); background: #F0B64F; box-shadow: 0 12px 26px -12px rgba(232,169,60,1); }
.btn-demo--big { min-height: 48px; padding: 0 22px; font-size: 1rem; }
.lock { width: 13px; height: 13px; flex: none; }
.btn .lock { width: 15px; height: 15px; }
@media (max-width: 380px) { .nav .btn-demo { padding: 0 12px; font-size: .84rem; } .nav .btn-demo .lock { display: none; } }
.closing__note { margin-top: 18px; font: 400 .8rem/1.4 var(--mono); letter-spacing: .06em; color: var(--mist); }
.burger { position: relative; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; cursor: pointer; }
.burger i { position: absolute; left: 12px; right: 12px; height: 1.5px; background: currentColor; transition: transform .45s var(--ease-out), top .45s var(--ease-out); }
.burger i:first-of-type { top: 18px; } .burger i:last-of-type { top: 25px; }
.burger[aria-expanded="true"] i:first-of-type { top: 21.5px; transform: rotate(45deg); }
.burger[aria-expanded="true"] i:last-of-type { top: 21.5px; transform: rotate(-45deg); }
body.menu-open .nav { background: transparent; box-shadow: none; color: var(--paper); backdrop-filter: none; -webkit-backdrop-filter: none; }
@media (min-width: 960px) {
  .nav__links { display: flex; gap: clamp(16px, 2.2vw, 34px); }
  .nav__end > .lang { display: inline-flex; }
  .burger { display: none; }
}

/* menú móvil */
.menu { position: fixed; inset: 0; z-index: 40; display: flex; flex-direction: column; justify-content: space-between; padding: calc(var(--nav-h) + 24px) var(--pad) calc(28px + env(safe-area-inset-bottom)); background: var(--ink-3); color: var(--paper); opacity: 0; transition: opacity .4s var(--ease); overflow-y: auto; }
.menu.is-open { opacity: 1; }
.menu__links { display: flex; flex-direction: column; }
.menu__links a { display: flex; align-items: baseline; gap: 14px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.08); font-family: var(--serif); font-size: clamp(1.9rem, 8vw, 2.6rem); font-weight: 380; letter-spacing: -.02em; text-decoration: none; opacity: 0; transform: translateY(16px); transition: opacity .5s var(--ease-out), transform .6s var(--ease-out); }
.menu.is-open .menu__links a { opacity: 1; transform: none; }
.menu.is-open .menu__links a:nth-child(2) { transition-delay: 50ms; } .menu.is-open .menu__links a:nth-child(3) { transition-delay: 100ms; }
.menu.is-open .menu__links a:nth-child(4) { transition-delay: 150ms; } .menu.is-open .menu__links a:nth-child(5) { transition-delay: 200ms; }
.menu__links small { font: 500 .72rem/1 var(--mono); letter-spacing: .14em; color: var(--gold); }
.menu__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 28px; }
.lang--big a { min-height: 44px; padding: 0 18px; font-size: .8rem; }
body.menu-open { overflow: hidden; }

/* ── Hero ───────────────────────────────────────────────── */
.hero { min-height: 100svh; padding: calc(var(--nav-h) + clamp(36px, 8vh, 90px)) 0 clamp(28px, 5vh, 56px); overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.hero__ring { position: absolute; z-index: -1; width: min(150vw, 1300px); aspect-ratio: 1; right: -60%; top: 50%; translate: 0 -50%; opacity: .55; pointer-events: none; }
.hero__ring svg { width: 100%; height: 100%; overflow: visible; }
.ring-line { fill: none; stroke: rgba(174,184,204,.18); stroke-width: 1; }
.ring-line--dash { stroke-dasharray: 2 10; stroke: rgba(174,184,204,.22); }
.ring-tick { fill: var(--ink); stroke: rgba(232,169,60,.55); stroke-width: 1.5; }
.ring-dot { fill: var(--gold); filter: drop-shadow(0 0 10px rgba(232,169,60,.9)); }
.ring-spin { transform-origin: 500px 500px; animation: spin 160s linear infinite; }
.ring-orbit { transform-origin: 500px 500px; animation: spin 26s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero__glow { position: absolute; z-index: -1; inset: auto -20% -40% auto; width: 90vw; aspect-ratio: 1; background: radial-gradient(closest-side, rgba(217,142,43,.16), transparent 70%); pointer-events: none; }
.hero__grid { display: grid; gap: clamp(40px, 6vw, 64px); align-items: center; }
.hero__title { font-family: var(--serif); font-variation-settings: "opsz" 144, "SOFT" 30; font-weight: 340; font-size: clamp(2.55rem, 1.2rem + 6.4vw, 6.1rem); line-height: .98; letter-spacing: -.035em; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hero__title .line > span { display: inline-block; }
.hero__title em, .closing em { font-style: italic; font-weight: 300; color: var(--gold); }
.hero__lede { margin-top: clamp(22px, 3vw, 32px); max-width: 56ch; font-size: clamp(1.02rem, .94rem + .4vw, 1.2rem); line-height: 1.62; color: var(--mist); text-wrap: pretty; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(28px, 4vw, 40px); }
.hero__stage { position: relative; aspect-ratio: 1 / .8; }
.hero__stage .frame { position: absolute; }
.frame--hero-back { width: 94%; left: 0; top: 0; }
.frame--hero-front { display: none; }
.hero__stage .phone--hero { position: absolute; z-index: 3; width: 36%; right: 2%; bottom: 0; }
@media (min-width: 600px) {
  .hero__stage { aspect-ratio: 1 / .74; }
  .frame--hero-back { width: 82%; }
  .frame--hero-front { display: block; width: 62%; right: 4%; bottom: 4%; }
  .hero__stage .phone--hero { width: 22%; right: auto; left: 4%; bottom: 0; }
}
@media (min-width: 1000px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); }
  .hero__ring { right: -36%; width: min(105vw, 1300px); }
  .hero__stage { aspect-ratio: 1 / .9; margin-right: calc(-1 * clamp(0px, 4vw, 60px)); }
  .frame--hero-back { width: 92%; left: 6%; top: 2%; }
  .frame--hero-front { width: 70%; right: 0; bottom: 10%; }
  .hero__stage .phone--hero { width: 23%; left: 0; bottom: 2%; }
}
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 20px; margin-top: clamp(48px, 8vh, 88px); padding-top: 28px; border-top: 1px solid rgba(255,255,255,.12); }
.facts li { display: flex; flex-direction: column; gap: 8px; }
.facts b { font-family: var(--serif); font-variation-settings: "opsz" 144; font-weight: 300; font-size: clamp(2.2rem, 1.6rem + 2vw, 3.2rem); line-height: 1; color: var(--gold); font-variant-numeric: tabular-nums; }
.facts span { font-size: .88rem; line-height: 1.45; color: var(--mist); max-width: 30ch; }
@media (min-width: 900px) { .facts { grid-template-columns: repeat(4, 1fr); gap: 32px; } }
.hero__scroll { display: none; }
@media (min-width: 900px) and (min-height: 760px) {
  .hero__scroll { display: block; position: absolute; left: 50%; bottom: 22px; width: 24px; height: 40px; translate: -50% 0; border: 1px solid rgba(247,244,236,.3); border-radius: 12px; }
  .hero__scroll span { position: absolute; left: 50%; top: 8px; width: 2px; height: 8px; translate: -50% 0; border-radius: 2px; background: var(--gold); animation: scrolldot 2.2s var(--ease) infinite; }
}
@keyframes scrolldot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* entrada del hero */
.js [data-intro] { opacity: 0; transform: translateY(26px); transition: opacity 1.1s var(--ease-out), transform 1.2s var(--ease-out); }
.js .hero__title .line[data-intro] { opacity: 1; transform: none; }
.js .hero__title .line[data-intro] > span { transform: translateY(105%); transition: transform 1.25s var(--ease-out); }
.js [data-intro="6"] { transform: translateY(40px) scale(.97); transition-duration: 1.4s, 1.6s; }
.is-loaded [data-intro] { opacity: 1; transform: none; }
.is-loaded .hero__title .line[data-intro] > span { transform: none; }
.is-loaded [data-intro="1"] { transition-delay: 80ms; }
.is-loaded [data-intro="2"] > span { transition-delay: 160ms; }
.is-loaded [data-intro="3"] > span { transition-delay: 300ms; }
.is-loaded [data-intro="4"] { transition-delay: 520ms; }
.is-loaded [data-intro="5"] { transition-delay: 660ms; }
.is-loaded [data-intro="6"] { transition-delay: 380ms; }

/* ── Marcos de captura ──────────────────────────────────── */
.frame { border-radius: 12px; overflow: hidden; background: var(--white); border: 1px solid rgba(30,42,66,.12); box-shadow: var(--shadow); transform-style: preserve-3d; will-change: transform; }
.dark .frame { border-color: rgba(255,255,255,.1); box-shadow: 0 50px 90px -30px rgba(0,0,0,.6), 0 18px 36px -18px rgba(0,0,0,.5); }
.frame__bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: #EEEAE0; border-bottom: 1px solid rgba(30,42,66,.08); }
.frame__bar span { width: 8px; height: 8px; border-radius: 50%; background: #D6D0C1; flex: none; }
.frame__bar em { flex: 1; min-width: 0; margin: 0 4px 0 10px; padding: 3px 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; border-radius: 6px; background: rgba(255,255,255,.7); font: 400 .66rem/1.4 var(--mono); font-style: normal; color: var(--soft); text-align: center; }
.frame img { width: 100%; }
@media (max-width: 599px) { .frame__bar { height: 22px; padding: 0 8px; gap: 4px; } .frame__bar span { width: 6px; height: 6px; } .frame__bar em { font-size: .56rem; padding: 1px 8px; } }
.phone { position: relative; padding: 6px; border-radius: 30px; background: linear-gradient(160deg, #2A3550, #0E1424 60%); box-shadow: 0 40px 70px -24px rgba(14,20,36,.55), 0 0 0 1px rgba(255,255,255,.08) inset; will-change: transform; }
.phone img { border-radius: 24px; }
.phone::before { content: ""; position: absolute; top: 12px; left: 50%; z-index: 2; width: 26%; height: 9px; translate: -50% 0; border-radius: 9px; background: #0E1424; }
@media (min-width: 900px) { .phone { padding: 8px; border-radius: 38px; } .phone img { border-radius: 30px; } .phone::before { top: 16px; height: 12px; } }
[data-zoom] { cursor: zoom-in; }

/* ── Secciones ──────────────────────────────────────────── */
.section { position: relative; padding-block: clamp(84px, 12vw, 168px); }
.section--paper2 { background: var(--paper-2); }

/* 01 · versus */
.versus { display: grid; gap: 18px; }
@media (min-width: 900px) { .versus { grid-template-columns: 1fr 1fr; gap: 24px; } }
.versus__col { padding: clamp(26px, 4vw, 48px); border-radius: 18px; border: 1px solid var(--rule); background: var(--white); }
.versus__col h3 { margin-bottom: 22px; font: 500 .78rem/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--soft); }
.versus__col--with { border-color: var(--gold); box-shadow: var(--shadow); color: var(--text); background: var(--white); }
.versus__col--with li { color: var(--text); border-color: var(--rule); }
.versus__col--with h3 { color: var(--mustard); }
.versus__col li { display: grid; grid-template-columns: 26px 1fr; gap: 14px; padding: 15px 0; border-top: 1px solid var(--rule); font-size: clamp(1rem, .96rem + .2vw, 1.1rem); line-height: 1.5; }
.versus__col li::before { content: "×"; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(201,106,94,.12); color: var(--coral); font-size: .95rem; line-height: 1; margin-top: 1px; }
.versus__col--with li::before { content: "✓"; background: rgba(217,142,43,.14); color: var(--mustard); font-size: .8rem; }
.versus__col--without li { color: var(--soft); }

/* 02 · la ronda */
.section--loop { background: linear-gradient(var(--paper) 0%, var(--paper) 100%); }
.story { position: relative; }
.story__pin { display: none; }
.story__steps { display: flex; flex-direction: column; gap: clamp(56px, 10vw, 80px); }
.step { display: flex; flex-direction: column; gap: 22px; }
.step__n { position: relative; display: inline-flex; align-items: center; gap: 10px; padding-left: 40px; min-height: 30px; font: 500 .8rem/1 var(--mono); letter-spacing: .1em; color: var(--ink); }
.step__n i { font-style: normal; color: var(--soft); opacity: .7; }
.step__n::before { content: ""; position: absolute; left: 0; top: 50%; width: 28px; height: 28px; translate: 0 -50%; border-radius: 50%; background: conic-gradient(var(--mustard) calc(var(--k, 1) * 12.5%), var(--rule) 0); -webkit-mask: radial-gradient(circle, transparent 10px, #000 10.5px); mask: radial-gradient(circle, transparent 10px, #000 10.5px); }
.step__label { margin-top: 18px; font: 500 .72rem/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--mustard); }
.step h3 { margin-top: 10px; font-family: var(--serif); font-variation-settings: "opsz" 96; font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.35rem); line-height: 1.1; letter-spacing: -.02em; text-wrap: balance; }
.step p:not(.step__label) { margin-top: 14px; font-size: clamp(1rem, .96rem + .25vw, 1.12rem); line-height: 1.65; color: var(--soft); max-width: 48ch; }
.loop__close { margin: clamp(64px, 10vw, 120px) auto 0; max-width: 26ch; text-align: center; font-family: var(--serif); font-variation-settings: "opsz" 144; font-style: italic; font-weight: 300; font-size: clamp(1.6rem, 1.1rem + 2vw, 2.6rem); line-height: 1.2; letter-spacing: -.02em; color: var(--ink); text-wrap: balance; }

@media (min-width: 1000px) {
  .story { display: grid; grid-template-columns: minmax(0, 1.28fr) minmax(0, 1fr); gap: clamp(40px, 5vw, 80px); }
  .story__pin { display: block; }
  .story__sticky { position: sticky; top: var(--nav-h); height: calc(100vh - var(--nav-h)); display: flex; flex-direction: column; justify-content: center; }
  .story__screens { position: relative; aspect-ratio: 1600 / 1030; }
  .frame--story { position: absolute; inset: 0; display: flex; flex-direction: column; opacity: 0; transform: translateY(18px) scale(.985); transition: opacity .8s var(--ease), transform 1s var(--ease-out); }
  .frame--story img { flex: 1; min-height: 0; object-fit: cover; object-position: top left; }
  .frame--story.is-on { opacity: 1; transform: none; z-index: 1; }
  .story__dial { position: absolute; z-index: 3; left: clamp(-24px, -2vw, -8px); bottom: clamp(24px, 6vh, 64px); width: clamp(210px, 20vw, 300px); padding: 12px 8px 8px; border-radius: 20px; background: rgba(247,244,236,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--rule); box-shadow: var(--shadow); }
  .story__steps { gap: 0; padding-block: 18vh 26vh; }
  .step { min-height: 72vh; justify-content: center; opacity: .28; transition: opacity .6s var(--ease); }
  .step.is-active { opacity: 1; }
  .step__shot { display: none; }
}
.dial { width: 100%; height: auto; overflow: visible; font: 500 13px var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.dial__track { fill: none; stroke: var(--rule); stroke-width: 2; }
.dial__progress { fill: none; stroke: var(--mustard); stroke-width: 3; stroke-linecap: round; transition: stroke-dashoffset 1s var(--ease-out); }
.dial__node circle { fill: var(--paper); stroke: var(--rule); stroke-width: 2; transition: fill .4s, stroke .4s, r .4s; }
.dial__node text { fill: var(--soft); transition: fill .4s; }
.dial__node.is-done circle { fill: var(--mustard); stroke: var(--mustard); }
.dial__node.is-active circle { fill: var(--ink); stroke: var(--gold); stroke-width: 4; r: 11; }
.dial__node.is-active text { fill: var(--ink); font-weight: 600; }
.story__dial-center { position: absolute; left: 50%; top: 52%; translate: -50% -50%; display: flex; align-items: baseline; gap: 4px; pointer-events: none; }
.story__dial-center b { font-family: var(--serif); font-variation-settings: "opsz" 144; font-weight: 340; font-size: clamp(2.4rem, 3.4vw, 3rem); line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.story__dial-center span { font: 500 .8rem var(--mono); color: var(--soft); }

/* 03 · docentes */
.cards { display: grid; gap: 16px; margin-top: clamp(40px, 6vw, 72px); }
@media (min-width: 600px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .cards { grid-template-columns: repeat(4, 1fr); } }
.card { padding: 26px 24px 28px; border-radius: 16px; border: 1px solid var(--rule); background: rgba(255,255,255,.55); transition: transform .5s var(--ease-out), box-shadow .5s, background-color .3s; }
@media (hover: hover) { .card:hover { transform: translateY(-4px); background: var(--white); box-shadow: var(--shadow); } }
.card__n { font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: var(--mustard); }
.card h3 { margin: 16px 0 8px; font-family: var(--serif); font-variation-settings: "opsz" 48; font-size: 1.3rem; line-height: 1.2; letter-spacing: -.01em; color: var(--ink); }
.card p { font-size: .95rem; color: var(--soft); }
.frame--wide { margin-top: clamp(40px, 6vw, 72px); }

/* 04 · alumnos */
.split { display: grid; gap: clamp(40px, 6vw, 72px); align-items: center; }
@media (min-width: 1000px) { .split { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); } .split .head { margin-bottom: 0; } }
.ticks { margin-top: 28px; display: grid; gap: 2px; }
.ticks li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; padding: 11px 0; border-top: 1px solid var(--rule); font-size: .98rem; }
.ticks li::before { content: ""; width: 9px; height: 9px; margin: 8px 0 0 4px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(79,122,92,.16); }
.split__visual { position: relative; }
.phones { display: flex; justify-content: center; gap: 4%; margin-top: -18%; padding-inline: 6%; position: relative; z-index: 2; }
.phones .phone { width: 44%; }
.phones .phone:nth-child(2) { margin-top: 12%; }
.phones figcaption { position: absolute; left: 50%; bottom: -34px; translate: -50% 0; white-space: nowrap; font: 500 .68rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--soft); }
@media (min-width: 1000px) {
  .frame--adapt { width: 88%; }
  .phones { position: absolute; right: -2%; bottom: -14%; width: 52%; margin: 0; padding: 0; gap: 6%; }
  .phones .phone { width: 47%; }
}

/* 05 · dirección */
.gallery { position: relative; }
.gallery__track { display: flex; gap: clamp(16px, 2.5vw, 32px); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 10px max(var(--pad), calc((100vw - var(--max)) / 2)) 40px; scroll-padding-inline: max(var(--pad), calc((100vw - var(--max)) / 2)); }
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__item { flex: none; width: min(86vw, 900px); scroll-snap-align: start; }
@media (min-width: 900px) { .gallery__item { width: min(62vw, 900px); } }
.gallery__item .frame { transition: transform .6s var(--ease-out); }
.gallery__item figcaption { display: grid; gap: 4px; margin-top: 20px; max-width: 60ch; font-size: .95rem; color: var(--soft); }
.gallery__item figcaption b { font-family: var(--serif); font-variation-settings: "opsz" 48; font-weight: 500; font-size: 1.2rem; color: var(--ink); }
.gallery__nav { display: flex; gap: 10px; justify-content: flex-end; }

/* 06 · privacidad */
.section--privacy { background: radial-gradient(90% 70% at 10% 0%, var(--ink-2) 0%, var(--ink) 45%, var(--ink-3) 100%); }
.ledger { display: grid; gap: 18px; }
@media (min-width: 900px) { .ledger { grid-template-columns: 1fr 1fr; gap: 24px; } }
.ledger__col { padding: clamp(24px, 3.4vw, 40px); border-radius: 18px; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.09); }
.ledger__col h3 { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; font-family: var(--serif); font-variation-settings: "opsz" 48; font-size: 1.35rem; }
.dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.dot--green { background: #7FB08C; box-shadow: 0 0 0 5px rgba(127,176,140,.14); }
.dot--coral { background: var(--coral); box-shadow: 0 0 0 5px rgba(201,106,94,.16); }
.ledger__col li { padding: 14px 0; border-top: 1px solid rgba(255,255,255,.08); color: #D8DDE8; line-height: 1.5; }
.ledger__col--no li { padding-left: 26px; position: relative; }
.ledger__col--no li::before { content: ""; position: absolute; left: 0; top: 23px; width: 14px; height: 1.5px; background: var(--coral); }
.pillars { display: grid; gap: 28px; margin-top: clamp(48px, 7vw, 88px); }
@media (min-width: 900px) { .pillars { grid-template-columns: repeat(3, 1fr); } }
.pillars article { padding-top: 20px; border-top: 1px solid rgba(255,255,255,.14); position: relative; }
.pillars article::before { content: ""; position: absolute; top: -1px; left: 0; width: 36px; height: 2px; background: var(--gold); }
.pillars h3 { font-family: var(--serif); font-variation-settings: "opsz" 48; font-size: 1.18rem; line-height: 1.25; margin-bottom: 8px; }
.pillars p { font-size: .93rem; color: var(--mist); }

/* 07 · un espacio por colegio */
.tenant { position: relative; padding: clamp(20px, 3vw, 34px); border-radius: 22px; background: var(--ink); color: var(--paper); box-shadow: var(--shadow); overflow: hidden; isolation: isolate; }
.tenant::after { content: ""; position: absolute; z-index: -1; right: -30%; top: -40%; width: 80%; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(232,169,60,.2); box-shadow: 0 0 0 40px rgba(232,169,60,.03), 0 0 0 80px rgba(232,169,60,.02); }
.tenant__url { display: flex; align-items: center; gap: 2px; padding: 14px 16px; border-radius: 12px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); font: 400 clamp(.86rem, .7rem + .7vw, 1.15rem)/1.2 var(--mono); color: var(--mist); overflow: hidden; white-space: nowrap; }
.tenant__url b { font-weight: 500; color: var(--gold); }
.tenant__lock { width: 12px; height: 12px; margin-right: 10px; flex: none; border-radius: 3px; border: 1.5px solid #7FB08C; position: relative; top: 2px; }
.tenant__lock::before { content: ""; position: absolute; left: 1px; right: 1px; bottom: 100%; height: 6px; border: 1.5px solid #7FB08C; border-bottom: 0; border-radius: 5px 5px 0 0; }
.caret { display: inline-block; width: 2px; height: 1.1em; margin-left: 2px; background: var(--gold); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.tenant__layers { display: grid; gap: 10px; margin-top: 18px; }
.tenant__layers li { display: grid; gap: 4px; padding: 16px 18px; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-left: 3px solid var(--c, var(--gold)); transition: transform .5s var(--ease-out), background-color .3s; }
.tenant__layers li:nth-child(1) { --c: var(--blue); } .tenant__layers li:nth-child(2) { --c: #7FB08C; }
.tenant__layers li:nth-child(3) { --c: var(--gold); } .tenant__layers li:nth-child(4) { --c: #A08AD6; }
.tenant__layers span { font-weight: 500; }
.tenant__layers em { font-style: normal; font-size: .9rem; color: var(--mist); }
.tenant.is-swap .tenant__layers li { animation: pulse .9s var(--ease-out) both; }
.tenant.is-swap .tenant__layers li:nth-child(2) { animation-delay: 70ms; } .tenant.is-swap .tenant__layers li:nth-child(3) { animation-delay: 140ms; } .tenant.is-swap .tenant__layers li:nth-child(4) { animation-delay: 210ms; }
@keyframes pulse { 0% { background: rgba(232,169,60,.16); transform: translateX(6px); } 100% { background: rgba(255,255,255,.04); transform: none; } }
@media (hover: hover) { .tenant__layers li:hover { transform: translateX(6px); background: rgba(255,255,255,.07); } }

/* 08 · implementación */
.timeline { display: grid; gap: 28px; counter-reset: t; }
@media (min-width: 600px) { .timeline { grid-template-columns: 1fr 1fr; gap: 36px 28px; } }
@media (min-width: 1100px) { .timeline { grid-template-columns: repeat(4, 1fr); } }
.timeline li { position: relative; padding-top: 26px; }
.timeline li::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--rule); }
.timeline li::after { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease-out) calc(var(--d, 0ms) + 200ms); }
.timeline li.is-in::after, html:not(.js) .timeline li::after { transform: scaleX(1); }
.timeline span { font-family: var(--serif); font-variation-settings: "opsz" 144; font-weight: 300; font-size: 2.6rem; line-height: 1; color: var(--mustard); }
.timeline h3 { margin: 14px 0 8px; font-family: var(--serif); font-variation-settings: "opsz" 48; font-size: 1.3rem; line-height: 1.2; color: var(--ink); }
.timeline p { font-size: .95rem; color: var(--soft); }

/* cierre */
.closing { padding-block: clamp(110px, 16vw, 200px); overflow: hidden; text-align: center; }
.closing__ring { position: absolute; z-index: -1; left: 50%; top: 50%; width: min(130vw, 980px); translate: -50% -50%; color: rgba(174,184,204,.08); pointer-events: none; }
.closing__ring .mark { width: 100%; height: auto; animation: spin 90s linear infinite; }
.closing__ring .mark__dot { fill: rgba(232,169,60,.1); }
.closing__text { display: grid; gap: .1em; font-family: var(--serif); font-variation-settings: "opsz" 144, "SOFT" 30; font-weight: 320; font-size: clamp(2.1rem, 1.1rem + 4.6vw, 5rem); line-height: 1.04; letter-spacing: -.03em; text-wrap: balance; }
.closing__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: clamp(36px, 5vw, 56px); }

/* pie */
.foot { padding-block: 48px calc(40px + env(safe-area-inset-bottom)); background: var(--ink-4); }
.foot::before { opacity: .2; }
.foot__inner { display: grid; gap: 22px; align-items: center; }
.foot p { color: var(--mist); font-size: .95rem; max-width: 46ch; }
.foot small { font: 400 .74rem/1.4 var(--mono); letter-spacing: .08em; color: rgba(174,184,204,.7); }
.foot .lang { justify-self: start; }
@media (min-width: 900px) { .foot__inner { grid-template-columns: auto 1fr auto; column-gap: 40px; } .foot small { grid-column: 1 / -1; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.08); } }

/* zoom */
.zoom { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; }
.zoom::backdrop { background: rgba(14,20,36,.92); backdrop-filter: blur(6px); }
.zoom[open] { display: grid; place-items: center; animation: fadein .35s var(--ease) both; }
.zoom img { max-width: 96vw; max-height: 88dvh; width: auto; border-radius: 10px; box-shadow: 0 40px 80px rgba(0,0,0,.5); }
.zoom__close { position: fixed; top: max(14px, env(safe-area-inset-top)); right: 14px; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.08); color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; }
@keyframes fadein { from { opacity: 0; } }

/* 404 */
.notfound { min-height: 100svh; display: grid; place-items: center; }
.notfound main { display: grid; gap: 24px; justify-items: start; padding-block: 80px; }
.notfound p:last-child { display: flex; flex-wrap: wrap; gap: 12px; }

/* ── Aparición al hacer scroll ──────────────────────────── */
.js [data-reveal] { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease) var(--d, 0ms), transform 1.1s var(--ease-out) var(--d, 0ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ── Movimiento reducido ────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0ms !important; }
  .js [data-reveal], .js [data-intro], .js .hero__title .line[data-intro] > span { opacity: 1; transform: none; }
  .ring-spin, .ring-orbit, .closing__ring .mark { animation: none !important; }
}
