/* Andén: estilos de la plantilla. El depósito como una estación: carbón, naranja señal y ámbar de tablero; una
   grotesca condensada de señalética (Barlow Condensed), Barlow para el texto y Red Hat Mono para el tablero de paletas.
   Lo que se anima por cuadro usa solo transform y opacity. */
:root {
  --carbon: #101112;
  --carbon-2: #17191b;
  --carbon-3: #212427;
  --carbon-4: #2d3135;
  --paper: #ebe8e1;
  --paper-2: #dedad1;
  --white: #f6f3ec;
  --ink: #101112;
  --ink-2: #474c51;
  --amber: #f5b13d;
  --sig: #ff5a1f;
  --sig-d: #c63c0a;
  --steel: #8f959a;
  --steel-l: #bcc0c2;
  --ok: #46d184;
  --ok-d: #136b3c;
  --warn: #ff7a3d;
  --flap-bg: #1d1f21;
  --flap-bg-2: #17191a;
  --flap-ink: #f3efe6;
  --line-d: rgba(246, 243, 236, .12);
  --line-d2: rgba(246, 243, 236, .22);
  --line-l: rgba(16, 17, 18, .14);
  --line-l2: rgba(16, 17, 18, .28);
  --disp: "Barlow Condensed", "Arial Narrow", ui-sans-serif, system-ui, sans-serif;
  --sans: "Barlow", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Red Hat Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --pad: clamp(16px, 4vw, 56px);
  --hdr: 64px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --focus: var(--amber);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { margin: 0; background: var(--carbon); color: var(--ink); font: 400 17px/1.55 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, output { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p, dl, dd, figure, ol, ul, blockquote { margin: 0; }
ol, ul { padding: 0; list-style: none; }
::selection { background: var(--amber); color: var(--ink); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.sec-l, .sec-c { --focus: var(--ink); }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.mono { font-family: var(--mono); font-size: 11px; font-stretch: 87.5%; letter-spacing: .03em; text-transform: uppercase; font-weight: 400; }
.wrap { width: 100%; max-width: 1440px; margin: 0 auto; padding-inline: var(--pad); }
.led { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); flex: none; box-shadow: 0 0 0 3px rgba(70, 209, 132, .18); }
@media (prefers-reduced-motion: no-preference) { .led { animation: blink 1.6s steps(2, jump-none) infinite; } }
@keyframes blink { 50% { opacity: .35; } }
.skip { position: fixed; left: 12px; top: 12px; z-index: 300; background: var(--amber); color: var(--ink); padding: 10px 16px; border-radius: 6px; font-weight: 600; transform: translateY(-160%); }
.skip:focus-visible { transform: none; outline-color: var(--ink); }

/* ---------- Botones (pill con el padding óptico de las puntas) y links ---------- */
.btn { --h: 48px; --r: calc(var(--h) / 2); --p: 20px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; block-size: var(--h);
  padding-inline: calc(var(--p) + var(--r) * .215); border: 0; border-radius: var(--r);
  font: 600 16px/1 var(--sans); letter-spacing: .005em; white-space: nowrap; transition: background-color .3s, color .3s, transform .2s var(--ease); }
.btn:active { transform: translateY(1px) scale(.985); }
.btn .arr { display: inline-block; transition: transform .35s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn-sm { --h: 40px; --p: 14px; font-size: 14.5px; }
.btn-sig { background: var(--sig); color: var(--ink); }
.btn-sig:hover { background: var(--amber); }
.btn-ink { background: var(--ink); color: var(--white); }
.btn-ink:hover { background: var(--carbon-4); }
.btn-line { background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }
.btn-line:hover { background: var(--white); color: var(--ink); box-shadow: none; }
.btn-wa { background: #25d366; color: #06301a; }
.btn-wa:hover { background: #4be083; }
.btn-wa:has(> svg:first-child) { padding-inline-start: calc((var(--h) - 22px) / 2); }
.btn-wa svg { width: 22px; height: 22px; fill: currentColor; flex: none; }
.ibtn { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line-l2); background: transparent; display: inline-grid; place-items: center; font-size: 18px; transition: background-color .25s, color .25s; }
.ibtn:hover { background: var(--ink); color: var(--white); }
.link-u { background: none; border: 0; padding: 0 0 2px; cursor: pointer; font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.link-u:hover { text-decoration-color: var(--sig); }
a[target="_blank"]::after { content: "" / " (abre en una pestaña nueva)"; display: inline-block; inline-size: .7em; block-size: .7em; margin-inline-start: .25em; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M4 2h6v6M10 2 3 9' fill='none' stroke='%23000' stroke-width='1.6'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M4 2h6v6M10 2 3 9' fill='none' stroke='%23000' stroke-width='1.6'/%3E%3C/svg%3E") center / contain no-repeat; }
.nodo-badge a[target="_blank"]::after { display: none; }

/* ---------- Tablero de paletas (split-flap) ---------- */
.flap { --cw: 20px; --cg: 2px; display: inline-flex; gap: var(--cg); vertical-align: middle; }
.fc { position: relative; flex: none; width: var(--cw); height: calc(var(--cw) * 1.42); perspective: calc(var(--cw) * 9); color: var(--flap-ink);
  font: 600 calc(var(--cw) * 1.02)/1 var(--mono); font-stretch: 87.5%; }
.fc-t, .fc-b { position: absolute; left: 0; right: 0; height: 50%; overflow: hidden; background: var(--flap-bg); -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.fc-t { top: 0; border-radius: 3px 3px 0 0; transform-origin: 50% 100%; background: linear-gradient(#232527, var(--flap-bg)); }
.fc-b { bottom: 0; border-radius: 0 0 3px 3px; transform-origin: 50% 0; background: var(--flap-bg-2); }
.fc b { display: block; height: 200%; line-height: calc(var(--cw) * 1.42); text-align: center; font-weight: inherit; }
.fc-b b { transform: translateY(-50%); }
.fc-l { z-index: 2; }
.fc::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; margin-top: -.5px; background: rgba(0, 0, 0, .65); z-index: 3; }
.flap[data-tone="run"] .fc, .flap[data-tone="amber"] .fc { color: var(--amber); }
.flap[data-tone="ok"] .fc { color: var(--ok); }
.flap[data-tone="warn"] .fc { color: var(--warn); }
.flap[data-tone="dep"] .fc { color: var(--steel-l); }

/* ---------- Header y menú ---------- */
.hdr { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--hdr); display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding-inline: var(--pad); color: var(--white); transition: background-color .35s, transform .45s var(--ease), border-color .35s; border-bottom: 1px solid transparent; }
.hdr.scrolled { background: rgba(16, 17, 18, .9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-color: var(--line-d); }
.hdr.hidden { transform: translateY(-100%); }
.logo { display: flex; align-items: center; gap: 10px; padding: 4px; margin-left: -4px; }
.logo-mark { width: 30px; height: 30px; }
.lm-rail { stroke: var(--amber); stroke-width: 2.4; fill: none; }
.lm-dot { fill: var(--sig); }
.lm-box { fill: none; stroke: currentColor; stroke-width: 2.2; }
.logo-w { font: 800 26px/1 var(--disp); letter-spacing: .02em; text-transform: uppercase; }
.nav { display: flex; gap: 2px; }
.nav a { position: relative; padding: 10px 12px; font: 500 15px/1 var(--sans); color: var(--steel-l); border-radius: 6px; transition: color .2s; }
.nav a:hover, .nav a.on { color: var(--white); }
.nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 0; height: 2px; background: var(--amber); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav a.on::after { transform: scaleX(1); }
.hdr-r { display: flex; align-items: center; gap: 16px; }
.hdr-live { display: inline-flex; align-items: center; gap: 8px; color: var(--steel-l); }
.hdr-live b { color: var(--white); font-weight: 600; }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line-d2); border-radius: 50%; background: transparent; position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: currentColor; transition: transform .35s var(--ease); }
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 24px; }
.menu-open .burger span:first-child { transform: translateY(3px) rotate(45deg); }
.menu-open .burger span:last-child { transform: translateY(-3px) rotate(-45deg); }
.menu { position: fixed; inset: 0; z-index: 90; background: var(--carbon); color: var(--white); padding: calc(var(--hdr) + 24px) var(--pad) 28px; display: flex; flex-direction: column; justify-content: space-between; overflow-y: auto; }
.menu[hidden] { display: none; }
.menu-nav { display: flex; flex-direction: column; }
.menu-nav a { display: flex; align-items: baseline; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line-d); font: 700 clamp(30px, 8.5vw, 52px)/1 var(--disp); text-transform: uppercase; }
.menu-nav .mono { color: var(--amber); }
.menu-foot { color: var(--steel-l); margin-top: 20px; }
@media (prefers-reduced-motion: no-preference) { .menu:not([hidden]) .menu-nav a { animation: fadeUp .5s var(--ease) both; } }

/* ---------- Encabezados de sección: carteles de andén ---------- */
.sign { display: inline-flex; align-items: center; gap: 10px; padding: 5px 16px 5px 5px; border-radius: 6px; background: var(--ink); color: var(--white);
  font: 700 15px/1 var(--disp); letter-spacing: .08em; text-transform: uppercase; }
.sign-n { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--amber); color: var(--ink); font: 700 13px/1 var(--mono); letter-spacing: 0; }
.sign-d { background: var(--white); color: var(--ink); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 18px 48px; align-items: end; margin-bottom: clamp(32px, 5vw, 60px); }
.sec-head .sign { grid-column: 1 / -1; justify-self: start; }
.sec-t { font: 800 clamp(42px, 6.4vw, 96px)/.9 var(--disp); letter-spacing: -.005em; text-transform: uppercase; text-wrap: balance; }
.sec-t em { font-style: normal; color: var(--sig-d); }
.sec-d .sec-t em { color: var(--amber); }
.sec-aside { max-width: 46ch; color: var(--ink-2); font-size: 18px; }
.sec-d .sec-aside { color: var(--steel-l); }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .sec-head .sign { animation: signIn linear both; animation-timeline: view(); animation-range: entry 0% entry 70%; }
  }
}
@keyframes signIn { from { opacity: 0; transform: translateX(-28px); } to { opacity: 1; transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

section { position: relative; }
.sec-l { background: var(--paper); color: var(--ink); padding-block: clamp(72px, 10vw, 140px); }
.sec-c { background: var(--paper-2); color: var(--ink); padding-block: clamp(72px, 10vw, 140px); }
.sec-d { background: var(--carbon); color: var(--white); padding-block: clamp(72px, 10vw, 140px); }

@media (prefers-reduced-motion: no-preference) {
  html.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
  html.js [data-reveal].in { opacity: 1; transform: none; }
}

/* =====================================================================
   PORTADA: tablero de salidas
   ===================================================================== */
.hero { background: var(--carbon); color: var(--white); min-height: 100svh; display: flex; padding: calc(var(--hdr) + 10px) 0 clamp(28px, 4vw, 48px); }
.hero-in { display: flex; flex-direction: column; gap: clamp(18px, 2.6vw, 34px); justify-content: space-between; }
.hero-meta { display: flex; gap: 28px; color: var(--steel-l); padding-bottom: 12px; border-bottom: 1px solid var(--line-d); }
.hero-meta span:first-child { color: var(--amber); }
.hero-top { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px 56px; align-items: end; }
.hero-h { font: 800 clamp(58px, 9.2vw, 152px)/.84 var(--disp); text-transform: uppercase; letter-spacing: -.01em; }
.hero-h span { display: block; }
.hero-h span:last-child { color: var(--amber); }
@media (prefers-reduced-motion: no-preference) {
  .hero-h span { animation: heroIn .9s var(--ease) both; }
  .hero-h span:last-child { animation-delay: .12s; }
  .hero-copy { animation: fadeUp .9s .25s var(--ease) both; }
}
@keyframes heroIn { from { opacity: 0; transform: translateY(40%); } to { opacity: 1; transform: none; } }
.hero-copy { display: grid; gap: 22px; padding-bottom: 6px; }
.hero-lead { color: var(--steel-l); font-size: clamp(17px, 1.35vw, 19px); max-width: 44ch; }
.hero-trk label, .trk-form label { display: block; margin-bottom: 8px; color: var(--steel-l); }
.field { display: flex; align-items: center; gap: 6px; padding: 5px 5px 5px 18px; border-radius: 999px; background: var(--carbon-3); box-shadow: inset 0 0 0 1.5px var(--line-d2); transition: box-shadow .2s; }
.field:focus-within { box-shadow: inset 0 0 0 2px var(--amber); }
.field input { flex: 1; width: 0; min-width: 0; height: 40px; border: 0; background: transparent; outline: none; font: 500 16px/1 var(--mono); letter-spacing: .04em; text-transform: uppercase; }
.field input::placeholder { color: var(--steel); }
.field .btn { --h: 42px; }
.field.shake { animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }

.board-wrap { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px; align-items: stretch; }
.board { --cw: clamp(13px, 2.05vw, 29px); --cg: 2px; --colg: clamp(10px, 1.3vw, 18px); background: #0a0b0c; border: 1px solid var(--line-d2); border-radius: 10px;
  padding: clamp(12px, 1.4vw, 20px); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .05); }
.board .flap { --cw: inherit; }
.board-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 12px; }
.board-title { display: flex; align-items: baseline; gap: 14px; }
.board-es { font: 800 clamp(22px, 2.2vw, 32px)/1 var(--disp); text-transform: uppercase; color: var(--amber); letter-spacing: .04em; }
.board-title .mono { color: var(--steel-l); }
.board-clock { display: inline-flex; align-items: center; gap: 8px; color: var(--white); font-size: 13px; }
.board-head, .brow { display: flex; gap: var(--colg); }
.board-head { padding-bottom: 8px; color: var(--steel); font-size: 10px; }
.board-head .bc { --n: 1; flex: none; width: calc(var(--n) * (var(--cw) + var(--cg)) - var(--cg)); }
.board-head .bc-3 { white-space: nowrap; }
.brow { padding-block: 5px; border-top: 1px solid rgba(255, 255, 255, .06); }
.board-side { display: grid; grid-auto-rows: 1fr; border: 1px solid var(--line-d); border-radius: 10px; }
.board-side div { padding: 14px 18px; display: flex; flex-direction: column; justify-content: center; gap: 6px; }
.board-side div + div { border-top: 1px solid var(--line-d); }
.board-side dt { color: var(--steel-l); }
.board-side dd { font: 600 16px/1.1 var(--sans); color: var(--steel-l); }
.board-side dd b { display: block; font: 700 clamp(28px, 2.6vw, 40px)/1 var(--disp); color: var(--white); letter-spacing: .01em; font-variant-numeric: tabular-nums; }

/* =====================================================================
   EL VIAJE DE UN PAQUETE
   ===================================================================== */
.trip { background: var(--carbon); color: var(--white); }
.trip-panel { height: 100svh; min-height: 560px; display: flex; flex-direction: column; padding-top: calc(var(--hdr) + 4px); overflow: hidden; position: relative; }
.trip-panel::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(70% 55% at 50% 62%, rgba(245, 177, 61, .07), transparent 70%); }
.trip-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; position: relative; z-index: 4; }
.trip-head { max-width: 560px; display: grid; gap: 10px; justify-items: start; }
.trip-t { font: 800 clamp(30px, 3.6vw, 54px)/.92 var(--disp); text-transform: uppercase; }
.trip-t em { font-style: normal; color: var(--amber); }
.trip-lead { color: var(--steel-l); font-size: 16px; }
.dep { --cw: 17px; flex: none; width: min(100%, 380px); border: 1px solid var(--line-d2); border-radius: 10px; background: rgba(10, 11, 12, .82); padding: 12px 14px; display: grid; gap: 10px; }
.dep .mono { color: var(--steel); font-size: 10px; }
.dep-row { display: flex; gap: 10px; }
.dep-row span:nth-child(2), .dep-row span:nth-child(4) { color: var(--white); }
.dep-row span:nth-child(3) { margin-left: auto; }
.dep-main { display: flex; gap: 18px; border-block: 1px solid var(--line-d); padding-block: 8px; }
.dep-main div { display: grid; gap: 2px; }
.dep-main b { font: 700 30px/1 var(--disp); letter-spacing: .02em; }
.dep-h { color: var(--amber); font-variant-numeric: tabular-nums; min-width: 3.1em; }
.dep-dest b { text-transform: uppercase; }
.dep-st { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.dep .flap { --cw: inherit; }

.trip-scene { position: relative; flex: 1 1 auto; min-height: 200px; margin-block: 6px; z-index: 1;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.trip-layers { position: absolute; inset: 0; }
.lay { position: absolute; left: 0; top: 0; height: 100%; width: auto; aspect-ratio: var(--w) / 600; overflow: visible; }
.trip.is-live .lay, .trip.is-live .van { will-change: transform; }
.lay-far { z-index: 1; }
.lay-main { z-index: 2; }
.van { z-index: 3; }
.lay-near { z-index: 4; }
.lay path { fill: none; stroke: var(--amber); stroke-width: 1.4; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-linejoin: round; }
.lay .k { stroke-opacity: .9; }
.lay .k2 { stroke-opacity: .55; }
.lay .k3 { stroke-opacity: .3; }
.lay .k4 { stroke-opacity: .16; }
.lay-far path { stroke-opacity: .32; }
.lay-far .k4 { stroke-opacity: .14; }
.lay-near path { stroke: var(--steel-l); stroke-opacity: .5; stroke-width: 2; }
.lay .f { fill: var(--carbon); }
.lay .hl { stroke: var(--sig); stroke-opacity: 1; stroke-width: 2; }
.lay .hlf { fill: var(--sig); }
.lay .dash { stroke-dasharray: 3 7; }
.lay .dash2 { stroke-dasharray: 10 10; stroke-width: 3; }
.lay .lane { stroke-dasharray: 26 30; stroke-opacity: .45; }
.lay .st-b { stroke-opacity: .9; fill: #0c0d0e; }
.lay text { fill: var(--amber); font-family: var(--disp); font-weight: 700; letter-spacing: .06em; }
.lay .st-t { font-size: 22px; fill: var(--white); }
.lay .st-n { font: 700 15px/1 var(--mono); fill: var(--ink); letter-spacing: 0; }
.lay .sg { font-size: 18px; letter-spacing: .1em; }
.lay .sg-w { font-size: 17px; letter-spacing: .32em; fill-opacity: .8; }
.lay .sg-s { font: 500 11px/1 var(--mono); letter-spacing: .12em; fill-opacity: .7; }
.lay .sg-xs { font: 500 9px/1 var(--mono); letter-spacing: .08em; fill: var(--sig); }
.lay .sg-m { font: 500 12px/1 var(--mono); letter-spacing: .04em; fill-opacity: .85; }
.lay .sg-n { font: 700 26px/1 var(--disp); fill-opacity: .9; }
.lay .hlt { fill: var(--sig); fill-opacity: 1; }
.van { position: absolute; left: 0; top: calc(392 / 600 * 100%); height: calc(112 / 600 * 100%); aspect-ratio: 220 / 112; }
.van-svg { height: 100%; width: auto; overflow: visible; display: block; }
.van-svg path, .van-svg circle { fill: none; stroke: var(--white); stroke-width: 1.6; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.van-svg .vb { fill: var(--carbon-2); stroke-width: 2; }
.van-svg .vl2 { stroke-opacity: .4; }
.van-svg .vs { stroke: var(--sig); stroke-width: 3; }
.van-svg .van-beam { stroke: none; fill: url(#beam); }
.van-svg .wh circle:first-child { fill: var(--carbon); stroke-width: 2; }
.van-svg .wh path { stroke-opacity: .55; }
.van-svg .vt { fill: var(--white); font: 800 22px/1 var(--disp); letter-spacing: .1em; }

.pod { position: absolute; z-index: 6; right: clamp(16px, 6vw, 96px); top: 4%; width: clamp(190px, 19vw, 270px); background: var(--white); color: var(--ink); padding: 10px 10px 14px;
  border-radius: 6px; box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .8); transform: rotate(2.5deg); }
.trip.is-live .pod { opacity: 0; transform: translateY(26px) rotate(-2deg); transition: opacity .45s var(--ease), transform .6s var(--ease); }
.trip.is-live .pod.on { opacity: 1; transform: rotate(2.5deg); }
.pod img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 66%; border-radius: 3px; }
.pod figcaption { display: grid; gap: 3px; padding-top: 10px; font-size: 14px; line-height: 1.25; }
.pod figcaption .mono { color: var(--ink-2); font-size: 9.5px; }
.pod-sig { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: var(--ink-2); font-size: 12.5px; }
.pod-sig svg { width: 92px; height: 24px; flex: none; }
.pod-sig path { fill: none; stroke: #1c3a8a; stroke-width: 2; stroke-linecap: round; }
.pod-cover { fill: var(--white); }
.trip.is-live .pod-cover { transform-box: fill-box; transform-origin: 100% 50%; transition: transform 1s .35s var(--ease); }
.trip.is-live .pod.on .pod-cover, .trip:not(.is-live) .pod-cover { transform: scaleX(0); }

.trip-bar { position: relative; z-index: 5; display: grid; grid-template-columns: 200px minmax(0, 1fr) 120px; gap: 28px; align-items: start;
  padding-top: 14px; padding-bottom: 64px; border-top: 1px solid var(--line-d); }
.tb-now { display: grid; gap: 4px; }
.tb-now .mono { color: var(--steel); }
.tb-now b { font: 700 24px/1 var(--disp); text-transform: uppercase; color: var(--amber); }
.tb-track { position: relative; height: 118px; margin-inline: 8px; }
.tb-rail { position: absolute; left: 0; right: 0; top: 9px; height: 3px; background: var(--line-d2); border-radius: 2px; }
.tb-rail i { position: absolute; inset: 0; background: var(--amber); transform-origin: left; transform: scaleX(0); border-radius: inherit; }
.tb-stop { position: absolute; top: 0; left: calc(var(--x) * 100%); width: 112px; transform: translateX(-50%); text-align: center; display: grid; justify-items: center; gap: 3px; }
.tb-stop:first-child { transform: none; text-align: left; justify-items: start; margin-left: -10px; }
.tb-stop:last-child { transform: translateX(-100%); text-align: right; justify-items: end; margin-left: 10px; }
.tb-dot { width: 21px; height: 21px; border-radius: 50%; background: var(--carbon); border: 3px solid var(--carbon-4); transition: border-color .3s, background-color .3s; margin-bottom: 4px; position: relative; }
.tb-stop.on .tb-dot { border-color: var(--amber); background: var(--amber); }
.tb-stop.now .tb-dot { background: var(--carbon); border-color: var(--sig); }
.tb-stop.now .tb-dot::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--sig); }
@media (prefers-reduced-motion: no-preference) { .tb-stop.now .tb-dot::after { animation: blink 1s steps(2, jump-none) infinite; } }
.tb-h { color: var(--steel); font-size: 10.5px; }
.tb-t { font: 700 17px/1.05 var(--disp); text-transform: uppercase; color: var(--steel-l); letter-spacing: .02em; transition: color .3s; }
.tb-d { font-size: 12.5px; line-height: 1.3; color: var(--steel); max-width: 112px; }
.tb-stop.on .tb-t { color: var(--white); }
.tb-stop.now .tb-h { color: var(--amber); }
.tb-odo { display: grid; gap: 4px; text-align: right; color: var(--steel); }
.tb-odo b { font: 700 34px/1 var(--disp); color: var(--white); font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.tb-odo span:first-child { color: var(--steel-l); }

/* Sin movimiento o sin JS: la sección no se fija y el viaje se ve ya entregado */
.trip:not(.is-live) .tb-stop .tb-t { color: var(--white); }
.trip:not(.is-live) .trip-panel { height: auto; min-height: 0; }
.trip:not(.is-live) .trip-scene { height: clamp(260px, 40vw, 520px); flex: none; }

/* =====================================================================
   SEGUIMIENTO
   ===================================================================== */
.trk-bar { display: flex; justify-content: space-between; align-items: end; gap: 20px 40px; flex-wrap: wrap; margin-bottom: 22px; }
.trk-form { flex: 1 1 360px; max-width: 520px; }
.trk-form label { color: var(--ink-2); }
.trk .field { background: var(--white); box-shadow: inset 0 0 0 1.5px var(--line-l2); padding-left: 16px; }
.trk .field:focus-within { box-shadow: inset 0 0 0 2px var(--ink); }
.field-pre { color: var(--ink-2); font-size: 14px; }
.trk-err { min-height: 1.4em; margin-top: 8px; color: var(--sig-d); text-transform: none; font-size: 12px; }
.trk-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.trk-chips > .mono { color: var(--ink-2); margin-right: 4px; }
.trk-chip { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 3px; padding: 8px 16px 8px 14px; border-radius: 10px; border: 1.5px solid var(--line-l2); background: var(--white);
  transition: border-color .2s, background-color .2s, color .2s; min-height: 44px; }
.trk-chip b { font: 600 12.5px/1 var(--mono); font-stretch: 87.5%; }
.trk-chip small { font-size: 13px; color: var(--ink-2); display: inline-flex; align-items: center; gap: 6px; }
.trk-chip small::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c, var(--steel)); }
.trk-chip.st-camino { --c: #d18a0f; }
.trk-chip.st-ok { --c: var(--ok-d); }
.trk-chip.st-demora { --c: var(--sig-d); }
.trk-chip:hover { border-color: var(--ink); }
.trk-chip[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: var(--white); }
.trk-chip[aria-pressed="true"] small { color: var(--steel-l); }

.trk-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); grid-template-areas: "board info" "line line" "notify notify"; gap: 18px; }
.trk-board { grid-area: board; --cw: clamp(15px, 1.6vw, 22px); background: var(--carbon); color: var(--white); border-radius: 12px; padding: 18px 20px; display: grid; gap: 14px; align-content: start; }
.trk-board .flap { --cw: inherit; }
.tbd-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--steel-l); padding-bottom: 12px; border-bottom: 1px solid var(--line-d); }
.tbd-top > span:first-child { display: inline-flex; gap: 8px; align-items: center; }
.tbd { display: grid; grid-template-columns: auto auto; justify-content: start; gap: 12px 26px; }
.tbd > div { display: grid; gap: 6px; align-content: start; }
.tbd dt { color: var(--steel); font-size: 10px; }
.tbd-est { grid-column: 1 / -1; }
.trk-info { grid-area: info; background: var(--white); border-radius: 12px; padding: 20px 22px; border: 1px solid var(--line-l); }
.ti-empty { display: grid; gap: 6px; align-content: center; height: 100%; color: var(--ink-2); }
.ti-body { display: none; }
.trk.has .ti-empty { display: none; }
.trk.has .ti-body { display: grid; gap: 14px; }
@media (prefers-reduced-motion: no-preference) { .trk.has .ti-body { animation: fadeUp .5s var(--ease) both; } }
.ti-eta { font: 700 clamp(24px, 2.2vw, 32px)/1.05 var(--disp); text-transform: uppercase; }
.ti-rows > div { display: grid; grid-template-columns: 84px 1fr; gap: 12px; padding-block: 9px; border-top: 1px solid var(--line-l); }
.ti-rows dt { color: var(--ink-2); padding-top: 3px; }
.ti-rows dd { display: grid; font-size: 15.5px; line-height: 1.35; }
.ti-rows small { color: var(--ink-2); font-size: 13.5px; }

.trk-line { grid-area: line; position: relative; background: var(--white); border: 1px solid var(--line-l); border-radius: 12px; padding: 22px 22px 24px; --x0: 0px; --y0: 0px; --len: 0px; }
.tl-rail { position: absolute; left: var(--x0); top: var(--y0); width: var(--len); height: 5px; margin-top: -2.5px; background: var(--paper-2); border-radius: 3px; }
.trk-line.vert .tl-rail { width: 5px; height: var(--len); margin: 0 0 0 -2.5px; }
.tl-fill { position: absolute; inset: 0; background: var(--ink); transform-origin: left; transform: scaleX(0); border-radius: inherit; }
.trk-line.vert .tl-fill { transform-origin: top; transform: scaleY(0); }
.trk-line.anim .tl-fill, .trk-line.anim .tl-van { transition: transform 1.7s cubic-bezier(.6, 0, .3, 1); }
.tl-van { position: absolute; left: 0; top: 0; z-index: 3; width: 48px; height: 26px; margin: -13px 0 0 -24px; opacity: 0; transition: opacity .3s; }
.trk-line:not([data-st="none"]) .tl-van { opacity: 1; }
.tl-van svg { width: 48px; height: 26px; display: block; overflow: visible; }
.tl-van .vm-b { fill: var(--sig); stroke: var(--ink); stroke-width: 1.5; }
.tl-van .vm-l { fill: var(--white); }
.tl-van .vm-w { fill: var(--ink); stroke: var(--white); stroke-width: 1.2; }
.trk-line.vert .tl-van svg { transform: rotate(90deg); }
.tl-stops { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.step { display: flex; flex-direction: column; gap: 4px; position: relative; padding-right: 6px; transition: opacity .3s; }
.step-place { order: -1; font: 700 15px/1.1 var(--disp); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); min-height: 2.2em; padding-top: 26px; }
.step-dot { width: 22px; height: 22px; border-radius: 50%; background: var(--white); border: 3px solid var(--paper-2); position: relative; z-index: 2; margin: 6px 0 8px; transition: border-color .3s, background-color .3s; }
.step-t { font: 700 20px/1.05 var(--disp); text-transform: uppercase; }
.step-h { color: var(--ink-2); }
.step-d { color: var(--ink-2); font-size: 14px; line-height: 1.35; }
.step.done .step-dot { border-color: var(--ink); background: var(--ink); }
.step.now .step-dot { border-color: var(--sig); background: var(--white); }
.step.now .step-dot::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--sig); }
@media (prefers-reduced-motion: no-preference) { .step.now .step-dot::after { animation: blink 1s steps(2, jump-none) infinite; } }
.trk-line[data-st="demora"] .step.now .step-dot { border-color: var(--sig-d); }
.trk-line[data-st="demora"] .step.now .step-t { color: var(--sig-d); }
.step.next { opacity: .55; }
.step.done .step-place, .step.now .step-place { color: var(--ink); }
.trk-line[data-st="none"] .step { opacity: .6; }
.trk-notify { grid-area: notify; display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 4px 4px 0; }
.trk-ok { color: var(--ok-d); text-transform: none; font-size: 12px; }

/* Switch */
.switch { display: inline-flex; align-items: flex-start; gap: 12px; cursor: pointer; line-height: 1.35; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.sw { flex: none; width: 46px; height: 26px; border-radius: 13px; background: var(--paper-2); box-shadow: inset 0 0 0 1.5px var(--line-l2); position: relative; transition: background-color .25s; }
.sw::after { content: ""; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--white); box-shadow: 0 1px 3px rgba(0, 0, 0, .3); transition: transform .3s var(--ease); }
.switch input:checked + .sw { background: var(--ok-d); box-shadow: none; }
.switch input:checked + .sw::after { transform: translateX(20px); }
.switch input:focus-visible + .sw { outline: 2px solid var(--focus); outline-offset: 3px; }
.switch small { display: block; color: var(--steel); font-size: 13.5px; }

/* =====================================================================
   COTIZADOR: el pasaje de carga
   ===================================================================== */
.q-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, .85fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.q-form { display: grid; gap: 26px; }
.q-f { border: 0; padding: 0; margin: 0; min-width: 0; }
.q-f legend { display: flex; gap: 10px; padding: 0; margin-bottom: 12px; color: var(--steel-l); }
.q-f legend span { color: var(--amber); }
.q-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.q-opt { --h: 44px; display: inline-flex; align-items: center; gap: 9px; min-height: var(--h); padding: 0 18px 0 7px; border-radius: 999px; border: 1.5px solid var(--line-d2);
  background: transparent; color: var(--white); font: 500 15.5px/1 var(--sans); transition: background-color .2s, border-color .2s, color .2s; }
.q-opts-sm .q-opt { padding-inline: 16px 18px; }
.q-opt:hover { border-color: var(--steel-l); }
.q-opt[aria-pressed="true"] { background: var(--amber); border-color: var(--amber); color: var(--ink); }
.lb { width: 30px; height: 30px; flex: none; border-radius: 50%; display: grid; place-items: center; font: 700 11px/1 var(--mono); font-style: normal; letter-spacing: 0;
  background: var(--carbon-4); color: var(--white); }
.q-opt[aria-pressed="true"] .lb { background: var(--ink); color: var(--amber); }
.q-row2 { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 26px; }
.stepper { display: inline-flex; align-items: center; gap: 4px; border: 1.5px solid var(--line-d2); border-radius: 999px; padding: 3px; height: 50px; }
.stepper button { width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--carbon-3); font-size: 20px; transition: background-color .2s; }
.stepper button:hover { background: var(--carbon-4); }
.stepper output { min-width: 40px; text-align: center; font: 700 26px/1 var(--disp); }
.q-svcs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.q-svc { display: grid; gap: 4px; align-content: start; text-align: left; padding: 14px 14px 16px; border-radius: 12px; border: 1.5px solid var(--line-d2); background: transparent; transition: background-color .2s, border-color .2s, color .2s; }
.q-svc b { font: 700 21px/1 var(--disp); text-transform: uppercase; }
.q-svc small { color: var(--steel-l); font-size: 13.5px; line-height: 1.3; }
.q-svc:hover { border-color: var(--steel-l); }
.q-svc[aria-pressed="true"] { background: var(--white); color: var(--ink); border-color: var(--white); }
.q-svc[aria-pressed="true"] small { color: var(--ink-2); }
.q-svc:disabled { opacity: .35; cursor: not-allowed; }
.q-acct { padding: 16px 18px; border-radius: 12px; background: var(--carbon-2); border: 1px solid var(--line-d); color: var(--steel-l); font-size: 15.5px; }
.q-acct b { color: var(--white); }
.q-acct .link-u { color: var(--amber); margin-left: 4px; }

.q-ticket { --cw: clamp(19px, 2vw, 26px); --focus: var(--ink); position: sticky; top: calc(var(--hdr) + 16px); background: #f4efe3; color: var(--ink); border-radius: 14px; padding: 20px 22px 18px;
  display: grid; gap: 14px; box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .9); }
.q-ticket.bump { animation: bump .45s var(--ease); }
@media (prefers-reduced-motion: reduce) { .q-ticket.bump { animation: none; } }
@keyframes bump { 40% { transform: translateY(-4px); } }
.qt-head { display: flex; justify-content: space-between; color: var(--ink-2); padding-bottom: 12px; border-bottom: 1.5px solid var(--ink); }
.qt-route { display: grid; grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1fr); align-items: end; gap: 10px; }
.qt-route div { display: grid; gap: 4px; min-width: 0; }
.qt-route .mono { color: var(--ink-2); }
.qt-route b { font: 800 clamp(26px, 2.5vw, 36px)/.95 var(--disp); text-transform: uppercase; }
.qt-to { text-align: right; }
.qt-arrow { width: 64px; height: 18px; margin-bottom: 8px; }
.qt-arrow path { fill: none; stroke: var(--ink); stroke-width: 2; }
.qt-arrow circle { fill: var(--sig); }
.qt-data { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; }
.qt-data > div { display: grid; gap: 3px; align-content: start; }
.qt-data dt { color: var(--ink-2); font-size: 10px; }
.qt-data dd { font-weight: 600; font-size: 15px; line-height: 1.3; display: flex; align-items: center; gap: 8px; }
.qt-plazo { grid-column: 1 / -1; }
.qt-plazo dd { font: 700 21px/1.1 var(--disp); text-transform: uppercase; }
.qt-data svg { width: 46px; height: 20px; flex: none; }
.qt-data .vs { fill: none; stroke: var(--ink); stroke-width: 2.6; }
.qt-data .vs-box { fill: var(--sig); stroke: none; }
.qt-data .vs-w { fill: #f4efe3; }
.qt-cut { position: relative; border-top: 2px dashed var(--line-l2); margin-inline: -22px; }
.qt-cut::before, .qt-cut::after { content: ""; position: absolute; top: -12px; width: 22px; height: 22px; border-radius: 50%; background: var(--carbon); }
.qt-cut::before { left: -11px; }
.qt-cut::after { right: -11px; }
.qt-lines { display: grid; gap: 6px; font-size: 11px; color: var(--ink-2); }
.qt-lines li { display: flex; justify-content: space-between; gap: 12px; }
.qt-lines b { color: var(--ink); font-weight: 500; }
.qt-price { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 10px 12px; border-radius: 10px; background: var(--carbon); color: var(--steel-l); }
.flap-price { --cw: inherit; }
.qt-iva { margin-left: auto; }
.qt-note { color: var(--ink-2); text-transform: none; font-size: 11.5px; line-height: 1.45; }
.qt-note.warn { color: var(--sig-d); }
.q-ticket .btn-wa { width: 100%; }
.qt-foot { text-align: center; color: var(--ink-2); font-size: 10px; }
.qt-code { display: flex; gap: 2px; height: 30px; opacity: .85; }
.qt-code i { flex: var(--w); background: var(--ink); }
.qt-code i:nth-child(3n) { background: transparent; }

/* =====================================================================
   SERVICIOS: el horario
   ===================================================================== */
.tt { border-top: 2px solid var(--ink); }
.tt-head, .tt-row { display: grid; grid-template-columns: 64px minmax(0, 1.5fr) minmax(0, 1.2fr) minmax(0, .9fr) minmax(0, .8fr) 44px; gap: 16px; align-items: center; }
.tt-head { padding: 12px 0; color: var(--ink-2); border-bottom: 1px solid var(--line-l2); }
.tt-h { font: inherit; }
.tt-row { width: 100%; text-align: left; padding: 20px 0; border: 0; background: transparent; border-bottom: 1px solid var(--line-l2); transition: background-color .2s; }
.tt-row:hover { background: rgba(16, 17, 18, .04); }
.tt-n { color: var(--ink-2); font-size: 13px; padding-left: 4px; }
.tt-name { font: 800 clamp(24px, 2.6vw, 38px)/1 var(--disp); text-transform: uppercase; }
.tt-tag { color: var(--ink-2); font-size: 16px; }
.tt-sale, .tt-llega { font-size: 11.5px; }
.tt-llega { color: var(--sig-d); font-weight: 600; }
.tt-plus { width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--line-l2); position: relative; justify-self: end; transition: background-color .2s; }
.tt-plus::before, .tt-plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -.75px 0 0 -6px; background: currentColor; transition: transform .35s var(--ease); }
.tt-plus::after { transform: rotate(90deg); }
.tt-it.open .tt-plus { background: var(--ink); color: var(--white); border-color: var(--ink); }
.tt-it.open .tt-plus::after { transform: rotate(0); }
.tt-body { display: none; }
.tt-it.open .tt-body { display: block; border-bottom: 1px solid var(--line-l2); }
@media (prefers-reduced-motion: no-preference) { .tt-it.open .tt-in { animation: fadeUp .5s var(--ease) both; } }
.tt-in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(20px, 3vw, 48px); padding: 8px 0 30px 80px; align-items: start; }
.tt-in img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 10px; }
.tt-in p { font-size: 18px; max-width: 52ch; }
.tt-specs { display: grid; gap: 8px; margin: 18px 0 22px; }
.tt-specs li { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; }
.tt-specs li::before { content: ""; flex: none; width: 10px; height: 10px; margin-top: .45em; border-radius: 50%; border: 2.5px solid var(--sig-d); }

/* =====================================================================
   COBERTURA: diagrama de líneas
   ===================================================================== */
.cov-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(300px, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.cov-dia { background: var(--carbon-2); border: 1px solid var(--line-d); border-radius: 16px; padding: clamp(8px, 1.5vw, 20px); }
.net { width: 100%; height: auto; display: block; overflow: visible; }
.ln { cursor: pointer; }
.ln-path { fill: none; stroke: var(--carbon-4); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; transition: stroke .3s; }
.ln-path.dash { stroke-dasharray: 1 13; }
.ln-hit { fill: none; stroke: transparent; stroke-width: 26; pointer-events: stroke; }
.ln-st { fill: var(--carbon-2); stroke: var(--steel); stroke-width: 2.5; transition: stroke .3s, fill .3s; }
.ln-labels { opacity: 0; transition: opacity .35s; pointer-events: none; }
.ln-labels text { fill: var(--white); font: 600 14px/1 var(--sans); paint-order: stroke; stroke: var(--carbon-2); stroke-width: 5px; stroke-linejoin: round; }
.ln-badge circle { fill: var(--carbon-3); stroke: var(--steel); stroke-width: 2; transition: fill .3s, stroke .3s; }
.ln-badge text { fill: var(--white); font: 700 12px/1 var(--mono); }
.ln:hover .ln-path { stroke: var(--steel); }
.ln.on .ln-path { stroke: var(--sig); }
.ln.on .ln-st { fill: var(--white); stroke: var(--ink); }
.ln.on .ln-labels { opacity: 1; }
.ln.on .ln-badge circle { fill: var(--sig); stroke: var(--sig); }
.ln.on .ln-badge text { fill: var(--ink); }
.hub rect { fill: var(--white); }
.hub-ring { fill: none; stroke: var(--amber); stroke-width: 2; }
@media (prefers-reduced-motion: no-preference) { .hub-ring { transform-box: fill-box; transform-origin: center; animation: ring 2.4s var(--ease) infinite; } }
@keyframes ring { 0% { transform: scale(.7); opacity: 1; } 100% { transform: scale(2); opacity: 0; } }
.hub-n { fill: var(--ink); font: 800 18px/1 var(--disp); letter-spacing: .12em; }
.hub-t { fill: var(--amber); font: 700 13px/1 var(--disp); letter-spacing: .16em; paint-order: stroke; stroke: var(--carbon-2); stroke-width: 6px; stroke-linejoin: round; }
.cov-info { display: grid; gap: 16px; }
.cov-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.cov-tab { --h: 44px; display: inline-flex; align-items: center; gap: 9px; min-height: var(--h); padding: 0 18px 0 7px; border-radius: 999px; border: 1.5px solid var(--line-d2);
  background: transparent; font: 500 15px/1 var(--sans); color: var(--white); transition: background-color .2s, border-color .2s, color .2s; }
.cov-tab:hover { border-color: var(--steel-l); }
.cov-tab[aria-selected="true"] { background: var(--sig); border-color: var(--sig); color: var(--ink); }
.cov-tab[aria-selected="true"] .lb { background: var(--ink); color: var(--sig); }
.cov-card { background: var(--carbon-2); border: 1px solid var(--line-d); border-radius: 16px; padding: 22px 24px; display: grid; gap: 14px; }
.cov-card.swap { animation: fadeUp .4s var(--ease); }
@media (prefers-reduced-motion: reduce) { .cov-card.swap { animation: none; } }
.cov-k { color: var(--amber); }
.cov-name { font: 800 clamp(34px, 3.4vw, 48px)/.95 var(--disp); text-transform: uppercase; }
.cov-rows > div { display: grid; grid-template-columns: 72px 1fr; gap: 12px; padding-block: 9px; border-top: 1px solid var(--line-d); }
.cov-rows dt { color: var(--steel); padding-top: 3px; }
.strip { position: relative; display: grid; padding-left: 26px; margin-top: 4px; }
.strip::before { content: ""; position: absolute; left: 8px; top: 12px; bottom: 12px; width: 4px; border-radius: 2px; background: var(--sig); }
.strip li { position: relative; padding: 5px 0; font-size: 15.5px; color: var(--white); }
.strip li::before { content: ""; position: absolute; left: -24px; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; background: var(--white); border: 2.5px solid var(--ink); }
.strip .strip-hub { font: 700 15px/1.4 var(--disp); letter-spacing: .1em; text-transform: uppercase; color: var(--amber); }
.strip .strip-hub::before { width: 16px; height: 16px; left: -26px; margin-top: -8px; border-color: var(--amber); border-width: 3px; background: var(--carbon); }
.strip .strip-more { color: var(--steel-l); font-style: italic; }
.strip .strip-more::before { background: var(--carbon-2); border-style: dashed; border-color: var(--steel); }

/* =====================================================================
   FLOTA Y DEPÓSITO
   ===================================================================== */
.fleet-top { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.sec-head-1 { grid-template-columns: 1fr; margin-bottom: 0; }
.fleet-hero img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; }
.fleet-hero figcaption, .depot-strip figcaption { margin-top: 10px; color: var(--ink-2); }
.nums { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block: 2px solid var(--ink); margin-bottom: clamp(48px, 6vw, 80px); }
.num { display: grid; gap: 4px; padding: 22px 20px 24px; align-content: start; }
.num + .num { border-left: 1px solid var(--line-l2); }
.num-v { display: flex; align-items: baseline; gap: 6px; }
.num-v b { font: 800 clamp(46px, 5vw, 76px)/.9 var(--disp); font-variant-numeric: tabular-nums; }
.num-v small { font: 700 22px/1 var(--disp); color: var(--sig-d); }
.num-l { font-weight: 600; font-size: 17px; }
.num-d { color: var(--ink-2); text-transform: none; font-size: 11px; }
.fleet-sub { font: 800 clamp(28px, 3vw, 40px)/1 var(--disp); text-transform: uppercase; margin-bottom: 18px; display: flex; align-items: center; gap: 14px; }
.fleet-sub::after { content: ""; flex: 1; height: 2px; background: repeating-linear-gradient(90deg, var(--ink) 0 14px, transparent 14px 22px); }
.fleet-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: clamp(48px, 6vw, 80px); }
.veh { background: var(--white); border: 1px solid var(--line-l); border-radius: 14px; padding: 16px 18px 18px; display: grid; gap: 12px; }
.veh-top { display: flex; justify-content: space-between; color: var(--ink-2); }
.veh-top b { color: var(--ink); font-weight: 600; }
.veh-svg { width: 100%; height: 72px; }
.veh-svg .vs { fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linejoin: round; }
.veh-svg .vs-box { fill: var(--sig); stroke: none; }
.veh-svg .vs-w { fill: var(--white); }
.veh dl { display: grid; gap: 4px; font-size: 11px; }
.veh dl div { display: flex; justify-content: space-between; gap: 8px; border-top: 1px solid var(--line-l); padding-top: 6px; }
.veh dt { color: var(--ink-2); }
.veh-uso { font-size: 15px; color: var(--ink-2); }
.depot-strip { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 12px; }
.depot-strip img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; }

/* =====================================================================
   CLIENTES
   ===================================================================== */
.rubros { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid var(--ink); }
.rubro { display: grid; grid-template-columns: auto 1fr auto; grid-template-rows: auto 1fr; gap: 4px 14px; padding: 22px 22px 24px 0; border-bottom: 1px solid var(--line-l2); }
.rubro:not(:nth-child(3n + 1)) { padding-left: 22px; border-left: 1px solid var(--line-l2); }
.rubro-n { color: var(--ink-2); padding-top: 6px; }
.rubro h3 { font: 700 24px/1.05 var(--disp); text-transform: uppercase; }
.rubro p { grid-column: 2; color: var(--ink-2); font-size: 15.5px; }
.rubro-c { grid-column: 3; grid-row: 1 / span 2; display: grid; justify-items: end; align-content: start; }
.rubro-c b { font: 800 40px/1 var(--disp); color: var(--sig-d); font-variant-numeric: tabular-nums; }
.rubro-c .mono { color: var(--ink-2); font-size: 10px; }
.brands { display: flex; flex-wrap: wrap; gap: 8px 10px; margin: clamp(32px, 4vw, 48px) 0; }
.brands li { padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--line-l2); font: 700 16px/1 var(--disp); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.testi { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: end; background: var(--ink); color: var(--white); border-radius: 16px; padding: clamp(24px, 4vw, 48px); --focus: var(--amber); }
.testi-stage { display: grid; }
.tq { grid-area: 1 / 1; display: grid; gap: 16px; opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility 0s .5s; }
.tq.on { opacity: 1; visibility: visible; transition: opacity .5s var(--ease); }
.tq-k { color: var(--amber); }
.tq blockquote p { font: 600 clamp(24px, 2.7vw, 38px)/1.12 var(--disp); max-width: 34ch; }
.tq figcaption { display: grid; gap: 4px; }
.tq figcaption .mono { color: var(--steel-l); }
.testi-ctl { display: flex; align-items: center; gap: 10px; }
.testi-n { color: var(--steel-l); margin-right: 8px; }
.testi-n b { color: var(--white); }
.testi .ibtn { border-color: var(--line-d2); color: var(--white); }
.testi .ibtn:hover { background: var(--white); color: var(--ink); }

/* =====================================================================
   PORTAL
   ===================================================================== */
.app { position: relative; background: var(--carbon-2); border: 1px solid var(--line-d2); border-radius: 16px; overflow: hidden; }
.app-bar { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-bottom: 1px solid var(--line-d); background: var(--carbon-3); }
.app-dots { display: flex; gap: 6px; }
.app-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--carbon-4); }
.app-url { color: var(--steel-l); flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-transform: none; }
.app-user { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--amber); color: var(--ink); font-weight: 600; }
.app-body { display: grid; grid-template-columns: 220px minmax(0, 1fr); }
.app-nav { border-right: 1px solid var(--line-d); padding: 16px 12px; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; }
.app-tabs { display: grid; gap: 4px; }
.app-tab { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px; padding: 0 12px 0 16px; border-radius: 8px; border: 0; background: transparent; color: var(--steel-l); font-weight: 500; text-align: left; position: relative; }
.app-tab:hover { background: var(--carbon-3); color: var(--white); }
.app-tab[aria-selected="true"] { background: var(--carbon-3); color: var(--white); }
.app-tab[aria-selected="true"]::before { content: ""; position: absolute; left: 4px; top: 10px; bottom: 10px; width: 3px; border-radius: 2px; background: var(--amber); }
.app-tab b { min-width: 24px; height: 22px; padding: 0 6px; border-radius: 11px; display: grid; place-items: center; background: var(--carbon-4); color: var(--white); font-size: 11px; }
.app-tab b.warn { background: var(--sig); color: var(--ink); }
.app-cli { display: grid; gap: 2px; color: var(--white); text-transform: none; font-size: 11px; line-height: 1.5; }
.app-cli span { color: var(--steel); text-transform: uppercase; margin-top: 6px; font-size: 10px; }
.app-main { padding: 18px; display: grid; gap: 16px; min-width: 0; }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.kpi { background: var(--carbon-3); border-radius: 10px; padding: 12px 14px; display: grid; gap: 4px; }
.kpi .mono { color: var(--steel-l); font-size: 10px; }
.kpi b { font: 700 30px/1 var(--disp); color: var(--white); }
.kpi b.tick { animation: tick .6s var(--ease); }
@keyframes tick { 40% { transform: translateY(-3px); color: var(--amber); } }
.kpi small { color: var(--steel-l); font-size: 10px; text-transform: none; }
.kpi small.up { color: var(--ok); }
.app-panel[hidden] { display: none; }
.ap-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 12px; flex-wrap: wrap; }
.chart { display: flex; align-items: flex-end; gap: 4px; height: 60px; flex: 1; min-width: 200px; max-width: 420px; }
.chart i { flex: 1; height: var(--h); min-height: 2px; background: var(--carbon-4); border-radius: 2px 2px 0 0; }
.chart i.last { background: var(--amber); }
.chart i.z { background: var(--line-d); }
.ptable-w { overflow-x: auto; }
.ptable { width: 100%; border-collapse: collapse; color: var(--white); min-width: 480px; }
.ptable th { text-align: left; color: var(--steel); font-weight: 400; padding: 8px 10px; border-bottom: 1px solid var(--line-d); font-size: 10px; }
.ptable td { padding: 10px; border-bottom: 1px solid var(--line-d); vertical-align: middle; font-size: 15px; }
.ptable td small { display: block; color: var(--steel-l); font-size: 13px; }
.ptable .r { text-align: right; }
.ptable tr.new { animation: fadeUp .5s var(--ease); }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; background: var(--carbon-4); color: var(--white); white-space: nowrap; }
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pill.st-camino { color: var(--amber); }
.pill.st-ok { color: var(--ok); }
.pill.st-dep { color: var(--steel-l); }
.pill.st-demora { color: var(--warn); }
.pill.st-new { color: var(--ink); background: var(--amber); }
.claims { display: grid; gap: 8px; }
.claim { display: grid; grid-template-columns: 70px minmax(0, 1fr) auto auto; gap: 14px; align-items: center; padding: 12px 14px; border-radius: 10px; background: var(--carbon-3); color: var(--white); }
.claim.prio-alta { box-shadow: inset 3px 0 0 var(--sig); }
.cl-id { color: var(--steel-l); }
.cl-t { display: grid; gap: 2px; }
.cl-t small { color: var(--steel-l); font-size: 10px; text-transform: none; }
.cl-plazo { color: var(--amber); }
.cl-btn { min-height: 40px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--line-d2); background: transparent; font-size: 14px; font-weight: 600; }
.cl-btn:hover { background: var(--white); color: var(--ink); }
.claim.done { opacity: .6; }
.claim.done .cl-btn { border-color: var(--ok); color: var(--ok); background: transparent; cursor: default; }
.app-note { margin-top: 12px; color: var(--steel-l); text-transform: none; }
.alerts { display: grid; gap: 4px; color: var(--white); }
.alerts li { padding: 12px 14px; border-radius: 10px; background: var(--carbon-3); }
.alerts .sw { background: var(--carbon-4); box-shadow: none; }
.alerts .switch small { color: var(--steel-l); }
.app-toast { position: absolute; left: 50%; bottom: 16px; display: flex; gap: 10px; align-items: center; width: max-content; max-width: calc(100% - 32px); padding: 10px 16px; border-radius: 10px;
  background: var(--white); color: var(--ink); text-transform: none; font-size: 12px; box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .6);
  opacity: 0; transform: translate(-50%, 12px); transition: opacity .3s, transform .4s var(--ease); pointer-events: none; }
.app-toast.show { opacity: 1; transform: translate(-50%, 0); }
.at-ic { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--ok-d); color: var(--white); flex: none; }
.portal-foot { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); margin-top: clamp(32px, 4vw, 56px); }
.before li { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line-d); }
.before s { color: var(--steel); text-decoration-color: var(--sig); text-decoration-thickness: 2px; }
.before span { color: var(--white); }
.integ .mono { color: var(--amber); margin-bottom: 12px; }
.integ ul { display: flex; flex-wrap: wrap; gap: 8px; }
.integ li { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-d2); font-size: 14.5px; color: var(--steel-l); }

/* =====================================================================
   CONTACTO Y PIE
   ===================================================================== */
.cta { color: var(--white); padding-block: clamp(96px, 14vw, 200px); overflow: hidden; background: var(--carbon); }
.cta-bg { position: absolute; inset: 0; }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; opacity: .45; }
.cta-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(16, 17, 18, .95) 15%, rgba(16, 17, 18, .55) 60%, rgba(16, 17, 18, .3)); }
.cta-in { position: relative; display: grid; gap: 28px; justify-items: start; }
.cta-t { font: 800 clamp(44px, 7vw, 112px)/.88 var(--disp); text-transform: uppercase; max-width: 15ch; }
.cta-t em { font-style: normal; color: var(--amber); display: block; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-cols { display: grid; grid-template-columns: repeat(3, minmax(0, auto)); gap: 18px 56px; margin-top: 12px; }
.cta-cols dt { color: var(--amber); margin-bottom: 6px; }
.cta-cols dd { color: var(--steel-l); line-height: 1.6; }
.cta-cols a { color: var(--white); white-space: nowrap; }
.foot { background: var(--carbon); color: var(--steel-l); padding: 40px 0 92px; border-top: 1px solid var(--line-d); }
.foot-line { position: relative; display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; margin-bottom: 36px; }
.fl-rail { position: absolute; left: 8px; right: 8px; top: 8px; height: 3px; background: repeating-linear-gradient(90deg, var(--amber) 0 18px, transparent 18px 26px); opacity: .6; }
.fl-st, .fl-end { position: relative; display: grid; justify-items: center; gap: 8px; font: 700 14px/1 var(--disp); letter-spacing: .08em; text-transform: uppercase; }
.fl-st i { width: 18px; height: 18px; border-radius: 50%; background: var(--carbon); border: 3px solid var(--amber); }
.fl-end { color: var(--white); }
.fl-end::before { content: ""; width: 28px; height: 18px; border-radius: 4px; background: var(--sig); }
.foot-bot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-top: 18px; border-top: 1px solid var(--line-d); }
.foot-bot .link-u { font-weight: 400; }

/* WhatsApp simulado */
.wa { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 16px; --focus: var(--ink); }
.wa[hidden] { display: none; }
.wa-scrim { position: absolute; inset: 0; background: rgba(8, 9, 10, .7); opacity: 0; transition: opacity .3s; }
.wa-phone { position: relative; width: min(380px, 100%); height: min(640px, calc(100svh - 32px)); display: flex; flex-direction: column; border-radius: 26px; overflow: hidden; background: #efeae2;
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .7), 0 0 0 8px #121314; opacity: 0; transform: translateY(24px) scale(.97); transition: opacity .3s, transform .45s var(--ease); }
.wa.open .wa-scrim { opacity: 1; }
.wa.open .wa-phone { opacity: 1; transform: none; }
.wa-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: #075e54; color: #fff; }
.wa-back { width: 40px; height: 40px; border-radius: 50%; border: 0; background: transparent; color: #fff; font-size: 28px; line-height: 1; }
.wa-back:focus-visible { outline-color: #fff; }
.wa-av { width: 38px; height: 38px; border-radius: 50%; background: #101112; display: grid; place-items: center; }
.wa-av svg { width: 26px; height: 26px; }
.wa-who { display: grid; line-height: 1.2; }
.wa-who small { opacity: .85; font-size: 12.5px; }
.wa-chat { flex: 1; overflow-y: auto; padding: 14px 12px; display: flex; flex-direction: column; gap: 8px; }
.wa-date { align-self: center; padding: 4px 10px; border-radius: 6px; background: #e1f2fb; color: #445; font-size: 11.5px; }
.bub { max-width: 86%; padding: 8px 10px 6px; border-radius: 10px; font-size: 14.5px; line-height: 1.4; white-space: pre-line; box-shadow: 0 1px 1px rgba(0, 0, 0, .08); color: #111; }
@media (prefers-reduced-motion: no-preference) { .bub { animation: fadeUp .3s var(--ease); } }
.bub.me { align-self: flex-end; background: #d9fdd3; border-top-right-radius: 2px; }
.bub.them { align-self: flex-start; background: #fff; border-top-left-radius: 2px; }
.bub .meta { display: flex; justify-content: flex-end; align-items: center; gap: 4px; margin-top: 2px; font-size: 11px; color: #667781; }
.ck { color: #8696a0; }
.ck.read { color: #34b7f1; }
.typing { align-self: flex-start; display: flex; gap: 4px; padding: 12px 14px; border-radius: 10px; background: #fff; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: #9aa4a9; animation: blink 1s infinite; }
.typing i:nth-child(2) { animation-delay: .2s; }
.typing i:nth-child(3) { animation-delay: .4s; }
.wa-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; background: #f0f2f5; color: var(--ink); }

/* =====================================================================
   Responsive
   ===================================================================== */
@media (max-width: 1180px) {
  .nav { display: none; }
  .burger { display: inline-block; }
  .q-svcs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fleet-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1020px) {
  .sec-head, .hero-top, .q-grid, .cov-grid, .fleet-top, .portal-foot { grid-template-columns: minmax(0, 1fr); }
  .board-wrap { grid-template-columns: 1fr; }
  .board-side { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: auto; }
  .board-side div + div { border-top: 0; border-left: 1px solid var(--line-d); }
  .q-ticket { position: relative; top: 0; }
  .trk-grid { grid-template-columns: 1fr; grid-template-areas: "board" "line" "info" "notify"; }
  .tt-head { display: none; }
  .tt-row { grid-template-columns: 44px minmax(0, 1fr) auto 40px; grid-template-areas: "n name name plus" ". tag tag ." ". sale llega ."; gap: 6px 12px; }
  .tt-n { grid-area: n; } .tt-name { grid-area: name; } .tt-tag { grid-area: tag; } .tt-sale { grid-area: sale; } .tt-llega { grid-area: llega; } .tt-plus { grid-area: plus; }
  .tt-in { grid-template-columns: 1fr; padding-left: 0; }
  .rubros { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rubro:not(:nth-child(3n + 1)) { padding-left: 0; border-left: 0; }
  .rubro:nth-child(2n) { padding-left: 22px; border-left: 1px solid var(--line-l2); }
  .trip-bar { grid-template-columns: minmax(0, 1fr) auto; }
  .trip-bar .tb-track { grid-column: 1 / -1; grid-row: 2; }
}
@media (max-width: 760px) {
  :root { --hdr: 58px; }
  body { font-size: 16px; }
  .hide-sm { display: none !important; }
  .hdr-live { display: none; }
  .hdr .btn-sm { --h: 38px; }
  .hero { min-height: 0; padding-bottom: 28px; }
  .hero-in { gap: 16px; }
  .hero-meta { padding-bottom: 8px; }
  .hero-trk label { margin-bottom: 6px; }
  .hero-h { font-size: clamp(50px, 15.5vw, 76px); }
  .hero-lead { font-size: 15.5px; line-height: 1.45; }
  .hero-copy { gap: 14px; }
  .board { --cw: calc((100vw - 2 * var(--pad) - 26px - 2 * 10px - 23 * 2px) / 23); --colg: 10px; padding: 12px; }
  .board .bc-2, .board .bc-3 { display: none; }
  .board-top { padding-bottom: 8px; }
  .board-title .mono { display: none; }
  .board-side div { padding: 10px 12px; }
  .board-side dd { font-size: 12px; }
  .board-side dd b { font-size: 24px; }
  .trip-panel { min-height: 520px; padding-top: calc(var(--hdr) + 2px); }
  .trip-top { flex-direction: column; gap: 10px; }
  .trip-head { gap: 6px; }
  .trip-t { font-size: 27px; }
  .trip-lead { display: none; }
  .dep { --cw: 14px; width: 100%; grid-template-columns: auto 1fr; align-items: center; padding: 8px 10px; gap: 8px 14px; }
  .dep-row { display: none; }
  .dep-main { border: 0; padding: 0; gap: 12px; }
  .dep-main b { font-size: 22px; }
  .dep-st { justify-content: flex-end; }
  .dep-st > .mono { display: none; }
  .trip-scene { margin-block: 2px; }
  .pod { width: 168px; top: 2%; right: 12px; padding: 7px 7px 10px; }
  .pod figcaption { font-size: 12.5px; }
  .pod-sig { font-size: 11px; }
  .pod-sig svg { width: 64px; }
  .trip-bar { grid-template-columns: minmax(0, 1fr) auto; gap: 8px 14px; padding-top: 10px; padding-bottom: 64px; }
  .tb-now b { font-size: 20px; }
  .tb-odo b { font-size: 26px; }
  .tb-track { height: 36px; margin-inline: 10px; }
  .tb-stop { width: auto; }
  .tb-stop .tb-t, .tb-stop .tb-d, .tb-stop .tb-h { display: none; }
  .tb-stop.now .tb-h { display: block; }
  /* sin pin: las paradas en una lista, todas a la vista */
  .trip:not(.is-live) .tb-now { display: none; }
  .trip:not(.is-live) .tb-track { height: auto; margin: 0; }
  .trip:not(.is-live) .tb-rail { display: none; }
  .trip:not(.is-live) .tb-stops { display: grid; gap: 10px; }
  .trip:not(.is-live) .tb-stop { position: relative; left: 0; transform: none; margin: 0; width: auto; text-align: left; grid-template-columns: 22px 54px 1fr; justify-items: start; align-items: center; gap: 2px 10px; }
  .trip:not(.is-live) .tb-stop .tb-dot { grid-row: 1 / span 2; margin: 0; }
  .trip:not(.is-live) .tb-stop .tb-h, .trip:not(.is-live) .tb-stop .tb-t { display: block; }
  .trip:not(.is-live) .tb-stop .tb-d { display: block; grid-column: 3; max-width: none; }
  .trip:not(.is-live) .trip-scene { height: 300px; }
  .trk-bar { margin-bottom: 18px; }
  .trk-chips { gap: 6px; }
  .trk-chip { padding: 7px 12px 7px 10px; }
  .trk-board { padding: 14px; --cw: calc((100vw - 2 * var(--pad) - 30px - 11 * 2px) / 12.4); }
  .tbd { gap: 10px 16px; }
  .tbd > div:not(.tbd-sm) { grid-column: 1 / -1; }
  .trk-line { padding: 16px 16px 16px 14px; }
  .tl-stops { grid-template-columns: 1fr; gap: 0; }
  .step { display: grid; grid-template-columns: 30px minmax(0, 1fr); column-gap: 12px; row-gap: 2px; padding: 0 0 18px; }
  .step:last-child { padding-bottom: 0; }
  .step-dot { grid-column: 1; grid-row: 1 / span 4; margin: 0 0 0 2px; justify-self: start; }
  .step-place { order: 0; grid-column: 2; min-height: 0; padding: 0; font-size: 13px; }
  .step-t, .step-h, .step-d { grid-column: 2; }
  .step-t { font-size: 19px; }
  .ti-rows > div { grid-template-columns: 70px 1fr; }
  .q-row2 { grid-template-columns: 1fr; }
  .q-opt { font-size: 14.5px; padding-right: 14px; }
  .q-ticket { padding: 18px 16px 16px; --cw: calc((100vw - 2 * var(--pad) - 32px - 24px - 70px - 16px) / 9.4); }
  .qt-cut { margin-inline: -16px; }
  .qt-route b { font-size: 26px; }
  .cov-dia { padding: 4px; }
  .ln-labels { display: none; }
  .hub-t { font-size: 18px; }
  .hub-n { font-size: 22px; }
  .ln-badge text { font-size: 16px; }
  .nums { grid-template-columns: 1fr 1fr; }
  .num:nth-child(3) { border-left: 0; }
  .num:nth-child(n + 3) { border-top: 1px solid var(--line-l2); }
  .num { padding: 18px 12px 20px; }
  .fleet-list { grid-template-columns: 1fr 1fr; gap: 8px; }
  .veh { padding: 12px; }
  .veh-top { flex-direction: column; gap: 2px; }
  .veh dl div { flex-direction: column; gap: 2px; }
  .veh-svg { height: 52px; }
  .depot-strip { grid-template-columns: 1fr 1fr; }
  .depot-strip figure:first-child { grid-column: 1 / -1; }
  .rubros { grid-template-columns: 1fr; }
  .rubro, .rubro:nth-child(2n) { padding-left: 0; border-left: 0; }
  .testi { grid-template-columns: 1fr; }
  .app-body { grid-template-columns: minmax(0, 1fr); }
  .app-nav { border-right: 0; border-bottom: 1px solid var(--line-d); padding: 10px; }
  .app-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .app-tab { padding: 0 8px 0 12px; font-size: 14.5px; }
  .app-cli { display: none; }
  .app-main { padding: 12px; }
  .claim { grid-template-columns: 1fr auto; }
  .cl-id, .cl-plazo { display: none; }
  .before li { grid-template-columns: 1fr; gap: 4px; }
  .cta-cols { grid-template-columns: 1fr; }
  .fl-st, .fl-end { font-size: 11px; }
  .fl-st:nth-of-type(2), .fl-st:nth-of-type(4) { display: none; }
}
@media (max-width: 400px) {
  .q-svcs { grid-template-columns: 1fr; }
}
