/* =========================================================
   Gear Bay — black & white glass theme
   Dark (black) is the default; html[data-theme="light"] = white.
   ========================================================= */
:root,
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #050505;
  --bg-solid: #0c0c0d;
  --ink: #f5f5f5;
  --ink-2: #d0d0d2;
  --muted: #8e8e94;
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .17);
  --glass: rgba(255, 255, 255, .035);
  --glass-2: rgba(255, 255, 255, .075);
  --glass-3: rgba(255, 255, 255, .13);
  --glass-strong: rgba(16, 16, 18, .78);
  --glass-border: rgba(255, 255, 255, .11);
  --glass-hi: inset 0 1px 0 rgba(255, 255, 255, .07);
  --field: rgba(255, 255, 255, .04);
  --inv-bg: #ffffff;
  --inv-ink: #050505;
  --header-bg: rgba(5, 5, 5, .42);
  --header-bg-2: rgba(5, 5, 5, .78);
  --menu-bg: rgba(12, 12, 13, .97);
  --spot: rgba(176, 16, 31, .10);
  --spot-border: rgba(225, 85, 85, .7);
  --orb: rgba(255, 255, 255, .05);
  --orb-2: rgba(255, 255, 255, .035);
  --hero-glow: rgba(255, 255, 255, .06);
  --accent: #f0706a;
  /* gradient text on black needs slightly lighter shades to stay readable */
  --tx-1: #c0193f;
  --tx-2: #df2430;
  --tx-3: #e0552c;
  --grid-line: rgba(255, 255, 255, .055);
  --grain-op: .07;
  --btn-glow: rgba(160, 14, 30, .5);
  --shine: rgba(0, 0, 0, .14);
  --shadow: 0 24px 50px -24px rgba(0, 0, 0, .85);
  --shadow-lg: 0 40px 100px -30px rgba(0, 0, 0, .95);
  --ring: 0 0 0 4px rgba(176, 16, 31, .3);
  --danger: #ff6b6b;
  --danger-bg: rgba(255, 107, 107, .12);
  --chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23f5f5f5' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
}
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #efeff0;
  --bg-solid: #ffffff;
  --ink: #0a0a0a;
  --ink-2: #2c2c2f;
  --muted: #6a6a70;
  --line: rgba(0, 0, 0, .08);
  --line-2: rgba(0, 0, 0, .15);
  --glass: rgba(255, 255, 255, .5);
  --glass-2: rgba(255, 255, 255, .72);
  --glass-3: rgba(0, 0, 0, .06);
  --glass-strong: rgba(255, 255, 255, .86);
  --glass-border: rgba(0, 0, 0, .08);
  --glass-hi: inset 0 1px 0 rgba(255, 255, 255, .95);
  --field: rgba(255, 255, 255, .75);
  --inv-bg: #0a0a0a;
  --inv-ink: #ffffff;
  --header-bg: rgba(239, 239, 240, .55);
  --header-bg-2: rgba(239, 239, 240, .85);
  --menu-bg: rgba(255, 255, 255, .97);
  --spot: rgba(176, 16, 31, .06);
  --spot-border: rgba(150, 14, 30, .5);
  --orb: rgba(255, 255, 255, .75);
  --orb-2: rgba(0, 0, 0, .035);
  --hero-glow: rgba(255, 255, 255, .95);
  --accent: #a00e1c;
  --tx-1: var(--brand-1);
  --tx-2: var(--brand-2);
  --tx-3: var(--brand-3);
  --grid-line: rgba(0, 0, 0, .05);
  --grain-op: .045;
  --btn-glow: rgba(150, 14, 30, .4);
  --shine: rgba(255, 255, 255, .28);
  --shadow: 0 22px 50px -26px rgba(0, 0, 0, .28);
  --shadow-lg: 0 40px 90px -30px rgba(0, 0, 0, .38);
  --ring: 0 0 0 4px rgba(150, 14, 30, .2);
  --danger: #d32f2f;
  --danger-bg: rgba(211, 47, 47, .08);
  --chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230a0a0a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
}
:root {
  --header-h: 68px;
  --blur: 18px;
  --ease: cubic-bezier(.2, .75, .2, 1);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  /* brand gradient: the Gear Bay logo's reds (#7A0C1C → #F24935), slightly muted for the UI */
  --brand-1: #8c0c2b;
  --brand-2: #b0101f;
  --brand-3: #bf3714;
  --brand-grad: linear-gradient(100deg, var(--brand-1) 0%, var(--brand-2) 55%, var(--brand-3) 100%);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); scrollbar-color: var(--line-2) transparent; }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  font-family: var(--font); font-size: 15px; line-height: 1.55;
  color: var(--ink); background: var(--bg);
  -webkit-font-smoothing: antialiased;
  transition: background-color .4s var(--ease), color .4s var(--ease);
}
::selection { background: var(--ink); color: var(--bg); }
main { flex: 1; outline: none; position: relative; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -.02em; }
p { margin: 0; }
[hidden] { display: none !important; }
.icon { flex-shrink: 0; vertical-align: middle; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.container { width: 100%; max-width: 1480px; margin: 0 auto; padding: 0 28px; }
.container.narrow { max-width: 880px; }
.muted { color: var(--muted); }
.small { font-size: 12.5px; }
.center { text-align: center; }
.grow { flex: 1; min-width: 0; }
.dot { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: .5; display: inline-block; }

/* ---------- animated background ---------- */
.bg-fx { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; background: radial-gradient(circle, var(--orb), transparent 64%); will-change: transform; }
.o1 { width: 70vmax; height: 70vmax; top: -32vmax; left: -22vmax; animation: drift1 28s ease-in-out infinite alternate; }
.o2 { width: 60vmax; height: 60vmax; bottom: -32vmax; right: -24vmax; background: radial-gradient(circle, var(--orb-2), transparent 64%); animation: drift2 34s ease-in-out infinite alternate; }
.o3 { width: 36vmax; height: 36vmax; top: 38%; left: 44%; animation: drift3 24s ease-in-out infinite alternate; }
.cursor-glow {
  position: absolute; left: -280px; top: -280px; width: 560px; height: 560px; border-radius: 50%;
  background: radial-gradient(circle, var(--orb), transparent 62%);
  opacity: 0; transition: opacity .6s; will-change: transform;
}
.cursor-glow.on { opacity: 1; }
.grain {
  position: absolute; inset: -100%; opacity: var(--grain-op);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 9s steps(9) infinite;
}
:root[data-theme="light"] .grain { filter: invert(1); }
@keyframes drift1 { to { transform: translate(18vw, 22vh) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-22vw, -18vh) scale(1.1); } }
@keyframes drift3 { 0% { transform: translate(0, 0); } 50% { transform: translate(-20vw, 10vh) scale(.85); } 100% { transform: translate(10vw, -20vh) scale(1.2); } }
@keyframes grain {
  0%, 100% { transform: translate(0, 0); } 10% { transform: translate(-5%, -10%); } 30% { transform: translate(3%, -15%); }
  50% { transform: translate(12%, 9%); } 70% { transform: translate(9%, 4%); } 90% { transform: translate(-1%, 7%); }
}

/* route progress bar */
#routeBar {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 90; pointer-events: none;
  transform-origin: left; transform: scaleX(0); opacity: 0;
  background: linear-gradient(90deg, transparent, var(--ink) 55%, var(--ink));
  box-shadow: 0 0 14px var(--ink);
}
#routeBar.go { animation: routeBar .85s var(--ease) forwards; }
@keyframes routeBar { 0% { transform: scaleX(0); opacity: 1; } 65% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }

/* page enter (transform only, so glass blur keeps working) */
#app.page-enter { animation: pageIn .55s var(--ease) backwards; }
@keyframes pageIn { from { transform: translateY(14px); } }

/* theme switch (View Transitions API) */
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }

/* scroll reveal (class added by JS; only when motion is allowed) */
.anim .reveal { opacity: 0; transform: translateY(28px) scale(.985); }
.anim .reveal.in { opacity: 1; transform: none; transition: opacity .8s var(--ease), transform .8s var(--ease); }

/* shared keyframes */
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-10px); } }
@keyframes pop { 50% { transform: scale(1.12); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes shimmer { 0% { transform: translateX(-120%); } 60%, 100% { transform: translateX(120%); } }
@keyframes pulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(3.2); opacity: 0; } }
@keyframes breathe { 0%, 100% { box-shadow: 0 8px 22px -10px var(--btn-glow); } 50% { box-shadow: 0 10px 34px -6px var(--btn-glow); } }

/* ---------- glass surfaces ---------- */
.card, .biz-card, .cat-tile, .service-tile, .filters, .panel, .side-card, .safety, .form-card,
.auth-card, .row-item, .enq, .info-strip, .type-tabs, .float-card, .gallery-main, .how-card, .doc-table-wrap, .doc-faq {
  background: linear-gradient(160deg, var(--glass-2), var(--glass));
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-hi), var(--shadow);
  -webkit-backdrop-filter: blur(var(--blur)) saturate(140%);
  backdrop-filter: blur(var(--blur)) saturate(140%);
}

/* mouse-follow spotlight + glowing edge */
.card, .biz-card, .cat-tile, .service-tile, .float-card { position: relative; isolation: isolate; }
.card::before, .biz-card::before, .cat-tile::before, .service-tile::before, .float-card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 2;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), var(--spot), transparent 45%);
  opacity: 0; transition: opacity .35s;
}
.card::after, .biz-card::after, .cat-tile::after, .service-tile::after, .float-card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; z-index: 3;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 0%), var(--spot-border), transparent 45%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: 0; transition: opacity .35s;
}
.card:hover::before, .biz-card:hover::before, .cat-tile:hover::before, .service-tile:hover::before, .float-card:hover::before,
.card:hover::after, .biz-card:hover::after, .cat-tile:hover::after, .service-tile:hover::after, .float-card:hover::after { opacity: 1; }

/* ---------- buttons ---------- */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; padding: 0 18px; border-radius: 12px; border: 1px solid transparent; background: none;
  font-weight: 700; font-size: 14.5px; white-space: nowrap; text-align: center;
  transition: background .25s, border-color .25s, color .25s, box-shadow .3s, transform .25s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.97); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.btn .icon { transition: transform .35s var(--ease); }
.btn:hover .icon { transform: translateX(2px); }
.btn-primary { background: var(--inv-bg); color: var(--inv-ink); box-shadow: 0 8px 22px -10px var(--btn-glow); }
.btn-primary:hover { box-shadow: 0 14px 34px -10px var(--btn-glow); }
.btn-primary::after {
  content: ""; position: absolute; top: 0; left: -70%; width: 45%; height: 100%; z-index: -1;
  background: linear-gradient(100deg, transparent, var(--shine), transparent);
  transform: skewX(-20deg); transition: left .7s var(--ease);
}
.btn-primary:hover::after { left: 130%; }
.btn-outline { background: var(--glass); border-color: var(--line-2); color: var(--ink); }
.btn-outline:hover { background: var(--glass-2); border-color: var(--ink); }
.btn-soft { background: var(--glass-2); border-color: var(--line); color: var(--ink); }
.btn-soft:hover { background: var(--glass-3); border-color: var(--line-2); }
.btn-ghost { color: var(--ink-2); }
.btn-ghost:hover { background: var(--glass-2); color: var(--ink); }
.btn-white { background: var(--inv-ink); color: var(--inv-bg); }
.btn-white:hover { box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .5); }
.btn-danger { background: var(--danger); color: #fff; }
.btn-danger-ghost { background: transparent; color: var(--danger); border-color: var(--line-2); border-color: color-mix(in srgb, var(--danger) 45%, transparent); }
.btn-danger-ghost:hover { background: var(--danger-bg); }
.btn-lg { height: 50px; padding: 0 24px; font-size: 15.5px; border-radius: 14px; }
.btn-sm { height: 34px; padding: 0 12px; font-size: 13px; border-radius: 9px; gap: 6px; }
.btn-block { width: 100%; }
.btn-post { animation: breathe 3.6s ease-in-out infinite; }
.ripple {
  position: absolute; border-radius: 50%; background: currentColor; opacity: .25; z-index: -1;
  transform: scale(0); animation: ripple .65s var(--ease) forwards; pointer-events: none;
}
@keyframes ripple { to { transform: scale(1); opacity: 0; } }

.link-btn { background: none; border: 0; padding: 0; color: var(--ink); font-weight: 700; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; transition: text-decoration-color .2s; }
.link-btn:hover { text-decoration-color: var(--ink); }
.link-btn:disabled { color: var(--muted); cursor: default; text-decoration: none; }

.icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; border: 1px solid transparent; background: none; color: var(--ink-2); transition: background .2s, border-color .2s, color .2s; }
.icon-btn:hover { background: var(--glass-2); border-color: var(--line); color: var(--ink); }
.theme-toggle .icon { transition: transform .6s var(--ease); }
.theme-toggle:hover .icon { transform: rotate(45deg) scale(1.1); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: var(--header-bg); border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  backdrop-filter: blur(22px) saturate(160%);
  transition: background .35s, box-shadow .35s;
  animation: fadeDown .7s var(--ease) backwards;
}
.site-header.scrolled { background: var(--header-bg-2); box-shadow: 0 12px 30px -18px rgba(0, 0, 0, .6); }
.header-inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 21px; letter-spacing: -.03em; color: var(--ink); white-space: nowrap; }
.main-nav { display: flex; gap: 2px; }
.main-nav a {
  position: relative; padding: 8px 12px; border-radius: 10px; white-space: nowrap;
  font-weight: 600; font-size: 14.5px; color: var(--muted); transition: color .2s, background .2s;
  animation: fadeDown .6s var(--ease) backwards;
}
.main-nav a:nth-child(1) { animation-delay: .10s; }
.main-nav a:nth-child(2) { animation-delay: .16s; }
.main-nav a:nth-child(3) { animation-delay: .22s; }
.main-nav a:nth-child(4) { animation-delay: .28s; }
.main-nav a:nth-child(5) { animation-delay: .34s; }
.main-nav a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 1.5px; border-radius: 2px;
  background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease);
}
.main-nav a:hover { color: var(--ink); }
.main-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.main-nav a.active { color: var(--ink); background: var(--glass-2); box-shadow: inset 0 0 0 1px var(--line); }
.main-nav a.active::after { transform: scaleX(0); }
.nav-theme { display: none; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.avatar-btn {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--glass-2); color: var(--ink); font-weight: 800; font-size: 14px;
  box-shadow: inset 0 0 0 1px var(--line-2); transition: box-shadow .25s, transform .25s var(--ease);
}
.avatar-btn:hover { box-shadow: inset 0 0 0 1.5px var(--ink); transform: scale(1.06); }
.menu-toggle { display: none; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 50px 0 34px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; left: 50%; top: -45%; width: 140%; height: 120%; transform: translateX(-50%);
  background: radial-gradient(ellipse at center, var(--hero-glow), transparent 60%);
  animation: glowPulse 9s ease-in-out infinite; pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 52px 52px;
  -webkit-mask-image: radial-gradient(ellipse 65% 75% at 72% 30%, #000 15%, transparent 70%);
  mask-image: radial-gradient(ellipse 65% 75% at 72% 30%, #000 15%, transparent 70%);
  animation: gridPan 24s linear infinite;
}
@keyframes glowPulse { 0%, 100% { opacity: .75; transform: translateX(-50%) scale(1); } 50% { opacity: 1; transform: translateX(-50%) scale(1.08); } }
@keyframes gridPan { to { background-position: 52px 52px, 52px 52px; } }
.hero-inner { position: relative; z-index: 1; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; border-radius: 999px;
  background: var(--glass-2); border: 1px solid var(--line-2); font-size: 13px; font-weight: 600; color: var(--ink-2);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  animation: fadeUp .8s var(--ease) .05s backwards;
}
.pulse-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); }
.pulse-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--ink); animation: pulse 1.8s ease-out infinite; }
.hero h1 { font-size: clamp(38px, 6.2vw, 64px); font-weight: 800; line-height: 1.02; letter-spacing: -.05em; margin: 18px 0 16px; max-width: 760px; }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.w > span { display: inline-block; animation: wordUp .95s var(--ease) backwards; animation-delay: calc(var(--i) * 70ms + 150ms); }
@keyframes wordUp { from { transform: translateY(112%) rotate(5deg); opacity: 0; } }
.w > .shine-text {
  background: linear-gradient(90deg, var(--ink) 0%, var(--muted) 25%, var(--ink) 50%, var(--muted) 75%, var(--ink) 100%);
  background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: wordUp .95s var(--ease) backwards, textShine 5s linear infinite;
  animation-delay: calc(var(--i) * 70ms + 150ms), 1.3s;
}
@keyframes textShine { to { background-position: -200% center; } }
.hero .lead { font-size: clamp(16px, 1.6vw, 19px); color: var(--muted); max-width: 600px; animation: fadeUp .9s var(--ease) .75s backwards; }
.hero-stats { display: flex; gap: 0; margin-top: 30px; flex-wrap: wrap; animation: fadeUp 1s var(--ease) 1.05s backwards; }
.hero-stats > div { padding: 0 28px; border-left: 1px solid var(--line-2); }
.hero-stats > div:first-child { padding-left: 0; border-left: 0; }
.hero-stats strong { display: block; font-size: 34px; font-weight: 800; line-height: 1.1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.hero-stats span { font-size: 13px; color: var(--muted); }

/* floating showcase cards (desktop) */
.hero-float { position: absolute; top: 0; right: 0; width: 340px; height: 360px; z-index: 2; }
.float-card {
  position: absolute; width: 290px; display: flex; align-items: center; gap: 12px;
  padding: 10px 16px 10px 10px; border-radius: 18px; background: var(--glass-strong);
  transition: scale .35s var(--ease);
  animation: floatIn 1s var(--ease) backwards, floaty 7s ease-in-out infinite;
}
.float-card:hover { scale: 1.04; z-index: 5; }
.fc-1 { top: 0; right: 0; rotate: 3deg; animation-delay: 1.1s, 2s; }
.fc-2 { top: 120px; right: 64px; rotate: -4deg; animation-delay: 1.25s, 2.6s; animation-duration: 1s, 8.5s; }
.fc-3 { top: 240px; right: 8px; rotate: 2deg; animation-delay: 1.4s, 3.2s; animation-duration: 1s, 6.5s; }
@keyframes floatIn { from { opacity: 0; translate: 70px 0; } }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.fc-thumb { width: 66px; height: 54px; flex-shrink: 0; border-radius: 12px; overflow: hidden; display: grid; place-items: center; background: var(--glass-2); color: var(--muted); }
.fc-thumb img { width: 100%; height: 100%; object-fit: cover; }
.fc-body { min-width: 0; }
.fc-body strong { display: block; font-size: 13.5px; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fc-body small { font-size: 13px; font-weight: 800; }
.fc-body small small { font-weight: 600; color: var(--muted); }

/* ---------- segmented control ---------- */
.segmented { display: inline-flex; gap: 2px; padding: 4px; border-radius: 13px; background: var(--glass-2); border: 1px solid var(--line); }
.segmented label { position: relative; flex: 1; }
.segmented input { position: absolute; opacity: 0; pointer-events: none; }
.segmented button, .segmented label span {
  display: block; text-align: center; border: 0; background: none; cursor: pointer;
  padding: 8px 16px; border-radius: 10px; font-weight: 700; font-size: 14px; color: var(--muted);
  transition: background .3s var(--ease), color .3s, box-shadow .3s;
}
.segmented button:hover, .segmented label span:hover { color: var(--ink); }
.segmented button.active, .segmented input:checked + span { background: var(--inv-bg); color: var(--inv-ink); box-shadow: 0 6px 16px -8px var(--btn-glow); }
.segmented input:focus-visible + span { outline: 2px solid var(--ink); }
.seg-full { display: flex; width: 100%; }

/* ---------- sections ---------- */
.section { padding: 64px 0; }
.section-tint { background: linear-gradient(180deg, transparent, var(--glass) 20%, var(--glass) 80%, transparent); border-block: 1px solid var(--line); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.section-head h2 { font-size: clamp(24px, 2.8vw, 34px); font-weight: 800; letter-spacing: -.035em; }
.section-head p { color: var(--muted); margin-top: 6px; }
.link-more { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); font-weight: 700; white-space: nowrap; }
.link-more .icon { transition: transform .3s var(--ease); }
.link-more:hover .icon { transform: translateX(5px); }

/* vehicle type tiles: one slim row (icon beside the name), so the latest listings sit close below the hero */
.section-types { padding: 28px 0 0; }
.section-types .section-head { margin-bottom: 14px; }
.section-latest { padding-top: 30px; }
.section-latest .section-head { margin-bottom: 18px; }
.cat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.cat-tile {
  display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center;
  padding: 11px 14px; border-radius: 16px; min-width: 0;
  transition: transform .45s var(--ease), border-color .3s;
}
.cat-tile:hover { transform: translateY(-3px); border-color: var(--line-2); }
.cat-icon {
  grid-row: 1 / 3; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: var(--glass-2); border: 1px solid var(--line); color: var(--ink);
  transition: background .35s, color .35s, transform .5s var(--ease);
}
.cat-tile:hover .cat-icon { background: var(--inv-bg); color: var(--inv-ink); transform: rotate(-10deg) scale(1.08); }
.cat-tile strong { font-size: 15px; line-height: 1.25; align-self: end; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cat-tile .muted { font-size: 12.5px; line-height: 1.3; align-self: start; white-space: nowrap; }
/* wide screens: the heading sits beside the row instead of above it */
@media (min-width: 1340px) {
  .types-row { display: flex; align-items: center; gap: 40px; }
  .types-row .section-head { margin: 0; flex: none; }
  .types-row .cat-grid { flex: 1; min-width: 0; }
}
@media (min-width: 1340px) and (max-width: 1439px) { /* laptops: a little tighter so every name fits */
  .types-row { gap: 26px; }
  .types-row .cat-grid { gap: 10px; }
  .cat-tile { padding: 11px 12px; column-gap: 10px; }
}

/* service tiles */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-tile { display: flex; flex-direction: column; gap: 10px; padding: 28px; border-radius: 22px; overflow: hidden; transition: transform .45s var(--ease), border-color .3s; }
.service-tile:hover { transform: translateY(-6px); border-color: var(--line-2); }
.s-icon {
  width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center;
  background: var(--inv-bg); color: var(--inv-ink); box-shadow: 0 10px 26px -12px var(--btn-glow);
  transition: transform .6s var(--ease);
}
.service-tile:hover .s-icon { transform: rotate(-12deg) scale(1.1); }
.service-tile h3 { font-size: 19px; font-weight: 800; margin-top: 8px; }
.service-tile p { color: var(--muted); }
.s-foot { margin-top: auto; padding-top: 14px; display: flex; justify-content: space-between; align-items: center; font-weight: 700; color: var(--ink); }
.s-foot .muted { font-size: 13px; font-weight: 600; }
.s-foot .icon { transition: transform .3s var(--ease); }
.service-tile:hover .s-foot .icon { transform: translateX(5px); }

/* CTA band (inverted) */
.cta-band {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 44px 46px; border-radius: 28px; background: var(--inv-bg); color: var(--inv-ink);
  box-shadow: 0 30px 80px -30px var(--btn-glow);
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 35%, var(--shine) 50%, transparent 65%);
  animation: shimmer 5s ease-in-out infinite;
}
.cta-band::after {
  content: ""; position: absolute; width: 380px; height: 380px; right: -120px; top: -180px; z-index: -1; border-radius: 50%;
  border: 1px solid currentColor; opacity: .12; box-shadow: 0 0 0 40px transparent, inset 0 0 0 40px transparent;
  animation: spin 30s linear infinite;
}
.cta-band h2 { font-size: clamp(22px, 3vw, 32px); font-weight: 800; letter-spacing: -.03em; }
.cta-band p { opacity: .7; margin-top: 6px; }

/* ---------- cards ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr)); gap: 18px; }
.card { display: flex; flex-direction: column; overflow: hidden; border-radius: 20px; transition: transform .45s var(--ease), border-color .3s; }
.card:hover { transform: translateY(-6px); border-color: var(--line-2); }
.card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--glass); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover .card-media img { transform: scale(1.07); }
.ph {
  position: relative; overflow: hidden; width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  color: var(--muted); background: linear-gradient(135deg, var(--glass), var(--glass-2));
  font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}
.ph .icon { opacity: .7; animation: bob 4s ease-in-out infinite; }
.ph::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, var(--glass-2) 50%, transparent 70%);
  animation: shimmer 3.2s ease-in-out infinite;
}
.badge {
  position: absolute; top: 12px; left: 12px; z-index: 1; padding: 4px 11px; border-radius: 999px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .02em;
}
.badge-sale { background: var(--inv-bg); color: var(--inv-ink); }
.badge-rent, .badge-sold {
  background: rgba(0, 0, 0, .55); color: #fff; border: 1px solid rgba(255, 255, 255, .28);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.badge-sold { left: auto; right: 12px; text-transform: uppercase; letter-spacing: .1em; }
/* listings copied from iBay */
.badge-src {
  top: auto; bottom: 12px; font-size: 11px; background: rgba(255, 255, 255, .82); color: #0a0a0a;
  border: 1px solid rgba(0, 0, 0, .12); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.pill-src { border-style: dashed; border-color: var(--line-2); }
.source-mark { font-size: 14px; letter-spacing: -.02em; background: var(--inv-bg); color: var(--inv-ink); box-shadow: none; }
.card-body { padding: 15px 16px 12px; flex: 1; }
.price { font-size: 19px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.price small, .price-lg small { font-size: 13px; font-weight: 600; color: var(--muted); }
.card-title {
  font-size: 15px; font-weight: 700; margin: 3px 0 7px; line-height: 1.3; color: var(--ink-2);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 8px; color: var(--muted); font-size: 13px; }
.meta > span { display: inline-flex; align-items: center; gap: 5px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.chip { padding: 3px 9px; border-radius: 8px; font-size: 12px; font-weight: 600; color: var(--ink-2); background: var(--glass-2); border: 1px solid var(--line); }
.chip-p { color: var(--ink); border-color: var(--line-2); }
.card-foot { display: flex; justify-content: space-between; align-items: center; padding: 10px 16px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.card-foot span { display: inline-flex; align-items: center; gap: 6px; }

.more-wrap { display: flex; justify-content: center; margin-top: 28px; }
.more-wrap:empty { display: none; }
.empty { grid-column: 1 / -1; text-align: center; padding: 56px 20px; border: 1px dashed var(--line-2); border-radius: 22px; color: var(--muted); background: var(--glass); }
.empty > .icon { color: var(--ink); margin: 0 auto 12px; display: block; animation: bob 3s ease-in-out infinite; }
.empty h3 { color: var(--ink); font-size: 18px; margin-bottom: 6px; }
.empty .btn { margin-top: 18px; }

/* ---------- page heads ---------- */
.page-head { position: relative; padding: 38px 0 28px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--glass), transparent); }
.page-head h1 { font-size: clamp(26px, 3.4vw, 40px); font-weight: 800; letter-spacing: -.04em; }
.page-head p { margin-top: 6px; }
.ph-flex { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.eyebrow-dark { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 10px; color: var(--muted); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .14em; }

/* ---------- browse ---------- */
.browse { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 28px; align-items: start; padding-top: 24px; padding-bottom: 64px; }
.filters { position: sticky; top: calc(var(--header-h) + 16px); max-height: calc(100vh - var(--header-h) - 32px); overflow: auto; padding: 18px; border-radius: 20px; }
.filters-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.filters-head h2 { font-size: 17px; font-weight: 800; }
.fgroup { border: 0; padding: 0; margin: 0 0 16px; min-width: 0; }
.fgroup legend { padding: 0; margin-bottom: 8px; }
.cat-radios { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.cat-radio { position: relative; }
.cat-radio input { position: absolute; opacity: 0; pointer-events: none; }
.cat-radio span {
  display: flex; align-items: center; gap: 8px; padding: 8px 10px; cursor: pointer;
  border: 1px solid var(--line); border-radius: 11px; background: var(--field);
  font-size: 13px; font-weight: 600; color: var(--ink-2); transition: all .25s var(--ease);
}
.cat-radio span:hover { border-color: var(--line-2); color: var(--ink); }
.cat-radio input:checked + span { background: var(--inv-bg); border-color: var(--inv-bg); color: var(--inv-ink); }
.cat-radio input:focus-visible + span { outline: 2px solid var(--ink); }
.range { display: flex; align-items: center; gap: 8px; }
.range input { min-width: 0; }
.results-bar { display: flex; gap: 10px; align-items: center; margin-bottom: 16px; }
.search-input { position: relative; flex: 1; display: flex; align-items: center; min-width: 0; }
.search-input .icon { position: absolute; left: 13px; color: var(--muted); pointer-events: none; transition: color .2s, transform .3s var(--ease); }
.search-input:focus-within .icon { color: var(--ink); transform: scale(1.1); }
.search-input input { padding-left: 40px; }
.sort-select { width: auto; min-width: 190px; }
.filter-toggle { display: none; }
.result-count { margin: 4px 0 14px; font-size: 14px; }
.toolbar { display: flex; gap: 10px; margin: 24px 0 8px; }
.toolbar .search-input { flex: 1.6; }
.toolbar select { flex: 1; min-width: 0; }
.info-strip { display: flex; gap: 12px; align-items: flex-start; margin-top: 22px; padding: 14px 16px; border-radius: 16px; color: var(--ink-2); font-size: 14px; }

/* ---------- forms ---------- */
input, select, textarea {
  width: 100%; height: 44px; padding: 0 12px;
  font: inherit; font-size: 15px; color: var(--ink);
  background-color: var(--field); border: 1px solid var(--line-2); border-radius: 12px; outline: none;
  transition: border-color .2s, box-shadow .25s, background-color .2s;
}
textarea { height: auto; min-height: 120px; padding: 12px; resize: vertical; line-height: 1.5; }
select {
  -webkit-appearance: none; appearance: none; cursor: pointer; padding-right: 36px;
  background-image: var(--chev); background-repeat: no-repeat; background-position: right 12px center;
}
input:hover, select:hover, textarea:hover { border-color: var(--muted); }
input:focus, select:focus, textarea:focus { border-color: var(--ink); box-shadow: var(--ring); }
input::placeholder, textarea::placeholder { color: var(--muted); opacity: .75; }
input:disabled, select:disabled { opacity: .55; cursor: not-allowed; }
input:-webkit-autofill { -webkit-box-shadow: 0 0 0 1000px var(--bg-solid) inset; -webkit-text-fill-color: var(--ink); }
input[type="checkbox"], input[type="radio"] { width: auto; height: auto; padding: 0; }
input[type="number"]::-webkit-inner-spin-button { opacity: .35; }

.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; min-width: 0; }
.field > label, .field-label, .fgroup legend { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--ink-2); }
.optional { font-size: 10.5px; font-weight: 600; color: var(--muted); background: var(--glass-2); border: 1px solid var(--line); padding: 1px 8px; border-radius: 999px; letter-spacing: .02em; text-transform: none; }
.hint { font-size: 12.5px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.hint.center { justify-content: center; }
.err { font-size: 12.5px; color: var(--danger); font-weight: 600; animation: fadeDown .3s var(--ease); }
.has-error input, .has-error select, .has-error textarea, .has-error .affix, .has-error .phone-input { border-color: var(--danger); }
.has-error .purpose-opt span, .has-error .type-opt span, .has-error .check-chip span { border-color: var(--danger); }
.has-error .purpose-toggle, .has-error .type-picker, .has-error .check-chips { animation: shake .4s; }
.counter { align-self: flex-end; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }

.affix { display: flex; align-items: stretch; overflow: hidden; background: var(--field); border: 1px solid var(--line-2); border-radius: 12px; transition: border-color .2s, box-shadow .25s; }
.affix:focus-within { border-color: var(--ink); box-shadow: var(--ring); }
.affix > span { display: grid; place-items: center; padding: 0 12px; background: var(--glass-2); color: var(--ink); font-weight: 800; font-size: 12.5px; letter-spacing: .04em; }
.affix input { border: 0; border-radius: 0; box-shadow: none !important; height: 42px; background: transparent; }

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
.form-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.form-grid .field { margin-bottom: 0; }
.field-full { grid-column: 1 / -1; }
.field-check { justify-content: flex-end; padding-bottom: 11px; }

.form-card { margin: 24px 0 64px; padding: 6px 32px 28px; border-radius: 26px; }
.form-section { padding: 26px 0; border-bottom: 1px solid var(--line); }
.form-section h2 { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 800; margin-bottom: 16px; }
.step { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--inv-bg); color: var(--inv-ink); font-size: 13px; font-weight: 800; flex-shrink: 0; box-shadow: 0 0 0 4px var(--glass-2); }
.form-actions { display: flex; justify-content: flex-end; align-items: center; gap: 10px; padding-top: 22px; }

.purpose-toggle { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.purpose-opt, .type-opt, .check-chip { position: relative; }
.purpose-opt input, .type-opt input, .check-chip input { position: absolute; opacity: 0; pointer-events: none; }
.purpose-opt span {
  display: flex; flex-direction: column; gap: 3px; padding: 18px 20px; cursor: pointer;
  border: 1px solid var(--line-2); border-radius: 18px; background: var(--field);
  transition: border-color .25s, background .25s, box-shadow .3s, transform .35s var(--ease);
}
.purpose-opt span:hover { border-color: var(--muted); transform: translateY(-2px); }
.purpose-opt span .icon { margin-bottom: 8px; transition: transform .5s var(--ease); }
.purpose-opt strong { font-size: 17px; }
.purpose-opt small { color: var(--muted); font-size: 13px; }
.purpose-opt input:checked + span { border-color: var(--ink); background: var(--glass-2); box-shadow: var(--ring); }
.purpose-opt input:checked + span .icon { transform: rotate(-12deg) scale(1.15); }
.type-picker { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.type-opt span {
  display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px 8px; cursor: pointer; text-align: center;
  border: 1px solid var(--line-2); border-radius: 16px; background: var(--field); color: var(--ink);
  transition: background .3s, color .3s, border-color .3s, transform .35s var(--ease);
}
.type-opt span:hover { border-color: var(--muted); transform: translateY(-3px); }
.type-opt strong { font-size: 13.5px; }
.type-opt input:checked + span { background: var(--inv-bg); border-color: var(--inv-bg); color: var(--inv-ink); transform: translateY(-3px); }
.type-opt input:checked + span .icon { animation: pop .45s var(--ease); }
.check-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.check-chip span {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; cursor: pointer;
  border: 1px solid var(--line-2); border-radius: 999px; background: var(--field);
  font-size: 13.5px; font-weight: 600; color: var(--ink-2); transition: all .25s var(--ease);
}
.check-chip span:hover { border-color: var(--muted); color: var(--ink); }
.check-chip input:checked + span { background: var(--inv-bg); border-color: var(--inv-bg); color: var(--inv-ink); animation: pop .35s var(--ease); }
.purpose-opt input:focus-visible + span, .type-opt input:focus-visible + span, .check-chip input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.checkbox { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14px; cursor: pointer; }
.checkbox input { width: 18px; height: 18px; accent-color: var(--ink); }

.type-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 24px; padding: 6px; border-radius: 16px; }
.type-tabs a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 10px; border-radius: 11px; font-weight: 700; font-size: 14px; color: var(--muted); text-align: center; transition: background .3s, color .3s; }
.type-tabs a:hover { color: var(--ink); background: var(--glass-2); }
.type-tabs a.active { background: var(--inv-bg); color: var(--inv-ink); box-shadow: 0 8px 20px -10px var(--btn-glow); }

/* photo uploader */
.uploader { display: flex; flex-wrap: wrap; gap: 12px; }
.thumbs { display: contents; }
.thumb-item, .upload-tile { position: relative; width: 132px; height: 104px; border-radius: 14px; overflow: hidden; }
.thumb-item { animation: pop .4s var(--ease); border: 1px solid var(--line); }
.thumb-item img { width: 100%; height: 100%; object-fit: cover; }
.thumb-x { position: absolute; top: 6px; right: 6px; width: 26px; height: 26px; border-radius: 50%; border: 0; display: grid; place-items: center; background: rgba(0, 0, 0, .7); color: #fff; transition: transform .25s var(--ease); }
.thumb-x:hover { transform: rotate(90deg) scale(1.1); }
.cover { position: absolute; left: 6px; bottom: 6px; padding: 2px 8px; border-radius: 999px; background: #fff; color: #000; font-size: 11px; font-weight: 700; }
.upload-tile {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; text-align: center; cursor: pointer;
  border: 1px dashed var(--line-2); background: var(--field); color: var(--ink); transition: background .25s, border-color .25s;
}
.upload-tile:hover { background: var(--glass-2); border-color: var(--ink); }
.upload-tile .icon { animation: bob 3s ease-in-out infinite; }
.upload-tile strong { font-size: 13px; margin-top: 4px; }
.upload-tile small { font-size: 11px; color: var(--muted); }

/* ---------- detail ---------- */
.detail-page { padding-top: 22px; padding-bottom: 64px; }
.back-link { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 16px; color: var(--muted); font-weight: 600; font-size: 14px; background: none; border: 0; padding: 0; transition: color .2s; }
.back-link .icon { transition: transform .3s var(--ease); }
.back-link:hover { color: var(--ink); }
.back-link:hover .icon { transform: translateX(-4px); }
.detail { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 32px; align-items: start; }
.gallery-main { aspect-ratio: 16 / 10; border-radius: 24px; overflow: hidden; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; transition: opacity .25s, transform .6s var(--ease); }
.gallery-main img.swap { opacity: 0; transform: scale(1.03); }
.gallery-main:hover img { transform: scale(1.02); }
.thumbs-row { display: flex; gap: 10px; margin-top: 10px; overflow-x: auto; }
.thumb { width: 84px; height: 64px; flex-shrink: 0; padding: 0; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: none; opacity: .6; transition: opacity .25s, border-color .25s, transform .3s var(--ease); }
.thumb:hover { opacity: 1; transform: translateY(-2px); }
.thumb.active { opacity: 1; border-color: var(--ink); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.detail-head { margin: 24px 0 6px; }
.detail-head h1 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; letter-spacing: -.04em; margin: 12px 0 8px; }
.badges { display: flex; gap: 8px; flex-wrap: wrap; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 700; background: var(--glass-2); color: var(--ink); border: 1px solid var(--line); }
.pill-solid { background: var(--inv-bg); color: var(--inv-ink); border-color: var(--inv-bg); }
.pill-dark { background: transparent; border: 1px dashed var(--ink); }
.panel { margin-top: 18px; padding: 22px 24px; border-radius: 22px; }
.panel h2 { font-size: 17px; font-weight: 800; margin-bottom: 12px; }
.spec-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; margin: 0; }
.spec-grid > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 11px 0; border-bottom: 1px dashed var(--line-2); transition: padding .3s var(--ease); }
.spec-grid > div:hover { padding-left: 6px; padding-right: 6px; }
.spec-grid dt { color: var(--muted); font-size: 14px; white-space: nowrap; }
.spec-grid dd { margin: 0; font-weight: 700; font-size: 14px; text-align: right; }
.desc { white-space: pre-line; color: var(--ink-2); }
.detail-side { position: sticky; top: calc(var(--header-h) + 16px); display: flex; flex-direction: column; gap: 16px; }
.side-card { display: flex; flex-direction: column; gap: 12px; padding: 22px; border-radius: 24px; background: var(--glass-strong); box-shadow: var(--glass-hi), var(--shadow-lg); }
.price-lg {
  font-size: 32px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, var(--ink) 40%, var(--muted)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.price-lg small { -webkit-text-fill-color: var(--muted); font-size: 15px; }
.tag { align-self: flex-start; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--ink); font-size: 12px; font-weight: 700; letter-spacing: .02em; }
.seller { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-block: 1px solid var(--line); }
.seller strong { display: block; }
.seller .muted { font-size: 13px; }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; background: var(--glass-2); color: var(--ink); font-weight: 800; box-shadow: inset 0 0 0 1px var(--line-2); }
.avatar-lg { width: 70px; height: 70px; font-size: 24px; background: var(--inv-bg); color: var(--inv-ink); box-shadow: 0 0 0 6px var(--glass-2), 0 16px 40px -16px var(--btn-glow); animation: pop .6s var(--ease); }
.avatar-sm { width: 30px; height: 30px; font-size: 11.5px; }
.btn-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.owner-note { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 12px; background: var(--glass-2); border: 1px solid var(--line-2); color: var(--ink); font-weight: 700; font-size: 14px; }
.sold-note { padding: 10px 12px; border-radius: 12px; border: 1px dashed var(--line-2); color: var(--ink-2); font-weight: 600; font-size: 14px; }
.status-line { font-size: 13.5px; color: var(--muted); }
.safety { padding: 16px 18px; border-radius: 20px; font-size: 13.5px; color: var(--ink-2); }
.safety h3 { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 14px; color: var(--ink); }
.safety ul { margin: 0; padding-left: 18px; }
.safety li + li { margin-top: 4px; }
.section-similar { margin-top: 56px; }

/* ---------- business cards (garages / registration) ---------- */
.biz-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr)); gap: 18px; padding-bottom: 64px; }
.biz-card { display: flex; flex-direction: column; gap: 12px; padding: 22px; border-radius: 22px; transition: transform .45s var(--ease), border-color .3s; }
.biz-card:hover { transform: translateY(-5px); border-color: var(--line-2); }
.biz-top { display: flex; gap: 14px; align-items: flex-start; }
.biz-icon { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; flex-shrink: 0; background: var(--glass-2); border: 1px solid var(--line); color: var(--ink); transition: background .35s, color .35s, transform .5s var(--ease); }
.biz-card:hover .biz-icon { background: var(--inv-bg); color: var(--inv-ink); transform: rotate(-10deg); }
.biz-top h3 { font-size: 17px; font-weight: 800; margin-bottom: 3px; }
.biz-desc { color: var(--ink-2); font-size: 14px; }
.biz-row { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ink-2); }
.biz-row .icon { color: var(--muted); }
.biz-fee { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; padding: 12px 14px; border-radius: 14px; background: var(--glass-2); border: 1px solid var(--line); }
.biz-fee strong { font-size: 21px; font-weight: 800; letter-spacing: -.02em; }
.biz-fee .muted { font-size: 12.5px; }
.biz-fee .fee-note { flex-basis: 100%; }
.biz-types { display: flex; align-items: center; gap: 6px; color: var(--ink); font-size: 13px; }
.biz-types .muted { margin-left: 4px; }
.biz-actions { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
/* garage photo across the top of the card (or a placeholder when there's none yet) */
.biz-photo {
  position: relative; margin: -22px -22px 2px; aspect-ratio: 16 / 9; overflow: hidden;
  border-radius: 21px 21px 0 0; border-bottom: 1px solid var(--line); background: var(--glass-2);
}
.biz-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.biz-card:hover .biz-photo img { transform: scale(1.04); }
.biz-photo figcaption {
  position: absolute; right: 8px; bottom: 8px; max-width: calc(100% - 16px); padding: 3px 8px; border-radius: 8px;
  background: rgba(0, 0, 0, .58); color: #fff; font-size: 11px; line-height: 1.4;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.biz-photo-empty {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  background: linear-gradient(135deg, var(--glass-2), var(--glass)); color: var(--muted); font-size: 13px; font-weight: 600;
}
.biz-photo-empty .icon { opacity: .7; }

/* ---------- information pages (How it works, Privacy policy) ---------- */
.doc-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 56px; align-items: start; padding-top: 34px; padding-bottom: 72px; }
.doc-toc { position: sticky; top: calc(var(--header-h) + 22px); display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.doc-toc strong { margin-bottom: 8px; font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; }
.doc-toc a { padding: 6px 10px; margin-left: -10px; border-radius: 9px; color: var(--ink-2); transition: background .2s, color .2s; }
.doc-toc a:hover { background: var(--glass-2); color: var(--ink); }
.doc { max-width: 820px; }
.doc-sec { padding: 26px 0 30px; border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 18px); }
.doc-sec:first-child { padding-top: 0; }
.doc-sec h2 { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; font-size: clamp(19px, 2vw, 23px); font-weight: 800; letter-spacing: -.02em; }
.doc-num { width: 30px; height: 30px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 800; background: var(--brand-grad); color: #fff; }
.doc p, .doc li { color: var(--ink-2); font-size: 15.5px; line-height: 1.65; }
.doc p + p, .doc ul + p, .doc p + ul, .doc .doc-table-wrap + p, .doc p + .doc-table-wrap { margin-top: 12px; }
.doc ul { margin: 0; padding-left: 20px; }
.doc li + li { margin-top: 8px; }
.doc li::marker { color: var(--accent); }
.doc strong { color: var(--ink); }
.doc a { color: var(--accent); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--accent) 40%, transparent); text-underline-offset: 3px; }
.doc code { font-size: 12.5px; padding: 2px 6px; border-radius: 6px; background: var(--glass-2); border: 1px solid var(--line); color: var(--ink); word-break: break-all; }
.doc-checks { list-style: none; padding: 0 !important; }
.doc-checks li { position: relative; padding-left: 30px; }
.doc-checks li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%; background: var(--brand-grad);
}
.doc-checks li::after { content: ""; position: absolute; left: 6px; top: calc(.3em + 4px); width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.doc-steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.doc-steps li { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 0 0 18px 46px; counter-increment: step; }
.doc-steps li + li { margin-top: 0; }
.doc-steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  font-size: 13px; font-weight: 800; color: var(--ink); background: var(--glass-2); border: 1px solid var(--line-2);
}
.doc-steps li:not(:last-child)::after { content: ""; position: absolute; left: 15px; top: 34px; bottom: 4px; width: 1px; background: var(--line-2); }
.doc-steps strong { font-size: 16px; }
.doc-table-wrap { margin-top: 4px; overflow-x: auto; border-radius: 16px; }
.doc-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.doc-table th, .doc-table td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); color: var(--ink-2); line-height: 1.55; }
.doc-table th { font-size: 11.5px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; }
.doc-table tr:last-child td { border-bottom: 0; }
.doc-table td:first-child { min-width: 150px; }
.doc-note { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; padding: 12px 14px; border-radius: 14px; background: var(--glass-2); border: 1px solid var(--line); font-size: 14.5px !important; }
.doc-note .icon { flex-shrink: 0; margin-top: 3px; color: var(--accent); }
.doc-contact { list-style: none; padding: 0 !important; }
.doc-faq { margin-top: 10px; padding: 0; border-radius: 14px; }
.doc-faq summary { padding: 14px 16px; cursor: pointer; font-weight: 700; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.doc-faq summary::-webkit-details-marker { display: none; }
.doc-faq summary::after { content: "+"; font-size: 20px; line-height: 1; color: var(--muted); transition: transform .3s var(--ease); }
.doc-faq[open] summary::after { transform: rotate(45deg); }
.doc-faq p { padding: 0 16px 14px; }
.doc-foot { margin-top: 26px; color: var(--muted) !important; }
.how-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 22px; max-width: 1060px; }
.how-card { display: flex; flex-direction: column; gap: 4px; padding: 18px; border-radius: 18px; font-size: 14px; color: var(--ink-2); }
.how-card strong { font-size: 16px; color: var(--ink); }
.how-ic { width: 40px; height: 40px; margin-bottom: 8px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-grad); color: #fff; }
.auth-foot a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.form-note { margin: -6px 0 12px; font-size: 13.5px; }
@media (max-width: 960px) {
  .doc-layout { grid-template-columns: 1fr; gap: 20px; padding-top: 24px; }
  .doc-toc { position: static; flex-direction: row; flex-wrap: wrap; gap: 6px; }
  .doc-toc strong { flex-basis: 100%; margin-bottom: 2px; }
  .doc-toc a { margin-left: 0; padding: 5px 11px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 13px; }
}
@media (max-width: 640px) {
  .how-cards { grid-template-columns: 1fr; }
  .doc p, .doc li { font-size: 15px; }
  .doc-table th, .doc-table td { padding: 10px 12px; font-size: 13.5px; }
}

/* ---------- swaps, lost vehicles, packages and paid extras ---------- */
.badge .icon { vertical-align: -2px; }
.badge-swap { background: #0f766e; color: #fff; }
.badge-lost { background: #b42318; color: #fff; }
.badge-found { background: #157f3b; color: #fff; }
.badge-flag {
  left: auto; right: 12px; display: inline-flex; align-items: center; gap: 4px;
  background: rgba(0, 0, 0, .62); color: #fff; border: 1px solid rgba(255, 255, 255, .25);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.badge-sponsor { background: linear-gradient(135deg, #f5c542, #e09b12); color: #1a1200; border: 0; }
.badge-reward { background: #f5c542; color: #1a1200; border: 0; }
.card-featured { border-color: rgba(229, 166, 25, .55); box-shadow: var(--glass-hi), 0 0 0 1px rgba(229, 166, 25, .25), var(--shadow); }
.swap-wants { display: flex; align-items: center; gap: 6px; margin: -2px 0 8px; font-size: 13px; color: var(--ink-2); font-weight: 600; }
.swap-wants .icon { color: #0f9b8e; flex-shrink: 0; }
.chip-premium, .premium-tag { display: inline-flex; align-items: center; gap: 4px; color: #a46a00; border-color: rgba(229, 166, 25, .5); background: rgba(245, 197, 66, .14); }
:root[data-theme="dark"] .chip-premium, :root[data-theme="dark"] .premium-tag { color: #f5c542; }
.premium-tag { padding: 1px 7px; border-radius: 6px; border: 1px solid rgba(229, 166, 25, .5); font-size: 12px; font-weight: 700; }
.pill-sponsor { background: linear-gradient(135deg, #f5c542, #e09b12); color: #1a1200; border-color: transparent; }
.pill-lost { background: #b42318; color: #fff; border-color: transparent; }
.pill-found { background: #157f3b; color: #fff; border-color: transparent; }
.biz-flag {
  position: absolute; top: 10px; left: 10px; z-index: 1; display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px;
  border-radius: 999px; font-size: 11.5px; font-weight: 700; background: linear-gradient(135deg, #f5c542, #e09b12); color: #1a1200;
}

/* top banner (advert) and the ad slots between listings */
.top-banner-wrap { padding-top: 14px; }
.top-banner {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 18px 12px 52px;
  border-radius: 14px; border: 1px dashed var(--line-2); background: var(--glass); color: var(--ink-2); font-size: 14px;
  transition: border-color .3s, background .3s;
}
.top-banner:hover { border-color: var(--muted); background: var(--glass-2); }
.top-banner .ad-label { top: 50%; transform: translateY(-50%); left: 16px; }
.tb-text strong { color: var(--ink); margin-right: 6px; }
.tb-sub { color: var(--muted); }
.tb-price { display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0; font-weight: 800; color: var(--ink); }
.top-banner-live { display: block; padding: 0; border-style: solid; border-color: var(--line); overflow: hidden; }
.top-banner-live img { display: block; width: 100%; height: auto; max-height: 200px; object-fit: cover; }
.top-banner-live .ad-label { top: 9px; transform: none; z-index: 1; padding: 2px 6px; border-radius: 4px; background: rgba(0, 0, 0, .55); color: #fff; }
a.ad-slot { color: var(--muted); transition: border-color .3s, transform .4s var(--ease); }
a.ad-slot:hover { border-color: var(--muted); }
.ad-copy b { color: var(--ink); }
.ad-size { display: inline-flex; align-items: center; gap: 6px; }

/* checkout */
.co-lines { margin: 4px 0 14px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.co-lines > div { display: flex; justify-content: space-between; gap: 12px; padding: 11px 14px; border-bottom: 1px solid var(--line); font-size: 14.5px; color: var(--ink-2); }
.co-lines > div strong { color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.co-lines .co-total { border-bottom: 0; background: var(--glass-2); font-weight: 800; color: var(--ink); font-size: 16px; }
.modal .doc-note { margin: 0 0 14px; font-size: 13.5px !important; color: var(--ink-2); }
.modal #payBtn { margin-bottom: 6px; }

/* package picker (post form, renew) */
/* 2 × 2: the post form and the renew dialog are too narrow for 4 across */
.pkg-picker { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; padding-top: 6px; }
.pkg-opt { position: relative; }
.pkg-opt input { position: absolute; opacity: 0; pointer-events: none; }
.pkg-opt > span {
  position: relative; display: flex; flex-direction: column; gap: 2px; height: 100%; padding: 18px 16px 16px; cursor: pointer;
  border: 1px solid var(--line-2); border-radius: 18px; background: var(--field); transition: border-color .25s, box-shadow .25s, transform .3s var(--ease);
}
.pkg-opt > span:hover { border-color: var(--muted); transform: translateY(-2px); }
.pkg-opt input:checked + span { border-color: var(--brand-2); box-shadow: var(--ring), 0 0 0 1px var(--brand-2); background: var(--glass-2); }
.pkg-opt input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.pkg-opt strong { font-size: 16px; }
.pkg-opt b { font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.pkg-opt small { color: var(--muted); font-size: 12.5px; }
.pkg-opt ul { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 5px; font-size: 13px; color: var(--ink-2); }
.pkg-opt li { display: flex; gap: 6px; align-items: flex-start; }
.pkg-opt li .icon, .price-card li .icon { flex-shrink: 0; margin-top: 3px; color: var(--accent); }
.pkg-best {
  position: absolute; top: -10px; right: 12px; padding: 2px 10px; border-radius: 999px; font-style: normal;
  font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; background: var(--brand-grad); color: #fff;
}
.addon { margin-top: 14px; padding: 12px 14px; border-radius: 14px; border: 1px dashed var(--line-2); width: 100%; font-weight: 500; }
.addon span { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.addon .icon { color: #e09b12; }
.pkg-status { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; margin-top: 6px; font-size: 12.5px; color: var(--muted); }
.pkg-status strong { color: var(--ink); }
.pkg-status .expired { color: var(--danger); font-weight: 700; }
.row-expired .row-thumb { opacity: .5; }
.side-card .btn-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.purpose-toggle.purpose-3 { grid-template-columns: repeat(3, 1fr); }
.seg-4 label { min-width: 0; }
.seg-4 label span { padding-left: 4px; padding-right: 4px; }
.type-tabs.type-tabs-6 { grid-template-columns: repeat(3, 1fr); }

/* free lost-vehicle listings */
.free-note { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; padding: 5px 12px; border-radius: 999px; font-size: 13.5px; color: #157f3b; background: rgba(21, 127, 59, .1); border: 1px solid rgba(21, 127, 59, .3); }
:root[data-theme="dark"] .free-note { color: #5fd38b; }
.free-banner { display: flex; align-items: center; gap: 10px; margin: 18px 0 4px; padding: 12px 16px; border-radius: 14px; background: rgba(21, 127, 59, .1); border: 1px solid rgba(21, 127, 59, .3); color: var(--ink); font-size: 14.5px; }
.free-banner .icon { color: #157f3b; flex-shrink: 0; }

/* account: premium seller + payments */
.premium-panel.is-premium { border-color: rgba(229, 166, 25, .5); }
.premium-panel h2 .icon { color: #e09b12; vertical-align: -3px; }
.premium-panel .btn { margin-top: 12px; }
.pay-list { list-style: none; margin: 0 0 10px; padding: 0; }
.pay-list li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line-2); font-size: 14px; }
.pay-list li span { display: flex; flex-direction: column; color: var(--ink-2); }
.pay-list small { color: var(--muted); font-size: 12px; }
.pay-list strong { white-space: nowrap; font-variant-numeric: tabular-nums; }

/* prices & packages page */
.pricing { padding-top: 30px; padding-bottom: 72px; }
.pricing-sec + .pricing-sec { margin-top: 48px; }
.pricing-sec > h2 { font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; letter-spacing: -.03em; }
.pricing-sec > p { margin-top: 4px; }
.price-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 22px; }
.price-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 900px; }
.price-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 26px; }
.price-card {
  position: relative; display: flex; flex-direction: column; gap: 6px; padding: 24px 22px 22px; border-radius: 22px;
  background: linear-gradient(160deg, var(--glass-2), var(--glass)); border: 1px solid var(--glass-border); box-shadow: var(--glass-hi), var(--shadow);
}
.price-card.best { border-color: var(--brand-2); box-shadow: var(--glass-hi), 0 0 0 1px var(--brand-2), var(--shadow-lg); }
.price-card .pkg-best { top: -11px; left: 22px; right: auto; }
.pc-icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 6px; background: var(--brand-grad); color: #fff; }
.price-card h3 { font-size: 18px; font-weight: 800; }
.pc-price strong { font-size: 32px; font-weight: 800; letter-spacing: -.03em; }
.pc-price small { display: block; margin-top: 2px; color: var(--muted); font-size: 14px; }
.price-card ul { list-style: none; margin: 8px 0 16px; padding: 0; display: grid; align-content: start; gap: 7px; font-size: 14px; color: var(--ink-2); flex: 1; }
.price-card li { display: flex; gap: 8px; }
.free-strip { display: flex; align-items: center; gap: 16px; margin-top: 18px; padding: 16px 20px; border-radius: 18px; background: rgba(21, 127, 59, .08); border: 1px solid rgba(21, 127, 59, .3); }
.free-strip > .icon { color: #157f3b; flex-shrink: 0; }
.free-strip div { display: flex; flex-direction: column; flex: 1; }
.free-strip span { color: var(--muted); font-size: 14px; }
.adv-contact { margin-top: 16px; }
.pricing > .doc-note { margin-top: 36px; }

/* home: call-to-action buttons, featured row */
.cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.btn-ghost-white { color: #fff; border: 1px solid rgba(255, 255, 255, .55); background: transparent; }
.btn-ghost-white:hover { background: rgba(255, 255, 255, .12); }
.section-featured { padding-bottom: 0; }
.section-featured .section-head h2 .icon { color: #e09b12; vertical-align: -3px; }

@media (max-width: 1200px) {
  .price-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .price-grid-4 { max-width: 900px; }
}
@media (max-width: 960px) {
  .price-grid { grid-template-columns: 1fr; max-width: 520px; }
  .tb-sub { display: none; }
}
@media (max-width: 640px) {
  .pkg-picker { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .purpose-toggle.purpose-3 { grid-template-columns: 1fr; }
  .type-tabs.type-tabs-6 { grid-template-columns: repeat(2, 1fr); }
  .free-strip { flex-direction: column; align-items: flex-start; }
  .top-banner { padding: 10px 14px 10px 46px; font-size: 13px; }
}

/* ---------- auth ---------- */
.auth-wrap { min-height: calc(100vh - var(--header-h)); padding: 40px 16px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.auth-card { width: 100%; max-width: 440px; padding: 34px; border-radius: 28px; background: var(--glass-strong); box-shadow: var(--glass-hi), var(--shadow-lg); }
.auth-icon {
  width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 20px;
  background: var(--inv-bg); color: var(--inv-ink); box-shadow: 0 16px 40px -14px var(--btn-glow);
  animation: bob 4s ease-in-out infinite;
}
.auth-card h1 { font-size: 26px; font-weight: 800; letter-spacing: -.03em; margin-bottom: 6px; }
.auth-card .intro { margin-bottom: 22px; }
.auth-card .back-link { margin-bottom: 18px; }
.auth-card .btn-block { margin-top: 4px; }
.auth-card .resend-row { margin-top: 16px; }
.step-in > * { animation: fadeUp .55s var(--ease) backwards; }
.step-in > *:nth-child(2) { animation-delay: .05s; }
.step-in > *:nth-child(3) { animation-delay: .1s; }
.step-in > *:nth-child(4) { animation-delay: .15s; }
.step-in > *:nth-child(5) { animation-delay: .2s; }
.step-in > *:nth-child(6) { animation-delay: .25s; }
.step-in > *:nth-child(7) { animation-delay: .3s; }
.phone-input { display: flex; overflow: hidden; background: var(--field); border: 1px solid var(--line-2); border-radius: 14px; transition: border-color .2s, box-shadow .25s; }
.phone-input:focus-within { border-color: var(--ink); box-shadow: var(--ring); }
.phone-input .prefix { display: grid; place-items: center; padding: 0 14px; background: var(--glass-2); color: var(--ink); font-weight: 800; border-right: 1px solid var(--line-2); }
.phone-input input { border: 0; border-radius: 0; height: 54px; font-size: 18px; font-weight: 700; letter-spacing: .08em; box-shadow: none !important; background: transparent; }
.phone-input.readonly input { height: 44px; font-size: 15px; }
.otp-inputs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.otp-inputs input { height: 60px; padding: 0; text-align: center; font-size: 24px; font-weight: 800; border-radius: 14px; }
.otp-inputs input::placeholder { color: var(--muted); opacity: .5; }
.otp-inputs input:not(:placeholder-shown) { border-color: var(--ink); background: var(--glass-2); animation: pop .3s var(--ease); }
.otp-inputs.shake { animation: shake .45s; }
@keyframes shake { 10%, 90% { transform: translateX(-2px); } 20%, 80% { transform: translateX(4px); } 30%, 50%, 70% { transform: translateX(-8px); } 40%, 60% { transform: translateX(8px); } }
.demo-otp { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 18px; padding: 12px 14px; border-radius: 14px; background: var(--glass-2); border: 1px dashed var(--line-2); color: var(--ink-2); font-size: 14px; }
.demo-otp code { font-family: ui-monospace, Consolas, monospace; font-weight: 800; font-size: 16px; letter-spacing: .18em; background: var(--inv-bg); color: var(--inv-ink); padding: 1px 7px; border-radius: 7px; }
.auth-foot { margin-top: 18px; max-width: 440px; font-size: 12.5px; color: var(--muted); text-align: center; }

/* ---------- account ---------- */
.account-head { display: flex; align-items: center; gap: 20px; }
.tabs { display: flex; gap: 4px; margin: 8px 0 24px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.tabs a { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 14px 16px; font-weight: 700; color: var(--muted); white-space: nowrap; transition: color .2s; }
.tabs a::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: -1px; height: 2px; border-radius: 2px; background: var(--ink); transform: scaleX(0); transition: transform .4s var(--ease); }
.tabs a:hover { color: var(--ink); }
.tabs a.active { color: var(--ink); }
.tabs a.active::after { transform: scaleX(1); }
.count { padding: 1px 8px; border-radius: 999px; font-size: 12px; background: var(--glass-2); border: 1px solid var(--line); color: var(--ink); }
.tab-body { padding-bottom: 64px; }
.group-title { display: flex; align-items: center; gap: 8px; margin: 26px 0 10px; font-size: 15px; font-weight: 800; color: var(--ink-2); }
.group-title:first-child { margin-top: 0; }
.row-item { display: flex; align-items: center; gap: 16px; margin-bottom: 10px; padding: 14px; border-radius: 18px; transition: border-color .25s, transform .35s var(--ease); }
.row-item:hover { border-color: var(--line-2); transform: translateX(4px); }
.row-thumb { width: 84px; height: 64px; flex-shrink: 0; border-radius: 12px; overflow: hidden; background: var(--glass); }
.row-thumb img { width: 100%; height: 100%; object-fit: cover; }
.row-thumb .ph span { display: none; }
.row-main { flex: 1; min-width: 0; }
.row-title { display: block; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
a.row-title:hover { text-decoration: underline; text-underline-offset: 3px; }
.row-actions { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.status { font-weight: 700; }
.status-active { color: var(--ink); }
.status-sold { color: var(--muted); text-decoration: line-through; }
.enq { margin-bottom: 10px; padding: 16px; border-radius: 18px; }
.enq-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 8px; }
.enq p { margin: 6px 0 12px; color: var(--ink-2); }
.enq-from { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 14px; }
.profile-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(360px, 100%), 1fr)); gap: 18px; align-items: start; padding-bottom: 64px; }
.profile-grid .panel { margin-top: 0; }
.profile-grid .panel p { margin-bottom: 14px; }
.danger-zone { border-color: color-mix(in srgb, var(--danger) 35%, transparent); }

/* ---------- modal ---------- */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px;
  background: rgba(0, 0, 0, .55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  animation: fade .25s ease-out;
}
.modal {
  width: 100%; max-width: 480px; max-height: calc(100vh - 32px); overflow: auto; padding: 26px; border-radius: 26px;
  background: var(--glass-strong); border: 1px solid var(--glass-border); box-shadow: var(--glass-hi), var(--shadow-lg);
  -webkit-backdrop-filter: blur(30px) saturate(150%); backdrop-filter: blur(30px) saturate(150%);
  animation: modalIn .45s var(--ease);
}
.modal-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 4px; }
.modal-head h2 { font-size: 21px; font-weight: 800; letter-spacing: -.02em; }
.modal .sub { margin-bottom: 18px; }
.modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 22px; }
body.modal-open { overflow: hidden; }
@keyframes fade { from { opacity: 0; } }
@keyframes modalIn { from { opacity: 0; transform: translateY(24px) scale(.94); } }

/* ---------- toasts ---------- */
.toasts { position: fixed; left: 50%; bottom: 24px; z-index: 200; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; pointer-events: none; width: max-content; max-width: calc(100% - 32px); }
.toast {
  display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 14px;
  background: var(--inv-bg); color: var(--inv-ink); font-weight: 600; font-size: 14px;
  box-shadow: 0 20px 50px -16px var(--btn-glow);
  animation: toastIn .5s var(--ease); transition: opacity .3s, transform .3s;
}
.toast-error { background: var(--danger); color: #fff; }
.toast.out { opacity: 0; transform: translateY(10px) scale(.96); }
@keyframes toastIn { from { opacity: 0; transform: translateY(24px) scale(.9); } }

/* ---------- footer (always black) ---------- */
.site-footer { position: relative; margin-top: auto; padding-top: 56px; overflow: hidden; background: #000; color: #b9b9be; border-top: 1px solid rgba(255, 255, 255, .1); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 32px; }
/* vertical spacing only; .site-footer prefix so the phone .container padding rule can't reset it */
.site-footer .footer-grid { padding-bottom: 40px; }
.site-footer .footer-bottom { padding-top: 18px; padding-bottom: 22px; }
.site-footer .logo { color: #fff; }
.site-footer p { margin-top: 14px; max-width: 330px; font-size: 14px; color: #9c9ca2; }
.site-footer h4 { margin-bottom: 12px; font-size: 13px; color: #fff; text-transform: uppercase; letter-spacing: .12em; }
.site-footer nav a { position: relative; display: block; width: max-content; padding: 4px 0; font-size: 14px; color: #b9b9be; transition: color .2s, transform .3s var(--ease); }
.site-footer nav a:hover { color: #fff; transform: translateX(4px); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 18px; padding-bottom: 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13px; color: #8a8a90; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .hero-float { display: none; }
}
/* menu button instead of the full nav (8 sections need about 1270px) */
@media (max-width: 1260px) {
  .menu-toggle { display: inline-grid; margin-left: -8px; }
  .header-inner { gap: 10px; }
  .main-nav {
    display: none; position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; padding: 10px 16px 16px;
    background: var(--menu-bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
  }
  body.menu-open .main-nav { display: flex; animation: fadeDown .35s var(--ease); }
  .main-nav a { padding: 12px 14px; font-size: 15.5px; animation: none; }
  .main-nav a::after { display: none; }
  .nav-theme {
    display: flex; align-items: center; gap: 10px; margin-top: 6px; padding: 14px; border: 0; border-top: 1px solid var(--line);
    background: none; color: var(--ink-2); font-weight: 600; font-size: 15.5px; text-align: left;
  }
}
@media (max-width: 960px) {
  /* the vehicle types stay one row; swipe sideways for the rest */
  .cat-grid {
    display: flex; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none;
    margin: -6px -28px; padding: 6px 28px; scroll-padding-inline: 28px;
  }
  .cat-grid::-webkit-scrollbar { display: none; }
  .cat-tile { flex: 0 0 auto; min-width: 168px; scroll-snap-align: start; }
  .service-grid { grid-template-columns: 1fr; }
  .browse { grid-template-columns: 1fr; }
  .filters { display: none; position: static; max-height: none; }
  .filters.open { display: block; }
  .filter-toggle { display: inline-flex; }
  /* on small screens show price + contact right under the title */
  .detail { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .detail-main { display: contents; }
  .gallery { order: 1; }
  .detail-head { order: 2; }
  .detail-side { order: 3; position: static; margin-top: 16px; }
  .detail .panel { order: 4; }
  .ph-flex { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .toolbar { flex-wrap: wrap; }
  .toolbar .search-input { flex-basis: 100%; }
  .toolbar select { flex: 1 1 30%; }
}
@media (max-width: 640px) {
  :root { --blur: 12px; }
  body { font-size: 14.5px; }
  .container { padding: 0 16px; }
  .logo { font-size: 19px; }
  .header-actions .theme-toggle { display: none; }
  .btn-post span { display: none; }
  .btn-post { width: 42px; padding: 0; }
  .btn-login { padding: 0 10px; }
  .hero { padding: 32px 0 36px; }
  .hero-stats > div { padding: 0 16px; }
  .hero-stats strong { font-size: 26px; }
  .section { padding: 44px 0; }
  .section-head { align-items: flex-start; flex-direction: column; gap: 8px; }
  .section-types { padding: 24px 0 0; }
  .section-latest { padding-top: 30px; }
  .cat-grid { margin: -6px -16px; padding: 6px 16px; scroll-padding-inline: 16px; }
  .cat-tile { min-width: 150px; padding: 10px 12px; }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 30px 24px; }
  .results-bar { flex-wrap: wrap; }
  .results-bar .search-input { flex-basis: 100%; }
  .sort-select { flex: 1; min-width: 0; }
  .toolbar select { flex: 1 1 100%; }
  .form-card { padding: 4px 18px 22px; border-radius: 20px; }
  .form-grid, .form-grid.cols-3 { grid-template-columns: 1fr; }
  .type-picker { grid-template-columns: repeat(3, 1fr); }
  .type-tabs { grid-template-columns: 1fr 1fr; }
  .form-actions { flex-direction: column-reverse; align-items: stretch; }
  .spec-grid { grid-template-columns: 1fr; }
  .panel { padding: 18px; }
  .row-item { flex-wrap: wrap; }
  .row-item:hover { transform: none; }
  .row-actions { width: 100%; justify-content: flex-start; }
  .account-head { flex-wrap: wrap; }
  .auth-card { padding: 26px 20px; }
  .otp-inputs { gap: 6px; }
  .otp-inputs input { height: 52px; font-size: 20px; }
  .modal { padding: 20px; }
}

/* =========================================================
   Gear Bay additions: wide layout, ad slots, wordmark,
   iBay label, listings from public sources
   ========================================================= */
/* listing grids: let ad banners sit on a row boundary */
.grid { grid-auto-flow: row dense; }
/* home grids: 2 full rows of 5 on wide screens, 8 cards below that */
@media (min-width: 1280px) { .grid-home { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (max-width: 1279px) { .grid-home > a.card:nth-of-type(n+9) { display: none; } }

/* brand: same lowercase heavy wordmark as the footer */
.logo { letter-spacing: -.05em; }

/* "Taken from iBay": light blue box, white text */
.badge-src, .pill-src {
  background: #2f9ee9; color: #fff; border: 0; font-weight: 700;
  -webkit-backdrop-filter: none; backdrop-filter: none; text-shadow: 0 1px 1px rgba(0, 0, 0, .18);
}
.badge-src { top: auto; bottom: 12px; border-radius: 6px; font-size: 11px; padding: 4px 9px; }
.pill-src { border-radius: 6px; }
.source-mark { font-size: 14px; letter-spacing: -.02em; background: #2f9ee9; color: #fff; box-shadow: none; }

/* garages listed from public sources */
.src-tag { display: inline-flex; align-items: center; gap: 5px; padding: 2px 8px; border-radius: 6px; font-size: 11.5px; font-weight: 700; color: var(--ink-2); border: 1px dashed var(--line-2); }
.src-tag.src-ibay { margin-top: 6px; background: #2f9ee9; color: #fff; border: 0; padding: 3px 8px; }
.biz-fee strong.fee-none { font-size: 15px; font-weight: 700; color: var(--muted); }
.src-note { font-size: 12.5px; color: var(--muted); }
.src-note a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }

/* ad slots between listings */
.ad-slot {
  grid-column: 1 / -1; position: relative; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  min-height: 120px; padding: 26px 30px; border-radius: 20px; overflow: hidden;
  border: 1px dashed var(--line-2); color: var(--muted);
  background: repeating-linear-gradient(135deg, var(--glass) 0 14px, transparent 14px 28px);
}
.ad-label {
  position: absolute; top: 9px; left: 14px; font-size: 10px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted);
}
.ad-copy strong { display: block; color: var(--ink); font-size: 18px; letter-spacing: -.01em; }
.ad-copy span { font-size: 13.5px; }
.ad-size { flex-shrink: 0; font-size: 12px; font-weight: 600; white-space: nowrap; padding: 4px 10px; border: 1px solid var(--line-2); border-radius: 999px; }
.ad-live { display: block; padding: 0; min-height: 0; border-style: solid; border-color: var(--line); background: var(--glass); }
.ad-live .ad-label { z-index: 1; padding: 2px 6px; border-radius: 4px; background: rgba(0, 0, 0, .55); color: #fff; }
.ad-live img { width: 100%; height: auto; max-height: 220px; object-fit: cover; }

@media (max-width: 640px) {
  .badge-src { bottom: 10px; }
  .ad-slot { flex-direction: column; align-items: flex-start; gap: 10px; min-height: 0; padding: 30px 18px 18px; }
}
/* =========================================================
   Gear Bay logo + brand gradient accents
   ========================================================= */
/* logo image: single line, white "GEAR" on dark backgrounds, black on light.
   Brand guide minimum width is 180px, so keep it at 41px tall or more (about 4.4 : 1). */
.logo { gap: 0; flex-shrink: 0; }
.logo-img { display: block; height: 42px; width: auto; transition: transform .4s var(--ease), filter .4s; }
.logo:hover .logo-img { transform: scale(1.04); filter: drop-shadow(0 6px 18px var(--btn-glow)); }
:root[data-theme="dark"] .logo-on-light, :root[data-theme="light"] .logo-on-dark { display: none; }
/* tagline under the header logo: capitals, heavy, same width as the logo; black on the light
   theme, white on the dark theme (like "GEAR") */
.site-header .logo { flex-direction: column; align-items: stretch; gap: 5px; }
.logo-tag {
  display: block; width: 0; min-width: 100%; white-space: nowrap; text-align: center;
  font-size: 8.4px; font-weight: 800; line-height: 1; letter-spacing: .05em; text-transform: uppercase; color: #000;
}
:root[data-theme="dark"] .logo-tag { color: #fff; }

/* intro screen: animated logo for ~2.5 s, then fades out (logo animation lives in the splash SVGs) */
.splash {
  position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 24px;
  background: var(--bg); transition: opacity .45s var(--ease), visibility .45s;
}
.splash-inner { display: flex; flex-direction: column; align-items: center; width: min(460px, 78vw); transition: transform .45s var(--ease); }
.splash-logo { display: block; width: 100%; height: auto; }
.splash-tag {
  margin-top: 14px; white-space: nowrap; font-size: clamp(10px, 2.6vw, 13.5px); font-weight: 800; line-height: 1;
  letter-spacing: .16em; text-transform: uppercase; color: #000; animation: splashTag .6s var(--ease) .75s both;
}
:root[data-theme="dark"] .splash-tag { color: #fff; }
.splash-bar { width: 132px; height: 3px; margin-top: 22px; border-radius: 3px; overflow: hidden; background: var(--line-2); }
.splash-bar i { display: block; width: 100%; height: 100%; background: var(--brand-grad); transform-origin: left; animation: splashBar 2.45s cubic-bezier(.65, 0, .25, 1) .05s both; }
@keyframes splashTag { from { opacity: 0; letter-spacing: .5em; } to { opacity: 1; letter-spacing: .16em; } }
@keyframes splashBar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.splash.splash-out { opacity: 0; visibility: hidden; pointer-events: none; }
.splash.splash-out .splash-inner { transform: scale(1.06); }
/* while the intro shows, hold the page's entrance animations so they play as it fades away */
html.splashing #app *, html.splashing .site-header * { animation-play-state: paused !important; }
.site-footer .logo-img { height: 50px; }
/* the single-line logo is wider than the old stacked one: tighten the 8-item menu
   between the collapse point (1260px) and 1500px so "Post a listing" still fits */
@media (min-width: 1261px) and (max-width: 1499px) {
  .header-inner { gap: 16px; }
  .main-nav a { padding: 8px 9px; font-size: 14px; }
  .main-nav a::after { left: 9px; right: 9px; }
  .header-actions { gap: 6px; }
}
@media (min-width: 1261px) and (max-width: 1365px) {
  .header-inner { gap: 12px; }
  .main-nav { gap: 0; }
  .main-nav a { padding: 8px 7px; font-size: 13.5px; }
  .main-nav a::after { left: 7px; right: 7px; }
}

/* accents */
::selection { background: var(--brand-2); color: #fff; }
:focus-visible { outline-color: var(--brand-2); }
.btn-primary { background: var(--brand-grad); color: #fff; }
.btn-primary::after { background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .32), transparent); }
.btn-primary:hover { filter: brightness(1.08) saturate(1.08); }
.segmented button.active, .segmented input:checked + span,
.cat-radio input:checked + span, .type-opt input:checked + span, .check-chip input:checked + span, .type-tabs a.active {
  background: var(--brand-grad); border-color: transparent; color: #fff;
}
.badge-sale, .pill-solid { background: var(--brand-grad); border-color: transparent; color: #fff; }
.step, .avatar-lg, .auth-icon { background: var(--brand-grad); color: #fff; }
.cat-tile:hover .cat-icon, .biz-card:hover .biz-icon { background: var(--brand-grad); border-color: transparent; color: #fff; }
.s-icon { background: var(--brand-grad); color: #fff; }
.main-nav a::after, .tabs a::after { background: var(--brand-grad); }
.main-nav a.active { box-shadow: inset 0 0 0 1px var(--line), inset 0 -2px 0 var(--brand-2); }
.link-more, .link-btn { color: var(--accent); }
.link-btn { text-decoration-color: color-mix(in srgb, var(--accent) 40%, transparent); }
.thumb.active { border-color: var(--brand-2); }
.checkbox input, input[type="radio"], input[type="checkbox"] { accent-color: var(--brand-2); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand-2); }
#routeBar { background: var(--brand-grad); box-shadow: 0 0 14px var(--brand-2); }
.pulse-dot, .pulse-dot::after { background: var(--brand-3); }
.w > .shine-text {
  background: linear-gradient(90deg, var(--tx-1) 0%, var(--tx-2) 25%, var(--tx-3) 50%, var(--tx-2) 75%, var(--tx-1) 100%);
  background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-stats strong { background: linear-gradient(100deg, var(--tx-1), var(--tx-2) 55%, var(--tx-3)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cta-band { background: var(--brand-grad); color: #fff; }
.cta-band .btn-white { background: #fff; color: var(--brand-1); }
.cta-band .btn-white:hover { box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .45); }
.cta-band p { opacity: .85; }

@media (max-width: 640px) {
  .logo-img { height: 41px; }
  .site-footer .logo-img { height: 44px; }
}
/* hero slideshow: vehicle drawings, a new one every 2 s (dark mode shows them inverted: white lines) */
.hero-vehicles {
  position: relative; z-index: 2; width: 100%; max-width: 560px; margin: 26px 0 0;
  display: flex; flex-direction: column; animation: fadeUp 1s var(--ease) .6s backwards;
}
/* desktop: the drawing sits in its own column beside the text and stats, so it never overlaps them */
@media (min-width: 1181px) {
  .hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) clamp(420px, calc(100% - 800px), 620px); column-gap: 40px; align-items: start; }
  .hero-inner > * { grid-column: 1; }
  .hero-inner > .eyebrow { justify-self: start; }
  .hero-inner > .hero-vehicles { grid-column: 2; grid-row: 1 / span 4; align-self: center; max-width: none; margin: 0; }
  .hero h1 { max-width: none; }
}
.hv-stage { position: relative; aspect-ratio: 16 / 8.4; }
.hv-stage::after {
  content: ""; position: absolute; left: 12%; right: 12%; bottom: 2%; height: 16%; z-index: -1;
  background: radial-gradient(ellipse at center, var(--glass-3), transparent 70%);
}
.hv {
  position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%;
  opacity: 0; transform: translateX(-70px); transition: opacity .45s var(--ease), transform .7s var(--ease);
}
/* the old vehicle drives out first, then the new one drives in, so the drawings never overlap */
.hv.on { opacity: 1; transform: none; transition-delay: .32s; }
.hv.out { opacity: 0; transform: translateX(80px); transition-duration: .3s, .45s; transition-delay: 0s; }
.hv img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
/* neon wireframe drawings: glowing version on dark, crisp version on light */
:root[data-theme="dark"] .hv-l, :root[data-theme="light"] .hv-d { display: none; }

/* neon effects: dotted arc, flowing light trails and twinkling sparks around the vehicle */
.hv-arc {
  position: absolute; left: 50%; top: 48%; height: 118%; aspect-ratio: 1; translate: -50% -50%; z-index: 0;
  border-radius: 50%; border: 1px dashed rgba(255, 70, 60, .34); animation: spin 90s linear infinite;
}
.hv-arc::after {
  content: ""; position: absolute; inset: 9%; border-radius: 50%; border: 1px dotted rgba(40, 200, 220, .18);
}
.hv-trails {
  position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; pointer-events: none; overflow: visible;
  mix-blend-mode: screen; filter: drop-shadow(0 0 4px rgba(255, 90, 40, .9)) drop-shadow(0 0 12px rgba(255, 40, 40, .45));
}
.hv-trails path { stroke-dasharray: 170 720; stroke-dashoffset: 890; animation: trailFlow var(--dur, 6s) linear var(--delay, 0s) infinite; }
@keyframes trailFlow { to { stroke-dashoffset: 0; } }
.hv-sparks { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.hv-sparks i {
  position: absolute; border-radius: 50%; opacity: 0; box-shadow: 0 0 8px 1px rgba(255, 80, 50, .75);
  animation: spark var(--d, 4s) ease-in-out var(--w, 0s) infinite;
}
@keyframes spark {
  0%, 100% { opacity: 0; transform: translateY(8px) scale(.5); }
  50% { opacity: 1; transform: translateY(-8px) scale(1); }
}
:root[data-theme="light"] .hv-trails { mix-blend-mode: normal; opacity: .75; filter: drop-shadow(0 0 3px rgba(255, 90, 40, .6)); }
:root[data-theme="light"] .hv-sparks i { box-shadow: 0 0 6px rgba(255, 80, 50, .5); }
:root[data-theme="light"] .hv-arc { border-color: rgba(176, 16, 31, .26); }
@media (prefers-reduced-motion: reduce) {
  .hv-trails path { animation: none !important; stroke-dasharray: none; opacity: .5; }
  .hv-sparks i { animation: none !important; opacity: .6; }
  .hv-arc { animation: none !important; }
}
.hv-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 10px; padding: 0 6%; }
.hv-caption { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 15px; color: var(--ink); }
.hv-caption .icon { color: var(--accent); transition: transform .3s var(--ease); }
.hv-caption:hover .icon { transform: translateX(4px); }
.hv-dots { display: flex; gap: 6px; }
.hv-dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: var(--line-2); cursor: pointer; transition: width .35s var(--ease), background .35s; }
.hv-dot.on { width: 24px; background: var(--brand-grad); }
@media (max-width: 640px) {
  .hv-foot { padding: 0; }
  .hv-caption { font-size: 14px; }
}
/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; scroll-behavior: auto !important;
  }
  .orb, .grain, .cursor-glow { animation: none !important; }
}
