/* Brand tokens (spec §2.3, owner-approved). */
:root {
  --brand-orange: #FF5B00; --brand-orange-hover: #E05000; --brand-orange-tint: #FFF0E6;
  --navy: #1B3A6B; --sea-blue: #1E73BE; --turquoise: #2CC4C4;
  --ink: #212121; --ink-muted: #757575; --border: #E0E0E0; --bg: #F5F5F5; --surface: #FFFFFF;
  --success: #16A34A; --warning: #F59E0B; --danger: #DC2626;
  --heading: var(--navy); --tint-navy: #EAF0F8; --tint-success: #E8F6EE; --tint-warning: #FEF5E1; --tint-danger: #FDECEC; --tint-info: #E8F1FA; --tint-teal: #E3F7F7;
  --shadow: 0 1px 2px rgba(0,0,0,.06), 0 2px 8px rgba(0,0,0,.04);
  --radius: 10px;
  --font-head: 'Lato', system-ui, sans-serif; --font-body: 'Lato', system-ui, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #121212; --surface: #1E1E1E; --ink: #F5F5F5; --ink-muted: #A3A3A3; --border: #333; --heading: #FFFFFF;
    --brand-orange-tint: #3A2416; --tint-navy: #1D2533; --tint-success: #13291C; --tint-warning: #2E2512; --tint-danger: #321717; --tint-info: #152433; --tint-teal: #12292A;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #121212; --surface: #1E1E1E; --ink: #F5F5F5; --ink-muted: #A3A3A3; --border: #333; --heading: #FFFFFF;
  --brand-orange-tint: #3A2416; --tint-navy: #1D2533; --tint-success: #13291C; --tint-warning: #2E2512; --tint-danger: #321717; --tint-info: #152433; --tint-teal: #12292A;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--ink); font: 14px/1.5 var(--font-body); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--heading); margin: 0 0 8px; line-height: 1.25; }
h1 { font-size: 22px; font-weight: 800; } h2 { font-size: 18px; font-weight: 800; } h3 { font-size: 15px; font-weight: 700; }
a { color: var(--sea-blue); }
.num, .money, td.r { font-variant-numeric: tabular-nums; }
.muted { color: var(--ink-muted); } .small { font-size: 12px; } .r { text-align: right; } .nowrap { white-space: nowrap; }
.strike { text-decoration: line-through; color: var(--ink-muted); }
.row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.row.between { justify-content: space-between; }
.stack > * + * { margin-top: 12px; }
.grid { display: grid; gap: 12px; }
.grid.cols-2 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid.cols-3 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.grid.cols-4 { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.spacer { flex: 1; }

/* Shell */
.shell { display: grid; grid-template-columns: 232px 1fr; min-height: 100vh; }
.sidebar { background: var(--surface); border-right: 1px solid var(--border); padding: 16px 10px; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.brand { display: flex; align-items: center; gap: 8px; padding: 0 8px 16px; font: 900 18px var(--font-head); color: var(--heading); letter-spacing: .5px; }
.nav a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 500; }
.nav a:hover { background: var(--bg); }
.nav a.active { background: var(--brand-orange-tint); color: var(--brand-orange); font-weight: 700; }
.nav a.disabled { color: var(--ink-muted); pointer-events: none; }
.nav .later { margin-left: auto; font-size: 10px; border: 1px solid var(--border); border-radius: 99px; padding: 0 6px; }
.nav .count { margin-left: auto; background: var(--danger); color: #fff; border-radius: 99px; font-size: 11px; padding: 0 7px; font-weight: 700; }
.nav-section { font-size: 11px; text-transform: uppercase; letter-spacing: .6px; color: var(--ink-muted); padding: 14px 10px 4px; }
.main { min-width: 0; }
.topbar { display: flex; gap: 8px; align-items: center; padding: 10px 20px; background: var(--surface); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 20; }
.topbar .search { flex: 1; max-width: 420px; position: relative; }
.search-results { position: absolute; top: 40px; left: 0; right: 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); max-height: 360px; overflow: auto; z-index: 30; }
.search-results a { display: block; padding: 8px 12px; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--border); }
.search-results a:hover { background: var(--bg); }
.content { padding: 20px; max-width: 1280px; }
.page-head { display: flex; gap: 12px; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; margin-bottom: 16px; }
.bottombar { display: none; }
.prototype-bar { background: var(--tint-navy); color: var(--heading); font-size: 12px; padding: 6px 20px; border-bottom: 1px solid var(--border); }

@media (max-width: 860px) {
  .shell { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .sidebar.open { display: block; position: fixed; inset: 0 25% 0 0; z-index: 50; box-shadow: var(--shadow); }
  .content { padding: 16px; padding-bottom: 88px; }
  .topbar { padding: 8px 16px; }
  .bottombar { display: flex; position: fixed; bottom: 0; left: 0; right: 0; background: var(--surface); border-top: 1px solid var(--border); z-index: 40; }
  .bottombar a, .bottombar button { flex: 1; text-align: center; padding: 8px 2px 10px; font-size: 11px; color: var(--ink-muted); text-decoration: none; background: none; border: 0; font-family: inherit; }
  .bottombar a.active { color: var(--brand-orange); font-weight: 700; }
  .bottombar svg { display: block; margin: 0 auto 2px; }
  .hide-sm { display: none !important; }
}

/* Cards and surfaces */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px; min-width: 0; }
.card.tight { padding: 12px; }
.card.attention { background: var(--brand-orange-tint); border-color: transparent; }
.card h3 { margin-bottom: 10px; }
.kpi .label { color: var(--ink-muted); font-size: 12px; }
.kpi .value { font: 800 22px var(--font-head); color: var(--heading); font-variant-numeric: tabular-nums; }
.empty { text-align: center; padding: 32px 16px; color: var(--ink-muted); }
.empty h3 { color: var(--heading); }
.banner { border-radius: var(--radius); padding: 10px 14px; margin-bottom: 12px; font-weight: 600; }
.banner.draft { background: repeating-linear-gradient(45deg, var(--tint-warning), var(--tint-warning) 10px, var(--surface) 10px, var(--surface) 20px); border: 1px solid var(--warning); color: var(--ink); }
.banner.info { background: var(--tint-info); color: var(--ink); font-weight: 500; }
.banner.danger { background: var(--tint-danger); color: var(--ink); border: 1px solid var(--danger); font-weight: 500; }
.banner.warn { background: var(--tint-warning); color: var(--ink); border: 1px solid var(--warning); font-weight: 500; }
.banner.success { background: var(--tint-success, rgba(22,163,74,.12)); color: var(--ink); border: 1px solid var(--success, #16a34a); font-weight: 500; }

/* Buttons and inputs */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border-radius: 8px; border: 1px solid var(--border); background: var(--surface); color: var(--ink); padding: 8px 14px; font: 600 14px var(--font-body); cursor: pointer; text-decoration: none; min-height: 38px; }
.btn:hover { border-color: var(--ink-muted); }
.btn.primary { background: var(--brand-orange); border-color: var(--brand-orange); color: #fff; font-weight: 700; font-size: 16px; }
.btn.primary:hover { background: var(--brand-orange-hover); }
.btn.navy { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn.ghost { border-color: transparent; background: transparent; color: var(--sea-blue); padding: 6px 8px; }
.btn.danger { color: var(--danger); }
.btn.sm { padding: 4px 10px; min-height: 30px; font-size: 13px; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
label.field { display: block; }
label.field > span { display: block; font-size: 12px; font-weight: 600; color: var(--ink-muted); margin-bottom: 4px; }
input, select, textarea { width: 100%; font: 14px var(--font-body); color: var(--ink); background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 8px 10px; min-height: 38px; }
textarea { min-height: 80px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--sea-blue); outline-offset: -1px; }
input[type="checkbox"], input[type="radio"] { width: auto; min-height: 0; accent-color: var(--brand-orange); }
.check { display: flex; gap: 8px; align-items: flex-start; }
.hint { font-size: 12px; color: var(--ink-muted); margin-top: 4px; }
.error-text { color: var(--danger); font-size: 13px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Chips */
.chip { display: inline-flex; align-items: center; gap: 4px; border-radius: 99px; padding: 1px 10px; font-size: 12px; font-weight: 600; white-space: nowrap; background: var(--bg); color: var(--ink); border: 1px solid var(--border); }
.chip.success { background: var(--tint-success); color: var(--success); border-color: transparent; }
.chip.warning { background: var(--tint-warning); color: #A16207; border-color: transparent; }
.chip.danger { background: var(--tint-danger); color: var(--danger); border-color: transparent; }
.chip.info { background: var(--tint-info); color: var(--sea-blue); border-color: transparent; }
.chip.teal { background: var(--tint-teal); color: #0E8080; border-color: transparent; }
.chip.navy { background: var(--tint-navy); color: var(--heading); border-color: transparent; }
.chip.action { background: var(--brand-orange-tint); color: var(--navy); border-color: transparent; }
:root[data-theme="dark"] .chip.warning, :root[data-theme="dark"] .chip.teal { color: var(--ink); }

/* Tables */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th { text-align: left; font-size: 12px; color: var(--ink-muted); font-weight: 600; padding: 8px; border-bottom: 1px solid var(--border); white-space: nowrap; }
td { padding: 8px; border-bottom: 1px solid var(--border); vertical-align: top; }
tr.click { cursor: pointer; } tr.click:hover td { background: var(--bg); }
.breakdown td { padding: 6px 4px; }
.breakdown tr.total td { font-weight: 800; font-size: 16px; border-top: 2px solid var(--ink); border-bottom: 0; }
.breakdown tr.sub td { color: var(--ink-muted); }
.price-big { font: 800 26px var(--font-head); color: var(--brand-orange); font-variant-numeric: tabular-nums; }

/* Tabs */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border); margin-bottom: 16px; overflow-x: auto; }
.tabs button { background: none; border: 0; border-bottom: 3px solid transparent; padding: 8px 12px; font: 600 14px var(--font-body); color: var(--ink-muted); cursor: pointer; white-space: nowrap; }
.tabs button.active { color: var(--brand-orange); border-color: var(--brand-orange); }

/* Kanban */
.kanban { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 1fr); gap: 12px; overflow-x: auto; padding-bottom: 8px; }
.kanban .col { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 10px; min-height: 120px; }
.kanban .col h3 { font-size: 13px; display: flex; justify-content: space-between; }
.kcard { background: var(--bg); border-radius: 8px; padding: 10px; margin-top: 8px; cursor: pointer; border: 1px solid transparent; }
.kcard:hover { border-color: var(--border); }

/* Modal and drawer */
.overlay { position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 60; display: flex; align-items: center; justify-content: center; padding: 16px; }
.modal { background: var(--surface); border-radius: 12px; width: 100%; max-width: 560px; max-height: 92vh; display: flex; flex-direction: column; box-shadow: 0 10px 40px rgba(0,0,0,.25); }
.modal.wide { max-width: 820px; }
.modal header { padding: 14px 16px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.modal header h2 { margin: 0; }
.modal .body { padding: 16px; overflow-y: auto; }
.modal footer { padding: 12px 16px; border-top: 1px solid var(--border); display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; }
.x { background: none; border: 0; font-size: 22px; cursor: pointer; color: var(--ink-muted); line-height: 1; }
.draft-label { display: inline-block; background: var(--tint-warning); border: 1px dashed var(--warning); border-radius: 6px; padding: 2px 8px; font-size: 12px; font-weight: 700; }
pre.msg { white-space: pre-wrap; font: 14px/1.5 var(--font-body); background: var(--bg); border: 1px solid var(--border); border-radius: 8px; padding: 12px; margin: 0; }

/* Toast */
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 90; box-shadow: var(--shadow); max-width: 90vw; }
.toast.error { background: var(--danger); }

/* Steps */
.steps { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.steps span { font-size: 12px; padding: 2px 10px; border-radius: 99px; background: var(--bg); color: var(--ink-muted); border: 1px solid var(--border); }
.steps span.on { background: var(--brand-orange-tint); color: var(--navy); border-color: transparent; font-weight: 700; }
.steps span.done { color: var(--success); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 16px; align-items: start; }
@media (max-width: 1000px) { .split { grid-template-columns: 1fr; } }
.sticky { position: sticky; top: 72px; }

.wave { height: 10px; background: linear-gradient(90deg, var(--navy), var(--turquoise)); border-radius: 4px; }
.hero-banner { background: linear-gradient(120deg, var(--navy), var(--turquoise)); color: #fff; border-radius: var(--radius); padding: 20px; font: 800 18px var(--font-head); min-height: 100px; display: flex; align-items: flex-end; }
.hero-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: var(--radius); display: block; }
.pkg-card { display: flex; flex-direction: column; gap: 8px; cursor: pointer; }
.pkg-card:hover { border-color: var(--ink-muted); }
.pkg-order { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 8px; border-radius: 8px; background: var(--surface-2, rgba(27,58,107,.06)); cursor: default; }
.pkg-order .row { flex-wrap: nowrap; flex: 0 0 auto; }
.pkg-order .btn.sm { padding: 4px 9px; min-width: 0; }
.bar { height: 8px; background: var(--bg); border-radius: 99px; overflow: hidden; border: 1px solid var(--border); }
.bar > div { height: 100%; background: var(--turquoise); }
.timeline li { margin-bottom: 8px; }
.timeline { padding-left: 18px; margin: 0; }
.choice { display: block; border: 2px solid var(--border); border-radius: var(--radius); padding: 12px; cursor: pointer; background: var(--surface); text-align: left; width: 100%; font: inherit; color: inherit; }
.choice.on { border-color: var(--brand-orange); background: var(--brand-orange-tint); }
.choice:disabled { opacity: .5; cursor: not-allowed; }
.stepper { display: flex; align-items: center; gap: 8px; }
.stepper button { width: 38px; height: 38px; border-radius: 8px; border: 1px solid var(--border); background: var(--surface); font-size: 18px; cursor: pointer; color: var(--ink); }
.stepper .n { min-width: 28px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.offer-adjust { display: flex; align-items: center; gap: 8px; }
.offer-adjust .btn { flex: 0 0 auto; white-space: nowrap; }
.offer-adjust input { flex: 1; min-width: 0; text-align: center; font-weight: 700; font-size: 18px; font-variant-numeric: tabular-nums; }

/* ------------------------------------------------------------------
   Navy dashboard theme for the staff system (owner-chosen reference).
   Scoped to .theme-navy so the public booking page, login and printed
   quotations keep the light brand look customers see.
   ------------------------------------------------------------------ */
.theme-navy {
  --bg: #0B1229; --surface: #18213F; --ink: #EEF2FF; --ink-muted: #9FB0D6; --border: #2A3766; --heading: #FFFFFF;
  --tint-navy: #22305E; --tint-success: #123826; --tint-warning: #3A2E10; --tint-danger: #3D1A1F; --tint-info: #16305A; --tint-teal: #103B3E;
  --brand-orange-tint: #3A2414; --sea-blue: #7DB3FF;
  --shadow: 0 6px 18px rgba(0,0,0,.35);
  color-scheme: dark; background: var(--bg); color: var(--ink); min-height: 100vh;
}
body:has(.theme-navy) { background: #0B1229; }
.theme-navy a { color: #7DB3FF; }
.theme-navy .sidebar { background: linear-gradient(180deg, #0F1838 0%, #0A1128 100%); border-right: 1px solid #1C2650; }
.theme-navy .brand { flex-direction: column; gap: 8px; padding: 6px 8px 18px; color: #fff; letter-spacing: 2px; font-size: 15px; }
.theme-navy .brand .badge-ring { padding: 2px; }
.theme-navy .nav-section { color: #7F8FB8; text-align: left; }
.theme-navy .nav a { color: #C9D3EE; }
.theme-navy .nav a:hover { background: #17214A; }
.theme-navy .nav a.active { background: #22305E; color: #fff; box-shadow: inset 3px 0 0 var(--brand-orange); }
.theme-navy .nav a.disabled { color: #56638C; }
.theme-navy .nav .later { border-color: #2A3766; }
.theme-navy .topbar { background: #0F1838; border-bottom-color: #1C2650; }
.theme-navy .prototype-bar { background: #111B3D; color: #9FB0D6; border-bottom-color: #1C2650; }
.theme-navy .page-head { background: linear-gradient(100deg, #1A2550 0%, #26346F 100%); border: 1px solid #2E3C78; border-radius: 14px; padding: 16px 20px; box-shadow: var(--shadow); }
.theme-navy .page-head h1 { font: italic 900 clamp(22px, 3.2vw, 34px)/1.15 var(--font-head); text-transform: uppercase; letter-spacing: .5px; color: #fff; margin-bottom: 4px; }
.theme-navy .page-head .muted, .theme-navy .page-head .small.muted { color: #B8C4E6; }
.theme-navy .card { border-color: #26315C; }
.theme-navy .card h3 { color: #fff; }
.theme-navy .card.attention { background: linear-gradient(100deg, #2A2140 0%, #1E2648 100%); border-left: 4px solid var(--brand-orange); }
.theme-navy .card.attention a.row { background: #121A38 !important; }
.theme-navy input, .theme-navy select, .theme-navy textarea { background: #101936; border-color: #2A3766; color: var(--ink); }
.theme-navy .btn { background: #1E2A52; border-color: #2E3C78; color: var(--ink); }
.theme-navy .btn:hover { border-color: #7F8FB8; }
.theme-navy .btn.primary { background: var(--brand-orange); border-color: var(--brand-orange); color: #fff; }
.theme-navy .btn.primary:hover { background: var(--brand-orange-hover); }
.theme-navy .btn.navy { background: #2F55D4; border-color: #2F55D4; color: #fff; }
.theme-navy .btn.ghost { background: transparent; border-color: transparent; color: #7DB3FF; }
.theme-navy .btn.danger { color: #F87171; }
.theme-navy .chip { background: #101936; border-color: #2A3766; color: var(--ink); }
.theme-navy .chip.success { background: var(--tint-success); color: #4ADE80; }
.theme-navy .chip.warning { background: var(--tint-warning); color: #F5C04A; }
.theme-navy .chip.danger { background: var(--tint-danger); color: #F87171; }
.theme-navy .chip.info { background: var(--tint-info); color: #7DB3FF; }
.theme-navy .chip.teal { background: var(--tint-teal); color: #5EE0E0; }
.theme-navy .chip.navy { background: var(--tint-navy); color: #C7D2FE; }
.theme-navy .chip.action { background: var(--brand-orange-tint); color: #FFB27A; }
.theme-navy .error-text { color: #F87171; }
.theme-navy .tabs { border-bottom-color: #26315C; }
.theme-navy .kanban .col { background: var(--surface); border-color: #26315C; }
.theme-navy .kcard { background: #101936; }
.theme-navy .steps span { background: #101936; border-color: #2A3766; }
.theme-navy .steps span.on { background: var(--brand-orange-tint); color: #FFB27A; }
.theme-navy .choice { background: #101936; border-color: #2A3766; }
.theme-navy .choice.on { border-color: var(--brand-orange); background: var(--brand-orange-tint); }
.theme-navy .bar { background: #101936; border-color: #2A3766; }
.theme-navy .bar > div { background: linear-gradient(90deg, #1E73BE, #2CC4C4); }
.theme-navy .search-results { background: #18213F; border-color: #2A3766; }
.theme-navy .search-results a { color: var(--ink); border-bottom-color: #26315C; }
.theme-navy .bottombar { background: #0F1838; border-top-color: #1C2650; }
.theme-navy .bottombar a, .theme-navy .bottombar button { color: #9FB0D6; }
.theme-navy .draft-label { color: #F5C04A; background: var(--tint-warning); }
.theme-navy pre.msg { background: #101936; border-color: #2A3766; }
.theme-navy .toast, .toast { border: 1px solid rgba(255,255,255,.18); }

/* Gradient KPI tiles (stat tiles, not charts) */
.kpi-tile { border-radius: 14px; padding: 14px 16px; color: #fff; box-shadow: 0 6px 18px rgba(0,0,0,.35); display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.kpi-tile .label { font: 700 14px var(--font-head); color: rgba(255,255,255,.92); text-align: center; }
.kpi-tile .value { display: flex; align-items: center; justify-content: center; gap: 10px; font: 900 clamp(20px, 2.6vw, 28px) var(--font-head); font-variant-numeric: tabular-nums; }
.kpi-tile .value svg { opacity: .9; flex: none; }
/* Gradient starts are darkened so white text keeps about 5:1 contrast across the tile. */
.kpi-tile.g1 { background: linear-gradient(135deg, #3E7D22 0%, #285E1C 100%); }
.kpi-tile.g2 { background: linear-gradient(135deg, #A85A0E 0%, #6E3708 100%); }
.kpi-tile.g3 { background: linear-gradient(135deg, #2A4CC2 0%, #1A2A8A 100%); }
.kpi-tile.g4 { background: linear-gradient(135deg, #2A7D38 0%, #1B5E20 100%); }
.kpi-tile.g5 { background: linear-gradient(135deg, #167A80 0%, #0E5A61 100%); }
.kpi-tile.g6 { background: linear-gradient(135deg, #22305E 0%, #18213F 100%); border: 1px solid #2E3C78; }

/* Vertical bar chart: one series, rounded data-ends on the baseline, recessive grid */
.vchart { position: relative; height: 220px; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 10px; align-items: end; padding: 8px 4px 0 34px; border-bottom: 1px solid #3A477A; }
.vchart .grid-line { position: absolute; left: 34px; right: 0; border-top: 1px dashed rgba(159,176,214,.18); font-size: 11px; color: #7F8FB8; }
.vchart .grid-line span { position: absolute; left: -30px; top: -8px; width: 26px; text-align: right; font-variant-numeric: tabular-nums; }
.vcol { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; outline: none; }
.vcol .vbar { width: min(46px, 70%); border-radius: 4px 4px 0 0; background: linear-gradient(180deg, #2CC4C4 0%, #1E73BE 100%); min-height: 2px; transition: filter .15s; }
.vcol .vval { font: 800 14px var(--font-head); color: var(--ink); margin-bottom: 4px; font-variant-numeric: tabular-nums; }
.vcol:hover .vbar, .vcol:focus .vbar { filter: brightness(1.25); }
.vcol .vtip { display: none; position: absolute; bottom: calc(100% - 20px); left: 50%; transform: translateX(-50%); background: #0B1229; border: 1px solid #2E3C78; color: #fff; font-size: 12px; padding: 6px 8px; border-radius: 6px; white-space: nowrap; z-index: 2; pointer-events: none; }
.vcol:hover .vtip, .vcol:focus .vtip { display: block; }
.vlabels { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 10px; padding: 6px 4px 0 34px; }
.vlabels span { font: 700 12px var(--font-head); color: var(--ink-muted); text-align: center; line-height: 1.2; }

/* Scenic slideshow background (booking landing and login) */
.scenic { position: fixed; inset: 0; z-index: 0; overflow: hidden; background: #1B3A6B; }
.scenic-slide { position: absolute; inset: 0; }
.scenic-slide.fresh { animation: scenicFade 1.8s ease forwards; }
.scenic-img { position: absolute; inset: -4%; background-size: cover; background-position: center; will-change: transform; animation-duration: 10s; animation-timing-function: ease-out; animation-fill-mode: forwards; }
.scenic-img.kb0 { animation-name: kb0; } .scenic-img.kb1 { animation-name: kb1; } .scenic-img.kb2 { animation-name: kb2; } .scenic-img.kb3 { animation-name: kb3; }
@keyframes scenicFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes kb0 { from { transform: scale(1) translate(0, 0); } to { transform: scale(1.12) translate(-2%, -1.5%); } }
@keyframes kb1 { from { transform: scale(1.12) translate(2%, 1%); } to { transform: scale(1) translate(0, 0); } }
@keyframes kb2 { from { transform: scale(1.02) translate(-2%, 0); } to { transform: scale(1.12) translate(2%, -1%); } }
@keyframes kb3 { from { transform: scale(1.1) translate(0, -2%); } to { transform: scale(1.02) translate(-1%, 1.5%); } }
.scenic-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,24,48,.55) 0%, rgba(8,24,48,.25) 40%, rgba(8,24,48,.65) 100%); }
@media (prefers-reduced-motion: reduce) {
  .scenic-img { animation: none !important; }
  .scenic-slide.fresh { animation-duration: .6s; }
}

/* Booking landing */
.landing { position: relative; min-height: 100vh; color: var(--ink); }
.landing > *:not(.scenic):not(.drawer-overlay):not(.overlay):not(.bp-mobile-bar):not(.help-line) { position: relative; z-index: 1; }
.landing-top { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; max-width: 1120px; margin: 0 auto; }
.badge-ring { display: inline-flex; background: #fff; border-radius: 50%; padding: 3px; box-shadow: 0 4px 18px rgba(0,0,0,.25); }
.landing-hero { min-height: calc(100svh - 92px); display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 24px 16px 40px; color: #fff; max-width: 1120px; margin: 0 auto; }
.landing-kicker { display: inline-block; font-weight: 700; font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.35); backdrop-filter: blur(6px); padding: 4px 12px; border-radius: 99px; margin-bottom: 14px; }
.landing-title { font: 900 clamp(30px, 7vw, 60px)/1.08 var(--font-head); color: #fff; margin: 0 0 12px; text-shadow: 0 2px 18px rgba(0,0,0,.35); max-width: 900px; }
.landing-sub { font-size: clamp(15px, 2.4vw, 19px); max-width: 640px; margin: 0 auto 20px; text-shadow: 0 1px 8px rgba(0,0,0,.4); }
.landing-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 22px; }
.landing-chip { background: rgba(255,255,255,.95); color: #1B3A6B; border: 0; border-radius: 99px; padding: 8px 14px; font: 700 14px var(--font-body); cursor: pointer; box-shadow: 0 4px 14px rgba(0,0,0,.18); }
.landing-chip strong { color: #FF5B00; font-variant-numeric: tabular-nums; }
.landing-cta { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.landing-cta .btn.primary { font-size: 18px; padding: 12px 28px; min-height: 50px; box-shadow: 0 6px 22px rgba(255,91,0,.45); }
.landing-cta .btn.glass { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.5); color: #fff; backdrop-filter: blur(6px); min-height: 50px; }
.landing-next { margin-top: 18px; font-size: 14px; background: rgba(8,24,48,.45); border-radius: 10px; padding: 8px 14px; backdrop-filter: blur(6px); }
.landing-perks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 28px; width: 100%; max-width: 820px; }
.landing-perks div { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28); backdrop-filter: blur(8px); border-radius: 12px; padding: 12px; font-size: 14px; text-align: left; }
.landing-perks strong { display: block; font-family: var(--font-head); font-size: 15px; }
.landing-scroll { margin-top: 26px; color: #fff; opacity: .85; font-size: 13px; text-decoration: none; animation: bob 2.2s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) { .landing-scroll { animation: none; } }
.landing-book { max-width: 600px; margin: 0 auto; padding: 8px 16px 32px; scroll-margin-top: 8px; }
.landing-book > .card, .landing-book > div > .card { box-shadow: 0 10px 40px rgba(0,0,0,.28); }
.landing-panel { background: var(--surface); border-radius: 16px; padding: 18px; box-shadow: 0 10px 40px rgba(0,0,0,.3); }
.landing-foot { text-align: center; color: #fff; font-size: 12px; text-shadow: 0 1px 6px rgba(0,0,0,.5); margin-top: 20px; }
.landing-foot a { color: #fff; }
@media (max-width: 600px) {
  .landing-perks { grid-template-columns: 1fr; }
  .landing-perks div { text-align: center; }
}
/* Booking page layout: compact banner, guide left, packages right */
.bp { padding-bottom: 8px; }
.bp-top { display: flex; align-items: center; justify-content: space-between; max-width: 1180px; margin: 0 auto; padding: 10px 16px; }
/* Top buttons: sunny yellow (owner's choice, echoes the logo flag) with navy text, readable over the photos. */
.bp-top-btn { background: #FFC83D; color: #1B3A6B; border: 2px solid rgba(255,255,255,.9); font-weight: 800; box-shadow: 0 4px 14px rgba(0,0,0,.3); gap: 6px; }
.bp-top-btn:hover { background: #FFB800; border-color: #fff; }
.bp-top-btn svg { display: block; }
.bp-top-btn { white-space: nowrap; }
.bp-top > .row { flex-wrap: nowrap; }
.show-sm { display: none; }
@media (max-width: 860px) { .show-sm { display: inline; } }
@media (max-width: 600px) {
  /* Phones: logo and name on the first row, the buttons on their own row underneath. */
  .bp-top { gap: 8px; flex-wrap: wrap; }
  .bp-top > .row { width: 100%; justify-content: flex-end; }
  .rail-tabs button { font-size: 13px; padding: 8px 4px; }
  .bp-brand .badge-ring img { height: 42px !important; }
  .bp-brand-name { font-size: 13px; letter-spacing: 1px; }
  .bp-brand-sub { font-size: 10.5px; }
  .bp-top-btn { padding: 6px 10px; min-height: 34px; font-size: 13px; }
}
.bp-hero { max-width: 1180px; margin: 0 auto; padding: 4px 16px 18px; color: #fff; display: flex; gap: 24px; align-items: center; justify-content: space-between; }
.bp-hero-main { flex: 1 1 auto; min-width: 0; }
.hero-partner { flex: 0 0 330px; display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; border-radius: 16px; background: rgba(8,24,48,.55); border: 2px solid rgba(255,200,61,.85); backdrop-filter: blur(8px); color: #fff; text-decoration: none; box-shadow: 0 8px 24px rgba(0,0,0,.3); transition: transform .15s; }
.hero-partner:hover { transform: translateY(-2px); color: #fff; }
.hero-partner-icons { display: flex; gap: 6px; font-size: 22px; }
.hero-partner-icons span { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.18); }
.hero-partner-title { font: 900 18px/1.25 var(--font-head); }
.hero-partner-sub { font-size: 13px; opacity: .92; }
.hero-partner-btn { align-self: flex-start; margin-top: 4px; white-space: normal; text-align: left; }
@media (max-width: 860px) {
  .bp-hero { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero-partner { flex: none; flex-direction: row; flex-wrap: wrap; align-items: center; padding: 10px 12px; gap: 4px 10px; }
  .hero-partner-icons { font-size: 16px; gap: 4px; }
  .hero-partner-icons span { width: 28px; height: 28px; }
  .hero-partner-title { font-size: 14px; flex: 1 1 200px; }
  .hero-partner-sub { display: none; }
  .hero-partner-btn { margin-top: 0; }
}
.bp-hero .landing-kicker { font-size: 11px; margin-bottom: 8px; padding: 3px 10px; }
.bp-title { font: 900 clamp(22px, 3.4vw, 36px)/1.12 var(--font-head); color: #fff; margin: 0 0 6px; text-shadow: 0 2px 14px rgba(0,0,0,.35); max-width: 760px; }
.bp-sub { font-size: 14px; max-width: 640px; margin: 0 0 12px; text-shadow: 0 1px 8px rgba(0,0,0,.45); }
.bp-next { font-size: 13px; background: rgba(8,24,48,.5); border-radius: 8px; padding: 6px 10px; backdrop-filter: blur(6px); }
.bp-brand { display: flex; align-items: center; gap: 10px; color: #fff; min-width: 0; }
.bp-brand-name { font: 900 clamp(15px, 2.2vw, 20px)/1.1 var(--font-head); letter-spacing: 1.5px; text-transform: uppercase; text-shadow: 0 2px 10px rgba(0,0,0,.4); }
.bp-brand-sub { font: italic 700 clamp(11px, 1.6vw, 13px) var(--font-body); color: #FFE2CC; text-shadow: 0 1px 6px rgba(0,0,0,.45); }
/* Packages column is wider; the destination guide sits a little smaller beside it. */
.bp-layout { max-width: 1180px; margin: 0 auto; padding: 0 16px 16px; display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 18px; align-items: start; }
.bp-left { zoom: .94; }
.bp-right { position: sticky; top: 12px; max-height: calc(100vh - 24px); overflow-y: auto; border-radius: 16px; }
.rail { background: var(--surface); border-radius: 16px; padding: 12px; box-shadow: 0 10px 34px rgba(0,0,0,.28); }
.rail-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding: 2px 4px 8px; }
.rail-head h2 { font-size: 17px; margin: 0; }
.rail-foot { color: var(--ink-muted); padding: 8px 4px 2px; border-top: 1px solid var(--border); margin-top: 4px; }
.pkg-thumb { display: grid; grid-template-columns: 128px minmax(0, 1fr); gap: 12px; padding: 12px 4px; border-top: 1px solid var(--border); }
.pkg-thumb:first-of-type { border-top: 0; }
.pkg-thumb-img { width: 128px; height: 112px; border-radius: 10px; object-fit: cover; display: flex; }
.pkg-thumb-name { font: 900 15px/1.25 var(--font-head); color: var(--heading); margin: 0 0 2px; }
.pkg-lines { font-size: 12px; color: var(--ink-muted); margin: 2px 0 4px; }
.pkg-price { font: 900 24px var(--font-head); color: var(--brand-orange); font-variant-numeric: tabular-nums; margin: 4px 0 6px; line-height: 1.1; }
/* Tour package cards: vertical, with a photo collage on top */
.pkg-card-v { padding: 12px 2px 16px; border-top: 1px solid var(--border); }
.rail-tabs + .pkg-card-v { border-top: 0; padding-top: 6px; }
.collage { position: relative; display: grid; gap: 4px; height: 240px; border-radius: 14px; overflow: hidden; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; background: var(--bg); }
.collage img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 0; transition: transform .4s ease; }
.collage img:first-child { grid-row: 1 / span 2; }
.collage.n1 { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.collage.n2 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr; }
.collage.n2 img:first-child, .collage.n1 img:first-child { grid-row: auto; }
.collage .island-fallback { grid-column: 1 / -1; grid-row: 1 / -1; }
.pkg-card-v:hover .collage img { transform: scale(1.03); }
@media (prefers-reduced-motion: reduce) { .collage img { transition: none; } .pkg-card-v:hover .collage img { transform: none; } }
.collage-badge { position: absolute; left: 10px; bottom: 10px; background: var(--brand-orange); color: #fff; font: 900 15px var(--font-head); padding: 5px 12px; border-radius: 99px; box-shadow: 0 4px 14px rgba(0,0,0,.3); }
.pkg-card-body { padding: 10px 2px 0; }
.pkg-card-name { font: 900 18px/1.25 var(--font-head); color: var(--heading); margin: 0 0 2px; }
.pkg-card-v .pkg-price { font-size: 28px; }
.pkg-card-v .pkg-actions .btn.primary { font-size: 16px; padding: 9px 20px; }
@media (max-width: 600px) { .collage { height: 190px; } .pkg-card-name { font-size: 16px; } }
/* Tours / Hotels / Car rental tabs: same yellow as the top buttons; the open tab is stronger with a navy outline. */
.tracker { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; padding: 0; margin: 4px 0 14px; counter-reset: s; }
.tracker li { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; font-size: 12px; gap: 2px; }
.tracker li::before { content: ''; position: absolute; top: 12px; left: -50%; width: 100%; height: 3px; background: var(--border); z-index: 0; }
.tracker li:first-child::before { display: none; }
.tracker li.done::before, .tracker li.now::before, .tracker li.bad::before { background: #2CC4C4; }
.tracker .dot { position: relative; z-index: 1; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 3px solid var(--border); font-weight: 900; color: #fff; }
.tracker li.done .dot { background: #1E9E6A; border-color: #1E9E6A; }
.tracker li.now .dot { border-color: #FF5B00; box-shadow: 0 0 0 4px rgba(255,91,0,.15); }
.tracker li.bad .dot { background: #D92D20; border-color: #D92D20; }
.count-pill { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: #FF5B00; color: #fff; font-size: 11px; font-weight: 900; }
.trip-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
.trip-list button { text-align: left; }
.veh-group { margin-bottom: 4px; }
.veh-group-head { display: flex; flex-direction: column; gap: 2px; padding: 6px 4px 4px; border-bottom: 2px solid #FFE9A8; margin-bottom: 4px; }
.veh-thumbs { display: flex; gap: 4px; margin-top: 6px; }
.veh-thumbs img { width: 52px; height: 38px; object-fit: cover; border-radius: 6px; }
.veh-photo-sm { width: 96px; height: 72px; object-fit: cover; border-radius: 8px; flex: none; }
.studio-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 6px; max-height: 220px; overflow: auto; padding: 2px; }
.studio-photo { padding: 0; border: 3px solid transparent; border-radius: 8px; overflow: hidden; cursor: pointer; background: none; aspect-ratio: 4 / 3; }
.studio-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.studio-photo.on { border-color: #FF5B00; }
.studio-canvas { width: 100%; max-height: 70vh; object-fit: contain; border-radius: 10px; background: #0f2242; }
.studio-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.studio-gallery.tall { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.studio-gallery-item { display: flex; flex-direction: column; gap: 6px; }
.studio-gallery-item img { width: 100%; border-radius: 10px; box-shadow: 0 4px 14px rgba(0,0,0,.25); }
.studio-media { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; max-height: 260px; overflow: auto; }
.studio-media-item { position: relative; aspect-ratio: 1; }
.studio-media-item img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }
.studio-media-tag { position: absolute; left: 4px; bottom: 4px; background: rgba(0,0,0,.6); color: #fff; border-radius: 6px; font-size: 12px; padding: 1px 4px; }
.studio-photo { position: relative; }
.studio-photo-n { position: absolute; top: 3px; left: 3px; background: #FF5B00; color: #fff; font: 900 12px Lato; border-radius: 50%; width: 20px; height: 20px; display: grid; place-items: center; }
.studio-saved { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.studio-saved-item { display: flex; flex-direction: column; gap: 6px; }
.studio-saved-item img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; }
.partner-motto { background: linear-gradient(135deg, #FFF3C4, #FFE0EC); color: #1B3A6B; border-left: 5px solid #FF5B00; border-radius: 10px; padding: 10px 12px; font-weight: 700; font-size: 14px; line-height: 1.45; }
.stars { letter-spacing: 1px; color: #D7DCE3; white-space: nowrap; }
.stars .on { color: #FFB400; }
.stars .half { background: linear-gradient(90deg, #FFB400 50%, #D7DCE3 50%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.star-input { display: inline-flex; align-items: center; }
.star-input button { background: none; border: 0; font-size: 30px; line-height: 1; color: #D7DCE3; cursor: pointer; padding: 0 2px; }
.star-input button.on { color: #FFB400; }
.rating-badge { font-size: 13px; white-space: nowrap; }
.rating-badge .star { color: #FFB400; }
.rating-big strong { font-size: 26px; }
.guest-reviews { max-width: 1180px; margin: 18px auto; padding: 18px; background: rgba(255,255,255,.95); border-radius: 18px; color: #1B3A6B; }
.guest-reviews .guide-sub { color: #1B3A6B; text-shadow: none; }
/* Booking page v2: trust, FAQ, policy, seats left, payment cues */
.trust, .faq { max-width: 1180px; margin: 18px auto; padding: 18px; background: rgba(255,255,255,.95); border-radius: 18px; color: #1B3A6B; }
.trust .guide-sub, .faq .guide-sub { color: #1B3A6B; text-shadow: none; margin-top: 0; }
.trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.trust-item { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; background: #F2F6FC; }
.trust-ico { font-size: 22px; }
.trust-item strong { font-size: 16px; }
.trust-note { margin: 10px 0 0; font-size: 14px; }
.faq-item { border-top: 1px solid #E3E8F0; padding: 10px 2px; }
.faq-item:first-of-type { border-top: 0; }
.faq-item summary { cursor: pointer; font-weight: 700; }
.faq-item p { margin: 8px 0 2px; font-size: 14px; color: #33415C; }
.policy-note { margin-top: 8px; padding: 6px 10px; border-radius: 8px; background: #EAF7F4; color: #0F5E52; }
.total-dp { margin-top: 4px; font-weight: 700; }
.van-note { margin-top: 8px; padding: 6px 10px; border-radius: 8px; background: #EEF3FF; color: #1B3A6B; }
.total-dp strong { color: var(--brand, #FF5B00); font-size: 18px; }
.pay-cues { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 8px; }
.pay-cue { font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); }
.seat-hint { display: inline-block; margin-left: 6px; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: #E8F0FB; color: #1B3A6B; }
.seat-hint.low { background: #FFE9DC; color: #B23C00; }
.partners-intro { text-align: center; color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.5); margin: -4px auto 14px; max-width: 640px; }
.booked-next { margin-bottom: 12px; }
/* Booking page buttons: warm orange gradients (staff screens keep their flat colours) */
.bp { --grad-orange: linear-gradient(135deg, #FF9A1F 0%, #FF6A00 52%, #F2420A 100%); --grad-orange-hover: linear-gradient(135deg, #FFAA3D 0%, #FF7A12 52%, #FF4F12 100%); --grad-soft: linear-gradient(135deg, #FFF1DE 0%, #FFD9B3 100%); --glow-orange: 0 6px 18px rgba(255, 98, 0, .38); }
.bp .btn.primary { background: var(--grad-orange); border: 0; color: #fff; text-shadow: 0 1px 2px rgba(120, 30, 0, .35); box-shadow: var(--glow-orange); transition: transform .12s ease, box-shadow .12s ease, filter .12s ease; }
.bp .btn.primary:hover { background: var(--grad-orange-hover); box-shadow: 0 8px 24px rgba(255, 98, 0, .5); transform: translateY(-1px); }
.bp .btn.primary:active { transform: translateY(0); box-shadow: 0 3px 10px rgba(255, 98, 0, .35); }
.bp .btn.primary:disabled { transform: none; box-shadow: none; filter: saturate(.6); }
.bp .bp-top-btn { background: var(--grad-orange); color: #fff; border: 2px solid rgba(255, 255, 255, .85); text-shadow: 0 1px 2px rgba(120, 30, 0, .35); box-shadow: 0 4px 16px rgba(0, 0, 0, .28), var(--glow-orange); }
.bp .bp-top-btn:hover { background: var(--grad-orange-hover); border-color: #fff; }
.bp .bp-top-btn .count-pill { background: #fff; color: #E04A00; }
.bp .rail-tabs button { background: var(--grad-soft); color: #8A2E00; border-color: transparent; }
.bp .rail-tabs button:hover { background: linear-gradient(135deg, #FFE6C7 0%, #FFC894 100%); }
.bp .rail-tabs button.on { background: var(--grad-orange); color: #fff; border-color: rgba(255, 255, 255, .9); text-shadow: 0 1px 2px rgba(120, 30, 0, .35); box-shadow: var(--glow-orange); }
.bp .help-line.float { background: var(--grad-orange); color: #fff; text-shadow: 0 1px 2px rgba(120, 30, 0, .35); box-shadow: 0 6px 22px rgba(0, 0, 0, .3), var(--glow-orange); }
.bp .help-line.float .help-pulse { background: #fff; color: #E04A00; text-shadow: none; }
@media (prefers-reduced-motion: reduce) { .bp .btn.primary, .bp .btn.primary:hover { transition: none; transform: none; } }

/* Help line: pulsing call/text button on the booking page, and a line inside the booking steps */
.help-line { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #1B3A6B; }
.help-line.float { position: fixed; left: 16px; bottom: 18px; z-index: 40; background: #FFC83D; border: 2px solid #fff; border-radius: 999px; padding: 8px 16px 8px 8px; box-shadow: 0 6px 22px rgba(0,0,0,.35); line-height: 1.15; }
.help-line.float small { display: block; font-size: 11px; font-weight: 700; }
.help-line.float strong { font-size: 16px; }
.help-line.inline { display: flex; margin: 8px 0 12px; padding: 8px 12px; border-radius: 10px; background: var(--tint-warning, #FFF4D6); color: var(--ink); font-size: 14px; }
.help-pulse { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #FF5B00; color: #fff; font-size: 17px; flex: none; animation: help-pulse 1.6s ease-out infinite; }
.help-line.inline .help-pulse { width: 28px; height: 28px; font-size: 14px; }
@keyframes help-pulse { 0% { box-shadow: 0 0 0 0 rgba(255,91,0,.65); } 70% { box-shadow: 0 0 0 12px rgba(255,91,0,0); } 100% { box-shadow: 0 0 0 0 rgba(255,91,0,0); } }
@media (prefers-reduced-motion: reduce) { .help-pulse { animation: none; } }
@media (max-width: 860px) {
  /* Phones: a round pulsing call button that does not cover the page; the number shows inside the booking steps. */
  .help-line.float { bottom: 84px; left: auto; right: 14px; padding: 5px; border-radius: 50%; }
  .help-line.float > span:last-child { display: none; }
  .help-line.float .help-pulse { width: 42px; height: 42px; font-size: 20px; }
}
.seg { display: flex; gap: 6px; }
.seg button { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px; border-radius: 10px; border: 2px solid var(--border); background: var(--surface); font: 700 14px var(--font-body); color: var(--ink); cursor: pointer; }
.seg button.on { border-color: var(--brand-orange); background: var(--brand-orange-tint); }
.quote-offer { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; border: 1px dashed var(--border); }
.quote-offer .btn { align-self: flex-start; }
.quote-sent-ico { font-size: 44px; text-align: center; }
.faq-edit { display: flex; flex-direction: column; gap: 6px; padding: 10px; border: 1px solid var(--border); border-radius: 10px; }
.review-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; margin-top: 12px; }
.review-item { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 12px; color: var(--text, #1B3A6B); }
.theme-navy .review-item { background: rgba(255,255,255,.04); }
.review-reply { margin-top: 6px; padding: 6px 8px; border-left: 3px solid #2CC4C4; background: rgba(44,196,196,.1); border-radius: 6px; }
.review-card { border: 2px solid #FFC83D; }
.ad-consent { position: fixed; left: 12px; right: 12px; bottom: 76px; z-index: 60; display: flex; gap: 10px; align-items: center; justify-content: space-between; flex-wrap: wrap;
  background: #fff; color: #1B3A6B; border-radius: 12px; padding: 10px 12px; box-shadow: 0 8px 30px rgba(0,0,0,.3); max-width: 640px; margin: 0 auto; }
.rail-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.rail-tabs button { flex: 1 1 28%;border: 2px solid transparent; background: #FFE9A8; border-radius: 10px; padding: 9px 6px; font: 800 14px var(--font-body); color: #1B3A6B; cursor: pointer; white-space: nowrap; transition: background .15s; }
.rail-tabs button:hover { background: #FFDB70; }
.rail-tabs button.on { background: #FFC83D; border-color: #1B3A6B; box-shadow: 0 3px 10px rgba(0,0,0,.18); }
.rail-empty { text-align: center; padding: 18px 8px; color: var(--ink-muted); font-size: 14px; }
.pkg-price span { font: 600 12px var(--font-body); color: var(--ink-muted); }
.pkg-price-ex { font-size: 13px; font-weight: 700; color: var(--navy); background: var(--tint-info); border-radius: 8px; padding: 4px 8px; margin: 6px 0; }
.pkg-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.pkg-actions .btn.primary { font-size: 14px; }
.pkg-choice { display: flex; gap: 10px; align-items: center; }
.pkg-choice img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; flex: none; }
.rate-table td { padding: 6px 4px; }
.bp-mobile-bar { display: none; }
@media (max-width: 900px) {
  .bp-layout { grid-template-columns: 1fr; }
  .bp-right { position: static; max-height: none; order: -1; overflow: visible; }
  .bp { padding-bottom: 76px; }
  .bp-mobile-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--surface); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); box-shadow: 0 -6px 18px rgba(0,0,0,.18); }
  .bp-mobile-bar .btn.primary { min-height: 44px; padding: 8px 22px; }
  .bp-panel-open .bp-mobile-bar { display: none; }
}

/* Booking side panel (full screen on phones) */
.drawer-overlay { position: fixed; inset: 0; z-index: 60; background: rgba(8,18,40,.45); display: flex; justify-content: flex-end; }
.drawer { background: var(--surface); width: min(520px, 100%); height: 100%; display: flex; flex-direction: column; box-shadow: -10px 0 40px rgba(0,0,0,.3); animation: drawerIn .22s ease-out; }
@keyframes drawerIn { from { transform: translateX(30px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .drawer { animation: none; } }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--border); }
.drawer-head h2 { margin: 0; font-size: 18px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 14px 16px; }
.drawer-foot { border-top: 1px solid var(--border); }
.drawer .book-nav { position: static; margin: 0; border-radius: 0; box-shadow: none; border-top: 0; }

/* "Discover Occidental Mindoro" travel guide (left column) */
.guide { scroll-margin-top: 8px; }
.guide-kicker { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; color: var(--brand-orange); }
.guide-title { font: 900 clamp(20px, 2.6vw, 26px)/1.15 var(--font-head); color: var(--heading); margin: 2px 0 8px; }
.guide-sub { font: 900 clamp(17px, 2.2vw, 21px) var(--font-head); color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,.4); margin: 20px 0 10px; }
/* Pastel sea-to-sunset palette from the logo (turquoise water, sky blue, orange flag), always light so it reads on the photos. */
.guide-panel { background: linear-gradient(155deg, #DDF5F3 0%, #E6EFFC 52%, #FFEBDC 100%); color: #212121; border-radius: 16px; padding: 16px 18px; box-shadow: 0 10px 34px rgba(0,0,0,.28); border: 1px solid rgba(255,255,255,.7); }
.guide-panel h3, .guide-title { color: #1B3A6B; }
.guide-intro { font-size: 14px; line-height: 1.6; margin: 0 0 8px; }
.guide-intro:first-of-type { font-weight: 700; color: #1B3A6B; }
.guide-box { background: rgba(255,255,255,.72); border-radius: 12px; padding: 12px; font-size: 13px; }
.guide-ways li { border-top-color: rgba(27,58,107,.12) !important; }
.guide-box h3 { font-size: 14px; }
.guide-box p { margin: 0; line-height: 1.55; }
.guide-ways { list-style: none; margin: 0; padding: 0; }
.guide-ways li { display: flex; gap: 10px; padding: 8px 0; border-top: 1px solid var(--border); }
.guide-ways li:first-child { border-top: 0; padding-top: 0; }
.guide-ico { font-size: 20px; line-height: 1.2; }
.guide-islands { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; }
.island-card { background: linear-gradient(180deg, #EAF8F7 0%, #F4F8FE 100%); color: #212121; border-radius: 14px; overflow: hidden; box-shadow: 0 8px 26px rgba(0,0,0,.26); display: flex; flex-direction: column; }
.island-card .island-name { color: #1B3A6B; }
.island-card .island-travel { color: #1E73BE; background: #DCEBFA; }
.island-card .chip.teal { background: #CDEFEE; color: #0E6B70; }
.island-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.island-fallback { background: linear-gradient(135deg, var(--sea-blue), var(--turquoise)); display: flex; align-items: flex-end; padding: 12px; color: #fff; font: 900 18px var(--font-head); }
.island-fallback-ico { font-size: 34px; margin: auto; opacity: .9; }
.island-body { padding: 12px; }
.island-body .small { font-size: 12.5px; }
.island-travel { display: inline-block; font-size: 11px; font-weight: 700; color: var(--sea-blue); background: var(--tint-info); border-radius: 99px; padding: 2px 8px; }
.island-name { font: 900 16px var(--font-head); color: var(--heading); margin: 6px 0 2px; text-transform: uppercase; letter-spacing: .5px; }
.island-tag { font-style: italic; color: var(--brand-orange); font-weight: 700; font-size: 13px; margin-bottom: 4px; }
.island-body p { line-height: 1.5; margin: 0 0 8px; }
.island-body .chip { font-size: 11px; padding: 1px 8px; }
.guide-places { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
.guide-place { background: linear-gradient(160deg, #FFF1E6 0%, #FFE6D3 100%); color: #212121; border-radius: 12px; padding: 12px; font-size: 13px; box-shadow: 0 6px 20px rgba(0,0,0,.2); }
.guide-place strong { font-family: var(--font-head); color: #1B3A6B; }
.guide-note { color: #fff; text-align: center; font-size: 13px; text-shadow: 0 1px 6px rgba(0,0,0,.5); margin: 10px 0 0; }
.guide-cta { margin-top: 26px; display: flex; gap: 14px; align-items: center; justify-content: space-between; flex-wrap: wrap; background: var(--surface); border-radius: 16px; padding: 16px 20px; box-shadow: 0 10px 34px rgba(0,0,0,.28); border-left: 5px solid var(--brand-orange); }
.guide-cta .btn.primary { min-height: 48px; }
@media (max-width: 600px) { .guide-panel { padding: 16px; } .guide-cta { flex-direction: column; align-items: stretch; text-align: center; } }

/* "Partner with Inasakan" (car owners and hotel/resort owners) */
.partners { max-width: 1180px; margin: 0 auto; padding: 4px 16px 20px; scroll-margin-top: 8px; }
.partner-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.partner-card { background: linear-gradient(160deg, #FFFFFF 0%, #FFF4EA 100%); color: #212121; border-radius: 16px; padding: 18px; box-shadow: 0 10px 34px rgba(0,0,0,.26); display: flex; flex-direction: column; gap: 8px; }
.partner-card h3 { font: 900 18px/1.25 var(--font-head); color: #1B3A6B; margin: 0; }
.partner-card p { margin: 0; font-size: 14px; line-height: 1.55; }
.partner-ico { font-size: 30px; }
.partner-steps { margin: 4px 0; padding-left: 20px; font-size: 13.5px; line-height: 1.5; }
.partner-steps li { margin-bottom: 4px; }
.partner-rate { background: #FFE6D3; color: #7A3E0A; border-radius: 10px; padding: 8px 12px; font-size: 14px; }
.partner-rate strong { color: #C2410C; }
.partner-card .btn.primary { align-self: flex-start; }
.photo-x { position: absolute; top: -6px; right: -6px; width: 20px; height: 20px; border-radius: 50%; border: 0; background: var(--danger); color: #fff; cursor: pointer; line-height: 1; font-size: 13px; }

/* Suggested itinerary */
.itin-btn { margin-top: 10px; color: var(--navy); border-color: var(--sea-blue); }
.itin-headline { font: 900 20px/1.25 var(--font-head); color: var(--heading); margin: 14px 0 4px; }
.itin-sub { margin: 0; color: var(--ink-muted); }
.itin-check { list-style: none; padding: 0; margin: 0; }
.itin-check li { padding: 3px 0 3px 22px; position: relative; font-size: 14px; }
.itin-check li::before { content: '✓'; position: absolute; left: 2px; color: var(--success); font-weight: 800; }
.itin-day { margin-top: 8px; }
.itin-day-title { font: 800 13px var(--font-head); color: var(--brand-orange); text-transform: uppercase; letter-spacing: .6px; margin: 6px 0 4px; }
.itin-list { list-style: none; margin: 0; padding: 0 0 0 14px; border-left: 3px solid var(--turquoise); }
.itin-list li { display: grid; grid-template-columns: 128px 1fr; gap: 10px; padding: 7px 0; position: relative; font-size: 14px; }
.itin-list li::before { content: ''; position: absolute; left: -21px; top: 12px; width: 11px; height: 11px; border-radius: 50%; background: var(--surface); border: 3px solid var(--sea-blue); }
.itin-time { font-weight: 700; color: var(--heading); font-variant-numeric: tabular-nums; }
@media (max-width: 480px) { .itin-list li { grid-template-columns: 1fr; gap: 0; } }

/* Floating Back / Next bar: sticks to the bottom of the screen while the booking card is in view. */
.book-nav { position: sticky; bottom: 0; z-index: 5; display: flex; align-items: center; gap: 10px; margin: 16px -18px -18px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid var(--border); border-radius: 0 0 16px 16px; box-shadow: 0 -8px 20px rgba(0,0,0,.14); }
.book-nav .btn { min-height: 46px; }
.book-nav .btn.primary { min-width: 120px; }
.book-nav-info { flex: 1; min-width: 0; text-align: center; font-size: 13px; color: var(--ink-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media print {
  .scenic, .landing-hero, .landing-top { display: none !important; }
  .landing-panel { box-shadow: none; }
  /* Printing the booking summary: only the side panel's content is printed. */
  .bp-panel-open > :not(.drawer-overlay) { display: none !important; }
  .bp-panel-open .drawer-overlay { position: static; background: none; display: block; }
  .bp-panel-open .drawer { width: 100%; height: auto; box-shadow: none; animation: none; }
  .bp-panel-open .drawer-body { overflow: visible; }
}

@media print {
  .no-print { display: none !important; }
  body { background: #fff; }
}
