/* Lufran Solutions · sistema visual y movimiento (v2, dirección editorial).
   Marca: tinta #071C38, cobalto #056BD8, arena #F3F1EB. Voz: grotesca de la casa + cursiva editorial.
   Movimiento: solo transform/opacity/color, curvas de salida suave, «reducir movimiento» respetado. */

/* ── Tipografías (autoalojadas; sin servicios externos) ─────────────────────────────── */
@font-face {
  font-family: "Schibsted Grotesk";
  src: url("/assets/fonts/schibsted-grotesk-latin.4c8b93f4.woff2") format("woff2");
  font-style: normal; font-weight: 400 700; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Schibsted Grotesk";
  src: url("/assets/fonts/schibsted-grotesk-latin-ext.ee9eeb23.woff2") format("woff2");
  font-style: normal; font-weight: 400 700; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Newsreader";
  src: url("/assets/fonts/newsreader-latin-500-italic.3d184d57.woff2") format("woff2");
  font-style: italic; font-weight: 500; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Newsreader";
  src: url("/assets/fonts/newsreader-latin-ext-500-italic.c4ede540.woff2") format("woff2");
  font-style: italic; font-weight: 500; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face { font-family: "Schibsted reserva"; src: local("Arial"), local("ArialMT"), local("Liberation Sans"), local("LiberationSans"); font-weight: 100 549; size-adjust: 104%; }
@font-face { font-family: "Schibsted reserva"; src: local("Arial Bold"), local("Arial-BoldMT"), local("Liberation Sans Bold"), local("LiberationSans-Bold"); font-weight: 550 900; size-adjust: 101.5%; }

/* ── Tokens ─────────────────────────────────────────────────────────────────────────── */
:root {
  color-scheme: light dark;
  --sand: #F3F1EB;
  --ink: #071C38;
  --cobalt: #056BD8;

  --bg: var(--sand);
  --bg-raised: #FBFAF6;
  --text: var(--ink);
  --text-2: #3E4C62;
  --text-3: #5A6679;
  --line: rgb(7 28 56 / .12);
  --line-strong: rgb(7 28 56 / .24);
  --control-line: rgb(7 28 56 / .52);
  --accent: var(--cobalt);
  --accent-hover: #0459B5;
  --on-accent: #FFFFFF;
  --mark-l: var(--ink);
  --mark-s: var(--cobalt);
  --capsule: rgb(251 250 246 / .88);
  --capsule-shadow: 0 0 0 1px rgb(7 28 56 / .08), 0 12px 32px rgb(7 28 56 / .08);
  --capsule-accent: var(--accent-hover); /* acento sobre el cristal: ≥ 4,5:1 pase la sección que pase debajo */
  --menu-shadow: 0 18px 48px rgb(7 28 56 / .16), 0 2px 6px rgb(7 28 56 / .08);

  /* Escenario y paneles oscuros: tinta de marca en claro; un punto más alto en oscuro. */
  --stage-bg: #071C38;
  --stage-line: rgb(243 241 235 / .14);
  --stage-text: #F3F1EB;
  --stage-2: #BCC6D5;
  --panel-bg: #071C38;
  --panel-text: #F3F1EB;
  --panel-2: #BCC6D5;

  --fylark-bg: #0B4DA2;
  --fylark-text: #FFFFFF;
  --fylark-2: #D2E1F7;
  --fylark-accent: #FFFFFF;
  --fylark-on-accent: #0B4DA2;
  --fylark-glow: rgb(255 255 255 / .16);
  --cestly-bg: #285F1D;
  --cestly-text: #F7F2E9;
  --cestly-2: #DCE8D2;
  --cestly-accent: #FFBC9B;
  --cestly-on-accent: #17251C;
  --cestly-glow: rgb(255 188 155 / .22);

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-soft: cubic-bezier(.32, .72, 0, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --t-fast: 160ms;
  --t-base: 260ms;
  --t-slow: 420ms;
  --t-reveal: 800ms;

  --r-lg: clamp(24px, 2.6vw, 40px);
  --gutter: max(clamp(20px, 5vw, 72px), env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
  --maxw: 1320px;
  --header-h: 76px;

  --fs-hero: clamp(3rem, 1rem + 7.4vw, 9rem);
  --fs-xl: clamp(3rem, 1rem + 6.4vw, 7.5rem);
  --fs-l: clamp(2.375rem, 1.1rem + 4vw, 5rem);
  --fs-m: clamp(2.25rem, 1.3rem + 3vw, 4rem);
  --fs-s: clamp(1.625rem, 1.05rem + 1.9vw, 3rem);
  --fs-claim: clamp(1.375rem, 1.05rem + 1vw, 2rem);
  --fs-lead: clamp(1.1875rem, 1rem + .6vw, 1.625rem);
  --fs-lede: clamp(1.125rem, 1rem + .45vw, 1.4375rem);
  --fs-intro: clamp(1.0625rem, 1rem + .3vw, 1.25rem);
  --fs-body: 1.0625rem;
  --fs-small: .9375rem;
  --fs-caption: .875rem;
  --fs-mono: .8125rem;
  --fs-mono-s: .75rem;
  --fs-email: clamp(1.5rem, .5rem + 3.9vw, 4rem);
  --fs-fact: clamp(3.25rem, 1.8rem + 4.4vw, 6.5rem);
  --fs-counter: clamp(6rem, 3rem + 9vw, 12.5rem);
  --fs-counter-total: clamp(2rem, 1.2rem + 2.4vw, 3.5rem);
  --font: "Schibsted Grotesk", "Schibsted reserva", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #071C38;
    --bg-raised: #0D2749;
    --text: #F3F1EB;
    --text-2: #C6CEDA;
    --text-3: #9EABBE;
    --line: rgb(243 241 235 / .12);
    --line-strong: rgb(243 241 235 / .26);
    --control-line: rgb(243 241 235 / .5);
    --accent: #5AA5FF;
    --accent-hover: #83BCFF;
    --on-accent: #071C38;
    --mark-l: #F3F1EB;
    --capsule: rgb(13 39 73 / .86);
    --capsule-shadow: 0 0 0 1px rgb(243 241 235 / .1), 0 12px 32px rgb(0 0 0 / .35);
    --capsule-accent: var(--accent);
    --menu-shadow: 0 18px 48px rgb(0 0 0 / .45), 0 2px 6px rgb(0 0 0 / .3);
    --stage-bg: #0D2749;
    --panel-bg: #0D2749;
    --panel-2: #C6CEDA;
  }
}
@media (prefers-contrast: more) {
  :root { --text-2: var(--text); --text-3: var(--text); --line: var(--line-strong); }
}

/* ── Base ───────────────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 24px); background: var(--bg); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; min-height: 100svh; background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: 1.0625rem; line-height: 1.6; font-kerning: normal;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; text-wrap: pretty; }
h1, h2, h3 { margin: 0; font-weight: 600; text-wrap: balance; }
ul, ol, dl { margin: 0; }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }
.header-inner.wrap { width: min(100% - 2 * var(--gutter) + 20px, var(--maxw) + 20px); }
.serif { font-family: var(--serif); font-style: italic; font-weight: 500; letter-spacing: -.02em; }
.skip {
  position: fixed; left: 16px; top: 12px; z-index: 100; transform: translateY(-160%);
  background: var(--text); color: var(--bg); padding: 12px 20px; border-radius: 999px; text-decoration: none; font-weight: 600;
  transition: transform var(--t-base) var(--ease-out);
}
.skip:focus-visible { transform: none; }
.scroll-sentinel { position: absolute; top: 0; left: 0; width: 1px; height: 24px; pointer-events: none; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: .8125rem; line-height: 1.4; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; flex: none; }

/* ── Cabecera: barra que se convierte en cápsula de cristal al desplazarse ─────────── */
.site-header { position: sticky; top: 0; z-index: 40; height: var(--header-h); display: flex; align-items: center; view-transition-name: site-header; }
.header-inner {
  display: flex; align-items: center; gap: 20px; min-height: 60px; padding-inline: 12px 8px; margin-inline: auto;
  border-radius: 999px;
  transition: background-color var(--t-slow) var(--ease-out), box-shadow var(--t-slow) var(--ease-out);
}
.site-header.is-scrolled .header-inner {
  background: var(--capsule);
  -webkit-backdrop-filter: saturate(1.6) blur(20px);
  backdrop-filter: saturate(1.6) blur(20px);
  box-shadow: var(--capsule-shadow);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .site-header.is-scrolled .header-inner { background: var(--bg-raised); } }
@media (prefers-reduced-transparency: reduce) { .site-header.is-scrolled .header-inner { background: var(--bg-raised); -webkit-backdrop-filter: none; backdrop-filter: none; } }
.brand { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; text-decoration: none; font-weight: 600; font-size: 1.0625rem; letter-spacing: -.012em; white-space: nowrap; border-radius: 12px; }
.brand .mark { width: 34px; height: 34px; flex: none; transition: transform var(--t-slow) var(--ease-soft); }
.brand:hover .mark { transform: rotate(-8deg) scale(1.05); }
.brand-accent { color: var(--accent); transition: color var(--t-base) var(--ease-out); }
.site-header.is-scrolled .brand-accent { color: var(--capsule-accent); }
.nav { margin-inline-start: auto; }
.nav ul, .lang-pills { list-style: none; padding: 0; margin: 0; }
.nav ul { display: flex; gap: 2px; }
.nav a {
  position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px;
  border-radius: 999px; text-decoration: none; color: var(--text-2); font-size: .9375rem;
  transition: color var(--t-fast), background-color var(--t-fast);
}
.nav a:hover { color: var(--text); background: var(--line); }
.nav a[aria-current="true"] { color: var(--text); }
.nav a[aria-current="true"]::after { content: ""; position: absolute; left: 50%; bottom: 7px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--accent); }
.lang { position: relative; }
.lang-pills { display: flex; gap: 2px; padding: 4px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); }
.lang-pills a {
  display: inline-grid; place-items: center; min-width: 40px; min-height: 36px; padding: 0 8px; border-radius: 999px;
  text-decoration: none; font-family: var(--mono); font-size: .75rem; letter-spacing: .06em; color: var(--text-2);
  transition: color var(--t-fast), background-color var(--t-fast);
}
.lang-pills a:hover { color: var(--text); background: var(--line); }
.lang-pills a[aria-current="page"] { background: var(--text); color: var(--bg); }
/* Menú móvil: botón de dos líneas y hoja a pantalla completa (patrón de Apple, Stripe, Linear). */
.menu-btn { display: none; place-items: center; width: 44px; height: 44px; margin-inline-start: auto; border: 0; border-radius: 999px; background: transparent; color: var(--text); cursor: pointer; transition: background-color var(--t-fast); }
.menu-btn:hover { background: var(--line); }
.menu-btn svg, .menu-close svg { width: 22px; height: 22px; }
.menu {
  position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: var(--bg); color: var(--text); overflow-y: auto; overscroll-behavior: contain;
}
.menu::backdrop { background: transparent; }
.menu-inner { min-height: 100%; display: flex; flex-direction: column; gap: 32px; padding: 12px var(--gutter) max(28px, env(safe-area-inset-bottom)); }
.menu-top { display: flex; align-items: center; justify-content: space-between; min-height: 60px; padding-inline: 12px 8px; }
.menu-close { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 999px; background: var(--line); color: var(--text); cursor: pointer; }
.menu-nav { list-style: none; padding: 0; margin: 12px 0 0; display: grid; }
.menu-nav a {
  display: flex; align-items: baseline; gap: 16px; padding: 14px 4px; border-bottom: 1px solid var(--line);
  font-size: clamp(2rem, 1.2rem + 4vw, 2.75rem); font-weight: 600; letter-spacing: -.04em; line-height: 1.1; text-decoration: none;
}
.menu-num { font-family: var(--mono); font-size: var(--fs-mono); font-weight: 400; letter-spacing: .06em; color: var(--accent); }
.menu-langs { display: grid; gap: 14px; }
.menu-lang-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.menu-lang-list a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; text-decoration: none; box-shadow: inset 0 0 0 1px var(--control-line); }
.menu-lang-list a[aria-current="page"] { background: var(--text); color: var(--bg); box-shadow: none; }
.menu-cta { margin-top: auto; justify-content: center; }
html.menu-open { overflow: hidden; }
@media (prefers-reduced-motion: no-preference) {
  .menu[open] { animation: menu-in 320ms var(--ease-out); }
  .menu[open] .menu-nav li, .menu[open] .menu-langs, .menu[open] .menu-cta { animation: fade-up 520ms var(--ease-out) both; }
  .menu[open] .menu-nav li:nth-child(2) { animation-delay: 40ms; } .menu[open] .menu-nav li:nth-child(3) { animation-delay: 80ms; }
  .menu[open] .menu-nav li:nth-child(4) { animation-delay: 120ms; } .menu[open] .menu-langs { animation-delay: 160ms; }
  .menu[open] .menu-cta { animation-delay: 200ms; }
  .menu.is-closing { animation: menu-out 200ms var(--ease-in-out) forwards; }
}
@keyframes menu-in { from { opacity: 0; transform: translateY(-12px); } }
@keyframes menu-out { to { opacity: 0; transform: translateY(-8px); } }

@media (max-width: 980px) {
  .nav, .lang { display: none; }
  .js .menu-btn { display: inline-grid; }
}

/* ── Botones ────────────────────────────────────────────────────────────────────────── */
.btn {
  --mx: 0px; --my: 0px;
  display: inline-flex; align-items: center; gap: 10px; min-height: 54px; padding: 0 28px; border-radius: 999px;
  font-weight: 600; font-size: 1rem; text-decoration: none; white-space: nowrap;
  transform: translate3d(var(--mx), var(--my), 0);
  transition: transform var(--t-slow) var(--ease-soft), background-color var(--t-base) var(--ease-out), color var(--t-base), box-shadow var(--t-base) var(--ease-out);
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform var(--t-base) var(--ease-out); }
.btn:active { transform: translate3d(var(--mx), var(--my), 0) scale(.97); }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-primary:hover svg { transform: translateY(3px); }
.btn-ghost { color: var(--text); box-shadow: inset 0 0 0 1.5px var(--control-line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--text); }

/* ── Portada: titular editorial a lo ancho ──────────────────────────────────────────── */
.hero { padding-block: clamp(36px, 9vh, 128px) clamp(48px, 8vh, 104px); }
.display {
  font-size: var(--fs-hero); line-height: .95; letter-spacing: -.056em;
  margin-top: clamp(22px, 3vw, 36px);
}
.display .serif { font-size: 1.06em; letter-spacing: -.035em; color: var(--accent); }
.display .w { display: inline-block; vertical-align: top; overflow: clip; padding: .12em .04em .14em; margin: -.12em -.04em -.14em; }
.display .w > span { display: inline-block; }
.hero-foot {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 28px 64px;
  margin-top: clamp(40px, 6vw, 80px); padding-top: 28px; border-top: 1px solid var(--line);
}
.lede { font-size: var(--fs-lede); line-height: 1.5; color: var(--text-2); max-width: 44ch; text-wrap: balance; }
.hero-cta { display: grid; justify-items: end; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 14px 0 14px;
  border-radius: 999px; box-shadow: inset 0 0 0 1px var(--control-line); background: color-mix(in oklab, var(--bg-raised) 70%, transparent);
  font-size: var(--fs-small); font-weight: 500; letter-spacing: -.005em; color: var(--text); text-decoration: none;
  transition: background-color var(--t-base) var(--ease-out), box-shadow var(--t-base) var(--ease-out);
}
.pill:hover { background: var(--bg-raised); box-shadow: inset 0 0 0 1px var(--text); }
.pill svg { width: 16px; height: 16px; flex: none; transition: transform var(--t-base) var(--ease-out); }
.pill:hover svg { transform: translateX(3px); }
.pill-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; }
.pill-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--accent); opacity: 0; }

/* ── Escenario: la L y la S encajan con el desplazamiento ───────────────────────────── */
.stage { --pl: 1; --pg: 1; --pc: 1; position: relative; }
.stage-sticky { padding: 0 var(--gutter); }
.stage-panel {
  position: relative; isolation: isolate; overflow: hidden;
  width: 100%; margin-inline: auto; max-width: 1560px; height: min(86vh, 860px); min-height: 480px;
  border-radius: var(--r-lg); background: var(--stage-bg); color: var(--stage-text);
  display: grid; place-items: center;
}
.stage-figure { position: relative; width: min(56vh, 560px, 72vw); aspect-ratio: 1; margin-top: -6vh; container-type: inline-size; }
.stage-grid { position: absolute; left: -100%; top: -100%; width: 300%; max-width: none; height: 300%; overflow: visible; pointer-events: none; }
.stage-grid line { stroke: var(--stage-line); stroke-width: 1; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--pg)); }
.stage-mark { position: relative; width: 100%; height: 100%; overflow: visible; }
.stage-mark path { transform-box: fill-box; transform-origin: 50% 50%; }
.stage-mark .mark-l { fill: var(--stage-text); }
.stage-mark .mark-s { fill: var(--mark-s); }
.stage-mark .mark-l { transform: translate3d(calc((1 - var(--pl)) * -58%), calc((1 - var(--pl)) * 14%), 0) rotate(calc((1 - var(--pl)) * -16deg)); }
.stage-mark .mark-s { transform: translate3d(calc((1 - var(--pl)) * 58%), calc((1 - var(--pl)) * -14%), 0) rotate(calc((1 - var(--pl)) * 16deg)); }
.stage-caption {
  position: absolute; left: 0; right: 0; bottom: clamp(28px, 7vh, 72px); padding-inline: var(--gutter);
  text-align: center; font-size: var(--fs-s); line-height: 1.1; letter-spacing: -.035em; font-weight: 500;
  opacity: var(--pc); transform: translate3d(0, calc((1 - var(--pc)) * 24px), 0);
}
.stage-caption { text-wrap: balance; }
.stage-caption .serif { color: #7FB6FF; }
/* Anotaciones: acompañan a su pieza y se desvanecen al encajar (la frase toma el relevo). */
.piece-label {
  position: absolute; z-index: 1; display: inline-flex; align-items: center; gap: 10px; white-space: nowrap;
  font-family: var(--mono); font-size: var(--fs-mono-s); letter-spacing: .1em; text-transform: uppercase; color: var(--stage-2);
  opacity: clamp(0, calc((1 - var(--pl)) * 5), 1);
}
.piece-label::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.piece-label-l { left: 10cqw; top: 90cqw; transform: translate3d(calc((1 - var(--pl)) * -32cqw), calc((1 - var(--pl)) * 9cqw), 0); }
.piece-label-s { left: 60cqw; top: 6cqw; flex-direction: row-reverse; transform: translate3d(calc((1 - var(--pl)) * 31cqw), calc((1 - var(--pl)) * -9cqw), 0); }
.stage.is-locked .stage-mark { animation: lock 520ms var(--ease-soft); }
.stage.is-locked .stage-grid { animation: grid-flash 900ms var(--ease-out); }
.stage.is-live { height: 240vh; }
.stage.is-live .stage-sticky { position: sticky; top: 0; height: 100vh; display: grid; align-items: center; padding-top: calc(var(--header-h) - 12px); padding-bottom: 16px; }
.stage.is-live .stage-panel { height: 100%; }

/* ── Secciones ──────────────────────────────────────────────────────────────────────── */
.section { padding-block: clamp(96px, 15vh, 176px); }
.section-head { display: grid; gap: 22px; max-width: 820px; margin-bottom: clamp(44px, 6vw, 80px); }
.section-title { font-size: var(--fs-l); line-height: 1; letter-spacing: -.045em; }
.section-intro { font-size: var(--fs-intro); color: var(--text-2); max-width: 54ch; }

/* Productos: cada tarjeta es el mundo de su app */
.product-grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); }
.product {
  --rx: 0deg; --ry: 0deg; --lift: 0px; --ix: 0px; --iy: 0px;
  position: relative; isolation: isolate; height: 100%; display: flex; flex-direction: column;
  min-height: clamp(520px, 46vw, 680px); padding: clamp(28px, 3.4vw, 52px);
  border-radius: var(--r-lg); background: var(--card-bg); color: var(--card-text); overflow: hidden;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .12);
  transform: perspective(1400px) rotateX(var(--rx)) rotateY(var(--ry)) translate3d(0, var(--lift), 0);
  transition: transform var(--t-slow) var(--ease-soft);
}
.product { container-type: inline-size; }
@container (max-width: 560px) { .art-fylark { width: 34%; } .art-cestly { width: 52%; } }
.product--fylark { --card-bg: var(--fylark-bg); --card-text: var(--fylark-text); --card-2: var(--fylark-2); --card-accent: var(--fylark-accent); --card-on-accent: var(--fylark-on-accent); --card-glow: var(--fylark-glow); }
.product--cestly { --card-bg: var(--cestly-bg); --card-text: var(--cestly-text); --card-2: var(--cestly-2); --card-accent: var(--cestly-accent); --card-on-accent: var(--cestly-on-accent); --card-glow: var(--cestly-glow); }
.product::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(620px circle at var(--mx, 75%) var(--my, 15%), var(--card-glow), transparent 60%);
  opacity: .55; transition: opacity var(--t-slow) var(--ease-out);
}
.product-top { display: flex; align-items: flex-start; }
.icon-tile { width: clamp(72px, 6.6vw, 96px); aspect-ratio: 1; border-radius: 23%; overflow: hidden; flex: none; box-shadow: 0 10px 30px rgb(0 0 0 / .22); }
.icon-tile img { width: 100%; height: 100%; }
.icon-tile--fylark { background: #EDF1F6; }
.icon-tile--fylark img { width: 74%; height: 74%; margin: 13%; }
.product-body { position: relative; margin-top: auto; padding-top: clamp(40px, 6vw, 96px); display: grid; gap: 14px; }
.product-kicker { font-family: var(--mono); font-size: .8125rem; letter-spacing: .05em; text-transform: uppercase; color: var(--card-2); }
.product-name { font-size: var(--fs-m); line-height: .95; letter-spacing: -.05em; }
.product-claim { font-size: var(--fs-claim); line-height: 1.16; letter-spacing: -.025em; font-weight: 500; max-width: 22ch; }
.product-desc { color: var(--card-2); max-width: 42ch; }
.product-foot {
  position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 20px;
  margin-top: 28px; padding-top: 24px; border-top: 1px solid color-mix(in oklab, var(--card-text) 20%, transparent);
}
.waitlist { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: .8125rem; letter-spacing: .02em; color: var(--card-2); }
.waitlist::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--card-accent); flex: none; }
.product-cta {
  display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 22px; border-radius: 999px;
  background: var(--card-accent); color: var(--card-on-accent); font-weight: 600; text-decoration: none; white-space: nowrap;
  transition: transform var(--t-fast) var(--ease-out);
}
.product-cta::after { content: ""; position: absolute; inset: 0; border-radius: var(--r-lg); z-index: 1; }
.product-cta svg { width: 16px; height: 16px; transition: transform var(--t-base) var(--ease-out); }
.product-cta:focus-visible { outline: 3px solid var(--card-text); outline-offset: 3px; }
.product:focus-within { box-shadow: 0 0 0 3px var(--bg), 0 0 0 6px var(--accent); }
.product:active .product-cta { transform: scale(.97); }

/* Arte de Fylark: documentos en abanico; el delantero lleva el aviso de vencimiento. */
.art { position: absolute; pointer-events: none; z-index: -1; }
.art-fylark { top: clamp(28px, 4vw, 56px); right: clamp(28px, 4vw, 60px); width: min(40%, 250px); aspect-ratio: 1 / 1.05; }
.doc {
  --r: 0deg; --t: 0% 0%;
  position: absolute; top: 0; right: 0; width: 66%; aspect-ratio: .76; border-radius: 9% / 7%;
  background: #FFFFFF; box-shadow: 0 22px 44px rgb(2 22 58 / .35), 0 2px 4px rgb(2 22 58 / .15);
  display: grid; align-content: start; gap: 8%; padding: 16% 13%;
  rotate: var(--r); translate: var(--t); transform-origin: 50% 90%;
  transition: rotate 560ms var(--ease-soft), translate 560ms var(--ease-soft);
}
.doc i { display: block; height: 5.5%; min-height: 4px; border-radius: 99px; background: #DCE6F4; }
.doc i:first-child { width: 58%; height: 8%; background: #9DBBE8; }
.doc i:nth-child(2) { width: 88%; } .doc i:nth-child(3) { width: 74%; } .doc i:nth-child(4) { width: 82%; }
.doc-1 { --r: -13deg; --t: -34% 12%; background: #CFE0F7; }
.doc-2 { --r: -5deg; --t: -16% 5%; background: #E9F1FC; }
.doc-3 { --r: 5deg; --t: 0% 0%; }
@media (hover: hover) and (pointer: fine) {
  .product--fylark:hover .doc-1 { --r: -20deg; --t: -52% 16%; }
  .product--fylark:hover .doc-2 { --r: -8deg; --t: -26% 4%; }
  .product--fylark:hover .doc-3 { --r: 8deg; --t: 4% -6%; }
}

/* Arte de Cestly: sus dos círculos, con la misma geometría que su icono. */
.art-cestly { top: -6%; right: -6%; width: min(64%, 400px); aspect-ratio: 1; }
.orb { position: absolute; border-radius: 50%; transition: transform 560ms var(--ease-soft); }
.orb-big { left: 14%; top: 34%; width: 44%; aspect-ratio: 1; background: #2FBF73; box-shadow: inset -18px -24px 60px rgb(10 60 30 / .28); }
.orb-small { left: 52%; top: 23.3%; width: 21.4%; aspect-ratio: 1; background: #FF8A4C; box-shadow: inset -8px -10px 24px rgb(120 40 0 / .25); }
@media (hover: hover) and (pointer: fine) {
  .product--cestly:hover .orb-big { transform: scale(1.06); }
  .product--cestly:hover .orb-small { transform: translate3d(22%, -28%, 0) scale(1.08); }
  .product:hover { --lift: -8px; }
  .product:hover::before { opacity: 1; }
  .product:hover .product-cta svg { transform: translate(3px, -3px); }
  .product:hover .icon-tile { transform: translate3d(var(--ix), var(--iy), 0); }
}
.icon-tile { transition: transform var(--t-slow) var(--ease-soft); }

/* Principios: contador gigante fijo mientras se lee la lista */
.principles-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(40px, 8vw, 128px); align-items: start; }
.principles-head { position: sticky; top: calc(var(--header-h) + 56px); display: grid; gap: 22px; }
.counter { display: flex; align-items: baseline; margin-top: clamp(12px, 3vw, 40px); font-weight: 600; letter-spacing: -.06em; line-height: .85; font-variant-numeric: tabular-nums; }
.counter-now { display: inline-block; font-size: var(--fs-counter); color: var(--accent); }
.counter-total { font-size: var(--fs-counter-total); color: transparent; -webkit-text-stroke: 1.25px var(--line-strong); margin-left: .12em; }
.counter-now.tick { animation: tick 420ms var(--ease-out); }
.progress { width: min(260px, 70%); height: 2px; border-radius: 2px; background: var(--line); overflow: hidden; }
.progress span { display: block; height: 100%; background: var(--accent); transform-origin: left center; transform: scaleX(var(--progress, .25)); transition: transform var(--t-slow) var(--ease-out); }
.principles-list { list-style: none; padding: 0; }
.principle { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: clamp(20px, 3vw, 36px); row-gap: 12px; padding-block: clamp(30px, 4.4vw, 56px); border-top: 1px solid var(--line); }
.principle:last-child { border-bottom: 1px solid var(--line); }
.principle .num { grid-row: span 2; font-family: var(--mono); font-size: .875rem; color: var(--text-3); padding-top: .6em; transition: color 320ms var(--ease-out); }
.principle h3 { font-size: var(--fs-s); line-height: 1.06; letter-spacing: -.035em; transition: color 320ms var(--ease-out); }
.principle p { color: var(--text-2); max-width: 46ch; }
.js .principle h3 { color: var(--text-3); }
.js .principle.is-active h3 { color: var(--text); }
.js .principle.is-active .num { color: var(--accent); }

/* Estudio: declaración, texto que se ilumina al leerlo, firma y datos */
.studio-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 6vw, 112px); align-items: end; }
.statement { font-size: var(--fs-xl); line-height: .95; letter-spacing: -.058em; margin-top: 22px; }
.statement .serif { font-size: 1.06em; color: var(--accent); letter-spacing: -.035em; }
.studio-text { font-size: var(--fs-lead); line-height: 1.45; letter-spacing: -.012em; color: var(--text); max-width: 34ch; }
.js .studio-text .lw { color: var(--text-3); transition: color 320ms var(--ease-out); }
.js .studio-text .lw.is-lit { color: var(--text); }
.byline { display: flex; align-items: center; gap: 14px; margin-top: 32px; }
.avatar { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--text); color: var(--bg); font-weight: 600; font-size: .9375rem; letter-spacing: .02em; flex: none; }
.byline-name { display: block; font-weight: 600; }
.byline-role { display: block; font-family: var(--mono); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.facts { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(48px, 7vw, 96px); border-top: 1px solid var(--line); }
.fact { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 10px; padding: 28px 20px 0 0; }
.fact + .fact { padding-inline-start: clamp(16px, 2vw, 28px); border-inline-start: 1px solid var(--line); }
.fact dd { margin: 0; font-size: var(--fs-fact); line-height: .92; letter-spacing: -.06em; font-weight: 600; font-variant-numeric: tabular-nums; }
.fact:first-child dd { color: var(--accent); }
.fact dt { font-family: var(--mono); font-size: .8125rem; line-height: 1.4; letter-spacing: .04em; text-transform: uppercase; color: var(--text-3); }

/* Contacto */
.contact-panel { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--r-lg); padding: clamp(44px, 7vw, 120px) clamp(24px, 6vw, 104px); background: var(--panel-bg); color: var(--panel-text); }
.contact-panel .eyebrow { color: var(--panel-2); }
.contact-title { font-size: var(--fs-xl); line-height: .95; letter-spacing: -.058em; margin-top: 22px; }
.contact-text { font-size: var(--fs-intro); color: var(--panel-2); max-width: 46ch; margin-top: 24px; }
.email-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; margin-top: clamp(36px, 5vw, 64px); }
.email {
  font-size: var(--fs-email); font-weight: 600; letter-spacing: -.04em; line-height: 1.15;
  color: var(--panel-text); text-decoration: none; overflow-wrap: anywhere;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 3px no-repeat; padding-bottom: 6px;
  transition: background-size var(--t-slow) var(--ease-out);
}
.email:hover, .email:focus-visible { background-size: 100% 3px; }
.email:focus-visible, .copy:focus-visible { outline-color: var(--panel-text); }
.copy {
  --mx: 0px; --my: 0px;
  display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 20px; border: 0; border-radius: 999px; cursor: pointer;
  background: color-mix(in oklab, var(--panel-text) 12%, transparent); color: var(--panel-text); font: 600 .9375rem/1 var(--font);
  transform: translate3d(var(--mx), var(--my), 0);
  transition: background-color var(--t-base) var(--ease-out), transform var(--t-slow) var(--ease-soft);
}
.copy:hover { background: color-mix(in oklab, var(--panel-text) 20%, transparent); }
.copy svg { width: 16px; height: 16px; }
.copy .ico-check { display: none; }
.copy.is-done .ico-copy { display: none; }
.copy.is-done .ico-check { display: block; animation: pop 420ms var(--ease-soft); }
.contact-watermark { position: absolute; right: -6%; bottom: -24%; width: min(60%, 680px); z-index: -1; opacity: .07; pointer-events: none; }
.contact-watermark path { fill: var(--panel-text); }

/* ── Pie con la marca a toda anchura ────────────────────────────────────────────────── */
.site-footer { padding-top: clamp(72px, 10vw, 120px); overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.footer-brand .brand { font-size: 1.125rem; }
.footer-brand p { color: var(--text-3); margin-top: 14px; font-size: .9375rem; }
.footer-col h2 { font-family: var(--mono); font-size: .75rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); margin-bottom: 12px; }
.footer-col ul { list-style: none; padding: 0; display: grid; gap: 2px; }
.footer-col a { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; text-decoration: none; color: var(--text-2); transition: color var(--t-fast); }
.footer-col a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 4px; }
.footer-col a svg { width: 12px; height: 12px; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; justify-content: space-between; margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line); font-size: .875rem; color: var(--text-3); }
.footer-lang-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 4px 14px; }
.footer-lang-list a { display: inline-flex; align-items: center; min-height: 36px; color: var(--text-2); text-decoration: none; }
.footer-lang-list a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 4px; }
.footer-lang-list a[aria-current="page"] { color: var(--text); font-weight: 600; }
.footer-mega { display: block; width: 100%; max-width: none; height: auto; margin-top: clamp(24px, 4vw, 56px); margin-bottom: clamp(12px, 2.5vw, 40px); overflow: visible; user-select: none; }
.footer-mega text { font-family: var(--font); font-weight: 600; font-size: 172px; letter-spacing: -.065em; fill: color-mix(in oklab, var(--text) 8%, transparent); }
.footer-mega .serif { font-family: var(--serif); font-style: italic; font-weight: 500; letter-spacing: -.045em; }

/* ── Páginas legales ────────────────────────────────────────────────────────────────── */
.doc-page { padding-block: clamp(40px, 8vw, 104px) clamp(56px, 10vw, 128px); }
.doc-nav { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin-bottom: clamp(32px, 5vw, 56px); }
.doc-nav a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; text-decoration: none; font-size: .9375rem; color: var(--text-2); box-shadow: inset 0 0 0 1px var(--control-line); transition: color var(--t-fast), box-shadow var(--t-fast); }
.doc-nav a:hover { color: var(--text); box-shadow: inset 0 0 0 1px var(--text); }
.doc-nav a[aria-current="page"] { background: var(--text); color: var(--bg); box-shadow: none; }
.doc-page h1 { font-size: var(--fs-l); line-height: .96; letter-spacing: -.055em; margin-top: 20px; max-width: 14ch; }
.doc-page .updated { margin-top: 22px; font-family: var(--mono); font-size: .8125rem; color: var(--text-3); }
.doc-page .intro { margin-top: 28px; font-size: var(--fs-lede); color: var(--text-2); max-width: 62ch; }
.doc-layout { display: grid; grid-template-columns: minmax(0, 68ch) minmax(200px, 260px); justify-content: space-between; gap: clamp(40px, 6vw, 96px); align-items: start; margin-top: clamp(40px, 6vw, 72px); }
.doc-body { max-width: 68ch; }
.toc { position: sticky; top: calc(var(--header-h) + 32px); display: grid; gap: 12px; }
.toc-title { font-family: var(--mono); font-size: var(--fs-mono-s); letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.toc ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; border-inline-start: 1px solid var(--line); }
.toc a { display: block; padding: 6px 0 6px 16px; margin-inline-start: -1px; border-inline-start: 2px solid transparent; font-size: var(--fs-small); color: var(--text-2); text-decoration: none; transition: color var(--t-fast), border-color var(--t-fast); }
.toc a:hover { color: var(--text); }
.toc a[aria-current="true"] { color: var(--text); border-inline-start-color: var(--accent); }
@media (max-width: 1100px) { .doc-layout { grid-template-columns: minmax(0, 1fr); } .toc { display: none; } }
.doc-body section { padding-block: 30px; border-top: 1px solid var(--line); }
.doc-body h2 { font-size: 1.375rem; line-height: 1.25; letter-spacing: -.015em; margin-bottom: 12px; }
.doc-body p + p { margin-top: 12px; }
.doc-body ul { padding-inline-start: 1.2em; display: grid; gap: 8px; }
.doc-body a, .doc-page .intro a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; overflow-wrap: anywhere; }
.doc-body a:hover { text-decoration-thickness: 2px; }
.doc-body strong { font-weight: 600; color: var(--text); }
.back { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-top: 40px; text-decoration: none; color: var(--text-2); font-weight: 600; }
.back svg { width: 18px; height: 18px; transition: transform var(--t-base) var(--ease-out); }
.back:hover { color: var(--text); }
.back:hover svg { transform: translateX(-3px); }

/* ── 404 y selector raíz ────────────────────────────────────────────────────────────── */
.nf { min-height: calc(100svh - var(--header-h)); display: grid; place-items: center; padding: 48px var(--gutter) 96px; text-align: center; }
.nf-inner { display: grid; justify-items: center; max-width: 660px; }
.nf .mark { width: clamp(120px, 18vw, 188px); height: auto; overflow: visible; }
.nf .mark-l { fill: var(--mark-l); transform: translate(-16%, 12%) rotate(-10deg); transition: transform 760ms var(--ease-soft); transform-box: fill-box; transform-origin: 50% 50%; }
.nf .mark-s { fill: var(--mark-s); transform: translate(16%, -12%) rotate(10deg); transition: transform 760ms var(--ease-soft); transform-box: fill-box; transform-origin: 50% 50%; }
.nf:has(.nf-home:hover, .nf-home:focus-visible) .mark-l, .nf:has(.nf-home:hover, .nf-home:focus-visible) .mark-s { transform: none; }
.nf-code { margin-top: 36px; font-family: var(--mono); font-size: .875rem; letter-spacing: .1em; color: var(--text-3); }
.nf h1 { font-size: var(--fs-m); letter-spacing: -.045em; line-height: 1.02; margin-top: 12px; }
.nf-text { margin-top: 14px; color: var(--text-2); }
.nf-home { margin-top: 28px; }
.nf-others { list-style: none; padding: 0; margin-top: 44px; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; font-size: .9375rem; }
.nf-others a { display: inline-flex; min-height: 40px; align-items: center; color: var(--text-2); text-underline-offset: 4px; }
.chooser { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 48px var(--gutter); }
.chooser .mark { width: 96px; height: 96px; margin-inline: auto; }
.chooser .mark-l { fill: var(--mark-l); } .chooser .mark-s { fill: var(--mark-s); }
.chooser-name { margin-top: 20px; font-weight: 600; font-size: 1.25rem; letter-spacing: -.015em; }
.chooser-list { list-style: none; padding: 0; margin-top: 28px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.chooser-list a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; text-decoration: none; box-shadow: inset 0 0 0 1px var(--control-line); }
.mark .mark-l { fill: var(--mark-l); }
.mark .mark-s { fill: var(--mark-s); }
.mark path { transform-box: fill-box; transform-origin: 50% 50%; }

/* ── Adaptación a pantallas ─────────────────────────────────────────────────────────── */
@media (max-width: 980px) {
  .hero-foot { grid-template-columns: 1fr; }
  .hero-cta { justify-items: start; }
  .product-grid { grid-template-columns: 1fr; }
  .product { min-height: 520px; }
  .principles-grid { grid-template-columns: 1fr; }
  .principles-head { position: static; }
  .counter { display: none; }
  .studio-grid { grid-template-columns: 1fr; align-items: start; }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
  .stage-figure { width: min(70vw, 440px, 52vh); }
}
@media (max-width: 720px) {
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact:nth-child(odd) { padding-inline-start: 0; border-inline-start: 0; }
  .fact:nth-child(n + 3) { border-top: 1px solid var(--line); margin-top: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stage.is-live { height: 200vh; }
  .art-fylark { width: min(34%, 150px); top: 24px; right: 24px; }
  .art-cestly { width: min(52%, 220px); }
  .product { min-height: 580px; }
}
@media (max-width: 420px) {
  :root { --header-h: 68px; }
  .brand { font-size: 1rem; gap: 10px; }
  .brand .mark { width: 30px; height: 30px; }
  .actions { width: 100%; }
  .actions .btn { flex: 1 1 100%; justify-content: center; }
  .product-foot { flex-direction: column; align-items: flex-start; }
}

/* ── Movimiento ─────────────────────────────────────────────────────────────────────── */
.js [data-reveal] { opacity: 0; transform: translate3d(0, 40px, 0); transition: opacity var(--t-reveal) var(--ease-out), transform var(--t-reveal) var(--ease-out); transition-delay: calc(var(--d, 0) * 1ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .product-grid > li:not(.is-in) .doc { rotate: 0deg; translate: 0% 30%; }
.js .product-grid > li:not(.is-in) .orb { transform: scale(.4); }
.doc-1 { transition-delay: 120ms; } .doc-2 { transition-delay: 220ms; } .doc-3 { transition-delay: 320ms; }
.orb-small { transition-delay: 160ms; }

@media (prefers-reduced-motion: no-preference) {
  .display .w > span { transform: translateY(115%); animation: word-rise var(--t-reveal) var(--ease-out) forwards; }
  .wi-0 > span { animation-delay: 140ms; } .wi-1 > span { animation-delay: 195ms; } .wi-2 > span { animation-delay: 250ms; }
  .wi-3 > span { animation-delay: 305ms; } .wi-4 > span { animation-delay: 360ms; } .wi-5 > span { animation-delay: 415ms; }
  .wi-6 > span { animation-delay: 470ms; } .wi-7 > span { animation-delay: 525ms; } .wi-8 > span { animation-delay: 580ms; }
  .wi-9 > span { animation-delay: 635ms; } .wi-10 > span { animation-delay: 690ms; } .wi-11 > span { animation-delay: 745ms; }
  .wi-12 > span { animation-delay: 800ms; } .wi-13 > span { animation-delay: 855ms; } .wi-14 > span { animation-delay: 910ms; }
  .wi-15 > span { animation-delay: 965ms; }
  .hero .pill, .hero-foot { opacity: 0; animation: fade-up 1000ms var(--ease-out) forwards; }
  .hero .pill { animation-delay: 60ms; }
  .hero-foot { animation-delay: 700ms; }
  .pill-dot::after { animation: ping 2.2s var(--ease-out) 1.4s 3; }
  .stage:not(.is-live) .stage-panel { animation: none; }

  @view-transition { navigation: auto; }
  ::view-transition-old(root) { animation: vt-out 220ms var(--ease-in-out) both; }
  ::view-transition-new(root) { animation: vt-in 480ms var(--ease-out) both; }
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .contact-watermark { animation: drift linear both; animation-timeline: view(); animation-range: cover 0% cover 100%; }
    .footer-mega { animation: mega-rise linear both; animation-timeline: view(); animation-range: entry 0% entry 100%; }
  }
}
@keyframes word-rise { to { transform: none; } }
@keyframes fade-up { from { opacity: 0; transform: translate3d(0, 20px, 0); } to { opacity: 1; transform: none; } }
@keyframes ping { 0% { opacity: .55; transform: scale(1); } 100% { opacity: 0; transform: scale(3.2); } }
@keyframes tick { from { opacity: 0; transform: translateY(40%); } }
@keyframes lock { 40% { transform: scale(1.03); } }
@keyframes grid-flash { 30% { filter: brightness(2); } }
@keyframes pop { 0% { transform: scale(.4); } 60% { transform: scale(1.15); } 100% { transform: none; } }
@keyframes drift { from { transform: translate3d(0, 12%, 0) rotate(-6deg); } to { transform: translate3d(0, -8%, 0) rotate(4deg); } }
@keyframes mega-rise { from { transform: translate3d(0, 40%, 0); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes vt-out { to { opacity: 0; transform: translate3d(0, -8px, 0); } }
@keyframes vt-in { from { opacity: 0; transform: translate3d(0, 14px, 0); } }

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .js .product-grid > li:not(.is-in) .doc { rotate: var(--r); translate: var(--t); }
  .js .product-grid > li:not(.is-in) .orb { transform: none; }
  *, *::before, *::after { transition-duration: 0ms !important; animation-duration: 0ms !important; animation-delay: 0ms !important; }
}

/* ── Colores forzados (alto contraste de Windows) ───────────────────────────────────── */
@media (forced-colors: active) {
  .btn, .product-cta, .copy, .lang-pills a[aria-current="page"], .doc-nav a { border: 1px solid ButtonText; }
  .mark .mark-l, .mark .mark-s, .stage-mark .mark-l, .stage-mark .mark-s { fill: CanvasText; }
  .product, .stage-panel, .contact-panel { border: 1px solid CanvasText; }
  .art, .footer-mega, .contact-watermark { display: none; }
}
