/* ==========================================================================
   Enquiry overlay — a full-screen layer over the page (never a page load).
   ========================================================================== */

.enq { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; }
.enq[hidden] { display: none; }
.no-js .enq:target { display: grid !important; }
.enq__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .62); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.enq__panel {
	position: relative; width: min(640px, 100%); max-height: calc(100svh - 32px); overflow: auto;
	padding: 44px 28px 32px;
	border-radius: var(--r-lg);
	background: radial-gradient(120% 80% at 100% 0%, rgba(var(--accent-rgb), .22), transparent 60%), rgba(14, 12, 10, .92);
	border: 1px solid rgba(255, 255, 255, .08);
	overscroll-behavior: contain;
}
@media (max-width: 599px) {
	.enq { padding: 0; place-items: end stretch; }
	.enq__panel { width: 100%; max-height: 94svh; border-radius: var(--r-lg) var(--r-lg) 0 0; padding: 40px 20px calc(24px + env(safe-area-inset-bottom)); }
}
.enq__close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; }
.enq__close span { position: absolute; left: 11px; top: 19px; width: 18px; height: 1px; background: #fff; transform: rotate(45deg); }
.enq__close span + span { transform: rotate(-45deg); }
.enq__close:hover { background: rgba(255, 255, 255, .08); }
.enq__progress { position: absolute; left: 0; right: 0; top: 0; height: 3px; background: rgba(255, 255, 255, .08); }
.enq__progress span { display: block; height: 100%; width: 100%; background: var(--bll-gold); transform: scaleX(.5); transform-origin: left; transition: transform 600ms var(--ease-out); }

.enq__step { display: none; }
.enq__step.is-active { display: block; }
.enq__title { margin: 16px 0 8px; font-size: clamp(26px, 5vw, 36px); line-height: 1.1; font-weight: 300; letter-spacing: -.01em; }
.enq__lede { color: rgba(245, 245, 245, .75); font-size: 15px; margin-bottom: 18px; }
.enq__hp { position: absolute; left: -9999px; }

.field { display: block; margin-top: 18px; }
.field__label { display: block; margin-bottom: 8px; font-size: 13px; color: rgba(245, 245, 245, .7); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"] {
	width: 100%; height: 54px; padding: 0 16px;
	border-radius: var(--r-sm); border: 1px solid rgba(255, 255, 255, .14);
	background: rgba(255, 255, 255, .05); color: #fff;
	font: 300 16px/1 var(--bll-font);
	transition: border-color var(--dur-base), background-color var(--dur-base);
}
.field input::placeholder { color: rgba(255, 255, 255, .35); }
.field input:focus { outline: none; border-color: var(--bll-gold); background: rgba(var(--accent-rgb), .08); }
.field input[aria-invalid="true"] { border-color: #e0786a; }
.vehicles { display: grid; gap: 10px; }
.link-btn { margin-top: 10px; color: var(--bll-gold); font-size: 14px; }
.link-btn:hover { color: var(--bll-gold-hi); }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.opt span { display: inline-flex; align-items: center; height: 42px; padding: 0 16px; border-radius: var(--r-sm); background: var(--bll-glass-soft); border: 1px solid transparent; font-size: 14px; transition: background-color var(--dur-base), border-color var(--dur-base); }
.opt input:checked + span { background: var(--bll-gold-40); border-color: var(--bll-gold); }
.opt input:focus-visible + span { outline: 2px solid var(--bll-gold); outline-offset: 2px; }
.enq__error { min-height: 20px; margin-top: 12px; color: #f0a093; font-size: 14px; }
.enq__nav { display: flex; gap: 12px; justify-content: flex-end; margin-top: 8px; }
.enq__nav .btn { min-width: 150px; }
.enq__done .contact { margin: 6px 0 22px; }
.enq__done .enq__nav { justify-content: flex-start; }
.btn.is-loading { pointer-events: none; opacity: .7; }

html.enq-open, html.enq-open body { overflow: hidden; }
.enq__legal { margin-top: 18px; font-size: 12px; line-height: 1.55; color: rgba(245, 245, 245, .55); }
.enq__legal a { color: var(--bll-gold-hi); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Vehicle step (v0.5.0): makes → model cards → shortlist ---------- */
.enq__panel { width: min(720px, 100%); }
.makes { display: flex; flex-wrap: wrap; gap: 8px; }
.make { position: relative; height: 40px; padding: 0 15px; border-radius: var(--r-pill); border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .04); font-size: 13.5px; color: var(--bll-off-white); transition: background-color .4s, border-color .4s, color .4s; }
.make.is-picked::after { content: ""; position: absolute; top: 5px; right: 6px; width: 6px; height: 6px; border-radius: 50%; background: var(--bll-gold-hi); }
.make.is-active { background: var(--bll-gold); border-color: var(--bll-gold); color: var(--on-accent); }
.make--other { border-style: dashed; color: rgba(245, 245, 245, .75); }
@media (hover: hover) { .make:not(.is-active):hover { border-color: rgba(var(--accent-rgb), .7); } }
.enq__hint { font-style: normal; color: rgba(245, 245, 245, .45); }
.models { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.model { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 10px 12px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .035); text-align: center; transition: border-color .4s, background-color .4s, transform .3s; }
.model:active { transform: scale(.98); }
.model .sil { width: 86%; max-width: 130px; height: auto; stroke: rgba(var(--accent-hi-rgb), .55); stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; transition: stroke .4s; }
.model .sil circle { fill: #0e0c0a; }
.model__name { font-size: 13px; line-height: 1.25; color: var(--bll-off-white); }
.model__init, .model__q { display: grid; place-items: center; width: 44px; height: 32px; font-size: 20px; color: rgba(var(--accent-hi-rgb), .7); }
.model__tick { position: absolute; top: 8px; right: 8px; width: 18px; height: 18px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); }
.model.is-on { border-color: var(--bll-gold); background: rgba(var(--accent-rgb), .14); }
.model.is-on .sil { stroke: var(--bll-gold-hi); }
.model.is-on .model__tick { background: var(--bll-gold); border-color: var(--bll-gold); }
.model.is-on .model__tick::after { content: ""; position: absolute; left: 6px; top: 3px; width: 4px; height: 8px; border: solid var(--on-accent); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.model--ns { border-style: dashed; }
@media (hover: hover) { .model:not(.is-on):hover { border-color: rgba(var(--accent-rgb), .6); } }
@media (min-width: 520px) { .models { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 680px) { .models { grid-template-columns: repeat(4, 1fr); } }
.enq__search input { width: 100%; height: 50px; padding: 0 16px; border-radius: var(--r-sm); border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .05); color: #fff; font: 300 16px/1 var(--bll-font); }
.enq__search input:focus { outline: none; border-color: var(--bll-gold); }
.enq__results { margin-top: 6px; border-radius: var(--r-sm); overflow: hidden; }
.enq__results button { display: block; width: 100%; padding: 12px 14px; text-align: left; font-size: 14px; color: var(--bll-off-white); background: rgba(255, 255, 255, .04); border-top: 1px solid rgba(255, 255, 255, .06); }
.enq__results li:first-child button { border-top: 0; }
.enq__results button:hover, .enq__results button:focus-visible { background: rgba(var(--accent-rgb), .18); }
.enq__picked { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; }
.enq__picked:empty { display: none; }
.enq__picked-label { width: 100%; font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--bll-gold-hi); }
.pick { display: inline-flex; align-items: center; gap: 4px; padding: 6px 6px 6px 13px; border-radius: var(--r-pill); background: rgba(var(--accent-rgb), .18); border: 1px solid rgba(var(--accent-rgb), .45); font-size: 13px; color: var(--bll-off-white); }
.pick button { width: 22px; height: 22px; border-radius: 50%; font-size: 15px; line-height: 20px; color: rgba(245, 245, 245, .7); }
.pick button:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.enq__summary { padding: 12px 14px; border-radius: var(--r-sm); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); font-size: 13.5px; }
.enq__summary:empty { display: none; }
.opt input[type="checkbox"] + span { padding-left: 16px; }
.opt input:checked + span { background: rgba(var(--accent-rgb), .22); border-color: var(--bll-gold); }
.enq [hidden] { display: none !important; }
