/* =========================================================
   e-auto · global website — design tokens & base
   Brand kit v1.0 — Montserrat, #009406, charcoal neutrals
   ========================================================= */

:root {
  /* brand */
  --green: #009406;
  --green-deep: #007a05;
  --green-soft: #e6f4e7;
  --peach: #ffae78;
  --red: #ff4949;
  /* neutrals */
  --ink: #0a0a0a;
  --graphite: #2b2b2b;
  --charcoal: #4d4d4d;
  --slate: #7a7a7a;
  --mist: #cfcfcf;
  --fog: #ededed;
  --snow: #fafafa;
  --white: #ffffff;
  /* type */
  --font: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --tracking-display: -0.01em;
  --tracking-h1: -0.005em;
  --tracking-caption: 0.02em;
  --tracking-eyebrow: 0.18em;
  --tracking-descriptor: 0.05em;
  /* layout */
  --maxw: 1360px;
  --gutter: clamp(20px, 4vw, 56px);
  --radius: 4px;
  /* motion */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
/* Compensar nav sticky para que las anclas no queden ocultas */
[id] { scroll-margin-top: 104px; }
@media (max-width: 880px) { [id] { scroll-margin-top: 72px; } }
body {
  font-family: var(--font);
  font-weight: 400;
  color: var(--graphite);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.5;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input { font: inherit; }

/* type scale */
.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--green);
}
.eyebrow.on-dark { color: var(--green); }
.eyebrow .dot {
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--green);
  border-radius: 50%;
  margin-right: 10px;
  vertical-align: middle;
  transform: translateY(-1px);
}
.caption {
  font-size: 12px;
  font-weight: 300;
  letter-spacing: var(--tracking-caption);
  color: var(--slate);
}
.mono {
  font-family: "JetBrains Mono", "SF Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--slate);
}

/* container */
.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* ============ TOP UTILITY BAR ============ */
.utility {
  background: var(--ink);
  color: var(--mist);
  font-size: 12px;
  font-weight: 400;
  border-bottom: 1px solid #1a1a1a;
}
.utility .wrap {
  display: flex; justify-content: space-between; align-items: center;
  height: 36px;
}
.utility-left { display: flex; gap: 28px; align-items: center; }
.utility-left .ping {
  display: inline-flex; align-items: center; gap: 8px;
  letter-spacing: 0.02em;
}
.utility-left .ping::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(0,148,6,.6);
  animation: pulse 2s var(--ease) infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(0,148,6,.5); }
  70% { box-shadow: 0 0 0 8px rgba(0,148,6,0); }
  100% { box-shadow: 0 0 0 0 rgba(0,148,6,0); }
}
.utility-right { display: flex; gap: 28px; align-items: center; }
.utility a { color: var(--mist); }
.utility a:hover { color: var(--white); }
.lang-switch {
  display: inline-flex;
  gap: 0;
  border: 1px solid #2b2b2b;
  border-radius: 2px;
  overflow: hidden;
}
.lang-switch button {
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--slate);
}
.lang-switch button.active { background: var(--green); color: var(--white); }

/* ============ NAV ============ */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--fog);
}
.nav .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 96px;
}
.brand-lockup {
  display: inline-flex; align-items: center;
  height: 80px;
  font-family: var(--font);
  transition: transform 0.3s var(--ease);
}
.brand-lockup:hover { transform: translateY(-1px); }
.brand-lockup img {
  display: block;
  height: 100%;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 6px 18px rgba(0,0,0,0.22));
}
/* Footer: logo cuadrado más prominente sobre el fondo oscuro */
footer .brand-lockup {
  height: 96px;
}
footer .brand-lockup img {
  filter: drop-shadow(0 10px 28px rgba(0,148,6,0.2));
}
.brand-lockup .iso {
  width: 40px; height: 40px;
  background: var(--white);
  border: 1.5px solid var(--charcoal);
  display: grid; place-items: center;
  border-right: none;
}
.brand-lockup .iso svg { width: 24px; height: 24px; color: var(--green); }
.brand-lockup .wordmark {
  background: var(--charcoal);
  color: var(--white);
  padding: 0 14px;
  display: grid; place-items: center;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.01em;
}
.brand-lockup .descriptor {
  display: block;
  margin-left: 12px;
  align-self: center;
  font-weight: 200;
  font-size: 9.5px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--slate);
  padding-left: 12px;
  border-left: 1px solid var(--mist);
}

.nav-links {
  display: flex; gap: 36px;
  align-items: center;
}
.nav-links a {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--graphite);
  position: relative;
  padding: 6px 0;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; background: var(--green);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta {
  display: flex; gap: 12px; align-items: center;
}

/* Hamburger toggle (hidden on desktop, visible on mobile) */
.nav-toggle {
  display: none;
  width: 28px;
  height: 22px;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  position: relative;
  z-index: 60;
  flex-direction: column;
  justify-content: space-between;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--ink);
  transition: transform 0.35s var(--ease), opacity 0.2s var(--ease), background 0.2s var(--ease);
  transform-origin: center;
}
.nav.open .nav-toggle span:nth-child(1) { transform: translateY(10px) rotate(45deg); background: var(--white); }
.nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav.open .nav-toggle span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); background: var(--white); }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 2px;
  transition: all 0.3s var(--ease);
  position: relative;
  white-space: nowrap;
}
.btn .arr {
  width: 16px; height: 16px;
  transition: transform 0.3s var(--ease);
}
.btn:hover .arr { transform: translateX(4px); }
.btn-primary {
  background: var(--green); color: var(--white);
}
.btn-primary:hover { background: var(--green-deep); transform: translateY(-1px); box-shadow: 0 12px 28px -10px rgba(0,148,6,0.5); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost {
  background: transparent; color: var(--graphite);
  border: 1px solid var(--mist);
}
.btn-ghost:hover { border-color: var(--graphite); }
.btn-dark {
  background: var(--ink); color: var(--white);
}
.btn-dark:hover { background: var(--graphite); }
.btn-outline-light {
  background: transparent; color: var(--white);
  border: 1px solid rgba(255,255,255,0.25);
}
.btn-outline-light:hover { border-color: var(--white); background: rgba(255,255,255,0.04); }
.btn-sm { padding: 10px 16px; font-size: 12px; }

/* ============ HERO ============ */
.hero {
  position: relative;
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
  padding: 96px 0 0;
  min-height: 760px;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("assets/patterns/circuit_dots.svg");
  background-size: 220px 220px;
  opacity: 0.5;
  mix-blend-mode: screen;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 50% at 80% 40%, rgba(0,148,6,0.18), transparent 70%);
  pointer-events: none;
}
.hero .wrap {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1.05fr);
  gap: 48px;
  align-items: center;
  min-height: 660px;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 8px 14px 8px 10px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mist);
  margin-bottom: 32px;
}
.hero-eyebrow .pill {
  background: var(--green);
  color: var(--white);
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.15em;
}
.hero h1 {
  font-weight: 700;
  font-size: clamp(46px, 6.2vw, 92px);
  line-height: 0.98;
  letter-spacing: var(--tracking-display);
  margin-bottom: 28px;
}
.hero h1 .accent {
  color: var(--green);
  font-style: normal;
  position: relative;
  display: inline-block;
}
.hero h1 .accent::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0.04em;
  height: 0.06em;
  background: var(--green);
  opacity: 0.35;
}
.hero p.lead {
  font-size: 18px;
  font-weight: 300;
  line-height: 1.55;
  color: var(--mist);
  max-width: 520px;
  margin-bottom: 40px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
  max-width: 560px;
}
.hero-meta .v {
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -0.01em;
  color: var(--white);
  line-height: 1;
}
.hero-meta .v .u {
  font-weight: 400;
  font-size: 14px;
  color: var(--slate);
  margin-left: 2px;
}
.hero-meta .k {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate);
  margin-top: 10px;
}

/* hero right — vehicle stage */
.stage {
  position: relative;
  height: 560px;
  display: grid;
  align-items: center;
  justify-items: center;
}
.stage-frame {
  position: relative;
  width: 100%;
  height: 100%;
  border: 1px solid rgba(255,255,255,0.08);
  background:
    linear-gradient(180deg, transparent 0%, rgba(0,148,6,0.05) 60%, rgba(0,148,6,0.12) 100%);
  overflow: hidden;
}
.stage-frame::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
}
.stage-photo {
  position: absolute; inset: 0;
  display: grid; place-items: center;
}
.placeholder-van {
  width: 78%;
  aspect-ratio: 16 / 9;
  border: 1px dashed rgba(255,255,255,0.22);
  position: relative;
  display: grid; place-items: center;
  background:
    repeating-linear-gradient(135deg,
      rgba(255,255,255,0.03) 0px,
      rgba(255,255,255,0.03) 2px,
      transparent 2px,
      transparent 10px);
  color: var(--slate);
}
.placeholder-van .label {
  font-family: ui-monospace, "SF Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--mist);
  text-align: center;
}
.placeholder-van .label .k { color: var(--green); }
.placeholder-van .corners { position: absolute; inset: 0; pointer-events: none; }
.placeholder-van .corners span {
  position: absolute; width: 18px; height: 18px;
  border: 1px solid var(--green);
}
.placeholder-van .corners span:nth-child(1) { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.placeholder-van .corners span:nth-child(2) { top: -1px; right: -1px; border-left: none; border-bottom: none; }
.placeholder-van .corners span:nth-child(3) { bottom: -1px; left: -1px; border-right: none; border-top: none; }
.placeholder-van .corners span:nth-child(4) { bottom: -1px; right: -1px; border-left: none; border-top: none; }

.stage-readout {
  position: absolute;
  font-family: ui-monospace, monospace;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--mist);
}
.stage-readout .v { color: var(--green); font-weight: 600; }
.readout-1 { top: 28px; left: 28px; }
.readout-2 { top: 28px; right: 28px; text-align: right; }
.readout-3 { bottom: 28px; left: 28px; }
.readout-4 { bottom: 28px; right: 28px; text-align: right; }

.stage-tag {
  position: absolute;
  bottom: -1px; right: -1px;
  background: var(--green);
  color: var(--white);
  padding: 8px 14px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* hero bottom strip — scrolling marquee */
.marquee {
  margin-top: 64px;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 22px 0;
  overflow: hidden;
  position: relative;
  z-index: 2;
}
.marquee-track {
  display: flex;
  gap: 80px;
  white-space: nowrap;
  animation: scroll 40s linear infinite;
  width: max-content;
}
@keyframes scroll {
  to { transform: translateX(-50%); }
}
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  color: var(--mist);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.marquee-item .sep { color: var(--green); font-size: 8px; }

/* ============ SECTIONS COMMON ============ */
section { position: relative; }
.section-pad { padding: 120px 0; }
.section-pad-tight { padding: 80px 0; }
.section-header {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  margin-bottom: 64px;
}
.section-header .col-l .eyebrow { margin-bottom: 16px; display: inline-block; }
.section-header h2 {
  font-weight: 600;
  font-size: clamp(36px, 4.4vw, 60px);
  line-height: 1.02;
  letter-spacing: var(--tracking-h1);
  color: var(--ink);
}
.section-header h2 em {
  font-style: normal;
  color: var(--green);
}
.section-header .desc {
  font-size: 17px;
  font-weight: 300;
  line-height: 1.55;
  color: var(--charcoal);
  max-width: 540px;
  align-self: end;
}
.dark { background: var(--ink); color: var(--white); }
.dark .section-header h2 { color: var(--white); }
.dark .section-header .desc { color: var(--mist); }
.snow { background: var(--snow); }

/* ============ VALUE PROPS ============ */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--fog);
  border-left: 1px solid var(--fog);
}
.value {
  padding: 40px 36px 44px;
  border-right: 1px solid var(--fog);
  border-bottom: 1px solid var(--fog);
  position: relative;
  transition: background 0.3s var(--ease);
}
.value:hover { background: var(--snow); }
.value .num {
  font-family: ui-monospace, monospace;
  font-size: 11px;
  color: var(--slate);
  margin-bottom: 28px;
  display: block;
}
.value .ic {
  width: 40px; height: 40px;
  color: var(--green);
  margin-bottom: 28px;
}
.value h3 {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 14px;
  letter-spacing: -0.005em;
}
.value p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--charcoal);
  font-weight: 400;
}

/* ============ PRODUCTS ============ */
.products {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.product-card {
  border: 1px solid var(--fog);
  background: var(--white);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: all 0.4s var(--ease);
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px -20px rgba(0,148,6,0.18);
  border-color: var(--green-soft);
}
.product-hero {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--snow);
  overflow: hidden;
  border-bottom: 1px solid var(--fog);
}
.product-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(90deg, var(--fog) 1px, transparent 1px),
    linear-gradient(0deg, var(--fog) 1px, transparent 1px);
  background-size: 60px 60px;
}
.product-hero .placeholder-van {
  width: 72%;
  border-color: var(--mist);
  background: repeating-linear-gradient(135deg,
    rgba(0,0,0,0.025) 0,
    rgba(0,0,0,0.025) 2px,
    transparent 2px,
    transparent 10px);
}
.product-hero .placeholder-van .label { color: var(--slate); }
.product-hero .placeholder-van .label .k { color: var(--green); }
.product-hero .placeholder-van .corners span { border-color: var(--green); }
.product-badge {
  position: absolute;
  top: 20px; left: 20px;
  background: var(--white);
  color: var(--graphite);
  padding: 6px 12px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--fog);
}
.product-badge.dark { background: var(--ink); color: var(--white); border-color: var(--ink); }
.product-tag {
  position: absolute;
  top: 20px; right: 20px;
  font-family: ui-monospace, monospace;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--slate);
}
.product-body { padding: 32px 32px 36px; }
.product-body .model {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 10px;
}
.product-body h3 {
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 6px;
}
.product-body .tagline {
  font-size: 15px;
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: 28px;
}
.product-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--fog);
  margin-bottom: 28px;
}
.product-specs .spec {
  padding: 18px 0 0;
  border-right: 1px solid var(--fog);
}
.product-specs .spec:last-child { border-right: none; padding-left: 18px; }
.product-specs .spec:nth-child(2) { padding-left: 18px; }
.product-specs .spec .v {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1;
  color: var(--ink);
}
.product-specs .spec .v .u {
  font-size: 12px;
  font-weight: 400;
  color: var(--slate);
  margin-left: 2px;
}
.product-specs .spec .k {
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate);
  margin-top: 8px;
}
.product-footer {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
}
.product-price {
  font-size: 11px;
  color: var(--slate);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.product-price .v {
  display: block;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--ink);
  text-transform: none;
  margin-top: 4px;
}
.product-price .v small {
  font-size: 11px;
  font-weight: 400;
  color: var(--slate);
  margin-left: 4px;
}

/* ============ TCO CALCULATOR ============ */
.tco {
  background: var(--ink);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.tco::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("assets/patterns/voltage.svg");
  background-size: 480px 480px;
  opacity: 0.18;
  pointer-events: none;
}
.tco .wrap { position: relative; z-index: 1; }
.tco-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.tco-controls {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 36px;
}
.tco-controls h4 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 28px;
}
.tco-row {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 12px;
}
.tco-row label {
  font-size: 13px;
  font-weight: 500;
  color: var(--mist);
}
.tco-row .value {
  font-family: ui-monospace, monospace;
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
}
.tco-row .value .u { color: var(--slate); font-weight: 400; margin-left: 4px; }
.tco-slider-wrap { margin-bottom: 28px; }
input[type="range"] {
  -webkit-appearance: none; appearance: none;
  width: 100%;
  height: 2px;
  background: rgba(255,255,255,0.12);
  border-radius: 2px;
  outline: none;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 16px; height: 16px;
  background: var(--green);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 0 6px rgba(0,148,6,0.16);
  transition: box-shadow 0.2s var(--ease);
}
input[type="range"]::-webkit-slider-thumb:hover { box-shadow: 0 0 0 10px rgba(0,148,6,0.22); }
input[type="range"]::-moz-range-thumb {
  width: 16px; height: 16px;
  background: var(--green);
  border-radius: 50%;
  cursor: pointer;
  border: none;
  box-shadow: 0 0 0 6px rgba(0,148,6,0.16);
}
.tco-toggle {
  display: flex;
  border: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 28px;
}
.tco-toggle button {
  flex: 1;
  padding: 12px 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--mist);
  transition: all 0.2s var(--ease);
}
.tco-toggle button.active {
  background: var(--green);
  color: var(--white);
}
.tco-years {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}
.tco-years button {
  flex: 1;
  padding: 10px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--mist);
  transition: all 0.2s var(--ease);
}
.tco-years button.active {
  background: var(--white);
  color: var(--ink);
  border-color: var(--white);
}

/* TCO output */
.tco-result h4 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 16px;
}
.tco-savings {
  font-size: clamp(48px, 6vw, 84px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--green);
  margin-bottom: 8px;
}
.tco-caption {
  font-size: 14px;
  color: var(--mist);
  margin-bottom: 36px;
  font-weight: 300;
  max-width: 360px;
}
.tco-bars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 28px;
}
.tco-bar {
  border: 1px solid rgba(255,255,255,0.08);
  padding: 20px;
}
.tco-bar .label {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 10px;
}
.tco-bar .v {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1;
}
.tco-bar.diesel .v { color: var(--red); }
.tco-bar.ev .v { color: var(--green); }
.tco-bar .small {
  font-size: 11px;
  color: var(--slate);
  margin-top: 6px;
  font-family: ui-monospace, monospace;
}
.tco-meta {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  margin-bottom: 32px;
}
.tco-meta .item .label {
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 6px;
}
.tco-meta .item .v {
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
}

/* ============ STATS BAND ============ */
.stats-band {
  background: var(--snow);
  border-top: 1px solid var(--fog);
  border-bottom: 1px solid var(--fog);
  padding: 80px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat {
  text-align: left;
  padding: 0 32px;
  border-left: 1px solid var(--fog);
}
.stat:first-child { border-left: none; padding-left: 0; }
.stat .num {
  font-size: clamp(48px, 5.4vw, 76px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--ink);
}
.stat .num .u {
  font-size: 22px;
  font-weight: 500;
  color: var(--green);
  margin-left: 4px;
  letter-spacing: 0;
}
.stat .label {
  font-size: 13px;
  font-weight: 500;
  color: var(--charcoal);
  margin-top: 16px;
  max-width: 220px;
  line-height: 1.4;
}

/* ============ SECTORS ============ */
.sectors {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
}
.sector {
  border: 1px solid rgba(255,255,255,0.08);
  padding: 36px 32px 32px;
  background: rgba(255,255,255,0.02);
  transition: all 0.3s var(--ease);
  position: relative;
}
.sector:hover { background: rgba(0,148,6,0.06); border-color: rgba(0,148,6,0.4); transform: translateY(-3px); }
.sector .num {
  font-family: ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--green);
  margin-bottom: 24px;
}
.sector .ic {
  width: 36px; height: 36px;
  color: var(--green);
  margin-bottom: 24px;
}
.sector h4 {
  font-size: 20px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 8px;
  letter-spacing: -0.005em;
}
.sector p {
  font-size: 13.5px;
  font-weight: 300;
  color: var(--mist);
  line-height: 1.5;
  margin-bottom: 28px;
}
.sector .examples {
  font-family: ui-monospace, monospace;
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--slate);
  text-transform: uppercase;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

/* ============ CASE STUDY ============ */
.case {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: center;
}
.case-quote {
  font-size: clamp(26px, 2.4vw, 32px);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 36px;
  text-wrap: balance;
}
.case-attr {
  display: flex; gap: 16px; align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--fog);
}
.case-attr .av {
  width: 48px; height: 48px;
  background: var(--green);
  color: var(--white);
  display: grid; place-items: center;
  font-weight: 700;
  font-size: 16px;
}
.case-attr .nm {
  font-weight: 600;
  font-size: 14.5px;
  color: var(--ink);
}
.case-attr .ti {
  font-size: 12px;
  color: var(--slate);
  margin-top: 2px;
}
.case-stage {
  position: relative;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--fog);
  background: var(--snow);
  overflow: hidden;
}
.case-stage::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(90deg, var(--fog) 1px, transparent 1px),
    linear-gradient(0deg, var(--fog) 1px, transparent 1px);
  background-size: 50px 50px;
}
.case-stage .placeholder-van { width: 70%; border-color: var(--mist); }
.case-stage .placeholder-van .label { color: var(--slate); }
.case-stage .placeholder-van .label .k { color: var(--green); }
.case-stage .placeholder-van .corners span { border-color: var(--green); }
.case-stage .pinpoint {
  position: absolute;
  background: var(--white);
  border: 1px solid var(--fog);
  padding: 12px 14px;
  font-size: 11px;
  letter-spacing: 0.02em;
  color: var(--charcoal);
  box-shadow: 0 8px 24px -12px rgba(0,0,0,0.18);
}
.case-stage .pinpoint .k {
  display: block;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 4px;
  font-weight: 600;
}
.case-stage .pp1 { top: 28px; right: 28px; }
.case-stage .pp2 { bottom: 28px; left: 28px; }

/* ============ FINAL CTA ============ */
.final-cta {
  background: var(--green);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("assets/patterns/charge_grid.svg");
  background-size: 200px 200px;
  opacity: 0.18;
}
.final-cta .wrap {
  position: relative; z-index: 1;
  padding: 100px 0;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: center;
}
.final-cta h2 {
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.015em;
  margin-bottom: 24px;
}
.final-cta .lead {
  font-size: 17px;
  font-weight: 300;
  max-width: 540px;
  color: rgba(255,255,255,0.85);
}
.final-cta-form {
  background: var(--white);
  color: var(--ink);
  padding: 32px;
}
.final-cta-form h4 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 18px;
}
.final-cta-form .field {
  display: flex; flex-direction: column;
  margin-bottom: 12px;
}
.final-cta-form .field label {
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 6px;
  font-weight: 500;
}
.final-cta-form input {
  border: none;
  border-bottom: 1px solid var(--fog);
  padding: 8px 0;
  font-size: 14px;
  background: transparent;
  color: var(--ink);
  outline: none;
  transition: border 0.2s var(--ease);
}
.final-cta-form input:focus { border-bottom-color: var(--green); }
.final-cta-form .btn { width: 100%; justify-content: space-between; margin-top: 16px; }

/* ============ FOOTER ============ */
footer {
  background: var(--ink);
  color: var(--mist);
  padding: 96px 0 40px;
  position: relative;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.foot-grid h5 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 24px;
}
.foot-grid ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.foot-grid a { font-size: 13.5px; color: var(--mist); transition: color 0.2s var(--ease); }
.foot-grid a:hover { color: var(--white); }
.foot-brand p {
  font-size: 13.5px;
  font-weight: 300;
  color: var(--mist);
  max-width: 280px;
  margin: 20px 0 28px;
  line-height: 1.55;
}
.foot-brand .contact {
  font-size: 13px;
  color: var(--white);
  line-height: 1.7;
}
.foot-brand .contact a:hover { color: var(--green); }
.foot-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 32px;
  font-size: 12px;
  color: var(--slate);
}
.foot-bottom .legal { display: flex; gap: 24px; }

/* ============ REVEAL ANIMATION ============ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal[data-d="1"] { transition-delay: 0.08s; }
.reveal[data-d="2"] { transition-delay: 0.16s; }
.reveal[data-d="3"] { transition-delay: 0.24s; }
.reveal[data-d="4"] { transition-delay: 0.32s; }

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

/* ============ RESPONSIVE ============ */
@media (max-width: 1100px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .stage { height: 460px; }
  .tco-grid { grid-template-columns: 1fr; gap: 40px; }
  .case { grid-template-columns: 1fr; }
  .section-header { grid-template-columns: 1fr; gap: 24px; margin-bottom: 48px; }
  .final-cta .wrap { grid-template-columns: 1fr; padding: 72px 0; }
}
@media (max-width: 880px) {
  .values-grid { grid-template-columns: 1fr 1fr; }
  .products { grid-template-columns: 1fr; }
  .sectors { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 32px 0; }
  .stat:nth-child(3) { border-left: none; padding-left: 0; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .utility-left .ping span:last-child { display: none; }
  .utility-left a:not(.ping) { display: none; }
  .brand-lockup .descriptor { display: none; }

  /* ---- Mobile nav (drawer) ---- */
  .nav .wrap { height: 64px; }
  .brand-lockup { height: 44px; }
  footer .brand-lockup { height: 72px; }
  .nav-toggle { display: flex; }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    width: 88%;
    max-width: 360px;
    height: 100dvh;
    background: var(--ink);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 84px 32px 180px;
    transform: translateX(105%);
    transition: transform 0.4s var(--ease);
    z-index: 55;
    box-shadow: -32px 0 64px -24px rgba(0,0,0,0.35);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .nav.open .nav-links { transform: translateX(0); }
  .nav-links a {
    color: var(--white);
    font-size: 17px;
    font-weight: 500;
    padding: 18px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    width: 100%;
  }
  .nav-links a::after { display: none; }
  .nav-links a:hover { color: var(--green); }

  /* CTAs anclados en la parte baja del drawer */
  .nav-cta {
    position: fixed;
    right: 0;
    top: calc(100dvh - 156px);
    width: 88%;
    max-width: 360px;
    height: 156px;
    box-sizing: border-box;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 12px;
    padding: 20px 32px;
    background: rgba(0,0,0,0.96);
    border-top: 1px solid rgba(255,255,255,0.08);
    transform: translateX(105%);
    transition: transform 0.4s var(--ease);
    z-index: 56;
  }
  .nav.open .nav-cta { transform: translateX(0); }
  .nav-cta .btn { width: 100%; justify-content: center; padding: 14px 18px; }
  .nav-cta .btn-ghost { color: var(--white); border-color: rgba(255,255,255,0.3); }
  .nav-cta .btn-ghost:hover { border-color: var(--white); }

  /* Backdrop */
  .nav::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    z-index: 54;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s var(--ease);
  }
  .nav.open::before { opacity: 1; pointer-events: auto; }
}
@media (max-width: 560px) {
  .section-pad { padding: 80px 0; }
  .values-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat { border-left: none; padding-left: 0; padding-bottom: 24px; }
  .foot-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-meta { grid-template-columns: 1fr 1fr; }
  .product-specs { grid-template-columns: 1fr 1fr; }
  .product-specs .spec:nth-child(3) { border-top: 1px solid var(--fog); padding-top: 18px; padding-left: 0; margin-top: 18px; }
}

/* =========================================================
   Gradient Text — animated colored blobs over title
   (ported from 21st.dev gradient-text component, adapted
    for vanilla CSS on dark hero background)
   ========================================================= */
:root {
  --gt-color-1: 330 100% 50%;  /* neon pink */
  --gt-color-2: 140 100% 55%;  /* electric green */
  --gt-color-3: 210 100% 55%;  /* deep neon blue */
  --gt-color-4: 60 100% 70%;   /* light neon yellow */
}

.gradient-text {
  position: relative;
  display: inline-block;
  isolation: isolate;
  overflow: hidden;
  background: var(--ink);
  padding: 0.06em 0.04em 0.12em;
  margin: -0.06em -0.04em -0.12em;
}

.gradient-text .gt-overlay {
  pointer-events: none;
  position: absolute;
  inset: 0;
  mix-blend-mode: darken;
  z-index: 1;
}

.gradient-text .gt-blob {
  pointer-events: none;
  position: absolute;
  width: 30vw;
  height: 30vw;
  min-width: 320px;
  min-height: 320px;
  mix-blend-mode: overlay;
  filter: blur(18px);
  will-change: top, right, bottom, left, border-radius;
}

.gradient-text .gt-1 {
  top: -50%;
  left: 0;
  background: hsl(var(--gt-color-1));
  animation:
    gt-border 6s ease-in-out infinite,
    gt-move-1 12s ease-in-out infinite alternate;
}
.gradient-text .gt-2 {
  top: 0;
  right: 0;
  background: hsl(var(--gt-color-2));
  animation:
    gt-border 6s ease-in-out infinite,
    gt-move-2 12s ease-in-out infinite alternate;
}
.gradient-text .gt-3 {
  bottom: 0;
  left: 0;
  background: hsl(var(--gt-color-3));
  animation:
    gt-border 6s ease-in-out infinite,
    gt-move-3 12s ease-in-out infinite alternate;
}
.gradient-text .gt-4 {
  bottom: -50%;
  right: 0;
  background: hsl(var(--gt-color-4));
  animation:
    gt-border 6s ease-in-out infinite,
    gt-move-4 12s ease-in-out infinite alternate;
}

@keyframes gt-border {
  0%, 100% { border-radius: 37% 29% 27% 27% / 28% 25% 41% 37%; }
  25%      { border-radius: 47% 29% 39% 49% / 61% 19% 66% 26%; }
  50%      { border-radius: 57% 23% 47% 72% / 63% 17% 66% 33%; }
  75%      { border-radius: 28% 49% 29% 100% / 93% 20% 64% 25%; }
}
@keyframes gt-move-1 {
  0%, 100% { top: 0; right: 0; }
  50%      { top: 50%; right: 25%; }
  75%      { top: 25%; right: 50%; }
}
@keyframes gt-move-2 {
  0%, 100% { top: 0; left: 0; }
  60%      { top: 75%; left: 25%; }
  85%      { top: 50%; left: 50%; }
}
@keyframes gt-move-3 {
  0%, 100% { bottom: 0; left: 0; }
  40%      { bottom: 50%; left: 25%; }
  65%      { bottom: 25%; left: 50%; }
}
@keyframes gt-move-4 {
  0%, 100% { bottom: 0; right: 0; }
  50%      { bottom: 25%; right: 40%; }
  90%      { bottom: 50%; right: 25%; }
}

@media (prefers-reduced-motion: reduce) {
  .gradient-text .gt-blob { animation: none; }
}

/* =========================================================
   MOBILE REFINEMENTS · premium polish
   Pasada quirúrgica para acercar la experiencia móvil
   a la densidad y elegancia del desktop: type scale más
   contenida, secciones más calmas, utility bar que no se
   rompe, tap targets >=44px, sin overflow horizontal.
   ========================================================= */

@media (max-width: 880px) {
  /* Contiene overflow horizontal causado por elementos
     absolutos del hero cinematográfico, sólo en móvil
     (mantener html sin overflow para no romper position:sticky) */
  body { overflow-x: hidden; }

  :root {
    --gutter: clamp(20px, 5.2vw, 28px);
  }

  /* ---- Utility bar (no se debe romper a dos líneas) ---- */
  .utility { font-size: 11px; }
  .utility .wrap { height: 36px; gap: 12px; }
  .utility-left { gap: 14px; min-width: 0; flex: 1 1 auto; overflow: hidden; }
  .utility-left .ping {
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    min-width: 0;
  }
  .utility-right { gap: 12px; flex-shrink: 0; }
  .utility-right a {
    white-space: nowrap;
    max-width: 9.5em;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* ---- Nav: equilibrio del logo ---- */
  .nav .wrap { height: 60px; }
  .brand-lockup { height: 38px; }

  /* ---- Hero por defecto (páginas no-cinema) ---- */
  .hero {
    min-height: 0;
    padding: 56px 0 0;
  }
  .hero .wrap {
    min-height: 0;
    gap: 32px;
    padding-top: 16px;
    padding-bottom: 56px;
  }
  .hero h1 {
    font-size: clamp(34px, 9.2vw, 64px);
    line-height: 1.02;
    margin-bottom: 20px;
  }
  .hero p.lead {
    font-size: 15.5px;
    margin-bottom: 28px;
    line-height: 1.5;
  }
  .hero-cta { gap: 10px; }
  .hero-cta .btn { padding: 13px 20px; font-size: 13px; min-height: 46px; }
  .hero-meta {
    margin-top: 36px; padding-top: 24px; gap: 22px;
  }
  .hero-meta .v { font-size: 22px; }
  .hero-meta .v .u { font-size: 12px; }
  .hero-meta .k { font-size: 10px; margin-top: 6px; }
  .stage { height: 320px; }

  .marquee { margin-top: 40px; padding: 14px 0; }
  .marquee-track { gap: 48px; }
  .marquee-item { font-size: 11px; letter-spacing: 0.14em; gap: 14px; }

  /* ---- Botones tap-target seguro ---- */
  .btn { min-height: 44px; padding: 12px 18px; }
  .btn-sm { min-height: 40px; padding: 10px 14px; }

  /* ---- Secciones compactas ---- */
  .section-pad { padding: 72px 0; }
  .section-pad-tight { padding: 56px 0; }
  .section-header { margin-bottom: 36px; gap: 14px; }
  .section-header h2 {
    font-size: clamp(28px, 7.6vw, 48px);
    line-height: 1.05;
  }
  .section-header .desc { font-size: 15px; line-height: 1.5; }

  /* ---- Value props ---- */
  .value { padding: 26px 22px 30px; }
  .value .num { margin-bottom: 18px; }
  .value .ic { width: 32px; height: 32px; margin-bottom: 18px; }
  .value h3 { font-size: 18px; margin-bottom: 10px; }
  .value p { font-size: 14px; line-height: 1.55; }

  /* ---- Productos (cards) ---- */
  .product-body { padding: 24px 22px 28px; }
  .product-body h3 { font-size: 28px; }
  .product-body .tagline { font-size: 14px; margin-bottom: 22px; }
  .product-specs { margin-bottom: 22px; }
  .product-specs .spec .v { font-size: 18px; }
  .product-specs .spec .v .u { font-size: 11px; }
  .product-specs .spec .k { font-size: 10px; }
  .product-footer { gap: 12px; align-items: stretch; }
  .product-price .v { font-size: 18px; }

  /* ---- Stats band ---- */
  .stats-band { padding: 56px 0; }
  .stat { padding: 0; border-left: none; }
  .stat .num { font-size: clamp(36px, 11vw, 60px); }
  .stat .num .u { font-size: 16px; }
  .stat .label { font-size: 12.5px; margin-top: 12px; max-width: none; }

  /* ---- Sectors ---- */
  .sector { padding: 26px 22px 24px; }
  .sector .num { margin-bottom: 16px; }
  .sector .ic { width: 30px; height: 30px; margin-bottom: 16px; }
  .sector h4 { font-size: 18px; }
  .sector p { margin-bottom: 18px; font-size: 13px; }
  .sector .examples { padding-top: 14px; font-size: 10px; }

  /* ---- Case study ---- */
  .case { gap: 32px; }
  .case-quote { font-size: 22px; margin-bottom: 24px; line-height: 1.3; }
  .case-stage { aspect-ratio: 4 / 5; max-height: 60vh; }
  .case-stage .pinpoint { display: none; }
  .case-attr .av { width: 40px; height: 40px; font-size: 14px; }
  .case-attr .nm { font-size: 14px; }

  /* ---- TCO calculator ---- */
  .tco { padding: 72px 0; }
  .tco-grid { gap: 28px; }
  .tco-controls { padding: 24px 22px; }
  .tco-row label { font-size: 12.5px; }
  .tco-row .value { font-size: 12.5px; }
  .tco-savings { font-size: clamp(44px, 13vw, 72px); }
  .tco-caption { font-size: 13px; margin-bottom: 28px; }
  .tco-bars { gap: 12px; margin-bottom: 22px; }
  .tco-bar { padding: 16px; }
  .tco-bar .v { font-size: 20px; }
  .tco-meta { gap: 14px; padding-top: 18px; }
  .tco-meta .item .v { font-size: 16px; }
  input[type="range"]::-webkit-slider-thumb {
    width: 22px; height: 22px;
    box-shadow: 0 0 0 8px rgba(0,148,6,0.18);
  }
  input[type="range"]::-moz-range-thumb {
    width: 22px; height: 22px;
  }
  .tco-toggle button, .tco-years button { padding: 12px 10px; min-height: 42px; }

  /* ---- Final CTA ---- */
  .final-cta .wrap { padding: 72px 0; gap: 32px; }
  .final-cta h2 {
    font-size: clamp(30px, 8.6vw, 56px);
    margin-bottom: 16px;
    line-height: 1.0;
  }
  .final-cta .lead { font-size: 15px; line-height: 1.5; }
  .final-cta-form { padding: 26px 22px; }
  .final-cta-form input { font-size: 16px; padding: 10px 0; }

  /* ---- Footer ---- */
  footer { padding: 64px 0 28px; }
  .foot-grid {
    gap: 36px 24px;
    padding-bottom: 40px;
    grid-template-columns: 1fr 1fr;
  }
  .foot-brand { grid-column: 1 / -1; }
  .foot-brand p { max-width: none; margin: 16px 0 22px; }
  .foot-grid h5 { margin-bottom: 14px; font-size: 10.5px; }
  .foot-grid ul { gap: 8px; }
  .foot-grid a { font-size: 13px; }
  .foot-bottom {
    flex-direction: column; gap: 14px; align-items: flex-start;
    padding-top: 24px; font-size: 11.5px;
  }
  .foot-bottom .legal { gap: 18px; flex-wrap: wrap; }
  footer .brand-lockup { height: 60px; }
}

/* =========================================================
   COSTURA EDITORIAL · separación elegante entre secciones
   En móvil las secciones quedan más cerca que en desktop.
   Añadimos respiración + una "costura" tipográfica sutil:
   un hairline corto en gradiente verde, centrado al top
   de cada sección mayor. Es la pausa visual de la prensa
   premium (NZZ, Apartamento, Bottega) sin gritar.
   ========================================================= */
@media (max-width: 880px) {
  /* Más aire vertical entre secciones */
  .section-pad { padding: 96px 0; }
  .section-pad-tight { padding: 64px 0; }
  .stats-band { padding: 80px 0; }
  .tco { padding: 96px 0; }
  .final-cta .wrap { padding: 88px 0; }
  footer { padding: 80px 0 32px; }

  /* Anclamos posicionamiento para el pseudo-seam */
  .section-pad,
  .stats-band,
  .tco,
  .final-cta,
  footer {
    position: relative;
  }

  /* Hairline editorial · gradiente verde centrado al top */
  .section-pad::after,
  .stats-band::after,
  .tco::after,
  .final-cta::after,
  footer::after {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 96px;
    height: 1px;
    background: linear-gradient(
      90deg,
      transparent 0%,
      rgba(0, 148, 6, 0.55) 50%,
      transparent 100%
    );
    z-index: 4;
    pointer-events: none;
  }

  /* Versión más sutil para tramos light (sobre snow/white):
     mismo verde pero con menos opacidad para no competir */
  .snow::after,
  .section-pad:not(.dark):not(.on-black):not(.tco):not(.final-cta)::after {
    background: linear-gradient(
      90deg,
      transparent 0%,
      rgba(0, 148, 6, 0.45) 50%,
      transparent 100%
    );
  }
}

@media (max-width: 640px) {
  /* Ocultar links secundarios del utility-right en el smaller smartphone */
  .utility-right a { display: none; }

  /* Productos: specs en 2 columnas, la tercera ocupa la fila completa */
  .product-specs { grid-template-columns: 1fr 1fr; }
  .product-specs .spec { padding: 14px 0 0; }
  .product-specs .spec:nth-child(2) { padding-left: 14px; border-right: none; }
  .product-specs .spec:nth-child(3) {
    margin-top: 14px; padding-top: 14px; padding-left: 0;
    border-top: 1px solid var(--fog);
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  /* Hero-meta: dos columnas en móvil real, no una sola tira ancha */
  .hero-meta { grid-template-columns: 1fr 1fr; gap: 20px 16px; }

  /* Stats-grid: dos columnas con divisor interno */
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px 16px;
  }
  .stat { padding: 0; }
  .stat:nth-child(odd) { border-left: none; padding-left: 0; }
  .stat:nth-child(even) {
    border-left: 1px solid var(--fog);
    padding-left: 16px;
  }
  .stat .num { font-size: clamp(30px, 10vw, 44px); }
  .stat .label { font-size: 12px; margin-top: 8px; }
}

/* =========================================================
   BRAND REINFORCEMENT — isotype utilities
   Brand kit v1.1 · "presence without fatigue"
   ========================================================= */

:root {
  /* Isotipo SVG como data-URI (1.2KB inlined, infinite scale, single color #009406) */
  --brand-isotype: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 80'%3E%3Crect x='1' y='1' width='78' height='78' fill='none' stroke='%23009406' stroke-width='2'/%3E%3Cg transform='translate(7.8 30.9) rotate(-45) scale(0.35)'%3E%3Cpath d='M102.699 26.16c-1.367-1.546-4.032-1.546-5.399 0-1.797 2.036-44.004 50.164-44.004 75.043 0 13.46 5.812 26.27 15.945 35.147 7.602 6.658 17.136 10.62 27.159 11.394v23.658a3.599 3.599 0 1 0 7.198 0v-23.636a46.255 46.255 0 0 0 24.032-8.905c11.942-8.778 19.072-22.854 19.072-37.658.001-24.879-42.206-73.007-44.003-75.043zm-6.298 52.447L79.111 61.34c5.879-8.567 12.146-16.684 17.29-22.966v40.233zm7.198-40.234c5.165 6.308 11.464 14.465 17.364 23.072l-17.364 17.206V38.373zm-29.616 92.561a39.535 39.535 0 0 1-13.488-29.731c0-8.46 6.447-21.184 14.547-33.756l21.359 21.328v26.768L78.754 97.896c-1.406-1.406-3.683-1.406-5.089 0s-1.406 3.683 0 5.089l22.736 22.736v14.822a39.455 39.455 0 0 1-22.418-9.609zm49.385 2.126a39.114 39.114 0 0 1-19.769 7.473v-14.811l22.739-22.736c1.406-1.406 1.406-3.683 0-5.089s-3.683-1.406-5.089 0L103.6 115.544V88.785l21.426-21.232c8.067 12.538 14.48 25.214 14.48 33.65-.001 12.52-6.032 24.431-16.138 31.857z' fill='%23009406'/%3E%3C/g%3E%3C/svg%3E");

  /* Tone segmentation · two-level dark for rhythmic section separation */
  --bg-deep:    #000000;  /* anchor / true black */
  --bg-deep-2:  #1a1a1a;  /* +10% luminance · visible but more subtle */
}

/* ---------- TONE SEGMENTATION · alternate dark sections ----------
   chapter-strips are NOT touched because they are covered by a
   full-bleed <video> (position:absolute inset:0) — the section
   background is never visible. We apply the lighter shade to
   content sections where the bg actually shows.
   Rhythm down the home page: A B A B A B A
   ---------------------------------------------------------------- */
section.tco.cinema,
section.tco,
section.section-pad.on-black#nosotros,
section.section-pad.on-black,
section.brand-reveal,
section.stats-band.on-black,
section.covenant {
  background: var(--bg-deep-2) !important;
}
/* Subtle divider above and below each lighter section */
section.tco,
section.section-pad.on-black,
section.brand-reveal,
section.stats-band.on-black,
section.covenant {
  border-top: 1px solid rgba(255,255,255,0.09) !important;
  border-bottom: 1px solid rgba(255,255,255,0.09) !important;
}
/* Bump pattern opacity on lighter shade so the watermark stays visible */
section.tco::before,
section.section-pad.on-black::before,
section.brand-reveal::before,
section.stats-band.on-black::before,
section.covenant::before {
  opacity: 0.06;
}

/* ---------- 1. CINEMA WATERMARK — esquina inferior derecha de hero videos ---------- */
.cinema-hero,
.pc-cinema,
.chapter-strip {
  position: relative;
}
.cinema-hero::after,
.pc-cinema::after,
.chapter-strip::after {
  content: "";
  position: absolute;
  bottom: 18px;
  right: 18px;
  width: 26px;
  height: 26px;
  background: var(--brand-isotype) center/contain no-repeat;
  opacity: 0.35;
  pointer-events: none;
  z-index: 12;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,0.6));
  transition: opacity 0.4s ease;
}
.cinema-hero:hover::after,
.pc-cinema:hover::after {
  opacity: 0.55;
}
@media (max-width: 720px) {
  .cinema-hero::after,
  .pc-cinema::after,
  .chapter-strip::after {
    width: 20px; height: 20px;
    bottom: 12px; right: 12px;
  }
}

/* ---------- 2. BRAND BULLET — reemplaza '—' por isotipo pequeño ---------- */
.brand-bullet {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.brand-bullet::before {
  content: "";
  display: inline-block;
  width: 11px;
  height: 11px;
  background: var(--brand-isotype) center/contain no-repeat;
  flex-shrink: 0;
}

/* ---------- 3. DARK BACKGROUND PATTERN — isotipo grande tenue arriba a la derecha ---------- */
section.on-black,
.section-pad.on-black,
.products-cinema,
.final-cta.cinema {
  position: relative;
  isolation: isolate;
}
section.on-black::before,
.section-pad.on-black::before,
.products-cinema::before,
.final-cta.cinema::before {
  content: "";
  position: absolute;
  top: 40px;
  right: 40px;
  width: 280px;
  height: 280px;
  background: var(--brand-isotype) center/contain no-repeat;
  opacity: 0.035;
  pointer-events: none;
  z-index: 0;
}
section.on-black > *,
.section-pad.on-black > *,
.products-cinema > *,
.final-cta.cinema > * {
  position: relative;
  z-index: 1;
}
@media (max-width: 720px) {
  section.on-black::before,
  .section-pad.on-black::before,
  .products-cinema::before,
  .final-cta.cinema::before {
    width: 180px; height: 180px;
    top: 20px; right: 20px;
  }
}

/* ---------- 4. PRODUCT CARD ORIGIN BADGE ---------- */
.pc-origin {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.pc-origin::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  background: var(--brand-isotype) center/contain no-repeat;
  flex-shrink: 0;
}

/* ---------- 5. CHAPTER EYEBROW — reemplaza '—' por isotipo (override cinema.css) ---------- */
.chapter-strip .chapter-eyebrow::before,
.chapter-strip .chapter-eyebrow::after {
  content: "" !important;
  display: inline-block;
  width: 14px;
  height: 14px;
  background: var(--brand-isotype) center/contain no-repeat;
  vertical-align: middle;
  margin: 0 12px;
  opacity: 0.85;
}

/* ---------- 6. PRIMARY BUTTON · isotype on hover (slide-in) ---------- */
.btn.btn-primary {
  position: relative;
  overflow: hidden;
  transition: padding-left 0.35s var(--ease);
}
.btn.btn-primary::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 50%;
  width: 14px;
  height: 14px;
  background: var(--brand-isotype) center/contain no-repeat;
  transform: translate(-30px, -50%);
  opacity: 0;
  transition: transform 0.35s var(--ease), opacity 0.3s var(--ease);
  filter: brightness(0) invert(1); /* turn green isotype white over green btn */
}
.btn.btn-primary:hover::before {
  transform: translate(0, -50%);
  opacity: 0.85;
}
.btn.btn-primary:hover {
  padding-left: 38px;
}

/* ---------- 7.5 BRAND REVEAL · oversized lockup section ---------- */
section.brand-reveal {
  position: relative;
  background: var(--bg-deep);
  padding: clamp(80px, 14vh, 180px) var(--gutter);
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  overflow: hidden;
}
section.brand-reveal::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--brand-isotype) center/auto 90% no-repeat;
  opacity: 0.04;
  pointer-events: none;
}
section.brand-reveal > * {
  position: relative;
  z-index: 1;
}
section.brand-reveal .br-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: clamp(40px, 6vh, 64px);
}
section.brand-reveal .br-eyebrow .dot {
  width: 6px; height: 6px;
  background: var(--green);
  border-radius: 50%;
}
section.brand-reveal img.lockup {
  display: block;
  margin: 0 auto;
  width: min(640px, 80vw);
  height: auto;
  /* Slight glow on hover for premium feel */
  transition: filter 0.5s ease;
  filter: drop-shadow(0 0 0 rgba(0,148,6,0));
}
section.brand-reveal img.lockup:hover {
  filter: drop-shadow(0 0 40px rgba(0,148,6,0.35));
}
section.brand-reveal .br-claim {
  margin-top: clamp(36px, 5vh, 56px);
  font-family: var(--font);
  font-weight: 300;
  font-size: clamp(15px, 1.6vw, 19px);
  line-height: 1.5;
  letter-spacing: 0.005em;
  color: rgba(255,255,255,0.72);
  max-width: 56ch;
  margin-left: auto;
  margin-right: auto;
}
section.brand-reveal .br-meta {
  margin-top: 32px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}
section.brand-reveal .br-meta::before,
section.brand-reveal .br-meta::after {
  content: "";
  width: 32px;
  height: 1px;
  background: rgba(255,255,255,0.18);
}
@media (max-width: 720px) {
  section.brand-reveal img.lockup { width: min(440px, 86vw); }
}

/* ---------- 8. 404 PAGE LAYOUT ---------- */
.error-page {
  min-height: 100vh;
  background: #000;
  color: #fff;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 60px 24px;
  font-family: var(--font);
}
.error-page .mark {
  width: 96px;
  height: 96px;
  margin: 0 auto 40px;
  background: var(--brand-isotype) center/contain no-repeat;
  opacity: 0.85;
}
.error-page h1 {
  font-size: clamp(48px, 10vw, 120px);
  font-weight: 200;
  letter-spacing: -0.04em;
  margin: 0 0 16px;
}
.error-page h1 em {
  font-style: normal;
  color: var(--green);
  font-weight: 600;
}
.error-page p {
  font-size: clamp(16px, 2vw, 20px);
  color: rgba(255,255,255,0.65);
  max-width: 48ch;
  margin: 0 auto 40px;
  line-height: 1.55;
}
.error-page .actions {
  display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center;
}
.error-page .actions .btn {
  padding: 14px 24px;
}
.error-page .actions .btn-outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.25);
}
.error-page .actions .btn-outline:hover {
  border-color: var(--green);
  color: var(--green);
}
.error-page .code {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-top: 60px;
}
