/* =================================================================
   GECKO MOTORS CHILE — Reptile Tech design system
   Negro profundo + verde lámina EV + Space Grotesk + Inter
   ================================================================= */

/* ---------- Self-hosted fonts (Latin + Latin-Ext) ----------
   8 archivos WOFF2 (~280 KB total) en /assets/fonts/.
   font-display: swap → mientras carga, usa fallback system-ui sin FOIT.
   unicode-range: limita el subset que el browser baja (Latin solo). */
@font-face { font-family: "Space Grotesk"; font-style: normal; font-weight: 500;
  src: url("/assets/fonts/space-grotesk-500.woff2") format("woff2"); font-display: swap;
  unicode-range: U+0000-00FF, U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Space Grotesk"; font-style: normal; font-weight: 600;
  src: url("/assets/fonts/space-grotesk-600.woff2") format("woff2"); font-display: swap;
  unicode-range: U+0000-00FF, U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Space Grotesk"; font-style: normal; font-weight: 700;
  src: url("/assets/fonts/space-grotesk-700.woff2") format("woff2"); font-display: swap;
  unicode-range: U+0000-00FF, U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }

@font-face { font-family: "Inter"; font-style: normal; font-weight: 400;
  src: url("/assets/fonts/inter-400.woff2") format("woff2"); font-display: swap;
  unicode-range: U+0000-00FF, U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500;
  src: url("/assets/fonts/inter-500.woff2") format("woff2"); font-display: swap;
  unicode-range: U+0000-00FF, U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600;
  src: url("/assets/fonts/inter-600.woff2") format("woff2"); font-display: swap;
  unicode-range: U+0000-00FF, U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }

@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400;
  src: url("/assets/fonts/jetbrains-mono-400.woff2") format("woff2"); font-display: swap;
  unicode-range: U+0000-00FF, U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 500;
  src: url("/assets/fonts/jetbrains-mono-500.woff2") format("woff2"); font-display: swap;
  unicode-range: U+0000-00FF, U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ---------- Tokens ---------- */
:root {
  /* color */
  --base:       #0A0F0D;
  --base-2:     #0E1412;
  --surface:    #14191A;
  --surface-2: #1B2122;
  --line:       #232A2B;
  --line-soft:  #1B2122;
  --brand:      #3D9DFF;        /* celeste-azul eléctrico Gecko */
  --brand-ink:  #061428;        /* texto sobre brand */
  --brand-deep: #1B3D7A;        /* azul profundo alt */
  --ink:        #F5F2EB;        /* texto principal sobre dark */
  --ink-2:      #C9CDC4;        /* texto secundario */
  --mute:       #8A938D;
  --danger:     #FF6B4A;

  /* tipografía */
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body:    "Inter", system-ui, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, "SF Mono", monospace;

  /* tamaños fluidos */
  --fs-mono:     0.78rem;
  --fs-eyebrow:  0.78rem;
  --fs-body:     1.0625rem;
  --fs-lead:     clamp(1.125rem, 0.95rem + 0.7vw, 1.375rem);
  --fs-h4:       clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
  --fs-h3:       clamp(1.5rem, 1.2rem + 1.2vw, 2.125rem);
  --fs-h2:       clamp(2rem, 1.4rem + 2.6vw, 3.5rem);
  --fs-h1:       clamp(2.75rem, 1.6rem + 5.2vw, 6.5rem);
  --fs-mega:     clamp(3.5rem, 1.5rem + 8vw, 9rem);

  /* espaciado */
  --gap-1: 0.5rem;
  --gap-2: 0.875rem;
  --gap-3: 1.25rem;
  --gap-4: 2rem;
  --gap-5: 3rem;
  --gap-6: 5rem;
  --gap-7: 8rem;

  /* radios */
  --r-sm: 4px;
  --r-md: 10px;
  --r-lg: 12px;

  /* alturas / max */
  --max:        1320px;
  --max-wide:   1480px;
  --nav-h:      72px;

  /* transiciones */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  background: var(--base);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.55;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, video, svg { max-width: 100%; display: block; }
/* Oculta el play button nativo de iOS Chrome/Safari cuando autoplay
   falla. Sin esto, los iPhone muestran un ◯▷ gigante sobre el video. */
video::-webkit-media-controls-start-playback-button { display: none !important; -webkit-appearance: none; }
video::-webkit-media-controls-overlay-play-button { display: none !important; -webkit-appearance: none; }
video::-webkit-media-controls-overlay-enclosure { display: none !important; }
video::-webkit-media-controls { display: none !important; }
video::-webkit-media-controls-panel { display: none !important; }
video { pointer-events: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
hr { border: 0; border-top: 1px solid var(--line); margin: 0; }
::selection { background: var(--brand); color: var(--brand-ink); }

/* ---------- Skip link (a11y) ---------- */
.skip-link {
  position: absolute;
  top: -120px; left: 0;
  z-index: 200;
  padding: 0.85rem 1.25rem;
  background: var(--brand);
  color: var(--brand-ink);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: 0 0 var(--r-md) 0;
  transition: top 0.2s var(--ease);
}
.skip-link:focus-visible {
  top: 0;
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}
#main { scroll-margin-top: calc(var(--nav-h) + 1rem); }

/* ---------- Layout primitives ---------- */
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 clamp(1.25rem, 2.5vw, 2rem); }
.wrap--wide { max-width: var(--max-wide); }

section { padding: var(--gap-7) 0; }
@media (max-width: 720px) { section { padding: 3.5rem 0; } }

/* ---------- Tipografía utilitarios ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.eyebrow::before {
  content: ""; width: 24px; height: 1px; background: currentColor; opacity: 0.6;
}
.eyebrow--brand { color: var(--brand); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.02;
  margin: 0;
}
h1 { font-size: var(--fs-h1); letter-spacing: -0.035em; }
h2 { font-size: var(--fs-h2); letter-spacing: -0.025em; }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }

/* h2 semánticos dentro de feature blocks que visualmente deben leer como h3.
   Mantener jerarquía a11y sin romper el peso visual del diseño. */
h2.h-feature { font-size: var(--fs-h3); letter-spacing: -0.02em; }

.mega { font-size: var(--fs-mega); letter-spacing: -0.045em; line-height: 0.9; }

p { margin: 0 0 1em; }
.lead { font-size: var(--fs-lead); color: var(--ink-2); line-height: 1.45; max-width: 60ch; }

.mono { font-family: var(--font-mono); font-size: var(--fs-mono); letter-spacing: 0.04em; color: var(--ink-2); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.65rem;
  padding: 0.95rem 1.5rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: -0.005em;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--brand); color: var(--brand-ink); }
.btn--primary:hover { background: #66B5FF; }

.btn--ghost { color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); }

.btn--link {
  padding: 0; border-radius: 0; gap: 0.5rem;
  color: var(--brand);
  border-bottom: 1px solid transparent;
}
.btn--link::after {
  content: "→";
  display: inline-block;
  transition: transform 0.25s var(--ease);
}
.btn--link:hover { color: var(--brand); }
.btn--link:hover::after { transform: translateX(4px); }

.btn--lg { padding: 1.15rem 1.85rem; font-size: 1rem; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), backdrop-filter 0.25s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav--solid {
  background: rgba(10, 15, 13, 0.78);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--line);
}
.nav-inner {
  width: 100%; max-width: var(--max-wide); margin: 0 auto;
  padding: 0 clamp(1.25rem, 2.5vw, 2rem);
  display: flex; align-items: center; justify-content: space-between; gap: var(--gap-4);
}
.nav-brand {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
  font-size: 1.05rem;
  display: inline-flex; align-items: center; gap: 0.55rem;
}
.nav-brand-mark {
  width: 28px; height: 28px;
  object-fit: contain;
  display: block;
}
.nav-brand-lockup {
  height: 44px; width: auto;
  object-fit: contain;
  display: block;
}
@media (max-width: 560px) {
  .nav-brand-lockup { height: 36px; }
}
.nav-brand-sub { color: var(--mute); font-weight: 400; font-size: 0.8rem; letter-spacing: 0.05em; }

.nav-links {
  display: flex; gap: 0.4rem; align-items: center;
}
.nav-links a {
  padding: 0.5rem 0.85rem;
  font-size: 0.92rem;
  color: var(--ink-2);
  border-radius: 999px;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.nav-links a:hover { color: var(--ink); background: var(--surface); }
.nav-links a.is-active { color: var(--ink); }

.nav-cta { display: flex; align-items: center; gap: 0.65rem; }

.lang-switch {
  display: inline-flex; align-items: center;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--mute);
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
}
.lang-switch a { padding: 0.6rem 0.85rem; }
@media (max-width: 560px) {
  .lang-switch { font-size: 0.72rem; }
  .lang-switch a { padding: 0.55rem 0.85rem; }
}
.lang-switch a.is-active { background: var(--surface); color: var(--ink); }
.lang-switch a:hover { color: var(--ink); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
}
.nav-toggle span {
  display: block; width: 18px; height: 1.5px; background: currentColor; position: relative;
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

@media (max-width: 980px) {
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav.open .nav-inner {
    position: fixed; inset: 0;
    background: var(--base);
    flex-direction: column; justify-content: flex-start;
    padding-top: calc(var(--nav-h) + 1rem);
    padding-bottom: 2rem;
    align-items: stretch; gap: 1.25rem;
    overflow-y: auto;
  }
  .nav.open .nav-links {
    display: flex; flex-direction: column;
    gap: 0; border-top: 1px solid var(--line);
  }
  .nav.open .nav-links a {
    padding: 1.2rem 0.5rem;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--ink);
  }
  .nav.open .nav-cta { display: flex; flex-direction: column; gap: 0.75rem; }
  .nav.open .nav-cta .btn { display: inline-flex; justify-content: center; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: flex-end;
  padding-top: calc(var(--nav-h) + 1rem);
  padding-bottom: clamp(7rem, 12vh, 9rem);  /* deja espacio para la stats bar */
  overflow: hidden;
  isolation: isolate;
}
.hero-media {
  position: absolute; inset: 0; z-index: -2;
  background: var(--base);
}
.hero-media video,
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  filter: contrast(1.04) saturate(0.85);
}
.hero-veil {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(80% 60% at 10% 100%, rgba(10,15,13,0) 0%, rgba(10,15,13,0.85) 70%, rgba(10,15,13,1) 100%),
    linear-gradient(180deg, rgba(10,15,13,0.6) 0%, rgba(10,15,13,0.2) 30%, rgba(10,15,13,0.85) 90%);
}

.hero-inner { width: 100%; }
.hero-eyebrow { margin-bottom: 1.5rem; }
.hero h1 { max-width: 18ch; }
.hero h1 em {
  font-style: normal; color: var(--brand);
}
.hero-lead { margin-top: 1.5rem; max-width: 56ch; }
.hero-cta {
  margin-top: 2.25rem;
  display: flex; flex-wrap: wrap; gap: 0.75rem;
}

.hero-stats {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
  background: rgba(10,15,13,0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
}
.hero-stats-inner {
  max-width: var(--max-wide); margin: 0 auto;
  padding: 1.25rem clamp(1.25rem, 2.5vw, 2rem);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
}
.hero-stat { display: flex; flex-direction: column; gap: 0.25rem; }
.hero-stat-val { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.4rem, 1.1rem + 0.9vw, 1.85rem); letter-spacing: -0.02em; color: var(--ink); }
.hero-stat-val em { font-style: normal; color: var(--brand); }
.hero-stat-lbl { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mute); }
@media (max-width: 720px) {
  .hero-stats-inner { grid-template-columns: repeat(2, 1fr); gap: 0.75rem 1.25rem; padding: 0.85rem 1.25rem; }
  .hero-stat-val { font-size: 1.15rem; }
  .hero-stat-lbl { font-size: 0.72rem; letter-spacing: 0.08em; }
}

/* ---------- Section header ---------- */
.section-head {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: var(--gap-5);
  margin-bottom: var(--gap-5);
  align-items: end;
}
.section-head h2 { max-width: 18ch; }
.section-head p { max-width: 56ch; }
@media (max-width: 880px) { .section-head { grid-template-columns: 1fr; gap: 1.25rem; margin-bottom: 2rem; } }
@media (max-width: 720px) { .section-head h2 { max-width: none; } }

/* ---------- Savings block ---------- */
.savings {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.savings-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  border-left: 1px solid var(--line);
}
.savings-cell {
  padding: var(--gap-5) var(--gap-4);
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 0.85rem;
  position: relative;
}
.savings-cell .num {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 1.6rem + 3.8vw, 4.5rem);
  letter-spacing: -0.04em;
  line-height: 0.95;
  font-weight: 600;
}
.savings-cell .num em { font-style: normal; color: var(--brand); }
.savings-cell .num sup { font-size: 0.45em; font-weight: 500; vertical-align: super; color: var(--mute); margin-left: 0.2em; }
.savings-cell .lbl { color: var(--ink-2); max-width: 28ch; }
.savings-cell .tag { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mute); }
@media (max-width: 880px) {
  .savings-grid { grid-template-columns: 1fr; border-left: 0; }
  .savings-cell { border-right: 0; border-bottom: 1px solid var(--line); }
  .savings-cell:last-child { border-bottom: 0; }
}
@media (max-width: 720px) {
  .savings-cell { padding: 1.75rem 0.25rem; gap: 0.65rem; }
  .savings-cell .num { font-size: clamp(2.25rem, 11vw, 3rem); }
  .savings-cell .lbl { font-size: 0.95rem; }
}

/* ---------- Product cards ---------- */
.products { padding-top: var(--gap-7); }
@media (max-width: 720px) { .products { padding-top: 3.5rem; } }
.product-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem;
}
.product {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.product:hover { border-color: var(--brand); transform: translateY(-2px); }
.product-media {
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #1A2122 0%, #0F1413 100%);
  display: grid; place-items: center;
  position: relative; overflow: hidden;
}
.product-media img, .product-media video { width: 100%; height: 100%; object-fit: cover; }
.product-media .placeholder {
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--mute);
}
.product-body { padding: 1.75rem; display: flex; flex-direction: column; gap: 1rem; flex: 1; }
.product-body h3 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); }
.product-tagline { color: var(--ink-2); font-size: 1rem; }
.product-specs {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem;
  margin: 0.5rem 0 0.75rem; padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.product-spec { display: flex; flex-direction: column; gap: 0.15rem; }
.product-spec .v { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; letter-spacing: -0.015em; }
.product-spec .k { font-family: var(--font-mono); font-size: 0.65rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mute); }
.product-price { display: flex; flex-direction: column; gap: 0.15rem; margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--line); }
.product-price .from { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mute); }
.product-price .v { font-family: var(--font-display); font-weight: 600; font-size: 1.6rem; letter-spacing: -0.02em; }
.product-price .note { font-size: 0.85rem; color: var(--mute); }
.product-cta { display: flex; gap: 0.75rem; margin-top: 1rem; flex-wrap: wrap; }
@media (max-width: 880px) { .product-grid { grid-template-columns: 1fr; } }
@media (max-width: 720px) {
  .product-body { padding: 1.25rem; gap: 0.85rem; }
  .product-body h3 { font-size: 1.65rem; }
  .product-cta { gap: 0.5rem; }
  .product-cta .btn { flex: 1 1 auto; justify-content: center; }
}

/* ---------- Big claim / efficiency ---------- */
.claim {
  padding: var(--gap-7) 0;
  background:
    radial-gradient(60% 80% at 100% 0%, rgba(61,157,255,0.10) 0%, transparent 70%),
    var(--base);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
@media (max-width: 720px) { .claim { padding: 3.5rem 0; } }
.claim-grid {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--gap-5); align-items: center;
}
.claim-headline { font-size: clamp(2.5rem, 1.5rem + 4vw, 5rem); letter-spacing: -0.035em; line-height: 0.95; }
.claim-headline em { font-style: normal; color: var(--brand); }
.claim-sub { color: var(--ink-2); margin-top: 1.5rem; max-width: 50ch; }
.claim-meter {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 2rem;
  display: flex; flex-direction: column; gap: 1.25rem;
}
.claim-bar { display: flex; flex-direction: column; gap: 0.4rem; }
.claim-bar-label { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--mute); }
.claim-bar-label .v { color: var(--ink); font-size: 0.95rem; letter-spacing: -0.005em; text-transform: none; }
.claim-bar-track { height: 6px; background: var(--line); border-radius: 999px; overflow: hidden; }
.claim-bar-fill { height: 100%; background: var(--brand); border-radius: 999px; }
.claim-bar-fill.alt { background: var(--mute); }
.claim-note { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mute); }
@media (max-width: 880px) { .claim-grid { grid-template-columns: 1fr; } }
@media (max-width: 720px) {
  .claim-meter { padding: 1.5rem; gap: 1rem; }
  .claim-sub { margin-top: 1rem; }
}

/* ---------- Proof band (China Post / numbers) ---------- */
.proof {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.proof-inner {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--gap-5);
  padding: var(--gap-5) 0;
  align-items: center;
}
.proof-quote {
  font-family: var(--font-display); font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.25rem); letter-spacing: -0.02em; line-height: 1.1;
}
.proof-quote em { font-style: normal; color: var(--brand); }
.proof-author { margin-top: 1rem; font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mute); }
.proof-list { display: flex; flex-direction: column; gap: 0.85rem; }
.proof-item { display: flex; gap: 1rem; align-items: baseline; padding: 0.85rem 0; border-bottom: 1px solid var(--line); }
.proof-item:last-child { border-bottom: 0; }
.proof-item .v { font-family: var(--font-display); font-weight: 600; font-size: 1.4rem; letter-spacing: -0.02em; min-width: 5ch; color: var(--brand); }
.proof-item .k { color: var(--ink-2); }
@media (max-width: 880px) { .proof-inner { grid-template-columns: 1fr; } }
@media (max-width: 720px) {
  .proof-inner { padding: 2.5rem 0; gap: 1.75rem; }
  .proof-quote { font-size: 1.45rem; line-height: 1.18; }
  .proof-item .v { font-size: 1.2rem; min-width: 4ch; }
  .proof-item .k { font-size: 0.9rem; }
}

/* ---------- Sectors ---------- */
.sectors-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
}
.sector {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.5rem;
  display: flex; flex-direction: column; justify-content: space-between;
  overflow: hidden;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.sector:hover { border-color: var(--brand); transform: translateY(-3px); }
.sector-num { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.12em; color: var(--brand); }
.sector h4 { font-size: 1.4rem; letter-spacing: -0.02em; }
.sector p { color: var(--ink-2); font-size: 0.95rem; margin: 0; }
@media (max-width: 980px) { .sectors-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) {
  .sectors-grid { grid-template-columns: 1fr 1fr; gap: 0.65rem; }
  .sector { aspect-ratio: auto; padding: 1.1rem 1rem; gap: 0.65rem; }
  .sector h4 { font-size: 1.05rem; }
  .sector p { font-size: 0.85rem; }
}

/* ---------- Support / post-venta strip ---------- */
.support {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.support-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  border-left: 1px solid var(--line);
}
.support-cell {
  padding: var(--gap-5) var(--gap-4);
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 0.65rem;
}
.support-cell .ix {
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.12em; color: var(--mute);
}
.support-cell h4 { font-size: 1.3rem; }
.support-cell p { color: var(--ink-2); font-size: 0.95rem; margin: 0; }
@media (max-width: 880px) {
  .support-grid { grid-template-columns: 1fr; border-left: 0; }
  .support-cell { border-right: 0; border-bottom: 1px solid var(--line); }
  .support-cell:last-child { border-bottom: 0; }
}
@media (max-width: 720px) {
  .support-cell { padding: 1.5rem 0.25rem; }
  .support-cell h4 { font-size: 1.2rem; }
}

/* ---------- CTA closer ---------- */
.closer {
  padding: var(--gap-7) 0;
  text-align: center;
}
.closer h2 { max-width: 18ch; margin: 0 auto; }
.closer h2 em { font-style: normal; color: var(--brand); }
.closer p { margin: 1.5rem auto 2.25rem; max-width: 50ch; color: var(--ink-2); }
.closer-cta { display: inline-flex; gap: 0.75rem; flex-wrap: wrap; justify-content: center; }
@media (max-width: 720px) {
  .closer { padding: 3.5rem 0; }
  .closer p { margin: 1.25rem auto 1.75rem; }
  .closer-cta { display: flex; flex-direction: column; align-items: stretch; gap: 0.625rem; }
  .closer-cta .btn { width: 100%; justify-content: center; }
}

/* ---------- Footer ---------- */
.footer {
  background: var(--base-2);
  border-top: 1px solid var(--line);
  padding: var(--gap-6) 0 var(--gap-4);
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--gap-4);
  padding-bottom: var(--gap-5);
  border-bottom: 1px solid var(--line);
}
.footer-brand h3 { font-size: 1.3rem; letter-spacing: -0.015em; }
.footer-brand p { color: var(--mute); margin-top: 0.75rem; max-width: 36ch; font-size: 0.92rem; }
.footer-col h5 {
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--mute); margin: 0 0 1rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.65rem; }
.footer-col a { color: var(--ink-2); font-size: 0.95rem; transition: color 0.2s var(--ease); }
.footer-col a:hover { color: var(--brand); }
.footer-legal {
  padding-top: 1.5rem;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.06em;
  color: var(--mute);
}
@media (max-width: 880px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer { padding: 3rem 0 1.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.75rem 1.5rem; padding-bottom: 2rem; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-col ul { gap: 0.5rem; }
  .footer-col a { font-size: 0.9rem; display: inline-block; padding: 0.35rem 0; }
  .footer-legal { font-size: 0.75rem; padding-top: 1.25rem; }
}

/* ---------- Reveal animation ----------
   El estado opacity:0 sólo aplica cuando JS confirmó que el observer
   está activo (html.js-ready). Sin JS o si nav.js falla, los elementos
   se muestran normales — fallback accesible. */
html.js-ready [data-reveal] {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
html.js-ready [data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- Focus / accessibility ---------- */
:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* iMotion partnership lockup — fallback tipográfico hasta tener el logo */
.imotion-lockup {
  width: 100%; height: 100%;
  display: grid; place-items: center;
  background:
    radial-gradient(70% 50% at 50% 50%, rgba(61, 157, 255, 0.08) 0%, transparent 70%),
    var(--surface);
  border-radius: var(--r-lg);
  padding: 2.5rem 2rem;
  text-align: center;
}
.imotion-lockup-mark {
  display: inline-flex; align-items: center; gap: 1rem;
  margin-bottom: 1rem;
}
.imotion-bolt {
  width: 56px; height: 56px;
  display: inline-grid; place-items: center;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%);
  border-radius: 50%;
  color: var(--ink);
  font-size: 1.7rem;
  font-weight: 800;
}
.imotion-word {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.5rem, 1.5rem + 3.5vw, 3.75rem);
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--ink);
}
.imotion-word em {
  font-style: normal;
  background: linear-gradient(135deg, var(--brand) 0%, #8AC2FF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.imotion-tagline {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-top: 0.5rem;
}
.imotion-divider {
  width: 60px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand), transparent);
  margin: 1.25rem auto 0.75rem;
  opacity: 0.5;
}
.imotion-partner {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mute);
}

/* ===============================================
   Hero scroll-expansion (home)
   - Sticky pin durante ~2.5 alturas de viewport
   - Card de video crece via clip-path animado por JS
   - Título + hint fade-out durante la expansión
   - Lead + CTAs + stats fade-in al final
   =============================================== */
.hero-x {
  position: relative;
  background: var(--base);
  color: var(--ink);
  isolation: isolate;
}
.hero-x-track {
  height: 260vh;
  position: relative;
}
.hero-x-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.hero-x-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 80% at 100% 0%, rgba(61,157,255,0.08) 0%, transparent 60%),
    radial-gradient(50% 50% at 0% 100%, rgba(61,157,255,0.05) 0%, transparent 70%),
    var(--base);
  z-index: 0;
  pointer-events: none;
}
.hero-x-media {
  position: absolute; inset: 0;
  z-index: 1;
  /* Estado inicial — el JS sobreescribe en cada frame para sincronizar con scroll */
  clip-path: inset(20% 20% 20% 20% round 22px);
  will-change: clip-path;
  overflow: hidden;
  pointer-events: none;
}
.hero-x-media video,
.hero-x-media img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  filter: contrast(1.05) saturate(0.92);
}
.hero-x-media-veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,15,13,0.55) 0%, rgba(10,15,13,0.15) 40%, rgba(10,15,13,0.85) 100%);
  pointer-events: none;
  will-change: opacity;
}
.hero-x-title {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 0 1.5rem;
  max-width: min(56rem, 92vw);
  margin: 0 auto;
  will-change: opacity, transform;
  pointer-events: none;        /* evita interceptar clicks de los CTAs */
}
.hero-x-title h1 {
  max-width: 14ch;
  margin: 0 auto;
}
.hero-x-title .eyebrow {
  margin-bottom: 1.5rem;
  justify-content: center;
}
.hero-x-title h1 {
  font-size: clamp(2.5rem, 1.5rem + 4.6vw, 6rem);
  letter-spacing: -0.035em;
  line-height: 0.98;
  text-shadow: 0 1px 12px rgba(0,0,0,0.35);
}
.hero-x-title h1 em {
  font-style: normal;
  color: var(--brand);
}
.hero-x-hint {
  margin-top: 2.25rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-2);
  display: inline-flex; align-items: center; gap: 0.6rem;
}
.hero-x-hint::after {
  content: "↓";
  display: inline-block;
  animation: hero-x-bob 1.6s ease-in-out infinite;
}
@keyframes hero-x-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}
.hero-x-content {
  position: absolute;
  left: 50%;
  bottom: clamp(9rem, 14vh, 11rem);
  transform: translateX(-50%) translateY(20px);
  z-index: 10;                 /* sobre stats (5), title (3), media (1), bg (0) */
  text-align: center;
  width: min(56ch, calc(100% - 3rem));
  opacity: 0;
  will-change: opacity, transform;
}
.hero-x-content .lead,
.hero-x-content .hero-x-cta { pointer-events: auto; }
.hero-x-content .lead {
  color: var(--ink);
  text-shadow: 0 1px 8px rgba(0,0,0,0.4);
  margin: 0 auto 1.5rem;
}
.hero-x-cta {
  display: inline-flex; gap: 0.75rem; flex-wrap: wrap; justify-content: center;
}
.hero-x-stats {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 5;
  background: rgba(10, 15, 13, 0.72);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-top: 1px solid var(--line);
  opacity: 0;
  transform: translateY(20px);
  will-change: opacity, transform;
}

/* Tablet / pequeño laptop */
@media (max-width: 980px) {
  .hero-x-track { height: 200vh; }
  .hero-x-media { clip-path: inset(14% 6% 14% 6% round 18px); }
  .hero-x-title h1 { font-size: clamp(2.25rem, 6vw, 3.75rem); }
}

/* ─────────────────────────────────────────────────────────────
   MÓVIL — hero estático con video de fondo
   Sin scroll-expansion ni JS de animación: el video comprimido
   (hero-mobile.mp4, <1MB) corre en loop full-bleed detrás del veil.
   Título centrado + 2 CTAs apilados. El poster JPG queda de fallback.
   El lead text y el stats bar quedan ocultos: la misma info aparece
   en la sección de Savings y en el card de EV48 inmediatamente abajo.
   ───────────────────────────────────────────────────────────── */
@media (max-width: 720px) {
  .hero-x { isolation: auto; }
  .hero-x-track { height: auto; min-height: 100svh; }
  .hero-x-sticky {
    position: relative;
    min-height: 100svh;
    height: auto;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 1.75rem;
    padding: calc(var(--nav-h) + 3rem) 1.25rem 3rem;
    box-sizing: border-box;
  }
  /* Video full-bleed en móvil; poster de fallback detrás mientras carga */
  .hero-x-media {
    position: absolute !important; inset: 0; z-index: 0 !important;
    clip-path: none !important;
    background: url('/assets/hero-poster.jpg?v=20260529a') center/cover no-repeat var(--base);
  }
  .hero-x-media video {
    display: block !important;
    width: 100% !important; height: 100% !important;
    object-fit: cover; object-position: center;
  }
  .hero-x-media-veil {
    position: absolute; inset: 0;
    opacity: 1 !important;
    background: linear-gradient(180deg,
      rgba(10,15,13,0.30) 0%,
      rgba(10,15,13,0.55) 50%,
      rgba(10,15,13,0.92) 100%);
  }
  /* Título — siempre visible, centrado vía flex parent */
  .hero-x-title {
    position: relative !important;
    z-index: 2 !important;
    opacity: 1 !important;
    transform: none !important;
    margin: 0 !important;
    padding: 0 !important;
    max-width: none !important;
    width: 100%;
    pointer-events: none;
  }
  .hero-x-title h1 {
    font-size: clamp(2rem, 8.5vw, 2.75rem);
    max-width: 14ch;
    margin: 0 auto;
    letter-spacing: -0.03em;
    text-shadow: 0 2px 24px rgba(0,0,0,0.55);
  }
  .hero-x-title .eyebrow { margin-bottom: 1rem; justify-content: center; }
  .hero-x-hint { display: none !important; }
  /* CTAs — full-width, apilados, centrados vía flex parent */
  .hero-x-content {
    position: relative !important;
    left: auto !important;
    bottom: auto !important;
    transform: none !important;
    opacity: 1 !important;
    z-index: 2;
    width: 100%;
    max-width: 22rem;
    margin: 0 !important;
  }
  .hero-x-content .lead { display: none !important; }
  .hero-x-cta {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.625rem !important;
    width: 100% !important;
  }
  .hero-x-cta .btn {
    width: 100% !important;
    justify-content: center;
    padding: 1rem 1.25rem;
    pointer-events: auto;
  }
  /* Stats bar oculto en móvil (redundante con savings + EV48 product card abajo) */
  .hero-x-stats { display: none !important; }
}

/* prefers-reduced-motion → solo en DESKTOP (mobile ya es estático).
   Si aplicamos esto en móvil, oculta el título y empuja content+stats
   al estado final, rompiendo el layout estático del hero móvil. */
@media (prefers-reduced-motion: reduce) and (min-width: 721px) {
  .hero-x-track { height: 100vh; }
  .hero-x-media { clip-path: inset(0 0 0 0 round 0) !important; }
  .hero-x-title { opacity: 0 !important; }
  .hero-x-content, .hero-x-stats { opacity: 1 !important; transform: translateX(-50%) translateY(0) !important; }
  .hero-x-stats { transform: translateY(0) !important; }
  .hero-x-hint::after { animation: none; }
}
/* Solo el bob animation se cancela siempre con reduce-motion */
@media (prefers-reduced-motion: reduce) {
  .hero-x-hint::after { animation: none; }
}

/* ===============================================
   Product page (EV48 / MagicWay)
   =============================================== */
.p-hero {
  position: relative;
  padding-top: calc(var(--nav-h) + 4rem);
  padding-bottom: var(--gap-6);
  overflow: hidden;
}
.p-hero-grid {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: var(--gap-5); align-items: center;
}
.p-hero h1 { font-size: clamp(2.5rem, 1.5rem + 4.2vw, 5.5rem); letter-spacing: -0.04em; line-height: 0.95; }
.p-hero h1 em { font-style: normal; color: var(--brand); }
.p-hero-lead { margin-top: 1.5rem; max-width: 50ch; }
.p-hero-cta { margin-top: 2rem; display: flex; gap: 0.75rem; flex-wrap: wrap; }
@media (max-width: 600px) {
  .p-hero { padding-top: calc(var(--nav-h) + 2rem); padding-bottom: 2.5rem; }
  .p-hero h1 { font-size: clamp(2rem, 9vw, 3rem); }
  .p-hero-lead { font-size: 1rem; margin-top: 1.25rem; }
  .p-hero-cta { flex-direction: column; gap: 0.625rem; margin-top: 1.5rem; }
  .p-hero-cta .btn { width: 100%; justify-content: center; }
}
.p-hero-media {
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #1A2122 0%, #0F1413 100%);
  position: relative;
  border: 1px solid var(--line);
}
.p-hero-media video, .p-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.p-hero-badge {
  position: absolute; top: 1.25rem; left: 1.25rem;
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase;
  background: rgba(10,15,13,0.78); color: var(--brand);
  padding: 0.4rem 0.7rem; border-radius: 999px; backdrop-filter: blur(8px);
}
@media (max-width: 980px) { .p-hero-grid { grid-template-columns: 1fr; } }

/* Specs grid */
.specs {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.specs-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-left: 1px solid var(--line);
}
.specs-cell {
  padding: 2rem 1.5rem;
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 0.4rem;
}
.specs-cell .k { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mute); }
.specs-cell .v { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.5rem, 1rem + 1.4vw, 2.25rem); letter-spacing: -0.02em; line-height: 1; }
.specs-cell .v small { font-size: 0.5em; color: var(--ink-2); font-weight: 500; letter-spacing: 0; margin-left: 0.2em; }
@media (max-width: 880px) {
  .specs-grid { grid-template-columns: 1fr 1fr; border-left: 0; }
  .specs-cell:nth-child(2n) { border-right: 0; }
  .specs-cell { border-bottom: 1px solid var(--line); }
  .specs-cell:nth-last-child(-n+2) { border-bottom: 0; }
}
@media (max-width: 480px) {
  .specs-grid { grid-template-columns: 1fr; }
  .specs-cell { border-right: 0 !important; border-bottom: 1px solid var(--line); }
}

/* Feature blocks (alternating) */
.feature {
  padding: var(--gap-6) 0;
}
@media (max-width: 720px) { .feature { padding: 2.5rem 0; } }
.feature-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap-5); align-items: center;
}
.feature--reverse .feature-grid > :first-child { order: 2; }
.feature-media {
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 5 / 4;
  background: var(--surface);
  border: 1px solid var(--line);
  position: relative;
}
.feature-media video, .feature-media img { width: 100%; height: 100%; object-fit: cover; }
.feature-media .placeholder {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--mute);
}
.feature h3 { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem); margin: 0.85rem 0 1rem; }
.feature p { color: var(--ink-2); }
.feature ul.bullets { margin-top: 1.25rem; display: flex; flex-direction: column; gap: 0.65rem; }
.feature ul.bullets li {
  display: flex; gap: 0.85rem; align-items: baseline;
  font-size: 0.98rem; color: var(--ink-2);
}
.feature ul.bullets li::before {
  content: ""; flex-shrink: 0;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--brand);
  transform: translateY(-2px);
}
@media (max-width: 880px) {
  .feature-grid { grid-template-columns: 1fr; }
  .feature--reverse .feature-grid > :first-child { order: 0; }
}

/* Buy / price strip */
.buy {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.buy-grid {
  display: grid; grid-template-columns: 1.5fr 1fr; gap: var(--gap-5); align-items: center;
  padding: var(--gap-5) 0;
}
.buy-price {
  display: flex; flex-direction: column; gap: 0.4rem;
}
.buy-price .from { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mute); }
.buy-price .v { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.5rem, 1.8rem + 2.2vw, 3.75rem); letter-spacing: -0.03em; line-height: 1; }
.buy-price .strike { font-family: var(--font-mono); font-size: 0.85rem; color: var(--mute); text-decoration: line-through; }
.buy-price .note { color: var(--ink-2); font-size: 0.92rem; }
.buy-cta { display: flex; flex-direction: column; gap: 0.75rem; }
.buy-cta .btn { justify-content: center; }
@media (max-width: 880px) { .buy-grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
  .buy-grid { padding: 2.25rem 0; gap: 1.75rem; }
  .buy-cta .btn { padding: 1rem 1.25rem; }
}

/* ===============================================
   TCO calculator (Flotas page)
   =============================================== */
.tco {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.tco-grid {
  display: grid; grid-template-columns: 1fr 1.3fr; gap: var(--gap-5);
}
.tco-inputs {
  display: flex; flex-direction: column; gap: 1.75rem;
}
.tco-control {
  display: flex; flex-direction: column; gap: 0.75rem;
}
.tco-control-label {
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-2);
}
.tco-control-label .v {
  font-family: var(--font-display); font-weight: 600; font-size: 1.4rem; letter-spacing: -0.02em;
  color: var(--brand); text-transform: none;
}
.tco-slider {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 4px;
  background: var(--line);
  border-radius: 999px;
  outline: none;
  transition: background 0.2s var(--ease);
}
.tco-slider::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 22px; height: 22px;
  background: var(--brand);
  border-radius: 50%;
  cursor: pointer;
  border: 0;
  box-shadow: 0 0 0 4px rgba(61, 157, 255, 0.18);
}
.tco-slider::-moz-range-thumb {
  width: 22px; height: 22px;
  background: var(--brand);
  border-radius: 50%;
  cursor: pointer;
  border: 0;
}
.tco-slider-scale {
  display: flex; justify-content: space-between;
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.06em; color: var(--mute);
}
.tco-results {
  background: var(--base);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 2rem;
  display: flex; flex-direction: column; gap: 1.5rem;
}
.tco-headline {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 1.8rem + 3vw, 4.5rem);
  letter-spacing: -0.035em;
  line-height: 0.95;
  font-weight: 600;
}
.tco-headline em { font-style: normal; color: var(--brand); }
.tco-headline sup { font-size: 0.4em; font-weight: 500; color: var(--mute); vertical-align: super; margin-left: 0.15em; }
.tco-row {
  display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: baseline;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}
.tco-row .k { color: var(--ink-2); font-size: 0.95rem; }
.tco-row .v { font-family: var(--font-display); font-weight: 600; font-size: 1.4rem; letter-spacing: -0.015em; }
.tco-row .v.brand { color: var(--brand); }
.tco-disclaimer { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.05em; color: var(--mute); margin-top: 0.5rem; }
@media (max-width: 980px) { .tco-grid { grid-template-columns: 1fr; } }

/* Steps (plan de adopción) */
.steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
}
.step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  display: flex; flex-direction: column; gap: 0.75rem;
  position: relative;
}
.step-num {
  font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.1em; color: var(--brand);
}
.step h4 { font-size: 1.25rem; }
.step p { color: var(--ink-2); font-size: 0.95rem; margin: 0; }
@media (max-width: 980px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }



/* === Overflow horizontal móvil (precaución) ===
   overflow-x:clip en html recorta sin crear scroll container, no rompe sticky. */
@media (max-width: 880px) {
  html { overflow-x: clip; }
  body { overflow-x: hidden; }
}
