:root {
  --orange: #d13f05;
  --orange-2: #e64b0b;
  --orange-dark: #a92e00;
  --charcoal: #282a2b;
  --charcoal-2: #171819;
  --ink: #222426;
  --muted: #6d7276;
  --paper: #ffffff;
  --off: #f5f3f1;
  --line: #dedbd8;
  --green: #2f7452;
  --amber: #a16b1d;
  --max: 1240px;
  --shadow: 0 18px 48px rgba(0, 0, 0, .16);
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.55
}

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

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

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

button {
  cursor: pointer
}

.wrap {
  width: min(calc(100% - 40px), var(--max));
  margin: auto
}

.hide {
  display: none !important
}

.small {
  font-size: .9rem
}

.muted {
  color: var(--muted)
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 900;
  font-size: .74rem;
  color: var(--orange)
}

.eyebrow:before {
  content: "";
  width: 32px;
  height: 4px;
  background: currentColor
}

.section {
  padding: 76px 0
}

.section.soft {
  background: var(--off)
}

.section.dark {
  background: var(--charcoal);
  color: #fff
}

.section.orange {
  background: var(--orange);
  color: #fff
}

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

.section-head>p {
  max-width: 620px;
  color: var(--muted)
}

h1,
h2,
h3 {
  margin: 0 0 .55em;
  font-family: Arial Black, Arial, Helvetica, sans-serif;
  text-transform: uppercase;
  letter-spacing: -.04em;
  line-height: .96
}

h1 {
  font-size: clamp(3rem, 6.7vw, 6.8rem)
}

h2 {
  font-size: clamp(2rem, 4vw, 3.9rem)
}

h3 {
  font-size: 1.32rem;
  letter-spacing: -.02em
}

p {
  margin: .5rem 0 1rem
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 19px;
  border: 2px solid var(--orange);
  background: var(--orange);
  color: #fff;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .035em;
  font-size: .82rem;
  transition: .18s ease
}

.btn:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  transform: translateY(-1px)
}

.btn.secondary {
  background: #fff;
  color: var(--charcoal);
  border-color: #fff
}

.btn.secondary:hover {
  background: #f1efed;
  border-color: #f1efed
}

.btn.dark {
  background: var(--charcoal);
  border-color: var(--charcoal);
  color: #fff
}

.btn.ghost {
  background: transparent;
  color: var(--charcoal);
  border-color: #bbb
}

.btn.full {
  width: 100%
}

.topbar {
  background: var(--orange);
  color: #fff;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .02em
}

.topbar .wrap {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px
}

.topbar a {
  font-weight: 900
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(31, 32, 33, .98);
  border-bottom: 5px solid var(--orange);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .18)
}

.nav {
  min-height: 88px;
  display: flex;
  align-items: center;
  gap: 22px
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 305px;
  color: #fff
}

.brand-mark {
  width: 66px;
  height: 66px;
  flex: 0 0 66px
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain
}

.brand-copy {
  display: block;
  text-transform: uppercase;
  line-height: .88
}

.brand-copy strong,
.brand-copy span {
  display: block;
  font-family: Arial Black, Arial, sans-serif
}

.brand-copy strong {
  font-size: 1.18rem
}

.brand-copy span {
  font-size: 1.03rem
}

.brand-copy small {
  display: block;
  margin-top: 7px;
  font-size: .62rem;
  color: #d7d7d7;
  letter-spacing: .08em
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 3px;
  margin-left: auto
}

.nav-links a {
  color: #fff;
  padding: 12px 10px;
  font-weight: 800;
  font-size: .79rem;
  text-transform: uppercase;
  border-bottom: 3px solid transparent
}

.nav-links a:hover,
.nav-links a.active,
.nav-links a[aria-current="page"] {
  color: #fff;
  border-bottom-color: var(--orange)
}

.nav-actions {
  display: flex
}

.menu-btn {
  display: none;
  margin-left: auto;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 1.9rem
}

/* Homepage hero: the uploaded forecourt photo is deliberately the dominant visual */
.hero {
  position: relative;
  min-height: 690px;
  display: flex;
  align-items: stretch;
  background: #1d1e1f;
  overflow: hidden
}

.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20, 21, 22, .93) 0%, rgba(20, 21, 22, .78) 42%, rgba(20, 21, 22, .18) 74%, rgba(20, 21, 22, .05) 100%), url('/assets/brand/unit-wide.webp') center/cover no-repeat
}

.hero:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 5px;
  /*width: 54%;
  height: 18px;*/
  background: var(--orange)
}

.hero .wrap {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 760px) 1fr;
  align-items: center;
  gap: 40px
}

.hero-copy {
  padding: 60px 0;
  color: #fff
}

.hero .eyebrow {
  color: #fff
}

.hero h1 {
  max-width: 780px;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .25)
}

.hero h1 .accent {
  display: block;
  color: var(--orange-2)
}

.hero p {
  max-width: 660px;
  font-size: 1.13rem;
  color: #e7e7e7
}

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

.trust-row {
  display: flex;
  flex-wrap: wrap;
  margin-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, .25);
  border-bottom: 1px solid rgba(255, 255, 255, .25);
  max-width: 720px
}

.trust-pill {
  display: inline-flex;
  align-items: flex-start;
  white-space: nowrap;
  padding: 13px 18px 13px 0;
  margin-right: 20px;
  color: #fff;
  font-weight: 800;
  font-size: .8rem;
  text-transform: uppercase
}

.trust-pill:before {
  content: "\2713";
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  margin-right: 8px;
  margin-top: 2px;
  border: 2px solid #fff;
  border-radius: 50%;
  font-weight: 900
}

.hero-badge {
  justify-self: end;
  width: min(360px, 30vw);
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, .35))
}

.hero-badge img {
  width: 100%
}

.brand-strip {
  background: var(--orange);
  color: #fff
}

.brand-strip .wrap {
  display: flex;
  justify-content: center;
  flex-wrap: wrap
}

.brand-strip span {
  padding: 13px 18px;
  border-right: 1px solid rgba(255, 255, 255, .28);
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase
}

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

.quick-grid,
.service-grid,
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid #aaa;
  background: #fff
}

.quick-card,
.service-card,
.feature-card {
  padding: 26px;
  border-right: 1px solid #aaa;
  border-bottom: 5px solid #aaa;
  transition: .2s
}

.quick-card:last-child,
.service-card:nth-child(4n),
.feature-card:nth-child(4n) {
  border-right: 0
}

.quick-card:hover,
.service-card:hover,
.feature-card:hover {
  border-bottom-color: var(--orange);
  background: #fff8f4
}

.icon-box {
  width: 54px;
  height: 54px;
  background: var(--orange);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: Arial Black, Arial, sans-serif;
  font-size: 1.35rem;
  margin-bottom: 18px
}

.photo-band {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  min-height: 440px;
  background: var(--charcoal);
  overflow: hidden
}

.photo-band-media {
  min-height: 440px;
  background: url('/assets/brand/unit-cars.webp') center/cover no-repeat
}

.photo-band-copy {
  padding: 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff
}

.photo-band-copy .eyebrow {
  color: #fff
}

.photo-band-copy h2 {
  color: #fff
}

.photo-band-copy p {
  color: #dedede
}

.photo-band-copy .btn {
  align-self: flex-start
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center
}

.split img {
  width: 100%;
  max-height: 520px;
  object-fit: cover
}

.art-frame {
  background: var(--charcoal);
  padding: 8px;
  box-shadow: var(--shadow)
}

.art-frame img {
  width: 100%
}

.tick-list {
  display: grid;
  gap: 10px;
  margin: 18px 0
}

.tick-list>div {
  font-weight: 800
}

.tick-list>div:before {
  content: "\2713";
  display: inline-grid;
  place-items: center;
  width: 25px;
  height: 25px;
  margin-right: 9px;
  background: var(--orange);
  color: #fff;
  border-radius: 50%;
  font-size: .8rem
}

.section.dark .tick-list>div:before {
  background: #fff;
  color: var(--orange)
}

.recovery-feature {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 0;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow)
}

.recovery-feature img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover
}

.recovery-copy {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 10px solid var(--orange)
}

/* Stock cards */
.stock-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px
}

.vehicle-card {
  background: #fff;
  border: 1px solid #d7d7d4;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .07);
  transition: .18s;
  overflow: hidden
}

.vehicle-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, .13)
}

.vehicle-image {
  position: relative;
  aspect-ratio: 16/10;
  background: #e8e8e8;
  overflow: hidden
}

.vehicle-image img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.status,
.demo {
  position: absolute;
  z-index: 4;
  top: 12px;
  padding: 7px 10px;
  font-size: .7rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #fff
}

.status {
  left: 12px;
  background: var(--green)
}

.status.reserved {
  background: var(--amber)
}

.status.sold {
  background: #555
}

.demo {
  right: 12px;
  background: var(--orange)
}

.vehicle-body {
  padding: 20px
}

.vehicle-title {
  font-family: Arial Black, Arial, sans-serif;
  text-transform: uppercase;
  font-size: 1.25rem;
  line-height: 1.05
}

.vehicle-variant {
  color: var(--muted);
  font-size: .86rem;
  min-height: 1.4em
}

.vehicle-price {
  font-family: Arial Black, Arial, sans-serif;
  color: var(--orange);
  font-size: 1.72rem;
  margin: 13px 0
}

.vehicle-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 7px;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  padding: 12px 0;
  margin-bottom: 14px;
  font-size: .8rem
}

.vehicle-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px
}

/* Page heroes */
.page-hero,
.sales-hero {
  position: relative;
  background: var(--charcoal);
  color: #fff;
  padding: 64px 0;
  overflow: hidden;
  border-bottom: 10px solid var(--orange)
}

.page-hero .wrap,
.sales-hero .wrap {
  position: relative;
  z-index: 2
}

.page-hero h1,
.sales-hero h1 {
  font-size: clamp(2.8rem, 6vw, 5.7rem)
}

.page-hero p,
.sales-hero p {
  max-width: 720px;
  color: #dedede;
  font-size: 1.05rem
}

.page-hero .eyebrow,
.sales-hero .eyebrow {
  color: var(--orange-2)
}

.page-hero.with-art .wrap,
.sales-hero.with-art .wrap {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 390px);
  gap: 45px;
  align-items: center
}

.hero-art {
  background: #111;
  padding: 7px;
  box-shadow: 0 14px 35px rgba(0, 0, 0, .35)
}

.hero-art img {
  width: 100%;
  height: auto
}

.sales-hero {
  background: linear-gradient(90deg, rgba(28, 29, 30, .96), rgba(28, 29, 30, .76)), url('/assets/brand/unit-cars.webp') center/cover no-repeat
}

.service-photo-hero {
  background: linear-gradient(90deg, rgba(28, 29, 30, .96), rgba(28, 29, 30, .72)), url('/assets/brand/unit-wide.webp') center/cover no-repeat
}

.contact-photo-hero {
  background: linear-gradient(90deg, rgba(28, 29, 30, .96), rgba(28, 29, 30, .66)), url('/assets/brand/unit-wide.webp') center/cover no-repeat
}

.filters {
  position: relative;
  z-index: 8;
  margin-top: -26px;
  background: var(--charcoal);
  padding: 18px;
  display: grid;
  grid-template-columns: 2fr repeat(4, 1fr) auto;
  gap: 10px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .17);
  border-top: 6px solid var(--orange)
}

.field {
  display: grid;
  gap: 6px
}

.field label {
  font-size: .7rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em
}

.filters label {
  color: #fff
}

.field input,
.field select,
.field textarea,
input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid #c9c9c7;
  background: #fff;
  padding: 9px 11px;
  color: #242628
}

.field textarea,
textarea {
  min-height: 120px;
  resize: vertical
}

.listing-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  padding: 28px 0 20px
}

.listing-toolbar .field {
  min-width: 190px
}

.detail {
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  gap: 34px
}

.gallery-main {
  position: relative;
  aspect-ratio: 16/10;
  background: #eee;
  overflow: hidden
}

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

.thumbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-top: 8px
}

.thumbs button {
  padding: 0;
  border: 2px solid transparent;
  background: #eee;
  aspect-ratio: 16/10
}

.thumbs button.active {
  border-color: var(--orange)
}

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

.detail-panel,
.content-card,
.contact-box {
  background: #fff;
  border: 1px solid #d7d7d4;
  border-top: 8px solid var(--orange);
  padding: 24px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, .06)
}

.detail-panel {
  position: sticky;
  top: 118px
}

.price {
  font-family: Arial Black, Arial, sans-serif;
  font-size: 2.35rem;
  color: var(--orange)
}

.spec-table {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: #ddd;
  margin: 18px 0
}

.spec {
  background: #f2f2f0;
  padding: 11px
}

.spec b {
  display: block;
  font-size: .7rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: #6b7074
}

.features-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 9px 18px;
  padding: 0;
  list-style: none
}

.features-list li:before {
  content: "\2713";
  color: var(--orange);
  font-weight: 900;
  margin-right: 8px
}

.contact-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 30px
}

.contact-box a {
  font-weight: 900
}

.form-note {
  border-left: 5px solid var(--orange);
  background: #f4f4f2;
  padding: 12px 14px;
  font-size: .86rem
}

.notice {
  border-left: 6px solid var(--orange);
  background: #fff0e8;
  padding: 14px
}

.legal {
  max-width: 920px
}

.legal h2 {
  margin-top: 2rem;
  font-size: 1.65rem
}

.legal h3 {
  font-size: 1.1rem;
  margin-top: 1.5rem
}

.legal ul {
  padding-left: 1.2rem
}

.site-footer {
  background: var(--charcoal-2);
  color: #d8d8d8;
  border-top: 10px solid var(--orange);
  padding: 52px 0 24px
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr .75fr .75fr 1fr;
  gap: 32px
}

.footer-brand-lockup {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 14px
}

.footer-round {
  width: 96px;
  height: 96px;
  object-fit: contain
}

.footer-wordmark {
  font-family: Arial Black, Arial, sans-serif;
  text-transform: uppercase;
  color: #fff;
  line-height: .92;
  font-size: 1.35rem
}

.footer-wordmark span {
  display: block;
  color: var(--orange)
}

.footer-title {
  color: #fff;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 10px
}

.footer-links {
  display: grid;
  gap: 7px;
  font-size: .9rem
}

.footer-links a:hover {
  color: #fff
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid #3d4143;
  margin-top: 30px;
  padding-top: 18px;
  font-size: .8rem;
  color: #9fa3a5
}

.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 100;
  max-width: 820px;
  margin: auto;
  background: #fff;
  border: 1px solid #d6d6d3;
  border-top: 7px solid var(--orange);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .25);
  padding: 18px
}

.cookie-row {
  display: flex;
  gap: 18px;
  align-items: center
}

.cookie-copy {
  flex: 1
}

.cookie-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap
}

.cookie-settings {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: rgba(0, 0, 0, .58);
  display: grid;
  place-items: center;
  padding: 20px
}

.cookie-modal {
  width: min(560px, 100%);
  background: #fff;
  border-top: 8px solid var(--orange);
  padding: 24px
}

.toggle-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid #ddd
}

/* Admin */
.admin-shell {
  min-height: 100vh;
  background: #ededeb
}

.admin-top {
  background: var(--charcoal);
  color: #fff;
  padding: 14px 0;
  border-bottom: 7px solid var(--orange)
}

.admin-top .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between
}

.admin-main {
  padding: 32px 0 70px
}

.admin-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px
}

.admin-side,
.admin-panel {
  background: #fff;
  border: 1px solid #d7d7d4;
  border-top: 7px solid var(--orange);
  padding: 20px
}

.admin-side button {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  padding: 11px;
  font-weight: 900;
  text-transform: uppercase;
  font-size: .8rem
}

.admin-side button.active,
.admin-side button:hover {
  background: #fff0e8;
  color: var(--orange-dark)
}

.admin-list {
  display: grid;
  gap: 10px
}

.admin-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid #ddd;
  padding: 13px
}

.admin-item-actions {
  display: flex;
  gap: 6px
}

.mini-btn {
  border: 1px solid #ccc;
  background: #fff;
  padding: 7px 10px;
  font-weight: 800
}

.danger {
  color: #b51e1e
}

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

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

.image-preview {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 10px
}

.image-preview img {
  aspect-ratio: 16/10;
  object-fit: cover;
  border: 1px solid #ddd
}

.login-card {
  width: min(430px, calc(100% - 32px));
  margin: 70px auto;
  background: #fff;
  border-top: 8px solid var(--orange);
  padding: 28px;
  box-shadow: var(--shadow)
}

.admin-login-brand {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 20px
}

.admin-login-logo {
  width: 96px;
  height: 96px;
  object-fit: contain
}

.admin-login-wordmark {
  font-family: Arial Black, Arial, sans-serif;
  text-transform: uppercase;
  font-size: 1.5rem;
  line-height: .9
}

.admin-login-wordmark span {
  display: block;
  color: var(--orange)
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 200;
  background: var(--charcoal);
  color: #fff;
  border-left: 6px solid var(--orange);
  padding: 12px 15px
}

.empty {
  padding: 40px;
  text-align: center;
  border: 1px dashed #bbb;
  color: var(--muted)
}

.admin-table-note {
  background: #f2f2f0;
  padding: 10px 12px;
  font-size: .85rem
}

.badge {
  display: inline-flex;
  padding: 4px 8px;
  background: #eee;
  font-size: .73rem;
  font-weight: 800
}

.badge.live {
  background: #e6f5ec;
  color: #176c47
}

.badge.demo-badge {
  background: #fff0e8;
  color: #a22c00
}

.enquiry {
  border: 1px solid #ddd;
  padding: 14px
}

.enquiry-meta {
  font-size: .82rem;
  color: var(--muted);
  margin-bottom: 6px
}

.checkbox-line {
  display: flex;
  align-items: center;
  gap: 8px
}

.checkbox-line input {
  width: auto
}

.admin-help {
  background: #fff2dc;
  border: 1px solid #eccd91;
  padding: 12px;
  font-size: .87rem
}

.mt10 {
  margin-top: 10px
}

.mt18 {
  margin-top: 18px
}

.mt24 {
  margin-top: 24px
}

.row {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap
}

.spread {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px
}

@media(max-width:1050px) {
  .brand {
    min-width: 250px
  }

  .brand-mark {
    width: 58px;
    height: 58px;
    flex-basis: 58px
  }

  .brand-copy strong {
    font-size: 1.05rem
  }

  .brand-copy span {
    font-size: .92rem
  }

  .nav-links {
    display: none
  }

  .menu-btn {
    display: block
  }

  .nav-links.open {
    display: flex;
    position: absolute;
    left: 18px;
    right: 18px;
    top: 122px;
    background: var(--charcoal);
    padding: 12px;
    flex-direction: column;
    align-items: stretch;
    box-shadow: var(--shadow)
  }

  .nav-links.open a {
    padding: 11px 12px
  }

  .hero {
    min-height: 630px
  }

  .hero .wrap {
    grid-template-columns: 1fr
  }

  .hero-badge {
    display: none
  }

  .hero:before {
    background: linear-gradient(90deg, rgba(20, 21, 22, .92), rgba(20, 21, 22, .62)), url('/assets/brand/unit-wide.webp') center/cover no-repeat
  }

  .quick-grid,
  .service-grid,
  .feature-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .quick-card:nth-child(4n),
  .service-card:nth-child(4n),
  .feature-card:nth-child(4n) {
    border-right: 1px solid #aaa
  }

  .quick-card:nth-child(2n),
  .service-card:nth-child(2n),
  .feature-card:nth-child(2n) {
    border-right: 0
  }

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

  .split,
  .detail,
  .contact-grid,
  .recovery-feature,
  .photo-band {
    grid-template-columns: 1fr
  }

  .photo-band-media {
    min-height: 360px
  }

  .recovery-copy {
    border-left: 0;
    border-top: 10px solid var(--orange)
  }

  .detail-panel {
    position: static
  }

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

  .filters .field:first-child {
    grid-column: 1/-1
  }

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

  .admin-grid {
    grid-template-columns: 1fr
  }

  .admin-side {
    display: flex;
    gap: 8px;
    overflow: auto
  }

  .admin-side button {
    white-space: nowrap;
    width: auto
  }
}

@media(max-width:720px) {
  .wrap {
    width: min(calc(100% - 24px), var(--max))
  }

  .topbar .wrap {
    justify-content: center
  }

  .topbar span {
    display: none
  }

  .nav {
    min-height: 76px
  }

  .brand {
    min-width: 0
  }

  .brand-mark {
    width: 50px;
    height: 50px;
    flex-basis: 50px
  }

  .brand-copy strong {
    font-size: .9rem
  }

  .brand-copy span {
    font-size: .78rem
  }

  .brand-copy small {
    display: none
  }

  .nav-actions {
    display: none
  }

  .nav-links.open {
    top: 110px
  }

  .hero {
    min-height: 650px
  }

  .hero:before {
    background: linear-gradient(180deg, rgba(20, 21, 22, .90), rgba(20, 21, 22, .72)), url('/assets/brand/unit-wide.webp') center/cover no-repeat
  }

  .hero .wrap {
    grid-template-columns: 1fr
  }

  .hero-copy {
    padding: 48px 0
  }

  .hero h1 {
    font-size: clamp(2.8rem, 14vw, 4.7rem)
  }

  .hero p {
    font-size: 1rem
  }

  .hero-actions .btn {
    width: 100%
  }

  .trust-row {
    width: 100%
  }

  .trust-pill {
    width: 100%;
    padding: 10px 0
  }

  .brand-strip .wrap {
    padding: 8px 0
  }

  .brand-strip span {
    border: 0;
    padding: 5px 8px;
    font-size: .7rem
  }

  .section {
    padding: 52px 0
  }

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

  .quick-grid,
  .service-grid,
  .feature-grid,
  .stock-grid {
    grid-template-columns: 1fr
  }

  .quick-card,
  .service-card,
  .feature-card,
  .quick-card:nth-child(n),
  .service-card:nth-child(n),
  .feature-card:nth-child(n) {
    border-right: 0
  }

  .split {
    gap: 28px
  }

  .photo-band-copy,
  .recovery-copy {
    padding: 30px 22px
  }

  .page-hero,
  .sales-hero {
    padding: 50px 0 40px
  }

  .page-hero.with-art .wrap,
  .sales-hero.with-art .wrap {
    grid-template-columns: 1fr
  }

  .hero-art {
    margin-top: 10px
  }

  .filters {
    grid-template-columns: 1fr;
    margin-top: -18px
  }

  .filters .field:first-child {
    grid-column: auto
  }

  .listing-toolbar {
    align-items: flex-start;
    flex-direction: column
  }

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

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

  .spec-table {
    grid-template-columns: 1fr 1fr
  }

  .features-list {
    grid-template-columns: 1fr
  }

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

  .footer-bottom {
    flex-direction: column
  }

  .cookie-row {
    align-items: flex-start;
    flex-direction: column
  }

  .cookie-actions {
    width: 100%
  }

  .cookie-actions .btn {
    flex: 1
  }

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

  .form-grid .wide {
    grid-column: auto
  }

  .image-preview {
    grid-template-columns: repeat(2, 1fr)
  }

  .footer-round {
    width: 82px;
    height: 82px
  }
}

.vehicle-actions .btn.secondary,
.detail-panel .btn.secondary,
.content-card .btn.secondary,
.contact-box .btn.secondary {
  background: #fff;
  color: var(--charcoal);
  border-color: var(--charcoal)
}

.vehicle-actions .btn.secondary:hover,
.detail-panel .btn.secondary:hover,
.content-card .btn.secondary:hover,
.contact-box .btn.secondary:hover {
  background: #f1efed;
  border-color: var(--orange);
  color: var(--orange-dark)
}

.section.dark .eyebrow {
  color: var(--orange-2)
}

/* Website graphics are contained inside their panels without stretching. */
.hero-art,
.art-frame {
  overflow: hidden
}

.hero-art img,
.art-frame img {
  display: block;
  width: 100%;
  height: auto
}

/* V4.2: supplied website-ready graphics and workshop/service photography. */
.quick-card,
.service-card {
  overflow: hidden
}

.card-thumb {
  display: block;
  width: 100%;
  height: 190px;
  margin: 0;
  object-fit: cover;
  object-position: var(--focus-x, 50%) var(--focus-y, 50%);
  background: #e9e9e7
}

/* Text sits below the full-bleed image */
.quick-card,
.service-card {
  padding: 0;
  display: flex;
  flex-direction: column;
}
.quick-card > h3,
.service-card > h3 {
  padding: 18px 26px 0;
  margin: 0;
}
.quick-card > p,
.service-card > p,
.quick-card > .muted,
.service-card > .muted {
  padding: 10px 26px 26px;
  margin: 0;
}
.quick-card > .icon-box,
.service-card > .icon-box {
  margin: 26px 26px 0;
}

.photo-art img {
  aspect-ratio: 4/3;
  object-fit: cover
}

@media(max-width:720px) {
  .card-thumb {
    height: 210px;
  }
}

/* V4.3: headerless advert artwork used as a card thumbnail */
.card-thumb-art {
  object-fit: contain;
  object-position: center;
  background: #fff
}


/* V4.8: MOT checker and customer review links. */
.review-platform-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px
}

.review-platform-card {
  background: #fff;
  border: 1px solid #d7d7d4;
  border-top: 8px solid var(--orange);
  padding: 24px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, .06);
  display: flex;
  flex-direction: column
}

.review-platform-name {
  font-family: Arial Black, Arial, sans-serif;
  text-transform: uppercase;
  font-size: 1.4rem;
  color: var(--charcoal)
}

.review-stars {
  color: var(--orange);
  font-size: 1.3rem;
  letter-spacing: .08em;
  margin: 7px 0 10px
}

.review-platform-card p {
  color: var(--muted);
  flex: 1
}

.review-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px
}

.review-actions .btn {
  font-size: .78rem
}

.review-quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 24px
}

.review-quote {
  position: relative;
  background: var(--charcoal);
  color: #fff;
  padding: 25px 24px 22px;
  border-bottom: 6px solid var(--orange)
}

.review-quote p {
  font-size: 1.02rem;
  line-height: 1.5;
  margin: 0 0 15px
}

.review-quote span {
  font-size: .76rem;
  color: #bfc1c2
}

.quote-mark {
  position: absolute;
  right: 16px;
  top: -10px;
  font-family: Georgia, serif;
  font-size: 5rem;
  line-height: 1;
  color: var(--orange);
  opacity: .35
}

.mot-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap
}

.gov-btn {
  background: #1d70b8 !important;
  border-color: #1d70b8 !important;
  color: #fff !important
}

.gov-btn:hover {
  background: #003078 !important;
  border-color: #003078 !important
}

.mot-checker-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: #fff;
  border-left: 9px solid #1d70b8;
  padding: 28px 30px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, .05)
}

.mot-checker-card h2 {
  margin-bottom: 8px
}

.mot-checker-card p {
  margin: 0;
  max-width: 720px;
  color: var(--muted)
}

@media(max-width:1050px) {
  .review-platform-grid {
    grid-template-columns: 1fr 1fr
  }

  .review-platform-card:first-child {
    grid-column: 1/-1
  }

  .review-quotes {
    grid-template-columns: 1fr 1fr
  }

  .review-quote:last-child {
    grid-column: 1/-1
  }
}

@media(max-width:720px) {

  .review-platform-grid,
  .review-quotes {
    grid-template-columns: 1fr
  }

  .review-platform-card:first-child,
  .review-quote:last-child {
    grid-column: auto
  }

  .review-actions {
    flex-direction: column
  }

  .review-actions .btn,
  .mot-actions .btn,
  .mot-checker-card .btn {
    width: 100%;
    text-align: center
  }

  .mot-checker-card {
    align-items: flex-start;
    flex-direction: column;
    padding: 24px 20px
  }
}

/* PHOTO CROP / FOCUS CONTROLS
   Any image can use: style="--focus-x:50%;--focus-y:35%;"
   X: 0%=left, 50%=centre, 100%=right
   Y: 0%=top, 50%=centre, 100%=bottom
*/
.hero-art img,
.art-frame img {
  object-position: var(--focus-x, 50%) var(--focus-y, 50%)
}

.car-sales-photo {
  aspect-ratio: 4/3
}

.car-sales-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--focus-x, 50%) var(--focus-y, 50%)
}

.show-whole-image {
  object-fit: contain !important;
  background: #fff
}

/* V5.8 merged Garage Services + Diagnostics */
#diagnostics {
  scroll-margin-top: 130px
}

.diagnostic-merged-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px
}

.diagnostic-merged-cta h3 {
  margin-bottom: 6px
}

.diagnostic-merged-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  flex: 0 0 auto
}

@media(max-width:720px) {
  .diagnostic-merged-cta {
    align-items: flex-start;
    flex-direction: column
  }

  .diagnostic-merged-actions {
    width: 100%
  }

  .diagnostic-merged-actions .btn {
    flex: 1;
    text-align: center
  }
}

/* V5.9: Google + Facebook only */
@media (min-width:721px) {
  .review-platform-grid .review-platform-card:first-child {
    grid-column: auto
  }
}

/* =========================================================
   BALANCED SERVICE CARD ROWS
   Keeps every card the same width and centres incomplete rows.
   Used on Garage Services and Diagnostics only.
   ========================================================= */
.service-grid.balanced-service-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 18px;
  border: 0;
  background: transparent;
}

.service-grid.balanced-service-grid .service-card {
  flex: 0 0 calc((100% - 54px) / 4);
  max-width: calc((100% - 54px) / 4);
  border: 1px solid #aaa;
  border-bottom: 5px solid #aaa; /* visible grey; turns orange on hover */
  background: #fff;
  box-sizing: border-box;
}

/* Keep a consistent border on every side; don't strip the 4th column */
.service-grid.balanced-service-grid .service-card:nth-child(n) {
  border-right: 1px solid #aaa;
}

.service-grid.balanced-service-grid .service-card:hover {
  border-bottom-color: var(--orange);
}

.service-grid.balanced-service-grid .service-card:nth-child(4n),
.service-grid.balanced-service-grid .service-card:nth-child(2n) {
  border-right: 1px solid #aaa;
}


@media (max-width: 1050px) {
  .service-grid.balanced-service-grid .service-card {
    flex-basis: calc((100% - 18px) / 2);
    max-width: calc((100% - 18px) / 2);
  }
}

@media (max-width: 720px) {
  .service-grid.balanced-service-grid {
    gap: 14px;
  }

  .service-grid.balanced-service-grid .service-card {
    flex-basis: 100%;
    max-width: 100%;
  }
}


/* V5.12: dashboard warning-light diagnostic thumbnails */
.warning-light-thumb{
  background:#171717;
  object-fit:contain;
  padding:8px 16px;
}

/* =========================================================
   V5.17 accessibility, legal disclosure and CSP-safe helpers
   ========================================================= */
.skip-link {
  position: fixed;
  left: 12px;
  top: 12px;
  z-index: 9999;
  transform: translateY(-180%);
  background: #fff;
  color: #111;
  padding: 10px 14px;
  border: 3px solid var(--orange);
  font-weight: 800;
}
.skip-link:focus { transform: translateY(0); }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #ffb000;
  outline-offset: 3px;
}

.company-disclosure {
  border-top: 1px solid rgba(255,255,255,.16);
  padding: 16px 0 20px;
  color: #d8d8d8;
  line-height: 1.55;
}

.legal-updated { margin-bottom: 26px; }
.legal-table-wrap { overflow-x: auto; margin: 18px 0 28px; }
.legal-table { width: 100%; border-collapse: collapse; background: #fff; }
.legal-table th,
.legal-table td { border: 1px solid #cfcfca; padding: 12px; text-align: left; vertical-align: top; }
.legal-table th { background: #ececea; color: #1f2021; }
.legal code { font-size: .88em; }

.focus-aircon { --focus-x: 50%; --focus-y: 52%; }
.focus-exhaust { --focus-x: 50%; --focus-y: 58%; }
.notfound-logo { width: 220px; border-radius: 50%; border: 4px solid #272a2c; }
.price-notice { margin: 22px 0; }

.cookie-banner .cookie-copy { max-width: 720px; }
.cookie-banner .cookie-actions { align-items: center; }


/* ---- Image placement fixes (staging QA) ---- */
/* Poster / graphic images should never be cropped or letterboxed oddly */
.split img.show-whole-image,
.art-frame img.show-whole-image {
  max-height: none;
  height: auto;
  width: 100%;
  object-fit: contain !important;
  object-position: center;
  background: #fff;
  display: block;
}

/* Light frame for graphics (instead of charcoal letterbox bars) */
.art-frame:has(img.show-whole-image) {
  background: #fff;
  padding: 0;
  border: 1px solid var(--line, #ddd);
}

/* Keep photographic recovery image filling its panel cleanly */
.recovery-feature > img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Service / quick card thumbs */
.service-card .card-thumb,
.quick-card .card-thumb {
  width: 100%;
  height: 190px;
  margin: 0;
  object-fit: cover;
  object-position: center;
}

.service-card .card-thumb.card-thumb-art,
.quick-card .card-thumb.card-thumb-art {
  object-fit: contain;
  background: #f4f4f2;
  padding: 12px;
  box-sizing: border-box;
}
