/*
 * site.css — premium marketing-site styling for the cab platform.
 * ----------------------------------------------------------------------------
 * Design intent (per brief): premium = restraint + warmth + whitespace + a
 * serif/sans type pairing. The accent colour is the JEWEL — scarce and
 * deliberate (CTAs, links, active states, key dividers only). The whole canvas
 * is warm neutrals; never introduce cool/blue tones.
 *
 * WHITE-LABEL: every colour and font here references a CSS variable defined by
 * brand_tokens (driven by Cab Brand Settings). No brand colour/font literal
 * lives in this file. Editing Brand Settings re-skins all of it.
 */

/* ---- Reset / base -------------------------------------------------------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { overflow-x: clip; }

body {
	margin: 0;
	font-family: var(--font-body);
	color: var(--text-on-light);
	background-color: var(--surface-light);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-heading);
	font-weight: 600;
	line-height: 1.12;
	letter-spacing: -0.01em;
	margin: 0 0 0.5em;
	color: inherit;
}

p { margin: 0 0 1rem; }
a { color: var(--brand-accent); text-decoration: none; transition: color 0.15s ease; }
a:hover { color: var(--brand-accent-deep); }
img { max-width: 100%; display: block; }

/* ---- Accessibility: visible keyboard focus ------------------------------- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
	outline: 3px solid var(--brand-accent);
	outline-offset: 2px;
	border-radius: 2px;
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	background: var(--brand-primary);
	color: var(--text-on-dark);
	padding: 0.75rem 1.25rem;
	z-index: 1000;
	border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---- Layout primitives --------------------------------------------------- */
.container {
	width: 100%;
	max-width: 1180px;
	margin: 0 auto;
	padding-left: 1.5rem;
	padding-right: 1.5rem;
}
.section { padding: 5.5rem 0; }
.section--tight { padding: 3.5rem 0; }
.section--surface { background-color: var(--surface-light); }
.section--alt { background-color: var(--surface-secondary); }
.section--ink { background-color: var(--brand-primary); color: var(--text-on-dark); }
.section--ink h1, .section--ink h2, .section--ink h3 { color: var(--text-on-dark); }

.eyebrow {
	display: inline-block;
	font-family: var(--font-body);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--brand-accent);
	margin-bottom: 1rem;
}

.section-head { max-width: 720px; margin-bottom: 3rem; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
.section-head p { color: var(--muted-text); font-size: 1.08rem; margin: 0; }

.lede { font-size: 1.15rem; color: var(--muted-text); }
.lede--on-dark { max-width: 680px; color: var(--text-on-dark); opacity: 0.85; }
.container--narrow { max-width: 820px; }

/* Thin checkered signature accent — a subtle nod to the logo motif, used only
   as a hairline divider, never as a large pattern. */
.checker-rule {
	height: 6px;
	width: 100%;
	background-image:
		linear-gradient(45deg, var(--brand-accent) 25%, transparent 25%, transparent 75%, var(--brand-accent) 75%),
		linear-gradient(45deg, var(--brand-accent) 25%, transparent 25%, transparent 75%, var(--brand-accent) 75%);
	background-size: 12px 12px;
	background-position: 0 0, 6px 6px;
	opacity: 0.9;
}

/* ---- Buttons ------------------------------------------------------------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 0.98rem;
	padding: 0.85rem 1.75rem;
	border-radius: 9999px;
	border: 1.5px solid transparent;
	cursor: pointer;
	transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
	text-align: center;
}
.btn-primary { background-color: var(--brand-accent); color: #fff; }
.btn-primary:hover { background-color: var(--brand-accent-deep); color: #fff; transform: translateY(-1px); }
.btn-outline { background: transparent; border-color: currentColor; color: inherit; }
.btn-outline:hover { color: var(--brand-accent); border-color: var(--brand-accent); }
.btn-ghost-light { background: transparent; border-color: rgba(245,242,236,0.4); color: var(--text-on-dark); }
.btn-ghost-light:hover { border-color: var(--brand-accent); color: var(--brand-accent); }
.btn--block { width: 100%; }

/* Back-compat alias used by the /book widget (Phase 0). */
.brand-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background-color: var(--brand-accent);
	color: #fff;
	font-family: var(--font-body);
	font-weight: 600;
	padding: 0.85rem 1.75rem;
	border-radius: 9999px;
	border: none;
	cursor: pointer;
	text-decoration: none;
	transition: background-color 0.15s ease, transform 0.15s ease;
}
.brand-btn:hover { background-color: var(--brand-accent-deep); color: #fff; transform: translateY(-1px); }

/* ---- Header / nav -------------------------------------------------------- */
.site-header {
	--header-h: 74px;
	position: sticky;
	top: 0;
	z-index: 100;
	background-color: color-mix(in srgb, var(--surface-light) 88%, transparent);
	backdrop-filter: saturate(140%) blur(10px);
	border-bottom: 1px solid var(--hairline);
	padding-top: env(safe-area-inset-top, 0);
}
.site-header__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	min-height: var(--header-h);
}
.site-header .brand {
	display: flex;
	align-items: center;
	gap: 0.7rem;
	color: var(--text-on-light);
	flex: 1 1 auto;
	min-width: 0;
}
.site-header .brand img {
	height: 52px;
	width: auto;
	max-width: min(260px, 58vw);
	object-fit: contain;
	display: block;
}
.site-header .brand .name {
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: 1.4rem;
	letter-spacing: -0.01em;
}
.primary-nav { display: flex; align-items: center; gap: 2rem; }
.primary-nav a.nav-link {
	color: var(--text-on-light);
	font-family: var(--font-body);
	font-weight: 500;
	font-size: 0.97rem;
	padding: 0.35rem 0;
	position: relative;
}
.primary-nav a.nav-link::after {
	content: "";
	position: absolute;
	left: 0; bottom: -2px;
	width: 0; height: 2px;
	background-color: var(--brand-accent);
	transition: width 0.2s ease;
}
.primary-nav a.nav-link:hover,
.primary-nav a.nav-link[aria-current="page"] { color: var(--brand-accent); }
.primary-nav a.nav-link:hover::after,
.primary-nav a.nav-link[aria-current="page"]::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: 0.65rem; flex: none; }
.nav-cta-mobile { display: none; margin-top: 0.75rem; }
.nav-cta-desktop { white-space: nowrap; }

.nav-backdrop {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 90;
	background: rgba(28, 26, 23, 0.45);
}

.nav-toggle {
	display: none;
	background: transparent;
	border: 1px solid var(--hairline);
	border-radius: 8px;
	width: 44px; height: 44px;
	cursor: pointer;
	align-items: center;
	justify-content: center;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
	content: "";
	display: block;
	width: 20px; height: 2px;
	background: var(--text-on-light);
	position: relative;
	transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

/* ---- Hero (the single home banner) --------------------------------------- */
.hero {
	position: relative;
	background-color: var(--brand-primary);
	color: var(--text-on-dark);
	overflow: hidden;
}
/* Full-bleed image banner when Banner Image is uploaded in Cab Website Settings. */
.hero--banner {
	width: 100%;
	/* Viewport-based height only — aspect-ratio + max-height shrinks width on wide screens. */
	min-height: clamp(400px, min(45vw, 72vh), 680px);
	display: flex;
	align-items: center;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero__bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	/* Focal point: Innova + chauffeur on the right; keep head in frame. */
	object-position: 82% 38%;
}
.hero__bg::after {
	content: "";
	position: absolute; inset: 0;
	background: linear-gradient(
		105deg,
		rgba(28, 26, 23, 0.88) 0%,
		rgba(28, 26, 23, 0.58) 42%,
		rgba(28, 26, 23, 0.38) 100%
	);
}
.hero--banner .hero__bg::after {
	/* Stronger left panel for headline; lighter on the right so the car shows. */
	background: linear-gradient(
		100deg,
		rgba(28, 26, 23, 0.93) 0%,
		rgba(28, 26, 23, 0.78) 32%,
		rgba(28, 26, 23, 0.35) 58%,
		rgba(28, 26, 23, 0.12) 100%
	);
}
.hero__inner {
	position: relative;
	z-index: 1;
	padding: clamp(5rem, 12vw, 9rem) 0 clamp(4rem, 9vw, 7rem);
	max-width: 760px;
}
.hero--banner .hero__inner {
	padding: clamp(2.5rem, 6vw, 4rem) 0;
	max-width: min(640px, 52%);
}
.hero__inner .eyebrow { color: var(--brand-accent); }
.hero h1 {
	font-size: clamp(2.6rem, 7vw, 5rem);
	color: var(--text-on-dark);
	margin-bottom: 1.25rem;
}
.hero--banner h1 {
	font-size: clamp(2.2rem, 5.5vw, 4.25rem);
}
.hero__sub {
	font-size: clamp(1.05rem, 2.2vw, 1.35rem);
	color: var(--text-on-dark);
	opacity: 0.88;
	max-width: 560px;
	margin-bottom: 2.25rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ---- Cards / grids ------------------------------------------------------- */
.grid { display: grid; gap: 1.75rem; }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }

.card {
	background: #fff;
	border: 1px solid var(--hairline);
	border-radius: 16px;
	overflow: hidden;
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
	display: flex;
	flex-direction: column;
}
a.card { color: inherit; }
.card:hover {
	transform: translateY(-4px);
	box-shadow: 0 18px 40px rgba(28,26,23,0.10);
	border-color: color-mix(in srgb, var(--brand-accent) 35%, var(--hairline));
}
.card__media { aspect-ratio: 16 / 10; background: var(--surface-secondary); overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__body { padding: 1.5rem 1.6rem 1.7rem; flex: 1; display: flex; flex-direction: column; }
.card__icon { font-size: 1.6rem; color: var(--brand-accent); margin-bottom: 0.75rem; line-height: 1; }
.card__body h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.card__body p { color: var(--muted-text); margin: 0 0 1rem; font-size: 0.98rem; }
.card__meta {
	margin-top: auto;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1rem;
	font-size: 0.85rem;
	color: var(--muted-text);
	padding-top: 0.5rem;
}
.card__meta .meta-chip {
	background: var(--surface-secondary);
	border-radius: 9999px;
	padding: 0.25rem 0.75rem;
	font-weight: 500;
}
.card__price { color: var(--brand-accent); font-weight: 600; }
.card__link {
	margin-top: 1rem;
	font-weight: 600;
	font-size: 0.95rem;
	color: var(--brand-accent);
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
}

/* Placeholder when no image is uploaded (graceful, never broken). */
.media-placeholder {
	width: 100%; height: 100%;
	display: flex; align-items: center; justify-content: center;
	background:
		repeating-linear-gradient(45deg, var(--surface-secondary), var(--surface-secondary) 14px, color-mix(in srgb, var(--surface-secondary) 70%, #fff) 14px, color-mix(in srgb, var(--surface-secondary) 70%, #fff) 28px);
	color: var(--muted-text);
	font-family: var(--font-heading);
	font-size: 1.1rem;
	letter-spacing: 0.04em;
}

/* ---- Stats band (the one place numbers get the gold/accent) -------------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 2rem; text-align: center; }
.stat__value {
	font-family: var(--font-heading);
	font-size: clamp(2.4rem, 5vw, 3.4rem);
	font-weight: 600;
	color: var(--brand-accent);
	line-height: 1;
}
.stat__label { color: var(--text-on-dark); opacity: 0.8; margin-top: 0.6rem; font-size: 0.95rem; }
.section--surface .stat__label { color: var(--muted-text); opacity: 1; }

/* ---- Features ------------------------------------------------------------ */
.feature { display: flex; gap: 1rem; align-items: flex-start; }
.feature__icon {
	flex: none;
	width: 48px; height: 48px;
	border-radius: 12px;
	background: color-mix(in srgb, var(--brand-accent) 12%, transparent);
	color: var(--brand-accent);
	display: flex; align-items: center; justify-content: center;
	font-size: 1.3rem;
}
.feature h3 { font-size: 1.15rem; margin-bottom: 0.35rem; }
.feature p { color: var(--muted-text); margin: 0; font-size: 0.96rem; }

/* ---- Testimonials -------------------------------------------------------- */
.quote-card {
	background: #fff;
	border: 1px solid var(--hairline);
	border-radius: 16px;
	padding: 2rem;
	display: flex;
	flex-direction: column;
}
.quote-card .quote-mark { font-family: var(--font-heading); font-size: 3rem; color: var(--brand-accent); line-height: 0.6; height: 1.4rem; }
.quote-card blockquote { margin: 0 0 1.25rem; font-size: 1.08rem; color: var(--text-on-light); }
.quote-author { display: flex; align-items: center; gap: 0.85rem; margin-top: auto; }
.quote-author img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.quote-author .name { font-weight: 600; font-size: 0.96rem; }
.quote-author .role { color: var(--muted-text); font-size: 0.85rem; }
.stars { color: var(--brand-accent); letter-spacing: 0.1em; font-size: 0.9rem; margin-bottom: 0.75rem; }

/* ---- FAQ ----------------------------------------------------------------- */
.faq-item { border-bottom: 1px solid var(--hairline); }
.faq-item summary {
	cursor: pointer;
	list-style: none;
	padding: 1.25rem 0;
	font-family: var(--font-heading);
	font-size: 1.15rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--brand-accent); font-size: 1.5rem; flex: none; }
.faq-item[open] summary::after { content: "\2013"; }
.faq-item p { color: var(--muted-text); padding-bottom: 1.25rem; margin: 0; }

/* ---- CTA band ------------------------------------------------------------ */
.cta-band { text-align: center; }
.cta-band h2 { font-size: clamp(2rem, 4.5vw, 3rem); color: var(--text-on-dark); }
.cta-band p { color: var(--text-on-dark); opacity: 0.85; max-width: 560px; margin: 0 auto 2rem; font-size: 1.1rem; }

/* ---- Editorial (about) --------------------------------------------------- */
.editorial { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3.5rem; align-items: center; }
.editorial__media img, .editorial__media .media-placeholder { border-radius: 18px; aspect-ratio: 4/5; object-fit: cover; }
.prose { font-size: 1.08rem; color: var(--text-on-light); }
.prose p { margin-bottom: 1.1rem; }
.since-badge {
	display: inline-flex; flex-direction: column; align-items: flex-start;
	border-left: 3px solid var(--brand-accent);
	padding-left: 1rem;
	margin-top: 1.5rem;
}
.since-badge .y { font-family: var(--font-heading); font-size: 2rem; color: var(--brand-accent); line-height: 1; }
.since-badge .t { color: var(--muted-text); font-size: 0.9rem; }

/* ---- Service sections (services page) ------------------------------------ */
.svc { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; padding: 3.5rem 0; border-bottom: 1px solid var(--hairline); }
.svc:nth-child(even) .svc__media { order: 2; }
.svc__media img, .svc__media .media-placeholder { border-radius: 16px; aspect-ratio: 16/11; object-fit: cover; width: 100%; }
.svc__body h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); }
.feature-list { list-style: none; padding: 0; margin: 1.25rem 0 1.75rem; display: grid; gap: 0.6rem; }
.feature-list li { display: flex; gap: 0.6rem; align-items: flex-start; color: var(--text-on-light); }
.feature-list li::before { content: "\2713"; color: var(--brand-accent); font-weight: 700; flex: none; }

/* ---- Contact ------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 3rem; }
.contact-info dl { margin: 0; }
.contact-info dt { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--brand-accent); font-weight: 600; margin-top: 1.5rem; }
.contact-info dd { margin: 0.3rem 0 0; font-size: 1.05rem; }
.contact-info a { color: var(--text-on-light); }
.contact-info a:hover { color: var(--brand-accent); }
.contact-social { margin-top: 1.5rem; flex-wrap: wrap; }
.contact-social a { color: var(--text-on-light); }
.map-embed { margin-top: 2rem; border-radius: 16px; overflow: hidden; border: 1px solid var(--hairline); }
.map-embed iframe { width: 100%; height: 320px; border: 0; display: block; }

.form-card { background: #fff; border: 1px solid var(--hairline); border-radius: 18px; padding: 2rem; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 0.4rem; }
.field input, .field textarea {
	width: 100%; padding: 0.75rem 0.9rem;
	border: 1px solid var(--hairline); border-radius: 10px;
	font: inherit; color: var(--text-on-light); background: var(--surface-light);
}
.field input:focus, .field textarea:focus { border-color: var(--brand-accent); background: #fff; }
.form-note { font-size: 0.85rem; color: var(--muted-text); }
.form-status { margin-top: 1rem; font-size: 0.95rem; min-height: 1.2em; }
.form-status.is-success { color: var(--brand-accent-deep); }
.form-status.is-error { color: #b42318; }

/* ---- Footer -------------------------------------------------------------- */
.site-footer { background-color: var(--brand-primary); color: var(--text-on-dark); }
.site-footer .checker-rule { opacity: 1; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2.5rem; padding: 4rem 0 2.5rem; }
.site-footer .brand-line { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 1rem; }
.site-footer .brand-line img { height: 34px; }
.site-footer .brand-line .name { font-family: var(--font-heading); font-size: 1.3rem; }
.site-footer p { color: var(--text-on-dark); opacity: 0.72; font-size: 0.95rem; }
.footer-col h4 { font-family: var(--font-body); font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.6; margin-bottom: 1rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.6rem; }
.footer-col a { color: var(--text-on-dark); opacity: 0.85; font-size: 0.96rem; }
.footer-col a:hover { color: var(--brand-accent); opacity: 1; }
.footer-social { display: flex; flex-wrap: wrap; gap: 0.75rem 1rem; margin-top: 0.5rem; }
.footer-social a { color: var(--text-on-dark); opacity: 0.85; }
.footer-social a:hover { color: var(--brand-accent); }
.footer-bottom {
	border-top: 1px solid rgba(245,242,236,0.12);
	padding: 1.5rem 0;
	padding-bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px));
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 0.5rem;
	font-size: 0.88rem;
	opacity: 0.7;
}

/* ---- Scroll-reveal (subtle, opt-in, reduced-motion aware) ---------------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---- Responsive ---------------------------------------------------------- */
@media (max-width: 860px) {
	.editorial, .svc, .contact-grid, .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
	.svc:nth-child(even) .svc__media { order: 0; }
	.footer-grid { padding: 3rem 0 1.5rem; }

	.grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }

	.nav-toggle { display: inline-flex; }
	.nav-cta-desktop { display: none; }
	.nav-cta-mobile { display: inline-flex; }

	.primary-nav {
		position: fixed;
		left: 0;
		right: 0;
		top: calc(var(--header-h) + env(safe-area-inset-top, 0px));
		z-index: 95;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		max-height: calc(100dvh - var(--header-h) - env(safe-area-inset-top, 0px));
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
		background: var(--surface-light);
		border-bottom: 1px solid var(--hairline);
		padding: 0.5rem 1.5rem 1.25rem;
		transform: translateY(calc(-100% - var(--header-h)));
		transition: transform 0.25s ease;
		box-shadow: 0 20px 40px rgba(28,26,23,0.12);
		visibility: hidden;
		pointer-events: none;
	}
	.primary-nav.is-open {
		transform: translateY(0);
		visibility: visible;
		pointer-events: auto;
	}
	.primary-nav a.nav-link {
		width: 100%;
		padding: 0.95rem 0;
		min-height: 44px;
		border-bottom: 1px solid var(--hairline);
	}
	.primary-nav a.nav-link::after { display: none; }

	.nav-backdrop.is-visible { display: block; }

	body.nav-open { overflow: hidden; }

	.section { padding: 3.5rem 0; }
	.section--tight { padding: 2.5rem 0; }
	.section-head { margin-bottom: 2rem; }
	.hero__inner { padding: clamp(3.5rem, 10vw, 5rem) 0 clamp(2.5rem, 8vw, 4rem); }
	.hero--banner {
		min-height: clamp(480px, 72vh, 640px);
	}
	.hero--banner .hero__bg img { object-position: 80% 32%; }
	.hero--banner .hero__inner {
		max-width: 100%;
		padding: clamp(5.5rem, 14vw, 7rem) 0 clamp(2rem, 6vw, 3rem);
	}
	.hero--banner .hero__bg::after {
		background: linear-gradient(
			180deg,
			rgba(28, 26, 23, 0.55) 0%,
			rgba(28, 26, 23, 0.82) 45%,
			rgba(28, 26, 23, 0.94) 100%
		);
	}
	.svc { padding: 2.25rem 0; }
	.quote-card { padding: 1.5rem; }
	.form-card { padding: 1.35rem; }
	.faq-item summary { font-size: 1.05rem; }
	.footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
	.container { padding-left: 1rem; padding-right: 1rem; }
	.site-header { --header-h: 64px; }
	.site-header .brand img { height: 44px; max-width: min(220px, 52vw); }
	.site-header .brand .name { font-size: 1.15rem; }

	.hero h1 { font-size: clamp(2.1rem, 9vw, 2.8rem); }
	.hero--banner h1 { font-size: clamp(2rem, 8.5vw, 2.65rem); }
	.hero__sub { font-size: 1rem; margin-bottom: 1.75rem; }
	.lede { font-size: 1.02rem; }

	.btn, .brand-btn { min-height: 44px; padding-left: 1.25rem; padding-right: 1.25rem; }
	.card__body { padding: 1.2rem 1.25rem 1.35rem; }
	.stats { gap: 1.25rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.map-embed iframe { height: 260px; }

	/* Prevent iOS zoom on form focus */
	.field input, .field textarea, .field select { font-size: 16px; }

	.svc .btn, .card .btn { width: 100%; }
	.card__link { margin-top: 0.75rem; }
}

@media (max-width: 520px) {
	.hero__actions { flex-direction: column; align-items: stretch; }
	.hero__actions .btn { width: 100%; }
	.stats { grid-template-columns: 1fr; }
}

/* Disable hover lift on touch devices (avoids sticky hover states). */
@media (hover: none) {
	.card:hover { transform: none; box-shadow: none; }
}

/* ---- Reduced motion ------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
	}
	.reveal { opacity: 1; transform: none; }
}
