:root {
  --bg: #0b0d12;
  --bg-2: #121722;
  --panel: rgba(255,255,255,.05);
  --panel-2: rgba(255,255,255,.08);
  --border: rgba(255,255,255,.10);
  --text: #f5f7fb;
  --muted: #aab3c2;
  --brand: #ff7a1a;
  --brand-2: #ff9f45;
  --shadow: 0 24px 60px rgba(0,0,0,.35);
  --radius: 22px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(255,122,26,.16), transparent 28%),
    radial-gradient(circle at top left, rgba(255,255,255,.06), transparent 18%),
    linear-gradient(180deg, var(--bg) 0%, #11151d 100%);
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.narrow { max-width: 760px; }
.site-header {
  position: sticky; top: 0; z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(11,13,18,.58);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.nav-wrap {
  min-height: 82px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand-logo { width: 190px; height: auto; object-fit: contain; }
.nav-links { display: flex; gap: 26px; color: var(--muted); font-weight: 500; }
.nav-links a:hover, .link-more:hover { color: var(--text); }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 18px; border-radius: 999px; font-weight: 700;
  transition: .25s ease; border: 1px solid transparent;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  box-shadow: 0 16px 35px rgba(255,122,26,.22);
}
.btn-outline {
  background: rgba(255,255,255,.03);
  border-color: var(--border);
  color: var(--text);
}
.btn-dark {
  background: #1d2431;
  color: white;
}
.hero-section { padding: 70px 0 40px; }
.hero-grid {
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 28px; align-items: center;
}
.eyebrow {
  display: inline-flex; padding: 8px 12px; border-radius: 999px;
  background: rgba(255,122,26,.12); color: #ffb57a; border: 1px solid rgba(255,122,26,.22);
  font-size: .9rem; font-weight: 700; margin-bottom: 18px;
}
.hero-grid h1 { font-size: clamp(2.6rem, 5vw, 5rem); line-height: .97; margin: 0 0 18px; }
.hero-grid p { color: var(--muted); max-width: 680px; font-size: 1.07rem; line-height: 1.7; margin: 0; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero-card {
  position: relative; overflow: hidden; border-radius: 28px; padding: 1px;
  background: linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,.04));
  box-shadow: var(--shadow);
}
.hero-card-glow {
  position: absolute; inset: auto -20% -40% auto; width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(255,122,26,.24), transparent 60%);
}
.hero-card-content {
  position: relative; min-height: 310px; border-radius: 27px; padding: 28px;
  background: linear-gradient(180deg, rgba(17,21,29,.95), rgba(17,21,29,.88));
}
.hero-card-content h3 { margin: 0 0 12px; font-size: 1.35rem; }
.hero-card-content p { margin: 0 0 18px; }
.hero-card-content ul { margin: 0; padding-left: 18px; color: var(--muted); line-height: 1.9; }
.section { padding: 22px 0 40px; }
.section-head {
  display: flex; align-items: end; justify-content: space-between; gap: 16px;
  margin-bottom: 22px;
}
.section-head h2, .page-top h1 { margin: 8px 0 0; font-size: clamp(1.9rem, 4vw, 3rem); }
.page-top { padding: 42px 0 18px; }
.page-top p, .results-line, .footer-text { color: var(--muted); }
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 22px;
}
.car-card {
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.03));
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.car-image-wrap { position: relative; display: block; }
.car-image { width: 100%; height: 230px; object-fit: cover; background: #111; }
.badge {
  position: absolute; top: 14px; left: 14px; background: rgba(0,0,0,.7); backdrop-filter: blur(8px);
  padding: 8px 10px; border-radius: 999px; font-size: .83rem; border: 1px solid rgba(255,255,255,.12);
}
.car-body { padding: 18px; }
.car-body h3 { margin: 0 0 10px; font-size: 1.1rem; min-height: 56px; }
.car-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.car-meta span {
  padding: 7px 10px; background: rgba(255,255,255,.05); border-radius: 999px; color: var(--muted); font-size: .9rem;
}
.car-price { font-size: 1.5rem; font-weight: 800; margin-bottom: 14px; }
.card-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.filters {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr auto; gap: 12px;
  margin-bottom: 16px;
}
.filters input, .filters select {
  width: 100%; border-radius: 16px; border: 1px solid var(--border); background: rgba(255,255,255,.04);
  color: white; padding: 14px 14px; outline: none;
}
.filters input::placeholder { color: #8f99ab; }
.results-line { margin-bottom: 16px; }
.vehicle-layout {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 28px; padding: 34px 0 26px;
}
.vehicle-main-image img {
  width: 100%; height: 520px; object-fit: cover; border-radius: 26px; background: #101317;
  border: 1px solid var(--border);
}
.thumb-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 12px;
}
.thumb-btn {
  padding: 0; border: 1px solid var(--border); background: none; border-radius: 16px; overflow: hidden; cursor: pointer;
}
.thumb-btn img { width: 100%; height: 92px; object-fit: cover; }
.vehicle-panel, .content-card, .empty-box {
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.03));
  border: 1px solid var(--border); border-radius: 24px; box-shadow: var(--shadow);
}
.vehicle-panel { padding: 24px; height: fit-content; position: sticky; top: 108px; }
.vehicle-panel h1 { margin: 0 0 10px; font-size: clamp(1.8rem, 4vw, 2.5rem); }
.big-price { font-size: 2rem; font-weight: 800; margin: 16px 0 18px; }
.spec-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 16px;
}
.spec-grid div {
  padding: 14px; border-radius: 18px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.06);
}
.spec-grid strong { display: block; font-size: .88rem; color: #cfd6e2; margin-bottom: 6px; }
.spec-grid span { color: var(--muted); }
.info-chip {
  margin-top: 10px; padding: 14px 16px; background: rgba(255,122,26,.08); border: 1px solid rgba(255,122,26,.14);
  border-radius: 18px; color: #ffd9bb;
}
.vehicle-actions { display: grid; gap: 12px; margin-top: 18px; }
.content-card { padding: 24px; }
.content-card p { color: var(--muted); line-height: 1.8; }
.site-footer {
  border-top: 1px solid rgba(255,255,255,.06); margin-top: 34px; padding: 32px 0 44px;
  background: rgba(0,0,0,.14);
}
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 24px; }
.footer-logo { width: 170px; margin-bottom: 12px; object-fit: contain; }
.empty-box { padding: 24px; color: var(--muted); }
.bottom-space { padding-bottom: 40px; }
@media (max-width: 980px) {
  .hero-grid, .vehicle-layout, .footer-grid { grid-template-columns: 1fr; }
  .vehicle-panel { position: static; }
  .filters { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav-wrap { flex-wrap: wrap; justify-content: center; padding: 14px 0; }
  .nav-links { width: 100%; justify-content: center; }
  .nav-cta { width: 100%; }
  .filters { grid-template-columns: 1fr; }
  .thumb-grid { grid-template-columns: repeat(2, 1fr); }
  .vehicle-main-image img { height: 340px; }
  .spec-grid { grid-template-columns: 1fr; }
  .section-head { align-items: start; flex-direction: column; }
}




.promo-side-card .eyebrow { margin-bottom: 14px; }
.promo-side-card h3 { margin: 0 0 12px; font-size: 1.5rem; }
.compact-actions { margin-top: 18px; }
.promo-popup {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.promo-popup.is-visible {
  display: flex;
}
.promo-popup-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.78);
  backdrop-filter: blur(6px);
}
.promo-popup-card {
  position: relative;
  z-index: 2;
  width: min(540px, 100%);
  max-height: calc(100vh - 32px);
  overflow: auto;
  margin: 0;
  background: linear-gradient(180deg, #151922, #0e1118);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 24px;
  box-shadow: 0 30px 80px rgba(0,0,0,.45);
  padding: 14px;
}
.promo-popup-image {
  width: 100%;
  height: auto;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.08);
}
.promo-popup-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  padding: 14px 6px 4px;
}
.promo-main-btn {
  min-width: 190px;
}
.promo-popup-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(13,16,22,.85);
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}
body.popup-open { overflow: hidden; }
@media (max-width: 640px) {
  .promo-popup {
    padding: 12px;
  }
  .promo-popup-card {
    border-radius: 20px;
    padding: 10px;
  }
}
