/* Viajá — sistema visual. Mobile first. Cambiando las variables se hace white-label. */
:root {
  --brand: #0f4fd6; --brand-2: #0a2f80; --brand-soft: #e8efff;
  --accent: #12a35f; --accent-soft: #def6ea;
  --warn: #b25e00; --warn-soft: #fff0d9; --danger: #d12f35; --danger-soft: #fde8e8;
  --ink: #0e1a2b; --ink-2: #4a586b; --muted: #7b889a; --line: #e6eaf0;
  --bg: #f3f5f9; --card: #ffffff; --radius: 18px; --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(14, 26, 43, .05), 0 8px 24px rgba(14, 26, 43, .06);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.5 var(--font); background: var(--bg); color: var(--ink); -webkit-font-smoothing: antialiased; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
h1 { font-size: 26px; line-height: 1.2; letter-spacing: -.02em; margin: 0 0 6px; }
h2 { font-size: 17px; letter-spacing: -.01em; margin: 26px 0 10px; }
h3 { font-size: 15px; margin: 0 0 10px; }
.muted { color: var(--muted); font-size: 14px; }
.sub { color: var(--ink-2); margin: 0 0 14px; }
.r { text-align: right; }
.hide { display: none !important; }
:focus-visible { outline: 3px solid #9db8ff; outline-offset: 2px; border-radius: 6px; }

/* ---------- barra superior pública ---------- */
.app-top { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.app-top .in { max-width: 680px; margin: 0 auto; padding: 12px 16px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.logo { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; font-size: 19px; color: var(--ink); letter-spacing: -.02em; }
.logo:hover { text-decoration: none; }
.logo svg { width: 28px; height: 28px; color: var(--brand); }
.pill-wa { display: inline-flex; align-items: center; gap: 6px; background: var(--accent-soft); color: #0b7a45; font-weight: 700; font-size: 14px; padding: 7px 13px; border-radius: 999px; }
.pill-wa:hover { text-decoration: none; background: #c9f0db; }
.wrap { max-width: 680px; margin: 0 auto; padding: 18px 16px 120px; }
.wrap.flat { padding-bottom: 40px; }
.foot { text-align: center; color: var(--muted); font-size: 13px; padding: 10px 0 28px; }

/* ---------- hero y selectores ---------- */
.hero { background: var(--brand); color: #fff; border-radius: 20px; padding: 20px 20px 18px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.hero h1 { color: #fff; font-size: 26px; position: relative; }
.hero p { margin: 4px 0 0; color: rgba(255, 255, 255, .85); position: relative; }
.hero .perks { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; position: relative; }
.hero .perk { background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .2); padding: 5px 11px; border-radius: 999px; font-size: 13px; font-weight: 600; }

.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; background: #e7ebf2; padding: 4px; border-radius: 14px; margin: 18px 0 12px; }
.seg a { text-align: center; padding: 11px 8px; border-radius: 11px; font-weight: 700; font-size: 14px; color: var(--ink-2); line-height: 1.25; }
.seg a:hover { text-decoration: none; }
.seg a.on { background: #fff; color: var(--brand); box-shadow: 0 1px 3px rgba(14, 26, 43, .14); }
.days { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 10px; scrollbar-width: none; scroll-snap-type: x proximity; }
.days::-webkit-scrollbar { display: none; }
.day { flex: 0 0 auto; width: 58px; padding: 9px 0; text-align: center; border-radius: 14px; background: var(--card); border: 1px solid var(--line); color: var(--ink); scroll-snap-align: start; }
.day:hover { text-decoration: none; border-color: #b9c7e6; }
.day small { display: block; font-size: 12px; text-transform: uppercase; color: var(--muted); font-weight: 700; letter-spacing: .04em; }
.day b { display: block; font-size: 20px; line-height: 1.2; }
.day.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.day.on small { color: rgba(255, 255, 255, .7); }

/* ---------- tarjetas ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin: 12px 0; box-shadow: var(--shadow); }
.card.plain { box-shadow: none; }
.slot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; }
.slot .time { font-size: 19px; font-weight: 800; letter-spacing: -.01em; }
.seats { display: flex; gap: 4px; margin-top: 6px; align-items: center; }
.seats i { width: 11px; height: 11px; border-radius: 4px; background: var(--accent); display: inline-block; }
.seats i.taken { background: #d9dfe8; }
.seats span { font-size: 13px; color: var(--ink-2); margin-left: 6px; font-weight: 600; }
.seats span.low { color: var(--warn); }
.info ul { margin: 0; padding-left: 18px; color: var(--ink-2); } .info li { margin: 5px 0; }

/* ---------- botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; background: var(--brand); color: #fff; border: 0; border-radius: 12px; padding: 11px 18px; font: inherit; font-weight: 700; cursor: pointer; transition: background .15s, transform .05s; }
.btn:hover { background: var(--brand-2); text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn.ghost { background: transparent; color: var(--brand); box-shadow: inset 0 0 0 2px #c5d3f5; }
.btn.ghost:hover { background: var(--brand-soft); }
.btn.green { background: var(--accent); } .btn.green:hover { background: #0d8a50; }
.btn.danger { background: var(--danger); } .btn.danger:hover { background: #a82329; }
.btn.big { width: 100%; padding: 15px 18px; font-size: 17px; border-radius: 14px; }
.btn.small { padding: 6px 11px; font-size: 13px; border-radius: 9px; }
.btn.small.ghost { padding: 5px 10px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.linkbtn { background: none; border: 0; color: inherit; font: inherit; cursor: pointer; padding: 0; text-decoration: underline; }
.inline { display: inline; margin: 0; }

/* ---------- etiquetas y avisos ---------- */
.tag { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.tag.green { background: var(--accent-soft); color: #0b7a45; } .tag.red { background: var(--danger-soft); color: var(--danger); }
.tag.amber { background: var(--warn-soft); color: var(--warn); } .tag.grey { background: #edf0f5; color: var(--ink-2); }
.tag.blue { background: var(--brand-soft); color: var(--brand); }
.alert { border-radius: var(--radius-sm); padding: 12px 14px; margin: 12px 0; border: 1px solid; font-size: 15px; }
.alert.green { background: var(--accent-soft); border-color: #b4e5c9; } .alert.red { background: var(--danger-soft); border-color: #f4bcbc; }
.alert.amber { background: var(--warn-soft); border-color: #f2d49b; } .alert.blue { background: var(--brand-soft); border-color: #c2d3fa; }

/* ---------- formularios ---------- */
.form label { display: block; margin: 12px 0; font-weight: 600; font-size: 14px; color: var(--ink-2); }
.form input:not([type=checkbox]):not([type=radio]), .form select, .form textarea,
.row-form input:not([type=checkbox]), .row-form select, .field {
  display: block; width: 100%; margin-top: 5px; padding: 12px 13px; border: 1.5px solid #d3dae5; border-radius: 12px; font: inherit; font-size: 16px; color: var(--ink); background: #fff; transition: border-color .15s, box-shadow .15s; }
.form input:focus, .form select:focus, .form textarea:focus, .row-form input:focus, .row-form select:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.form label.check { display: flex; gap: 10px; align-items: center; font-weight: 500; color: var(--ink); }
.form input[type=checkbox] { width: 20px; height: 20px; accent-color: var(--brand); margin: 0; }
.panel-title { display: flex; align-items: center; gap: 10px; margin: 24px 0 4px; font-size: 17px; font-weight: 800; }
.panel-title .n { width: 26px; height: 26px; border-radius: 50%; background: var(--brand); color: #fff; font-size: 13px; display: grid; place-items: center; }
fieldset.pax { border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fff; margin: 12px 0; padding: 2px 14px 12px; }
fieldset[hidden] { display: none; }
legend { font-weight: 800; padding: 0 8px; font-size: 14px; }
.legal { font-size: 13px; color: var(--muted); }

/* ---------- barra inferior fija de la reserva ---------- */
.bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); border-top: 1px solid var(--line); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); }
.bar .in { max-width: 680px; margin: 0 auto; display: flex; align-items: center; gap: 14px; }
.bar .sum { flex: 1; line-height: 1.2; }
.bar .sum small { display: block; color: var(--muted); font-size: 12px; }
.bar .sum b { font-size: 20px; letter-spacing: -.01em; }
.bar .btn { padding: 13px 20px; }

/* ---------- ticket / estado de la reserva ---------- */
.ticket { padding: 0; overflow: hidden; }
.ticket .top { background: var(--brand); color: #fff; padding: 16px 18px; }
.ticket .top small { opacity: .8; display: block; }
.ticket .top b { font-size: 20px; letter-spacing: -.01em; }
.ticket .body { padding: 14px 18px; }
.ticket .cut { border-top: 2px dashed var(--line); margin: 0 18px; }
.route { display: grid; grid-template-columns: 18px 1fr; gap: 4px 10px; margin: 6px 0; }
.route .dot { width: 12px; height: 12px; border-radius: 50%; border: 3px solid var(--brand); margin-top: 6px; background: #fff; }
.route .dot.end { border-color: var(--accent); }
.route small { color: var(--muted); display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; font-weight: 700; }
.timeline { display: flex; margin: 16px 0 4px; }
.timeline .st { flex: 1; text-align: center; font-size: 11.5px; color: var(--muted); font-weight: 700; position: relative; }
.timeline .st::before { content: ""; display: block; width: 22px; height: 22px; border-radius: 50%; background: #dfe5ee; margin: 0 auto 6px; position: relative; z-index: 1; }
.timeline .st::after { content: ""; position: absolute; top: 10px; left: calc(-50% + 11px); width: calc(100% - 22px); height: 3px; background: #dfe5ee; }
.timeline .st:first-child::after { display: none; }
.timeline .st.done { color: var(--ink); } .timeline .st.done::before { background: var(--accent); } .timeline .st.done::after { background: var(--accent); }
.timeline .st.now { color: var(--brand); } .timeline .st.now::before { background: var(--brand); box-shadow: 0 0 0 5px var(--brand-soft); } .timeline .st.now::after { background: var(--accent); }
.t { border-collapse: collapse; width: 100%; }
.t td, .t th { padding: 9px 6px; border-bottom: 1px solid var(--line); vertical-align: top; text-align: left; }
.t .sum td { font-weight: 800; border-top: 2px solid var(--line); }
.t tr:last-child td { border-bottom: 0; }

/* ---------- mapa / seguimiento ---------- */
#map { width: 100%; height: 52vh; min-height: 300px; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); z-index: 1; }
#map.tall { height: calc(100vh - 210px); }
.pin { width: 22px; height: 22px; border-radius: 50%; background: var(--brand); border: 3px solid #fff; box-shadow: 0 0 0 0 rgba(15, 79, 214, .5), 0 2px 6px rgba(0, 0, 0, .3); animation: pulse 2s infinite; }
.pin.old { background: #7b889a; animation: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 16px rgba(15, 79, 214, 0), 0 2px 6px rgba(0, 0, 0, .3); } 100% { box-shadow: 0 0 0 0 rgba(15, 79, 214, 0), 0 2px 6px rgba(0, 0, 0, .3); } }
.sheet { margin-top: 12px; }
.live { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--danger); font-size: 13px; }
.live::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--danger); animation: blink 1.2s infinite; }
@keyframes blink { 50% { opacity: .25; } }

/* ---------- vista del chofer ---------- */
.drv-card { display: flex; gap: 12px; justify-content: space-between; align-items: center; color: var(--ink); }
.drv-card:hover { text-decoration: none; }
.gps-box { text-align: center; padding: 18px; }
.gps-box .big { font-size: 15px; font-weight: 700; margin: 6px 0; }
.stop { border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 12px; margin: 10px 0; background: #fff; }
.stop .head { display: flex; justify-content: space-between; gap: 8px; align-items: flex-start; }
.stop .addr { margin: 6px 0; }
.stop .addr small { color: var(--muted); font-weight: 700; text-transform: uppercase; font-size: 11px; letter-spacing: .04em; display: block; }
.stop .acts { display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 10px; }

/* ---------- panel del operador ---------- */
body.adm { background: #eef1f6; }
.shell { display: block; min-height: 100vh; }
.side { background: var(--ink); color: #cfd8e6; padding: 12px 14px; display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; }
.side .logo { color: #fff; margin-right: auto; }
.side .logo svg { color: #7fa7ff; }
.side nav { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.side nav a, .side .linkbtn { color: #cfd8e6; padding: 8px 12px; border-radius: 10px; font-weight: 600; font-size: 14px; text-decoration: none; }
.side nav a:hover { background: rgba(255, 255, 255, .08); }
.side nav a.on { background: rgba(255, 255, 255, .14); color: #fff; }
.main { padding: 18px 16px 50px; max-width: 1180px; margin: 0 auto; }
@media (min-width: 900px) {
  .shell { display: grid; grid-template-columns: 232px 1fr; }
  .side { flex-direction: column; align-items: stretch; flex-wrap: nowrap; padding: 20px 14px; position: sticky; top: 0; height: 100vh; }
  .side .logo { margin: 0 0 14px 6px; }
  .side nav { flex-direction: column; align-items: stretch; flex: 1; }
  .side nav a { padding: 10px 12px; }
  .side .bottom { margin-top: auto; }
  .main { padding: 28px 32px 60px; width: 100%; }
}
.pagehead { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; margin-bottom: 6px; }
.kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 14px 0; }
@media (min-width: 760px) { .kpis { grid-template-columns: repeat(4, 1fr); } }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; box-shadow: var(--shadow); }
.kpi small { color: var(--muted); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; display: block; }
.kpi b { display: block; font-size: 24px; letter-spacing: -.02em; margin: 3px 0 0; }
.kpi em { font-style: normal; color: var(--muted); font-size: 12.5px; }
.kpi.hi { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; border: 0; }
.kpi.hi small, .kpi.hi em { color: rgba(255, 255, 255, .78); }
.tablewrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.t.full { font-size: 14px; min-width: 560px; }
.t.full th { background: #f6f8fb; font-size: 11.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); padding: 11px 12px; }
.t.full td { padding: 12px; }
.t.full tr:hover td { background: #fafbfd; }
.acts { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.row-form { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; }
.row-form label { font-weight: 600; font-size: 13px; color: var(--ink-2); flex: 1 1 130px; }
.row-form .btn { flex: 0 0 auto; }
.grid2 { display: grid; gap: 14px; } @media (min-width: 900px) { .grid2 { grid-template-columns: 1fr 1fr; } }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 10px; }
.chip { white-space: nowrap; padding: 7px 13px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink-2); font-weight: 600; font-size: 14px; }
.chip:hover { text-decoration: none; border-color: #b9c7e6; }
.chip.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.bar-h { display: flex; align-items: center; gap: 10px; margin: 8px 0; font-size: 14px; }
.bar-h { align-items: flex-start; }
.bar-h .lbl { flex: 0 0 44%; min-width: 0; font-size: 13px; line-height: 1.3; }
.bar-h .trk, .bar-h .val { margin-top: 3px; }
.bar-h .trk { flex: 1; height: 10px; background: #edf0f5; border-radius: 6px; overflow: hidden; }
.bar-h .trk i { display: block; height: 100%; background: var(--brand); border-radius: 0 4px 4px 0; }
.bar-h .val { flex: 0 0 92px; text-align: right; font-weight: 700; }

/* ---------- gráfico (SVG) ---------- */
.chart { position: relative; }
.chart svg { width: 100%; height: auto; display: block; }
.chart .grid { stroke: #e9edf3; stroke-width: 1; }
.chart .axis { fill: #7b889a; font-size: 11px; font-family: var(--font); }
.chart .bar { fill: var(--brand); }
.chart .hit:hover .bar { fill: var(--brand-2); }
.chart .hit rect.zone { fill: transparent; }
.chart .peak { fill: var(--ink); font-size: 11px; font-weight: 700; font-family: var(--font); }
.tip { position: absolute; pointer-events: none; background: var(--ink); color: #fff; padding: 7px 10px; border-radius: 9px; font-size: 13px; line-height: 1.3; white-space: nowrap; transform: translate(-50%, -110%); z-index: 5; box-shadow: 0 6px 18px rgba(0, 0, 0, .25); }
.tip small { display: block; color: #aebbd0; }
details.table-view { margin-top: 8px; } details.table-view summary { cursor: pointer; color: var(--brand); font-weight: 600; font-size: 14px; }

.logo-img { height: 30px; width: auto; max-width: 140px; border-radius: 6px; object-fit: contain; }

/* reserva por pasos (celular primero) */
.stepper { margin: 14px 0 4px; }
.stepper .dots { display: flex; gap: 6px; } .stepper .dots i { flex: 1; height: 6px; border-radius: 4px; background: var(--line); }
.stepper .dots i.done { background: var(--brand); opacity: .55; } .stepper .dots i.now { background: var(--brand); }
.stepper .lbl { margin-top: 6px; font-size: 13px; font-weight: 700; color: var(--ink-2); }
.step[hidden], .otro-box[hidden], .stepper[hidden] { display: none !important; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; margin: 8px 0 0; } .chips:empty { display: none; }
.chip { border: 1.5px solid var(--brand); color: var(--brand); background: var(--brand-soft); border-radius: 999px; padding: 6px 12px; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.otro-box { border-left: 3px solid var(--brand-soft); padding-left: 12px; margin-top: 6px; }
.bar .in .btn.ghost { padding: 13px 16px; }
.form input, .form select, .form textarea { font-size: 16px; } /* evita el zoom automático en iPhone */
.bar .sum small { font-size: 11.5px; }

/* autocompletado de direcciones */
.form label.geo-label { position: relative; }
.geo-list { position: absolute; left: 0; right: 0; top: 100%; z-index: 40; background: #fff; border: 1.5px solid var(--line); border-radius: 12px; box-shadow: 0 10px 30px rgba(14,26,43,.18); max-height: 260px; overflow: auto; margin-top: -2px; }
.geo-list[hidden] { display: none; }
.geo-item { display: block; width: 100%; text-align: left; background: #fff; border: 0; border-bottom: 1px solid var(--line); padding: 13px 14px; font: inherit; font-size: 15px; font-weight: 500; color: var(--ink); cursor: pointer; }
.geo-item:last-child { border-bottom: 0; } .geo-item:hover, .geo-item:active { background: var(--brand-soft); }
.geo-st { font-size: 13px; font-weight: 600; margin-top: 4px; min-height: 0; } .geo-st.ok { color: #0b7a45; } .geo-st.warn { color: var(--warn); }
.geo-gps { display: block; font-size: 14px; margin: 6px 0 0; color: var(--brand); }

.vuelo-box { background: var(--brand-soft); border-radius: 14px; padding: 4px 14px 12px; margin-top: 10px; }
.vuelo-hint { font-weight: 700; color: var(--brand); margin: 6px 0 0; }
.vuelo-tag { display: inline-block; background: var(--brand-soft); color: var(--brand); border-radius: 8px; padding: 4px 9px; font-weight: 700; font-size: 14px; margin-top: 6px; }

.servicios { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 12px; }
.servicios .perk { background: var(--brand-soft); color: var(--brand); border: 0; font-weight: 700; padding: 7px 12px; border-radius: 999px; }

.servicios .perk .i { width: 16px; height: 16px; margin-right: 5px; vertical-align: -3px; }
.servicios a.perk { text-decoration: none; cursor: pointer; } .servicios a.perk:hover, .servicios a.perk.sel { background: var(--brand); color: #fff; }

.vuelo-tag .i, label .i { width: 17px; height: 17px; vertical-align: -3px; margin-right: 4px; }

.foot .foot-by { display: block; margin-top: 4px; font-size: 12px; opacity: .8; }
.foot .foot-by a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* panel del chofer */
.chf-nav { display: flex; gap: 6px; margin: 10px 0 14px; overflow-x: auto; }
.chf-nav a { padding: 8px 14px; border-radius: 999px; background: #0b0d0e0d; color: var(--ink); font-weight: 700; white-space: nowrap; }
.chf-nav a:hover { text-decoration: none; background: #0b0d0e1a; }
.chf-nav a.on { background: var(--ink); color: #fff; }


/* ---------- v0.10: pasajero ---------- */
.servicios { align-items: center; margin: 14px 0 8px; }
.servicios .muted { font-size: 14px; }
details.tarifas summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 10px; }
details.tarifas summary::-webkit-details-marker { display: none; }
details.tarifas summary::after { content: "+"; color: var(--muted); font-weight: 400; }
details.tarifas[open] summary::after { content: "–"; }
details.tarifas ul { margin: 12px 0 0; }
.slot .btn { min-width: 112px; }

/* ---------- v0.10: chofer (celular, una mano) ---------- */
.hola { font-size: 24px; margin: 4px 0 14px; }
.ahora { display: flex; flex-direction: column; gap: 4px; background: var(--ink); color: #fff; border-radius: 20px; padding: 18px 18px 16px; box-shadow: var(--shadow); }
.ahora:hover { text-decoration: none; }
.ahora.vivo { background: var(--brand); }
.ahora-tag { font-size: 12.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; opacity: .8; }
.ahora-hora { font-size: 28px; letter-spacing: -.02em; line-height: 1.15; }
.ahora-ruta { font-size: 17px; font-weight: 600; }
.ahora-det { font-size: 14px; opacity: .8; }
.ahora-cta { margin-top: 12px; background: #fff; color: var(--ink); text-align: center; font-weight: 800; padding: 13px; border-radius: 14px; }
.lista { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.fila { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 13px 16px; border-bottom: 1px solid var(--line); color: var(--ink); }
.fila:last-child { border-bottom: 0; } .fila:hover { text-decoration: none; background: #fafbfd; }
.fila b { display: block; } .fila .muted { font-size: 13.5px; }
.card.ult { margin-top: 18px; } .card.ult .lista { margin-top: 10px; border-radius: 12px; }
.ult summary { cursor: pointer; font-weight: 700; }
.chf-nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; overflow: visible; background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line); padding: 6px 8px calc(6px + env(safe-area-inset-bottom)); }
.chf-nav a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 0; border-radius: 12px; background: none; color: var(--muted); font-size: 12.5px; font-weight: 700; }
.chf-nav a .i { width: 24px; height: 24px; }
.chf-nav a:hover { background: none; text-decoration: none; }
.chf-nav a.on { background: none; color: var(--ink); }
body:has(.chf-nav) .wrap { padding-bottom: 96px; }
::placeholder { color: #a9b2bf; opacity: 1; }
.servicios .i { width: 16px; height: 16px; vertical-align: -3px; margin-right: 4px; }

.stepper:not([hidden]) ~ form .panel-title .n { display: none; }
.stepper:not([hidden]) ~ form .panel-title { margin-top: 18px; }

.vuelo-box input,.vuelo-box select{width:100%;max-width:100%;min-width:0;box-sizing:border-box}
input[type=time],input[type=date]{min-width:0;max-width:100%;box-sizing:border-box;-webkit-appearance:none;appearance:none}
