/* ==========================================================================
   Tevin — design system
   Asphalt navy + signal amber. Archivo expanded (display) / Geist (text).
   ========================================================================== */
:root {
  --ink: #0f1b2d;
  --ink-2: #16253b;
  --ink-3: #22344f;
  --text: #13203a;
  --muted: #5d6a7e;
  --soft: #8a96a8;
  --line: #e5e9f0;
  --line-2: #eef1f5;
  --bg: #f4f6f9;
  --card: #ffffff;
  --amber: #f4a81d;
  --amber-2: #ffbd3a;
  --amber-soft: #fff5e0;
  --amber-ink: #241800;
  --blue: #2d5bff;
  --blue-soft: #ebf0ff;
  --green: #12965a;
  --green-soft: #e6f6ee;
  --red: #dc4545;
  --red-soft: #fdecec;

  --r-xs: 8px;
  --r-sm: 12px;
  --r: 16px;
  --r-lg: 22px;
  --r-xl: 30px;

  --sh-1: 0 1px 2px rgba(15, 27, 45, .05), 0 2px 8px -2px rgba(15, 27, 45, .06);
  --sh-2: 0 1px 2px rgba(15, 27, 45, .04), 0 12px 32px -12px rgba(15, 27, 45, .18);
  --sh-3: 0 2px 6px rgba(15, 27, 45, .06), 0 28px 60px -20px rgba(15, 27, 45, .32);

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);

  --header: 72px;
  --display: "Archivo", "Geist", system-ui, sans-serif;
  --font: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --telugu: "Noto Sans Telugu", var(--font);
  --hindi: "Noto Sans Devanagari", var(--font);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header) + 12px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.5;
  color: var(--text);
  background: #fff;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  -webkit-tap-highlight-color: transparent;
}
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.015em; line-height: 1.15; font-weight: 600; }
h4 { font-weight: 700; }
::selection { background: var(--amber); color: var(--amber-ink); }
:focus-visible { outline: 2.5px solid var(--blue); outline-offset: 2px; border-radius: 6px; }

.container { width: min(1200px, calc(100% - 48px)); margin: 0 auto; }
.show-mob { display: none; }
.skip {
  position: absolute; left: 12px; top: -48px; background: var(--amber); color: var(--amber-ink);
  padding: 10px 14px; z-index: 200; border-radius: 10px; font-weight: 700; transition: top .2s var(--ease);
}
.skip:focus { top: 12px; }

/* ---------- Logo ---------- */
.brand { display: inline-flex; align-items: center; gap: 11px; flex: none; }
.logo-mark { flex: none; display: block; border-radius: 11px; box-shadow: 0 6px 16px -6px rgba(15, 27, 45, .45); }
/* Intro animation only where the logo is on screen at load */
.logo-mark .lm-bar { transform-origin: 20px 12px; }
.logo-mark .lm-road { transform-origin: 20px 31px; }
:is(.site-header, .dash-side, .dash-mobile-bar, .lc-mark) .lm-bar { animation: lm-bar .7s var(--ease) .1s both; }
:is(.site-header, .dash-side, .dash-mobile-bar, .lc-mark) .lm-road { animation: lm-road .8s var(--ease) .25s both; }
:is(.site-header, .dash-side, .dash-mobile-bar, .lc-mark) .lm-dash { animation: lm-dash 1s var(--ease) .45s both; }
.brand:hover .lm-dash { animation: lm-run .7s linear infinite; }
@keyframes lm-bar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes lm-road { from { transform: scaleY(.2); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes lm-dash { from { stroke-dashoffset: 18; opacity: 0; } to { stroke-dashoffset: 0; opacity: 1; } }
@keyframes lm-run { from { stroke-dashoffset: 0; } to { stroke-dashoffset: -9.2; } }

.wordmark { display: flex; flex-direction: column; line-height: 1; }
.wordmark b {
  font-family: var(--display); font-weight: 700; font-size: 23px; letter-spacing: -0.015em; color: var(--ink);
}
.wordmark .wm-i { position: relative; display: inline-block; }
.wordmark .wm-i::after {
  content: ""; position: absolute; left: 50%; top: -.02em; width: .2em; height: .2em; border-radius: 50%;
  background: var(--amber); transform: translateX(-50%);
}
.wordmark small {
  font-size: 10.5px; font-weight: 600; color: var(--muted); margin-top: 4px; letter-spacing: .01em;
}
.brand.on-dark .wordmark b { color: #fff; }
.brand.on-dark .wordmark small { color: #9fb0c8; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--amber); --fg: var(--amber-ink);
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 20px; border: 0; border-radius: 12px;
  background: var(--bg); color: var(--fg);
  font-weight: 700; font-size: 14.5px; letter-spacing: -0.005em; white-space: nowrap;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .35) inset, 0 6px 16px -8px rgba(244, 168, 29, .7);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .25s ease, color .25s ease;
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .7s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255, 255, 255, .35) inset, 0 14px 28px -12px rgba(244, 168, 29, .85); background: var(--amber-2); }
.btn:hover::after { transform: translateX(120%); }
.btn:active { transform: translateY(0) scale(.98); transition-duration: .1s; }
.btn svg { flex: none; transition: transform .35s var(--ease); }
.btn:hover .ico-go { transform: translateX(3px); }

.btn-dark { --bg: var(--ink); --fg: #fff; box-shadow: 0 8px 20px -12px rgba(15, 27, 45, .8); }
.btn-dark:hover { background: var(--ink-3); box-shadow: 0 16px 30px -14px rgba(15, 27, 45, .7); }
.btn-dark::after { background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .14) 50%, transparent 70%); }
.btn-ghost {
  --bg: #fff; --fg: var(--text);
  box-shadow: inset 0 0 0 1.5px var(--line);
}
.btn-ghost::after { display: none; }
.btn-ghost:hover { background: #fff; box-shadow: inset 0 0 0 1.5px var(--ink), 0 10px 22px -14px rgba(15, 27, 45, .45); }
.btn-lg { min-height: 54px; padding: 0 28px; font-size: 15.5px; border-radius: 14px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none !important; }

.link-all {
  white-space: nowrap; flex: none;
  display: inline-flex; align-items: center; gap: 6px; color: var(--ink); font-weight: 700; font-size: 14.5px;
  padding: 8px 2px; background: linear-gradient(var(--amber), var(--amber)) left bottom / 0 2px no-repeat;
  transition: background-size .4s var(--ease);
}
.link-all:hover { background-size: 100% 2px; }
.link-all svg { transition: transform .35s var(--ease); }
.link-all:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .82);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .4s var(--ease), border-color .4s ease;
}
body.is-scrolled .site-header { border-bottom-color: var(--line); box-shadow: 0 10px 30px -18px rgba(15, 27, 45, .25); }
.header-inner { height: var(--header); display: flex; align-items: center; gap: 24px; }
.nav { display: flex; gap: 4px; margin-left: 20px; }
.nav a {
  position: relative; font-size: 14.5px; font-weight: 600; color: #42506a; padding: 9px 14px; border-radius: 10px;
  transition: color .25s ease, background-color .25s ease;
}
.nav a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px;
  background: var(--amber); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after, .nav a.is-on::after { transform: scaleX(1); }
.nav a.is-on { color: var(--ink); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.link-login {
  display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--ink);
  padding: 8px 12px; border-radius: 12px; transition: background-color .25s ease;
}
.link-login:hover { background: var(--bg); }
.avatar {
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: var(--ink); color: #fff; font-size: 12px; font-weight: 700; font-family: var(--display);
}
.nav-toggle {
  display: none; border: 0; background: var(--bg); width: 42px; height: 42px; border-radius: 12px;
  place-items: center; color: var(--ink); transition: background-color .25s ease;
}
.nav-toggle:hover { background: var(--line); }

/* Drawer */
.drawer-backdrop, .sheet-backdrop {
  position: fixed; inset: 0; background: rgba(10, 18, 34, .5); z-index: 90;
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
  animation: fade-in .3s ease both;
}
.mobile-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(340px, 88vw); background: #fff; z-index: 95;
  padding: 18px 18px calc(18px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; gap: 4px; overflow: auto;
  box-shadow: -20px 0 60px -20px rgba(15, 27, 45, .35);
  animation: drawer-in .45s var(--ease) both;
}
.mobile-drawer.is-closing { animation: drawer-out .3s var(--ease-io) both; }
.drawer-backdrop.is-closing { animation: fade-out .3s ease both; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 14px; margin-bottom: 8px; border-bottom: 1px solid var(--line-2); }
.drawer-x { border: 0; background: var(--bg); width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; }
.drawer-link {
  display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 12px; font-weight: 600; color: var(--text);
  transition: background-color .2s ease;
}
.drawer-link:hover, .drawer-link.is-on { background: var(--bg); }
.drawer-link i { width: 36px; height: 36px; border-radius: 10px; background: var(--bg); display: grid; place-items: center; color: var(--ink); }
.drawer-link.is-on i { background: var(--ink); color: var(--amber); }
.drawer-foot { margin-top: auto; padding-top: 14px; display: grid; gap: 8px; }
@keyframes drawer-in { from { transform: translateX(100%); } to { transform: none; } }
@keyframes drawer-out { to { transform: translateX(100%); } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes fade-out { to { opacity: 0; } }

/* ---------- Motion: scroll reveal ---------- */
.motion [data-reveal] {
  opacity: 0;
  transition: opacity .8s var(--ease), transform .9s var(--ease);
  transition-delay: calc(var(--d, 0) * 80ms);
  will-change: opacity, transform;
}
.motion [data-reveal="up"] { transform: translate3d(0, 22px, 0); }
.motion [data-reveal="left"] { transform: translate3d(28px, 0, 0); }
.motion [data-reveal="right"] { transform: translate3d(-28px, 0, 0); }
.motion [data-reveal="zoom"] { transform: scale(.97); }
.motion [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Home hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(244, 168, 29, .16), transparent 60%),
    radial-gradient(700px 500px at -10% 110%, rgba(45, 91, 255, .18), transparent 60%),
    var(--ink);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 30% 40%, #000, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 30% 40%, #000, transparent 75%);
}
.hero-grid {
  position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center;
  padding: 72px 0 88px;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 10px; border-radius: 999px;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1);
  font-size: 13px; font-weight: 600; color: #d6deeb;
}
.hero-tag i { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px rgba(244, 168, 29, .2); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(244, 168, 29, 0); } }
.hero h1 {
  margin-top: 22px; font-size: clamp(40px, 5.6vw, 68px); line-height: 1.02; letter-spacing: -0.028em; font-weight: 600;
}
.hero h1 .soft { color: #8fa2bf; }
.hero p.lead { margin-top: 18px; font-size: 18px; max-width: 480px; color: #b9c6d9; line-height: 1.55; }
.hero-proof { display: flex; gap: 22px; margin-top: 26px; flex-wrap: wrap; }
.hero-proof span { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: #c7d2e2; }
.hero-proof svg { color: var(--amber); }

.hero-media { position: relative; }
.hero-media .frame {
  position: relative; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4 / 4.4;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); background: var(--ink-2);
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.6s var(--ease); }
.hero-media.is-in img { transform: scale(1); }
.hero-media .frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(10, 18, 34, .55)); }
.hero-float {
  position: absolute; left: -32px; bottom: 36px; z-index: 2; width: 270px;
  background: rgba(255, 255, 255, .96); color: var(--text); border-radius: 18px; padding: 12px;
  display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: center;
  box-shadow: var(--sh-3); animation: float 6s ease-in-out infinite;
}
.hero-float img { width: 64px; height: 52px; border-radius: 10px; object-fit: cover; transform: none; }
.hero-float strong { display: block; font-size: 14px; font-weight: 700; }
.hero-float span { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.hero-float b { color: var(--ink); font-family: var(--display); }
.hero-badge {
  position: absolute; right: 20px; top: 20px; z-index: 2; display: inline-flex; align-items: center; gap: 8px;
  background: rgba(15, 27, 45, .7); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  color: #fff; border-radius: 999px; padding: 8px 14px; font-size: 12.5px; font-weight: 600; border: 1px solid rgba(255, 255, 255, .14);
}
.hero-badge svg { color: var(--amber); }
@keyframes float { 50% { transform: translateY(-8px); } }

/* Search card */
.search-card {
  margin-top: 30px; background: #fff; color: var(--text); border-radius: 20px;
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .45);
  display: flex; align-items: stretch; padding: 8px; gap: 4px; max-width: 640px;
}
.search-card .sfield {
  flex: 1; display: flex; align-items: center; gap: 12px; padding: 8px 14px; min-width: 0;
  border-radius: 14px; transition: background-color .25s ease; cursor: pointer;
}
.search-card .sfield:hover, .search-card .sfield:focus-within { background: var(--bg); }
.search-card .sfield > span:last-child { flex: 1; min-width: 0; }
.search-card .sfield small { display: block; color: var(--muted); font-size: 12px; font-weight: 600; margin-bottom: 1px; }
.search-card select, .search-card input[type="date"], .search-card input[type="time"] {
  border: 0; background: transparent; font-weight: 700; font-size: 15px; width: 100%; padding: 0; outline: none;
  color: var(--text); cursor: pointer; -webkit-appearance: none; appearance: none; text-overflow: ellipsis;
}
.sicon {
  width: 38px; height: 38px; border-radius: 11px; background: var(--amber-soft); color: #b36b00;
  display: grid; place-items: center; flex: none;
}
.sdiv { width: 1px; background: var(--line); margin: 12px 0; flex: none; }
.search-card .btn { border-radius: 14px; }
.pin { flex: none; }

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
.section.tight { padding-top: 56px; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 30px; }
.section-head h2 { font-size: clamp(26px, 3.2vw, 38px); letter-spacing: -0.022em; }
.section-head p { color: var(--muted); margin-top: 8px; font-size: 16px; max-width: 520px; }

/* Categories */
.cat-grid { display: grid; grid-template-columns: repeat(9, 1fr); gap: 12px; }
.cat {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px;
  font-size: 13px; font-weight: 600; color: var(--text); background: #fff; border: 1px solid var(--line);
  border-radius: var(--r); padding: 20px 8px 16px; line-height: 1.3;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s ease;
}
.cat i {
  width: 52px; height: 52px; border-radius: 15px; background: var(--bg); display: grid; place-items: center; color: var(--ink);
  transition: background-color .35s ease, color .35s ease, transform .45s var(--ease);
}
.cat:hover { transform: translateY(-4px); box-shadow: var(--sh-2); border-color: transparent; }
.cat:hover i { background: var(--ink); color: var(--amber); transform: scale(1.04); }
.cat.more { display: none; }

/* Promo strip */
.promo-strip {
  position: relative; overflow: hidden; border-radius: var(--r-xl); min-height: 240px; color: #fff;
  display: flex; align-items: center; background: var(--ink);
}
.promo-strip img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.promo-strip:hover img { transform: scale(1.03); }
.promo-strip::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(10, 18, 34, .92) 0%, rgba(10, 18, 34, .6) 45%, rgba(10, 18, 34, .05) 100%); }
.promo-strip > div { position: relative; z-index: 2; padding: 40px 48px; max-width: 560px; }
.promo-strip h2 { font-size: clamp(24px, 3vw, 34px); letter-spacing: -0.022em; }
.promo-strip p { color: #c3cfdf; margin: 10px 0 22px; font-size: 15.5px; }

/* Popular */
.popular-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pop-card {
  position: relative; display: block; background: #fff; border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s ease;
}
.pop-card .pm { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--line-2); }
.pop-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.pop-card:hover { transform: translateY(-6px); box-shadow: var(--sh-3); border-color: transparent; }
.pop-card:hover img { transform: scale(1.06); }
.pop-card .pb { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px 18px; }
.pop-card strong { display: block; font-size: 16.5px; font-family: var(--display); font-weight: 600; letter-spacing: -0.02em; }
.pop-card .from { display: block; margin-top: 3px; color: var(--muted); font-size: 13.5px; }
.pop-card .from b { color: var(--text); }
.pop-card .go {
  width: 40px; height: 40px; border-radius: 12px; background: var(--bg); display: grid; place-items: center; flex: none; color: var(--ink);
  transition: background-color .3s ease, color .3s ease, transform .45s var(--ease);
}
.pop-card:hover .go { background: var(--amber); color: var(--amber-ink); transform: rotate(-45deg); }

/* Why / trust */
.why { background: var(--bg); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.why-card {
  background: #fff; border-radius: var(--r-lg); padding: 26px 22px; border: 1px solid var(--line);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.why-card:hover { transform: translateY(-4px); box-shadow: var(--sh-2); }
.why-card i { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--ink); color: var(--amber); }
.why-card h3 { font-size: 17px; margin-top: 18px; }
.why-card p { color: var(--muted); font-size: 14px; margin-top: 6px; line-height: 1.55; }

/* App promo */
.app-band { padding: 0 0 88px; background: var(--bg); }
.app-promo {
  position: relative; overflow: hidden; border-radius: var(--r-xl); background: var(--ink); color: #fff;
  display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 32px; padding: 56px 64px 0;
}
.app-promo::before {
  content: ""; position: absolute; right: -120px; top: -120px; width: 480px; height: 480px; border-radius: 50%;
  background: radial-gradient(circle, rgba(244, 168, 29, .28), transparent 65%);
}
.app-promo > div:first-child { position: relative; padding-bottom: 56px; }
.app-promo h2 { font-size: clamp(26px, 3.4vw, 40px); letter-spacing: -0.015em; }
.app-promo p { color: #b9c6d9; margin: 12px 0 26px; max-width: 420px; font-size: 16px; }
.store-row { display: flex; gap: 12px; flex-wrap: wrap; }
.store {
  display: flex; align-items: center; gap: 10px; background: #fff; color: var(--ink); border-radius: 14px;
  padding: 10px 18px 10px 14px; min-width: 164px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.store:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .6); }
.store small { display: block; font-size: 10.5px; color: var(--muted); font-weight: 600; }
.store b { display: block; font-size: 15px; letter-spacing: -0.02em; font-family: var(--display); font-weight: 600; }

.phone {
  position: relative; justify-self: center; width: 230px; height: 400px; border-radius: 38px 38px 0 0; padding: 10px 10px 0;
  background: #1d2a40; border: 1px solid rgba(255, 255, 255, .14); border-bottom: 0;
  box-shadow: 0 -10px 60px -10px rgba(0, 0, 0, .5);
}
.phone-screen {
  height: 100%; border-radius: 30px 30px 0 0; overflow: hidden; background: var(--bg); color: var(--text);
  display: flex; flex-direction: column;
}
.ps-top { background: var(--ink); color: #fff; padding: 22px 14px 40px; }
.ps-top .brand { gap: 7px; }
.ps-top .logo-mark { width: 22px; height: 22px; border-radius: 7px; }
.ps-top .wordmark b { font-size: 15px; color: #fff; }
.ps-top p { font-family: var(--display); font-size: 17px; font-weight: 600; margin-top: 14px; letter-spacing: -0.018em; line-height: 1.15; }
.ps-search { margin: -26px 12px 0; background: #fff; border-radius: 14px; padding: 10px; box-shadow: var(--sh-2); }
.ps-search div { height: 26px; border-radius: 8px; background: var(--bg); margin-bottom: 6px; }
.ps-search span { display: block; height: 28px; border-radius: 8px; background: var(--amber); }
.ps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 14px 12px; }
.ps-grid i { aspect-ratio: 1; border-radius: 10px; background: #fff; border: 1px solid var(--line); }
.ps-card { margin: 0 12px; height: 70px; border-radius: 12px; background: linear-gradient(135deg, #2a3b57, #0f1b2d); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #b7c3d6; padding: 72px 0 28px; position: relative; overflow: hidden; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.foot-about p { font-size: 14.5px; line-height: 1.6; margin-top: 18px; max-width: 320px; color: #9fb0c8; }
.site-footer h4 { color: #fff; margin-bottom: 16px; font-size: 14px; font-weight: 700; }
.site-footer .foot-col a { display: block; width: fit-content; color: #9fb0c8; font-size: 14.5px; margin: 10px 0; transition: color .25s ease, transform .35s var(--ease); }
.site-footer .foot-col a:hover { color: #fff; transform: translateX(3px); }
.socials { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.socials a {
  display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px;
  background: rgba(255, 255, 255, .06); color: #cfd8e6; border: 1px solid rgba(255, 255, 255, .08);
  transition: background-color .3s ease, color .3s ease, transform .4s var(--ease);
}
.socials a:hover { background: var(--amber); color: var(--amber-ink); transform: translateY(-3px); }
.card .socials a { background: var(--bg); color: var(--ink); border-color: var(--line); }
.card .socials a:hover { background: var(--amber); }
.foot-contact { display: grid; gap: 10px; font-size: 14px; }
.foot-contact a, .foot-contact span { display: flex; gap: 10px; align-items: center; color: #9fb0c8; }
.foot-contact a:hover { color: #fff; }
.foot-contact svg { color: var(--amber); flex: none; }
.copyright {
  margin-top: 56px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .08);
  display: flex; justify-content: space-between; gap: 12px; font-size: 13px; color: #7d8ea8;
}
.copyright a:hover { color: #fff; }

/* ---------- Page hero (listing) ---------- */
.page-hero {
  position: relative; min-height: 280px; color: #fff; display: flex; align-items: flex-end; overflow: hidden;
  background: var(--ink);
}
.page-hero .ph-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15, 27, 45, .95) 0%, rgba(15, 27, 45, .55) 60%, rgba(15, 27, 45, .2)); }
.page-hero .container { position: relative; z-index: 2; padding: 56px 0 76px; }
.crumbs { display: flex; gap: 8px; align-items: center; font-size: 13px; color: #9fb0c8; font-weight: 600; margin-bottom: 14px; }
.crumbs a:hover { color: #fff; }
.page-hero h1 { font-size: clamp(32px, 4.4vw, 52px); letter-spacing: -0.015em; }
.page-hero p { margin-top: 10px; color: #c3cfdf; font-size: 16.5px; max-width: 560px; }
.listing-wrap { background: var(--bg); padding: 0 0 88px; }
.search-overlap { margin-top: -40px; position: relative; z-index: 3; }
.search-card.wide { max-width: none; margin-top: 0; box-shadow: var(--sh-3); }

.layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 28px; margin-top: 28px; align-items: start; }
.layout > div { min-width: 0; }
.filters, .panel, .card, .v-card, .sum-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
}
.filters { padding: 22px; position: sticky; top: calc(var(--header) + 16px); }
.filters-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.filters h3 { font-size: 18px; }
.sheet-x { display: none; border: 0; background: var(--bg); width: 38px; height: 38px; border-radius: 11px; place-items: center; }
.filter-block { padding: 16px 0; border-top: 1px solid var(--line-2); }
.filter-block:first-of-type { border-top: 0; }
.filter-block h4 { font-size: 13px; margin-bottom: 10px; color: var(--muted); font-weight: 700; }
.check {
  display: flex; align-items: center; gap: 10px; font-size: 14.5px; padding: 7px 0; color: var(--text); font-weight: 600; cursor: pointer;
}
.check input, .addon input[type="checkbox"], .pay-option input {
  -webkit-appearance: none; appearance: none; width: 20px; height: 20px; border-radius: 6px; margin: 0; flex: none;
  border: 1.5px solid #c5cdd9; background: #fff; display: grid; place-items: center; cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease;
}
.check input::after, .pay-option input::after {
  content: ""; width: 10px; height: 6px; border: 2px solid #fff; border-top: 0; border-right: 0;
  transform: rotate(-45deg) translate(1px, -1px) scale(0); transition: transform .25s var(--ease);
}
.check input:checked, .pay-option input:checked { background: var(--ink); border-color: var(--ink); }
.check input:checked::after, .pay-option input:checked::after { transform: rotate(-45deg) translate(1px, -1px) scale(1); }
.pay-option input { border-radius: 50%; }
.range { width: 100%; accent-color: var(--ink); height: 28px; }
.range-label { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); font-weight: 700; }
.range-label span:last-child { color: var(--text); }
.filters .btn { margin-top: 6px; }

.results-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; gap: 12px; }
.results-head h2 { font-size: 21px; letter-spacing: -0.018em; }
.results-tools { display: flex; gap: 8px; align-items: center; }
.sort-wrap { position: relative; display: inline-flex; align-items: center; }
.results-head select {
  -webkit-appearance: none; appearance: none; border: 1.5px solid var(--line); background: #fff; border-radius: 12px;
  padding: 0 36px 0 14px; height: 44px; font-weight: 700; font-size: 14px; cursor: pointer; transition: border-color .2s ease;
}
.results-head select:hover { border-color: var(--soft); }
.sort-wrap svg { position: absolute; right: 12px; pointer-events: none; color: var(--muted); }
#open-filters { display: none; }

.stack { display: flex; flex-direction: column; gap: 16px; }
.v-card {
  display: grid; grid-template-columns: 260px 1fr auto; gap: 22px; padding: 14px; align-items: center;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s ease;
}
.v-card:hover { transform: translateY(-3px); box-shadow: var(--sh-2); border-color: transparent; }
.v-media { position: relative; border-radius: 14px; overflow: hidden; background: var(--line-2); height: 168px; }
.v-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.v-card:hover .v-media img { transform: scale(1.05); }
.badge {
  position: absolute; top: 10px; left: 10px; z-index: 1; display: inline-flex; align-items: center; gap: 5px;
  background: rgba(255, 255, 255, .95); color: var(--ink);
  font-size: 11.5px; font-weight: 700; border-radius: 999px; padding: 5px 10px; box-shadow: var(--sh-1);
}
.badge svg { color: var(--amber); }
.v-card h3 { font-size: 19px; letter-spacing: -0.015em; }
.meta { color: var(--muted); font-size: 13.5px; margin-top: 4px; font-weight: 500; }
.specs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.specs > span:not(.pill) {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 9px; background: var(--bg);
  color: #3a4860; font-size: 12.5px; font-weight: 600;
}
.specs svg { color: var(--muted); }
.v-side { text-align: right; min-width: 150px; padding-right: 8px; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.price { font-family: var(--display); font-size: 24px; font-weight: 600; letter-spacing: -0.015em; color: var(--ink); white-space: nowrap; }
.price span { font-family: var(--font); font-size: 13px; color: var(--muted); font-weight: 600; letter-spacing: 0; }
.owner-tag { display: inline-flex; margin-top: 10px; font-size: 12px; font-weight: 700; color: var(--blue); background: var(--blue-soft); border-radius: 999px; padding: 4px 10px; }

.chips { display: none; gap: 8px; overflow-x: auto; padding: 2px 0 6px; margin-bottom: 8px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 9px 16px;
  font-weight: 700; font-size: 13.5px; white-space: nowrap; transition: all .25s ease;
}
.chip:hover { border-color: var(--soft); }
.chip.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- Booking / payment flow ---------- */
.flow-page { background: var(--bg); min-height: calc(100vh - var(--header)); padding: 36px 0 88px; }
.flow { width: min(720px, calc(100% - 32px)); margin: 0 auto; }
.flow-title { font-size: 30px; letter-spacing: -0.022em; margin-bottom: 18px; }
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 22px; }
.step { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--soft); font-size: 12.5px; font-weight: 700; text-align: center; }
.step::before {
  content: ""; position: absolute; top: 15px; left: calc(-50% + 22px); right: calc(50% + 22px); height: 2px; border-radius: 2px;
  background: var(--line);
}
.step:first-child::before { display: none; }
.step.is-done::before, .step.is-on::before { background: var(--ink); }
.step em {
  position: relative; z-index: 1; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-style: normal;
  background: #fff; border: 2px solid var(--line); font-size: 13px; font-family: var(--display); color: var(--soft);
  transition: all .4s var(--ease);
}
.step.is-on { color: var(--ink); }
.step.is-on em { background: var(--amber); border-color: var(--amber); color: var(--amber-ink); box-shadow: 0 0 0 6px rgba(244, 168, 29, .18); }
.step.is-done { color: var(--text); }
.step.is-done em { background: var(--ink); border-color: var(--ink); color: #fff; }

.sum-card { padding: 24px; box-shadow: var(--sh-1); }
.vehicle-row { display: grid; grid-template-columns: 132px 1fr auto; gap: 16px; align-items: center; padding: 6px; border-radius: 16px; background: var(--bg); }
.vehicle-row img { width: 132px; height: 92px; object-fit: cover; border-radius: 12px; background: var(--line); }
.vehicle-row h2 { font-size: 19px !important; }
.kicker { color: var(--muted); font-size: 13px; font-weight: 700; margin-bottom: 12px; }
.block { margin-top: 26px; }
.block h3 { font-size: 16.5px; margin-bottom: 12px; }
.kv { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line-2); font-size: 14.5px; }
.kv > span { color: var(--muted); }
.kv b { text-align: right; font-weight: 700; }
.kv small { color: var(--muted); font-weight: 500; }
.addon {
  display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 14px 16px; margin-bottom: 8px;
  border: 1.5px solid var(--line); border-radius: 14px; cursor: pointer; transition: border-color .25s ease, background-color .25s ease;
}
.addon:hover { border-color: #c5cdd9; }
.addon:has(input:checked) { border-color: var(--ink); background: #fafbfc; }
.addon small { display: block; color: var(--muted); font-weight: 500; font-size: 13px; margin-top: 2px; }
/* Toggle switch for add-ons */
.addon input[type="checkbox"] {
  width: 42px; height: 24px; border-radius: 999px; border: 0; background: #d6dce5; position: relative;
}
.addon input[type="checkbox"]::after {
  content: ""; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .2); transition: transform .35s var(--ease);
}
.addon input[type="checkbox"]:checked { background: var(--ink); }
.addon input[type="checkbox"]:checked::after { transform: translateX(18px); }

.total-row {
  display: flex; justify-content: space-between; align-items: center; margin: 18px 0; padding: 16px 18px;
  border-radius: 14px; background: var(--ink); color: #fff;
}
.total-row span { color: #b9c6d9; font-weight: 600; }
.total-row strong { font-family: var(--display); font-size: 26px; letter-spacing: -0.015em; font-weight: 600; }
.note {
  display: flex; gap: 12px; background: var(--amber-soft); border: 1px solid #f6dfae; color: #6b4c0f;
  border-radius: 14px; padding: 14px 16px; font-size: 14px; line-height: 1.55;
}
.success-banner { text-align: center; padding: 10px 8px 22px; }
.success-banner h2 { font-size: 26px; }
.check-orb {
  width: 84px; height: 84px; border-radius: 50%; margin: 6px auto 16px; background: var(--green-soft); color: var(--green);
  display: grid; place-items: center; position: relative;
}
.check-orb::before { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid var(--green-soft); animation: ring 2s var(--ease) infinite; }
.check-orb path { stroke-dasharray: 24; stroke-dashoffset: 24; animation: draw .7s var(--ease) .3s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes ring { from { transform: scale(.9); opacity: 1; } to { transform: scale(1.25); opacity: 0; } }
.pay-option {
  display: flex; align-items: center; gap: 12px; border: 1.5px solid var(--line); border-radius: 14px; padding: 15px 16px; margin-bottom: 10px;
  font-weight: 700; cursor: pointer; transition: border-color .25s ease, background-color .25s ease;
}
.pay-option:hover { border-color: #c5cdd9; }
.pay-option.is-on { border-color: var(--ink); background: #fafbfc; }
.promo { display: flex; gap: 8px; }
.promo input, .field input, .field select, .field textarea {
  width: 100%; border: 1.5px solid var(--line); border-radius: 12px; padding: 0 14px; height: 48px; background: #fff;
  font-weight: 600; font-size: 15px; outline: none; transition: border-color .2s ease, box-shadow .2s ease;
}
.field select { -webkit-appearance: none; appearance: none; padding-right: 38px; cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235d6a7e' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center;
}
.field input[type="file"] { height: auto; padding: 12px; border-style: dashed; background: var(--bg); font-size: 14px; cursor: pointer; }
.field input[type="file"]::file-selector-button {
  border: 0; background: var(--ink); color: #fff; border-radius: 9px; padding: 8px 14px; margin-right: 12px; font-weight: 700; cursor: pointer;
}
.promo input:hover, .field input:hover, .field select:hover, .field textarea:hover { border-color: #c5cdd9; }
.promo input:focus, .field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(15, 27, 45, .08); }
.field textarea { min-height: 120px; padding: 12px 14px; resize: vertical; height: auto; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 14px; }
.field > span { font-size: 13.5px; font-weight: 700; color: var(--text); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.help { color: var(--muted); font-size: 13.5px; }
.error { color: var(--red); font-size: 13.5px; font-weight: 700; margin-top: 8px; }
.error:empty { display: none; }
.ok { color: var(--green); font-weight: 700; }
.workflow { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 20px; }
.workflow span { background: #fff; border: 1.5px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: 12.5px; font-weight: 700; color: var(--muted); }
.workflow span.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- Inner pages ---------- */
.page { background: var(--bg); padding: 28px 0 88px; min-height: 60vh; }
main.page .page-title {
  position: relative; overflow: hidden; background: var(--ink); color: #fff; border-radius: var(--r-xl);
  padding: 48px 48px 52px; margin-bottom: 24px;
}
main.page .page-title::before {
  content: ""; position: absolute; right: -80px; top: -140px; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(244, 168, 29, .22), transparent 65%);
}
main.page .page-title::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  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: 44px 44px; -webkit-mask-image: linear-gradient(90deg, transparent, #000); mask-image: linear-gradient(90deg, transparent, #000);
}
main.page .page-title > * { position: relative; z-index: 1; }
.page-title h1 { font-size: clamp(30px, 4vw, 46px); letter-spacing: -0.015em; }
main.page .page-title p { color: #b9c6d9; margin-top: 12px; max-width: 680px; font-size: 16px; line-height: 1.6; }
.page-title p { color: var(--muted); margin-top: 6px; max-width: 680px; }
.prose { display: grid; gap: 16px; }
.card { padding: 26px 26px 14px; }
.card h2 { font-size: 21px; margin-bottom: 12px; }
.card h3 { font-size: 17px; margin-bottom: 8px; }
.card p, .card li { color: #3d4a61; line-height: 1.65; font-size: 15px; }
.card p { margin-bottom: 12px; }
.card ul, .card ol { margin: 0 0 14px; padding-left: 0; list-style: none; counter-reset: li; }
.card li { position: relative; padding: 6px 0 6px 28px; }
.card ul li::before { content: ""; position: absolute; left: 4px; top: 15px; width: 8px; height: 8px; border-radius: 3px; background: var(--amber); }
.card ol li { counter-increment: li; }
.card ol li::before {
  content: counter(li); position: absolute; left: 0; top: 7px; width: 20px; height: 20px; border-radius: 6px;
  background: var(--ink); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; font-family: var(--display);
}
.lang-switch { display: inline-flex; gap: 4px; margin-bottom: 18px; padding: 4px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.lang-switch .btn { min-height: 40px; box-shadow: none; border-radius: 10px; }
.lang-switch .btn:hover { transform: none; box-shadow: none; background: var(--bg); }
.lang-switch button.is-on, .lang-switch button.is-on:hover { background: var(--ink); color: #fff; }
.panel-te { font-family: var(--telugu); }
.panel-hi { font-family: var(--hindi); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.split.wide-left { grid-template-columns: 1.4fr 1fr; }
.sticky-aside { position: sticky; top: calc(var(--header) + 16px); }
.fr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fr-grid .card { padding: 20px 20px 8px; margin: 0; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.fr-grid .card:hover { transform: translateY(-3px); box-shadow: var(--sh-2); }
.fr-grid .card h3 { font-size: 15.5px; }
.fr-grid .card p { font-size: 14px; }

.contact-list { display: grid; gap: 10px; margin-bottom: 14px; }
.contact-item { display: flex; gap: 14px; align-items: center; padding: 14px; border-radius: 14px; background: var(--bg); transition: background-color .25s ease; }
a.contact-item:hover { background: var(--line-2); }
.contact-item i { width: 42px; height: 42px; border-radius: 12px; background: var(--ink); color: var(--amber); display: grid; place-items: center; flex: none; }
.contact-item small { display: block; color: var(--muted); font-size: 12.5px; font-weight: 600; }
.contact-item b { font-size: 15px; }

/* Stats */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 18px; }
.stat {
  position: relative; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px 20px 18px;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.stat:hover { transform: translateY(-3px); box-shadow: var(--sh-2); }
.stat::before {
  content: ""; position: absolute; left: 20px; top: 20px; width: 10px; height: 10px; border-radius: 3px; background: var(--amber);
}
.stat:nth-child(4n+2)::before { background: var(--blue); }
.stat:nth-child(4n+3)::before { background: var(--green); }
.stat:nth-child(4n+4)::before { background: var(--ink); }
.stat::after {
  content: ""; position: absolute; right: -30px; bottom: -30px; width: 110px; height: 110px; border-radius: 50%;
  background: radial-gradient(circle, rgba(15, 27, 45, .045), transparent 70%);
}
.stat span { display: block; padding-left: 20px; color: var(--muted); font-size: 13px; font-weight: 700; line-height: 10px; }
.stat strong { display: block; margin-top: 16px; font-family: var(--display); font-weight: 600; font-size: 28px; letter-spacing: -0.028em; color: var(--ink); }

.price-input, .mini-input {
  width: 120px; border: 1.5px solid var(--line); border-radius: 10px; padding: 0 12px; height: 40px; font-weight: 700; background: #fff; outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.price-input:focus { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(15, 27, 45, .08); }

/* Tables */
.card:has(> table), .card[style*="overflow"] { padding: 6px; }
table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 14px; }
th, td { text-align: left; padding: 14px 14px; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
th {
  font-size: 12.5px; color: var(--muted); font-weight: 700; background: var(--bg); white-space: nowrap;
  position: sticky; top: 0;
}
thead th:first-child { border-top-left-radius: 14px; }
thead th:last-child { border-top-right-radius: 14px; }
tbody tr { transition: background-color .2s ease; }
tbody tr:hover { background: #fafbfd; }
tbody tr:last-child td { border-bottom: 0; }
td small { color: var(--muted); }
.pill {
  display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 5px 10px; font-size: 12px; font-weight: 700;
  background: var(--bg); color: var(--muted); white-space: nowrap;
}
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill.ok { background: var(--green-soft); color: var(--green); }
.pill.wait { background: var(--amber-soft); color: #9a6205; }
.pill.bad { background: var(--red-soft); color: var(--red); }
.pill.run { background: var(--blue-soft); color: var(--blue); }

/* Service select (app) */
.service-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.service-card {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  border: 1.5px solid var(--line); background: #fff; border-radius: var(--r-lg); padding: 24px 12px; text-align: center; font-weight: 700; font-size: 14.5px;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s ease;
}
.service-card:hover { transform: translateY(-3px); box-shadow: var(--sh-2); }
.service-card i { width: 56px; height: 56px; border-radius: 16px; background: var(--bg); display: grid; place-items: center; color: var(--ink); transition: all .35s ease; }
.service-card.is-on { border-color: var(--ink); }
.service-card.is-on i, .service-card:hover i { background: var(--ink); color: var(--amber); }

/* ---------- Login ---------- */
.login-wrap { min-height: calc(100vh - var(--header)); display: grid; grid-template-columns: 1.05fr .95fr; background: var(--bg); }
.login-art {
  position: relative; overflow: hidden; color: #fff; padding: 56px; display: flex; flex-direction: column; justify-content: flex-end;
  background: var(--ink);
}
.login-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .6; }
.login-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 27, 45, .1) 20%, rgba(15, 27, 45, .92)); }
.login-art > * { position: relative; z-index: 1; }
.login-art p { color: #c3cfdf; font-weight: 600; font-size: 15px; }
.login-art h1 { font-size: clamp(34px, 4vw, 54px); letter-spacing: -0.028em; margin-top: 8px; }
.login-points { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.login-points span {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; font-size: 13px; font-weight: 600;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .14); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.login-points svg { color: var(--amber); }
.login-box { display: grid; place-items: center; padding: 40px 24px; }
.login-card { width: min(440px, 100%); background: #fff; border-radius: var(--r-xl); padding: 34px 32px; border: 1px solid var(--line); box-shadow: var(--sh-2); }
.login-card .lc-mark { margin-bottom: 22px; }
.login-card h2 { font-size: 26px; letter-spacing: -0.022em; }
.login-card > .help { margin: 8px 0 22px; line-height: 1.55; }
.phone-field { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: 12px; height: 52px; overflow: hidden; transition: border-color .2s ease, box-shadow .2s ease; }
.phone-field:focus-within { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(15, 27, 45, .08); }
.phone-field b { padding: 0 12px 0 14px; color: var(--muted); border-right: 1.5px solid var(--line); height: 100%; display: grid; place-items: center; font-weight: 700; }
.phone-field input { border: 0 !important; box-shadow: none !important; height: 100% !important; letter-spacing: .04em; font-size: 16px !important; }
#otp { letter-spacing: .5em; font-size: 18px; text-align: center; font-family: var(--display); }
#otp-box:not([hidden]) { animation: slide-down .5s var(--ease) both; }
@keyframes slide-down { from { opacity: 0; transform: translateY(-8px); } }
.demo { margin-top: 22px; border-top: 1px solid var(--line-2); padding-top: 14px; }
.demo summary { cursor: pointer; font-size: 13.5px; font-weight: 700; color: var(--muted); list-style: none; display: flex; justify-content: space-between; align-items: center; }
.demo summary::-webkit-details-marker { display: none; }
.demo summary svg { transition: transform .3s var(--ease); }
.demo[open] summary svg { transform: rotate(180deg); }
.demo-table { width: 100%; font-size: 13px; margin-top: 10px; }
.demo-table td { border: 0; padding: 5px 0; color: var(--muted); font-weight: 600; }
.demo-table td:first-child { color: var(--text); font-family: var(--display); font-weight: 500; }
.demo-table tr:hover { background: none; }

/* ---------- Profile ---------- */
.profile-head {
  position: relative; overflow: hidden; display: flex; align-items: center; gap: 18px; background: var(--ink); color: #fff;
  border-radius: var(--r-xl); padding: 30px;
}
.profile-head::before { content: ""; position: absolute; right: -100px; top: -100px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(244, 168, 29, .25), transparent 65%); }
.profile-head .avatar { width: 64px; height: 64px; font-size: 24px; background: var(--amber); color: var(--amber-ink); position: relative; }
.profile-head h1 { font-size: 26px; position: relative; }
.profile-head p { color: #b9c6d9; margin-top: 4px; position: relative; }
.role-tag { display: inline-flex; margin-top: 10px; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .1); font-size: 12px; font-weight: 700; text-transform: capitalize; position: relative; }
.menu-list { margin-top: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.menu-item {
  display: flex; align-items: center; gap: 14px; width: 100%; padding: 16px 18px; border: 0; background: none; text-align: left;
  font-weight: 700; font-size: 15px; border-bottom: 1px solid var(--line-2); transition: background-color .2s ease;
}
.menu-item:last-child { border-bottom: 0; }
.menu-item:hover { background: #fafbfd; }
.menu-item i { width: 40px; height: 40px; border-radius: 12px; background: var(--bg); display: grid; place-items: center; color: var(--ink); flex: none; }
.menu-item span { flex: 1; }
.menu-item small { display: block; font-weight: 500; color: var(--muted); font-size: 13px; margin-top: 1px; }
.menu-item .chev { color: var(--soft); transition: transform .3s var(--ease); }
.menu-item:hover .chev { transform: translateX(3px); }
.menu-item.danger { color: var(--red); }
.menu-item.danger i { background: var(--red-soft); color: var(--red); }

/* ---------- Dashboard ---------- */
body[data-page="dashboard"] .site-header, body[data-page="dashboard"] .site-footer { display: none; }
.dash-shell { display: grid; grid-template-columns: 264px minmax(0, 1fr); min-height: 100vh; background: var(--bg); }
.dash-shell > div { min-width: 0; }
.dash-side {
  position: sticky; top: 0; height: 100vh; overflow: auto; background: var(--ink); color: #fff; padding: 22px 16px;
  display: flex; flex-direction: column; gap: 4px;
}
.dash-side .side-brand { padding: 4px 8px 22px; }
.side-user {
  display: flex; align-items: center; gap: 12px; padding: 12px; margin-bottom: 18px; border-radius: 14px;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .07);
}
.side-user .avatar { width: 38px; height: 38px; background: var(--amber); color: var(--amber-ink); font-size: 14px; }
.side-user b { display: block; font-size: 14px; line-height: 1.25; }
.side-user small { display: block; font-size: 12px; color: #9fb0c8; text-transform: capitalize; }
.side-label { font-size: 11.5px; color: #6f819d; font-weight: 700; padding: 8px 12px 6px; }
.dash-side button {
  position: relative; display: flex; align-items: center; gap: 12px; width: 100%; text-align: left;
  background: transparent; color: #a9b8cd; border: 0; border-radius: 12px; padding: 11px 12px; font-weight: 600; font-size: 14.5px;
  transition: background-color .25s ease, color .25s ease;
}
.dash-side button svg { flex: none; opacity: .85; }
.dash-side button:hover { background: rgba(255, 255, 255, .05); color: #fff; }
.dash-side button.is-on { background: rgba(255, 255, 255, .09); color: #fff; }
.dash-side button.is-on::before { content: ""; position: absolute; left: -16px; top: 10px; bottom: 10px; width: 3px; border-radius: 0 3px 3px 0; background: var(--amber); }
.dash-side button.is-on svg { color: var(--amber); opacity: 1; }
.side-foot { margin-top: auto; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .07); display: grid; gap: 2px; }
.dash-main { padding: 28px 36px 60px; min-width: 0; }
.dash-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.dash-top .hello small { display: block; color: var(--muted); font-size: 13.5px; font-weight: 600; }
.dash-top .hello b { font-family: var(--display); font-size: 15px; font-weight: 600; }
.dash-top-actions { display: flex; gap: 8px; align-items: center; }
.dash-top .btn { min-height: 40px; padding: 0 14px; font-size: 13.5px; }
.dash-main .page-title { margin-bottom: 20px; }
.dash-main .page-title h1 { font-size: clamp(26px, 3vw, 34px); }
.dash-main .page-title p { font-size: 15px; }
.dash-main .card { margin-bottom: 0; }
.dash-main .card + .card, .dash-main .card[style*="margin-top"] { margin-top: 16px !important; }
.dash-main > div > .card h3 { font-size: 17px; margin-bottom: 10px; }
.dash-main .card > .card { border: 0; padding: 0; box-shadow: none; }
.row-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.row-actions .btn { min-height: 36px; padding: 0 14px; font-size: 13px; border-radius: 10px; }
.dash-mobile-bar { display: none; }

/* ---------- Mobile tab bar ---------- */
.tabbar {
  display: none; position: fixed; left: 12px; right: 12px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 60;
  background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px);
  border: 1px solid var(--line); border-radius: 22px; padding: 6px;
  box-shadow: 0 16px 40px -14px rgba(15, 27, 45, .35);
  justify-content: space-between;
}
.tabbar a {
  position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 8px 4px 7px;
  font-size: 11px; font-weight: 700; color: #7b889c; border-radius: 16px; transition: color .25s ease;
}
.tabbar a svg { width: 22px; height: 22px; transition: transform .4s var(--ease); }
.tabbar a.is-on { color: var(--ink); background: var(--bg); }
.tabbar a.is-on svg { transform: translateY(-1px); color: var(--ink); }
.tabbar a.is-on::after { content: ""; position: absolute; top: 5px; right: calc(50% - 16px); width: 6px; height: 6px; border-radius: 50%; background: var(--amber); }
.tabbar a:active svg { transform: scale(.88); }

/* Toast */
.toast {
  position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%); background: var(--ink); color: #fff;
  display: flex; align-items: center; gap: 10px;
  padding: 13px 18px; border-radius: 14px; z-index: 300; font-weight: 600; font-size: 14px; box-shadow: var(--sh-3);
  max-width: min(520px, calc(100% - 24px)); animation: toast-in .5s var(--ease) both, toast-out .4s var(--ease-io) 2.8s both;
}
.toast::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); flex: none; }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, 16px) scale(.96); } }
@keyframes toast-out { to { opacity: 0; transform: translate(-50%, 10px); } }

.empty { padding: 40px 20px !important; text-align: center; color: var(--muted); display: grid; justify-items: center; gap: 14px; }
.empty .btn { margin-top: 4px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1140px) {
  .cat-grid { grid-template-columns: repeat(5, 1fr); }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .hero-float { left: 16px; }
  .v-card { grid-template-columns: 220px 1fr auto; }
  .nav { margin-left: 4px; }
  .nav a { padding: 9px 10px; }
}

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; padding: 48px 0 64px; }
  .hero-media .frame { aspect-ratio: 16 / 10; }
  .layout { grid-template-columns: minmax(0, 1fr); }
  .filters {
    display: none; position: fixed; z-index: 95; left: 0; right: 0; bottom: 0; top: auto; max-height: 86vh; overflow: auto;
    border-radius: 26px 26px 0 0; padding: 10px 20px calc(20px + env(safe-area-inset-bottom)); box-shadow: 0 -20px 60px -10px rgba(15, 27, 45, .35);
  }
  .filters::before { content: ""; display: block; width: 44px; height: 5px; border-radius: 3px; background: var(--line); margin: 0 auto 14px; }
  .filters.is-open { display: block; animation: sheet-in .45s var(--ease) both; }
  .sheet-x { display: grid; }
  .chips { display: flex; }
  #open-filters { display: inline-flex; }
  .split, .split.wide-left, .login-wrap, .app-promo { grid-template-columns: 1fr; }
  .sticky-aside { position: static; }
  .app-promo { padding: 44px 36px 0; }
  .app-promo > div:first-child { padding-bottom: 0; }
  .login-art { min-height: 300px; padding: 36px; }
  .dash-shell { grid-template-columns: minmax(0, 1fr); }
  .dash-side { display: none; }
  .dash-mobile-bar {
    display: block; position: sticky; top: 0; z-index: 40; background: var(--ink); color: #fff;
    padding: calc(10px + env(safe-area-inset-top)) 16px 0;
  }
  .dmb-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 12px; }
  .dmb-row .icon-btn { width: 40px; height: 40px; border-radius: 12px; border: 0; background: rgba(255, 255, 255, .08); color: #fff; display: grid; place-items: center; }
  .dmb-tabs { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 12px; scrollbar-width: none; }
  .dmb-tabs::-webkit-scrollbar { display: none; }
  .dmb-tabs button {
    display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; border: 0; border-radius: 12px; padding: 9px 14px;
    background: rgba(255, 255, 255, .06); color: #b7c3d6; font-weight: 700; font-size: 13.5px; transition: all .25s ease;
  }
  .dmb-tabs button.is-on { background: var(--amber); color: var(--amber-ink); }
  .dash-main { padding: 20px 16px 48px; }
  .dash-top { display: none; }
}
@keyframes sheet-in { from { transform: translateY(100%); } }

@media (max-width: 760px) {
  :root { --header: 62px; }
  body { font-size: 15px; }
  .container { width: calc(100% - 32px); }
  .nav, .link-login, .header-actions .btn { display: none; }
  .nav-toggle { display: grid; }
  .wordmark small { display: none; }
  .wordmark b { font-size: 21px; }
  .logo-mark { width: 34px; height: 34px; }

  .show-desk { display: none !important; }
  .hero-grid { padding: 26px 0 30px; gap: 0; }
  .hero h1 { font-size: 36px; margin-top: 16px; }
  .hero p.lead { font-size: 15px; margin-top: 10px; }
  .hero-media { display: none; }
  .hero-proof { display: none; }
  .search-card, .search-card.wide { flex-direction: column; padding: 8px; border-radius: 20px; gap: 0; margin-top: 22px; }
  .search-card .sfield { padding: 12px 10px; }
  .sdiv { width: auto; height: 1px; margin: 0 10px; }
  .search-card .btn { width: 100%; margin-top: 6px; }
  .search-card.wide { display: grid; grid-template-columns: 1fr 1fr; }
  .search-card.wide > * { grid-column: 1 / -1; }
  .search-card.wide > :nth-child(5), .search-card.wide > :nth-child(7) { grid-column: auto; }
  .search-card.wide > :nth-child(6) { display: none; }
  .search-card.wide > :nth-child(5) .sicon, .search-card.wide > :nth-child(7) .sicon { display: none; }
  .search-card.wide > :nth-child(7) { border-left: 1px solid var(--line); border-radius: 0 14px 14px 0; }
  .search-card.wide input[type="date"] { font-size: 14px; }

  .section { padding: 44px 0; }
  .section.tight { padding-top: 28px; }
  .section-head { margin-bottom: 18px; }
  .section-head p { font-size: 14.5px; }

  .cat-grid { grid-template-columns: repeat(4, 1fr); gap: 10px 8px; }
  .cat { border: 0; background: none; padding: 0; gap: 8px; font-size: 11.5px; }
  .cat:hover { transform: none; box-shadow: none; }
  .cat i { width: 100%; height: auto; aspect-ratio: 1; max-width: 72px; border-radius: 20px; background: #fff; border: 1px solid var(--line); }
  .cat.more { display: flex; }
  .cat-grid .extra-cat { display: none; }
  .cat-grid.is-open .extra-cat { display: flex; }
  .cat-grid.is-open .cat.more { display: none; }

  .promo-strip { min-height: 200px; border-radius: 24px; }
  .promo-strip > div { padding: 26px 22px; }
  .promo-strip::before { background: linear-gradient(180deg, rgba(10, 18, 34, .35), rgba(10, 18, 34, .9)); }
  .promo-strip { align-items: flex-end; }

  .popular-grid {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 16px; gap: 12px; margin: 0 -16px; padding: 4px 16px 10px;
    scrollbar-width: none;
  }
  .popular-grid::-webkit-scrollbar { display: none; }
  .pop-card { flex: 0 0 72%; scroll-snap-align: start; }
  .pop-card:hover { transform: none; }

  .why-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .why-card { padding: 18px 16px; }
  .why-card h3 { font-size: 15px; margin-top: 14px; }
  .why-card p { font-size: 13px; }
  .app-band { padding-bottom: 44px; }
  .app-promo { padding: 32px 24px 0; border-radius: 24px; gap: 24px; }
  .phone { width: 200px; height: 300px; }

  .page-hero { min-height: 190px; }
  .page-hero .container { padding: 28px 0 60px; }
  .page-hero p { font-size: 14.5px; }
  .crumbs { display: none; }
  .search-overlap { margin-top: -36px; }
  .results-head { flex-wrap: wrap; row-gap: 10px; }
  .results-head h2 { font-size: 17px; flex: 1 1 100%; }
  .results-tools { width: 100%; }
  .results-tools .sort-wrap { flex: 1; }
  .results-tools select { width: 100%; }
  .results-head select { height: 40px; font-size: 13px; padding: 0 30px 0 12px; }
  #open-filters { min-height: 40px; padding: 0 14px; }

  .v-card { grid-template-columns: 1fr; gap: 0; padding: 0; overflow: hidden; }
  .v-card:hover { transform: none; }
  .v-media { height: 190px; border-radius: 0; }
  .v-card > div:nth-child(2) { padding: 16px 16px 0; }
  .v-side { flex-direction: row; align-items: center; justify-content: space-between; text-align: left; padding: 14px 16px 16px; min-width: 0; }
  .v-side .btn { margin-top: 0 !important; }
  .v-card .specs { margin-top: 12px; }

  .flow-page { padding: 20px 0 48px; }
  .flow { width: calc(100% - 32px); }
  .sum-card { padding: 18px; border-radius: 20px; }
  .steps span { font-size: 11px; }
  .vehicle-row { grid-template-columns: 96px 1fr; }
  .vehicle-row img { width: 96px; height: 72px; }
  .vehicle-row .price { grid-column: 1 / -1; padding: 4px 6px 6px; }
  .grid-2 { grid-template-columns: 1fr; }
  .total-row strong { font-size: 22px; }

  main.page .page-title { padding: 30px 22px 32px; border-radius: 24px; margin-bottom: 16px; }
  main.page .page-title p { font-size: 14.5px; }
  .page { padding: 16px 0 48px; }
  .card { padding: 20px 18px 8px; }
  .fr-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat { padding: 16px; }
  .stat::before { left: 16px; top: 16px; }
  .stat span { padding-left: 18px; font-size: 12px; }
  .stat strong { font-size: 22px; margin-top: 14px; }
  table { font-size: 13px; }
  th, td { padding: 12px 10px; }

  .login-wrap { min-height: 0; }
  .login-art { min-height: 240px; padding: 26px 22px 58px; }
  .login-art h1 { font-size: 32px; }
  .login-points { display: none; }
  .login-box { padding: 0 16px 32px; margin-top: -28px; position: relative; z-index: 2; }
  .login-card { padding: 26px 20px; border-radius: 24px; }

  .site-footer { padding: 48px 0 24px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .foot-about { grid-column: 1 / -1; }
  .copyright { flex-direction: column; margin-top: 36px; }

  /* App shell: floating bottom tab bar; footer only on content pages */
  body.has-tabbar { padding-bottom: calc(92px + env(safe-area-inset-bottom)); }
  body.has-tabbar .tabbar { display: flex; }
  body.app-shell .site-footer { display: none; }
  body.has-tabbar .toast { bottom: calc(100px + env(safe-area-inset-bottom)); }
  .show-mob { display: block; }
  .profile-head { padding: 24px 20px; border-radius: 24px; }
}

@media (max-width: 380px) {
  .hero h1 { font-size: 32px; }
  .cat { font-size: 10.5px; }
  .stat strong { font-size: 19px; }
}

@media (hover: none) {
  .btn:hover { transform: none; }
  .btn::after { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .motion [data-reveal] { opacity: 1; transform: none; }
}

/* Small refinements */
.vehicle-row .specs > span:not(.pill) { background: #fff; }
.card form + .help, .card form + .ok, .card .btn + .help { margin-top: 14px; }
.card > form { padding-bottom: 10px; }
.card .kv:last-of-type { border-bottom: 0; }

/* Table action cells stay real table cells so rows line up */
td.row-actions { display: table-cell; white-space: nowrap; }
td.row-actions .btn + .btn { margin-left: 8px; }
.card[style*="overflow"] table, .card:has(> table) table { min-width: 640px; }
.card[style*="overflow"], .card:has(> table) { -webkit-overflow-scrolling: touch; }
.card:has(> table) { overflow-x: auto; }
@media (max-width: 760px) {
  .dash-main td, .page td { white-space: nowrap; }
  .dash-main td small { white-space: normal; }
}

/* ==========================================================================
   v3 — Home sections, section motion, full-width booking flow
   ========================================================================== */

/* ---------- Extra reveal types ---------- */
/* The wrapper is observed; its child is clipped. (A fully clipped element never counts as on-screen.) */
.motion [data-reveal="wipe"] { opacity: 1; transform: none; }
.motion [data-reveal="wipe"] > * { clip-path: inset(0 100% 0 0 round var(--r-xl)); transition: clip-path 1.1s var(--ease-io) .1s; }
.motion [data-reveal="wipe"].is-in > * { clip-path: inset(0 0 0 0 round var(--r-xl)); }
.motion [data-reveal="pop"] { transform: translate3d(0, 14px, 0) scale(.92); transition-delay: calc(var(--d, 0) * 55ms); }
.motion [data-reveal="rise"] { transform: translate3d(0, 70px, 0); transition-duration: .9s, 1.2s; transition-delay: .25s; }
.motion [data-reveal="track"] { opacity: 1; transform: none; }

/* ---------- Stats band (continues the hero) ---------- */
.stats-band { background: var(--ink); color: #fff; border-top: 1px solid rgba(255, 255, 255, .07); }
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-item { padding: 28px 24px 30px; border-left: 1px solid rgba(255, 255, 255, .07); }
.stat-item:first-child { border-left: 0; padding-left: 0; }
.stat-item strong {
  display: block; font-family: var(--display); font-weight: 600; font-size: clamp(30px, 3.4vw, 42px);
  letter-spacing: -0.028em; line-height: 1; color: #fff; font-variant-numeric: tabular-nums;
}
.stat-item strong span { color: var(--amber); }
.stat-item > span { display: block; margin-top: 10px; color: #9fb0c8; font-size: 14px; line-height: 1.45; max-width: 220px; }

/* ---------- How it works ---------- */
.how { background: var(--bg); }
.how-track {
  position: relative; list-style: none; margin: 8px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px;
}
.how-track::before, .how-track::after {
  content: ""; position: absolute; top: 23px; left: 24px; right: calc(25% - 4px); height: 3px; border-radius: 3px;
}
.how-track::before { background: var(--line); }
.how-track::after {
  background: repeating-linear-gradient(90deg, var(--amber) 0 14px, transparent 14px 22px);
  transform-origin: left; transform: scaleX(1);
}
.motion .how-track::after { transform: scaleX(0); transition: transform 1.8s var(--ease-io) .2s; }
.motion .how-track.is-in::after { transform: scaleX(1); }
.how-step { position: relative; z-index: 1; }
.how-dot {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--display); font-weight: 600; font-size: 17px;
  background: var(--ink); color: var(--amber); border: 4px solid var(--bg);
  box-shadow: 0 0 0 1.5px var(--ink);
}
.how-step h3 { font-size: 18px; margin-top: 20px; }
.how-step p { color: var(--muted); font-size: 14.5px; margin-top: 8px; line-height: 1.6; max-width: 260px; }
.motion .how-step .how-dot { background: #fff; color: var(--soft); box-shadow: 0 0 0 1.5px var(--line); transform: scale(.8);
  transition: background-color .4s ease, color .4s ease, box-shadow .4s ease, transform .6s var(--ease); transition-delay: calc(var(--i) * 420ms + 250ms); }
.motion .how-step h3, .motion .how-step p { opacity: 0; transform: translateY(12px);
  transition: opacity .6s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i) * 420ms + 350ms); }
.motion .how-track.is-in .how-dot { background: var(--ink); color: var(--amber); box-shadow: 0 0 0 1.5px var(--ink); transform: none; }
.motion .how-track.is-in h3, .motion .how-track.is-in p { opacity: 1; transform: none; }

/* ---------- Promo spacing (now its own band) ---------- */
.promo-wrap { padding-top: 80px; }

/* ---------- Fleet explorer ---------- */
.fleet { background: var(--bg); }
.fleet-tabs {
  position: relative; display: inline-flex; gap: 4px; padding: 5px; margin-bottom: 22px; max-width: 100%;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow-x: auto; scrollbar-width: none;
}
.fleet-tabs::-webkit-scrollbar { display: none; }
.fleet-tab {
  position: relative; z-index: 1; border: 0; background: none; border-radius: 12px; padding: 10px 18px;
  font-weight: 700; font-size: 14px; color: var(--muted); white-space: nowrap; transition: color .35s ease;
}
.fleet-tab:hover { color: var(--ink); }
.fleet-tab.is-on { color: #fff; }
.fleet-ink {
  position: absolute; z-index: 0; left: 0; top: 5px; bottom: 5px; width: 0; border-radius: 12px; background: var(--ink);
  transition: transform .5s var(--ease), width .5s var(--ease);
}
.fleet-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.fleet-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s ease;
}
.fleet-card:hover { transform: translateY(-5px); box-shadow: var(--sh-3); border-color: transparent; }
.fc-media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--line-2); }
.fc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.fleet-card:hover .fc-media img { transform: scale(1.06); }
.fc-body { padding: 16px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.fc-body h3 { font-size: 16.5px; letter-spacing: -0.02em; }
.fc-foot { margin-top: auto; padding-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.fc-foot .price { font-size: 21px; }
.fc-book { min-height: 38px; padding: 0 16px; font-size: 13.5px; border-radius: 10px; }
.fleet-grid.is-swapped .fleet-card { animation: fleet-in .6s var(--ease) both; animation-delay: calc(var(--i) * 70ms); }
@keyframes fleet-in { from { opacity: 0; transform: translateY(18px) scale(.97); } }

/* ---------- Cities ---------- */
.city-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; grid-auto-rows: minmax(150px, auto); gap: 14px; }
.city-tile {
  position: relative; overflow: hidden; isolation: isolate; text-align: left; border: 1px solid var(--line); background: #fff;
  border-radius: var(--r-lg); padding: 20px; display: flex; flex-direction: column; justify-content: space-between; gap: 18px;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s ease;
}
.city-tile:hover { transform: translateY(-4px); box-shadow: var(--sh-2); border-color: transparent; }
.ct-pin { width: 40px; height: 40px; border-radius: 12px; background: var(--amber-soft); color: #b36b00; display: grid; place-items: center; }
.ct-text strong { display: block; font-family: var(--display); font-size: 19px; font-weight: 600; letter-spacing: -0.018em; color: var(--ink); }
.ct-text small { display: block; margin-top: 3px; font-size: 13px; font-weight: 700; color: var(--text); }
.ct-text em { display: block; margin-top: 6px; font-style: normal; font-size: 13px; color: var(--muted); line-height: 1.5; }
.ct-go {
  position: absolute; right: 18px; top: 20px; width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center;
  background: var(--bg); color: var(--ink); transition: background-color .3s ease, transform .45s var(--ease);
}
.city-tile:hover .ct-go { background: var(--amber); color: var(--amber-ink); transform: rotate(-45deg); }
.city-tile.is-feature { grid-row: span 2; background: var(--ink); border-color: var(--ink); color: #fff; justify-content: flex-end; min-height: 320px; }
.city-tile.is-feature img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; opacity: .55; transition: transform 1.2s var(--ease); }
.city-tile.is-feature::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(15, 27, 45, .15), rgba(15, 27, 45, .92)); }
.city-tile.is-feature:hover img { transform: scale(1.05); }
.city-tile.is-feature .ct-pin { position: absolute; left: 20px; top: 20px; background: var(--amber); color: var(--amber-ink); }
.city-tile.is-feature strong { color: #fff; font-size: 28px; }
.city-tile.is-feature small { color: #fff; }
.city-tile.is-feature em { color: #c3cfdf; }
.city-tile.is-feature .ct-go { background: rgba(255, 255, 255, .12); color: #fff; }

/* ---------- Reviews marquee ---------- */
.reviews { overflow: hidden; background: var(--bg); }
.marquee {
  overflow: hidden; padding: 6px 0 4px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 60s linear infinite; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
.mg { display: flex; gap: 18px; padding-right: 18px; }
@keyframes marquee { to { transform: translate3d(-50%, 0, 0); } }
.review {
  margin: 0; width: 340px; flex: none; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px;
  display: flex; flex-direction: column; gap: 14px;
}
.stars { display: inline-flex; gap: 2px; color: var(--amber); }
.review blockquote { margin: 0; font-size: 15px; line-height: 1.6; color: #2c3a52; flex: 1; }
.review figcaption { display: flex; align-items: center; gap: 10px; }
.review figcaption .avatar { width: 36px; height: 36px; font-size: 13px; }
.review figcaption b { display: block; font-size: 14px; }
.review figcaption small { display: block; font-size: 12.5px; color: var(--muted); font-weight: 600; }

/* ---------- Earn with Tevin ---------- */
.earn-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.earn-card {
  position: relative; overflow: hidden; border-radius: var(--r-xl); padding: 40px; display: flex; flex-direction: column; align-items: flex-start;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.earn-card:hover { transform: translateY(-4px); box-shadow: var(--sh-3); }
.earn-card.owner { background: var(--ink); color: #fff; }
.earn-card.owner::before {
  content: ""; position: absolute; right: -140px; bottom: -140px; width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(244, 168, 29, .25), transparent 65%);
}
.earn-card.franchise { background: var(--amber-soft); border: 1px solid #f6dfae; color: var(--text); }
.earn-card > * { position: relative; }
.earn-icon { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; background: var(--amber); color: var(--amber-ink); }
.earn-card.franchise .earn-icon { background: var(--ink); color: var(--amber); }
.earn-card h2 { font-size: clamp(24px, 2.6vw, 32px); letter-spacing: -0.022em; margin-top: 22px; }
.earn-card p { margin-top: 10px; font-size: 15.5px; line-height: 1.6; max-width: 480px; }
.earn-card.owner p { color: #b9c6d9; }
.earn-card.franchise p { color: #5b4a26; }
.earn-list { list-style: none; padding: 0; margin: 20px 0 28px; display: grid; gap: 10px; }
.earn-list li { position: relative; padding-left: 26px; font-size: 14.5px; font-weight: 600; }
.earn-list li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--amber) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23241800' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center / 10px no-repeat;
}
.earn-card.franchise .earn-list li::before { background-color: var(--ink);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f4a81d' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E"); }
.earn-card .btn { margin-top: auto; }
.earn-card.franchise .btn-ghost { background: #fff; }

/* ---------- FAQ ---------- */
.faq { background: var(--bg); }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.faq-intro { position: sticky; top: calc(var(--header) + 24px); }
.faq-intro h2 { font-size: clamp(26px, 3.2vw, 38px); letter-spacing: -0.022em; }
.faq-intro p { color: var(--muted); margin: 10px 0 24px; font-size: 16px; max-width: 360px; }
.faq-list { display: grid; gap: 10px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 16px; transition: border-color .3s ease, box-shadow .4s var(--ease); }
.faq-item.is-open { border-color: var(--ink); box-shadow: var(--sh-1); }
.faq-item h3 { font-size: inherit; letter-spacing: normal; }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; text-align: left;
  border: 0; background: none; padding: 18px 20px; font-family: var(--display); font-weight: 600; font-size: 16px; letter-spacing: -0.02em; color: var(--ink);
}
.faq-plus { position: relative; width: 28px; height: 28px; border-radius: 9px; background: var(--bg); flex: none; transition: background-color .3s ease, transform .45s var(--ease); }
.faq-plus::before, .faq-plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; border-radius: 2px; background: currentColor; transform: translate(-50%, -50%); transition: transform .45s var(--ease); }
.faq-plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item.is-open .faq-plus { background: var(--amber); transform: rotate(180deg); }
.faq-item.is-open .faq-plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 20px 20px; color: var(--muted); font-size: 15px; line-height: 1.65; max-width: 640px; opacity: 0; transition: opacity .4s ease; }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-item.is-open .faq-a p { opacity: 1; transition-delay: .1s; }

/* App band now follows the FAQ on the same background */
.app-band { padding-top: 0; }

/* ==========================================================================
   Booking flow — full width
   ========================================================================== */
.flow { width: min(1200px, calc(100% - 48px)); }
.flow-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); gap: 24px; align-items: center; margin-bottom: 24px; }
.flow-head .flow-title { margin-bottom: 0; }
.flow-head .help { margin-top: 6px; font-size: 15px; }
.flow-head .steps { margin-bottom: 0; }
.flow-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 24px; align-items: start; }
.flow-main { display: grid; gap: 16px; min-width: 0; }
.flow-aside { position: sticky; top: calc(var(--header) + 16px); min-width: 0; }
.card-h { font-size: 17px; margin-bottom: 16px; }
.sum-card .block:first-child { margin-top: 0; }

.vehicle-hero { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 24px; align-items: center; }
.vehicle-hero img { width: 100%; height: 200px; object-fit: cover; border-radius: 16px; background: var(--line); }
.vehicle-hero h2 { font-size: 24px; letter-spacing: -0.018em; }
.vehicle-hero .specs { margin-top: 12px; }
.vehicle-hero .price { margin-top: 16px; font-size: 28px; }

.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 14px; }
.loc-row { margin-top: 2px; }
.static-field {
  display: flex; align-items: center; gap: 8px; height: 48px; padding: 0 14px; border-radius: 12px;
  background: var(--bg); border: 1.5px solid var(--line-2); font-weight: 700; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.static-field svg { color: var(--muted); flex: none; }
.addon-grid { display: grid; gap: 10px; }
.addon-grid .addon { margin-bottom: 0; }
.addon-end { display: flex; align-items: center; gap: 12px; flex: none; }
.addon.is-locked { cursor: default; background: var(--bg); }

.summary .kv:first-of-type { padding-top: 4px; }
.total-row.is-bump strong { animation: bump .5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.08); color: var(--amber); } }
.assure { list-style: none; margin: 16px 0 2px; padding: 14px 0 0; border-top: 1px solid var(--line-2); display: grid; gap: 8px; }
.assure li { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted); font-weight: 600; }
.assure svg { color: var(--green); flex: none; }

.trip-mini { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 12px; align-items: center; }
.trip-mini img { width: 76px; height: 58px; border-radius: 10px; object-fit: cover; background: var(--line); }
.trip-mini strong { display: block; font-family: var(--display); font-weight: 600; font-size: 16px; letter-spacing: -0.02em; }
.trip-mini .meta { margin-top: 2px; display: block; }
.trip-dates { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 16px 0 6px; padding: 14px 0; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.trip-dates small { display: block; font-size: 12px; font-weight: 700; color: var(--muted); }
.trip-dates b { display: block; font-size: 14px; margin-top: 2px; }
.trip-dates span { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }

.pay-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.pay-grid .pay-option { position: relative; margin: 0; align-items: flex-start; padding: 16px; gap: 12px; }
.pay-grid .pay-option input { position: absolute; right: 14px; top: 14px; }
.pay-grid .pay-option:has(input:focus-visible) { outline: 2.5px solid var(--blue); outline-offset: 2px; }
.po-ic { width: 40px; height: 40px; border-radius: 12px; background: var(--bg); display: grid; place-items: center; color: var(--ink); flex: none; transition: background-color .3s ease, color .3s ease; }
.pay-option.is-on .po-ic { background: var(--ink); color: var(--amber); }
.pay-option b { display: block; font-size: 14.5px; padding-right: 22px; }
.pay-option small { display: block; font-weight: 500; color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.method-fields { margin-top: 16px; }
.method-fields.is-swap { animation: slide-down .45s var(--ease) both; }
.login-gate .btn { margin-top: 16px; }

.next-list { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 0; }
.next-list li { position: relative; padding: 0 0 16px 32px; }
.next-list li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%;
  background: #fff; border: 2px solid var(--line); box-sizing: border-box; z-index: 1;
}
.next-list li::after { content: ""; position: absolute; left: 8px; top: 20px; bottom: 0; width: 2px; background: var(--line); }
.next-list li:last-child { padding-bottom: 0; }
.next-list li:last-child::after { display: none; }
.next-list li.is-done::before { background: var(--ink); border-color: var(--ink); }
.next-list li.is-done::after { background: var(--ink); }
.next-list li.is-on::before { border-color: var(--amber); background: var(--amber); box-shadow: 0 0 0 5px rgba(244, 168, 29, .2); }
.next-list b { display: block; font-size: 14.5px; }
.next-list li:not(.is-done):not(.is-on) b { color: var(--muted); }
.next-list small { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.action-stack { display: grid; gap: 8px; }
.doc-field input[type="file"] { width: 100%; }

/* Service + location pages share the full-width flow */
.flow .service-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
#loc-form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 0 14px; align-items: end; }
#loc-form .btn { margin-bottom: 14px; }

/* ---------- Responsive for v3 ---------- */
@media (max-width: 1140px) {
  .fleet-grid { grid-template-columns: repeat(2, 1fr); }
  .city-grid { grid-template-columns: repeat(3, 1fr); }
  .city-tile.is-feature { grid-row: span 1; grid-column: span 2; min-height: 220px; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .vehicle-hero { grid-template-columns: 240px minmax(0, 1fr); }
  .flow-grid { grid-template-columns: minmax(0, 1fr) 340px; }
  .pay-grid { grid-template-columns: 1fr; }
}
@media (max-width: 960px) {
  .how-track { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .how-track::before, .how-track::after { display: none; }
  .earn-grid, .faq-grid { grid-template-columns: 1fr; }
  .faq-grid { gap: 24px; }
  .faq-intro { position: static; }
  .flow-head { grid-template-columns: 1fr; gap: 18px; }
  .flow-grid { grid-template-columns: minmax(0, 1fr); }
  .flow-aside { position: static; }
  .flow .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .stats-row { grid-template-columns: 1fr 1fr; }
  .stat-item { padding: 20px 0 22px 16px; }
  .stat-item:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stat-item:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .07); }
  .stat-item > span { font-size: 13px; margin-top: 8px; }

  .how-track { grid-template-columns: 1fr; gap: 0; row-gap: 0; }
  .how-track::before, .how-track::after { display: block; top: 24px; bottom: 40px; left: 23px; right: auto; width: 3px; height: auto; }
  .how-track::after { background: repeating-linear-gradient(180deg, var(--amber) 0 14px, transparent 14px 22px); transform-origin: top; }
  .motion .how-track::after { transform: scaleY(0); }
  .motion .how-track.is-in::after { transform: scaleY(1); }
  .how-step { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 16px; padding-bottom: 24px; }
  .how-step:last-child { padding-bottom: 0; }
  .how-dot { grid-row: span 2; }
  .how-step h3 { margin-top: 12px; font-size: 16.5px; }
  .how-step p { margin-top: 4px; font-size: 14px; max-width: none; }

  .promo-wrap { padding-top: 44px; }

  .fleet-tabs { display: flex; width: 100%; }
  .fleet-tab { padding: 9px 14px; font-size: 13.5px; }
  .fleet-grid {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 16px; gap: 12px;
    margin: 0 -16px; padding: 4px 16px 10px; scrollbar-width: none;
  }
  .fleet-grid::-webkit-scrollbar { display: none; }
  .fleet-card { flex: 0 0 76%; scroll-snap-align: start; }
  .fleet-card:hover { transform: none; }

  .city-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: auto; gap: 10px; }
  .city-tile { padding: 16px; gap: 14px; min-height: 0; }
  .city-tile:hover { transform: none; }
  .city-tile.is-feature { grid-column: 1 / -1; min-height: 210px; }
  .city-tile.is-feature strong { font-size: 24px; }
  .ct-text strong { font-size: 17px; }
  .ct-text em { display: none; }
  .city-tile.is-feature em { display: block; }
  .ct-go { right: 14px; top: 16px; width: 32px; height: 32px; }

  .review { width: 280px; padding: 18px; }
  .review blockquote { font-size: 14.5px; }
  .marquee-track { animation-duration: 45s; }

  .earn-card { padding: 28px 22px; border-radius: 24px; }
  .earn-card:hover { transform: none; }
  .earn-card .btn { width: 100%; }

  .faq-q { padding: 16px; font-size: 15px; }
  .faq-a p { padding: 0 16px 16px; font-size: 14.5px; }
  .faq-intro .btn { display: none; }
  .faq-intro p { margin-bottom: 0; }

  .flow { width: calc(100% - 32px); }
  .flow-head { margin-bottom: 16px; gap: 14px; }
  .flow-head .flow-title { font-size: 24px; }
  .flow-head .help { font-size: 14px; }
  .vehicle-hero { grid-template-columns: 1fr; gap: 14px; }
  .vehicle-hero img { height: 180px; }
  .vehicle-hero h2 { font-size: 20px; }
  .vehicle-hero .price { font-size: 24px; margin-top: 12px; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .grid-2.loc-row { grid-template-columns: 1fr; }
  .addon { padding: 12px 14px; }
  .addon-end { gap: 10px; }
  .trip-dates { grid-template-columns: 1fr; gap: 10px; }
  .flow .service-grid { grid-template-columns: 1fr 1fr; }
  #loc-form { grid-template-columns: 1fr; }
  .doc-field input[type="file"] { font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  .motion [data-reveal="wipe"] > * { clip-path: none; }
  .motion .how-track::after { transform: none; }
  .motion .how-step .how-dot { background: var(--ink); color: var(--amber); box-shadow: 0 0 0 1.5px var(--ink); transform: none; }
  .motion .how-step h3, .motion .how-step p { opacity: 1; transform: none; }
  .marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .marquee-track { animation: none; padding: 0 24px; }
  .marquee-track .mg[aria-hidden] { display: none; }
}

/* Section rhythm on the home page */
.why { background: #fff; }
.cities { background: var(--bg); }
.reviews { background: #fff; }
.city-tile { justify-content: flex-start; }
.city-tile .ct-text { margin-top: auto; }
.city-tile:not(.is-feature) .ct-text { margin-top: 0; }
.flow-main { grid-template-columns: minmax(0, 1fr); }
.field { min-width: 0; }
.field input, .field select { min-width: 0; max-width: 100%; }

/* Keep off-screen reveal offsets from causing sideways scroll */
main#main { overflow-x: clip; }

/* Tablet header: the full nav no longer fits between 761px and 960px */
@media (min-width: 761px) and (max-width: 960px) {
  .nav { display: none; }
  .nav-toggle { display: grid; }
}

/* ---------- Mobile checkout bar ---------- */
.cta-bar { display: none; }
@media (max-width: 760px) {
  body.has-cta .tabbar { display: none; }
  body.has-cta.has-tabbar { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  body.has-cta .toast { bottom: calc(104px + env(safe-area-inset-bottom)); }
  .cta-bar {
    display: flex; align-items: center; justify-content: space-between; gap: 14px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px);
    border-top: 1px solid var(--line); box-shadow: 0 -12px 30px -18px rgba(15, 27, 45, .35);
  }
  .cta-bar.is-new { animation: cta-up .5s var(--ease) both; }
  .cta-total { min-width: 0; }
  .cta-total small { display: block; font-size: 12px; font-weight: 700; color: var(--muted); }
  .cta-total strong { display: block; font-family: var(--display); font-size: 22px; font-weight: 600; letter-spacing: -0.015em; color: var(--ink); }
  .cta-bar .btn { flex: none; min-height: 50px; padding: 0 20px; }
  /* The bar carries the main action, so the in-page duplicate goes */
  .flow-aside #to-pay, .flow-aside #pay-now { display: none; }
}
@keyframes cta-up { from { transform: translateY(100%); } }

/* ==========================================================================
   v5 — Type, section rhythm, credits
   ========================================================================== */

/* Archivo's width axis: every display use gets the wider cut; Geist ignores it. */
body { font-stretch: 112%; font-feature-settings: "ss01", "cv11"; }
h1, h2, h3 { font-weight: 600; }
.hero h1 { font-size: clamp(40px, 5.2vw, 66px); line-height: 1.02; font-weight: 600; }
.price, .total-row strong, .stat-item strong, .stat strong { font-variant-numeric: tabular-nums; }

/* Section heads: title and description side by side on desktop, not stacked */
.section-head { align-items: flex-end; gap: 32px; margin-bottom: 36px; }
.section-head > div {
  flex: 1; min-width: 0;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 400px); column-gap: 48px; align-items: end;
}
.section-head h2 { font-size: clamp(28px, 3.1vw, 42px); line-height: 1.05; }
.section-head p { margin-top: 0; font-size: 15.5px; line-height: 1.55; max-width: 400px; padding-bottom: 4px; }
.section-head .link-all { padding-bottom: 6px; }

/* Section rhythm: one spacing scale, no doubled gaps */
.section { padding: 88px 0; }
.section.tight { padding-top: 64px; }
.promo-wrap { padding-top: 0; margin-top: 72px; }
.promo-wrap + .section { padding-top: 72px; }
.reviews + .earn { padding-top: 0; }
.faq + .app-band { padding-top: 0; }

/* Section boundaries: tinted bands get a hairline so the change reads as intentional */
.how, .fleet, .cities, .faq { border-top: 1px solid var(--line); }
.fleet, .cities { border-bottom: 1px solid var(--line); }
.faq { border-bottom: 0; }

/* ---------- Fleet tabs with icons ---------- */
.fleet-tab { display: inline-flex; align-items: center; gap: 8px; }
.ft-ic { display: grid; place-items: center; }
.ft-ic svg { width: 18px; height: 18px; }

/* ---------- Designer credit ---------- */
.credit { display: inline-flex; align-items: center; gap: 6px; color: #7d8ea8; }
.credit a { color: #cfd8e6; font-weight: 600; background: linear-gradient(var(--amber), var(--amber)) left bottom / 0 1.5px no-repeat; transition: background-size .35s var(--ease), color .25s ease; }
.credit a:hover { color: #fff; background-size: 100% 1.5px; }
.copyright { align-items: center; flex-wrap: wrap; }
.app-credit { display: none; }
.side-credit { padding: 14px 12px 2px; font-size: 12px; color: #6f819d; line-height: 1.5; }
.side-credit a { color: #b7c3d6; font-weight: 600; }
.side-credit a:hover { color: #fff; }
.dash-credit { display: none; }

@media (max-width: 960px) {
  .section-head > div { grid-template-columns: 1fr; row-gap: 10px; }
  .dash-credit { display: block; text-align: center; margin-top: 28px; font-size: 12.5px; color: var(--muted); }
  .dash-credit a { color: var(--ink); font-weight: 700; }
}

@media (max-width: 760px) {
  .section { padding: 52px 0; }
  .section.tight { padding-top: 32px; }
  .promo-wrap { margin-top: 48px; }
  .promo-wrap + .section { padding-top: 48px; }
  .section-head { margin-bottom: 20px; gap: 16px; }
  .section-head h2 { font-size: 27px; }
  .section-head p { font-size: 14.5px; }
  .hero h1 { font-size: 34px; }

  /* Fleet tabs: five equal, thumb-sized segments, nothing hidden off-screen */
  .fleet-tabs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 2px; width: 100%; padding: 4px; border-radius: 18px; overflow: visible; }
  .fleet-tab { flex-direction: column; justify-content: center; gap: 4px; min-height: 58px; padding: 8px 2px; border-radius: 14px; font-size: 12px; }
  .ft-ic svg { width: 20px; height: 20px; }
  .fleet-ink { top: 4px; bottom: 4px; border-radius: 14px; }

  /* App-shell pages hide the footer on phones, so the credit gets its own line */
  body.app-shell .app-credit {
    display: block; text-align: center; padding: 18px 16px 6px; font-size: 12.5px; color: var(--muted); background: transparent;
  }
  body.app-shell .app-credit a { color: var(--ink); font-weight: 700; }
}
h1, h2, h3 { text-wrap: balance; }
.promo-strip > div { max-width: 620px; }
.site-footer .foot-contact a { display: flex; align-items: center; margin: 0; width: auto; }
.foot-contact { gap: 14px; margin-top: 2px; }
.section-head > div { align-items: last baseline; }
