:root {
  --bg: #050506;
  --surface: #0c0c0e;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.22);
  --text: #f2f2ef;
  --muted: #a3a39e;
  --faint: #6b6b67;
  --sans: "Segoe UI Variable Display", "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --mono: "Cascadia Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.025em; line-height: 1.04; }
p { margin: 0; }
figure { margin: 0; }
ol, ul { list-style: none; margin: 0; padding: 0; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.label { font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }
.dim { color: var(--faint); }
.section-lead { max-width: 620px; color: var(--muted); font-size: 18px; margin-top: 20px; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--text); color: var(--bg); padding: 8px 14px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }

/* botones */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 0 24px; border-radius: 2px;
  font: 600 14px/1 var(--sans); letter-spacing: 0.02em; transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease); }
.btn--solid { background: var(--text); color: var(--bg); }
.btn--solid:hover { background: #ffffff; }
.btn--ghost { border: 1px solid var(--line-strong); color: var(--text); }
.btn--ghost:hover { border-color: var(--text); }
.btn--sm { height: 38px; padding: 0 16px; font-size: 13px; }

/* navegación */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background 0.35s var(--ease), border-color 0.35s var(--ease); border-bottom: 1px solid transparent; }
.nav.is-solid { background: rgba(5, 5, 6, 0.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-color: var(--line); }
.nav__inner { max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding: 18px var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav__brand img { height: 30px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 30px; font-size: 14px; color: var(--muted); }
.nav__links a:not(.btn):hover { color: var(--text); }

/* portada */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; transform: scale(1.04); animation: settle 2.4s var(--ease) forwards; }
.hero__shade { position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(5,5,6,0.55) 0%, rgba(5,5,6,0) 22%, rgba(5,5,6,0) 45%, rgba(5,5,6,0.88) 88%, var(--bg) 100%),
  linear-gradient(90deg, rgba(5,5,6,0.65) 0%, rgba(5,5,6,0) 55%); }
.hero__content { position: relative; padding-bottom: clamp(88px, 14vh, 150px); }
.hero h1 { font-size: clamp(40px, 6.2vw, 96px); }
.hero__lead { max-width: 560px; margin-top: 26px; font-size: clamp(17px, 1.5vw, 20px); color: #d6d6d2; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__meta { position: absolute; left: 0; right: 0; bottom: 28px; display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; color: var(--faint); }

@keyframes settle { to { transform: scale(1); } }

/* manifiesto */
.manifest { padding-block: clamp(96px, 14vw, 180px) clamp(72px, 10vw, 140px); }
.manifest__title { font-size: clamp(34px, 5.2vw, 72px); max-width: 16ch; }
.manifest__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 72px; background: var(--line); border: 1px solid var(--line); }
.manifest__grid > div { background: var(--bg); padding: 32px 28px 36px; }
.manifest__grid h3 { font-size: 20px; letter-spacing: -0.01em; margin-bottom: 12px; }
.manifest__grid p { color: var(--muted); font-size: 16px; }

/* sistema */
.system { padding-block: clamp(72px, 10vw, 140px); border-top: 1px solid var(--line); }
.system h2, .fleet h2, .contact h2 { font-size: clamp(32px, 4.6vw, 64px); }
.chain { margin-top: clamp(56px, 8vw, 100px); display: grid; gap: clamp(56px, 8vw, 110px); }
.chain__step { display: grid; grid-template-columns: 1.55fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: end; }
.chain__step--alt { grid-template-columns: 1fr 1.55fr; }
.chain__step--alt figure { order: 2; }
.chain__step figure { overflow: hidden; border: 1px solid var(--line); }
.chain__step img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 1.2s var(--ease); }
.chain__step:hover img { transform: scale(1.02); }
.chain__text { padding-bottom: 8px; }
.chain__text h3 { font-size: clamp(24px, 2.4vw, 34px); margin: 14px 0 14px; }
.chain__text p:last-child { color: var(--muted); max-width: 420px; }

/* flota */
.fleet { padding-block: clamp(72px, 10vw, 140px); border-top: 1px solid var(--line); }
.fleet__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.fleet__list { margin-top: 44px; border-top: 1px solid var(--line); }
.fleet__list li { display: grid; grid-template-columns: 44px 140px 1fr; gap: 16px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--line); transition: padding 0.3s var(--ease); }
.fleet__list li:hover { padding-left: 8px; }
.fleet__list strong { font-weight: 600; letter-spacing: 0.04em; font-size: 15px; }
.fleet__list span:last-child { color: var(--muted); font-size: 15px; }
.fleet__fig img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 55% 50%; border: 1px solid var(--line); }
.fleet__fig figcaption { margin-top: 14px; }

/* producto */
.product { border-top: 1px solid var(--line); }
.product__hero { position: relative; min-height: min(92svh, 900px); display: flex; align-items: flex-end; overflow: hidden; }
.product__hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.product__shade { position: absolute; inset: 0; background: linear-gradient(180deg, var(--bg) 0%, rgba(5,5,6,0) 18%, rgba(5,5,6,0) 55%, rgba(5,5,6,0.9) 92%, var(--bg) 100%); }
.product__intro { position: relative; padding-bottom: 56px; }
.product__intro h2 { font-size: clamp(64px, 12vw, 180px); letter-spacing: -0.04em; }
.product__tag { margin-top: 14px; font-size: clamp(18px, 1.8vw, 24px); color: #d6d6d2; max-width: 540px; }
.product__body { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 6vw, 90px); padding-block: 72px clamp(96px, 12vw, 160px); align-items: start; }
.product__specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.spec { background: var(--bg); padding: 26px 24px 30px; }
.spec .mono { margin-bottom: 12px; color: var(--text); }
.spec p:last-child { color: var(--muted); font-size: 15px; }
.product__fig img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border: 1px solid var(--line); }
.product__fig figcaption { margin-top: 14px; }

.product__video { padding-bottom: clamp(96px, 12vw, 160px); }
.product__body { padding-bottom: 72px; }
.product__videohead { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 24px; }
.product__videohead .label { margin: 0; }
.product__videohead h3 { font-size: clamp(22px, 2.4vw, 32px); }
.product__video video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #000; border: 1px solid var(--line); }

/* contacto */
.contact { padding-block: clamp(96px, 14vw, 180px); border-top: 1px solid var(--line); }
.contact .btn { margin-top: 40px; height: 56px; padding: 0 30px; font-size: 16px; }

.notfound { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; border: 0; }
.notfound > img { height: 30px; width: auto; margin-bottom: 56px; }

/* pie */
.footer { border-top: 1px solid var(--line); }
.footer__inner { display: flex; align-items: center; gap: 24px; padding-block: 36px; }
.footer__inner img { height: 30px; width: auto; }
.footer__inner nav { margin-left: auto; display: flex; gap: 24px; font-size: 14px; color: var(--muted); }
.footer__inner nav a:hover { color: var(--text); }

/* aparición al hacer scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__img { animation: none; transform: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .chain__step img, .fleet__list li { transition: none; }
}

/* responsivo */
@media (max-width: 960px) {
  .manifest__grid { grid-template-columns: 1fr; }
  .chain__step, .chain__step--alt { grid-template-columns: 1fr; }
  .chain__step--alt figure { order: 0; }
  .fleet__grid, .product__body { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav__links a:not(.btn) { display: none; }
  .nav__brand img { height: 24px; }
  .hero__meta span:last-child { display: none; }
  .fleet__list li { grid-template-columns: 34px 1fr; }
  .fleet__list li span:last-child { grid-column: 2; }
  .product__specs { grid-template-columns: 1fr; }
  .footer__inner { flex-wrap: wrap; }
  .footer__inner nav { margin-left: 0; width: 100%; }
}
