:root {
  --display-font: "Segoe UI", Arial, ui-sans-serif, system-ui, sans-serif;
  --bg: #050607;
  --panel: #101216;
  --panel-2: #171a1f;
  --text: #c8ced4;
  --muted: #9199a2;
  --line: rgba(210, 218, 226, .18);
  --silver: #b7bec6;
  --accent: #39ff14;
  --accent-soft: rgba(57, 255, 20, .14);
  --footer-pad: 0px;
  color-scheme: dark;
}

.theme-green {
  --accent: #39ff14;
  --accent-soft: rgba(57, 255, 20, .14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: var(--display-font);
  line-height: 1.5;
  letter-spacing: 0;
  padding-bottom: var(--footer-pad);
  overflow-x: hidden;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  padding: 0 5vw;
  background: rgba(5, 6, 7, .86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand,
.site-nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-weight: 750;
  color: var(--silver);
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-size: .82rem;
}

.site-nav {
  gap: 8px;
}

.site-nav a {
  padding: 10px 13px;
  color: var(--muted);
  font-size: .94rem;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--text);
}

.site-nav .nav-cta {
  color: #020303;
  background: var(--accent);
  border-radius: 999px;
  box-shadow: 0 0 24px var(--accent-soft);
}

.site-nav .nav-cta[aria-current="page"] {
  color: #020303;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: calc(100vh - 70px);
  display: grid;
  align-items: end;
  overflow: hidden;
}

.compact-hero {
  min-height: min(780px, calc(100vh - 70px));
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.92) brightness(.66);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 6, 7, .92), rgba(5, 6, 7, .46) 54%, rgba(5, 6, 7, .72));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(840px, 90vw);
  padding: 8vh 5vw 18vh;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 16px;
  font-size: clamp(2.6rem, 6vw, 5.9rem);
  line-height: .96;
  letter-spacing: 0;
  font-family: var(--display-font);
  font-weight: 800;
}

.hero-title {
  display: flex;
  align-items: flex-start;
  gap: clamp(12px, 2vw, 26px);
}

.hero-title span:last-child {
  margin-top: .42em;
  color: var(--accent);
  font-size: .62em;
  line-height: 1;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(1.6rem, 3vw, 2.65rem);
  line-height: 1.05;
  font-family: var(--display-font);
  font-weight: 760;
}

h3 {
  margin-bottom: 8px;
  font-size: 1rem;
}

.hero-copy {
  max-width: 560px;
  color: var(--silver);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
}

.hero-proofs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 760px;
  margin-top: 22px;
}

.hero-proofs span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 14px;
  color: var(--text);
  background: rgba(255, 255, 255, .07);
  border: 1px solid color-mix(in srgb, var(--accent) 48%, var(--line));
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.03), 0 0 24px var(--accent-soft);
  font-size: .88rem;
  font-weight: 780;
}

.hero-proofs span::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-right: 9px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 14px var(--accent);
}

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

.button,
.text-link,
.stock-slot a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 18px;
  border: 1px solid var(--line);
  font-weight: 760;
  font-size: .92rem;
  border-radius: 999px;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease, background .22s ease;
}

.button:hover,
.text-link:hover,
.stock-slot a:hover,
.filter-bar button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(0,0,0,.28), 0 0 28px var(--accent-soft);
}

.button.primary,
.stock-slot a {
  color: #020303;
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 30px var(--accent-soft);
}

.button.ghost {
  color: var(--silver);
  background: rgba(255,255,255,.04);
}

.button.secondary,
.text-link {
  color: var(--accent);
  background: var(--accent-soft);
  border-color: rgba(255,255,255,.12);
}

.hero-strip {
  position: absolute;
  left: 5vw;
  right: 5vw;
  bottom: 26px;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  background: rgba(10, 12, 15, .78);
  backdrop-filter: blur(14px);
  border-radius: 18px;
  overflow: hidden;
}

.hero-strip span {
  min-height: 58px;
  display: grid;
  place-items: center;
  padding: 10px;
  color: var(--silver);
  border-right: 1px solid var(--line);
  text-align: center;
  font-weight: 700;
  font-size: .9rem;
}

.hero-strip span:last-child {
  border-right: 0;
}

.section {
  width: min(1180px, 90vw);
  margin: 0 auto;
  padding: clamp(48px, 7vw, 86px) 0;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .72s ease, transform .72s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.framed-motion {
  position: relative;
  overflow: hidden;
}

.orbital {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  border: 1.5px solid color-mix(in srgb, var(--accent) 78%, transparent);
  border-left-color: transparent;
  border-bottom-color: transparent;
  border-radius: 50%;
  opacity: 0;
  transform: translateY(28px) rotate(-24deg) scale(.76);
  transition: opacity .95s ease, transform 1.15s cubic-bezier(.2, .8, .18, 1);
  filter: drop-shadow(0 0 18px var(--accent-soft));
}

.in-view .orbital,
.hero .orbital {
  opacity: .58;
  transform: translateY(0) rotate(16deg) scale(1);
}

.orbital-hero {
  right: -72px;
  bottom: 122px;
  width: min(300px, 56vw);
  aspect-ratio: 1;
  border-width: 1px;
}

.orbital-left {
  left: -118px;
  top: 78px;
  width: min(430px, 38vw);
  aspect-ratio: 1;
  border-right-color: transparent;
  border-left-color: var(--accent);
}

.orbital-right {
  right: -132px;
  top: 54px;
  width: min(460px, 40vw);
  aspect-ratio: 1;
}

.feature-band > :not(.orbital),
.trade-in-band > :not(.orbital),
.stock-preview > :not(.orbital),
.filters-shell > :not(.orbital),
.contact-layout > :not(.orbital),
.sell-layout > :not(.orbital) {
  position: relative;
  z-index: 1;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(260px, .82fr) 1fr;
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
  border-bottom: 1px solid var(--line);
}

.intro-grid p:last-child {
  color: var(--silver);
  font-size: 1.05rem;
}

.intro-copy p:first-child {
  color: var(--silver);
  font-size: 1.05rem;
}

.intro-grid .intro-copy .family-signature {
  margin: 18px 0 0;
  color: var(--accent);
  font-size: .9rem;
  font-weight: 760;
}

.feature-band {
  width: 100%;
  padding-left: 5vw;
  padding-right: 5vw;
  display: grid;
  grid-template-columns: minmax(280px, .74fr) 1fr;
  gap: clamp(28px, 5vw, 60px);
  align-items: center;
  background: linear-gradient(180deg, #0a0c0e, #111419);
}

.feature-copy {
  max-width: 530px;
}

.feature-copy p {
  color: var(--muted);
}

.feature-image img {
  width: 100%;
  height: min(430px, 46vw);
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 22px;
}

.trade-in-band {
  width: 100%;
  padding-left: 5vw;
  padding-right: 5vw;
  display: grid;
  grid-template-columns: 1fr minmax(300px, .72fr);
  gap: clamp(30px, 6vw, 76px);
  align-items: center;
  background: #0d1012;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trade-in-image img {
  width: 100%;
  height: min(440px, 48vw);
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 18px;
}

.trade-in-copy {
  max-width: 520px;
}

.trade-in-copy p:not(.eyebrow) {
  color: var(--silver);
}

.international-band {
  display: grid;
  grid-template-columns: 1fr .72fr;
  gap: clamp(32px, 6vw, 84px);
  align-items: start;
  border-bottom: 1px solid var(--line);
}

.international-band > div:last-child > p {
  color: var(--silver);
  font-size: 1.05rem;
}

.language-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 22px;
}

.language-list span {
  padding: 8px 12px;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid color-mix(in srgb, var(--accent) 38%, var(--line));
  border-radius: 999px;
  font-size: .84rem;
  font-weight: 760;
}

.trust-panel {
  display: grid;
  grid-template-columns: .8fr 1fr;
  gap: clamp(34px, 6vw, 84px);
  align-items: start;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-intro {
  max-width: 480px;
  position: sticky;
  top: 106px;
}

.trust-intro p:last-child {
  color: var(--muted);
}

.trust-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.trust-list article {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.trust-list article span {
  color: var(--accent);
  font-size: .86rem;
  font-weight: 800;
}

.trust-list h3 {
  margin-bottom: 6px;
  color: var(--text);
  font-size: clamp(1.12rem, 1.7vw, 1.45rem);
}

.trust-list p,
.vehicle-placeholder p,
.stock-slot p,
.contact-details p,
.sell-aside p {
  color: var(--muted);
}

.detail-section {
  border-bottom: 1px solid var(--line);
}

.detail-section .section-title > p {
  max-width: 430px;
  color: var(--muted);
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.detail-grid article {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}

.detail-grid img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}

.detail-grid h3,
.detail-grid p {
  margin-left: 20px;
  margin-right: 20px;
}

.detail-grid.compact-cards h3 {
  margin-bottom: 20px;
  color: var(--silver);
}

.detail-grid h3 {
  margin-top: 20px;
}

.detail-grid p {
  margin-bottom: 22px;
  color: var(--muted);
}

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

.section-title h2 {
  max-width: 620px;
}

.placeholder-grid,
.stock-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.vehicle-placeholder,
.stock-slot,
.form-panel,
.contact-details,
.sell-aside {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 20px;
}

.vehicle-placeholder {
  min-height: 190px;
  padding: 24px;
  transition: transform .24s ease, border-color .24s ease;
}

.vehicle-placeholder:hover,
.stock-slot:hover {
  transform: translateY(-5px);
  border-color: color-mix(in srgb, var(--accent) 44%, var(--line));
}

.vehicle-placeholder span {
  display: block;
  width: 100%;
  height: 72px;
  margin-bottom: 22px;
  background: linear-gradient(135deg, var(--panel-2), var(--accent-soft));
  border: 1px solid var(--line);
  border-radius: 16px;
}

.vehicle-placeholder.visual-card {
  padding: 0;
  overflow: hidden;
}

.vehicle-placeholder.visual-card img {
  width: 100%;
  height: 145px;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}

.vehicle-placeholder.visual-card h3,
.vehicle-placeholder.visual-card p {
  margin-left: 20px;
  margin-right: 20px;
}

.vehicle-placeholder.visual-card h3 {
  margin-top: 20px;
}

.vehicle-placeholder.visual-card p {
  margin-bottom: 22px;
}

.showroom-section {
  width: min(1180px, 90vw);
  display: grid;
  grid-template-columns: .44fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.showroom-heading {
  position: sticky;
  top: 106px;
}

.showroom-heading p:last-child {
  color: var(--muted);
}

.showroom-gallery {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 14px;
}

.showroom-gallery figure {
  position: relative;
  min-height: 230px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
}

.showroom-gallery figure.large {
  grid-row: span 2;
  min-height: 480px;
}

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

.showroom-gallery figcaption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 10px 12px;
  color: var(--text);
  background: rgba(5, 6, 7, .72);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  backdrop-filter: blur(12px);
  font-size: .84rem;
  font-weight: 760;
}

.reviews-section {
  overflow: hidden;
}

.review-marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.review-track {
  display: flex;
  width: max-content;
  animation: reviews 28s linear infinite;
}

.review-track article {
  width: 320px;
  min-height: 160px;
  padding: 22px;
  margin: 16px 10px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 20px;
}

.review-track strong {
  color: var(--accent);
}

.review-track p {
  margin: 12px 0;
  color: var(--silver);
}

.review-track span {
  color: var(--muted);
  font-size: .86rem;
}

@keyframes reviews {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
}

.page-hero {
  min-height: 330px;
  display: grid;
  align-items: end;
  padding: 92px 5vw 52px;
  background: linear-gradient(135deg, rgba(255,255,255,.04), rgba(255,255,255,.01)), var(--bg);
  border-bottom: 1px solid var(--line);
}

.page-hero > div {
  width: min(940px, 100%);
}

.page-hero h1 {
  max-width: 780px;
  font-size: clamp(2.2rem, 5vw, 4.7rem);
}

.page-hero p:last-child {
  max-width: 620px;
  color: var(--silver);
}

.stock-hero {
  background-image: linear-gradient(90deg, rgba(5,6,7,.92), rgba(5,6,7,.62)), url("/assets/illus-audi-front.jpg");
  background-size: cover;
  background-position: center;
}

.contact-hero {
  background-image: linear-gradient(90deg, rgba(5,6,7,.95), rgba(5,6,7,.7)), url("/assets/showroom-4.jpeg");
  background-size: cover;
  background-position: center;
}

.sell-hero {
  background-image: linear-gradient(90deg, rgba(5,6,7,.95), rgba(5,6,7,.7)), url("/assets/showroom-5.jpeg");
  background-size: cover;
  background-position: center;
}

.filters-shell {
  padding-top: 34px;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.filter-bar button {
  min-height: 38px;
  padding: 8px 13px;
  color: var(--silver);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: transform .22s ease, box-shadow .22s ease;
}

.filter-bar button.active {
  color: #020303;
  background: var(--accent);
  border-color: var(--accent);
}

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

.stock-slot {
  min-height: 360px;
  display: flex;
  flex-direction: column;
}

.slot-visual {
  height: 145px;
  background: linear-gradient(135deg, #171b20, var(--accent-soft));
  border-bottom: 1px solid var(--line);
  border-radius: 20px 20px 0 0;
}

.stock-slot div:not(.slot-visual) {
  flex: 1;
  padding: 20px;
}

.stock-slot a {
  margin: 0 20px 20px;
}

.contact-layout,
.sell-layout {
  display: grid;
  grid-template-columns: .42fr 1fr;
  gap: 22px;
  align-items: start;
}

.contact-details,
.form-panel,
.sell-aside {
  padding: 24px;
}

.contact-details a:not(.button) {
  color: var(--silver);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 4px;
}

form {
  display: grid;
  gap: 16px;
}

.form-heading {
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.form-heading h2,
.form-heading p {
  margin-bottom: 0;
}

.form-panel > h2 {
  margin: 12px 0 0;
  color: var(--silver);
  font-size: 1.25rem;
}

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

.form-row.three {
  grid-template-columns: repeat(3, 1fr);
}

.form-row > * {
  min-width: 0;
}

label {
  display: grid;
  gap: 7px;
  color: var(--silver);
  font-size: .88rem;
  font-weight: 650;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  padding: 11px 12px;
  color: var(--text);
  background: #090b0e;
  border: 1px solid var(--line);
  border-radius: 14px;
  font: inherit;
}

input[type="file"] {
  min-height: auto;
  padding: 9px;
  overflow: hidden;
}

input[type="file"]::file-selector-button {
  min-height: 36px;
  margin-right: 12px;
  padding: 7px 12px;
  color: #020303;
  background: var(--accent);
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 760;
  cursor: pointer;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--accent-soft);
  border-color: var(--accent);
}

textarea {
  resize: vertical;
}

.upload-field {
  display: grid;
  gap: 8px;
}

.upload-field p {
  margin: 0;
  color: var(--muted);
  font-size: .82rem;
}

.upload-field .field-label {
  color: var(--silver);
  font-size: .88rem;
  font-weight: 650;
}

.checkbox-field {
  display: flex;
  grid-template-columns: none;
  align-items: flex-start;
  gap: 10px;
}

.checkbox-field input {
  width: 18px;
  min-height: 18px;
  margin: 2px 0 0;
  accent-color: var(--accent);
}

.checkbox-field a,
.form-privacy a {
  color: var(--silver);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 4px;
}

.form-privacy {
  margin: 0;
  color: var(--muted);
  font-size: .86rem;
  line-height: 1.6;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hidden {
  display: none;
}

.sell-layout {
  grid-template-columns: 1fr .36fr;
}

.sell-aside {
  position: sticky;
  top: 92px;
}

.sell-aside img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  margin-bottom: 22px;
  border-radius: 16px;
}

.contact-block {
  display: grid;
  gap: 7px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.contact-block a {
  color: var(--silver);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 4px;
  overflow-wrap: anywhere;
}

.site-footer {
  padding: 42px 5vw calc(28px + var(--footer-pad));
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
}

.footer-grid {
  width: min(1180px, 100%);
  display: grid;
  grid-template-columns: minmax(280px, 1.4fr) .65fr 1fr;
  gap: clamp(28px, 5vw, 72px);
  margin: 0 auto;
}

.footer-brand,
.footer-nav {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-brand .brand {
  width: fit-content;
  margin-bottom: 8px;
}

.footer-nav strong {
  margin-bottom: 5px;
  color: var(--silver);
}

.footer-nav a {
  width: fit-content;
  color: var(--muted);
}

.footer-nav a:hover,
.footer-nav a[aria-current="page"] {
  color: var(--accent);
}

.footer-bottom {
  width: min(1180px, 100%);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin: 34px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: .84rem;
}

.legal-page {
  width: min(920px, 90vw);
  margin: 0 auto;
  padding: clamp(64px, 9vw, 112px) 0;
}

.legal-heading {
  max-width: 760px;
  margin-bottom: 54px;
}

.legal-heading h1 {
  margin-bottom: 16px;
}

.legal-heading > p:last-child {
  color: var(--muted);
}

.legal-content {
  display: grid;
}

.legal-content section {
  padding: 30px 0;
  border-top: 1px solid var(--line);
}

.legal-content h2 {
  margin-bottom: 14px;
  color: var(--silver);
  font-size: clamp(1.25rem, 3vw, 1.7rem);
}

.legal-content p,
.legal-content li,
.legal-details dd {
  color: var(--muted);
  line-height: 1.75;
}

.legal-content a {
  color: var(--silver);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 4px;
  overflow-wrap: anywhere;
}

.legal-content ul {
  display: grid;
  gap: 8px;
  padding-left: 22px;
}

.legal-details {
  display: grid;
  margin: 24px 0 0;
  border-top: 1px solid var(--line);
}

.legal-details div {
  display: grid;
  grid-template-columns: minmax(180px, .6fr) 1.4fr;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.legal-details dt {
  color: var(--silver);
  font-weight: 700;
}

.legal-details dd {
  margin: 0;
}

.mobile-actions {
  display: none;
}

.success-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.success-page section {
  width: min(640px, 100%);
  padding: 36px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 22px;
}

@media (max-width: 1000px) {
  .placeholder-grid,
  .stock-grid,
  .detail-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-band,
  .trade-in-band,
  .international-band,
  .trust-panel,
  .showroom-section,
  .contact-layout,
  .sell-layout {
    grid-template-columns: 1fr;
  }

  .trust-intro,
  .showroom-heading {
    position: static;
    max-width: 680px;
  }

  .sell-aside {
    position: static;
  }
}

@media (max-width: 760px) {
  :root {
    --footer-pad: 74px;
  }

  .site-header {
    min-height: 64px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 64px 0 auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px 5vw 18px;
    background: rgba(5, 6, 7, .98);
    border-bottom: 1px solid var(--line);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    min-height: 46px;
    display: flex;
    align-items: center;
  }

  .compact-hero {
    min-height: 760px;
  }

  .hero-content {
    padding: 58px 5vw 250px;
  }

  h1 {
    font-size: clamp(2.3rem, 13vw, 3.7rem);
  }

  .hero-title {
    gap: 10px;
  }

  .hero-title span:last-child {
    margin-top: .48em;
  }

  .hero-strip {
    grid-template-columns: repeat(2, 1fr);
    bottom: 110px;
  }

  .hero-proofs {
    gap: 8px;
    margin-top: 18px;
  }

  .hero-proofs span {
    min-height: 34px;
    padding: 7px 11px;
    font-size: .78rem;
  }

  .hero-strip span {
    min-height: 52px;
    font-size: .82rem;
  }

  .intro-grid,
  .placeholder-grid,
  .stock-grid,
  .detail-grid,
  .form-row,
  .form-row.three,
  .showroom-gallery {
    grid-template-columns: 1fr;
  }

  .trust-list article {
    grid-template-columns: 42px 1fr;
    gap: 14px;
    padding: 20px 0;
  }

  .section-title,
  .final-cta {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }

  .feature-image img {
    height: 250px;
  }

  .trade-in-image img {
    height: 260px;
  }

  .showroom-gallery figure,
  .showroom-gallery figure.large {
    min-height: 260px;
  }

  .detail-grid img,
  .vehicle-placeholder.visual-card img {
    height: 190px;
  }

  .review-track article {
    width: 270px;
  }

  .mobile-actions {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 30;
    display: grid;
    grid-template-columns: 1fr 56px;
    gap: 10px;
    pointer-events: none;
  }

  .sell-page .mobile-actions {
    grid-template-columns: 1fr;
  }

  .call-action,
  .whatsapp-action {
    pointer-events: auto;
    min-height: 56px;
    display: grid;
    place-items: center;
    color: #020303;
    font-weight: 850;
    box-shadow: 0 14px 32px rgba(0,0,0,.36);
    border-radius: 999px;
  }

  .call-action {
    background: var(--accent);
  }

  .whatsapp-action {
    color: white;
    background: #25d366;
  }

  .whatsapp-action svg {
    width: 34px;
    height: 34px;
  }

  .form-panel,
  .contact-details,
  .sell-aside {
    padding: 18px;
  }

  input,
  select,
  textarea {
    min-height: 48px;
    font-size: 16px;
  }

  input[type="file"] {
    min-height: 54px;
    padding: 8px;
    font-size: .9rem;
  }

  input[type="file"]::file-selector-button {
    min-height: 38px;
    margin-right: 8px;
    padding: 7px 10px;
  }

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

  .site-footer {
    padding-top: 34px;
  }

  .footer-grid,
  .legal-details div {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }

  .legal-page {
    width: min(100% - 36px, 920px);
    padding: 54px 0 92px;
  }

  .legal-heading {
    margin-bottom: 34px;
  }

  .legal-content section {
    padding: 24px 0;
  }

  .legal-details div {
    gap: 3px;
  }
}

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

  .review-track {
    animation: none;
  }
}
