/* Portada de pikmile.com (v3, «la carretera de noche», 2026-11-07). Hoja propia: esta página no carga site.css.
   Marca: asfalto #16233b, ámbar #f2a900, Sora; cuerpo en Hanken Grotesk. Oscuro solo por la preferencia del sistema. */
:root {
  --night: #0c1527;
  --night-2: #13203a;
  --asphalt: #16233b;
  --asphalt-2: #1f2f4f;
  --amber: #f2a900;
  --amber-soft: #fff1cc;
  --amber-ink: #6b4b00;
  --paper: #f5f6f3;
  --surface: #ffffff;
  --ink: #16233b;
  --muted: #586274;
  --line: #dde1da;
  --chip: #eceee8;
  --pos: #1f7a4a;
  --slate: #6c7a90;
  --focus: #16233b;
  --pin: #16233b;
  --band-text: #eef0ec;
  --band-muted: #aeb7c7;
  --display: 'Sora', 'Segoe UI', system-ui, sans-serif;
  --body: 'Hanken Grotesk', -apple-system, 'Segoe UI', Roboto, system-ui, sans-serif;
  --wrap: 1180px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0e1524;
    --surface: #161f35;
    --ink: #eef0ec;
    --muted: #a0a9b8;
    --line: #253049;
    --chip: #1e2842;
    --amber-soft: #3a2f12;
    --amber-ink: #f5d37a;
    --pos: #6fcf97;
    --slate: #8794a8;
    --focus: #f2a900;
    --pin: #2a3d63;
    color-scheme: dark;
  }
}

* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
}
body {
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.6 var(--body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
}
:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}
.dark :focus-visible,
.hero :focus-visible,
.shead :focus-visible,
.plan.prem :focus-visible,
.final :focus-visible,
.sfoot :focus-visible {
  --focus: var(--amber);
}
h1,
h2,
h3 {
  font-family: var(--display);
  text-wrap: balance;
  margin: 0;
}
p {
  margin: 0;
}
.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding-inline: 24px;
}
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.num {
  font-variant-numeric: tabular-nums;
}

/* ---------- Cabecera ---------- */
.shead {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--night);
  background: color-mix(in srgb, var(--night) 88%, transparent);
  backdrop-filter: saturate(1.3) blur(12px);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.shead .wrap {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 64px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font: 800 21px var(--display);
  letter-spacing: -0.02em;
}
.logo svg {
  width: 30px;
  height: 30px;
  border-radius: 8px;
}
.shead nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
  font-size: 15px;
  font-weight: 500;
}
.shead nav a {
  text-decoration: none;
  color: #c9d0dc;
}
.shead nav a:hover {
  color: #fff;
}
.shead .get {
  color: var(--night);
  background: var(--amber);
  padding: 9px 16px;
  border-radius: 999px;
  font-weight: 700;
}
.shead .get:hover {
  color: var(--night);
  background: #ffbd1f;
}
.lng {
  font: 700 13px var(--body);
  color: #fff;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  height: 34px;
  min-width: 44px;
  cursor: pointer;
}

/* ---------- Héroe: la carretera de noche ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(120% 70% at 72% 18%, #1d2d4d 0%, transparent 60%),
    linear-gradient(180deg, var(--night) 0%, #0a1222 100%);
  color: #fff;
}
.hero .wrap {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  padding-top: 72px;
  padding-bottom: 130px;
}
.status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  font-weight: 600;
  color: #d6dbe4;
}
.status i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 5px rgba(242, 169, 0, 0.18);
}
.hero h1 {
  margin-top: 26px;
  font-weight: 800;
  font-size: clamp(44px, 5.1vw, 68px);
  line-height: 1;
  letter-spacing: -0.04em;
}
.hero .lead {
  margin-top: 26px;
  max-width: 34em;
  font-size: 19px;
  line-height: 1.55;
  color: #c3cad6;
}
.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}
.store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 11px 18px 11px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
}
.store svg {
  width: 24px;
  height: 24px;
}
.store small {
  display: block;
  font-size: 12px;
  color: #aeb7c7;
  line-height: 1.2;
}
.store b {
  display: block;
  font: 700 16.5px var(--display);
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.calc-link {
  display: inline-block;
  margin-top: 22px;
  font-weight: 600;
  color: #fff;
  text-decoration-color: var(--amber);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

.hero-vis {
  position: relative;
  min-height: 600px;
}
.hero-vis .phone {
  position: absolute;
  left: 50%;
  top: 4px;
  transform: translateX(-50%) rotate(2.5deg);
  --pw: 276px;
  z-index: 3;
}
.toast {
  position: absolute;
  z-index: 4;
  left: -34px;
  top: 438px;
  width: 250px;
  padding: 13px 15px;
  border-radius: 18px;
  background: rgba(22, 32, 54, 0.78);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 12px;
  color: #fff;
  box-shadow: 0 24px 48px -16px rgba(0, 0, 0, 0.7);
}
.toast .h {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}
.toast .h svg {
  width: 18px;
  height: 18px;
  border-radius: 5px;
}
.toast .h span:last-child {
  margin-left: auto;
  color: #9ba5b6;
  font-weight: 600;
  font-size: 10.5px;
}
.toast b {
  display: block;
  margin-top: 7px;
  font-size: 13px;
}
.toast p {
  color: #c9d0dc;
}

/* La carretera: un plano en perspectiva con la línea central ámbar. */
.road-zone {
  position: absolute;
  inset: 40% 0 0 0;
  z-index: 0;
  perspective: 560px;
  perspective-origin: 79% 0%;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 34%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 34%);
  pointer-events: none;
}
.road {
  position: absolute;
  left: 79%;
  bottom: -2px;
  width: 560px;
  height: 2400px;
  transform-origin: 50% 100%;
  transform: translateX(-50%) rotateX(76deg);
  background:
    linear-gradient(
        90deg,
        transparent 0 4%,
        rgba(255, 255, 255, 0.42) 4% 4.8%,
        transparent 4.8% 95.2%,
        rgba(255, 255, 255, 0.42) 95.2% 96%,
        transparent 96%
      )
      0 0 / 100% 100% no-repeat,
    linear-gradient(90deg, #121d33 0%, #1a2742 50%, #121d33 100%);
}
/* Línea central: capa en mosaico desplazada con transform (la mueve home.js). */
.lane {
  position: absolute;
  left: 50%;
  top: -170px;
  bottom: 0;
  width: 14px;
  margin-left: -7px;
  background: linear-gradient(to bottom, var(--amber) 0 46%, transparent 46% 100%) 0 0 / 14px 170px
    repeat-y;
  will-change: transform;
}

/* El carro: visto desde atrás, en el carril derecho, siempre andando */
/* Posición de respaldo; con JS se calcula sobre la perspectiva de la carretera. */
.cruiser {
  position: absolute;
  z-index: 1;
  left: calc(79% + 24px);
  bottom: 40px;
  width: 170px;
  pointer-events: none;
}
.cruiser svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
.js .cruiser {
  animation: sway 6s ease-in-out infinite;
}
.js .cruiser svg {
  animation: rumble 0.28s linear infinite;
}
@keyframes rumble {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-1px);
  }
}
@keyframes sway {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 8px 0;
  }
}

/* Pausa del movimiento continuo (WCAG 2.2.2) */
.motion-btn {
  display: none;
}
.js .motion-btn {
  position: absolute;
  right: 24px;
  bottom: calc(100% + 16px);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  color: #fff;
  background: rgba(10, 18, 34, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(6px);
}
.motion-btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}
.motion-btn .play {
  display: none;
}
.paused .motion-btn .play {
  display: block;
}
.paused .motion-btn .pause {
  display: none;
}
.paused .cruiser,
.paused .cruiser svg,
.paused .hero-vis .phone,
.paused .status i,
.paused .onshift i {
  animation-play-state: paused !important;
}
/* Sin JS ni movimiento: la notificación no contradice al viaje en curso. */
html:not(.js) .toast {
  display: none;
}

/* Tablero: odómetro y deducción, al pie del héroe */
.dash {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(10, 18, 34, 0.55), rgba(10, 18, 34, 0.92));
  backdrop-filter: blur(6px);
}
.dash .wrap {
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: end;
  gap: 56px;
  padding-top: 28px;
  padding-bottom: 30px;
}
.gauge small {
  display: block;
  font-size: 13.5px;
  color: #aeb7c7;
  margin-top: 10px;
}
.gauge small.ex-dark {
  margin-top: 2px;
  font-size: 12px;
  color: #7f8aa0;
}
.odo {
  display: inline-flex;
  gap: 4px;
  font: 700 40px/1 var(--display);
}
.odo .d {
  position: relative;
  width: 0.78em;
  height: 1.24em;
  overflow: hidden;
  border-radius: 6px;
  background: linear-gradient(180deg, #050a14, #1a2540 50%, #050a14);
  color: #f3f4f1;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.odo .d.t {
  background: linear-gradient(180deg, #b77f00, var(--amber) 50%, #b77f00);
  color: var(--night);
}
.odo .strip {
  display: block;
  transform: translateY(calc(var(--v) * -1.24em));
  transition: transform 1.9s cubic-bezier(0.2, 0.75, 0.15, 1);
}
.odo .strip span {
  display: grid;
  place-items: center;
  height: 1.24em;
}
.odo .sep {
  align-self: end;
  color: #6f7b90;
  font-size: 20px;
  padding-bottom: 6px;
}
.odo .unit {
  align-self: center;
  margin-left: 10px;
  font: 700 18px var(--display);
  color: #aeb7c7;
}
.ded b {
  display: block;
  font: 800 40px/1.24 var(--display);
  letter-spacing: -0.03em;
  color: var(--amber);
}
.facts {
  justify-self: end;
  display: grid;
  gap: 6px;
  font-size: 14px;
  color: #c3cad6;
}
.facts span {
  display: flex;
  align-items: center;
  gap: 9px;
}
.facts svg {
  width: 17px;
  height: 17px;
  stroke: var(--amber);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
.ex-dark {
  font-size: 12px;
  color: #7f8aa0;
}

/* ---------- Plataformas ---------- */
.plats {
  border-bottom: 1px solid var(--line);
}
.plats .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 34px;
  padding-block: 30px 26px;
}
.plats p {
  font-size: 15px;
  color: var(--muted);
}
.plats ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 30px;
  list-style: none;
  margin: 0;
  padding: 0;
  font: 700 20px var(--display);
  letter-spacing: -0.02em;
  color: var(--ink);
  opacity: 0.78;
}
.plats small {
  flex-basis: 100%;
  font-size: 12.5px;
  color: var(--muted);
}

/* ---------- Secciones ---------- */
.sec {
  padding-block: 120px;
}
.sec + .sec:not(.dark) {
  padding-top: 0;
}
.h2 {
  font-weight: 700;
  font-size: clamp(34px, 4.2vw, 54px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  max-width: 15em;
}
.sub {
  margin-top: 18px;
  font-size: 19px;
  color: var(--muted);
  max-width: 36em;
}

/* Cómo funciona: cuatro paradas sobre una misma ruta */
.route {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.route::before {
  content: '';
  position: absolute;
  left: 22px;
  right: calc((100% - 96px) / 4 - 23px);
  top: 21px;
  height: 4px;
  border-radius: 2px;
  background: repeating-linear-gradient(90deg, var(--amber) 0 16px, transparent 16px 28px);
}
.route li {
  position: relative;
}
.pin {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--pin);
  color: #fff;
  font: 700 17px var(--display);
  box-shadow: 0 0 0 6px var(--paper);
}
.route li:last-child .pin {
  background: var(--amber);
  color: var(--night);
}
.route h3 {
  margin-top: 26px;
  font-size: 21px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.route p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 16px;
}

/* Función con maqueta */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.feature.rev .copy {
  order: 2;
}
.checks {
  list-style: none;
  margin: 34px 0 0;
  padding: 0;
  display: grid;
  gap: 18px;
}
.checks li {
  position: relative;
  padding-left: 34px;
  color: var(--muted);
}
.checks li b {
  color: var(--ink);
  font-weight: 700;
}
.checks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 18px;
  height: 4px;
  border-radius: 2px;
  background: var(--amber);
}
.note {
  margin-top: 28px;
  font-size: 14.5px;
  color: var(--muted);
  padding-left: 16px;
  border-left: 3px solid var(--line);
}
.stage {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  padding: 44px 20px;
  border-radius: 36px;
  background: var(--surface);
  border: 1px solid var(--line);
  min-width: 0;
}
.stack {
  display: grid;
  gap: 14px;
  width: min(100%, 290px);
}

/* ---------- Maquetas de teléfono ---------- */
.phone {
  --pw: 262px;
  position: relative;
  width: var(--pw);
  max-width: 100%;
  aspect-ratio: 9 / 19.3;
  border-radius: 46px;
  background: #070d18;
  padding: 9px;
  box-shadow:
    0 50px 90px -30px rgba(0, 0, 0, 0.6),
    0 0 0 1.5px #2b3856 inset,
    0 0 0 1px rgba(255, 255, 255, 0.04);
}
.scr {
  position: relative;
  height: 100%;
  border-radius: 38px;
  overflow: hidden;
  background: #f4f5f2;
  color: #16233b;
  font: 11px/1.35 var(--body);
  display: flex;
  flex-direction: column;
}
.notch {
  position: absolute;
  top: 9px;
  left: 50%;
  transform: translateX(-50%);
  width: 84px;
  height: 24px;
  border-radius: 14px;
  background: #070d18;
  z-index: 2;
}
.sbar {
  display: flex;
  justify-content: space-between;
  padding: 13px 24px 0;
  font-weight: 700;
  font-size: 11px;
  height: 36px;
}
.abody {
  flex: 1;
  padding: 6px 14px 0;
  display: grid;
  gap: 9px;
  align-content: start;
}
.ahead {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.ahead b {
  font: 800 21px var(--display);
  letter-spacing: -0.02em;
}
.av {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #16233b;
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 10px;
}
.achip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #e9ece5;
  font-weight: 700;
  font-size: 10px;
}
.achip.on {
  background: var(--amber);
  color: #16233b;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.acard {
  background: #fff;
  border-radius: 16px;
  padding: 11px 12px;
  box-shadow: 0 1px 0 #e6e8e2;
}
.acard .t {
  font-weight: 700;
  font-size: 10px;
  color: #5e6878;
}
.acard .big {
  font: 800 21px var(--display);
  letter-spacing: -0.02em;
  margin-top: 2px;
}
.live {
  background: #16233b;
  color: #fff;
  border-radius: 18px;
  padding: 12px 13px;
}
.live .top {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 10.5px;
}
.live .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber);
}
.live .nums {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 6px;
}
.live .nums b {
  font: 800 26px var(--display);
  letter-spacing: -0.03em;
  white-space: nowrap;
}
.live .nums span {
  color: #c9d0dc;
  font-size: 10.5px;
}
.prog {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}
.prog .bar {
  flex: 1;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.16);
  overflow: hidden;
}
.prog .bar i {
  display: block;
  width: 62%;
  height: 100%;
  background: var(--amber);
}
.coin {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--amber);
  color: #16233b;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 10px;
}
.row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}
.trip {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 0;
  border-top: 1px solid #eef0eb;
}
.trip:first-of-type {
  border-top: 0;
}
.trip .ic {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: #e9ece5;
  display: grid;
  place-items: center;
  flex: none;
}
.ic svg,
.ci svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.trip .mid {
  flex: 1;
  min-width: 0;
}
.trip .mid b {
  display: block;
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.trip .mid span {
  color: #6a7384;
  font-size: 9.5px;
}
.trip .r {
  text-align: right;
  font-weight: 800;
  font-size: 11.5px;
}
.wk {
  display: inline-block;
  margin-top: 2px;
  padding: 1px 6px;
  border-radius: 6px;
  background: #fff1cc;
  color: #6b4b00;
  font-size: 9px;
  font-weight: 700;
}
.tabbar {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  padding: 8px 8px 18px;
  background: #fff;
  border-top: 1px solid #e6e8e2;
  font-size: 8.5px;
  font-weight: 600;
  color: #7a8394;
  text-align: center;
}
.tabbar svg {
  display: block;
  margin: 0 auto 2px;
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.tabbar .on {
  color: #16233b;
}
.tabbar .plus span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin: 0 auto;
  border-radius: 50%;
  background: #16233b;
  color: #fff;
}
.tabbar .plus svg {
  margin: 0;
}

/* Pantalla bloqueada */
.lock .scr {
  background: radial-gradient(120% 70% at 50% 0%, #2b3e66, #0d1628 70%);
  color: #fff;
}
.lock .time {
  text-align: center;
  margin-top: 18px;
}
.lock .time small {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  color: #d4dae5;
}
.lock .time b {
  display: block;
  font: 700 64px/1 var(--display);
  letter-spacing: -0.04em;
}
.la {
  margin: 22px 11px 0;
  padding: 12px;
  border-radius: 22px;
  background: rgba(13, 22, 40, 0.66);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.la .h {
  display: flex;
  align-items: center;
  gap: 7px;
  font-weight: 700;
  font-size: 10.5px;
}
.la .h svg {
  width: 16px;
  height: 16px;
  border-radius: 4px;
}
.la .h em {
  margin-left: auto;
  font-style: normal;
  color: #aeb7c7;
  font-size: 9.5px;
}
.la .g {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 8px;
}
.la .g b {
  display: block;
  font: 800 17px var(--display);
  letter-spacing: -0.02em;
}
.la .g span {
  font-size: 9px;
  color: #aeb7c7;
}
.la .end {
  display: block;
  margin-top: 10px;
  text-align: center;
  padding: 8px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  font-weight: 700;
  font-size: 10.5px;
}
.lock .hint {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  padding: 0 30px 30px;
}
.lock .hint i {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  display: grid;
  place-items: center;
}
.lock .hint svg {
  width: 16px;
  height: 16px;
  stroke: #fff;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Tarjetas de la app fuera del teléfono */
.ui {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 14px 16px;
  font-size: 12.5px;
  box-shadow: 0 18px 40px -26px rgba(22, 35, 59, 0.5);
}
.ui .t {
  font-weight: 700;
  font-size: 11.5px;
  color: var(--muted);
}
.swipe {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: var(--amber);
}
.swipe .under {
  display: flex;
  justify-content: space-between;
  padding: 0 16px;
  height: 62px;
  align-items: center;
  font-weight: 800;
  font-size: 12px;
  color: var(--night);
}
.swipe .card {
  position: absolute;
  inset: 0 auto 0 0;
  width: calc(100% - 64px);
  transform: translateX(64px);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
}
.swipe .card b {
  font-size: 13px;
}
.ui .chips {
  margin-top: 8px;
}
.ui .achip {
  background: var(--chip);
  color: var(--ink);
}
.ui .achip.on {
  background: var(--amber);
  color: var(--night);
}
.stat-l {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  color: var(--muted);
}
.stat-l b {
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.stat-l.tot {
  border-top: 1px solid var(--line);
  margin-top: 4px;
  padding-top: 10px;
  color: var(--ink);
  font-weight: 700;
}
.stat-l.tot b {
  color: var(--pos);
  font: 800 22px var(--display);
  letter-spacing: -0.02em;
}
.sbar3 {
  display: flex;
  height: 8px;
  border-radius: 4px;
  overflow: hidden;
  gap: 2px;
  margin-top: 10px;
}
.sbar3 i:nth-child(1) {
  flex: 1566;
  background: var(--pos);
}
.sbar3 i:nth-child(2) {
  flex: 1106;
  background: var(--amber);
}
.sbar3 i:nth-child(3) {
  flex: 612;
  background: var(--slate);
}
.cat {
  display: grid;
  grid-template-columns: 26px 1fr auto;
  align-items: center;
  gap: 4px 10px;
  padding: 6px 0;
}
.ci {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--chip);
  display: grid;
  place-items: center;
}
.cat b {
  font-variant-numeric: tabular-nums;
}
.meter {
  grid-column: 2 / 4;
  height: 4px;
  border-radius: 2px;
  background: var(--chip);
}
.meter i {
  display: block;
  height: 100%;
  border-radius: 2px;
  background: var(--ink);
}

/* ---------- Premium (asfalto) ---------- */
.dark {
  background: var(--asphalt);
  color: var(--band-text);
}
@media (prefers-color-scheme: dark) {
  .dark {
    background: #0a1120;
  }
}
.dark .sub {
  color: var(--band-muted);
}
.tier {
  display: inline-block;
  font: 700 13px var(--body);
  color: var(--night);
  background: var(--amber);
  padding: 4px 11px;
  border-radius: 999px;
}
.dark .h2 {
  margin-top: 18px;
}
.bento {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  grid-template-rows: auto auto;
  gap: 18px;
  margin-top: 56px;
}
.tile {
  border-radius: 28px;
  background: #1d2c4a;
  border: 1px solid #2b3c5e;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
@media (prefers-color-scheme: dark) {
  .tile {
    background: #121b30;
    border-color: #22304d;
  }
}
.tile.big {
  grid-row: span 2;
}
.tile h3 {
  font-size: 24px;
  letter-spacing: -0.02em;
  color: #fff;
}
.tile p {
  color: var(--band-muted);
  font-size: 16px;
}
.tile .mini {
  margin-top: auto;
  padding-top: 18px;
}
.panel {
  background: #f4f5f2;
  color: #16233b;
  border-radius: 18px;
  padding: 14px;
  font-size: 12px;
}
.lockline {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #5e6878;
  font-size: 11.5px;
}
.lockline svg {
  width: 13px;
  height: 13px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}
.seg {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #e6e9e2;
  border-radius: 10px;
  padding: 3px;
  margin: 10px 0;
  font-weight: 700;
  font-size: 11px;
  text-align: center;
}
.seg span {
  padding: 6px;
  border-radius: 8px;
  color: #5e6878;
}
.seg .on {
  background: #fff;
  color: #16233b;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}
.grp {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: #fff;
  border-radius: 12px;
  margin-top: 7px;
}
.grp .gt {
  flex: 1;
}
.grp .gt b {
  display: block;
  font-size: 12.5px;
}
.grp .gt span {
  color: #6a7384;
  font-size: 11px;
}
.grp .sel {
  font-weight: 700;
  font-size: 11px;
  padding: 6px 11px;
  border-radius: 9px;
  border: 1px solid #d9ddd4;
}
.grp .sel.on {
  background: var(--amber);
  border-color: var(--amber);
}
.grp .warn {
  color: #8a5a00;
}
.sugg {
  padding: 4px 12px 2px 34px;
}
.sugg div {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
  color: #5e6878;
  font-size: 11.5px;
}
.sugg b {
  color: #16233b;
}
.auto {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  font-weight: 600;
  font-size: 11.5px;
}
.tog {
  width: 32px;
  height: 19px;
  border-radius: 10px;
  background: #1f7a4a;
  position: relative;
  flex: none;
}
.tog::after {
  content: '';
  position: absolute;
  right: 2px;
  top: 2px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #fff;
}
.startbtn {
  display: block;
  margin-top: 10px;
  text-align: center;
  padding: 10px;
  border-radius: 12px;
  background: #16233b;
  color: #fff;
  font-weight: 700;
}
.onshift {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  background: #fff1cc;
  color: #6b4b00;
  font-weight: 700;
  font-size: 11px;
}
.onshift i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber);
}
.notif {
  display: flex;
  gap: 10px;
}
.notif svg {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  flex: none;
}
.notif .h {
  display: flex;
  justify-content: space-between;
  color: #6a7384;
  font-size: 11px;
  font-weight: 600;
}
.notif b {
  display: block;
  margin-top: 2px;
  font-size: 12.5px;
}
.notif .acts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-top: 10px;
  text-align: center;
  font-weight: 700;
}
.notif .acts span {
  padding: 7px;
  border-radius: 9px;
  background: #e6e9e2;
}
.notif .acts .on {
  background: var(--amber);
}
.assure {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 44px;
  padding-top: 30px;
  border-top: 1px solid #2e3e5f;
  font-size: 15px;
  color: var(--band-muted);
}
.assure span {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.assure svg {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 3px;
  stroke: var(--amber);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Reporte: la hoja impresa ---------- */
.sheets {
  position: relative;
  width: min(100%, 470px);
  margin: 0 auto;
  padding: 18px 0 30px;
}
.sheet {
  position: relative;
  background: #fff;
  color: #16233b;
  border-radius: 6px;
  padding: 26px 26px 18px;
  box-shadow:
    0 2px 0 #e7e9e3,
    0 40px 70px -40px rgba(22, 35, 59, 0.55);
  font-size: 11.5px;
}
.sheet.back {
  position: absolute;
  inset: 0 auto auto 34px;
  width: calc(100% - 20px);
  height: 86%;
  transform: rotate(4deg);
  background: #fbfbf9;
  padding: 18px 22px;
  color: #5e6878;
  font-weight: 700;
}
.sheet .ph {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 12px;
  border-bottom: 2px solid #16233b;
}
.sheet .ph b {
  display: block;
  font: 700 15px var(--display);
  letter-spacing: -0.01em;
}
.sheet .ph span {
  color: #5e6878;
}
.sheet .ph svg {
  width: 26px;
  height: 26px;
  border-radius: 6px;
}
.sheet table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 6px;
  font-variant-numeric: tabular-nums;
}
.sheet th {
  text-align: left;
  font-size: 10px;
  color: #5e6878;
  font-weight: 700;
  padding: 8px 4px;
  border-bottom: 1px solid #dde1da;
}
.sheet td {
  padding: 8px 4px;
  border-bottom: 1px solid #eef0eb;
}
.sheet .n {
  text-align: right;
}
.sheet tr.tot td {
  font-weight: 800;
  border-bottom: 0;
  border-top: 2px solid #16233b;
}
.sheet .pf {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  color: #6a7384;
  font-size: 10px;
}
.sheets .ex {
  position: absolute;
  right: 0;
  bottom: 0;
  font-size: 12px;
  color: var(--muted);
}
.fmt {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}
.fmt span {
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-weight: 700;
  font-size: 14px;
}
.fmt span.on {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

/* ---------- Privacidad ---------- */
.pv {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 56px;
  border-top: 1px solid var(--line);
}
.pv div {
  padding: 30px 32px 30px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 6px 16px;
  align-content: start;
}
.pv div:nth-child(even) {
  padding-left: 32px;
  border-left: 1px solid var(--line);
}
.pv svg {
  grid-row: span 2;
  width: 26px;
  height: 26px;
  stroke: var(--ink);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.pv h3 {
  font-size: 20px;
  letter-spacing: -0.02em;
}
.pv p {
  color: var(--muted);
  font-size: 16px;
}
.more {
  margin-top: 28px;
  font-weight: 700;
}
.more a {
  text-decoration-color: var(--amber);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

/* ---------- Planes ---------- */
.plans-h {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
}
.period {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  padding: 4px;
  border-radius: 999px;
  background: var(--chip);
}
.period button {
  font: 700 14.5px var(--body);
  color: var(--muted);
  background: none;
  border: 0;
  padding: 9px 20px;
  border-radius: 999px;
  cursor: pointer;
}
.period button[aria-pressed='true'] {
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}
.plans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 48px;
}
.plan {
  border-radius: 30px;
  padding: 36px;
  background: var(--surface);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.plan.prem {
  background: var(--asphalt);
  color: #fff;
  border-color: var(--asphalt);
  box-shadow: inset 0 0 0 1.5px rgba(242, 169, 0, 0.6);
}
.plan .tag {
  font-size: 14px;
  padding: 5px 12px;
}
.plan .ph {
  display: flex;
  align-items: center;
  gap: 12px;
}
.plan h3 {
  font-size: 28px;
  letter-spacing: -0.03em;
}
.plan .tag {
  font-size: 13px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--amber);
  color: var(--night);
}
.plan .pitch {
  margin-top: 10px;
  color: var(--muted);
}
.plan.prem .pitch,
.plan.prem .alt {
  color: #b8c0ce;
}
.price {
  margin-top: 28px;
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.price b {
  font: 800 52px/1 var(--display);
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}
.price span {
  font-weight: 600;
  color: var(--muted);
}
.plan.prem .price span {
  color: #b8c0ce;
}
.alt {
  margin-top: 8px;
  color: var(--muted);
  font-size: 15px;
}
.plan ul {
  list-style: none;
  margin: 28px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 11px;
  font-size: 15.5px;
}
.plan.prem ul {
  border-color: #2e3e5f;
}
.plan li {
  position: relative;
  padding-left: 28px;
}
.plan li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 0.42em;
  width: 12px;
  height: 7px;
  border-left: 2.5px solid var(--pos);
  border-bottom: 2.5px solid var(--pos);
  transform: rotate(-45deg);
}
.plan.prem li::before {
  border-color: var(--amber);
}
.plan li.plus {
  padding-left: 0;
  font-weight: 700;
}
.plan li.plus::before {
  display: none;
}
.plan .cta {
  margin-top: auto;
  padding-top: 30px;
}
.btn {
  display: block;
  text-align: center;
  padding: 15px 20px;
  border-radius: 14px;
  font-weight: 700;
  text-decoration: none;
  background: var(--chip);
  color: var(--ink);
}
.plan.prem .btn {
  background: var(--amber);
  color: var(--night);
}
.price-note {
  margin-top: 22px;
  font-size: 14px;
  color: var(--muted);
  max-width: 60em;
}

/* ---------- Preguntas ---------- */
.faq {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
  align-items: start;
}
.faq .h2 {
  position: sticky;
  top: 100px;
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq details:first-child {
  border-top: 1px solid var(--line);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 22px 0;
  font: 600 19px/1.35 var(--display);
  letter-spacing: -0.015em;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '';
  flex: none;
  width: 12px;
  height: 12px;
  border-right: 2.5px solid var(--ink);
  border-bottom: 2.5px solid var(--ink);
  transform: rotate(45deg) translate(-3px, -3px);
  transition: transform 0.25s;
}
.faq details[open] summary::after {
  transform: rotate(225deg) translate(-3px, -3px);
}
.faq details p {
  padding: 0 40px 24px 0;
  color: var(--muted);
}

/* ---------- Calculadora y cierre ---------- */
.calc {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 24px 48px;
  padding: 44px 48px;
  border-radius: 32px;
  background: var(--amber-soft);
}
.calc h2 {
  font-size: clamp(26px, 3vw, 36px);
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.calc p {
  margin-top: 10px;
  color: var(--muted);
  max-width: 32em;
}
.calc .btn {
  background: var(--ink);
  color: var(--paper);
  padding-inline: 26px;
}
.final {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(180deg, #0a1222, var(--night));
  color: #fff;
  text-align: center;
  padding-block: 130px 110px;
}
.final .road-zone {
  inset: 0;
  perspective-origin: 50% 0%;
  -webkit-mask-image: linear-gradient(to bottom, transparent 10%, #000 70%);
  mask-image: linear-gradient(to bottom, transparent 10%, #000 70%);
  opacity: 0.3;
}
.final .road {
  left: 50%;
}
.final h2 {
  position: relative;
  font-size: clamp(40px, 5.6vw, 72px);
  letter-spacing: -0.04em;
  line-height: 1;
}
.final .sub {
  position: relative;
  margin: 18px auto 0;
  color: #c3cad6;
}
.final .stores {
  position: relative;
  justify-content: center;
}
.disc {
  position: relative;
  max-width: 44em;
  margin: 40px auto 0;
  font-size: 13.5px;
  color: #8f9aae;
}
.sfoot {
  background: var(--night);
  color: #9aa4b4;
  font-size: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}
.sfoot .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 28px;
  padding-block: 28px;
}
.sfoot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 22px;
  margin-left: auto;
}
.sfoot a {
  text-decoration: none;
  color: #c9d0dc;
  padding: 6px 0;
}

/* ---------- Movimiento (solo con JS y sin «reducir movimiento») ---------- */
:root {
  interpolate-size: allow-keywords;
}
.js .rise {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) var(--d, 0s),
    transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) var(--d, 0s);
}
.js .rise.in {
  opacity: 1;
  transform: none;
}
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
}
@keyframes riseIn {
  from {
    opacity: 0;
    translate: 0 70px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}
@keyframes wordUp {
  to {
    transform: none;
    opacity: 1;
  }
}
@keyframes bob {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -10px;
  }
}
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(242, 169, 0, 0.55);
  }
  100% {
    box-shadow: 0 0 0 12px rgba(242, 169, 0, 0);
  }
}
@keyframes swipeIn {
  0% {
    transform: none;
  }
  70% {
    transform: translateX(78px);
  }
  100% {
    transform: translateX(64px);
  }
}
@keyframes flip {
  from {
    opacity: 0;
    translate: 0 -12px;
  }
}

/* Héroe: entrada orquestada */
.hero h1 .w {
  display: inline-block;
  overflow: hidden;
  padding-bottom: 0.1em;
  margin-bottom: -0.1em;
  vertical-align: top;
}
.hero h1 .w > span {
  display: inline-block;
  transform: translateY(55%);
  opacity: 0.35;
  animation: wordUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  animation-delay: calc(var(--i) * 55ms + 120ms);
}
.js .hero .status {
  animation: fadeUp 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.js .hero .lead {
  animation: fadeUp 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) 0.75s both;
}
.js .hero .stores {
  animation: fadeUp 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) 0.9s both;
}
.js .hero .calc-link {
  animation: fadeUp 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) 1.05s both;
}
.js .dash {
  animation: fadeUp 1s cubic-bezier(0.2, 0.7, 0.2, 1) 0.5s both;
}
.js .status i {
  animation: pulse 1.8s ease-out 1s 6;
}
.js .hero-vis {
  animation: riseIn 1.3s cubic-bezier(0.2, 0.8, 0.2, 1) 0.25s both;
  transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.js .hero-vis .phone {
  animation: bob 7s ease-in-out 2.4s infinite;
}
.js .toast {
  opacity: 0;
  translate: 0 16px;
  scale: 0.92;
  transition:
    opacity 0.45s ease,
    translate 0.7s cubic-bezier(0.2, 1.4, 0.4, 1),
    scale 0.7s cubic-bezier(0.2, 1.4, 0.4, 1);
}
.js .toast.show {
  opacity: 1;
  translate: 0 0;
  scale: 1;
}
.live .dot {
  transition: background 0.3s;
}
.live.done .dot {
  background: #6fcf97;
}
#liveBar {
  transition: width 0.45s linear;
}
.odo .d.t {
  transition: box-shadow 0.3s;
}
.odo .d.t.tick {
  box-shadow: 0 0 18px rgba(242, 169, 0, 0.6);
}
.shead {
  transition: box-shadow 0.3s;
}
.shead .wrap {
  transition: height 0.3s;
}
.shead.scrolled {
  box-shadow: 0 12px 30px -18px rgba(0, 0, 0, 0.7);
}
.shead.scrolled .wrap {
  height: 56px;
}

/* Cómo funciona: un carro recorre la ruta al desplazarse */
.route-wrap {
  position: relative;
  margin-top: 64px;
}
.route-fill {
  position: absolute;
  left: 22px;
  top: 21px;
  height: 4px;
  width: var(--fw, 0px);
  border-radius: 2px;
  background: repeating-linear-gradient(90deg, var(--amber) 0 16px, transparent 16px 28px);
}
.js .route::before {
  background: repeating-linear-gradient(90deg, var(--line) 0 16px, transparent 16px 28px);
}
.car {
  position: absolute;
  z-index: 0;
  top: 7px;
  left: 8px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--amber);
  color: var(--night);
  translate: var(--cx, 0px) 0;
  box-shadow: 0 10px 22px -8px rgba(242, 169, 0, 0.8);
}
.car svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.js .route .pin {
  transition:
    background 0.35s,
    color 0.35s,
    scale 0.35s cubic-bezier(0.2, 1.6, 0.4, 1);
}
.js .route li.on .pin {
  background: var(--amber);
  color: var(--night);
  scale: 1.08;
}

/* Millas: la tarjeta se desliza a «Trabajo» y el viaje avanza */
.js .stage:not(.in) .swipe .card {
  transform: none;
}
.js .stage.in .swipe .card {
  animation: swipeIn 1.5s cubic-bezier(0.5, 0, 0.2, 1) 0.9s both;
}
.js .stage .la .bar i {
  width: 16%;
  transition: width 2.8s cubic-bezier(0.3, 0.6, 0.3, 1) 0.5s;
}
.js .stage.in .la .bar i {
  width: 62%;
}

/* Finanzas: barras que se llenan */
.js .ui .meter i {
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.1s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.js .ui.in .meter i {
  transform: none;
}
.js .ui .cat:nth-child(3) .meter i {
  transition-delay: 0.12s;
}
.js .ui .cat:nth-child(4) .meter i {
  transition-delay: 0.24s;
}
.js .ui .cat:nth-child(5) .meter i {
  transition-delay: 0.36s;
}
.js .ui .sbar3 {
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.3s cubic-bezier(0.2, 0.7, 0.2, 1) 0.35s;
}
.js .ui.in .sbar3 {
  transform: none;
}

/* Premium: luz bajo el cursor, interruptor y notificación */
.tile,
.plan.prem {
  position: relative;
  overflow: hidden;
}
.tile > *,
.plan.prem > * {
  position: relative;
  z-index: 1;
}
.tile::before,
.plan.prem::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s;
  background: radial-gradient(
    440px circle at var(--mx, -999px) var(--my, -999px),
    rgba(242, 169, 0, 0.14),
    transparent 45%
  );
}
.tile:hover::before,
.plan.prem:hover::before {
  opacity: 1;
}
.js .tile .tog {
  background: #b9bfb3;
  transition: background 0.4s 1.1s;
}
.js .tile .tog::after {
  right: 15px;
  transition: right 0.45s cubic-bezier(0.3, 1.5, 0.5, 1) 1.1s;
}
.js .tile.in .tog {
  background: #1f7a4a;
}
.js .tile.in .tog::after {
  right: 2px;
}
.js .tile .sugg div {
  opacity: 0;
  translate: -10px 0;
  transition:
    opacity 0.5s,
    translate 0.5s;
}
.js .tile.in .sugg div {
  opacity: 1;
  translate: 0 0;
}
.js .tile.in .sugg div:nth-child(1) {
  transition-delay: 0.6s;
}
.js .tile.in .sugg div:nth-child(2) {
  transition-delay: 0.75s;
}
.js .tile .notif {
  opacity: 0;
  translate: 0 -16px;
  transition:
    opacity 0.5s 0.5s,
    translate 0.8s cubic-bezier(0.2, 1.4, 0.4, 1) 0.5s;
}
.js .tile.in .notif {
  opacity: 1;
  translate: 0 0;
}
.js .onshift i {
  animation: pulse 1.6s ease-out 1s 8;
}

/* Reporte: las filas se «imprimen» */
.js .sheets tbody tr {
  opacity: 0;
  transition: opacity 0.35s;
}
.js .sheets.in tbody tr {
  opacity: 1;
}
.js .sheets.in tbody tr:nth-child(1) {
  transition-delay: 0.35s;
}
.js .sheets.in tbody tr:nth-child(2) {
  transition-delay: 0.6s;
}
.js .sheets.in tbody tr:nth-child(3) {
  transition-delay: 0.85s;
}
.js .sheets.in tbody tr:nth-child(4) {
  transition-delay: 1.1s;
}
.js .sheets.in tbody tr:nth-child(5) {
  transition-delay: 1.5s;
}
.js .sheets .sheet.back {
  transition: transform 1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.2s;
}
.js .sheets:not(.in) .sheet.back {
  transform: rotate(0deg);
}

/* Privacidad: los iconos se dibujan */
.js .pv svg * {
  stroke-dasharray: 90;
  stroke-dashoffset: 90;
  transition: stroke-dashoffset 1.5s cubic-bezier(0.4, 0, 0.2, 1) 0.25s;
}
.js .pv div.in svg * {
  stroke-dashoffset: 0;
}

/* Planes, botones y preguntas */
.price b.flip {
  animation: flip 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.plan {
  transition:
    translate 0.3s cubic-bezier(0.2, 0.7, 0.2, 1),
    box-shadow 0.3s;
}
.plan:hover {
  translate: 0 -4px;
  box-shadow: 0 30px 60px -36px rgba(22, 35, 59, 0.55);
}
.store,
.btn,
.shead .get {
  transition:
    translate 0.25s,
    background 0.25s,
    box-shadow 0.25s;
}
.store:hover {
  translate: 0 -2px;
  background: rgba(255, 255, 255, 0.1);
}
.btn:hover {
  translate: 0 -2px;
  box-shadow: 0 14px 28px -14px rgba(22, 35, 59, 0.6);
}
.shead .get:hover {
  box-shadow: 0 0 0 6px rgba(242, 169, 0, 0.2);
}
.calc-link,
.more a {
  transition: text-underline-offset 0.25s;
}
.calc-link:hover,
.more a:hover {
  text-underline-offset: 10px;
}
.faq summary {
  transition: color 0.2s;
}
.faq summary:hover {
  color: var(--muted);
}
.faq details::details-content {
  block-size: 0;
  overflow: hidden;
  transition:
    block-size 0.35s cubic-bezier(0.2, 0.7, 0.2, 1),
    content-visibility 0.35s allow-discrete;
}
.faq details[open]::details-content {
  block-size: auto;
}

/* ---------- Sitio: estados de tienda, salto al contenido y clases de las maquetas ---------- */
[hidden] {
  display: none !important;
}
body[data-stores='soon'] [data-live],
body[data-stores='live'] [data-soon] {
  display: none !important;
}
.sr:focus {
  position: fixed;
  left: 12px;
  top: 12px;
  width: auto;
  height: auto;
  clip: auto;
  z-index: 60;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 700;
}
main section[id] {
  scroll-margin-top: 72px;
}
.badge img {
  display: block;
  height: 48px;
  width: auto;
}
.badge.gp img {
  height: 70px;
  margin: -11px -8px;
}
.stores .badge {
  display: inline-block;
}
.stage .ex,
.sheets .ex {
  position: absolute;
  right: 22px;
  bottom: 16px;
  font-size: 12px;
  color: var(--muted);
}
.sheets .ex {
  right: 0;
  bottom: 0;
}
.sw-ic {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: var(--chip);
  display: grid;
  place-items: center;
  flex: none;
}
.sw-t {
  flex: 1;
  min-width: 0;
  font-size: 12px;
  line-height: 1.3;
}
.sw-t b {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sw-t span {
  color: var(--muted);
  font-size: 11px;
}
.sw-mi {
  white-space: nowrap;
}
.st-h {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.st-h b {
  font: 700 16px var(--display);
}
.st-h .achip {
  background: var(--chip);
  color: var(--ink);
}
.st-b {
  margin-top: 8px;
}
.cat-h {
  margin-bottom: 4px;
}
.shiftq {
  font: 700 14px var(--display);
}
.shift-chips {
  margin-top: 8px;
}
.notif .nt {
  flex: 1;
}
.notif .nm {
  color: #6a7384;
}
.sfoot nav a {
  padding: 6px 0;
}
@media print {
  .js .rise,
  .hero h1 .w > span {
    opacity: 1 !important;
    transform: none !important;
  }
  .shead {
    position: static;
  }
  .road-zone {
    display: none;
  }
}

/* ---------- Responsivo ---------- */
@media (max-width: 1060px) {
  .shead nav a.nl {
    display: none;
  }
  .dash .wrap {
    grid-template-columns: auto 1fr;
  }
  .facts {
    grid-column: 1 / -1;
    justify-self: start;
    grid-auto-flow: column;
    gap: 24px;
  }
  .feature {
    gap: 48px;
  }
}
@media (max-width: 900px) {
  .hero .wrap {
    grid-template-columns: 1fr;
    padding-top: 48px;
  }
  .hero-vis {
    min-height: 560px;
    max-width: 420px;
    width: 100%;
    margin: 0 auto;
  }
  .road-zone {
    inset: 50% 0 0 0;
    perspective-origin: 50% 0%;
  }
  .road {
    left: 50%;
    width: 620px;
  }
  .cruiser {
    left: calc(50% + 24px);
    width: 130px;
  }
  .feature,
  .feature.rev {
    grid-template-columns: 1fr;
  }
  .feature.rev .copy {
    order: 0;
  }
  .route {
    grid-template-columns: 1fr 1fr;
    row-gap: 44px;
  }
  .route::before,
  .route-fill,
  .car {
    display: none;
  }
  .bento {
    grid-template-columns: 1fr;
  }
  .tile.big {
    grid-row: auto;
  }
  .assure {
    grid-template-columns: 1fr 1fr;
  }
  .plans {
    grid-template-columns: 1fr;
  }
  .faq {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .faq .h2 {
    position: static;
  }
}
@media (max-width: 600px) {
  .hero .wrap {
    padding-bottom: 170px;
  }
  body {
    font-size: 16px;
  }
  .wrap {
    padding-inline: 18px;
  }
  .shead .wrap {
    gap: 12px;
    height: 58px;
  }
  .shead nav {
    gap: 10px;
  }
  .shead .get {
    padding: 8px 13px;
    font-size: 14px;
  }
  .hero h1 {
    font-size: clamp(36px, 10.4vw, 46px);
    line-height: 1.02;
    margin-top: 20px;
  }
  .hero .lead {
    font-size: 17px;
    margin-top: 18px;
  }
  .stores {
    margin-top: 26px;
    gap: 10px;
  }
  .store {
    padding: 9px 14px 9px 12px;
  }
  .hero-vis {
    min-height: 500px;
  }
  .hero-vis .phone {
    --pw: 246px;
  }
  .toast {
    width: 212px;
    left: -4px;
    top: 380px;
    font-size: 11px;
  }
  .dash .wrap {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .facts {
    grid-auto-flow: row;
    gap: 6px;
  }
  .odo {
    font-size: 32px;
  }
  .ded b {
    font-size: 32px;
  }
  .sec {
    padding-block: 84px;
  }
  .route {
    grid-template-columns: 1fr;
  }
  .stage {
    padding: 34px 14px 44px;
    border-radius: 28px;
    flex-wrap: wrap;
  }
  .pv {
    grid-template-columns: 1fr;
  }
  .pv div,
  .pv div:nth-child(even) {
    padding: 24px 0;
    border-left: 0;
  }
  .assure {
    grid-template-columns: 1fr;
  }
  .tile {
    padding: 24px 20px;
  }
  .plan {
    padding: 28px 22px;
  }
  .calc {
    padding: 32px 24px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .odo .strip {
    transition: none;
  }
}
