/* Vitolo Tours · sistema visual
   Lo memorable: la estela del avión y el lenguaje de aeropuerto (tablero de salidas, pase de abordar).
   Todo lo demás, sobrio. Paleta de marca: #0A4C97, #E3701D, #63A62F, #2CA8DD y blanco. */
@import url('fonts.css');

:root {
  --blue: #0A4C97; --blue-d: #083C78; --night: #0B2747; --orange: #E3701D; --orange-d: #C85A10; --orange-l: #FDEBDD;
  --green: #63A62F; --green-d: #3F7A17; --green-l: #EAF5E0; --sky: #2CA8DD; --sky-l: #E6F5FC;
  --ink: #0B2747; --muted: #5A6B82; --line: #DCE5EF; --bg: #F4F8FC; --card: #fff;
  --warn: #FFF3E3; --warn-ink: #8A4B06; --bad: #B42318; --bad-bg: #FDECEA; --ok-bg: var(--green-l);
  --r-lg: 22px; --r: 14px; --r-sm: 10px;
  --shadow: 0 1px 0 rgba(11,39,71,.04), 0 10px 30px -12px rgba(11,39,71,.18);
  --display: 'Big Shoulders Display', 'Arial Narrow', sans-serif;
  --text: 'Instrument Sans', ui-sans-serif, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-family: var(--text); color: var(--ink); background: var(--bg);
}
* { box-sizing: border-box; }
html, body { overflow-x: clip; }
body { margin: 0; line-height: 1.55; font-size: 16px; -webkit-font-smoothing: antialiased; }
a { color: var(--blue); text-underline-offset: 3px; }
h1, h2, h3 { margin: 0 0 .5rem; line-height: 1.05; }
h1, h2 { font-family: var(--display); font-weight: 800; letter-spacing: .005em; }
h1 { font-size: clamp(2.4rem, 8vw, 4.2rem); }
h2 { font-size: clamp(1.7rem, 5vw, 2.3rem); }
h3 { font-size: 1.06rem; font-weight: 700; line-height: 1.3; }
p { margin: 0 0 .75rem; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.ic { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.25em; }

/* ---------- Barra DEMO y cabecera ---------- */
.demo-bar { background: var(--night); color: #FFD7B5; font-size: .76rem; text-align: center; padding: .4rem 1rem; }
.demo-bar b { color: #fff; }
.top { background: #fff; color: var(--ink); position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--line); }
.top .in { max-width: 1160px; margin: 0 auto; padding: .55rem 1rem; display: flex; align-items: center; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .55rem; color: var(--blue); text-decoration: none; white-space: nowrap; }
.brand span { font-family: var(--display); font-weight: 900; font-size: 1.55rem; letter-spacing: .02em; text-transform: uppercase; line-height: 1; }
.brand span i { font-style: normal; color: var(--orange); }
.logo-mark { width: 40px; height: 40px; flex: none; }
.top nav { margin-left: auto; display: flex; gap: .2rem; align-items: center; }
.top nav a { color: var(--ink); text-decoration: none; padding: .45rem .75rem; border-radius: 999px; font-size: .92rem; font-weight: 600; }
.top nav a:hover { background: var(--sky-l); }
@media (max-width: 560px) { .top nav a.hide-sm { display: none; } .brand span { font-size: 1.3rem; } .logo-mark { width: 34px; height: 34px; } }

main { max-width: 1160px; margin: 0 auto; padding: 0 1rem 7rem; }
main.flush { max-width: none; padding: 0 0 7rem; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 1rem; }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; border: 0; border-radius: 999px; padding: .8rem 1.35rem; font-weight: 700; cursor: pointer; text-decoration: none; background: var(--orange); color: #fff; min-height: 48px; transition: background .15s, transform .1s; }
.btn:hover { background: var(--orange-d); }
.btn:active { transform: scale(.98); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }
.btn.sec { background: #fff; color: var(--blue); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn.sec:hover { box-shadow: inset 0 0 0 1.5px var(--blue); background: #fff; }
.btn.ghost { background: transparent; color: var(--blue); padding: .5rem .7rem; min-height: 0; }
.btn.ghost:hover { background: var(--sky-l); }
.btn.light { background: rgba(255,255,255,.14); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.4); }
.btn.light:hover { background: rgba(255,255,255,.24); }
.btn.blue { background: var(--blue); } .btn.blue:hover { background: var(--blue-d); }
.btn.danger { background: var(--bad); }
.btn.small { padding: .45rem .85rem; font-size: .88rem; min-height: 36px; }
.btn.block { width: 100%; }
.btn.big { min-height: 56px; font-size: 1.05rem; padding: .9rem 1.6rem; }

/* ---------- Piezas genéricas (también las usa el panel) ---------- */
.card { background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); padding: 1.2rem; }
.grid { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.grid > * { min-width: 0; }
.stack > * + * { margin-top: 1rem; }
.row { display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; }
.spread { display: flex; justify-content: space-between; gap: 1rem; align-items: flex-start; flex-wrap: wrap; }
.muted { color: var(--muted); } .small { font-size: .87rem; } .right { text-align: right; }
.tag { display: inline-flex; align-items: center; gap: .3rem; font-size: .78rem; font-weight: 700; padding: .22rem .6rem; border-radius: 999px; background: var(--sky-l); color: var(--blue); line-height: 1.25; }
.tag.demo { background: var(--night); color: #FFD7B5; }
.tag.ok { background: var(--green-l); color: var(--green-d); } .tag.warn { background: var(--warn); color: var(--warn-ink); } .tag.bad { background: var(--bad-bg); color: var(--bad); } .tag.grey { background: #EEF2F7; color: #4C5A6C; }
.dot { width: .55rem; height: .55rem; border-radius: 50%; display: inline-block; background: currentColor; flex: none; }
.note { background: var(--warn); color: var(--warn-ink); border-radius: var(--r-sm); padding: .75rem .95rem; font-size: .92rem; }
.note.info { background: var(--sky-l); color: #0D5677; } .note.ok { background: var(--green-l); color: #335C13; } .note.bad { background: var(--bad-bg); color: var(--bad); }
label.f { display: flex; flex-direction: column; gap: .3rem; font-size: .88rem; font-weight: 600; color: var(--muted); }
input, select, textarea { border: 1.5px solid var(--line); border-radius: 12px; padding: .7rem .8rem; background: #fff; min-height: 48px; width: 100%; color: var(--ink); }
input:focus, select:focus, textarea:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 4px #D6E6FA; }
textarea { min-height: 100px; resize: vertical; }
input[type="checkbox"], input[type="radio"] { width: 22px; height: 22px; min-height: 0; accent-color: var(--blue); flex: none; box-shadow: none; }
.check { display: flex; gap: .7rem; align-items: flex-start; font-size: .94rem; cursor: pointer; }
.two { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
ul.yes, ul.no { list-style: none; padding: 0; margin: 0; } ul.yes li, ul.no li { padding: .3rem 0 .3rem 1.7rem; position: relative; }
ul.yes li::before, ul.no li::before { position: absolute; left: 0; top: .32rem; width: 1.15rem; height: 1.15rem; border-radius: 50%; display: grid; place-items: center; font-size: .7rem; font-weight: 800; }
ul.yes li::before { content: "✓"; background: var(--green-l); color: var(--green-d); } ul.no li::before { content: "✕"; background: #F1F4F8; color: var(--muted); }
.verif { padding: 0; margin: 0; } .verif li { list-style: none; padding: .2rem 0; font-size: .9rem; }
.sum { display: grid; grid-template-columns: 1fr auto; gap: .35rem .8rem; font-size: .95rem; }
.sum .tot { font-weight: 800; font-size: 1.15rem; border-top: 1px solid var(--line); padding-top: .5rem; }
.loading { color: var(--muted); padding: 3rem 0; text-align: center; }
.tbl-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; font-size: .9rem; }
th, td { text-align: left; padding: .6rem .5rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: .78rem; color: var(--muted); font-weight: 700; white-space: nowrap; }
tr.click { cursor: pointer; } tr.click:hover td { background: #F6F9FD; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.itin { list-style: none; padding: 0; margin: 0; counter-reset: s; }
.itin li { counter-increment: s; position: relative; padding: 0 0 1rem 2.4rem; }
.itin li::before { content: counter(s); position: absolute; left: 0; top: -.05rem; width: 1.75rem; height: 1.75rem; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-size: .8rem; font-weight: 700; }
pre.mail { white-space: pre-wrap; background: #F6F8FB; border-radius: 12px; padding: 1rem; font-size: .88rem; font-family: ui-monospace, Menlo, monospace; }
dialog { border: 0; border-radius: var(--r-lg); padding: 0; width: min(94vw, 720px); max-height: 90vh; box-shadow: 0 30px 80px rgba(11,39,71,.35); color: var(--ink); }
dialog::backdrop { background: rgba(11,39,71,.5); backdrop-filter: blur(2px); }
dialog .dlg { padding: 1.3rem; }
#toasts { position: fixed; bottom: 6rem; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; gap: .5rem; z-index: 100; width: min(92vw, 420px); }
.toast { background: var(--night); color: #fff; padding: .8rem 1.1rem; border-radius: 14px; box-shadow: var(--shadow); font-size: .94rem; animation: rise .25s ease-out; }
.toast-bad { background: var(--bad); }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }

/* ================================================================ WEB DEL VIAJERO */

/* ---------- Portada ---------- */
.hero { background: var(--blue); color: #fff; position: relative; overflow: hidden; }
.hero .wrap { position: relative; padding-top: clamp(1.2rem, 6vw, 5rem); padding-bottom: clamp(3.5rem, 8vw, 6rem); display: grid; gap: 1.5rem; align-items: center; }
@media (min-width: 900px) { .hero .wrap { grid-template-columns: 1.15fr .85fr; } }
.hero h1 { color: #fff; font-size: clamp(3.1rem, 12vw, 6rem); line-height: .9; text-transform: uppercase; letter-spacing: .01em; max-width: 10ch; margin-bottom: 1rem; }
.hero p { color: #D7E7FA; font-size: 1.12rem; max-width: 32rem; }
.hero .cta { display: flex; gap: .7rem; flex-wrap: wrap; margin-top: 1.5rem; }
.hero-art { position: absolute; top: .8rem; right: .6rem; width: min(40vw, 160px); aspect-ratio: 1; }
.hero .wrap > div:first-child { position: relative; z-index: 1; padding-top: 6.5rem; }
@media (min-width: 560px) { .hero .wrap > div:first-child { padding-top: 0; } .hero-art { width: 200px; top: 1.5rem; right: 1rem; } }
@media (min-width: 900px) { .hero-art { position: relative; top: auto; right: auto; justify-self: center; width: min(40vw, 380px); } }
.hero-art svg { width: 100%; height: 100%; overflow: visible; }
.hero-art .trail { stroke-dasharray: 1000; stroke-dashoffset: 1000; animation: draw 1.8s .3s ease-out forwards; }
.hero-art .jet { offset-path: path("M 22 250 C 70 360, 330 330, 352 112"); offset-rotate: auto; offset-distance: 0%; animation: fly 1.8s .3s ease-out forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fly { to { offset-distance: 100%; } }

.promises { list-style: none; margin: -2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); position: relative; }
@media (min-width: 860px) { .promises { grid-template-columns: repeat(4, 1fr); } }
.promises li { background: #fff; padding: 1rem 1.1rem; display: flex; gap: .7rem; align-items: flex-start; font-size: .92rem; line-height: 1.35; }
.promises .ic { color: var(--orange); width: 1.6rem; height: 1.6rem; }
.promises b { display: block; color: var(--ink); }
.promises span { color: var(--muted); font-size: .85rem; }

.section { padding-top: clamp(2.5rem, 6vw, 4rem); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.1rem; }
.section-head p { color: var(--muted); margin: 0; max-width: 40rem; }

/* Filtros rápidos */
.quick { display: flex; gap: .45rem; overflow-x: auto; padding: .2rem .1rem .7rem; scrollbar-width: none; }
.quick::-webkit-scrollbar { display: none; }
.pill { border: 1.5px solid var(--line); background: #fff; color: var(--ink); border-radius: 999px; padding: .5rem .95rem; cursor: pointer; white-space: nowrap; min-height: 42px; font-weight: 600; font-size: .92rem; display: inline-flex; align-items: center; gap: .4rem; }
.pill[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.pill .count { background: var(--orange); color: #fff; border-radius: 999px; padding: 0 .45rem; font-size: .75rem; }
.more-filters { display: grid; gap: .7rem; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); align-items: end; margin-bottom: 1rem; }
.empty { text-align: center; padding: 2.5rem 1rem; }

/* Tarjeta de escapada */
.pcard { display: flex; flex-direction: column; overflow: hidden; padding: 0; text-decoration: none; color: inherit; border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow); }
.pcard .cover { aspect-ratio: 5 / 3; position: relative; background: var(--blue); }
.scene { width: 100%; height: 100%; display: block; }
.pcard .cover .tag { position: absolute; top: .8rem; left: .8rem; }
.pcard .body { padding: 1.1rem 1.2rem 1.25rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.pcard h3 { font-family: var(--display); font-weight: 800; font-size: 1.85rem; line-height: 1; margin: 0; }
.pcard .facts-mini { display: flex; gap: .4rem 1rem; color: var(--muted); font-size: .86rem; flex-wrap: wrap; }
.pcard .facts-mini span { display: inline-flex; gap: .3rem; align-items: center; }
.pcard .foot { margin-top: auto; display: flex; justify-content: space-between; align-items: flex-end; gap: .5rem; padding-top: .5rem; border-top: 1px solid var(--line); }
.price { font-family: var(--display); font-weight: 800; font-size: 2rem; line-height: 1; }
.price small { font-family: var(--text); font-size: .8rem; font-weight: 600; color: var(--muted); display: block; margin-bottom: .15rem; }
.pcard:hover h3 { color: var(--blue); }
.next-date { font-size: .86rem; text-align: right; }
.next-date b { display: block; text-transform: capitalize; }

/* ---------- Tablero de salidas (lenguaje de aeropuerto) ---------- */
.board { background: var(--night); color: #fff; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); }
.board-head { display: grid; grid-template-columns: 4.2rem 1fr auto; gap: .9rem; padding: .7rem 1.1rem; font-size: .8rem; color: #8FB0D6; border-bottom: 1px solid rgba(255,255,255,.08); }
.board a.brow { display: grid; grid-template-columns: 4.2rem 1fr auto; gap: .9rem; align-items: center; padding: .85rem 1.1rem; color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.07); }
.board a.brow:last-child { border-bottom: 0; }
.board a.brow:hover { background: rgba(255,255,255,.05); }
.bdate { font-family: var(--display); font-weight: 800; line-height: .9; text-align: center; }
.bdate b { font-size: 2.1rem; display: block; color: #FFD7B5; }
.bdate span { font-size: .82rem; color: #8FB0D6; font-family: var(--text); font-weight: 600; text-transform: capitalize; }
.bdest { min-width: 0; }
.bdest strong { font-family: var(--display); font-weight: 800; font-size: 1.5rem; letter-spacing: .03em; text-transform: uppercase; display: block; line-height: 1.05; }
.bdest span { color: #B9CDE6; font-size: .86rem; }
.bstate { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: .25rem; }
.st { font-family: var(--display); font-weight: 700; font-size: 1.1rem; letter-spacing: .03em; display: inline-flex; align-items: center; gap: .4rem; }
.st.open { color: #9FD4F5; } .st.ok { color: #9BE06A; } .st.wait { color: #FFC37A; } .st.full { color: #FF8C82; }
.bstate .p { font-size: .86rem; color: #B9CDE6; }
@media (max-width: 420px) { .board-head { display: none; } .bdest strong { font-size: 1.25rem; } }

/* ---------- Asistente "Encontrá tu próxima escapada" ---------- */
dialog.finder { width: min(100vw, 560px); }
@media (max-width: 600px) { dialog.finder { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; border-radius: 0; margin: 0; } }
.finder .dlg { padding: 0; display: flex; flex-direction: column; min-height: min(620px, 100dvh); height: 100%; }
.fhead { display: flex; align-items: center; gap: .6rem; padding: .8rem 1rem; border-bottom: 1px solid var(--line); }
.fhead .bar { flex: 1; height: 6px; background: var(--line); border-radius: 3px; overflow: hidden; }
.fhead .bar i { display: block; height: 100%; background: var(--orange); transition: width .3s ease; }
.fbody { padding: 1.4rem 1.2rem 1.6rem; flex: 1; overflow-y: auto; }
.fbody h2 { font-size: 2.3rem; margin-bottom: 1.1rem; }
.fbody .step-n { color: var(--muted); font-weight: 600; font-size: .88rem; margin-bottom: .2rem; }
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: .7rem; }
.tile { border: 1.5px solid var(--line); background: #fff; border-radius: 16px; padding: 1rem .9rem; text-align: left; cursor: pointer; display: flex; flex-direction: column; gap: .5rem; font-weight: 700; min-height: 104px; transition: border-color .15s, background .15s; }
.tile .ic { width: 1.8rem; height: 1.8rem; color: var(--blue); }
.tile small { font-weight: 500; color: var(--muted); }
.tile:hover { border-color: var(--blue); }
.tile[aria-pressed="true"] { border-color: var(--blue); background: var(--sky-l); box-shadow: 0 0 0 3px #D6E6FA; }
.match { border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 0 0 2px var(--orange), var(--shadow); background: #fff; display: block; color: inherit; text-decoration: none; }
.match .cover { aspect-ratio: 16 / 7; }
.match .in { padding: 1rem 1.1rem 1.2rem; }
.match h3 { font-family: var(--display); font-weight: 800; font-size: 1.9rem; line-height: 1; margin: .3rem 0; }
.why { list-style: none; padding: 0; margin: .6rem 0 0; display: grid; gap: .35rem; font-size: .93rem; }
.why li { display: flex; gap: .5rem; align-items: flex-start; } .why .ic { color: var(--green); margin-top: .12rem; } .why li.c .ic { color: var(--orange); }
.alt { display: flex; gap: .8rem; align-items: center; padding: .7rem; border-radius: 14px; border: 1.5px solid var(--line); text-decoration: none; color: inherit; background: #fff; }
.alt .thumb { width: 76px; height: 56px; border-radius: 10px; overflow: hidden; flex: none; }
.alt b { font-family: var(--display); font-size: 1.3rem; font-weight: 800; display: block; line-height: 1.05; }

/* ---------- Ficha ---------- */
.f-cover { position: relative; height: clamp(230px, 42vw, 420px); background: var(--blue); }
.f-cover .back { position: absolute; top: 1rem; left: 1rem; background: rgba(255,255,255,.94); color: var(--ink); }
.f-title { position: relative; margin-top: -3.2rem; background: #fff; border-radius: var(--r-lg); padding: 1.3rem 1.3rem 1.1rem; box-shadow: var(--shadow); }
.f-title h1 { font-size: clamp(2.5rem, 9vw, 3.8rem); line-height: .92; text-transform: uppercase; color: var(--blue); margin: .4rem 0 .6rem; }
.f-title .lead { font-size: 1.06rem; margin: 0; max-width: 46rem; }
.facts { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; margin: .9rem 0 0; color: var(--muted); font-size: .93rem; }
.facts span { display: inline-flex; gap: .4rem; align-items: center; }
.facts .ic { color: var(--blue); }
.ficha { display: grid; gap: 1.4rem; grid-template-columns: minmax(0, 1fr); margin-top: 1.4rem; }
.ficha > * { min-width: 0; }
@media (min-width: 960px) { .ficha { grid-template-columns: minmax(0, 1fr) 380px; } .ficha aside { grid-column: 2; grid-row: 1; position: sticky; top: 84px; align-self: start; } .ficha article { grid-column: 1; grid-row: 1; } }
.block { padding: 1.5rem 0; border-top: 1px solid var(--line); }
.block:first-child { border-top: 0; padding-top: .2rem; }
.block h2 { font-size: 1.9rem; }
.route { list-style: none; padding: 0; margin: .6rem 0 0; position: relative; }
.route::before { content: ""; position: absolute; left: 11px; top: 14px; bottom: 18px; border-left: 2.5px dashed var(--orange); }
.route li { position: relative; padding: .1rem 0 1.1rem 2.4rem; }
.route li::before { content: ""; position: absolute; left: 3px; top: .35rem; width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 3px solid var(--blue); box-sizing: border-box; }
.route li:first-child::before, .route li:last-child::before { background: var(--blue); }
.datepick { display: flex; gap: .6rem; overflow-x: auto; padding: .2rem .1rem .7rem; scrollbar-width: thin; }
.dtile { flex: none; width: 116px; border: 1.5px solid var(--line); border-radius: 16px; padding: .7rem .75rem .75rem; cursor: pointer; background: #fff; text-align: left; position: relative; }
.dtile input { position: absolute; opacity: 0; pointer-events: none; }
.dtile .wd { font-size: .82rem; color: var(--muted); font-weight: 600; text-transform: capitalize; }
.dtile .dn { font-family: var(--display); font-weight: 800; font-size: 2.4rem; line-height: 1; display: block; }
.dtile .mo { font-size: .85rem; font-weight: 600; text-transform: capitalize; }
.dtile .av { margin-top: .45rem; font-size: .76rem; font-weight: 700; display: flex; gap: .3rem; align-items: center; line-height: 1.2; }
.dtile:has(input:checked) { border-color: var(--blue); background: var(--sky-l); box-shadow: 0 0 0 3px #D6E6FA; }
.dtile:has(input:focus-visible) { outline: 3px solid var(--sky); }
.dtile.off { opacity: .55; cursor: not-allowed; }
.av.open { color: var(--blue); } .av.ok { color: var(--green-d); } .av.wait { color: var(--warn-ink); } .av.full { color: var(--bad); }
.conf { display: flex; gap: .55rem; align-items: flex-start; font-size: .9rem; padding: .75rem .85rem; border-radius: 12px; background: #F4F7FB; }
.conf .ic { margin-top: .1rem; }
.conf.ok { background: var(--green-l); color: #335C13; }
.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; background: #fff; box-shadow: 0 -6px 24px rgba(11,39,71,.12); padding: .75rem 1rem calc(.75rem + env(safe-area-inset-bottom)); display: flex; gap: .8rem; align-items: center; z-index: 30; }
.mobile-bar .price { font-size: 1.7rem; }
@media (min-width: 960px) { .mobile-bar { display: none; } }

/* ---------- Reserva en pasos ---------- */
.flow { max-width: 620px; margin: 0 auto; padding-top: 1.2rem; }
.flow-head { display: flex; gap: .8rem; align-items: center; margin-bottom: 1rem; }
.flow-head .thumb { width: 68px; height: 50px; border-radius: 10px; overflow: hidden; flex: none; }
.flow-head b { display: block; font-family: var(--display); font-weight: 800; font-size: 1.45rem; line-height: 1.05; }
.stepper { display: grid; grid-template-columns: repeat(3, 1fr); gap: .4rem; margin: 0 0 1.2rem; list-style: none; padding: 0; }
.stepper li { font-size: .82rem; font-weight: 700; color: var(--muted); padding-top: .55rem; border-top: 4px solid var(--line); }
.stepper li.on { color: var(--blue); border-color: var(--orange); }
.stepper li.done { color: var(--ink); border-color: var(--blue); }
.counter-row { display: flex; justify-content: space-between; align-items: center; padding: 1rem 0; border-bottom: 1px solid var(--line); gap: 1rem; }
.counter { display: flex; align-items: center; gap: .8rem; }
.counter button { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; cursor: pointer; display: grid; place-items: center; color: var(--blue); }
.counter button:hover { border-color: var(--blue); }
.counter button[disabled] { opacity: .35; cursor: not-allowed; }
.counter output { min-width: 2ch; text-align: center; font-family: var(--display); font-weight: 800; font-size: 2rem; }
.flow-bar { position: sticky; bottom: 0; background: #fff; border-top: 1px solid var(--line); margin: 1.2rem -1.2rem -1.2rem; padding: .9rem 1.2rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; border-radius: 0 0 var(--r) var(--r); }
.flow-bar .price { font-size: 1.8rem; }

/* ---------- Pase de abordar ---------- */
.pass { background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow); overflow: hidden; position: relative; }
.pass-top { background: var(--blue); color: #fff; padding: .9rem 1.2rem; display: flex; justify-content: space-between; align-items: center; gap: .6rem; }
.pass-top .brand span { color: #fff; font-size: 1.2rem; }
.pass-top .logo-mark { width: 30px; height: 30px; }
.pass-top .kind { font-size: .85rem; color: #D7E7FA; font-weight: 600; }
.pass-route { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .9rem; padding: 1.3rem 1.2rem .4rem; }
.pass-route .code { font-family: var(--display); font-weight: 900; font-size: clamp(2.8rem, 13vw, 3.8rem); line-height: .85; color: var(--blue); }
.pass-route .code small { display: block; font-family: var(--text); font-size: .8rem; font-weight: 600; color: var(--muted); margin-top: .35rem; }
.pass-route .code.to { text-align: right; }
.pass-route .path { position: relative; height: 0; border-top: 2.5px dashed var(--orange); }
.pass-route .path .ic { position: absolute; left: 50%; top: -15px; transform: translateX(-50%); width: 28px; height: 28px; color: var(--orange); fill: var(--orange); stroke: none; background: #fff; padding: 2px; }
.pass-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .9rem 1rem; padding: 1rem 1.2rem 1.3rem; }
@media (min-width: 560px) { .pass-grid { grid-template-columns: repeat(4, 1fr); } }
.pass-grid div span { display: block; font-size: .78rem; color: var(--muted); font-weight: 600; }
.pass-grid div b { font-family: var(--display); font-weight: 800; font-size: 1.5rem; line-height: 1.1; }
.perf { position: relative; height: 0; border-top: 2px dashed var(--line); margin: 0 1.1rem; }
.perf::before, .perf::after { content: ""; position: absolute; top: -13px; width: 24px; height: 24px; border-radius: 50%; background: var(--bg); }
.perf::before { left: -2.3rem; } .perf::after { right: -2.3rem; }
.pass-stub { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; padding: 1.1rem 1.2rem 1.2rem; }
@media (max-width: 520px) { .pass-stub { grid-template-columns: 1fr; } }
.stub { border-radius: 12px; padding: .65rem .8rem; background: #F2F5F9; font-size: .88rem; }
.stub span { display: block; font-size: .78rem; font-weight: 700; color: var(--muted); }
.stub b { font-size: 1rem; }
.stub.ok { background: var(--green-l); } .stub.ok span { color: var(--green-d); }
.stub.wait { background: var(--warn); } .stub.wait span { color: var(--warn-ink); }
.stub.bad { background: var(--bad-bg); } .stub.bad span { color: var(--bad); }
.stamp { position: absolute; right: .4rem; top: -1.7rem; z-index: 1; font-family: var(--display); font-weight: 900; font-size: 1.5rem; letter-spacing: .06em; color: var(--green-d); border: 3px solid var(--green); border-radius: 10px; padding: .1rem .55rem; transform: rotate(-9deg); background: rgba(255,255,255,.85); text-transform: uppercase; }
.celebrate .stamp { animation: stamp .55s .9s cubic-bezier(.2, 1.6, .4, 1) both; }
.celebrate .pass-route .path .ic { animation: hop 1.1s ease-out both; }
@keyframes stamp { from { opacity: 0; transform: rotate(-9deg) scale(2.4); } }
.perf { z-index: 1; }
@keyframes hop { from { left: 0%; } to { left: 50%; } }
.hello { text-align: center; padding: 1.4rem 0 1.1rem; }
.hello h1 { font-size: clamp(2.3rem, 9vw, 3.4rem); color: var(--blue); text-transform: uppercase; margin-bottom: .3rem; }
.hello p { color: var(--muted); margin: 0 auto; max-width: 30rem; }
.holdbox { display: flex; gap: .8rem; align-items: center; justify-content: space-between; flex-wrap: wrap; background: var(--warn); color: var(--warn-ink); border-radius: var(--r); padding: .9rem 1rem; }
.countdown { font-family: var(--display); font-weight: 800; font-size: 1.8rem; font-variant-numeric: tabular-nums; }
.paybox { display: grid; gap: .6rem; }

/* ---------- Pasarela de prueba ---------- */
.sim { max-width: 440px; margin: 2rem auto; }
.fakecard { border-radius: 18px; padding: 1.1rem 1.2rem; color: #fff; background: linear-gradient(135deg, var(--night), var(--blue)); aspect-ratio: 1.6; display: flex; flex-direction: column; justify-content: space-between; box-shadow: var(--shadow); }
.fakecard .num { font-family: ui-monospace, Menlo, monospace; font-size: 1.1rem; letter-spacing: .12em; }

/* ---------- Viajes a medida y pie ---------- */
.custom { margin-top: clamp(2.5rem, 6vw, 4rem); background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow); overflow: hidden; display: grid; }
@media (min-width: 800px) { .custom { grid-template-columns: 1fr 1.1fr; } }
.custom .art { background: var(--blue); min-height: 200px; }
.custom .in { padding: 1.6rem; display: flex; flex-direction: column; justify-content: center; }
footer.site { max-width: 1160px; margin: 0 auto; padding: 2.5rem 1rem 7rem; color: var(--muted); font-size: .87rem; display: grid; gap: .5rem; }
footer.site .brand span { font-size: 1.3rem; }
footer.site .tag-line { font-family: var(--display); font-weight: 800; font-size: 1.4rem; color: var(--orange); text-transform: uppercase; letter-spacing: .03em; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero-art .trail { stroke-dashoffset: 0; } .hero-art .jet { offset-distance: 100%; }
}

/* ================================================================ VIAJES Y PAQUETES */
.packs { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); }
.packs > * { min-width: 0; }
.pkcard { display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden; background: #fff; box-shadow: var(--shadow); text-decoration: none; color: inherit; }
.pkcard .cover { position: relative; aspect-ratio: 4 / 3; background: var(--blue); }
.pkcard .cover .tag { position: absolute; top: .8rem; left: .8rem; }
.pkcard .code, .f-code { position: absolute; right: .8rem; bottom: .8rem; font-family: var(--display); font-weight: 900; font-size: 2.6rem; line-height: .9; color: #fff; letter-spacing: .02em; text-shadow: 0 2px 18px rgba(11,39,71,.45); }
.pkcard .body { padding: 1.1rem 1.2rem 1.25rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.pkcard .where { font-size: .82rem; font-weight: 700; color: var(--orange); }
.pkcard h3 { font-family: var(--display); font-weight: 800; font-size: 2rem; line-height: .98; margin: 0; }
.pkcard .facts-mini { display: flex; gap: .4rem 1rem; color: var(--muted); font-size: .86rem; flex-wrap: wrap; }
.pkcard .facts-mini span { display: inline-flex; gap: .3rem; align-items: center; }
.pkcard .foot { margin-top: auto; display: flex; justify-content: space-between; align-items: flex-end; gap: .5rem; padding-top: .6rem; border-top: 1px solid var(--line); }
.pkcard:hover h3 { color: var(--blue); }
.f-code { right: 1.2rem; bottom: 4.2rem; display: inline-flex; align-items: center; gap: .5rem; font-size: clamp(2.2rem, 7vw, 3.4rem); }
.f-code .ic { width: .7em; height: .7em; fill: #fff; stroke: none; }
.dtile .ret { display: block; font-size: .76rem; color: var(--muted); font-weight: 600; }
.route b.day { color: var(--blue); }
.how { list-style: none; padding: 0; margin: 0; display: grid; gap: .1rem; counter-reset: h; }
.how li { counter-increment: h; position: relative; padding: .15rem 0 .8rem 2.3rem; font-size: .92rem; }
.how li::before { content: counter(h); position: absolute; left: 0; top: 0; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--sky-l); color: var(--blue); font-weight: 800; display: grid; place-items: center; font-size: .82rem; }
.how li:not(:last-child)::after { content: ""; position: absolute; left: .78rem; top: 1.75rem; bottom: .1rem; border-left: 2px dashed var(--line); }
.how b { display: block; } .how span { color: var(--muted); }
.tiles.rooms { grid-template-columns: repeat(2, 1fr); }

/* ================================================================ PORTADA CON PLANETA */
.hero { background: radial-gradient(120% 90% at 70% 30%, #1460B5 0%, #0A4C97 38%, #0B2747 100%); }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background-image: radial-gradient(1.2px 1.2px at 12% 18%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 28% 72%, #fff 50%, transparent 51%), radial-gradient(1.4px 1.4px at 46% 12%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 63% 84%, #fff 50%, transparent 51%), radial-gradient(1.2px 1.2px at 82% 22%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 92% 64%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 6% 52%, #fff 50%, transparent 51%), radial-gradient(1.3px 1.3px at 38% 44%, #fff 50%, transparent 51%); }
.hero .wrap { padding-top: .5rem; padding-bottom: 1rem; }
.hero-art { display: none; }
.hero .wrap > div:first-child { padding-top: 0; }
.globe-stage { position: relative; width: min(100%, 520px); aspect-ratio: 1; margin: 0 auto -2.5rem; justify-self: center; }
.globe-stage canvas { display: block; }
.globe-hint { position: absolute; left: 50%; bottom: 10%; transform: translateX(-50%); font-size: .78rem; color: #B9D4F2; pointer-events: none; white-space: nowrap; opacity: .8; }
.hero-copy { position: relative; z-index: 1; }
@media (min-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr 1.05fr; padding-top: 2rem; padding-bottom: 2rem; }
  .globe-stage { order: 2; margin: 0; width: 100%; max-width: 620px; }
  .hero-copy { order: 1; }
}
.hero h1 { font-size: clamp(3.6rem, 15vw, 7.5rem); max-width: 8ch; text-shadow: 0 6px 40px rgba(4,20,48,.35); }
.dest-strip { display: flex; gap: .5rem; overflow-x: auto; padding: .4rem 0 3rem; scrollbar-width: none; position: relative; }
.dest-strip::-webkit-scrollbar { display: none; }
.dest-strip a { flex: none; display: inline-flex; align-items: center; gap: .45rem; padding: .55rem 1rem; border-radius: 999px; background: rgba(255,255,255,.1); color: #fff; text-decoration: none; font-weight: 600; font-size: .92rem; box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); backdrop-filter: blur(4px); }
.dest-strip a:hover { background: rgba(255,255,255,.2); }
.dest-strip .ic { color: #FFC37A; }

/* ================================================================ CERCANÍA */
.host { display: grid; gap: 1.4rem; grid-template-columns: 1fr; align-items: center; background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 1.6rem; }
@media (min-width: 760px) { .host { grid-template-columns: auto 1fr; padding: 2.2rem; } }
.host .avatar { width: 120px; height: 120px; border-radius: 50%; background: linear-gradient(135deg, var(--orange), #F7B26B); color: #fff; display: grid; place-items: center; font-family: var(--display); font-weight: 900; font-size: 4rem; box-shadow: 0 0 0 6px #fff, 0 0 0 8px var(--orange-l); }
.host h2 { margin: 0; }
.host p.big { font-size: 1.12rem; max-width: 46rem; margin: 0; }
.btn.wa { background: #1FA855; } .btn.wa:hover { background: #178A45; }

.hero .wrap.strip { display: block; padding-top: 0; padding-bottom: 0; }
@media (min-width: 900px) { .hero .wrap.strip .dest-strip { margin-top: -1rem; } }

.holdbox.ok { background: var(--green-l); color: #335C13; }

/* ================================================================ APP: barra inferior, favoritos, Mis viajes */
.tabbar { display: none; }
@media (max-width: 899px) {
  body[data-route="nav"] .tabbar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-top: 1px solid var(--line); box-shadow: 0 -6px 24px rgba(11,39,71,.08); padding: .3rem .25rem calc(.3rem + env(safe-area-inset-bottom)); }
  body[data-route="nav"] footer.site { padding-bottom: 6.5rem; }
  .tabbar a { position: relative; display: flex; flex-direction: column; align-items: center; gap: .12rem; padding: .35rem 0; border-radius: 12px; text-decoration: none; color: var(--muted); font-size: .7rem; font-weight: 600; }
  .tabbar a .ic { width: 1.5rem; height: 1.5rem; }
  .tabbar a[aria-current="page"] { color: var(--blue); background: var(--sky-l); }
  .tabbar a i { position: absolute; top: .05rem; right: 20%; background: var(--orange); color: #fff; font-style: normal; font-size: .66rem; font-weight: 800; border-radius: 999px; padding: 0 .35rem; }
}
.fav { position: absolute; top: .7rem; right: .7rem; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255,255,255,.94); color: var(--orange); display: grid; place-items: center; cursor: pointer; box-shadow: 0 4px 14px rgba(11,39,71,.18); transition: transform .15s; z-index: 2; }
.fav:active { transform: scale(.88); }
.fav .ic { width: 1.35rem; height: 1.35rem; }
.fav[aria-pressed="true"] { color: #E0452B; }
.title-row { display: flex; align-items: flex-start; gap: .8rem; }
.title-row h1 { flex: 1; }
.title-row .fav { position: static; flex: none; margin-top: .4rem; background: var(--sky-l); box-shadow: none; }
.page-title { font-size: clamp(2.4rem, 9vw, 3.4rem); text-transform: uppercase; color: var(--blue); margin: .4rem 0 1rem; }
.trip { display: grid; grid-template-columns: 96px 1fr; gap: 1rem; align-items: center; background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow); overflow: hidden; text-decoration: none; color: inherit; }
.trip-art { height: 100%; min-height: 120px; }
.trip-art .scene { height: 100%; }
.trip-in { display: flex; flex-direction: column; gap: .3rem; padding: .9rem 1rem .9rem 0; }
.trip-in b { font-family: var(--display); font-size: 1.4rem; line-height: 1.05; }
.trip-code { font-family: var(--display); font-weight: 900; color: var(--orange); font-size: 1rem; letter-spacing: .05em; }
.trip:hover b { color: var(--blue); }
.prep h2 { font-size: 2.2rem; color: var(--blue); }
.prep-n { font-weight: 700; color: var(--green-d); font-size: .9rem; }
.prep .goal-bar { height: 10px; background: #E6ECF3; border-radius: 999px; overflow: hidden; margin: .7rem 0 .9rem; }
.prep .goal-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--green), #8FCB5A); border-radius: 999px; transition: width .4s ease; }
.prep-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.prep-list input:checked + span { text-decoration: line-through; color: var(--muted); }

/* ================================================================ Pago, estrellas y opiniones */
.tiles.paykind { grid-template-columns: 1fr; }
@media (min-width: 520px) { .tiles.paykind { grid-template-columns: 1fr 1fr; } }
.tiles.paykind .tile { min-height: 0; }
.stars { color: #F2A33A; letter-spacing: .08em; white-space: nowrap; }
.stars .off { color: #D5DEE9; }
.stars-mini { font-size: .85rem; font-weight: 700; color: #B86A0E; }
.stars-link { display: inline-flex; align-items: center; gap: .4rem; margin: .1rem 0 .3rem; text-decoration: none; color: var(--ink); font-size: .95rem; }
.reviews { display: grid; gap: .9rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); margin-top: .6rem; }
.review { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 1rem 1.1rem; }
.review blockquote { margin: .4rem 0 .6rem; font-size: 1rem; }
.review figcaption { color: var(--muted); font-size: .85rem; font-weight: 600; }
.star-pick { display: flex; gap: .3rem; }
.star-pick button { border: 0; background: none; font-size: 2.4rem; line-height: 1; color: #D5DEE9; cursor: pointer; padding: 0 .1rem; }
.star-pick button[aria-pressed="true"] { color: #F2A33A; }
#opiniones { scroll-margin-top: 84px; }
