/* ==========================================================
   GTA Cars Podgorica — demo styles
   single-page, no JS
   ========================================================== */

:root {
  --bg: #0a0a0c;
  --bg-elev: #15151a;
  --bg-card: #16161c;
  --line: #24242c;
  --line-2: #2e2e38;
  --text: #e8e8ec;
  --text-dim: #a0a0aa;
  --text-mute: #6c6c75;
  --gold: #f5c843;
  --gold-soft: rgba(245, 200, 67, 0.22);
  --rust: #e0392b;
  --rust-soft: rgba(224, 57, 43, 0.22);
  --chrome: #d6d6da;

  --container: 1200px;
  --pad-x: clamp(20px, 4vw, 40px);
  --radius: 4px;

  --font-head: 'Rajdhani', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
}

/* ---------- reset / base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; padding: 0; margin: 0; }

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: 0.02em;
  margin: 0;
  line-height: 1.05;
  text-transform: uppercase;
}

p { margin: 0 0 1em; }

button { font: inherit; }

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

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* skip link */
.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--gold);
  color: #000;
  padding: 8px 14px;
  font-weight: 600;
  z-index: 100;
}
.skip:focus { left: 12px; top: 12px; }

/* ---------- layout primitives ---------- */

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

.kicker {
  font-family: var(--font-head);
  font-size: 13px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 6px 12px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  background: rgba(245, 200, 67, 0.06);
  margin-bottom: 28px;
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}
.section-head h2 {
  font-size: clamp(32px, 4.5vw, 56px);
}
.section-head .section-sub {
  color: var(--text-dim);
  margin-top: 16px;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gold);
  color: #000;
  box-shadow: 0 0 0 1px var(--gold), 0 0 24px var(--gold-soft);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px var(--gold), 0 0 36px var(--gold);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line-2);
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
  box-shadow: 0 0 22px var(--gold-soft);
}

.btn .arr { font-size: 12px; }

/* ---------- header / nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 10, 12, 0.78);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  isolation: isolate;
  line-height: 0;
}
.brand-logo {
  height: 60px;
  width: auto;
  display: block;
  mix-blend-mode: lighten;
  user-select: none;
  -webkit-user-drag: none;
}
.brand-sm .brand-logo { height: 36px; }

.nav {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.nav a {
  position: relative;
  padding: 10px 14px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
  border-radius: var(--radius);
  transition: color .15s ease;
}
.nav a:hover { color: var(--text); }
.nav a::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 4px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}
.nav a:hover::after { transform: scaleX(1); }

.ig-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  color: var(--text-dim);
  transition: color .15s, border-color .15s, box-shadow .2s;
}
.ig-link:hover {
  color: var(--gold);
  border-color: var(--gold);
  box-shadow: 0 0 18px var(--gold-soft);
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: clamp(560px, 84vh, 820px);
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(900px 500px at 80% 30%, rgba(245,200,67,0.10), transparent 60%),
    radial-gradient(700px 400px at 15% 80%, rgba(224,57,43,0.08), transparent 60%),
    linear-gradient(180deg, #0a0a0c 0%, #0d0d12 100%);
  z-index: -3;
}

.hero-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.55;
  z-index: -2;
  filter: saturate(1.05) contrast(1.05);
}

.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(10,10,12,0.92) 0%, rgba(10,10,12,0.55) 55%, rgba(10,10,12,0.25) 100%),
    linear-gradient(180deg, rgba(10,10,12,0.4) 0%, rgba(10,10,12,0.85) 100%);
  z-index: -1;
}

.scanlines {
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(
    to bottom,
    rgba(255,255,255,0.03) 0 1px,
    transparent 1px 3px
  );
  pointer-events: none;
  mix-blend-mode: overlay;
  opacity: 0.5;
}

.hero-inner {
  position: relative;
  width: 100%;
  padding-top: 80px;
  padding-bottom: 80px;
}

.hero-title {
  font-size: clamp(64px, 12vw, 156px);
  letter-spacing: -0.01em;
  margin: 0 0 24px;
  line-height: 0.92;
  text-shadow: 0 0 30px rgba(245,200,67,0.15);
}
.hero-title .dot { color: var(--gold); }

.hero-sub {
  max-width: 540px;
  font-size: clamp(16px, 1.6vw, 18px);
  color: var(--text-dim);
  margin-bottom: 36px;
}

.cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ---------- stats ---------- */

.stats {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #0c0c10 0%, #0a0a0c 100%);
  padding: 56px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.stat { text-align: center; padding: 12px; }

.stat-num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1;
  color: var(--text);
  letter-spacing: 0.01em;
}
.stat-num .plus { color: var(--gold); }

.stat-lbl {
  margin-top: 10px;
  font-family: var(--font-head);
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-mute);
}

/* ---------- cars ---------- */

.cars {
  padding: clamp(64px, 9vw, 112px) 0;
}

.car-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.car {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .2s ease, transform .2s ease, box-shadow .25s ease;
  display: flex;
  flex-direction: column;
}
.car:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
  box-shadow: 0 12px 40px rgba(245,200,67,0.12);
}

.car-img-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0d0d12;
}
.car-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.car:hover .car-img-wrap img { transform: scale(1.04); }

.badge {
  position: absolute;
  top: 12px; left: 12px;
  z-index: 2;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 5px 9px;
  background: var(--gold);
  color: #000;
  border-radius: 2px;
}
.badge.alt { background: var(--rust); color: #fff; }
.badge.sold {
  background: rgba(0, 0, 0, 0.85);
  color: #fff;
  border: 1px solid var(--rust);
  letter-spacing: 0.28em;
  box-shadow: 0 0 14px var(--rust-soft);
}

.car.is-sold .car-img-wrap img { filter: grayscale(0.6) brightness(0.55); }
.car.is-sold:hover { transform: none; }
.car.is-sold:hover .car-img-wrap img { filter: grayscale(0.6) brightness(0.6); transform: scale(1); }
.car.is-sold .price { color: var(--text-mute); text-decoration: line-through; text-decoration-thickness: 1px; }

.sold-stamp {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--rust);
  border: 1px solid var(--rust);
  background: rgba(224, 57, 43, 0.08);
  padding: 5px 12px;
  border-radius: 2px;
  margin-bottom: 10px;
}
.detail-price.is-sold { color: var(--text-mute); text-decoration: line-through; text-decoration-thickness: 1px; }

.car-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.car-body h3 {
  font-size: 22px;
  letter-spacing: 0.02em;
  margin-bottom: 14px;
}

.car-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}
.car-meta li {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding: 4px 9px;
  border: 1px solid var(--line-2);
  border-radius: 2px;
}

.car-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px dashed var(--line-2);
}
.price {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 24px;
  color: var(--gold);
  letter-spacing: 0.01em;
}
.more {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-dim);
  transition: color .15s;
}
.more:hover { color: var(--rust); }

.cars-foot {
  margin-top: 56px;
  text-align: center;
}

/* ---------- about ---------- */

.about {
  padding: clamp(64px, 9vw, 112px) 0;
  background:
    linear-gradient(180deg, transparent 0%, rgba(224,57,43,0.03) 50%, transparent 100%),
    var(--bg);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.about-copy h2 {
  font-size: clamp(32px, 4.5vw, 52px);
  margin-bottom: 24px;
}
.about-copy p {
  color: var(--text-dim);
  margin-bottom: 16px;
}

.value-list {
  margin-top: 28px;
  display: grid;
  gap: 12px;
}
.value-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
}
.value-list .bullet { color: var(--gold); font-size: 12px; }

.about-photo {
  position: relative;
  aspect-ratio: 4 / 5;
}
.about-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  position: relative;
  z-index: 1;
}
.about-photo-frame {
  position: absolute;
  inset: -14px -14px 14px 14px;
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  pointer-events: none;
  z-index: 0;
  box-shadow: 0 0 40px var(--gold-soft);
}

/* ---------- contact ---------- */

.contact {
  padding: clamp(64px, 9vw, 112px) 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(40px, 5vw, 64px);
  align-items: stretch;
}

.contact-info h2 {
  font-size: clamp(32px, 4vw, 48px);
  margin-bottom: 32px;
}

.contact-list {
  display: grid;
  gap: 22px;
  margin-bottom: 40px;
}
.cl-row { border-left: 2px solid var(--gold); padding-left: 16px; }
.cl-row dt {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 6px;
}
.cl-row dd { margin: 0; color: var(--text); font-size: 16px; }
.cl-row a { color: var(--text); border-bottom: 1px solid transparent; transition: border-color .15s, color .15s; }
.cl-row a:hover { color: var(--gold); border-color: var(--gold); }

.socials {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.soc {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  transition: color .15s, border-color .15s, box-shadow .2s;
}
.soc:hover {
  color: var(--gold);
  border-color: var(--gold);
  box-shadow: 0 0 18px var(--gold-soft);
}

.contact-map {
  min-height: 420px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-elev);
}
.contact-map iframe {
  filter: grayscale(0.6) contrast(1.05) invert(0.88);
}

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  background: #08080a;
  padding: 28px 0;
}
.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.brand-sm { font-size: 16px; }
.copy {
  margin: 0;
  font-size: 13px;
  color: var(--text-mute);
}

/* ---------- card as full-area link ---------- */

.car .badge { pointer-events: none; z-index: 3; }
.car-link {
  display: flex;
  flex-direction: column;
  flex: 1;
  color: inherit;
}
.car:focus-within {
  border-color: var(--gold);
  box-shadow: 0 12px 40px rgba(245,200,67,0.12);
}
.car-link:hover .more,
.car-link:focus-visible .more { color: var(--rust); }

/* ---------- page-hero (sub-pages) ---------- */

.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(72px, 11vw, 140px) 0 clamp(40px, 6vw, 72px);
  border-bottom: 1px solid var(--line);
}
.page-hero .hero-bg { z-index: -2; }
.page-hero-inner { position: relative; }
.page-hero h1 {
  font-size: clamp(48px, 9vw, 120px);
  line-height: 0.95;
  margin: 12px 0 18px;
  text-shadow: 0 0 30px rgba(245,200,67,0.12);
}
.page-hero h1 .dot { color: var(--gold); }
.page-hero-sub {
  color: var(--text-dim);
  font-size: clamp(15px, 1.4vw, 17px);
  max-width: 540px;
  margin: 0;
}
.page-hero-sub #car-count { color: var(--gold); font-weight: 600; }

/* ---------- breadcrumbs ---------- */

.crumbs {
  font-family: var(--font-head);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-mute);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 8px 0 28px;
}
.crumbs a { color: var(--text-dim); transition: color .15s; }
.crumbs a:hover { color: var(--gold); }
.crumbs > span { color: var(--line-2); }
.crumbs .crumbs-current { color: var(--text); }

/* ---------- detail layout ---------- */

.detail { padding: clamp(28px, 4vw, 48px) 0 clamp(56px, 8vw, 96px); }

.detail-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.detail-body {
  grid-column: 1 / -1;
  display: grid;
  gap: clamp(36px, 5vw, 56px);
  margin-top: clamp(36px, 5vw, 56px);
  padding-top: clamp(36px, 5vw, 56px);
  border-top: 1px solid var(--line);
}
.detail-block .kicker { margin-bottom: 18px; }
.detail-block p { color: var(--text-dim); max-width: 720px; font-size: 16px; }

/* ---------- gallery / carousel ---------- */

.gallery { display: grid; gap: 14px; }

.gal-stage {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0d0d12;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  isolation: isolate;
}
.gal-main {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: opacity .25s ease;
}
.gal-stage::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 65%, rgba(0,0,0,0.55) 100%);
  pointer-events: none;
}

.gal-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px; height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  line-height: 1;
  font-family: var(--font-head);
  background: rgba(10, 10, 12, 0.7);
  color: var(--text);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  cursor: pointer;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: color .15s, border-color .15s, background .15s;
  z-index: 2;
}
.gal-arrow:hover {
  color: var(--gold);
  border-color: var(--gold);
  background: rgba(245,200,67,0.10);
  box-shadow: 0 0 20px var(--gold-soft);
}
.gal-prev { left: 14px; }
.gal-next { right: 14px; }

.gal-counter {
  position: absolute;
  right: 14px; bottom: 14px;
  z-index: 2;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text);
  padding: 5px 10px;
  background: rgba(10, 10, 12, 0.7);
  border: 1px solid var(--line-2);
  border-radius: 2px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.gal-counter .gal-i { color: var(--gold); }

.gal-badge { top: 14px; left: 14px; z-index: 2; }

.gal-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.gal-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  padding: 0;
  background: #0d0d12;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color .15s, transform .15s, box-shadow .2s;
}
.gal-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}
.gal-thumb:hover { border-color: var(--line-2); transform: translateY(-1px); }
.gal-thumb:hover img { transform: scale(1.05); }
.gal-thumb.is-active {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold), 0 0 18px var(--gold-soft);
}

/* ---------- detail aside ---------- */

.detail-aside {
  position: sticky;
  top: 88px;
  max-height: calc(100vh - 104px);
  overflow-y: auto;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(16px, 1.8vw, 22px);
  scrollbar-width: thin;
  scrollbar-color: var(--line-2) transparent;
}
.detail-aside::-webkit-scrollbar { width: 6px; }
.detail-aside::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 3px; }
.detail-aside::-webkit-scrollbar-track { background: transparent; }
.detail-aside .kicker { margin-bottom: 8px; }
.detail-aside h1 {
  font-size: clamp(20px, 2.2vw, 26px);
  margin-bottom: 10px;
}
.detail-meta { margin-bottom: 14px; }
.detail-price {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(28px, 3.2vw, 36px);
  color: var(--gold);
  letter-spacing: 0.01em;
  line-height: 1;
  margin: 0 0 14px;
  padding-bottom: 14px;
  border-bottom: 1px dashed var(--line-2);
}
.detail-cta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.detail-cta .btn {
  flex: 1;
  justify-content: center;
  min-width: 0;
  padding: 11px 14px;
  font-size: 13px;
  letter-spacing: 0.14em;
}
.detail-note {
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-mute);
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.3;
}
.dot-cyan { color: var(--gold); font-size: 8px; }

/* ---------- specs ---------- */

.specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-card);
  overflow: hidden;
}
.specs-grid .spec {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}
.specs-grid .spec:nth-child(odd) { border-right: 1px solid var(--line); }
.specs-grid .spec:nth-last-child(-n+2) { border-bottom: 0; }
.specs-grid dt {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin: 0;
}
.specs-grid dd {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
  text-align: right;
  letter-spacing: 0.04em;
}

.features-list {
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 24px;
  margin-top: 0;
}

/* ---------- related ---------- */

.related-section {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, transparent 0%, rgba(245,200,67,0.02) 100%);
}
.related-section .section-head { margin-bottom: 40px; }

/* ---------- 404 / missing ---------- */

.detail-missing { text-align: center; padding: clamp(60px, 10vw, 120px) 0; }
.detail-missing h1 { font-size: clamp(36px, 5vw, 56px); margin: 12px 0 14px; }
.detail-missing p { color: var(--text-dim); margin-bottom: 28px; }

/* listing variant */
.cars-listing { padding-top: clamp(40px, 6vw, 80px); }

/* ---------- lightbox ---------- */

.gal-main { cursor: zoom-in; }

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.94);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease, visibility 0s linear .2s;
  cursor: zoom-out;
  padding: 20px;
}
.lightbox.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity .2s ease, visibility 0s linear 0s;
}

.lb-img {
  max-width: 95vw;
  max-height: 92vh;
  object-fit: contain;
  cursor: default;
  user-select: none;
  -webkit-user-drag: none;
  border: 1px solid var(--line);
  background: #0d0d12;
}

.lightbox .lb-arrow,
.lightbox .lb-close {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  line-height: 1;
  background: rgba(20, 20, 24, 0.7);
  color: var(--text);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  cursor: pointer;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: color .15s, border-color .15s, background .15s, box-shadow .2s;
  z-index: 2;
}
.lightbox .lb-arrow:hover,
.lightbox .lb-close:hover {
  color: var(--gold);
  border-color: var(--gold);
  background: rgba(245, 200, 67, 0.1);
  box-shadow: 0 0 22px var(--gold-soft);
}
.lb-prev, .lb-next {
  top: 50%;
  transform: translateY(-50%);
  width: 52px; height: 52px;
  font-size: 30px;
}
.lb-prev { left: 24px; }
.lb-next { right: 24px; }
.lb-close {
  top: 24px; right: 24px;
  width: 44px; height: 44px;
  font-size: 24px;
}

.lb-counter {
  position: absolute;
  bottom: 24px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text);
  padding: 6px 14px;
  background: rgba(20, 20, 24, 0.7);
  border: 1px solid var(--line-2);
  border-radius: 2px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.lb-counter .lb-i { color: var(--gold); }

/* ---------- responsive ---------- */

@media (max-width: 1024px) {
  .car-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { max-width: 520px; aspect-ratio: 4/3; }
  .contact-grid { grid-template-columns: 1fr; }
  .detail-grid { grid-template-columns: 1fr; }
  .detail-aside { position: static; }
  .features-list { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav-row { height: auto; padding-top: 12px; padding-bottom: 12px; flex-wrap: wrap; }
  .nav { order: 3; width: 100%; gap: 0; justify-content: space-between; }
  .nav a { padding: 8px 6px; font-size: 12px; letter-spacing: 0.12em; }
  .stats { padding: 36px 0; }
  .stats-grid { grid-template-columns: repeat(3, 1fr); gap: 32px 12px; }
  .car-grid { grid-template-columns: 1fr; gap: 20px; }
  .hero-inner { padding-top: 60px; padding-bottom: 60px; }
  .hero { min-height: 560px; }
  .footer-row { justify-content: center; text-align: center; }
  .gal-thumbs { grid-template-columns: repeat(4, 1fr); gap: 6px; }
  .gal-arrow { width: 40px; height: 40px; font-size: 22px; }
  .lb-prev, .lb-next { width: 40px; height: 40px; font-size: 22px; }
  .lb-prev { left: 12px; }
  .lb-next { right: 12px; }
  .lb-close { width: 38px; height: 38px; font-size: 22px; top: 16px; right: 16px; }
  .lb-counter { font-size: 11px; padding: 5px 10px; bottom: 16px; }
  .specs-grid { grid-template-columns: 1fr; }
  .specs-grid .spec:nth-child(odd) { border-right: 0; }
  .specs-grid .spec:nth-last-child(2) { border-bottom: 1px solid var(--line); }
  .detail-cta .btn { flex: 1 1 100%; }
}

@media (max-width: 420px) {
  .btn { padding: 12px 16px; font-size: 12px; letter-spacing: 0.14em; }
  .car-meta li { font-size: 10px; padding: 3px 7px; }
  .gal-counter { right: 8px; bottom: 8px; font-size: 10px; padding: 4px 8px; }
}
