:root {
  --red: #8f1018;
  --red-dark: #650911;
  --ink: #171717;
  --muted: #66615c;
  --line: #dfdcd7;
  --soft: #f7f6f3;
  --white: #ffffff;
  --success: #126f2f;
  --warning: #9b5a00;
  --display-font: "MBCorpo Title", "Mercedes-Benz Corpo A", "Didot", "Bodoni 72", Georgia, serif;
  --body-font: "MBCorpo Text", "Mercedes-Benz Corpo S", "Helvetica Neue", Arial, sans-serif;
  --brand-font: "MBCorpo Title", "Mercedes-Benz Corpo A", "Helvetica Neue", Arial, sans-serif;
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(22px, 3vw, 40px);
  min-height: 82px;
  padding: 0 clamp(20px, 4vw, 54px);
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.brand,
.footer-brand {
  display: inline-grid;
  align-items: start;
  gap: 3px;
  color: var(--ink);
  text-decoration: none;
  line-height: 1;
}

.brand::before,
.footer-brand::before {
  display: none;
}

.brand span,
.footer-brand span {
  position: relative;
  width: max-content;
  color: var(--ink);
  font-family: var(--display-font);
  font-size: 1.14rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand span::after,
.footer-brand span::after {
  display: block;
  width: 100%;
  height: 1px;
  margin-top: 6px;
  background: var(--red);
  content: "";
  transform-origin: left center;
}

.brand strong,
.footer-brand strong {
  color: #5e5a55;
  font-family: var(--body-font);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 1.6vw, 28px);
}

.main-nav a {
  position: relative;
  color: #292724;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 650;
}

.main-nav a::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -12px;
  height: 2px;
  background: var(--red);
  content: "";
  opacity: 0;
  transform: scaleX(0.5);
  transition: opacity 160ms ease, transform 160ms ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after,
.main-nav a.active::after {
  opacity: 1;
  transform: scaleX(1);
}

.phone-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  text-transform: uppercase;
}

.phone-cta:hover,
.phone-cta:focus-visible {
  border-color: var(--ink);
  color: var(--red);
}

.nav-toggle {
  display: none;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: var(--display-font);
  font-weight: 500;
  line-height: 1.04;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(3.1rem, 6.4vw, 6.4rem);
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(2rem, 3.4vw, 3.4rem);
}

h3 {
  margin-bottom: 8px;
  font-size: 1.16rem;
  line-height: 1.25;
}

p {
  color: var(--muted);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid var(--ink);
  border-radius: 4px;
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
  transition: background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.13);
}

.button-primary {
  border-color: var(--red);
  background: var(--red);
  color: var(--white);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--red-dark);
}

.button-secondary {
  background: var(--white);
  color: var(--ink);
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(380px, 0.9fr) minmax(440px, 1.1fr);
  min-height: calc(100vh - 82px);
  border-bottom: 1px solid var(--line);
}

.home-copy {
  align-self: center;
  padding: clamp(42px, 6vw, 82px) clamp(24px, 5vw, 70px);
}

.home-copy > p {
  max-width: 620px;
  font-size: clamp(1.06rem, 1.5vw, 1.27rem);
}

.home-media {
  margin: 0;
  min-height: 520px;
  overflow: hidden;
}

.home-media img {
  width: 100%;
  height: 100%;
  min-height: calc(100vh - 82px);
  object-fit: cover;
  object-position: 56% center;
}

.search-panel {
  max-width: 710px;
  margin-top: 34px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.search-panel h2 {
  font-size: clamp(1.7rem, 2.4vw, 2.4rem);
}

.home-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 710px;
  margin-top: 16px;
}

.action-link {
  display: grid;
  gap: 6px;
  min-height: 124px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  text-decoration: none;
}

.action-link.red {
  border-color: var(--red);
}

.action-link span {
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.action-link strong {
  font-size: 1.02rem;
  line-height: 1.35;
}

.preview-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.preview-strip a {
  display: grid;
  gap: 6px;
  padding: 26px clamp(20px, 4vw, 54px);
  background: var(--white);
  color: var(--muted);
  text-decoration: none;
}

.preview-strip span {
  color: var(--ink);
  font-weight: 850;
}

.page-hero,
.page-section,
.legal-copy {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

.page-hero {
  padding: clamp(56px, 7vw, 106px) 0 clamp(34px, 5vw, 70px);
}

.page-hero p {
  max-width: 760px;
  font-size: 1.12rem;
}

.page-hero.split {
  display: grid;
  grid-template-columns: minmax(320px, 0.85fr) minmax(360px, 1.15fr);
  align-items: center;
  gap: 42px;
}

.page-hero.split img {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: var(--shadow);
}

.page-hero.legal {
  border-bottom: 1px solid var(--line);
}

.page-section {
  padding: clamp(42px, 6vw, 88px) 0;
}

.page-section.soft {
  width: 100%;
  max-width: none;
  padding: clamp(42px, 6vw, 88px) max(20px, calc((100vw - var(--max)) / 2));
  background: var(--soft);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 30px;
}

.module {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.form-grid,
.finance-form,
.vin-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 24px;
}

.form-grid.compact {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 0;
  margin-bottom: 16px;
}

label {
  display: grid;
  gap: 7px;
  color: #292929;
  font-size: 0.84rem;
  font-weight: 750;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  border: 1px solid #cfcfcf;
  border-radius: 4px;
  background: var(--white);
  color: var(--ink);
  outline: none;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(190, 0, 17, 0.12);
}

.wide {
  grid-column: 1 / -1;
}

.checkbox-line {
  grid-template-columns: 18px 1fr;
  align-items: start;
  color: var(--muted);
  font-weight: 600;
}

.checkbox-line input {
  min-height: auto;
  margin-top: 4px;
}

.form-note,
.form-intro,
.fine-print {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.form-intro {
  margin: -4px 0 18px;
}

.form-note a,
.form-success a {
  color: var(--red);
  font-weight: 850;
  text-decoration: none;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.form-success {
  margin: 0 24px 24px;
  padding: 15px 16px;
  border-left: 4px solid var(--success);
  background: #edf8f0;
  color: #0d4f1e;
  font-weight: 750;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.service-grid article {
  min-height: 170px;
  padding: 22px;
  background: var(--white);
}

.service-grid span,
.watch-list span,
.small-label {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.service-grid p,
.watch-list p {
  margin-bottom: 0;
  font-size: 0.93rem;
}

.booking-layout {
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(430px, 1.1fr);
  gap: 22px;
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

.module-heading {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: start;
  padding: 22px 24px 0;
}

.module-heading p {
  margin-bottom: 0;
  font-size: 0.92rem;
}

.scheduler {
  padding-bottom: 24px;
}

.month-controls {
  display: grid;
  grid-template-columns: 38px minmax(140px, 1fr) 38px;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
}

.icon-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.calendar-weekdays,
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  padding: 0 24px;
}

.calendar-weekdays {
  margin-top: 24px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 850;
  text-align: center;
}

.calendar-grid {
  margin-top: 8px;
}

.date-cell {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 1;
  border: 1px solid transparent;
  border-radius: 4px;
  background: transparent;
  color: var(--ink);
  font-weight: 750;
}

.date-cell.outside,
.date-cell:disabled {
  color: #b5b5b5;
  cursor: not-allowed;
}

.date-cell.available {
  border-color: var(--line);
  background: var(--white);
}

.date-cell.selected {
  border-color: var(--red);
  background: var(--red);
  color: var(--white);
}

.slot-panel {
  padding: 24px 24px 0;
}

.time-slots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.time-slot {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
  font-weight: 750;
}

.time-slot.selected {
  border-color: var(--red);
  background: var(--red);
  color: var(--white);
}

.time-slot:disabled {
  color: #aaa;
  cursor: not-allowed;
}

.vin-form {
  grid-template-columns: minmax(280px, 1fr) 170px auto;
  align-items: end;
  border-bottom: 1px solid var(--line);
}

.vin-output {
  min-height: 310px;
  padding: 24px;
}

.empty-state {
  display: grid;
  min-height: 240px;
  place-content: center;
  color: var(--muted);
  text-align: center;
}

.empty-state h2 {
  color: var(--ink);
  font-size: clamp(1.9rem, 3vw, 3rem);
}

.decode-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.9fr);
  gap: 24px;
}

.decoded-fields {
  display: grid;
  border-top: 1px solid var(--line);
}

.decoded-row {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}

.decoded-row span:first-child {
  color: var(--muted);
  font-weight: 750;
}

.status-box {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.status-box.success {
  border-color: rgba(18, 111, 47, 0.35);
  background: #f1fbf3;
}

.status-box.warning {
  border-color: rgba(155, 90, 0, 0.35);
  background: #fff8ed;
}

.status-box.error {
  border-color: rgba(190, 0, 17, 0.35);
  background: #fff2f3;
}

.recall-list {
  display: grid;
  gap: 14px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.recall-list li {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.recall-list strong {
  display: block;
  margin-bottom: 4px;
}

.finance-module {
  display: grid;
  grid-template-columns: minmax(360px, 1fr) minmax(260px, 0.7fr);
  overflow: hidden;
}

.finance-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.payment-result {
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 28px;
  background: #191919;
  color: var(--white);
}

.payment-result span {
  color: #cfcfcf;
  font-size: 0.9rem;
  font-weight: 750;
}

.payment-result strong {
  color: var(--white);
  font-family: var(--display-font);
  font-size: clamp(2.5rem, 4.5vw, 4.4rem);
  font-weight: 500;
  line-height: 0.95;
}

.payment-result p {
  margin-bottom: 0;
  color: #d5d5d5;
  font-size: 0.9rem;
}

.market-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.8fr) minmax(420px, 1.2fr);
  gap: 22px;
}

.trade-layout {
  display: grid;
  grid-template-columns: minmax(420px, 1.1fr) minmax(300px, 0.9fr);
  gap: 22px;
  align-items: start;
}

.trade-note {
  padding: 28px;
}

.feature-panel {
  padding: 28px;
}

.watch-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.watch-list article {
  min-height: 185px;
  padding: 22px;
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.contact-grid article {
  min-height: 210px;
  padding: 26px;
  background: var(--white);
}

.contact-grid h2 {
  font-size: clamp(1.7rem, 2.7vw, 2.7rem);
}

.contact-grid a,
.legal-copy a {
  color: var(--red);
  font-weight: 800;
  text-decoration: none;
}

.contact-hero {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: end;
}

.contact-hero > div {
  max-width: 720px;
}

.callout-phone {
  display: grid;
  min-width: 260px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--red);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  text-decoration: none;
}

.callout-phone span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.callout-phone strong {
  color: var(--ink);
  font-family: var(--display-font);
  font-size: 2.1rem;
  font-weight: 500;
  line-height: 1.02;
}

.callout-phone small {
  color: var(--muted);
  font-weight: 700;
}

.contact-grid-polished article {
  min-height: 250px;
}

.contact-email-card {
  display: flex;
  flex-direction: column;
}

.email-note {
  max-width: 34ch;
  margin-bottom: 18px;
  color: var(--muted);
}

.email-lines {
  display: grid;
  gap: 0;
  margin-top: auto;
  border-top: 1px solid var(--line);
}

.email-lines a {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.email-lines span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.email-lines strong {
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 760;
  min-width: 0;
  overflow-wrap: anywhere;
  text-align: left;
}

.wallet-payment-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

.wallet-payment-card {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  min-height: 92px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.wallet-payment-card:hover,
.wallet-payment-card:focus-visible {
  border-color: #bdb6ad;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.08);
  transform: translateY(-1px);
}

.wallet-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid var(--line);
  background: #fbfaf8;
}

.wallet-icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.wallet-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.wallet-copy strong {
  color: var(--ink);
  font-size: 1.04rem;
  font-weight: 850;
  line-height: 1.1;
}

.wallet-copy small {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 750;
  line-height: 1.2;
}

.wallet-open {
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.payment-acceptance-note {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  width: min(calc(100% - 40px), var(--max));
  margin: 18px auto 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.94rem;
}

.payment-acceptance-note strong {
  color: var(--ink);
  font-weight: 850;
}

.market-research-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  border: 1px solid var(--line);
  background: var(--line);
}

.market-research-grid article,
.market-research-grid a {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 210px;
  padding: 22px;
  background: var(--white);
}

.market-research-grid a,
.industry-article-card {
  color: var(--ink);
  text-decoration: none;
  transition: background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.market-research-grid a:hover,
.market-research-grid a:focus-visible,
.industry-article-card:hover,
.industry-article-card:focus-visible {
  background: #fbfaf8;
  box-shadow: inset 0 -3px 0 var(--red);
  transform: translateY(-1px);
}

.market-result-card strong,
.industry-article-card strong {
  align-self: end;
  color: var(--red);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.industry-article-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  border: 1px solid var(--line);
  background: var(--line);
}

.industry-article-card {
  display: grid;
  gap: 12px;
  min-height: 245px;
  padding: 24px;
  background: var(--white);
}

.industry-article-card span {
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.industry-article-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.source-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: center;
  width: min(calc(100% - 40px), var(--max));
  margin: 22px auto 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.source-list span {
  color: var(--ink);
  font-weight: 850;
}

.source-list a {
  color: var(--red);
  font-weight: 800;
  text-decoration: none;
}

.page-section.soft .section-heading,
.page-section.soft .fine-print {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.legal-copy {
  max-width: 880px;
  padding: 40px 0 88px;
}

.legal-copy p {
  margin-bottom: 18px;
  color: #4f4f4f;
  font-size: 1.02rem;
}

.legal-copy strong {
  color: var(--ink);
}

.site-footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 34px clamp(20px, 4vw, 54px);
  border-top: 4px solid var(--red);
  background: #171717;
  color: var(--white);
}

.footer-brand strong {
  color: #d7d7d7;
}

.footer-brand::before {
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.24));
}

.footer-brand span {
  color: var(--white);
}

.site-footer nav {
  display: flex;
  justify-content: center;
  gap: 22px;
}

.site-footer a {
  color: #e8e8e8;
  text-decoration: none;
  font-weight: 750;
}

.site-footer p {
  margin: 0;
  color: #cfcfcf;
  text-align: right;
}

@media (max-width: 1160px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .phone-cta {
    display: none;
  }

  .nav-toggle {
    display: inline-grid;
    gap: 5px;
    width: 44px;
    height: 44px;
    place-content: center;
    justify-self: end;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: var(--white);
  }

  .nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--ink);
  }

  .main-nav {
    position: fixed;
    inset: 82px 0 auto;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 12px 24px 26px;
    border-bottom: 1px solid var(--line);
    background: var(--white);
    box-shadow: var(--shadow);
  }

  body.nav-open .main-nav {
    display: flex;
  }

  .main-nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: 1rem;
  }

  .main-nav a::after {
    display: none;
  }

  .home-hero,
  .page-hero.split,
  .booking-layout,
  .market-layout,
  .trade-layout,
  .finance-module {
    grid-template-columns: 1fr;
  }

  .home-media,
  .home-media img {
    min-height: 420px;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-grid,
  .preview-strip {
    grid-template-columns: 1fr;
  }

  .market-research-grid,
  .industry-article-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wallet-payment-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  h1 {
    font-size: clamp(2.85rem, 14vw, 5.2rem);
  }

  .home-copy {
    padding: 42px 20px;
  }

  .home-actions,
  .form-grid,
  .form-grid.compact,
  .finance-form,
  .vin-form,
  .decode-grid,
  .watch-list,
  .market-research-grid,
  .industry-article-grid,
  .contact-grid,
  .wallet-payment-grid {
    grid-template-columns: 1fr;
  }

  .contact-hero {
    display: grid;
    align-items: start;
  }

  .callout-phone {
    min-width: 0;
  }

  .email-lines a {
    display: grid;
    justify-content: stretch;
    gap: 4px;
  }

  .email-lines strong {
    text-align: left;
  }

  .button {
    width: 100%;
  }

  .time-slots {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .module-heading {
    flex-direction: column;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .site-footer nav {
    justify-content: start;
  }

  .site-footer p {
    text-align: left;
  }
}

@media (max-width: 520px) {
  .brand span,
  .footer-brand span {
    font-size: 0.82rem;
  }

  .brand strong,
  .footer-brand strong {
    font-size: 0.52rem;
  }

  .brand,
  .footer-brand {
    gap: 8px;
  }

  .brand::before,
  .footer-brand::before {
    width: 40px;
    height: 26px;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .calendar-weekdays,
  .calendar-grid {
    gap: 4px;
    padding-inline: 16px;
  }

  .slot-panel,
  .form-grid,
  .vin-form,
  .vin-output,
  .finance-form {
    padding-inline: 16px;
  }

  .decoded-row {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
