/* ============ Jundy Stay design system ============ */
:root {
  --navy: #0B2545;
  --navy-2: #13315C;
  --steel: #3A6EA5;
  --sky: #8DA9C4;
  --ice: #EEF4FA;
  --gold: #D4A64A;
  --wa: #25D366;
  --wa-dark: #128C4B;
  --danger: #E5484D;

  --bg: #F6F8FB;
  --surface: #FFFFFF;
  --surface-2: #EEF3F8;
  --text: #0B2545;
  --text-2: #4A5B73;
  --text-3: #8592A6;
  --line: #E1E7EF;
  --chip: #EAF0F7;
  --shadow: 0 1px 2px rgba(11, 37, 69, .06), 0 8px 24px rgba(11, 37, 69, .08);
  --shadow-lg: 0 20px 50px rgba(11, 37, 69, .22);
  --scrim: rgba(7, 18, 33, .5);

  --btn: #0B2545;
  --r-s: 12px; --r: 18px; --r-l: 26px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
  --tabbar-h: 64px;
  --head: "Poppins", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #07121F; --surface: #0F1D30; --surface-2: #16273D; --text: #EAF1F9; --text-2: #A9B8CB;
    --text-3: #6F8099; --line: #1F3249; --chip: #172A42; --steel: #6C9BD2; --ice: #12243A;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.35); --scrim: rgba(0,0,0,.6); --btn: #2C5A8F;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #07121F; --surface: #0F1D30; --surface-2: #16273D; --text: #EAF1F9; --text-2: #A9B8CB;
  --text-3: #6F8099; --line: #1F3249; --chip: #172A42; --steel: #6C9BD2; --ice: #12243A;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.35); --scrim: rgba(0,0,0,.6); --btn: #2C5A8F;
  color-scheme: dark;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; }
body {
  font-family: var(--body); color: var(--text); background: var(--bg);
  -webkit-font-smoothing: antialiased; font-size: 15px; line-height: 1.5;
}
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--head); margin: 0; letter-spacing: -.01em; line-height: 1.2; }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
:focus-visible { outline: 3px solid var(--steel); outline-offset: 2px; border-radius: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ============ Stage: phone on desktop, full screen on mobile ============ */
.stage { min-height: 100%; }
.side { display: none; }
.device { position: relative; min-height: 100dvh; background: var(--bg); overflow-x: clip; }
@media (min-width: 900px) {
  body { background: radial-gradient(1200px 600px at 20% 10%, #1d4a7d 0%, transparent 60%), linear-gradient(135deg, #07152A, #0B2545 60%, #13315C); }
  .stage { display: flex; align-items: center; justify-content: center; gap: 72px; min-height: 100vh; padding: 24px; }
  .side { display: block; color: #fff; max-width: 340px; }
  .side h1 { font-size: 44px; margin-top: 18px; }
  .side-badge { width: 120px; filter: drop-shadow(0 10px 30px rgba(0,0,0,.35)); }
  .side-tag { letter-spacing: .3em; text-transform: uppercase; font-weight: 600; color: var(--sky); font-size: 13px; }
  .side p { color: #C9D6E6; }
  .side-hint { margin-top: 28px; padding: 14px 16px; border: 1px solid rgba(255,255,255,.15); border-radius: 14px; background: rgba(255,255,255,.05); font-size: 13px; }
  .device {
    width: 400px; height: min(860px, calc(100vh - 48px)); min-height: 0; border-radius: 44px; overflow: hidden;
    box-shadow: 0 0 0 10px #050d18, 0 0 0 11px #24384f, 0 40px 120px rgba(0,0,0,.55); transform: translateZ(0);
  }
  .device .view { height: 100%; overflow-y: auto; }
}

/* ============ Splash ============ */
.splash {
  position: absolute; inset: 0; z-index: 100; display: grid; place-content: center; justify-items: center; gap: 22px;
  background: radial-gradient(circle at 50% 40%, #1A3F6B, var(--navy) 70%); transition: opacity .5s var(--ease), visibility .5s;
}
.splash.out { opacity: 0; visibility: hidden; pointer-events: none; }
.splash-badge { width: 132px; animation: pop .9s var(--spring) both; filter: drop-shadow(0 18px 40px rgba(0,0,0,.4)); }
.splash-tag { display: flex; gap: 10px; color: #fff; font: 600 13px var(--head); letter-spacing: .32em; }
.splash-tag > * { opacity: 0; animation: rise .6s var(--ease) forwards; }
.splash-tag > *:nth-child(1) { animation-delay: .45s } .splash-tag > *:nth-child(2) { animation-delay: .55s }
.splash-tag > *:nth-child(3) { animation-delay: .65s } .splash-tag > *:nth-child(4) { animation-delay: .75s }
.splash-tag > *:nth-child(5) { animation-delay: .85s } .splash-tag i { font-style: normal; color: var(--sky); }
@keyframes pop { from { transform: scale(.4) rotate(-12deg); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes rise { from { transform: translateY(10px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes fade { from { opacity: 0 } to { opacity: 1 } }

/* ============ View & page motion ============ */
.view { min-height: 100dvh; padding-bottom: calc(var(--tabbar-h) + var(--safe-b) + 24px); outline: none; }
.view.no-tabbar { padding-bottom: calc(96px + var(--safe-b)); }
.page-in { animation: pageIn .45s var(--ease) both; }
@keyframes pageIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .35s; animation-timing-function: var(--ease); }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ============ Tab bar ============ */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; justify-content: space-around;
  height: calc(var(--tabbar-h) + var(--safe-b)); padding-bottom: var(--safe-b);
  background: color-mix(in srgb, var(--surface) 86%, transparent); backdrop-filter: saturate(1.6) blur(18px); -webkit-backdrop-filter: saturate(1.6) blur(18px);
  border-top: 1px solid var(--line); transition: transform .35s var(--ease);
}
@media (min-width: 900px) { .tabbar { position: absolute; } }
.tabbar.hide { transform: translateY(110%); }
.tabbar a { flex: 1; display: grid; justify-items: center; align-content: center; gap: 3px; font-size: 11px; font-weight: 500; color: var(--text-3); position: relative; }
.tabbar a svg { width: 24px; height: 24px; transition: transform .35s var(--spring); }
.tabbar a.on { color: var(--text); }
.tabbar a.on svg { transform: translateY(-2px) scale(1.08); stroke-width: 2.2; }
.tabbar a.on::before { content: ""; position: absolute; top: 0; width: 28px; height: 3px; border-radius: 0 0 4px 4px; background: var(--steel); animation: fade .3s; }
.tabbar a[data-tab="saved"].on svg { fill: var(--danger); stroke: var(--danger); }
.tabbar .dot { position: absolute; top: 9px; left: calc(50% + 8px); min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: var(--danger); color: #fff; font-size: 10px; font-weight: 700; display: grid; place-items: center; }

/* ============ Shared bits ============ */
.wrap { padding: 0 20px; }
.section { margin-top: 30px; }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 12px; padding: 0 20px; margin-bottom: 14px; }
.sec-head h2 { font-size: 20px; }
.sec-head p { margin: 2px 0 0; color: var(--text-2); font-size: 13px; }
.link { color: var(--steel); font-weight: 600; font-size: 14px; white-space: nowrap; }
.eyebrow { font: 600 11px var(--head); letter-spacing: .22em; text-transform: uppercase; color: var(--steel); }
.muted { color: var(--text-2); }
.hscroll { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 20px 10px; scrollbar-width: none; overscroll-behavior-x: contain; }
.hscroll::-webkit-scrollbar { display: none; }
.hscroll > * { scroll-snap-align: start; scroll-margin-left: 20px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 52px; padding: 0 22px; border-radius: 16px;
  font: 600 15px var(--head); background: var(--btn); color: #fff; transition: transform .2s var(--ease), filter .2s, opacity .2s; user-select: none;
}
.btn:active { transform: scale(.97); }
.btn[disabled] { opacity: .45; pointer-events: none; }
.btn.block { width: 100%; }
.btn.wa { background: var(--wa); color: #06331A; }
.btn.ghost { background: var(--surface-2); color: var(--text); }
.btn.sm { height: 40px; padding: 0 16px; border-radius: 12px; font-size: 14px; }
.btn svg { width: 20px; height: 20px; }
.icon-btn {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); color: var(--text);
  box-shadow: var(--shadow); transition: transform .25s var(--spring);
}
.icon-btn:active { transform: scale(.88); }
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn.glass { background: rgba(255,255,255,.88); color: #0B2545; backdrop-filter: blur(8px); }
.heart.on svg { fill: var(--danger); stroke: var(--danger); animation: beat .45s var(--spring); }
@keyframes beat { 0% { transform: scale(1) } 40% { transform: scale(1.35) } 100% { transform: scale(1) } }

.chip {
  display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 15px; border-radius: 999px; white-space: nowrap;
  background: var(--surface); border: 1px solid var(--line); font-size: 14px; font-weight: 500; color: var(--text-2); transition: all .25s var(--ease);
}
.chip svg { width: 18px; height: 18px; }
.chip.on { background: var(--navy); border-color: var(--navy); color: #fff; }
:root[data-theme="dark"] .chip.on { background: #EAF1F9; color: #0B2545; border-color: #EAF1F9; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .chip.on { background: #EAF1F9; color: #0B2545; border-color: #EAF1F9; } }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--chip); color: var(--text); }
.pill svg { width: 14px; height: 14px; }

.seg { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding: 4px; border-radius: 14px; background: var(--surface-2); }
.seg button { position: relative; z-index: 1; height: 38px; border-radius: 10px; font-weight: 600; font-size: 14px; color: var(--text-2); transition: color .3s; }
.seg button.on { color: var(--text); }
.seg .thumb { position: absolute; z-index: 0; top: 4px; bottom: 4px; border-radius: 10px; background: var(--surface); box-shadow: var(--shadow); transition: transform .4s var(--spring), width .4s var(--spring); }

.skel { background: linear-gradient(100deg, var(--surface-2) 30%, color-mix(in srgb, var(--surface-2) 40%, var(--surface)) 50%, var(--surface-2) 70%); background-size: 300% 100%; animation: shimmer 1.4s linear infinite; }
@keyframes shimmer { from { background-position: 100% 0 } to { background-position: -50% 0 } }
.img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s var(--ease), transform .8s var(--ease); }
.img.ok { opacity: 1; }

/* ============ Home ============ */
.hero {
  position: relative; padding: calc(var(--safe-t) + 18px) 20px 86px; color: #fff; overflow: hidden;
  background: radial-gradient(500px 260px at 90% -10%, rgba(141,169,196,.45), transparent 70%), linear-gradient(160deg, #0B2545 0%, #13315C 70%, #1E4677 100%);
  border-radius: 0 0 34px 34px;
}
.hero::after { content: ""; position: absolute; right: -60px; bottom: -70px; width: 240px; height: 240px; background: url(../img/brand/mark-white.png) center/contain no-repeat; opacity: .06; transform: rotate(-12deg); pointer-events: none; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { width: 40px; height: 40px; border-radius: 50%; box-shadow: 0 4px 14px rgba(0,0,0,.25); }
.brand b { font: 700 17px var(--head); display: block; line-height: 1.1; }
.brand small { font-size: 10px; letter-spacing: .24em; color: var(--sky); font-weight: 600; }
.hero h1 { font-size: 30px; margin-top: 26px; line-height: 1.15; }
.hero h1 em { font-style: normal; color: var(--sky); }
.hero p { margin: 8px 0 0; color: #C5D4E6; font-size: 14px; }
.hello { font-size: 13px; color: #C5D4E6; margin-top: 22px; display: flex; align-items: center; gap: 6px; }
.wa-mini { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; border-radius: 999px; background: rgba(37,211,102,.16); color: #7BF0A8; font-weight: 600; font-size: 13px; border: 1px solid rgba(37,211,102,.35); }
.wa-mini svg { width: 18px; height: 18px; }

.search-card { position: relative; z-index: 2; margin: -62px 16px 0; padding: 14px; border-radius: var(--r-l); background: var(--surface); box-shadow: var(--shadow-lg); }
.sfield { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 10px 8px; border-radius: 14px; transition: background .2s; }
.sfield:active { background: var(--surface-2); }
.sfield .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--ice); color: var(--steel); }
.sfield small { display: block; font-size: 11px; color: var(--text-3); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.sfield b { font-weight: 600; font-size: 15px; }
.srow { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); margin-top: 4px; padding-top: 4px; }
.srow .sfield + .sfield { border-left: 1px solid var(--line); border-radius: 0 14px 14px 0; }
.search-card .seg { margin: 10px 0 12px; }

.feat { width: 78%; max-width: 320px; flex: none; position: relative; aspect-ratio: 4/5; border-radius: var(--r-l); overflow: hidden; color: #fff; box-shadow: var(--shadow); transition: transform .5s var(--ease); background: var(--surface-2); }
.feat .img { position: absolute; inset: 0; }
.feat:active { transform: scale(.98); }
.feat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,18,33,0) 40%, rgba(7,18,33,.88) 100%); }
.feat .meta { position: absolute; z-index: 2; left: 18px; right: 18px; bottom: 18px; }
.feat .meta small { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #CFE0F2; font-weight: 600; }
.feat .meta h3 { font-size: 20px; margin-top: 4px; }
.feat .facts { display: flex; gap: 12px; margin-top: 10px; font-size: 13px; color: #E1EAF4; }
.feat .facts span { display: inline-flex; align-items: center; gap: 5px; }
.feat .facts svg { width: 16px; height: 16px; }
.feat .badge, .card .badge { position: absolute; z-index: 2; top: 14px; left: 14px; padding: 6px 11px; border-radius: 999px; background: rgba(255,255,255,.92); color: #0B2545; font-size: 12px; font-weight: 700; backdrop-filter: blur(6px); display: inline-flex; gap: 5px; align-items: center; white-space: nowrap; }
.feat .badge svg, .card .badge svg { width: 14px; height: 14px; color: var(--gold); fill: var(--gold); stroke: var(--gold); }
.feat .heart, .card .heart { position: absolute; z-index: 3; top: 12px; right: 12px; }

.quiz-banner { margin: 0 20px; padding: 20px; border-radius: var(--r-l); display: flex; align-items: center; gap: 16px; color: #fff; overflow: hidden; position: relative; background: linear-gradient(135deg, #3A6EA5, #0B2545); box-shadow: var(--shadow); }
.quiz-banner h3 { font-size: 18px; }
.quiz-banner p { margin: 4px 0 12px; font-size: 13px; color: #D6E3F1; }
.quiz-banner .spark { width: 64px; height: 64px; border-radius: 20px; flex: none; display: grid; place-items: center; background: rgba(255,255,255,.14); }
.quiz-banner .spark svg { width: 32px; height: 32px; animation: twinkle 2.4s ease-in-out infinite; }
@keyframes twinkle { 50% { transform: rotate(18deg) scale(1.12); } }
.quiz-banner .btn { height: 40px; background: #fff; color: var(--navy); font-size: 14px; }

.areas { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 0 20px; }
.area { position: relative; aspect-ratio: 1/1; border-radius: var(--r); overflow: hidden; color: #fff; background: var(--surface-2); }
.area:first-child { grid-column: span 2; aspect-ratio: 2/1; }
.area .img { position: absolute; inset: 0; transition: transform .8s var(--ease); }
.area:hover .img { transform: scale(1.06); }
.area::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(7,18,33,.82)); }
.area .t { position: absolute; z-index: 1; left: 14px; right: 14px; bottom: 12px; }
.area b { display: block; font: 600 16px var(--head); }
.area small { font-size: 12px; color: #D5E1EE; }
.area .count { position: absolute; z-index: 1; top: 10px; right: 10px; padding: 4px 9px; border-radius: 999px; background: rgba(7,18,33,.55); font-size: 11px; font-weight: 600; backdrop-filter: blur(6px); }

/* Listing card with swipeable photos */
.cards { display: grid; gap: 26px; padding: 0 20px; }
@media (min-width: 640px) and (max-width: 899px) { .cards { grid-template-columns: 1fr 1fr; } }
.card { position: relative; display: block; }
.card .ph { display: block; position: relative; aspect-ratio: 20/19; border-radius: var(--r); overflow: hidden; background: var(--surface-2); }
.card .strip { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.card .strip::-webkit-scrollbar { display: none; }
.card .strip img { flex: none; width: 100%; height: 100%; scroll-snap-align: center; }
.card .dots { position: absolute; bottom: 12px; left: 0; right: 0; display: flex; justify-content: center; gap: 5px; z-index: 2; pointer-events: none; }
.card .dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.55); transition: all .3s var(--ease); }
.card .dots i.on { background: #fff; width: 16px; border-radius: 3px; }
.card .info { display: block; padding: 12px 2px 0; }
.card .row1 { display: flex; justify-content: space-between; gap: 10px; align-items: start; }
.card h3 { font-size: 16px; font-weight: 600; }
.card .place { color: var(--text-2); font-size: 14px; margin-top: 2px; }
.card .facts { color: var(--text-3); font-size: 13px; margin-top: 4px; }
.card .rate { margin-top: 6px; font-size: 14px; color: var(--text); }
.card .rate b { font-weight: 600; }
.card .tagline { font-size: 12px; color: var(--steel); font-weight: 600; white-space: nowrap; display: flex; gap: 4px; align-items: center; }

.mini { flex: none; width: 200px; }
.mini { display: block; } .mini .ph { aspect-ratio: 1/1; border-radius: var(--r); overflow: hidden; background: var(--surface-2); position: relative; }
.mini h4 { font-size: 14px; font-weight: 600; margin-top: 8px; font-family: var(--body); }
.mini p { margin: 0; font-size: 13px; color: var(--text-2); }

.promise { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 0 20px; }
.promise div { padding: 16px; border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow); }
.promise svg { color: var(--steel); width: 26px; height: 26px; }
.promise b { display: block; font: 600 14px var(--head); margin-top: 10px; }
.promise small { color: var(--text-2); font-size: 12.5px; line-height: 1.45; display: block; margin-top: 3px; }

.svc-row .svc { flex: none; width: 240px; padding: 18px; border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow); display: block; }
.svc .ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--ice); color: var(--steel); }
.svc b { display: block; font: 600 15px var(--head); margin-top: 14px; }
.svc small { color: var(--text-2); font-size: 13px; display: block; margin-top: 4px; }

.cta-band { margin: 34px 20px 0; padding: 24px 20px; border-radius: var(--r-l); background: var(--navy); color: #fff; text-align: center; position: relative; overflow: hidden; }
.cta-band h3 { font-size: 21px; }
.cta-band p { color: #C5D4E6; font-size: 14px; margin: 6px 0 16px; }
.cta-band .btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cta-band .btn { height: 48px; font-size: 14px; }
.foot { text-align: center; color: var(--text-3); font-size: 12px; margin: 28px 20px 0; }
.foot img { width: 44px; margin: 0 auto 8px; border-radius: 50%; }

/* ============ Page header ============ */
.phead { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 12px; padding: calc(var(--safe-t) + 12px) 16px 12px; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.phead h1 { font-size: 24px; flex: 1; }
.phead.small h1 { font-size: 18px; }
.ptitle { padding: calc(var(--safe-t) + 18px) 20px 6px; }
.ptitle h1 { font-size: 30px; }
.ptitle p { color: var(--text-2); margin: 4px 0 0; }

/* ============ Explore ============ */
.searchbar { flex: 1; display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 8px 0 16px; border-radius: 999px; background: var(--surface); box-shadow: var(--shadow); text-align: left; }
.searchbar div { flex: 1; min-width: 0; }
.searchbar b { display: block; font-size: 14px; font-weight: 600; }
.searchbar small { display: block; font-size: 12px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.searchbar .icon-btn { width: 38px; height: 38px; box-shadow: none; border: 1px solid var(--line); position: relative; }
.searchbar .icon-btn i { position: absolute; top: -3px; right: -3px; width: 16px; height: 16px; border-radius: 50%; background: var(--steel); color: #fff; font: 700 10px/16px var(--body); font-style: normal; }
.explore-chips { padding: 4px 16px 12px; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.explore-chips::-webkit-scrollbar { display: none; }
.result-meta { display: flex; justify-content: space-between; align-items: center; padding: 6px 20px 14px; font-size: 14px; color: var(--text-2); }
.result-meta b { color: var(--text); }
.sort { border: 0; background: transparent; font-weight: 600; color: var(--steel); }
.mapfab { position: fixed; z-index: 25; left: 50%; bottom: calc(var(--tabbar-h) + var(--safe-b) + 16px); transform: translateX(-50%); height: 46px; padding: 0 20px; border-radius: 999px; background: var(--navy); color: #fff; font-weight: 600; display: flex; align-items: center; gap: 8px; box-shadow: var(--shadow-lg); transition: transform .3s var(--spring); }
:root[data-theme="dark"] .mapfab { background: #EAF1F9; color: #0B2545; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .mapfab { background: #EAF1F9; color: #0B2545; } }
.mapfab:active { transform: translateX(-50%) scale(.94); }
.mapfab svg { width: 18px; height: 18px; }
@media (min-width: 900px) { .mapfab { position: absolute; } }
.mapwrap { position: relative; height: calc(100dvh - 190px); margin: 0 12px; border-radius: var(--r-l); overflow: hidden; background: var(--surface-2); }
@media (min-width: 900px) { .mapwrap { height: 600px; } }
#map, .minimap { width: 100%; height: 100%; }
.map-pin { background: var(--surface); color: var(--text); font: 700 12px var(--body); padding: 6px 10px; border-radius: 999px; box-shadow: 0 4px 14px rgba(0,0,0,.25); white-space: nowrap; transition: transform .2s var(--spring); border: 2px solid transparent; display: inline-flex; gap: 4px; align-items: center; }
.map-pin.on { background: var(--navy); color: #fff; transform: scale(1.15); }
.map-pin.cl { background: var(--steel); color: #fff; }
.map-pin svg { width: 13px; height: 13px; }
.map-pin { transform: translate(-50%, -50%); }
.map-pin.on { transform: translate(-50%, -50%) scale(1.15); }
.leaflet-div-icon { background: none; border: 0; }
.map-card { position: absolute; z-index: 500; left: 12px; right: 12px; bottom: 12px; display: flex; gap: 12px; padding: 10px; border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow-lg); animation: rise .35s var(--ease); }
.map-card img { width: 96px; height: 96px; border-radius: 12px; object-fit: cover; }
.map-card h4 { font: 600 15px var(--body); }
.map-card p { margin: 2px 0 0; font-size: 13px; color: var(--text-2); }
.map-off { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; padding: 30px; color: var(--text-2); }
.empty { text-align: center; padding: 50px 30px; }
.empty .art { width: 120px; height: 120px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: var(--ice); color: var(--steel); }
.empty .art svg { width: 54px; height: 54px; stroke-width: 1.4; }
.empty h3 { font-size: 20px; }
.empty p { color: var(--text-2); margin: 8px 0 20px; }

/* ============ Stay detail ============ */
.gallery { position: relative; height: 56vh; max-height: 470px; min-height: 320px; background: #0b1a2c; }
@media (min-width: 900px) { .gallery { height: 400px; } }
.gallery .strip { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gallery .strip::-webkit-scrollbar { display: none; }
.gallery .strip img { flex: none; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: center; scroll-snap-stop: always; }
.gallery .tools { position: absolute; z-index: 3; top: calc(var(--safe-t) + 12px); left: 14px; right: 14px; display: flex; gap: 10px; }
.gallery .tools .sp { flex: 1; }
.gallery .count { position: absolute; z-index: 3; right: 16px; bottom: 40px; padding: 5px 11px; border-radius: 999px; background: rgba(7,18,33,.62); color: #fff; font-size: 12px; font-weight: 600; backdrop-filter: blur(6px); }
.gallery .grid-btn { position: absolute; z-index: 3; left: 16px; bottom: 40px; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.92); color: #0B2545; font-size: 12px; font-weight: 700; display: flex; gap: 6px; align-items: center; }
.gallery .grid-btn svg { width: 15px; height: 15px; }
.detail { position: relative; z-index: 4; margin-top: -26px; border-radius: 28px 28px 0 0; background: var(--bg); padding: 26px 20px 0; }
.detail h1 { font-size: 25px; }
.detail .place { display: flex; align-items: center; gap: 6px; color: var(--text-2); margin-top: 6px; font-size: 14px; }
.detail .place svg { width: 16px; height: 16px; color: var(--steel); }
.facts-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 20px; }
.fact { padding: 12px 6px; border-radius: 16px; background: var(--surface); text-align: center; box-shadow: var(--shadow); }
.fact svg { color: var(--steel); width: 22px; height: 22px; margin: 0 auto; }
.fact b { display: block; font: 600 15px var(--head); margin-top: 6px; }
.fact small { font-size: 11px; color: var(--text-3); }
.block { margin-top: 30px; }
.block h2 { font-size: 19px; margin-bottom: 12px; }
.hl { display: grid; gap: 12px; }
.hl div { display: flex; gap: 12px; align-items: center; font-size: 15px; }
.hl i { width: 30px; height: 30px; border-radius: 10px; background: var(--ice); color: var(--steel); display: grid; place-items: center; flex: none; }
.hl i svg { width: 17px; height: 17px; stroke-width: 2.4; }
.rooms { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.room { padding: 14px; border-radius: 16px; background: var(--surface); box-shadow: var(--shadow); }
.room svg { color: var(--steel); }
.room b { display: block; font-size: 14px; margin-top: 8px; }
.room small { display: block; color: var(--text-2); font-size: 12.5px; line-height: 1.4; margin-top: 2px; }
.amen { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 10px; }
.amen div { display: flex; gap: 10px; align-items: center; font-size: 14px; }
.amen svg { color: var(--text-2); }
.near li { display: flex; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.near ul { list-style: none; margin: 0; padding: 0; }
.near svg { width: 18px; height: 18px; color: var(--steel); }
.minimap-wrap { height: 190px; border-radius: var(--r); overflow: hidden; background: var(--surface-2); position: relative; }
.note { font-size: 13px; color: var(--text-2); margin-top: 10px; display: flex; gap: 8px; align-items: start; }
.note svg { width: 16px; height: 16px; margin-top: 2px; color: var(--steel); }
.steps { display: grid; gap: 0; }
.step { display: grid; grid-template-columns: 34px 1fr; gap: 12px; position: relative; padding-bottom: 18px; }
.step:not(:last-child)::before { content: ""; position: absolute; left: 16px; top: 34px; bottom: 0; width: 2px; background: var(--line); }
.step i { width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font: 700 13px var(--head); font-style: normal; }
:root[data-theme="dark"] .step i { background: #2C5A8F; }
.step b { display: block; font-size: 15px; margin-top: 6px; }
.step small { color: var(--text-2); font-size: 13px; }
.lengths { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.bookbar { position: fixed; z-index: 30; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 14px; padding: 12px 20px calc(12px + var(--safe-b)); background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-top: 1px solid var(--line); animation: rise .4s var(--ease); }
@media (min-width: 900px) { .bookbar { position: absolute; } }
.bookbar div { flex: 1; min-width: 0; }
.bookbar b { display: block; font-size: 15px; }
.bookbar small { color: var(--text-2); font-size: 12px; }
.bookbar .btn { height: 50px; }
.dhead { position: fixed; z-index: 25; top: 0; left: 0; right: 0; display: flex; align-items: center; gap: 10px; padding: calc(var(--safe-t) + 10px) 14px 10px; background: color-mix(in srgb, var(--surface) 94%, transparent); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); transform: translateY(-100%); transition: transform .35s var(--ease); }
@media (min-width: 900px) { .dhead { position: absolute; } }
.dhead.show { transform: none; }
.dhead b { flex: 1; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dhead .icon-btn { box-shadow: none; background: var(--surface-2); width: 38px; height: 38px; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 90; background: #000; display: flex; flex-direction: column; animation: fade .25s; }
@media (min-width: 900px) { .lightbox { position: absolute; } }
.lightbox .lb-top { display: flex; justify-content: space-between; align-items: center; padding: calc(var(--safe-t) + 12px) 16px 12px; color: #fff; }
.lightbox .strip { flex: 1; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.lightbox .strip::-webkit-scrollbar { display: none; }
.lightbox .strip img { flex: none; width: 100%; height: 100%; object-fit: contain; scroll-snap-align: center; }
.lightbox .icon-btn { background: rgba(255,255,255,.14); color: #fff; box-shadow: none; }
.lb-thumbs { display: flex; gap: 6px; overflow-x: auto; padding: 12px 16px calc(14px + var(--safe-b)); scrollbar-width: none; }
.lb-thumbs img { width: 56px; height: 56px; object-fit: cover; border-radius: 10px; opacity: .45; flex: none; transition: opacity .2s, transform .2s; }
.lb-thumbs img.on { opacity: 1; transform: scale(1.06); outline: 2px solid #fff; }
.grid-view { position: fixed; inset: 0; z-index: 85; background: var(--bg); overflow-y: auto; animation: pageIn .35s var(--ease); }
@media (min-width: 900px) { .grid-view { position: absolute; } }
.grid-view .g { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 0 12px 30px; }
.grid-view .g img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; }
.grid-view .g img:nth-child(3n+1) { grid-column: span 2; aspect-ratio: 16/10; }

/* ============ Sheets ============ */
.scrim { position: fixed; inset: 0; z-index: 60; background: var(--scrim); animation: fade .3s; }
@media (min-width: 900px) { .scrim, .sheet { position: absolute !important; } }
.sheet { position: fixed; z-index: 61; left: 0; right: 0; bottom: 0; max-height: 92dvh; display: flex; flex-direction: column; background: var(--bg); border-radius: 28px 28px 0 0; box-shadow: var(--shadow-lg); animation: sheetIn .45s var(--ease); }
@media (min-width: 900px) { .sheet { max-height: 92%; } }
.sheet.closing { animation: sheetOut .3s var(--ease) forwards; }
.scrim.closing { animation: fade .3s reverse forwards; }
@keyframes sheetIn { from { transform: translateY(100%); } to { transform: none; } }
@keyframes sheetOut { to { transform: translateY(100%); } }
.sheet .grab { width: 40px; height: 5px; border-radius: 3px; background: var(--line); margin: 10px auto 0; flex: none; }
.sheet .sh-head { display: flex; align-items: center; gap: 10px; padding: 12px 20px 8px; flex: none; }
.sheet .sh-head h2 { flex: 1; font-size: 20px; }
.sheet .sh-head .icon-btn { width: 36px; height: 36px; box-shadow: none; background: var(--surface-2); }
.sheet .sh-body { overflow-y: auto; padding: 6px 20px 20px; overscroll-behavior: contain; }
.sheet .sh-foot { flex: none; display: flex; gap: 10px; align-items: center; padding: 12px 20px calc(14px + var(--safe-b)); border-top: 1px solid var(--line); background: var(--bg); }
.sheet .sh-foot .btn { flex: 1; }
.sheet .sh-foot .txt { font-weight: 600; text-decoration: underline; padding: 0 6px; }
.progress { display: flex; gap: 6px; padding: 0 20px 6px; }
.progress i { flex: 1; height: 4px; border-radius: 2px; background: var(--line); overflow: hidden; position: relative; }
.progress i::after { content: ""; position: absolute; inset: 0; background: var(--steel); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.progress i.on::after { transform: none; }
.flabel { display: block; font-weight: 600; font-size: 14px; margin: 18px 0 8px; }
.flabel:first-child { margin-top: 4px; }
.input { width: 100%; height: 52px; padding: 0 16px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--surface); transition: border-color .2s, box-shadow .2s; }
textarea.input { height: 96px; padding: 14px 16px; resize: none; }
.input:focus { outline: none; border-color: var(--steel); box-shadow: 0 0 0 4px color-mix(in srgb, var(--steel) 18%, transparent); }
.opt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.opt { padding: 14px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--surface); text-align: left; transition: all .25s var(--ease); display: flex; flex-direction: column; gap: 6px; }
.opt svg { color: var(--steel); }
.opt b { font-size: 14px; }
.opt small { color: var(--text-2); font-size: 12px; line-height: 1.35; }
.opt.on { border-color: var(--steel); background: color-mix(in srgb, var(--steel) 9%, var(--surface)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--steel) 15%, transparent); }
.opt:active { transform: scale(.97); }
.stepper { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; border-bottom: 1px solid var(--line); }
.stepper b { display: block; font-size: 15px; }
.stepper small { color: var(--text-2); font-size: 13px; }
.stepper .ctl { display: flex; align-items: center; gap: 14px; }
.stepper .ctl button { width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; transition: transform .2s var(--spring); }
.stepper .ctl button:active { transform: scale(.85); }
.stepper .ctl button[disabled] { opacity: .3; }
.stepper .ctl span { min-width: 22px; text-align: center; font-weight: 600; font-size: 16px; }
.toggle-row { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.toggle-row div { flex: 1; }
.toggle-row b { display: block; font-size: 15px; font-weight: 600; }
.toggle-row small { color: var(--text-2); font-size: 13px; }
.switch { position: relative; width: 50px; height: 30px; flex: none; }
.switch input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.switch span { position: absolute; inset: 0; border-radius: 999px; background: var(--line); transition: background .3s; pointer-events: none; }
.switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.2); transition: transform .35s var(--spring); }
.switch input:checked + span { background: var(--wa-dark); }
.switch input:checked + span::after { transform: translateX(20px); }

/* Calendar */
.cal-head { display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; font-size: 12px; color: var(--text-3); font-weight: 600; padding: 6px 0; position: sticky; top: -6px; background: var(--bg); z-index: 1; }
.cal-month h4 { font-size: 15px; margin: 16px 0 8px 4px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); row-gap: 4px; }
.cal-grid button { height: 42px; font-size: 14px; font-weight: 500; position: relative; }
.cal-grid button span { position: relative; z-index: 1; display: grid; place-items: center; width: 40px; height: 40px; margin: 0 auto; border-radius: 50%; transition: background .2s, color .2s; }
.cal-grid button[disabled] { color: var(--text-3); opacity: .45; text-decoration: line-through; }
.cal-grid button.today span { box-shadow: inset 0 0 0 1.5px var(--text-3); }
.cal-grid button.in::before { content: ""; position: absolute; inset: 1px 0; background: color-mix(in srgb, var(--steel) 16%, transparent); }
.cal-grid button.start::before { content: ""; position: absolute; inset: 1px 0 1px 50%; background: color-mix(in srgb, var(--steel) 16%, transparent); }
.cal-grid button.end::before { content: ""; position: absolute; inset: 1px 50% 1px 0; background: color-mix(in srgb, var(--steel) 16%, transparent); }
.cal-grid button.start.end::before { display: none; }
.cal-grid button.start span, .cal-grid button.end span { background: var(--navy); color: #fff; font-weight: 700; }
:root[data-theme="dark"] .cal-grid button.start span, :root[data-theme="dark"] .cal-grid button.end span { background: #EAF1F9; color: #0B2545; }
.range-sum { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 6px; }
.range-sum div { padding: 10px 14px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--surface); }
.range-sum div.act { border-color: var(--steel); }
.range-sum small { display: block; font-size: 11px; color: var(--text-3); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.range-sum b { font-size: 15px; }

/* Review & success */
.review { padding: 14px; border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow); display: flex; gap: 12px; align-items: center; }
.review img { width: 76px; height: 76px; border-radius: 14px; object-fit: cover; }
.review h4 { font: 600 15px var(--body); }
.review p { margin: 2px 0 0; font-size: 13px; color: var(--text-2); }
.kv { margin-top: 12px; border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow); padding: 4px 16px; }
.kv div { display: flex; justify-content: space-between; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.kv div:last-child { border: 0; }
.kv span { color: var(--text-2); }
.kv b { text-align: right; font-weight: 600; }
.msg-preview { margin-top: 12px; padding: 14px; border-radius: 16px 16px 4px 16px; background: #DCF8C6; color: #0B2545; font-size: 13px; white-space: pre-wrap; line-height: 1.45; max-height: 170px; overflow: auto; }
:root[data-theme="dark"] .msg-preview { background: #005C4B; color: #E9EDEF; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .msg-preview { background: #005C4B; color: #E9EDEF; } }
.success { text-align: center; padding: 20px 6px 6px; }
.check { width: 96px; height: 96px; margin: 0 auto; border-radius: 50%; background: var(--wa); display: grid; place-items: center; animation: pop .6s var(--spring) both; box-shadow: 0 0 0 0 rgba(37,211,102,.5); animation: pop .6s var(--spring) both, ring 1.6s .6s ease-out infinite; }
.check svg { width: 48px; height: 48px; color: #fff; stroke-width: 3; stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .5s .35s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes ring { to { box-shadow: 0 0 0 26px rgba(37,211,102,0); } }
.success h2 { font-size: 23px; margin-top: 20px; }
.success p { color: var(--text-2); }
.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 95; overflow: hidden; }
.confetti i { position: absolute; top: -12px; width: 8px; height: 14px; border-radius: 2px; animation: fall 1.8s ease-in forwards; }
@keyframes fall { to { transform: translateY(110vh) rotate(720deg); opacity: .6; } }

/* ============ Saved, trips, more ============ */
.compare-bar { position: fixed; z-index: 31; left: 16px; right: 16px; bottom: calc(var(--tabbar-h) + var(--safe-b) + 12px); display: flex; align-items: center; gap: 10px; padding: 10px 10px 10px 18px; border-radius: 18px; background: var(--navy); color: #fff; box-shadow: var(--shadow-lg); animation: rise .35s var(--ease); }
@media (min-width: 900px) { .compare-bar { position: absolute; } }
.compare-bar span { flex: 1; font-weight: 600; font-size: 14px; }
.compare-bar .btn { height: 40px; background: #fff; color: var(--navy); }
.card .pick { position: absolute; z-index: 4; top: 18px; right: 64px; width: 30px; height: 30px; border-radius: 50%; border: 2px solid #fff; background: rgba(7,18,33,.35); display: grid; place-items: center; color: #fff; }
.card .pick.on { background: var(--steel); }
.card .pick svg { width: 16px; height: 16px; stroke-width: 3; }
.ctable { width: 100%; border-collapse: collapse; font-size: 13px; }
.ctable th, .ctable td { padding: 10px 6px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.ctable th { color: var(--text-2); font-weight: 600; width: 84px; }
.ctable img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; }
.ctable .yes { color: var(--wa-dark); font-weight: 700; }
.ctable .no { color: var(--text-3); }
.trip { margin: 0 20px 16px; border-radius: var(--r-l); background: var(--surface); box-shadow: var(--shadow); overflow: hidden; }
.trip .top { display: flex; gap: 14px; padding: 14px; }
.trip img { width: 84px; height: 84px; border-radius: 14px; object-fit: cover; }
.trip h4 { font: 600 15px var(--body); }
.trip p { margin: 2px 0 0; font-size: 13px; color: var(--text-2); }
.status { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: color-mix(in srgb, var(--gold) 18%, transparent); color: #8A6414; }
:root[data-theme="dark"] .status { color: var(--gold); }
.status i { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { opacity: .3; } }
.trip .count-row { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; border-top: 1px solid var(--line); background: var(--surface-2); font-size: 13px; }
.trip .count-row b { font: 700 18px var(--head); }
.trip .acts { display: grid; grid-template-columns: 1fr 1fr 44px; gap: 8px; padding: 12px 14px 14px; }
.trip .acts .btn { height: 42px; font-size: 13px; padding: 0 10px; }
.me-card { margin: 0 20px; padding: 22px; border-radius: var(--r-l); background: linear-gradient(150deg, #0B2545, #1E4677); color: #fff; display: flex; gap: 16px; align-items: center; position: relative; overflow: hidden; }
.me-card img { width: 64px; height: 64px; border-radius: 50%; }
.me-card h3 { font-size: 19px; }
.me-card p { margin: 2px 0 0; color: #C5D4E6; font-size: 13px; }
.menu { margin: 14px 20px 0; border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow); overflow: hidden; }
.menu h5 { margin: 0; padding: 14px 16px 4px; font: 600 11px var(--head); letter-spacing: .18em; text-transform: uppercase; color: var(--text-3); }
.mi { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); font-size: 15px; }
.mi:last-child { border-bottom: 0; }
.mi .ic { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: var(--ice); color: var(--steel); flex: none; }
.mi .ic svg { width: 19px; height: 19px; }
.mi span { flex: 1; }
.mi small { display: block; color: var(--text-2); font-size: 12.5px; }
.mi .chev { color: var(--text-3); width: 18px; height: 18px; }
.mi-pad { padding: 14px 16px; border-bottom: 1px solid var(--line); }

/* ============ Services & guide ============ */
.svc-hero { position: relative; height: 240px; color: #fff; overflow: hidden; background: var(--navy); }
.svc-hero .img { position: absolute; inset: 0; opacity: .55; }
.svc-hero.ok .img { opacity: .55; }
.svc-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,37,69,.3), rgba(11,37,69,.95)); }
.svc-hero .in { position: absolute; z-index: 2; left: 20px; right: 20px; bottom: 22px; }
.svc-hero h1 { font-size: 27px; }
.svc-hero p { margin: 6px 0 0; color: #D2DEEC; font-size: 14px; }
.svc-hero .icon-btn { position: absolute; z-index: 3; top: calc(var(--safe-t) + 12px); left: 14px; }
.benefits { display: grid; gap: 12px; }
.benefits div { display: flex; gap: 14px; padding: 16px; border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow); }
.benefits .ic { width: 42px; height: 42px; border-radius: 13px; background: var(--ice); color: var(--steel); display: grid; place-items: center; flex: none; }
.benefits b { display: block; font-size: 15px; }
.benefits small { color: var(--text-2); font-size: 13px; }
.check-item { display: flex; gap: 14px; align-items: center; width: 100%; text-align: left; padding: 14px 0; border-bottom: 1px solid var(--line); }
.check-item .box { width: 26px; height: 26px; border-radius: 8px; border: 2px solid var(--line); display: grid; place-items: center; flex: none; transition: all .25s var(--spring); }
.check-item .box svg { width: 15px; height: 15px; stroke-width: 3; color: #fff; opacity: 0; transform: scale(.4); transition: all .25s var(--spring); }
.check-item.on .box { background: var(--wa-dark); border-color: var(--wa-dark); }
.check-item.on .box svg { opacity: 1; transform: none; }
.check-item.on b { text-decoration: line-through; color: var(--text-3); }
.check-item b { display: block; font-size: 15px; font-weight: 600; transition: color .2s; }
.check-item small { color: var(--text-2); font-size: 13px; }
.ring { display: flex; align-items: center; gap: 16px; padding: 16px; border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow); }
.ring svg.r { width: 64px; height: 64px; transform: rotate(-90deg); }
.ring svg.r circle { stroke-width: 7; fill: none; }
.ring svg.r .bg { stroke: var(--line); }
.ring svg.r .fg { stroke: var(--wa-dark); transition: stroke-dashoffset .6s var(--ease); }
.ring b { font: 600 17px var(--head); display: block; }
.ring small { color: var(--text-2); font-size: 13px; }

/* ============ Quiz ============ */
.quiz { min-height: 100dvh; display: flex; flex-direction: column; background: var(--bg); }
@media (min-width: 900px) { .quiz { min-height: 100%; } }
.quiz .qbody { flex: 1; padding: 10px 20px 20px; }
.quiz h2 { font-size: 26px; margin: 18px 0 6px; }
.quiz .qfoot { position: sticky; bottom: 0; display: flex; gap: 10px; padding: 12px 20px calc(16px + var(--safe-b)); background: var(--bg); border-top: 1px solid var(--line); }
.quiz .qfoot .btn { flex: 1; }
.qanim { animation: qIn .45s var(--ease) both; }
@keyframes qIn { from { opacity: 0; transform: translateX(26px); } to { opacity: 1; transform: none; } }
.match { position: relative; }
.match .score { position: absolute; z-index: 3; top: 12px; left: 12px; padding: 6px 11px; border-radius: 999px; background: var(--wa); color: #06331A; font-weight: 800; font-size: 12px; }
.why { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }

/* ============ Onboarding ============ */
.onb { position: fixed; inset: 0; z-index: 80; background: #000; color: #fff; display: flex; flex-direction: column; }
@media (min-width: 900px) { .onb { position: absolute; } }
.onb .slides { flex: 1; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.onb .slides::-webkit-scrollbar { display: none; }
.onb .slide { flex: none; width: 100%; height: 100%; position: relative; overflow: hidden; scroll-snap-align: center; scroll-snap-stop: always; }
.onb .slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 6s linear; }
.onb .slide.vis img { transform: scale(1); }
.onb .slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,18,33,.15) 0%, rgba(7,18,33,.1) 40%, rgba(7,18,33,.92) 82%); }
.onb .txt { position: absolute; z-index: 2; left: 26px; right: 26px; bottom: 170px; }
.onb .txt .eyebrow { color: var(--sky); }
.onb .txt h2 { font-size: 36px; margin-top: 8px; }
.onb .txt p { color: #D2DEEC; font-size: 15px; margin: 10px 0 0; }
.onb .bottom { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; padding: 0 26px calc(30px + var(--safe-b)); }
.onb .odots { display: flex; gap: 6px; margin-bottom: 22px; }
.onb .odots i { height: 6px; width: 6px; border-radius: 3px; background: rgba(255,255,255,.4); transition: all .35s var(--ease); }
.onb .odots i.on { width: 26px; background: #fff; }
.onb .btn { background: #fff; color: var(--navy); width: 100%; }
.onb .skip { position: absolute; z-index: 3; top: calc(var(--safe-t) + 16px); right: 18px; padding: 8px 14px; border-radius: 999px; background: rgba(0,0,0,.35); font-weight: 600; font-size: 13px; backdrop-filter: blur(6px); }
.onb .logo { position: absolute; z-index: 3; top: calc(var(--safe-t) + 14px); left: 20px; width: 50px; border-radius: 50%; }

/* ============ Toast ============ */
.toast { position: fixed; z-index: 99; left: 50%; bottom: calc(var(--tabbar-h) + var(--safe-b) + 20px); transform: translate(-50%, 20px); padding: 12px 18px; border-radius: 14px; background: #0B2545; color: #fff; font-size: 14px; font-weight: 500; box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transition: all .35s var(--spring); white-space: nowrap; max-width: calc(100% - 32px); display: flex; gap: 8px; align-items: center; }
:root[data-theme="dark"] .toast { background: #EAF1F9; color: #0B2545; }
@media (min-width: 900px) { .toast { position: absolute; } }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast svg { width: 18px; height: 18px; }

.install { margin: 20px 20px 0; padding: 14px 14px 14px 16px; display: flex; gap: 12px; align-items: center; border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow); }
.install img { width: 44px; border-radius: 12px; }
.install div { flex: 1; }
.install b { font-size: 14px; display: block; }
.install small { color: var(--text-2); font-size: 12px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Map without tiles (offline, or where tile hosts are blocked) */
.no-tiles { background: radial-gradient(circle at 60% 45%, color-mix(in srgb, var(--steel) 16%, var(--surface-2)), var(--surface-2) 70%) !important; }
.map-area { display: inline-block; transform: translate(-50%, -50%); font: 600 10px var(--head); letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); white-space: nowrap; pointer-events: none; }
.trip .acts .arm { background: var(--danger); color: #fff; font-size: 12px; }
