/* ============================================================
   کیش رنت — Design System  (Minimal Light · RTL · Mobile-First)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;500;600;700;800;900&display=swap');

:root{
  /* ---- color · سعادت رنت brand ---- */
  --bg:        #dfe9ec;   /* cool light canvas behind the phone */
  --paper:     #f6f9fa;   /* app background (cool white) */
  --surface:   #ffffff;
  --ink:       #0f2a31;   /* brand dark navy — text & primary */
  --ink-2:     #4a5f65;   /* muted navy-grey */
  --ink-3:     #88a0a6;   /* faint */
  --line:      #e2e9eb;   /* hairline */
  --line-2:    #eef3f4;
  --accent:    #1f8fba;   /* brand blue, readable on white */
  --brand:     #3cadd5;   /* primary brand blue (fills) */
  --accent-sft:#e3f3f9;   /* light blue tint */
  --gold:      #eba800;   /* golden — stars / highlights */
  --gold-br:   #fbbf2b;   /* bright golden — underline accent */
  --warn:      #b05a2a;
  --ok:        #1f8fba;

  /* ---- type ---- */
  --font: 'Vazirmatn', system-ui, sans-serif;

  /* ---- geometry ---- */
  --r-sm: 10px;
  --r:    14px;
  --r-lg: 20px;
  --r-xl: 26px;
  --shell: 440px;          /* mobile design width */

  /* ---- shadow ---- */
  --sh-1: 0 1px 2px rgba(20,20,26,.05);
  --sh-2: 0 6px 22px -8px rgba(20,20,26,.16);
  --sh-3: 0 14px 40px -12px rgba(20,20,26,.28);
}

*{ box-sizing:border-box; margin:0; padding:0; }
html{ -webkit-text-size-adjust:100%; }

body{
  font-family:var(--font);
  background:var(--bg);
  color:var(--ink);
  direction:rtl;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  letter-spacing:-.01em;
}

/* ---------- phone shell ---------- */
.app{
  position:relative;
  max-width:var(--shell);
  min-height:100vh;
  margin:0 auto;
  background:var(--paper);
  box-shadow:0 0 0 1px var(--line), 0 30px 80px -30px rgba(20,20,26,.4);
  overflow-x:clip;
  padding-bottom:96px;          /* room for sticky bar */
}

img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
button{ font-family:inherit; cursor:pointer; border:none; background:none; color:inherit; }
ul{ list-style:none; }

/* ---------- type helpers ---------- */
.hero-visual{ display:none; }
.eyebrow{
  font-size:12px; font-weight:600; letter-spacing:.08em;
  color:var(--accent); text-transform:uppercase;
}
.h1{ font-size:30px; font-weight:800; line-height:1.22; letter-spacing:-.02em; }
.h2{ font-size:22px; font-weight:700; letter-spacing:-.02em; }
.h3{ font-size:17px; font-weight:700; }
.lead{ font-size:15px; color:var(--ink-2); line-height:1.75; }
.muted{ color:var(--ink-2); }
.faint{ color:var(--ink-3); }
.num{ font-variant-numeric:tabular-nums; font-feature-settings:"ss01"; }

/* ---------- layout ---------- */
.wrap{ padding-inline:20px; }
section{ padding-block:34px; }
.sec-head{ display:flex; align-items:flex-end; justify-content:space-between; gap:12px; margin-bottom:18px; }
.sec-head .h2{ flex:1; }
.sec-head .link{ font-size:13px; font-weight:600; color:var(--accent); white-space:nowrap; }
.divider{ height:1px; background:var(--line); }

/* ---------- app bar ---------- */
.appbar{
  position:sticky; top:0; z-index:40;
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 20px;
  background:color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter:saturate(1.4) blur(14px);
  border-bottom:1px solid transparent;
  transition:border-color .25s;
}
.appbar.scrolled{ border-bottom-color:var(--line); }
.brand{ display:flex; align-items:center; gap:9px; font-weight:800; font-size:18px; letter-spacing:-.02em; }
.brand img{ height:27px; width:auto; display:block; }
.brand .mark{
  width:30px; height:30px; border-radius:9px;
  background:var(--ink); color:#fff;
  display:grid; place-items:center; font-size:15px; font-weight:800;
}
.brand .mark.alt{ background:var(--accent); }
.appbar .actions{ display:flex; align-items:center; gap:6px; }
.icon-btn{
  width:40px; height:40px; border-radius:11px;
  display:grid; place-items:center; color:var(--ink);
  border:1px solid var(--line); background:var(--surface);
}
.icon-btn svg{ width:19px; height:19px; }

/* ---------- buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  height:52px; padding-inline:22px; border-radius:var(--r);
  font-weight:700; font-size:15px; white-space:nowrap;
  transition:transform .12s ease, background .2s, box-shadow .2s;
}
.btn:active{ transform:scale(.975); }
.btn-primary{ background:var(--accent); color:#fff; }
.btn-primary:hover{ background:#1a7da3; box-shadow:var(--sh-2); }
.btn-gold{ background:var(--gold-br); color:var(--ink); font-weight:800; }
.btn-gold:hover{ background:#f3b417; box-shadow:0 6px 18px -8px rgba(235,168,0,.7); }
.btn-dark{ background:var(--ink); color:#fff; }
.btn-dark:hover{ box-shadow:var(--sh-2); }
.btn-accent{ background:var(--accent); color:#fff; }
.btn-ghost{ background:var(--surface); color:var(--ink); border:1px solid var(--line); }
.btn-block{ width:100%; }
.btn svg{ width:18px; height:18px; }
.btn-sm{ height:42px; font-size:13.5px; padding-inline:16px; border-radius:11px; }

/* ---------- chips ---------- */
.chips{ display:flex; gap:9px; overflow-x:auto; padding:2px 20px 6px; scrollbar-width:none; }
.chips::-webkit-scrollbar{ display:none; }
.chip{
  flex:0 0 auto; height:38px; padding-inline:16px; border-radius:999px;
  display:inline-flex; align-items:center; gap:7px;
  background:var(--surface); border:1px solid var(--line);
  font-size:13.5px; font-weight:600; color:var(--ink-2);
  transition:.18s;
}
.chip.active{ background:var(--ink); color:#fff; border-color:var(--ink); }
.chip svg{ width:15px; height:15px; }

/* ---------- pills / tags ---------- */
.tag{
  display:inline-flex; align-items:center; gap:5px;
  height:26px; padding-inline:10px; border-radius:7px;
  font-size:11.5px; font-weight:600;
  background:var(--line-2); color:var(--ink-2);
}
.tag.ok{ background:var(--accent-sft); color:var(--accent); }
.tag.dot::before{ content:""; width:6px; height:6px; border-radius:50%; background:currentColor; }

/* ---------- image placeholder ---------- */
.ph{
  position:relative; overflow:hidden;
  background:
    repeating-linear-gradient(135deg, #e4edf0 0 11px, #dde8ec 11px 22px);
  display:grid; place-items:center;
}
.ph::after{
  content:attr(data-label);
  font-family:ui-monospace,'SF Mono',Menlo,monospace;
  font-size:10.5px; letter-spacing:.02em; color:#8aa6af;
  background:rgba(246,249,250,.72); padding:3px 9px; border-radius:6px;
}

/* ---------- car card ---------- */
.car-card{
  background:var(--surface); border:1px solid var(--line);
  border-radius:var(--r-lg); overflow:hidden;
  transition:transform .15s, box-shadow .2s, border-color .2s;
}
.car-card:hover{ box-shadow:var(--sh-2); border-color:#cfe0e6; }
.car-card .media{ position:relative; aspect-ratio:16/11; }
.car-card .media .ph{ position:absolute; inset:0; }
.car-card .media img{ position:absolute; inset:0; width:100%; height:100%; object-fit:contain; background:var(--paper); }
.car-card .fav{
  position:absolute; top:10px; left:10px;
  width:34px; height:34px; border-radius:10px;
  background:rgba(255,255,255,.92); display:grid; place-items:center;
  border:1px solid var(--line);
}
.car-card .fav svg{ width:17px; height:17px; }
.car-card .cat-tag{ position:absolute; top:10px; right:10px; }
.car-card .body{ padding:13px 14px 14px; }
.car-card .name{ font-size:15.5px; font-weight:700; letter-spacing:-.01em; min-height:0; }
.car-card .specrow{ display:flex; gap:10px; margin-top:9px; color:var(--ink-2); font-size:11.5px; flex-wrap:wrap; }
.car-card .specrow span{ display:inline-flex; align-items:center; gap:4px; background:var(--paper); border:1px solid var(--line-2); padding:3px 7px; border-radius:7px; }
.car-card .specrow svg{ width:13px; height:13px; color:var(--accent); }
.car-card .priceline{
  display:flex; align-items:flex-end; justify-content:space-between;
  margin-top:13px; padding-top:12px; border-top:1px solid var(--line-2);
}
.car-card .reserve{ display:flex; align-items:center; justify-content:center; gap:6px;
  width:100%; height:42px; margin-top:11px; border-radius:11px;
  background:var(--gold-br); color:var(--ink); font-weight:800; font-size:13.5px; transition:.15s; }
.car-card:hover .reserve{ background:#f3b417; }
.car-card .reserve svg{ width:15px; height:15px; }
.price{ display:flex; align-items:baseline; gap:5px; }
.price b{ font-size:18px; font-weight:800; letter-spacing:-.02em; }
.price .u{ font-size:11.5px; color:var(--ink-3); font-weight:500; }

/* grid */
.grid-2{ display:grid; grid-template-columns:1fr 1fr; gap:13px; }

/* ---------- trust strip ---------- */
.trust{ display:grid; grid-template-columns:repeat(4,1fr); gap:6px; }
.trust .t{ text-align:center; }
.trust .t .ic{
  width:42px; height:42px; margin:0 auto 7px; border-radius:13px;
  background:var(--surface); border:1px solid var(--line);
  display:grid; place-items:center;
}
.trust .t .ic svg{ width:20px; height:20px; color:var(--accent); }
.trust .t span{ font-size:11.5px; font-weight:600; color:var(--ink-2); line-height:1.35; display:block; }

/* ---------- steps ---------- */
.steps{ display:flex; flex-direction:column; gap:2px; }
.step{ display:flex; gap:14px; align-items:flex-start; padding:14px 0; }
.step .n{
  flex:0 0 auto; width:38px; height:38px; border-radius:12px;
  background:var(--ink); color:#fff; font-weight:800; font-size:16px;
  display:grid; place-items:center;
}
.step .n.line{ background:var(--surface); color:var(--ink); border:1px solid var(--line); }
.step h4{ font-size:15px; font-weight:700; }
.step p{ font-size:13px; color:var(--ink-2); margin-top:2px; }

/* ---------- why-us list ---------- */
.feature{
  display:flex; gap:13px; align-items:flex-start;
  padding:16px; background:var(--surface);
  border:1px solid var(--line); border-radius:var(--r);
}
.feature .ic{ flex:0 0 auto; width:36px; height:36px; border-radius:11px;
  background:var(--accent-sft); display:grid; place-items:center; }
.feature .ic svg{ width:19px; height:19px; color:var(--accent); }
.feature h4{ font-size:14.5px; font-weight:700; }
.feature p{ font-size:12.5px; color:var(--ink-2); margin-top:2px; }

/* ---------- brands ---------- */
.brands{ display:grid; grid-template-columns:repeat(3,1fr); gap:11px; }
.brandchip{
  height:64px; border-radius:var(--r); background:var(--surface);
  border:1px solid var(--line); display:grid; place-items:center;
  font-weight:800; font-size:15px; color:var(--ink); letter-spacing:-.01em;
  transition:.18s;
}
.brandchip:hover{ border-color:#cfe0e6; box-shadow:var(--sh-1); }
.brandchip small{ display:block; font-size:10px; font-weight:500; color:var(--ink-3); text-align:center; margin-top:1px; }

/* ---------- review ---------- */
.reviews{ display:flex; gap:13px; overflow-x:auto; padding:2px 20px 8px; scrollbar-width:none; scroll-snap-type:x mandatory; }
.reviews::-webkit-scrollbar{ display:none; }
.review{
  flex:0 0 84%; scroll-snap-align:start;
  background:var(--surface); border:1px solid var(--line);
  border-radius:var(--r-lg); padding:18px;
}
.stars{ display:flex; gap:2px; color:var(--gold); margin-bottom:10px; }
.stars svg{ width:15px; height:15px; }
.review p{ font-size:13.5px; color:var(--ink); line-height:1.7; }
.review .who{ display:flex; align-items:center; gap:10px; margin-top:14px; }
.review .av{ width:34px; height:34px; border-radius:50%; background:var(--accent-sft); color:var(--accent);
  display:grid; place-items:center; font-weight:700; font-size:13px; }
.review .who b{ font-size:13px; font-weight:700; display:block; }
.review .who span{ font-size:11px; color:var(--ink-3); }

/* ---------- FAQ ---------- */
.faq{ border:1px solid var(--line); border-radius:var(--r); overflow:hidden; background:var(--surface); }
.faq details{ border-bottom:1px solid var(--line-2); }
.faq details:last-child{ border-bottom:none; }
.faq summary{
  list-style:none; cursor:pointer; padding:16px;
  display:flex; align-items:center; justify-content:space-between; gap:12px;
  font-size:14px; font-weight:600;
}
.faq summary::-webkit-details-marker{ display:none; }
.faq summary .pm{ flex:0 0 auto; width:22px; height:22px; position:relative; transition:.2s; color:var(--ink-3); }
.faq summary .pm::before,.faq summary .pm::after{
  content:""; position:absolute; inset:0; margin:auto; background:currentColor;
}
.faq summary .pm::before{ width:13px; height:1.6px; }
.faq summary .pm::after{ width:1.6px; height:13px; transition:.2s; }
.faq details[open] summary .pm{ color:var(--accent); }
.faq details[open] summary .pm::after{ transform:scaleY(0); }
.faq details p{ padding:0 16px 16px; font-size:13px; color:var(--ink-2); line-height:1.75; }

/* ---------- big CTA ---------- */
.cta-final{
  margin:0 20px; padding:30px 24px; border-radius:var(--r-xl);
  background:var(--ink); color:#fff; text-align:center; position:relative; overflow:hidden;
}
.cta-final::before{
  content:""; position:absolute; inset:0;
  background:radial-gradient(120% 90% at 80% -10%, rgba(255,255,255,.10), transparent 60%);
}
.cta-final h3{ font-size:23px; font-weight:800; position:relative; }
.cta-final p{ font-size:13.5px; color:rgba(255,255,255,.72); margin:8px 0 20px; position:relative; }
.cta-final .btn{ position:relative; }
.cta-final .btn-primary{ background:#fff; color:var(--ink); }

/* ---------- footer ---------- */
.footer{ background:var(--surface); border-top:1px solid var(--line); padding:28px 20px 30px; }
.footer .brand{ margin-bottom:14px; }
.footer .brand img{ height:28px; }
.footer .cols{ display:grid; grid-template-columns:1fr 1fr; gap:20px 14px; margin-bottom:22px; }
.footer h5{ font-size:12px; font-weight:700; color:var(--ink); margin-bottom:10px; }
.footer a{ display:block; font-size:12.5px; color:var(--ink-2); padding:4px 0; }
.footer a:hover{ color:var(--accent); }
.footer .copy{ font-size:11px; color:var(--ink-3); padding-top:18px; border-top:1px solid var(--line-2); }
.foot-contact{ display:flex; flex-direction:column; gap:8px; margin-bottom:22px; }
.foot-contact a{ display:inline-flex; align-items:center; gap:8px; font-weight:700; font-size:14px; color:var(--ink); padding:0; }
.foot-contact svg{ width:18px; height:18px; color:var(--accent); }

/* ---------- floating buttons ---------- */
.floaters{ position:fixed; bottom:104px; z-index:55; display:flex; flex-direction:column; gap:10px;
  left:max(16px, calc(50vw - var(--shell)/2 + 16px)); }
.fab{
  width:50px; height:50px; border-radius:16px; display:grid; place-items:center;
  background:var(--surface); color:var(--ink); border:1px solid var(--line);
  box-shadow:var(--sh-2);
}
.fab svg{ width:23px; height:23px; }
.fab.wa{ background:#1f8a4c; color:#fff; border-color:transparent; }
.fab.call{ background:var(--ink); color:#fff; border-color:transparent; }

/* ---------- sticky bottom CTA ---------- */
.dock{
  position:fixed; bottom:0; z-index:60;
  width:100%; max-width:var(--shell);
  left:50%; transform:translateX(-50%);
  background:color-mix(in srgb, var(--surface) 92%, transparent);
  backdrop-filter:blur(16px) saturate(1.4);
  border-top:1px solid var(--line);
  padding:11px 18px calc(11px + env(safe-area-inset-bottom));
  display:flex; align-items:center; gap:12px;
}
.dock .pr{ flex:1; line-height:1.25; }
.dock .pr small{ font-size:11px; color:var(--ink-3); display:block; }
.dock .pr b{ font-size:17px; font-weight:800; }
.dock .pr b .u{ font-size:11px; font-weight:500; color:var(--ink-3); }
.dock .btn{ height:46px; }

/* ---------- bottom nav (alt dock for content pages) ---------- */
.tabbar{
  position:fixed; bottom:0; z-index:60; width:100%; max-width:var(--shell);
  left:50%; transform:translateX(-50%);
  background:color-mix(in srgb, var(--surface) 94%, transparent);
  backdrop-filter:blur(16px); border-top:1px solid var(--line);
  display:grid; grid-template-columns:repeat(4,1fr);
  padding:8px 6px calc(8px + env(safe-area-inset-bottom));
}
.tabbar a{ display:flex; flex-direction:column; align-items:center; gap:3px; color:var(--ink-3); font-size:10.5px; font-weight:600; padding:4px; }
.tabbar a.active{ color:var(--ink); }
.tabbar a svg{ width:21px; height:21px; }

/* ---------- booking form ---------- */
.bform{ background:var(--surface); border:1px solid var(--line); border-radius:var(--r-lg); padding:14px; box-shadow:var(--sh-2); }
.field{ display:block; position:relative; border:1px solid var(--line); border-radius:var(--r); padding:10px 13px; margin-bottom:9px; background:var(--paper); transition:.18s; }
.field:focus-within{ border-color:var(--ink); background:var(--surface); }
.field label, .field .field-title{ font-size:11px; font-weight:600; color:var(--ink-3); display:block; }
.field[data-open-picker]{ cursor:pointer; }
.field .ctrl{ display:flex; align-items:center; gap:9px; }
.field .ctrl svg{ width:17px; height:17px; color:var(--ink-2); flex:0 0 auto; }
.field input, .field select{
  width:100%; border:none; background:none; outline:none;
  font-family:inherit; font-size:14.5px; font-weight:600; color:var(--ink); padding:1px 0;
}
.picker-trigger{
  width:100%; border:none; background:none; outline:none;
  font-family:inherit; font-size:14.5px; font-weight:600; color:var(--ink); padding:1px 0;
  text-align:right; display:block; min-height:24px; cursor:pointer;
}
.field select{ appearance:none; }
.location-native{
  position:absolute; opacity:0; pointer-events:none; width:1px!important; height:1px!important;
}
.location-trigger{
  width:100%; border:none; background:none; outline:none;
  font-family:inherit; font-size:14.5px; font-weight:600; color:var(--ink); padding:1px 0;
  text-align:right; display:block; min-height:24px; cursor:pointer;
}
.field.split{ display:grid; grid-template-columns:1fr 1fr; }
.row-2{ display:grid; grid-template-columns:1fr 1fr; gap:9px; }
.row-2 .field{ margin-bottom:9px; }

/* ---------- booking date/time picker ---------- */
.booking-picker-bg{ position:fixed; inset:0; z-index:80; background:rgba(20,20,26,.42); opacity:0; pointer-events:none; transition:.25s; }
.booking-picker-bg.open{ opacity:1; pointer-events:auto; }
.booking-picker{
  position:fixed; left:50%; bottom:0; transform:translate(-50%,100%);
  width:100%; max-width:var(--shell); z-index:81;
  background:var(--surface); border-radius:24px 24px 0 0;
  padding:8px 20px calc(20px + env(safe-area-inset-bottom));
  transition:transform .3s cubic-bezier(.3,.8,.3,1), opacity .2s;
  max-height:86vh; overflow:hidden; opacity:0; visibility:hidden; pointer-events:none;
}
.booking-picker.open{ transform:translate(-50%,0); opacity:1; visibility:visible; pointer-events:auto; transition-delay:0s; }
.booking-picker .grip{ width:42px; height:4px; border-radius:3px; background:var(--line); margin:8px auto 14px; }
.booking-picker__head{ display:grid; grid-template-columns:40px 1fr 40px; align-items:center; gap:8px; margin-bottom:14px; text-align:center; }
.booking-picker__head h3{ font-size:17px; font-weight:800; }
.booking-picker__head p{ font-size:12px; color:var(--ink-3); margin-top:2px; }
.picker-nav{
  width:38px; height:38px; border-radius:12px;
  display:grid; place-items:center; color:var(--ink);
  border:1px solid var(--line); background:var(--paper);
}
.picker-nav svg{ width:18px; height:18px; }
.calendar-grid{ display:grid; grid-template-columns:repeat(7,1fr); gap:7px; }
.calendar-grid b{
  height:26px; display:grid; place-items:center;
  font-size:11.5px; font-weight:700; color:var(--ink-3);
}
.calendar-day{
  aspect-ratio:1; min-height:40px; border-radius:12px;
  display:grid; place-items:center; background:var(--paper);
  border:1px solid var(--line-2); font-size:13.5px; font-weight:700; color:var(--ink);
}
.calendar-day:hover{ border-color:var(--accent); color:var(--accent); }
.calendar-day.active{ background:var(--ink); color:#fff; border-color:var(--ink); }
.time-grid{
  display:grid; grid-template-columns:repeat(4,1fr); gap:8px;
  max-height:56vh; overflow-y:auto; padding-bottom:4px; scrollbar-width:thin;
}
.time-option{
  height:42px; border-radius:12px; background:var(--paper);
  border:1px solid var(--line-2); font-size:13px; font-weight:800; color:var(--ink);
}
.time-option:hover{ border-color:var(--accent); color:var(--accent); }
.time-option.active{ background:var(--ink); color:#fff; border-color:var(--ink); }
.location-grid{
  display:grid; gap:9px;
  max-height:56vh; overflow-y:auto; padding-bottom:4px; scrollbar-width:thin;
}
.location-option{
  min-height:52px; border-radius:14px; background:var(--paper);
  border:1px solid var(--line-2); padding:12px 14px;
  display:flex; align-items:center; justify-content:space-between; gap:10px;
  text-align:right; font-size:14px; font-weight:800; color:var(--ink);
  transition:border-color .18s, color .18s, background .18s, box-shadow .18s;
}
.location-option::after{
  content:""; width:18px; height:18px; border-radius:50%;
  border:2px solid var(--line); flex:0 0 auto; transition:.18s;
}
.location-option:hover{ border-color:var(--accent); color:var(--accent); }
.location-option.active{ background:var(--ink); color:#fff; border-color:var(--ink); box-shadow:var(--sh-2); }
.location-option.active::after{ border-color:#fff; box-shadow:inset 0 0 0 4px var(--ink); background:#fff; }

/* ---------- segmented ---------- */
.seg{ display:inline-flex; background:var(--line-2); border-radius:11px; padding:3px; gap:2px; }
.seg button{ height:34px; padding-inline:14px; border-radius:8px; font-size:13px; font-weight:600; color:var(--ink-2); }
.seg button.active{ background:var(--surface); color:var(--ink); box-shadow:var(--sh-1); }

/* ---------- toast ---------- */
.toast{
  position:fixed; left:50%; bottom:120px; transform:translate(-50%,20px);
  background:var(--ink); color:#fff; font-size:13px; font-weight:600;
  padding:12px 18px; border-radius:13px; z-index:90; box-shadow:var(--sh-3);
  opacity:0; pointer-events:none; transition:.28s; max-width:88%; text-align:center;
}
.toast.show{ opacity:1; transform:translate(-50%,0); }

/* reveal — kept as a no-op for robustness (content always visible) */
.reveal{ opacity:1; transform:none; }
.reveal.in{ opacity:1; transform:none; }
@media (prefers-reduced-motion: no-preference){
  .reveal{ animation:fadeUp .5s ease both; }
}
@keyframes fadeUp{ from{ transform:translateY(9px); } to{ transform:none; } }

@media (min-width:480px){
  .floaters{ left:calc(50vw - var(--shell)/2 + 16px); }
}

/* ---------- filter bar (cars page) ---------- */
.filterbar{ position:sticky; top:67px; z-index:30; background:var(--paper); padding-bottom:8px; }
.filterbar.scrolled{ box-shadow:0 6px 16px -12px rgba(20,20,26,.3); }
.tools{ display:flex; gap:9px; padding:8px 20px 4px; align-items:center; }
.tool{
  flex:1; height:44px; border-radius:12px; border:1px solid var(--line); background:var(--surface);
  display:inline-flex; align-items:center; justify-content:center; gap:7px;
  font-size:13.5px; font-weight:600; color:var(--ink);
}
.tool svg{ width:17px; height:17px; }
.tool .cnt{ background:var(--accent); color:#fff; font-size:10px; min-width:17px; height:17px; border-radius:9px; display:grid; place-items:center; padding:0 4px; }
.result-meta{ padding:6px 20px 2px; font-size:12.5px; color:var(--ink-3); display:flex; justify-content:space-between; }
.result-meta b{ color:var(--ink); font-weight:700; }

/* ---------- bottom sheet ---------- */
.sheet-bg{ position:fixed; inset:0; z-index:80; background:rgba(20,20,26,.42); opacity:0; pointer-events:none; transition:.25s; }
.sheet-bg.open{ opacity:1; pointer-events:auto; }
.sheet{
  position:fixed; left:50%; bottom:0; transform:translate(-50%,100%);
  width:100%; max-width:var(--shell); z-index:81;
  background:var(--surface); border-radius:24px 24px 0 0;
  padding:8px 20px calc(20px + env(safe-area-inset-bottom));
  transition:transform .3s cubic-bezier(.3,.8,.3,1); max-height:86vh; overflow-y:auto;
}
.sheet.open{ transform:translate(-50%,0); }
.sheet .grip{ width:42px; height:4px; border-radius:3px; background:var(--line); margin:8px auto 14px; }
.sheet h3{ font-size:17px; font-weight:700; }
.sheet .sh-head{ display:flex; align-items:center; justify-content:space-between; margin-bottom:6px; }
.sheet .sh-head button{ font-size:13px; font-weight:600; color:var(--accent); }
.fgroup{ padding:16px 0; border-bottom:1px solid var(--line-2); }
.fgroup:last-of-type{ border-bottom:none; }
.fgroup>label{ font-size:13px; font-weight:700; display:block; margin-bottom:11px; }
.opts{ display:flex; flex-wrap:wrap; gap:8px; }
.opt{
  height:38px; padding-inline:14px; border-radius:10px; border:1px solid var(--line);
  background:var(--paper); font-size:13px; font-weight:600; color:var(--ink-2);
}
.opt.on{ background:var(--ink); color:#fff; border-color:var(--ink); }
.range{ width:100%; accent-color:var(--ink); }
.range-val{ display:flex; justify-content:space-between; font-size:12.5px; color:var(--ink-2); margin-top:8px; }
.range-val b{ color:var(--ink); font-weight:700; }
.sheet .apply{ position:sticky; bottom:0; background:var(--surface); padding-top:14px; }
.sort-opt{ display:flex; align-items:center; justify-content:space-between; padding:15px 2px; border-bottom:1px solid var(--line-2); font-size:14.5px; font-weight:600; }
.sort-opt:last-child{ border-bottom:none; }
.sort-opt .rad{ width:21px; height:21px; border-radius:50%; border:2px solid var(--line); position:relative; }
.sort-opt.on .rad{ border-color:var(--ink); }
.sort-opt.on .rad::after{ content:""; position:absolute; inset:4px; border-radius:50%; background:var(--ink); }
.empty{ text-align:center; padding:60px 20px; color:var(--ink-3); }
.empty svg{ width:46px; height:46px; margin:0 auto 14px; opacity:.5; }

/* ---------- car detail ---------- */
.gallery{ position:relative; }
.gallery .main{ aspect-ratio:4/3; }
.gallery .main .ph{ position:absolute; inset:0; }
.gallery .main img{ width:100%; height:100%; object-fit:contain; border-radius:var(--r-xl); background:var(--paper); }
.gallery .badge-row{ position:absolute; top:14px; right:14px; display:flex; gap:6px; }
.gallery .count{ position:absolute; bottom:14px; left:14px; background:rgba(20,20,26,.72); color:#fff;
  font-size:11.5px; font-weight:600; padding:5px 11px; border-radius:8px; backdrop-filter:blur(4px); }
.thumbs{ display:flex; gap:8px; padding:12px 20px 0; overflow-x:auto; scrollbar-width:none; }
.thumbs::-webkit-scrollbar{ display:none; }
.thumb{ flex:0 0 64px; height:50px; border-radius:10px; overflow:hidden; position:relative; border:2px solid transparent; }
.thumb.on{ border-color:var(--ink); }
.thumb .ph::after{ display:none; }
.thumb img{ width:100%; height:100%; object-fit:contain; border-radius:10px; background:var(--paper); }

.spec-strip{ display:grid; grid-template-columns:repeat(4,1fr); gap:1px; background:var(--line);
  border:1px solid var(--line); border-radius:var(--r); overflow:hidden; }
.spec-strip .s{ background:var(--surface); padding:13px 6px; text-align:center; }
.spec-strip .s svg{ width:19px; height:19px; color:var(--ink-2); margin:0 auto 5px; }
.spec-strip .s b{ font-size:13px; font-weight:700; display:block; }
.spec-strip .s span{ font-size:10.5px; color:var(--ink-3); }

.spec-acc{ border:1px solid var(--line); border-radius:var(--r); overflow:hidden; background:var(--surface); }
.spec-acc details{ border-bottom:1px solid var(--line-2); }
.spec-acc details:last-child{ border:none; }
.spec-acc summary{ list-style:none; cursor:pointer; padding:15px 16px; display:flex; align-items:center; justify-content:space-between; font-size:14.5px; font-weight:700; }
.spec-acc summary::-webkit-details-marker{ display:none; }
.spec-acc summary .ar{ width:18px; height:18px; color:var(--ink-3); transition:.2s; }
.spec-acc details[open] summary .ar{ transform:rotate(-90deg); }
.spec-acc .rows{ padding:2px 16px 14px; }
.spec-acc .r{ display:flex; justify-content:space-between; padding:9px 0; border-bottom:1px solid var(--line-2); font-size:13px; }
.spec-acc .r:last-child{ border:none; }
.spec-acc .r span{ color:var(--ink-3); }
.spec-acc .r b{ font-weight:600; }

.ins-card{ border:1px solid var(--line); border-radius:var(--r); padding:15px; display:flex; gap:13px; align-items:flex-start; background:var(--surface); cursor:pointer; transition:.18s; margin-bottom:10px; }
.ins-card.on{ border-color:var(--ink); box-shadow:0 0 0 1px var(--ink); }
.ins-card .rad{ flex:0 0 auto; width:21px; height:21px; border-radius:50%; border:2px solid var(--line); position:relative; margin-top:1px; }
.ins-card.on .rad{ border-color:var(--ink); }
.ins-card.on .rad::after{ content:""; position:absolute; inset:4px; border-radius:50%; background:var(--ink); }
.ins-card .ttl{ display:flex; justify-content:space-between; align-items:baseline; }
.ins-card h4{ font-size:14.5px; font-weight:700; }
.ins-card .pr{ font-size:13px; font-weight:700; }
.ins-card p{ font-size:12px; color:var(--ink-2); margin-top:3px; }

.pc-grid{ display:grid; grid-template-columns:1fr 1fr; gap:11px; }
.pc{ border:1px solid var(--line); border-radius:var(--r); padding:14px; background:var(--surface); }
.pc h5{ font-size:13px; font-weight:700; margin-bottom:9px; display:flex; align-items:center; gap:6px; }
.pc h5 svg{ width:16px; height:16px; }
.pc.pro h5{ color:var(--ok); } .pc.con h5{ color:var(--warn); }
.pc li{ font-size:12px; color:var(--ink-2); padding:4px 0 4px 0; display:flex; gap:6px; line-height:1.5; }
.pc li::before{ content:"•"; color:var(--ink-3); }

.doc-list li, .cond-list li{ display:flex; gap:11px; align-items:flex-start; padding:11px 0; border-bottom:1px solid var(--line-2); font-size:13.5px; }
.doc-list li:last-child, .cond-list li:last-child{ border:none; }
.doc-list .ic, .cond-list .ic{ flex:0 0 auto; width:30px; height:30px; border-radius:9px; background:var(--accent-sft); display:grid; place-items:center; }
.doc-list .ic svg, .cond-list .ic svg{ width:16px; height:16px; color:var(--accent); }

.suit{ background:var(--accent-sft); border-radius:var(--r); padding:16px; }
.suit h4{ font-size:14px; font-weight:700; color:var(--accent); margin-bottom:6px; }
.suit p{ font-size:13px; color:#1f5560; line-height:1.7; }

/* booking dock total */
.dock .pr .was{ text-decoration:line-through; color:var(--ink-3); font-size:11px; }

/* ---------- nav drawer ---------- */
.drawer-bg{ position:fixed; inset:0; z-index:85; background:rgba(15,42,49,.45); opacity:0; pointer-events:none; transition:.25s; }
.drawer-bg.open{ opacity:1; pointer-events:auto; }
.drawer{
  position:fixed; top:0; height:100%;
  width:86%; max-width:330px; z-index:86;
  right:max(0px, calc(50% - var(--shell)/2));
  transform:translateX(110%);
  background:var(--surface); box-shadow:-20px 0 60px -20px rgba(15,42,49,.5);
  transition:transform .3s cubic-bezier(.3,.8,.3,1); overflow-y:auto;
  padding:20px 18px calc(24px + env(safe-area-inset-bottom));
}
.drawer.open{ transform:translateX(0); }
.drawer .d-head{ display:flex; align-items:center; justify-content:space-between; margin-bottom:8px; padding-bottom:16px; border-bottom:1px solid var(--line); }
.drawer .d-head img{ height:26px; }
.drawer .d-close{ width:38px; height:38px; border-radius:11px; border:1px solid var(--line); display:grid; place-items:center; }
.drawer .d-close svg{ width:18px; height:18px; }
.drawer nav{ padding:10px 0; }
.drawer a.d-link{ display:flex; align-items:center; gap:13px; padding:13px 10px; border-radius:12px; font-size:15px; font-weight:600; color:var(--ink); transition:.15s; }
.drawer a.d-link:hover, .drawer a.d-link.active{ background:var(--accent-sft); color:var(--accent); }
.drawer a.d-link .di{ width:24px; height:24px; color:var(--ink-3); display:grid; place-items:center; }
.drawer a.d-link:hover .di, .drawer a.d-link.active .di{ color:var(--accent); }
.drawer a.d-link svg{ width:21px; height:21px; }
.drawer .d-foot{ margin-top:16px; padding-top:18px; border-top:1px solid var(--line); display:flex; gap:9px; }
.drawer .d-foot a{ flex:1; }

/* ---------- content pages ---------- */
.crumb{ display:flex; align-items:center; gap:6px; flex-wrap:wrap; font-size:11.5px; color:var(--ink-3); padding:10px 20px 0; }
.crumb a{ color:var(--ink-3); }
.crumb a:hover{ color:var(--accent); }
.crumb .sep{ opacity:.5; }
.crumb b{ color:var(--ink-2); font-weight:600; }

.page-hero{ padding:18px 20px 8px; }
.page-hero .eyebrow{ display:block; margin-bottom:9px; }
.page-hero .h1{ font-size:27px; }
.page-hero .lead{ margin-top:11px; }

.stat-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:11px; }
.stat{ background:var(--surface); border:1px solid var(--line); border-radius:var(--r); padding:16px; }
.stat b{ font-size:26px; font-weight:800; letter-spacing:-.02em; display:block; color:var(--accent); }
.stat span{ font-size:12.5px; color:var(--ink-2); }

.info-row{ display:flex; gap:13px; align-items:center; padding:15px; background:var(--surface); border:1px solid var(--line); border-radius:var(--r); margin-bottom:10px; }
.info-row .ic{ flex:0 0 auto; width:44px; height:44px; border-radius:13px; background:var(--accent-sft); display:grid; place-items:center; }
.info-row .ic svg{ width:21px; height:21px; color:var(--accent); }
.info-row .tx{ flex:1; }
.info-row .tx small{ font-size:11.5px; color:var(--ink-3); display:block; }
.info-row .tx b{ font-size:15px; font-weight:700; }
.info-row .go{ width:32px; height:32px; border-radius:9px; border:1px solid var(--line); display:grid; place-items:center; color:var(--ink-3); }
.info-row .go svg{ width:16px; height:16px; }

.prose p{ font-size:14px; color:var(--ink-2); line-height:1.85; margin-bottom:12px; }
.prose h3{ font-size:17px; font-weight:700; margin:20px 0 10px; }
.prose ul.bul li{ position:relative; padding:6px 0 6px 0; padding-inline-start:20px; font-size:13.5px; color:var(--ink-2); line-height:1.7; }
.prose ul.bul li::before{ content:""; position:absolute; inset-inline-start:0; top:14px; width:7px; height:7px; border-radius:2px; background:var(--brand); }

.band{ background:var(--accent-sft); border-radius:var(--r-lg); padding:20px; }
.band .h3{ color:var(--accent); }

.price-table{ width:100%; border:1px solid var(--line); border-radius:var(--r); overflow:hidden; background:var(--surface); border-collapse:collapse; }
.price-table th, .price-table td{ padding:12px 13px; font-size:13px; text-align:right; border-bottom:1px solid var(--line-2); }
.price-table th{ background:var(--paper); font-weight:700; color:var(--ink-2); font-size:12px; }
.price-table tr:last-child td{ border-bottom:none; }
.price-table td b{ font-weight:700; }
.price-table .num{ font-variant-numeric:tabular-nums; }

.form-field{ display:block; margin-bottom:12px; }
.form-field label{ font-size:12.5px; font-weight:600; color:var(--ink-2); display:block; margin-bottom:6px; }
.form-field input, .form-field textarea, .form-field select{
  width:100%; border:1px solid var(--line); border-radius:12px; background:var(--surface);
  padding:13px 14px; font-family:inherit; font-size:14.5px; color:var(--ink); outline:none; transition:.15s;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus{ border-color:var(--accent); box-shadow:0 0 0 3px var(--accent-sft); }
.form-field textarea{ min-height:110px; resize:vertical; }
