/* =========================================================
   CARS FRIENDS - Luxury Automotive Design System
   الأسود الفخم + الذهبي المطفي (Accent) + الأبيض
   ========================================================= */

:root {
  --bg: #08080a;
  --bg-2: #0d0d11;
  --card: #131418;
  --card-2: #1a1b21;
  --border: #22242c;
  --gold: #c6a15b;
  --gold-2: #e2c990;
  --gold-dim: rgba(198, 161, 91, 0.14);
  --text: #f4f3ef;
  --text-dim: #a7a8ad;
  --text-mute: #6f7076;
  --green: #4cc38a;
  --orange: #e0a53c;
  --red: #e05a5a;
  --blue: #5a8fe0;
  --shadow: 0 8px 30px rgba(0, 0, 0, 0.55);
  --radius: 14px;
  --radius-sm: 9px;
  --font: "Tajawal", "Cairo", "Segoe UI", Tahoma, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  direction: rtl;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

::selection { background: var(--gold); color: #0b0b0d; }

/* ---------------- Scrollbar ---------------- */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-2); }
::-webkit-scrollbar-thumb { background: #2c2d34; border-radius: 20px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

.container { width: min(1180px, 92%); margin-inline: auto; }

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 11, 13, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: 0.5px;
}
.logo .logo-mark {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  color: #0b0b0d;
  border-radius: 12px;
  font-size: 1.2rem;
}
.logo em { font-style: normal; color: var(--gold); }

.main-nav ul { display: flex; gap: 6px; }
.main-nav a {
  display: block;
  padding: 9px 16px;
  border-radius: 100px;
  font-weight: 600;
  color: var(--text-dim);
  transition: all 0.2s;
}
.main-nav a:hover { color: var(--text); background: var(--card-2); }
.main-nav a.active { color: var(--gold-2); background: var(--gold-dim); }

.header-cta { display: flex; align-items: center; gap: 10px; }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.95rem;
  background: var(--card-2);
  color: var(--text);
  transition: all 0.2s;
  white-space: nowrap;
}
.btn:hover { border-color: var(--gold); transform: translateY(-1px); }
.btn-gold {
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  color: #141210;
  border: none;
  box-shadow: 0 6px 20px rgba(198, 161, 91, 0.25);
}
.btn-gold:hover { filter: brightness(1.08); }
.btn-ghost { background: transparent; }
.btn-whatsapp { background: #1eb95f; color: #fff; border: none; }
.btn-whatsapp:hover { filter: brightness(1.06); border: none; }
.btn-call { background: transparent; border: 1px solid var(--gold); color: var(--gold-2); }
.btn-sm { padding: 7px 14px; font-size: 0.85rem; }
.btn-lg { padding: 14px 30px; font-size: 1.05rem; }
.btn-danger { background: rgba(224, 90, 90, 0.12); color: var(--red); border: 1px solid rgba(224, 90, 90, 0.4); }
.btn-danger:hover { background: var(--red); color: #fff; border-color: var(--red); }
.btn-block { width: 100%; }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  padding: 90px 0 110px;
  overflow: hidden;
  background:
    radial-gradient(900px 480px at 85% -10%, rgba(198, 161, 91, 0.14), transparent 60%),
    radial-gradient(700px 400px at 0% 110%, rgba(198, 161, 91, 0.07), transparent 60%),
    var(--bg);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(198, 161, 91, 0.05) 1px, transparent 1px);
  background-size: 100% 64px;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(transparent, #000 30%, #000 70%, transparent);
          mask-image: linear-gradient(transparent, #000 30%, #000 70%, transparent);
}
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 50px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border: 1px solid var(--gold);
  border-radius: 100px;
  color: var(--gold-2);
  font-size: 0.85rem;
  letter-spacing: 1px;
  margin-bottom: 22px;
  background: var(--gold-dim);
}
.hero h1 {
  font-size: clamp(2.1rem, 4.5vw, 3.6rem);
  font-weight: 900;
  line-height: 1.25;
}
.hero h1 em { font-style: normal; color: var(--gold); }
.hero p.lead {
  margin: 18px 0 32px;
  color: var(--text-dim);
  font-size: 1.1rem;
  max-width: 46ch;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 26px;
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}
.hero-stats .num { font-size: 1.5rem; font-weight: 800; color: var(--gold-2); }
.hero-stats .lbl { font-size: 0.85rem; color: var(--text-mute); }

.hero-visual {
  position: relative;
}
.hero-visual .car-frame {
  position: relative;
  background: linear-gradient(160deg, #1c1d23, #121216);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 18px;
  box-shadow: var(--shadow);
}
.hero-visual .car-frame::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px dashed rgba(198, 161, 91, 0.25);
  border-radius: 18px;
  pointer-events: none;
}
.hero-float {
  position: absolute;
  left: -18px;
  bottom: 26px;
  background: rgba(18, 18, 22, 0.95);
  border: 1px solid var(--gold);
  border-radius: 14px;
  padding: 12px 18px;
  box-shadow: var(--shadow);
  z-index: 3;
}
.hero-float .price { font-weight: 900; color: var(--gold-2); font-size: 1.15rem; }
.hero-float .what { color: var(--text-mute); font-size: 0.8rem; }

.dark-img-wrap {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background:
    radial-gradient(at 70% 20%, #23252c, #101013 70%);
}
.dark-img-wrap svg { width: 100%; height: 100%; }

/* =========================================================
   Sections + Headings
   ========================================================= */
.section { padding: 70px 0; }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 46px; }
.section-head .kicker {
  color: var(--gold);
  font-size: 0.85rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 700;
}
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; margin: 8px 0 10px; }
.section-head h2 em { font-style: normal; color: var(--gold); }
.section-head p { color: var(--text-dim); }

/* =========================================================
   Car Cards
   ========================================================= */
.cars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.car-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.25s;
}
.car-card:hover { transform: translateY(-5px); border-color: var(--gold); box-shadow: var(--shadow); }
.car-card .thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #101013;
  display: grid;
  place-items: center;
}
.car-card .thumb img, .car-card .thumb svg { width: 100%; height: 100%; object-fit: cover; }
.badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 5px 12px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 800;
  z-index: 2;
  backdrop-filter: blur(4px);
}
.badge-available { background: rgba(76, 195, 138, 0.92); color: #052; }
.badge-reserved { background: rgba(224, 165, 60, 0.92); color: #2a1c02; }
.badge-sold { background: rgba(224, 90, 90, 0.92); color: #fff; }
.badge-new { background: rgba(198, 161, 91, 0.95); color: #141210; }
.badge-hidden { background: rgba(60, 60, 66, 0.95); color: #cfcfcf; }

.car-card .body { padding: 18px; }
.car-card .title { font-size: 1.12rem; font-weight: 800; display: flex; justify-content: space-between; gap: 8px; }
.car-card .title .year { color: var(--gold); font-weight: 700; white-space: nowrap; }
.car-card .meta { display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--text-dim); font-size: 0.82rem; margin: 10px 0 14px; }
.car-card .meta span { display: inline-flex; align-items: center; gap: 5px; }
.car-card .price { font-size: 1.25rem; font-weight: 900; color: var(--gold-2); }
.car-card .actions { display: flex; gap: 8px; margin-top: 14px; }
.car-card .actions .btn { flex: 1; }

/* =========================================================
   Features / why us
   ========================================================= */
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  transition: all 0.2s;
}
.feature:hover { border-color: var(--gold); }
.feature .icon {
  width: 56px; height: 56px;
  margin: 0 auto 14px;
  display: grid; place-items: center;
  border-radius: 16px;
  font-size: 1.5rem;
  background: var(--gold-dim);
  color: var(--gold-2);
}
.feature h4 { margin-bottom: 6px; font-size: 1.02rem; }
.feature p { color: var(--text-dim); font-size: 0.9rem; }

/* =========================================================
   CTA band
   ========================================================= */
.cta-band {
  position: relative;
  padding: 56px 24px;
  text-align: center;
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(198, 161, 91, 0.16), transparent 65%),
    var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
}
.cta-band h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; margin-bottom: 12px; }
.cta-band h2 em { font-style: normal; color: var(--gold); }
.cta-band p { color: var(--text-dim); max-width: 520px; margin: 0 auto 26px; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer { border-top: 1px solid var(--border); padding: 60px 0 0; background: var(--bg-2); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 34px; padding-bottom: 40px; }
.site-footer h5 { color: var(--gold); font-size: 1rem; margin-bottom: 16px; letter-spacing: 1px; }
.site-footer p, .site-footer a { color: var(--text-dim); font-size: 0.92rem; }
.site-footer li { margin-bottom: 10px; }
.site-footer a:hover { color: var(--gold-2); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--text-mute);
  font-size: 0.85rem;
}
.social-row { display: flex; gap: 10px; margin-top: 14px; }
.social-row a {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--card);
  transition: all 0.2s;
}
.social-row a:hover { border-color: var(--gold); color: var(--gold-2); transform: translateY(-2px); }

/* =========================================================
   Page hero (sub pages)
   ========================================================= */
.page-hero {
  padding: 56px 0 40px;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(700px 300px at 80% 0%, rgba(198, 161, 91, 0.12), transparent 60%),
    var(--bg);
}
.page-hero h1 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 900; }
.page-hero h1 em { font-style: normal; color: var(--gold); }
.page-hero .crumbs { color: var(--text-mute); font-size: 0.85rem; margin-top: 8px; }
.page-hero .crumbs a:hover { color: var(--gold-2); }

/* =========================================================
   Cars page layout (sidebar filters + grid)
   ========================================================= */
.cars-layout { display: grid; grid-template-columns: 300px 1fr; gap: 28px; align-items: start; }
.filter-panel {
  position: sticky;
  top: 90px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}
.filter-panel h3 { display: flex; align-items: center; gap: 8px; font-size: 1.05rem; margin-bottom: 18px; }
.filter-group { margin-bottom: 18px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.filter-group:last-of-type { border-bottom: 0; }
.filter-group label { display: block; font-size: 0.85rem; font-weight: 700; color: var(--text-dim); margin-bottom: 8px; }
.filter-group select, .filter-group input {
  width: 100%;
  padding: 9px 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 0.9rem;
  margin-bottom: 8px;
}
.filter-group input:focus, .filter-group select:focus { outline: none; border-color: var(--gold); }
.radio-row { display: flex; gap: 8px; flex-wrap: wrap; }
.radio-chip {
  padding: 6px 13px;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.82rem;
  color: var(--text-dim);
  cursor: pointer;
  transition: all 0.15s;
  user-select: none;
}
.radio-chip:hover { border-color: var(--gold); }
.radio-chip.active { background: var(--gold); color: #141210; border-color: var(--gold); font-weight: 700; }
.range-duo { display: flex; gap: 8px; }
.range-duo input { margin-bottom: 0; }

.cars-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.cars-toolbar .result-count { color: var(--text-dim); font-size: 0.9rem; }
.search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 16px;
  flex: 1;
  min-width: 220px;
}
.search-box input { flex: 1; background: none; border: none; color: var(--text); font-size: 0.95rem; padding: 6px 0; }
.search-box input:focus { outline: none; }
.empty-state { text-align: center; padding: 70px 20px; color: var(--text-mute); }
.empty-state .big { font-size: 3rem; margin-bottom: 12px; }

/* =========================================================
   Car details
   ========================================================= */
.details-top { display: grid; grid-template-columns: 1.35fr 1fr; gap: 28px; align-items: start; }
.gallery { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px; }
.gallery-main {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #101013;
  display: grid;
  place-items: center;
}
.gallery-main img, .gallery-main svg { width: 100%; height: 100%; object-fit: cover; }
.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px; height: 42px;
  display: grid; place-items: center;
  background: rgba(10, 10, 12, 0.7);
  border: 1px solid var(--gold);
  color: var(--gold-2);
  border-radius: 50%;
  font-size: 1.1rem;
  backdrop-filter: blur(4px);
  z-index: 2;
}
.gallery-nav:hover { background: var(--gold); color: #141210; }
.gallery-nav.prev { right: 12px; }
.gallery-nav.next { left: 12px; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding-bottom: 4px; }
.gallery-thumbs .th {
  flex: 0 0 76px;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid var(--border);
  cursor: pointer;
  opacity: 0.6;
  background: #101013;
  transition: all 0.15s;
}
.gallery-thumbs .th.active { border-color: var(--gold); opacity: 1; }
.gallery-thumbs .th img, .gallery-thumbs .th svg { width: 100%; height: 100%; object-fit: cover; }

.info-panel { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; position: sticky; top: 90px; }
.info-panel h1 { font-size: 1.7rem; font-weight: 900; }
.info-panel .sub-line { color: var(--text-dim); margin: 8px 0 14px; font-size: 0.95rem; }
.info-panel .big-price { font-size: 2rem; font-weight: 900; color: var(--gold-2); margin: 10px 0 20px; }
.info-panel .stock { color: var(--text-mute); font-size: 0.8rem; }
.cta-stack { display: grid; gap: 10px; margin: 18px 0; }

.mini-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.mini-spec { background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
}
.mini-spec .k { color: var(--text-mute); font-size: 0.75rem; }
.mini-spec .v { font-weight: 700; font-size: 0.95rem; }

.inquiry-card { margin-top: 20px; padding: 18px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm); }
.inquiry-card h4 { margin-bottom: 12px; font-size: 1rem; color: var(--gold-2); }
.inquiry-card input, .inquiry-card textarea {
  width: 100%;
  padding: 10px 12px;
  margin-bottom: 10px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 0.92rem;
}
.inquiry-card input:focus, .inquiry-card textarea:focus { outline: none; border-color: var(--gold); }

.content-block { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.content-block h2 { font-size: 1.3rem; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.content-block h2 i { color: var(--gold); }
.content-block p { color: var(--text-dim); margin-bottom: 12px; }
.content-block ul { color: var(--text-dim); padding-right: 6px; }
.content-block ul li { padding: 5px 0; position: relative; padding-right: 20px; }
.content-block ul li::before { content: "◆"; position: absolute; right: 0; color: var(--gold); font-size: 0.6rem; top: 10px; }

.specs-table { width: 100%; border-collapse: collapse; margin-top: 6px; }
.specs-table td { padding: 11px 14px; border: 1px solid var(--border); font-size: 0.93rem; }
.specs-table td:first-child { color: var(--text-mute); width: 34%; background: var(--bg); font-weight: 600; }

/* =========================================================
   Contact / About
   ========================================================= */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.ttt-list { display: grid; gap: 14px; margin-top: 6px; }
.ttt-item { display: flex; gap: 16px; align-items: flex-start; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 16px 18px; }
.ttt-item .ic { width: 46px; height: 46px; flex: 0 0 46px; display: grid; place-items: center; border-radius: 12px; background: var(--gold-dim); color: var(--gold-2); font-size: 1.2rem; }
.ttt-item b { display: block; margin-bottom: 2px; }
.ttt-item span { color: var(--text-dim); font-size: 0.9rem; direction: ltr; display: inline-block; }

.form-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.form-card h3 { font-size: 1.2rem; margin-bottom: 18px; }
.form-grid { display: grid; gap: 14px; }
.field label { display: block; font-size: 0.85rem; font-weight: 700; color: var(--text-dim); margin-bottom: 6px; }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 11px 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 0.95rem;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--gold); }

.map-frame { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); background: var(--card); min-height: 320px; display: grid; place-items: center; color: var(--text-mute); }
.map-frame img { width: 100%; height: 100%; object-fit: cover; }

.about-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* =========================================================
   Toast
   ========================================================= */
.toast-wrap { position: fixed; bottom: 22px; right: 22px; z-index: 1000; display: grid; gap: 10px; }
.toast { background: var(--card-2); border: 1px solid var(--gold); color: var(--text); padding: 13px 18px; border-radius: 12px; font-size: 0.92rem; display: flex; align-items: center; gap: 10px; box-shadow: var(--shadow); animation: toastIn 0.25s ease; max-width: 340px; }
.toast.error { border-color: var(--red); }
.toast.ok { border-color: var(--green); }
@keyframes toastIn { from { transform: translateY(12px); opacity: 0; } to { transform: none; opacity: 1; } }

/* Modal */
.modal-backdrop { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.75); z-index: 500; display: grid; place-items: center; padding: 20px; backdrop-filter: blur(4px); animation: fadeIn 0.2s; }
.modal {
  background: var(--card);
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  max-width: 560px;
  width: 100%;
  padding: 26px;
  position: relative;
  box-shadow: var(--shadow);
  animation: modalIn 0.25s ease;
}
.modal h3 { margin-bottom: 14px; }
.modal-close { position: absolute; top: 12px; left: 12px; background: none; border: none; color: var(--text-dim); font-size: 1.3rem; }
.modal-close:hover { color: var(--red); }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes modalIn { from { transform: scale(0.94); opacity: 0; } }

/* Lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.93); z-index: 600; display: grid; place-items: center; padding: 30px; }
.lightbox img, .lightbox svg { max-width: 90vw; max-height: 82vh; border-radius: 10px; }
.lightbox .lb-close { position: absolute; top: 20px; left: 24px; background: none; border: none; color: #fff; font-size: 2rem; }

/* =========================================================
   Responsive
   ========================================================= */
.menu-toggle { display: none; background: none; border: 1px solid var(--border); color: var(--text); font-size: 1.3rem; padding: 8px 12px; border-radius: 10px; }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-visual { max-width: 560px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .cars-layout { grid-template-columns: 1fr; }
  .filter-panel { position: static; }
  .details-top { grid-template-columns: 1fr; }
  .info-panel { position: static; }
  .split { grid-template-columns: 1fr; }
  .about-cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .main-nav { display: none; }
  .main-nav.open { display: block; position: absolute; top: 100%; right: 0; left: 0; background: var(--bg); border-bottom: 1px solid var(--border); padding: 14px 6%; box-shadow: var(--shadow); }
  .main-nav.open ul { flex-direction: column; gap: 4px; }
  .main-nav.open a { padding: 12px 14px; }
  .menu-toggle { display: block; }
}

@media (max-width: 560px) {
  .hero { padding: 50px 0 70px; }
  .hero-stats { flex-wrap: wrap; gap: 16px; }
  .features-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 50px 0; }
  .cta-band { padding: 40px 18px; }
  .hide-xs { display: none; }
}