/* Weston Motor Company demo site (hosted-sites-src/westonmotors). Their new Facebook look (Josh, 26 Nov 2026): deep racing
   green (#0d2a1c), metallic gold (#c9a45c to #e2c27a) and cream (#f5f2ea), serif capitals for headings. The base rules are
   New Street Car Centre's (QR8 Automotive's before that: same page templates), recoloured; Weston's own look is at the end. */
:root {
  --ink: #0d2a1c; --ink2: #12301f; --ink3: #1f4a33; --orange: #c9a45c; --orange2: #e2c27a; --orangeD: #7a5a1e;
  --grey: #f5f2ea; --line: #e4ddcc; --muted: #56605a; --soft: #cbd5ce; --dim: #9fb0a5; --white: #fff;
  --r: 14px; --shadow: 0 10px 30px rgba(13, 42, 28, .08); --shadow2: 0 18px 50px rgba(13, 42, 28, .16);
  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 17px/1.6 var(--font); color: var(--ink); background: #fff; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orangeD); }
h1, h2, h3, h4 { line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.3rem); font-weight: 800; }
h2, .h3 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; }
.h3 { font-size: 1.45rem; margin-top: 1.6em; }
h3 { font-size: 1.25rem; font-weight: 750; }
p { margin: 0 0 1em; }
.wrap { width: min(1180px, 100% - 32px); margin: 0 auto; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 12px; top: 12px; z-index: 99; background: #fff; padding: 8px 12px; }
.muted { color: var(--muted); } .small { font-size: 14px; } .lead { font-size: 1.12rem; color: var(--muted); }
.eyebrow { font-size: 13px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: var(--orangeD); margin-bottom: .7em; }
.eyebrow.light { color: var(--orange2); }
.kicker { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--orangeD); margin: 0 0 .35em; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: 14px 22px; min-height: 50px; border-radius: 12px; border: 2px solid var(--orange);
  background: var(--orange); color: #0a2016; font-weight: 750; font-size: 16px; text-decoration: none; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; font-family: inherit; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(201, 164, 92, .35); }
.btn svg { width: 19px; height: 19px; flex: none; }
.btn.small { padding: 9px 14px; min-height: 42px; font-size: 15px; }
.btn.wide { width: 100%; }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn.ghost:hover { box-shadow: none; background: var(--ink); color: #fff; }
.btn.ghost.light, .dark .btn.ghost, .foot .btn.ghost { color: #fff; border-color: rgba(255, 255, 255, .7); }
.btn.ghost.light:hover, .dark .btn.ghost:hover, .foot .btn.ghost:hover { background: #fff; color: var(--ink); }
.btn.fb { background: #1877f2; border-color: #1877f2; color: #fff; }
.btn.fb:hover { box-shadow: 0 8px 22px rgba(24, 119, 242, .4); }
.btn.darkbtn { background: var(--ink); border-color: var(--ink); color: #fff; }
.social { display: flex; flex-wrap: wrap; gap: 10px; margin: 1em 0; }

/* Demo bar, header */
.demobar { background: var(--orange); color: #0a2016; text-align: center; font-size: 13px; font-weight: 700; padding: 5px 16px; }
.top { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; gap: 22px; min-height: 72px; }
.logo img { width: 112px; height: auto; }
.nav { display: flex; gap: 20px; margin-left: auto; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 650; font-size: 15px; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { border-color: var(--orange); }
.call span { white-space: nowrap; }
.mnav { display: none; position: relative; }
.mnav summary { list-style: none; cursor: pointer; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line); }
.mnav summary::-webkit-details-marker { display: none; }
.mnav summary svg { width: 24px; height: 24px; }
.mnav nav { position: absolute; right: 0; top: 56px; width: min(300px, calc(100vw - 32px)); background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow2); padding: 10px; display: grid; }
.mnav nav a:not(.btn) { color: var(--ink); text-decoration: none; padding: 12px 10px; font-weight: 650; border-radius: 8px; }
.mnav nav a:not(.btn):hover { background: var(--grey); }
.mnav .btn { margin-top: 8px; }
@media (max-width: 1080px) { .nav { display: none; } .mnav { display: block; } .call { margin-left: auto; } }
@media (max-width: 520px) { .call span { display: none; } .call { width: 48px; padding: 0; } }

/* Hero */
.hero { position: relative; color: #fff; background: var(--ink); overflow: hidden; }
.herobg { position: absolute; inset: 0; }
.herobg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 62%; opacity: .9; transform: scale(1.04); animation: drift 18s ease-out both; }
@keyframes drift { to { transform: scale(1); } }
.herobg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13, 42, 28, .95) 0%, rgba(13, 42, 28, .78) 42%, rgba(13, 42, 28, .2) 100%), linear-gradient(0deg, rgba(13, 42, 28, .6), transparent 35%); }
.herogrid { position: relative; display: grid; grid-template-columns: 1.35fr .9fr; gap: 48px; align-items: center; padding: 84px 0 96px; }
.hero h1 { color: #fff; } .hero h1 span { color: var(--orange2); display: block; }
.hero .lead { color: var(--soft); max-width: 40em; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.6em 0; }
.heroticks { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--soft); font-size: 15px; }
.heroticks li { display: flex; gap: 8px; align-items: center; } .heroticks svg { width: 18px; color: var(--orange2); }
.search { color: var(--ink); }
.search .btn { margin-top: 6px; }
@media (max-width: 900px) { .herogrid { grid-template-columns: 1fr; padding: 56px 0 64px; gap: 32px; } }

/* Cards, forms */
.card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 26px; box-shadow: var(--shadow); }
.form { display: grid; gap: 14px; align-content: start; }
.form h3 { margin: 0; font-size: 1.5rem; } .form .muted { margin: 0; font-size: 15px; }
.form.dark { background: var(--ink); color: #fff; border-color: var(--ink3); }
.form.dark .muted { color: var(--dim); } .form.dark .eyebrow { color: var(--orange2); }
.f { display: grid; gap: 6px; font-size: 14px; font-weight: 700; }
.f em { font-weight: 400; color: var(--muted); font-style: normal; }
.f input, .f select, .f textarea { font: inherit; font-size: 16px; font-weight: 400; width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid #cfd3da; border-radius: 10px; background: #fff; color: var(--ink); }
.f input:focus, .f select:focus, .f textarea:focus, .plate input:focus { outline: 3px solid rgba(201, 164, 92, .35); border-color: var(--orange); }
.form.dark .f input, .form.dark .f select { background: var(--ink2); border-color: var(--ink3); color: #fff; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 480px) { .row2 { grid-template-columns: 1fr; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { cursor: pointer; position: relative; } .chips input { position: absolute; opacity: 0; left: 0; top: 0; }
.chips span { display: inline-block; padding: 9px 14px; border-radius: 999px; border: 1.5px solid #cfd3da; font-size: 14px; font-weight: 650; }
.chips input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chips input:focus-visible + span { outline: 3px solid rgba(201, 164, 92, .4); }
.tick { display: flex; gap: 10px; font-size: 14px; align-items: flex-start; }
.tick input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--orange); flex: none; }
.form.dark .tick a { color: var(--orange2); }
.hp { position: absolute; left: -9999px; }
.msg { background: #fff1f0; color: #9b1c1c; border-radius: 10px; padding: 10px 14px; font-size: 15px; margin: 0; }
.note { font-size: 13px; color: var(--muted); margin: 0; text-align: center; } .form.dark .note { color: var(--dim); }
.done { text-align: center; padding: 10px 0; } .done svg { width: 48px; height: 48px; color: #fff; background: #16a34a; border-radius: 50%; padding: 10px; margin: 0 auto 10px; }
.done .ref { font-size: 14px; color: var(--muted); }
.form.sent > :not(.done) { display: none; }
.regrow { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.plate { display: flex; align-items: stretch; border-radius: 10px; overflow: hidden; border: 2px solid #0a2016; background: #ffd500; }
.plate .gb { background: #0b3d91; color: #fff; font-weight: 800; font-size: 13px; display: grid; place-items: center; padding: 0 10px; }
.plate input { flex: 1; min-width: 0; border: 0; background: transparent; font: 800 26px/1 var(--font); letter-spacing: .06em; text-transform: uppercase; padding: 10px; color: #0a2016; text-align: center; }
.plate input::placeholder { color: rgba(0, 0, 0, .35); }
.vehicle { margin: 0; padding: 10px 14px; border-radius: 10px; background: rgba(22, 163, 74, .14); color: #86efac; font-weight: 650; font-size: 15px; }
.vehicle.err { background: rgba(220, 38, 38, .14); color: #fca5a5; }
@media (max-width: 420px) { .regrow { grid-template-columns: 1fr; } }

/* Sections */
.sec { padding: 84px 0; } .sec.tight { padding: 40px 0 72px; }
.sec.grey { background: var(--grey); }
.sec.dark { background: var(--ink); color: var(--soft); } .sec.dark h2, .sec.dark h3, .sec.dark strong { color: #fff; } .sec.dark .lead { color: var(--soft); }
.sec.dark .card:not(.dark), .sec.dark .card:not(.dark) h3, .sec.dark .card:not(.dark) strong { color: var(--ink); }
.sec.dark .card:not(.dark) .muted, .sec.dark .card:not(.dark) .note { color: var(--muted); }
.sechead { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 30px; }
.sechead h2 { margin: 0; } .sechead p.muted { margin: .5em 0 0; }
.more { font-weight: 750; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; white-space: nowrap; }
.more svg { width: 18px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.start { align-items: start; }
.split.rev > :first-child { order: 0; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 36px; } .sec { padding: 60px 0; } .sechead { flex-direction: column; align-items: flex-start; } }

.trust { background: #fff; border-bottom: 1px solid var(--line); }
.tgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 26px 0; }
.tgrid div { display: grid; grid-template-columns: 40px 1fr; column-gap: 12px; align-items: center; }
.tgrid svg { grid-row: span 2; width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: #f3ead6; color: var(--orangeD); }
.tgrid strong { font-size: 15px; } .tgrid span { font-size: 14px; color: var(--muted); }
@media (max-width: 900px) { .tgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .tgrid { grid-template-columns: 1fr; } }

/* Car cards */
.cars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cars.mini { grid-template-columns: 1fr; }
@media (max-width: 1100px) { .cars { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .cars { grid-template-columns: 1fr; } }
.car { background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.car:hover { transform: translateY(-4px); box-shadow: var(--shadow2); }
.carpic { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--grey); }
.carpic img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.car:hover .carpic img { transform: scale(1.05); }
.tag { position: absolute; left: 12px; bottom: 12px; background: rgba(13, 42, 28, .82); color: #fff; font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 999px; }
.tag.prep { background: var(--orange); color: #0a2016; }
.carbody { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.car h3 { margin: 0; font-size: 1.3rem; } .car h3 a { color: var(--ink); text-decoration: none; }
.variant { color: var(--muted); margin: 2px 0 12px; font-size: 15px; }
.facts { list-style: none; padding: 0; margin: 0 0 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; font-size: 14px; color: var(--muted); }
.facts li { display: flex; gap: 7px; align-items: center; } .facts svg { width: 16px; height: 16px; color: var(--orangeD); flex: none; }
.carfoot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line); }
.price { font-size: 1.6rem; font-weight: 850; letter-spacing: -.02em; margin: 0; color: var(--ink); }
.price.big { font-size: clamp(2rem, 4vw, 2.6rem); }
.mini .car { flex-direction: row; } .mini .carpic { width: 42%; aspect-ratio: auto; flex: none; } .mini .facts { display: none; } .mini .variant { margin-bottom: 6px; }
@media (max-width: 480px) { .mini .car { flex-direction: column; } .mini .carpic { width: 100%; aspect-ratio: 4 / 3; } }

/* Filters */
.filters { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: end; padding: 16px; background: var(--grey); border-radius: var(--r); margin-bottom: 14px; }
.seg { display: inline-flex; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 4px; }
.seg button { font: inherit; font-size: 15px; font-weight: 700; border: 0; background: none; padding: 10px 14px; border-radius: 9px; cursor: pointer; min-height: 42px; color: var(--ink); }
.seg button.on { background: var(--ink); color: #fff; }
.f.inline { min-width: 150px; } .f.inline select { min-height: 46px; }
.count { font-weight: 700; color: var(--muted); }
.empty { padding: 30px; text-align: center; background: var(--grey); border-radius: var(--r); }
.cta { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 36px; }
.cta h3 { margin: 0 0 .3em; } .cta p { margin: 0; color: var(--muted); }
@media (max-width: 700px) { .cta { flex-direction: column; align-items: flex-start; } .seg { width: 100%; } .seg button { flex: 1; } .f.inline { flex: 1 1 140px; } }

/* Page heads */
.pagehead { position: relative; background: var(--ink); color: #fff; padding: 64px 0 56px; overflow: hidden; }
.pagehead.plain { padding: 48px 0 40px; }
.phbg { position: absolute; inset: 0; } .phbg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .4; }
.phbg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13, 42, 28, .95), rgba(13, 42, 28, .55)); }
.pagehead .wrap { position: relative; } .pagehead h1 { color: #fff; max-width: 18em; } .pagehead .lead { color: var(--soft); max-width: 42em; margin: 0; }
.crumbs { font-size: 14px; color: var(--dim); margin-bottom: 14px; } .crumbs a { color: var(--soft); } .crumbs span { margin: 0 4px; }

/* Car page */
.carhead { background: var(--ink); color: #fff; padding: 32px 0 28px; }
.carhead .crumbs a { color: var(--soft); }
.cartitle { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; }
.cartitle h1 { color: #fff; margin: 0; } .cartitle .variant { color: var(--soft); margin: 6px 0 0; } .carhead .kicker { color: var(--orange2); } .carhead .price { color: #fff; }
@media (max-width: 700px) { .cartitle { flex-direction: column; align-items: flex-start; } }
.cargrid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; }
@media (max-width: 1000px) { .cargrid { grid-template-columns: minmax(0, 1fr); } }
.carctas { display: none; }
@media (max-width: 1000px) { .carctas { display: grid; grid-template-columns: 1fr auto; gap: 10px; margin-top: 18px; } }
.carside { position: sticky; top: 92px; }
.pricebox { display: grid; gap: 12px; } .pricebox .muted { font-size: 15px; margin: 0; }
.mini { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 8px; font-size: 14px; color: var(--muted); }
.mini li { display: flex; gap: 8px; align-items: center; } .mini svg { width: 17px; color: var(--orangeD); }
@media (max-width: 1000px) { .carside { position: static; } .pricebox { grid-template-columns: 1fr 1fr; } .pricebox .price, .pricebox .muted, .pricebox .mini, .pricebox .btn:first-of-type { grid-column: 1 / -1; } }
@media (max-width: 480px) { .pricebox { grid-template-columns: 1fr; } }
.gallery { margin-bottom: 28px; }
.gmain { position: relative; display: block; border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--grey); }
.gmain img { width: 100%; height: 100%; object-fit: cover; }
.gcount { position: absolute; right: 14px; bottom: 14px; display: flex; gap: 6px; align-items: center; background: rgba(13, 42, 28, .8); color: #fff; font-size: 14px; padding: 6px 12px; border-radius: 999px; }
.gcount svg { width: 16px; }
.thumbs { display: flex; gap: 10px; overflow-x: auto; padding: 12px 0 4px; scroll-snap-type: x mandatory; }
.thumbs a { flex: 0 0 104px; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; border: 3px solid transparent; scroll-snap-align: start; }
.thumbs a[aria-current="true"] { border-color: var(--orange); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.prepnote { display: flex; gap: 10px; align-items: flex-start; margin-top: 12px; background: #f3ead6; border-radius: 12px; padding: 12px 14px; font-size: 15px; }
.prepnote svg { width: 20px; flex: none; color: var(--orangeD); margin-top: 2px; }
.keyfacts { list-style: none; padding: 0; margin: 0 0 32px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.keyfacts li { background: var(--grey); border-radius: 14px; padding: 14px; display: grid; grid-template-columns: 26px 1fr; column-gap: 10px; }
.keyfacts svg { grid-row: span 2; width: 24px; color: var(--orangeD); }
.keyfacts span { font-size: 13px; color: var(--muted); } .keyfacts strong { font-size: 15px; }
@media (max-width: 600px) { .keyfacts { grid-template-columns: 1fr 1fr; } }
.ticks { list-style: none; padding: 0; margin: 0 0 1.5em; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 22px; }
.ticks li { display: flex; gap: 9px; align-items: flex-start; font-size: 16px; } .ticks svg { width: 18px; flex: none; margin-top: 4px; color: #16a34a; }
@media (max-width: 600px) { .ticks { grid-template-columns: 1fr; } }
.spec { width: 100%; border-collapse: collapse; margin-bottom: 1em; font-size: 16px; }
.spec th, .spec td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec th { width: 38%; color: var(--muted); font-weight: 600; }
.spec tr:nth-child(odd) { background: var(--grey); }

/* Lightbox */
.lb { border: 0; padding: 0; background: rgba(10, 11, 13, .96); width: 100vw; height: 100vh; max-width: none; max-height: none; }
.lb::backdrop { background: rgba(10, 11, 13, .96); }
.lb img { width: 100%; height: 100%; object-fit: contain; }
.lb button { position: absolute; border: 0; background: rgba(255, 255, 255, .12); color: #fff; width: 52px; height: 52px; border-radius: 50%; font-size: 26px; cursor: pointer; }
.lb .x { right: 16px; top: 16px; } .lb .p { left: 16px; top: 50%; } .lb .n { right: 16px; top: 50%; }
.lb .lbc { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); color: #fff; font-size: 14px; background: rgba(0, 0, 0, .5); padding: 5px 12px; border-radius: 999px; }

/* Steps, reviews, sold, instagram */
.steps { list-style: none; counter-reset: s; padding: 0; margin: 1.5em 0 0; display: grid; gap: 14px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; }
.steps li::before { content: counter(s); grid-row: span 2; width: 44px; height: 44px; border-radius: 12px; background: var(--orange); color: #0a2016; font-weight: 850; display: grid; place-items: center; font-size: 18px; }
.steps span { color: var(--dim); font-size: 15px; }
.reviews { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 1fr); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
.reviews.grid { grid-auto-flow: row; grid-template-columns: 1fr 1fr; overflow: visible; }
@media (max-width: 700px) { .reviews.grid { grid-template-columns: 1fr; } .reviews { grid-auto-columns: 86%; } }
.review { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px; scroll-snap-align: start; display: flex; flex-direction: column; }
.review .stars svg { width: 34px; color: var(--orange); }
.review blockquote { margin: 10px 0 14px; font-size: 16px; }
.review figcaption { margin-top: auto; font-weight: 750; } .review figcaption span { font-weight: 400; color: var(--muted); font-size: 14px; }
.quote { margin: 1.5em 0; padding: 22px 24px; background: var(--grey); border-radius: 16px; border-left: 5px solid var(--orange); }
.quote svg { width: 28px; color: var(--orange); } .quote blockquote { margin: 6px 0 8px; font-size: 1.05rem; } .quote figcaption { font-weight: 750; }
.pics2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; } .pics2 img { border-radius: 14px; aspect-ratio: 4 / 3; object-fit: cover; }
/* Bigger sold photos (Josh, 23 Nov 2026): 3 across, 2 on a tablet, one at a time on a phone. */
.soldgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .soldgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .soldgrid { grid-template-columns: 1fr; } }
.sold { margin: 0; position: relative; border-radius: 16px; overflow: hidden; background: #fff; border: 1px solid var(--line); }
.sold img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; filter: saturate(.85); }
.stamp { position: absolute; top: 12px; right: -34px; transform: rotate(35deg); background: var(--orange); color: #0a2016; font-weight: 850; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; padding: 4px 40px; }
.sold figcaption { padding: 14px 16px 16px; display: grid; gap: 2px; font-size: 1.05rem; } .sold figcaption span { font-size: 14px; color: var(--muted); }
.sold img { transition: transform .5s, filter .5s; } .sold:hover img { transform: scale(1.04); filter: saturate(1); }
.igrid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.igrid a { border-radius: 14px; overflow: hidden; display: block; aspect-ratio: 1; } .igrid img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.igrid a:hover img { transform: scale(1.05); }
.band { display: flex; justify-content: space-between; align-items: center; gap: 24px; background: var(--orange); color: #0a2016; border-radius: 22px; padding: 40px; }
.band h2 { margin: 0 0 .3em; } .band p { margin: 0; max-width: 46em; }
@media (max-width: 700px) { .band { flex-direction: column; align-items: flex-start; padding: 28px; } }
.faqs { display: grid; gap: 10px; }
.faqs details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0 18px; }
.faqs summary { cursor: pointer; font-weight: 700; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faqs summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--orangeD); } .faqs details[open] summary::after { content: "–"; }
.faqs summary::-webkit-details-marker { display: none; } .faqs p { color: var(--muted); }
.contactbox { display: grid; gap: 12px; margin: 1.4em 0; } .contactbox p { margin: 0; display: grid; } .contactbox strong { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.contactbox.big { font-size: 1.1rem; margin-top: 0; }
.feat4 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 1.5em 0; }
.feat4 .card { padding: 18px; display: grid; gap: 2px; } .feat4 svg { width: 22px; color: #16a34a; } .feat4 span { font-size: 14px; color: var(--muted); }
.stack { display: grid; gap: 16px; } .stack img { border-radius: 18px; }
.prose { max-width: 760px; }

/* Footer */
.foot { background: var(--ink); color: var(--dim); padding: 64px 0 24px; font-size: 15px; }
.fgrid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.1fr; gap: 36px; }
.foot h4 { color: #fff; font-size: 15px; margin-bottom: 14px; letter-spacing: 0; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot a { color: var(--soft); text-decoration: none; } .foot a:hover { color: var(--orange2); }
.fbrand img { width: 130px; margin-bottom: 16px; }
.foot .btn.fb { color: #fff; } .foot .btn { min-height: 44px; padding: 9px 14px; font-size: 15px; }
.fbase { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; border-top: 1px solid var(--ink3); margin-top: 40px; padding-top: 20px; font-size: 13px; }
@media (max-width: 900px) { .fgrid { grid-template-columns: 1fr 1fr; } .fbrand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .fgrid { grid-template-columns: 1fr; } }
.fab { display: none; }
@media (max-width: 700px) { .fab { display: grid; place-items: center; position: fixed; right: 16px; bottom: 16px; width: 58px; height: 58px; border-radius: 50%; background: var(--orange); color: #0a2016; box-shadow: 0 10px 26px rgba(201, 164, 92, .5); z-index: 40; animation: pulse 2.4s infinite; } .fab svg { width: 26px; } }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(201, 164, 92, .5); } 50% { box-shadow: 0 0 0 12px rgba(201, 164, 92, 0); } }

/* Reveal on scroll (site.js adds .js to <html>) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } .js .reveal { opacity: 1; transform: none; } }

/* ---- Part-exchange widget (render.ts valueForm; site.js steps through it) -------------------------------------------- */
.pxsec { background: linear-gradient(180deg, #fff 0%, #faf5ea 100%); }
.px { gap: 16px; position: relative; overflow: hidden; }
.px::before { content: ""; position: absolute; inset: -40% -20% auto auto; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(201, 164, 92, .22), transparent 70%); pointer-events: none; animation: glow 6s ease-in-out infinite alternate; }
@keyframes glow { from { transform: translate(0, 0) scale(1); opacity: .7; } to { transform: translate(-30px, 20px) scale(1.15); opacity: 1; } }
.px > * { position: relative; }
.px fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 12px; min-width: 0; }
.px legend { font-weight: 800; font-size: 1.05rem; color: #fff; margin-bottom: 2px; padding: 0; }
.px .f > span { color: var(--soft); }
.pxsteps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; font-size: 12px; color: var(--dim); }
.pxsteps li { display: flex; align-items: center; gap: 6px; min-width: 0; }
.pxsteps b { width: 24px; height: 24px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--ink3); color: var(--soft); font-size: 12px; transition: background .3s, color .3s, transform .3s; }
.pxsteps li.on b { background: var(--orange); color: #0a2016; transform: scale(1.08); }
.pxsteps li.done b { background: #16a34a; color: #fff; }
.pxsteps span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pxsteps li.on span { color: #fff; }
@media (max-width: 420px) { .pxsteps span { display: none; } .pxsteps { grid-template-columns: repeat(4, auto); justify-content: space-between; } }
.pxbar { height: 4px; border-radius: 4px; background: var(--ink3); overflow: hidden; }
.pxbar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--orange), var(--orange2)); transition: width .45s cubic-bezier(.2, .8, .2, 1); }
.pxjs .pxstep[hidden] { display: none; }
.pxjs .pxstep.on { animation: stepin .4s cubic-bezier(.2, .8, .2, 1); }
@keyframes stepin { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
.pxnav { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.pxnav .btn:last-child { margin-left: auto; }
.px .btn.ghost { color: #fff; border-color: rgba(255, 255, 255, .5); }
.px .chips span { border-color: var(--ink3); color: var(--soft); background: var(--ink2); transition: background .2s, border-color .2s, transform .15s; }
.px .chips label:active span { transform: scale(.96); }
.px .chips input:checked + span { background: var(--orange); border-color: var(--orange); color: #0a2016; }
.pxcar { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 12px; background: var(--ink2); color: var(--soft); font-size: 15px; }
.pxcar.found { background: rgba(22, 163, 74, .14); border: 1px solid rgba(22, 163, 74, .45); animation: pop .45s cubic-bezier(.2, 1.4, .4, 1); }
.pxcar.found strong { display: block; color: #fff; text-transform: capitalize; }
.pxcar.found em { font-style: normal; font-size: 13px; color: #86efac; }
.pxcar.err { background: rgba(220, 38, 38, .14); color: #fca5a5; }
.tickc { width: 34px; height: 34px; flex: none; border-radius: 50%; background: #16a34a; color: #fff; display: grid; place-items: center; font-weight: 900; }
@keyframes pop { from { opacity: 0; transform: scale(.9); } to { opacity: 1; transform: none; } }
.pxpick { display: grid; gap: 8px; max-height: 320px; overflow-y: auto; padding-right: 2px; }
.pxopt { position: relative; display: flex; gap: 12px; align-items: center; padding: 8px; border-radius: 12px; border: 1.5px solid var(--ink3); background: var(--ink2); cursor: pointer; transition: border-color .2s, transform .15s, background .2s; }
.pxopt:hover { transform: translateX(3px); border-color: rgba(201, 164, 92, .6); }
.pxopt input { position: absolute; opacity: 0; }
.pxopt img { width: 72px; height: 54px; object-fit: cover; border-radius: 8px; flex: none; }
.pxopt span { display: grid; min-width: 0; }
.pxopt strong { color: #fff; font-size: 15px; }
.pxopt em { font-style: normal; color: var(--orange2); font-weight: 750; font-size: 14px; }
.pxopt:has(input:checked) { border-color: var(--orange); background: rgba(201, 164, 92, .12); }
.pxopt:has(input:focus-visible) { outline: 3px solid rgba(201, 164, 92, .45); }
.pxopt.sell { padding-left: 16px; }
.pxsum { padding: 14px; border-radius: 12px; background: rgba(201, 164, 92, .1); border: 1px solid rgba(201, 164, 92, .4); color: var(--soft); font-size: 14px; animation: pop .35s ease-out; }
.pxsum strong { color: #fff; font-size: 1.4rem; font-weight: 850; }
.pxeq { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; margin-bottom: 4px; color: #fff; font-weight: 700; }
.pxeq b { color: var(--orange2); }
.pxreview { display: grid; gap: 2px; padding: 12px 14px; border-radius: 12px; background: var(--ink2); font-size: 14px; }
.pxreview p { margin: 0; display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; border-bottom: 1px solid var(--ink3); }
.pxreview p:last-child { border: 0; }
.pxreview span { color: var(--dim); }
.pxreview strong { color: #fff; text-align: right; }
.px .note { text-align: left; }

/* Hero: a gently pulsing "part-exchange welcome" badge, and a shine across the heading's second line */
.pxbadge { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 1.2em; padding: 10px 16px 10px 12px; border-radius: 999px; background: rgba(201, 164, 92, .14); border: 1px solid rgba(201, 164, 92, .55); color: #fff; text-decoration: none; font-size: 14px; animation: badge 2.8s ease-in-out infinite; }
.pxbadge svg { width: 20px; height: 20px; color: var(--orange2); flex: none; }
.pxbadge strong { color: var(--orange2); margin-right: 4px; }
.pxbadge:hover { background: rgba(201, 164, 92, .24); }
@keyframes badge { 0%, 100% { box-shadow: 0 0 0 0 rgba(201, 164, 92, .35); } 50% { box-shadow: 0 0 0 10px rgba(201, 164, 92, 0); } }
.hero h1 span { background: linear-gradient(100deg, var(--orange2) 0%, var(--orange2) 40%, #f6e7bf 50%, var(--orange2) 60%, var(--orange2) 100%); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 5s ease-in-out infinite; }
@keyframes shine { 0% { background-position: 100% 0; } 60%, 100% { background-position: 0 0; } }

/* Buttons catch the light on hover; headings and the hero rise in on load */
.btn { position: relative; overflow: hidden; }
.btn::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent); transform: skewX(-20deg); transition: left .6s; pointer-events: none; }
.btn:hover::after { left: 120%; }
.carhead .cartitle, .pagehead h1, .pagehead .lead, .herotext > * { animation: rise .7s cubic-bezier(.2, .8, .2, 1) both; }
.herotext > *:nth-child(2) { animation-delay: .08s; }
.herotext > *:nth-child(3) { animation-delay: .16s; }
.herotext > *:nth-child(4) { animation-delay: .24s; }
.herotext > *:nth-child(5) { animation-delay: .32s; }
.herotext > *:nth-child(6) { animation-delay: .4s; }
.search.card { animation: rise .8s .25s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .hero h1 span { animation: none; color: var(--orange2); background: none; } .pxbadge { animation: none; } }

/* The floating WhatsApp button (Josh, 23 Nov 2026): glowing orange, bottom right on every page; on phones the call
   button sits above it. */
.wa { position: fixed; right: 18px; bottom: 18px; z-index: 45; display: inline-flex; align-items: center; gap: 10px; height: 60px; padding: 0 22px 0 16px; border-radius: 999px; background: var(--orange); color: #0a2016; font-weight: 800; text-decoration: none; box-shadow: 0 10px 28px rgba(201, 164, 92, .45); animation: waglow 2.2s ease-in-out infinite; transition: transform .2s; }
.wa svg { width: 30px; height: 30px; flex: none; }
.wa:hover { transform: translateY(-2px) scale(1.03); }
@keyframes waglow { 0%, 100% { box-shadow: 0 0 0 0 rgba(201, 164, 92, .6), 0 10px 28px rgba(201, 164, 92, .45); } 50% { box-shadow: 0 0 0 14px rgba(201, 164, 92, 0), 0 10px 34px rgba(201, 164, 92, .7); } }
@media (max-width: 700px) {
  .wa { width: 60px; padding: 0; justify-content: center; right: 16px; bottom: 16px; }
  .wa span { display: none; }
  .fab.withwa { bottom: 88px; width: 52px; height: 52px; background: var(--ink); color: #fff; box-shadow: 0 8px 20px rgba(0, 0, 0, .35); animation: none; }
}
@media (prefers-reduced-motion: reduce) { .wa { animation: none; } }
.pxcar[hidden], .pxsum[hidden] { display: none; }
/* ---- Hero tabs and the finance widget --------------------------------------------------------------------------------- */
.herotabs { display: grid; gap: 0; min-width: 0; }
.tabbar { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin-bottom: 10px; border-radius: 14px; background: rgba(0, 0, 0, .45); border: 1px solid var(--edge); }
.tabbar button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; border: 0; border-radius: 10px; background: transparent; color: var(--text2); font: inherit; font-weight: 750; cursor: pointer; transition: background .2s, color .2s; }
.tabbar button svg { width: 18px; height: 18px; }
.tabbar button[aria-selected="true"] { background: var(--orange); color: #0a2016; }
.herotabs:not(.tabsjs) .tabbar { display: none; }
.herotabs:not(.tabsjs) [data-panel] + [data-panel] { margin-top: 14px; }
.tabsjs [data-panel][hidden] { display: none; }
.tabsjs [data-panel]:not([hidden]) { animation: stepin .35s cubic-bezier(.2, .8, .2, 1); }
.fin { display: grid; gap: 14px; position: relative; overflow: hidden; }
.fin::after { content: ""; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle, rgba(201, 164, 92, .25), transparent 70%); pointer-events: none; }
.fin h3 { margin: 0; font-size: 1.45rem; }
.fin .eyebrow { margin: 0; }
.fin .f span { display: flex; justify-content: space-between; }
.fin .f b { color: var(--orange2); font-size: 1.05rem; }
.fin input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; min-height: 0; padding: 0; border: 0; border-radius: 8px; background: linear-gradient(90deg, var(--orange) var(--fill, 10%), var(--panel2) var(--fill, 10%)); cursor: pointer; }
.fin input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 4px solid var(--orange); box-shadow: 0 2px 10px rgba(0, 0, 0, .4); }
.fin input[type="range"]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 4px solid var(--orange); }
.finsum { display: grid; gap: 2px; padding: 14px 16px; border-radius: 12px; background: rgba(201, 164, 92, .1); border: 1px solid rgba(201, 164, 92, .4); }
.finsum span { color: var(--text2); font-size: 13px; }
.finsum strong { font-size: 2rem; font-weight: 850; color: #fff; letter-spacing: -.02em; }
.finsum em { font-style: normal; color: var(--text2); font-size: 13px; }
.fin .note { text-align: left; font-size: 12.5px; color: var(--text2); }

/* ---- Brands strip: partner logos on white tiles, then the makes, scrolling on their own ---------------------------- */
.brands { padding: 44px 0 52px; background: var(--page2); border-top: 1px solid var(--edge); border-bottom: 1px solid var(--edge); overflow: hidden; }
.brands .eyebrow { margin-bottom: 18px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.track { display: flex; gap: 18px; width: max-content; animation: marquee 32s linear infinite; }
.track .dup { display: contents; }
.marquee:hover .track, .marquee:focus-within .track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.brand { flex: none; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-width: 170px; height: 96px; padding: 12px 22px; border-radius: 16px; text-decoration: none; }
.brand.logo { background: #fff; box-shadow: 0 8px 24px rgba(0, 0, 0, .35); transition: transform .2s; }
.brand.logo:hover { transform: translateY(-3px); }
.brand.logo img { height: 36px; width: auto; }
.brand.logo span { font-size: 12px; font-weight: 700; color: #4b5563; }
.brand.make { background: var(--panel); border: 1px solid var(--edge); color: #fff; font-size: 1.35rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
@media (prefers-reduced-motion: reduce) { .track { animation: none; } .track .dup { display: none; } .marquee { overflow-x: auto; } }

/* ======================================================================================================================
   New Street Car Centre's own look (Josh, 23 Nov 2026: "a new site that looks pro")
   ====================================================================================================================== */
:root { --page2: #f5f2ea; --panel: #fff; --panel2: #f5f2ea; --edge: #e4ddcc; --text: #0d2a1c; --text2: #56605a; --rac: #f95108; --racblue: #0b2545; --wa: #25d366; --waD: #128c4a; --r: 12px; }
body { font-size: 16.5px; }
h1, h2, h3 { letter-spacing: -.015em; }
h1 { font-weight: 850; }
.sec.grey, .trust, .brands { background: var(--page2); }
.btn { border-radius: 8px; color: #fff; text-shadow: 0 1px 0 rgba(0, 0, 0, .15); }
.btn.ghost { text-shadow: none; }
.btn.small { border-radius: 7px; }
.eyebrow { letter-spacing: .16em; }

/* Top bar: opening hours, address and both numbers */
.topbar { background: #08190f; color: #c9cdd4; font-size: 13.5px; }
.topbar .wrap { display: flex; gap: 22px; align-items: center; min-height: 36px; }
.topbar span { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.topbar svg { width: 15px; height: 15px; color: var(--orange); }
.topbar a { color: #fff; text-decoration: none; font-weight: 700; }
.topbar .tbtel { margin-left: auto; }
@media (max-width: 1000px) { .topbar .tbaddr { display: none; } }
@media (max-width: 640px) { .topbar span:first-child { display: none; } .topbar .tbtel { margin: 0 auto; } }

/* Header: dark, for their logo */
.top { background: rgba(13, 42, 28, .97); border-bottom: 3px solid var(--orange); }
.bar { min-height: 76px; gap: 18px; }
.logo img { width: 200px; }
.nav { gap: 18px; }
.nav a { color: #f1f1f1; font-size: 15px; }
.nav a:hover { color: #fff; border-color: var(--orange); }
.top .btn.call { background: var(--orange); border-color: var(--orange); }
.mnav summary { border-color: #2c5a40; color: #fff; }
@media (max-width: 1240px) { .nav { gap: 14px; } .nav a { font-size: 14.5px; } }
@media (max-width: 1080px) { .logo img { width: 180px; } }
@media (max-width: 520px) { .logo img { width: 150px; } .bar { min-height: 66px; gap: 10px; } }

/* RAC warranty partner badge: their RAC logo on white, with RAC's dark blue */
.partner { display: inline-flex; align-items: center; gap: 10px; background: #fff; border-radius: 10px; padding: 6px 12px 6px 10px; text-decoration: none; color: var(--racblue); border: 2px solid var(--rac); box-shadow: 0 6px 18px rgba(249, 81, 8, .18); line-height: 1.15; flex: none; }
.partner img { width: 62px; height: auto; }
.partner span { display: grid; font-size: 12px; font-weight: 600; }
.partner strong { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--rac); font-weight: 850; }
.partner:hover { box-shadow: 0 8px 24px rgba(249, 81, 8, .3); }
.partner.inhead { padding: 5px 10px 5px 8px; }
.partner.inhead img { width: 52px; }
.partner.inhead span { font-size: 0; } .partner.inhead strong { font-size: 10px; }
@media (max-width: 1240px) and (min-width: 1081px) { .partner.inhead { display: none; } }
@media (max-width: 560px) { .partner.inhead { display: none; } }
.partner.inhero { margin-top: 22px; }
.partner.incar { width: 100%; justify-content: center; }
.partner.big { padding: 14px 22px 14px 16px; border-radius: 14px; gap: 16px; }
.partner.big img { width: 110px; } .partner.big span { font-size: 16px; } .partner.big strong { font-size: 13px; }
.partnerband { background: var(--page2); padding: 26px 0 !important; text-align: center; border-bottom: 1px solid var(--line); }

/* Hero: words and the search on the left, their forecourt photo on the right */
.hero { background: #0a2016; }
.herobg { left: 46%; }
.herobg img { object-position: 35% 60%; opacity: 1; }
.herobg::after { background: linear-gradient(90deg, #0a2016 0%, rgba(10, 32, 22, .75) 12%, rgba(10, 32, 22, 0) 40%), linear-gradient(0deg, rgba(10, 32, 22, .55), transparent 30%); }
.herogrid { grid-template-columns: minmax(0, 1fr) minmax(0, .82fr); padding: 64px 0 56px; gap: 0 48px; align-items: start; }
.herotext, .herotabs { grid-column: 1; }
.herotabs { margin-top: 26px; }
.hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); }
.hero .lead { color: #d3d6db; font-size: 1.08rem; }
.hero .pxbadge { display: none; }
.ctas { margin: 1.3em 0 1.1em; }
.search.card { background: #fff; border: 0; border-radius: 12px; padding: 18px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; align-items: end; box-shadow: 0 20px 50px rgba(0, 0, 0, .45); }
.search .eyebrow { grid-column: 1 / -1; margin: 0; }
.search .f input, .search .f select { min-height: 46px; padding: 10px 12px; }
.search .btn { grid-column: 1 / -1; margin: 4px 0 0; }
.search .small { grid-column: 1 / -1; margin: 0; }
@media (max-width: 1100px) { .search.card { grid-template-columns: 1fr 1fr; } }
@media (max-width: 900px) {
  .herobg { position: relative; left: 0; height: clamp(220px, 46vw, 380px); }
  .herobg img { object-position: 40% 60%; }
  .herobg::after { background: linear-gradient(0deg, #0a2016 0%, rgba(10, 32, 22, 0) 55%); }
  .herogrid { grid-template-columns: 1fr; padding: 8px 0 44px; }
}
@media (max-width: 340px) { .search.card { grid-template-columns: 1fr; } }

/* Trust strip */
.trust { border-bottom: 0; }
.tgrid { padding: 30px 0; }
.tgrid > div { background: #fff; border-radius: 12px; padding: 16px; border: 1px solid var(--line); }
.tgrid svg { border-radius: 50%; background: var(--orange); color: #fff; }

/* Car cards: squarer corners, a dark "View car" that turns orange */
.car { border-radius: 12px; }
.car:hover { box-shadow: 0 16px 40px rgba(0, 0, 0, .12); }
.kicker { color: var(--orangeD); }
.car .price { color: var(--ink); }
.carfoot .btn { background: var(--ink); border-color: var(--ink); }
.carfoot .btn:hover { background: var(--orange); border-color: var(--orange); box-shadow: none; }
.nopic { position: absolute; inset: 0; display: grid; place-items: center; background: repeating-linear-gradient(135deg, #ece5d3 0 14px, #f5f2ea 14px 28px); color: var(--muted); font-weight: 750; font-size: 15px; }
.tag { background: rgba(13, 42, 28, .85); }
.tag.prep { background: var(--orange); color: #fff; }
.filters { background: #fff; border: 1px solid var(--line); }
.seg { flex-wrap: wrap; max-width: 100%; }
.seg button { white-space: nowrap; }
.seg button.on { background: var(--orange); color: #fff; }
@media (max-width: 700px) { .seg button { flex: 1 1 auto; } }

/* Car page */
.carhead { background: #0a2016; border-bottom: 3px solid var(--orange); }
.pricebox { border-top: 5px solid var(--orange); }
.ticks { gap: 6px 22px; }
.morepts summary { cursor: pointer; font-weight: 750; color: var(--orangeD); margin: -.6em 0 1em; }
.morepts[open] summary { margin-bottom: .6em; }
.btn.wabtn { background: var(--wa); border-color: var(--wa); color: #fff; }
.btn.wabtn:hover { box-shadow: 0 8px 22px rgba(37, 211, 102, .45); }
.btn.wabtn svg { width: 21px; height: 21px; }

/* Sections and boxes */
.sec.dark { background: #0f2e20; }
.band { background: linear-gradient(110deg, var(--orange), #e2c27a); color: #fff; }
.band .btn.darkbtn { background: #0a2016; border-color: #0a2016; }
.review { border-radius: 12px; border-top: 4px solid var(--orange); }
.review .stars svg { color: var(--orange); }
.sold { border-radius: 12px; }
.stamp { background: var(--orange); color: #fff; }
.contactbox p span { font-weight: 400; }
.hours { display: grid; gap: 6px; }
.hours > strong { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.hours ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; max-width: 360px; }
.hours li { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px dashed var(--line); padding: 4px 0; }
.brand.logo { box-shadow: 0 6px 18px rgba(0, 0, 0, .1); border: 1px solid var(--line); }
.brand.make { background: #fff; border: 1px solid var(--line); color: var(--ink); font-size: 1.05rem; }
.brands .eyebrow { color: var(--orangeD); }
.foot { background: #0a2016; border-top: 3px solid var(--orange); }
.fbrand img { width: 220px; }
.pagehead { background: #0a2016; }
.phbg img { opacity: .5; object-position: 40% 60%; }

/* The WhatsApp button (Josh, 23 Nov 2026): round, WhatsApp green with a soft glowing ring, bottom right on every page.
   Its "Chat on WhatsApp" label slides out on hover, and once on a first visit (site.js). On phones the call button
   sits above it, clear of it. */
.wa { right: 20px; bottom: 20px; width: 62px; height: 62px; padding: 0; gap: 0; justify-content: center; border-radius: 999px; background: var(--wa); color: #fff; box-shadow: 0 10px 26px rgba(18, 140, 74, .45); animation: none; overflow: visible; }
.wa svg { width: 34px; height: 34px; position: relative; z-index: 1; }
.wa::before, .wa::after { content: ""; position: absolute; inset: 0; border-radius: 999px; background: var(--wa); z-index: -1; animation: waring 2.6s ease-out infinite; }
.wa::after { animation-delay: 1.3s; }
@keyframes waring { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(1.75); opacity: 0; } }
.wa span { position: absolute; right: 72px; top: 50%; transform: translate(10px, -50%); background: #fff; color: #0a2016; font-size: 14px; font-weight: 800; white-space: nowrap; padding: 9px 14px; border-radius: 999px; box-shadow: 0 8px 24px rgba(0, 0, 0, .18); opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s; }
.wa span::after { content: ""; position: absolute; right: -6px; top: 50%; margin-top: -6px; border: 6px solid transparent; border-right: 0; border-left-color: #fff; }
.wa:hover span, .wa:focus-visible span, .wa.open span { opacity: 1; transform: translate(0, -50%); }
.wa:hover { transform: translateY(-2px) scale(1.04); box-shadow: 0 14px 34px rgba(18, 140, 74, .6); }
@media (max-width: 700px) {
  .wa { width: 58px; height: 58px; right: 16px; bottom: 16px; }
  .wa span { display: block; }
  .fab.withwa { bottom: 90px; right: 19px; width: 52px; height: 52px; background: var(--ink); color: #fff; box-shadow: 0 8px 20px rgba(0, 0, 0, .35); animation: none; }
}
@media (prefers-reduced-motion: reduce) { .wa::before, .wa::after { animation: none; opacity: 0; } .wa span { transition: none; } }
.contactbox .tels { display: block; }
.hours li strong { text-transform: none; letter-spacing: 0; font-size: inherit; color: var(--ink); }
.hours li span { color: var(--muted); }

/* ---- Their own video behind the home page heading (Josh, 23 Nov 2026) ---------------------------------------------------
   site.js gives it a source and fades it in once it plays; until then (and with reduced motion, Save-Data or 2G) the
   photo underneath shows. The overlay (.herobg::after) sits over both, so the heading stays readable. */
.herovid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; opacity: 0; transition: opacity .9s ease; pointer-events: none; }
.herovid.on { opacity: 1; }
.herobg:has(.herovid.on)::after { background: linear-gradient(90deg, rgba(13, 42, 28, .94) 0%, rgba(13, 42, 28, .8) 42%, rgba(13, 42, 28, .35) 100%), linear-gradient(0deg, rgba(13, 42, 28, .65), transparent 40%); }
@media (max-width: 900px) { .herobg:has(.herovid.on)::after { background: rgba(13, 42, 28, .72); } }
@media (prefers-reduced-motion: reduce) { .herovid { display: none; } }

/* ---- One "Chat with us" button: WhatsApp or the AI assistant (Josh, 23 Nov 2026) -----------------------------------------
   Orange and charcoal with a soft glow, bottom right on every page; its menu opens above it. SWARM's chat panel brings its
   own button, which stays hidden: this one opens the panel. On phones the call button sits above, clear of it. */
#swarm-chat-btn { display: none !important; }
.chatfab { position: fixed; right: 20px; bottom: 20px; z-index: 45; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.chatbtn { position: relative; display: inline-flex; align-items: center; gap: 10px; min-height: 60px; padding: 0 22px 0 10px; border: 2px solid var(--orange); border-radius: 999px; background: var(--ink); color: #fff; font: inherit; font-size: 16px; font-weight: 800; cursor: pointer; box-shadow: 0 10px 28px rgba(0, 0, 0, .35); animation: chatglow 2.6s ease-in-out infinite; transition: transform .2s; }
.chatbtn > svg { width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: var(--orange); color: #0a2016; flex: none; }
.chatbtn > svg:last-child { display: none; }
.chatfab.open .chatbtn > svg:first-child { display: none; }
.chatfab.open .chatbtn > svg:last-child { display: block; }
.chatfab.open .chatbtn { animation: none; }
.chatbtn:hover { transform: translateY(-2px); }
.chatbtn:focus-visible { outline: 3px solid var(--orange2); outline-offset: 3px; }
@keyframes chatglow { 0%, 100% { box-shadow: 0 0 0 0 rgba(201, 164, 92, .55), 0 10px 28px rgba(0, 0, 0, .35); } 50% { box-shadow: 0 0 0 12px rgba(201, 164, 92, 0), 0 10px 32px rgba(201, 164, 92, .45); } }
.chatmenu { width: min(320px, calc(100vw - 32px)); background: var(--ink); color: #fff; border: 1px solid var(--ink3); border-top: 3px solid var(--orange); border-radius: 18px; padding: 12px; box-shadow: 0 18px 48px rgba(0, 0, 0, .4); display: grid; gap: 8px; animation: chatin .2s ease-out; }
.chatmenu[hidden] { display: none; }
html:not(.js) .chatfab:hover .chatmenu, html:not(.js) .chatfab:focus-within .chatmenu { display: grid; }
@keyframes chatin { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
.chatmenu-h { margin: 2px 6px 4px; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--orange2); }
.chatopt { display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 10px 12px; border-radius: 12px; background: var(--ink2); color: #fff; text-decoration: none; border: 1px solid var(--ink3); transition: border-color .15s, background .15s; }
.chatopt:hover, .chatopt:focus-visible { border-color: var(--orange); background: var(--ink3); outline: none; }
.chatopt > svg { width: 40px; height: 40px; padding: 8px; border-radius: 12px; flex: none; }
.wa-opt > svg { background: #25d366; color: #fff; }
.ai-opt > svg { background: var(--orange); color: #0a2016; }
.chatopt span { display: grid; gap: 2px; line-height: 1.3; }
.chatopt strong { font-size: 16px; color: #fff; }
.chatopt small { font-size: 13px; color: var(--soft); }
@media (max-width: 700px) {
  .chatfab { right: 16px; bottom: 16px; }
  .chatbtn { min-height: 58px; font-size: 15px; padding-right: 18px; }
  .fab.withwa { bottom: 90px; right: 19px; width: 52px; height: 52px; background: var(--ink); color: #fff; box-shadow: 0 8px 20px rgba(0, 0, 0, .35); animation: none; }
  .chatfab.open ~ .fab { display: none; }
}
@media (prefers-reduced-motion: reduce) { .chatbtn, .chatmenu { animation: none; } }

/* ---- "Cars for sale" opens the makes in stock (Josh, 23 Nov 2026, like their own site) -----------------------------------
   Hover (with a mouse), the arrow button (tap or keyboard) or focus opens a grid of the makes with their logos and counts;
   each goes to the stock list filtered to that make. In the phone menu the makes are a row of chips under Cars for sale. */
.navdd { position: relative; display: flex; align-items: center; gap: 0; }
.nav a { white-space: nowrap; }
@media (max-width: 1320px) { .nav { gap: 14px; } .nav a { font-size: 14px; } }
.navdd-t { display: grid; place-items: center; width: 22px; height: 32px; padding: 0; border: 0; border-radius: 8px; background: none; color: var(--ink); cursor: pointer; }
.navdd-t svg { width: 16px; height: 16px; transition: transform .2s; }
.navdd-t[aria-expanded="true"] svg { transform: rotate(180deg); }
.navdd-t:focus-visible { outline: 3px solid rgba(201, 164, 92, .45); }
.makemenu { position: absolute; top: calc(100% + 14px); left: -24px; z-index: 60; width: min(620px, calc(100vw - 48px)); padding: 18px; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--orange); border-radius: 18px; box-shadow: 0 24px 60px rgba(0, 0, 0, .18); animation: chatin .18s ease-out; }
.makemenu::before { content: ""; position: absolute; left: 0; right: 0; top: -18px; height: 18px; }
.makemenu[hidden] { display: none; }
html:not(.js) .navdd:hover .makemenu, html:not(.js) .navdd:focus-within .makemenu { display: block; }
.mm-h { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 0 4px 12px; font-size: 14px; }
.mm-h strong { font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--orangeD); }
.nav .mm-h a { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--orangeD); border: 0; padding: 0; }
.mm-h a svg { width: 15px; height: 15px; }
.mm-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.nav .mm-grid a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; min-height: 52px; border: 1px solid transparent; border-radius: 12px; font-size: 14px; line-height: 1.2; }
.nav .mm-grid a:hover, .nav .mm-grid a:focus-visible { background: #faf5ea; border-color: rgba(201, 164, 92, .45); outline: none; }
.mm-grid img, .mm-txt { width: 36px; height: 36px; flex: none; object-fit: contain; }
.mm-txt { display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .04em; }
.mm-name { display: grid; } .mm-name b { font-weight: 750; color: var(--ink); }
.mm-grid em { display: block; font-style: normal; font-size: 12px; font-weight: 600; color: var(--muted); }

@media (max-width: 1180px) { .mm-grid { grid-template-columns: repeat(3, 1fr); } }
.mnav-makes { display: flex; flex-wrap: wrap; gap: 6px; padding: 2px 10px 10px; max-height: 180px; overflow-y: auto; }
.mnav nav .mnav-makes a { padding: 6px 10px; font-size: 13px; font-weight: 700; border: 1px solid var(--line); border-radius: 999px; }
.mnav-makes em { font-style: normal; color: var(--muted); font-weight: 600; }
@media (prefers-reduced-motion: reduce) { .makemenu { animation: none; } .navdd-t svg { transition: none; } }

/* ---- The finance page (Josh, 23 Nov 2026: as full as their own) ------------------------------------------------------------
   Product cards, a numbered timeline, their disclosure in a box, and the finance enquiry form beside them. */
.pcards { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; margin: 6px 0 28px; }
.pcard { position: relative; padding: 22px 20px 20px; border-top: 4px solid var(--orange); }
.pcard h3 { margin: 6px 0 8px; font-size: 1.1rem; }
.pcard p { margin: 0; font-size: 15px; color: var(--muted); }
.ptag { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--orangeD); background: #f3ead6; border-radius: 999px; padding: 4px 10px; }
.steptl { list-style: none; margin: 8px 0 30px; padding: 0; display: grid; gap: 0; }
.steptl li { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding-bottom: 22px; }
.steptl li:not(:last-child)::before { content: ""; position: absolute; left: 21px; top: 44px; bottom: 0; width: 2px; background: linear-gradient(var(--orange), rgba(201, 164, 92, .15)); }
.steptl b { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: var(--orange2); font-size: 18px; font-weight: 850; box-shadow: 0 0 0 4px #f3ead6; }
.steptl strong { display: block; font-size: 1.05rem; margin: 2px 0 2px; }
.steptl span { color: var(--muted); font-size: 15px; }
.legal { margin: 26px 0 10px; padding: 18px 20px; border: 1px solid var(--line); border-left: 4px solid var(--ink); border-radius: 12px; background: var(--grey); }
.legal strong { display: block; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 6px; }
.legal p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--muted); }
.finform fieldset.f { border: 0; padding: 0; margin: 0; min-width: 0; }
.finform legend { font-weight: 700; font-size: 15px; padding: 0; margin-bottom: 6px; color: #fff; }
.finform .finsum { color: var(--soft); }
.finform .finsum strong { color: #fff; }
@media (min-width: 1081px) { .finform { position: sticky; top: 96px; } }

/* ---- From their old site (Josh, 23 Nov 2026): request a car, maps, reviews form, the sold archive, printing a car ----------- */
.mm-foot { margin: 12px 4px 0; padding-top: 12px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.nav .mm-foot a { display: inline; padding: 0; border: 0; font-size: 14px; color: var(--orangeD); }
.maps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin: 8px 0 28px; }
.mapcard { padding: 0; overflow: hidden; }
.mapframe { display: grid; place-items: center; gap: 6px; align-content: center; height: 220px; background: var(--grey) linear-gradient(135deg, #efe8d8 25%, transparent 25%, transparent 50%, #efe8d8 50%, #efe8d8 75%, transparent 75%) 0 0 / 28px 28px; }
.mapframe.on { display: block; }
.mapframe iframe { width: 100%; height: 100%; border: 0; display: block; }
.mapcard p { display: grid; gap: 4px; margin: 0; padding: 14px 16px 16px; }
.mapcard p .btn { justify-self: start; margin-top: 6px; }
.reviewform { max-width: 640px; margin: 32px auto 0; }
.reviewform fieldset.f { border: 0; padding: 0; margin: 0; min-width: 0; }
.reviewform legend { font-weight: 700; font-size: 15px; padding: 0; margin-bottom: 6px; }
.soldbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.soldbar .count { margin: 0; }
.soldmore { text-align: center; margin: 24px 0 32px; }
.sold[hidden], .soldmore [hidden] { display: none; }
@media print {
  .demobar, .topbar, .top, .foot, .chatfab, .fab, .noprint, .carside .btn, #viewing, #value, .thumbs, .skip { display: none !important; }
  body { font-size: 12pt; color: #000; }
  .carhead, .sec.dark { background: #fff !important; color: #000 !important; }
  .cartitle h1, .carhead .price { color: #000 !important; }
  a { color: #000; text-decoration: none; }
}
.finform .chips input:checked + span { background: var(--orange); border-color: var(--orange); color: #0a2016; }

/* ======================================================================================================================
   Weston Motor Company's own look (Josh, 26 Nov 2026: their new Facebook brand). Deep racing green and metallic gold,
   cream sections, serif capitals for the big headings like their cover's "QUALITY CARS / EXCEPTIONAL SERVICE", plain
   sans-serif for reading. Square-ish corners and fine gold rules for a premium, coachbuilt feel.
   ====================================================================================================================== */
:root {
  --serif: "Palatino Linotype", Palatino, "Book Antiqua", "URW Palladio L", Georgia, "Times New Roman", serif;
  --green: #0d2a1c; --green2: #12301f; --green3: #1b4430; --deep: #08190f; --gold: #c9a45c; --gold2: #e2c27a; --goldD: #7a5a1e; --cream: #f5f2ea; --cream2: #ece5d3;
  --page2: var(--cream); --panel2: var(--cream); --edge: var(--line); --r: 6px;
}
body { color: #16231b; }
h1, h2, .h3 { font-family: var(--serif); font-weight: 600; letter-spacing: .005em; }
h1 { font-weight: 600; }
.lead { color: #4d5a52; }
.eyebrow { color: var(--goldD); letter-spacing: .26em; font-weight: 700; font-size: 12.5px; }
.eyebrow.light, .sec.dark .eyebrow { color: var(--gold2); }
.kicker { color: var(--goldD); letter-spacing: .12em; }
a { color: #6b4f19; }

/* Buttons: brushed gold with green words; ghost buttons in green or cream */
.btn { border-radius: 4px; color: var(--green); text-shadow: none; background: linear-gradient(180deg, #ecd497 0%, #d7b56c 55%, #c39d52 100%); border-color: #c39d52; letter-spacing: .02em; }
.btn:hover { box-shadow: 0 8px 22px rgba(201, 164, 92, .4); }
.btn.small { border-radius: 4px; }
.btn.ghost { background: transparent; color: var(--green); border-color: var(--green); }
.btn.ghost:hover { background: var(--green); color: var(--cream); }
.btn.ghost.light, .dark .btn.ghost, .foot .btn.ghost { color: var(--cream); border-color: rgba(226, 194, 122, .7); }
.btn.ghost.light:hover, .dark .btn.ghost:hover, .foot .btn.ghost:hover { background: var(--gold2); border-color: var(--gold2); color: var(--green); }
.btn.darkbtn { background: var(--green); border-color: var(--green); color: var(--gold2); }
.btn.fb { background: #1877f2; border-color: #1877f2; color: #fff; }

/* Demo bar, top bar and header */
.demobar { background: var(--deep); color: var(--gold2); font-weight: 600; letter-spacing: .04em; border-bottom: 1px solid rgba(201, 164, 92, .3); }
.topbar { background: var(--deep); color: #c3cfc7; }
.topbar svg { color: var(--gold2); }
.topbar a { color: var(--cream); }
.top { background: rgba(13, 42, 28, .98); border-bottom: 2px solid var(--gold); }
.logo img { width: 232px; }
.nav a { color: #eee7d6; font-weight: 600; }
.nav a:hover { color: #fff; border-color: var(--gold2); }
.navdd-t { color: #eee7d6; }
.mnav summary { border-color: #2c5a40; color: var(--cream); }
@media (max-width: 1080px) { .logo img { width: 214px; } }
@media (max-width: 520px) { .logo img { width: 178px; } }
@media (max-width: 360px) { .logo img { width: 156px; } }
.nav .mm-grid a:hover, .nav .mm-grid a:focus-visible { background: #faf5ea; border-color: rgba(201, 164, 92, .55); }
.mm-txt { background: var(--green); color: var(--gold2); font-family: var(--serif); font-size: 11px; }

/* Hero: green with a soft glow, the words and the search on the left, their Defender framed in gold on the right */
.hero { background: radial-gradient(120% 90% at 85% 15%, #1d4a33 0%, var(--green) 50%, var(--deep) 100%); }
.hero.feature .herobg { display: none; }
.hero h1 { text-transform: uppercase; letter-spacing: .07em; font-weight: 500; font-size: clamp(2rem, 4.1vw, 3.2rem); line-height: 1.06; color: var(--cream); }
.hero h1 span { font-size: .64em; letter-spacing: .16em; margin-top: .4em; }
.hero .eyebrow.light { color: var(--gold2); }
.hero .eyebrow.light::after { content: ""; display: block; width: 64px; height: 1px; margin-top: 14px; background: linear-gradient(90deg, var(--gold), transparent); }
.hero .lead { color: #cdd8d0; }
.heroticks { color: #cdd8d0; } .heroticks svg { color: var(--gold2); }
.hero.feature .herogrid { grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr); gap: 0 56px; padding: 60px 0 64px; align-items: start; }
.hero.feature .herotext, .hero.feature .herotabs { grid-column: 1; }
.herofeat { grid-column: 2; grid-row: 1 / span 2; align-self: center; position: relative; margin: 0; padding: 10px; border: 1px solid rgba(201, 164, 92, .6); border-radius: 3px; background: rgba(8, 25, 15, .55); box-shadow: 0 34px 80px rgba(0, 0, 0, .5); outline: 1px solid rgba(201, 164, 92, .22); outline-offset: 7px; }
.herofeat img { width: 100%; height: auto; border-radius: 1px; }
.herofeat::after { content: "Drive something better"; position: absolute; left: 50%; bottom: -13px; transform: translateX(-50%); white-space: nowrap; padding: 4px 16px; background: var(--deep); border: 1px solid rgba(201, 164, 92, .6); color: var(--gold2); font: 600 11.5px/1.4 var(--font); letter-spacing: .3em; text-transform: uppercase; }
.search.card { border-radius: 4px; border-top: 3px solid var(--gold); }
.search .eyebrow { color: var(--goldD); }
@media (max-width: 900px) {
  .hero.feature .herogrid { grid-template-columns: 1fr; padding: 30px 0 44px; gap: 0; }
  .herofeat { grid-column: 1; grid-row: auto; margin: 0 4px 34px; padding: 7px; outline-offset: 5px; }
  .hero h1 { font-size: clamp(1.9rem, 7.4vw, 2.6rem); }
}
@media (max-width: 420px) { .herofeat::after { font-size: 10px; letter-spacing: .22em; padding: 3px 12px; } }
.partner.inhero { margin-top: 24px; }

/* Trust strip: their four promises */
.trust { background: var(--cream); border-bottom: 1px solid var(--line); }
.tgrid > div { border-radius: 4px; border-color: var(--line); }
.tgrid svg { background: var(--green); color: var(--gold2); }
.tgrid strong { font-family: var(--serif); font-size: 16px; letter-spacing: .02em; }

/* Sections */
.sec.grey, .brands { background: var(--cream); }
.sec.dark { background: radial-gradient(110% 120% at 0% 0%, #17402b 0%, var(--green) 45%, var(--deep) 100%); }
.sec.dark h2, .sec.dark h3 { color: var(--cream); }
.sechead h2, .split h2 { color: var(--green); }
.sec.dark .split h2 { color: var(--cream); }
.more { color: var(--goldD); }
.card { border-radius: 6px; }
.form.dark { background: var(--green); border-color: var(--green3); }
.form.dark .f input, .form.dark .f select { background: var(--green2); border-color: var(--green3); }
.f input, .f select, .f textarea { border-radius: 4px; }

/* Car cards */
.car { border-radius: 6px; border-color: var(--line); }
.car .price { color: var(--green); font-family: var(--serif); font-size: 1.35rem; font-weight: 700; }
.carfoot .btn { background: var(--green); border-color: var(--green); color: var(--gold2); }
.carfoot .btn:hover { background: linear-gradient(180deg, #ecd497, #c39d52); border-color: #c39d52; color: var(--green); }
.tag { background: rgba(8, 25, 15, .86); }
.tag.prep { background: var(--gold2); color: var(--green); }
.seg button.on { background: var(--green); color: var(--gold2); }
.facts svg, .mini svg, .keyfacts svg, .prepnote svg { color: var(--goldD); }

/* Car page */
.carhead { background: radial-gradient(120% 140% at 100% 0%, #17402b 0%, var(--green) 55%, var(--deep) 100%); border-bottom: 2px solid var(--gold); }
.carhead .price { color: var(--gold2); font-family: var(--serif); }
.price.big { font-family: var(--serif); }
.pricebox { border-top: 4px solid var(--gold); }
.pricebox .price { color: var(--green); }
.thumbs a[aria-current="true"] { border-color: var(--gold); }

/* Band, reviews, sold, footer, page headings */
.band { background: radial-gradient(120% 160% at 100% 0%, #1d4a33, var(--green) 60%); color: var(--cream); border: 1px solid rgba(201, 164, 92, .45); border-radius: 6px; }
.band h2 { color: var(--cream); }
.band .btn.darkbtn { background: linear-gradient(180deg, #ecd497, #c39d52); border-color: #c39d52; color: var(--green); }
.review { border-radius: 6px; border-top: 3px solid var(--gold); }
.review .stars svg, .quote svg { color: var(--gold); }
.review blockquote { font-family: var(--serif); font-size: 1.04rem; line-height: 1.55; }
.stamp { background: var(--gold2); color: var(--green); }
.foot { background: var(--deep); border-top: 2px solid var(--gold); }
.foot h4 { color: var(--gold2); font-family: var(--serif); letter-spacing: .06em; font-weight: 600; }
.foot a:hover { color: var(--gold2); }
.fbrand img { width: 250px; }
.pagehead { background: var(--green); }
.pagehead h1 { color: var(--cream); }
.phbg img { opacity: .38; }
.pagehead.plain { background: radial-gradient(110% 160% at 100% 0%, #17402b, var(--green) 60%, var(--deep)); }
.partnerband { background: var(--cream); }
.brand.make { font-family: var(--serif); letter-spacing: .04em; }

/* The one "Chat with us" button: green with a gold ring */
.chatbtn { background: var(--green); border-color: var(--gold); color: var(--cream); }
.chatbtn > svg { background: linear-gradient(180deg, #ecd497, #c39d52); color: var(--green); }
@keyframes chatglow { 0%, 100% { box-shadow: 0 0 0 0 rgba(201, 164, 92, .5), 0 10px 28px rgba(0, 0, 0, .35); } 50% { box-shadow: 0 0 0 12px rgba(201, 164, 92, 0), 0 10px 32px rgba(201, 164, 92, .35); } }
.chatmenu { background: var(--green); border-color: var(--green3); border-top-color: var(--gold); }
.chatopt { background: var(--green2); border-color: var(--green3); }
.chatmenu-h { color: var(--gold2); }
.fab { background: linear-gradient(180deg, #ecd497, #c39d52); color: var(--green); box-shadow: 0 10px 26px rgba(8, 25, 15, .45); }
@media (max-width: 700px) { .fab.withwa { background: var(--green); color: var(--gold2); border: 1px solid var(--gold); } }

/* Finance page */
.pcard { border-top: 3px solid var(--gold); }
.ptag { background: #f3ead6; color: var(--goldD); }
.steptl b { background: var(--green); color: var(--gold2); box-shadow: 0 0 0 4px #f3ead6; font-family: var(--serif); }
.legal { border-left-color: var(--gold); background: var(--cream); }
.feat4 .card svg { color: var(--goldD); }
/* Their main photos carry their own WM badge bottom left and the RAC corner top right, so the photo count sits bottom right */
.carpic .tag { left: auto; right: 12px; }
