/*!
  ███╗   ███╗██╗   ██╗██████╗     ██╗      █████╗ ██████╗ ███████╗
  ████╗ ████║██║   ██║██╔══██╗    ██║     ██╔══██╗██╔══██╗██╔════╝
  ██╔████╔██║██║   ██║██████╔╝    ██║     ███████║██████╔╝███████╗
  ██║╚██╔╝██║╚██╗ ██╔╝██╔═══╝     ██║     ██╔══██║██╔══██╗╚════██║
  ██║ ╚═╝ ██║ ╚████╔╝ ██║         ███████╗██║  ██║██████╔╝███████║
  ╚═╝     ╚═╝  ╚═══╝  ╚═╝         ╚══════╝╚═╝  ╚═╝╚═════╝ ╚══════╝

  Código diseñado y desarrollado por MVP LABS
  MVP LABS es propiedad de Gonzalo A. Moreno Villalobos
  © 2026 MVP LABS · Gonzalo A. Moreno Villalobos. Todos los derechos reservados sobre el código.
  Prohibida su copia, clonación o reutilización sin autorización.
*/
/* Concepto "Pulse": un estudio de software que late. Un solo gesto recorre la página: el barrido tipo electrocardiograma.
   Rojo = acción y estado actual (máx. una palabra por pantalla). Dorado = datos y código.
   Tipografía: Archivo expandida (display) · Instrument Sans (texto) · JetBrains Mono (metadatos). Grilla editorial de 12 columnas con índices colgantes. */
:root {
  --ink: #07080B;
  --ink-2: #0D0F14;
  --ink-3: #14171E;
  --line: #22262F;
  --line-2: #2E333E;
  --field: #666B78;
  --text: #F4F2ED;
  --soft: #C9CBD1;
  --muted: #8E93A0;
  --dim: #5E6370;
  --red: #EF233C;
  --red-deep: #C8142B;
  --gold: #D6A84B;
  --gold-dim: rgba(214, 168, 75, 0.14);
  --font-display: "Archivo", "Arial Black", system-ui, sans-serif;
  --font-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-expo: cubic-bezier(0.19, 1, 0.22, 1);
  --ease-io: cubic-bezier(0.77, 0, 0.18, 1);
  --sp: clamp(80px, 10vw, 152px);
  color-scheme: dark;
}
html { background: var(--ink); scroll-behavior: smooth; scroll-padding-top: 24px; }
*, *::before, *::after { box-sizing: border-box; }
body {
  background: var(--ink); color: var(--text);
  font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--ink); }
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 70; opacity: 0.04;
  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='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
::selection { background: var(--red); color: #fff; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 800; font-stretch: 118%; letter-spacing: -0.012em; line-height: 0.96; text-wrap: balance; }
p { margin: 0; }
img { max-width: 100%; }
.wrap { width: 100%; max-width: 1760px; margin: 0 auto; padding-left: max(clamp(16px, 4.5vw, 88px), env(safe-area-inset-left, 0px)); padding-right: max(clamp(16px, 4.5vw, 88px), env(safe-area-inset-right, 0px)); }
.mono { font-family: var(--font-mono); font-size: 0.76rem; letter-spacing: 0.08em; text-transform: uppercase; }
.red { color: var(--red); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -80px; z-index: 80; background: var(--gold); color: var(--ink); padding: 10px 16px; font-weight: 600; text-decoration: none; }
.skip:focus { top: calc(12px + env(safe-area-inset-top, 0px)); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--red-deep); --fill: var(--text); --fg-hover: var(--ink);
  position: relative; display: inline-flex; align-items: center; gap: 14px; min-height: 52px; padding: 0 26px;
  font-family: var(--font-display); font-stretch: 112%; font-weight: 700; font-size: 0.95rem; letter-spacing: 0.01em;
  color: #fff; background: var(--bg); border: 0; text-decoration: none; cursor: pointer; isolation: isolate; overflow: hidden;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
  transition: color .3s var(--ease-out) .0s, transform .8s cubic-bezier(.2,1.3,.4,1);
}
.btn::before { content: ""; position: absolute; inset: 0; background: var(--fill); transform: scaleY(0); transform-origin: 50% 0; transition: transform .6s var(--ease-io); z-index: -1; }
.btn:hover, .btn:focus-visible { color: var(--fg-hover); transition-delay: .08s, 0s; }
.btn:hover::before, .btn:focus-visible::before { transform: scaleY(1); transform-origin: 50% 100%; }
.btn .lbl, .btn .arrow { display: inline-block; transition: transform .5s var(--ease-out); }
.btn:hover .arrow, .btn:focus-visible .arrow { transform: translateX(4px); }
.btn-line { --bg: transparent; --fill: var(--text); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); clip-path: none; }
.btn.is-mag { transition: color .3s var(--ease-out), transform 0s; }

/* ---------- Header ---------- */
.hdr { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; transition: transform .6s var(--ease-out), background-color .4s, box-shadow .4s, backdrop-filter .4s; }
.js .hdr { transform: translateY(-100%); }
.js.loaded .hdr { transform: none; transition-delay: 0s; }
.hdr.is-solid { background: rgba(7, 8, 11, 0.84); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); box-shadow: 0 1px 0 var(--line); }
.js.loaded .hdr.is-hidden { transform: translateY(-110%); }
.js.loaded .hdr.is-hidden:focus-within { transform: none; }
.hdr .wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-block: 14px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; opacity: 1; }
.hdr.show-brand .brand, .brand:focus-visible { opacity: 1; }
.brand img { height: 22px; width: auto; display: block; }
.brand-labs { font: 500 0.7rem/1 var(--font-display); font-stretch: 125%; letter-spacing: 0.7em; margin-right: -0.7em; color: var(--text); }
.hdr nav { display: flex; align-items: center; gap: 30px; }
.nl { position: relative; text-decoration: none; font-size: 0.92rem; color: var(--soft); }
.nl::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease-out); }
.nl:hover, .nl:focus-visible { color: var(--text); }
.nl:hover::after, .nl:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.hdr .btn { min-height: 44px; padding: 0 18px; font-size: 0.85rem; }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: clamp(8px, 2vw, 24px); padding-bottom: clamp(56px, 7vw, 104px); }
.hero-meta { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--muted); }
.hero-meta .live { display: inline-flex; align-items: center; gap: 8px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); animation: beat 2.1s infinite; }
@keyframes beat { 0%, 100% { transform: scale(1); opacity: 1; } 12% { transform: scale(1.6); } 24% { transform: scale(1); } 36% { transform: scale(1.35); } 50% { transform: scale(1); opacity: .7; } }
.pulse-stage { position: relative; margin-block: clamp(28px, 4vw, 56px); width: 100%; aspect-ratio: 900 / 236; height: auto; }

.pulse-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: pan-y; }
.pulse-stage .fallback { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.pulse-stage .fallback img { width: 100%; height: auto; mix-blend-mode: lighten; }
.pulse-stage.ready .fallback { display: none; }
.hero-bottom { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: end; margin-top: clamp(20px, 3vw, 40px); }
@media (max-width: 960px) { .hero-bottom { grid-template-columns: minmax(0, 1fr); } }
.hero h1 { font-size: clamp(2.2rem, 0.4rem + 5vw, min(5.6rem, 9.5vh)); line-height: 0.92; letter-spacing: -0.02em; }
@media (max-width: 960px) { .hero h1 { font-size: clamp(2.2rem, 0.6rem + 6.4vw, 4.6rem); } }
.ln { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.ln > span { display: inline-block; white-space: nowrap; }
.hero-side { display: flex; flex-direction: column; gap: 24px; padding-bottom: 6px; min-width: 0; }
.hero-side .lede { color: var(--soft); font-size: 1.1rem; max-width: 44ch; }
.hero-side .fine-print { color: var(--muted); font-size: 0.72rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn.btn-dl { --bg: var(--gold); --fill: var(--text); --fg-hover: var(--ink); color: var(--ink); box-shadow: none; clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px)); }
.btn-dl .arrow { font-weight: 700; }
.btn-dl:hover .arrow, .btn-dl:focus-visible .arrow { transform: translateY(3px); }
.cta-dl { margin-top: 32px; }
.js .hero h1 .ln > span { transform: translateY(105%); font-stretch: 92%; }
.js.loaded .hero h1 .ln > span { transform: none; font-stretch: 118%; transition: transform 1.1s var(--ease-expo), font-stretch 1.3s var(--ease-expo); transition-delay: calc(var(--i) * 90ms + 380ms); }
.js .hero-meta { opacity: 0; }
.js.loaded .hero-meta { opacity: 1; transition: opacity .6s var(--ease-out); }
.js .hero-side > * { opacity: 0; transform: translateY(16px); }
.js.loaded .hero-side > * { opacity: 1; transform: none; transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: calc(var(--i, 0) * 100ms + 900ms); }

/* ---------- Ticker ---------- */
.ticker { border-block: 1px solid var(--line); overflow: hidden; padding-block: 22px; display: flex; flex-direction: column; gap: 14px; }
.track { display: flex; width: max-content; will-change: transform; }
.track > span { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; white-space: nowrap; }
.track.big > span { font-family: var(--font-display); font-stretch: 125%; font-weight: 800; font-size: clamp(1.5rem, 1rem + 2.4vw, 3rem); letter-spacing: -0.012em; text-transform: uppercase; }
.track.big .o { color: transparent; -webkit-text-stroke: 1px rgba(214, 168, 75, 0.6); font-weight: 800; }
.track.small > span { color: var(--muted); }
.sq { width: 9px; height: 9px; background: var(--gold); flex: none; }

/* ---------- Section scaffolding ---------- */
.sec { padding-block: var(--sp); }
.sec + .sec { padding-top: 0; }
.sec-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 24px; align-items: start; margin-bottom: clamp(44px, 6vw, 80px); }
.kicker { grid-column: 1 / span 2; color: var(--gold); padding-top: 0.9em; display: flex; gap: 10px; }
.kicker .idx { color: var(--text); }
.sec-head h2 { grid-column: 3 / span 9; font-size: clamp(2.2rem, 1rem + 4.2vw, 5rem); }
.sec-head h2.sm { font-size: clamp(2rem, 1rem + 2.6vw, 3.4rem); }
.sec-head .sub { grid-column: 3 / span 5; color: var(--soft); max-width: 50ch; }
@media (max-width: 860px) { .sec-head .kicker, .sec-head h2, .sec-head .sub { grid-column: 1 / -1; } .kicker { padding-top: 0; } }

/* ---------- Reveal system ---------- */
.pre[data-reveal=""], .pre[data-reveal="up"] { opacity: 0; transform: translateY(24px); }
.in[data-reveal=""], .in[data-reveal="up"] { opacity: 1; transform: none; transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: var(--d, 0ms); }
.mk { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.mk-i { display: block; }
.pre[data-reveal="mask"] .mk-i { transform: translateY(105%); }
.in[data-reveal="mask"] .mk-i { transform: none; transition: transform 1s var(--ease-expo); transition-delay: var(--d, 0ms); }
[data-reveal="wipe"] { position: relative; }
.pre[data-reveal="wipe"]::after, .in[data-reveal="wipe"]::after { content: ""; position: absolute; inset: -1px; z-index: 5; pointer-events: none; transform-origin: 100% 50%;
  background: linear-gradient(90deg, var(--red) 0, var(--gold) 2px, var(--ink) 3px); }
.pre[data-reveal="wipe"]::after { transform: scaleX(1); }
.in[data-reveal="wipe"]::after { transform: scaleX(0); transition: transform 1.1s var(--ease-io); transition-delay: var(--d, 0ms); }
.pre[data-reveal="stagger"] > * { opacity: 0; transform: translateY(18px); }
.in[data-reveal="stagger"] > * { opacity: 1; transform: none; transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); transition-delay: calc(var(--i, 0) * 80ms); }

/* ---------- Manifesto ---------- */
.manifesto .grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
.manifesto .kicker { padding-top: 1.1em; }
.manifesto .big { grid-column: 3 / span 10; font-family: var(--font-display); font-weight: 700; font-stretch: 108%; font-size: clamp(1.9rem, 0.9rem + 3.6vw, 4.6rem); line-height: 1.06; letter-spacing: -0.015em; max-width: 26ch; text-wrap: pretty; }
.manifesto .w { --k: 0; color: color-mix(in oklab, var(--dim), var(--text) calc(var(--k) * 100%)); }
.manifesto .w.accent { color: color-mix(in oklab, var(--dim), var(--red) calc(var(--k) * 100%)); }
.manifesto .sig { grid-column: 3 / span 10; margin-top: 44px; color: var(--muted); display: flex; gap: 14px; align-items: center; }
.manifesto .sig::before { content: ""; width: 40px; height: 1px; background: var(--line-2); }
@media (max-width: 860px) { .manifesto .grid > * { grid-column: 1 / -1; } .manifesto .big { margin-top: 24px; } }

/* ---------- Services ---------- */
.svc-list { border-top: 1px solid var(--line); }
.svc { position: relative; display: grid; grid-template-columns: 92px minmax(0, 1.3fr) minmax(0, 1fr) 40px; gap: 28px; align-items: center; padding: clamp(26px, 3vw, 40px) 8px; text-decoration: none; transition: opacity .5s var(--ease-out); }
.svc::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--line); transform: scaleX(1); transform-origin: left; }
.svc.pre::after { transform: scaleX(0); }
.svc.in::after { transform: scaleX(1); transition: transform 1.2s var(--ease-io); transition-delay: var(--d, 0ms); }
.svc-list:hover .svc:not(:hover) { opacity: 0.42; }
.svc .code { color: var(--gold); }
.svc h3 { font-size: clamp(1.7rem, 1rem + 2.4vw, 3.2rem); transition: transform .7s var(--ease-out), color .4s; }
.svc:hover h3, .svc:focus-visible h3 { transform: translateX(12px); }
.svc .desc { color: var(--soft); display: flex; flex-direction: column; gap: 12px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags span { font-family: var(--font-mono); font-size: 0.72rem; color: var(--muted); border: 1px solid var(--line-2); padding: 4px 9px; border-radius: 99px; }
.svc .go { position: relative; width: 40px; height: 40px; overflow: hidden; color: var(--text); }
.svc .go svg { position: absolute; inset: 8px; width: 24px; height: 24px; transition: transform .55s var(--ease-io); }
.svc .go svg + svg { transform: translateX(-150%); color: var(--red); }
.svc:hover .go svg:first-child, .svc:focus-visible .go svg:first-child { transform: translateX(150%); }
.svc:hover .go svg + svg, .svc:focus-visible .go svg + svg { transform: none; }
@media (max-width: 860px) {
  .svc { grid-template-columns: minmax(0, 1fr) 40px; gap: 14px 18px; padding-inline: 0; }
  .svc .code { grid-column: 1 / -1; }
  .svc .desc { grid-column: 1 / -1; grid-row: 3; }
  .svc .go { grid-row: 2; grid-column: 2; }
}

/* ---------- MVP (sticky) ---------- */
.mvp { position: relative; background: var(--ink-2); border-block: 1px solid var(--line); }
.mvp-track { height: 320vh; }
.mvp-sticky { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; }
.mvp-grid { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.mvp .kicker { padding-top: 0; }
.mvp h2 { font-size: clamp(2.2rem, 1rem + 3.6vw, 4.4rem); margin: 20px 0 16px; }
.mvp .lede { color: var(--soft); max-width: 46ch; margin-bottom: 26px; }
.weeks-wrap { position: relative; }
.weeks { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.weeks li { position: relative; display: grid; grid-template-columns: 70px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 0 12px 14px; border-bottom: 1px solid var(--line); color: var(--muted); transition: color .5s var(--ease-out); }
.weeks .wk { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.08em; }
.weeks .ttl { font-weight: 500; }
.weeks .st { font-family: var(--font-mono); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; opacity: 0; transition: opacity .4s; }
.weeks li.done { color: var(--soft); }
.weeks li.done .st { opacity: 1; color: var(--gold); }
.weeks li.now { color: var(--text); }
.weeks li.now .wk, .weeks li.now .st { color: var(--red); opacity: 1; }
.weeks .ind { position: absolute; left: 0; top: 0; width: 2px; background: var(--red); transition: transform .6s var(--ease-out), height .6s var(--ease-out); }
.progress { margin-top: 22px; height: 2px; background: var(--line); position: relative; overflow: hidden; }
.progress i { position: absolute; inset: 0; background: linear-gradient(90deg, var(--red), var(--gold)); transform-origin: left; transform: scaleX(var(--p, 0)); }
@media (max-height: 720px) and (min-width: 961px) { .mvp h2 { font-size: clamp(2rem, 1rem + 2.6vw, 3.2rem); } .mvp .lede { margin-bottom: 14px; } .weeks li { padding-block: 8px; } }

.mock { --s: 1; position: relative; border: 1px solid var(--line-2); background: var(--ink); border-radius: 14px; aspect-ratio: 4 / 3; max-width: 100%; transform: scale(var(--s)); transform-origin: 50% 60%; box-shadow: 0 40px 120px -40px rgba(239, 35, 60, 0.22); }
.mock.ring { animation: ring 1s var(--ease-out); }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(214,168,75,.55), 0 40px 120px -40px rgba(239,35,60,.22); } 100% { box-shadow: 0 0 0 16px rgba(214,168,75,0), 0 40px 120px -40px rgba(239,35,60,.22); } }
.mock .bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line); color: var(--muted); }
.mock .url { font-family: var(--font-mono); font-size: 0.72rem; white-space: nowrap; overflow: hidden; }
.mock .url .caret { display: inline-block; width: 1px; height: 0.9em; background: var(--gold); vertical-align: -0.1em; margin-left: 1px; }
.mock .body { display: grid; grid-template-columns: 25% minmax(0, 1fr); height: calc(100% - 43px); }
.mock .side { border-right: 1px solid var(--line); padding: 16px 12px; display: flex; flex-direction: column; gap: 12px; }
.mock .main { padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.ph { position: relative; display: block; }
.ph > .t { opacity: 0; transition: opacity .6s var(--ease-out); }
.ph::before { content: ""; position: absolute; inset: 2px 0; border: 1px dashed var(--line-2); border-radius: 4px; transition: opacity .5s; }
.g2 .ph > .t { opacity: 1; }
.g2 .ph::before { opacity: 0; }
.mock .side .it { font-size: 0.76rem; color: var(--muted); min-height: 18px; }
.mock .side .it.cur .t { color: var(--text); }
.mock .title { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 34px; }
.mock .title .ph { min-width: 40%; }
.mock .title b { font-family: var(--font-display); font-stretch: 112%; font-size: 1.05rem; }
.row { --r: 0; display: grid; grid-template-columns: 0.9fr 2.2fr 0.9fr; gap: 10px; align-items: center; min-height: 34px; padding: 0 10px; border: 1px dashed var(--line-2); border-radius: 8px; font-size: 0.78rem; transition: border-color .6s, background-color .6s; transition-delay: calc(var(--r) * 70ms); }
.row > * { opacity: 0; transition: opacity .6s var(--ease-out); transition-delay: calc(var(--r) * 70ms); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.row .id { font-family: var(--font-mono); color: var(--muted); font-size: 0.7rem; }
.chip { justify-self: end; font-family: var(--font-mono); font-size: 0.7rem; padding: 3px 7px; border-radius: 4px; background: var(--line); color: var(--soft); transition: background-color .3s, color .3s; }
.chip.sent { background: var(--gold-dim); color: var(--gold); }
.chip.ok { background: var(--gold); color: var(--ink); }
.chip.flash { animation: flash .5s var(--ease-out); }
@keyframes flash { 0% { background: #FFE3A3; color: var(--ink); } 100% {} }
.g2 .row { border-style: solid; border-color: var(--line); background: var(--ink-2); }
.g2 .row > * { opacity: 1; }
.row.total { margin-top: auto; background: transparent !important; border-color: transparent !important; border-top: 1px solid var(--line) !important; border-radius: 0; opacity: 0; transition: opacity .6s; }
.row.total > * { opacity: 1; }
.g6 .row.total { opacity: 1; }
.row.total .lbl { color: var(--muted); font-family: var(--font-mono); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.06em; }
.row.total { grid-template-columns: auto auto minmax(0, 1fr); }
.row.total b { justify-self: start; font-family: var(--font-display); font-stretch: 112%; }
.chart { display: flex; align-items: flex-end; gap: 4px; height: 30px; opacity: 0; transition: opacity .5s; }
.chart i { width: 7px; height: var(--h); background: var(--gold); border-radius: 2px 2px 0 0; transform-origin: bottom; transform: scaleY(0.1); transition: transform .8s var(--ease-out); }
.g6 .chart { opacity: 1; }
.g6 .chart i { transform: scaleY(1); transition-delay: calc(var(--c) * 60ms); }
.float { position: absolute; border: 1px solid var(--line-2); background: var(--ink-3); border-radius: 12px; padding: 12px 14px; font-size: 0.8rem; opacity: 0; transform: translateY(14px) scale(0.98); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); box-shadow: 0 20px 50px -20px rgba(0,0,0,0.85); max-width: 58%; }
.float.on { opacity: 1; transform: none; }
.float .m { font-family: var(--font-mono); font-size: 0.7rem; color: var(--muted); display: block; margin-bottom: 6px; letter-spacing: 0.06em; text-transform: uppercase; }
.f-pdf { left: -5%; top: 44%; }
.f-pdf b { color: var(--gold); font-weight: 500; }
.f-test { left: 24%; top: 67%; display: flex; align-items: center; gap: 10px; }
.f-test svg { width: 18px; height: 18px; flex: none; }
.f-test path { stroke-dasharray: 24; stroke-dashoffset: 24; transition: stroke-dashoffset .6s var(--ease-out) .2s; }
.f-test.on path { stroke-dashoffset: 0; }
.f-wa { right: 3%; bottom: -7%; display: flex; flex-direction: column; gap: 6px; min-width: 210px; }
.f-wa .q { background: var(--line); padding: 7px 10px; border-radius: 10px 10px 10px 3px; align-self: flex-start; }
.f-wa .a { background: var(--red-deep); color: #fff; padding: 7px 10px; border-radius: 10px 10px 3px 10px; align-self: flex-end; }
.f-wa .typing { align-self: flex-end; display: inline-flex; gap: 4px; padding: 10px 12px; background: var(--line); border-radius: 10px 10px 3px 10px; }
.f-wa .typing i { width: 5px; height: 5px; border-radius: 50%; background: var(--soft); animation: typing 1s infinite; }
.f-wa .typing i:nth-child(2) { animation-delay: .15s; } .f-wa .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { opacity: .3; transform: none; } 30% { opacity: 1; transform: translateY(-2px); } }
.f-live { left: 50%; top: -17px; transform: translate(-50%, 10px); padding: 7px 14px; border-color: var(--gold); color: var(--gold); font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; max-width: none; }
.f-live.on { transform: translate(-50%, 0); }
.mock-cap { margin-top: 30px; color: var(--muted); }
@media (max-width: 960px) {
  .mvp-track { height: auto; }
  .mvp-sticky { position: static; height: auto; padding-block: clamp(80px, 12vw, 120px); }
  .mvp-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .mock { aspect-ratio: auto; }
  .mock .body { height: auto; grid-template-columns: minmax(0, 1fr); }
  .mock .side, .row .id, .f-pdf, .f-test { display: none; }
  .row { grid-template-columns: minmax(0, 1fr) auto; }
  .row.total { margin-top: 6px; }
  .f-wa { position: relative; right: auto; bottom: auto; margin: 4px 12px 14px; max-width: none; min-width: 0; }
}

/* ---------- Offers ---------- */
.offers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (max-width: 860px) { .offers { grid-template-columns: minmax(0, 1fr); } }
.offers.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1080px) { .offers.three { grid-template-columns: minmax(0, 1fr); } }
.offers.three .offer h3 { font-size: clamp(1.5rem, 1rem + 1.3vw, 2.2rem); }
.offers.three .offer .btn { margin-top: auto; }
.offer { background: var(--ink); padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.offer.hl { background: linear-gradient(180deg, rgba(214,168,75,0.11), transparent 58%), var(--ink); box-shadow: inset 0 1px 0 var(--gold); }
.offer .for { color: var(--muted); }
.offer.hl .for { color: var(--gold); }
.offer h3 { font-size: clamp(1.7rem, 1rem + 2vw, 2.8rem); }
.offer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.offer li { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--soft); }
.offer li .k { font-family: var(--font-mono); font-size: 0.72rem; color: var(--muted); padding-top: 3px; letter-spacing: 0.06em; }
.price { font-family: var(--font-display); font-stretch: 118%; font-weight: 800; font-size: clamp(1.8rem, 1rem + 1.6vw, 2.6rem); letter-spacing: -0.015em; margin-top: auto; line-height: 1.05; }
.price small { display: block; font-family: var(--font-body); font-weight: 400; font-size: 0.88rem; color: var(--muted); margin-top: 8px; font-stretch: 100%; letter-spacing: 0; }
.offer .btn { align-self: flex-start; }

/* ---------- Guarantees ---------- */
.guar { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
@media (max-width: 900px) { .guar { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .guar { grid-template-columns: minmax(0, 1fr); } }
.guar > div { padding: 30px 26px 30px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.guar .n { color: var(--gold); }
.guar h3 { font-size: 1.3rem; font-stretch: 110%; line-height: 1.1; }
.guar p { color: var(--muted); font-size: 0.98rem; }

/* ---------- Experience ---------- */
.xp { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); border: 1px solid var(--line); }
@media (max-width: 900px) { .xp { grid-template-columns: minmax(0, 1fr); } }
.xp-card { padding: clamp(24px, 4vw, 48px); background: var(--ink-2); border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 24px; min-width: 0; position: relative; overflow: hidden; }
@media (max-width: 900px) { .xp-card { border-right: 0; border-bottom: 1px solid var(--line); } }
.xp-card::after { content: "0101100101"; position: absolute; right: -10px; bottom: -18px; font-family: var(--font-mono); font-size: 5.5rem; color: rgba(214,168,75,0.05); letter-spacing: -0.05em; pointer-events: none; white-space: nowrap; }
.xp-card img { width: 132px; height: 132px; border-radius: 50%; object-fit: cover; border: 2px solid var(--gold); }
.xp-card h3 { font-size: clamp(1.7rem, 1rem + 2vw, 2.6rem); margin-top: 6px; }
.xp-role { color: var(--gold); }
.xp-edu { color: var(--muted); margin-top: 8px; }
.xp-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; border-top: 1px solid var(--line); padding-top: 22px; }
.xp-stats dt { font-family: var(--font-display); font-weight: 800; font-stretch: 118%; font-size: clamp(2rem, 1rem + 2.4vw, 3.2rem); line-height: 1; color: var(--text); }
.xp-stats dd { margin: 6px 0 0; color: var(--muted); font-size: 0.88rem; }
.xp-tech { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); border-top: 0; }
.xp-tech > div { padding: clamp(20px, 2.6vw, 32px) clamp(24px, 4vw, 48px); border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.xp-tech > div:last-child { border-right: 0; }
.xp-tk { color: var(--gold); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; }
.xp-tech .tags span { color: var(--soft); font-size: 0.78rem; padding: 6px 12px; }
@media (max-width: 900px) { .xp-tech { grid-template-columns: minmax(0, 1fr); } .xp-tech > div { border-right: 0; border-bottom: 1px solid var(--line); } .xp-tech > div:last-child { border-bottom: 0; } }
.xp-list { list-style: none; margin: 0; padding: 0 clamp(24px, 4vw, 48px); display: flex; flex-direction: column; min-width: 0; }
.xp-list li { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 20px; padding: clamp(22px, 3vw, 34px) 0; border-bottom: 1px solid var(--line); }
.xp-list li:last-child { border-bottom: 0; }
@media (max-width: 520px) { .xp-list li { grid-template-columns: minmax(0, 1fr); gap: 8px; } }
.xp-list .yr { color: var(--gold); padding-top: 5px; }
.xp-list h3 { font-size: clamp(1.15rem, 1rem + 0.6vw, 1.5rem); font-stretch: 108%; line-height: 1.15; }
.xp-list p { color: var(--soft); margin-top: 8px; }

/* ---------- Cases ---------- */
.cases { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 2.5vw, 32px); }
@media (max-width: 860px) { .cases { grid-template-columns: minmax(0, 1fr); } }
.case { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.shot { position: relative; aspect-ratio: 16 / 10; max-width: 100%; border: 1px solid var(--line); background: var(--ink-2); overflow: hidden; }
.shot .poster { position: absolute; inset: 0; padding: clamp(18px, 3vw, 32px); display: flex; flex-direction: column; justify-content: space-between; transition: transform 1.2s var(--ease-out);
  background: radial-gradient(120% 90% at 100% 0%, rgba(239,35,60,0.12), transparent 55%), repeating-linear-gradient(90deg, transparent 0 47px, rgba(255,255,255,0.025) 47px 48px); }
.case:hover .shot .poster { transform: scale(1.03); }
.shot .word { font-family: var(--font-display); font-weight: 800; font-stretch: 125%; font-size: clamp(2.4rem, 1rem + 5vw, 5.4rem); line-height: 0.86; letter-spacing: -0.02em; color: transparent; -webkit-text-stroke: 1px rgba(244,242,237,0.28); }
.shot .frag { align-self: flex-end; width: min(78%, 360px); display: flex; flex-direction: column; gap: 6px; }
.shot .frag .row { border-style: solid; border-color: var(--line); background: var(--ink); }
.shot .frag .row > * { opacity: 1; }
.shot .lab { position: absolute; left: clamp(18px, 3vw, 32px); bottom: 14px; color: var(--muted); }
.case .meta { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); }
.case h3 { font-size: clamp(1.5rem, 1rem + 1.4vw, 2.2rem); }
.case p { color: var(--soft); }
.case .res { color: var(--text); font-weight: 600; }
.clients { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (max-width: 760px) { .clients { grid-template-columns: minmax(0, 1fr); } }
.clients li { background: var(--ink); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; padding: clamp(36px, 4.5vw, 64px) 24px; min-height: clamp(180px, 18vw, 240px); text-align: center; transition: background-color .4s; }
.clients li:hover { background: var(--ink-2); }
.clients img { display: block; width: auto; height: clamp(46px, 4.4vw, 68px); max-width: 82%; object-fit: contain; opacity: .86; transition: opacity .4s, transform .6s var(--ease-out); }
.clients li:nth-child(2) img { height: clamp(22px, 2.2vw, 32px); }
.clients li:nth-child(3) img { height: clamp(38px, 3.6vw, 56px); }
.clients li:hover img { opacity: 1; transform: scale(1.03); }
.clients span { color: var(--muted); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; }
.case.wide { grid-column: 1 / -1; }
.case.wide .shot { aspect-ratio: 21 / 9; }
@media (max-width: 860px) { .case.wide .shot { aspect-ratio: 16 / 10; } }
.shot > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: left top; transition: transform 1.2s var(--ease-out); }
.case:hover .shot > img { transform: scale(1.03); }
.shot.light { background: #F4F5F8; }
.shot.full, .case.wide .shot.full { aspect-ratio: auto; }
.shot.full > img { position: static; display: block; width: 100%; height: auto; }
.shot.match { aspect-ratio: 1600 / 790; }
@media (max-width: 860px) { .shot.match { aspect-ratio: 16 / 10; } }
.shot .lab { z-index: 1; background: rgba(9,11,16,0.78); color: var(--soft); padding: 4px 10px; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: minmax(0, 1fr); } }
.faq-intro { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 22px; }
@media (max-width: 860px) { .faq-intro { position: static; } }
.faq-intro h2 { font-size: clamp(2rem, 1rem + 2.6vw, 3.4rem); }
.faq-intro a { color: var(--gold); text-decoration: none; border-bottom: 1px solid currentColor; align-self: flex-start; padding-bottom: 2px; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; font-family: var(--font-display); font-stretch: 108%; font-weight: 700; font-size: clamp(1.1rem, 1rem + 0.5vw, 1.35rem); line-height: 1.2; }
.faq summary::-webkit-details-marker { display: none; }
.pm { position: relative; width: 18px; height: 18px; flex: none; }
.pm::before, .pm::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: var(--gold); transition: transform .5s var(--ease-out); }
.pm::after { transform: rotate(90deg); }
.faq details.is-open .pm::after, .no-anim .faq details[open] .pm::after { transform: rotate(0deg); }
.ans { overflow: hidden; }
.ans p { color: var(--soft); padding-bottom: 24px; max-width: 60ch; transition: opacity .4s var(--ease-out) .12s; }
.faq details:not(.is-open) .ans p { opacity: 0; }
.no-anim .faq details .ans p { opacity: 1; }

/* ---------- CTA + contact ---------- */
.cta { border-top: 1px solid var(--line); padding-top: clamp(64px, 8vw, 120px); }
.cta .kicker { padding-top: 0; }
.cta-big { margin-top: 26px; font-size: clamp(3rem, 1rem + 9vw, 10.5rem); line-height: 0.92; letter-spacing: -0.03em; }
.cta-big .q { display: inline-block; }
.cta-big .tuyo { display: inline-block; transform-origin: 30% 70%; }
.cta-big .tuyo.beat { animation: heartbeat .9s var(--ease-out) .5s; }
@keyframes heartbeat { 0% { transform: scale(1); } 15% { transform: scale(1.05); } 30% { transform: scale(1); } 45% { transform: scale(1.03); } 70% { transform: scale(1); } }
.cta-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 80px); margin-top: clamp(48px, 6vw, 88px); align-items: start; }
@media (max-width: 900px) { .cta-row { grid-template-columns: minmax(0, 1fr); } }
.cta-copy { color: var(--soft); max-width: 42ch; font-size: 1.12rem; }
.contact-dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px 24px; margin: 28px 0 0; }
.contact-dl dt { color: var(--muted); padding-top: 3px; }
.contact-dl dd { margin: 0; user-select: all; }
form.cf { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.frow { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 560px) { .frow { grid-template-columns: minmax(0, 1fr); } }
.fld { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.fld label { font-size: 0.85rem; color: var(--muted); }
.fld input, .fld select, .fld textarea { font: inherit; color: var(--text); background: transparent; border: 0; border-bottom: 1px solid var(--field); border-radius: 0; padding: 10px 0 12px; min-height: 48px; width: 100%; transition: border-color .3s; }
.fld select { appearance: none; -webkit-appearance: none; padding-right: 28px; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23D6A84B' stroke-width='1.5'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E") right 4px center no-repeat; }
.fld option { background: var(--ink); color: var(--text); }
.fld textarea { min-height: 96px; resize: vertical; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-bottom-color: var(--gold); box-shadow: 0 1px 0 0 var(--gold); }
.fld [aria-invalid="true"] { border-bottom-color: #FF8796; }
.err { color: #FF8796; font-size: 0.9rem; }
.form-ok { border: 1px solid var(--gold); background: var(--gold-dim); padding: 16px 18px; font-size: 0.95rem; }
.consent { color: var(--muted); font-size: 0.82rem; }

/* ---------- Footer ---------- */
.ftr { border-top: 1px solid var(--line); padding-block: clamp(56px, 7vw, 96px) calc(32px + env(safe-area-inset-bottom, 0px)); }
.ftr .markbox { display: flex; flex-direction: column; align-items: center; gap: clamp(14px, 2vw, 26px); }
.ftr canvas { display: block; max-width: 100%; }
.ftr .labs { font: 500 clamp(1rem, 3vw, 2.6rem)/1 var(--font-display); font-stretch: 125%; letter-spacing: 1.1em; margin-right: -1.1em; color: var(--text); }
.ftr-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; margin-top: clamp(40px, 5vw, 72px); color: var(--muted); font-size: 0.9rem; }
.ftr-row nav { display: flex; flex-wrap: wrap; gap: 22px; }
.ftr-row a { text-decoration: none; }
.ftr-row a:hover, .ftr-row a:focus-visible { color: var(--text); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}
.no-anim .hero h1 .ln > span, .no-anim .hero-side > *, .no-anim .hero-meta, .no-anim .hdr { transform: none !important; opacity: 1 !important; font-stretch: 118%; }
.no-anim .hero-side > *, .no-anim .hero-meta { font-stretch: 100%; }

/* ---------- Producción ---------- */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-dl a { color: inherit; text-decoration: none; border-bottom: 1px solid var(--line-2); transition: color .3s, border-color .3s; }
.contact-dl a:hover { color: var(--gold); border-color: var(--gold); }
.ftr-sign { margin-top: 18px; color: var(--muted); font-size: 0.8rem; text-align: center; }
.ftr-sign strong { color: var(--soft); font-weight: 600; }
button[disabled] { opacity: .6; cursor: progress; }
.hero-bottom { margin-top: 0; }
/* Barra superior siempre visible */
.js.loaded .hdr.is-hidden { transform: none; }
html { scroll-padding-top: 88px; }
/* Pie de página ordenado */
.ftr .markbox { margin-bottom: clamp(48px, 6vw, 80px); }
.ftr-row { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 24px; margin-top: 0; padding: 26px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 0.9rem; line-height: 1.4; }
.ftr-row > span:first-child { justify-self: start; }
.ftr-row nav { justify-self: center; justify-content: center; gap: 30px; }
.ftr-row > span:last-child { justify-self: end; font-family: var(--font-body) !important; font-size: 0.9rem !important; letter-spacing: 0 !important; text-transform: none !important; }
.ftr-sign { margin-top: 26px; text-align: center; font-size: 0.82rem; }
@media (max-width: 900px) {
  .ftr-row { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; gap: 18px; padding: 24px 0; }
  .ftr-row > span:first-child, .ftr-row nav, .ftr-row > span:last-child { justify-self: center; }
  .ftr-row nav { gap: 14px 24px; }
}

/* ---------- Páginas de caso ---------- */
.case-crm { --accent: #D6A84B; --tint: rgba(37, 74, 140, 0.32); --tint-2: rgba(214, 168, 75, 0.10); }
.case-web { --accent: #D6A84B; --tint: rgba(214, 168, 75, 0.16); --tint-2: rgba(239, 35, 60, 0.08); }
.case-ts { --accent: #FF8A33; --tint: rgba(7, 21, 43, 0.9); --tint-2: rgba(255, 122, 26, 0.12); }
.case-ts .cs-hero { background: radial-gradient(70% 60% at 85% 0%, rgba(6, 76, 255, 0.22), transparent 70%), radial-gradient(50% 50% at 0% 100%, var(--tint-2), transparent 70%); }
.cs-brand { margin: 0 0 22px; }
.cs-brand img { display: block; height: clamp(46px, 4.6vw, 72px); width: auto; max-width: min(320px, 80vw); object-fit: contain; }
.case-vet .cs-brand img { height: clamp(64px, 6vw, 96px); }
.cs-phones { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(28px, 4vw, 64px); margin-top: clamp(20px, 3vw, 40px); }
.cs-pfig { --w: clamp(210px, 20vw, 270px); width: var(--w); margin: 0; }
.cs-iphone.is-inline { position: relative; right: auto; bottom: auto; margin: 0; }
.cs-iphone.is-inline .cs-zoom img { aspect-ratio: 9 / 19.5; object-fit: cover; object-position: top; }
.cs-pfig figcaption { margin-top: 16px; text-align: center; color: var(--muted); }
.case-vet { --accent: #A898FF; --tint: rgba(118, 92, 230, 0.30); --tint-2: rgba(168, 152, 255, 0.10); }
.case-page .kicker, .case-page .cs-kicker, .case-page .guar .n, .case-page .cs-steps .n { color: var(--accent); }
.cs-hero { position: relative; padding-top: clamp(28px, 4vw, 56px); padding-bottom: clamp(56px, 7vw, 104px); background: radial-gradient(70% 60% at 85% 0%, var(--tint), transparent 70%), radial-gradient(50% 50% at 0% 100%, var(--tint-2), transparent 70%); }
.cs-back { display: inline-block; color: var(--muted); text-decoration: none; margin-bottom: clamp(28px, 4vw, 52px); transition: color .25s; }
.cs-back:hover { color: var(--text); }
.cs-kicker { color: var(--accent); }
.cs-title { margin-top: 18px; font-size: clamp(3rem, 1rem + 9vw, 9.5rem); line-height: 0.9; letter-spacing: -0.03em; overflow-wrap: anywhere; }
.cs-title span { color: var(--accent); }
.case-web .cs-title { font-size: clamp(2.1rem, 0.6rem + 7.4vw, 7.4rem); overflow-wrap: normal; }
.cs-intro { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 96px); margin-top: clamp(28px, 4vw, 56px); align-items: start; }
@media (max-width: 900px) { .cs-intro { grid-template-columns: minmax(0, 1fr); } }
.cs-lede { font-size: clamp(1.1rem, 0.95rem + 0.6vw, 1.45rem); line-height: 1.5; color: var(--soft); max-width: 46ch; }
.cs-meta { display: grid; grid-template-columns: minmax(0, 1fr); margin: 0; border-top: 1px solid var(--line-2); }
.cs-meta > div { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.cs-meta dt { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.cs-meta dd { margin: 0; color: var(--text); }
@media (max-width: 420px) { .cs-meta > div { grid-template-columns: minmax(0, 1fr); gap: 2px; } }
.cs-shot { margin: clamp(40px, 6vw, 80px) 0 0; }
.cs-zoom { display: block; width: 100%; padding: 0; border: 1px solid var(--line-2); background: var(--ink-2); cursor: zoom-in; overflow: hidden; }
.cs-zoom img { display: block; width: 100%; height: auto; transition: transform 1.2s var(--ease-out); }
.cs-zoom:hover img { transform: scale(1.015); }
.cs-devices { --w: clamp(150px, 19vw, 330px); position: relative; padding-bottom: calc(var(--w) * 0.62); }
.cs-browser { border: 1px solid var(--line-2); background: var(--ink-2); box-shadow: 0 40px 120px rgba(0,0,0,.55); overflow: hidden; border-radius: 12px; width: 88%; }
.cs-bar { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 16px; background: #15181F; border-bottom: 1px solid var(--line); }
.cs-bar i { width: 11px; height: 11px; border-radius: 50%; background: #3A3F4B; }
.cs-bar i:nth-child(1) { background: #FF5F57; } .cs-bar i:nth-child(2) { background: #FEBC2E; } .cs-bar i:nth-child(3) { background: #28C840; }
.cs-bar span { margin-left: 14px; flex: 0 1 340px; height: 24px; display: flex; align-items: center; justify-content: center; border-radius: 7px; background: #0B0D12; color: var(--muted); font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: .04em; white-space: nowrap; overflow: hidden; }
.cs-browser .cs-zoom { border: 0; }
.cs-iphone { position: absolute; right: 0; bottom: 0; width: var(--w); padding: calc(var(--w) * 0.032); border-radius: calc(var(--w) * 0.165); background: linear-gradient(145deg, #4A5568 0%, #232A36 18%, #1A1F29 50%, #2B3342 82%, #586273 100%); box-shadow: 0 0 0 1px #5C6677, 0 50px 110px rgba(0,0,0,.7), inset 0 0 0 1px rgba(255,255,255,.08); z-index: 2; }
.cs-iphone::before, .cs-iphone::after { content: ""; position: absolute; width: 3px; border-radius: 2px; background: linear-gradient(90deg, #5C6677, #2A313D); }
.cs-iphone::before { left: -3px; top: 20%; height: 7%; box-shadow: 0 calc(var(--w) * 0.12) 0 #3A4250, 0 calc(var(--w) * 0.24) 0 #3A4250; }
.cs-iphone::after { right: -3px; top: 27%; height: 13%; }
.cs-iphone-screen { position: relative; overflow: hidden; border-radius: calc(var(--w) * 0.135); background: #000; }
.cs-status { position: relative; height: calc(var(--w) * 0.135); display: flex; align-items: center; justify-content: space-between; padding: 0 calc(var(--w) * 0.085); color: #fff; background: #0B0D12; }
.cs-time { font-family: -apple-system, "SF Pro Text", var(--font-body); font-weight: 600; font-size: calc(var(--w) * 0.048); letter-spacing: -0.01em; }
.cs-icons svg { width: calc(var(--w) * 0.16); height: auto; display: block; }
.cs-island { position: absolute; left: 50%; top: calc(var(--w) * 0.03); transform: translateX(-50%); width: 31%; height: calc(var(--w) * 0.088); border-radius: 999px; background: #000; box-shadow: inset 0 0 0 1px #111; }
.cs-island::after { content: ""; position: absolute; right: 14%; top: 50%; width: calc(var(--w) * 0.03); height: calc(var(--w) * 0.03); transform: translateY(-50%); border-radius: 50%; background: radial-gradient(circle at 35% 35%, #2C3B5C, #090B12 70%); }
.cs-iphone .cs-zoom { border: 0; background: #000; }
.cs-home { position: absolute; left: 50%; bottom: calc(var(--w) * 0.025); transform: translateX(-50%); width: 36%; height: calc(var(--w) * 0.014); border-radius: 999px; background: rgba(255,255,255,.75); mix-blend-mode: difference; pointer-events: none; }
.cs-devices figcaption { margin-top: 18px; }
@media (max-width: 700px) {
  .cs-devices { --w: min(270px, 68vw); padding-bottom: 0; }
  .cs-browser { width: 100%; }
  .cs-bar { height: 30px; } .cs-bar span { margin-left: 8px; font-size: 0.66rem; height: 20px; }
  .cs-iphone { position: relative; margin: -14% auto 0; }
}
.cs-shot figcaption, .cs-g figcaption { margin-top: 14px; color: var(--muted); }
.cs-sec { padding-block: clamp(64px, 8vw, 128px); }
.cs-sec + .cs-sec { padding-top: 0; }
.cs-split { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(28px, 5vw, 96px); align-items: end; }
@media (max-width: 900px) { .cs-split { grid-template-columns: minmax(0, 1fr); } }
.cs-split h2 { font-size: clamp(2rem, 1rem + 3vw, 4rem); margin: 22px 0 22px; }
.cs-p { color: var(--soft); font-size: 1.08rem; max-width: 58ch; }
.cs-goal { border: 1px solid var(--line-2); border-top: 3px solid var(--accent); background: var(--ink-2); padding: clamp(24px, 3vw, 40px); }
.cs-goal .kicker { padding-top: 0; }
.cs-goal-t { margin-top: 16px; font-family: var(--font-display); font-stretch: 110%; font-weight: 700; font-size: clamp(1.25rem, 1rem + 0.8vw, 1.7rem); line-height: 1.25; }
.cs-feats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (max-width: 1100px) { .cs-feats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .cs-feats { grid-template-columns: minmax(0, 1fr); } }
.cs-feat { background: var(--ink); padding: clamp(22px, 2.6vw, 34px); display: flex; flex-direction: column; gap: 12px; min-width: 0; transition: background-color .4s; }
.cs-feat:hover { background: var(--ink-2); }
.cs-ic { width: 30px; height: 30px; color: var(--accent); }
.cs-feat h3 { font-size: 1.2rem; font-stretch: 108%; line-height: 1.15; }
.cs-feat p { color: var(--muted); font-size: 0.97rem; }
.cs-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 44px); }
@media (max-width: 900px) { .cs-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .cs-steps { grid-template-columns: minmax(0, 1fr); } }
.cs-steps li { border-top: 2px solid var(--accent); padding-top: 22px; display: flex; flex-direction: column; gap: 10px; }
.cs-steps h3 { font-size: 1.25rem; font-stretch: 108%; line-height: 1.15; }
.cs-steps p { color: var(--muted); }
.cs-stack { margin-top: clamp(48px, 6vw, 88px); }
.cs-stack .kicker { padding-top: 0; margin-bottom: 18px; }
.cs-stack ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; }
.cs-stack li { border: 1px solid var(--line-2); padding: 18px 20px; display: flex; flex-direction: column; gap: 6px; }
.cs-stack b { font-family: var(--font-display); font-stretch: 112%; font-size: 1.1rem; color: var(--text); }
.cs-stack span { color: var(--muted); font-size: 0.92rem; }
.cs-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); align-items: start; }
@media (max-width: 760px) { .cs-gallery { grid-template-columns: minmax(0, 1fr); } }
.cs-g { margin: 0; min-width: 0; }
.cs-phone { grid-column: 1 / -1; justify-self: center; width: min(320px, 80%); }
.cs-phone .cs-zoom { border-radius: 28px; border: 6px solid var(--line-2); }
.cs-ben { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 760px) { .cs-ben { grid-template-columns: minmax(0, 1fr); } }
.cs-ben > div { padding-right: 26px; }
.cs-author { margin-top: clamp(36px, 4vw, 56px); color: var(--muted); }
.cs-cta { border-top: 1px solid var(--line); background: radial-gradient(60% 80% at 100% 100%, var(--tint), transparent 70%); }
.cs-cta h2 { font-size: clamp(2.2rem, 1rem + 4.4vw, 5.4rem); max-width: 16ch; }
.cs-cta .cs-p { margin-top: 22px; }
.cs-cta .actions { margin-top: 32px; }
.cs-ftr .markbox a { display: inline-block; }
.cs-ftr-logo { width: min(320px, 70vw); height: auto; display: block; }
.cs-lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(4, 5, 7, 0.92); display: grid; place-items: center; padding: clamp(16px, 4vw, 56px); cursor: zoom-out; animation: mvpPop .25s var(--ease-out); }
.cs-lightbox[hidden] { display: none; }
.cs-lightbox img { max-width: 100%; max-height: 100%; width: auto; height: auto; box-shadow: 0 30px 100px rgba(0,0,0,.6); }
.cs-lb-close { position: absolute; top: calc(14px + env(safe-area-inset-top, 0px)); right: 16px; width: 48px; height: 48px; border: 1px solid var(--line-2); background: var(--ink-2); color: var(--text); font-size: 1.6rem; cursor: pointer; }
/* Enlaces a casos desde la portada */
a.shot { display: block; color: inherit; text-decoration: none; }
.shot .go-case { position: absolute; right: 14px; bottom: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; background: var(--red-deep); color: #fff; padding: 9px 14px; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0; transform: translateY(6px); transition: opacity .35s var(--ease-out), transform .35s var(--ease-out); }
a.shot:hover .go-case, a.shot:focus-visible .go-case { opacity: 1; transform: none; }
@media (hover: none) { .shot .go-case { opacity: 1; transform: none; } }
.case-link { align-self: flex-start; color: var(--gold); text-decoration: none; font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; border-bottom: 1px solid transparent; transition: border-color .25s; }
.case-link:hover { border-color: var(--gold); }

/* ---------- Página Nosotros ---------- */
.about-page { --accent: #D6A84B; --tint: rgba(239, 35, 60, 0.16); --tint-2: rgba(214, 168, 75, 0.10); }
.ab-title { font-size: clamp(2.8rem, 1rem + 7.4vw, 8.4rem); max-width: 14ch; overflow-wrap: normal; }
.ab-title .ab-l1 { color: var(--text); }
.ab-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: 0; background: var(--line); border: 1px solid var(--line); }
.ab-stats > div { background: var(--ink); padding: clamp(18px, 2.2vw, 28px); display: flex; flex-direction: column; gap: 8px; }
.ab-stats dt { font-family: var(--font-display); font-weight: 800; font-stretch: 118%; font-size: clamp(2rem, 1rem + 2.4vw, 3.4rem); line-height: 1; color: var(--accent); }
.ab-stats dd { margin: 0; color: var(--muted); font-size: 0.92rem; }
.ab-who { align-items: center; }
.ab-p2 { margin-top: 18px; }
.ab-mark { border: 1px solid var(--line-2); background: radial-gradient(80% 80% at 50% 0%, var(--tint), transparent 70%), var(--ink-2); padding: clamp(32px, 5vw, 64px); display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; }
.ab-mark img { width: min(300px, 80%); height: auto; }
.ab-mark p { color: var(--muted); letter-spacing: 0.3em; }
.ab-mv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (max-width: 860px) { .ab-mv { grid-template-columns: minmax(0, 1fr); } }
.ab-mv article { background: var(--ink); padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; gap: 22px; }
.ab-mv article:first-child { background: linear-gradient(180deg, var(--gold-dim), transparent 60%), var(--ink); box-shadow: inset 0 2px 0 var(--accent); }
.ab-mv .kicker { padding-top: 0; }
.ab-mv-t { font-family: var(--font-display); font-stretch: 108%; font-weight: 700; font-size: clamp(1.25rem, 1rem + 0.9vw, 1.9rem); line-height: 1.3; }
.cs-feats.ab-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 960px) { .cs-feats.ab-three { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .cs-feats.ab-three { grid-template-columns: minmax(0, 1fr); } }
.cs-steps.ab-princ { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: clamp(32px, 4vw, 52px); }
@media (max-width: 900px) { .cs-steps.ab-princ { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .cs-steps.ab-princ { grid-template-columns: minmax(0, 1fr); } }
.ab-bio { color: var(--soft); position: relative; z-index: 1; }
.ab-hist { padding: clamp(24px, 4vw, 48px); min-width: 0; }
.ab-hist .kicker { padding-top: 0; }
.ab-hist-h { margin: 14px 0 6px; font-size: clamp(1.4rem, 1rem + 1.2vw, 2.2rem); line-height: 1.1; }
.ab-hist .xp-list { padding: 0; }
.ab-stack ul { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.ab-comp > div { display: flex; flex-direction: column; gap: 12px; }

/* ---------- Header: idioma y menú móvil ---------- */
.hdr .wrap { position: relative; }
.hdr .nav { margin-left: auto; }
.tools { display: flex; align-items: center; gap: 8px; margin-left: 22px; flex: none; }
.lang { position: relative; }
.lang-btn { display: inline-flex; align-items: center; gap: 7px; height: 44px; padding: 0 12px; border: 1px solid var(--line-2); background: transparent; color: var(--soft); font-family: var(--font-mono); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.08em; cursor: pointer; transition: border-color .25s, color .25s, background-color .25s; }
.lang-btn:hover, .lang-btn[aria-expanded="true"] { border-color: var(--gold); color: var(--text); }
.lang-btn .chev { opacity: .7; transition: transform .25s var(--ease-out); }
.lang-btn[aria-expanded="true"] .chev { transform: rotate(180deg); }
.lang-menu { position: absolute; right: 0; top: calc(100% + 10px); min-width: 196px; background: var(--ink-2); border: 1px solid var(--line-2); padding: 6px; box-shadow: 0 24px 60px rgba(0,0,0,.55); z-index: 70; transform-origin: top right; animation: mvpPop .22s var(--ease-out); }
.lang-menu button { display: flex; align-items: center; justify-content: space-between; gap: 14px; width: 100%; min-height: 44px; padding: 0 14px; border: 0; background: transparent; color: var(--soft); font-family: var(--font-body); font-size: 0.95rem; text-align: left; cursor: pointer; transition: background-color .15s, color .15s; }
.lang-menu button span { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.08em; color: var(--muted); }
.lang-menu button:hover { background: var(--ink-3); color: var(--text); }
.lang-menu button[aria-checked="true"], .lang-menu button[aria-checked="true"] span { color: var(--gold); }
.menu-btn { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border: 1px solid var(--line-2); background: transparent; color: var(--text); cursor: pointer; transition: border-color .25s; }
.menu-btn:hover, .menu-btn[aria-expanded="true"] { border-color: var(--red); }
.menu-btn path { transition: transform .3s var(--ease-out), opacity .2s; transform-origin: 12px 12px; }
.menu-btn[aria-expanded="true"] .l1 { transform: translateY(5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .l2 { opacity: 0; }
.menu-btn[aria-expanded="true"] .l3 { transform: translateY(-5px) rotate(-45deg); }
.js.loaded .hdr.menu-open { transform: none; }
.hdr.menu-open { background: rgba(7, 8, 11, 0.94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
@keyframes mvpPop { from { opacity: 0; transform: translateY(-6px) scale(.98); } to { opacity: 1; transform: none; } }
@media (max-width: 1100px) { .hdr nav { gap: 22px; } }
@media (max-width: 960px) {
  .menu-btn { display: inline-flex; }
  .tools { margin-left: auto; }
  .hdr nav.nav { display: none; position: absolute; left: max(16px, env(safe-area-inset-left, 0px)); right: max(16px, env(safe-area-inset-right, 0px)); top: calc(100% + 6px); flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 6px 20px 20px; background: var(--ink-2); border: 1px solid var(--line-2); box-shadow: 0 30px 70px rgba(0,0,0,.6); max-height: calc(100dvh - 96px); overflow-y: auto; }
  .hdr nav.nav.open { display: flex; animation: mvpPop .26s var(--ease-out); transform-origin: top center; }
  .hdr .nav .nl { display: flex; justify-content: space-between; align-items: center; padding: 18px 2px; font-family: var(--font-display); font-weight: 700; font-stretch: 112%; font-size: 1.15rem; color: var(--text); border-bottom: 1px solid var(--line); }
  .hdr .nav .nl::after { content: "→"; position: static; height: auto; background: none; transform: none; color: var(--gold); font-family: var(--font-mono); font-size: 0.95rem; }
  .hdr .nav .nav-cta { margin-top: 18px; justify-content: center; min-height: 52px; font-size: 0.95rem; }
}
@media (max-width: 380px) { .brand-labs { display: none; } .lang-btn { padding: 0 9px; } .lang-btn .chev { display: none; } }
.hdr .nl.is-active, .hdr .nl[aria-current] { color: var(--gold); }
.hdr .nl.is-active::after, .hdr .nl[aria-current]::after { transform: scaleX(1); transform-origin: left; }
@media (max-width: 960px) { .hdr .nav .nl.is-active, .hdr .nav .nl[aria-current] { color: var(--gold); } .hdr .nav .nl.is-active::after { transform: none; } }
/* Japonés */
html[lang="ja"] { --font-body: "Instrument Sans", "Noto Sans JP", system-ui, sans-serif; }
html[lang="ja"] h1, html[lang="ja"] h2, html[lang="ja"] h3, html[lang="ja"] .big, html[lang="ja"] .cta-big { font-family: "Archivo", "Noto Sans JP", system-ui, sans-serif; letter-spacing: 0; line-break: strict; word-break: normal; }
html[lang="ja"] .mono { font-family: "JetBrains Mono", "Noto Sans JP", monospace; letter-spacing: 0.04em; }
html[lang="ja"] p, html[lang="ja"] li, html[lang="ja"] dd { line-break: strict; }
html[lang="ja"] h1 { line-height: 1.16; } html[lang="ja"] h2, html[lang="ja"] .big, html[lang="ja"] .cta-big { line-height: 1.25; } html[lang="ja"] h3 { line-height: 1.35; }
