/* ==========================================================================
   Private Collection Cars – main stylesheet
   ========================================================================== */

:root {
	--bg: #0B0C0E;
	--bg-deep: #08090A;
	--surface: #121417;
	--surface-2: #1A1C1F;
	--line: #1F2226;
	--line-2: #24272C;
	--line-3: #2A2D32;
	--btn-line: #3A3E44;
	--text: #EDEDEA;
	--text-2: #B4B8BE;
	--muted: #9DA1A8;
	--faint: #8E929A;
	--silver: #C9CDD3;
	--accent: #C8743F;
	--ok: #7FD0A0;

	--font: 'Heebo', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
	--font-latin: 'Poppins', 'Heebo', system-ui, sans-serif;

	--radius: 18px;
	--radius-lg: 24px;
	--gutter: 32px;
	--max: 1360px;
	--header-h: 82px;
}

/* ---------- Base ---------- */

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font);
	font-weight: 300;
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }

a { color: var(--text); text-decoration: none; transition: color .15s ease; }
a:hover { color: #fff; }

h1, h2, h3, h4, p { margin: 0; }
strong, b { font-weight: 500; }

button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

:focus-visible { outline: 2px solid var(--silver); outline-offset: 3px; border-radius: 4px; }

::selection { background: var(--accent); color: #0B0C0E; }

.skip-link {
	position: absolute; top: -100px; right: 16px; z-index: 100;
	background: var(--text); color: var(--bg); padding: 10px 18px; border-radius: 999px;
}
.skip-link:focus { top: 12px; color: var(--bg); }

.container { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 760px; }

.muted { color: var(--muted); }
.small { font-size: 14px; }
.fine { font-size: 13px; color: var(--faint); }
.w-500 { font-weight: 500; }
.hp-field { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Type ---------- */

.eyebrow {
	font-family: var(--font-latin);
	font-size: 12px; font-weight: 500; letter-spacing: .3em;
	color: var(--muted); margin-bottom: 12px;
}
.eyebrow--lg { font-size: 13px; letter-spacing: .32em; margin-bottom: 22px; }
.eyebrow--accent { color: var(--accent); }

.display { font-size: clamp(40px, 5vw, 72px); font-weight: 200; letter-spacing: -.02em; line-height: 1.06; }
.display strong, .display .w-500 { font-weight: 500; }
.h-section { font-size: clamp(32px, 3.4vw, 44px); font-weight: 300; letter-spacing: -.01em; line-height: 1.15; }
.h-sub { font-size: clamp(28px, 3vw, 38px); font-weight: 300; line-height: 1.2; margin-bottom: 24px; }
.h-display-sm { font-size: clamp(34px, 4vw, 56px); font-weight: 200; line-height: 1.1; letter-spacing: -.01em; margin-bottom: 18px; }
.h-display-sm strong { font-weight: 500; }
.lead { font-size: 17px; line-height: 1.7; color: var(--text-2); }

.prose { font-size: 17px; line-height: 1.85; color: #CDD0D4; }
.prose--lg { font-size: 18px; line-height: 1.9; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: 28px; font-weight: 400; color: var(--text); margin-top: 2em; line-height: 1.3; }
.prose h3 { font-size: 22px; font-weight: 400; color: var(--text); margin-top: 1.6em; }
.prose a { color: var(--text); border-bottom: 1px solid var(--btn-line); }
.prose a:hover { border-color: var(--silver); }
.prose ul, .prose ol { padding-inline-start: 1.3em; }
.prose blockquote { margin: 2em 0; padding: 4px 28px 4px 0; border-right: 2px solid var(--silver); font-size: 1.3em; line-height: 1.6; color: var(--text); }
.prose img, .prose figure { border-radius: 16px; margin-inline: 0; }
.prose figure img { width: 100%; }
.prose figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; }
.prose details { border-bottom: 1px solid var(--line-2); padding: 18px 0; }
.prose summary { font-size: 18px; font-weight: 400; cursor: pointer; color: var(--text); }

/* ---------- Buttons ---------- */

.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 48px; padding: 0 24px;
	border-radius: 999px; border: 1px solid transparent;
	font-size: 15px; font-weight: 400; line-height: 1; white-space: nowrap;
	transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
}
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 14px; }
.btn--lg { min-height: 52px; padding: 0 28px; font-size: 16px; }
.btn--block { display: flex; width: 100%; }
.btn--primary { background: var(--text); color: var(--bg); font-weight: 500; border-color: var(--text); }
.btn--primary:hover { background: #fff; color: var(--bg); }
.btn--ghost { border-color: var(--btn-line); color: var(--text); background: transparent; }
.btn--ghost:hover { border-color: var(--silver); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-stack { display: flex; flex-direction: column; gap: 10px; }

.icon-btn {
	width: 44px; height: 44px; border-radius: 50%;
	border: 1px solid var(--btn-line); background: transparent; color: var(--text);
	display: inline-flex; align-items: center; justify-content: center;
}
.icon-btn:hover { border-color: var(--silver); }

.link-more { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 15px; color: var(--text-2); }
.link-underline { font-size: 14px; border-bottom: 1px solid #5A5E65; }

/* ---------- Header ---------- */

.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(11, 12, 14, .92);
	-webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--line);
}
.admin-bar .site-header { top: 32px; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: var(--header-h); }
.site-logo { display: flex; }
.site-logo img { height: 46px; width: auto; }

.site-nav { display: flex; align-items: center; gap: 36px; }
.site-nav .menu { display: flex; flex-wrap: wrap; gap: 28px; list-style: none; margin: 0; padding: 0; font-size: 15px; font-weight: 400; }
.site-nav .menu a { display: inline-block; padding: 6px 0; border-bottom: 1px solid transparent; }
.site-nav .menu .current-menu-item > a,
.site-nav .menu .current_page_item > a,
.site-nav .menu .current-menu-ancestor > a,
.site-nav .menu .current_page_parent > a { color: #fff; border-bottom-color: var(--silver); }
.site-header__actions { display: flex; align-items: center; gap: 14px; }
.site-header__phone { font-family: var(--font-latin); font-size: 14px; letter-spacing: .04em; color: var(--muted); }

.nav-toggle { display: none; background: transparent; border: 0; color: var(--text); width: 48px; height: 48px; align-items: center; justify-content: center; }

@media (max-width: 1180px) {
	.nav-toggle { display: inline-flex; }
	.site-nav {
		position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
		background: var(--bg);
		flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 28px;
		padding: 28px var(--gutter) 40px;
		overflow-y: auto;
		visibility: hidden; opacity: 0; transform: translateY(-8px);
		transition: opacity .2s ease, transform .2s ease, visibility .2s;
	}
	.admin-bar .site-nav { top: calc(var(--header-h) + 32px); }
	/* backdrop-filter turns the header into the containing block of the fixed panel; drop it while the menu is open. */
	.nav-open .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--bg); }
	.nav-open .site-nav { visibility: visible; opacity: 1; transform: none; }
	.nav-open { overflow: hidden; }
	.site-nav .menu { flex-direction: column; gap: 0; font-size: 22px; font-weight: 300; }
	.site-nav .menu a { display: block; padding: 16px 0; border-bottom: 1px solid var(--line); }
	.site-nav .menu .current-menu-item > a { border-bottom-color: var(--line); color: #fff; font-weight: 400; }
	.site-header__actions { flex-direction: column; align-items: stretch; }
	.site-header__actions .btn { min-height: 52px; }
	.site-header__phone { font-size: 18px; text-align: center; padding: 8px 0; }
}

/* ---------- Footer ---------- */

.site-footer { background: var(--bg-deep); border-top: 1px solid var(--line); padding: 56px 0 32px; margin-top: 0; }
.site-footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; }
.site-footer__brand { flex: 1 1 280px; display: flex; flex-direction: column; gap: 18px; }
.site-footer__brand img { height: 54px; width: auto; align-self: flex-start; }
.site-footer__brand p { color: var(--muted); font-size: 15px; max-width: 320px; }
.site-footer__cols { display: flex; flex-wrap: wrap; gap: 64px; font-size: 15px; }
.site-footer__cols > div { display: flex; flex-direction: column; gap: 12px; }
.site-footer__head { color: var(--faint); font-size: 13px; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid #1A1C1F; font-size: 13px; color: var(--faint); }
.site-footer__legal { display: flex; flex-wrap: wrap; gap: 18px; list-style: none; margin: 0; padding: 0; }
.site-footer__legal a { color: var(--faint); }

.wa-float {
	position: fixed; left: 20px; bottom: 20px; z-index: 40;
	width: 56px; height: 56px; border-radius: 50%;
	display: none; align-items: center; justify-content: center;
	background: var(--text); color: var(--bg);
	box-shadow: 0 8px 24px rgba(0, 0, 0, .45);
}
.wa-float:hover { color: var(--bg); background: #fff; }
@media (max-width: 760px) { .wa-float { display: inline-flex; } }

/* ---------- Layout helpers ---------- */

.page { padding-top: 28px; padding-bottom: 120px; }
.section { padding-top: 120px; }
.section--last { padding-bottom: 120px; }
.section-tight { margin-top: 112px; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 40px; }

.breadcrumb { display: flex; flex-wrap: wrap; gap: 10px; font-size: 14px; color: var(--muted); }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--text); }
.breadcrumb [aria-current] { color: var(--text); }

.page-intro { padding: 56px 0 48px; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 48px; }
.page-intro--simple { padding-bottom: 40px; }
.page-intro__text { max-width: 480px; font-size: 17px; line-height: 1.7; color: var(--text-2); }
.page-intro__text a { color: var(--text); border-bottom: 1px solid #5A5E65; }

.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 3.4vw, 48px); }
.panel--sm { padding: 22px; border-radius: 14px; }
.panel--outline { background: #0F1113; border-color: var(--line-3); }
.panel__title { font-size: 19px; font-weight: 400; margin-bottom: 18px; }
.panel--sm .panel__title { font-size: 16px; margin-bottom: 8px; }
.panel--sm .muted { font-size: 14px; line-height: 1.6; margin-bottom: 14px; }
.panel--split { display: flex; flex-wrap: wrap; gap: 48px; }
.panel--split > :first-child { flex: 1 1 300px; min-width: 0; }
.panel--split > :last-child { flex: 2 1 460px; min-width: 0; }

.split-section { margin-top: 112px; display: flex; flex-wrap: wrap; gap: 48px; }
.split-section > :first-child { flex: 1 1 280px; min-width: 0; }
.split-section > :last-child { flex: 2 1 560px; min-width: 0; }

.wide-media { border-radius: 22px; overflow: hidden; background: var(--surface-2); aspect-ratio: 16 / 7; }
.wide-media img { width: 100%; height: 100%; object-fit: cover; }

.empty-state { padding: 48px 0; color: var(--text-2); font-size: 17px; }
.empty-state a { color: var(--text); border-bottom: 1px solid #5A5E65; }

.media-empty { position: absolute; inset: 14px; display: flex; align-items: center; justify-content: center; border: 1px dashed var(--line-3); border-radius: 12px; color: #6E737B; font-size: 14px; }

/* ---------- Hero ---------- */

.hero { padding-top: 96px; }
.hero__top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 40px; }
.hero__title-wrap { flex: 1 1 600px; min-width: 0; }
.hero__title { font-size: clamp(44px, 6.4vw, 92px); line-height: 1.02; font-weight: 200; letter-spacing: -.02em; }
.hero__title strong { font-weight: 500; }
.hero__side { flex: 0 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 28px; padding-bottom: 10px; }
.hero__side .lead { font-size: 18px; }
.hero__media { position: relative; margin-top: 64px; border-radius: 20px; overflow: hidden; background: var(--surface-2); height: clamp(300px, 46vw, 640px); }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 65%; }
.hero__badge {
	position: absolute; bottom: 24px; right: 24px;
	display: flex; flex-wrap: wrap; align-items: center; gap: 18px;
	background: rgba(11, 12, 14, .86); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
	border: 1px solid var(--line-3); border-radius: 14px; padding: 14px 22px;
}
.hero__badge a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 15px; font-weight: 400; }
.hero__badge-eyebrow { font-family: var(--font-latin); font-size: 11px; letter-spacing: .24em; color: var(--muted); }
.hero__badge-name { font-family: var(--font-latin); font-size: 18px; font-weight: 500; margin-top: 4px; }
.hero__badge-sep { width: 1px; height: 36px; background: var(--line-3); }

/* ---------- Quick search ---------- */

.quick-search-wrap { padding-top: 40px; }
.quick-search {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1px;
	background: var(--line-2); border: 1px solid var(--line-2); border-radius: 16px; overflow: hidden;
}
.quick-search__field { display: flex; flex-direction: column; gap: 6px; padding: 16px 22px; background: var(--surface); cursor: pointer; }
.quick-search__field span { font-size: 13px; color: var(--muted); }
.quick-search__field select { background: transparent; border: 0; font-size: 16px; padding: 0; min-height: 28px; color: var(--text); }
.quick-search__field select option { background: var(--surface); }
.quick-search__submit { display: flex; padding: 12px; background: var(--surface); }
.quick-search__submit .btn { border-radius: 10px; min-height: 52px; }
.quick-search__field select:disabled { opacity: .45; cursor: default; }
@media (max-width: 760px) {
	.quick-search { grid-template-columns: 1fr 1fr; }
	.quick-search__submit { grid-column: 1 / -1; }
}

/* ---------- Cards ---------- */

.grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 24px; }
.grid-cards--tight { grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); }
.grid-cards--posts { gap: 40px 32px; }

.car-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .2s ease, transform .2s ease; }
.car-card:hover { border-color: var(--btn-line); transform: translateY(-2px); }
.car-card__media { position: relative; aspect-ratio: 4 / 3; background: var(--surface-2); overflow: hidden; }
.car-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.car-card:hover .car-card__media img { transform: scale(1.03); }
.car-card__body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.car-card__brand { font-family: var(--font-latin); font-size: 12px; font-weight: 500; letter-spacing: .24em; color: var(--muted); text-transform: uppercase; }
.car-card__model { font-family: var(--font-latin); font-size: 23px; font-weight: 400; line-height: 1.25; }
.car-card__meta { font-size: 15px; color: var(--muted); margin-top: 4px; }
.car-card__foot { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line-2); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.car-card__body > .car-card__foot { margin-top: 18px; }
.car-card__price { font-family: var(--font-latin); font-size: 19px; font-weight: 500; }
.car-card__more { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--text-2); }

.status-chip {
	position: absolute; top: 16px; right: 16px;
	display: inline-flex; align-items: center; gap: 8px;
	padding: 7px 14px; border-radius: 999px;
	background: rgba(11, 12, 14, .82); font-size: 13px; font-weight: 400;
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); flex: none; }
.status-chip--transit .dot, .status-pill--transit .dot { background: var(--accent); }
.status-chip--sold .dot, .status-pill--sold .dot { background: var(--muted); }

.post-card { display: flex; flex-direction: column; gap: 16px; }
.post-card__media { border-radius: 16px; overflow: hidden; aspect-ratio: 16 / 10; background: var(--surface-2); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.post-card:hover .post-card__media img { transform: scale(1.03); }
.post-card__meta { font-size: 13px; color: var(--muted); }
.post-card__title { font-size: 21px; font-weight: 400; line-height: 1.4; }

/* ---------- Forms ---------- */

.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field__label { font-size: 14px; color: var(--muted); }
.input {
	width: 100%; min-height: 52px; padding: 0 16px;
	background: var(--surface); border: 1px solid var(--line-3); border-radius: 10px;
	color: var(--text); font-size: 16px;
	transition: border-color .15s ease;
}
.input:hover { border-color: var(--btn-line); }
.input:focus { outline: none; border-color: var(--silver); }
textarea.input { padding: 14px 16px; min-height: 0; resize: vertical; line-height: 1.6; }
select.input { appearance: none; -webkit-appearance: none; padding-left: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%239DA1A8' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: left 14px center; }
select.input option { background: var(--surface); color: var(--text); }
.input--dark, .lead-form--dark .input { background: var(--bg); }
.input--sm { min-height: 40px; font-size: 14px; padding-inline: 12px 36px; }
.input::placeholder { color: #6E737B; }

.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 16px; }

.lead-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 14px; align-content: start; }
.field--wide { grid-column: 1 / -1; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.form-privacy { font-size: 13px; color: var(--faint); line-height: 1.6; }
.form-privacy a { color: var(--text-2); border-bottom: 1px solid #5A5E65; }
.form-notice { grid-column: 1 / -1; padding: 14px 18px; border-radius: 12px; background: rgba(127, 208, 160, .1); border: 1px solid rgba(127, 208, 160, .35); color: var(--text); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips--lg { margin: 64px 0 32px; }
.chip {
	display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px;
	border-radius: 999px; border: 1px solid var(--btn-line);
	font-family: var(--font-latin); font-size: 14px;
}
.chips--lg .chip { min-height: 44px; font-family: var(--font); font-size: 15px; padding: 0 18px; }
.chip:hover { border-color: var(--silver); }
.chip.is-active { background: var(--text); color: var(--bg); border-color: var(--text); }

.tag { display: inline-block; align-self: flex-start; padding: 6px 12px; border: 1px solid var(--btn-line); border-radius: 999px; font-size: 13px; color: var(--text-2); }

.dot-list { list-style: none; margin: 32px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; font-size: 15px; color: var(--text-2); }
.dot-list li { display: flex; align-items: center; gap: 12px; }
.dot-list li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex: none; }

/* ---------- Home: calculator teaser & contact ---------- */

.calc-teaser { display: flex; flex-wrap: wrap; gap: 56px; }
.calc-teaser__text { flex: 1 1 340px; min-width: 0; }
.calc-teaser__text .h-section { margin-bottom: 18px; }
.calc-teaser__form { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }

.calc-result {
	margin-top: 6px; padding: 24px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line-3);
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
}
.calc-result__label { font-size: 14px; color: var(--muted); }
.calc-result__total { font-family: var(--font-latin); font-size: 36px; font-weight: 500; margin-top: 6px; }

.home-contact { border-top: 1px solid var(--line-2); padding-top: 72px; display: flex; flex-wrap: wrap; gap: 56px; }
.home-contact__text { flex: 1 1 380px; min-width: 0; }
.home-contact .lead-form { flex: 1 1 480px; min-width: 0; }

/* ---------- Stock ---------- */

.with-sidebar { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; padding-top: 40px; border-top: 1px solid var(--line); }
.filters { flex: 1 1 260px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.filters form { display: flex; flex-direction: column; gap: 24px; }
.results { flex: 999 1 640px; min-width: 0; }
.results__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.results__count { font-size: 15px; color: var(--text-2); }
.sort-form label { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.sort-form .input { width: auto; }

.pagination, .nav-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 48px; }
.pagination .page-numbers, .nav-links .page-numbers {
	display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 14px;
	border: 1px solid var(--btn-line); border-radius: 999px; font-size: 15px;
}
.page-numbers.current { background: var(--text); color: var(--bg); border-color: var(--text); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Single car ---------- */

.car-top { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; margin-top: 28px; }
.gallery { flex: 999 1 640px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.gallery__main { position: relative; border-radius: 20px; overflow: hidden; background: var(--surface-2); aspect-ratio: 16 / 10; }
.gallery__slide { margin: 0; position: absolute; inset: 0; }
.gallery__slide[hidden] { display: none; }
.gallery__slide img { width: 100%; height: 100%; object-fit: cover; }
.gallery__counter { position: absolute; bottom: 18px; left: 18px; padding: 6px 12px; border-radius: 999px; background: rgba(11, 12, 14, .82); font-family: var(--font-latin); font-size: 13px; }
.gallery__nav {
	position: absolute; top: 50%; transform: translateY(-50%);
	width: 48px; height: 48px; border-radius: 50%; border: 0;
	background: rgba(11, 12, 14, .78); color: var(--text);
	display: flex; align-items: center; justify-content: center;
}
.gallery__nav:hover { background: rgba(11, 12, 14, .95); }
.gallery__nav--prev { right: 16px; }
.gallery__nav--next { left: 16px; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; }
.gallery__thumb { padding: 0; border: 2px solid transparent; border-radius: 12px; overflow: hidden; background: var(--surface-2); aspect-ratio: 4 / 3; opacity: .6; transition: opacity .15s ease, border-color .15s ease; }
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb:hover { opacity: .9; }
.gallery__thumb.is-active { border-color: var(--silver); opacity: 1; }

.car-info { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.status-pill { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: #15181B; border: 1px solid var(--line-2); font-size: 13px; font-weight: 400; margin-bottom: 8px; }
.car-info__brand { font-family: var(--font-latin); font-size: 13px; font-weight: 500; letter-spacing: .28em; color: var(--muted); text-transform: uppercase; }
.car-info__model { font-family: var(--font-latin); font-size: clamp(36px, 4vw, 48px); font-weight: 400; letter-spacing: -.01em; line-height: 1.08; }
.car-info__price { margin: 14px 0 6px; padding: 22px 0; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.car-info__price-value { font-family: var(--font-latin); font-size: 34px; font-weight: 500; margin-top: 6px; }
.car-info .tracker { margin: 8px 0 10px; }
.car-info .btn-stack { margin-top: 14px; }

.key-specs { margin: 8px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line-2); border: 1px solid var(--line-2); border-radius: 14px; overflow: hidden; }
.key-specs > div { padding: 16px 18px; background: var(--surface); }
.key-specs dt { font-size: 13px; color: var(--muted); }
.key-specs dd { margin: 6px 0 0; font-size: 17px; font-weight: 400; }

.car-details { margin-top: 96px; display: flex; flex-wrap: wrap; gap: 56px; }
.car-details__about { flex: 1 1 420px; min-width: 0; }
.car-details__specs { flex: 1 1 520px; min-width: 0; }

.spec-table { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); column-gap: 40px; }
.spec-table--single { grid-template-columns: 1fr; }
.spec-table > div { display: flex; justify-content: space-between; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.spec-table dt { font-size: 15px; color: var(--muted); }
.spec-table dd { margin: 0; font-size: 15px; font-weight: 400; text-align: left; }
.spec-table--single dt { color: var(--text-2); }
.spec-table--single dd { font-family: var(--font-latin); }

.car-lead { margin-top: 96px; }
.car-lead .h-sub { margin-bottom: 14px; }

/* ---------- Transit ---------- */

.tracker { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.tracker__step { display: flex; flex-direction: column; gap: 8px; }
.tracker__bar { height: 3px; border-radius: 2px; background: var(--line-3); }
.tracker__label { font-size: 13px; color: var(--faint); line-height: 1.35; }
.tracker__step.is-done .tracker__bar { background: var(--accent); }
.tracker__step.is-done .tracker__label { color: var(--text); }

.stages { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stages__item { padding: 26px 24px; background: var(--surface); display: flex; flex-direction: column; gap: 10px; }
.stages__n { font-family: var(--font-latin); font-size: 13px; font-weight: 500; letter-spacing: .1em; color: var(--accent); }
.stages__title { font-size: 19px; font-weight: 400; }
.stages__item .muted { font-size: 15px; line-height: 1.6; }

.transit-list { margin-top: 64px; display: flex; flex-direction: column; gap: 24px; }
.transit-card { display: flex; flex-wrap: wrap; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.transit-card__media { flex: 1 1 380px; min-width: 0; min-height: 260px; position: relative; background: var(--surface-2); }
.transit-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.transit-card__body { flex: 1.4 1 480px; min-width: 0; padding: 32px; display: flex; flex-direction: column; gap: 24px; }
.transit-card__head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.transit-card__model { font-family: var(--font-latin); font-size: 26px; font-weight: 400; margin: 6px 0; }
.transit-card__price { text-align: left; }
.transit-card__eta { margin-top: 16px; font-size: 14px; color: var(--text-2); }
.transit-card .btn-row { margin-top: auto; }

/* ---------- Sold ---------- */

.sold-grid { margin-top: 8px; padding-top: 48px; border-top: 1px solid var(--line); }
.sold-card { display: flex; flex-direction: column; gap: 16px; }
.sold-card__media { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--surface-2); }
.sold-card__media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) brightness(.72); transition: filter .4s ease; }
.sold-card:hover .sold-card__media img { filter: grayscale(.4) brightness(.85); }
.sold-tag { position: absolute; top: 16px; right: 16px; padding: 6px 12px; border: 1px solid #5A5E65; border-radius: 999px; background: rgba(11, 12, 14, .7); font-size: 13px; color: #D5D7DA; }
.sold-card__body { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.sold-card__model { font-family: var(--font-latin); font-size: 20px; font-weight: 400; margin-top: 4px; }

.cta-band { margin-top: 96px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-band__text { font-size: clamp(26px, 3vw, 36px); font-weight: 300; line-height: 1.3; }
.cta-band__text strong { font-weight: 500; }

/* ---------- Calculator ---------- */

.calc { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.calc__form { flex: 1.2 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.calc__form .panel__title { margin-bottom: 0; }
.calc__result { flex: 1 1 380px; min-width: 0; }
.calc__total { margin: 22px 0 24px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px; }
.calc__total-value { font-family: var(--font-latin); font-size: 40px; font-weight: 500; line-height: 1.1; }
.calc__result .fine { margin-top: 16px; line-height: 1.6; }

.faq { border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 44px; padding: 22px 0; font-size: 18px; font-weight: 400; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--muted); transition: transform .2s ease; flex: none; }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq details p { margin: 0 0 24px; font-size: 16px; line-height: 1.75; color: var(--text-2); max-width: 720px; }

/* ---------- Magazine & article ---------- */

.featured-post { display: flex; flex-wrap: wrap; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.featured-post__media { flex: 1.4 1 520px; min-width: 0; min-height: 340px; position: relative; background: var(--surface-2); }
.featured-post__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.featured-post__body { flex: 1 1 380px; min-width: 0; padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.featured-post__title { font-size: clamp(26px, 2.6vw, 36px); font-weight: 400; line-height: 1.3; }
.featured-post__body .muted { font-size: 16px; line-height: 1.7; }

.article__head { max-width: 760px; margin-inline: auto; padding-top: 28px; }
.article__head .tag { margin-top: 48px; }
.article__title { margin: 20px 0; font-size: clamp(34px, 4.4vw, 56px); font-weight: 300; line-height: 1.18; letter-spacing: -.01em; }
.article__lead { font-size: 20px; line-height: 1.65; color: var(--text-2); }
.article__meta { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 20px; font-size: 14px; color: var(--muted); }
.article__media { max-width: 1200px; margin: 48px auto 0; border-radius: 22px; overflow: hidden; background: var(--surface-2); aspect-ratio: 16 / 8; }
.article__media img { width: 100%; height: 100%; object-fit: cover; }
.article__body { max-width: 760px; margin: 56px auto 0; }
.article__cta { max-width: 760px; margin: 56px auto 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: 28px; border-radius: 18px; font-size: 18px; }
.article__share { max-width: 760px; margin: 48px auto 0; padding-top: 28px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }

/* ---------- About ---------- */

.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 20px; }
.values__item { padding: 32px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; gap: 14px; }
.values__n { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--btn-line); display: flex; align-items: center; justify-content: center; font-family: var(--font-latin); font-size: 14px; color: var(--accent); }
.values__title { font-size: 22px; font-weight: 400; }
.values__item .muted { font-size: 16px; line-height: 1.7; }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); border-top: 1px solid var(--line-2); }
.steps__item { padding: 32px 0 0 28px; display: flex; flex-direction: column; gap: 14px; }
.steps__n { font-family: var(--font-latin); font-size: 14px; font-weight: 500; letter-spacing: .1em; color: var(--accent); }
.steps__title { font-size: 22px; font-weight: 400; }
.steps__item .muted { font-size: 16px; line-height: 1.7; }

.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 24px; }
.team__photo { aspect-ratio: 4 / 5; border-radius: 16px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); margin-bottom: 16px; }
.team__photo img { width: 100%; height: 100%; object-fit: cover; }
.team__name { font-size: 20px; font-weight: 400; }

/* ---------- Contact ---------- */

.contact { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.contact__form { flex: 1.4 1 520px; min-width: 0; }
.contact__side { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.contact-card { display: flex; align-items: center; gap: 18px; padding: 22px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .15s ease; }
a.contact-card:hover { border-color: var(--btn-line); }
.contact-card > span:last-child { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.contact-card__icon { width: 52px; height: 52px; flex: 0 0 52px; border-radius: 50%; border: 1px solid var(--btn-line); display: flex; align-items: center; justify-content: center; }
.contact-card__title { font-size: 18px; font-weight: 400; overflow-wrap: anywhere; }
.contact-card .muted { font-size: 14px; }
.contact__map { width: 100%; height: 240px; border: 0; border-radius: var(--radius); filter: grayscale(1) invert(.92) contrast(.9); }

/* ---------- 404 ---------- */

.not-found { padding-top: 120px; display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }

/* ---------- Small screens ---------- */

@media (max-width: 760px) {
	:root { --gutter: 20px; --header-h: 70px; }
	.site-logo img { height: 38px; }
	.hero { padding-top: 48px; }
	.hero__media { margin-top: 36px; border-radius: 16px; height: auto; }
	.hero__media img { height: auto; aspect-ratio: 4 / 3; }
	.hero__badge { position: static; border-radius: 0; border: 0; border-top: 1px solid var(--line-3); background: var(--surface); justify-content: space-between; }
	.hero__badge-sep { display: none; }
	.section { padding-top: 80px; }
	.section--last, .page { padding-bottom: 80px; }
	.section-tight, .split-section, .car-details, .car-lead, .cta-band { margin-top: 72px; }
	.page-intro { padding: 36px 0 32px; }
	.transit-card__body { padding: 24px; }
	.tracker__label { font-size: 11.5px; }
	.calc-result__total, .calc__total-value { font-size: 30px; }
	.key-specs dd { font-size: 16px; }
	.steps__item { padding-left: 0; }
	.site-footer__cols { gap: 36px; }
	.btn--lg { padding: 0 22px; }
}

@media (max-width: 782px) {
	.admin-bar .site-header { top: 46px; }
}
@media (max-width: 600px) {
	.admin-bar .site-header { top: 0; }
}

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

/* WordPress admin bar is 46px tall on small screens. */
@media (max-width: 782px) {
	.admin-bar .site-header { top: 46px; }
	.admin-bar .site-nav { top: calc(var(--header-h) + 46px); }
}

/* Contact page image */
.contact__media { border-radius: 16px; overflow: hidden; background: var(--surface-2); aspect-ratio: 4 / 3; }
.contact__media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 48%; display: block; }
