:root {
  --bg: #dce6f0;
  --bg-deep: #c8d5e3;
  --panel: linear-gradient(180deg, rgba(248, 251, 255, 0.4), rgba(234, 241, 248, 0.16));
  --panel-strong: linear-gradient(180deg, rgba(252, 254, 255, 0.54), rgba(230, 238, 246, 0.18));
  --panel-dark: linear-gradient(180deg, rgba(38, 51, 64, 0.54), rgba(38, 51, 64, 0.28));
  --ink: #18222d;
  --muted: #536271;
  --line: rgba(255, 255, 255, 0.3);
  --accent: #6d859f;
  --accent-dark: #526a83;
  --accent-soft: #d7e2ec;
  --gold: #aabaca;
  --shadow: 0 22px 55px rgba(24, 34, 41, 0.14);
  --glow: 0 0 0 1px rgba(255, 255, 255, 0.18) inset;
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --hero-scroll-progress: 0;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.72), transparent 22%),
    radial-gradient(circle at 18% 82%, rgba(146, 170, 192, 0.18), transparent 20%),
    radial-gradient(circle at top right, rgba(85, 110, 136, 0.16), transparent 24%),
    radial-gradient(circle at 80% 18%, rgba(196, 214, 230, 0.34), transparent 22%),
    linear-gradient(180deg, #e7eef5 0%, #d5e0eb 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(24, 34, 41, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24, 34, 41, 0.03) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.22), transparent 75%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 15%, rgba(255, 255, 255, 0.54), transparent 18%),
    radial-gradient(circle at 78% 12%, rgba(198, 217, 234, 0.3), transparent 20%),
    radial-gradient(circle at 74% 74%, rgba(228, 238, 247, 0.24), transparent 18%);
  filter: blur(24px);
  opacity: 0.9;
}

.page-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 48px;
}

.site-header,
.hero,
.trust-strip,
.inventory-section,
.feature-section,
.steps-section,
.contact-card,
.site-footer {
  position: relative;
  z-index: 1;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 22px;
  margin-bottom: 24px;
  background: var(--panel-strong);
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 36px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  box-shadow: var(--glow), var(--shadow);
}

.brand-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.brand-mark,
h1,
h2,
h3 {
  font-family: "Cinzel", Georgia, serif;
  letter-spacing: 0.01em;
}

.brand-mark {
  color: var(--ink);
  font-size: 1.28rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.site-nav a,
.site-footer p,
.section-note,
.hero-text,
.feature-card p,
.step-card p,
.contact-copy,
.contact-meta dd,
.footer-note {
  color: var(--muted);
}

.site-nav a {
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 600;
}

.eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--accent);
  font-family: "Cinzel", Georgia, serif;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: "Cinzel", Georgia, serif;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
  cursor: pointer;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  color: #fff8f0;
  background:
    linear-gradient(180deg, rgba(119, 143, 166, 0.84), rgba(82, 106, 131, 0.78));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 18px 28px rgba(82, 106, 131, 0.18);
  backdrop-filter: blur(18px) saturate(170%);
  -webkit-backdrop-filter: blur(18px) saturate(170%);
}

.button-secondary {
  color: var(--ink);
  border-color: rgba(255, 255, 255, 0.32);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.08));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
}

.button-small {
  min-height: 42px;
  padding: 0 16px;
}

.button-full {
  width: 100%;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: stretch;
  padding: 24px 0 12px;
}

.hero-copy,
.hero-card,
.inventory-section,
.feature-section,
.steps-section,
.contact-card,
.site-footer {
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  box-shadow: var(--glow), var(--shadow);
}

.hero-copy {
  padding: 34px;
  border-radius: var(--radius-lg);
}

.hero-copy-simple {
  max-width: 820px;
}

.hero-copy-dealership {
  position: relative;
  overflow: hidden;
  max-width: none;
  min-height: 540px;
  display: flex;
  align-items: flex-end;
  padding: 34px;
  background:
    linear-gradient(180deg, rgba(245, 250, 255, 0.1), rgba(233, 241, 248, 0.08)),
    linear-gradient(135deg, rgba(72, 89, 105, 0.4), rgba(26, 35, 43, 0.16));
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(245, 250, 255, 0.1), rgba(233, 241, 248, 0.08)),
    url("assets/supra-hero.jpg") center center / cover no-repeat;
  background-position: 54% center;
  transform: scale(1.03);
  transform-origin: center center;
  filter: saturate(1.04) contrast(1.02) brightness(0.97);
  transition: transform 220ms ease-out, background-position 220ms ease-out;
}

.hero-copy-dealership::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(226, 236, 247, 0.12) 0%, rgba(226, 236, 247, 0.04) 22%, rgba(16, 22, 29, 0.22) 100%),
    linear-gradient(90deg, rgba(229, 238, 247, 0.84) 0%, rgba(229, 238, 247, 0.48) 28%, rgba(229, 238, 247, 0.08) 58%, rgba(229, 238, 247, 0.02) 100%);
}

.hero-copy-dealership::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 69% 14%, rgba(255, 255, 255, 0.38), transparent 18%),
    radial-gradient(circle at 85% 10%, rgba(255, 255, 255, 0.18), transparent 14%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 36%);
  mix-blend-mode: screen;
}

.hero-copy-dealership > :not(.hero-media) {
  position: relative;
  z-index: 2;
}

.hero-floating-copy {
  width: min(620px, 100%);
  padding: 0;
  transform:
    translateY(calc(var(--hero-scroll-progress) * -56px))
    scale(calc(1 - (var(--hero-scroll-progress) * 0.04)));
  opacity: calc(1 - (var(--hero-scroll-progress) * 0.92));
  filter: blur(calc(var(--hero-scroll-progress) * 12px));
  transition: transform 180ms ease-out, opacity 180ms ease-out, filter 180ms ease-out;
}

.hero-copy-dealership .eyebrow {
  color: #dbe6f2;
  text-shadow:
    0 1px 0 rgba(14, 23, 31, 0.3),
    0 10px 28px rgba(8, 14, 20, 0.22);
}

.hero-copy-dealership h1 {
  margin-top: 10px;
  color: #f8fbff;
  text-shadow:
    0 2px 0 rgba(20, 32, 44, 0.24),
    0 18px 36px rgba(8, 14, 20, 0.3),
    0 0 22px rgba(255, 255, 255, 0.16);
  font-size: clamp(3rem, 6vw, 5.2rem);
  line-height: 0.96;
}

.hero-copy-dealership .hero-text {
  max-width: 32ch;
  color: rgba(241, 247, 252, 0.88);
  text-shadow: 0 8px 20px rgba(8, 14, 20, 0.24);
}

.hero-copy-dealership .hero-actions {
  gap: 16px;
  margin-top: 24px;
  margin-bottom: 0;
}

.hero-copy-dealership .button-secondary,
.hero-copy-dealership .button-primary {
  background: linear-gradient(180deg, rgba(244, 248, 252, 0.16), rgba(213, 225, 237, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.34);
  color: #f7fbff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    0 12px 30px rgba(8, 14, 20, 0.18);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
}

.hero-copy-dealership .button-primary:hover,
.hero-copy-dealership .button-secondary:hover,
.hero-copy-dealership .button-primary:focus-visible,
.hero-copy-dealership .button-secondary:focus-visible {
  transform: translateY(-2px);
}

.inquiry-page .hero {
  grid-template-columns: 1fr;
}

.inquiry-page .page-shell {
  width: min(1240px, calc(100% - 32px));
}

.inquiry-hero-card {
  overflow: hidden;
  position: relative;
  max-width: none;
  padding: 42px;
  background:
    radial-gradient(circle at top right, rgba(199, 144, 58, 0.12), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.1));
}

.inquiry-hero-card::after {
  content: "";
  position: absolute;
  inset: auto -30px -36px auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(159, 61, 47, 0.08);
}

h1 {
  margin: 14px 0 14px;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 1.02;
}

.hero-text {
  max-width: 52ch;
  font-size: 1.08rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0 24px;
}

.inquiry-hero-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.hero-points li {
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid var(--line);
  font-weight: 600;
}

.hero-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(155deg, rgba(24, 34, 41, 0.97), rgba(44, 58, 67, 0.92)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), transparent);
  color: #fff8f0;
}

.hero-card strong,
.hero-card .stat-number {
  display: block;
  color: #fff8f0;
}

.hero-card-label,
.stat-label {
  color: rgba(255, 248, 240, 0.8);
}

.hero-card-top {
  display: grid;
  gap: 10px;
  margin-bottom: 26px;
}

.hero-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.hero-card-grid > div {
  padding: 16px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.stat-number {
  margin-bottom: 8px;
  font-size: 1.4rem;
  font-weight: 700;
}

.trust-strip,
.feature-grid,
.steps-grid {
  display: grid;
  gap: 18px;
}

.trust-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 16px 0 28px;
}

.trust-strip article {
  padding: 22px;
  border-radius: var(--radius-md);
  background: rgba(255, 250, 244, 0.75);
  border: 1px solid var(--line);
}

.trust-strip h2,
.section-heading h2 {
  margin: 10px 0 0;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
}

.trust-strip p {
  margin-bottom: 0;
  color: var(--muted);
}

.inventory-section,
.feature-section,
.steps-section,
.inquiry-section {
  padding: 30px;
  margin-bottom: 24px;
  border-radius: var(--radius-lg);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.section-heading h2 {
  margin-top: 8px;
}

.inventory-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 22px;
}

.filters-panel {
  align-self: start;
  position: sticky;
  top: 18px;
  padding: 20px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: var(--glow), 0 18px 36px rgba(24, 34, 41, 0.1);
  backdrop-filter: blur(22px) saturate(170%);
  -webkit-backdrop-filter: blur(22px) saturate(170%);
}

.filter-group + .filter-group {
  margin-top: 18px;
}

.filter-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
}

.filter-group input,
.filter-group select {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.24);
  font: inherit;
  color: var(--ink);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.filter-group input[type="range"] {
  min-height: auto;
  padding: 0;
}

.price-range-wrap {
  display: grid;
  gap: 10px;
}

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

.vehicle-card {
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.08));
  transition: transform 180ms ease, box-shadow 180ms ease;
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  box-shadow: var(--glow), 0 18px 38px rgba(24, 34, 41, 0.12);
}

.vehicle-card:hover,
.vehicle-card:focus-within {
  transform: translateY(-3px);
  box-shadow: var(--glow), 0 26px 46px rgba(24, 34, 41, 0.16);
}

.vehicle-art {
  position: relative;
  min-height: 170px;
  padding: 0;
  display: flex;
  align-items: end;
  justify-content: center;
  background: linear-gradient(135deg, rgba(95, 121, 146, 0.4), rgba(182, 201, 218, 0.28));
  color: #fff9f2;
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
}

.vehicle-art::after {
  content: "";
  position: absolute;
  inset: auto -20px -52px auto;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

.vehicle-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 82px;
  height: 82px;
  border-radius: 22px;
  font-family: "Cinzel", Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(18px) saturate(170%);
  -webkit-backdrop-filter: blur(18px) saturate(170%);
}

.vehicle-image {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.vehicle-body {
  padding: 22px;
}

.vehicle-title-row,
.vehicle-meta,
.vehicle-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.vehicle-title-row h3 {
  margin: 0;
  font-size: 1.35rem;
}

.vehicle-price {
  font-size: 1.45rem;
  font-family: "Cinzel", Georgia, serif;
  font-weight: 700;
  color: var(--accent-dark);
  white-space: nowrap;
}

.vehicle-subtitle {
  margin: 8px 0 18px;
  color: var(--muted);
}

.vehicle-meta {
  flex-wrap: wrap;
  padding: 0;
  margin: 0 0 18px;
  list-style: none;
}

.vehicle-meta li {
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 0.93rem;
  font-weight: 700;
  color: var(--ink);
}

.vehicle-note {
  margin: 0 0 20px;
  line-height: 1.65;
  color: var(--muted);
}

.vehicle-footer {
  justify-content: space-between;
}

.vehicle-footer span {
  font-size: 0.92rem;
  font-family: "Cinzel", Georgia, serif;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
}

.detail-button {
  min-height: 44px;
  padding: 0 16px;
  border: none;
}

.empty-state {
  padding: 30px;
  border-radius: 24px;
  border: 1px dashed rgba(255, 255, 255, 0.34);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.08));
  text-align: center;
  backdrop-filter: blur(22px) saturate(170%);
  -webkit-backdrop-filter: blur(22px) saturate(170%);
}

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

.feature-card,
.step-card {
  padding: 24px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(255, 252, 247, 0.82);
}

.feature-card h3,
.step-card h3 {
  margin-top: 0;
}

.step-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-weight: 800;
}

.contact-card {
  display: grid;
  gap: 22px;
  padding: 30px;
  border-radius: var(--radius-lg);
}

.inquiry-grid {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 26px;
}

.inquiry-info-card,
.inquiry-form-card {
  align-self: start;
}

.inquiry-info-card {
  color: #fff8f0;
  background:
    radial-gradient(circle at top left, rgba(199, 144, 58, 0.14), transparent 30%),
    linear-gradient(160deg, rgba(46, 57, 67, 0.32), rgba(46, 57, 67, 0.18));
  border-color: rgba(255, 255, 255, 0.24);
}

.inquiry-info-card .eyebrow,
.inquiry-info-card .contact-meta dt,
.inquiry-mini-label {
  color: rgba(255, 232, 204, 0.86);
}

.inquiry-info-card .contact-meta dd,
.inquiry-card-copy,
.inquiry-side-note-text {
  color: rgba(255, 248, 240, 0.88);
}

.inquiry-card-copy {
  margin: 0;
  line-height: 1.7;
}

.contact-link {
  text-decoration: none;
}

.contact-link-light {
  color: inherit;
}

.contact-link-light:hover,
.contact-link-light:focus-visible {
  text-decoration: underline;
}

.contact-meta-single {
  grid-template-columns: 1fr;
}

.section-heading-stack {
  align-items: start;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.inquiry-form {
  display: grid;
  gap: 18px;
}

.form-field {
  display: grid;
  gap: 8px;
  font-weight: 700;
}

.form-field span {
  color: var(--ink);
  font-size: 0.95rem;
  font-family: "Cinzel", Georgia, serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.form-field input,
.form-field textarea {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.18);
  font: inherit;
  color: var(--ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.34);
  transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
  backdrop-filter: blur(18px) saturate(170%);
  -webkit-backdrop-filter: blur(18px) saturate(170%);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(87, 96, 102, 0.82);
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.24);
  box-shadow:
    0 0 0 4px rgba(255, 255, 255, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

.form-field textarea {
  min-height: 180px;
  resize: vertical;
}

.vehicle-interest-pill {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: var(--accent-dark);
  font-weight: 700;
  backdrop-filter: blur(16px) saturate(170%);
  -webkit-backdrop-filter: blur(16px) saturate(170%);
}

.inquiry-side-note {
  padding: 20px 22px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(18px) saturate(170%);
  -webkit-backdrop-filter: blur(18px) saturate(170%);
}

.inquiry-mini-label {
  margin: 0 0 8px;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.inquiry-side-note-text {
  margin: 0;
  line-height: 1.6;
}

.vehicle-detail-app {
  display: grid;
  gap: 24px;
}

.vehicle-page-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin: 6px 0 20px;
  padding: 18px 22px;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: var(--panel-strong);
  box-shadow: var(--glow), var(--shadow);
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
}

.vehicle-page-intro-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.vehicle-page-intro h1 {
  margin: 0;
  font-size: clamp(1.4rem, 2.6vw, 2.1rem);
  line-height: 1.05;
}

.vehicle-page-intro-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.vehicle-detail-card,
.vehicle-spec-card {
  overflow: hidden;
}

.vehicle-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  grid-template-areas:
    "media copy"
    "gallery copy";
  gap: 24px;
  align-items: start;
}

.vehicle-detail-media {
  grid-area: media;
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  align-self: start;
  aspect-ratio: 4 / 3;
  min-height: 0;
  box-sizing: border-box;
  --vehicle-media-inset: clamp(16px, 1.7vw, 24px);
  border-radius: 24px;
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.34), transparent 42%),
  linear-gradient(135deg, rgba(87, 104, 123, 0.42), rgba(28, 38, 48, 0.22));
}

.vehicle-media-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(248, 251, 255, 0.12);
  backdrop-filter: blur(12px) saturate(170%);
  -webkit-backdrop-filter: blur(12px) saturate(170%);
  color: #f8fbff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 12px 24px rgba(17, 28, 39, 0.12);
  cursor: pointer;
  transform: translateY(-50%);
  opacity: 0.18;
  transition: transform 180ms ease, opacity 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.vehicle-media-arrow span {
  font-size: 1.35rem;
  line-height: 1;
  transform: translateY(-1px);
}

.vehicle-detail-media:hover .vehicle-media-arrow,
.vehicle-detail-media:focus-within .vehicle-media-arrow {
  opacity: 0.38;
}

.vehicle-media-arrow:hover,
.vehicle-media-arrow:focus-visible {
  transform: translateY(-50%) scale(1.04);
  opacity: 0.78;
  background: rgba(248, 251, 255, 0.24);
  border-color: rgba(255, 255, 255, 0.38);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.26), 0 16px 28px rgba(17, 28, 39, 0.16);
}

.vehicle-media-arrow:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.76);
  outline-offset: 3px;
}

.vehicle-media-arrow-prev {
  left: calc(var(--vehicle-media-inset) * 0.75);
}

.vehicle-media-arrow-next {
  right: calc(var(--vehicle-media-inset) * 0.75);
}

.vehicle-detail-image,
.vehicle-image-fallback {
  position: absolute;
  inset: var(--vehicle-media-inset);
  width: calc(100% - (var(--vehicle-media-inset) * 2));
  height: calc(100% - (var(--vehicle-media-inset) * 2));
  box-sizing: border-box;
  display: block;
}

.vehicle-detail-image {
  object-fit: contain;
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.2), transparent 54%),
    linear-gradient(135deg, rgba(55, 68, 81, 0.22), rgba(15, 21, 28, 0.16));
  border-radius: 20px;
}

.vehicle-image-fallback {
  display: grid;
  place-items: center;
  text-align: center;
  color: #f8fbff;
  background:
    linear-gradient(180deg, rgba(232, 240, 247, 0.18), rgba(23, 33, 43, 0.14)),
    linear-gradient(135deg, rgba(87, 104, 123, 0.42), rgba(28, 38, 48, 0.22));
  border-radius: 20px;
}

.vehicle-fallback-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  font-family: "Cinzel", Georgia, serif;
  font-size: 2.6rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.34);
}

.vehicle-image-fallback p {
  margin: 18px 0 0;
  font-family: "Cinzel", Georgia, serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.vehicle-detail-copy {
  grid-area: copy;
  display: grid;
  align-content: start;
  gap: 16px;
  min-width: 0;
}

.vehicle-detail-kicker {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--accent);
  font-family: "Cinzel", Georgia, serif;
}

.vehicle-detail-copy h1 {
  margin: 0;
  max-width: 14ch;
  font-size: clamp(1.45rem, 2.55vw, 2.35rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.vehicle-detail-price {
  margin: 0;
  font-size: clamp(1.5rem, 2vw, 2rem);
  font-family: "Cinzel", Georgia, serif;
  font-weight: 700;
  color: var(--accent-dark);
}

.vehicle-detail-copy .hero-text {
  max-width: 42ch;
}

.vehicle-detail-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.vehicle-detail-chip {
  display: inline-flex;
  align-items: center;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: var(--ink);
  font-weight: 700;
}

.vehicle-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 6px;
}

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

.vehicle-spec-item {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(18px) saturate(170%);
  -webkit-backdrop-filter: blur(18px) saturate(170%);
}

.vehicle-spec-label {
  margin: 0 0 6px;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-family: "Cinzel", Georgia, serif;
}

.vehicle-spec-value {
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
}

.vehicle-detail-copytext {
  margin: 0;
  line-height: 1.75;
  color: var(--muted);
}

.vehicle-gallery {
  grid-area: gallery;
  display: flex;
  gap: 12px;
  margin-top: 0;
  padding-bottom: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.48) rgba(255, 255, 255, 0.08);
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
  min-width: 0;
}

.vehicle-gallery::-webkit-scrollbar {
  height: 10px;
}

.vehicle-gallery::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
}

.vehicle-gallery::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.08);
}

.vehicle-gallery-thumb {
  position: relative;
  flex: 0 0 140px;
  height: 96px;
  padding: 0;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24);
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
  scroll-snap-align: start;
}

.vehicle-gallery-thumb:hover,
.vehicle-gallery-thumb:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.42);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 10px 24px rgba(20, 32, 44, 0.18);
}

.vehicle-gallery-thumb.is-active {
  border-color: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.34), 0 14px 30px rgba(20, 32, 44, 0.24);
}

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

.form-submit-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 6px;
}

.form-helper {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.directions-picker {
  position: relative;
  z-index: 100;
  display: inline-flex;
}

.directions-picker > summary {
  list-style: none;
}

.directions-picker > summary::-webkit-details-marker {
  display: none;
}

.directions-menu {
  position: absolute;
  bottom: calc(100% + 10px);
  top: auto;
  left: 0;
  z-index: 9999;
  display: grid;
  gap: 8px;
  min-width: 220px;
  padding: 10px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(237, 243, 250, 0.66);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(28px) saturate(185%);
  -webkit-backdrop-filter: blur(28px) saturate(185%);
}

.directions-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid rgba(120, 140, 170, 0.14);
  background: rgba(255, 255, 255, 0.2);
  color: rgba(24, 34, 41, 0.92);
  text-decoration: none;
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  backdrop-filter: blur(10px) saturate(165%);
  -webkit-backdrop-filter: blur(10px) saturate(165%);
  transition: background-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.directions-link:hover,
.directions-link:focus-visible {
  background: rgba(120, 140, 170, 0.16);
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(24, 34, 41, 0.12);
}

.contact-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
}

.contact-meta div {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(18px) saturate(170%);
  -webkit-backdrop-filter: blur(18px) saturate(170%);
}

.inquiry-info-card .contact-meta div {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
}

.contact-meta dt {
  margin-bottom: 8px;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-family: "Cinzel", Georgia, serif;
}

.contact-meta dd {
  margin: 0;
  line-height: 1.5;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 24px;
  margin-top: 24px;
  border-radius: 22px;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(230, 222, 213, 0.18);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
}

#vehicleZoomBackdrop {
  padding: 0;
}

.vehicle-modal {
  position: relative;
  width: min(700px, 100%);
  max-height: 88vh;
  overflow: auto;
  padding: 30px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.12));
  box-shadow: var(--glow), 0 24px 60px rgba(24, 34, 41, 0.16);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
}

.vehicle-zoom-modal {
  width: auto;
  max-width: 95vw;
  max-height: 95vh;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.vehicle-zoom-image {
  width: auto;
  height: auto;
  max-width: 95vw;
  max-height: 95vh;
  object-fit: contain;
  object-position: center center;
  border-radius: 24px;
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.16), transparent 58%),
    linear-gradient(135deg, rgba(55, 68, 81, 0.2), rgba(15, 21, 28, 0.1));
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 4;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  font-size: 1.6rem;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.24);
  cursor: pointer;
  backdrop-filter: blur(14px) saturate(170%);
  -webkit-backdrop-filter: blur(14px) saturate(170%);
  pointer-events: auto;
}

.modal-close:hover,
.modal-close:focus-visible {
  background: rgba(255, 255, 255, 0.34);
}

body.modal-open {
  overflow: hidden;
}

.modal-layout {
  display: grid;
  gap: 24px;
}

.modal-image {
  width: 100%;
  max-height: 320px;
  border-radius: 22px;
  object-fit: cover;
  display: block;
}

.modal-hero {
  min-height: 220px;
  padding: 28px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(95, 121, 146, 0.34), rgba(182, 201, 218, 0.2));
  color: #fff9f2;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
}

.modal-hero h3 {
  margin-bottom: 10px;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.modal-price {
  margin: 0 0 18px;
  font-size: 1.2rem;
  font-weight: 700;
}

.modal-tags,
.modal-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.modal-tags li,
.modal-specs li {
  padding: 10px 12px;
  border-radius: 999px;
  font-weight: 700;
}

.modal-tags li {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.modal-specs li {
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.modal-copy {
  margin: 0;
  line-height: 1.75;
  color: var(--muted);
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.noscript-note {
  margin: 20px auto 0;
  width: min(1180px, calc(100% - 32px));
  padding: 16px 18px;
  border-radius: 16px;
  background: #fff1cf;
  border: 1px solid #e7c782;
}

@media (max-width: 980px) {
  .site-header,
  .section-heading,
  .site-footer,
  .vehicle-title-row,
  .vehicle-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero,
  .inventory-layout,
  .contact-meta,
  .inquiry-grid {
    grid-template-columns: 1fr;
  }

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

  .feature-grid,
  .steps-grid,
  .trust-strip,
  .inventory-grid,
  .hero-points,
  .field-grid {
    grid-template-columns: 1fr;
  }

  .filters-panel {
    position: static;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 20px, 1180px);
    padding-top: 16px;
  }

  .site-header {
    border-radius: 24px;
    gap: 14px;
    padding: 18px;
  }

  .site-header,
  .hero-copy,
  .hero-card,
  .inventory-section,
  .feature-section,
  .steps-section,
  .contact-card,
  .vehicle-modal {
    padding: 22px;
  }

  .vehicle-zoom-modal {
    padding: 0;
    max-width: 95vw;
    max-height: 95vh;
  }

  .vehicle-zoom-image {
    max-width: 95vw;
    max-height: 95vh;
    border-radius: 18px;
  }

  .site-nav {
    flex-wrap: wrap;
    gap: 10px 16px;
    width: 100%;
  }

  .brand-mark {
    font-size: 1.08rem;
    line-height: 1.1;
  }

  .hero-copy-dealership {
    min-height: 430px;
    padding: 22px;
  }

  .hero-media {
    background-position: 46% 48%;
    transform: scale(0.91);
  }

  .hero-copy-dealership::before {
    background:
      linear-gradient(180deg, rgba(229, 238, 247, 0.24) 0%, rgba(229, 238, 247, 0.14) 42%, rgba(229, 238, 247, 0.82) 100%);
  }

  .hero-floating-copy {
    width: 100%;
  }

  .hero-copy-dealership h1 {
    font-size: clamp(2.4rem, 10vw, 4rem);
  }

  .hero-copy-dealership .hero-text {
    max-width: 24ch;
  }

  .vehicle-detail-layout,
  .vehicle-spec-grid {
    grid-template-columns: 1fr;
  }

  .vehicle-detail-layout {
    grid-template-areas:
      "media"
      "gallery"
      "copy";
    gap: 12px;
  }

  .vehicle-page-intro {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px;
    border-radius: 22px;
  }

  .vehicle-page-intro-actions {
    justify-content: flex-start;
    width: 100%;
  }

  .vehicle-detail-card,
  .vehicle-spec-card {
    padding: 22px;
  }

  .vehicle-detail-media,
  .vehicle-detail-image,
  .vehicle-image-fallback {
    min-height: 0;
  }

  .vehicle-detail-media {
    aspect-ratio: 16 / 10;
  }

  .vehicle-media-arrow {
    width: 44px;
    height: 44px;
    opacity: 0.24;
  }

  .vehicle-media-arrow span {
    font-size: 1.35rem;
  }

  .vehicle-media-arrow-prev {
    left: calc(var(--vehicle-media-inset) * 0.75);
  }

  .vehicle-media-arrow-next {
    right: calc(var(--vehicle-media-inset) * 0.75);
  }

  .vehicle-gallery-thumb {
    flex-basis: 124px;
    height: 88px;
  }

  .vehicle-detail-copy {
    gap: 12px;
  }

  .vehicle-detail-copy h1,
  .vehicle-detail-price,
  .vehicle-detail-copy .hero-text,
  .vehicle-detail-chips,
  .vehicle-detail-actions {
    margin-top: 0;
  }
}

@media (min-width: 769px) {
  #vehicleZoomBackdrop {
    padding: 24px;
  }

  .vehicle-zoom-modal {
    width: min(92vw, 1600px);
    height: min(92vh, 1200px);
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
  }

  .vehicle-zoom-image {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: contain;
    object-position: center center;
    border-radius: 28px;
  }

  .modal-close {
    top: 16px;
    right: 16px;
  }

  .vehicle-media-arrow {
    background: rgba(30, 45, 60, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.45);
    color: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(6px) saturate(150%);
    -webkit-backdrop-filter: blur(6px) saturate(150%);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.18),
      0 10px 22px rgba(14, 22, 32, 0.34);
    opacity: 0.9;
    transition:
      transform 180ms ease,
      opacity 180ms ease,
      background 180ms ease,
      border-color 180ms ease,
      box-shadow 180ms ease;
  }

  .vehicle-media-arrow span {
    color: rgba(255, 255, 255, 0.98);
  }

  .vehicle-detail-media:hover .vehicle-media-arrow,
  .vehicle-detail-media:focus-within .vehicle-media-arrow {
    opacity: 0.98;
  }

  .vehicle-media-arrow:hover,
  .vehicle-media-arrow:focus-visible {
    transform: translateY(-50%) scale(1.06);
    background: rgba(24, 38, 52, 0.72);
    border-color: rgba(255, 255, 255, 0.56);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.22),
      0 14px 28px rgba(14, 22, 32, 0.42),
      0 0 0 1px rgba(255, 255, 255, 0.04);
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
