:root {
  --red: #d70a17;
  --red-dark: #af0610;
  --ink: #0b0c0f;
  --ink-soft: #292c31;
  --muted: #6f747d;
  --line: #e5e7ea;
  --surface: #eef0f2;
  --white: #ffffff;
  --shadow-sm: 0 10px 30px rgba(16, 18, 23, 0.07);
  --shadow-lg: 0 20px 50px rgba(11, 12, 15, 0.12);
  --font-site-sans: "Manrope";
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  margin: 0;
  max-width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
  background: #eef0f2;
  color: var(--ink);
  font-family: var(--font-site-sans), Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

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

[hidden] { display: none !important; }

.privacy-check { display: flex !important; grid-template-columns: none !important; flex-direction: row; align-items: flex-start; gap: 10px !important; margin-top: 16px; }
.privacy-check input { width: 18px !important; height: 18px; margin: 2px 0 0; flex: 0 0 auto; }
.privacy-check span { font-size: .7rem; line-height: 1.5; font-weight: 600; color: var(--muted); }
.privacy-check a { color: var(--red); text-decoration: underline; }

.subpage-hero {
  min-height: calc(100vh - 82px);
  display: grid;
  align-items: center;
  padding: 90px 0;
  background: linear-gradient(180deg, #f3f4f5 0%, var(--surface) 100%);
}

.subpage-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 80px;
  align-items: center;
}

.subpage-hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.8rem, 5.4vw, 5.2rem);
  line-height: 1;
  letter-spacing: -0.06em;
}

.subpage-intro {
  max-width: 680px;
  margin: 28px 0 34px;
  color: var(--ink-soft);
  font-size: 1.1rem;
  line-height: 1.75;
}

.subpage-card {
  border-top: 3px solid var(--red);
  border-radius: 5px;
  padding: 42px;
  background: var(--white);
  box-shadow: var(--shadow-lg);
}

.subpage-card > span {
  color: var(--red);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.subpage-card h2 { margin: 10px 0 24px; font-size: 1.65rem; }
.subpage-card ul { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.subpage-card li { display: flex; gap: 11px; align-items: center; color: var(--ink-soft); }
.subpage-card i { display: grid; width: 25px; height: 25px; place-items: center; border-radius: 4px; background: #eceef0; color: var(--ink); font-style: normal; font-weight: 800; }
.subpage-contact { padding: 32px 0; background: var(--ink); color: white; }
.subpage-contact-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.subpage-contact-inner div { display: flex; flex-direction: column; gap: 4px; }
.subpage-contact-inner span { color: #b9bdc5; }
.subpage-contact-inner a { color: white; font-size: 1.45rem; font-weight: 800; }

@media (max-width: 820px) {
  .subpage-hero { min-height: auto; padding: 58px 0 70px; }
  .subpage-grid { grid-template-columns: 1fr; gap: 40px; }
  .subpage-card { padding: 30px 24px; }
  .subpage-contact-inner { align-items: flex-start; flex-direction: column; }
}

.site-shell {
  width: min(1180px, calc(100% - 48px));
  min-width: 0;
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(16, 18, 23, 0.08);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 5px;
  background: var(--ink);
  box-shadow: inset 0 -3px 0 var(--red);
  color: white;
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: -0.08em;
}

.brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-name strong {
  font-size: 1.02rem;
  letter-spacing: -0.02em;
}

.brand-name small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home-return {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 8px;
  margin-left: 28px;
  border-left: 1px solid var(--line);
  color: var(--muted);
  padding-left: 24px;
  font-size: 0.72rem;
  font-weight: 720;
  transition: color 160ms ease;
}

.home-return:hover { color: var(--red); }
.mobile-home-return { display: none; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.91rem;
  font-weight: 620;
}

.main-nav > a:not(.nav-cta) {
  position: relative;
  padding-block: 9px;
}

.main-nav > a:not(.nav-cta)::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 2px;
  background: var(--red);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.main-nav > a:not(.nav-cta):hover::after,
.main-nav > a:not(.nav-cta):focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  border-radius: 5px;
  background: var(--red);
  color: white;
  padding: 12px 18px;
  transition: background 180ms ease, transform 180ms ease;
}

.nav-cta:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
}

.menu-button {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 0;
  border-radius: 5px;
  background: var(--surface);
  cursor: pointer;
  transition: background 220ms ease;
}

.menu-button span {
  width: 19px;
  height: 2px;
  border-radius: 999px;
  background: var(--ink);
  transform-origin: center;
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1), opacity 180ms ease;
}

.menu-backdrop {
  display: none;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 78px 0 84px;
  background: linear-gradient(180deg, #f5f6f7 0%, #e9ecef 100%);
}

.hero::after {
  display: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 68px;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 19px;
  color: var(--red);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 28px;
  height: 2px;
  background: currentColor;
}

.hero h1 {
  max-width: 600px;
  margin: 0;
  font-size: clamp(3.1rem, 5.3vw, 5.35rem);
  font-weight: 760;
  letter-spacing: -0.065em;
  line-height: 0.98;
}

.hero h1 em {
  display: block;
  color: var(--ink);
  font-style: normal;
}

.hero-text {
  max-width: 570px;
  margin: 28px 0 0;
  color: var(--ink-soft);
  font-size: 1.08rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 20px;
  border: 0;
  border-radius: 5px;
  padding: 0 22px;
  cursor: pointer;
  font-weight: 720;
  line-height: 1.25;
  text-align: center;
  transition: box-shadow 180ms ease, transform 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--red);
  box-shadow: 0 10px 24px rgba(215, 10, 23, 0.18);
  color: white;
}

.button-primary:hover {
  background: var(--red-dark);
  box-shadow: 0 12px 26px rgba(175, 6, 16, 0.22);
}

.button-secondary {
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
}

.hero-promises {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 0.81rem;
  font-weight: 580;
}

.hero-promises span {
  display: flex;
  align-items: center;
  gap: 7px;
}

.hero-promises i {
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border-radius: 4px;
  background: #e9ebed;
  color: var(--ink);
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 900;
}

.hero-visual {
  position: relative;
  z-index: 2;
  padding: 15px 15px 28px 0;
}

.hero-photo-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.31 / 1;
  border-radius: 5px;
  background: #e7e8ea;
  box-shadow: var(--shadow-lg);
}

.hero-photo-wrap::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(16, 18, 23, 0.18));
  content: "";
}

.hero-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-card {
  position: absolute;
  right: -18px;
  bottom: 0;
  display: flex;
  min-width: 252px;
  flex-direction: column;
  border-top: 3px solid var(--red);
  border-radius: 6px;
  background: white;
  box-shadow: var(--shadow-lg);
  padding: 18px 22px;
}

.hero-card-kicker {
  color: var(--muted);
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-card strong {
  margin-top: 5px;
  font-size: 1.03rem;
}

.hero-card a {
  margin-top: 11px;
  color: var(--red);
  font-size: 0.76rem;
  font-weight: 720;
}

.hero-dot-pattern {
  display: none;
}

.trust-strip {
  border-top: 3px solid var(--red);
  border-bottom: 1px solid #24272d;
  background: var(--ink);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-grid > div {
  position: relative;
  display: flex;
  min-height: 105px;
  flex-direction: column;
  justify-content: center;
  padding: 0 28px;
}

.trust-grid > div:first-child {
  padding-left: 0;
}

.trust-grid > div:not(:last-child)::after {
  position: absolute;
  top: 27px;
  right: 0;
  bottom: 27px;
  width: 1px;
  background: rgba(255, 255, 255, 0.14);
  content: "";
}

.trust-grid strong {
  color: white;
  font-size: 0.94rem;
  font-weight: 780;
}

.trust-grid span {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.76rem;
}

.homepage-promotion {
  position: relative;
  overflow: hidden;
  color: white;
}

.homepage-promotion-red {
  background: var(--red);
}

.homepage-promotion-dark {
  background: var(--ink);
}

.homepage-promotion::after {
  position: absolute;
  top: -82px;
  right: 7%;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  content: "";
}

.promotion-inner {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 154px;
  grid-template-columns: 0.75fr 1.65fr auto;
  gap: 34px;
  align-items: center;
  padding-block: 28px;
}

.promotion-label {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3px 10px;
  align-items: center;
}

.promotion-label > span {
  grid-row: 1 / 3;
  color: white;
  font-size: 0.72rem;
}

.promotion-label strong {
  font-size: 0.72rem;
  font-weight: 820;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.promotion-label small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.68rem;
}

.promotion-copy h2 {
  margin: 0;
  font-size: clamp(1.45rem, 2.3vw, 2.15rem);
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.promotion-copy p {
  max-width: 650px;
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.82rem;
  line-height: 1.55;
}

.promotion-link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 28px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 5px;
  background: white;
  color: var(--ink);
  padding: 0 18px;
  font-size: 0.78rem;
  font-weight: 780;
  white-space: nowrap;
  transition: transform 180ms ease, background 180ms ease;
}

.promotion-link:hover {
  background: #f2f2f3;
  transform: translateY(-2px);
}

.section-pad {
  padding: 105px 0;
}

.inventory {
  background: #e7eaed;
}

.section-heading h2,
.appointment-copy h2 {
  margin: 0;
  font-size: clamp(2.15rem, 3.7vw, 3.65rem);
  line-height: 1.06;
  letter-spacing: -0.052em;
}

.split-heading {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 70px;
  align-items: end;
}

.split-heading > p {
  margin: 0 0 4px;
  color: var(--muted);
  line-height: 1.75;
}

.inventory-heading-side {
  display: grid;
  gap: 20px;
}

.inventory-heading-side > p {
  margin: 0 0 4px;
  color: var(--muted);
  line-height: 1.75;
}

.vehicle-rail-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.vehicle-rail-controls > span {
  margin-right: 4px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
}

.vehicle-rail-controls button {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid #d6d9dd;
  border-radius: 5px;
  background: white;
  color: var(--ink);
  cursor: pointer;
  font-weight: 820;
  transition: border 160ms ease, background 160ms ease, color 160ms ease;
}

.vehicle-rail-controls button:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: white;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 40px 0 26px;
}

.filter-chip {
  min-height: 42px;
  border: 1px solid #dcdfe3;
  border-radius: 999px;
  background: white;
  color: var(--ink-soft);
  padding: 0 17px;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 650;
  transition: border 150ms ease, background 150ms ease, color 150ms ease;
}

.filter-chip:hover,
.filter-chip.active {
  border-color: var(--ink);
  background: var(--ink);
  color: white;
}

.home-filter { margin: 40px 0 26px; border: 1px solid #d9dce0; border-top: 3px solid var(--ink); border-radius: 5px; background: white; padding: 21px; }
.home-filter-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.home-filter-head > div { display: flex; align-items: baseline; gap: 12px; }
.home-filter-head strong { font-size: .92rem; }
.home-filter-head span { color: var(--muted); font-size: .7rem; }
.home-filter-head button { border: 0; border-bottom: 1px solid #b9bdc3; background: transparent; color: var(--muted); padding: 3px 0; cursor: pointer; font-size: .68rem; font-weight: 700; }
.home-filter-head button:hover { border-color: var(--red); color: var(--red); }
.home-filter-fields { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.home-filter-fields label,.catalog-price-range label { display: grid; gap: 7px; min-width: 0; }
.home-filter-fields label > span,.catalog-price-range label > span { color: var(--muted); font-size: .61rem; font-weight: 780; letter-spacing: .07em; text-transform: uppercase; }
.home-filter-fields select,.home-filter-fields input,.price-input input { width: 100%; min-width: 0; min-height: 46px; border: 1px solid #d7dade; border-radius: 4px; outline: 0; background: #fafafa; color: var(--ink); padding: 0 12px; font-size: .76rem; }
.home-filter-fields select { padding-right: 32px; }
.home-filter-fields select:focus,.home-filter-fields input:focus,.price-input input:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(215,10,23,.08); }
.price-input { position: relative; min-width: 0; }
.price-input input { padding-right: 34px; appearance: textfield; }
.price-input input::-webkit-outer-spin-button,.price-input input::-webkit-inner-spin-button { margin: 0; appearance: none; }
.price-input b { position: absolute; top: 50%; right: 12px; color: var(--muted); font-size: .73rem; transform: translateY(-50%); pointer-events: none; }

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

.vehicle-grid.vehicle-rail {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  display: grid;
  grid-auto-columns: 430px;
  grid-auto-flow: column;
  grid-template-columns: none;
  gap: 16px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  padding: 4px 2px 25px;
  scroll-padding-inline: 2px;
  scroll-snap-type: x mandatory;
  scrollbar-color: #aeb2b8 transparent;
  scrollbar-width: thin;
  touch-action: pan-x pan-y;
}

.vehicle-rail .vehicle-card {
  scroll-snap-align: start;
}

.vehicle-rail::-webkit-scrollbar {
  height: 5px;
}

.vehicle-rail::-webkit-scrollbar-track {
  background: #e2e4e7;
}

.vehicle-rail::-webkit-scrollbar-thumb {
  background: #aeb2b8;
  border-radius: 999px;
}

.vehicle-card {
  position: relative;
  display: flex;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid #e4e6e9;
  border-radius: 5px;
  background: white;
  box-shadow: 0 2px 0 rgba(16, 18, 23, 0.02);
  cursor: pointer;
  transition: box-shadow 220ms ease, transform 220ms ease;
}

.vehicle-card:hover {
  box-shadow: var(--shadow-sm);
  transform: translateY(-5px);
}

.vehicle-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #e9eaeb;
}

.vehicle-image::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 48%;
  background: linear-gradient(transparent, rgba(16, 18, 23, 0.1));
  content: "";
  pointer-events: none;
}

.vehicle-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 450ms ease;
}

.vehicle-image .vehicle-cropped-image {
  display: block;
}

.vehicle-custom-label {
  position: absolute;
  z-index: 3;
  top: 12px;
  left: 12px;
  display: inline-flex;
  max-width: calc(100% - 66px);
  min-height: 29px;
  align-items: center;
  border-radius: 3px;
  background: var(--red);
  box-shadow: 0 6px 16px rgba(16, 18, 23, 0.16);
  color: white;
  padding: 6px 10px;
  font-size: 0.6rem;
  font-weight: 820;
  letter-spacing: 0.055em;
  line-height: 1.2;
  pointer-events: none;
  text-transform: uppercase;
}

.vehicle-photo-button {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.vehicle-card:hover .vehicle-image img {
  transform: scale(1.025);
}

.favorite {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  cursor: pointer;
  font-size: 1.15rem;
}

.favorite.is-favorite {
  background: var(--red);
  color: white;
}

.vehicle-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 21px 21px 18px;
}

.vehicle-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.vehicle-title-row h3 {
  margin: 0;
  overflow-wrap: anywhere;
  font-size: 1.06rem;
  letter-spacing: -0.02em;
}

.vehicle-title-row p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.4;
}

.vehicle-title-row > strong {
  flex: 0 0 auto;
  color: var(--ink);
  font-size: 0.98rem;
}

.vehicle-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 12px;
  margin: 18px 0;
}

.vehicle-facts div {
  min-width: 0;
}

.vehicle-facts dt {
  color: #999da4;
  font-size: 0.61rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.vehicle-facts dd {
  min-height: 2em;
  overflow-wrap: anywhere;
  margin: 4px 0 0;
  font-size: 0.74rem;
  font-weight: 650;
  line-height: 1.35;
}

.vehicle-link {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  border: 0;
  border-top: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  padding-top: 16px;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 760;
  margin-top: auto;
  text-align: left;
}

.vehicle-link::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
}

.vehicle-card:focus-within {
  outline: 3px solid rgba(215, 10, 23, 0.28);
  outline-offset: 3px;
}

.vehicle-link span {
  color: var(--red);
  font-size: 1.1rem;
}

.empty-state {
  border: 1px dashed #cfd2d7;
  border-radius: 5px;
  background: white;
  padding: 58px 24px;
  text-align: center;
}

.empty-state strong {
  font-size: 1.15rem;
}

.empty-state p {
  color: var(--muted);
}

.empty-state button {
  border: 0;
  border-bottom: 1px solid var(--red);
  background: transparent;
  color: var(--red);
  cursor: pointer;
  padding: 4px 0;
  font-weight: 700;
}

.inventory-note,
.inventory-actions-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 25px;
  color: var(--muted);
  font-size: 0.75rem;
}

.inventory-note a,
.inventory-request-link {
  color: var(--ink);
  font-weight: 750;
}

.inventory-actions-bottom > div { display: flex; align-items: center; gap: 22px; }
.inventory-actions-bottom .button { min-height: 44px; padding: 0 18px; }

.services {
  background: #f4f5f6;
}

.services-heading {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 70px;
  align-items: end;
}

.services-heading > p {
  max-width: 500px;
  margin: 0 0 5px;
  color: var(--muted);
  line-height: 1.75;
}

.service-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(360px, 0.82fr);
  margin-top: 48px;
  overflow: hidden;
  border-radius: 5px;
}

.service-lead,
.service-editorial {
  scroll-margin-top: 112px;
}

.service-lead {
  display: flex;
  min-height: 520px;
  flex-direction: column;
  justify-content: space-between;
  background: var(--ink);
  color: white;
  padding: 48px;
}

.service-kicker {
  color: var(--red);
  font-size: 0.67rem;
  font-weight: 820;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.service-lead h3 {
  max-width: 560px;
  margin: 0 0 20px;
  font-size: clamp(2.4rem, 4vw, 4.2rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.service-lead p {
  max-width: 520px;
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.75;
}

.service-lead > a,
.service-editorial > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding-top: 18px;
  font-size: 0.77rem;
  font-weight: 760;
}

.service-lead > a span,
.service-editorial > a span {
  color: var(--red);
  font-size: 1.1rem;
}

.service-side {
  display: grid;
  grid-template-rows: 1fr 1fr;
  border: 1px solid var(--line);
  border-left: 0;
  background: white;
}

.service-editorial {
  display: flex;
  min-height: 260px;
  flex-direction: column;
  padding: 36px 38px 30px;
}

.service-editorial:first-child {
  border-bottom: 1px solid var(--line);
}

.service-editorial h3 {
  max-width: 360px;
  margin: 26px 0 12px;
  font-size: 1.58rem;
  line-height: 1.08;
  letter-spacing: -0.042em;
}

.service-editorial p {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.7;
}

.service-editorial > a {
  margin-top: auto;
  border-color: var(--line);
}

.service-editorial-accent {
  background: #f7eaec;
}

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

.service-shortcuts > a {
  position: relative;
  display: grid;
  min-height: 132px;
  align-content: center;
  padding: 22px 52px 22px 0;
}

.service-shortcuts > a:not(:first-child) {
  padding-left: 30px;
}

.service-shortcuts > a:not(:last-child) {
  border-right: 1px solid var(--line);
}

.service-shortcuts span {
  color: var(--red);
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.service-shortcuts strong {
  max-width: 250px;
  margin-top: 8px;
  font-size: 0.85rem;
  line-height: 1.4;
}

.service-shortcuts b {
  position: absolute;
  top: 50%;
  right: 22px;
  color: var(--red);
  font-size: 1.1rem;
  transform: translateY(-50%);
  transition: transform 180ms ease;
}

.service-shortcuts a:hover b {
  transform: translate(4px, -50%);
}

.appointment-preview {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: white;
  padding: 104px 0;
}

.appointment-preview::before {
  display: none;
}

.appointment-grid {
  position: relative;
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 90px;
  align-items: center;
}

.eyebrow-light {
  color: #ff5260;
}

.appointment-copy > p:not(.eyebrow) {
  max-width: 500px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.66);
  line-height: 1.75;
}

.appointment-contact {
  display: flex;
  flex-direction: column;
  margin-top: 38px;
}

.appointment-contact span {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.72rem;
  font-weight: 680;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.appointment-contact a {
  margin-top: 7px;
  font-size: 1.5rem;
  font-weight: 750;
}

.appointment-card {
  min-height: 526px;
  border-radius: 5px;
  background: white;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.3);
  color: var(--ink);
  padding: 38px;
}

.appointment-card form {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.form-heading {
  margin-bottom: 22px;
}

.form-heading span {
  color: var(--red);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.form-heading h3 {
  margin: 6px 0 0;
  font-size: 1.65rem;
  letter-spacing: -0.035em;
}

.form-heading p {
  max-width: 520px;
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 0.73rem;
  line-height: 1.55;
}

.appointment-card label {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 7px;
  color: #5d626a;
  font-size: 0.69rem;
  font-weight: 720;
}

.vehicle-choice {
  margin-top: 15px;
}

.request-fields {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 15px;
}

.request-fields .form-row {
  margin-top: 0;
}

.standalone-field {
  margin-top: 15px;
}

.appointment-card input,
.appointment-card select {
  width: 100%;
  min-width: 0;
  height: 48px;
  border: 1px solid #dde0e4;
  border-radius: 4px;
  outline: none;
  background: #fafafa;
  color: var(--ink);
  padding: 0 13px;
  font-size: 0.81rem;
}

.appointment-card input:focus,
.appointment-card select:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(215, 10, 23, 0.08);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 15px;
}

.form-submit {
  width: 100%;
  margin-top: 21px;
}

.appointment-card form > small {
  margin-top: 12px;
  color: #92969d;
  font-size: 0.65rem;
  text-align: center;
}

.success-state {
  display: flex;
  min-height: 450px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}

.success-state > span {
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  border-radius: 50%;
  background: #eaf7ee;
  color: #1f8245;
  font-size: 1.45rem;
  font-weight: 900;
}

.success-state h3 {
  margin: 22px 0 8px;
  font-size: 1.7rem;
}

.success-state p {
  max-width: 390px;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.success-state button {
  margin-top: 26px;
  border: 0;
  border-bottom: 1px solid var(--red);
  background: transparent;
  color: var(--red);
  cursor: pointer;
  padding: 5px 0;
  font-weight: 750;
}

.site-footer {
  background: #08090c;
  color: white;
  padding: 72px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 0.8fr;
  gap: 72px;
}

.brand-footer .brand-name small {
  color: rgba(255, 255, 255, 0.45);
}

.footer-grid > div:first-child > p {
  max-width: 340px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.48);
  line-height: 1.65;
}

.footer-grid h3 {
  margin: 0 0 17px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.67rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-grid > div:not(:first-child) {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-grid > div:not(:first-child) a,
.footer-grid > div:not(:first-child) span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.79rem;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 58px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.68rem;
}

.footer-bottom div {
  display: flex;
  gap: 19px;
}

.vehicle-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background: rgba(8, 9, 12, 0.78);
  backdrop-filter: blur(7px);
  padding: 24px;
}

.vehicle-modal {
  display: flex;
  width: min(1360px, 100%);
  height: min(94dvh, 960px);
  overflow: hidden;
  flex-direction: column;
  border-radius: 5px;
  background: white;
  box-shadow: 0 38px 100px rgba(0, 0, 0, 0.42);
}

.vehicle-modal-toolbar {
  position: relative;
  z-index: 3;
  display: grid;
  min-height: 64px;
  flex: 0 0 auto;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: white;
  padding: 0 22px;
}

.modal-back,
.modal-close {
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.modal-back {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  font-size: 0.8rem;
  font-weight: 740;
}

.modal-back span {
  color: var(--red);
  font-size: 1.05rem;
}

.modal-stock {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 720;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.modal-close {
  display: grid;
  width: 39px;
  height: 39px;
  justify-self: end;
  place-items: center;
  border-radius: 50%;
  background: var(--surface);
  font-size: 1.55rem;
  font-weight: 350;
  line-height: 1;
}

.modal-close:hover {
  background: #eceef0;
}

.vehicle-modal-scroll {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.vehicle-detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(360px, 0.65fr);
  border-bottom: 1px solid var(--line);
}

.vehicle-gallery {
  min-width: 0;
  background: #eff0f2;
  padding: 28px;
}

.gallery-stage {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: 4px;
  background: #dfe1e4;
}

.gallery-stage > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-counter {
  position: absolute;
  right: 15px;
  bottom: 15px;
  border-radius: 999px;
  background: rgba(8, 9, 12, 0.78);
  color: white;
  padding: 7px 11px;
  font-size: 0.68rem;
  font-weight: 720;
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 22px rgba(16, 18, 23, 0.18);
  color: var(--ink);
  cursor: pointer;
  font-size: 1.85rem;
  line-height: 1;
  transform: translateY(-50%);
}

.gallery-arrow-left {
  left: 15px;
}

.gallery-arrow-right {
  right: 15px;
}

.gallery-thumbnails {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.gallery-thumb {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 2px solid transparent;
  border-radius: 4px;
  background: #dfe1e4;
  padding: 0;
  cursor: pointer;
  opacity: 0.62;
  transition: border-color 160ms ease, opacity 160ms ease;
}

.gallery-thumb:hover,
.gallery-thumb.active {
  border-color: var(--red);
  opacity: 1;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vehicle-detail-summary {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 38px 40px;
}

.detail-actions-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.detail-favorite {
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 6px 0;
  cursor: pointer;
  font-size: 0.7rem;
  font-weight: 700;
}

.detail-favorite.active {
  color: var(--red);
}

.detail-brand {
  margin: 37px 0 8px;
  color: var(--red);
  font-size: 0.68rem;
  font-weight: 820;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.vehicle-detail-summary h2 {
  margin: 0;
  font-size: clamp(2rem, 3.2vw, 3.25rem);
  letter-spacing: -0.055em;
  line-height: 1.02;
}

.detail-trim {
  margin: 11px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.detail-price {
  margin-top: 30px;
  color: var(--ink);
  font-size: 2rem;
  letter-spacing: -0.04em;
}

.detail-tax-note {
  margin-top: 4px;
  color: #989ca3;
  font-size: 0.65rem;
}

.detail-key-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 29px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.detail-key-facts div {
  padding: 14px 0;
}

.detail-key-facts div:nth-child(odd) {
  border-right: 1px solid var(--line);
  padding-right: 14px;
}

.detail-key-facts div:nth-child(even) {
  padding-left: 14px;
}

.detail-key-facts div:nth-child(-n + 2) {
  border-bottom: 1px solid var(--line);
}

.detail-key-facts dt {
  color: #999da4;
  font-size: 0.6rem;
  font-weight: 670;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.detail-key-facts dd {
  margin: 5px 0 0;
  font-size: 0.78rem;
  font-weight: 740;
}

.detail-primary-action {
  width: 100%;
}

.detail-phone {
  margin-top: 15px;
  color: var(--muted);
  font-size: 0.69rem;
  text-align: center;
}

.detail-phone strong {
  color: var(--ink);
}

.vehicle-detail-body {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 54px;
  padding: 56px 64px 68px;
}

.detail-main-column {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 54px;
}

.detail-section-kicker {
  margin: 0 0 9px;
  color: var(--red);
  font-size: 0.66rem;
  font-weight: 820;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.detail-section h3,
.detail-spec-card h3 {
  margin: 0;
  font-size: 1.55rem;
  letter-spacing: -0.035em;
}

.detail-description {
  max-width: 750px;
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.8;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px 24px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--line);
  padding: 0 0 11px;
  color: var(--ink-soft);
  font-size: 0.8rem;
  font-weight: 600;
}

.feature-list span {
  display: grid;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 4px;
  background: #e9ebed;
  color: var(--ink);
  font-size: 0.62rem;
  font-weight: 900;
}

.detail-spec-card {
  align-self: start;
  border: 1px solid var(--line);
  border-top: 4px solid var(--red);
  border-radius: 5px;
  background: var(--surface);
  padding: 28px;
}

.detail-spec-card dl {
  margin: 23px 0 0;
}

.detail-spec-card dl > div {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
  border-top: 1px solid #dfe1e4;
  padding: 12px 0;
}

.detail-spec-card dt {
  color: var(--muted);
  font-size: 0.72rem;
}

.detail-spec-card dd {
  margin: 0;
  font-size: 0.74rem;
  font-weight: 720;
  text-align: right;
}

.detail-spec-card small {
  display: block;
  margin-top: 14px;
  color: #969aa1;
  font-size: 0.62rem;
  line-height: 1.55;
}

:focus-visible {
  outline: 3px solid rgba(215, 10, 23, 0.35);
  outline-offset: 3px;
}

@media (max-width: 1020px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .hero h1 {
    font-size: clamp(2.9rem, 5.3vw, 4.4rem);
  }

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

  .trust-grid > div:nth-child(2)::after {
    display: none;
  }

  .trust-grid > div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .trust-grid > div:first-child,
  .trust-grid > div:nth-child(3) {
    padding-left: 0;
  }

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

  .vehicle-grid.vehicle-rail {
    grid-auto-columns: 410px;
    grid-template-columns: none;
  }

  .featured-vehicle-grid .vehicle-card:last-child {
    width: calc(50% - 10px);
    justify-self: center;
  }

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

  .vehicle-card:last-child {
    grid-column: 1 / -1;
    max-width: calc(50% - 10px);
  }

  .vehicle-rail .vehicle-card:last-child {
    grid-column: auto;
    max-width: none;
  }

  .promotion-inner {
    grid-template-columns: 0.72fr 1.4fr auto;
    gap: 24px;
  }

  .appointment-grid {
    gap: 48px;
  }

  .vehicle-detail-hero {
    grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  }

  .vehicle-gallery {
    padding: 20px;
  }

  .vehicle-detail-summary {
    padding: 30px 28px;
  }

  .vehicle-detail-body {
    gap: 34px;
    padding: 46px 38px 56px;
  }

  .service-showcase {
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  }

  .service-lead {
    padding: 40px;
  }
}

@media (max-width: 820px) {
  .site-header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: none;
  }

  .site-shell {
    width: min(100% - 34px, 680px);
  }

  .header-inner {
    position: relative;
    justify-content: center;
    min-height: 72px;
  }

  .header-inner > .brand {
    justify-content: center;
  }

  .header-inner > .brand .brand-name small {
    display: none;
  }

  .home-return { display: none; }
  .mobile-home-return { display: block; color: var(--red); font-weight: 780; }

  .menu-button {
    position: absolute;
    right: 0;
    display: flex;
    z-index: 72;
  }

  .menu-backdrop {
    display: block;
  }

  .main-nav {
    display: flex;
  }

  .menu-button.is-open {
    background: #f4e7e8;
  }

  .menu-button.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-button.is-open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }

  .menu-button.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .menu-backdrop {
    position: fixed;
    inset: 0;
    z-index: 58;
    display: block;
    border: 0;
    background: rgba(16, 18, 23, 0.46);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: opacity 300ms ease, visibility 0s linear 300ms;
  }

  .menu-backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    transition-delay: 0s;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    display: flex;
    width: min(86vw, 370px);
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    border-left: 1px solid var(--line);
    background: white;
    box-shadow: var(--shadow-lg);
    padding: 104px 24px 32px;
    opacity: 0;
    overflow-y: auto;
    pointer-events: none;
    transform: translateX(calc(100% + 24px));
    visibility: hidden;
    transition:
      transform 380ms cubic-bezier(0.22, 1, 0.36, 1),
      opacity 260ms ease,
      visibility 0s linear 380ms;
  }

  .main-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
    visibility: visible;
    transition-delay: 0s;
  }

  .main-nav > a {
    border-bottom: 1px solid var(--line);
    padding: 18px 4px !important;
    font-size: 1.04rem;
    opacity: 0;
    transform: translateX(18px);
    transition: opacity 220ms ease, transform 300ms cubic-bezier(0.22, 1, 0.36, 1);
  }

  .main-nav.is-open > a {
    opacity: 1;
    transform: translateX(0);
  }

  .main-nav.is-open > a:nth-child(1) {
    transition-delay: 100ms;
  }

  .main-nav.is-open > a:nth-child(2) {
    transition-delay: 145ms;
  }

  .main-nav.is-open > a:nth-child(3) {
    transition-delay: 190ms;
  }

  .main-nav.is-open > a:nth-child(4) {
    transition-delay: 235ms;
  }

  .main-nav.is-open > a:nth-child(5) {
    transition-delay: 280ms;
  }

  .main-nav > a:not(.nav-cta)::after {
    display: none;
  }

  .nav-cta {
    margin-top: 22px;
    border-bottom: 0 !important;
    text-align: center;
  }

  .hero {
    padding: 58px 0 70px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .hero-copy {
    max-width: 630px;
  }

  .hero h1 {
    font-size: clamp(3.15rem, 10vw, 5rem);
  }

  .hero-visual {
    width: 95%;
    margin-left: auto;
  }

  .split-heading,
  .services-heading,
  .appointment-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .promotion-inner {
    grid-template-columns: 1fr auto;
  }

  .promotion-label {
    grid-column: 1 / -1;
  }

  .split-heading > p {
    max-width: 600px;
  }

  .appointment-copy {
    max-width: 620px;
  }

  .appointment-card {
    max-width: 620px;
  }

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

  .service-lead {
    min-height: 440px;
  }

  .service-side {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: 1fr;
    border-top: 0;
    border-left: 1px solid var(--line);
  }

  .service-editorial:first-child {
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }

  .footer-grid {
    grid-template-columns: 1.3fr 1fr;
    gap: 46px;
  }

  .footer-grid > div:last-child {
    grid-column: 1 / -1;
  }

  .vehicle-modal-backdrop {
    padding: 0;
  }

  .vehicle-modal {
    width: 100%;
    height: 100dvh;
    border-radius: 0;
  }

  .vehicle-modal-toolbar {
    position: sticky;
    top: 0;
  }

  .vehicle-detail-hero,
  .vehicle-detail-body {
    grid-template-columns: 1fr;
  }

  .vehicle-gallery {
    padding: 24px;
  }

  .vehicle-detail-summary {
    padding: 38px 34px 42px;
  }

  .vehicle-detail-summary h2 {
    font-size: 2.75rem;
  }

  .detail-brand {
    margin-top: 30px;
  }

  .vehicle-detail-body {
    padding: 46px 34px 60px;
  }

  .featured-vehicle-grid {
    grid-template-columns: 1fr;
  }

  .vehicle-grid.vehicle-rail {
    grid-auto-columns: calc(100% - 28px);
    grid-template-columns: none;
  }

  .featured-vehicle-grid .vehicle-card:last-child {
    width: 100%;
    max-width: none;
    grid-column: auto;
  }
}

@media (max-width: 600px) {
  .site-shell {
    width: calc(100% - 32px);
  }

  .header-inner { min-height: 66px; }
  .brand { min-width: 0; gap: 10px; }
  .brand-name { min-width: 0; }

  .notice-inner {
    justify-content: center;
    min-height: 30px;
    font-size: 0.65rem;
  }

  .notice-inner span {
    display: none;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    font-size: 1.2rem;
  }

  .brand-name strong {
    font-size: 0.92rem;
  }

  .brand-name small {
    font-size: 0.55rem;
    letter-spacing: 0.08em;
  }

  .hero {
    padding: 40px 0 58px;
  }

  .hero-grid { gap: 32px; }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(2.3rem, 11.2vw, 3.3rem);
    letter-spacing: -0.055em;
    line-height: 1.02;
  }

  .hero-text {
    margin-top: 21px;
    font-size: 0.98rem;
    line-height: 1.65;
  }

  .hero-actions {
    gap: 10px;
    margin-top: 27px;
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-visual {
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .hero-photo-wrap {
    aspect-ratio: 1.18 / 1;
    border-radius: 5px;
  }

  .hero-card {
    position: relative;
    right: auto;
    bottom: auto;
    width: calc(100% - 20px);
    min-width: 0;
    margin: -20px 0 0 20px;
    padding: 17px 18px;
  }

  .hero-promises { gap: 10px 18px; margin-top: 22px; }

  .trust-grid {
    grid-template-columns: 1fr;
    padding-block: 10px;
  }

  .trust-grid > div {
    min-height: 80px;
    border-bottom: 1px solid var(--line) !important;
    padding: 0 !important;
  }

  .trust-grid > div:last-child {
    border-bottom: 0 !important;
  }

  .trust-grid > div::after {
    display: none;
  }

  .homepage-promotion::after {
    top: -110px;
    right: -90px;
  }

  .promotion-inner {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 19px;
    padding-block: 27px 30px;
  }

  .promotion-label {
    grid-column: auto;
  }

  .promotion-copy p {
    font-size: 0.78rem;
  }

  .promotion-link {
    width: 100%;
  }

  .section-pad,
  .appointment-preview {
    padding: 66px 0;
  }

  .section-heading h2,
  .appointment-copy h2 {
    font-size: clamp(2.05rem, 10vw, 2.55rem);
    line-height: 1.08;
  }

  .split-heading, .services-heading, .appointment-grid { gap: 23px; }

  .filter-row {
    flex-wrap: wrap;
    margin: 30px 0 22px;
    overflow: visible;
    padding: 2px 0 4px;
  }

  .filter-row::-webkit-scrollbar {
    display: none;
  }

  .filter-chip {
    flex: 0 0 auto;
    scroll-snap-align: start;
  }

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

  .vehicle-card:last-child {
    grid-column: auto;
    max-width: none;
  }

  .vehicle-rail .vehicle-card:last-child {
    grid-column: auto;
    max-width: none;
  }

  .inventory-heading-side {
    gap: 16px;
  }

  .vehicle-rail-controls {
    justify-content: flex-start;
  }

  .vehicle-rail-controls > span {
    margin-right: auto;
  }

  .vehicle-content { padding: 19px 18px 17px; }
  .vehicle-title-row { align-items: flex-start; flex-direction: column; gap: 12px; }
  .vehicle-title-row > strong { font-size: 1.05rem; }

  .inventory-note {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
  }

  .home-filter { margin-top: 29px; padding: 17px; }
  .home-filter-head { align-items: flex-start; }
  .home-filter-head > div { align-items: flex-start; flex-direction: column; gap: 4px; }
  .home-filter-fields { grid-template-columns: 1fr; }
  .inventory-actions-bottom { align-items: flex-start; flex-direction: column; gap: 16px; }
  .inventory-actions-bottom > div { width: 100%; align-items: flex-start; flex-direction: column; gap: 13px; }
  .inventory-actions-bottom .button { width: 100%; }

  .service-lead {
    min-height: 390px;
    padding: 29px 23px;
  }

  .service-lead h3 {
    font-size: clamp(2.05rem, 10vw, 2.45rem);
    line-height: 1.02;
  }

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

  .service-editorial {
    min-height: 230px;
    padding: 27px 23px 24px;
  }

  .service-editorial:first-child {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .service-shortcuts > a,
  .service-shortcuts > a:not(:first-child) {
    min-height: 105px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 20px 50px 20px 0;
  }

  .service-shortcuts > a:not(:last-child) {
    border-right: 0;
  }

  .appointment-card {
    min-height: 0;
    border-radius: 5px;
    padding: 25px 18px;
  }

  .appointment-copy > p:not(.eyebrow) { line-height: 1.65; }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-grid > div:last-child {
    grid-column: auto;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
    padding-bottom: 58px;
  }

  .brand-footer .brand-name strong { font-size: 0.92rem; }

  .vehicle-modal-toolbar {
    min-height: 58px;
    grid-template-columns: 1fr auto;
    padding: 0 13px 0 16px;
  }

  .modal-stock {
    display: none;
  }

  .modal-back {
    font-size: 0.74rem;
  }

  .modal-close {
    width: 36px;
    height: 36px;
  }

  .vehicle-gallery {
    padding: 0 0 12px;
  }

  .gallery-stage {
    border-radius: 0;
  }

  .gallery-arrow {
    width: 40px;
    height: 40px;
  }

  .gallery-arrow-left {
    left: 10px;
  }

  .gallery-arrow-right {
    right: 10px;
  }

  .gallery-thumbnails {
    gap: 7px;
    margin-top: 10px;
    padding: 0 10px;
  }

  .gallery-thumb {
    border-radius: 4px;
  }

  .vehicle-detail-summary {
    padding: 28px 20px 36px;
  }

  .vehicle-detail-summary h2 {
    font-size: 2.25rem;
  }

  .detail-brand {
    margin-top: 24px;
  }

  .detail-price {
    margin-top: 23px;
    font-size: 1.75rem;
  }

  .vehicle-detail-body {
    gap: 42px;
    padding: 40px 20px 55px;
  }

  .detail-main-column {
    gap: 42px;
  }

  .feature-list {
    grid-template-columns: 1fr;
  }

  .detail-spec-card {
    padding: 23px 20px;
  }
}

@media (max-width: 370px) {
  .site-shell { width: calc(100% - 26px); }
  .brand-name small { display: none; }
  .hero h1 { font-size: 2.25rem; }
  .eyebrow { font-size: 0.66rem; letter-spacing: 0.1em; }
  .button { min-height: 50px; padding-inline: 16px; }
  .vehicle-facts { gap: 13px 9px; }
  .appointment-card { padding-inline: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
