/* ═══════════════════════════════════════════════════════════════════
   TRANSMISIONES COSMOS · Automotive-tech system
   Inspirado en Tesla / Polestar / Porsche / Rivian / Lucid
   ═══════════════════════════════════════════════════════════════════ */

:root {
  /* LIGHT theme — white dominant, photos blend natively */
  --bg: #ffffff;
  --bg-2: #f7f7f5;
  --bg-3: #efeeea;
  --surface: #ffffff;
  --surface-2: #f4f4f2;
  --line: rgba(10, 10, 10, 0.09);
  --line-2: rgba(10, 10, 10, 0.16);
  --line-strong: rgba(10, 10, 10, 0.28);

  --paper: #ffffff;
  --paper-2: #f7f7f5;

  /* Ink (primary text on light) */
  --ink: #0a0a0a;
  --ink-soft: rgba(10, 10, 10, 0.62);
  --ink-faint: rgba(10, 10, 10, 0.14);

  /* Default text tokens — now dark on light */
  --text: #0a0a0a;
  --text-soft: rgba(10, 10, 10, 0.64);
  --text-faint: rgba(10, 10, 10, 0.42);
  --text-mute: rgba(10, 10, 10, 0.22);

  /* Inverse tokens for dark sections */
  --inv-bg: #0a0a0a;
  --inv-bg-2: #111;
  --inv-text: rgba(255, 255, 255, 0.96);
  --inv-text-soft: rgba(255, 255, 255, 0.62);
  --inv-text-faint: rgba(255, 255, 255, 0.42);
  --inv-line: rgba(255, 255, 255, 0.10);
  --inv-line-2: rgba(255, 255, 255, 0.18);

  /* Accent — Cosmos red, refined */
  --accent: #e0202a;
  --accent-soft: #ff3a44;
  --accent-deep: #b8141c;
  --amber: #ffa84a;
  --teal: #5fd4d6;
  --green: #5fe0a4;

  /* Type — Lexus-inspired geometric neo-grotesque */
  --font: 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  --font-display: 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  /* Layout */
  --max: 1440px;
  --pad-x: clamp(20px, 4vw, 56px);

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }
*::selection { background: var(--accent); color: #fff; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.5;
  font-feature-settings: 'cv11', 'ss01', 'ss03';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; background: none; border: 0; color: inherit; }

section[id] { scroll-margin-top: 80px; }

/* ═══════════════════════════ NAVBAR ═══════════════════════════ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 14px var(--pad-x);
  transition: background 0.3s var(--ease), backdrop-filter 0.3s var(--ease), border-color 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.6), rgba(0,0,0,0));
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
  z-index: -1;
}
.nav.is-scrolled {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom-color: var(--line);
}
.nav.is-scrolled .nav__logo-mark img { filter: none; }
.nav.is-scrolled .nav__links { color: var(--text-soft); }
.nav.is-scrolled .nav__links a:hover { color: var(--text); }
.nav.is-scrolled .nav__phone { color: var(--text-soft); }
.nav.is-scrolled .nav__phone:hover { color: var(--text); }
.nav.is-scrolled .nav__toggle span { background: var(--ink); }
.nav.is-scrolled::before { opacity: 0; }

.nav__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 2;
}
.nav__logo-mark { display: block; height: 36px; width: auto; }
.nav__logo-mark img {
  height: 100%;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  transition: filter 0.3s var(--ease);
}

.nav__links {
  display: flex;
  gap: 32px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: rgba(255,255,255,0.78);
  transition: color 0.3s var(--ease);
}
.nav__links a {
  position: relative;
  padding: 6px 0;
  transition: color 0.2s;
}
.nav__links a:hover { color: #fff; }

.nav__actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.nav__phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.78);
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
.nav__phone:hover { color: #fff; }
.nav__phone svg { width: 13px; height: 13px; }

.nav__toggle {
  display: none;
  width: 36px;
  height: 36px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 6px;
  z-index: 110;
}
.nav__toggle span {
  display: block;
  height: 1.5px;
  width: 22px;
  background: #fff;
  transition: transform 0.3s var(--ease), opacity 0.2s, background 0.3s var(--ease);
  transform-origin: center;
}
.nav.is-menu-open .nav__toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav.is-menu-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.is-menu-open .nav__toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--inv-bg);
  color: var(--inv-text);
  z-index: 99;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 80px var(--pad-x) 32px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.mobile-menu.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.mobile-menu__links {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.mobile-menu__links a {
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.025em;
  padding: 18px 0;
  border-bottom: 1px solid var(--inv-line);
  color: var(--inv-text);
  display: flex;
  align-items: baseline;
  gap: 18px;
  transition: color 0.2s, padding-left 0.3s var(--ease);
}
.mobile-menu__links a:hover { color: var(--accent); padding-left: 8px; }
.mobile-menu__num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--accent);
  flex-shrink: 0;
  width: 32px;
}
.mobile-menu__footer {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.mobile-menu__phone {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--inv-text-soft);
}

/* ═══════════════════════════ BUTTONS ═══════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.005em;
  border-radius: 6px;
  border: 1px solid transparent;
  background: transparent;
  color: inherit;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.2s var(--ease);
  white-space: nowrap;
  cursor: pointer;
}
.btn--sm { padding: 9px 16px; font-size: 12.5px; }
.btn--lg { padding: 16px 28px; font-size: 14px; border-radius: 8px; }
.btn--block { width: 100%; }

.btn--primary {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.btn--primary:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

.btn--accent {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn--accent:hover { background: #fff; color: var(--bg); border-color: #fff; }

.btn--ghost {
  border-color: var(--line-2);
  color: var(--text);
}
.btn--ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Buttons inside dark hero/sections */
.on-dark .btn--ghost { color: #fff; border-color: var(--inv-line-2); }
.on-dark .btn--ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.on-dark .btn--primary { background: #fff; color: var(--ink); border-color: #fff; }
.on-dark .btn--primary:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

/* On paper sections */
.on-paper .btn--primary { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.on-paper .btn--primary:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.on-paper .btn--ghost { color: var(--ink); border-color: var(--ink-faint); }
.on-paper .btn--ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.btn__arrow { display: inline-block; transition: transform 0.3s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }

/* ═══════════════════════════ HERO ═══════════════════════════ */
.hero {
  position: relative;
  min-height: 100svh;
  background: #000;
  color: var(--text);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__video { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to bottom, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.05) 25%, rgba(0,0,0,0.05) 55%, rgba(0,0,0,0.85) 100%);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 140px var(--pad-x) 140px;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 28px;
  padding: 7px 14px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.03);
}
.hero__eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  animation: pulse 2s ease-in-out infinite;
}
.hero__eyebrow .pipe { color: var(--text-mute); }

@keyframes pulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.25); box-shadow: 0 0 14px var(--accent); }
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(48px, 8.8vw, 142px);
  line-height: 0.92;
  letter-spacing: -0.04em;
  margin: 0 0 28px;
  max-width: 14ch;
  color: #fff;
}
.hero__title .accent { color: var(--accent); }
.hero__title .light { font-weight: 300; color: var(--text-soft); }

.hero__lede {
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.5;
  color: var(--text-soft);
  max-width: 52ch;
  margin: 0 0 36px;
  font-weight: 400;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__ticker {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  overflow: hidden;
  padding: 12px 0;
}
.hero__ticker-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: ticker 60s linear infinite;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-faint);
  white-space: nowrap;
}
.hero__ticker-track span { position: relative; flex-shrink: 0; }
.hero__ticker-track span::after {
  content: '';
  position: absolute;
  right: -28px;
  top: 50%;
  width: 4px;
  height: 4px;
  margin-top: -2px;
  border-radius: 50%;
  background: var(--text-mute);
}
@keyframes ticker { to { transform: translateX(-50%); } }

/* ═══════════════════════════ STATS (dark band) ═══════════════════════════ */
.stats {
  background: var(--inv-bg);
  color: var(--inv-text);
  border-bottom: 1px solid var(--inv-line);
}
.stats__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 64px var(--pad-x);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
}
.stats__item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.stats__num {
  font-family: var(--font-display);
  font-size: clamp(48px, 5.5vw, 76px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--inv-text);
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.stats__num sup {
  font-size: 0.32em;
  vertical-align: super;
  font-family: var(--font-mono);
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0;
}
.stats__label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--inv-text-faint);
}

/* ═══════════════════════════ SECTION HEAD ═══════════════════════════ */
.section-head {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(80px, 10vw, 140px) var(--pad-x) clamp(48px, 6vw, 72px);
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: end;
}
.section-head--left { grid-template-columns: 1fr; max-width: 720px; padding: 0; }
.section-head--center { grid-template-columns: 1fr; text-align: center; max-width: 900px; }
.section-head--center .section-lede { margin: 0 auto; }

.section-kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.section-kicker::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--accent);
}
.section-head--center .section-kicker { justify-content: center; }

.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(40px, 5.6vw, 86px);
  line-height: 0.96;
  letter-spacing: -0.035em;
  margin: 0;
  text-wrap: balance;
}
.section-title .light { font-weight: 300; color: var(--text-soft); }
.on-paper .section-title .light { color: var(--ink-soft); }
.section-title .accent { color: var(--accent); }

.section-lede {
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.5;
  color: var(--text-soft);
  max-width: 56ch;
  margin: 0;
}

@media (max-width: 880px) {
  .section-head { grid-template-columns: 1fr; gap: 24px; padding-top: 80px; padding-bottom: 40px; }
}

/* ═══════════════════════════ ESPECIALIZACIÓN (light) ═══════════════════════════ */
.especializacion {
  background: var(--bg);
  color: var(--text);
  position: relative;
  padding-bottom: clamp(60px, 8vw, 100px);
}

.trans-list {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.trans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.trans:nth-child(even) .trans__media-wrap { order: 2; }

.trans__media-wrap {
  position: relative;
}
.trans__media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--bg-2);
  overflow: hidden;
  border-radius: 4px;
  border: 1px solid var(--line);
}
.trans__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 20px;
  transition: transform 0.7s var(--ease);
}
.trans__media:hover img { transform: scale(1.04); }

/* Technical readout overlay on the image */
.trans__readout {
  position: absolute;
  top: 16px;
  left: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
  text-transform: uppercase;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(8px);
  padding: 8px 12px;
  border-radius: 4px;
  border: 1px solid var(--ink-faint);
}
.trans__readout-row { display: flex; gap: 8px; }
.trans__readout-key { color: var(--ink-faint); }

.trans__index {
  position: absolute;
  bottom: 16px;
  right: 16px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--ink-soft);
  text-transform: uppercase;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(8px);
  padding: 6px 10px;
  border-radius: 4px;
}

.trans__main {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.trans__id {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.trans__id::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--accent);
}

.trans__display {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(36px, 4.2vw, 60px);
  line-height: 1;
  letter-spacing: -0.035em;
  margin: 0 0 12px;
  color: var(--text);
}
.trans__display .light { font-weight: 300; color: var(--text-soft); display: block; }

.trans__sub {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--text-faint);
  text-transform: uppercase;
  margin-bottom: 24px;
  display: block;
}

.trans__intro {
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--text-soft);
  margin: 0 0 28px;
  max-width: 50ch;
}

/* Spec grid — Tesla/Polestar-style data readout */
.trans__specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 28px;
}
.trans__spec {
  padding: 16px 0;
  border-right: 1px solid var(--line);
  padding-right: 16px;
}
.trans__spec:nth-child(even) { padding-left: 16px; padding-right: 0; border-right: 0; }
.trans__spec:nth-child(1), .trans__spec:nth-child(2) { border-bottom: 1px solid var(--line); }
.trans__spec-key {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 4px;
  display: block;
}
.trans__spec-val {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--text);
  line-height: 1.2;
}

.trans__toggle {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: transparent;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  padding: 11px 18px 11px 22px;
  color: var(--text);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.trans__toggle:hover { border-color: var(--text); }
.trans__toggle-icon {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--text);
  color: var(--bg);
  transition: transform 0.4s var(--ease), background 0.3s var(--ease);
}
.trans__toggle-icon svg { width: 10px; height: 10px; }
.trans.is-open .trans__toggle { background: var(--accent); border-color: var(--accent); color: #fff; }
.trans.is-open .trans__toggle-icon { background: #fff; color: var(--accent); transform: rotate(45deg); }

.trans__body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.5s var(--ease), margin-top 0.5s var(--ease);
}
.trans.is-open .trans__body { grid-template-rows: 1fr; margin-top: 24px; }
.trans__body > div { overflow: hidden; }

.trans__details {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.trans__detail h4 {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 10px;
}
.trans__detail p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-soft);
  margin: 0;
  max-width: 60ch;
}
.trans__detail ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.trans__detail li {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text-soft);
  padding-left: 20px;
  position: relative;
}
.trans__detail li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 1px;
  background: var(--accent);
}

.trans__variantes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 4px;
}
.trans__variante {
  background: var(--bg-2);
  padding: 16px;
  border-radius: 6px;
  border: 1px solid var(--line);
}
.trans__variante-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 6px;
}
.trans__variante p {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-soft);
  margin: 0;
}

.trans__marcas {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.trans__marcas span {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 6px 12px;
  background: var(--bg-2);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 999px;
}

@media (max-width: 880px) {
  .trans { grid-template-columns: 1fr; gap: 28px; }
  .trans:nth-child(even) .trans__media-wrap { order: 0; }
  .trans__variantes { grid-template-columns: 1fr; }
}

/* ═══════════════════════════ SERVICIOS (light) ═══════════════════════════ */
.servicios {
  background: var(--bg-2);
  color: var(--text);
  border-top: 1px solid var(--line);
  padding-bottom: clamp(60px, 8vw, 100px);
}
.services-list {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  border-top: 1px solid var(--line);
}
.service {
  border-bottom: 1px solid var(--line);
  transition: background 0.3s var(--ease);
}
.service.is-open { background: linear-gradient(to right, rgba(224, 32, 42, 0.06), transparent 60%); }

.service__header {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 32px;
  align-items: center;
  padding: 28px 0;
  width: 100%;
  text-align: left;
  cursor: pointer;
  transition: background 0.3s var(--ease);
}
.service__num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--text-faint);
  transition: color 0.3s var(--ease);
}
.service.is-open .service__num { color: var(--accent); }

.service__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin: 0;
  color: var(--text);
  transition: color 0.3s var(--ease);
}
.service__short {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-soft);
  margin: 6px 0 0;
  max-width: 64ch;
}

.service__toggle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  display: grid;
  place-items: center;
  color: var(--text);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
  flex-shrink: 0;
}
.service__toggle svg { width: 14px; height: 14px; transition: transform 0.4s var(--ease); }
.service.is-open .service__toggle { background: var(--accent); border-color: var(--accent); color: #fff; }
.service.is-open .service__toggle svg { transform: rotate(45deg); }

.service__body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.5s var(--ease);
}
.service.is-open .service__body { grid-template-rows: 1fr; }
.service__body > div { overflow: hidden; }

.service__content {
  padding: 8px 0 36px;
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 32px;
}
.service__meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.service__tag {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 10px;
  background: #fff;
  color: var(--text-soft);
  border: 1px solid var(--line);
  border-radius: 4px;
  text-align: center;
}

.service__details {
  max-width: 70ch;
}
.service__details h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 24px 0 12px;
}
.service__details h4:first-child { margin-top: 0; }
.service__details p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-soft);
  margin: 0 0 12px;
}
.service__details ul, .service__details ol {
  padding: 0;
  margin: 0 0 12px;
  list-style: none;
}
.service__details ul li {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-soft);
  padding-left: 20px;
  margin-bottom: 8px;
  position: relative;
}
.service__details ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 1px;
  background: var(--accent);
}
.service__details ol {
  counter-reset: olc;
}
.service__details ol li {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-soft);
  padding-left: 32px;
  margin-bottom: 8px;
  position: relative;
  counter-increment: olc;
}
.service__details ol li::before {
  content: counter(olc, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  font-weight: 500;
}
.service__details strong {
  color: var(--text);
  font-weight: 500;
}
.service__details .service__note {
  margin-top: 16px;
  padding: 14px 18px;
  background: #fff;
  border-left: 2px solid var(--accent);
  border-radius: 4px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text-soft);
}
.service__details .service__note::before {
  content: 'NOTA · ';
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--accent);
  font-weight: 600;
}

@media (max-width: 880px) {
  .service__header { grid-template-columns: auto 1fr auto; gap: 16px; padding: 22px 0; }
  .service__num { width: auto; }
  .service__short { display: none; }
  .service__content { grid-template-columns: 1fr; gap: 16px; }
  .service__meta { flex-direction: row; flex-wrap: wrap; }
}

/* ═══════════════════════════ COMPROMISO (dark contrast band) ═══════════════════════════ */
.compromiso {
  position: relative;
  isolation: isolate;
  color: var(--inv-text);
  overflow: hidden;
  background: var(--inv-bg);
  border-top: 1px solid var(--line);
}
.compromiso__media { position: absolute; inset: 0; z-index: -2; }
.compromiso__media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.65; }
.compromiso__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(135deg, rgba(10, 10, 10, 0.55) 0%, rgba(10, 10, 10, 0.78) 100%);
}
.compromiso .section-title { color: var(--inv-text); }
.compromiso .section-lede { color: var(--inv-text-soft); }
.compromiso__content {
  max-width: var(--max);
  margin: 0 auto;
  padding: 120px var(--pad-x);
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.compromiso-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.compromiso-item {
  padding: 24px 24px 24px 0;
  border-top: 1px solid var(--inv-line);
  border-right: 1px solid var(--inv-line);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: background 0.3s var(--ease);
}
.compromiso-item:nth-child(even) { padding-right: 0; padding-left: 24px; border-right: 0; }
.compromiso-item:nth-last-child(-n+2) { border-bottom: 1px solid var(--inv-line); }
.compromiso-item__num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 4px;
}
.compromiso-item h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--inv-text);
}
.compromiso-item p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--inv-text-soft);
  margin: 0;
}

@media (max-width: 980px) {
  .compromiso__content { grid-template-columns: 1fr; gap: 40px; padding: 80px var(--pad-x); }
  .compromiso-grid { grid-template-columns: 1fr; }
  .compromiso-item:nth-child(even) { padding-left: 0; }
  .compromiso-item { border-right: 0; }
  .compromiso-item:nth-last-child(-n+2) { border-bottom: 0; }
  .compromiso-item:last-child { border-bottom: 1px solid var(--inv-line); }
}

/* ═══════════════════════════ TESTIMONIOS (light) ═══════════════════════════ */
.testimonios {
  background: var(--bg);
  color: var(--text);
  border-top: 1px solid var(--line);
  padding-bottom: clamp(80px, 10vw, 120px);
}
.google-badge {
  max-width: var(--max);
  margin: 0 auto 48px;
  padding: 0 var(--pad-x);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  border-top: 1px solid var(--line);
  padding-top: 28px;
}
.google-badge__left {
  display: flex;
  align-items: center;
  gap: 18px;
}
.google-badge__logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
}
.google-badge__logo svg { width: 24px; height: 24px; }
.google-badge__rating {
  font-family: var(--font-display);
  font-size: 30px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.025em;
}
.google-badge__stars {
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--amber);
  margin-top: 2px;
}
.google-badge__right { text-align: right; }
.google-badge__count {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: -0.02em;
  font-weight: 500;
}
.google-badge__meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-top: 4px;
}

.testimonials-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.testimonial {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.testimonial:hover { transform: translateY(-2px); border-color: var(--line-2); background: #fff; }
.testimonial__text {
  font-family: var(--font-display);
  font-size: clamp(18px, 1.7vw, 22px);
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: -0.015em;
  margin: 0;
  flex: 1;
  color: var(--text);
}
.testimonial__text::before {
  content: '"';
  display: block;
  font-size: 1.6em;
  line-height: 0.4;
  color: var(--accent);
  margin-bottom: 8px;
  font-family: var(--font-display);
}
.testimonial__author {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.testimonial__stars { color: var(--amber); font-size: 13px; letter-spacing: 0.1em; margin-bottom: 4px; }
.testimonial__name {
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.005em;
  color: var(--text);
}
.testimonial__role {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.testimonials-cta {
  max-width: var(--max);
  margin: 56px auto 0;
  padding: 0 var(--pad-x);
  text-align: center;
}
@media (max-width: 760px) {
  .testimonials-grid { grid-template-columns: 1fr; }
  .google-badge { flex-direction: column; align-items: flex-start; }
  .google-badge__right { text-align: left; }
}

/* ═══════════════════════════ CTA BAND (dark) ═══════════════════════════ */
.cta-band {
  position: relative;
  background: var(--inv-bg);
  color: var(--inv-text);
  border-top: 1px solid var(--line);
  isolation: isolate;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 50%, rgba(224, 32, 42, 0.18) 0%, transparent 50%),
    radial-gradient(circle at 80% 30%, rgba(224, 32, 42, 0.10) 0%, transparent 60%);
  z-index: -1;
}
.cta-band .cta-band__title { color: var(--inv-text); }
.cta-band .cta-band__title .light { color: var(--inv-text-soft); }
.cta-band__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 120px var(--pad-x);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
}
.cta-band__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(36px, 4.6vw, 64px);
  line-height: 1;
  letter-spacing: -0.035em;
  margin: 0;
}
.cta-band__title .light { font-weight: 300; color: var(--inv-text-soft); display: block; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
@media (max-width: 880px) {
  .cta-band__inner { grid-template-columns: 1fr; padding: 80px var(--pad-x); }
  .cta-band__actions { justify-content: flex-start; }
}

/* ═══════════════════════════ CONTACTO (light) ═══════════════════════════ */
.contacto {
  background: var(--bg-2);
  color: var(--text);
  border-top: 1px solid var(--line);
  padding-bottom: clamp(80px, 10vw, 120px);
}
.contacto-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
}
.contacto-info {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}
.contacto-block {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.contacto-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.contacto-block p {
  font-family: var(--font-display);
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.3;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--text);
}
.contacto-block a {
  border-bottom: 1px solid var(--line-2);
  transition: border-color 0.2s;
}
.contacto-block a:hover { border-color: var(--accent); }

.social-links { display: flex; gap: 8px; margin-top: 8px; }
.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--text);
  display: grid;
  place-items: center;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.social-link svg { width: 18px; height: 18px; }
.social-link:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

.contacto-map {
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  min-height: 480px;
  border: 1px solid var(--line);
}
.contacto-map iframe {
  width: 100%;
  height: 100%;
  min-height: 480px;
  border: 0;
  display: block;
}

@media (max-width: 980px) {
  .contacto-grid { grid-template-columns: 1fr; }
  .contacto-map { min-height: 360px; }
  .contacto-map iframe { min-height: 360px; }
}

/* ═══════════════════════════ FOOTER (dark) ═══════════════════════════ */
.footer {
  background: var(--inv-bg);
  color: var(--inv-text-soft);
  padding: 80px var(--pad-x) 28px;
  border-top: 1px solid var(--line);
}
.footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--inv-line);
}
.footer__brand-display {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1;
  margin-bottom: 16px;
  color: var(--inv-text);
}
.footer__brand-display .accent { color: var(--accent); }
.footer__brand p {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--inv-text-faint);
  max-width: 38ch;
  margin: 0;
}
.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.footer__cols > div {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer__label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--inv-text-faint);
  margin-bottom: 8px;
}
.footer__cols a {
  font-size: 13.5px;
  color: var(--inv-text-soft);
  transition: color 0.2s;
}
.footer__cols a:hover { color: var(--inv-text); }

.footer__bottom {
  max-width: var(--max);
  margin: 0 auto;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--inv-text-faint);
}
@media (max-width: 880px) {
  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
  .footer__cols { grid-template-columns: 1fr 1fr; gap: 24px; }
}

/* ═══════════════════════════ WHATSAPP FLOAT ═══════════════════════════ */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 80;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  transition: transform 0.3s var(--ease);
}
.whatsapp-float:hover { transform: scale(1.06); }
.whatsapp-float svg { width: 28px; height: 28px; }

/* ═══════════════════════════ TWEAKS ═══════════════════════════ */
.tweaks {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 90;
  width: 240px;
  background: #fff;
  color: var(--text);
  border: 1px solid var(--line-2);
  border-radius: 8px;
  box-shadow: 0 24px 48px -16px rgba(0,0,0,0.18);
  font-family: var(--font);
}
.tweaks[hidden] { display: none; }
.tweaks__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-soft);
}
.tweaks__close { font-size: 22px; line-height: 1; color: var(--text-soft); padding: 0 6px; }
.tweaks__body { padding: 16px; }
.tweak { display: flex; justify-content: space-between; align-items: center; font-size: 13px; }

/* ═══════════════════════════ MOBILE NAV ═══════════════════════════ */
@media (max-width: 880px) {
  .nav__links { display: none; }
  .nav__phone { display: none; }
  .nav .btn--accent { display: none; }
  .nav__toggle { display: flex; }
  .hero__content { padding: 110px var(--pad-x) 110px; }
  .hero__eyebrow { font-size: 10px; gap: 8px; padding: 6px 12px; }
  .hero__eyebrow span:nth-child(6) { display: none; }
  .stats__inner { grid-template-columns: 1fr 1fr; gap: 32px 24px; padding: 48px var(--pad-x); }
  .trans-list { gap: 60px; }
}

@media (max-width: 480px) {
  :root { --pad-x: 20px; }
  .stats__num { font-size: 44px; }
}
