/* ==========================================================================
   Landmark Auto — Design System
   Dark charcoal + orange accent, inspired by modern used-car dealer sites.
   Edit the CSS variables below to re-theme the whole site.
   ========================================================================== */

:root {
  /* Brand palette */
  --bg:            #ffffff;
  --bg-alt:        #f4f6f9;
  --bg-elevated:   #eef1f5;
  --bg-card:       #ffffff;
  --line:          #d8dee6;
  --line-soft:     #e7ebf1;

  --text:          #18212f;
  --text-muted:    #55616f;
  --text-dim:      #8791a0;

  --accent:        #d81f26;
  --accent-hover:  #b81820;
  --accent-soft:   rgba(216, 31, 38, 0.10);

  --action:        #076ee6;
  --action-hover:  #085fc4;
  --navy:          #21252c;

  --white:         #ffffff;
  --star:          #ffc043;

  /* Type */
  --font: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;

  /* Layout */
  --wrap: 1200px;
  --radius:   14px;
  --radius-sm: 9px;
  --shadow: 0 16px 40px rgba(20, 30, 50, 0.12);
  --shadow-sm: 0 6px 20px rgba(20, 30, 50, 0.08);
  --transition: 180ms ease;
}

/* -------------------------------------------------------------- Reset --- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 { line-height: 1.15; font-weight: 800; letter-spacing: -0.01em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }

.accent { color: var(--accent); }

/* Section scaffolding */
.section { padding: 72px 0; }
.section--alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.section-head .eyebrow {
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.78rem;
  display: block;
  margin-bottom: 10px;
}
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
.section-head p { color: var(--text-muted); margin-top: 12px; }

/* -------------------------------------------------------------- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}
.btn--primary { background: var(--action); color: #fff; }
.btn--primary:hover { background: var(--action-hover); transform: translateY(-2px); }
.btn--ghost { background: transparent; border-color: var(--line); color: var(--text); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.hero .btn--ghost { border-color: rgba(255,255,255,0.4); color: #fff; }
.hero .btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--block { width: 100%; justify-content: center; }

/* ============================================================ Top bar === */
.topbar {
  background: #b81820;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.82);
}
.topbar svg { color: #fff; }
.topbar .wrap { display: flex; justify-content: flex-end; gap: 28px; padding-top: 9px; padding-bottom: 9px; }
.topbar a { display: inline-flex; align-items: center; gap: 7px; transition: var(--transition); }
.topbar a:hover { color: #fff; }
.topbar svg { width: 15px; height: 15px; color: #fff; }

/* ============================================================= Header === */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #d81f26;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.16);
}
.header .wrap { display: flex; align-items: center; justify-content: space-between; height: 74px; }

.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark { width: auto; height: 38px; flex-shrink: 0; }
.logo-text { display: none; }  /* wordmark is included in the uploaded logo PNG */
.logo-text { font-size: 1.35rem; font-weight: 900; letter-spacing: -0.02em; line-height: 1; }
.logo-text small { display: block; font-size: 0.6rem; font-weight: 600; letter-spacing: 0.35em; color: var(--text-dim); margin-top: 3px; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav > li { position: relative; }
.nav > li > a {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 15px;
  font-weight: 700; font-size: 0.82rem;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--text); border-radius: 8px;
  transition: var(--transition);
}
.nav > li > a:hover, .nav > li.active > a { color: var(--accent); }
.nav .caret { width: 12px; height: 12px; opacity: 0.7; transition: var(--transition); }
.nav li:hover .caret { transform: rotate(180deg); }

/* Dropdown */
.dropdown {
  position: absolute; top: calc(100% + 6px); left: 0;
  min-width: 220px;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: var(--transition);
}
.nav li:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
  display: block; padding: 10px 14px; border-radius: 7px;
  font-size: 0.88rem; color: var(--text-muted); transition: var(--transition);
}
.dropdown a:hover { background: var(--accent-soft); color: var(--accent); }

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

.nav-toggle {
  display: none; background: none; border: 0; color: var(--text);
  width: 44px; height: 44px; border-radius: 8px;
}
.nav-toggle svg { width: 26px; height: 26px; }

/* ============================================================== Hero === */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
  background:
    radial-gradient(900px 520px at 86% 18%, rgba(255,255,255,0.07), transparent 60%),
    #B81920;
}
.hero__content { color: #fff; }
.hero h1, .hero .accent { color: #fff; }
.hero__eyebrow { color: rgba(255,255,255,0.85); }
.hero__brands span { color: rgba(255,255,255,0.72); }
.hero__glow {
  position: absolute; inset: 0; z-index: 0; opacity: 0.5;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.05) 1px, transparent 0);
  background-size: 26px 26px;
}
.hero .wrap, .page-hero .wrap { position: relative; z-index: 2; }
.hero__grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 44px; align-items: center;
  padding-top: 64px; padding-bottom: 64px;
}
.hero__content { max-width: 620px; }
.hero__eyebrow {
  color: rgba(255,255,255,0.9); font-weight: 700; letter-spacing: 0.28em;
  text-transform: uppercase; font-size: 0.85rem;
}
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); margin: 16px 0; }
.hero p { color: #d7dae0; font-size: 1.1rem; max-width: 500px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero__brands {
  display: flex; flex-wrap: wrap; gap: 10px 22px;
  margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line-soft);
}
.hero__brands span { color: var(--text-dim); font-weight: 700; font-size: 0.9rem; }
.hero__showcase {
  position: relative; display: block; background: #fff;
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  transition: var(--transition);
}
.hero__showcase:hover { transform: translateY(-4px); box-shadow: 0 24px 60px rgba(0,0,0,0.5); }
.hero__showcase img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: contain; background: #fff; }
.hero__badge {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: var(--accent); color: #1a1205; font-size: 0.72rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.05em; padding: 5px 11px; border-radius: 6px;
}
.hero__cap { background: #fff; color: #14161a; padding: 14px 18px 16px; border-top: 1px solid #eceff3; }
.hero__cap b { display: block; font-size: 1.05rem; }
.hero__cap span { color: #6b7280; font-size: 0.88rem; }
.about__media img { background: #fff; }
@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; gap: 30px; padding-top: 44px; padding-bottom: 44px; }
  .hero__showcase { max-width: 540px; }
}

/* ========================================================= Search bar === */
.searchbar { background: var(--bg-alt); border-bottom: 1px solid var(--line-soft); padding: 34px 0; }
.searchbar h2 { text-align: center; font-size: 1.5rem; margin-bottom: 22px; }
.search-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.search-form .search-keyword { grid-column: 1 / -1; }
.search-row { display: grid; grid-template-columns: repeat(4, 1fr) auto; gap: 12px; }
.field {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--text);
  padding: 14px 16px;
  font-size: 0.95rem;
  width: 100%;
  transition: var(--transition);
  appearance: none;
}
select.field {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%23a7adb8' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}
.field:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.field::placeholder { color: var(--text-dim); }

/* ======================================================= Feature grid === */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 32px 26px;
  text-align: center;
  transition: var(--transition);
}
.feature-card:hover { transform: translateY(-6px); border-color: var(--accent); box-shadow: var(--shadow-sm); }
.feature-card .ic {
  width: 60px; height: 60px; margin: 0 auto 18px;
  display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent);
  border-radius: 16px;
}
.feature-card .ic svg { width: 30px; height: 30px; }
.feature-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.feature-card p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 18px; }
.feature-card a { color: var(--accent); font-weight: 700; font-size: 0.9rem; }
.feature-card a:hover { text-decoration: underline; }

/* ============================================================= About === */
.about { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 54px; align-items: center; }
.about__media img { width: 100%; height: auto; display: block; border-radius: var(--radius); box-shadow: var(--shadow); }
.about__body .eyebrow {
  color: var(--accent); font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; font-size: 0.78rem;
}
.about__body h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin: 12px 0 20px; }
.about__body p { color: var(--text-muted); margin-bottom: 16px; }
.about__stats { display: flex; gap: 34px; margin: 26px 0; }
.about__stats .num { font-size: 2rem; font-weight: 900; color: var(--accent); }
.about__stats .lbl { font-size: 0.82rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.08em; }

/* ==================================================== Make quick search === */
.brand-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.brand-tile {
  background: var(--bg-card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  padding: 22px 10px;
  text-align: center;
  transition: var(--transition);
}
.brand-tile:hover { border-color: var(--accent); background: var(--bg-elevated); transform: translateY(-4px); }
.brand-tile .badge {
  width: 46px; height: 46px; margin: 0 auto 10px;
  display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 50%;
  color: var(--text-muted);
}
.brand-tile:hover .badge { color: var(--accent); border-color: var(--accent); }
.brand-tile .badge svg { width: 26px; height: 26px; }
.brand-tile span { font-size: 0.82rem; font-weight: 600; color: var(--text-muted); }
.brand-tile:hover span { color: var(--text); }

/* ================================================= Body style search === */
.bodystyles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.bodystyle {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  min-height: 150px;
  display: flex;
  align-items: flex-end;
  background: var(--bg-elevated);
  transition: var(--transition);
}
.bodystyle:hover { border-color: var(--accent); transform: translateY(-5px); }
.bodystyle svg { position: absolute; inset: 0; margin: auto; width: 120px; height: 120px; color: var(--line); opacity: 0.5; transition: var(--transition); }
.bodystyle:hover svg { color: var(--accent); opacity: 0.9; transform: scale(1.06); }
.bodystyle span {
  position: relative; z-index: 1; width: 100%;
  padding: 16px 20px; font-weight: 700;
  background: linear-gradient(0deg, rgba(10,12,15,0.9), transparent);
}

/* ========================================================== Financing === */
.finance { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 54px; align-items: center; }
.finance__body h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin: 12px 0 18px; }
.finance__body p { color: var(--text-muted); margin-bottom: 16px; }
.finance__list { display: grid; gap: 14px; margin: 22px 0 28px; }
.finance__list li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-muted); }
.finance__list svg { width: 22px; height: 22px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.finance__card {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow-sm);
}
.finance__card h3 { font-size: 1.3rem; margin-bottom: 6px; }
.finance__card > p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 22px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 0.82rem; font-weight: 600; margin-bottom: 7px; color: var(--text-muted); }

/* ============================================================ Reviews === */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review-card {
  background: var(--bg-card); border: 1px solid var(--line-soft);
  border-radius: var(--radius); padding: 26px;
}
.review-card .stars { display: flex; gap: 3px; margin-bottom: 14px; }
.review-card .stars svg { width: 18px; height: 18px; color: var(--star); }
.review-card p { color: var(--text-muted); font-size: 0.93rem; margin-bottom: 18px; }
.review-card .who { display: flex; align-items: center; gap: 12px; }
.review-card .avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center; font-weight: 800;
}
.review-card .who b { font-size: 0.92rem; }
.review-card .who small { color: var(--text-dim); font-size: 0.78rem; }

/* =========================================================== Vehicles === */
.vehicle-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.vehicle-card {
  background: var(--bg-card); border: 1px solid var(--line-soft);
  border-radius: var(--radius); overflow: hidden; transition: var(--transition);
}
.vehicle-card:hover { transform: translateY(-6px); border-color: var(--accent); box-shadow: var(--shadow-sm); }
.vehicle-card__img { display: block; position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #fff; }
.vehicle-card__img img { width: 100%; height: 100%; object-fit: contain; transition: 400ms ease; }
.vehicle-card:hover .vehicle-card__img img { transform: scale(1.06); }
.vehicle-card__tag {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  background: var(--accent); color: #1a1205;
  font-size: 0.72rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.05em; padding: 5px 11px; border-radius: 6px;
}
/* Dealership logo watermark on each vehicle photo */
.vehicle-card__watermark {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  display: flex; align-items: center; gap: 7px;
  padding: 6px 11px 6px 8px; border-radius: 9px;
  background: rgba(10, 12, 15, 0.62);
  backdrop-filter: blur(3px);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.vehicle-card__watermark img { width: auto; height: 19px; filter: brightness(0) invert(1); }
.vehicle-card__watermark b {
  font-size: 0.68rem; font-weight: 900; letter-spacing: 0.02em;
  color: #fff; line-height: 1; text-transform: uppercase;
}
.vehicle-card__watermark b span { color: var(--accent); }
.vehicle-card__body { padding: 20px; }
.vehicle-card__body h3 { font-size: 1.08rem; margin-bottom: 12px; }
.vehicle-specs { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-bottom: 16px; }
.vehicle-specs span { display: flex; align-items: center; gap: 6px; font-size: 0.82rem; color: var(--text-muted); }
.vehicle-specs svg { width: 15px; height: 15px; color: var(--accent); }
.vehicle-card__foot { display: flex; align-items: center; justify-content: space-between; padding-top: 16px; border-top: 1px solid var(--line-soft); }
.vehicle-card__price .amt { font-size: 1.4rem; font-weight: 900; color: var(--text); }
.vehicle-card__price small { display: block; font-size: 0.72rem; color: var(--text-dim); }
.vehicle-card__foot .btn { padding: 9px 16px; font-size: 0.82rem; }

.center-cta { text-align: center; margin-top: 44px; }

/* Inventory filter panel */
.filter-panel {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.filter-panel__head {
  display: flex; align-items: center; gap: 9px;
  font-weight: 800; font-size: 1.05rem; margin-bottom: 18px;
}
.filter-panel__head svg { color: var(--accent); }
.filter-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.filter-grid .field { width: 100%; }

/* Inventory page toolbar */
.inv-toolbar { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.inv-count { font-size: 1.6rem; font-weight: 900; }
.inv-sort { display: flex; align-items: center; gap: 10px; color: var(--text-muted); font-size: 0.9rem; }
.inv-sort .field { width: auto; min-width: 180px; padding: 10px 40px 10px 14px; }

@media (max-width: 860px) { .filter-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .filter-grid { grid-template-columns: 1fr; } }

.page-hero {
  background:
    radial-gradient(700px 340px at 82% 18%, rgba(255,255,255,0.08), transparent 60%),
    linear-gradient(180deg, #d81f26 0%, #a5131a 100%);
  padding: 70px 0 56px; text-align: center; color: #fff;
}
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); color: #fff; }
.page-hero h1 .accent { color: #fff; }
.page-hero .crumbs { color: rgba(255,255,255,0.72); margin-top: 12px; font-size: 0.9rem; }
.page-hero .crumbs a { color: rgba(255,255,255,0.9); }
.page-hero .crumbs a:hover { color: #fff; }
.page-hero .crumbs a:hover { color: var(--accent); }

/* ======================================================= Vehicle detail === */
.vd-topnav { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 22px; flex-wrap: wrap; }
.vd-back { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--text); }
.vd-back:hover { color: var(--accent); }
.vd-back svg { width: 18px; height: 18px; }
.vd-prevnext { display: flex; gap: 8px; }
.vd-prevnext a { padding: 8px 15px; border: 1px solid var(--line); border-radius: 8px; font-size: 0.85rem; font-weight: 600; color: var(--text-muted); transition: var(--transition); }
.vd-prevnext a:hover { border-color: var(--accent); color: var(--accent); }

.vd-grid { display: grid; grid-template-columns: 1fr 380px; gap: 34px; align-items: start; }

.vd-gallery { margin-bottom: 12px; }
.vd-stage { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-soft); aspect-ratio: 16 / 10; background: #fff; }
.vd-stage > img { width: 100%; height: 100%; object-fit: contain; }
.vd-stage .vehicle-card__tag { top: 14px; right: 14px; }
.vd-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--line); background: rgba(255,255,255,0.9);
  color: var(--navy); display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: var(--transition); box-shadow: var(--shadow-sm);
}
.vd-nav:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.vd-nav svg { width: 22px; height: 22px; }
.vd-nav--prev { left: 14px; }
.vd-nav--next { right: 14px; }
.vd-counter {
  position: absolute; bottom: 14px; right: 14px; z-index: 3;
  background: rgba(20,27,38,0.72); color: #fff; font-size: 0.8rem; font-weight: 600;
  padding: 4px 11px; border-radius: 20px; backdrop-filter: blur(4px);
}
.vd-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 10px; }
.vd-thumb { padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; background: var(--bg-elevated); aspect-ratio: 4 / 3; cursor: pointer; transition: var(--transition); }
.vd-thumb { background: #fff; }
.vd-thumb img { width: 100%; height: 100%; object-fit: contain; }
.vd-thumb:hover { border-color: var(--line); }
.vd-thumb.active { border-color: var(--accent); }

.vd-block { background: var(--bg-card); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 26px; margin-top: 20px; }
.vd-block h2 { font-size: 1.25rem; margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--line-soft); }
.vd-desc { color: var(--text-muted); line-height: 1.8; }

.spec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.spec-item { display: flex; align-items: center; gap: 12px; }
.spec-item svg { width: 22px; height: 22px; color: var(--accent); flex-shrink: 0; }
.spec-item span { display: block; font-size: 0.74rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.05em; }
.spec-item b { font-size: 0.95rem; }

.vd-features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.vd-features li { display: flex; align-items: center; gap: 10px; color: var(--text-muted); font-size: 0.92rem; }
.vd-features svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; }

.vd-side { position: sticky; top: 92px; display: grid; gap: 18px; }
.vd-price-card { background: var(--bg-card); border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); }
.vd-badges { display: flex; gap: 8px; margin-bottom: 12px; }
.vd-badges span { display: inline-flex; align-items: center; gap: 6px; font-size: 0.72rem; font-weight: 700; color: var(--accent); background: var(--accent-soft); padding: 5px 10px; border-radius: 6px; }
.vd-badges svg { width: 14px; height: 14px; }
.vd-price-card h1 { font-size: 1.5rem; line-height: 1.25; }
.vd-substat { color: var(--text-dim); font-size: 0.85rem; margin: 8px 0 18px; }
.vd-price { padding: 16px 0; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.vd-price .amt { font-size: 2.2rem; font-weight: 900; }
.vd-price small { color: var(--text-dim); font-size: 0.8rem; margin-left: 8px; }
.vd-finance { padding: 16px 0; }
.vd-finance > div:first-child { display: flex; align-items: baseline; gap: 8px; }
.vd-finance b { font-size: 1.4rem; font-weight: 900; color: var(--accent); }
.vd-finance span { color: var(--text-muted); font-size: 0.9rem; }
.vd-finance-sub { font-size: 0.76rem; color: var(--text-dim); margin-top: 4px; }
.vd-actions { display: grid; gap: 10px; margin: 6px 0 18px; }
.vd-trust { display: grid; gap: 8px; padding-top: 16px; border-top: 1px solid var(--line-soft); }
.vd-trust span { display: flex; align-items: center; gap: 8px; font-size: 0.82rem; color: var(--text-muted); }
.vd-trust svg { width: 16px; height: 16px; color: var(--accent); }
.vd-request h3 { font-size: 1.15rem; }

@media (max-width: 980px) {
  .vd-grid { grid-template-columns: 1fr; }
  .vd-side { position: static; }
}
@media (max-width: 560px) {
  .spec-grid { grid-template-columns: 1fr 1fr; }
  .vd-features { grid-template-columns: 1fr; }
  .vd-thumbs { grid-template-columns: repeat(4, 1fr); }
}

/* ===================================================== Contact / About === */
.credit-banners { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 40px; }
.credit-banner {
  display: flex; align-items: center; gap: 14px;
  background: var(--bg-card); border: 1px solid var(--line-soft);
  border-left: 3px solid var(--accent); border-radius: var(--radius-sm); padding: 18px 20px;
}
.credit-banner svg { width: 26px; height: 26px; color: var(--accent); flex-shrink: 0; }
.credit-banner b { display: block; font-size: 0.98rem; }
.credit-banner span { font-size: 0.82rem; color: var(--text-muted); }

.contact-layout { display: grid; grid-template-columns: 1.3fr 1fr; gap: 34px; align-items: start; }

/* Radio pills */
.pill-group { display: flex; flex-wrap: wrap; gap: 10px; }
.pill {
  position: relative; cursor: pointer;
}
.pill input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.pill span {
  display: inline-block; padding: 9px 18px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--bg-elevated);
  font-size: 0.86rem; font-weight: 600; color: var(--text-muted); transition: var(--transition);
}
.pill input:checked + span { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
.pill:hover span { border-color: var(--accent); }

.consent { display: flex; gap: 11px; align-items: flex-start; margin: 6px 0; font-size: 0.8rem; color: var(--text-dim); line-height: 1.5; }
.consent input { margin-top: 3px; accent-color: var(--accent); width: 16px; height: 16px; flex-shrink: 0; }
.consent a { color: var(--accent); }

/* Contact info cards */
.info-stack { display: grid; gap: 18px; }
.info-card { background: var(--bg-card); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 24px; }
.info-card h3 { font-size: 1.1rem; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.info-card h3 svg { width: 20px; height: 20px; color: var(--accent); }
.info-line { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid var(--line-soft); }
.info-line:last-child { border-bottom: 0; }
.info-line svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; margin-top: 3px; }
.info-line span { display: block; font-size: 0.74rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.05em; }
.info-line b { font-size: 0.95rem; }
.info-line a:hover { color: var(--accent); }
.hours-row { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid var(--line-soft); font-size: 0.9rem; }
.hours-row:last-child { border-bottom: 0; }
.hours-row span:first-child { color: var(--text-muted); }
.hours-row span:last-child { font-weight: 600; }
.hours-row.closed span:last-child { color: var(--text-dim); }

.value-band {
  background: linear-gradient(120deg, #e12129 0%, #9e1119 100%);
  border-radius: var(--radius); padding: 44px; text-align: center; color: #1a1205;
}
.value-band h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 10px; }
.value-band p { max-width: 560px; margin: 0 auto 24px; font-weight: 500; opacity: 0.9; }
.value-band .btn { background: #14161a; color: #fff; }
.value-band .btn:hover { background: #000; }

@media (max-width: 900px) {
  .credit-banners { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
}

/* ============================================================== Footer === */
.footer { background: var(--navy); padding: 60px 0 0; color: #fff; }
.footer .logo-text { color: #fff; }
.footer p, .footer li { color: rgba(255,255,255,0.66); }
.footer h4 { color: #fff; }
.footer ul a:hover { color: #fff; }

/* ---- AutoTrader red header + brand overrides ---- */
.header .logo-mark, .footer .logo-mark { filter: brightness(0) invert(1); }
.header .logo-text, .header .logo-text .accent { color: #fff; }
.header .logo-text small { color: rgba(255,255,255,0.72); }
.header .nav > li > a { color: rgba(255,255,255,0.92); }
.header .nav > li > a:hover, .header .nav > li.active > a { color: #fff; background: rgba(255,255,255,0.14); }
.header .nav-toggle { color: #fff; }
.vehicle-card__tag, .hero__badge { color: #fff; }
.value-band, .value-band h2, .value-band p { color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 46px; }
.footer h4 { font-size: 1rem; margin-bottom: 18px; }
.footer p, .footer li { color: var(--text-muted); font-size: 0.9rem; }
.footer ul { display: grid; gap: 10px; }
.footer ul a:hover { color: var(--accent); }
.footer__brand .logo { margin-bottom: 16px; }
.footer__hours li { display: flex; justify-content: space-between; gap: 12px; }
.footer__hours li span:last-child { color: var(--text); }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; }
.footer__contact svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.footer__social { display: flex; gap: 10px; margin-top: 18px; }
.footer__social a {
  width: 40px; height: 40px; border-radius: 9px;
  border: 1px solid var(--line); display: grid; place-items: center;
  color: var(--text-muted); transition: var(--transition);
}
.footer__social a:hover { border-color: var(--accent); color: var(--accent); }
.footer__social svg { width: 18px; height: 18px; }
.footer__bottom {
  border-top: 1px solid var(--line-soft); padding: 22px 0;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  color: var(--text-dim); font-size: 0.85rem;
}
.footer__bottom a:hover { color: var(--accent); }

/* ====================================================== Placeholder note === */
.placeholder-note {
  background: var(--accent-soft);
  border-top: 1px solid var(--accent);
  border-bottom: 1px solid var(--accent);
  color: var(--accent);
  text-align: center;
  font-size: 0.85rem;
  padding: 10px 16px;
}
.placeholder-note strong { color: var(--accent-hover); }

/* ============================================================ Responsive === */
@media (max-width: 1024px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .brand-grid { grid-template-columns: repeat(5, 1fr); }
  .reviews, .vehicle-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav-toggle { display: grid; place-items: center; }
  .nav {
    position: fixed; top: 0; right: 0; bottom: 0;
    width: min(320px, 84vw);
    flex-direction: column; align-items: stretch;
    background: var(--bg-elevated);
    border-left: 1px solid var(--line);
    padding: 84px 18px 30px; gap: 4px;
    transform: translateX(100%); transition: transform 260ms ease;
    overflow-y: auto; z-index: 60;
  }
  .nav.open { transform: translateX(0); }
  .nav > li > a { padding: 14px 12px; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; background: transparent; padding: 0 0 0 14px; display: none; }
  .nav li.expanded .dropdown { display: block; }
  .header-cta .btn { display: none; }  /* hide "Text Us Now" on mobile, leave hamburger */
  .nav-backdrop {
    position: fixed; inset: 0; background: rgba(0,0,0,0.55);
    opacity: 0; visibility: hidden; transition: var(--transition); z-index: 55;
  }
  .nav-backdrop.show { opacity: 1; visibility: visible; }
  .about, .finance { grid-template-columns: 1fr; gap: 34px; }
  .search-row { grid-template-columns: 1fr 1fr; }
  .search-row .btn { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .topbar .wrap { justify-content: center; gap: 18px; flex-wrap: wrap; }
  .features, .brand-grid, .bodystyles, .reviews, .vehicle-grid { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .about__stats { gap: 22px; }
  .section { padding: 52px 0; }
}

@media (max-width: 460px) {
  .brand-grid, .bodystyles, .reviews, .vehicle-grid, .features { grid-template-columns: 1fr; }
  .search-row { grid-template-columns: 1fr; }
}

/* ---------------------------------------------- Mobile polish (phones) --- */
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .topbar { font-size: 0.78rem; }
  .topbar .wrap { gap: 6px 16px; padding-top: 7px; padding-bottom: 7px; }
  .header .wrap { height: 62px; }
  .logo-mark { height: 32px; }

  /* Hero: tighter, full-width tap-friendly buttons */
  .hero__grid { padding-top: 34px; padding-bottom: 34px; gap: 24px; }
  .hero h1 { margin: 12px 0; }
  .hero p { font-size: 1rem; }
  .hero__actions { margin-top: 24px; gap: 12px; }
  .hero__actions .btn { flex: 1 1 100%; justify-content: center; }
  .hero__brands { margin-top: 22px; padding-top: 18px; gap: 8px 16px; }

  /* Section rhythm */
  .section { padding: 44px 0; }
  .section-head { margin-bottom: 32px; }
  .searchbar { padding: 26px 0; }

  /* About stats wrap cleanly */
  .about__stats { flex-wrap: wrap; gap: 18px 28px; }
  .about__stats > div { flex: 1 1 40%; }

  /* Big banners breathe less on small screens */
  .value-band { padding: 30px 22px; }
  .cta-band { padding: 34px 22px !important; }

  /* Buttons a touch more compact */
  .btn { padding: 12px 22px; }
}

@media (max-width: 380px) {
  .topbar a:first-child { display: none; }  /* hide long address, keep phone */
}
