:root {
  --page: #f5f5f7;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --hairline: rgba(29, 29, 31, 0.08);
  --card-bg: rgba(255, 255, 255, 0.82);
  --card-border: rgba(29, 29, 31, 0.08);
  --card-shadow: 0 4px 12px rgba(0, 0, 0, 0.045), 0 18px 40px rgba(0, 0, 0, 0.03);
  --accent: #0071e3; /* Azul Tráfico de Tramo */
  --accent-dark: #0056b3;
  --emerald: #059669;
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--page);
  color: var(--ink);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  overflow-x: hidden;
}

main {
  flex: 1 0 auto;
  width: 100%;
}

/* Grano y fondos ambientales (Estándar Minimalismo Editorial Cálido) */
body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.035'/%3E%3C/svg%3E");
  content: "";
  opacity: 0.65;
  pointer-events: none;
}

.ambient {
  position: fixed;
  z-index: -2;
  border-radius: 50%;
  filter: blur(110px);
  pointer-events: none;
}

.ambient--blue {
  top: -12vw;
  right: -6vw;
  width: 50vw;
  height: 50vw;
  background: rgba(0, 113, 227, 0.13);
}

.ambient--warm {
  top: 44vh;
  left: -14vw;
  width: 44vw;
  height: 44vw;
  background: rgba(255, 168, 114, 0.11);
}

/* Barra de navegación superior estilo Apple Local Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  background: rgba(245, 245, 247, 0.8);
  border-bottom: 0.5px solid rgba(0, 0, 0, 0.12);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.nav.is-scrolled {
  background: rgba(245, 245, 247, 0.92);
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.03);
}

.nav__container {
  max-width: 1120px;
  height: 52px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 24px;
}

.brand-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--ink);
}

.brand__monogram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  background: var(--ink);
  color: #fff;
  border-radius: 7px;
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: -0.04em;
  transition: opacity 0.15s ease;
}

.brand:hover .brand__monogram {
  opacity: 0.85;
}

.brand__separator {
  color: var(--muted);
  opacity: 0.35;
  font-size: 13px;
}

.brand__app {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--ink);
}

.brand__app-icon {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  display: block;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}

.brand__app-name {
  font-weight: 650;
  font-size: 17px;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 12px;
  font-weight: 450;
}

.nav__links a {
  color: rgba(29, 29, 31, 0.8);
  text-decoration: none;
  transition: color 0.15s ease;
}

.nav__links a:hover {
  color: var(--accent);
}

.nav__cta {
  font-size: 12px !important;
  font-weight: 500 !important;
  color: #fff !important;
  background: var(--accent);
  padding: 5px 13px;
  border-radius: 999px;
  letter-spacing: -0.01em;
  transition: background 0.2s ease !important;
}

.nav__cta:hover {
  background: #0077ed;
  color: #fff !important;
}

.nav__badge {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  background: rgba(0, 113, 227, 0.08);
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}

/* Contraste Tipográfico Bicolor de Apple (#1d1d1f + #86868b) */
.apple-tone {
  color: #86868b;
  background: none;
  -webkit-text-fill-color: initial;
}

/* Hero Asimétrico de Tramo */
.hero-tramo {
  padding: clamp(56px, 8vh, 96px) 24px clamp(48px, 7vh, 80px);
  max-width: 1160px;
  margin: 0 auto;
}

.hero-tramo__container {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 64px;
  align-items: center;
}

.hero-tramo__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: -0.01em;
  color: var(--accent);
}

h1 {
  margin: 0;
  font-size: clamp(44px, 5.8vw, 72px);
  font-weight: 700;
  line-height: 1.03;
  letter-spacing: -0.042em;
  color: var(--ink);
}

.summary {
  margin: 22px 0 0;
  max-width: 520px;
  color: #6e6e73;
  font-size: clamp(17px, 1.65vw, 20px);
  font-weight: 450;
  line-height: 1.5;
  letter-spacing: -0.015em;
}

.hero__cta {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 6px 20px rgba(0, 113, 227, 0.24);
}

.btn--primary:hover {
  transform: translateY(-1px);
  background: #0077ed;
  box-shadow: 0 10px 26px rgba(0, 113, 227, 0.3);
}

.btn--secondary {
  background: #ffffff;
  color: var(--ink);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.btn--secondary:hover {
  transform: translateY(-1px);
  background: #fafafa;
}

.telemetry-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.t-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 600;
  background: #ffffff;
  color: var(--ink);
  padding: 8px 15px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.025);
}

.sf-icon {
  width: 15px;
  height: 15px;
  color: var(--accent);
  flex-shrink: 0;
}

.sf-icon-sm {
  width: 14px;
  height: 14px;
  color: var(--accent);
  flex-shrink: 0;
}

/* Visual del Hero: Teléfono con Chasis de Titanio + Dynamic Island */
.hero-tramo__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 16px 20px;
}

.phone-display {
  position: relative;
  width: 276px;
  border-radius: 46px;
  overflow: hidden;
  border: 9px solid #1d1d1f;
  background: #000;
  box-shadow:
    0 0 0 1.5px #86868b,
    0 0 0 3px #2c2c2e,
    0 34px 72px rgba(0, 0, 0, 0.2),
    0 12px 28px rgba(0, 0, 0, 0.1);
  z-index: 2;
  transition: transform 0.35s ease;
}

.phone-display::before,
.formula-screen::before,
.bento-full-phone::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 72px;
  height: 20px;
  background: #000;
  border-radius: 999px;
  z-index: 6;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  pointer-events: none;
}

.phone-display::after,
.formula-screen::after,
.bento-full-phone::after {
  content: "";
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 34%;
  height: 4px;
  background: rgba(0, 0, 0, 0.22);
  border-radius: 999px;
  z-index: 6;
  pointer-events: none;
}

.phone-display:hover {
  transform: translateY(-4px);
}

.phone-display img {
  width: 100%;
  display: block;
}

/* Widget Flotante Superior Izquierdo: Barra de Rango estilo Apple Weather */
.floating-widget--range {
  position: absolute;
  top: 28px;
  left: -26px;
  width: 238px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.95);
  outline: 1px solid var(--card-border);
  border-radius: 22px;
  padding: 15px 16px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.09);
  z-index: 3;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.floating-widget--range:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.13);
}

.fw-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.fw-tag {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.fw-delta {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--emerald);
  background: rgba(5, 150, 105, 0.1);
  padding: 2px 8px;
  border-radius: 999px;
  font-variant-numeric: tabular-nums;
}

.fw-range-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.fw-range-bound {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.fw-range-track {
  position: relative;
  flex: 1;
  height: 7px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.07);
}

.fw-range-fill {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(0, 113, 227, 0.35) 0%, #0071e3 55%, #10b981 100%);
}

.fw-range-avg {
  position: absolute;
  left: 52%;
  top: -2px;
  width: 2px;
  height: 11px;
  background: rgba(29, 29, 31, 0.45);
  border-radius: 2px;
}

.fw-range-dot {
  position: absolute;
  left: 66%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--accent);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.22);
}

.fw-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: var(--muted);
  border-top: 1px solid var(--hairline);
  padding-top: 8px;
  font-variant-numeric: tabular-nums;
}

.fw-caption strong {
  color: var(--ink);
  font-weight: 650;
}

.fw-sep {
  opacity: 0.4;
}

/* Tarjeta Flotante Inferior Derecha: Vehículo Activo */
.vehicle-card {
  position: absolute;
  bottom: 22px;
  right: -28px;
  width: 248px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.95);
  outline: 1px solid var(--card-border);
  border-radius: 24px;
  padding: 18px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.11);
  z-index: 3;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vehicle-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.15);
}

.vehicle-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--hairline);
  padding-bottom: 8px;
}

.vehicle-card__tag {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.vehicle-card__model {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
}

.vehicle-metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 10px;
}

.v-metric {
  display: flex;
  flex-direction: column;
}

.v-metric__label {
  font-size: 10px;
  color: var(--muted);
  margin-bottom: 2px;
}

.v-metric__value {
  font-size: 15px;
  font-weight: 750;
  color: var(--ink);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.v-metric__value small {
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
}

.v-metric--highlight {
  grid-column: span 2;
  background: rgba(0, 113, 227, 0.07);
  padding: 8px 10px;
  border-radius: 12px;
  gap: 6px;
}

.v-service-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.v-metric--highlight .v-metric__value {
  color: var(--accent);
  font-size: 12.5px;
}

.v-service-bar {
  height: 5px;
  border-radius: 999px;
  background: rgba(0, 113, 227, 0.15);
  overflow: hidden;
}

.v-service-bar span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--accent);
}

/* Sección 1: La Ecuación del Rendimiento (Interactiva Paso a Paso) */
.formula-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 50px 24px 40px;
}

.formula-container {
  background: var(--card-bg);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid var(--card-border);
  box-shadow: var(--card-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  border-radius: 30px;
  padding: clamp(36px, 5vw, 56px);
}

.formula-header {
  max-width: 700px;
  margin-bottom: 42px;
}

.section-kicker {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
}

.formula-header h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 700;
  letter-spacing: -0.035em;
  color: var(--ink);
}

.formula-subtitle {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--muted);
}

.formula-layout {
  display: grid;
  grid-template-columns: 1.22fr 0.78fr;
  gap: 52px;
  align-items: center;
}

.pipeline-steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pipeline-card {
  width: 100%;
  text-align: left;
  font-family: inherit;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  padding: 22px 24px;
  transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.pipeline-card:hover {
  transform: translateX(4px);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.045);
}

.pipeline-card.is-active {
  background: #ffffff;
  border-color: rgba(0, 113, 227, 0.38);
  box-shadow: 0 10px 28px rgba(0, 113, 227, 0.08);
  transform: translateX(6px);
}

.pipeline-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 13px;
  background: rgba(0, 113, 227, 0.08);
  color: var(--accent);
  font-size: 14px;
  font-weight: 750;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
  transition: background 0.2s ease, color 0.2s ease;
}

.pipeline-card.is-active .pipeline-num {
  background: var(--accent);
  color: #fff;
}

.pipeline-body {
  flex: 1;
}

.pipeline-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}

.pipeline-body h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.pipeline-pill {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  background: rgba(0, 0, 0, 0.045);
  padding: 3px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.pipeline-card.is-active .pipeline-pill {
  color: var(--accent);
  background: rgba(0, 113, 227, 0.1);
}

.pipeline-body p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--muted);
}

.pipeline-body strong {
  color: var(--ink);
  font-weight: 600;
}

.formula-showcase {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.formula-screen {
  position: relative;
  max-width: 268px;
  margin: 0 auto;
  border-radius: 44px;
  overflow: hidden;
  border: 9px solid #1d1d1f;
  background: #000;
  box-shadow:
    0 0 0 1.5px #86868b,
    0 0 0 3px #2c2c2e,
    0 28px 60px rgba(0, 0, 0, 0.16),
    0 8px 20px rgba(0, 0, 0, 0.08);
}

.formula-screen img {
  width: 100%;
  display: block;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.formula-screen img.is-switching {
  opacity: 0.25;
  transform: scale(0.985);
}

.formula-screen-caption {
  margin: 0;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--muted);
  text-align: center;
  background: rgba(255, 255, 255, 0.75);
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--card-border);
}

/* Sección Interactiva: Simulador de Rendimiento y Autonomía en Vivo */
.calc-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 24px 60px;
}

.calc-container {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(242, 247, 255, 0.78) 100%);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid rgba(0, 113, 227, 0.18);
  border-radius: 30px;
  padding: clamp(36px, 5vw, 54px);
  box-shadow: var(--card-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.calc-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.calc-header {
  max-width: 600px;
}

.calc-header h2 {
  margin: 0 0 10px;
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 700;
  letter-spacing: -0.035em;
}

.calc-subtitle {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--muted);
}

/* Chips de Perfiles de Vehículo */
.vehicle-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.preset-chip {
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--card-border);
  padding: 9px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.18s ease;
}

.preset-chip:hover {
  color: var(--ink);
  background: #fff;
}

.preset-chip.is-active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.calc-box {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 36px;
  align-items: stretch;
}

.calc-inputs {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}

.calc-inputs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.calc-field label {
  display: block;
  font-size: 12.5px;
  font-weight: 650;
  color: var(--ink);
  margin-bottom: 6px;
}

.input-wrap {
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid rgba(29, 29, 31, 0.12);
  border-radius: 16px;
  padding: 11px 14px;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.02);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.input-wrap:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.15);
}

.input-wrap input {
  border: none;
  outline: none;
  font-size: 19px;
  font-weight: 700;
  color: var(--ink);
  width: 100%;
  font-family: inherit;
  font-variant-numeric: tabular-nums;
  background: transparent;
}

.input-wrap span {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
  margin-left: 6px;
}

.calc-smart-hint {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: 14px 16px;
}

.calc-smart-hint__badge {
  font-size: 11px;
  font-weight: 750;
  color: var(--accent);
  background: rgba(0, 113, 227, 0.1);
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
}

.calc-smart-hint p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}

.calc-smart-hint strong {
  color: var(--ink);
}

.calc-results {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.calc-result-card {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 24px;
  padding: 22px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.035);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.calc-result-card--accent {
  grid-column: span 2;
  background: #12141a;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.16);
  gap: 18px;
}

.calc-hero-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}

.calc-hero-right {
  text-align: right;
}

.calc-result-card--accent .calc-result-label {
  color: #9ca3af;
}

.calc-result-card--accent .calc-result-value {
  color: #fff;
  font-size: 32px;
}

.calc-result-card--accent .calc-result-value--cost {
  color: #60a5fa;
}

.calc-result-card--accent .calc-result-value small {
  color: #9ca3af;
}

/* Barra de rango en vivo dentro del simulador */
.sim-range-block {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 12px 14px;
}

.sim-range-labels {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11.5px;
  color: #9ca3af;
  margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
}

.sim-range-labels strong {
  color: #f3f4f6;
}

.sim-range-status {
  font-size: 11px;
  font-weight: 600;
  color: #34d399;
  background: rgba(16, 185, 129, 0.14);
  padding: 2px 9px;
  border-radius: 999px;
}

.sim-range-bar {
  position: relative;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(96, 165, 250, 0.35) 0%, #3b82f6 50%, #10b981 100%);
}

.sim-range-dot {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid #0071e3;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  transition: left 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.calc-result-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  display: block;
  margin-bottom: 4px;
}

.calc-result-value {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  display: block;
  font-variant-numeric: tabular-nums;
}

.calc-result-value small {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

.calc-result-note {
  margin: 6px 0 0;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.45;
}

/* Sección 2: Bento Grid Automotriz */
.bento-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 36px 24px 80px;
}

.bento-header {
  max-width: 680px;
  margin-bottom: 38px;
}

.bento-header h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 700;
  letter-spacing: -0.035em;
}

.bento-subtitle {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--muted);
}

/* Escaparate Interactivo: Grid 2x2 de Tarjetas + iPhone Completo sin Recortes */
.bento-showcase-layout {
  display: grid;
  grid-template-columns: 1.5fr 0.5fr;
  gap: 24px;
  align-items: stretch;
  margin-bottom: 24px;
}

.bento-selector-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.bento-select-card {
  font-family: inherit;
  text-align: left;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  border-radius: 28px;
  padding: 28px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.bento-select-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.06);
}

.bento-select-card.is-active {
  background: #ffffff;
  border-color: rgba(0, 113, 227, 0.38);
  box-shadow: 0 16px 38px rgba(0, 113, 227, 0.09);
}

.bsc-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.bsc-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(0, 113, 227, 0.08);
  color: var(--accent);
  transition: all 0.2s ease;
}

.bsc-icon svg {
  width: 20px;
  height: 20px;
}

.bento-select-card.is-active .bsc-icon {
  background: var(--accent);
  color: #ffffff;
}

.bsc-num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: #86868b;
  background: #f5f5f7;
  padding: 4px 9px;
  border-radius: 999px;
  transition: all 0.2s ease;
}

.bento-select-card.is-active .bsc-num {
  color: var(--accent);
  background: rgba(0, 113, 227, 0.1);
}

.bsc-copy {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.bento-select-card h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.028em;
  color: var(--ink);
}

.bento-select-card p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.5;
  color: #6e6e73;
}

/* Columna Derecha: Escaparate de iPhone Completo */
.bento-phone-stage {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  border-radius: 28px;
  padding: 26px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.bento-full-phone {
  position: relative;
  width: 100%;
  max-width: 242px;
  height: auto;
  border-radius: 42px;
  overflow: hidden;
  border: 9px solid #1d1d1f;
  background: #000;
  box-shadow:
    0 0 0 1.5px #86868b,
    0 0 0 3px #2c2c2e,
    0 24px 52px rgba(0, 0, 0, 0.17),
    0 8px 20px rgba(0, 0, 0, 0.08);
}

.bento-full-phone img {
  width: 100%;
  height: auto;
  display: block;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.bento-full-phone img.is-switching {
  opacity: 0.25;
  transform: scale(0.985);
}

.bento-phone-caption {
  margin: 0;
  font-size: 12px;
  font-weight: 500;
  color: #6e6e73;
  text-align: center;
  background: #f5f5f7;
  padding: 6px 13px;
  border-radius: 999px;
}

.bento-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  border-radius: 28px;
  padding: 34px 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.bento-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.06);
}

.bento-card--wide {
  width: 100%;
  justify-content: center;
}

.bento-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
}

.bento-card h3 {
  margin: 6px 0 10px;
  font-size: clamp(22px, 2.5vw, 26px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.bento-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: #6e6e73;
}

/* Píldoras de características con iconos SF Symbols */
.bento-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.bento-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  background: #f5f5f7;
  padding: 6px 13px;
  border-radius: 999px;
}

.bento-card--privacy {
  background: #ffffff;
}

.bento-privacy-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: center;
  width: 100%;
}

/* Tarjeta de Resumen Acumulado (Acerca de) */
.lifetime-summary-card {
  background: #ffffff;
  border: 1px solid var(--card-border);
  border-radius: 22px;
  padding: 20px 22px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.lsc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2px;
}

.lsc-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  background: rgba(0, 113, 227, 0.1);
  padding: 4px 11px;
  border-radius: 999px;
}

.lsc-sub {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
}

.lsc-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 13.5px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.lsc-row strong {
  color: var(--ink);
  font-weight: 650;
}

.lsc-row--total {
  margin-top: 2px;
  padding-top: 10px;
  border-top: 1px solid var(--hairline);
  font-size: 14.5px;
  color: var(--ink);
  font-weight: 600;
}

.lsc-row--total strong {
  color: var(--accent);
  font-size: 16px;
  font-weight: 750;
}

.lsc-footnote {
  margin: 2px 0 0 !important;
  font-size: 11.5px !important;
  color: var(--muted) !important;
  line-height: 1.4 !important;
}

/* Banner Descarga / Contacto */
.help-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 80px;
}

.help-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid var(--card-border);
  border-radius: 28px;
  padding: 38px 44px;
  box-shadow: var(--card-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  gap: 24px;
}

.help-card__copy {
  max-width: 580px;
}

.help-card__kicker {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
}

.help-card h2 {
  margin: 0 0 8px;
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.help-card__desc {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
}

.help-card__actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

/* Footer Unificado */
.footer {
  margin-top: auto;
  width: 100%;
  background: #ebebee;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding: 50px 24px 28px;
}

.footer__inner {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1.8fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background: var(--ink);
  color: #fff;
  border-radius: 8px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: -0.04em;
}

.footer__name,
.footer__app-name {
  font-weight: 650;
  font-size: 15px;
  letter-spacing: -0.02em;
}

.footer__copy {
  margin: 0;
  font-size: 13.5px;
  color: var(--muted);
  max-width: 390px;
  line-height: 1.55;
}

.footer__links {
  display: flex;
  gap: 44px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
}

.footer__col-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink);
  margin-bottom: 4px;
}

.footer__col a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer__col a:hover {
  color: var(--ink);
}

.footer__text {
  color: var(--muted);
}

.footer__status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: #2e7d32;
  font-weight: 500;
  margin-top: 4px;
}

.footer__status::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34c759;
  box-shadow: 0 0 0 3px rgba(52, 199, 89, 0.2);
}

.footer__bottom {
  max-width: 1160px;
  margin: 22px auto 0;
  font-size: 12px;
  color: var(--muted);
}

.footer__bottom p {
  margin: 0;
}

/* Animación sutil de aparición al hacer scroll */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Estilos compartidos para páginas de soporte y legal */
.legal-main {
  flex: 1 0 auto;
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(50px, 8vh, 84px) 24px clamp(60px, 10vh, 100px);
}

.legal-main h1 {
  margin: 10px 0 14px;
  font-size: clamp(34px, 5.5vw, 52px);
  line-height: 1.08;
}

.legal-main .lede {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
  margin: 0 0 36px;
  max-width: 660px;
}

.legal-main section {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--hairline);
}

.legal-main section h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}

.legal-main section h3 {
  font-size: 17px;
  font-weight: 650;
  margin: 20px 0 6px;
}

.legal-main section p {
  color: #424245;
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 14px;
}

.legal-main section a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 550;
}

.legal-main section a:hover {
  text-decoration: underline;
}

/* Tarjetas editoriales para Centro de Soporte */
.support-contact-card {
  background: var(--card-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--card-border);
  border-radius: 26px;
  padding: 28px 32px;
  box-shadow: var(--card-shadow);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.support-contact-card p {
  margin: 6px 0 0 !important;
  max-width: 520px;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 18px;
}

.faq-card {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.faq-card h3 {
  margin: 0 0 8px !important;
  font-size: 16.5px !important;
  color: var(--ink);
}

.faq-card p {
  margin: 0 !important;
  font-size: 14px !important;
  color: var(--muted) !important;
}

/* Responsividad */
@media (max-width: 980px) {
  .hero-tramo__container {
    grid-template-columns: 1fr;
    gap: 44px;
    text-align: center;
  }

  .hero-tramo__copy {
    align-items: center;
  }

  .summary {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__cta,
  .telemetry-badges {
    justify-content: center;
  }

  .hero-tramo__visual {
    flex-direction: column;
    gap: 16px;
    padding: 0;
  }

  .floating-widget--range,
  .vehicle-card {
    position: relative;
    top: auto;
    left: auto;
    bottom: auto;
    right: auto;
    width: min(100%, 310px);
  }

  .formula-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .calc-box {
    grid-template-columns: 1fr;
  }

  .bento-showcase-layout,
  .bento-privacy-layout {
    grid-template-columns: 1fr;
  }

  .help-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer__links {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .nav__container {
    padding: 12px 18px;
  }

  .nav__links {
    gap: 14px;
    font-size: 12.5px;
  }

  .nav__cta {
    display: none;
  }

  .hero-tramo,
  .formula-section,
  .calc-section,
  .bento-section,
  .help-section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .bento-selector-grid {
    grid-template-columns: 1fr;
  }

  .formula-container,
  .calc-container,
  .bento-card,
  .bento-select-card,
  .bento-phone-stage,
  .help-card {
    padding: 24px;
    border-radius: 24px;
  }

  .pipeline-card {
    padding: 18px;
    gap: 14px;
  }

  .calc-inputs-grid,
  .calc-results {
    grid-template-columns: 1fr;
  }

  .calc-result-card--accent {
    grid-column: span 1;
  }

  .calc-hero-right {
    text-align: left;
  }
}

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

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}
