/* ============================================================
   BBS Korea Auto Imports — Design System
   Palette: Midnight Navy + Electric Azure + Cool Slate
   ============================================================ */
:root {
  /* Brand — deep midnight navy / indigo */
  --burgundy-900: #060b18;
  --burgundy-800: #0b1428;
  --burgundy-700: #122142;
  --burgundy-600: #1b345f;
  --burgundy-500: #2f6bff;
  /* Accent — electric azure / cyan */
  --gold-500: #0ea5e9;
  --gold-400: #38bdf8;
  --gold-300: #7dd3fc;
  --ink-900: #070b16;
  --ink-800: #0e1526;
  --ink-700: #17203a;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --paper: #f6f8fc;
  --white: #ffffff;

  --grad-burgundy: linear-gradient(135deg, #16305c 0%, #0a1730 100%);
  --grad-gold: linear-gradient(135deg, #38bdf8 0%, #2f6bff 100%);
  --grad-hero: radial-gradient(1200px 620px at 12% -10%, rgba(47,107,255,.55), transparent 60%),
               radial-gradient(1000px 520px at 92% 8%, rgba(56,189,248,.32), transparent 55%),
               linear-gradient(160deg, #060b18 0%, #0a1730 45%, #112142 100%);

  --shadow-sm: 0 1px 2px rgba(9,13,26,.06), 0 1px 3px rgba(9,13,26,.08);
  --shadow-md: 0 12px 28px -10px rgba(9,13,26,.22), 0 6px 12px -6px rgba(9,13,26,.14);
  --shadow-lg: 0 30px 60px -18px rgba(15,42,90,.4);
  --radius: 18px;
  --radius-sm: 12px;
  --container: 1180px;
  --hero-content: 1080px;

  --font-sans: 'Manrope', system-ui, -apple-system, sans-serif;
  --font-display: 'Sora', 'Manrope', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  font-family: var(--font-sans);
  color: var(--ink-800);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; font-weight: 700; letter-spacing: -.02em; }
h1, h2, h3, h4, p, span, div { overflow-wrap: break-word; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 clamp(16px, 4vw, 24px); }
.section { padding: clamp(44px, 7vw, 72px) 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--burgundy-600);
}
.eyebrow.on-dark { color: var(--gold-400); }
.section-title { font-size: clamp(28px, 4vw, 42px); text-align: center; color: var(--ink-900); }
.section-sub { text-align: center; color: var(--slate-500); max-width: 640px; margin: 14px auto 0; font-size: 17px; }
.center { text-align: center; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 24px; border-radius: 999px; font-weight: 700; font-size: 15px;
  border: none; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-gold { background: var(--grad-gold); color: #ffffff; box-shadow: 0 8px 20px -6px rgba(56,189,248,.5); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -8px rgba(56,189,248,.6); }
.btn-burgundy { background: var(--grad-burgundy); color: #fff; box-shadow: var(--shadow-md); }
.btn-burgundy:hover { transform: translateY(-2px); }
.btn-outline { background: rgba(255,255,255,.06); color: #fff; border: 1.5px solid rgba(255,255,255,.35); }
.btn-outline:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.6); }
.btn-ghost { background: var(--white); color: var(--burgundy-700); border: 1.5px solid var(--slate-200); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { border-color: var(--burgundy-500); color: var(--burgundy-600); }

/* ===== Announcement bar ===== */
.topbar {
  background: var(--ink-900); color: #fff; font-size: 13px; font-weight: 600;
  letter-spacing: .02em;
}
.topbar .container { display: flex; align-items: center; justify-content: center; gap: 22px; padding: 9px 20px; flex-wrap: wrap; }
.topbar span { display: inline-flex; align-items: center; gap: 7px; color: var(--slate-200); }
.topbar b { color: var(--gold-400); }
.topbar .dot { width: 6px; height: 6px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34,197,94,.2); }
.topbar-contact {
  display: inline-flex; align-items: center; gap: 8px; padding-left: 22px;
  border-left: 1px solid rgba(255,255,255,.16); color: #fff; white-space: nowrap;
  transition: color .18s ease;
}
.topbar-contact:hover { color: var(--gold-300); }
.topbar-contact svg {
  width: 15px; height: 15px; flex: 0 0 auto; fill: none; stroke: currentColor;
  stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
}
.topbar-contact span { color: inherit; }

/* ===== Header ===== */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7,11,22,.75); backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.header .container { display: flex; align-items: center; justify-content: space-between; height: clamp(58px, 8vw, 68px); gap: 12px; }
.header .container { padding-left: clamp(10px, 2vw, 16px); }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo {
  width: 118px; height: 42px; border-radius: 9px;
  display: grid; place-items: center; overflow: hidden;
  color: #fff; background: #020204; border: 1px solid rgba(255,255,255,.72);
  box-shadow: 0 8px 18px -10px rgba(0,0,0,.8), inset 0 0 0 1px rgba(255,255,255,.05);
}
.brand-logo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.brand-name { color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 16px; line-height: 1.1; }
.brand-name small { display: block; font-size: 10px; letter-spacing: .22em; color: var(--gold-400); font-weight: 600; margin-top: 2px; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { display: inline-flex; align-items: center; gap: 7px; color: rgba(255,255,255,.82); font-size: 13.5px; font-weight: 600; letter-spacing: .03em; white-space: nowrap; transition: color .15s; }
.nav a:hover { color: var(--gold-400); }
.nav a.nav-featured { font-size: 14.5px; font-weight: 800; }
.nav a.nav-featured-offers { color: #ffd34f; }
.nav a.nav-featured-offers:hover { color: #ffe27f; }
.nav a.nav-featured-stock {
  color: #fff;
  text-shadow: 0 0 7px rgba(80,185,255,.38);
}
.nav a.nav-featured-stock:hover { color: #dff3ff; }
.nav a.active { color: #fff; }
.nav a.active::after {
  content: ''; height: 2px; border-radius: 999px; background: var(--gold-400);
  position: absolute; left: 0; right: 0; bottom: -8px;
}
.nav a { position: relative; }
.nav-count {
  display: inline-grid; place-items: center; min-width: 27px; height: 22px; padding: 0 7px;
  border-radius: 6px; background: var(--gold-500); color: #fff;
  font-size: 11px; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums;
}
.nav a.nav-featured-offers .nav-count { background: #ffd34f; color: #111827; }
.nav a.nav-featured-stock .nav-count { background: rgba(255,255,255,.2); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.icon-btn { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center;
  color: #fff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); }
.icon-btn:hover { background: rgba(255,255,255,.16); }
.menu-toggle { display: none; cursor: pointer; }

/* ===== Mobile menu ===== */
.mobile-menu {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(320px, 84vw); z-index: 60;
  background: var(--ink-900); border-left: 1px solid rgba(255,255,255,.1);
  padding: 20px; overflow-y: auto;
  transform: translateX(100%);
  visibility: hidden; pointer-events: none;
  transition: transform .28s cubic-bezier(.4,0,.2,1), visibility 0s linear .28s;
}
.mobile-menu.open {
  transform: none; visibility: visible; pointer-events: auto;
  transition: transform .28s cubic-bezier(.4,0,.2,1), visibility 0s;
}
.mobile-menu .mm-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.mobile-menu a.mm-link {
  display: flex; align-items: center; justify-content: space-between; min-height: 52px;
  color: #fff; font-weight: 600; font-size: 16px; padding: 0 4px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.mobile-menu a.mm-link:active { color: var(--gold-400); }
.mobile-menu a.mm-link.nav-featured-offers {
  color: #ffd34f;
  font-size: 17px;
  font-weight: 800;
}
.mobile-menu a.mm-link.nav-featured-stock {
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  text-shadow: 0 0 7px rgba(80,185,255,.4);
}
.mobile-menu .mm-link-label { display: inline-flex; align-items: center; gap: 8px; }
.mobile-menu .mm-cta { margin-top: 22px; display: grid; gap: 10px; }
.mobile-menu .mm-cta .btn { width: 100%; min-height: 48px; }
.mm-overlay { position: fixed; inset: 0; background: rgba(3,6,14,.6); backdrop-filter: blur(2px);
  z-index: 55; opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .28s ease, visibility 0s linear .28s; }
.mm-overlay.open { opacity: 1; visibility: visible; pointer-events: auto;
  transition: opacity .28s ease, visibility 0s; }
body.menu-open { overflow: hidden; }

/* ===== Hero (navy premium, real photo) ===== */
.hero { position: relative; background: var(--grad-hero); overflow: hidden; }
.hero::after {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 26px 26px; opacity: .45; pointer-events: none;
}
.hero .container { position: relative; z-index: 3; }
.hero-banner {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: clamp(16px, 2.2vw, 26px); padding-top: clamp(12px, 1.8vw, 22px); padding-bottom: clamp(24px, 3.4vw, 42px);
}

/* Hero offer slider */
.hero-offer-slider { width: 100%; max-width: var(--hero-content); position: relative; }
.hero-slider-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-bottom: 8px; color: rgba(255,255,255,.76);
}
.hero-slider-eyebrow {
  font-size: 12px; font-weight: 800; text-transform: uppercase; color: var(--gold-400);
  letter-spacing: .12em;
}
.hero-slider-count { font-size: 13px; font-weight: 800; font-family: var(--font-display); }
.hero-slide-card {
  display: block; position: relative; border-radius: clamp(14px, 1.6vw, 20px);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14); box-shadow: 0 26px 64px -34px rgba(0,0,0,.86);
  color: #fff; overflow: hidden; transition: transform .24s ease, border-color .24s ease, background .24s ease;
}
.hero-slide-card:hover { transform: translateY(-3px); border-color: rgba(56,189,248,.42); background: rgba(255,255,255,.13); }
.hero-slide-media { position: relative; overflow: hidden; aspect-ratio: 16 / 6.65; background: var(--ink-900); }
.hero-photo {
  width: 100%; height: 100%; object-fit: cover; transform: scale(1.01);
  transition: opacity .38s ease, transform .7s ease;
}
.hero-slide-media.is-missing-photo { background: #05070c; }
.hero-slide-media.is-missing-photo::before {
  content: 'Foto në përditësim'; position: absolute; left: 50%; top: 62%; z-index: 1;
  transform: translate(-50%, -50%); color: rgba(255,255,255,.62); font-size: 12px; font-weight: 700;
}
.hero-slide-media.is-missing-photo .hero-photo {
  object-fit: contain; padding: clamp(58px, 9vw, 100px) clamp(70px, 13vw, 180px); opacity: .72;
}
.hero-slide-card.is-changing .hero-photo { opacity: .38; transform: scale(1.04); }
.hero-photo-badge { position: absolute; left: 18px; top: 18px; z-index: 2;
  background: rgba(7,11,22,.7); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.15);
  color: #fff; font-size: 13px; font-weight: 700; padding: 8px 14px; border-radius: 999px; }
.hero-slide-info {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center;
  gap: 14px; padding: 52px clamp(14px, 2vw, 22px) clamp(14px, 1.8vw, 18px); text-align: left;
  background: linear-gradient(180deg, transparent 0%, rgba(3,8,18,.68) 44%, rgba(3,8,18,.93) 100%);
}
.hero-slide-badge {
  justify-self: start; border-radius: 999px; padding: 7px 11px; background: var(--grad-gold);
  color: #fff; font-size: 11px; font-weight: 900; text-transform: uppercase; white-space: nowrap;
}
.hero-slide-meta {
  color: rgba(255,255,255,.62); font-size: 12px; font-weight: 800; text-transform: uppercase;
}
.hero-slide-title { color: #fff; font-size: 21px; font-weight: 800; margin-top: 2px; letter-spacing: 0; }
.hero-slide-price {
  justify-self: end; font-family: var(--font-display); font-size: 22px; font-weight: 800;
  color: var(--gold-400); white-space: nowrap;
}
.hero-slide-price small {
  display: block; color: rgba(255,255,255,.56); font-size: 10px; font-weight: 700; text-align: right;
}
.hero-slide-dots { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
.hero-slide-dot {
  width: 28px; height: 4px; border-radius: 999px; border: 0; cursor: pointer;
  background: rgba(255,255,255,.28); transition: width .2s ease, background .2s ease;
}
.hero-slide-dot.active { width: 44px; background: var(--gold-400); }

/* Copy */
.hero-copy { position: relative; z-index: 3; max-width: 920px; margin: 0 auto; display: grid; justify-items: center; gap: clamp(10px, 1.35vw, 16px); }
.hero-eyebrow {
  color: var(--gold-400); font-size: 13px; font-weight: 900; letter-spacing: .12em;
  line-height: 1.25; text-transform: uppercase;
}
.hero-source-row { display: flex; align-items: baseline; justify-content: center; gap: clamp(12px, 1.8vw, 22px); flex-wrap: wrap; }
.hero-kicker { font-family: var(--font-display); font-weight: 800; font-size: clamp(24px, 2.7vw, 36px); line-height: 1.08; color: #fff; }
.source-logos { display: flex; align-items: baseline; justify-content: center; gap: 14px; margin: 0; flex-wrap: nowrap; }
.src { display: inline-flex; align-items: baseline; font-family: var(--font-display); font-weight: 800; color: #fff; }
.src.encar { position: relative; font-size: clamp(26px, 2.35vw, 31px); }
.src.encar small { position: absolute; top: -13px; left: 0; font-size: 13px; font-weight: 600; font-style: italic; color: var(--gold-400); font-family: var(--font-sans); }
.src.kb { font-size: clamp(24px, 2.2vw, 29px); gap: 4px; }
.src.kb .kb-badge { color: var(--gold-400); }
.src-or { color: rgba(255,255,255,.6); font-size: 16px; font-weight: 600; }
.hero-verify { color: rgba(255,255,255,.86); font-size: clamp(16px, 1.65vw, 20px); font-weight: 650; line-height: 1.35; max-width: 760px; }
.hero-verify b { color: var(--gold-400); }
.hero-headline {
  display: block;
  color: #fff; font-size: clamp(32px, 3.7vw, 50px); font-weight: 800; line-height: 1.06; max-width: 1060px;
}
.hero-headline .lift { background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-logo {
  width: clamp(116px, 14vw, 174px); height: clamp(52px, 5.7vw, 70px); border-radius: clamp(12px, 1.2vw, 16px);
  display: grid; place-items: center; align-content: center; gap: 4px; flex: 0 0 auto;
  color: #fff; border: 1.5px solid rgba(255,255,255,.9);
  background: rgba(255,255,255,.045); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), 0 18px 40px -24px rgba(0,0,0,.7);
  -webkit-text-fill-color: #fff;
}
.hero-logo strong {
  font-family: var(--font-display); font-size: clamp(28px, 3.5vw, 45px); font-weight: 900;
  line-height: .78; letter-spacing: .08em; transform: scaleX(1.45); transform-origin: center;
}
.hero-logo span {
  color: rgba(255,255,255,.68); font-family: var(--font-sans); font-size: clamp(8px, .9vw, 12px);
  font-weight: 500; letter-spacing: .24em; line-height: 1; white-space: nowrap;
}
.headline-tail { color: #fff; }
.mobile-break { display: none; }
.hero-service-list {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: 10px 12px; max-width: 1040px;
}
.hero-service-list span {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 36px; padding: 8px 12px; border-radius: 999px;
  color: rgba(255,255,255,.92); background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.13); font-size: 13.5px; font-weight: 800;
  backdrop-filter: blur(8px);
}
.hero-service-list svg {
  width: 17px; height: 17px; flex: 0 0 auto;
  fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.hero-contact { display: inline-flex; align-items: center; gap: 10px; margin-top: 2px; padding: 12px 23px;
  border-radius: 999px; background: var(--grad-gold); color: #fff; font-weight: 800; font-size: 16px;
  box-shadow: 0 10px 26px -8px rgba(56,189,248,.55); }
.hero-contact:hover { transform: translateY(-2px); }
.hero-cta { display: flex; gap: 14px; margin-top: 26px; flex-wrap: wrap; }

/* Slim stats strip under banner */
.hero-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(140px, 45%), 1fr));
  gap: clamp(10px, 1.6vw, 20px); position: relative; z-index: 3; padding: 22px 0 clamp(64px, 9vw, 96px); }
.hero-stat { background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1); border-radius: 14px; padding: clamp(12px, 2vw, 16px) clamp(13px, 2vw, 18px); }
.hero-stat b { display: block; font-family: var(--font-display); font-size: clamp(19px, 2.6vw, 24px); color: var(--gold-400); }
.hero-stat span { font-size: clamp(11px, 1.4vw, 13px); color: rgba(255,255,255,.65); }

/* ===== Search card ===== */
.search-card {
  position: relative; z-index: 3; margin: 0 auto; width: 100%; max-width: 920px;
  background: var(--white); border-radius: clamp(14px, 2vw, 22px); box-shadow: var(--shadow-lg);
  padding: clamp(14px, 2.2vw, 22px); border: 1px solid var(--slate-200);
}
.search-card .search-grid {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(9px, 1.2vw, 12px); align-items: center; justify-content: center;
}
.field label {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.field { min-width: 0; }
.field select, .field input {
  width: 100%; min-height: 46px; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--slate-200);
  background: var(--slate-100); font-size: 16px; font-family: inherit; color: var(--ink-800); font-weight: 600;
  transition: border-color .15s, background .15s; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%2364748b' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 34px;
}
.field input { background-image: none; padding-right: 14px; }
.field select:focus, .field input:focus { outline: none; border-color: var(--burgundy-500); background-color: #fff; }
.search-card .btn { align-self: center; min-height: 46px; padding: 0 20px; width: 100%; }
.btn-soft { background: var(--slate-100); color: var(--burgundy-700); border: 1.5px solid var(--slate-200); }
.btn-soft:hover { background: var(--white); border-color: var(--burgundy-500); }

/* ===== Marquee / brands ===== */
.brands-strip { background: var(--ink-900); padding: 22px 0; overflow: hidden; }
.brands-track { display: flex; gap: 54px; align-items: center; animation: scroll 32s linear infinite; width: max-content; }
.brands-track span { color: rgba(255,255,255,.55); font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: .04em; white-space: nowrap; }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ===== Car cards ===== */
.inventory-group-tabs {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px;
  max-width: 760px; margin: 0 auto 28px; padding: 5px;
  background: var(--slate-100); border: 1px solid var(--slate-200); border-radius: 12px;
}
.inventory-group-tabs button {
  min-width: 0; min-height: 42px; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: 8px; background: transparent; color: var(--slate-500);
  font-family: inherit; font-size: 13px; font-weight: 800; cursor: pointer;
  transition: background .18s ease, color .18s ease, box-shadow .18s ease;
}
.inventory-group-tabs button:hover { color: var(--ink-800); background: rgba(255,255,255,.7); }
.inventory-group-tabs button.active {
  color: var(--ink-900); background: #fff; box-shadow: 0 4px 14px rgba(9,13,26,.1);
}
.inventory-group-tabs b {
  display: inline-grid; place-items: center; min-width: 24px; height: 20px; padding: 0 6px;
  border-radius: 6px; background: var(--slate-200); color: var(--slate-500);
  font-size: 10px; font-variant-numeric: tabular-nums;
}
.inventory-group-tabs button.active b { background: var(--gold-500); color: #fff; }
.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: clamp(14px, 2.4vw, 22px); margin-top: clamp(26px, 4vw, 40px); }
.inventory-results {
  max-width: 920px; margin: 24px auto 0; padding: 11px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  border-bottom: 1px solid var(--slate-200); color: var(--slate-600);
  font-size: 14px; font-weight: 700;
}
.inventory-results[hidden] { display: none; }
.filter-clear {
  flex: none; color: var(--burgundy-600); font-size: 13px; font-weight: 800;
  background: transparent; border: 0; padding: 7px 0; cursor: pointer;
}
.filter-clear:hover { color: var(--burgundy-800); }
.inventory-empty {
  grid-column: 1 / -1; min-height: 240px; display: grid; place-items: center;
  align-content: center; gap: 10px; padding: 36px 20px; text-align: center;
  border-top: 1px solid var(--slate-200); border-bottom: 1px solid var(--slate-200);
}
.inventory-empty svg { width: 34px; height: 34px; color: var(--slate-400); }
.inventory-empty h3 { color: var(--ink-900); font-size: 20px; }
.inventory-empty p { color: var(--slate-500); font-size: 14px; }
.inventory-empty .btn { width: auto; min-height: 40px; margin-top: 5px; padding: 0 18px; }
.car-card {
  display: block; background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid var(--slate-200); color: inherit;
  transition: transform .22s ease, box-shadow .22s ease;
}
.car-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.car-media { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--ink-800); }
.car-photo { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.car-card:hover .car-photo { transform: scale(1.06); }
.vehicle-photo-placeholder {
  width: 100%; height: 100%; min-height: 100%; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 12px; padding: 24px;
  background: #05070c; color: rgba(255,255,255,.68); font-size: 12px; font-weight: 700;
}
.vehicle-photo-placeholder img { width: min(150px, 52%); height: auto; object-fit: contain; opacity: .82; }
.detail-photo-placeholder { aspect-ratio: 16/10; }
.car-badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 7px; }
.car-sold-status { position: absolute; top: 12px; right: 12px; min-height: 28px; display: inline-flex; align-items: center; padding: 0 11px; border: 1px solid rgba(255,255,255,.72); border-radius: 6px; background: rgba(10,18,32,.9); color: #fff; font-size: 10px; font-weight: 900; text-transform: uppercase; }
.chip-sold { border-color: #0f172a; background: #0f172a; color: #fff; }
.vehicle-sold-notice { display: grid; gap: 3px; margin: 16px 0 4px; padding: 12px; border-left: 3px solid #0ea5e9; background: #eef8fd; color: #0f172a; }
.vehicle-sold-notice b { font-size: 13px; }
.vehicle-sold-notice span { color: #526174; font-size: 11px; }
.chip {
  font-size: 11px; font-weight: 800; letter-spacing: .04em; padding: 5px 10px; border-radius: 999px;
  text-transform: uppercase;
}
.chip-gold { background: var(--grad-gold); color: #ffffff; }
.chip-dark { background: rgba(13,16,22,.78); color: #fff; backdrop-filter: blur(4px); }
.chip-green { background: #16a34a; color: #fff; }
.car-score { position: absolute; top: 12px; right: 12px; background: rgba(13,16,22,.78); color: #fff;
  font-size: 12px; font-weight: 800; padding: 5px 11px; border-radius: 999px; backdrop-filter: blur(4px); }
.car-score.sold-offset { top: 48px; }
.car-body { padding: 18px; }
.car-meta { font-size: 12px; font-weight: 700; color: var(--slate-500); letter-spacing: .06em; text-transform: uppercase; }
.car-title { font-size: 20px; color: var(--ink-900); margin-top: 3px; }
.car-title span { color: var(--slate-500); font-weight: 600; }
.car-specs { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.spec { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--slate-500);
  background: var(--slate-100); padding: 6px 10px; border-radius: 9px; }
.spec svg { width: 15px; height: 15px; color: var(--burgundy-500); }
.car-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--slate-200); }
.car-price { font-family: var(--font-display); font-size: 23px; font-weight: 800; color: var(--burgundy-700); }
.car-price small { display: block; font-size: 11px; font-weight: 600; color: var(--slate-400); letter-spacing: .05em; }
.car-link { color: var(--burgundy-600); font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; gap: 5px; }
.car-link:hover { gap: 9px; }

/* ===== Why us ===== */
.why { background: var(--white); }
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); gap: clamp(14px, 2vw, 20px); margin-top: clamp(28px, 4vw, 44px); }
.why-card {
  border-radius: var(--radius); padding: 26px 22px; border: 1px solid var(--slate-200);
  background: linear-gradient(180deg, #fff, var(--paper)); transition: transform .2s, box-shadow .2s;
  position: relative; overflow: hidden;
}
.why-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.why-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--grad-gold); }
.why-icon { width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center;
  background: var(--grad-burgundy); color: var(--gold-400); margin-bottom: 18px; }
.why-icon svg { width: 26px; height: 26px; }
.why-card h3 { font-size: 18px; color: var(--ink-900); }
.why-card p { color: var(--slate-500); font-size: 14.5px; margin-top: 8px; }
.why-card b { color: var(--burgundy-600); }

/* ===== Process ===== */
.process { background: var(--ink-900); color: #fff; position: relative; overflow: hidden; }
.process::before { content: ''; position: absolute; top: -120px; right: -120px; width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(47,107,255,.35), transparent 65%); }
.process .section-title { color: #fff; }
.process .section-sub { color: var(--slate-400); }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: clamp(14px, 2.4vw, 24px); margin-top: clamp(28px, 4vw, 46px); position: relative; z-index: 2; }
.step { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); padding: 28px; }
.step-num { font-family: var(--font-display); font-size: 42px; font-weight: 800;
  background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.step h3 { font-size: 19px; margin-top: 10px; }
.step p { color: var(--slate-400); font-size: 14.5px; margin-top: 8px; }

/* ===== Recent sales gallery ===== */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(155px, 100%), 1fr)); gap: clamp(10px, 1.6vw, 16px); margin-top: clamp(26px, 4vw, 40px); }
.sale-tile { border-radius: var(--radius-sm); aspect-ratio: 4/5; overflow: hidden; position: relative;
  box-shadow: var(--shadow-sm); display: grid; place-items: end start; padding: 16px; color: #fff;
  background: var(--ink-800); }
.sale-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.sale-tile:hover img { transform: scale(1.07); }
.sale-tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(7,11,22,.8), transparent 55%); z-index: 1; }
.sale-tile .tag { position: relative; z-index: 2; background: rgba(13,16,22,.7); backdrop-filter: blur(4px);
  padding: 5px 11px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.sale-tile .sold { position: absolute; top: 12px; right: 12px; z-index: 2; background: #16a34a; color: #fff;
  font-size: 10px; font-weight: 800; letter-spacing: .06em; padding: 4px 9px; border-radius: 999px; text-transform: uppercase; }

/* ===== Calculator ===== */
.calc { background: var(--paper); }
.calc-shell { display: grid; grid-template-columns: 1.1fr .9fr; gap: 26px; margin-top: 40px; }
.calc-form { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); border: 1px solid var(--slate-200); }
.calc-form .field { margin-bottom: 16px; }
.calc-result { background: var(--grad-burgundy); color: #fff; border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.calc-result::before { content: ''; position: absolute; top: -80px; right: -60px; width: 240px; height: 240px; background: radial-gradient(circle, rgba(56,189,248,.3), transparent 65%); }
.calc-result h3 { color: var(--gold-400); font-size: 15px; letter-spacing: .06em; text-transform: uppercase; }
.calc-total { font-family: var(--font-display); font-size: 46px; font-weight: 800; margin: 10px 0 4px; }
.calc-row { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,.13); font-size: 14.5px; }
.calc-row:last-child { border-bottom: none; }
.calc-row span:first-child { color: rgba(255,255,255,.75); }
.calc-row span:last-child { font-weight: 700; }
.calc-note { font-size: 12px; color: rgba(255,255,255,.6); margin-top: 16px; }

/* ===== Blog ===== */
.blog-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: auto auto; gap: 18px; margin-top: 40px; }
.blog-card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--slate-200); box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; }
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.blog-card.feature { grid-row: span 2; }
.blog-thumb { aspect-ratio: 16/9; display: grid; place-items: center; color: #fff; position: relative; }
.blog-card.feature .blog-thumb { aspect-ratio: 16/10; }
.blog-thumb .k { font-family: var(--font-display); font-weight: 800; font-size: 40px; color: rgba(255,255,255,.9); }
.blog-body { padding: 18px 20px; }
.blog-date { font-size: 12px; font-weight: 700; color: var(--gold-500); letter-spacing: .05em; text-transform: uppercase; }
.blog-body h4 { font-size: 17px; color: var(--ink-900); margin-top: 7px; }
.blog-card.feature .blog-body h4 { font-size: 23px; }

/* ===== CTA ===== */
.cta { background: var(--grad-hero); color: #fff; text-align: center; }
.cta h2 { font-size: clamp(28px, 4vw, 40px); color: #fff; }
.cta p { color: rgba(255,255,255,.8); max-width: 560px; margin: 14px auto 26px; font-size: 17px; }
.cta .hero-cta { justify-content: center; }

/* ===== Footer ===== */
.footer { background: var(--ink-900); color: var(--slate-400); padding: 56px 0 24px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: clamp(22px, 3vw, 34px); }
.footer h5 { color: #fff; font-family: var(--font-display); font-size: 14px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 16px; }
.footer a { display: block; color: var(--slate-400); font-size: 14px; padding: 5px 0; transition: color .15s; }
.footer a:hover { color: var(--gold-400); }
.footer .brand-name { margin-bottom: 14px; }
.footer p { font-size: 14px; line-height: 1.7; }
.socials { display: flex; gap: 10px; margin-top: 16px; }
.socials a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.06); display: grid; place-items: center; color: #fff; padding: 0; }
.socials a:hover { background: var(--grad-gold); color: #ffffff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 40px; padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; }
.footer-bottom .creator-link { display: inline; padding: 0; color: var(--slate-300); font-size: inherit; font-weight: 700; }
.footer-bottom .creator-link:hover { color: var(--gold-400); }

/* ===== Vehicle detail page ===== */
.detail-wrap { padding: 34px 0 60px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--slate-500); margin-bottom: 18px; }
.breadcrumb a { color: var(--burgundy-600); font-weight: 600; }
.detail-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 16px; margin-bottom: 22px; }
.detail-meta { font-size: 13px; font-weight: 700; color: var(--slate-500); letter-spacing: .08em; text-transform: uppercase; }
.detail-title { font-size: clamp(28px, 4vw, 42px); color: var(--ink-900); margin-top: 6px; }
.detail-title span { color: var(--slate-500); font-weight: 600; }
.detail-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.detail-price { text-align: right; }
.detail-price .big { font-family: var(--font-display); font-size: 34px; font-weight: 800; color: var(--burgundy-700); }
.detail-price small { display: block; color: var(--slate-400); font-size: 12px; font-weight: 600; letter-spacing: .05em; }

.detail-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(300px, 1fr); gap: clamp(20px, 3vw, 30px); align-items: start; }
.detail-grid > * { min-width: 0; }

/* Gallery */
.gallery-main { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16/10; background: var(--ink-800); box-shadow: var(--shadow-md); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-main .vehicle-photo-placeholder img { width: min(220px, 42%); height: auto; object-fit: contain; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding-bottom: 4px;
  max-width: 100%; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
.gallery-thumbs img { width: 96px; height: 66px; flex: none; object-fit: cover; border-radius: 10px; cursor: pointer; border: 2px solid transparent; opacity: .7; transition: opacity .15s, border-color .15s; }
.gallery-thumbs img.active, .gallery-thumbs img:hover { opacity: 1; border-color: var(--burgundy-500); }

/* Sidebar card */
.buy-card { background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); position: sticky; top: 84px; }
.buy-card h3 { font-size: 18px; color: var(--ink-900); }
.buy-total { font-family: var(--font-display); font-size: 30px; font-weight: 800; color: var(--burgundy-700); margin: 6px 0 2px; }
.buy-card .muted { color: var(--slate-500); font-size: 13px; }
.buy-list { margin: 16px 0; }
.buy-list .row { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px dashed var(--slate-200); font-size: 14px; }
.buy-list .row:last-child { border-bottom: none; }
.buy-list .row span:first-child { color: var(--slate-500); }
.buy-list .row b { color: var(--ink-900); }
.buy-actions { display: grid; gap: 10px; margin-top: 8px; }
.vehicle-inquiry-form { display: grid; gap: 11px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--slate-200); }
.vehicle-inquiry-form h4 { color: var(--ink-900); font-size: 14px; }
.vehicle-inquiry-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.vehicle-inquiry-form label { display: grid; gap: 5px; color: var(--slate-500); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.vehicle-inquiry-form input, .vehicle-inquiry-form textarea { width: 100%; min-width: 0; border: 1px solid var(--slate-200); border-radius: 7px; background: #f8fafc; color: var(--ink-900); font: inherit; font-size: 13px; text-transform: none; }
.vehicle-inquiry-form input { height: 42px; padding: 0 11px; }
.vehicle-inquiry-form textarea { padding: 10px 11px; resize: vertical; }
.vehicle-inquiry-form input:focus, .vehicle-inquiry-form textarea:focus { outline: none; border-color: var(--gold-500); box-shadow: 0 0 0 3px rgba(14,165,233,.1); }
.vehicle-inquiry-form .btn { min-height: 42px; }
.vehicle-inquiry-message { min-height: 18px; color: #15803d; font-size: 11px; font-weight: 700; }
.vehicle-inquiry-message.error { color: #b91c1c; }
.source-link { display: inline-block; margin-top: 14px; font-size: 13.5px; font-weight: 600; color: var(--burgundy-600); }
.source-link:hover { text-decoration: underline; }

/* Spec sheet */
.detail-section { margin-top: 34px; }
.detail-section h2 { font-size: 22px; color: var(--ink-900); margin-bottom: 16px; }
.spec-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(150px, 100%), 1fr)); gap: clamp(8px, 1.2vw, 12px); }
.spec-item { background: var(--white); border: 1px solid var(--slate-200); border-radius: 12px; padding: clamp(10px, 1.6vw, 13px) clamp(11px, 1.8vw, 15px); min-width: 0; }
.spec-item .k { font-size: 11px; color: var(--slate-500); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.spec-item .v { font-size: clamp(13px, 1.6vw, 15px); color: var(--ink-900); font-weight: 700; margin-top: 3px; overflow-wrap: anywhere; }
.pill-list { display: flex; flex-wrap: wrap; gap: 9px; }
.pill { background: var(--slate-100); border: 1px solid var(--slate-200); color: var(--ink-800); font-size: 14px; font-weight: 600; padding: 8px 14px; border-radius: 999px; }
.pill.hl { background: rgba(47,107,255,.08); border-color: rgba(47,107,255,.25); color: var(--burgundy-600); }

/* Inspection bars */
.insp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 16px clamp(18px, 3vw, 30px); }
.insp-row .top { display: flex; justify-content: space-between; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.insp-row .top b { color: var(--burgundy-600); }
.insp-bar { height: 8px; border-radius: 999px; background: var(--slate-200); overflow: hidden; }
.insp-bar i { display: block; height: 100%; background: var(--grad-gold); border-radius: 999px; }
.insp-notes { margin-top: 18px; background: rgba(47,107,255,.05); border: 1px solid rgba(47,107,255,.15); border-radius: 12px; padding: 14px 18px; }
.insp-notes li { font-size: 14px; color: var(--slate-500); margin-left: 18px; padding: 3px 0; }

/* Sticky mobile action bar (detail page) */
.mobile-actions {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
  align-items: center; gap: 10px;
  background: rgba(255,255,255,.97); backdrop-filter: blur(12px);
  border-top: 1px solid var(--slate-200); box-shadow: 0 -10px 30px rgba(9,13,26,.12);
  padding: 10px clamp(12px, 4vw, 16px) calc(10px + env(safe-area-inset-bottom, 0px));
}
.mobile-actions .ma-price { flex: 1; min-width: 0; line-height: 1.2; }
.mobile-actions .ma-price small { display: block; font-size: 10.5px; color: var(--slate-500); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.mobile-actions .ma-price b { font-family: var(--font-display); font-size: 17px; color: var(--burgundy-700); }
.mobile-actions .btn { min-height: 46px; padding: 0 16px; flex: none; font-size: 14px; }

@media (max-width: 940px) {
  .detail-grid { grid-template-columns: 1fr; }
  .buy-card { position: static; }
  .mobile-actions { display: flex; }
  body.has-mobile-actions .footer { padding-bottom: 96px; }
}
@media (max-width: 600px) {
  .detail-head { flex-direction: column; align-items: flex-start; }
  .detail-price { text-align: left; }
  .buy-actions .btn { min-height: 50px; }
  .vehicle-inquiry-grid { grid-template-columns: 1fr; }
}

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 1000px) {
  .nav { display: none; }
  .menu-toggle { display: grid; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .blog-card.feature { grid-row: auto; grid-column: span 2; }
  .calc-shell { grid-template-columns: 1fr; }
  .search-card .search-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Tablet & below — banner stacks */
@media (max-width: 900px) {
  .hero-banner { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { order: 1; }
  .hero-car { order: 2; }
  .source-logos { justify-content: center; }
  .hero-cta { justify-content: center; }
}

/* Small tablets / large phones */
@media (max-width: 720px) {
  .topbar .container { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start;
    gap: 16px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .topbar .container::-webkit-scrollbar { display: none; }
  .topbar span { white-space: nowrap; flex: none; font-size: 12px; }
  .topbar-contact {
    order: -1; flex: none; padding-left: 0; padding-right: 16px;
    border-left: 0; border-right: 1px solid rgba(255,255,255,.16); font-size: 12px;
  }
  .header-actions .icon-btn:not(.menu-toggle) { display: none; }
  .header-actions > .btn { display: none; }
  .brand-name { font-size: 14px; }
  .brand-name small { font-size: 9px; letter-spacing: .16em; }
  .brand-logo { width: 96px; height: 34px; border-radius: 8px; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-card.feature { grid-column: auto; }
  .btn { min-height: 46px; }
  .icon-btn { width: 44px; height: 44px; }
}

/* Phones */
@media (max-width: 640px) {
  .inventory-group-tabs {
    display: flex; justify-content: flex-start; max-width: 100%; margin-bottom: 22px;
    overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .inventory-group-tabs::-webkit-scrollbar { display: none; }
  .inventory-group-tabs button { flex: 0 0 auto; padding: 0 13px; }
  .search-card .search-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* Kompakt: fshih fushat e avancuara derisa të shtypet "Kërkim i detajuar" */
  .search-card:not(.expanded) .field.adv { display: none; }
  #advToggle::after { content: ' ▾'; }
  .search-card.expanded #advToggle::after { content: ' ▴'; }
}
@media (max-width: 480px) {
  .search-card .btn { grid-column: span 2; }
  .hero-photo-badge { font-size: 11px; padding: 6px 11px; left: 12px; top: 12px; }
  .car-specs { gap: 6px; }
  .spec { font-size: 11.5px; padding: 5px 8px; }
  .hero-contact { width: 100%; justify-content: center; }
  .hero-cta .btn { width: 100%; }
}

/* Hero slider responsive overrides */
@media (max-width: 900px) {
  .hero-copy { order: 0; }
  .hero-offer-slider { order: 1; }
  .hero-slide-media { aspect-ratio: 16 / 7.8; }
}
@media (max-width: 640px) {
  .hero .container { overflow: hidden; }
  .hero-copy { width: 100%; }
  .hero-source-row { display: grid; justify-items: center; gap: 9px; }
  .hero-kicker { font-size: 25px; line-height: 1.14; }
  .source-logos { gap: 10px; max-width: 100%; }
  .src.encar { font-size: 29px; }
  .src.encar small { font-size: 12px; top: -12px; }
  .src.kb { font-size: 27px; }
  .src-or { font-size: 14px; }
  .hero-verify { max-width: 330px; margin-left: auto; margin-right: auto; font-size: 17px; line-height: 1.35; }
  .hero-headline { max-width: 350px; margin-left: auto; margin-right: auto; font-size: 31px; line-height: 1.08; }
  .hero-headline .lift { display: block; }
  .headline-tail { display: block; margin-top: 8px; }
  .hero-contact { max-width: 100%; padding-left: 18px; padding-right: 18px; white-space: normal; text-align: center; }
  .hero-banner { gap: 20px; padding-top: 22px; padding-bottom: 34px; }
  .hero-slide-media { aspect-ratio: 4 / 3.32; }
  .hero-slide-info { grid-template-columns: 1fr; gap: 7px; padding: 58px 14px 14px; text-align: center; }
  .hero-slide-badge, .hero-slide-price { justify-self: center; }
  .hero-slide-price small { text-align: center; }
  .hero-slider-head { padding: 0 2px; }
  .hero-slide-dots { margin-top: 10px; }
}
@media (max-width: 480px) {
  .hero-kicker { font-size: 24px; }
  .hero-verify { max-width: 300px; }
  .hero-headline { max-width: 310px; font-size: 29px; }
  .hero-slider-eyebrow, .hero-slider-count { font-size: 11px; }
  .hero-slide-title { font-size: 17px; }
  .hero-slide-price { font-size: 18px; }
}
@media (max-width: 360px) {
  .mobile-break { display: inline; }
}

/* Mobile search placement */
@media (max-width: 640px) {
  .hero-stats { padding: 18px 0 28px; }
  .search-card {
    margin: 18px auto 0;
    border-radius: 16px;
    box-shadow: 0 18px 42px -24px rgba(9,13,26,.38);
  }
  .search-card .btn { grid-column: span 2; }
}

/* Mobile hero order: slogan, search, slideshow */
@media (max-width: 640px) {
  .hero-banner { gap: 14px; padding-top: 10px; padding-bottom: 28px; }
  .hero-copy { width: 100%; gap: 7px; }
  .hero-eyebrow { font-size: 10px; letter-spacing: .09em; max-width: 320px; }
  .hero-source-row {
    display: flex; align-items: baseline; justify-content: center;
    gap: 7px; flex-wrap: nowrap;
  }
  .hero-kicker { font-size: clamp(13px, 3.35vw, 16px); line-height: 1.1; }
  .source-logos { gap: 6px; max-width: 100%; flex-wrap: nowrap; }
  .src.encar { font-size: clamp(16px, 4.2vw, 19px); }
  .src.encar small { display: none; }
  .src.kb { font-size: clamp(16px, 4.2vw, 19px); }
  .src-or { font-size: 11px; }
  .hero-verify {
    max-width: 100%; margin-left: auto; margin-right: auto;
    font-size: clamp(11px, 3vw, 13px); line-height: 1.3;
  }
  .hero-service-list { display: grid; width: 100%; gap: 7px; }
  .hero-service-list span {
    justify-content: center; min-height: 34px; padding: 7px 10px;
    font-size: 11.5px; border-radius: 12px;
  }
  .hero-service-list svg { width: 15px; height: 15px; }
  .hero-headline {
    max-width: 100%; margin-left: auto; margin-right: auto;
    font-size: clamp(20px, 5.4vw, 25px); line-height: 1.08;
  }
  .hero-headline .lift, .headline-tail { display: inline; }
  .mobile-break { display: none; }
  .hero-contact { padding: 10px 17px; font-size: 14px; }

  .search-card {
    order: 1; margin: 0 auto; width: 100%; border-radius: 16px; padding: 14px;
    box-shadow: 0 18px 42px -24px rgba(0,0,0,.55);
  }
  .hero-offer-slider { order: 2; }
  .search-card:not(.expanded) .field.adv { display: block; }
  .search-card .search-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .field label { font-size: 10px; margin-bottom: 5px; }
  .field select, .field input {
    min-height: 41px; border-radius: 9px; font-size: 14px;
    padding: 10px 28px 10px 11px; background-position: right 11px center;
  }
  .search-card .btn { grid-column: auto; min-height: 41px; padding: 0 10px; font-size: 13px; }
  .inventory-results { margin-top: 18px; align-items: flex-start; }
}

@media (max-width: 360px) {
  .hero-kicker { font-size: 12px; }
  .src.encar, .src.kb { font-size: 15px; }
  .hero-headline { font-size: 19px; }
  .hero-eyebrow { font-size: 9.5px; }
  .hero-service-list span { font-size: 10.5px; }
}

.search-card .field label {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* Mobile slideshow overlay */
@media (max-width: 640px) {
  .hero-slide-card { isolation: isolate; }
  .hero-slide-media::after {
    content: ''; position: absolute; inset: 0; z-index: 1;
    background:
      linear-gradient(180deg, rgba(3,8,18,.16) 0%, rgba(3,8,18,.05) 34%, rgba(3,8,18,.82) 100%),
      linear-gradient(90deg, rgba(3,8,18,.48) 0%, transparent 42%, rgba(3,8,18,.38) 100%);
    pointer-events: none;
  }
  .hero-photo-badge {
    left: 12px; top: 12px; z-index: 3;
    font-size: 10px; line-height: 1; padding: 7px 10px;
    background: rgba(7,11,22,.62);
  }
  .hero-slide-info {
    inset: 0; z-index: 3; display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto 1fr auto auto;
    align-items: end; gap: 5px 10px; padding: 12px 16px 12px 12px;
    text-align: left; background: none;
  }
  .hero-slide-badge {
    grid-column: 2; grid-row: 1; align-self: start; justify-self: end;
    padding: 6px 9px; font-size: 9.5px; line-height: 1;
  }
  .hero-slide-info > div:not(.hero-slide-price) {
    grid-column: 1; grid-row: 3 / span 2; align-self: end; min-width: 0;
  }
  .hero-slide-meta {
    font-size: 9.5px; line-height: 1.15; color: rgba(255,255,255,.72);
    max-width: 185px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }
  .hero-slide-title {
    font-size: 16px; line-height: 1.05; max-width: 205px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden; text-wrap: balance;
  }
  .hero-slide-price {
    grid-column: 2; grid-row: 4; align-self: end; justify-self: end;
    font-size: 17px; line-height: 1; text-align: right;
  }
  .hero-slide-price small { font-size: 8.5px; margin-top: 4px; text-align: right; }
}

@media (max-width: 380px) {
  .hero-slide-title { font-size: 14px; max-width: 175px; }
  .hero-slide-meta { max-width: 160px; font-size: 8.8px; }
  .hero-slide-price { font-size: 15px; }
}
