﻿/* ==========================================================================
   Dealer site theme
   --brand and --brand-ink are written per dealer in _Layout.cshtml from
   Data/dealer.json; every other colour below is derived from them.
   ========================================================================== */

:root {
  --brand: #0089cd;
  --brand-ink: #0b2545;
  --brand-dark: color-mix(in srgb, var(--brand) 78%, black);
  --brand-soft: color-mix(in srgb, var(--brand) 10%, white);
  --ink: #1d2433;
  --muted: #5d6677;
  --line: #e3e7ee;
  --surface: #f5f7fa;
  --radius: 12px;
  --shadow: 0 8px 24px rgba(16, 24, 40, .07);
  --shadow-lg: 0 18px 44px rgba(16, 24, 40, .14);
  --font-display: "Montserrat", "Inter", Verdana, sans-serif;

  --bs-body-font-family: "Inter", system-ui, -apple-system, "Segoe UI", Helvetica, sans-serif;
  --bs-body-color: var(--ink);
  --bs-link-color-rgb: 0, 137, 205;
}

html { scroll-behavior: smooth; }
body { font-family: var(--bs-body-font-family); color: var(--ink); background: #fff; }
a { color: var(--brand); }
a:hover { color: var(--brand-dark); }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; letter-spacing: -.02em; color: var(--brand-ink); }

.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 2000;
  background: var(--brand); color: #fff; padding: .5rem 1rem; border-radius: 6px;
}
.skip-link:focus { left: 8px; color: #fff; }

:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 60%, white); outline-offset: 2px; }

/* ---------- Buttons ---------- */
.btn { font-weight: 600; border-radius: 8px; padding: .65rem 1.25rem; transition: background .2s, border-color .2s, color .2s, box-shadow .2s; }
.btn-lg { padding: .85rem 1.6rem; font-size: 1rem; }
.btn-brand { background: var(--brand); border: 1px solid var(--brand); color: #fff; }
.btn-brand:hover, .btn-brand:focus { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff;
  box-shadow: 0 8px 20px color-mix(in srgb, var(--brand) 30%, transparent); }
.btn-outline-brand { border: 1px solid var(--brand); color: var(--brand); background: transparent; }
.btn-outline-brand:hover { background: var(--brand); color: #fff; }
.btn-light-ghost { border: 1px solid rgba(255,255,255,.6); color: #fff; }
.btn-light-ghost:hover { background: #fff; color: var(--brand-ink); }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--brand-ink); font-size: .85rem; padding: .45rem 0; }
.topbar a { color: rgba(255,255,255,.9); text-decoration: none; }
.topbar a:hover { color: #fff; }
.topbar .bi { color: var(--brand); margin-right: .25rem; }
.topbar-address { color: rgba(255,255,255,.7); }

.site-header { background: #fff; border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.site-header.is-scrolled { box-shadow: var(--shadow); }
.site-header .navbar { padding: .75rem 0; }
.site-header .navbar-brand img { height: 48px; width: auto; }
.brand-wordmark { font-weight: 800; color: var(--brand); font-size: 1.35rem; }
.brand-wordmark small { font-weight: 500; color: var(--brand-ink); font-size: .9rem; letter-spacing: .08em; text-transform: uppercase; }
.site-header .nav-link { font-weight: 500; color: var(--ink); padding: .5rem .85rem !important; border-radius: 8px; }
.site-header .nav-link:hover, .site-header .nav-link.active { color: var(--brand); background: var(--brand-soft); }
.site-header .dropdown-menu { border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); padding: .5rem; }
.site-header .dropdown-item { border-radius: 8px; padding: .45rem .85rem; font-size: .95rem; }
.site-header .dropdown-item:hover { background: var(--brand-soft); color: var(--brand-dark); }
.navbar-toggler { border: 0; font-size: 1.8rem; color: var(--brand-ink); }
.navbar-toggler:focus { box-shadow: none; }

/* ---------- Sections ---------- */
.section { padding: 5.5rem 0; }
.section-alt { background: var(--surface); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 2.5rem; }
.section-head h2 { margin: 0; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.section-head p { margin: .5rem 0 0; color: var(--muted); max-width: 36rem; }
/* Eyebrow label + heading + optional intro, used to open every home page section. */
.section-title { margin-bottom: 2.75rem; }
.section-title h2 { font-size: clamp(1.75rem, 3vw, 2.4rem); margin: 0; }
.section-title p { color: var(--muted); font-size: 1.05rem; margin: .75rem 0 0; max-width: 36rem; }
.section-title.text-center p { margin-inline: auto; }
.eyebrow { display: inline-flex; align-items: center; gap: .6rem; text-transform: uppercase; letter-spacing: .14em; font-size: .75rem; font-weight: 700; color: var(--brand); margin-bottom: .75rem; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow-light { color: #8fd3ff; }

/* ---------- Home: hero ---------- */
.home-hero { position: relative; color: #fff; background: linear-gradient(135deg, var(--brand-ink), color-mix(in srgb, var(--brand-ink) 60%, var(--brand))) center / cover; }
.home-hero.has-image::before { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(8,20,40,.92) 0%, rgba(8,20,40,.72) 45%, rgba(8,20,40,.2) 100%), linear-gradient(0deg, rgba(8,20,40,.5) 0%, transparent 35%); }
.home-hero > .container { position: relative; padding-top: 7rem; padding-bottom: 10rem; }
.hero-copy { max-width: 48rem; }
.hero-kicker { display: inline-flex; align-items: center; gap: .5rem; padding: .4rem .9rem; margin-bottom: 1.5rem; border-radius: 999px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); font-size: .85rem; font-weight: 500; backdrop-filter: blur(6px); }
.hero-kicker .bi { color: #8fd3ff; }
.home-hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; line-height: 1.08; letter-spacing: -.03em; margin-bottom: 1.25rem; }
.home-hero h1 span { color: #8fd3ff; }
.home-hero p { color: rgba(255,255,255,.85); font-size: 1.15rem; line-height: 1.6; max-width: 34rem; margin-bottom: 2rem; }

/* Search bar docked over the bottom of the hero, with the trust strip beneath it. */
.hero-dock { position: relative; z-index: 2; margin-top: -5.5rem; }
.search-bar { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1fr) auto; align-items: end; gap: 1rem 1.25rem;
  padding: 1.5rem 1.75rem; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.search-bar-title { align-self: center; }
.search-bar-title h2 { font-size: 1.3rem; margin: 0; }
.search-bar-title span { font-size: .85rem; color: var(--muted); }
.search-bar-field label { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: .35rem; }
.search-bar .form-select { padding: .75rem 1rem; border-color: var(--line); }
.search-bar .form-select:focus { border-color: var(--brand); box-shadow: 0 0 0 .2rem var(--brand-soft); }
.search-bar .form-select:disabled { background-color: var(--surface); }
.search-bar .btn { white-space: nowrap; }
.trust-strip { list-style: none; margin: 0; padding: 1.75rem 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.trust-strip li { display: flex; align-items: center; gap: .85rem; font-size: .9rem; color: var(--muted); }
.trust-strip strong { display: block; color: var(--brand-ink); font-family: var(--font-display); font-size: 1.05rem; }
.trust-strip .bi { flex: 0 0 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); font-size: 1.15rem; }
.trust-strip .bi-star-fill { color: #f5a300; background: #fff4dc; }

/* ---------- Home: explore our brands ---------- */
.brands-band { position: relative; padding: 6.5rem 0; text-align: center; color: #fff; margin-top: 4.5rem;
  background: linear-gradient(135deg, var(--brand-ink), color-mix(in srgb, var(--brand-ink) 60%, var(--brand))) center / cover; }
.brands-band.has-image::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,20,40,.82) 0%, rgba(8,20,40,.6) 100%); }
.brands-band > .container { position: relative; }
.brands-band h2 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.6rem); }
.brands-band p { color: rgba(255,255,255,.82); max-width: 36rem; margin: .5rem auto 2.5rem; font-size: 1.05rem; }
/* Dividers are drawn by each tile's right/bottom shadow; the strip clips the outer edges, so a short last row stays clean. */
.brands-band .strip { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); overflow: hidden; }
.brand-tile { position: relative; display: flex; align-items: center; justify-content: center; min-height: 96px; padding: .75rem; background: #fff;
  box-shadow: 1px 0 0 var(--line), 0 1px 0 var(--line);
  text-decoration: none; color: var(--brand-ink); font-family: var(--font-display); font-weight: 700; letter-spacing: .2em;
  text-transform: uppercase; font-size: .85rem; transition: color .2s, background .2s; }
.brand-tile::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 0; height: 3px; background: var(--brand); transition: width .25s, left .25s; }
.brand-tile img { max-height: 44px; max-width: 100%; }
.brand-tile:hover { color: var(--brand); background: color-mix(in srgb, var(--brand) 4%, white); }
.brand-tile:hover::after { left: 0; width: 100%; }

/* ---------- Home: service tiles ---------- */
.home-tile { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  text-decoration: none; color: var(--ink); transition: transform .25s, box-shadow .25s, border-color .25s; }
.home-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; color: var(--ink); }
.home-tile-media { position: relative; aspect-ratio: 4 / 3; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brand), var(--brand-ink)); color: #fff; font-size: 3rem; }
.home-tile-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.home-tile:hover .home-tile-media img { transform: scale(1.05); }
.home-tile-icon { position: absolute; left: 1.5rem; bottom: -22px; z-index: 1; width: 46px; height: 46px; border-radius: 10px; display: grid; place-items: center;
  background: var(--brand); color: #fff; font-size: 1.2rem; box-shadow: 0 6px 16px color-mix(in srgb, var(--brand) 40%, transparent); }
.home-tile-body { display: flex; flex-direction: column; flex: 1; padding: 2.25rem 1.5rem 1.5rem; }
.home-tile h3 { font-size: 1.3rem; margin-bottom: .5rem; }
.home-tile p { color: var(--muted); font-size: .95rem; line-height: 1.6; flex: 1; }
.tile-cta { font-weight: 600; color: var(--brand); font-size: .92rem; }
.tile-cta .bi { display: inline-block; transition: transform .2s; }
.home-tile:hover .tile-cta .bi, .news-card:hover .tile-cta .bi { transform: translateX(4px); }

/* ---------- Home: reviews ---------- */
.reviews-section { background: color-mix(in srgb, var(--brand) 7%, white); }
.reviews-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1.5rem; margin-bottom: 2.5rem; }
.rating-summary { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.5rem; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.rating-score { font-family: var(--font-display); font-size: 3rem; font-weight: 800; line-height: 1; color: var(--brand-ink); }
.rating-meta { font-size: .85rem; color: var(--muted); }
.stars { color: #f5a300; letter-spacing: .12em; }
.review-card { position: relative; display: flex; flex-direction: column; margin: 0; padding: 2rem; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); }
.review-quote { position: absolute; top: .75rem; right: 1.25rem; font-size: 3.5rem; line-height: 1; color: var(--brand-soft); }
.review-card blockquote { flex: 1; margin: 1rem 0 1.5rem; font-size: 1rem; line-height: 1.7; color: var(--ink); }
.review-card figcaption { display: flex; align-items: center; gap: .85rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.review-avatar { flex: 0 0 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-ink); color: #fff;
  font-family: var(--font-display); font-weight: 700; }
.review-card .who { display: block; font-weight: 700; color: var(--brand-ink); }
.review-card .when { display: block; font-size: .82rem; color: var(--muted); }

/* ---------- Home: welcome / why choose us ---------- */
.welcome-text { max-width: 36rem; }
.welcome-text p { color: var(--muted); line-height: 1.8; }
.why-banner { position: relative; display: flex; align-items: flex-end; height: 100%; min-height: 460px; border-radius: var(--radius); overflow: hidden;
  text-decoration: none; color: #fff; background: linear-gradient(160deg, var(--brand) 0%, var(--brand-ink) 90%) center / cover; box-shadow: var(--shadow); }
.why-banner.has-image::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8,20,40,.95) 0%, rgba(8,20,40,.55) 55%, rgba(8,20,40,.1) 100%); }
.why-banner:hover { color: #fff; }
.why-banner-body { position: relative; display: flex; flex-direction: column; padding: 2.5rem; }
.why-banner-title { font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.3rem); font-weight: 800; letter-spacing: -.02em; }
.why-banner-text { color: rgba(255,255,255,.82); margin-top: .35rem; }
.why-banner-points { display: grid; gap: .6rem; margin: 1.5rem 0; font-size: .95rem; }
.why-banner-points .bi { color: #8fd3ff; margin-right: .4rem; }
.why-banner-link { font-weight: 600; color: #8fd3ff; }
.why-banner-link .bi { display: inline-block; transition: transform .2s; }
.why-banner:hover .why-banner-link .bi { transform: translateX(4px); }

/* ---------- Home: latest news ---------- */
.news-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .25s, box-shadow .25s, border-color .25s; }
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.news-card-media { aspect-ratio: 16 / 10; background: var(--brand-soft) center / cover; display: grid; place-items: center; color: var(--brand); font-size: 2rem; }
.news-card-body { display: flex; flex-direction: column; flex: 1; gap: 1rem; padding: 1.5rem; }
.news-card h3 { flex: 1; font-size: 1.15rem; line-height: 1.4; margin: 0; }
.news-card h3 a { color: var(--brand-ink); text-decoration: none; }
.news-card h3 a::after { content: ""; position: absolute; inset: 0; }
.news-card:hover h3 a { color: var(--brand); }

@media (max-width: 991.98px) {
  .home-hero > .container { padding-top: 4.5rem; padding-bottom: 8rem; }
  .search-bar { grid-template-columns: 1fr 1fr; }
  .search-bar-title, .search-bar .btn { grid-column: 1 / -1; }
  .trust-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why-banner { min-height: 400px; }
}
@media (max-width: 575.98px) {
  .search-bar { grid-template-columns: 1fr; padding: 1.25rem; }
  .trust-strip { gap: 1rem .75rem; }
  .trust-strip li { font-size: .82rem; gap: .6rem; }
  .trust-strip .bi { flex-basis: 38px; height: 38px; }
  .why-banner-body { padding: 1.75rem; }
  .brands-band { padding: 4.5rem 0; margin-top: 3rem; }
  .reviews-head { align-items: flex-start; }
}

/* ---------- Inner pages ---------- */
.page-hero { position: relative; background: linear-gradient(135deg, var(--brand-ink), color-mix(in srgb, var(--brand-ink) 65%, var(--brand))); color: #fff; padding: 4rem 0 3.5rem; }
.page-hero.has-image { background-size: cover; background-position: center; }
.page-hero.has-image::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,14,28,.92) 0%, rgba(6,14,28,.65) 60%, rgba(6,14,28,.4) 100%); }
.page-hero > .container { position: relative; }
.page-hero h1 { color: #fff; margin: 0; font-size: clamp(1.8rem, 4vw, 2.6rem); }
.page-hero .breadcrumb { margin-bottom: .75rem; font-size: .85rem; }
.page-hero .breadcrumb a { color: rgba(255,255,255,.75); text-decoration: none; }
.page-hero .breadcrumb-item.active, .page-hero .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.55); }
.page-hero p { color: rgba(255,255,255,.8); margin: .75rem 0 0; max-width: 40rem; }
.placeholder-panel { border: 2px dashed var(--line); border-radius: var(--radius); padding: 3rem 2rem; text-align: center; color: var(--muted); }
.placeholder-panel .bi { font-size: 2.5rem; color: var(--brand); }
.contact-card { background: var(--surface); border-radius: var(--radius); padding: 1.75rem; }
.contact-card dt { font-weight: 600; font-size: .85rem; color: var(--muted); }
.contact-card dd { margin-bottom: .75rem; }
.map-embed { border: 0; width: 100%; min-height: 320px; border-radius: var(--radius); }

/* ---------- Contact page ---------- */
.contact-quick { position: relative; z-index: 2; margin-top: -2.5rem; }
.quick-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.quick-card { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 1rem; align-items: center;
  padding: 1.25rem; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); text-decoration: none; color: var(--ink);
  border: 1px solid transparent; transition: transform .2s, box-shadow .2s, border-color .2s; }
.quick-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--brand-soft); color: var(--ink); }
.quick-icon { grid-row: span 2; width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand); font-size: 1.3rem; transition: background .2s, color .2s; }
.quick-card:hover .quick-icon { background: var(--brand); color: #fff; }
.quick-label { font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.quick-value { font-family: var(--font-display); font-weight: 700; color: var(--brand-ink); }

.enquiry-card { scroll-margin-top: 110px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2.25rem; box-shadow: var(--shadow-sm, 0 1px 3px rgba(16,24,40,.08)); }
.enquiry-card .form-label { font-weight: 600; font-size: .9rem; }
.enquiry-card .form-control, .enquiry-card .form-select { padding: .7rem .9rem; border-color: var(--line); }
.enquiry-card .form-control:focus, .enquiry-card .form-select:focus { border-color: var(--brand); box-shadow: 0 0 0 .2rem var(--brand-soft); }
.enquiry-card .form-check-input:checked { background-color: var(--brand); border-color: var(--brand); }
.req { color: #d13b3b; }
.enquiry-vehicle { display: flex; align-items: center; gap: 1rem; padding: .75rem; margin-bottom: 1.75rem; border: 1px solid var(--brand); border-radius: var(--radius);
  background: var(--brand-soft); }
.enquiry-vehicle img { flex: 0 0 120px; width: 120px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; }
.enquiry-vehicle-info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.enquiry-vehicle-info .vehicle-make { margin: 0; }
.enquiry-vehicle-info strong { font-family: var(--font-display); font-size: 1.1rem; color: var(--brand-ink); }
.enquiry-vehicle-specs { font-size: .85rem; color: var(--muted); }
.enquiry-vehicle-price { display: flex; flex-direction: column; align-items: flex-end; gap: .25rem; text-align: right; padding-right: .5rem; }
.enquiry-vehicle-price a { font-size: .8rem; font-weight: 600; text-decoration: none; }
@media (max-width: 575.98px) {
  .enquiry-vehicle { flex-wrap: wrap; }
  .enquiry-vehicle img { flex-basis: 96px; width: 96px; }
  .enquiry-vehicle-price { flex-basis: 100%; flex-direction: row; justify-content: space-between; align-items: center; padding: 0 .25rem; }
}
.contact-method { display: flex; flex-wrap: wrap; gap: .5rem; }
.contact-method input { position: absolute; opacity: 0; pointer-events: none; }
.contact-method label { padding: .55rem 1rem; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; font-weight: 500; font-size: .92rem; color: var(--muted); }
.contact-method label .bi { margin-right: .35rem; }
.contact-method input:checked + label { border-color: var(--brand); background: var(--brand-soft); color: var(--brand-dark); }
.contact-method input:focus-visible + label { outline: 3px solid color-mix(in srgb, var(--brand) 60%, white); outline-offset: 2px; }

.info-card { background: var(--surface); border-radius: var(--radius); padding: 1.5rem 1.75rem; }
.info-title { font-size: 1.05rem; margin-bottom: 1rem; display: flex; align-items: center; gap: .5rem; }
.info-title .bi { color: var(--brand); }
.dept-list { list-style: none; padding: 0; margin: 0; }
.dept-list li { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-bottom: 1px solid var(--line); font-size: .94rem; }
.dept-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.dept-list span { color: var(--muted); }
.dept-list a { font-weight: 600; text-decoration: none; white-space: nowrap; }
.hours-list { margin: 0; }
.hours-list > div { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem 0; border-bottom: 1px solid var(--line); font-size: .94rem; }
.hours-list > div:last-child { border-bottom: 0; padding-bottom: 0; }
.hours-list dt { font-weight: 500; color: var(--muted); }
.hours-list dd { margin: 0; font-weight: 600; white-space: nowrap; }
.hours-list dd.is-closed { color: #d13b3b; }
.info-card-dark { background: var(--brand-ink); color: rgba(255,255,255,.8); }
.info-card-dark .info-title { color: #fff; }
.info-card-dark .info-title .bi { color: #8fd3ff; }
.info-card-dark .footer-socials a { color: rgba(255,255,255,.8); text-decoration: none; }
.info-card-dark .footer-socials a:hover { color: #fff; }
.dealer-card { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm, 0 1px 3px rgba(16,24,40,.08)); }
.dealer-info { padding: 2.25rem; }
.dealer-name { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: 1.25rem; }
.dealer-phone { display: flex; align-items: center; gap: 1rem; text-decoration: none; color: var(--ink); margin-bottom: 1rem; }
.dealer-phone .quick-icon { grid-row: auto; }
.dealer-phone:hover .quick-icon { background: var(--brand); color: #fff; }
.dealer-phone-number { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; color: var(--brand-ink); }
.dealer-address { display: flex; gap: .75rem; color: var(--muted); padding-bottom: 1.25rem; margin-bottom: 1.25rem; border-bottom: 1px solid var(--line); }
.dealer-address .bi { color: var(--brand); font-size: 1.1rem; }
.dealer-subhead { font-size: 1rem; display: flex; align-items: center; gap: .5rem; margin-bottom: .5rem; }
.dealer-subhead .bi { color: var(--brand); }
.dealer-hours > div.is-today { background: var(--brand-soft); margin: 0 -.75rem; padding-left: .75rem; padding-right: .75rem; border-radius: 8px; border-bottom-color: transparent; }
.dealer-hours > div.is-today dt { color: var(--brand-ink); }
.today-badge { display: inline-block; margin-left: .35rem; padding: .1rem .45rem; border-radius: 99px; background: var(--brand); color: #fff;
  font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; vertical-align: middle; }
.dealer-map .map-embed { display: block; width: 100%; height: 100%; min-height: 420px; border-radius: 0; filter: grayscale(.25); }
.brand-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.brand-grid-tile { flex: 0 1 160px; min-width: 130px; display: grid; place-items: center; height: 96px; padding: 1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; letter-spacing: .04em; text-transform: uppercase;
  color: var(--brand-ink); transition: transform .2s, box-shadow .2s, border-color .2s; }
.brand-grid-tile img { max-height: 48px; max-width: 100%; object-fit: contain; }
.brand-grid-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--brand); color: var(--brand); }
@media (max-width: 991.98px) {
  .dealer-card { grid-template-columns: 1fr; }
  .dealer-info { padding: 1.5rem; }
  .dealer-map .map-embed { min-height: 300px; }
}
.form-control, .form-select { border-radius: 10px; }

/* ---------- Service booking ---------- */
.perk-card { align-items: start; align-content: start; row-gap: .25rem; }
.perk-card .quick-icon { grid-row: span 2; }
.perk-text { font-size: .85rem; color: var(--muted); line-height: 1.45; }
.booking-step { padding-bottom: 1.75rem; margin-bottom: 1.75rem; border-bottom: 1px solid var(--line); }
.booking-step legend { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: var(--brand-ink);
  display: flex; align-items: center; gap: .65rem; margin-bottom: 1.1rem; }
.booking-step:last-of-type { border-bottom: 0; margin-bottom: .5rem; padding-bottom: 0; }
.step-num { width: 30px; height: 30px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--brand); color: #fff; font-size: .85rem; }
.enquiry-card .input-group-text { background: var(--surface); border-color: var(--line); border-radius: 0 10px 10px 0; color: var(--muted); }
.service-types { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .5rem; }
.service-types input { position: absolute; opacity: 0; pointer-events: none; }
.service-types label { display: flex; align-items: center; gap: .5rem; padding: .7rem .9rem; border: 1px solid var(--line); border-radius: 10px;
  cursor: pointer; font-weight: 500; font-size: .92rem; color: var(--ink); transition: border-color .15s, background .15s; }
.service-types label .bi { color: var(--brand); font-size: 1.05rem; }
.service-types label:hover { border-color: var(--brand-soft); }
.service-types input:checked + label { border-color: var(--brand); background: var(--brand-soft); color: var(--brand-dark); }
.service-types input:focus-visible + label { outline: 3px solid color-mix(in srgb, var(--brand) 60%, white); outline-offset: 2px; }
.service-call { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--font-display); font-size: 1.5rem; font-weight: 700;
  color: #fff; text-decoration: none; }
.service-call:hover { color: #8fd3ff; }
.next-steps { list-style: none; counter-reset: step; padding: 0; margin: 0; }
.next-steps li { counter-increment: step; position: relative; padding: 0 0 .9rem 2.4rem; font-size: .92rem; color: var(--muted); }
.next-steps li:last-child { padding-bottom: 0; }
.next-steps li::before { content: counter(step); position: absolute; left: 0; top: -.1rem; width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); font-weight: 700; font-size: .8rem; }
.next-steps strong { color: var(--ink); }
.offer-link { display: flex; align-items: center; gap: 1rem; text-decoration: none; color: var(--ink); border: 1px solid transparent; transition: border-color .2s; }
.offer-link:hover { border-color: var(--brand); color: var(--ink); }
.offer-link .quick-icon { grid-row: auto; flex-shrink: 0; }
.offer-link > .bi { color: var(--brand); }

/* ---------- Trade-in valuation ---------- */
.quick-step { color: var(--brand); }
.condition-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
.condition-options input { position: absolute; opacity: 0; pointer-events: none; }
.condition-options label { display: flex; flex-direction: column; gap: .2rem; height: 100%; padding: 1rem; border: 1px solid var(--line); border-radius: 12px;
  cursor: pointer; transition: border-color .15s, background .15s; }
.condition-options label .bi { font-size: 1.5rem; color: var(--muted); margin-bottom: .25rem; }
.condition-options label strong { color: var(--ink); }
.condition-options label span { font-size: .82rem; color: var(--muted); line-height: 1.4; }
.condition-options label:hover { border-color: var(--brand-soft); }
.condition-options input:checked + label { border-color: var(--brand); background: var(--brand-soft); box-shadow: inset 0 0 0 1px var(--brand); }
.condition-options input:checked + label .bi { color: var(--brand); }
.condition-options input:focus-visible + label { outline: 3px solid color-mix(in srgb, var(--brand) 60%, white); outline-offset: 2px; }
.tick-list { list-style: none; padding: 0; margin: 0; }
.tick-list li { position: relative; padding: 0 0 .55rem 1.75rem; font-size: .92rem; color: var(--muted); }
.tick-list li:last-child { padding-bottom: 0; }
.tick-list li::before { content: "\F26E"; font-family: "bootstrap-icons"; position: absolute; left: 0; top: 0; color: var(--brand); font-size: 1.1rem; line-height: 1.3; }
@media (max-width: 575.98px) { .condition-options { grid-template-columns: 1fr; } }

/* ---------- Test drive ---------- */
.brand-picker { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: .5rem; }
.brand-picker input, .slot-picker input { position: absolute; opacity: 0; pointer-events: none; }
.brand-picker label { display: grid; place-items: center; min-height: 58px; padding: .5rem; border: 1px solid var(--line); border-radius: 10px; cursor: pointer;
  font-family: var(--font-display); font-weight: 700; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-ink);
  transition: border-color .15s, background .15s, color .15s; }
.brand-picker label:hover { border-color: color-mix(in srgb, var(--brand) 40%, white); }
.brand-picker input:checked + label { border-color: var(--brand); background: var(--brand-soft); color: var(--brand-dark); box-shadow: inset 0 0 0 1px var(--brand); }
.brand-picker input:focus-visible + label, .slot-picker input:focus-visible + label { outline: 3px solid color-mix(in srgb, var(--brand) 60%, white); outline-offset: 2px; }
.model-chip { padding: .35rem .85rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: .85rem; font-weight: 500; color: var(--muted); }
.model-chip:hover { border-color: var(--brand); color: var(--brand); }
.model-chip.is-active { border-color: var(--brand); background: var(--brand-soft); color: var(--brand-dark); }
.slot-picker { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; }
.slot-picker label { display: flex; flex-direction: column; align-items: center; gap: .1rem; padding: .55rem .4rem; border: 1px solid var(--line); border-radius: 10px;
  cursor: pointer; text-align: center; transition: border-color .15s, background .15s; }
.slot-picker label .bi { color: var(--muted); font-size: 1.1rem; }
.slot-picker label strong { font-size: .88rem; color: var(--ink); }
.slot-picker label span { font-size: .75rem; color: var(--muted); }
.slot-picker input:checked + label { border-color: var(--brand); background: var(--brand-soft); box-shadow: inset 0 0 0 1px var(--brand); }
.slot-picker input:checked + label .bi { color: var(--brand); }
.tick-list-light li { color: rgba(255,255,255,.82); }
.tick-list-light li::before { color: #8fd3ff; }
.sales-call { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; text-decoration: none; color: var(--brand-ink); }
.sales-call:hover { color: var(--brand); }
@media (max-width: 575.98px) { .slot-picker { grid-template-columns: 1fr; } .slot-picker label { flex-direction: row; justify-content: flex-start; gap: .6rem; } }

/* ---------- Vehicle cards ---------- */
.vehicle-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: transform .2s, box-shadow .2s; }
.vehicle-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.vehicle-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface); }
.vehicle-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.vehicle-card:hover .vehicle-media img { transform: scale(1.04); }
.vehicle-condition, .vehicle-badge { position: absolute; top: .75rem; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  padding: .3rem .6rem; border-radius: 6px; }
.vehicle-condition { left: .75rem; background: rgba(255,255,255,.92); color: var(--brand-ink); }
.vehicle-condition.is-new { background: var(--brand); color: #fff; }
.vehicle-badge { right: .75rem; background: #f5b301; color: #1d2433; }
.vehicle-body { padding: 1.1rem 1.25rem 1.25rem; display: flex; flex-direction: column; flex: 1; }
.vehicle-make { font-size: .8rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin: 0 0 .25rem; }
.vehicle-body h3 { font-size: 1.15rem; margin: 0 0 .9rem; }
.vehicle-body h3 span { display: block; font-family: var(--bs-body-font-family); font-weight: 500; font-size: .88rem; color: var(--muted); letter-spacing: 0; margin-top: .2rem; }
.vehicle-specs { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; grid-template-columns: 1fr 1fr; gap: .45rem .75rem; font-size: .84rem; color: var(--muted); }
.vehicle-specs .bi { color: var(--brand); margin-right: .3rem; }
.vehicle-foot { margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--line); display: flex; align-items: end; justify-content: space-between; gap: .5rem; }
.vehicle-price-label { display: block; font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.vehicle-price { font-family: var(--font-display); font-size: 1.3rem; font-weight: 800; color: var(--brand-ink); white-space: nowrap; }
.listing-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1.5rem;
  padding: .85rem 1.25rem; background: var(--surface); border-radius: var(--radius); }

/* ---------- Pre-owned listing ---------- */
.filter-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; position: sticky; top: 6.5rem; }
.filter-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .25rem 1rem; margin-bottom: 1rem; }
.filter-head h2 { font-size: 1.25rem; margin: 0; }
.filter-head a { font-size: .85rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.filter-card .form-select, .filter-card .form-control { border-color: var(--line); }
.filter-card .form-select:focus, .filter-card .form-control:focus { border-color: var(--brand); box-shadow: 0 0 0 .2rem var(--brand-soft); }
.filter-search { position: relative; margin-bottom: .75rem; }
.filter-search .form-control { padding-right: 2.75rem; }
.filter-search button { position: absolute; right: .35rem; top: 50%; transform: translateY(-50%); border: 0; background: none; padding: .4rem .6rem; color: var(--brand); }
.filter-group { border-top: 1px solid var(--line); padding: .85rem 0; }
.filter-group:last-of-type { border-bottom: 1px solid var(--line); }
.filter-group summary { list-style: none; display: flex; justify-content: space-between; align-items: center; cursor: pointer; font-weight: 600; font-size: .92rem; color: var(--ink); }
.filter-group summary::-webkit-details-marker { display: none; }
.filter-group summary::after { content: "\F282"; font-family: "bootstrap-icons"; font-size: .8rem; color: var(--muted); transition: transform .2s; }
.filter-group[open] summary { margin-bottom: .75rem; }
.filter-group[open] summary::after { transform: rotate(180deg); }
.filter-chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.filter-chips input { position: absolute; opacity: 0; pointer-events: none; }
.filter-chips label { padding: .35rem .8rem; border: 1px solid var(--line); border-radius: 999px; cursor: pointer; font-size: .85rem; font-weight: 500; color: var(--muted); }
.filter-chips input:checked + label { border-color: var(--brand); background: var(--brand-soft); color: var(--brand-dark); }
.filter-chips input:focus-visible + label { outline: 3px solid color-mix(in srgb, var(--brand) 60%, white); outline-offset: 2px; }
.listing-count { font-size: 1.15rem; font-weight: 500; margin: 0; }
.listing-count strong { color: var(--brand); }
.listing-bar .form-select { min-width: 190px; border-color: var(--line); }
.active-filters { display: flex; flex-wrap: wrap; gap: .5rem; margin: -.5rem 0 1.25rem; }
.filter-pill { display: inline-flex; align-items: center; gap: .25rem; padding: .3rem .5rem .3rem .85rem; border-radius: 999px; background: var(--brand-ink);
  color: #fff; font-size: .82rem; font-weight: 500; text-decoration: none; }
.filter-pill:hover { background: var(--brand); color: #fff; }
.why-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.why-item { background: #fff; border-radius: var(--radius); padding: 1.25rem; display: flex; flex-direction: column; gap: .3rem; }
.why-item .bi { font-size: 1.5rem; color: var(--brand); margin-bottom: .25rem; }
.why-item span { font-size: .88rem; color: var(--muted); }
@media (max-width: 991.98px) { .filter-card { position: static; } }
@media (max-width: 575.98px) { .why-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--brand-ink); color: rgba(255,255,255,.75); font-size: .95rem; }
.site-footer a { color: rgba(255,255,255,.75); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-legal { border-bottom: 1px solid rgba(255,255,255,.1); padding: 1rem 0; }
.footer-legal nav a { margin: 0 .35rem; }
.footer-legal nav a:first-child { margin-left: 0; }
.footer-main { padding-top: 3rem; padding-bottom: 3rem; }
.footer-name { color: #fff; font-weight: 700; font-size: 1.1rem; }
.footer-heading { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { padding: .25rem 0; }
.footer-link-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 240px)); justify-content: start; gap: 1.5rem 3rem; }
.footer-socials { display: flex; gap: .5rem; }
.footer-socials a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.08); font-size: 1.1rem; }
.footer-socials a:hover { background: var(--brand); }

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
  .section { padding: 3.5rem 0; }
  .site-header .offcanvas .nav-link { padding: .75rem 1rem !important; }
  .site-header .dropdown-menu { box-shadow: none; border: 0; background: var(--surface); }
}
@media (max-width: 575.98px) {
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .home-tile, .home-tile-media img, .news-card, .why-banner-link .bi, .brand-tile::after, .tile-cta .bi, .vehicle-card, .vehicle-media img, .quick-card, .brand-grid-tile { transition: none; }
}

/* ---------- Changan page ---------- */
.cg-hero { background: linear-gradient(90deg, rgba(7,20,43,.92) 0%, rgba(7,20,43,.7) 50%, rgba(7,20,43,.25) 100%), var(--cg-hero-img, none) center / cover, linear-gradient(135deg, #07142b, var(--brand-ink)); color: #fff; padding: 7rem 0 6rem; min-height: 32rem; display: flex; align-items: center; }
.cg-model { display: flex; flex-direction: column; }
.cg-model > p { flex: 1 0 auto; min-height: 3rem; }
.cg-model > .cg-link { align-self: flex-start; margin-top: auto; }
.cg-hero > .container { width: 100%; }
.cg-hero-body { max-width: 40rem; }
.cg-kicker { display: block; text-transform: uppercase; letter-spacing: .14em; font-size: .75rem; font-weight: 700; color: var(--brand); margin-bottom: .5rem; }
.cg-banners { display: grid; grid-template-columns: 1fr; }
@media (min-width: 992px) { .cg-banners { grid-template-columns: 1fr 1fr; } }
.cg-banner { display: flex; align-items: flex-end; min-height: 26rem; color: #fff; padding: 3rem 0; background: linear-gradient(180deg, rgba(7,20,43,.15) 0%, rgba(7,20,43,.88) 100%), var(--cg-banner-img) center / cover; }
.cg-banner .container { max-width: 36rem; margin-left: 0; }
@media (min-width: 992px) { .cg-banner .container { padding-left: 3rem; padding-right: 3rem; } }
.cg-banner h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.cg-banner p { color: rgba(255,255,255,.82); margin-bottom: 1.5rem; }
.cg-why li { display: flex; gap: 1rem; align-items: flex-start; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.cg-why li:last-child { border-bottom: 0; }
.cg-why .bi { flex: 0 0 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); font-size: 1.15rem; }
.cg-why strong { display: block; color: var(--brand-ink); }
.cg-why span { color: var(--muted); font-size: .93rem; }
.cg-hero h1 { color: #fff; font-size: clamp(2.2rem, 6vw, 4rem); font-weight: 800; line-height: 1.1; margin-bottom: 1.25rem; }
.cg-hero p { color: rgba(255,255,255,.82); max-width: 40rem; font-size: 1.1rem; margin-bottom: 2rem; }
.cg-eyebrow { display: inline-block; text-transform: uppercase; letter-spacing: .15em; font-size: .8rem; font-weight: 700; color: var(--brand); margin-bottom: 1rem; }
.cg-hero .cg-tagline { margin: 2.5rem 0 0; font-size: .85rem; letter-spacing: .3em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.cg-model, .cg-feature, .cg-cta, .cg-stat { position: relative; display: block; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; transition: transform .2s, box-shadow .2s; }
.cg-model:hover, .cg-cta:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.cg-model { overflow: hidden; padding: 0 0 1.75rem; }
.cg-model > :not(.cg-model-img) { margin-left: 1.75rem; margin-right: 1.75rem; }
.cg-model-img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--surface); }
.cg-model h3 { margin-top: 1.25rem; }
.cg-model > .bi, .cg-feature > .bi, .cg-cta > .bi { font-size: 2rem; color: var(--brand); }
.cg-model h3, .cg-feature h3, .cg-cta h3 { font-size: 1.25rem; margin: .75rem 0 .25rem; }
.cg-price { font-size: 1.5rem; font-weight: 700; color: var(--brand-ink); margin-bottom: 1rem; }
.cg-price small { font-size: .75rem; font-weight: 500; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.cg-link { font-weight: 600; text-decoration: none; }
.cg-cta { text-decoration: none; color: var(--ink); }
.cg-cta p, .cg-feature p { color: var(--muted); margin: 0; }
.cg-stat { text-align: center; padding: 1.5rem 1rem; }
.cg-stat strong { display: block; font-size: 2.2rem; font-weight: 800; color: var(--brand); }
.cg-stat span { color: var(--muted); font-size: .9rem; }
.cg-contact li { display: flex; gap: .75rem; margin-bottom: 1rem; }
.cg-contact .bi { color: var(--brand); font-size: 1.2rem; }
@media (prefers-reduced-motion: reduce) { .cg-model, .cg-cta { transition: none; } }
.cg-footer .footer-copy { border-top: 1px solid rgba(255,255,255,.1); border-bottom: 0; text-align: center; }
.cg-sticky-bar { display: none; }
@media (max-width: 991.98px) {
  .cg-sticky-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1030; display: flex; background: var(--brand-ink); box-shadow: 0 -4px 16px rgba(0,0,0,.2); }
  .cg-sticky-bar a { flex: 1; text-align: center; padding: .75rem .25rem; color: #fff; text-decoration: none; font-size: .8rem; font-weight: 600; }
  .cg-sticky-bar a .bi { display: block; font-size: 1.2rem; color: var(--brand); }
  .cg-footer { padding-bottom: 4rem; }
}

/* ---------- Brand pages (Haval, JAC, Ora, Tank, GWM, Suzuki) ---------- */
.bp-topbar .dropdown-toggle::after { vertical-align: .15em; }
@media (min-width: 1200px) {
  .bp-header .navbar-nav { flex-wrap: nowrap; white-space: nowrap; }
  .bp-header .nav-link { padding: .5rem .6rem !important; font-size: .95rem; }
}
.bp-menu-cols { column-count: 3; column-gap: .5rem; min-width: 34rem; }
.bp-menu-cols li { break-inside: avoid; }
@media (max-width: 1199.98px) { .bp-menu-cols { column-count: 1; min-width: 0; } }
.bp-hero { padding: 4.5rem 0; }
.bp-hero-img { display: block; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.bp-hero-img img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .4s; }
.bp-hero-img:hover img { transform: scale(1.03); }
.bp-from { margin-bottom: 1.5rem !important; }
.bp-from small { display: block; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; opacity: .7; }
.bp-from strong { font-size: 2rem; color: #fff; }
.bp-feature-img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 16 / 10; object-fit: cover; }
.bp-list { padding-left: 1.1rem; margin: 0; color: var(--muted); }
.bp-list li { margin-bottom: .4rem; }
.bp-table { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.bp-table th { font-weight: 600; }
.bp-table thead th { background: var(--brand-ink); color: #fff; }
.bp-news-meta { display: flex; gap: .75rem; align-items: center; font-size: .8rem; color: var(--muted); margin-bottom: .25rem; }
.bp-contact li { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem 0; border-bottom: 1px solid var(--line); }
.bp-contact span { color: var(--muted); }
.bp-accent { color: var(--brand); }
.bp-hours { display: grid; grid-template-columns: auto 1fr; gap: .15rem 1rem; }
.bp-hours dt { font-weight: 500; color: #fff; }
.bp-hours dd { margin: 0; }
.bp-credits summary { cursor: pointer; }
.cg-model-img { transition: transform .3s; }
.cg-model a:hover .cg-model-img { transform: scale(1.03); }
.cg-model > a { display: block; overflow: hidden; margin: 0; }
@media (prefers-reduced-motion: reduce) { .bp-hero-img img, .cg-model-img { transition: none; } }
.bp-accordion .accordion-item { border-radius: var(--radius); overflow: hidden; margin-bottom: .75rem; border: 1px solid var(--line); }
.bp-accordion .accordion-button { font-weight: 700; color: var(--brand-ink); }
.bp-accordion .accordion-button:not(.collapsed) { background: var(--brand-soft); box-shadow: none; }

/* ---------- All new cars page ---------- */
.nc-hero { padding: 4rem 0 4.5rem; }
.nc-crumbs { --bs-breadcrumb-divider-color: rgba(255,255,255,.5); margin-bottom: 1.5rem; font-size: .85rem; }
.nc-crumbs a { color: rgba(255,255,255,.75); text-decoration: none; }
.nc-crumbs .active { color: #fff; }
.nc-stats { display: flex; gap: 2.5rem; margin: 3rem 0 0; padding-top: 1.75rem; border-top: 1px solid rgba(255,255,255,.15); }
.nc-stats dt { font-size: 2rem; font-weight: 800; color: #fff; line-height: 1; }
.nc-stats dd { margin: .35rem 0 0; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.nc-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.nc-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.nc-chip { border: 1px solid var(--line); background: #fff; color: var(--ink); font-weight: 600; font-size: .9rem; padding: .45rem .9rem; border-radius: 999px; transition: background .15s, color .15s, border-color .15s; }
.nc-chip span { margin-left: .3rem; font-size: .75rem; opacity: .6; }
.nc-chip:hover { border-color: var(--brand); color: var(--brand); }
.nc-chip.active { background: var(--brand-ink); border-color: var(--brand-ink); color: #fff; }
.nc-search { position: relative; min-width: min(100%, 18rem); }
.nc-search .bi { position: absolute; left: .9rem; top: 50%; transform: translateY(-50%); color: var(--muted); }
.nc-search input { width: 100%; padding: .6rem 1rem .6rem 2.4rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.nc-card { padding-bottom: 1.5rem; }
.nc-img { position: relative; display: block; overflow: hidden; }
.nc-img .cg-model-img { transition: transform .3s; }
.nc-card:hover .cg-model-img { transform: scale(1.04); }
.nc-badge { position: absolute; left: .75rem; top: .75rem; background: var(--nc-accent); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: .25rem .6rem; border-radius: 999px; box-shadow: 0 2px 8px rgba(0,0,0,.25); }
.nc-poa { font-size: 1rem; color: var(--muted); }
.nc-empty { text-align: center; padding: 3rem 1rem; border: 1px dashed var(--line); border-radius: var(--radius); }
.nc-empty .bi { font-size: 2rem; color: var(--muted); }
.nc-brand { padding-top: 1.5rem; overflow: hidden; }
.nc-brand-bar { position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--nc-accent); }
.nc-brand-meta { display: inline-block; margin-top: 1rem; font-size: .85rem; font-weight: 600; color: var(--nc-accent); }
@media (max-width: 575.98px) { .nc-stats { gap: 1.5rem; } }
@media (prefers-reduced-motion: reduce) { .nc-chip, .nc-img .cg-model-img { transition: none; } }

/* ---------- Content pages (specials, aftersales, about, news, finance, legal) ---------- */
.text-brand { color: var(--brand); }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.5rem; }
.feature-grid-sm { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); margin-top: 1.5rem; }
.feature-grid-4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
@media (min-width: 992px) { .feature-grid-4 { grid-template-columns: repeat(4, 1fr); } }
.feature-grid-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
@media (min-width: 992px) { .feature-grid-3 { grid-template-columns: repeat(3, 1fr); } }
.feature-card { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; color: var(--ink); text-decoration: none; transition: transform .2s, box-shadow .2s, border-color .2s; }
.feature-card h3 { font-size: 1.15rem; margin: 1rem 0 .5rem; }
.feature-card p { color: var(--muted); font-size: .95rem; margin-bottom: 1rem; }
a.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; color: var(--ink); }
.feature-icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--brand-soft); color: var(--brand); font-size: 1.5rem; }
.section-alt .feature-card { border-color: transparent; }
.accessory-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 767.98px) { .accessory-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.accessory-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-align: center; padding-bottom: 1.25rem; }
.accessory-media { position: relative; aspect-ratio: 4 / 3; margin-bottom: 2rem; background: var(--surface); }
.accessory-media img { width: 100%; height: 100%; object-fit: cover; }
.accessory-icon { position: absolute; left: 50%; bottom: -22px; transform: translateX(-50%); width: 44px; height: 44px; border-radius: 12px; font-size: 1.2rem;
  background: #fff; box-shadow: var(--shadow); }
.accessory-card h3 { padding: 0 .75rem; }
.brand-offer-logo { display: flex; align-items: center; height: 48px; }
.brand-offer-logo img { max-height: 44px; max-width: 140px; }
.brand-offer-logo strong { font-family: var(--font-display); font-size: 1.4rem; color: var(--brand-ink); }
.brand-offer h3 { margin-top: 1.25rem; }

.cta-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 2.5rem; border-radius: var(--radius); background: linear-gradient(135deg, var(--brand-ink), color-mix(in srgb, var(--brand) 55%, var(--brand-ink))); color: #fff; }
.cta-band h2 { color: #fff; font-size: 1.6rem; margin-bottom: .5rem; }
.cta-band p { color: rgba(255,255,255,.8); margin: 0; max-width: 38rem; }

.media-frame { aspect-ratio: 4 / 3; border-radius: var(--radius); background: linear-gradient(135deg, var(--brand-ink), var(--brand)) center / cover no-repeat; box-shadow: var(--shadow-lg); }
.years-badge { display: inline-flex; align-items: center; gap: .5rem; padding: .5rem 1rem; border-radius: 999px; background: var(--brand-soft); color: var(--brand-ink); font-weight: 600; }
.years-badge .bi { color: var(--brand); }

.check-list { list-style: none; padding: 0; margin: 0 0 1rem; }
.check-list li { position: relative; padding: .35rem 0 .35rem 1.9rem; }
.check-list li::before { content: "\F26A"; font-family: "bootstrap-icons"; position: absolute; left: 0; top: .35rem; color: var(--brand); }
.chip-list { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.chip-list li { display: inline-flex; align-items: center; gap: .4rem; padding: .5rem 1rem; border: 1px solid var(--line); border-radius: 999px; font-weight: 600; background: #fff; }
.chip-list .bi { color: var(--brand); }
.link-list { list-style: none; padding: 0; margin: 0; }
.link-list li { padding: .3rem 0; }
.link-list a { text-decoration: none; font-weight: 500; }
.link-list a:hover { text-decoration: underline; }

.team-avatar { display: inline-grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; margin-bottom: 1rem; background: linear-gradient(135deg, var(--brand-ink), var(--brand)); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; }
.team-card p { margin: 0; color: var(--brand); font-weight: 600; font-size: .9rem; }

.post-tag { display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); }
.post-card .post-tag { margin-top: 1rem; }
.post-card h3 { margin-top: .35rem; }
.post-featured { display: flex; align-items: center; gap: 2rem; padding: 2.5rem; border-radius: var(--radius); background: var(--surface); color: var(--ink); text-decoration: none; transition: box-shadow .2s; }
.post-featured:hover { box-shadow: var(--shadow); color: var(--ink); }
.post-featured h2 { font-size: clamp(1.4rem, 3vw, 2rem); margin: .5rem 0 1rem; }
.post-featured-icon { flex: 0 0 auto; display: grid; place-items: center; width: 96px; height: 96px; border-radius: 24px; background: var(--brand); color: #fff; font-size: 2.5rem; }

.step-list { list-style: none; counter-reset: step; padding: 0; margin: 0; }
.step-list > li { counter-increment: step; position: relative; padding: 0 0 1.75rem 3.5rem; }
.step-list > li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 2.4rem; height: 2.4rem; display: grid; place-items: center; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; }
.step-list > li:not(:last-child)::after { content: ""; position: absolute; left: 1.2rem; top: 2.7rem; bottom: .3rem; width: 2px; background: var(--line); }
.step-list h3 { font-size: 1.1rem; margin: .3rem 0 .5rem; }
.step-list p { color: var(--muted); margin: 0; }
.step-list-sm > li { padding-bottom: 1.25rem; }
.step-list-sm h3 { font-size: 1rem; }

.legal-body h2 { font-size: 1.35rem; margin: 2rem 0 .75rem; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p { color: var(--muted); line-height: 1.8; }

.video-card { text-align: center; }
.video-thumb { display: grid; place-items: center; aspect-ratio: 16 / 9; border-radius: 12px; background: linear-gradient(135deg, var(--brand-ink), var(--brand)); color: rgba(255,255,255,.9); font-size: 3.5rem; }
.video-card h3 { margin-top: 1.25rem; }
@media (max-width: 575.98px) { .post-featured { flex-direction: column; align-items: flex-start; padding: 1.5rem; } .cta-band { padding: 1.75rem; } }
.brand-offer-img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; margin-bottom: 1.25rem; transition: transform .3s; }
.brand-offer:hover .brand-offer-img { transform: scale(1.04); }
.side-photo { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.video-thumb { position: relative; background-size: cover; background-position: center; overflow: hidden; }
.video-thumb::before { content: ""; position: absolute; inset: 0; background: rgba(11,37,69,.45); }
.video-thumb .bi { position: relative; }

/* Listing pagination */
.pagination { --bs-pagination-color: var(--brand); --bs-pagination-hover-color: var(--brand-ink); --bs-pagination-focus-color: var(--brand-ink); --bs-pagination-active-bg: var(--brand); --bs-pagination-active-border-color: var(--brand); --bs-pagination-border-radius: .5rem; }
.pagination .page-link { min-width: 2.5rem; text-align: center; }

/* Paged card grids (news): Previous / Next controls */
.pager-controls { display: flex; align-items: center; gap: .5rem; }
.pager-controls[hidden], [data-pager-item][hidden] { display: none !important; }
.pager-status { margin-right: .5rem; font-size: .9rem; font-weight: 600; color: var(--muted); }
.pager-btn { display: inline-flex; align-items: center; gap: .5rem; padding: .55rem 1.1rem; border-radius: 999px; border: 2px solid var(--brand); background: #fff; color: var(--brand); font-weight: 600; transition: background .2s, color .2s, opacity .2s; }
.pager-btn:hover:not(:disabled), .pager-btn-primary:not(:disabled) { background: var(--brand); color: #fff; }
.pager-btn-primary:hover:not(:disabled) { background: var(--brand-ink); border-color: var(--brand-ink); }
.pager-btn:disabled { opacity: .35; cursor: not-allowed; }
.pager-btn-primary:disabled { background: #fff; color: var(--brand); }
@media (max-width: 575.98px) { .pager-status { display: none; } }
[data-pager-numbers][hidden] { display: none !important; }
.pagination .page-link { cursor: pointer; }

/* Brand range-list layout (Haval and any page modelled on the dealer's "range is waiting" list) */
.bl-head { padding: 2.5rem 0 1.5rem; background: #fff; border-bottom: 1px solid var(--line); }
.bl-crumbs { font-size: .85rem; margin-bottom: 1.5rem; }
.bl-crumbs a { text-decoration: none; }
.bl-head h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: .75rem; }
.bl-intro { max-width: 46rem; color: var(--muted); font-size: 1.05rem; margin-bottom: 1.5rem; }
.bl-list-section { background: var(--surface); }
.bl-count { color: var(--muted); font-size: .92rem; margin-bottom: 1.25rem; }
.bl-list { display: grid; gap: 1.5rem; }
.bl-card { display: grid; grid-template-columns: 1fr; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s, transform .2s; }
.bl-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
@media (min-width: 768px) { .bl-card { grid-template-columns: 22rem 1fr; } }
@media (min-width: 1200px) { .bl-card { grid-template-columns: 26rem 1fr; } }
.bl-media { display: block; overflow: hidden; background: var(--brand-soft); }
.bl-media img { display: block; width: 100%; height: 100%; min-height: 14rem; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .3s; }
.bl-card:hover .bl-media img { transform: scale(1.03); }
.bl-body { display: flex; flex-direction: column; justify-content: space-between; gap: 1.5rem; padding: 1.75rem; }
.bl-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; }
.bl-tag { display: inline-block; margin-bottom: .6rem; padding: .2rem .65rem; border-radius: 99px; background: var(--brand); color: #fff; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.bl-body h2 { font-size: 1.5rem; margin: 0 0 .25rem; }
.bl-type { margin: 0; color: var(--muted); }
.bl-price { text-align: left; }
@media (min-width: 576px) { .bl-price { text-align: right; } }
.bl-price small { display: block; font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.bl-price strong { display: block; font-family: var(--font-display); font-size: 1.6rem; color: var(--brand-ink); line-height: 1.2; }
.bl-price span { font-size: .85rem; color: var(--muted); }
.bl-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.bl-details { margin-left: auto; font-weight: 600; text-decoration: none; }
@media (max-width: 575.98px) { .bl-details { margin-left: 0; } }
@media (prefers-reduced-motion: reduce) { .bl-card, .bl-media img { transition: none; } }

/* A model linked from the "All new cars" page (/brand#model): clear the sticky header and mark the card. */
.bl-card[id], #range [id] { scroll-margin-top: 110px; }
.bl-card:target, :target > .cg-model { outline: 3px solid var(--brand); outline-offset: 4px; box-shadow: var(--shadow-lg); }

/* Model cards that open a variants popup (listing layout) */
.bv-modal .modal-header { align-items: flex-start; }
.bv-variants { display: grid; gap: .75rem; }
.bv-variant { display: grid; grid-template-columns: 7rem 1fr; gap: .75rem 1rem; align-items: center; padding: .75rem; border: 1px solid var(--line); border-radius: var(--radius); }
.bv-variant img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; background: var(--surface); }
.bv-variant-info strong { display: block; color: var(--brand-ink); line-height: 1.3; margin-bottom: .35rem; }
.bv-variant-price { font-family: var(--font-display); font-size: 1.2rem; font-weight: 800; color: var(--brand-ink); }
.bv-btns { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
@media (min-width: 576px) {
  .bv-variant { grid-template-columns: 8rem 1fr auto; }
  .bv-btns { grid-column: auto; grid-template-columns: auto auto; }
}

/* Full-width image slider hero (dealer home-page style) */
.hs-hero { position: relative; min-height: 34rem; display: flex; align-items: center; color: #fff; background: var(--brand-ink); overflow: hidden; }
.hs-slides, .hs-slides .carousel-inner, .hs-slides .carousel-item { position: absolute; inset: 0; height: 100%; }
.hs-slides img { width: 100%; height: 100%; object-fit: cover; }
.hs-overlay { position: relative; width: 100%; padding: 5rem 0 6rem; background: linear-gradient(90deg, rgba(7,20,43,.92) 0%, rgba(7,20,43,.7) 50%, rgba(7,20,43,.2) 100%); }
.hs-text { max-width: 40rem; }
.hs-text h1 { color: #fff; font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 800; line-height: 1.1; margin-bottom: 1.1rem; }
.hs-text p { color: rgba(255,255,255,.85); font-size: 1.1rem; margin-bottom: 1.75rem; }
.hs-dots { position: absolute; left: 0; right: 0; bottom: 1.5rem; z-index: 2; display: flex; justify-content: center; gap: .5rem; }
.hs-dots button { width: 2.2rem; height: 4px; padding: 0; border: 0; border-radius: 2px; background: rgba(255,255,255,.4); }
.hs-dots button.active { background: var(--brand); }
