:root {
  --bg: #0A0A0B;
  --surface: #111113;
  --surface-2: #17171A;
  --ink: #EDEDEA;
  --ink-2: #B4B4B0;
  --muted: #7C7C80;
  --line: rgba(237, 237, 234, 0.1);
  --line-strong: rgba(237, 237, 234, 0.22);
  --radius: 12px;
  --font: 'Inter', -apple-system, 'Segoe UI', sans-serif;
  --font-display: 'Inter Tight', 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; scroll-behavior: smooth; }
body { overflow-x: clip; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--ink); color: var(--bg); }

.container { width: min(1240px, 100% - 48px); margin-inline: auto; }

.eyebrow { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; }
.title { font-family: var(--font-display); font-weight: 600; font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.05; letter-spacing: -0.035em; max-width: 18ch; }
.body { color: var(--ink-2); max-width: 32rem; }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 46px; padding: 0 1.4rem; border-radius: 999px; font-size: .92rem; font-weight: 500; border: 1px solid transparent; cursor: pointer; white-space: nowrap; transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease); }
.btn--sm { height: 38px; padding: 0 1.1rem; font-size: .85rem; }
.btn--light { background: var(--ink); color: var(--bg); }
.btn--light:hover { background: #FFFFFF; }
.btn--line { border-color: var(--line-strong); }
.btn--line:hover { border-color: var(--ink); }
.btn--block { width: 100%; }

/* ---------- Navegación ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; border-bottom: 1px solid transparent; transition: background .3s var(--ease), border-color .3s var(--ease); }
.nav.is-solid { background: rgba(10, 10, 11, .78); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-color: var(--line); }
.nav__inner { width: min(1320px, 100% - 48px); margin-inline: auto; height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; align-items: baseline; gap: .45rem; font-family: var(--font-display); font-weight: 700; letter-spacing: .16em; font-size: .9rem; }
.brand__model { font-weight: 500; color: var(--muted); letter-spacing: .1em; }
.nav__links { display: flex; gap: 2rem; font-size: .88rem; color: var(--ink-2); }
.nav__links a:hover { color: var(--ink); }

/* ---------- Hero ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 640px; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgba(10,10,11,.92) 0%, rgba(10,10,11,.55) 26%, rgba(10,10,11,0) 44%), linear-gradient(270deg, rgba(10,10,11,.7) 0%, rgba(10,10,11,0) 24%), linear-gradient(0deg, rgba(10,10,11,.75) 0%, rgba(10,10,11,0) 34%); }
.hero__top { position: relative; z-index: 2; width: min(1320px, 100% - 48px); margin: 0 auto; padding-top: 128px; display: flex; justify-content: space-between; gap: 3rem; pointer-events: none; }
.hero__intro { max-width: 25rem; pointer-events: auto; }
.hero__lead { font-size: 1.08rem; color: var(--ink-2); }
.hero__actions { display: flex; gap: .7rem; margin-top: 1.8rem; flex-wrap: wrap; }

.readout { display: grid; grid-template-columns: repeat(2, minmax(9rem, auto)); gap: 1.2rem 2.4rem; align-self: flex-start; font-family: var(--font-mono); padding-top: .2rem; }
.readout dt { font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.readout dd { font-size: 1.15rem; margin-top: .2rem; font-variant-numeric: tabular-nums; }

.hero__hint { position: absolute; z-index: 2; left: 50%; bottom: calc(15vw + 2.6rem); translate: -50% 0; font-family: var(--font-mono); font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); transition: opacity .6s var(--ease); white-space: nowrap; }
.hero__hint.is-hidden { opacity: 0; }

.hero__title { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: flex-end; width: calc(100% - 3vw); margin: 0 auto; font-family: var(--font-display); font-weight: 700; font-size: 18.5vw; line-height: .78; letter-spacing: -0.055em; padding-bottom: 1.6vw; pointer-events: none; user-select: none; }
.hero__title span:last-child { color: transparent; -webkit-text-stroke: 1px rgba(237, 237, 234, .55); }

/* ---------- Cifras ---------- */
.figures { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.figures__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.figures__grid > div { padding: 2.6rem 1.6rem 2.4rem 0; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: .4rem; }
.figures__grid > div + div { padding-left: 1.6rem; }
.figures__grid > div:last-child { border-right: 0; }
.figures__num { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.2rem, 4vw, 3.4rem); letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.figures__label { color: var(--muted); font-size: .9rem; }

/* ---------- Secciones ---------- */
.section { padding: 9rem 0; }
.section--surface { background: var(--surface); }
.section__head { margin-bottom: 4rem; }
.section__head--split { display: grid; grid-template-columns: 1.3fr 1fr; gap: 4rem; align-items: end; }

/* Benchmark */
.bench { border-top: 1px solid var(--line-strong); }
.bench__row { display: grid; grid-template-columns: 17rem 1fr 7rem; gap: 2rem; align-items: center; padding: 1.6rem 0; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.bench__row.is-main { color: var(--ink); }
.bench__name { font-size: .95rem; }
.bench__bar { height: 2px; background: var(--line); position: relative; }
.bench__bar i { position: absolute; left: 0; top: -1px; height: 4px; width: var(--w); background: var(--muted); transform-origin: left; transform: scaleX(0); transition: transform 1.6s var(--ease); }
.bench__row.is-main .bench__bar i { background: var(--ink); }
.bench.is-in .bench__bar i { transform: scaleX(1); }
.bench__row:nth-child(2) i { transition-delay: .12s; }
.bench__row:nth-child(3) i { transition-delay: .24s; }
.bench__val { font-family: var(--font-mono); font-size: .92rem; text-align: right; font-variant-numeric: tabular-nums; }
.footnote { margin-top: 1.4rem; font-size: .8rem; color: var(--muted); }

/* Desplazamiento horizontal */
.hscroll { position: relative; height: 380vh; border-top: 1px solid var(--line); }
.hscroll__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: 2.4rem; padding-top: 68px; }
.hscroll__head { display: flex; justify-content: space-between; align-items: baseline; }
.hscroll__head .eyebrow { margin: 0; }
.hscroll__count { font-family: var(--font-mono); font-size: .8rem; color: var(--muted); }
.hscroll__count b { color: var(--ink); font-weight: 500; }
.hscroll__track { display: flex; gap: 1.5rem; padding-inline: max(24px, calc((100vw - 1240px) / 2)); will-change: transform; }
.card { flex: 0 0 min(76vw, 960px); height: min(62vh, 560px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); display: grid; grid-template-columns: 1.15fr 1fr; overflow: hidden; }
.card__viz { width: 100%; height: 100%; display: block; border-right: 1px solid var(--line); }
.card__text { padding: 2.6rem; display: flex; flex-direction: column; justify-content: flex-end; }
.card__num { font-family: var(--font-mono); font-size: .75rem; color: var(--muted); margin-bottom: auto; }
.card__title { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.4rem, 2.1vw, 1.9rem); line-height: 1.12; letter-spacing: -0.025em; }
.card__body { color: var(--ink-2); margin-top: 1rem; font-size: .95rem; }
.hscroll__progress { width: min(1240px, 100% - 48px); margin-inline: auto; height: 1px; background: var(--line); }
.hscroll__progress i { display: block; height: 1px; width: 100%; background: var(--ink); transform-origin: left; transform: scaleX(0); }

/* Especificaciones */
.specs { border-top: 1px solid var(--line-strong); }
.specs__row { display: grid; grid-template-columns: 1fr 2fr; gap: 2rem; padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.specs__row h3 { font-size: .95rem; font-weight: 500; }
.specs__row ul { list-style: none; color: var(--ink-2); display: grid; gap: .35rem; }

/* Contacto */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 5rem; align-items: start; }
.contact .body { margin-top: 1.2rem; }
.contact__data { margin-top: 2.6rem; display: grid; gap: 1.2rem; }
.contact__data dt { font-size: .75rem; color: var(--muted); }
.contact__data dd { margin-top: .15rem; }
.form { border: 1px solid var(--line); border-radius: var(--radius); padding: 2.2rem; background: var(--bg); }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.2rem; margin-bottom: 1.6rem; }
.field { display: flex; flex-direction: column; gap: .45rem; font-size: .8rem; color: var(--muted); }
.field--full { grid-column: 1 / -1; }
.field input, .field select, .field textarea { background: var(--surface-2); border: 1px solid var(--line); border-radius: 8px; padding: .75rem .85rem; font-size: .95rem; color: var(--ink); outline: none; resize: vertical; transition: border-color .2s var(--ease); }
.field select option { background: var(--surface-2); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink-2); }
.field.is-invalid input { border-color: #A65A5A; }
.form__status { margin-top: 1rem; font-size: .9rem; color: var(--ink-2); min-height: 1.4em; }

.footer { border-top: 1px solid var(--line); padding: 3rem 0; }
.footer__inner { display: grid; grid-template-columns: auto 1fr; gap: 1.5rem 3rem; align-items: center; }
.footer__links { display: flex; gap: 1.8rem; justify-content: flex-end; font-size: .88rem; color: var(--ink-2); }
.footer__links a:hover { color: var(--ink); }
.footer__legal { grid-column: 1 / -1; font-size: .8rem; color: var(--muted); }
.footer__legal a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .nav__links { display: none; }
  .readout { display: none; }
  .section__head--split { grid-template-columns: 1fr; gap: 1.5rem; }
  .figures__grid { grid-template-columns: repeat(2, 1fr); }
  .figures__grid > div:nth-child(2) { border-right: 0; }
  .figures__grid > div:nth-child(3) { padding-left: 0; }
  .figures__grid > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .card { grid-template-columns: 1fr; grid-template-rows: 1fr auto; flex-basis: 84vw; height: min(72vh, 620px); }
  .card__viz { border-right: 0; border-bottom: 1px solid var(--line); }
  .card__text { padding: 1.6rem; }
  .card__num { margin-bottom: .8rem; }
  .contact { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 720px) {
  .hero__top { padding-top: 104px; }
  .hero__hint { display: none; }
  .bench__row { grid-template-columns: 1fr auto; gap: .8rem 1rem; }
  .bench__bar { grid-column: 1 / -1; grid-row: 2; }
  .section { padding: 6rem 0; }
  .specs__row { grid-template-columns: 1fr; gap: .6rem; }
  .form { padding: 1.4rem; }
  .form__grid { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__links { justify-content: flex-start; flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bench__bar i { transition: none; }
}
