/* =========================================================
   FN TRUCK PARK — Website (rangi za TruckPark: navy #001F3F + dhahabu #FFD700)
   Hakuna CDN: fonts ziko assets/fonts, icons ni SVG za ndani.
   ========================================================= */
@font-face { font-family: 'Poppins'; font-weight: 400; font-style: normal; font-display: swap; src: url('../fonts/poppins-400.woff') format('woff'); }
@font-face { font-family: 'Poppins'; font-weight: 500; font-style: normal; font-display: swap; src: url('../fonts/poppins-500.woff') format('woff'); }
@font-face { font-family: 'Poppins'; font-weight: 700; font-style: normal; font-display: swap; src: url('../fonts/poppins-700.woff') format('woff'); }

:root {
  --navy: #001F3F; --navy-2: #06294f; --navy-3: #0d3a69; --navy-soft: #e8eef6;
  --gold: #FFD700; --gold-2: #f2c400; --gold-soft: #fff7cc;
  --bg: #F4F4F4; --card: #ffffff; --text: #0b1726; --muted: #5f6b7a; --line: #e3e7ec;
  --ok: #15803d; --ok-soft: #dcfce7; --bad: #b91c1c; --bad-soft: #fee2e2; --warn: #b45309; --warn-soft: #fef3c7; --info: #1d4ed8; --info-soft: #dbeafe;
  --r: 14px; --r-sm: 10px; --shadow: 0 1px 2px rgba(0,31,63,.06), 0 6px 20px rgba(0,31,63,.07); --shadow-lg: 0 20px 50px rgba(0,31,63,.18);
  --font: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html:not(.i18n-ready) [data-i18n], html:not(.i18n-ready) [data-i18n-html] { visibility: hidden; }
body { margin: 0; font-family: var(--font); font-size: 15px; line-height: 1.6; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0 0 .4em; line-height: 1.25; font-weight: 700; color: var(--navy); }
p { margin: 0 0 1em; }
.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
.hidden { display: none !important; }
.upper { text-transform: uppercase; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* Icons */
.ic { width: 1.15em; height: 1.15em; flex-shrink: 0; vertical-align: -0.18em; }
.stars { display: inline-flex; gap: 1px; color: #c8ced6; }
.stars .ic { width: 15px; height: 15px; }
.stars .on { color: #f5b301; }
.stars.lg .ic { width: 22px; height: 22px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 20px; border-radius: 999px; border: 2px solid transparent; font-weight: 500; font-size: 14.5px; line-height: 1.2; white-space: nowrap; transition: background .15s, color .15s, border-color .15s, transform .1s, box-shadow .15s; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .6; cursor: not-allowed; }
.btn.loading { position: relative; color: transparent !important; }
.btn.loading::after { content: ""; position: absolute; width: 18px; height: 18px; border: 2.5px solid currentColor; border-color: var(--navy) transparent var(--navy) transparent; border-radius: 50%; animation: spin .7s linear infinite; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-3); }
.btn-primary.loading::after, .btn-dark.loading::after, .btn-danger.loading::after { border-color: #fff transparent #fff transparent; }
.btn-gold { background: var(--gold); color: var(--navy); font-weight: 700; }
.btn-gold:hover { background: var(--gold-2); box-shadow: 0 6px 18px rgba(255,215,0,.35); }
.btn-dark { background: #0b1726; color: #fff; }
.btn-light { background: #fff; color: var(--navy); border-color: var(--line); }
.btn-light:hover { border-color: var(--navy); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn-ghost-light:hover { border-color: var(--gold); color: var(--gold); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-danger { background: var(--bad); color: #fff; }
.btn-ok { background: var(--ok); color: #fff; }
.btn-sm { padding: 8px 14px; font-size: 13.5px; }
.btn-lg { padding: 14px 26px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-icon { padding: 9px; border-radius: 10px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Forms */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field > span { font-size: 13.5px; font-weight: 500; color: var(--navy); }
.field em { font-style: normal; color: var(--muted); font-weight: 400; }
input, select, textarea { width: 100%; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: #fff; outline: none; transition: border-color .15s, box-shadow .15s; }
input:focus, select:focus, textarea:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(0,31,63,.12); }
input:disabled { background: #f1f3f5; color: var(--muted); }
textarea { resize: vertical; min-height: 90px; }
.invalid { border-color: var(--bad) !important; }
.field-error { color: var(--bad); font-size: 12.5px; }
.hint { color: var(--muted); font-size: 12.5px; }
.pw-wrap { position: relative; }
.pw-wrap input { padding-right: 46px; }
.pw-wrap button { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); border: 0; background: none; color: var(--muted); padding: 6px; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.check { display: flex; gap: 8px; align-items: center; font-size: 14px; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--navy); }
.check-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.check-chip { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; font-size: 13.5px; user-select: none; }
.check-chip input { position: absolute; opacity: 0; pointer-events: none; width: 1px; }
.check-chip:has(input:checked) { border-color: var(--navy); background: var(--navy-soft); color: var(--navy); font-weight: 500; }
.check-chip:has(input:focus-visible) { outline: 3px solid var(--gold); }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.seg label { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border: 2px solid var(--line); border-radius: 12px; cursor: pointer; background: #fff; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label:has(input:checked) { border-color: var(--navy); background: var(--navy-soft); }
.seg b { display: block; color: var(--navy); font-size: 14px; }
.seg small { color: var(--muted); font-size: 12px; line-height: 1.3; display: block; }
.seg .ic { width: 26px; height: 26px; color: var(--navy); }

/* Language switch */
.lang-switch { display: inline-flex; background: rgba(255,255,255,.12); border-radius: 999px; padding: 3px; }
.lang-switch button { border: 0; background: transparent; color: #fff; font-weight: 700; font-size: 12.5px; padding: 5px 11px; border-radius: 999px; letter-spacing: .04em; }
.lang-switch button.on { background: var(--gold); color: var(--navy); }
.lang-switch.lg, .card .lang-switch, .topbar .lang-switch { background: var(--navy-soft); }
.card .lang-switch button, .topbar .lang-switch button { color: var(--navy); }
.lang-switch.lg button { padding: 9px 22px; font-size: 14px; }
.lang-choose { text-align: center; padding: 8px 4px; }
.lang-choose-ic { width: 64px; height: 64px; margin: 0 auto 12px; display: grid; place-items: center; background: var(--gold); color: var(--navy); border-radius: 50%; }
.lang-choose-ic .ic { width: 32px; height: 32px; }
.lang-choose-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--navy); color: #fff; box-shadow: 0 2px 14px rgba(0,0,0,.18); }
.nav { display: flex; align-items: center; gap: 22px; min-height: 70px; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand .brand-logo { height: 36px; width: auto; }
.nav-links { display: flex; gap: 4px; margin-left: 10px; }
.nav-links a { padding: 8px 14px; border-radius: 999px; color: rgba(255,255,255,.85); font-weight: 500; font-size: 14.5px; }
.nav-links a:hover { color: #fff; background: rgba(255,255,255,.08); }
.nav-links a.active { color: var(--navy); background: var(--gold); }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; margin-left: auto; border: 0; background: rgba(255,255,255,.1); color: #fff; padding: 9px; border-radius: 10px; }
.nav-toggle .ic { width: 22px; height: 22px; }
.mobile-menu { display: none; }
@media (max-width: 960px) {
  .nav-links, .nav-actions { display: none; }
  .nav-toggle { display: inline-flex; }
  .brand .brand-logo { height: 26px; }
  .mobile-menu.open { display: flex; flex-direction: column; gap: 4px; padding: 10px 16px 18px; border-top: 1px solid rgba(255,255,255,.1); }
  .mobile-menu a:not(.btn) { padding: 11px 6px; color: rgba(255,255,255,.9); border-bottom: 1px solid rgba(255,255,255,.06); }
  .mm-row { padding: 12px 0 4px; }
  .mm-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
  .mm-btns .btn:only-child { grid-column: 1 / -1; }
}

/* Hero */
.hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(1200px 500px at 85% -10%, rgba(255,215,0,.16), transparent 60%), linear-gradient(160deg, var(--navy) 0%, #00152b 100%); padding: 70px 0 90px; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 46px 46px; mask-image: linear-gradient(to bottom, #000, transparent 85%); pointer-events: none; }
.hero::after { content: ""; position: absolute; right: 2%; top: 50%; width: min(42vw, 560px); aspect-ratio: 1; transform: translateY(-55%); background: url('../img/brand/mark-white.png') no-repeat center / contain; opacity: .07; pointer-events: none; animation: heroFloat 9s ease-in-out infinite; }
@keyframes heroFloat { 0%,100% { transform: translateY(-55%); } 50% { transform: translateY(-59%); } }
.hero .container { position: relative; z-index: 1; }
.hero-tag { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: rgba(255,215,0,.14); color: var(--gold); font-size: 13px; font-weight: 500; margin-bottom: 18px; border: 1px solid rgba(255,215,0,.3); }
.hero h1 { color: #fff; font-size: clamp(30px, 5.2vw, 56px); max-width: 780px; letter-spacing: -.02em; }
.hero h1 span { color: var(--gold); }
.hero p.lead { font-size: clamp(15px, 2vw, 18px); color: rgba(255,255,255,.8); max-width: 640px; }
.searchbox { margin-top: 28px; background: #fff; border-radius: 18px; padding: 10px; display: grid; grid-template-columns: 1.6fr 1fr auto auto; gap: 8px; box-shadow: var(--shadow-lg); max-width: 920px; }
.searchbox .sb-field { display: flex; align-items: center; gap: 10px; padding: 4px 12px; border-radius: 12px; background: var(--bg); color: var(--navy); }
.searchbox input, .searchbox select { border: 0; background: transparent; padding: 10px 0; box-shadow: none !important; }
.searchbox .btn { border-radius: 12px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 34px; }
.hero-stats div b { display: block; font-size: 28px; color: var(--gold); line-height: 1.1; }
.hero-stats div span { font-size: 13px; color: rgba(255,255,255,.7); }
@media (max-width: 760px) {
  .hero { padding: 44px 0 60px; }
  .searchbox { grid-template-columns: 1fr; }
  .hero-stats { gap: 18px; }
  .hero::after { width: 80vw; opacity: .05; }
}

/* Sections */
.section { padding: 64px 0; }
.section-sm { padding: 40px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 26px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(22px, 3vw, 32px); margin: 0; }
.section-head p { margin: 4px 0 0; color: var(--muted); }
.eyebrow { color: var(--gold-2); font-weight: 700; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; display: block; margin-bottom: 6px; }
.bg-white { background: #fff; }
.bg-navy { background: var(--navy); color: #fff; }
.bg-navy h2, .bg-navy h3 { color: #fff; }

/* Station cards */
.grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 20px; }
.st-card { display: flex; flex-direction: column; background: var(--card); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); transition: transform .18s, box-shadow .18s; border: 1px solid transparent; }
.st-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--gold); }
.st-img { position: relative; aspect-ratio: 16 / 10; background: var(--navy-soft); overflow: hidden; }
.st-img img { width: 100%; height: 100%; object-fit: cover; }
.ph-img { width: 100%; height: 100%; display: grid; place-items: center; color: var(--navy); background: linear-gradient(135deg, var(--navy-soft), #fdf6d2); }
.ph-img .ic { width: 54px; height: 54px; opacity: .55; }
.st-img .badge { position: absolute; top: 10px; left: 10px; }
.st-img .badge-dist { left: auto; right: 10px; }
.st-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.st-body h3 { font-size: 16.5px; margin: 0; }
.st-loc { margin: 0; color: var(--muted); font-size: 13px; display: flex; gap: 5px; align-items: flex-start; }
.st-loc .ic { margin-top: 3px; }
.st-rate { display: flex; align-items: center; gap: 6px; font-size: 13.5px; }
.st-foot { margin-top: auto; padding-top: 10px; border-top: 1px dashed var(--line); display: flex; justify-content: space-between; align-items: center; }
.price { color: var(--navy); font-size: 17px; }
.st-go { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--navy); }
.st-card.sk .st-img, .st-card.sk i { background: linear-gradient(90deg, #eceff3 25%, #f6f7f9 50%, #eceff3 75%); background-size: 200% 100%; animation: shimmer 1.2s infinite; }
.st-card.sk i { display: block; height: 12px; border-radius: 6px; margin: 4px 0; }
.st-card.sk i:nth-child(1) { width: 70%; height: 16px; } .st-card.sk i:nth-child(3) { width: 40%; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* Badges & chips */
.badge { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 500; padding: 4px 10px; border-radius: 999px; background: #fff; color: var(--navy); box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.badge-ok { background: var(--ok); color: #fff; }
.badge-bad { background: var(--bad); color: #fff; }
.badge-gold { background: var(--gold); color: var(--navy); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; padding: 4px 9px; border-radius: 8px; background: var(--navy-soft); color: var(--navy); }
.chip .ic { width: 14px; height: 14px; }

/* Feature/how-it-works */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; counter-reset: s; }
.step { position: relative; background: #fff; border-radius: var(--r); padding: 26px 22px 22px; box-shadow: var(--shadow); }
.step .num { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--navy); color: var(--gold); margin-bottom: 14px; }
.step .num .ic { width: 24px; height: 24px; }
.step small { position: absolute; top: 18px; right: 20px; font-weight: 700; color: #d4dae2; font-size: 28px; }
.step h3 { font-size: 17px; }
.step p { color: var(--muted); font-size: 14px; margin: 0; }
.roles { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.role-card { border-radius: 20px; padding: 32px; position: relative; overflow: hidden; }
.role-card.driver { background: var(--navy); color: #fff; }
.role-card.owner { background: var(--gold); color: var(--navy); }
.role-card h3 { font-size: 24px; color: inherit; }
.role-card ul { list-style: none; padding: 0; margin: 14px 0 22px; display: grid; gap: 8px; }
.role-card li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; }
.role-card li .ic { margin-top: 3px; }
.role-card.driver li .ic { color: var(--gold); }
.role-card > .ic { position: absolute; right: -20px; bottom: -20px; width: 160px; height: 160px; opacity: .08; }
@media (max-width: 760px) { .roles { grid-template-columns: 1fr; } .role-card { padding: 24px; } }
.regions { display: flex; flex-wrap: wrap; gap: 10px; }
.region-pill { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: #fff; border: 1.5px solid var(--line); font-weight: 500; color: var(--navy); }
.region-pill:hover { border-color: var(--navy); }
.region-pill b { background: var(--gold); border-radius: 999px; padding: 0 8px; font-size: 12px; }
.cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta h2 { margin: 0 0 6px; }
.cta p { margin: 0; color: rgba(255,255,255,.75); }

/* Footer */
.site-footer { background: #00152b; color: rgba(255,255,255,.75); padding: 56px 0 24px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 30px; }
.site-footer h4 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.site-footer a:not(.btn):not(.brand) { display: block; padding: 4px 0; font-size: 14px; }
.site-footer a:not(.btn):not(.brand):hover { color: var(--gold); }
.ft-about { margin: 16px 0; font-size: 14px; max-width: 340px; }
.ft-contact { margin-top: 14px; font-size: 13px; display: flex; gap: 8px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.1); margin-top: 36px; padding-top: 18px; font-size: 13px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > div:first-child { grid-column: 1 / -1; } }

/* Toasts */
#toasts { position: fixed; z-index: 200; right: 16px; bottom: 16px; display: flex; flex-direction: column; gap: 8px; max-width: min(380px, calc(100% - 32px)); }
.toast { display: flex; gap: 10px; align-items: flex-start; padding: 12px 16px; border-radius: 12px; background: var(--navy); color: #fff; box-shadow: var(--shadow-lg); font-size: 14px; animation: tIn .2s ease-out; border-left: 4px solid var(--gold); }
.toast .ic { margin-top: 2px; }
.toast-success { border-left-color: #4ade80; } .toast-error { border-left-color: #f87171; background: #3b0d0d; }
.toast.out { opacity: 0; transform: translateY(8px); transition: .25s; }
@keyframes tIn { from { opacity: 0; transform: translateY(10px); } }

/* Modal */
.modal-wrap { position: fixed; inset: 0; z-index: 150; background: rgba(0,15,32,.55); display: flex; align-items: center; justify-content: center; padding: 16px; opacity: 0; transition: opacity .18s; backdrop-filter: blur(2px); }
.modal-wrap.open { opacity: 1; }
.modal { position: relative; background: #fff; border-radius: 18px; width: min(560px, 100%); max-height: calc(100dvh - 32px); overflow: auto; box-shadow: var(--shadow-lg); transform: translateY(12px); transition: transform .18s; }
.modal-wrap.open .modal { transform: none; }
.modal-sm { width: min(420px, 100%); } .modal-lg { width: min(780px, 100%); }
.modal-body { padding: 26px; }
.modal-x { position: absolute; top: 12px; right: 12px; border: 0; background: var(--bg); width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; z-index: 2; }
.modal-title { display: flex; align-items: center; gap: 8px; font-size: 19px; margin-bottom: 10px; padding-right: 36px; }
.modal-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 18px; flex-wrap: wrap; }
.steps-list { padding-left: 20px; } .steps-list li { margin-bottom: 8px; }

/* Install banner + offline */
.install-banner { position: fixed; z-index: 120; left: 16px; right: 16px; bottom: 16px; margin-inline: auto; max-width: 560px; display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: var(--navy); color: #fff; border-radius: 16px; box-shadow: var(--shadow-lg); animation: tIn .25s; }
.install-banner > div:nth-child(2) { flex: 1; min-width: 0; }
.install-banner b { display: block; font-size: 14px; } .install-banner small { color: rgba(255,255,255,.7); font-size: 12.5px; }
.ib-ic { width: 42px; height: 42px; border-radius: 12px; background: var(--gold); color: var(--navy); display: grid; place-items: center; flex-shrink: 0; }
@media (max-width: 480px) { .install-banner { flex-wrap: wrap; } .install-banner .btn { flex: 1; } }
.offline-bar { position: fixed; top: 0; left: 0; right: 0; z-index: 300; background: var(--warn); color: #fff; text-align: center; font-size: 13.5px; padding: 6px; }

/* Loader / empty */
.loader { display: grid; place-items: center; padding: 50px 0; }
.loader span { width: 34px; height: 34px; border: 3px solid var(--line); border-top-color: var(--navy); border-radius: 50%; animation: spin .7s linear infinite; }
.empty { text-align: center; padding: 44px 16px; color: var(--muted); }
.empty > .ic { width: 48px; height: 48px; color: #b6c0cc; margin: 0 auto 10px; }
.empty h3 { font-size: 17px; color: var(--navy); }

/* Page head (listings, download) */
.page-head { background: var(--navy); color: #fff; padding: 34px 0 30px; }
.page-head h1 { color: #fff; font-size: clamp(24px, 3.4vw, 34px); margin: 0 0 4px; }
.page-head p { margin: 0; color: rgba(255,255,255,.75); }
.crumbs { font-size: 13px; color: rgba(255,255,255,.65); margin-bottom: 8px; display: flex; gap: 6px; align-items: center; }
.crumbs a:hover { color: var(--gold); }

/* Listings */
.list-layout { display: grid; grid-template-columns: 290px 1fr; gap: 24px; align-items: start; padding: 26px 0 60px; }
.filters { background: #fff; border-radius: var(--r); padding: 18px; box-shadow: var(--shadow); position: sticky; top: 86px; max-height: calc(100vh - 100px); overflow: auto; }
.filters h3 { font-size: 15px; display: flex; justify-content: space-between; align-items: center; }
.filters .fgroup { padding: 12px 0; border-top: 1px solid var(--line); }
.filters .fgroup > b { display: block; font-size: 13px; color: var(--navy); margin-bottom: 8px; }
.filters .check-grid { grid-template-columns: 1fr; gap: 6px; }
.filters .check-chip { padding: 7px 10px; font-size: 13px; }
.list-top { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 16px; }
.list-top .tbl-search { flex: 1; min-width: 200px; }
.list-top select { width: auto; }
.near-bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 16px; background: var(--gold-soft); border: 1px solid #f5e08a; border-radius: 12px; margin-bottom: 14px; font-size: 14px; color: #5c4a00; }
.near-bar .btn { margin-left: auto; }
.view-toggle { display: inline-flex; background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: 3px; }
.view-toggle button { border: 0; background: none; padding: 7px 12px; border-radius: 9px; display: inline-flex; gap: 6px; align-items: center; font-size: 13.5px; color: var(--muted); }
.view-toggle button.on { background: var(--navy); color: #fff; }
.list-map { height: 560px; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); }
.filters-open { display: none; }
@media (max-width: 960px) {
  .list-layout { grid-template-columns: 1fr; }
  .filters { position: fixed; inset: 0 0 0 auto; width: min(340px, 90vw); z-index: 140; max-height: none; border-radius: 0; transform: translateX(105%); transition: transform .22s; }
  .filters.open { transform: none; box-shadow: var(--shadow-lg); }
  .filters-open { display: inline-flex; }
  .list-map { height: 420px; }
}
.tbl-search { display: flex; align-items: center; gap: 8px; background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: 0 12px; color: var(--muted); }
.tbl-search:focus-within { border-color: var(--navy); }
.tbl-search input { border: 0; padding: 10px 0; box-shadow: none !important; }
.pager { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 20px; font-size: 13.5px; color: var(--muted); }

/* Station page */
.st-hero { background: var(--navy); color: #fff; padding: 26px 0 0; }
.st-title { display: flex; justify-content: space-between; gap: 20px; align-items: flex-end; flex-wrap: wrap; padding-bottom: 22px; }
.st-title h1 { color: #fff; font-size: clamp(24px, 3.6vw, 36px); margin: 0 0 6px; }
.st-title .st-loc { color: rgba(255,255,255,.8); font-size: 14.5px; }
.st-title .st-rate { color: #fff; }
.st-title-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 190px 190px; gap: 8px; border-radius: 18px; overflow: hidden; margin-top: 4px; }
.gallery button { border: 0; padding: 0; background: var(--navy-2); overflow: hidden; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gallery button:hover img { transform: scale(1.03); }
.gallery button:first-child { grid-row: 1 / 3; }
.gallery.n1 { grid-template-columns: 1fr; } .gallery.n1 button:first-child { grid-row: 1 / 3; }
.gallery.n2 { grid-template-columns: 2fr 1fr; } .gallery.n2 button:nth-child(2) { grid-row: 1 / 3; }
.gallery .ph-img { height: 100%; }
.gallery-empty { height: 220px; border-radius: 18px; overflow: hidden; }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 110px; } .gallery button:first-child { grid-column: 1 / -1; grid-row: auto; } .gallery button:nth-child(n+4) { display: none; } .gallery.n2 button:nth-child(2) { grid-row: auto; grid-column: 1 / -1; } }
.st-layout { display: grid; grid-template-columns: 1fr 380px; gap: 28px; padding: 28px 0 70px; align-items: start; }
@media (max-width: 960px) { .st-layout { grid-template-columns: 1fr; } }
.card { background: #fff; border-radius: var(--r); box-shadow: var(--shadow); padding: 22px; margin-bottom: 20px; }
.card-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.card-head h2 { font-size: 18px; margin: 0; }
.card-head p { margin: 0; width: 100%; font-size: 13.5px; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.fact { display: flex; gap: 10px; align-items: center; padding: 12px; border-radius: 12px; background: var(--bg); }
.fact .ic { width: 22px; height: 22px; color: var(--navy); }
.fact small { display: block; color: var(--muted); font-size: 12px; } .fact b { color: var(--navy); }
.feat-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.feat { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.feat span.fi { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--navy-soft); color: var(--navy); flex-shrink: 0; }
.desc { white-space: pre-line; color: #334155; }
.st-map { height: 300px; border-radius: 12px; overflow: hidden; }
.map-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; align-items: center; }
.book-card { position: sticky; top: 86px; border: 2px solid var(--navy); }
.book-card .price-big { font-size: 28px; font-weight: 700; color: var(--navy); }
.avail-line { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 10px; font-size: 13.5px; margin: 10px 0; }
.avail-line.ok { background: var(--ok-soft); color: var(--ok); } .avail-line.bad { background: var(--bad-soft); color: var(--bad); }
.sum { border-top: 1px dashed var(--line); margin-top: 8px; padding-top: 12px; display: grid; gap: 6px; font-size: 14px; }
.sum div { display: flex; justify-content: space-between; } .sum .total { font-size: 17px; font-weight: 700; color: var(--navy); }
.contact-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.rv-summary { display: grid; grid-template-columns: 160px 1fr; gap: 24px; align-items: center; margin-bottom: 18px; }
.rv-big { text-align: center; display: grid; justify-items: center; gap: 4px; } .rv-big b { font-size: 44px; color: var(--navy); line-height: 1; display: block; }
.rv-bars { display: grid; gap: 6px; }
.rv-bar { display: grid; grid-template-columns: 26px 1fr 34px; gap: 8px; align-items: center; font-size: 13px; color: var(--muted); }
.rv-bar i { height: 8px; border-radius: 4px; background: var(--bg); overflow: hidden; position: relative; }
.rv-bar i span { position: absolute; inset: 0 auto 0 0; background: #f5b301; border-radius: 4px; }
.rv-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.rv-list li { padding: 14px; border-radius: 12px; background: var(--bg); }
.rv-top { display: flex; justify-content: space-between; gap: 10px; align-items: center; flex-wrap: wrap; }
.rv-who { display: flex; gap: 10px; align-items: center; }
.rv-who .avatar { width: 34px; height: 34px; }
.rv-list p { margin: 8px 0 0; font-size: 14px; }
.verified { font-size: 12px; color: var(--ok); display: inline-flex; gap: 4px; align-items: center; }
@media (max-width: 560px) { .rv-summary { grid-template-columns: 1fr; } }
.avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--gold); color: var(--navy); display: grid; place-items: center; font-weight: 700; flex-shrink: 0; }
.lightbox img { width: 100%; max-height: 75vh; object-fit: contain; background: #000; border-radius: 12px; }
.lightbox-nav { display: flex; justify-content: space-between; margin-top: 10px; align-items: center; }

/* Auth pages */
.auth-page { min-height: 100vh; display: grid; grid-template-columns: 1fr 1.1fr; }
.auth-side { position: relative; overflow: hidden; background: linear-gradient(160deg, var(--navy), #00152b); color: #fff; padding: 40px 48px; display: flex; flex-direction: column; justify-content: space-between; gap: 30px; }
.auth-side::after { content: ""; position: absolute; right: -80px; bottom: -60px; width: 420px; height: 420px; background: url('../img/brand/mark-white.png') no-repeat center / contain; opacity: .06; }
.auth-side h2 { color: #fff; font-size: 30px; max-width: 420px; }
.auth-side ul { list-style: none; padding: 0; display: grid; gap: 14px; }
.auth-side li { display: flex; gap: 12px; align-items: center; color: rgba(255,255,255,.85); }
.auth-side li .ic { color: var(--gold); width: 22px; height: 22px; }
.auth-side .brand-logo { height: 40px; }
.auth-main { display: flex; align-items: center; justify-content: center; padding: 40px 20px; background: #fff; }
.auth-box { width: min(440px, 100%); }
.auth-box h1 { font-size: 26px; margin-bottom: 4px; }
.auth-box .sub { color: var(--muted); margin-bottom: 22px; }
.auth-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 26px; gap: 10px; }
.auth-top .brand-logo { height: 30px; }
.auth-alt { text-align: center; margin-top: 18px; font-size: 14px; color: var(--muted); }
.auth-alt a { color: var(--navy); font-weight: 700; }
.link { color: var(--navy); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; background: none; border: 0; padding: 0; }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: -4px 0 16px; font-size: 13.5px; }
.pw-meter { height: 5px; border-radius: 3px; background: var(--line); overflow: hidden; margin-top: 4px; }
.pw-meter span { display: block; height: 100%; width: 0; background: var(--bad); transition: width .2s, background .2s; }
.auth-mobile-logo { display: none; }
@media (max-width: 900px) {
  .auth-page { grid-template-columns: 1fr; }
  .auth-side { display: none; }
  .auth-main { align-items: flex-start; padding-top: 24px; }
  .auth-mobile-logo { display: block; }
}
.auth-top .lang-switch { background: var(--navy-soft); }
.auth-top .lang-switch button { color: var(--navy); }
.auth-top .lang-switch button.on { background: var(--navy); color: #fff; }

/* Download page */
.dl-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: start; padding: 34px 0 70px; }
.dl-platforms { display: grid; gap: 14px; }
.dl-plat { display: flex; gap: 16px; align-items: flex-start; }
.dl-plat .pi { width: 52px; height: 52px; border-radius: 14px; background: var(--navy); color: var(--gold); display: grid; place-items: center; flex-shrink: 0; }
.dl-plat .pi .ic { width: 26px; height: 26px; }
.dl-plat ol { margin: 6px 0 0; padding-left: 18px; color: var(--muted); font-size: 14px; }
.qr-box { text-align: center; }
.qr-box .qr { width: 220px; margin: 10px auto 12px; padding: 10px; background: #fff; border-radius: 16px; border: 2px solid var(--navy); }
.qr-box .qr svg { width: 100%; height: auto; display: block; }
.qr-host { font-weight: 700; color: var(--navy); word-break: break-all; }
.app-preview { display: flex; gap: 14px; align-items: center; padding: 16px; border-radius: 16px; background: var(--navy); color: #fff; margin-bottom: 16px; }
.app-preview img { width: 64px; height: 64px; border-radius: 16px; }
.app-preview b { display: block; font-size: 17px; }
.app-preview small { color: rgba(255,255,255,.7); }
@media (max-width: 860px) { .dl-grid { grid-template-columns: 1fr; } }

/* Map */
.mmap { position: relative; overflow: hidden; background: #dfe7ee; touch-action: none; user-select: none; cursor: grab; }
.mmap:active { cursor: grabbing; }
.mmap-tiles img { position: absolute; left: 0; top: 0; width: 256px; height: 256px; max-width: none; pointer-events: none; }
.mmap-markers { position: absolute; inset: 0; pointer-events: none; }
.mmap-pin { position: absolute; left: 0; top: 0; pointer-events: auto; border: 0; background: none; padding: 0; width: 0; height: 0; }
.mmap-pin > * { position: absolute; transform: translate(-50%, -100%); }
.mmap-dot { width: 22px; height: 22px; border-radius: 50% 50% 50% 0; background: var(--navy); border: 3px solid var(--gold); rotate: -45deg; transform-origin: center; translate: -50% -110%; display: block; box-shadow: 0 3px 8px rgba(0,0,0,.35); }
.pin-label { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; background: var(--navy); color: #fff; font-size: 12px; font-weight: 700; padding: 5px 9px; border-radius: 999px; border: 2px solid var(--gold); box-shadow: 0 3px 8px rgba(0,0,0,.3); }
.pin-label::after { content: ""; position: absolute; left: 50%; bottom: -7px; transform: translateX(-50%); border: 6px solid transparent; border-top-color: var(--gold); border-bottom: 0; }
.mmap-pin:hover .pin-label, .mmap-pin:focus .pin-label { background: var(--gold); color: var(--navy); }
.pin-me { width: 18px; height: 18px; border-radius: 50%; background: #2563eb; border: 3px solid #fff; box-shadow: 0 0 0 6px rgba(37,99,235,.25); transform: translate(-50%, -50%) !important; }
.mmap-zoom { position: absolute; right: 10px; top: 10px; display: flex; flex-direction: column; background: #fff; border-radius: 10px; box-shadow: var(--shadow); overflow: hidden; z-index: 2; }
.mmap-zoom button { width: 36px; height: 36px; border: 0; background: #fff; font-size: 20px; font-weight: 700; color: var(--navy); }
.mmap-zoom button + button { border-top: 1px solid var(--line); }
.mmap-attr { position: absolute; right: 0; bottom: 0; background: rgba(255,255,255,.85); font-size: 11px; padding: 2px 6px; z-index: 2; }
.mmap-attr a { color: var(--info); }
.map-pop { position: absolute; z-index: 3; left: 12px; bottom: 12px; right: 12px; max-width: 340px; }
.map-pop .st-card { box-shadow: var(--shadow-lg); }
.map-pop .st-img { aspect-ratio: 16/7; }

/* 404 */
.nf { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 40px 16px; }
.nf b { font-size: 90px; color: var(--navy); line-height: 1; display: block; }
.nf b span { color: var(--gold-2); }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }
@media print { .site-header, .site-footer, .install-banner { display: none !important; } }
.mt8 { margin-top: 8px; }
.check.field { flex-direction: row; align-items: flex-start; } .check.field input { margin-top: 3px; flex-shrink: 0; }

/* ===== v2: header ya simu (Ingia inaonekana bila kufungua menu), avatars ===== */
.nav-quick { display: none; }
@media (max-width: 960px) {
  .nav-quick { display: flex; align-items: center; margin-left: auto; }
  .nav-quick + .nav-toggle { margin-left: 8px; }
  .nav-quick .btn { padding: 8px 14px; }
}
@media (max-width: 360px) { .nav-quick .btn .ic { display: none; } .brand .brand-logo { height: 22px; } }
.nav-me { display: inline-flex; border-radius: 50%; box-shadow: 0 0 0 2px var(--gold); }
.avatar { overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.avatar.xs { width: 24px; height: 24px; font-size: 12px; }
.avatar.sm { width: 34px; height: 34px; font-size: 14px; }
.avatar.lg { width: 96px; height: 96px; font-size: 38px; }
.nav-dash { padding-left: 6px; }

/* ===== v2: slider ya picha zote za kituo ===== */
.pslider { position: relative; width: 100%; height: 100%; }
.ps-track { display: flex; width: 100%; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.ps-track::-webkit-scrollbar { display: none; }
.ps-track img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: start; user-select: none; }
.ps-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: var(--navy); display: grid; place-items: center; box-shadow: 0 2px 8px rgba(0,0,0,.25); opacity: 0; transition: opacity .15s; z-index: 2; }
.ps-prev { left: 8px; } .ps-next { right: 8px; }
.pslider:hover .ps-btn, .ps-btn:focus-visible { opacity: 1; }
@media (hover: none) { .ps-btn { display: none; } }
.ps-count { position: absolute; right: 10px; bottom: 10px; background: rgba(0,15,32,.72); color: #fff; font-size: 11.5px; padding: 3px 8px; border-radius: 999px; display: inline-flex; gap: 4px; align-items: center; z-index: 2; }
.ps-count .ic { width: 13px; height: 13px; }
.ps-dots { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); display: flex; gap: 4px; z-index: 2; }
.ps-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.55); }
.ps-dots i.on { background: #fff; width: 14px; border-radius: 3px; }
.st-img .badge-dist { bottom: auto; }
.st-img > .badge { z-index: 3; }
.st-gallery { margin-top: 4px; }
.stg-main { position: relative; height: 400px; border-radius: 18px; overflow: hidden; background: var(--navy-2); }
.stg-main .ps-track { cursor: zoom-in; }
.stg-main .ps-btn { opacity: 1; width: 40px; height: 40px; }
.stg-all { position: absolute; left: 12px; bottom: 12px; z-index: 3; border: 0; background: #fff; color: var(--navy); font-weight: 500; font-size: 13px; padding: 8px 12px; border-radius: 999px; display: inline-flex; gap: 6px; align-items: center; box-shadow: var(--shadow); }
.stg-thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 10px 0 2px; scrollbar-width: thin; }
.stg-thumbs button { flex: 0 0 86px; height: 62px; border-radius: 10px; overflow: hidden; border: 2px solid transparent; padding: 0; background: var(--navy-2); opacity: .7; }
.stg-thumbs button.on { border-color: var(--gold); opacity: 1; }
.stg-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.photo-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.photo-wall button { border: 0; padding: 0; aspect-ratio: 4/3; border-radius: 10px; overflow: hidden; background: var(--bg); }
.photo-wall img { width: 100%; height: 100%; object-fit: cover; }
.gallery-empty { display: grid; position: relative; }
.gallery-empty p { position: absolute; bottom: 12px; left: 0; right: 0; text-align: center; color: var(--muted); font-size: 13px; margin: 0; }
@media (max-width: 760px) { .stg-main { height: 250px; border-radius: 14px; } }
.owner-row { display: flex; align-items: center; gap: 12px; padding-top: 6px; }
.owner-row small { display: block; font-size: 12px; } .owner-row b { color: var(--navy); }
.toast-live .spin { width: 16px; height: 16px; border: 2.5px solid rgba(255,255,255,.35); border-top-color: var(--gold); border-radius: 50%; animation: spin .7s linear infinite; flex-shrink: 0; margin-top: 2px; }
.modal-actions.center { justify-content: center; }
