@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/manrope-latin-400-normal.woff2) format('woff2') }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/manrope-latin-600-normal.woff2) format('woff2') }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 800; font-display: swap; src: url(fonts/manrope-latin-800-normal.woff2) format('woff2') }
@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/playfair-display-latin-600-normal.woff2) format('woff2') }
@font-face { font-family: 'Playfair Display'; font-style: italic; font-weight: 500; font-display: swap; src: url(fonts/playfair-display-latin-500-italic.woff2) format('woff2') }

/* Layout: app de una columna (máx. 520px) con banda azul arriba, contenido en crema y barra de pestañas fija abajo. */
:root {
  --navy: #173541; --lime: #d7d94f; --cream: #f7f4ec; --sky: #83b8c4;
  --bg: #f7f4ec; --paper: #fcfbf7; --ink: #173541; --muted: #5a6d76; --line: #e3ded2;
  --band: #173541; --band-ink: #f7f4ec; --band-muted: #9fc4cd;
  --sky-soft: #e2eef1; --lime-soft: #f1f2c9; --lime-ink: #173541;
  --ok: #9a9c1e; --ok-soft: #eef0bf; --warn: #4f8f9c; --warn-soft: #dcebef;
  --plate: #ffffff; --plate-in: #f7f4ec; --plate-line: #b9c9cf; --hole: #173541; --btn: #173541; --btn-ink: #f7f4ec; --scrim: rgba(23, 53, 65, .55); --shadow: 0 1px 2px rgba(23,53,65,.06), 0 6px 18px rgba(23,53,65,.07);
  --fs-xs: 11.5px; --fs-sm: 12.5px; --fs-base: 14px; --fs-md: 15.5px; --fs-lg: 18px; --fs-xl: 22px; --fs-2xl: 28px; --fs-hero: 58px;
  --display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --bg: #0f2430; --paper: #173541; --ink: #f7f4ec; --muted: #a7bcc4; --line: #2b4955;
  --band: #0b1c25; --band-ink: #f7f4ec; --band-muted: #83b8c4;
  --sky-soft: #21485a; --lime-soft: #3a4126; --lime-ink: #f7f4ec;
  --ok: #d7d94f; --ok-soft: #3a4126; --warn: #83b8c4; --warn-soft: #21485a;
  --plate: #21485a; --plate-in: #173541; --plate-line: #4d7180; --hole: #0b1c25; --btn: #83b8c4; --btn-ink: #0f2430; --scrim: rgba(3, 12, 17, .72); --shadow: none; color-scheme: dark } }
:root[data-theme="dark"] {
  --bg: #0f2430; --paper: #173541; --ink: #f7f4ec; --muted: #a7bcc4; --line: #2b4955;
  --band: #0b1c25; --band-ink: #f7f4ec; --band-muted: #83b8c4;
  --sky-soft: #21485a; --lime-soft: #3a4126; --lime-ink: #f7f4ec;
  --ok: #d7d94f; --ok-soft: #3a4126; --warn: #83b8c4; --warn-soft: #21485a;
  --plate: #21485a; --plate-in: #173541; --plate-line: #4d7180; --hole: #0b1c25; --btn: #83b8c4; --btn-ink: #0f2430; --scrim: rgba(3, 12, 17, .72); --shadow: none; color-scheme: dark }

* { box-sizing: border-box }
[hidden] { display: none !important }
html, body { height: 100% }
body { padding-top: env(safe-area-inset-top, 0px); background: var(--bg); color: var(--ink); font-family: var(--body); font-size: var(--fs-md); line-height: 1.45; margin: 0; -webkit-tap-highlight-color: transparent }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--band) }
button { font: inherit; color: inherit }
a { color: inherit }
:focus-visible { outline: 2px solid var(--sky); outline-offset: 2px }
h1, h2, h3 { text-wrap: balance; margin: 0 }
.app { max-width: 520px; margin: 0 auto; min-height: 100%; display: flex; flex-direction: column }

/* Banda superior */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5; background: var(--band); color: var(--band-ink);
  padding-block: 12px; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px));
  display: flex; align-items: center; gap: 10px }
.top .logo { height: 26px; width: auto; display: block }
.top .sp { flex: 1 }
.net { white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-sm); font-weight: 600; color: var(--band-muted); padding: 4px 9px; border-radius: 99px; border: 1px solid rgba(131,184,196,.35) }
.net i { width: 7px; height: 7px; border-radius: 50%; background: var(--lime) }
.net.off { color: var(--band-ink); border-color: rgba(247,244,236,.35) }
.net.off i { background: transparent; border: 1.5px solid var(--band-ink) }
.ib { background: none; border: 0; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; cursor: pointer; color: var(--band-ink) }
.ib:hover { background: rgba(247,244,236,.08) }
.ib svg { width: 20px; height: 20px }
.demo { background: var(--lime); color: #173541; border: 0; border-radius: 99px; font-size: var(--fs-xs); font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 5px 10px; cursor: pointer }

.offbar { background: var(--warn-soft); color: var(--ink); font-size: var(--fs-sm); padding-block: 9px; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); display: flex; gap: 8px; align-items: center }
.offbar svg { width: 16px; height: 16px; flex: none; color: var(--warn) }

main { flex: 1; padding-block: 16px calc(96px + env(safe-area-inset-bottom, 0px)); padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); display: grid; gap: 22px; align-content: start }
.sec { display: grid; gap: 10px; min-width: 0 }
.sec > h2 { font-family: var(--display); font-weight: 600; font-size: var(--fs-xl); display: flex; align-items: center; gap: 9px }
.sec > h2::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--lime); flex: none }
.sec > h2 small { margin-left: auto; font-family: var(--body); font-size: var(--fs-sm); font-weight: 600; color: var(--muted) }
.lead { color: var(--muted); font-size: var(--fs-base); margin: 0 }
.eyebrow { font-size: var(--fs-xs); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--sky) }

/* Hero */
.hero { background: var(--band); color: var(--band-ink); border-radius: 18px; padding: 20px 18px 18px; position: relative; overflow: hidden; display: grid; gap: 6px }
.hero .stk { position: absolute; right: -4px; top: 6px; width: 96px; transform: rotate(8deg); pointer-events: none }
.hero .eyebrow { color: var(--band-muted); padding-right: 90px }
.hero h1 { font-family: var(--display); font-weight: 600; font-size: var(--fs-2xl); line-height: 1.1; padding-right: 86px }
.hero h1 em { font-weight: 400; color: var(--lime) }
.count { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-top: 12px; padding-top: 14px; border-top: 1px dashed rgba(131,184,196,.4) }
.count b { font-family: var(--display); font-weight: 600; font-size: var(--fs-hero); line-height: .9; color: var(--lime); font-variant-numeric: lining-nums }
.count .cw { font-size: var(--fs-lg); font-weight: 600 }
.hero .meta { font-size: var(--fs-base); color: var(--band-muted); padding-right: 86px }
.route { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px }
.route span { font-size: var(--fs-sm); font-weight: 600; padding: 4px 10px; border-radius: 99px; background: rgba(247,244,236,.09); border: 1px solid rgba(131,184,196,.3) }
.route span b { color: var(--lime); font-weight: 600 }
.dots { position: absolute; inset: 0; pointer-events: none }
.dots i { position: absolute; border-radius: 50%; background: var(--lime); opacity: .5 }

/* Próximo evento */
.next { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; display: grid; gap: 8px; box-shadow: var(--shadow) }
.next .k { font-size: var(--fs-xs); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); display: flex; justify-content: space-between; gap: 8px }
.next .k b { color: var(--ink); letter-spacing: .02em; text-transform: none; font-size: var(--fs-sm) }
.next .t { display: flex; gap: 12px; align-items: baseline }
.next .t .h { font-weight: 800; font-size: var(--fs-2xl); font-variant-numeric: tabular-nums }
.next .t .w { font-weight: 600; font-size: var(--fs-md); min-width: 0 }
.next .d { color: var(--muted); font-size: var(--fs-base) }

/* Botones */
.btns { display: flex; flex-wrap: wrap; gap: 8px }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; background: var(--btn); color: var(--btn-ink); border: 0; border-radius: 11px; padding: 10px 14px; font-weight: 600; font-size: var(--fs-base); cursor: pointer; text-decoration: none; box-shadow: inset 0 -3px 0 var(--lime) }
.btn svg { width: 17px; height: 17px }
.btn.sec2 { background: transparent; color: var(--ink); border: 1px solid var(--line); box-shadow: none }
.btn.lime { background: var(--lime); color: #173541; box-shadow: none }
.btn.block { width: 100% }
.btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed }
.note { font-size: var(--fs-sm); color: var(--muted); display: flex; gap: 6px; align-items: flex-start }
.note svg { width: 14px; height: 14px; flex: none; margin-top: 2px }

/* Tarjetas genéricas */
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; display: grid; gap: 10px; min-width: 0 }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px }
.tile { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 12px; display: grid; gap: 6px; text-align: left; cursor: pointer; min-width: 0; text-decoration: none }
.tile .ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--sky-soft); color: var(--ink) }
.tile .ic svg { width: 18px; height: 18px }
.tile b { font-size: var(--fs-base) }
.tile span { font-size: var(--fs-sm); color: var(--muted); overflow-wrap: anywhere }

/* Timeline de pasos */
.steps { display: grid; gap: 0; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 6px 14px }
.step { display: grid; grid-template-columns: 62px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line) }
.step:last-child { border-bottom: 0 }
.step .dt { font-size: var(--fs-sm); font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; line-height: 1.25 }
.step .dt b { display: block; font-size: var(--fs-lg); color: var(--ink); letter-spacing: 0 }
.step .tx b { display: block; font-size: var(--fs-base) }
.step .tx span { font-size: var(--fs-sm); color: var(--muted) }
.step.done { opacity: .55 }
.step.done .tx b { text-decoration: line-through }
.step.now .dt b { color: var(--ink) }

/* Checklist valija */
.pack { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; overflow: hidden }
.pack-h { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; align-items: center; padding: 14px 16px 12px; position: relative }
.pack-h .stk { width: 64px; transform: rotate(-8deg); grid-row: 1 / span 2; grid-column: 2 }
.pack-h b { font-size: var(--fs-md) }
.bar { height: 8px; border-radius: 99px; background: var(--sky-soft); overflow: hidden }
.bar i { display: block; height: 100%; background: var(--lime); border-radius: 99px; transition: width .3s }
.bag-note { margin: 0 16px 12px; background: var(--lime-soft); color: var(--lime-ink); border-radius: 12px; padding: 10px 12px; font-size: var(--fs-base) }
.bag-note b { font-weight: 800 }
.grp { border-top: 1px solid var(--line) }
.grp > button { width: 100%; background: none; border: 0; display: flex; align-items: center; gap: 10px; padding: 12px 16px; cursor: pointer; text-align: left; font-weight: 600; font-size: var(--fs-base) }
.grp > button span { margin-left: auto; color: var(--muted); font-weight: 600; font-size: var(--fs-sm); font-variant-numeric: tabular-nums }
.grp > button svg { width: 16px; height: 16px; transition: transform .2s; color: var(--muted) }
.grp.open > button svg { transform: rotate(90deg) }
.grp ul { list-style: none; margin: 0; padding: 0 16px 10px; display: none }
.grp.open ul { display: grid }
.grp li label { display: flex; gap: 11px; align-items: flex-start; padding: 8px 0; cursor: pointer; font-size: var(--fs-base) }
.grp li input { position: absolute; opacity: 0; pointer-events: none }
.grp li .bx { width: 22px; height: 22px; border-radius: 7px; border: 2px solid var(--line); flex: none; display: grid; place-items: center; margin-top: -1px }
.grp li .bx svg { width: 14px; height: 14px; opacity: 0; color: #173541 }
.grp li input:checked + .bx { background: var(--lime); border-color: var(--lime) }
.grp li input:checked + .bx svg { opacity: 1 }
.grp li input:checked ~ .lt { color: var(--muted); text-decoration: line-through }
.grp li input:focus-visible + .bx { outline: 2px solid var(--sky); outline-offset: 2px }
.lt small { display: block; color: var(--muted); font-size: var(--fs-sm); text-decoration: none }

/* Itinerario */
.days { display: grid; gap: 14px }
.day { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; scroll-margin-top: 80px }
.day.today { border-color: var(--sky); box-shadow: 0 0 0 2px var(--sky) }
.day-h { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; padding: 12px 14px; background: var(--bg) ; border-bottom: 1px solid var(--line) }
.day-h .n { text-align: center; line-height: 1.05 }
.day-h .n small { display: block; font-size: var(--fs-xs); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted) }
.day-h .n b { font-family: var(--display); font-size: var(--fs-2xl); font-weight: 600 }
.day-h h3 { font-family: var(--display); font-weight: 600; font-size: var(--fs-lg); line-height: 1.15 }
.day-h .c { font-size: var(--fs-sm); color: var(--muted); font-weight: 600 }
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 5px; height: 22px; padding: 0 9px; border-radius: 99px; font-size: var(--fs-xs); font-weight: 600; letter-spacing: .01em; line-height: 1; white-space: nowrap; background: var(--bg); color: var(--ink); vertical-align: middle; flex: none }
.pill::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: none }
.pill.today::before { display: none }
.pill.est { width: 92px; padding: 0 }
.pill.today { background: var(--lime); color: #173541; font-weight: 800 }
.pill.p-ok { background: var(--ok-soft); color: var(--ink) }
.pill.p-ok::before { background: var(--ok) }
.pill.p-coord { background: var(--warn-soft); color: var(--ink) }
.pill.p-coord::before { background: var(--warn) }
.pill.p-sug { background: transparent; color: var(--muted); box-shadow: inset 0 0 0 1px var(--line) }
.pill.p-sug::before { background: transparent; box-shadow: inset 0 0 0 1.5px var(--muted) }
.legend { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px }
.blk { display: grid; grid-template-columns: 52px 1fr; gap: 12px; padding: 11px 14px; border-bottom: 1px dashed var(--line); position: relative }
.blk:last-child { border-bottom: 0 }
.blk .tm { font-weight: 800; font-size: var(--fs-base); font-variant-numeric: tabular-nums; text-align: center; padding-top: 1px }
.blk .tm .ty { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; margin: 6px auto 0; background: var(--sky-soft) }
.blk .tm .ty svg { width: 16px; height: 16px }
.blk .bd { display: grid; gap: 4px; min-width: 0 }
.blk .bd b { font-size: var(--fs-base) }
.blk .bd p { margin: 0; font-size: var(--fs-base); color: var(--muted) }
.blk .bd .row { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 2px }
.lnk { background: none; border: 0; padding: 0; font-weight: 600; font-size: var(--fs-sm); color: var(--ink); text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: 2px; text-underline-offset: 3px; cursor: pointer }
.blk.past { opacity: .5 }
.blk.nowb::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 3px; background: var(--lime); border-radius: 0 3px 3px 0 }

/* Hoteles */
.hotel { border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: var(--paper) }
.hotel-h { background: var(--band); color: var(--band-ink); padding: 14px 16px; display: grid; grid-template-columns: 1fr auto; column-gap: 16px; row-gap: 4px; align-items: start; position: relative }
.hotel-h h3 { font-family: var(--display); font-weight: 600; font-size: var(--fs-xl); line-height: 1.15; grid-column: 1; min-width: 0 }
.hotel-h .z { font-size: var(--fs-sm); color: var(--band-muted); grid-column: 1; min-width: 0 }
.hotel-h .nts { grid-column: 2; grid-row: 1 / span 2; align-self: start; background: var(--lime); color: #173541; border-radius: 10px 10px 10px 2px; padding: 4px 9px; font-weight: 800; font-size: var(--fs-sm); text-align: center; line-height: 1.1 }
.hotel-h .nts small { display: block; font-size: var(--fs-xs); font-weight: 600; letter-spacing: .04em }
.inout { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line) }
.inout div { padding: 12px 16px; display: grid; gap: 2px }
.inout div + div { border-left: 1px solid var(--line) }
.inout small { font-size: var(--fs-xs); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted) }
.inout b { font-size: var(--fs-md) }
.inout span { font-size: var(--fs-sm); color: var(--muted) }
.inout .hr { font-size: var(--fs-xl); font-weight: 800; font-variant-numeric: tabular-nums; color: var(--ink) }
.hotel-b { padding: 12px 16px 16px; display: grid; gap: 10px }
.kv { display: grid; grid-template-columns: 104px 1fr; gap: 6px 12px; font-size: var(--fs-base) }
.kv dt { color: var(--muted) }
.kv dd { margin: 0; font-weight: 600; min-width: 0 }
.chips { display: flex; flex-wrap: wrap; gap: 6px }
.chip { font-size: var(--fs-sm); font-weight: 600; padding: 4px 10px; border-radius: 99px; background: var(--bg); border: 1px solid var(--line) }
.chip.no { background: var(--warn-soft); border-color: transparent; color: var(--warn) }
.here { display: inline-flex; gap: 6px; align-items: center; font-size: var(--fs-sm); font-weight: 800; color: #173541; background: var(--lime); border-radius: 99px; padding: 3px 9px; justify-self: start }

/* Documentos */
.docs { display: grid; gap: 10px }
.bp { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; display: grid }
.bp-h { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; background: var(--bg); border-bottom: 1px solid var(--line); font-size: var(--fs-sm); font-weight: 600 }
.bp-h .dir { background: var(--navy); color: var(--lime); font-size: var(--fs-xs); letter-spacing: .14em; padding: 3px 9px; border-radius: 99px; font-weight: 800 }
.bp-r { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 14px 14px 8px }
.bp-r .ap b { display: block; font-size: var(--fs-2xl); font-weight: 800; letter-spacing: .02em; line-height: 1 }
.bp-r .ap span { font-size: var(--fs-sm); color: var(--muted) }
.bp-r .ap.e { text-align: right }
.bp-r .mid { display: grid; justify-items: center; gap: 2px; font-size: var(--fs-xs); color: var(--muted); font-weight: 600 }
.bp-r .ln { width: 100%; height: 14px; position: relative }
.bp-r .ln::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 2px dashed var(--sky) }
.bp-r .ln img { position: absolute; left: 50%; top: 50%; width: 30px; transform: translate(-50%, -55%) rotate(4deg); background: var(--paper); padding: 0 3px }
.bp-t { display: flex; justify-content: space-between; padding: 0 14px 12px; font-variant-numeric: tabular-nums }
.bp-t b { font-size: var(--fs-lg); font-weight: 800 }
.bp-t span { font-size: var(--fs-sm); color: var(--muted); display: block; font-weight: 600 }
.bp-t div:last-child { text-align: right }
.bp-f { border-top: 2px dashed var(--line); padding: 10px 14px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; font-size: var(--fs-sm); position: relative }
.bp-f::before, .bp-f::after { content: ""; position: absolute; top: -9px; width: 16px; height: 16px; border-radius: 50%; background: var(--bg); border: 1px solid var(--line) }
.bp-f::before { left: -9px } .bp-f::after { right: -9px }
.bp-f small { display: block; color: var(--muted); font-size: var(--fs-xs); font-weight: 600; letter-spacing: .1em; text-transform: uppercase }
.bp-f b { font-size: var(--fs-base); overflow-wrap: anywhere }
.bp-a { padding: 0 14px 14px }
.drow { display: grid; grid-template-columns: 40px 1fr auto; gap: 12px; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; text-align: left; cursor: pointer; width: 100% }
.drow .ic { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--sky-soft) }
.drow .ic svg { width: 19px; height: 19px }
.drow b { display: block; font-size: var(--fs-base) }
.drow span { font-size: var(--fs-sm); color: var(--muted) }
.drow > svg { width: 18px; height: 18px; color: var(--muted) }
.pax { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; display: grid; gap: 8px }
.pax .hd { display: flex; justify-content: space-between; gap: 8px; align-items: center }
.pax .hd b { font-size: var(--fs-md) }
.pax .num { font-weight: 800; font-size: var(--fs-lg); letter-spacing: .08em; font-variant-numeric: tabular-nums }
.pax .num.mask { color: var(--muted) }
.lockline { display: flex; gap: 6px; align-items: center; font-size: var(--fs-sm); color: var(--muted) }
.lockline svg { width: 14px; height: 14px }

/* Destino */
.seg { display: grid; grid-template-columns: 1fr 1fr; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 4px; gap: 4px }
.seg button { border: 0; background: none; border-radius: 9px; padding: 9px; font-weight: 600; font-size: var(--fs-base); cursor: pointer; color: var(--muted) }
.seg button[aria-pressed="true"] { background: var(--navy); color: var(--cream); box-shadow: inset 0 -3px 0 var(--lime) }
.wx { display: grid; grid-auto-flow: column; grid-auto-columns: 76px; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none }
.wx-d { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 10px 6px; display: grid; justify-items: center; gap: 4px; font-size: var(--fs-sm) }
.wx-d.today { border-color: var(--sky); box-shadow: 0 0 0 1px var(--sky) }
.wx-d small { font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; font-size: var(--fs-xs) }
.wx-d svg { width: 28px; height: 28px }
.wx-d b { font-size: var(--fs-md); font-variant-numeric: tabular-nums }
.wx-d span { color: var(--muted); font-variant-numeric: tabular-nums }
.wx-src { font-size: var(--fs-sm); color: var(--muted); display: flex; gap: 6px; align-items: flex-start }
.wx-src svg { width: 14px; height: 14px; flex: none; margin-top: 2px }
.sugs { display: grid; gap: 10px }
.sug { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; display: grid; gap: 4px }
.sug .cat { font-size: var(--fs-xs); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--sky) }
.sug b { font-size: var(--fs-md) }
.sug p { margin: 0; font-size: var(--fs-base); color: var(--muted) }
.sug .when { font-size: var(--fs-sm); font-weight: 600; color: var(--ink); margin-top: 2px }
.info { display: grid; grid-template-columns: 1fr 1fr; gap: 10px }
.info > div { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 11px 12px; display: grid; gap: 2px; min-width: 0 }
.info small { font-size: var(--fs-xs); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted) }
.info b { font-size: var(--fs-base) }
.info span { font-size: var(--fs-sm); color: var(--muted) }
.phr { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 4px 14px }
.phr div { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: var(--fs-base) }
.phr div:last-child { border-bottom: 0 }
.phr b { font-weight: 600 }
.phr span { color: var(--muted) }
.emg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px }
.emg div { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 10px; text-align: center }
.emg b { display: block; font-size: var(--fs-xl); font-weight: 800; font-variant-numeric: tabular-nums }
.emg span { font-size: var(--fs-sm); color: var(--muted) }
.contact { background: var(--band); color: var(--band-ink); border-radius: 18px; padding: 16px; display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; align-items: center; position: relative; overflow: hidden }
.contact .stk { width: 70px; grid-row: 1 / span 3; grid-column: 2; transform: rotate(8deg) }
.contact h3 { font-family: var(--display); font-weight: 600; font-size: var(--fs-lg) }
.contact p { margin: 0; font-size: var(--fs-base); color: var(--band-muted) }
.contact .ph { font-weight: 800; font-size: var(--fs-md); user-select: all }
.contact .btns { grid-column: 1 / -1 }

/* Pix y enchufe */
.pixc { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; display: grid; gap: 12px }
.pixc p { margin: 0; font-size: var(--fs-base) }
.pix-h { display: flex; gap: 12px; align-items: center }
.pix-logo { width: 48px; height: 48px; border-radius: 14px; background: var(--sky-soft); color: var(--ink); display: grid; place-items: center; flex: none }
.pix-logo svg { width: 28px; height: 28px }
.pix-h b { display: block; font-size: var(--fs-md) }
.pix-h span { font-size: var(--fs-sm); color: var(--muted) }
.pix-g { display: grid; gap: 6px }
.pix-g small { font-size: var(--fs-xs); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted) }
.chip.best { background: var(--lime); border-color: var(--lime); color: #173541; font-weight: 600 }
.pix-t { margin: 0; padding-left: 18px; display: grid; gap: 6px; font-size: var(--fs-base); color: var(--muted) }
.pix-t li::marker { color: var(--sky) }
.info .plug { grid-column: 1 / -1; gap: 8px }
.plug-ill { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 6px 0 2px }
.plug-ill figure { margin: 0; display: grid; justify-items: center; gap: 4px; flex: 1; min-width: 0 }
.plug-ill svg { width: 100%; max-width: 72px; height: auto }
.plug-ill figcaption { font-size: var(--fs-sm); font-weight: 600; text-align: center; line-height: 1.2 }
.plug-ill figcaption span { font-weight: 400; color: var(--muted) }
.plug-ne { font-size: var(--fs-xl); font-weight: 600; color: var(--muted); flex: none }
.plug-ill.multi { gap: 3px }
.plug-ill.multi svg { max-width: 54px }
.plug-ill.multi .plug-ne { font-size: var(--fs-lg) }
.plug-mini { display: flex; align-items: center; gap: 8px; margin-top: 6px; font-size: var(--fs-sm); color: var(--muted); text-decoration: none }
.plug-mini svg { flex: none }

/* Pestañas */
.tabs { position: fixed; left: 0; right: 0; bottom: 0; z-index: 6; background: var(--paper); border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom, 0px); padding-left: env(safe-area-inset-left, 0px); padding-right: env(safe-area-inset-right, 0px) }
.tabs nav { max-width: 520px; margin: 0 auto; display: grid; grid-template-columns: repeat(5, 1fr) }
.tabs button { background: none; border: 0; padding: 9px 2px 10px; display: grid; justify-items: center; gap: 3px; font-size: var(--fs-xs); font-weight: 600; color: var(--muted); cursor: pointer; position: relative }
.tabs button svg { width: 22px; height: 22px }
.tabs button[aria-current="page"] { color: var(--ink) }
.tabs button[aria-current="page"]::before { content: ""; position: absolute; top: 0; left: 30%; right: 30%; height: 3px; border-radius: 0 0 3px 3px; background: var(--lime) }

/* Hojas y overlays */
.ov { position: fixed; inset: 0; z-index: 30; background: var(--scrim); display: flex; align-items: flex-end; justify-content: center }
.sheet { background: var(--paper); color: var(--ink); width: 100%; max-width: 520px; max-height: 90%; overflow: auto; border-radius: 20px 20px 0 0;
  padding-block: 10px calc(20px + env(safe-area-inset-bottom, 0px)); padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); display: grid; gap: 14px }
.sheet .grab { width: 40px; height: 4px; border-radius: 4px; background: var(--line); justify-self: center }
.sheet-h { display: flex; justify-content: space-between; align-items: center; gap: 12px }
.sheet-h h2 { font-family: var(--display); font-weight: 600; font-size: var(--fs-xl) }
.x { background: var(--bg); border: 0; width: 34px; height: 34px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; flex: none }
.x svg { width: 16px; height: 16px }
.opt { display: grid; gap: 6px }
.opt label { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; font-size: var(--fs-base) }
.opt label small { margin-left: auto; color: var(--muted); font-size: var(--fs-sm) }
.opt input { accent-color: #173541; width: 18px; height: 18px }
.sw { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; font-size: var(--fs-base) }
.sw span small { display: block; color: var(--muted); font-size: var(--fs-sm) }
.sw input { appearance: none; -webkit-appearance: none; width: 46px; height: 28px; border-radius: 99px; background: var(--line); position: relative; cursor: pointer; flex: none; transition: background .2s }
.sw input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform .2s; box-shadow: 0 1px 3px rgba(0,0,0,.2) }
.sw input:checked { background: var(--ok) }
.sw input:checked::after { transform: translateX(18px) }
.danger { color: var(--ink); text-decoration: underline; text-underline-offset: 3px }
.confirm { background: var(--warn-soft); border-radius: 12px; padding: 12px; display: grid; gap: 10px; font-size: var(--fs-base) }

/* Visor de documento */
.viewer { position: fixed; inset: 0; z-index: 35; background: var(--bg); display: flex; flex-direction: column; padding-top: env(safe-area-inset-top, 0px) }
.viewer .top { position: static }
.viewer .top h2 { font-size: var(--fs-md); font-weight: 600; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
.vbody { flex: 1; overflow: auto; padding-block: 16px 24px; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); display: grid; gap: 14px; align-content: start; max-width: 520px; width: 100%; margin: 0 auto }
.paperdoc { background: #ffffff; color: #173541; border-radius: 6px; box-shadow: 0 1px 3px rgba(0,0,0,.12), 0 10px 30px rgba(0,0,0,.08); padding: 22px 20px; display: grid; gap: 12px; aspect-ratio: 1 / 1.3; max-width: 100%; align-content: start; position: relative; overflow: hidden }
.paperdoc .bd { height: 9px; border-radius: 3px; background: #ebe7dc }
.paperdoc .bd.s { width: 60% } .paperdoc .bd.m { width: 80% }
.paperdoc h3 { font-size: var(--fs-md); font-weight: 800 }
.paperdoc .qr { width: 112px; height: 112px; justify-self: center; margin: 6px 0; background:
  repeating-linear-gradient(90deg, #173541 0 6px, transparent 6px 11px), repeating-linear-gradient(0deg, #173541 0 5px, transparent 5px 9px); opacity: .85; border: 8px solid #fff; outline: 2px solid #173541 }
.paperdoc .wm { position: absolute; inset: auto 0 18px; text-align: center; font-size: var(--fs-sm); color: #5a6d76 }
.paperdoc .ft { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; font-size: var(--fs-sm) }
.paperdoc .ft small { display: block; color: #5a6d76; font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .1em; font-weight: 600 }

/* Dirección para el taxista */
.taxi { position: fixed; inset: 0; z-index: 36; background: #f7f4ec; color: #173541; display: grid; align-content: center; gap: 14px; padding-block: 24px; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); text-align: center }
.taxi .pt { font-size: var(--fs-lg); font-weight: 600 }
.taxi h2 { font-family: var(--display); font-weight: 600; font-size: clamp(34px, 10vw, 52px); line-height: 1.05 }
.taxi .ad { font-size: var(--fs-xl); font-weight: 600 }
.taxi .es { font-size: var(--fs-base); color: #5a6d76 }
.taxi .btn { justify-self: center; background: #173541; color: #f7f4ec }

/* Acceso: bienvenida, PIN, bloqueo */
.gate { position: fixed; inset: 0; z-index: 40; background: #173541; color: #f7f4ec; overflow: auto; display: flex; flex-direction: column; align-items: center;
  padding-block: calc(28px + env(safe-area-inset-top, 0px)) calc(24px + env(safe-area-inset-bottom, 0px)); padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)) }
.gate .in { width: 100%; max-width: 380px; display: grid; gap: 16px; justify-items: center; text-align: center; margin: auto 0; position: relative }
.gate .glogo { width: 170px; height: auto; margin-bottom: 8px }
.gate .glogo.s { width: 120px }
.gate h1 { font-family: var(--display); font-weight: 600; font-size: var(--fs-2xl); line-height: 1.1 }
.gate h1 em { color: #d7d94f; font-weight: 400 }
.gate p { margin: 0; color: #a9cbd3; font-size: var(--fs-base); max-width: 32ch }
.gate .fld { width: 100%; display: grid; gap: 6px; text-align: left }
.gate .fld span { font-size: var(--fs-sm); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #83b8c4 }
.gate input[type=text] { width: 100%; background: rgba(247,244,236,.08); border: 1.5px solid rgba(131,184,196,.45); color: #f7f4ec; border-radius: 12px; padding: 14px; font: 800 var(--fs-xl) var(--body); letter-spacing: .18em; text-align: center; text-transform: uppercase }
.gate .btn { background: #d7d94f; color: #173541; box-shadow: none; width: 100%; padding: 14px; font-size: var(--fs-md) }
.gate .btn.ghost { background: transparent; color: #f7f4ec; border: 1px solid rgba(131,184,196,.45) }
.gate .small { font-size: var(--fs-sm); color: #83b8c4; display: flex; gap: 6px; align-items: flex-start; text-align: left; max-width: 34ch }
.gate .small svg { width: 14px; height: 14px; flex: none; margin-top: 2px }
.gate .err { color: #d7d94f; font-size: var(--fs-base); min-height: 20px; font-weight: 600 }
.pins { display: flex; gap: 16px; justify-content: center; margin: 6px 0 2px }
.pins i { width: 16px; height: 16px; border-radius: 50%; border: 2px solid #83b8c4; transition: background .15s, transform .15s }
.pins i.on { background: #d7d94f; border-color: #d7d94f; transform: scale(1.08) }
.pins.shake { animation: shake .35s }
@keyframes shake { 20%, 60% { transform: translateX(-8px) } 40%, 80% { transform: translateX(8px) } }
.pad { display: grid; grid-template-columns: repeat(3, 72px); gap: 14px 22px; justify-content: center }
.pad button { width: 72px; height: 72px; border-radius: 50%; border: 0; background: rgba(247,244,236,.08); color: #f7f4ec; font: 600 var(--fs-2xl) var(--body); cursor: pointer; display: grid; place-items: center }
.pad button:active { background: rgba(215,217,79,.3) }
.pad button.fn { background: transparent; font-size: var(--fs-base) }
.pad button svg { width: 26px; height: 26px }
.prog { width: 100%; display: grid; gap: 10px; text-align: left }
.prog div { display: flex; gap: 10px; align-items: center; font-size: var(--fs-base); color: #a9cbd3 }
.prog div.ok { color: #f7f4ec }
.prog div i { width: 20px; height: 20px; border-radius: 50%; border: 2px solid #83b8c4; flex: none; display: grid; place-items: center }
.prog div.ok i { background: #d7d94f; border-color: #d7d94f }
.prog div.ok i::after { content: ""; width: 8px; height: 4px; border-left: 2px solid #173541; border-bottom: 2px solid #173541; transform: rotate(-45deg) translate(1px, -1px) }
.gate .stk { width: 110px; transform: rotate(-6deg) }
.bio { width: 86px; height: 86px; border-radius: 50%; display: grid; place-items: center; background: rgba(215,217,79,.15); color: #d7d94f }
.bio svg { width: 46px; height: 46px }
.bio.scan { animation: pulse 1s ease-in-out infinite }
@keyframes pulse { 50% { box-shadow: 0 0 0 14px rgba(215,217,79,.12) } }

.toast { position: fixed; left: 50%; bottom: calc(88px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); background: var(--ink); color: var(--bg); padding: 10px 14px; border-radius: 10px; font-size: var(--fs-base); font-weight: 600; z-index: 50; opacity: 0; transition: opacity .2s; pointer-events: none; max-width: calc(100vw - 32px); text-align: center }
.toast.show { opacity: 1 }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important } }
@media (max-width: 360px) { .pad { grid-template-columns: repeat(3, 64px); gap: 12px 18px } .pad button { width: 64px; height: 64px } .count b { font-size: var(--fs-hero) } }

/* Etapa 2: instalación, PIN real y visor de PDF */
.howto { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; width: 100%; text-align: left }
.howto li { display: flex; gap: 12px; align-items: center; background: rgba(247,244,236,.07); border: 1px solid rgba(131,184,196,.3); border-radius: 12px; padding: 12px; font-size: var(--fs-base) }
.howto .n { width: 28px; height: 28px; border-radius: 50%; background: #d7d94f; color: #173541; font-weight: 800; display: grid; place-items: center; flex: none }
.howto b { color: #f7f4ec }
.shr { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 6px; background: rgba(247,244,236,.12); vertical-align: middle }
.shr svg { width: 16px; height: 16px }
.pad.dim { opacity: .45; pointer-events: none }
.gate .lnk.lt2 { color: #83b8c4; text-decoration-color: rgba(131,184,196,.5); font-size: var(--fs-base) }
.gate a.btn { text-decoration: none }
.gate .btn.danger2 { background: transparent; color: #f7f4ec; box-shadow: inset 0 0 0 1.5px #83b8c4 }
.btn.danger { color: var(--ink); text-decoration: underline; text-underline-offset: 3px }
.docv { background: #ffffff; border-radius: 8px; box-shadow: 0 1px 3px rgba(0,0,0,.12), 0 10px 30px rgba(0,0,0,.08); overflow: hidden; display: grid; gap: 8px; min-height: 160px }
.docv .ld { display: grid; place-items: center; min-height: 220px; color: #5a6d76; font-size: var(--fs-base) }
.pdfpg { display: block; width: 100%; height: auto; background: #fff }
.docimg { display: block; width: 100%; height: auto }
.docmiss { display: grid; justify-items: center; gap: 6px; text-align: center; padding: 28px 18px; color: #173541; background: #f7f4ec }
.docmiss svg { width: 28px; height: 28px; color: #5a6d76 }
.docmiss span { font-size: var(--fs-base); color: #5a6d76; max-width: 34ch }

/* Check-in y regreso */
.ck { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; display: grid; gap: 10px }
.ck-h { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap }
.ck-h .dir { background: var(--navy); color: var(--lime); font-size: var(--fs-xs); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: 3px 9px; border-radius: 99px }
.ck-t { display: grid; gap: 2px }
.ck-t b { font-size: var(--fs-lg) }
.ck-t span { font-size: var(--fs-sm); color: var(--muted) }
.ck-d { margin: 0; display: grid; gap: 8px; background: var(--bg); border-radius: 12px; padding: 10px 12px }
.ck-d div { display: grid; grid-template-columns: 118px 1fr; gap: 10px; align-items: baseline; font-size: var(--fs-base) }
.ck-d dt { color: var(--muted) }
.ck-d dd { margin: 0; display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; min-width: 0 }
.ck-d .code { font-size: var(--fs-lg); font-weight: 800; letter-spacing: .12em; font-variant-numeric: tabular-nums; user-select: all }
.ck-n { margin: 0; font-size: var(--fs-sm); color: var(--muted) }
.reg { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 6px 16px 14px; display: grid; gap: 0 }
.reg-r { display: grid; grid-template-columns: 54px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line) }
.reg-r .t { font-weight: 800; font-variant-numeric: tabular-nums }
.reg-r .w { display: grid; gap: 2px; min-width: 0 }
.reg-r .w span { font-size: var(--fs-sm); color: var(--muted) }
.reg .btns { margin-top: 12px }
.step .tx .lnk { margin-top: 4px; justify-self: start }
.step .tx { display: grid }

.bp-pax { display: grid; gap: 8px }
.bp-pax .btn span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap }

.ck-mkw { display: flex; gap: 10px; align-items: flex-start; margin: 0; padding: 10px 12px; border-radius: 12px; background: var(--ok-soft); font-size: var(--fs-base); line-height: 1.4 }
.ck-mkw svg { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--ok) }

.adj { display: grid; gap: 8px }
.adj h3 { margin: 4px 0 0; font-size: var(--fs-sm); letter-spacing: .08em; text-transform: uppercase; color: var(--muted) }
.adj-r { display: flex; align-items: center; gap: 10px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px }
.adj-r .ic { flex: none; width: 34px; height: 34px; border-radius: 10px; background: var(--sky-soft); display: grid; place-items: center }
.adj-r .ic svg { width: 18px; height: 18px }
.adj-t { flex: 1; min-width: 0; display: grid }
.adj-t b { font-size: var(--fs-base) }
.adj-t span { font-size: var(--fs-sm); color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap }
.adj-r .btn { flex: none; width: auto; min-height: 38px; padding: 0 14px }
.adj-r .btn svg { margin: 0 }

.code-row { display: flex; gap: 8px; align-items: stretch }
.code-row input { flex: 1; min-width: 0 }
.code-row .btn { flex: none; width: auto; padding: 0 14px; color: #f7f4ec; box-shadow: inset 0 0 0 1.5px rgba(131,184,196,.45) }
.code-tip { font-size: var(--fs-sm); color: var(--band-muted); margin: 6px 0 0; line-height: 1.4 }

.dpick { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px }
.dcard { display: flex; align-items: center; gap: 10px; text-align: left; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; cursor: pointer; color: var(--ink); font: inherit }
.dcard img { width: 40px; height: 40px; object-fit: contain; flex: none }
.dcard b { display: block; font-size: var(--fs-md); font-weight: 600 }
.dcard small { display: block; font-size: var(--fs-sm); color: var(--muted) }
.dcard[aria-pressed="true"] { background: var(--band); border-color: var(--band); color: var(--band-ink); box-shadow: inset 0 -3px 0 var(--lime) }
.dcard[aria-pressed="true"] small { color: var(--band-muted) }
.dest-div { display: flex; align-items: center; gap: 10px; margin: 6px 0 -4px; color: var(--muted); font-size: var(--fs-xs); font-weight: 600; letter-spacing: .08em; text-transform: uppercase }
.dest-div::before, .dest-div::after { content: ''; flex: 1; border-top: 1px dashed var(--line) }
