/* ==========================================================================
   TheCarDrift – main stylesheet
   ========================================================================== */

@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-style: normal; font-display: swap; src: url(../fonts/barlow-condensed-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-style: normal; font-display: swap; src: url(../fonts/barlow-condensed-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url(../fonts/inter-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-style: normal; font-display: swap; src: url(../fonts/inter-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; font-display: swap; src: url(../fonts/inter-latin-600-normal.woff2) format("woff2"); }

:root {
	--ink: #111418;
	--ink-2: #1a1f26;
	--steel: #2b323c;
	--steel-2: #3a434f;
	--bg: #ffffff;
	--tint: #f3f4f6;
	--line: #e2e5e9;
	--text: #1d232b;
	--muted: #5d6673;
	--on-dark: #e8ebef;
	--on-dark-muted: #a3acb8;
	--accent: #ffb000;
	--accent-hover: #ffc23d;
	--accent-ink: #15120a;
	--good: #0f7b4a;
	--display: "Barlow Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
	--body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Roboto, Arial, sans-serif;
	--radius: 6px;
	--radius-lg: 10px;
	--shadow: 0 1px 2px rgba(17, 20, 24, .06), 0 8px 24px rgba(17, 20, 24, .08);
	--shadow-lg: 0 24px 60px rgba(17, 20, 24, .22);
	--container: 1240px;
	--gutter: 24px;
	--header-h: 76px;

	/* Cookie banner + forms (Site Essentials plugin) */
	--se-bg: #ffffff;
	--se-fg: var(--text);
	--se-muted: var(--muted);
	--se-border: #d5dae0;
	--se-accent: var(--ink);
	--se-accent-fg: #ffffff;
	--se-radius: 8px;
	--se-font: var(--body);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font: 400 16px/1.65 var(--body);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; }
img { display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #000; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.12; color: var(--ink); }
p { margin: 0 0 1em; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; padding: 10px 16px; background: var(--accent); color: var(--accent-ink); font-weight: 600; border-radius: var(--radius); }
.skip-link:focus { top: 12px; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 780px; }
.muted { color: var(--muted); }
.icon { width: 20px; height: 20px; flex: 0 0 auto; }
.site-main:focus { outline: 0; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 46px; padding: 0 20px;
	border: 2px solid transparent; border-radius: var(--radius);
	font: 600 15px/1.1 var(--body); letter-spacing: .01em;
	text-decoration: none; cursor: pointer; white-space: nowrap;
	transition: background-color .15s, border-color .15s, color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn .icon { width: 18px; height: 18px; }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn--lg { min-height: 54px; padding: 0 26px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--accent { background: var(--accent); color: var(--accent-ink); }
.btn--accent:hover { background: var(--accent-hover); color: var(--accent-ink); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--steel); color: #fff; }
.btn--ghost { border-color: rgba(255, 255, 255, .55); color: #fff; background: rgba(255, 255, 255, .04); }
.btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .12); color: #fff; }
.btn--outline-dark { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--outline-dark:hover { background: var(--ink); color: #fff; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; color: var(--ink); border-bottom: 2px solid var(--accent); padding-bottom: 2px; }
.link-arrow .icon { width: 18px; height: 18px; transition: transform .15s; }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ---------- Type helpers ---------- */
.eyebrow { margin: 0 0 10px; font: 600 13px/1.2 var(--body); letter-spacing: .14em; text-transform: uppercase; color: #a46f00; }
.eyebrow--light { color: var(--accent); }
.section-title, .page-hero__title, .hero__title, .panel__title, .cta-band__title, .buybox__title, .vblock__title {
	font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .01em;
}
.section-title { font-size: clamp(30px, 4vw, 44px); margin: 0; }

/* ---------- Top bar + header ---------- */
.topbar { background: #0b0d10; color: var(--on-dark-muted); font-size: 13px; }
.topbar__inner { display: flex; justify-content: space-between; gap: 16px; min-height: 36px; align-items: center; }
.topbar__item { margin: 0; display: flex; align-items: center; gap: 8px; }
.topbar__item a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--on-dark-muted); }
.topbar__item a:hover { color: #fff; }
.topbar .icon { width: 15px; height: 15px; color: var(--accent); }

.site-header { position: sticky; top: 0; z-index: 100; background: var(--ink); color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; } }
.site-header__inner { display: flex; align-items: center; gap: 28px; min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; flex: 0 0 auto; }
.brand:hover { color: #fff; }
.brand__mark { width: 44px; height: 30px; }
.brand__word { font: 700 27px/1 var(--display); letter-spacing: .04em; }
.brand__word b { color: var(--accent); font-weight: 700; }
.custom-logo-link img { max-height: 48px; width: auto; }

.nav { margin-right: auto; }
.nav__list { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav__list a { display: block; padding: 10px 11px; white-space: nowrap; color: var(--on-dark); text-decoration: none; font-weight: 500; font-size: 15px; border-radius: var(--radius); }
.nav__list a:hover { color: #fff; background: rgba(255, 255, 255, .07); }
.nav__list .current-menu-item > a, .nav__list .current_page_item > a, .nav__list .current-menu-ancestor > a { color: var(--accent); }
.nav__mobile-extra { display: none; }

.site-header__actions { display: flex; align-items: center; gap: 18px; }
.header-phone { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; }
.header-phone:hover { color: var(--accent); }
.header-phone .icon { width: 36px; height: 36px; padding: 8px; border-radius: 50%; background: rgba(255, 176, 0, .14); color: var(--accent); }
.header-phone__text { display: flex; flex-direction: column; font-weight: 600; font-size: 15px; line-height: 1.2; white-space: nowrap; }
.header-phone__text small { font-weight: 400; font-size: 12px; color: var(--on-dark-muted); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid rgba(255, 255, 255, .2); border-radius: var(--radius); background: transparent; color: #fff; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: inline-flex; }

@media (max-width: 1439px) {
	.header-phone__text { display: none; }
}
@media (max-width: 1180px) {
	:root { --header-h: 64px; }
	.nav-toggle { display: inline-flex; }
	.header-phone { display: none; }
	.nav {
		position: fixed; inset: calc(var(--header-h) + var(--nav-offset, 36px)) 0 0 0; z-index: 99;
		background: var(--ink); padding: 12px var(--gutter) 32px; overflow-y: auto;
		transform: translateX(100%); visibility: hidden; transition: transform .25s ease, visibility 0s .25s;
	}
	.nav.is-open { transform: none; visibility: visible; transition: transform .25s ease; }
	.nav__list { flex-direction: column; gap: 0; }
	.nav__list a { padding: 15px 4px; font-size: 18px; border-bottom: 1px solid rgba(255, 255, 255, .08); border-radius: 0; }
	.nav__mobile-extra { display: block; margin-top: 24px; }
	body.nav-open { overflow: hidden; }
}
@media (max-width: 640px) {
	:root { --gutter: 16px; }
	.topbar__item--right { display: none; }
	.topbar__inner { justify-content: center; }
	.brand__word { font-size: 23px; }
	.brand__mark { width: 36px; height: 26px; }
	.site-header__inner { gap: 12px; }
	.site-header__actions { gap: 10px; }
	.header-cta { padding: 0 12px; }
}
@media (max-width: 380px) { .header-cta { display: none; } }

/* ---------- Hero ---------- */
.hero {
	position: relative; color: #fff;
	background:
		linear-gradient(90deg, rgba(10, 12, 15, .94) 0%, rgba(10, 12, 15, .82) 38%, rgba(10, 12, 15, .25) 75%, rgba(10, 12, 15, .15) 100%),
		var(--hero-img) center 60% / cover no-repeat,
		var(--ink);
	padding: clamp(56px, 9vw, 120px) 0 0;
}
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; background: var(--bg); z-index: 0; }
.hero__inner { position: relative; z-index: 1; }
.hero__copy { max-width: 620px; padding-bottom: clamp(48px, 7vw, 80px); }
.hero__title { color: #fff; font-size: clamp(42px, 6.4vw, 76px); line-height: .98; margin: 0 0 20px; }
.hero__lead { font-size: clamp(16px, 1.6vw, 19px); color: var(--on-dark); max-width: 540px; margin-bottom: 30px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__search { position: relative; z-index: 2; }

.quicksearch { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) auto; gap: 14px; align-items: end; padding: 22px; background: #fff; color: var(--text); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.quicksearch--inline { box-shadow: var(--shadow); border: 1px solid var(--line); }
.quicksearch__field label { display: block; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.quicksearch select, .filter select, .filter input, .stock__sort select, .fcalc input, .fcalc select {
	width: 100%; min-height: 48px; padding: 0 38px 0 14px; border: 1px solid #cfd5dc; border-radius: var(--radius);
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23111418' stroke-width='2'%3E%3Cpath d='m1 1 5 5 5-5'/%3E%3C/svg%3E") right 14px center / 12px 8px no-repeat;
	font-size: 16px; appearance: none; -webkit-appearance: none;
}
.filter input, .fcalc input { background-image: none; padding-right: 14px; }
.quicksearch select:focus, .filter select:focus, .filter input:focus, .fcalc input:focus, .fcalc select:focus, .stock__sort select:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--ink); }
.quicksearch__go { min-height: 48px; }
@media (max-width: 1000px) {
	.quicksearch { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.quicksearch__go { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
	.hero { background: linear-gradient(180deg, rgba(10, 12, 15, .7) 0%, rgba(10, 12, 15, .92) 70%), var(--hero-img) 70% center / cover no-repeat, var(--ink); }
	.hero::after { height: 120px; }
	.hero__actions .btn { flex: 1 1 100%; }
	.quicksearch { padding: 16px; gap: 12px; }
}

/* ---------- Assurances ---------- */
.assurances { padding: 44px 0 8px; }
.assurances__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.assurance { display: flex; gap: 14px; align-items: flex-start; }
.assurance .icon { width: 44px; height: 44px; padding: 10px; border-radius: var(--radius); background: var(--tint); color: var(--ink); }
.assurance h2 { font: 600 16px/1.3 var(--body); margin: 2px 0 4px; }
.assurance p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.5; }
@media (max-width: 1000px) { .assurances__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .assurances__grid { grid-template-columns: 1fr; gap: 18px; } }

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 7vw, 96px) 0; }
.section--tint { background: var(--tint); }
.section--dark { background: var(--ink); color: var(--on-dark); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 32px; flex-wrap: wrap; }
.section-head--center { flex-direction: column; align-items: center; text-align: center; }

/* ---------- Vehicle cards ---------- */
.vgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 1100px) { .vgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .vgrid { grid-template-columns: 1fr; gap: 18px; } }
.vcard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: box-shadow .2s, transform .2s; }
.vcard:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.vcard__media { position: relative; display: block; aspect-ratio: 16 / 10; background: var(--tint); overflow: hidden; }
.vcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.vcard:hover .vcard__media img { transform: scale(1.03); }
.vcard__noimg { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; color: #9aa3ae; }
.vcard__noimg .icon { width: 56px; height: 56px; }
.vcard__body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 18px; }
.vcard__title { font: 600 17px/1.35 var(--body); margin: 0 0 12px; }
.vcard__title a { text-decoration: none; }
.vcard__title a:hover { text-decoration: underline; }
.vcard__specs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; list-style: none; margin: 0 0 16px; padding: 0; font-size: 14px; color: var(--muted); }
.vcard__specs li { display: flex; align-items: center; gap: 7px; min-width: 0; }
.vcard__specs .icon { width: 16px; height: 16px; color: var(--steel-2); }
.vcard__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.vcard__price { margin: 0; font: 700 28px/1 var(--display); color: var(--ink); }
.vcard__price small { font: 500 13px var(--body); color: var(--muted); }
.badge { position: absolute; top: 12px; left: 12px; padding: 5px 10px; border-radius: 4px; font: 700 12px/1 var(--body); letter-spacing: .06em; text-transform: uppercase; }
.badge--reserved { background: var(--accent); color: var(--accent-ink); }
.badge--sold { background: #b42318; color: #fff; }
.badge--ulez { left: auto; right: 12px; background: rgba(17, 20, 24, .82); color: #fff; }
.badge--lg { font-size: 14px; padding: 8px 12px; }

.compare-toggle { display: inline-flex; align-items: center; gap: 8px; padding: 8px 4px; border: 0; background: none; font-size: 14px; font-weight: 500; color: var(--muted); cursor: pointer; }
.compare-toggle:hover { color: var(--ink); }
.compare-toggle__box { width: 18px; height: 18px; border: 2px solid #9aa3ae; border-radius: 4px; display: inline-block; position: relative; flex: 0 0 auto; }
.compare-toggle[aria-pressed="true"] { color: var(--ink); }
.compare-toggle[aria-pressed="true"] .compare-toggle__box { background: var(--accent); border-color: var(--accent); }
.compare-toggle[aria-pressed="true"] .compare-toggle__box::after { content: ""; position: absolute; left: 4px; top: 0; width: 6px; height: 10px; border: solid var(--accent-ink); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.compare-toggle--btn { padding: 0 16px; color: var(--ink); }
.compare-toggle--btn:hover { color: #fff; }
.compare-toggle--btn:hover .compare-toggle__box { border-color: #fff; }

/* ---------- Type tiles ---------- */
.type-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.type-tile { position: relative; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 16px; align-items: center; padding: 22px 52px 22px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.type-tile:hover { border-color: var(--ink); box-shadow: var(--shadow); color: inherit; }
.type-tile__icon { grid-row: 1 / span 2; width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; border-radius: var(--radius); background: var(--ink); color: var(--accent); }
.type-tile__icon .icon { width: 26px; height: 26px; }
.type-tile__name { font: 700 22px/1.1 var(--display); text-transform: uppercase; color: var(--ink); }
.type-tile__desc { font-size: 14px; color: var(--muted); }
.type-tile__arrow { position: absolute; right: 20px; top: 50%; transform: translateY(-50%); color: var(--ink); transition: transform .15s; }
.type-tile:hover .type-tile__arrow { transform: translate(4px, -50%); }
@media (max-width: 900px) { .type-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .type-grid { grid-template-columns: 1fr; } }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; list-style: none; margin: 0; padding: 0; counter-reset: s; }
.step { position: relative; padding: 28px 26px 8px 0; border-top: 3px solid var(--ink); margin-right: 22px; }
.step__n { display: block; font: 700 48px/1 var(--display); color: var(--accent); margin-bottom: 14px; }
.step h3 { font: 700 24px/1.1 var(--display); text-transform: uppercase; }
.step p { color: var(--muted); font-size: 15px; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 20px; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } .step { margin-right: 0; } }

/* ---------- Split panels (finance / part-ex) ---------- */
.split-panels { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.panel { position: relative; padding: clamp(28px, 4vw, 48px); border-radius: var(--radius-lg); background: var(--ink-2); border: 1px solid rgba(255, 255, 255, .08); overflow: hidden; }
.panel::before { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; border: 28px solid rgba(255, 176, 0, .08); }
.panel__title { color: #fff; font-size: clamp(30px, 3.4vw, 40px); }
.panel p { color: var(--on-dark-muted); max-width: 480px; }
.panel .btn { margin-top: 8px; }
@media (max-width: 860px) { .split-panels { grid-template-columns: 1fr; } }

/* ---------- Reviews / promise ---------- */
.review-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.review-card { margin: 0; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); display: flex; flex-direction: column; }
.review-card blockquote { margin: 12px 0 18px; font-size: 15.5px; }
.review-card blockquote p:last-child { margin: 0; }
.review-card figcaption { margin-top: auto; display: flex; flex-direction: column; font-size: 14px; color: var(--muted); }
.review-card figcaption strong { color: var(--ink); }
.stars { display: inline-flex; gap: 2px; color: #d3d8de; font-size: 18px; line-height: 1; }
.stars .is-on { color: var(--accent); }
.review-empty { padding: 24px; border: 1px dashed #c6ccd3; border-radius: var(--radius-lg); background: var(--tint); }
.review-empty p { margin: 0; }
@media (max-width: 900px) { .review-grid { grid-template-columns: 1fr; } }

.promise { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.promise__intro p { color: var(--muted); margin-top: 14px; }
.promise__list { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; list-style: none; padding: 0; margin: 0; }
.promise__list li { display: flex; gap: 14px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.promise__list .icon { width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); stroke-width: 2.6; }
.promise__list h3 { font: 600 16px/1.3 var(--body); margin: 3px 0 6px; }
.promise__list p { margin: 0; font-size: 14px; color: var(--muted); }
@media (max-width: 900px) { .promise { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .promise__list { grid-template-columns: 1fr; } }

/* ---------- Visit + download ---------- */
.visit { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.visit__info > p { color: var(--muted); max-width: 560px; margin-top: 14px; }
.contact-list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 22px 28px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; min-width: 0; }
.contact-list li > .icon { width: 40px; height: 40px; padding: 9px; border-radius: var(--radius); background: var(--ink); color: var(--accent); }
.contact-list span { display: block; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.contact-list a, .contact-list address, .contact-list p { font-weight: 500; color: var(--ink); margin: 0; overflow-wrap: anywhere; }
.contact-list a { text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }
.contact-list .link-arrow { margin-top: 8px; font-size: 14px; }
.download-card { padding: 32px; border-radius: var(--radius-lg); background: var(--ink); color: var(--on-dark); position: relative; overflow: hidden; }
.download-card::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 180px; height: 180px; background: repeating-linear-gradient(135deg, rgba(255, 176, 0, .18) 0 10px, transparent 10px 22px); border-radius: 50%; }
.download-card__icon .icon { width: 48px; height: 48px; padding: 11px; border-radius: var(--radius); background: var(--accent); color: var(--accent-ink); margin-bottom: 18px; }
.download-card h3 { color: #fff; font: 700 28px/1.05 var(--display); text-transform: uppercase; }
.download-card p { color: var(--on-dark-muted); }
.download-card .btn { position: relative; z-index: 1; background: #fff; color: var(--ink); }
.download-card .btn:hover { background: var(--accent); }
@media (max-width: 900px) { .visit { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .contact-list { grid-template-columns: 1fr; } }

/* ---------- CTA band + footer ---------- */
.cta-band { background: var(--accent); color: var(--accent-ink); }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 36px; padding-bottom: 36px; flex-wrap: wrap; }
.cta-band__title { font-size: clamp(28px, 3.4vw, 40px); color: var(--accent-ink); margin: 0 0 4px; }
.cta-band p { margin: 0; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 560px) { .cta-band__actions, .cta-band__actions .btn { width: 100%; } }

.site-footer { background: var(--ink); color: var(--on-dark-muted); font-size: 15px; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; padding-top: 64px; padding-bottom: 48px; }
.site-footer__brand p { margin-top: 18px; max-width: 320px; }
.site-footer__heading { font: 600 13px/1.2 var(--body); letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.site-footer__links, .site-footer__contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.site-footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.site-footer__contact .icon { width: 18px; height: 18px; margin-top: 3px; color: var(--accent); }
.site-footer__contact a { overflow-wrap: anywhere; }
.site-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .08); font-size: 13px; }
.site-footer__bottom-inner { display: flex; justify-content: space-between; gap: 12px 24px; padding-top: 20px; padding-bottom: 20px; flex-wrap: wrap; }
.site-footer__bottom p { margin: 0; }
.legal-links { display: flex; flex-wrap: wrap; gap: 6px 18px; list-style: none; margin: 0; padding: 0; }
.legal-links .se-cc-link { color: var(--on-dark); text-decoration: none; font-size: 13px; }
.legal-links .se-cc-link:hover { color: var(--accent); }
@media (max-width: 900px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr; gap: 28px; padding-top: 44px; } }

/* ---------- Compare bar ---------- */
.compare-bar { position: fixed; z-index: 90; left: 50%; bottom: 16px; transform: translateX(-50%); width: calc(100% - 32px); max-width: 560px; }
.compare-bar[hidden] { display: none; }
.se-cc-open .compare-bar { display: none; }
.compare-bar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 10px 10px 18px; border-radius: var(--radius-lg); background: var(--ink); color: #fff; box-shadow: var(--shadow-lg); }
.compare-bar p { margin: 0; font-size: 15px; }
.compare-bar strong { color: var(--accent); }
.compare-bar__hint { color: var(--on-dark-muted); font-size: 13px; }
.compare-bar__actions { display: flex; align-items: center; gap: 6px; }
.compare-bar__clear { border: 0; background: none; color: var(--on-dark-muted); font-size: 14px; padding: 8px 10px; cursor: pointer; }
.compare-bar__clear:hover { color: #fff; }
@media (max-width: 420px) {
	.compare-bar__hint { display: none; }
	.compare-bar__inner { padding: 8px 8px 8px 14px; gap: 8px; }
	.compare-bar p { font-size: 14px; white-space: nowrap; }
	.compare-bar__clear { padding: 8px 6px; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--ink); color: var(--on-dark); padding: 28px 0 48px; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -80px; bottom: -120px; width: 420px; height: 260px; border-top: 4px solid var(--accent); border-radius: 50%; transform: rotate(-12deg); opacity: .5; }
.page-hero__title { color: #fff; font-size: clamp(36px, 5vw, 58px); margin: 6px 0 12px; max-width: 900px; }
.page-hero__lead { max-width: 720px; color: var(--on-dark-muted); font-size: 17px; margin: 0; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0 0 22px; padding: 0; font-size: 13px; color: var(--on-dark-muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.crumbs a { color: var(--on-dark-muted); text-decoration: none; }
.crumbs a:hover { color: #fff; }
.crumbs [aria-current] { color: var(--on-dark); }
.vehicle-top { background: var(--tint); padding-top: 18px; border-bottom: 1px solid var(--line); }
.vehicle-top .crumbs ol { margin-bottom: 14px; color: var(--muted); }
.vehicle-top .crumbs a { color: var(--muted); }
.vehicle-top .crumbs a:hover { color: var(--ink); }
.vehicle-top .crumbs [aria-current] { color: var(--ink); }

/* ---------- Stock list ---------- */
.stock { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 32px; padding-top: 36px; padding-bottom: 80px; align-items: start; }
.stock__filters { position: sticky; top: calc(var(--header-h) + 20px); }
.admin-bar .stock__filters { top: calc(var(--header-h) + 52px); }
.filter { border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.filter__summary { display: flex; align-items: center; gap: 10px; padding: 16px 18px; font-weight: 600; cursor: pointer; list-style: none; }
.filter__summary::-webkit-details-marker { display: none; }
.filter__count { margin-left: auto; min-width: 24px; height: 24px; padding: 0 7px; border-radius: 12px; background: var(--accent); color: var(--accent-ink); font-size: 13px; display: inline-flex; align-items: center; justify-content: center; }
.filter__form { padding: 0 18px 18px; display: grid; gap: 14px; }
.filter__field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.filter__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.filter__actions { display: grid; gap: 10px; margin-top: 4px; }
.filter__reset { text-align: center; font-size: 14px; color: var(--muted); }
.stock__toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }
.stock__count { margin: 0; font: 700 26px/1 var(--display); text-transform: uppercase; color: var(--ink); }
.stock__sort { display: flex; align-items: center; gap: 10px; }
.stock__sort label { font-size: 14px; color: var(--muted); white-space: nowrap; }
.stock__sort select { min-height: 42px; width: auto; min-width: 200px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 18px; padding: 0; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px 6px 12px; border-radius: 20px; background: var(--tint); border: 1px solid var(--line); font-size: 13px; text-decoration: none; }
.chip .icon { width: 14px; height: 14px; }
.chip:hover { border-color: var(--ink); }
.vgrid--stock { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1240px) { .vgrid--stock { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 960px) {
	.stock { grid-template-columns: 1fr; gap: 20px; padding-top: 24px; }
	.stock__filters { position: static; }
}
@media (max-width: 640px) {
	.vgrid--stock { grid-template-columns: 1fr; }
	.stock__sort { width: 100%; }
	.stock__sort select { flex: 1; min-width: 0; }
}
.pagination { margin-top: 36px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.pagination .page-numbers { min-width: 44px; height: 44px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; font-weight: 600; }
.pagination .page-numbers.current { background: var(--ink); color: #fff; border-color: var(--ink); }
.empty-state { text-align: center; padding: 56px 24px; border: 1px dashed #c6ccd3; border-radius: var(--radius-lg); background: var(--tint); }
.empty-state > .icon { width: 48px; height: 48px; color: var(--muted); margin: 0 auto 12px; }
.empty-state h2 { font: 700 30px/1.1 var(--display); text-transform: uppercase; }
.empty-state p { color: var(--muted); max-width: 560px; margin-left: auto; margin-right: auto; }
.empty-state .btn { margin: 4px; }

/* ---------- Single vehicle ---------- */
.vehicle { display: grid; grid-template-columns: minmax(0, 1fr) 400px; grid-template-areas: "gallery panel" "details panel"; gap: 28px 40px; padding-top: 28px; padding-bottom: 64px; align-items: start; }
.vehicle__gallery { grid-area: gallery; }
.vehicle__panel { grid-area: panel; position: sticky; top: calc(var(--header-h) + 20px); }
.admin-bar .vehicle__panel { top: calc(var(--header-h) + 52px); }
.vehicle__details { grid-area: details; min-width: 0; }
.gallery__main { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--tint); aspect-ratio: 16 / 10; }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumbs { display: flex; gap: 10px; list-style: none; padding: 0; margin: 12px 0 0; overflow-x: auto; }
.gallery__thumb { padding: 0; border: 2px solid transparent; border-radius: var(--radius); overflow: hidden; cursor: pointer; background: none; width: 110px; flex: 0 0 auto; }
.gallery__thumb.is-active { border-color: var(--accent); }
.buybox { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow); }
.buybox__make { margin: 0 0 4px; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #a46f00; }
.buybox__title { font-size: clamp(28px, 3vw, 36px); line-height: 1.02; margin: 0 0 10px; }
.buybox__summary { color: var(--muted); font-size: 15px; margin-bottom: 18px; }
.buybox__price { display: flex; align-items: baseline; gap: 8px; padding: 16px 0; border-top: 1px solid var(--line); }
.buybox__price span { font: 700 48px/1 var(--display); color: var(--ink); }
.buybox__price small { color: var(--muted); font-size: 15px; }
.buybox__monthly { margin: -6px 0 18px; font-size: 14px; color: var(--muted); }
.buybox__monthly strong { color: var(--ink); }
.buybox__actions { display: grid; gap: 10px; }
.buybox__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.buybox__row .btn { padding: 0 10px; }
.buybox__notes { list-style: none; margin: 20px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); display: grid; gap: 8px; font-size: 14px; }
.buybox__notes li { display: flex; gap: 8px; align-items: center; }
.buybox__notes .icon { width: 18px; height: 18px; color: var(--good); stroke-width: 2.4; }
.vblock { padding: 32px 0; border-top: 1px solid var(--line); }
.vblock:first-child { border-top: 0; padding-top: 4px; }
.vblock__title { font-size: 28px; margin-bottom: 18px; }
.vblock--cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.specs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; }
.specs__item { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 14px; background: var(--tint); border-radius: var(--radius); }
.specs__item .icon { grid-row: 1 / span 2; width: 22px; height: 22px; color: var(--steel-2); }
.specs dt { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.specs dd { margin: 0; font-weight: 600; color: var(--ink); }
.ticklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticklist li { display: flex; gap: 10px; align-items: flex-start; }
.ticklist .icon { width: 18px; height: 18px; margin-top: 4px; color: var(--good); stroke-width: 2.4; }
.ticklist--neutral li { padding-left: 18px; position: relative; }
.ticklist--neutral li::before { content: ""; position: absolute; left: 2px; top: 10px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.vblock--form { background: var(--tint); border: 0; border-radius: var(--radius-lg); padding: 32px; margin-top: 16px; }
@media (max-width: 1100px) { .vehicle { grid-template-columns: minmax(0, 1fr) 360px; } .specs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) {
	.vehicle { grid-template-columns: 1fr; grid-template-areas: "gallery" "panel" "details"; gap: 20px; }
	.vehicle__panel { position: static; }
	.vblock--cols { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
	.specs { grid-template-columns: 1fr 1fr; gap: 8px; }
	.specs__item { padding: 12px; column-gap: 8px; }
	.buybox { padding: 20px; }
	.vblock--form { padding: 20px 16px; margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); border-radius: 0; }
}

/* ---------- Finance calculator ---------- */
.fcalc { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; margin: 8px 0 24px; }
.fcalc__inputs { padding: 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-content: start; }
.fcalc__field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.fcalc__result { padding: 26px; background: var(--ink); color: var(--on-dark); }
.fcalc__label { margin: 0; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.fcalc__monthly { margin: 6px 0 16px; font: 700 56px/1 var(--display); color: #fff; }
.fcalc__monthly small { font: 500 16px var(--body); color: var(--on-dark-muted); }
.fcalc__breakdown { margin: 0 0 16px; display: grid; gap: 8px; }
.fcalc__breakdown div { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 8px; border-bottom: 1px solid rgba(255, 255, 255, .1); font-size: 15px; }
.fcalc__breakdown dt { color: var(--on-dark-muted); }
.fcalc__breakdown dd { margin: 0; font-weight: 600; color: #fff; }
.fcalc__note { font-size: 12.5px; color: var(--on-dark-muted); margin: 0; line-height: 1.5; }
@media (max-width: 760px) { .fcalc { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .fcalc__inputs { grid-template-columns: 1fr; padding: 20px; } .fcalc__result { padding: 20px; } }

/* ---------- Compare page ---------- */
.compare__scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); -webkit-overflow-scrolling: touch; }
.compare__table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 15px; }
.compare__table th, .compare__table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare__table thead th { vertical-align: bottom; background: #fff; }
.compare__table tbody th { width: 170px; font-weight: 600; color: var(--muted); font-size: 14px; background: var(--tint); }
.compare__table tbody tr:last-child th, .compare__table tbody tr:last-child td { border-bottom: 0; }
.compare__head { display: block; text-decoration: none; font-weight: 600; color: var(--ink); }
.compare__head img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); margin-bottom: 10px; }
.compare__remove { margin-top: 6px; border: 0; background: none; padding: 0; font-size: 13px; color: var(--muted); text-decoration: underline; cursor: pointer; }
.compare__table td.is-best { background: #fff8e6; font-weight: 600; }
.best-tag { display: inline-block; margin-left: 6px; padding: 2px 6px; border-radius: 3px; background: var(--accent); color: var(--accent-ink); font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; vertical-align: 1px; }
.compare__empty { padding: 40px; border: 1px dashed #c6ccd3; border-radius: var(--radius-lg); background: var(--tint); text-align: center; }

/* ---------- Generic content ---------- */
.page-body { padding-top: 48px; padding-bottom: 80px; }
.page-body--split { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; align-items: start; }
.side-card { position: sticky; top: calc(var(--header-h) + 20px); padding: 26px; border-radius: var(--radius-lg); background: var(--tint); }
.side-card__title { font: 700 26px/1.1 var(--display); text-transform: uppercase; }
.side-card .contact-list { grid-template-columns: 1fr; margin-top: 12px; }
@media (max-width: 960px) { .page-body--split { grid-template-columns: 1fr; } .side-card { position: static; } }

.entry-content { font-size: 17px; }
.entry-content--wide { max-width: none; }
.entry-content > * + * { margin-top: 0; }
.entry-content h2 { font: 700 clamp(28px, 3vw, 36px)/1.08 var(--display); text-transform: uppercase; margin: 1.6em 0 .5em; }
.entry-content h3 { font: 600 20px/1.3 var(--body); margin: 1.5em 0 .4em; }
.entry-content > h2:first-child, .entry-content > h3:first-child { margin-top: 0; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.entry-content li { margin-bottom: .4em; }
.entry-content li::marker { color: #a46f00; }
.entry-content a { color: var(--ink); text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
.entry-content table { width: 100%; border-collapse: collapse; margin: 0 0 1.5em; font-size: 15px; }
.entry-content th, .entry-content td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.entry-content blockquote { margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--accent); }
.entry-content .wp-block-details { border: 1px solid var(--line); border-radius: var(--radius); margin: 0 0 10px; background: #fff; }
.entry-content .wp-block-details summary { padding: 16px 48px 16px 18px; font-weight: 600; cursor: pointer; list-style: none; position: relative; }
.entry-content .wp-block-details summary::-webkit-details-marker { display: none; }
.entry-content .wp-block-details summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 24px; font-weight: 400; color: #a46f00; }
.entry-content .wp-block-details[open] summary::after { content: "–"; }
.entry-content .wp-block-details > :not(summary) { padding: 0 18px; }
.entry-content .wp-block-details > :last-child { padding-bottom: 16px; margin-bottom: 0; }
.entry-content .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.5em 0; }
.entry-content .wp-block-button__link { display: inline-flex; align-items: center; min-height: 46px; padding: 0 20px; border-radius: var(--radius); background: var(--ink); color: #fff; text-decoration: none; font-weight: 600; font-size: 15px; }
.entry-content .wp-block-button__link:hover { background: var(--steel); color: #fff; }
.entry-content .is-style-outline .wp-block-button__link { background: transparent; color: var(--ink); border: 2px solid var(--ink); }
.entry-content .wp-block-columns { display: flex; flex-wrap: wrap; gap: 28px; margin: 0 0 1.5em; }
.entry-content .wp-block-column { flex: 1 1 260px; min-width: 0; }
.entry-content .wp-block-group.is-style-card, .entry-content .card { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.entry-content .has-tint-background { background: var(--tint); padding: 28px; border-radius: var(--radius-lg); }
.entry-content .lead { font-size: 20px; color: var(--muted); }
.entry-content .wp-block-separator { border: 0; border-top: 1px solid var(--line); margin: 2.5em 0; }
.entry-content .notice { padding: 16px 18px; border-left: 4px solid var(--accent); background: #fff8e6; border-radius: 0 var(--radius) var(--radius) 0; font-size: 15px; }
.entry-content img { border-radius: var(--radius-lg); }
.entry-hero-img { margin-bottom: 28px; border-radius: var(--radius-lg); }
.post-list { display: grid; gap: 20px; max-width: 820px; }
.post-item { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.post-item__meta { margin: 0 0 6px; color: var(--muted); font-size: 14px; }
.post-item__title { font: 600 22px/1.3 var(--body); }
.post-item__title a { text-decoration: none; }

/* Forms inside content */
.se-form-wrap { margin: 8px 0 24px; }
.vblock--form .se-field input, .vblock--form .se-field select, .vblock--form .se-field textarea { background: #fff; }

@media print {
	.topbar, .site-header, .cta-band, .site-footer, .compare-bar, .se-cc, .vehicle__panel .buybox__actions { display: none !important; }
	.vehicle { display: block; }
}
