:root {
  --ink: #11141a;
  --ink-2: #262b34;
  --muted: #66707d;
  --line: #dde3ea;
  --soft: #f4f6f8;
  --surface: #ffffff;
  --steel: #e9eef3;
  --crimson: #c8102e;
  --crimson-dark: #9d0b22;
  --gold: #f0b429;
  --green: #287a4b;
  --shadow: 0 16px 40px rgba(17, 20, 26, 0.12);
  --radius: 8px;
  font-family: Inter, Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--surface);
  color: var(--ink);
  font-family: Inter, Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

body.lightbox-open,
body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

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

button {
  cursor: pointer;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(200, 16, 46, 0.28);
  outline-offset: 3px;
}

.container {
  width: min(calc(100% - 40px), 1240px);
  margin-inline: auto;
}

.icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  flex: 0 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.top-bar {
  color: white;
  background: #0d1016;
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 38px;
}

.top-bar a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.86rem;
  text-decoration: none;
}

.top-bar .icon {
  width: 16px;
  height: 16px;
  color: var(--crimson);
}

.main-header {
  background: white;
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 86px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 230px;
  color: var(--ink);
  text-decoration: none;
}

.brand img {
  width: 142px;
  height: auto;
  max-height: 54px;
  object-fit: contain;
}

.brand span {
  display: none;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.desktop-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 13px;
  color: var(--ink-2);
  border-bottom: 3px solid transparent;
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
}

.desktop-nav a:hover,
.desktop-nav a.active {
  color: var(--crimson);
  border-bottom-color: var(--crimson);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.call-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  color: white;
  background: var(--crimson);
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 900;
  text-decoration: none;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--ink);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.mobile-panel {
  display: none;
}

.mobile-menu-backdrop {
  display: none;
}

.mobile-quick-nav {
  display: none;
}

.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  color: white;
  background:
    linear-gradient(90deg, rgba(10, 12, 18, 0.94) 0%, rgba(10, 12, 18, 0.72) 44%, rgba(10, 12, 18, 0.08) 100%),
    var(--hero-image) center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.42));
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-copy {
  max-width: 680px;
  padding: 76px 0 92px;
}

.hero h1,
.page-hero h1 {
  margin: 0;
  color: inherit;
  font-size: 4.85rem;
  line-height: 0.98;
  letter-spacing: 0;
}

.page-hero h1 {
  font-size: 4.1rem;
}

.hero p,
.page-hero p {
  max-width: 680px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.15rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-badges span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 12px;
  color: white;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  font-size: 0.92rem;
  font-weight: 800;
}

.hero-badges .icon {
  color: var(--gold);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 900;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

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

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

.button-primary:hover {
  background: var(--crimson-dark);
  border-color: var(--crimson-dark);
}

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

.button-outline {
  color: var(--ink);
  background: white;
  border-color: var(--line);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--crimson);
  font-weight: 900;
  text-decoration: none;
}

.text-link .icon {
  width: 17px;
  height: 17px;
}

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

.search-band {
  position: relative;
  z-index: 2;
  margin-top: -54px;
}

.search-band .container {
  padding: 22px;
  background: #121620;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.search-band h2 {
  margin: 0 0 14px;
  color: white;
  font-size: 1.05rem;
  text-transform: uppercase;
}

.vehicle-search {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr)) auto;
  gap: 12px;
}

.vehicle-search label,
.filter-panel label,
.lead-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 900;
}

.vehicle-search label {
  color: rgba(255, 255, 255, 0.72);
}

.vehicle-search select,
.filter-panel select,
.filter-panel input,
.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  color: var(--ink);
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.lead-form textarea {
  min-height: 120px;
  padding-top: 12px;
  resize: vertical;
}

.section {
  padding: 70px 0;
}

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

.section-kicker {
  margin: 0 0 8px;
  color: var(--crimson);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section h2,
.section-head h2,
.content-main h2,
.legal-copy h2 {
  margin: 0;
  color: var(--ink);
  font-size: 2.45rem;
  line-height: 1.05;
  letter-spacing: 0;
}

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

.vehicle-card {
  display: grid;
  grid-template-rows: 218px auto;
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.vehicle-card:hover {
  transform: translateY(-3px);
  border-color: #cad2db;
  box-shadow: var(--shadow);
}

.vehicle-image {
  position: relative;
  overflow: hidden;
  color: inherit;
  background: var(--steel);
}

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

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

.status-pill {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 9px;
  color: white;
  background: var(--green);
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.vehicle-body {
  display: grid;
  gap: 13px;
  padding: 16px;
}

.vehicle-body h3 {
  min-height: 52px;
  margin: 0;
  color: var(--ink);
  font-size: 1.02rem;
  line-height: 1.25;
}

.vehicle-body h3 a {
  text-decoration: none;
}

.spec-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  color: var(--muted);
  font-size: 0.86rem;
  list-style: none;
}

.spec-list li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.spec-list .icon {
  width: 16px;
  height: 16px;
  color: var(--crimson);
}

.price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.price-row span {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
}

.price-row strong {
  color: var(--ink);
  font-size: 1.45rem;
  line-height: 1;
}

.card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.card-actions button {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--ink);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.card-actions button.saved,
.card-actions button:hover {
  color: white;
  background: var(--crimson);
  border-color: var(--crimson);
}

.subtle-band {
  background: var(--soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.split-section,
.rich-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 36px;
  align-items: start;
}

.split-section h2,
.rich-copy h2 {
  max-width: 760px;
}

.rich-copy p {
  color: var(--muted);
  font-size: 1.04rem;
}

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

.feature-list article,
.review-card,
.step-grid article,
.reason-grid article,
.contact-card-grid article,
.showroom-block article,
.legal-aside {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.feature-list article {
  padding: 22px;
}

.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
  color: white;
  background: var(--crimson);
  border-radius: var(--radius);
}

.feature-list h3,
.review-card h3,
.step-grid h3,
.showroom-block h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 1.08rem;
}

.feature-list p,
.review-card p,
.step-grid p,
.legal-copy p,
.legal-copy li,
.legal-aside p {
  margin: 0;
  color: var(--muted);
}

.feature-list ul {
  display: grid;
  gap: 7px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: flex;
  gap: 7px;
  color: var(--muted);
  font-size: 0.9rem;
}

.feature-list li .icon {
  width: 16px;
  height: 16px;
  color: var(--green);
}

.stat-band {
  padding: 36px 0;
  color: white;
  background: #11141a;
}

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

.stat-grid article {
  padding: 10px 0;
}

.stat-grid span {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.stat-grid strong {
  display: block;
  margin-top: 5px;
  color: white;
  font-size: 2rem;
}

.stat-grid p {
  max-width: 320px;
  margin: 5px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

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

.review-source-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin: 24px 0 16px;
  padding: 22px;
  color: white;
  background: linear-gradient(135deg, #121722, #263241);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.review-source-card span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.review-source-card strong {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 4px;
  font-size: 3.2rem;
  line-height: 1;
}

.review-source-card small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.1rem;
}

.review-source-card p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.review-source-meta {
  display: grid;
  justify-items: end;
  gap: 12px;
}

.review-source-meta .button {
  color: var(--ink);
}

.review-distribution {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.review-distribution span {
  padding: 4px 9px;
  color: white;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  letter-spacing: 0;
  text-transform: none;
}

.review-card {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 20px;
}

.stars {
  display: flex;
  gap: 2px;
  color: var(--gold);
}

.stars .icon {
  width: 16px;
  height: 16px;
  fill: currentColor;
  stroke-width: 1.4;
}

.review-card strong {
  color: var(--ink);
}

.page-hero {
  padding: 88px 0 78px;
  color: white;
  background:
    linear-gradient(90deg, rgba(12, 14, 20, 0.92), rgba(12, 14, 20, 0.74)),
    url("https://cdn.carous.co.uk/img/insecure/rs:fill:1400:700/q:82/f:webp/plain/local:///dealers/cnhcars/images/cnh-home.png") center / cover no-repeat;
}

.page-hero .section-kicker {
  color: var(--gold);
}

.inventory-hero,
.legal-hero {
  background:
    linear-gradient(90deg, rgba(12, 14, 20, 0.94), rgba(12, 14, 20, 0.86)),
    url("https://m.atcdn.co.uk/a/media/908dbddc38c442b48f008fcfbb2df532.jpg") center / cover no-repeat;
}

.inventory-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  padding: 34px 0 80px;
}

.filter-panel {
  position: sticky;
  top: 108px;
  padding: 18px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(17, 20, 26, 0.07);
}

.filter-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.filter-title h2 {
  margin: 0;
  font-size: 1.1rem;
}

.filter-title button,
.pagination button {
  color: var(--ink);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 900;
}

.filter-title button {
  min-height: 36px;
  padding: 0 10px;
}

.filter-panel form,
.filter-search {
  display: grid;
  gap: 12px;
}

.filter-search {
  display: contents;
}

.filter-search button {
  display: none;
}

.filter-search label {
  color: var(--muted);
}

.inventory-results {
  min-width: 0;
}

.results-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 70px;
  margin-bottom: 18px;
  padding: 14px 16px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.results-toolbar strong,
.results-toolbar span {
  display: block;
}

.results-toolbar span {
  color: var(--muted);
  font-size: 0.9rem;
}

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

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.pagination > div {
  display: flex;
  align-items: center;
  gap: 6px;
}

.pagination button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 42px;
  min-height: 42px;
  padding: 0 12px;
}

.pagination button.active,
.pagination button:hover:not(:disabled) {
  color: white;
  background: var(--crimson);
  border-color: var(--crimson);
}

.pagination button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.ellipsis {
  padding: 0 6px;
  color: var(--muted);
}

.empty-state {
  padding: 36px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.vehicle-detail {
  padding: 34px 0 80px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 0.9rem;
}

.breadcrumb a {
  color: var(--crimson);
  font-weight: 900;
  text-decoration: none;
}

.breadcrumb strong {
  min-width: 0;
  overflow-wrap: anywhere;
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(360px, 0.75fr);
  gap: 24px;
  align-items: start;
}

.detail-grid > * {
  min-width: 0;
}

.gallery {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.gallery-main {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  padding: 0;
  background: var(--steel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: inherit;
  text-align: left;
  cursor: zoom-in;
}

.gallery-main::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 58%, rgba(0, 0, 0, 0.36));
  opacity: 0;
  transition: opacity 0.2s ease;
}

.gallery-main:hover::after {
  opacity: 1;
}

.gallery-main img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-open-label {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
  color: white;
  background: rgba(13, 16, 22, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  font-size: 0.86rem;
  font-weight: 900;
}

.gallery-open-label .icon {
  width: 17px;
  height: 17px;
}

.thumb-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(84px, 108px);
  gap: 8px;
  min-width: 0;
  max-width: 100%;
  margin-top: 10px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  padding-bottom: 8px;
  scrollbar-width: thin;
}

.thumb-row button {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  padding: 0;
  background: white;
  border: 2px solid transparent;
  border-radius: 6px;
  opacity: 0.72;
  transition: border-color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.thumb-row button:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.thumb-row button.active {
  border-color: var(--crimson);
  opacity: 1;
}

.thumb-row img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lightbox[hidden] {
  display: none !important;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 64px;
  align-items: center;
  gap: 18px;
  padding: 72px 28px 28px;
  background: rgba(7, 9, 13, 0.95);
}

.lightbox figure {
  grid-column: 2;
  display: grid;
  gap: 14px;
  min-width: 0;
  margin: 0;
}

.lightbox img {
  width: auto;
  max-width: 100%;
  max-height: calc(100vh - 170px);
  margin: auto;
  object-fit: contain;
  background: #0d1016;
  border-radius: var(--radius);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}

.lightbox figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: white;
  font-size: 0.95rem;
  font-weight: 900;
}

.lightbox figcaption strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lightbox figcaption span {
  flex: 0 0 auto;
  color: rgba(255, 255, 255, 0.78);
}

.lightbox-close,
.lightbox-nav {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: white;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  transition: background 0.2s ease, color 0.2s ease;
}

.lightbox-close:hover,
.lightbox-nav:hover {
  color: var(--ink);
  background: white;
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
}

.lightbox-prev {
  grid-column: 1;
}

.lightbox-next {
  grid-column: 3;
}

.detail-panel {
  position: sticky;
  top: 108px;
  min-width: 0;
  padding: 24px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.detail-panel h1 {
  margin: 0;
  color: var(--ink);
  font-size: 2.35rem;
  line-height: 1.08;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.detail-price {
  display: grid;
  gap: 4px;
  margin: 20px 0;
  padding: 16px;
  background: var(--soft);
  border-radius: var(--radius);
}

.detail-price span {
  color: var(--muted);
  font-weight: 900;
}

.detail-price strong {
  color: var(--ink);
  font-size: 2rem;
  line-height: 1;
}

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

.detail-specs li {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 9px;
  color: var(--ink);
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 800;
}

.detail-specs .icon {
  color: var(--crimson);
}

.detail-actions {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.vehicle-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  align-items: start;
}

.vehicle-copy p {
  white-space: pre-line;
}

.vehicle-copy aside {
  padding: 20px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.vehicle-copy dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.vehicle-copy dl div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
}

.vehicle-copy dt {
  color: var(--muted);
  font-weight: 800;
}

.vehicle-copy dd {
  margin: 0;
  color: var(--ink);
  font-weight: 900;
  text-align: right;
}

.content-main {
  background: white;
}

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

.step-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  grid-column: 1 / -1;
}

.step-grid.compact {
  grid-template-columns: 1fr;
  margin-top: 24px;
}

.step-grid article {
  padding: 20px;
}

.step-grid span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--crimson);
  font-size: 0.82rem;
  font-weight: 950;
}

.faq-list {
  grid-column: 1 / -1;
  display: grid;
  gap: 10px;
}

.faq-list details {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
}

.faq-list summary {
  color: var(--ink);
  cursor: pointer;
  font-weight: 900;
}

.faq-list p {
  margin: 10px 0 0;
  color: var(--muted);
}

.sell-grid,
.contact-grid,
.legal-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.45fr);
  gap: 28px;
  align-items: start;
}

.lead-form {
  display: grid;
  gap: 14px;
  padding: 22px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.lead-form h2 {
  font-size: 1.35rem;
}

.sell-section {
  background:
    radial-gradient(circle at 82% 4%, rgba(200, 16, 46, 0.08), transparent 30%),
    linear-gradient(180deg, #f7f9fc 0%, #ffffff 100%);
}

.sell-grid {
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 0.75fr);
}

.sell-content {
  min-width: 0;
}

.sell-content h1 {
  max-width: 760px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.35rem, 4.6vw, 4.4rem);
  line-height: 1;
  letter-spacing: 0;
}

.sell-content > p {
  max-width: 720px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.sell-process {
  max-width: 740px;
}

.part-exchange-info {
  max-width: 740px;
  margin-top: 18px;
  padding: 22px;
  background: #11141a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  color: white;
  box-shadow: var(--shadow);
}

.part-exchange-info .feature-icon {
  margin-bottom: 14px;
  color: var(--ink);
  background: var(--gold);
}

.part-exchange-info h2 {
  margin: 0;
  color: white;
  font-size: 1.45rem;
}

.part-exchange-info p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.76);
}

.part-exchange-info ul {
  display: grid;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.part-exchange-info li {
  display: flex;
  align-items: start;
  gap: 8px;
  color: rgba(255, 255, 255, 0.82);
}

.part-exchange-info li .icon {
  width: 17px;
  height: 17px;
  margin-top: 3px;
  color: var(--gold);
}

.sell-contact-panel {
  max-width: 740px;
  margin-top: 18px;
  padding: 20px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 28px rgba(17, 20, 26, 0.07);
}

.sell-contact-panel h2 {
  margin: 0;
  color: var(--ink);
  font-size: 1.35rem;
}

.sell-contact-panel p {
  margin: 8px 0 16px;
  color: var(--muted);
}

.sell-checklist {
  display: grid;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  color: var(--muted);
  list-style: none;
}

.sell-checklist li {
  display: flex;
  align-items: start;
  gap: 8px;
}

.sell-checklist .icon {
  width: 17px;
  height: 17px;
  margin-top: 3px;
  color: var(--green);
}

.sell-enquiry-form {
  position: sticky;
  top: 108px;
  gap: 13px;
}

.sell-enquiry-form h2 {
  margin: 0;
}

.sell-form-note {
  margin: -4px 0 4px;
  color: var(--muted);
  font-size: 0.94rem;
}

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

.sell-agreement {
  margin-top: 2px;
}

.sell-form-actions {
  margin-top: 6px;
}

.sell-form-actions .button {
  min-width: 0;
}

.valuation-section {
  min-height: 620px;
  background:
    radial-gradient(circle at 80% 5%, rgba(65, 105, 225, 0.1), transparent 34%),
    #f7f8fb;
}

.valuation-shell {
  max-width: 760px;
}

.valuation-heading {
  display: inline-block;
  padding: 4px 10px 2px;
  background: white;
  box-shadow: 0 12px 26px rgba(17, 20, 26, 0.08);
}

.valuation-heading h1 {
  margin: 0;
  font-size: clamp(2.1rem, 4vw, 3rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.valuation-heading p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.valuation-steps {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0;
  margin: 26px 0 28px;
  list-style: none;
}

.valuation-step {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.valuation-step > span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  color: #526079;
  background: white;
  border: 1px solid #b9c5d7;
  border-radius: 50%;
  font-weight: 900;
}

.valuation-step .icon {
  width: 18px;
  height: 18px;
  stroke-width: 3;
}

.valuation-step strong {
  color: #172033;
  font-size: 0.98rem;
}

.valuation-step.active > span {
  color: white;
  background: #4169e1;
  border-color: #4169e1;
  box-shadow: 0 0 0 5px rgba(65, 105, 225, 0.16);
}

.valuation-step.complete > span {
  color: white;
  background: #15834b;
  border-color: #15834b;
}

.valuation-step-line {
  flex: 0 0 44px;
  height: 1px;
  background: #b9c5d7;
}

.valuation-panel {
  max-width: 640px;
}

.valuation-panel h2 {
  margin: 0 0 14px;
  font-size: 1.55rem;
  line-height: 1.15;
}

.valuation-panel > p {
  max-width: 560px;
  margin: 0 0 22px;
  color: #56617a;
  font-size: 1.03rem;
}

.valuation-identify-form,
.valuation-result-grid,
.valuation-choice-block,
.valuation-details-form {
  max-width: 620px;
}

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

.valuation-fields,
.valuation-two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.valuation-fields label,
.valuation-details-form label {
  display: grid;
  gap: 7px;
  color: #526079;
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.valuation-details-form label input,
.valuation-details-form label select,
.valuation-details-form label textarea {
  color: var(--ink);
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.valuation-plate-input,
.valuation-plate {
  display: flex;
  align-items: stretch;
  min-height: 44px;
  overflow: hidden;
  background: #ffea12;
  border: 1px solid #aeb8ca;
  border-radius: 9px;
}

.plate-country {
  display: grid;
  place-items: center;
  width: 54px;
  color: white;
  background: #003d8f;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.valuation-plate-input input {
  min-width: 0;
  width: 100%;
  min-height: 44px;
  padding: 0 14px;
  color: #05070c;
  background: #ffea12;
  border: 0;
  font-family: "Courier New", monospace;
  font-size: 1.22rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.valuation-plate strong {
  display: grid;
  place-items: center;
  min-width: 220px;
  padding: 0 20px;
  color: #05070c;
  font-family: "Courier New", monospace;
  font-size: 1.35rem;
  letter-spacing: 0.08em;
}

.valuation-mileage-input {
  position: relative;
}

.valuation-mileage-input input {
  width: 100%;
  min-height: 44px;
  padding: 0 62px 0 14px;
  color: var(--ink);
  background: white;
  border: 1px solid #b9c5d7;
  border-radius: 9px;
}

.valuation-mileage-input span {
  position: absolute;
  top: 50%;
  right: 14px;
  color: #526079;
  transform: translateY(-50%);
}

.valuation-main-button {
  justify-self: start;
  min-width: 166px;
  background: #4169e1;
  border-color: #4169e1;
}

.valuation-main-button:hover,
.valuation-actions .button-primary:hover {
  background: #3156c6;
  border-color: #3156c6;
}

.valuation-result-grid {
  display: grid;
  gap: 18px;
}

.valuation-match-card,
.valuation-price-card {
  padding: 18px;
  background: white;
  border: 1px solid rgba(65, 105, 225, 0.34);
  border-radius: 16px;
  box-shadow: 0 10px 26px rgba(17, 20, 26, 0.05);
}

.valuation-match-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.valuation-match-head span,
.valuation-price-card span,
.valuation-choice-block h3 {
  color: #526079;
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.valuation-match-head strong {
  padding: 4px 10px;
  color: #087334;
  background: #dff5e7;
  border: 1px solid #a8dec0;
  border-radius: 999px;
  font-size: 0.78rem;
}

.valuation-match-card h3 {
  max-width: 100%;
  margin: 12px 0 10px;
  overflow: hidden;
  color: #070a12;
  font-size: 1.3rem;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.valuation-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.valuation-tags span {
  padding: 4px 10px;
  color: #526079;
  background: #f8fafc;
  border: 1px solid #d7dee9;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
}

.valuation-price-card {
  display: grid;
  gap: 8px;
  background:
    linear-gradient(135deg, rgba(65, 105, 225, 0.1), rgba(255, 255, 255, 0.92) 64%),
    white;
}

.valuation-price-card strong {
  color: #4169e1;
  font-size: 3rem;
  line-height: 1;
}

.valuation-choice-block {
  margin-top: 20px;
}

.valuation-choice-block h3 {
  margin: 0 0 8px;
}

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

.valuation-option {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 12px 14px;
  background: white;
  border: 1px solid #b9c5d7;
  border-radius: 12px;
  cursor: pointer;
}

.valuation-option.active {
  border-color: #4169e1;
  box-shadow: 0 0 0 3px rgba(65, 105, 225, 0.12);
}

.valuation-option input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #4169e1;
}

.valuation-option span {
  flex: 1;
  color: var(--ink);
  font-weight: 900;
}

.valuation-option strong {
  color: #526079;
  font-weight: 950;
}

.valuation-smallprint {
  margin: 18px 0 0;
  color: #56617a;
  font-size: 0.94rem;
}

.valuation-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 24px;
}

.valuation-actions .button-primary {
  background: #4169e1;
  border-color: #4169e1;
}

.valuation-details-form {
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.valuation-details-form textarea {
  min-height: 82px;
}

.valuation-details-form select {
  appearance: none;
  background:
    linear-gradient(45deg, transparent 50%, #526079 50%) right 17px top 21px / 7px 7px no-repeat,
    linear-gradient(135deg, #526079 50%, transparent 50%) right 12px top 21px / 7px 7px no-repeat,
    white;
}

.valuation-agreement {
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  margin-top: 6px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid #b9c5d7;
  border-radius: 12px;
  color: #526079;
  font-size: 0.93rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.45;
  text-transform: none;
}

.valuation-agreement input {
  width: 18px;
  min-height: auto;
  height: 18px;
  padding: 0;
  margin: 2px 0 0;
}

.valuation-reasons article {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

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

.reason-grid article {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px;
  font-weight: 900;
}

.reason-grid .icon {
  color: var(--green);
}

.contact-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0;
}

.contact-card-grid article {
  display: grid;
  gap: 8px;
  padding: 18px;
}

.contact-card-grid .icon {
  color: var(--crimson);
}

.contact-card-grid strong {
  color: var(--ink);
}

.contact-card-grid span {
  color: var(--muted);
  overflow-wrap: anywhere;
}

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

.showroom-block article {
  padding: 18px;
}

.showroom-block p {
  margin: 0;
  color: var(--muted);
}

.map-band {
  color: white;
  background: #11141a;
}

.map-band h2 {
  max-width: 760px;
  color: white;
}

.showroom-contact-section {
  background:
    radial-gradient(circle at top left, rgba(200, 16, 46, 0.08), transparent 32%),
    linear-gradient(180deg, #f6f8fb 0%, #ffffff 100%);
  border-top: 1px solid var(--line);
}

.showroom-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(340px, 0.8fr);
  gap: 18px;
  margin-bottom: 18px;
}

.location-form {
  gap: 14px;
  padding: 22px;
}

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

.field-with-icon {
  position: relative;
  display: block;
}

.field-with-icon .icon {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 1;
  width: 19px;
  height: 19px;
  color: #536985;
  pointer-events: none;
}

.field-with-icon input,
.field-with-icon textarea {
  padding-left: 44px;
  background: #fbfcff;
}

.field-with-icon textarea {
  padding-top: 16px;
}

.message-field .icon {
  top: 18px;
}

.location-form-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.location-form-actions span {
  color: #6f7f95;
  font-size: 0.92rem;
}

.location-details {
  padding: 22px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.location-details h2 {
  margin: 0 0 16px;
  color: var(--ink);
  font-size: 1.35rem;
}

.location-detail-list {
  display: grid;
  gap: 12px;
}

.location-detail {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 12px;
  min-height: 74px;
  padding: 16px;
  color: var(--ink);
  background: #f7f9fc;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
}

.location-detail:hover {
  border-color: rgba(200, 16, 46, 0.32);
}

.location-detail > .icon {
  color: var(--crimson);
}

.location-detail span {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.location-detail small {
  color: #65758c;
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.location-detail strong {
  color: var(--ink);
  overflow-wrap: anywhere;
}

.embedded-map {
  position: relative;
  overflow: hidden;
  height: 330px;
  background: var(--steel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.embedded-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.map-open-button {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 0 12px;
  color: var(--crimson);
  background: white;
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 8px 22px rgba(17, 20, 26, 0.14);
  font-size: 0.86rem;
  font-weight: 900;
  text-decoration: none;
}

.map-open-button .icon {
  width: 16px;
  height: 16px;
}

.showroom-map-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.showroom-map-head h2 {
  max-width: 760px;
  margin: 0;
}

.legal-layout {
  padding-top: 44px;
}

.legal-copy {
  display: grid;
  gap: 30px;
}

.legal-copy section {
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.legal-copy h2 {
  margin-bottom: 12px;
  font-size: 1.55rem;
}

.legal-copy p + p,
.legal-copy p + ul,
.legal-copy ul + p,
.legal-copy ul + ul {
  margin-top: 10px;
}

.legal-copy ul {
  display: grid;
  gap: 6px;
  margin: 10px 0 0;
  padding-left: 20px;
}

.legal-aside {
  position: sticky;
  top: 108px;
  padding: 22px;
}

.legal-aside h2 {
  margin: 0 0 10px;
  font-size: 1.3rem;
}

.legal-aside .button {
  width: 100%;
  margin-top: 18px;
}

.cta-band {
  color: white;
  background: #11141a;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.cta-inner h2 {
  color: white;
}

.cta-inner p {
  max-width: 640px;
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer {
  color: white;
  background: #0d1016;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 32px;
  padding: 42px 0 30px;
}

.footer-logo {
  width: 140px;
  height: auto;
  padding: 8px;
  background: white;
  border-radius: var(--radius);
}

.site-footer p {
  max-width: 380px;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer h2 {
  margin: 0 0 12px;
  color: white;
  font-size: 0.88rem;
  text-transform: uppercase;
}

.site-footer a {
  display: block;
  min-height: 30px;
  color: rgba(255, 255, 255, 0.76);
  text-decoration: none;
}

.site-footer a:hover {
  color: white;
}

.footer-social {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.footer-social a {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  min-height: 34px;
  color: white;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  font-size: 0.78rem;
  font-weight: 900;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 16px 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.86rem;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 80;
  max-width: 340px;
  padding: 14px 16px;
  color: white;
  background: var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1180px) {
  .top-bar-inner {
    justify-content: flex-start;
    overflow-x: auto;
  }

  .top-bar a {
    min-width: max-content;
  }

  .desktop-nav {
    display: none;
  }

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

  .header-cta {
    justify-self: end;
  }

  .menu-button {
    display: grid;
  }

  .mobile-menu-backdrop {
    position: fixed;
    inset: 0;
    z-index: 95;
    display: block;
    background: rgba(10, 12, 18, 0.52);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease;
  }

  .mobile-menu-backdrop.open {
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-panel {
    position: fixed;
    inset: 0 0 0 auto;
    z-index: 100;
    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: 18px;
    width: min(390px, 92vw);
    max-width: 100vw;
    height: 100vh;
    height: 100dvh;
    min-height: 100vh;
    padding: 22px;
    overflow-y: auto;
    background: white;
    border-left: 1px solid var(--line);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateX(100%);
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }

  .mobile-panel.open {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    pointer-events: auto;
  }

  .mobile-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .mobile-panel-head button {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    background: var(--soft);
    border: 1px solid var(--line);
    border-radius: var(--radius);
  }

  .mobile-panel nav {
    display: grid;
    align-content: start;
    gap: 8px;
  }

  .mobile-panel nav a {
    min-height: 44px;
    padding: 11px 0;
    border-bottom: 1px solid var(--line);
    font-weight: 900;
    text-decoration: none;
  }

  .mobile-panel nav a.active {
    color: var(--crimson);
  }

  .mobile-panel .button {
    width: 100%;
  }

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

  .hero h1 {
    font-size: 3.65rem;
  }

  .page-hero h1 {
    font-size: 3.25rem;
  }

  .section h2,
  .section-head h2,
  .content-main h2,
  .legal-copy h2 {
    font-size: 2.15rem;
  }

  .detail-panel h1 {
    font-size: 2rem;
  }

  .vehicle-search .button {
    grid-column: 1 / -1;
  }

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

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

  .inventory-layout,
  .split-section,
  .rich-section,
  .detail-grid,
  .showroom-contact-grid,
  .vehicle-copy,
  .sell-grid,
  .contact-grid,
  .legal-grid {
    grid-template-columns: 1fr;
  }

  .filter-panel,
  .detail-panel,
  .legal-aside,
  .sell-enquiry-form {
    position: static;
  }

  .content-cards,
  .feature-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .showroom-map-head {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width: 760px) {
  .container {
    width: calc(100vw - 28px);
    max-width: calc(100vw - 28px);
  }

  .top-bar {
    display: none;
  }

  .mobile-quick-nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    width: 100%;
    overflow: hidden;
    background: var(--line);
    border-top: 1px solid var(--line);
  }

  .mobile-quick-nav a {
    display: grid;
    place-items: center;
    min-height: 42px;
    color: var(--ink);
    background: white;
    font-size: 0.82rem;
    font-weight: 900;
    text-decoration: none;
  }

  .mobile-quick-nav a:hover {
    color: var(--crimson);
  }

  .header-inner {
    display: flex;
    justify-content: space-between;
    min-height: 72px;
    gap: 12px;
  }

  .brand {
    min-width: 0;
  }

  .brand img {
    width: 118px;
  }

  .call-button {
    display: none;
  }

  .header-cta {
    flex: 0 0 auto;
  }

  .menu-button {
    position: static;
    display: grid;
  }

  .hero {
    min-height: 610px;
    background:
      linear-gradient(180deg, rgba(10, 12, 18, 0.92) 0%, rgba(10, 12, 18, 0.72) 58%, rgba(10, 12, 18, 0.1) 100%),
      var(--hero-image) center / cover no-repeat;
  }

  .hero-copy {
    width: min(100%, 340px);
    max-width: calc(100vw - 28px);
    padding-top: 52px;
    padding-bottom: 120px;
  }

  .hero p,
  .page-hero p {
    font-size: 1rem;
  }

  .hero h1,
  .page-hero h1 {
    width: 100%;
    max-width: 100%;
    font-size: 2.12rem;
    line-height: 1.08;
    overflow-wrap: normal;
  }

  .hero p,
  .hero-badges,
  .hero-actions {
    width: 100%;
    max-width: 100%;
  }

  .section h2,
  .section-head h2,
  .content-main h2,
  .legal-copy h2 {
    font-size: 1.72rem;
  }

  .detail-panel h1 {
    max-width: 310px;
    font-size: 1.55rem;
  }

  .gallery-main {
    height: clamp(210px, 58vw, 320px);
    aspect-ratio: auto;
  }

  .hero-actions .button,
  .cta-inner .button,
  .detail-actions .button {
    width: 100%;
  }

  .search-band {
    margin-top: -84px;
  }

  .search-band .container {
    width: min(calc(100vw - 28px), 1240px);
    padding: 16px;
  }

  .vehicle-search,
  .location-form-row,
  .vehicle-grid,
  .inventory-grid,
  .feature-list,
  .content-cards,
  .review-grid,
  .stat-grid,
  .step-grid,
  .reason-grid,
  .contact-card-grid,
  .showroom-block,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .review-source-card {
    align-items: stretch;
    flex-direction: column;
    gap: 16px;
    padding: 18px;
  }

  .review-source-card strong {
    font-size: 2.7rem;
  }

  .review-source-meta {
    justify-items: start;
  }

  .review-source-meta .button {
    width: 100%;
  }

  .review-distribution {
    justify-content: flex-start;
  }

  .section,
  .page-hero {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .section-head,
  .results-toolbar,
  .cta-inner,
  .footer-bottom {
    align-items: stretch;
    flex-direction: column;
  }

  .vehicle-card {
    grid-template-rows: 230px auto;
  }

  .spec-list,
  .detail-specs {
    grid-template-columns: 1fr;
  }

  .thumb-row {
    grid-auto-columns: minmax(74px, 26vw);
  }

  .gallery-open-label {
    right: 12px;
    bottom: 12px;
    left: 12px;
    justify-content: center;
  }

  .lightbox {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 72px 14px 78px;
  }

  .lightbox figure {
    grid-column: 1;
    width: min(100%, calc(100vw - 28px));
  }

  .lightbox img {
    width: min(100%, calc(100vw - 28px));
    max-width: calc(100vw - 28px);
    height: auto;
    max-height: calc(100vh - 220px);
  }

  .lightbox figcaption {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .lightbox figcaption strong {
    max-width: 100%;
  }

  .lightbox-close {
    top: 14px;
    right: 14px;
  }

  .lightbox-nav {
    position: absolute;
    top: 50%;
    width: 44px;
    height: 44px;
    transform: translateY(-50%);
  }

  .lightbox-prev {
    left: 14px;
  }

  .lightbox-next {
    right: 14px;
  }

  .pagination {
    flex-wrap: wrap;
  }

  .pagination > div {
    order: -1;
    width: 100%;
    justify-content: center;
  }

  .lead-form {
    padding: 18px;
  }

  .valuation-section {
    min-height: auto;
  }

  .valuation-heading {
    width: 100%;
  }

  .valuation-heading h1 {
    font-size: 2.1rem;
  }

  .valuation-heading p {
    font-size: 1rem;
  }

  .valuation-steps {
    display: grid;
    grid-template-columns: auto minmax(16px, 1fr) auto minmax(16px, 1fr) auto;
    align-items: center;
    gap: 6px;
    overflow-x: visible;
    padding: 4px 0 8px;
  }

  .valuation-step {
    gap: 5px;
  }

  .valuation-step > span {
    width: 30px;
    height: 30px;
  }

  .valuation-step strong {
    font-size: 0.8rem;
  }

  .valuation-step-line {
    width: 100%;
    margin-top: 0;
  }

  .valuation-panel h2 {
    font-size: 1.35rem;
  }

  .valuation-fields,
  .valuation-two-col,
  .valuation-options,
  .sell-form-row {
    grid-template-columns: 1fr;
  }

  .valuation-plate strong {
    min-width: 0;
    flex: 1;
    padding: 0 12px;
    font-size: 1.16rem;
  }

  .valuation-match-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .valuation-match-card h3 {
    white-space: normal;
  }

  .valuation-price-card strong {
    font-size: 2.5rem;
  }

  .valuation-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .valuation-actions .button,
  .valuation-main-button {
    width: 100%;
  }

  .location-form-actions {
    align-items: stretch;
    flex-direction: column;
  }

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

  .location-details {
    padding: 18px;
  }

  .location-detail {
    grid-template-columns: 24px minmax(0, 1fr);
    padding: 14px;
  }

  .embedded-map {
    height: 300px;
  }

  .map-open-button {
    right: 12px;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
