/* Vroom Drive — Dark Precision design system implementation */

:root {
	--void: #0A0A0B;
	--ash: #18191C;
	--ash-2: #212226;
	--steel: #6E7178;
	--steel-line: #35363A;
	--ivory: #F3EEE2;
	--brass: #C9A667;
	--brass-dim: #8A7245;

	--font-display: 'Space Grotesk', sans-serif;
	--font-body: 'Inter', sans-serif;

	--container: 1120px;
}

* { box-sizing: border-box; }
html { background: var(--void); }
body {
	background: var(--void);
	color: var(--ivory);
	font-family: var(--font-body);
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	margin: 0;
}
::selection { background: var(--brass); color: var(--void); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.05; margin: 0 0 0.4em; }
p { margin: 0 0 1em; }
button { font-family: inherit; cursor: pointer; }

.wrap { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.wrap--narrow { max-width: 760px; }
.wrap--split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: start; }
@media (max-width: 860px) {
	.wrap--split { grid-template-columns: 1fr; }
}

.screen-reader-text { position: absolute; left: -9999px; }

/* ---------------- Buttons ---------------- */
.btn {
	font-family: var(--font-body);
	font-size: 14px;
	font-weight: 500;
	padding: 15px 28px;
	border-radius: 2px;
	display: inline-block;
	border: 1px solid transparent;
	transition: opacity .15s ease;
	white-space: nowrap;
}
.btn:hover { opacity: 0.85; }
.btn-primary { background: var(--brass); color: var(--void); }
.btn-ghost { border-color: var(--steel-line); color: var(--ivory); }
.btn-sm { padding: 9px 16px; font-size: 13px; }
.text-link { display: inline-block; margin-top: 24px; color: var(--brass); font-weight: 500; font-size: 14px; }

/* ---------------- Nav ---------------- */
.site-nav { border-bottom: 1px solid var(--steel-line); position: sticky; top: 0; background: var(--void); z-index: 40; }
.site-nav__inner { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; gap: 24px; }
.nav-mark { display: flex; align-items: center; }
.nav-mark__text { font-family: var(--font-display); font-size: 16px; font-weight: 600; letter-spacing: 0.02em; }
.nav-mark__text span { display: block; font-family: var(--font-body); font-size: 10px; font-weight: 500; letter-spacing: 0.18em; color: var(--steel); text-transform: uppercase; margin-top: 2px; }
.nav-links { display: flex; gap: 32px; font-size: 14px; color: var(--steel); }
.nav-links a:hover { color: var(--ivory); }
.nav-cta { font-size: 13px; font-weight: 500; letter-spacing: 0.04em; color: var(--void); background: var(--ivory); padding: 10px 20px; border-radius: 2px; }
.nav-toggle { display: none; flex-direction: column; gap: 4px; background: none; border: 0; padding: 8px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--ivory); display: block; }
.nav-mobile { display: none; flex-direction: column; gap: 2px; border-top: 1px solid var(--steel-line); padding: 8px 24px 16px; }
.nav-mobile a { padding: 12px 0; font-size: 15px; border-bottom: 1px solid var(--steel-line); }
.nav-mobile .nav-cta { margin-top: 12px; text-align: center; border-bottom: none; }

@media (max-width: 780px) {
	.nav-links, .site-nav__inner .nav-cta { display: none; }
	.nav-toggle { display: flex; }
	.nav-mobile.is-open { display: flex; }
}

/* ---------------- Hero ---------------- */
.hero { position: relative; padding: 96px 0 72px; overflow: hidden; border-bottom: 1px solid var(--steel-line); }
.hero::before {
	content: "";
	position: absolute;
	top: -220px; right: -160px;
	width: 620px; height: 620px;
	background: radial-gradient(circle, rgba(201,166,103,0.16) 0%, rgba(201,166,103,0) 68%);
	pointer-events: none;
}
.hero-eyebrow { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--brass); margin-bottom: 24px; font-weight: 500; }
.hero h1 { font-size: 56px; letter-spacing: -0.02em; max-width: 720px; position: relative; z-index: 1; }
.hero-sub { font-size: 20px; color: var(--ivory); max-width: 520px; position: relative; z-index: 1; font-weight: 500; }
.hero-body { font-size: 16px; color: var(--steel); max-width: 520px; position: relative; z-index: 1; }
.hero-actions { margin-top: 8px; display: flex; gap: 16px; flex-wrap: wrap; position: relative; z-index: 1; }

@media (max-width: 640px) {
	.hero h1 { font-size: 38px; }
}

/* ---------------- Section shell ---------------- */
section.block, .fleet-hero { padding: 72px 0; border-bottom: 1px solid var(--steel-line); }
.block-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 40px; gap: 24px; flex-wrap: wrap; }
.block-head h2 { font-size: 28px; letter-spacing: -0.01em; }
.block-head p { color: var(--steel); font-size: 14px; max-width: 380px; margin: 0; }

/* ---------------- Home fleet preview ---------------- */
.home-fleet__pills { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.home-fleet .fleet-grid { margin-bottom: 8px; }

/* ---------------- Trust bento ---------------- */
.trust-bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: auto; gap: 1px; background: var(--steel-line); border: 1px solid var(--steel-line); }
.trust-item { background: var(--ash); padding: 30px 26px; }
.trust-item--lg { grid-column: span 2; grid-row: span 2; background: var(--ash-2); display: flex; flex-direction: column; justify-content: center; }
.trust-item__num { display: block; font-family: var(--font-display); color: var(--brass-dim); font-size: 13px; margin-bottom: 14px; }
.trust-item h3 { font-size: 18px; margin-bottom: 8px; }
.trust-item p { color: var(--steel); font-size: 14px; margin: 0; }

@media (max-width: 900px) {
	.trust-bento { grid-template-columns: repeat(2, 1fr); }
	.trust-item--lg { grid-column: span 2; grid-row: span 1; }
}
@media (max-width: 560px) {
	.trust-bento { grid-template-columns: 1fr; }
	.trust-item--lg { grid-column: span 1; }
}

/* ---------------- Perfect-for split ---------------- */
.perfect-copy h2 { font-size: 28px; margin-bottom: 16px; }
.perfect-copy p { color: var(--steel); font-size: 16px; max-width: 440px; }
.perfect-list__label { color: var(--brass); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500; margin-bottom: 16px; }
.perfect-list ul { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 24px; }
.perfect-list li { padding: 10px 0; border-top: 1px solid var(--steel-line); font-size: 15px; }

/* ---------------- How it works ---------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--steel-line); border: 1px solid var(--steel-line); margin-bottom: 40px; }
.step { background: var(--ash); padding: 28px 22px; }
.step__num { display: block; font-family: var(--font-display); font-size: 26px; font-weight: 700; color: var(--brass); margin-bottom: 16px; }
.step h3 { font-size: 16px; margin-bottom: 8px; }
.step p { color: var(--steel); font-size: 13px; margin: 0; }

@media (max-width: 860px) {
	.steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 500px) {
	.steps { grid-template-columns: 1fr; }
}

/* ---------------- Journey (closing) ---------------- */
.block--journey { text-align: left; }
.block--journey h2 { font-size: 30px; max-width: 680px; }
.block--journey > .wrap > p:not(.journey-tagline) { color: var(--steel); font-size: 16px; max-width: 640px; }
.journey-tagline { font-family: var(--font-display); font-size: 22px; font-weight: 600; color: var(--ivory); margin-top: 8px; }

/* ---------------- Why choose list ---------------- */
.why-list { display: flex; flex-direction: column; }
.why-list li { display: grid; grid-template-columns: 240px 1fr; gap: 24px; padding: 20px 0; border-top: 1px solid var(--steel-line); }
.why-list li:last-child { border-bottom: 1px solid var(--steel-line); }
.why-list__title { font-family: var(--font-display); font-weight: 600; font-size: 17px; }
.why-list__desc { color: var(--steel); font-size: 15px; }

@media (max-width: 640px) {
	.why-list li { grid-template-columns: 1fr; gap: 4px; }
}

/* ---------------- FAQ ---------------- */
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-top: 1px solid var(--steel-line); padding: 18px 0; }
.faq-list .faq-item:last-child { border-bottom: 1px solid var(--steel-line); }
.faq-item summary { cursor: pointer; font-family: var(--font-display); font-weight: 600; font-size: 16px; list-style: none; position: relative; padding-right: 28px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 0; top: 0; color: var(--brass); font-size: 20px; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { color: var(--steel); margin-top: 12px; margin-bottom: 0; font-size: 15px; max-width: 640px; }

/* ---------------- CTA / forms ---------------- */
.cta-copy h2 { font-size: 30px; }
.cta-copy p { color: var(--steel); font-size: 16px; max-width: 420px; }
.cta-form, .contact-panel__form { background: var(--ash); border: 1px solid var(--steel-line); padding: 32px; }
.cta-form h3 { font-size: 17px; margin-bottom: 20px; }

.booking-form__row { margin-bottom: 16px; }
.booking-form__row label { display: block; font-size: 13px; color: var(--steel); margin-bottom: 6px; }
.booking-form__row--split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.booking-form input[type=text],
.booking-form input[type=tel],
.booking-form input[type=email],
.booking-form input[type=date],
.booking-form textarea {
	width: 100%;
	background: var(--void);
	border: 1px solid var(--steel-line);
	color: var(--ivory);
	font-family: var(--font-body);
	font-size: 14px;
	padding: 12px 14px;
	border-radius: 2px;
}
.booking-form input:focus, .booking-form textarea:focus { outline: none; border-color: var(--brass); }
.booking-form textarea { resize: vertical; }
.booking-form .btn { width: 100%; text-align: center; border: none; }
.hp-field { position: absolute; left: -9999px; }

.vd-banner { background: var(--ash-2); border: 1px solid var(--brass-dim); color: var(--ivory); padding: 16px 24px; margin: 24px auto 0; max-width: var(--container); font-size: 14px; }

/* ---------------- Fleet catalog ---------------- */
.fleet-hero { padding: 64px 0 40px; }
.fleet-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.filter-pill {
	font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 500;
	color: var(--steel); background: transparent; border: 1px solid var(--steel-line);
	padding: 9px 18px; border-radius: 2px;
}
.filter-pill.is-active, .filter-pill:hover { color: var(--brass); border-color: var(--brass-dim); }

.fleet-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.fleet-grid__item[hidden] { display: none; }
.fleet-card { background: var(--ash); border: 1px solid var(--steel-line); border-radius: 2px; display: flex; flex-direction: column; position: relative; height: 100%; overflow: hidden; color: inherit; text-decoration: none; transition: border-color 0.15s ease; }
.fleet-card:hover { border-color: var(--brass-dim); }
.fleet-card:hover .fleet-card__title { color: var(--brass); }
.fleet-card__media { display: block; aspect-ratio: 4 / 3; background: var(--ash-2); overflow: hidden; }
.fleet-card__media img { width: 100%; height: 100%; object-fit: cover; }
.fleet-card__placeholder { width: 100%; height: 100%; background: linear-gradient(135deg, var(--ash-2), var(--void)); }
.fleet-card__placeholder--lg { aspect-ratio: 16/10; }
.fleet-card__body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.fleet-card__class { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass); font-weight: 500; }
.fleet-card__title { font-size: 19px; margin: 0; }
.fleet-card__price { font-family: var(--font-display); display: flex; align-items: baseline; gap: 4px; margin-top: auto; padding-top: 12px; }
.fleet-card__price b { font-size: 20px; font-weight: 600; }
.fleet-card__price span { font-size: 11px; color: var(--steel); font-family: var(--font-body); }
.fleet-empty { color: var(--steel); font-size: 15px; }

@media (max-width: 900px) {
	.fleet-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (max-width: 560px) {
	.fleet-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
	.fleet-card__body { padding: 16px 16px 18px; }
	.fleet-card__title { font-size: 16px; }
	.fleet-card__price b { font-size: 17px; }
}

/* ---------------- Single car ---------------- */
.car-detail { padding: 56px 0; border-bottom: 1px solid var(--steel-line); }
.car-detail__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; }
.car-detail__hero-image { aspect-ratio: 4/3; overflow: hidden; background: var(--ash); border: 1px solid var(--steel-line); }
.car-detail__hero-image img { width: 100%; height: 100%; object-fit: cover; }
.car-detail__gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 8px; }
.car-detail__gallery img { aspect-ratio: 1; object-fit: cover; }
.car-detail__info h1 { font-size: 32px; margin: 10px 0 16px; }
.car-detail__price { font-family: var(--font-display); display: flex; align-items: baseline; gap: 6px; margin-bottom: 24px; }
.car-detail__price b { font-size: 28px; font-weight: 600; }
.car-detail__price span { font-size: 13px; color: var(--steel); font-family: var(--font-body); }
.car-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--steel-line); border: 1px solid var(--steel-line); margin-bottom: 24px; }
.car-specs li { background: var(--ash); padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.car-specs li span { color: var(--steel); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; }
.car-detail__desc { color: var(--steel); font-size: 15px; margin-bottom: 24px; }

@media (max-width: 860px) {
	.car-detail__grid { grid-template-columns: 1fr; }
}

/* ---------------- Generic page / contact ---------------- */
.block--page h1 { font-size: 34px; margin-bottom: 20px; }
.page-content { color: var(--steel); font-size: 16px; }
.contact-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 40px; }
.contact-panel__info p { margin: 0 0 10px; }
.contact-panel__info a:hover { color: var(--brass); }

@media (max-width: 720px) {
	.contact-panel { grid-template-columns: 1fr; }
}

/* ---------------- Footer ---------------- */
.site-footer { padding: 48px 0 32px; }
.site-footer__inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; padding-bottom: 32px; border-bottom: 1px solid var(--steel-line); }
.site-footer__brand p { color: var(--steel); font-size: 13px; margin: 10px 0 0; }
.site-footer__services { font-size: 12px; }
.site-footer__contact p { margin: 0 0 8px; font-size: 13px; color: var(--steel); }
.site-footer__contact a:hover { color: var(--brass); }
.site-footer__legal { padding-top: 20px; font-size: 12px; color: var(--steel); }

@media (max-width: 640px) {
	.site-footer__inner { grid-template-columns: 1fr; }
}

/* ---------------- Logo ---------------- */
.nav-mark { display: flex; align-items: center; gap: 10px; }
.nav-mark__logo { display: block; border-radius: 2px; }
.site-footer__brand .nav-mark__text { display: flex; align-items: center; gap: 10px; }
.site-footer__brand .nav-mark__logo { flex-shrink: 0; }

/* ---------------- Car illustrations (inline SVG, no photo) ---------------- */
.vd-car-svg { width: 100%; height: 100%; display: block; }
.car-detail__hero-image { background: var(--ash-2); }

/* ---------------- Booking form note / fleet search note ---------------- */
.booking-form__note { font-size: 12px; color: var(--steel); margin: 10px 0 0; }
.booking-form__note.is-confirmed { color: var(--brass); }
.fleet-search-note { color: var(--steel); font-size: 14px; margin: 0 0 16px; }
.fleet-search-note a { color: var(--brass); }