/* ==========================================================================
   Advanced Equity Financial — site stylesheet
   Layout, type scale, spacing and components follow the reference system
   (Divi-built dealer site): Poppins body at 16/1.7, Jost for vehicle titles,
   Josefin Sans footer nav, Open Sans footer hours; 80%-wide rows capped at
   1080/1152px; sections padded 54px; rows padded 27px; headings line-height 1
   with 10px bottom padding; square-cornered buttons padded 12.67px 23.33px.
   Colors are the brand's own (logo orange on deep slate), not the reference's.
   ========================================================================== */

:root {
  --font-body: "Poppins", Helvetica, Arial, Lucida, sans-serif;
  --font-display: "Jost", Helvetica, Arial, Lucida, sans-serif;
  --font-footnav: "Josefin Sans", Helvetica, Arial, Lucida, sans-serif;
  --font-hours: "Open Sans", Helvetica, Arial, Lucida, sans-serif;

  --ink: #1c1c1c;
  --ink-soft: #555555;
  --surface: #ffffff;
  --dark: #1b2430;
  --dark-2: #243040;
  --accent: #f07a12;
  --accent-ink: #c4600a;
  --button: #2f3e4e;
  --line: #c9ccd1;
  --line-soft: #e5e7ea;
  --field-border: #bdbdbd;
  --field-ink: #4e4e4e;
  --on-dark-muted: #a9b0b8;
  --on-dark-line: rgba(255, 255, 255, 0.22);

  --row-max: 1080px;
  --row-max-wide: 1152px;
  --section-pad: 54px;
  --row-pad: 27px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--surface);
}

img, video { max-width: 100%; height: auto; display: block; }
iframe { max-width: 100%; border: 0; display: block; }

a { color: var(--accent-ink); text-decoration: none; }
a:hover { text-decoration: underline; }

p { margin: 0; padding-bottom: 1em; }
ul, ol { margin: 0; padding: 0 0 1em 1.5em; }
strong, b { font-weight: 700; }

h1, h2, h3, h4 {
  margin: 0;
  padding: 0 0 10px;
  line-height: 1;
  font-weight: 700;
  color: var(--ink);
}
h1 { font-size: 30px; }
h2 { font-size: 26px; }
h3 { font-size: 20px; }
h4 { font-size: 18px; }

.title-xl { font-size: 40px; text-align: center; }
.title-xl + hr { margin-bottom: 0; }

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 8px 0;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--accent); color: #fff; padding: 8px 16px; z-index: 1000;
}
.skip-link:focus { left: 8px; top: 8px; }

/* --------------------------------------------------------------------------
   Layout primitives
   -------------------------------------------------------------------------- */

.section { padding: var(--section-pad) 0; }
.section--dark { background: var(--dark); color: #fff; }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section--dark a { color: #fff; }
.section--contact { padding: 100px 0; }

.row {
  width: 80%;
  max-width: var(--row-max);
  margin: 0 auto;
  padding: var(--row-pad) 0;
}
.row--wide { max-width: var(--row-max-wide); }
.row--full { max-width: 1300px; width: 90%; }
.row--flush { padding: 0; }

.cols { display: flex; gap: 5.5%; align-items: flex-start; }
.col-1-4 { width: 20.875%; flex: none; }
.col-3-4 { width: 73.625%; flex: none; }
.col-1-2 { width: 47.25%; flex: none; }
.col-3-5 { width: 57.8%; flex: none; }
.col-2-5 { width: 36.7%; flex: none; }
.col-2-3 { width: 64.833%; flex: none; }
.col-1-3 { width: 29.667%; flex: none; }

.text-center { text-align: center; }
.mt-0 { margin-top: 0; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-block;
  background: var(--button);
  color: #fff;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  padding: 12.672px 23.328px;
  border: 0;
  border-radius: 0;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  -webkit-appearance: none;
  appearance: none;
}
.btn:hover, .btn:focus-visible { background: var(--dark); color: #fff; text-decoration: none; }
.btn--accent { background: var(--accent); }
.btn--accent:hover, .btn--accent:focus-visible { background: var(--accent-ink); }
.btn--block { display: block; width: 100%; }
.btn--sm { padding: 8px 16px; font-size: 14px; }
.btn--ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn--ghost:hover { background: var(--line-soft); color: var(--ink); }

/* --------------------------------------------------------------------------
   Header + navigation
   -------------------------------------------------------------------------- */

.site-header {
  background: var(--dark);
  position: relative;
  z-index: 50;
}
.site-header .row {
  max-width: var(--row-max-wide);
  padding: 15px 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.logo { display: block; flex: none; }
.logo img { height: 83px; width: auto; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 10px;
  cursor: pointer;
  color: #fff;
}
.nav-toggle svg { display: block; width: 28px; height: 28px; }

.nav > ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 20px;
}
.nav > ul > li { position: relative; }
.nav > ul > li > a {
  display: block;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  line-height: 14px;
  padding: 10px 0 8px;
  white-space: nowrap;
}
.nav a:hover { text-decoration: none; opacity: 0.75; }
.nav > ul > li.is-active > a { opacity: 0.75; }

.has-sub > a::after {
  content: "";
  display: inline-block;
  width: 7px; height: 7px;
  margin-left: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-3px) rotate(45deg);
}
.sub {
  list-style: none;
  margin: 0;
  padding: 20px 0;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: #fff;
  border-top: 3px solid var(--accent);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  display: none;
  z-index: 60;
}
.has-sub:hover > .sub,
.has-sub:focus-within > .sub,
.has-sub.open > .sub { display: block; }
.sub a {
  display: block;
  padding: 6px 20px;
  color: var(--dark);
  font-size: 16px;
  font-weight: 600;
  line-height: 28px;
  white-space: nowrap;
}
.sub a:hover { color: var(--accent-ink); opacity: 1; }

/* --------------------------------------------------------------------------
   Hero + title band
   -------------------------------------------------------------------------- */

.hero {
  height: 449px;
  background-color: var(--dark-2);
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

.band {
  background: var(--dark);
  color: #fff;
  padding: 9px 0 0;
}
.band .row { padding: var(--row-pad) 0; text-align: center; }
.band h1 { color: #fff; }
.band h1 + * { margin-top: 30px; }
.band__tagline {
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  padding-bottom: 10px;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
  padding-bottom: 6px;
}

/* --------------------------------------------------------------------------
   Vehicle cards (list + grid)
   -------------------------------------------------------------------------- */

.vehicle-list { list-style: none; margin: 0; padding: 0; }
.vehicle {
  border-bottom: 1px solid var(--line);
  padding-bottom: 28px;
}
.vehicle__title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
  padding: 55px 0 10px;
}
.vehicle__title a { color: var(--ink); }
.vehicle__title a:hover { color: var(--accent-ink); text-decoration: none; }
.vehicle__price {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  padding: 0 0 10px;
}
.vehicle__price small { font-size: 16px; font-weight: 400; font-family: var(--font-body); }
.vehicle__media { position: relative; display: block; }
.vehicle__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--line-soft);
}
.vehicle__count {
  position: absolute;
  right: 10px;
  bottom: 8px;
  color: #fff;
  font-size: 14px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}
.vehicle__count svg { width: 16px; height: 16px; fill: currentColor; }
.vehicle__body {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-top: 12.8px;
}
.vehicle__body .btn { margin-top: 12.8px; flex: none; }

.spec { margin: 0 0 0 20px; padding: 0; list-style: none; }
.spec__item { display: flex; align-items: baseline; }
.spec__label {
  text-transform: uppercase;
  padding: 5px 0;
  min-width: 128px;
  flex: none;
}
.spec__value { font-weight: 700; padding: 5px 0 5px 12px; }
.spec__item--sep { border-top: 1px solid var(--line-soft); margin-top: 6px; padding-top: 6px; }

/* grid variant used on the home page */
.vehicle-grid {
  list-style: none;
  margin: 0;
  padding: 27px 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 5.5%;
}
.vehicle-grid .vehicle { border-bottom: 0; padding-bottom: 0; }
.vehicle-grid .vehicle__title { font-size: 22px; padding-top: 0; line-height: 1.1; }
.vehicle-grid .vehicle__body { display: block; }
.vehicle-grid .spec { margin-left: 0; }
.vehicle-grid .spec__label { min-width: 110px; }
.vehicle-grid .spec__item { font-size: 15px; }
.vehicle-grid .spec__label, .vehicle-grid .spec__value { padding-top: 3px; padding-bottom: 3px; }

/* --------------------------------------------------------------------------
   Inventory sidebar
   -------------------------------------------------------------------------- */

.sidebar { padding-right: 30px; }
.sidebar h4 { padding-bottom: 10px; }
.widget { margin-bottom: 55px; }
.widget:last-child { margin-bottom: 0; }
.field { padding: 2px 0 4px; }
.field label { display: block; }
.field select, .field input[type="search"], .field input[type="text"] {
  width: 100%;
  height: 36px;
  border: 1px solid var(--field-border);
  border-radius: 0;
  background: #fff;
  color: var(--field-ink);
  font-family: var(--font-body);
  font-size: 16px;
  padding: 0 8px;
}
.field-actions { display: flex; gap: 6px; margin-top: 10px; }
.field-actions .btn { flex: 1; }
.field-actions .btn--ghost { flex: none; }

.filter-group { border-top: 1px solid var(--line-soft); }
.filter-group:last-child { border-bottom: 1px solid var(--line-soft); }
.filter-group__head {
  width: 100%;
  background: none;
  border: 0;
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  color: var(--ink);
  text-align: left;
  padding: 8px 0 8px 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}
.filter-group__head::after {
  content: "";
  width: 8px; height: 8px;
  margin-right: 12px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.15s;
}
.filter-group.is-open .filter-group__head::after { transform: rotate(-135deg); }
.filter-group__list { list-style: none; margin: 0; padding: 0 0 8px 8px; display: none; }
.filter-group.is-open .filter-group__list { display: block; }
.filter-group__list li { padding: 7px 0; }
.filter-group__list label { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.filter-group__list input { margin: 0; width: 16px; height: 16px; accent-color: var(--accent); }
.filter-group__list .count { color: var(--ink-soft); }

.results-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.results-bar .field { display: flex; align-items: center; gap: 10px; }
.results-bar select { width: auto; min-width: 200px; }
.results-count { padding-bottom: 0; }
.results-empty { padding: 40px 0; }

/* --------------------------------------------------------------------------
   Store info / hours / map
   -------------------------------------------------------------------------- */

.store-name { font-size: 23px; font-weight: 700; line-height: 1; display: block; padding-bottom: 10px; }
.hours-table {
  border-collapse: collapse;
  font-family: var(--font-display);
  font-size: 18px;
  margin: 0 0 15px;
}
.hours-table td { padding: 10px 10px 0 0; vertical-align: top; }
.hours-table td:first-child { min-width: 130px; }
.hours-table--compact { font-size: 16px; font-family: var(--font-body); }
.hours-table--compact td { padding: 4px 16px 0 0; }
.hours-table .is-today td { font-weight: 700; }
.map-embed { width: 100%; height: 480px; }
.map-embed--tall { height: 560px; }
.social { display: inline-flex; gap: 10px; }
.social a {
  width: 32px; height: 32px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--dark); color: #fff;
}
.social a:hover { background: var(--accent); text-decoration: none; }
.social svg { width: 16px; height: 16px; fill: currentColor; }

/* --------------------------------------------------------------------------
   Dark "cards" section (Get in Touch / Make an Inquiry)
   -------------------------------------------------------------------------- */

.card-pair { display: flex; gap: 40px; align-items: stretch; }
.card-pair__item { background: #fff; color: var(--ink); padding: 20px; }
.card-pair__item--info { width: 38%; flex: none; text-align: center; }
.card-pair__item--form { flex: 1; }
.card-pair h2 { color: var(--ink); }
.card-pair a { color: var(--accent-ink); }
.card-cover {
  position: relative;
  height: 230px;
  background-position: center;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
}
.card-cover::before { content: ""; position: absolute; inset: 0; background: rgba(27, 36, 48, 0.72); }
.card-cover h2 {
  position: relative;
  color: #fff;
  font-size: 35px;
  font-weight: 600;
  padding: 0;
}
.card-logo { width: 160px; margin: 0 auto 30px; }
.contact-lines { list-style: none; margin: 0 0 25px; padding: 0; text-align: left; }
.contact-lines li { display: flex; align-items: center; gap: 15px; padding: 10px 0; }
.contact-lines .icon {
  flex: none;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--dark);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
}
.contact-lines .icon svg { width: 14px; height: 14px; fill: currentColor; }
.contact-lines h4 { font-size: 20px; font-weight: 600; line-height: 30px; padding: 0; }
.contact-lines h4 a { color: var(--ink); }
.contact-lines h4 small { display: block; font-size: 14px; font-weight: 400; line-height: 1.4; color: var(--ink-soft); }
.card-strong { font-size: 20px; font-weight: 700; line-height: 26px; padding-bottom: 20px; }

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */

.form { max-width: 760px; }
.form--wide { max-width: none; }
.form__note { font-size: 14px; color: var(--ink-soft); padding-bottom: 12px; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.form__grid .f-full { grid-column: 1 / -1; }
.f { padding-bottom: 12px; }
.f label, .f legend { display: block; font-weight: 700; line-height: 1.7; padding: 0; }
.f .req { color: var(--accent-ink); }
.f input, .f select, .f textarea {
  width: 100%;
  border: 1px solid var(--field-border);
  border-radius: 0;
  background: #fff;
  color: var(--field-ink);
  font-family: var(--font-body);
  font-size: 15px;
  padding: 8px;
  height: 41px;
}
.f textarea { height: 190px; resize: vertical; }
.f input:focus, .f select:focus, .f textarea:focus, .field select:focus, .field input:focus {
  outline: 2px solid var(--accent);
  outline-offset: 0;
}
.f input[readonly] { background: var(--line-soft); }
fieldset { border: 0; padding: 0; margin: 0 0 8px; min-width: 0; }
fieldset legend { padding-bottom: 6px; font-size: 18px; }
.form__status { padding: 12px 0 0; font-weight: 600; }
.form__status[data-state="error"] { color: #a4291b; }
.form__status[data-state="ok"] { color: #1f6b2e; }

/* --------------------------------------------------------------------------
   Inner page sidebar widgets
   -------------------------------------------------------------------------- */

.aside .widget { margin-bottom: 40px; }
.aside h3 { padding-bottom: 12px; }
.link-list { list-style: none; margin: 0; padding: 0; }
.link-list li { padding: 4px 0; }
.link-list a::before {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  margin-right: 10px;
  border-right: 2px solid currentColor;
  border-top: 2px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
}
.aside p { padding-bottom: 0.6em; }

/* --------------------------------------------------------------------------
   Staff
   -------------------------------------------------------------------------- */

.staff-card {
  border: 1px solid var(--line-soft);
  padding: 30px;
  max-width: 300px;
  text-align: center;
}
.staff-card img {
  width: 200px; height: 200px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 20px;
}
.staff-card h3 { padding-bottom: 6px; }
.staff-card p { padding-bottom: 0.4em; }

/* --------------------------------------------------------------------------
   Vehicle detail page
   -------------------------------------------------------------------------- */

.gallery__main img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--line-soft); }
.gallery__thumbs { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.gallery__thumbs button { border: 2px solid transparent; padding: 0; background: none; cursor: pointer; display: block; width: 100%; }
.gallery__thumbs button.is-active { border-color: var(--accent); }
.gallery__thumbs img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery__caption { font-size: 14px; color: var(--ink-soft); padding-top: 8px; }

.vdp-kicker { font-size: 18px; font-weight: 400; color: var(--on-dark-muted); line-height: 1; padding-bottom: 8px; }
.vdp-specs { list-style: none; margin: 0; padding: 0; }
.vdp-specs .spec__item { border-bottom: 1px solid var(--line-soft); }
.vdp-specs .spec__label { min-width: 150px; }
.feature-list { columns: 2; column-gap: 30px; list-style: none; padding: 0 0 1em; }
.feature-list li { padding: 3px 0; break-inside: avoid; }
.feature-list li::before { content: ""; display: inline-block; width: 6px; height: 6px; background: var(--accent); margin-right: 10px; vertical-align: middle; }
.price-box { border: 1px solid var(--line); padding: 20px 24px; margin-bottom: 20px; }
.price-box .spec { margin: 0; }
.price-box .spec__label { text-transform: none; min-width: 170px; }
.price-box .spec__item--total .spec__value { font-family: var(--font-display); font-size: 26px; }
.price-box .btn { margin-top: 10px; }
.vdp-help { font-weight: 600; padding-top: 10px; }
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; }

/* --------------------------------------------------------------------------
   Payment calculator
   -------------------------------------------------------------------------- */

.calc-table { border-collapse: collapse; width: 100%; font-family: var(--font-display); font-size: 18px; }
.calc-table th, .calc-table td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line-soft); }
.calc-table th { font-weight: 700; }
.calc-table td:last-child, .calc-table th:last-child { text-align: right; }
.calc-note { font-size: 14px; color: var(--ink-soft); }

/* --------------------------------------------------------------------------
   Misc content
   -------------------------------------------------------------------------- */

.video-frame { width: 100%; background: #000; }
.video-band { background: #000; line-height: 0; }
.video-band__inner { position: relative; max-width: 1080px; margin: 0 auto; }
.video-band__video { display: block; width: 100%; height: auto; background: #000; }
.video-band__sound {
  position: absolute; right: 24px; bottom: 24px;
  background: rgba(255, 255, 255, 0.14); color: #fff; border: 1px solid rgba(255, 255, 255, 0.4);
  font: 13px/1 var(--font-body); padding: 9px 14px; cursor: pointer; line-height: 1;
}
.video-band__sound:hover { background: var(--accent); border-color: var(--accent); }
.video-band__sound::before { content: "\25B6\FE0E"; font-size: 10px; margin-right: 8px; vertical-align: 1px; }
.video-band__sound[aria-pressed="true"]::before { content: "\25A0"; }
@media (max-width: 600px) {
  .video-band__sound {
    right: 10px; bottom: 10px; width: 32px; height: 32px; padding: 0; font-size: 0;
    border-radius: 50%; background: rgba(0, 0, 0, 0.55);
  }
  .video-band__sound::before { font-size: 11px; margin: 0; }
}
.embed-app { width: 100%; height: 1400px; background: #fff; }
.terms { border: 1px solid var(--line-soft); padding: 16px 20px; margin-top: 20px; }
.terms summary { font-weight: 700; cursor: pointer; }
.terms ul { padding-top: 10px; padding-bottom: 0; }
.terms li { padding: 4px 0; }
.sitemap-list ul { padding-top: 6px; padding-bottom: 0; }
.sitemap-list li { padding: 3px 0; }
.resource-btn { margin-bottom: 20px; }
.page-lede { font-size: 18px; }
.content-img img { width: 100%; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  background: var(--dark);
  color: #fff;
  padding: 80px 0 30px;
  text-align: center;
}
.site-footer .row { padding: 0; }
.footer-logo { width: 180px; margin: 0 auto 36px; }
.footer-nav { list-style: none; margin: 0; padding: 0 0 30px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 30px; }
.footer-nav a {
  color: #fff;
  font-family: var(--font-footnav);
  font-size: 16px;
  text-transform: uppercase;
  line-height: 1.6;
}
.site-footer hr { border-top-color: var(--on-dark-line); margin: 0 0 30px; }
.footer-hours h4 { color: var(--accent); font-size: 20px; font-weight: 600; }
.footer-hours p { font-family: var(--font-hours); font-size: 18px; line-height: 1.6; padding-bottom: 0; }
.footer-bottom { border-top: 1px solid var(--on-dark-line); margin-top: 40px; padding-top: 24px; }
.footer-bottom p { padding-bottom: 6px; }
.footer-bottom a { color: var(--on-dark-muted); }
.footer-bottom a:hover { color: #fff; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1380px) {
  .nav > ul { gap: 16px; }
  .nav > ul > li > a { font-size: 16px; }
}

@media (max-width: 1150px) {
  .site-header .row { flex-direction: column; gap: 0; padding: 15px 0 10px; }
  .logo img { height: 70px; }
  .nav-toggle { display: block; }
  .header-tools { display: flex; align-items: center; gap: 4px; margin-top: 6px; }
  .nav { width: 100%; display: none; }
  .nav.is-open { display: block; }
  .nav > ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    padding: 5%;
    margin-top: 10px;
    border-top: 3px solid var(--accent);
  }
  .nav > ul > li > a {
    color: var(--dark);
    font-size: 16px;
    line-height: 1.5;
    padding: 10px 0;
    border-bottom: 1px solid var(--line-soft);
    white-space: normal;
  }
  .nav > ul > li:last-child > a { border-bottom: 0; }
  .has-sub > a::after { float: right; margin-top: 8px; }
  .sub {
    position: static;
    display: none;
    box-shadow: none;
    border-top: 0;
    padding: 0 0 0 20px;
    min-width: 0;
  }
  .has-sub:hover > .sub, .has-sub:focus-within > .sub { display: none; }
  .has-sub.open > .sub { display: block; }
  .sub a { padding: 8px 0; border-bottom: 1px solid var(--line-soft); font-weight: 400; }
  .nav a:hover { opacity: 1; color: var(--accent-ink); }
}

@media (max-width: 980px) {
  .section { padding: 50px 0; }
  .row { padding: 30px 0; }
  .cols { flex-direction: column; gap: 30px; }
  .cols > * { width: 100% !important; }
  .sidebar { padding-right: 0; }
  .vehicle-grid { grid-template-columns: repeat(2, 1fr); }
  .card-pair { flex-direction: column; }
  .card-pair__item--info { width: 100%; }
  .map-embed { height: 400px; }
  .embed-app { height: 1200px; }
}

@media (max-width: 767px) {
  .title-xl { font-size: 34px; }
  .band h1 { font-size: 28px; }
  .band__tagline { font-size: 22px; }
  .cta-row .btn { flex: 1 1 45%; }
  .vehicle-grid { grid-template-columns: 1fr; }
  .vehicle__body { flex-direction: column; }
  .vehicle__body .btn { margin-top: 0; }
  .spec { margin-left: 0; }
  .spec__label { min-width: 110px; }
  .form__grid { grid-template-columns: 1fr; gap: 0; }
  .feature-list { columns: 1; }
  .results-bar { flex-direction: column; align-items: flex-start; }
  .results-bar select { width: 100%; }
  .footer-nav { gap: 10px 24px; }
  .card-cover h2 { font-size: 28px; }
  .hours-table { font-size: 16px; }
  .hours-table td:first-child { min-width: 110px; }
}

@media (max-width: 480px) {
  .row { width: 86%; }
  .hero { height: 300px; }
  .cta-row .btn { flex: 1 1 100%; }
  .logo img { height: 60px; }
  .gallery__thumbs { grid-template-columns: repeat(3, 1fr); }
  .price-box .spec__label { min-width: 0; flex: 1; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
