/* Need A Ride — public site & customer portal */

/* ------------------------------------------------------------ Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; font: 16px/1.55 var(--body); color: var(--ink); background: var(--paper);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  padding-bottom: calc(76px + var(--safe-b));
}
@media (min-width: 900px) { body { padding-bottom: 0; } }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.05; margin: 0 0 .4em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 7vw, 4.6rem); font-weight: 900; font-style: italic; letter-spacing: -.02em; }
h2 { font-size: clamp(1.7rem, 4.4vw, 2.8rem); font-weight: 800; font-style: italic; }
h3 { font-size: 1.3rem; font-weight: 700; }
h4 { font-size: 1rem; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 700px) { .wrap { padding: 0 28px; } }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.num { font-family: var(--display); font-variant-numeric: tabular-nums; font-weight: 700; }
.hide-sm { display: none !important; }
@media (min-width: 900px) { .hide-sm { display: inline-flex !important; } .hide-lg { display: none !important; } }
.stack > * + * { margin-top: 14px; }
.row { display: flex; gap: 12px; align-items: center; }
.between { justify-content: space-between; }
.wrap-row { flex-wrap: wrap; }
.grow { flex: 1; min-width: 0; }
.section { padding: 56px 0; }
@media (min-width: 900px) { .section { padding: 96px 0; } }
.section-head { max-width: 640px; margin-bottom: 28px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }

/* ------------------------------------------------------------ Header */
.site-head { position: sticky; top: 0; z-index: 40; background: var(--black); color: #fff; padding-top: env(safe-area-inset-top, 0px); }
.head-row { display: flex; align-items: center; gap: 20px; height: 64px; }
.brand img { height: 42px; width: auto; }
@media (min-width: 900px) { .head-row { height: 76px; } .brand img { height: 50px; } }
.head-nav { display: none; gap: 4px; margin-left: 12px; }
@media (min-width: 900px) { .head-nav { display: flex; } }
.head-nav a { padding: 8px 14px; border-radius: var(--pill); color: rgba(255,255,255,.72); font-weight: 600; font-size: .95rem; transition: color var(--t-fast), background var(--t-fast); }
.head-nav a:hover, .head-nav a.on { color: #fff; background: rgba(255,255,255,.1); }
.head-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.icon-btn { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.1); color: #fff; font-size: 1.15rem; transition: background var(--t-fast), transform var(--t-fast); border: 0; }
.icon-btn:hover { background: rgba(255,255,255,.18); }
.icon-btn:active { transform: scale(.94); }
.icon-btn.wa { background: #1fa855; }
.avatar-btn { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.avatar { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--red), #ff7a45); color: #fff; font: 700 .85rem var(--display); flex: none; }

/* ------------------------------------------------------------ Mobile tab bar */
.tabbar {
  position: fixed; left: 10px; right: 10px; bottom: calc(10px + var(--safe-b)); z-index: 45;
  display: grid; grid-template-columns: repeat(5, 1fr); align-items: center;
  background: rgba(10, 10, 12, .92); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-radius: 22px; height: 62px; box-shadow: 0 12px 30px -8px rgba(0,0,0,.45);
}
@media (min-width: 900px) { .tabbar { display: none; } }
.tabbar a { display: flex; flex-direction: column; align-items: center; gap: 3px; color: rgba(255,255,255,.55); font-size: .7rem; font-weight: 600; transition: color var(--t-fast); }
.tabbar a .ico { font-size: 1.3rem; }
.tabbar a.on { color: #fff; }
.tabbar a.on .ico { color: var(--red); }
.tab-book-btn { width: 54px; height: 54px; margin-top: -26px; border-radius: 18px; display: grid; place-items: center; background: var(--red); color: #fff; font-size: 1.45rem; box-shadow: 0 10px 24px -6px var(--red-glow), 0 0 0 5px var(--paper); transform: rotate(-8deg); transition: transform var(--t) var(--ease-spring); }
.tab-book:active .tab-book-btn { transform: rotate(0) scale(.92); }

/* ------------------------------------------------------------ Buttons */
.btn {
  --bg: var(--ink); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 22px; border-radius: var(--r-md); border: 0;
  background: var(--bg); color: var(--fg); font-weight: 700; font-size: 1rem; letter-spacing: .01em;
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t) var(--ease), background var(--t-fast), opacity var(--t-fast);
  white-space: nowrap; position: relative; overflow: hidden; -webkit-tap-highlight-color: transparent;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(1px) scale(.98); }
.btn[disabled], .btn.is-loading { opacity: .6; pointer-events: none; }
.btn-red { --bg: var(--red); box-shadow: var(--sh-red); }
.btn-red:hover { --bg: #f03e34; }
.btn-white { --bg: #fff; --fg: var(--ink); box-shadow: var(--sh-1); }
.btn-line { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-line:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-ghost-light { --bg: rgba(255,255,255,.1); --fg: #fff; }
.btn-green { --bg: #19A35B; box-shadow: 0 10px 24px -10px rgba(25,163,91,.6); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: .92rem; border-radius: var(--r-sm); }
.btn-lg { min-height: 58px; padding: 0 28px; font-size: 1.08rem; border-radius: 16px; }
.btn-block { width: 100%; }
.btn .ico { font-size: 1.15em; }
/* speed streak sweep on primary buttons */
.btn-red::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.35) 48%, transparent 62%); transform: translateX(-120%); }
.btn-red:hover::after { transform: translateX(120%); transition: transform .7s var(--ease); }
.btn.is-loading::before { content: ""; width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.link { color: var(--red); font-weight: 700; }
.link:hover { text-decoration: underline; }

/* ------------------------------------------------------------ Forms */
.field { display: block; position: relative; }
.field > span, .label { display: block; font-size: .82rem; font-weight: 700; color: var(--ink-2); margin-bottom: 6px; }
.input, .field input:not([type=checkbox]):not([type=radio]):not([type=file]), .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 16px; border-radius: var(--r-md);
  border: 1.5px solid var(--line); background: #fff; font-size: 1rem; transition: border-color var(--t-fast), box-shadow var(--t-fast);
  -webkit-appearance: none; appearance: none;
}
.field textarea { min-height: 110px; resize: vertical; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315161C' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 42px; }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(21,22,28,.08); }
.field .hint { font-size: .8rem; color: var(--muted); margin-top: 6px; display: block; }
.field.has-icon > .ico { position: absolute; left: 15px; bottom: 17px; color: var(--muted); pointer-events: none; }
.field.has-icon input, .field.has-icon select { padding-left: 44px; }
.grid-2 { display: grid; gap: 14px; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
.grid-3 { display: grid; gap: 14px; }
@media (min-width: 760px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: .95rem; }
.check input { width: 22px; height: 22px; accent-color: var(--red); flex: none; margin-top: 1px; }
.error-text { color: var(--bad); font-size: .85rem; font-weight: 600; }

/* Segmented control */
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; padding: 4px; border-radius: 16px; background: var(--paper); position: relative; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 58px; padding: 6px 4px; border-radius: 12px; font-size: .78rem; font-weight: 700; color: var(--muted); cursor: pointer; text-align: center; line-height: 1.15; transition: color var(--t-fast), background var(--t) var(--ease), box-shadow var(--t); }
.seg label .ico { font-size: 1.25rem; }
.seg input:checked + label { background: #fff; color: var(--ink); box-shadow: var(--sh-1); }
.seg input:checked + label .ico { color: var(--red); }
.seg input:focus-visible + label { outline: 3px solid var(--blue); }
@media (min-width: 640px) { .seg label { flex-direction: row; font-size: .9rem; gap: 8px; min-height: 50px; } }

/* Chips */
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px; margin: 0 -16px; padding-left: 16px; padding-right: 16px; scroll-snap-type: x proximity; }
@media (min-width: 700px) { .chips { margin: 0; padding: 2px; flex-wrap: wrap; } }
.chips::-webkit-scrollbar { display: none; }
.chip { --c: var(--ink); flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; border-radius: var(--pill); background: #fff; border: 1.5px solid var(--line); font-weight: 700; font-size: .9rem; white-space: nowrap; transition: all var(--t-fast); scroll-snap-align: start; }
.chip .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--c); }
.chip:hover { border-color: var(--c); }
.chip.on { background: var(--c); border-color: var(--c); color: #fff; }
.chip.on .dot { background: #fff; }

/* Badges */
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: var(--pill); font-size: .75rem; font-weight: 800; letter-spacing: .01em; white-space: nowrap; }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge-green { color: var(--ok); background: var(--ok-bg); }
.badge-amber { color: var(--warn); background: var(--warn-bg); }
.badge-red { color: var(--bad); background: var(--bad-bg); }
.badge-blue { color: var(--info); background: var(--info-bg); }
.badge-grey { color: var(--muted); background: #ECEDF2; }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 8px; background: var(--paper); font-size: .8rem; font-weight: 700; color: var(--ink-2); }

/* Cards */
.card { background: #fff; border-radius: var(--r-lg); padding: 20px; box-shadow: var(--sh-1); }
@media (min-width: 700px) { .card { padding: 26px; } }
.card-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.card-title h3 { margin: 0; }

/* ------------------------------------------------------------ Paint tile (signature) */
.paint { --paint: var(--red); position: relative; aspect-ratio: 16 / 10; border-radius: var(--r-xl); overflow: hidden; background: radial-gradient(120% 90% at 85% 10%, color-mix(in srgb, var(--paint) 70%, #fff) 0%, var(--paint) 45%, color-mix(in srgb, var(--paint) 70%, #000) 100%); isolation: isolate; }
.paint::before { content: ""; position: absolute; left: -10%; right: -10%; bottom: 8%; height: 26%; background: radial-gradient(50% 50% at 50% 50%, rgba(0,0,0,.35), transparent 70%); z-index: 0; }
.paint-stripe { position: absolute; inset: 0; z-index: 0; background: repeating-linear-gradient(-62deg, transparent 0 46px, rgba(255,255,255,.12) 46px 52px, transparent 52px 70px); mask-image: linear-gradient(90deg, #000 0%, transparent 70%); -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 70%); }
.paint img { position: absolute; z-index: 1; left: 50%; bottom: 7%; width: 88%; height: 78%; object-fit: contain; object-position: bottom center; transform: translateX(-50%); filter: drop-shadow(0 14px 14px rgba(0,0,0,.28)); transition: transform var(--t-slow) var(--ease); }

/* ------------------------------------------------------------ Car card */
.car-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .car-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1020px) { .car-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.car-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--r-xl); padding: 10px 10px 18px; box-shadow: var(--sh-1); transition: box-shadow var(--t) var(--ease), transform var(--t) var(--ease); position: relative; }
.car-card:hover { box-shadow: var(--sh-2); transform: translateY(-3px); }
.car-card:hover .paint img { transform: translateX(-50%) translateX(6px) scale(1.04); }
.car-card .paint { border-radius: 22px; }
.car-body { padding: 14px 10px 0; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.car-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.car-name { font: 800 1.25rem/1.1 var(--display); margin: 0; }
.car-cat { font-size: .8rem; font-weight: 700; color: var(--muted); display: flex; align-items: center; gap: 6px; margin-top: 4px; }
.car-cat i { width: 8px; height: 8px; border-radius: 50%; background: var(--paint, var(--red)); display: inline-block; }
.price { text-align: right; flex: none; }
.price b { font: 800 1.35rem/1 var(--display); display: block; }
.price small { color: var(--muted); font-size: .78rem; font-weight: 600; }
.specs { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--ink-2); font-size: .86rem; font-weight: 600; }
.specs li { display: flex; align-items: center; gap: 6px; }
.specs .ico { color: var(--muted); }
.car-foot { margin-top: auto; display: flex; gap: 8px; align-items: center; padding-top: 6px; }
.car-foot .btn { flex: 1; }
.unavail-flag { position: absolute; top: 20px; left: 20px; z-index: 3; background: rgba(0,0,0,.75); color: #fff; padding: 6px 12px; border-radius: var(--pill); font-size: .78rem; font-weight: 700; }
.car-card.is-unavailable .paint { filter: grayscale(.85) brightness(.95); }
.ribbon { position: absolute; top: 20px; right: 20px; z-index: 3; background: #fff; color: var(--ink); padding: 5px 11px; border-radius: var(--pill); font-size: .75rem; font-weight: 800; box-shadow: var(--sh-1); display: flex; gap: 5px; align-items: center; }

/* ------------------------------------------------------------ Hero */
.hero { position: relative; background: var(--black); color: #fff; overflow: hidden; padding: 28px 0 150px; isolation: isolate; }
@media (min-width: 900px) { .hero { padding: 56px 0 170px; } }
.hero-grid { display: grid; gap: 10px; align-items: center; position: relative; z-index: 2; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.02fr 1fr; gap: 30px; } }
.hero h1 { margin: 0 0 16px; font-size: clamp(2.5rem, 10.5vw, 4.7rem); line-height: .92; }
.hero h1 .l2 { display: block; white-space: nowrap; color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.85); }
.hero-sub { font-size: 1.12rem; color: rgba(255,255,255,.72); max-width: 470px; margin-bottom: 22px; }
.hero-trust { display: flex; gap: 18px; flex-wrap: wrap; font-size: .88rem; color: rgba(255,255,255,.7); font-weight: 600; }
.hero-trust span { display: flex; gap: 7px; align-items: center; }
.hero-trust .ico { color: var(--red); }
.hero-stage { position: relative; height: 270px; margin: 0 -16px; }
@media (min-width: 640px) { .hero-stage { height: 360px; } }
@media (min-width: 960px) { .hero-stage { height: 430px; margin: 0; } }
.hero-glow { position: absolute; left: 50%; top: 52%; width: 120%; aspect-ratio: 1.4; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(closest-side, var(--hero-paint, var(--red)) 0%, transparent 72%); opacity: .55; filter: blur(10px); transition: background .8s var(--ease); z-index: 0; }
.hero-arc { position: absolute; left: -4%; top: 16%; width: 100%; z-index: 1; overflow: visible; }
.hero-arc path { fill: none; stroke: var(--red); stroke-width: 7; stroke-linecap: round; stroke-dasharray: 900; stroke-dashoffset: 900; animation: arc 1.4s .35s var(--ease) forwards; }
@keyframes arc { to { stroke-dashoffset: 0; } }
.hero-road { position: absolute; left: -20%; right: -20%; bottom: 14%; height: 4px; z-index: 1; background: repeating-linear-gradient(90deg, rgba(255,255,255,.55) 0 46px, transparent 46px 92px); animation: road .5s linear infinite; opacity: .35; mask-image: linear-gradient(90deg, transparent, #000 25%, #000 75%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 25%, #000 75%, transparent); }
@keyframes road { to { background-position: -92px 0; } }
.hero-car { position: absolute; left: 50%; bottom: 13%; width: 92%; max-width: 640px; transform: translateX(-50%); z-index: 2; }
.hero-car img { width: 100%; height: auto; filter: drop-shadow(0 22px 22px rgba(0,0,0,.6)); animation: drive-in 1.1s var(--ease) both; }
.hero-car.swap img { animation: drive-out .45s cubic-bezier(.55,0,1,.45) forwards; }
@keyframes drive-in { from { transform: translateX(-75%) skewX(-6deg); opacity: 0; filter: blur(6px) drop-shadow(0 22px 22px rgba(0,0,0,.6)); } 60% { filter: blur(0) drop-shadow(0 22px 22px rgba(0,0,0,.6)); } to { transform: none; opacity: 1; } }
@keyframes drive-out { to { transform: translateX(80%) skewX(-6deg); opacity: 0; filter: blur(5px); } }
.hero-streaks { position: absolute; left: 0; top: 40%; width: 50%; height: 40%; z-index: 1; pointer-events: none; }
.hero-streaks i { position: absolute; left: 0; height: 3px; border-radius: 3px; background: linear-gradient(90deg, transparent, var(--red)); animation: streak 1.1s var(--ease) both; }
.hero-streaks i:nth-child(1) { top: 20%; width: 70%; animation-delay: .1s; }
.hero-streaks i:nth-child(2) { top: 45%; width: 90%; animation-delay: .2s; }
.hero-streaks i:nth-child(3) { top: 70%; width: 55%; animation-delay: .15s; }
@keyframes streak { from { transform: scaleX(0); transform-origin: right; opacity: 0; } 50% { opacity: 1; } to { transform: scaleX(1); opacity: .0; } }
.hero-swatches { position: absolute; z-index: 3; left: 50%; bottom: 0; transform: translateX(-50%); display: flex; gap: 8px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); padding: 6px; border-radius: var(--pill); backdrop-filter: blur(10px); }
.hero-swatches button { width: 30px; height: 30px; border-radius: 50%; border: 0; background: var(--c); position: relative; transition: transform var(--t) var(--ease-spring); }
.hero-swatches button[aria-pressed=true] { transform: scale(1.18); box-shadow: 0 0 0 3px #000, 0 0 0 5px var(--c); }
.hero-caption { position: absolute; z-index: 3; right: 4%; top: 0; text-align: right; }
.hero-caption b { display: block; font: 800 italic 1.1rem var(--display); }
.hero-caption span { font-size: .85rem; color: rgba(255,255,255,.65); }

/* ------------------------------------------------------------ Search widget */
.finder { position: relative; z-index: 5; margin-top: -120px; }
.finder-card { background: #fff; border-radius: var(--r-xl); padding: 14px; box-shadow: var(--sh-3); }
@media (min-width: 900px) { .finder-card { padding: 18px; } }
.finder-fields { display: grid; gap: 10px; margin-top: 12px; }
@media (min-width: 900px) { .finder-fields { grid-template-columns: 1.3fr 1fr 1fr auto; align-items: end; } }
.finder .btn { min-height: 56px; }
.dt-field { position: relative; display: block; border: 1.5px solid var(--line); border-radius: var(--r-md); padding: 8px 14px 6px; background: #fff; transition: border-color var(--t-fast); }
.dt-field:focus-within { border-color: var(--ink); }
.dt-field span { display: flex; align-items: center; gap: 6px; font-size: .74rem; font-weight: 800; color: var(--muted); }
.dt-field input, .dt-field select { border: 0; padding: 2px 0 0; min-height: 30px; width: 100%; font-weight: 700; font-size: 1rem; background: transparent; outline: none; -webkit-appearance: none; appearance: none; }
.dt-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.when-days { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 700; color: var(--ink-2); padding-top: 4px; }

/* ------------------------------------------------------------ Home sections */
.cat-rail { display: grid; grid-auto-flow: column; grid-auto-columns: 72%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 -16px; padding: 4px 16px 10px; }
.cat-rail::-webkit-scrollbar { display: none; }
@media (min-width: 700px) { .cat-rail { grid-auto-columns: 40%; } }
@media (min-width: 1020px) { .cat-rail { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; margin: 0; padding: 0; } }
.cat-tile { scroll-snap-align: start; display: block; position: relative; }
.cat-tile .paint { aspect-ratio: 16/11; }
.cat-tile .cat-label { position: absolute; z-index: 2; left: 18px; top: 16px; right: 18px; color: #fff; }
.cat-label b { font: 800 italic 1.5rem/1 var(--display); display: block; text-shadow: 0 1px 10px rgba(0,0,0,.15); }
.cat-label span { font-size: .85rem; font-weight: 600; opacity: .92; }
.cat-from { position: absolute; z-index: 2; right: 14px; bottom: 14px; background: rgba(0,0,0,.55); color: #fff; padding: 6px 12px; border-radius: var(--pill); font-size: .8rem; font-weight: 700; backdrop-filter: blur(6px); }
.cat-tile:hover .paint img { transform: translateX(-50%) scale(1.05); }

/* "How it works" road */
.howto { display: grid; gap: 14px; counter-reset: s; }
@media (min-width: 900px) { .howto { grid-template-columns: repeat(4, 1fr); gap: 18px; } }
.howto li { list-style: none; background: #fff; border-radius: var(--r-lg); padding: 20px; position: relative; box-shadow: var(--sh-1); }
.howto li::before { counter-increment: s; content: counter(s); position: absolute; right: 16px; top: 8px; font: 900 italic 3.6rem/1 var(--display); color: var(--paper); }
.howto .hi { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 1.35rem; color: #fff; margin-bottom: 14px; position: relative; }
.howto h3 { font-size: 1.15rem; position: relative; }
.howto p { color: var(--muted); margin: 0; font-size: .95rem; position: relative; }
.road-line { display: none; }

/* Perks */
.perks { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
@media (min-width: 900px) { .perks { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
.perk { padding: 18px; border-radius: var(--r-lg); background: #fff; box-shadow: var(--sh-1); }
.perk .ico { font-size: 1.5rem; color: var(--red); margin-bottom: 10px; }
.perk h4 { margin-bottom: 4px; font-family: var(--body); font-size: 1rem; }
.perk p { margin: 0; color: var(--muted); font-size: .9rem; }

/* Dark band (chauffeur / corporate) */
.band { background: var(--black); color: #fff; border-radius: var(--r-xl); overflow: hidden; position: relative; display: grid; isolation: isolate; }
@media (min-width: 900px) { .band { grid-template-columns: 1fr 1fr; } }
.band-copy { padding: 30px 22px; position: relative; z-index: 2; }
@media (min-width: 900px) { .band-copy { padding: 56px; } }
.band-copy p { color: rgba(255,255,255,.72); }
.band-visual { position: relative; min-height: 220px; }
.band-visual img { position: absolute; bottom: 8%; left: 50%; transform: translateX(-50%); width: 92%; filter: drop-shadow(0 20px 20px rgba(0,0,0,.6)); }
.band-visual::before { content: ""; position: absolute; inset: 10% 0 0; background: radial-gradient(closest-side, var(--violet), transparent); opacity: .6; }
.band ul { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 10px; }
.band li { display: flex; gap: 10px; align-items: center; font-weight: 600; }
.band li .ico { color: var(--red); }

/* Reviews */
.reviews { display: grid; grid-auto-flow: column; grid-auto-columns: 85%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 -16px; padding: 4px 16px 10px; }
.reviews::-webkit-scrollbar { display: none; }
@media (min-width: 900px) { .reviews { grid-auto-columns: calc(33.33% - 10px); margin: 0; padding: 4px 0 10px; } }
.review { scroll-snap-align: start; background: #fff; border-radius: var(--r-lg); padding: 22px; box-shadow: var(--sh-1); display: flex; flex-direction: column; gap: 12px; }
.stars { color: var(--amber); display: flex; gap: 2px; }
.stars .ico { fill: currentColor; stroke: none; }
.review p { margin: 0; font-size: 1.02rem; }
.review footer { margin-top: auto; display: flex; align-items: center; gap: 10px; font-size: .88rem; }
.review footer b { display: block; }

/* FAQ */
.faq details { background: #fff; border-radius: var(--r-md); margin-bottom: 10px; box-shadow: var(--sh-1); overflow: hidden; }
.faq summary { padding: 18px 20px; font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 14px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { transition: transform var(--t) var(--ease); flex: none; }
.faq details[open] summary .ico { transform: rotate(45deg); color: var(--red); }
.faq details > div { padding: 0 20px 18px; color: var(--ink-2); }

/* ------------------------------------------------------------ Page head (inner pages) */
.page-head { background: var(--black); color: #fff; padding: 26px 0 70px; position: relative; overflow: hidden; }
.page-head h1 { font-size: clamp(2rem, 7vw, 3.4rem); margin: 0 0 6px; }
.page-head p { color: rgba(255,255,255,.7); margin: 0; max-width: 560px; }
.page-head::after { content: ""; position: absolute; right: -60px; top: -40px; width: 340px; height: 200px; border-top: 6px solid var(--red); border-radius: 50%; transform: rotate(-12deg); opacity: .9; }
.pull-up { margin-top: -46px; position: relative; z-index: 3; }

/* ------------------------------------------------------------ Fleet page */
.fleet-bar { background: #fff; border-radius: var(--r-lg); padding: 12px; box-shadow: var(--sh-2); display: grid; gap: 10px; }
@media (min-width: 900px) { .fleet-bar { grid-template-columns: 1fr 1fr auto auto; align-items: end; padding: 14px; } }
.fleet-tools { display: flex; gap: 10px; align-items: center; justify-content: space-between; margin: 22px 0 14px; flex-wrap: wrap; }
.result-count { font-weight: 700; color: var(--ink-2); }
.sort-select { min-height: 42px; border-radius: var(--pill); border: 1.5px solid var(--line); padding: 0 36px 0 16px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315161C' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 16px; font-weight: 700; font-size: .9rem; -webkit-appearance: none; appearance: none; }
.empty { text-align: center; padding: 60px 20px; background: #fff; border-radius: var(--r-xl); }
.empty .ico { font-size: 2.6rem; color: var(--muted); margin-bottom: 10px; }

/* ------------------------------------------------------------ Car detail */
.detail { display: grid; gap: 22px; }
@media (min-width: 980px) { .detail { grid-template-columns: 1.35fr 1fr; gap: 32px; align-items: start; } }
.detail-stage { border-radius: var(--r-xl); }
.detail-stage .paint { aspect-ratio: 16/10.5; }
.detail-stage .paint img { width: 90%; }
.detail-title { display: flex; justify-content: space-between; align-items: flex-end; gap: 14px; margin: 20px 0 6px; }
.detail-title h1 { font-size: clamp(2rem, 6vw, 3rem); margin: 0; }
.spec-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 18px 0; }
@media (min-width: 640px) { .spec-grid { grid-template-columns: repeat(4, 1fr); } }
.spec-grid div { background: #fff; border-radius: var(--r-md); padding: 14px; box-shadow: var(--sh-1); }
.spec-grid .ico { color: var(--paint, var(--red)); font-size: 1.3rem; margin-bottom: 6px; }
.spec-grid b { display: block; font-size: 1rem; }
.spec-grid small { color: var(--muted); font-weight: 600; }
.feature-list { display: flex; flex-wrap: wrap; gap: 8px; }
.feature-list span { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; background: #fff; border-radius: var(--pill); font-weight: 600; font-size: .88rem; box-shadow: var(--sh-1); }
.feature-list .ico { color: var(--ok); }
.rate-table { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 14px 0; }
.rate-table div { text-align: center; padding: 12px 6px; border-radius: var(--r-md); background: var(--paper); }
.rate-table b { display: block; font: 800 1.15rem var(--display); }
.rate-table small { color: var(--muted); font-size: .76rem; font-weight: 700; }
.rate-table .on { background: var(--ink); color: #fff; }
.rate-table .on small { color: rgba(255,255,255,.7); }
.book-panel { position: sticky; top: 92px; }

/* ------------------------------------------------------------ Booking wizard */
.wizard { display: grid; gap: 22px; padding-bottom: 40px; }
@media (min-width: 980px) { .wizard { grid-template-columns: 1fr 380px; align-items: start; } }

/* Road progress — the car drives to the flag as you advance */
.roadbar { position: relative; padding: 16px 0 6px; }
.roadbar-track { position: relative; height: 34px; border-radius: 10px; background: #2a2c34; overflow: hidden; }
.roadbar-track::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 3px; margin-top: -1.5px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.7) 0 18px, transparent 18px 34px); }
.roadbar-fill { position: absolute; left: 0; top: 0; bottom: 0; width: var(--p, 0%); background: linear-gradient(90deg, rgba(229,51,42,.0), rgba(229,51,42,.55)); transition: width .9s var(--ease); }
.roadbar-car { position: absolute; top: 50%; left: var(--p, 0%); width: 46px; height: 22px; margin: -11px 0 0 -40px; transition: left .9s var(--ease); color: #fff; }
.roadbar-car svg { width: 100%; height: 100%; }
.roadbar-car.moving svg { animation: bounce .25s ease-in-out 3; }
@keyframes bounce { 50% { transform: translateY(-2px); } }
.roadbar-flag { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; background: conic-gradient(#fff 0 25%, #000 0 50%, #fff 0 75%, #000 0) 0 0 / 9px 9px; border-radius: 3px; }
.roadbar-steps { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 8px; font-size: .78rem; font-weight: 700; color: rgba(255,255,255,.5); }
.roadbar-steps span { text-align: center; transition: color var(--t); }
.roadbar-steps span.on { color: #fff; }
.roadbar-steps span.done { color: rgba(255,255,255,.8); }

.step { display: none; }
.step.on { display: block; animation: step-in .45s var(--ease) both; }
.step.back { animation-name: step-in-back; }
@keyframes step-in { from { opacity: 0; transform: translateX(26px); } }
@keyframes step-in-back { from { opacity: 0; transform: translateX(-26px); } }
.step-title { font: 800 italic 1.7rem/1.1 var(--display); margin: 0 0 4px; }
.step-sub { color: var(--muted); margin-bottom: 18px; }

/* Option tiles (protection, payment) */
.options { display: grid; gap: 10px; }
.opt { position: relative; display: block; cursor: pointer; }
.opt input { position: absolute; opacity: 0; }
.opt-box { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: var(--r-md); border: 2px solid var(--line); background: #fff; transition: border-color var(--t-fast), box-shadow var(--t), transform var(--t-fast); }
.opt:hover .opt-box { border-color: #c9ccd6; }
.opt input:checked + .opt-box { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(21,22,28,.06); }
.opt input:focus-visible + .opt-box { outline: 3px solid var(--blue); }
.opt-radio { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #c9ccd6; flex: none; margin-top: 2px; display: grid; place-items: center; transition: all var(--t-fast); }
.opt input:checked + .opt-box .opt-radio { border-color: var(--red); background: var(--red); box-shadow: inset 0 0 0 4px #fff; }
.opt-main { flex: 1; min-width: 0; }
.opt-main b { display: block; }
.opt-main small { color: var(--muted); display: block; font-size: .87rem; margin-top: 2px; }
.opt-price { font-weight: 800; white-space: nowrap; }
.opt-tag { position: absolute; top: -9px; right: 14px; background: var(--ok); color: #fff; font-size: .7rem; font-weight: 800; padding: 3px 9px; border-radius: var(--pill); }

/* Extras */
.extras { display: grid; gap: 10px; }
@media (min-width: 640px) { .extras { grid-template-columns: 1fr 1fr; } }
.extra { display: flex; gap: 12px; align-items: center; padding: 14px; border-radius: var(--r-md); background: #fff; border: 2px solid var(--line); transition: border-color var(--t-fast), background var(--t-fast); }
.extra.on { border-color: var(--ink); }
.extra-ic { width: 44px; height: 44px; border-radius: 12px; background: var(--paper); display: grid; place-items: center; font-size: 1.2rem; flex: none; transition: background var(--t), color var(--t); }
.extra.on .extra-ic { background: var(--red); color: #fff; }
.extra-main { flex: 1; min-width: 0; }
.extra-main b { display: block; font-size: .95rem; }
.extra-main small { color: var(--muted); font-size: .8rem; }
.qty { display: flex; align-items: center; gap: 4px; background: var(--paper); border-radius: var(--pill); padding: 3px; }
.qty button { width: 32px; height: 32px; border-radius: 50%; border: 0; background: #fff; display: grid; place-items: center; box-shadow: var(--sh-1); transition: transform var(--t-fast); }
.qty button:active { transform: scale(.88); }
.qty button:disabled { opacity: .35; }
.qty output { min-width: 18px; text-align: center; font-weight: 800; }
.toggle { position: relative; width: 52px; height: 32px; flex: none; }
.toggle input { position: absolute; inset: 0; opacity: 0; cursor: pointer; z-index: 1; margin: 0; }
.toggle i { position: absolute; inset: 0; border-radius: var(--pill); background: #d5d8e1; transition: background var(--t); }
.toggle i::after { content: ""; position: absolute; left: 3px; top: 3px; width: 26px; height: 26px; border-radius: 50%; background: #fff; box-shadow: var(--sh-1); transition: transform var(--t) var(--ease-spring); }
.toggle input:checked + i { background: var(--red); }
.toggle input:checked + i::after { transform: translateX(20px); }

/* Summary */
.summary { background: #fff; border-radius: var(--r-xl); box-shadow: var(--sh-2); overflow: hidden; }
@media (min-width: 980px) { .summary { position: sticky; top: 92px; } }
.summary .paint { border-radius: 0; aspect-ratio: 16/8.5; }
.summary-body { padding: 18px 20px 20px; }
.summary-trip { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: center; padding: 12px 0 14px; border-bottom: 1px dashed var(--line); margin-bottom: 12px; }
.summary-trip small { display: block; color: var(--muted); font-size: .75rem; font-weight: 700; }
.summary-trip b { font-size: .92rem; }
.summary-trip .arrow { color: var(--red); }
.lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .92rem; }
.lines li { display: flex; justify-content: space-between; gap: 12px; animation: line-in .35s var(--ease) both; }
.lines li span:first-child { color: var(--ink-2); }
.lines li.neg span:last-child { color: var(--ok); font-weight: 700; }
@keyframes line-in { from { opacity: 0; transform: translateY(-4px); } }
.total-row { display: flex; justify-content: space-between; align-items: flex-end; padding-top: 14px; margin-top: 14px; border-top: 2px solid var(--ink); }
.total-row small { color: var(--muted); font-size: .78rem; font-weight: 600; display: block; }
.total-big { font: 900 italic 2rem/1 var(--display); }

/* Odometer digits */
.odo { display: inline-flex; overflow: hidden; height: 1em; line-height: 1; vertical-align: bottom; }
.odo-d { display: inline-flex; flex-direction: column; transition: transform .8s var(--ease); }
.odo-d span { height: 1em; }
.odo-s { display: inline-block; }

/* Sticky mobile price bar */
.pricebar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 46; background: #fff; box-shadow: 0 -10px 30px -12px rgba(0,0,0,.25); padding: 12px 16px calc(12px + var(--safe-b)); display: flex; align-items: center; gap: 14px; border-radius: 22px 22px 0 0; }
@media (min-width: 980px) { .pricebar { display: none; } }
.pricebar .pb-total { font: 900 italic 1.45rem/1 var(--display); }
.pricebar small { color: var(--muted); font-size: .74rem; font-weight: 700; display: block; }
.pricebar .btn { flex: 1; max-width: 230px; margin-left: auto; }
.has-pricebar .tabbar { display: none; }
.has-pricebar { padding-bottom: calc(96px + var(--safe-b)); }
@media (min-width: 980px) { .has-pricebar { padding-bottom: 0; } }
.step-nav { display: flex; gap: 10px; margin-top: 22px; }
.step-nav .btn-red { flex: 1; }

/* Payment */
.mpesa-box { border-radius: var(--r-lg); padding: 18px; background: linear-gradient(135deg, #e9f9ee, #fff); border: 2px solid #bde8cb; }
.mpesa-logo { font: 900 italic 1.3rem var(--display); color: #19A35B; letter-spacing: .02em; }
.phone-wait { text-align: center; padding: 26px 10px; }
.phone-anim { width: 92px; height: 150px; margin: 0 auto 18px; border-radius: 18px; border: 4px solid var(--ink); position: relative; background: #fff; animation: buzz 1.4s ease-in-out infinite; }
.phone-anim::before { content: ""; position: absolute; top: 8px; left: 50%; width: 26px; height: 4px; margin-left: -13px; border-radius: 4px; background: var(--ink); }
.phone-anim i { position: absolute; left: 10px; right: 10px; top: 36px; height: 60px; border-radius: 8px; background: #e3f7ec; display: grid; place-items: center; font: 800 .8rem var(--display); color: #19A35B; }
@keyframes buzz { 0%, 60%, 100% { transform: rotate(0); } 65% { transform: rotate(-5deg); } 70% { transform: rotate(5deg); } 75% { transform: rotate(-4deg); } 80% { transform: rotate(3deg); } }

/* Confirmation */
.confirm { text-align: center; padding: 30px 10px 10px; }
.confirm-check { width: 92px; height: 92px; border-radius: 50%; margin: 0 auto 18px; background: var(--ok); display: grid; place-items: center; color: #fff; font-size: 2.6rem; animation: pop .6s var(--ease-spring) both; box-shadow: 0 0 0 10px var(--ok-bg); }
@keyframes pop { from { transform: scale(0); } }
.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 90; overflow: hidden; }
.confetti i { position: absolute; top: -20px; width: 10px; height: 16px; border-radius: 2px; animation: fall linear forwards; }
@keyframes fall { to { transform: translateY(110vh) rotate(720deg); } }

/* ------------------------------------------------------------ Boarding pass */
.pass { background: var(--black); color: #fff; border-radius: var(--r-xl); overflow: hidden; position: relative; }
.pass-top { padding: 20px 22px 16px; display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.pass-top img.logo { height: 34px; width: auto; }
.pass-ref { font: 900 italic 1.6rem/1 var(--display); letter-spacing: .04em; }
.pass-route { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; padding: 0 22px 18px; align-items: center; }
.pass-route small { color: rgba(255,255,255,.55); font-size: .74rem; font-weight: 700; display: block; }
.pass-route b { font-size: 1rem; display: block; }
.pass-route .ico { color: var(--red); font-size: 1.4rem; }
.pass-tear { height: 24px; position: relative; background: radial-gradient(circle at 0 50%, var(--paper) 11px, transparent 12px) left / 50% 100% no-repeat, radial-gradient(circle at 100% 50%, var(--paper) 11px, transparent 12px) right / 50% 100% no-repeat; }
.pass-tear::after { content: ""; position: absolute; left: 22px; right: 22px; top: 50%; border-top: 2px dashed rgba(255,255,255,.2); }
.pass-bottom { padding: 16px 22px 22px; display: flex; gap: 18px; align-items: center; }
.pass-qr { background: #fff; padding: 8px; border-radius: 12px; width: 112px; height: 112px; flex: none; }
.pass-qr img, .pass-qr canvas, .pass-qr svg { width: 100%; height: 100%; }
.pass-car { flex: 1; min-width: 0; }
.pass-car img { width: 100%; max-width: 230px; filter: drop-shadow(0 10px 10px rgba(0,0,0,.6)); }

/* ------------------------------------------------------------ Trip timeline */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline li { position: relative; padding: 0 0 22px 46px; min-height: 34px; }
.timeline li::before { content: ""; position: absolute; left: 15px; top: 30px; bottom: -2px; width: 3px; background: var(--line); border-radius: 2px; }
.timeline li:last-child::before { display: none; }
.timeline li.done::before { background: var(--ok); }
.timeline .tl-dot { position: absolute; left: 0; top: 0; width: 33px; height: 33px; border-radius: 50%; background: var(--paper); color: var(--muted); display: grid; place-items: center; border: 3px solid #fff; box-shadow: 0 0 0 1.5px var(--line); }
.timeline li.done .tl-dot { background: var(--ok); color: #fff; box-shadow: none; }
.timeline li.now .tl-dot { background: var(--red); color: #fff; box-shadow: 0 0 0 6px rgba(229,51,42,.18); animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 11px rgba(229,51,42,.06); } }
.timeline b { display: block; padding-top: 5px; }
.timeline small { color: var(--muted); }

/* ------------------------------------------------------------ Gauges */
.gauge { position: relative; width: 100%; max-width: 220px; aspect-ratio: 2 / 1.15; margin: 0 auto; }
.gauge svg { width: 100%; height: 100%; overflow: visible; }
.gauge .g-track { fill: none; stroke: #ECEDF2; stroke-width: 14; stroke-linecap: round; }
.gauge .g-val { fill: none; stroke: var(--g, var(--red)); stroke-width: 14; stroke-linecap: round; transition: stroke-dashoffset 1.4s var(--ease); }
.gauge .g-needle { transform-origin: 100px 100px; transition: transform 1.4s var(--ease-spring); }
.gauge-label { position: absolute; left: 0; right: 0; bottom: 0; text-align: center; }
.gauge-label b { font: 900 italic 1.6rem/1 var(--display); display: block; }
.gauge-label small { color: var(--muted); font-weight: 700; font-size: .76rem; }

/* ------------------------------------------------------------ Bottom sheet / modal */
.sheet-back { position: fixed; inset: 0; z-index: 80; background: rgba(10,10,14,.5); backdrop-filter: blur(3px); opacity: 0; pointer-events: none; transition: opacity var(--t); }
.sheet-back.open { opacity: 1; pointer-events: auto; }
.sheet { position: fixed; z-index: 81; left: 0; right: 0; bottom: 0; max-height: 92vh; overflow: auto; background: #fff; border-radius: 26px 26px 0 0; padding: 10px 20px calc(24px + var(--safe-b)); transform: translateY(105%); transition: transform .45s var(--ease); }
.sheet.open { transform: none; }
.sheet::before { content: ""; display: block; width: 44px; height: 5px; border-radius: 4px; background: var(--line); margin: 0 auto 14px; }
@media (min-width: 700px) { .sheet { left: 50%; right: auto; bottom: auto; top: 50%; width: 520px; border-radius: 26px; transform: translate(-50%, -46%) scale(.96); opacity: 0; pointer-events: none; transition: transform .35s var(--ease), opacity .25s; padding: 24px 26px 26px; } .sheet.open { transform: translate(-50%, -50%); opacity: 1; pointer-events: auto; } .sheet::before { display: none; } }
.sheet-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.sheet-head h3 { margin: 0; font-size: 1.4rem; font-style: italic; font-weight: 800; }
.sheet-x { width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--paper); display: grid; place-items: center; }

/* ------------------------------------------------------------ Toasts */
.toasts { position: fixed; z-index: 95; left: 50%; top: calc(74px + env(safe-area-inset-top, 0px)); transform: translateX(-50%); display: grid; gap: 8px; width: min(440px, calc(100% - 24px)); pointer-events: none; }
.toast { display: flex; gap: 10px; align-items: center; background: var(--ink); color: #fff; padding: 14px 16px; border-radius: 16px; box-shadow: var(--sh-3); font-weight: 600; font-size: .95rem; animation: toast-in .5s var(--ease-spring) both, toast-out .4s var(--ease) 4.6s forwards; pointer-events: auto; }
.toast .ico { color: #5be08f; font-size: 1.25rem; }
.toast-error .ico { color: #ff7a72; }
@keyframes toast-in { from { opacity: 0; transform: translateY(-16px) scale(.96); } }
@keyframes toast-out { to { opacity: 0; transform: translateY(-10px); } }

/* ------------------------------------------------------------ Auth */
.auth { min-height: calc(100vh - 64px); display: grid; place-items: start center; padding: 28px 16px 40px; background: radial-gradient(80% 50% at 50% 0%, #2a0c0a 0%, var(--black) 70%); }
@media (min-width: 700px) { .auth { place-items: center; } }
.auth-card { width: 100%; max-width: 440px; background: #fff; border-radius: var(--r-xl); padding: 26px 22px; box-shadow: var(--sh-3); }
@media (min-width: 700px) { .auth-card { padding: 34px; } }
.auth-card h1 { font-size: 2.1rem; margin-bottom: 4px; }
.auth-switch { text-align: center; margin-top: 16px; color: var(--muted); }
.demo-logins { margin-top: 18px; padding: 14px; border-radius: var(--r-md); background: var(--paper); font-size: .82rem; }
.demo-logins button { border: 0; background: #fff; border-radius: 8px; padding: 6px 10px; margin: 4px 4px 0 0; font-weight: 700; font-size: .78rem; box-shadow: var(--sh-1); }

/* ------------------------------------------------------------ Footer */
.site-foot { background: var(--black); color: rgba(255,255,255,.72); padding: 46px 0 24px; margin-top: 40px; }
.foot-grid { display: grid; gap: 28px; }
@media (min-width: 800px) { .foot-grid { grid-template-columns: 2fr 1fr 1fr; } }
.foot-brand img { height: 56px; width: auto; margin-bottom: 14px; }
.foot-brand p { max-width: 360px; }
.foot-contact { display: grid; gap: 8px; }
.foot-contact a, .foot-contact span { display: flex; gap: 10px; align-items: center; }
.site-foot h4 { color: #fff; font-family: var(--body); margin-bottom: 12px; }
.site-foot a { display: block; padding: 4px 0; transition: color var(--t-fast); }
.foot-contact a { display: flex; }
.site-foot a:hover { color: #fff; }
.foot-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; border-top: 1px solid rgba(255,255,255,.1); margin-top: 30px; padding-top: 18px; font-size: .85rem; }
.pay-marks { display: flex; gap: 8px; }
.pay-marks span { padding: 3px 9px; border: 1px solid rgba(255,255,255,.2); border-radius: 6px; font-weight: 800; font-size: .72rem; letter-spacing: .04em; }

/* ------------------------------------------------------------ Misc */
.notice { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r-md); background: var(--info-bg); color: #123b78; font-size: .92rem; }
.notice .ico { font-size: 1.2rem; flex: none; margin-top: 1px; }
.notice.warn { background: var(--warn-bg); color: #6b4300; }
.notice.bad { background: var(--bad-bg); color: #7d1510; }
.notice.ok { background: var(--ok-bg); color: #0d5a31; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; font-size: .94rem; }
.kv dt { color: var(--muted); font-weight: 600; }
.kv dd { margin: 0; font-weight: 700; text-align: right; }
.divider { height: 1px; background: var(--line); margin: 18px 0; border: 0; }
.skeleton { background: linear-gradient(90deg, #eceef3 25%, #f6f7fa 50%, #eceef3 75%); background-size: 200% 100%; animation: shimmer 1.2s infinite; border-radius: 12px; }
@keyframes shimmer { to { background-position: -200% 0; } }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ------------------------------------------------------------ Wizard extras */
[hidden] { display: none !important; }
.step-nav #nextBtn { display: none; }
@media (min-width: 980px) { .step-nav #nextBtn { display: inline-flex; flex: 1; } }
.wizard.done { grid-template-columns: 1fr; }
.upload-tile { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-align: center; min-height: 140px; padding: 16px; border-radius: var(--r-md); border: 2px dashed #c9ccd6; background: var(--paper) center / cover no-repeat; cursor: pointer; transition: border-color var(--t-fast), background-color var(--t-fast); }
.upload-tile:hover { border-color: var(--ink); }
.upload-tile input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.upload-ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: #fff; font-size: 1.3rem; box-shadow: var(--sh-1); margin-bottom: 6px; }
.upload-tile small { color: var(--muted); font-size: .8rem; }
.upload-tile.done { border-style: solid; border-color: var(--ok); color: #fff; }
.upload-tile.done small { color: rgba(255,255,255,.8); }
.upload-tile.done .upload-ic { background: var(--ok); color: #fff; }
.pass-car b { display: block; margin-top: 6px; font-size: .9rem; }
.step-sub { font-size: 1rem; }
.wiz-main { min-width: 0; }
.summary .car-cat { margin: 0; }
.dt-field, .dt-field input, .dt-field select { min-width: 0; }
@media (max-width: 559px) { .dt-pair { grid-template-columns: 1fr; } }
.fleet-tools .row { flex-wrap: wrap; }
.odo { font-variant-numeric: tabular-nums; }
@media (max-width: 699px) { .page-head::after { right: -190px; top: -70px; opacity: .55; } }
.mpesa-logo { white-space: nowrap; }
@media (max-width: 559px) {
  .opt-box { flex-wrap: wrap; }
  .opt-price { width: 100%; padding-left: 36px; margin-top: -4px; }
  .hide-xs { display: none; }
}
#quickBook { scroll-margin-top: 84px; }
html, body { overflow-x: clip; }
.pw-field input { padding-right: 52px; }
.pw-eye { position: absolute; right: 6px; bottom: 6px; width: 40px; height: 40px; border: 0; border-radius: 10px; background: transparent; color: var(--muted); display: grid; place-items: center; }
.pw-eye.on { color: var(--red); background: var(--paper); }

/* ------------------------------------------------------------ Home on phones: no collisions at the fold */
@media (max-width: 899px) {
  /* Floating menu waits until the search card has scrolled away */
  .home .tabbar { transform: translateY(calc(100% + 24px)); opacity: 0; transition: transform .45s var(--ease), opacity .3s; pointer-events: none; }
  .home.tabbar-in .tabbar { transform: none; opacity: 1; pointer-events: auto; }
}
@media (max-width: 699px) {
  .hero { padding: 18px 0 132px; }
  .hero h1 { font-size: clamp(2.3rem, 11vw, 3rem); margin-bottom: 12px; }
  .hero-sub { font-size: 1rem; margin-bottom: 14px; }
  .hero-trust { gap: 6px 14px; font-size: .82rem; }
  .hero-stage { height: 250px; }
  .hero-car { bottom: 18%; }
  .hero-road { bottom: 19%; }
  .hero-caption { top: 2%; }
  .hero-caption b { font-size: 1rem; }
  .hero-swatches { bottom: 4px; gap: 7px; padding: 5px; }
  .hero-swatches button { width: 26px; height: 26px; }
  .finder { margin-top: -108px; }
}
