/* VOICE   ocasión: home comercial, cálido y vendedor, de empresa familiar con 70 años
   IDEA    la librea de los buses: blanco, amarillo y negro, con el verde y amarillo del logo; el tiquete como objeto
   PICTURE la foto real del S26 en carretera a todo lo ancho; luego la flota real por fuera y por dentro
   COLOUR  blanco, amarillo Palmira #ffd100, carbón #16191b, verde del logo #00873c
   TYPE    Archivo expandido 800 (rótulo de bus) + Instrument Sans
   LAYOUT  laptop: título sobre la foto, barra de búsqueda montada sobre el borde; teléfono: título, foto, buscador apilado */

:root {
  color-scheme: light;
  --bg: #ffffff;
  --ink: #16191b;
  --ink2: #4c534e;
  --green: #00873c;
  --green-d: #16191b;
  --green-m: #0a5f37;
  --sun: #ffd100;
  --sun-d: #d9ad00;
  --mist: #f3f4ef;
  --line: #dfe1d9;
  --red: #c8321e;
  --r: 14px;
  --disp: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --text: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gut-l: max(5vw, 16px, env(safe-area-inset-left, 0px));
  --gut-r: max(5vw, 16px, env(safe-area-inset-right, 0px));
}
* { box-sizing: border-box; min-width: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.55 var(--text); overflow-x: clip; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
h1, h2, h3, h4 { font-family: var(--disp); font-stretch: 112%; font-weight: 800; letter-spacing: -.02em; line-height: 1.05; margin: 0; }
h2 { font-size: clamp(28px, 3.6vw, 44px); }
h3 { font-size: 21px; }
h4 { font-size: 17px; }
p { margin: 0; }
a { color: var(--green); }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.small { font-size: 14px; color: var(--ink2); }
.lead { font-size: 18px; color: var(--ink2); }
.wrap { max-width: 1240px; margin: 0 auto; }
.band { padding-block: clamp(48px, 6vw, 88px); padding-left: var(--gut-l); padding-right: var(--gut-r); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 16px 48px; align-items: end; margin-bottom: 36px; }
.sec-head p { color: var(--ink2); font-size: 17px; }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border: 0; border-radius: 999px; background: var(--sun); color: var(--green-d); font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer; transition: transform .15s, background .15s; white-space: nowrap; }
.btn:hover { background: #ffdc3d; transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible, .chip:focus-visible, .seat:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, button:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }
.btn:disabled { background: #e3e9e5; color: #8a9a91; cursor: not-allowed; transform: none; }
.btn.ghost { background: transparent; color: var(--green); box-shadow: inset 0 0 0 2px var(--green); }
.btn.ghost:hover { background: var(--mist); }
.btn.small { min-height: 40px; padding: 0 18px; font-size: 15px; }
.btn.big { width: 100%; min-height: 54px; font-size: 17px; }
.btn.loading { background: var(--green); color: #fff; }
.demo-note .link { padding: 0; color: #6b5200; }
.link { background: none; border: 0; color: var(--green); font-weight: 600; cursor: pointer; padding: 8px 0; text-decoration: underline; text-underline-offset: 3px; }
.chip { min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; cursor: pointer; font-weight: 600; font-size: 15px; }
.chip:hover { border-color: var(--green); }
.chip.on { background: var(--green-d); border-color: var(--green-d); color: #fff; }
.ico { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* Encabezado */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); background: #fff; z-index: 31; }
.top-in { max-width: 1240px; margin: 0 auto; display: flex; align-items: center; gap: 20px; height: 68px; padding-left: var(--gut-l); padding-right: var(--gut-r); box-sizing: content-box; }
@media (min-width: 1360px) { .top-in { padding-inline: 0; } }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--green-d); font-family: var(--disp); font-stretch: 115%; font-weight: 600; font-size: 20px; letter-spacing: -.02em; white-space: nowrap; }
.brand img { display: block; height: 46px; width: auto; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { padding: 8px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; white-space: nowrap; }
.nav a:hover { background: var(--mist); color: var(--green); }
.menu { display: none; width: 44px; height: 44px; border: 0; background: none; padding: 11px 9px; cursor: pointer; flex-direction: column; justify-content: space-between; }
.menu span { display: block; height: 2.5px; border-radius: 2px; background: var(--green-d); }

/* Hero */
.hero { position: relative; overflow: hidden; display: grid; align-items: center; min-height: clamp(460px, 40vw, 600px); background: #101314; padding: clamp(40px, 5vw, 72px) var(--gut-r) 110px var(--gut-l); }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 35% 60%; max-width: none; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12, 14, 15, .86) 0%, rgba(12, 14, 15, .6) 32%, rgba(12, 14, 15, 0) 54%); }
.hero-copy { position: relative; z-index: 2; width: 100%; max-width: 1240px; margin: 0 auto; }
.hero h1 { font-size: clamp(38px, 5vw, 68px); max-width: 10.5em; color: #fff; font-stretch: 108%; font-weight: 900; }
.hero .lead { max-width: 33em; margin-top: 18px; color: #eceee8; font-size: clamp(17px, 1.5vw, 19px); }
.seal { display: inline-flex; align-items: baseline; gap: 6px; margin-bottom: 18px; padding: 6px 16px 6px 8px; border-radius: 999px; background: rgba(255, 255, 255, .14); color: #fff; font-weight: 600; font-size: 15px; backdrop-filter: blur(6px); }
.seal b { font-family: var(--disp); font-weight: 900; font-size: 22px; line-height: 1; background: var(--sun); color: var(--ink); border-radius: 999px; padding: 4px 9px; }
.seal span { opacity: .8; margin-left: 4px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Buscador */
.searchbar { position: relative; z-index: 5; max-width: 1240px; margin: -44px auto 0; display: grid; grid-template-columns: minmax(0, 1.3fr) 44px minmax(0, 1.3fr) minmax(0, 1fr) auto auto; align-items: end; gap: 12px; padding: 18px; background: #fff; border-radius: 20px; box-shadow: 0 14px 40px -18px rgba(6, 48, 31, .45), 0 0 0 1px var(--line); }
.searchbar-pad { padding-inline: var(--gut-l) var(--gut-r); }
.field { position: relative; display: grid; gap: 4px; }
.field label, .field .lbl { font-size: 13px; font-weight: 700; color: var(--ink2); padding-left: 4px; }
.field input { height: 52px; width: 100%; border: 1.5px solid var(--line); border-radius: 12px; padding: 0 14px; font-size: 17px; font-weight: 600; background: #fff; }
.field input:hover { border-color: #a9c4b4; }
.swap { width: 44px; height: 44px; margin-bottom: 4px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; color: var(--green); cursor: pointer; display: grid; place-items: center; }
.swap:hover { background: var(--mist); }
.swap span { display: grid; transform: rotate(90deg); }
.stepper { display: flex; align-items: center; height: 52px; border: 1.5px solid var(--line); border-radius: 12px; }
.stepper button { width: 44px; height: 100%; border: 0; background: none; font-size: 22px; color: var(--green); cursor: pointer; }
.stepper b { min-width: 28px; text-align: center; font-size: 17px; }
.go { height: 52px; padding: 0 28px; font-size: 17px; }
.msg { grid-column: 1 / -1; color: var(--red); font-weight: 600; font-size: 15px; }
.msg:empty { display: none; }
.opts { position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 20; list-style: none; margin: 0; padding: 6px; background: #fff; border-radius: 12px; box-shadow: 0 18px 40px -12px rgba(6, 48, 31, .35), 0 0 0 1px var(--line); max-height: 340px; overflow: auto; min-width: 240px; }
.opts li { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 8px; cursor: pointer; }
.opts li .ico { color: var(--green); width: 18px; height: 18px; }
.opts li small { margin-left: auto; color: var(--ink2); font-size: 13px; }
.opts li.on, .opts li:hover { background: var(--mist); }
.opts li.none { color: var(--ink2); cursor: default; }

/* Cifras */
.facts { padding-block: 36px 8px; }
.facts ul { list-style: none; margin: 0 auto; padding: 0; max-width: 1240px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.facts li { display: grid; gap: 2px; border-left: 3px solid var(--sun); padding-left: 14px; }
.facts b { font-family: var(--disp); font-stretch: 112%; font-weight: 900; font-size: clamp(28px, 3vw, 40px); line-height: 1; color: var(--green); }
.facts span { color: var(--ink2); font-size: 15px; }

/* Compra */
.buy-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 24px; }
.buy-head p { color: var(--ink2); margin-top: 6px; font-size: 17px; }
.steps { list-style: none; display: flex; gap: 6px; margin: 0; padding: 0; }
.steps li { display: flex; align-items: center; gap: 8px; padding: 8px 14px 8px 8px; border-radius: 999px; background: var(--mist); color: var(--ink2); font-weight: 600; font-size: 15px; }
.steps li span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #fff; font-size: 13px; font-weight: 800; }
.steps li.on { background: var(--green-d); color: #fff; }
.steps li.on span { background: var(--sun); color: var(--green-d); }
.steps li.done { color: var(--green); cursor: pointer; }
.steps li.done span { background: var(--green); color: #fff; }
.flow { min-height: 420px; }
.days { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin-bottom: 16px; }
.days button { display: grid; gap: 2px; padding: 12px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; cursor: pointer; text-align: left; }
.days button span { font-size: 14px; color: var(--ink2); }
.days button[aria-selected="true"] { border-color: var(--green); background: var(--mist); box-shadow: inset 0 -4px 0 var(--green); }
.parts { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 14px; }
.count { margin-left: auto; color: var(--ink2); font-size: 15px; }
.deps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.dep { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 1.3fr) minmax(0, .9fr) auto auto; align-items: center; gap: 18px; padding: 16px 18px; border-radius: var(--r); border: 1.5px solid var(--line); background: #fff; transition: border-color .15s; }
.dep:hover { border-color: var(--green); }
.dep-time { display: grid; grid-template-columns: auto minmax(30px, 1fr) auto; align-items: center; gap: 4px 12px; }
.dep-time b { font-family: var(--disp); font-size: 26px; font-weight: 800; font-variant-numeric: tabular-nums; }
.dep-time i { height: 2px; background: repeating-linear-gradient(90deg, var(--green) 0 8px, transparent 8px 14px); position: relative; }
.dep-time i::after { content: ""; position: absolute; right: -2px; top: -4px; width: 10px; height: 10px; border-radius: 50%; background: var(--green); }
.dep-time small { grid-column: 1 / -1; color: var(--ink2); font-size: 14px; }
.dep-bus { display: flex; gap: 12px; align-items: center; }
.dep-bus > div { display: grid; gap: 4px; justify-items: start; }
.dep-bus img { width: 84px; height: 56px; object-fit: contain; flex: none; }
.dep-bus small { color: var(--ink2); font-size: 14px; }
.cls { padding: 3px 10px; border-radius: 6px; font-family: var(--disp); font-weight: 800; font-size: 14px; background: var(--mist); color: var(--green-d); white-space: nowrap; }
.cls-s26mas { background: var(--ink); color: var(--sun); }
.cls-s26 { background: var(--sun); color: var(--ink); }
.dep-free { font-size: 14px; color: var(--ink2); font-weight: 600; }
.dep-free.few { color: var(--red); }
.dep-price { text-align: right; display: grid; }
.dep-price b { font-family: var(--disp); font-size: 24px; font-weight: 800; white-space: nowrap; }
.dep-price small { color: var(--ink2); font-size: 13px; }
.dep-price em { font-style: normal; font-size: 12px; font-weight: 700; color: var(--green-d); background: var(--sun); border-radius: 4px; padding: 1px 6px; justify-self: end; }
.empty { padding: 28px; text-align: center; color: var(--ink2); border: 1.5px dashed var(--line); border-radius: var(--r); list-style: none; }
.more { margin-top: 14px; }
.two { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
.sum { position: sticky; top: 88px; display: grid; gap: 10px; padding: 22px; border-radius: 18px; background: var(--green-d); color: #fff; }
.sum h4 { color: var(--sun); }
.sum-route b { font-family: var(--disp); font-size: 20px; margin-right: 6px; }
.sum p { color: #d6e7dd; }
.sum dl { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; margin: 6px 0; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .18); }
.sum dt { color: #c2d8cb; } .sum dd { margin: 0; text-align: right; font-weight: 600; }
.sum .tot { font-family: var(--disp); font-size: 22px; font-weight: 800; color: #fff; padding-top: 8px; }
.sum .link { color: #fff; justify-self: start; }
.earn { display: flex; align-items: center; gap: 8px; font-size: 15px; }
.earn > span b { font-weight: 800; }
.sum .earn { color: var(--sun); }
.hint { font-weight: 600; margin-bottom: 10px; }
.legend { display: flex; gap: 18px; flex-wrap: wrap; font-size: 14px; color: var(--ink2); margin-bottom: 16px; }
.legend span { display: flex; align-items: center; gap: 6px; }
.legend .seat { width: 22px; height: 22px; min-height: 0; pointer-events: none; }
.seatwrap { display: grid; justify-items: center; padding: 24px; border-radius: 18px; background: var(--mist); }
.busplan { --s: 46px; --a: 22px; display: grid; gap: 8px; padding: 18px 20px 14px; border-radius: 40px 40px 18px 18px; background: #fff; border: 3px solid #c9dad0; width: max-content; max-width: 100%; }
.cab { grid-column: 1 / -1; display: flex; justify-content: space-between; font-size: 12px; color: var(--ink2); font-weight: 700; padding: 0 2px 6px; border-bottom: 2px dashed var(--line); margin-bottom: 4px; }
.cab.rear { justify-content: center; border-bottom: 0; border-top: 2px dashed var(--line); padding: 8px 0 0; margin: 4px 0 0; }
.seat { width: 46px; height: 46px; border-radius: 10px 10px 6px 6px; border: 2px solid #b9cfc2; background: #fff; font-weight: 700; font-size: 14px; cursor: pointer; position: relative; }
.seat.pol { border-radius: 14px 14px 8px 8px; background: #fff7cf; border-color: #e8cf63; }
.seat.wide { grid-column: span 2; width: auto; }
.seat.win { border-top-color: var(--sun); border-top-width: 4px; }
.zone { grid-column: 1 / -1; margin: 2px 0 0; font-size: 12px; font-weight: 700; color: var(--ink2); }
.seat:hover:not(:disabled) { border-color: var(--green); background: var(--mist); }
.seat.sel, .seat.sel:hover:not(:disabled) { background: var(--green); border-color: var(--green-d); color: #fff; }
.seat.taken { background: #e4eae6; border-color: #e4eae6; color: transparent; cursor: not-allowed; }
.seat.taken::after { content: ""; position: absolute; inset: 12px; background: linear-gradient(45deg, transparent 45%, #a5b4ab 45% 55%, transparent 55%), linear-gradient(-45deg, transparent 45%, #a5b4ab 45% 55%, transparent 55%); }
.pay { display: grid; gap: 14px; }
.pay h4 { margin-top: 8px; }
.demo-note { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 14px; padding: 10px 14px; border-radius: 10px; background: #fff7d6; color: #6b5200; font-weight: 600; font-size: 14px; border: 1px solid #f3dd8a; }
.pax { border: 1.5px solid var(--line); border-radius: var(--r); padding: 12px 16px 16px; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 12px; margin: 0; }
.pax legend { font-weight: 700; color: var(--green); padding: 0 6px; }
label { display: grid; gap: 4px; font-size: 14px; font-weight: 600; color: var(--ink2); }
input:not([type=checkbox]):not([type=range]):not([type=file]), select, textarea { width: 100%; min-height: 48px; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; font-size: 16px; color: var(--ink); font-weight: 500; }
textarea { resize: vertical; }
.bad { border-color: var(--red) !important; background: #fff5f3 !important; }
.row { display: flex; gap: 8px; flex-wrap: wrap; }
.row select { width: auto; flex: none; }
.row input { flex: 1; }
.row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.methods { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.method { min-height: 48px; border-radius: 10px; border: 1.5px solid var(--line); background: #fff; font-weight: 700; cursor: pointer; padding: 6px; }
.method.on { border-color: var(--green); background: var(--mist); color: var(--green-d); box-shadow: inset 0 0 0 1px var(--green); }
.paybox { padding: 16px; border-radius: var(--r); background: var(--mist); display: grid; gap: 10px; }
.card-demo { display: grid; gap: 6px; width: min(100%, 320px); aspect-ratio: 1.6; padding: 18px; border-radius: 14px; background: linear-gradient(135deg, var(--green) 0%, var(--green-d) 100%); color: #fff; align-content: space-between; }
.card-demo span { font-size: 13px; opacity: .8; }
.card-demo b { font-family: var(--disp); font-size: 22px; letter-spacing: .04em; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; color: var(--ink); font-size: 15px; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--green); flex: none; }
.err { color: var(--red); font-weight: 600; }
.err:empty { display: none; }
.done-head { display: flex; gap: 16px; align-items: center; margin-bottom: 22px; }
.done-head h3 { font-size: 28px; }
.done-head p { color: var(--ink2); margin-top: 4px; }
.okmark { flex: none; width: 56px; height: 56px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; }
.okmark .ico { width: 30px; height: 30px; stroke-width: 3; }
.tickets { display: grid; gap: 16px; }
.ticket { display: grid; grid-template-columns: minmax(0, 1fr) 190px; border-radius: 18px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1.5px var(--line), 0 18px 30px -24px rgba(6, 48, 31, .6); }
.t-main { padding: 22px 24px; display: grid; gap: 16px; border-top: 8px solid var(--sun); }
.t-brand { font-family: var(--disp); font-weight: 900; font-size: 18px; display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.t-brand img { height: 38px; width: auto; }
.t-brand span { color: var(--ink); background: var(--sun); border-radius: 6px; padding: 0 8px; font-size: 14px; display: inline-flex; align-items: center; }
.t-route { display: grid; grid-template-columns: auto minmax(30px, 1fr) auto; align-items: center; gap: 14px; }
.t-route div { display: grid; }
.t-route div:last-child { text-align: right; }
.t-route small { color: var(--ink2); font-size: 13px; }
.t-route b { font-family: var(--disp); font-size: 34px; font-weight: 800; line-height: 1.05; }
.t-route span { font-weight: 600; }
.t-route i { height: 2px; background: repeating-linear-gradient(90deg, var(--green) 0 8px, transparent 8px 14px); }
.ticket dl { display: grid; grid-template-columns: repeat(4, auto); justify-content: space-between; gap: 12px; margin: 0; padding-top: 14px; border-top: 1.5px dashed var(--line); }
.ticket dt { font-size: 13px; color: var(--ink2); } .ticket dd { margin: 0; font-weight: 700; }
.t-stub { display: grid; justify-items: center; align-content: center; gap: 8px; padding: 18px; background: var(--mist); border-left: 2px dashed #b9cfc2; position: relative; }
.t-stub::before, .t-stub::after { content: ""; position: absolute; left: -12px; width: 22px; height: 22px; border-radius: 50%; background: var(--bg); }
.t-stub::before { top: -11px; } .t-stub::after { bottom: -11px; }
.code-svg { width: 130px; height: 130px; }
.t-stub small { font-size: 13px; color: var(--ink2); text-align: center; }
.done-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-top: 22px; padding: 18px 20px; border-radius: var(--r); background: var(--mist); }
.earn.big { font-size: 17px; color: var(--green-d); }

/* Por qué */
.why { background: var(--ink); color: #fff; }
.why-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 36px; align-items: stretch; }
.why-pic { margin: 0; display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 10px; }
.why-pic img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; border-radius: 20px; }
.why-pic figcaption { color: #c9ccc4; font-size: 14px; }
.why h2 { max-width: 14em; }
.pillars { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 28px; }
.pillars article { display: grid; gap: 8px; align-content: start; padding: 20px; border-radius: 18px; background: #23282a; }
.pillars p { color: #d4d7cf; }
.pi { width: 52px; height: 52px; border-radius: 16px; background: var(--sun); color: var(--ink); display: grid; place-items: center; margin-bottom: 6px; }
.pi .ico { width: 30px; height: 30px; }

/* Flota */
.fleet-grid { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 24px; }
.fleet-list { display: grid; gap: 10px; align-content: start; }
.fleet-list button { display: flex; gap: 12px; align-items: center; text-align: left; padding: 10px 14px 10px 10px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; cursor: pointer; }
.fleet-list img { width: 84px; height: 58px; object-fit: contain; flex: none; }
.fleet-list span { display: grid; }
.fleet-list b { font-family: var(--disp); font-size: 20px; }
.fleet-list small { color: var(--ink2); font-size: 14px; }
.fleet-list button[aria-selected="true"] { background: var(--sun); border-color: var(--sun); }
.fleet-list button[aria-selected="true"] small { color: var(--ink); }
.fleet-view { display: grid; gap: 14px; padding: clamp(14px, 2.4vw, 28px); border-radius: 22px; background: linear-gradient(180deg, #f6f6f1 0%, #ecede6 100%); }
.fleet-art { position: relative; height: clamp(220px, 30vw, 400px); border-radius: 16px; overflow: hidden; background: #fff; }
.fleet-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.thumbs button { display: grid; gap: 4px; padding: 0; border: 0; background: none; cursor: pointer; text-align: left; font-size: 13px; color: var(--ink2); font-weight: 600; }
.thumbs img { width: 100%; aspect-ratio: 680 / 434; object-fit: cover; border-radius: 10px; background: #fff; border: 3px solid transparent; }
.thumbs button[aria-pressed="true"] img { border-color: var(--sun); }
.thumbs button:hover img { border-color: #e9dc9a; }
.fleet-info { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 12px 28px; align-items: start; background: #fff; border-radius: 16px; padding: 22px; }
.fleet-info h3 { font-size: 30px; }
.fleet-info .lead { font-size: 16px; margin-top: 6px; }
.perks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.perks li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; }
.perks .ico { color: var(--green); stroke-width: 2.6; }

/* Puntos */
.points { background: var(--mist); }
.points-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 28px; align-items: start; }
.member { display: grid; gap: 18px; }
.mcard { position: relative; overflow: hidden; display: grid; gap: 8px; padding: 26px; border-radius: 22px; color: #fff; background: radial-gradient(circle at 110% -10%, rgba(255, 198, 41, .55) 0 28%, transparent 29%), linear-gradient(135deg, #00873c 0%, #0b3a20 100%); min-height: 260px; }
.mcard[data-tier="Plata"] { background: radial-gradient(circle at 110% -10%, rgba(255, 255, 255, .45) 0 28%, transparent 29%), linear-gradient(135deg, #5f7d70 0%, #22372d 100%); }
.mcard[data-tier="Oro"] { background: radial-gradient(circle at 110% -10%, rgba(255, 240, 180, .6) 0 28%, transparent 29%), linear-gradient(135deg, #b98a10 0%, #4a3500 100%); }
.mc-top { display: flex; justify-content: space-between; font-weight: 700; }
.mc-top b { background: var(--sun); color: var(--ink); padding: 2px 12px; border-radius: 999px; }
.mc-pts b { font-family: var(--disp); font-size: 64px; font-weight: 900; line-height: 1; font-variant-numeric: tabular-nums; }
.mc-pts { font-size: 18px; font-weight: 600; }
.mc-val { color: #e0f0e6; }
.mc-bar, .calc-road { position: relative; height: 10px; border-radius: 99px; background: rgba(255, 255, 255, .22); margin: 18px 0 22px; }
.mc-bar i { position: absolute; inset: 0 auto 0 0; border-radius: 99px; background: var(--sun); transition: width .4s; }
.mc-bar span, .calc-road span { position: absolute; top: 14px; transform: translateX(-50%); font-size: 13px; font-weight: 700; }
.mc-bar span::before, .calc-road span::before { content: ""; position: absolute; left: 50%; top: -18px; width: 2px; height: 14px; background: currentColor; opacity: .6; }
.mc-next { font-size: 15px; color: #e0f0e6; }
.mc-name { font-size: 13px; opacity: .7; }
.how { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.how li { display: grid; gap: 4px; align-content: start; padding: 14px; border-radius: 14px; background: #fff; font-size: 14px; color: var(--ink2); }
.how li span { color: var(--green); }
.how b { color: var(--ink); font-size: 16px; }
.tiers-calc { display: grid; gap: 14px; }
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.tiers article { padding: 16px; border-radius: 14px; background: #fff; border-top: 6px solid var(--green); }
.tiers .t-plata { border-top-color: #8ea79a; } .tiers .t-oro { border-top-color: var(--sun-d); }
.tiers h3 { font-size: 20px; }
.t-min { font-size: 13px; color: var(--ink2); font-weight: 600; margin: 2px 0 8px; }
.tiers ul { margin: 0; padding-left: 18px; font-size: 14px; display: grid; gap: 4px; }
.family { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border-radius: 14px; background: var(--sun); color: var(--green-d); }
.family span .ico { width: 34px; height: 34px; }
.calc { padding: 22px; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1.5px var(--line); display: grid; gap: 14px; }
.calc-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: end; }
input[type=range] { --v: 10%; -webkit-appearance: none; appearance: none; width: 100%; height: 44px; background: transparent; cursor: pointer; }
input[type=range]::-webkit-slider-runnable-track { height: 8px; border-radius: 99px; background: linear-gradient(90deg, var(--green) var(--v), var(--line) var(--v)); }
input[type=range]::-moz-range-track { height: 8px; border-radius: 99px; background: linear-gradient(90deg, var(--green) var(--v), var(--line) var(--v)); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -10px; border-radius: 50%; background: var(--sun); border: 4px solid var(--green-d); }
input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--sun); border: 4px solid var(--green-d); }
.calc-out { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.calc-out p { display: grid; }
.calc-out b { font-family: var(--disp); font-size: clamp(24px, 2.6vw, 34px); font-weight: 900; color: var(--green); line-height: 1.1; white-space: nowrap; }
.calc-out span { font-size: 14px; color: var(--ink2); }
.calc-road { background: var(--line); margin: 4px 0 24px; color: var(--ink2); }
.calc-road i { position: absolute; top: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; background: var(--sun); border: 4px solid var(--green-d); transition: left .3s; }
.calc-free { font-weight: 600; }

/* Rutas */
.route-tools { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 22px; }
.search-in { display: flex; align-items: center; gap: 8px; flex: 1 1 280px; max-width: 380px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: 999px; color: var(--green); }
.search-in input { border: 0 !important; min-height: 46px; padding: 0 !important; }
.search-in input:focus-visible { outline: none; }
.search-in:focus-within { outline: 3px solid var(--green); outline-offset: 2px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.routes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.route { padding: 20px 22px; border-radius: 18px; border: 1.5px solid var(--line); display: grid; gap: 14px; align-content: start; overflow: hidden; }
.route-pic { width: calc(100% + 44px); max-width: none; height: 130px; object-fit: cover; margin: -20px -22px 0; }
.route header { display: grid; gap: 4px; }
.route header span { color: var(--ink2); font-size: 14px; }
.line { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; row-gap: 10px; }
.line li { position: relative; display: flex; align-items: center; }
.line li:not(:last-child)::after { content: ""; width: 18px; height: 4px; background: var(--green); margin: 0 2px; }
.line button { border: 2px solid var(--green); background: #fff; border-radius: 999px; padding: 5px 11px; font-size: 14px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.line button:hover { background: var(--mist); }
.line .end button { background: var(--green); color: #fff; }
.line .hit button { background: var(--sun); border-color: var(--sun-d); color: var(--green-d); }
.slug { font-size: 13px; color: var(--ink2); font-family: ui-monospace, Menlo, monospace; overflow-wrap: anywhere; }

/* Historia */
.story { background: var(--sun); }
.story-in { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 24px 56px; align-items: center; }
.big70 { display: grid; line-height: .85; color: var(--ink); }
.story-pic { display: block; width: 100%; max-width: 1240px; margin: 36px auto 0; aspect-ratio: 1280 / 480; object-fit: cover; border-radius: 20px; }
.big70 b { font-family: var(--disp); font-weight: 900; font-stretch: 120%; font-size: clamp(110px, 16vw, 220px); letter-spacing: -.05em; }
.big70 span { font-family: var(--disp); font-weight: 800; font-size: clamp(28px, 3vw, 40px); padding-left: 8px; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.timeline li { display: grid; gap: 6px; align-content: start; padding-top: 16px; border-top: 4px solid var(--ink); color: #2f2a12; }
.timeline b { font-family: var(--disp); font-size: 20px; color: var(--ink); }

/* PQR */
.pqr-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.pqr h2 { max-width: 14em; }
.pqr .lead { margin: 12px 0 22px; }
.tabs { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--mist); width: max-content; max-width: 100%; margin-bottom: 18px; }
.tabs button { min-height: 42px; padding: 0 18px; border-radius: 999px; border: 0; background: transparent; font-weight: 700; cursor: pointer; color: var(--ink2); }
.tabs button[aria-selected="true"] { background: #fff; color: var(--green-d); box-shadow: 0 2px 8px -2px rgba(6, 48, 31, .25); }
.pqr-form { display: grid; gap: 14px; }
.pqr-form .btn { justify-self: start; }
.pqr-side { display: grid; gap: 18px; }
.pqr-out, .rate { padding: 22px; border-radius: 18px; background: var(--mist); display: grid; gap: 12px; }
.pqr-out h3 { font-size: 20px; }
.pqr-card { display: grid; gap: 10px; padding: 18px; border-radius: 14px; background: #fff; }
.pqr-id { font-family: var(--disp); font-weight: 900; font-size: 24px; color: var(--green); }
.track { list-style: none; margin: 4px 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.track li { padding-top: 12px; border-top: 5px solid var(--line); font-weight: 700; font-size: 14px; color: var(--ink2); display: grid; }
.track li.on { border-color: var(--green); color: var(--green-d); }
.track small { font-weight: 500; font-size: 13px; }
.stars { display: flex; gap: 4px; }
.stars button { width: 44px; height: 44px; border: 0; background: none; cursor: pointer; color: #b9c9bf; padding: 4px; }
.stars .ico { width: 36px; height: 36px; }
.stars button.on .ico, .stars button.hov .ico { fill: var(--sun); color: var(--sun-d); }
.rate-l { font-weight: 600; color: var(--ink2); }
.rate .btn { justify-self: start; }
.thanks { display: flex; gap: 10px; align-items: center; font-weight: 600; color: var(--green-d); }

/* Contacto */
.contact { background: var(--mist); }
.contact-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 40px; align-items: start; }
.care-list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 16px; }
.care-list li { display: flex; gap: 14px; align-items: flex-start; }
.care-list li > span { width: 46px; height: 46px; border-radius: 12px; background: var(--green); color: #fff; display: grid; place-items: center; flex: none; }
.care-list small { display: block; color: var(--ink2); font-size: 13px; font-weight: 600; }
.care-list a { font-weight: 700; font-size: 18px; color: var(--green-d); }
.ag h3 { margin-bottom: 14px; }
.agencies { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
.agencies li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.agencies b { grid-column: 1; }
.agencies span { grid-column: 1; font-size: 14px; color: var(--ink2); }
.agencies a { grid-column: 2; grid-row: 1 / span 2; align-self: center; text-align: right; font-weight: 600; font-size: 14px; text-decoration: none; white-space: nowrap; }

/* Footer */
.foot { background: var(--ink); color: #d4d7cf; padding: 56px var(--gut-r) calc(28px + env(safe-area-inset-bottom, 0px)) var(--gut-l); }
.foot-in { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.brand-f img { display: block; height: 64px; width: auto; background: #fff; padding: 8px 14px; border-radius: 14px; box-sizing: content-box; }
.vig img { display: block; width: 190px; height: auto; background: #fff; padding: 6px 10px; border-radius: 10px; margin-top: 6px; }
.foot-brand { display: grid; gap: 10px; align-content: start; }
.foot .small { color: #a9c6b5; }
.todo { background: rgba(255, 198, 41, .18); color: var(--sun); padding: 0 6px; border-radius: 4px; font-weight: 600; }
.social { display: flex; gap: 14px; flex-wrap: wrap; }
.foot a { color: #fff; }
.foot nav { display: grid; gap: 8px; align-content: start; }
.foot nav a { color: #cfe2d6; text-decoration: none; font-size: 15px; }
.foot nav a:hover { color: #fff; text-decoration: underline; }
.foot h4 { color: #fff; margin-bottom: 4px; }
.copy { max-width: 1240px; margin: 36px auto 0; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .15); font-size: 14px; color: #a9c6b5; }

/* Notas de la propuesta */
.notes-btn .s { display: none; }
.notes-btn { position: fixed; left: max(16px, env(safe-area-inset-left, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 40; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 2px solid var(--sun); background: var(--ink); color: #fff; font-weight: 700; font-size: 14px; cursor: pointer; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .5); }
.notes { width: min(760px, calc(100vw - 32px)); max-height: min(86vh, 900px); border: 0; border-radius: 20px; padding: 26px; color: var(--ink); }
.notes::backdrop { background: rgba(6, 48, 31, .6); }
.notes-head { display: flex; justify-content: space-between; align-items: start; gap: 12px; margin-bottom: 8px; }
.notes h2 { font-size: 28px; }
.x { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--mist); font-size: 26px; cursor: pointer; flex: none; }
.fixes { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; counter-reset: f; }
.fixes li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 15px; }
.fixes s { color: #9a3a2c; text-decoration-thickness: 1.5px; }
.fixes span { font-weight: 600; color: var(--green-d); }

/* Pantallas medianas */
@media (max-width: 1100px) {
  .nav a { padding: 8px; font-size: 14px; }
  .searchbar { grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1fr); }
  .searchbar .field:nth-of-type(3), .searchbar .field:nth-of-type(4) { grid-column: span 1; }
  .go { grid-column: 3; }
  .dep { grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr) auto auto; }
  .dep-free { display: none; }
  .points-grid { grid-template-columns: minmax(0, 1fr); }
  .member { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
  .how { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 1100px) and (min-width: 721px) {
  .searchbar { grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1fr) minmax(0, .9fr); }
  .searchbar .field:nth-of-type(3) { grid-column: 1; }
  .searchbar .field:nth-of-type(4) { grid-column: 2 / span 2; }
  .go { grid-column: 4; }
}
@media (max-width: 960px) {
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; background: #fff; padding: 8px var(--gut-r) 16px var(--gut-l); border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px -20px rgba(0, 0, 0, .3); }
  .nav-open .nav { display: flex; }
  .nav a { padding: 12px 8px; font-size: 17px; }
  .menu { display: flex; }
  .top .btn.small { margin-left: auto; }
  .two { grid-template-columns: minmax(0, 1fr); }
  .sum { position: static; }
  .fleet-grid { grid-template-columns: minmax(0, 1fr); }
  .fleet-list { grid-template-columns: repeat(3, minmax(190px, 1fr)); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 4px; }
  .why-grid { grid-template-columns: minmax(0, 1fr); }
  .why-pic img { min-height: 0; aspect-ratio: 680 / 434; height: auto; }
  .fleet-list button { scroll-snap-align: start; }
  .pqr-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .story-in { grid-template-columns: minmax(0, 1fr); }
  .timeline { grid-template-columns: minmax(0, 1fr); }
  .big70 { grid-template-columns: auto auto; align-items: end; justify-content: start; gap: 12px; }
  .sec-head { grid-template-columns: minmax(0, 1fr); }
  .facts ul { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 20px; }
  .routes { grid-template-columns: minmax(0, 1fr); }
  .foot-in { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .hero { display: flex; flex-direction: column; min-height: 0; padding: 0; background: var(--ink); }
  .hero-img { order: 2; }
  .hero::after { display: none; }
  .hero-copy { padding: 32px var(--gut-r) 28px var(--gut-l); }
  .hero-img { position: relative; display: block; height: 260px; object-position: 66% 60%; }
  .thumbs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dep-bus img { width: 64px; height: 44px; }
  .searchbar { margin: -28px 12px 0; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding: 14px; gap: 10px; border-radius: 18px; }
  .searchbar .combo { grid-column: 1 / -1; }
  .swap { position: absolute; right: 26px; top: 76px; z-index: 3; width: 40px; height: 40px; background: #fff; }
  .searchbar .field:nth-of-type(3) { grid-column: 1; } .searchbar .field:nth-of-type(4) { grid-column: 2; }
  .go { grid-column: 1 / -1; width: 100%; }
  .stepper { justify-content: space-between; }
  .dep { grid-template-columns: minmax(0, 1fr) auto; gap: 10px 14px; padding: 14px; }
  .dep-time { grid-column: 1 / -1; }
  .dep-time b { font-size: 24px; }
  .dep-bus { grid-column: 1; }
  .dep-price { grid-column: 2; grid-row: 2; }
  .dep .btn { grid-column: 1 / -1; width: 100%; }
  .days { grid-template-columns: repeat(5, minmax(108px, 1fr)); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 4px; }
  .days button { scroll-snap-align: start; }
  .count { margin-left: 0; width: 100%; }
  .steps li { padding: 6px; font-size: 0; }
  .steps li.on { font-size: 14px; padding-right: 12px; }
  .pax, .row2, .calc-in { grid-template-columns: minmax(0, 1fr); }
  .methods { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ticket { grid-template-columns: minmax(0, 1fr); }
  .t-stub { border-left: 0; border-top: 2px dashed #b9cfc2; grid-template-columns: auto minmax(0, 1fr); justify-items: start; text-align: left; }
  .t-stub::before, .t-stub::after { display: none; }
  .code-svg { width: 96px; height: 96px; }
  .ticket dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .t-route b { font-size: 28px; }
  .pillars { grid-template-columns: minmax(0, 1fr); }
  .fleet-info { grid-template-columns: minmax(0, 1fr); }
  .perks { grid-column: 1; grid-row: auto; }
  .member { grid-template-columns: minmax(0, 1fr); }
  .tiers { grid-template-columns: minmax(0, 1fr); }
  .calc-out { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .calc-out p:last-child { grid-column: 1 / -1; }
  .agencies { grid-template-columns: minmax(0, 1fr); }
  .foot-in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fixes li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .notes { padding: 20px; }
  .notes-btn { font-size: 13px; padding: 0 14px; }
  .notes-btn .l { display: none; } .notes-btn .s { display: inline; }
  .facts ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts li:last-child { grid-column: 1 / -1; }
  .done-head { align-items: flex-start; }
  .done-head h3 { font-size: 24px; }
}
@media (max-width: 420px) {
  .top .btn.small { display: none; }
  .brand { font-size: 18px; margin-right: auto; }
  .busplan { --s: 42px; --a: 14px; gap: 6px; padding: 14px; }
  .seat { width: 42px; height: 42px; }
  .seatwrap { padding: 14px 8px; }
}

.nfix { font-style: normal; }
.care-list a, .foot a { overflow-wrap: anywhere; }
