/*
Theme Name: Crown Repair
Theme URI: https://crowncarrepair.co.uk/
Author: Crown Car Repair
Description: Fast, minimal, high-trust WordPress theme for a Birmingham car repair and maintenance business. No build step, no framework, no jQuery, no webfonts. Built to a strict performance budget: LCP < 1.5s, CLS < 0.05, page weight < 150KB.
Version: 1.2.6
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: crown-repair
Tags: custom-theme, local-business, performance
*/

/* ==========================================================================
   1. CUSTOM PROPERTIES
   ========================================================================== */

:root {
	/* Brand */
	--ink:        #0F1B26;
	--steel:      #1C2E3D;
	--gold:       #E0A93B;
	--gold-deep:  #8A6110;

	/* Neutrals */
	--slate:      #4A5A68;
	--muted:      #6B7B89;
	--line:       #DDE3E8;
	--surface:    #F5F7F9;
	--white:      #FFFFFF;

	/* Semantic */
	--ok:         #1B7A4F;
	--warn:       #B8791A;
	--danger:     #B4231F;

	/* Type */
	--font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace;

	--fs-hero:  clamp(2rem, 5vw, 3.25rem);
	--fs-h2:    clamp(1.5rem, 3vw, 2.125rem);
	--fs-h3:    clamp(1.25rem, 2vw, 1.5rem);
	--fs-lead:  clamp(1.0625rem, 1.5vw, 1.25rem);
	--fs-body:  1.0625rem;
	--fs-small: 0.9375rem;

	/* Space */
	--sp-1: 0.25rem;  --sp-2: 0.5rem;  --sp-3: 0.75rem; --sp-4: 1rem;
	--sp-5: 1.5rem;   --sp-6: 2rem;    --sp-7: 3rem;    --sp-8: 4rem;
	--sp-9: 6rem;

	/* Shape */
	--radius:    6px;
	--radius-lg: 10px;
	--shadow-sm: 0 1px 2px rgba(15,27,38,.06);
	--shadow:    0 2px 8px rgba(15,27,38,.08);

	/* Layout */
	--container: 1140px;
	--prose:     68ch;
}

/* ==========================================================================
   2. RESET
   ========================================================================== */

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--font-sans);
	font-size: var(--fs-body);
	line-height: 1.65;
	color: var(--ink);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
	margin: 0 0 var(--sp-4);
	line-height: 1.2;
	font-weight: 700;
	color: var(--ink);
	text-wrap: balance;
}

h1 { font-size: var(--fs-hero); letter-spacing: -0.02em; }
h2 { font-size: var(--fs-h2); letter-spacing: -0.01em; margin-top: var(--sp-7); }
h3 { font-size: var(--fs-h3); margin-top: var(--sp-6); }
h4 { font-size: 1.125rem; margin-top: var(--sp-5); }

p, ul, ol, table, figure { margin: 0 0 var(--sp-4); }

a {
	color: var(--gold-deep);
	text-decoration-thickness: 1px;
	text-underline-offset: 2px;
}
a:hover { color: var(--ink); }

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

ul, ol { padding-left: 1.4em; }
li { margin-bottom: var(--sp-2); }

strong { font-weight: 700; }

hr {
	border: 0;
	border-top: 1px solid var(--line);
	margin: var(--sp-7) 0;
}

/* Focus — never remove */
:focus-visible {
	outline: 2px solid var(--gold-deep);
	outline-offset: 2px;
	border-radius: 2px;
}

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

/* ==========================================================================
   3. LAYOUT
   ========================================================================== */

.container {
	width: 100%;
	max-width: var(--container);
	margin-inline: auto;
	padding-inline: var(--sp-4);
}

@media (min-width: 600px) {
	.container { padding-inline: var(--sp-5); }
}

.section { padding-block: var(--sp-8); }
.section--tight { padding-block: var(--sp-7); }
.section--surface { background: var(--surface); }
.section--dark { background: var(--ink); color: var(--white); }

.section--dark h1,
.section--dark h2,
.section--dark h3 { color: var(--white); }

.section--dark a { color: var(--gold); }
.section--dark a:hover { color: var(--white); }

@media (min-width: 900px) {
	.section { padding-block: var(--sp-9); }
	.section--tight { padding-block: var(--sp-8); }
}

.prose { max-width: var(--prose); }
.prose > :first-child { margin-top: 0; }
.prose > :last-child { margin-bottom: 0; }

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 100;
	padding: var(--sp-3) var(--sp-4);
	background: var(--ink);
	color: var(--white);
	text-decoration: none;
}
.skip-link:focus {
	left: var(--sp-4);
	top: var(--sp-4);
	color: var(--white);
}

.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;
}

/* ==========================================================================
   4. BUTTONS
   ========================================================================== */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--sp-2);
	padding: var(--sp-3) var(--sp-5);
	min-height: 48px;
	font-size: 1.0625rem;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	border: 1px solid transparent;
	border-radius: var(--radius);
	cursor: pointer;
	transition: background-color .15s ease, border-color .15s ease;
}

/* Gold fill needs a border — the fill alone doesn't separate from white */
.btn--primary {
	background: var(--gold);
	border-color: var(--gold-deep);
	color: var(--ink);
}
.btn--primary:hover {
	background: #d09a2c;
	color: var(--ink);
}

.btn--secondary {
	background: var(--ink);
	border-color: var(--ink);
	color: var(--white);
}
.btn--secondary:hover {
	background: var(--steel);
	color: var(--white);
}

.btn--ghost {
	background: transparent;
	border-color: currentColor;
	color: inherit;
}
.btn--ghost:hover {
	background: rgba(255,255,255,.08);
	color: inherit;
}

.btn--lg { padding: var(--sp-4) var(--sp-6); font-size: 1.125rem; min-height: 56px; }
.btn--block { display: flex; width: 100%; }

.btn svg { width: 20px; height: 20px; flex-shrink: 0; }

.btn-group {
	display: flex;
	flex-wrap: wrap;
	gap: var(--sp-3);
}

/* ==========================================================================
   5. HEADER
   ========================================================================== */

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--white);
	border-bottom: 1px solid var(--line);
	contain: layout;
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--sp-4);
	min-height: 68px;
}

.site-logo {
	display: flex;
	align-items: center;
	flex-shrink: 0;
	text-decoration: none;
}

/* Logo: SVG mark + HTML wordmark. See crown_logo() in inc/svg.php for why
   the wordmark is text rather than paths. */
.logo {
	display: inline-flex;
	align-items: center;
	gap: var(--sp-3);
}
.logo__mark {
	width: 32px;
	height: 32px;
	flex-shrink: 0;
}
.logo__text {
	display: flex;
	flex-direction: column;
	line-height: 1.05;
}
.logo__primary {
	font-size: 1.0625rem;
	font-weight: 800;
	letter-spacing: .07em;
	text-transform: uppercase;
	color: var(--ink);
}
.logo__secondary {
	font-size: .625rem;
	font-weight: 600;
	letter-spacing: .17em;
	text-transform: uppercase;
	color: var(--slate);
	margin-top: 2px;
}
.logo--inverse .logo__primary   { color: var(--white); }
.logo--inverse .logo__secondary { color: #B4C0CA; }

@media (min-width: 900px) {
	.logo__mark { width: 38px; height: 38px; }
	.logo__primary { font-size: 1.1875rem; }
	.logo__secondary { font-size: .6875rem; }
}

.nav-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px; height: 44px;
	padding: 0;
	background: transparent;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	color: var(--ink);
	cursor: pointer;
}
.nav-toggle svg { 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: block; }

.header-phone { display: none; }

.main-nav {
	display: none;
	position: absolute;
	left: 0; right: 0;
	top: 100%;
	background: var(--white);
	border-bottom: 1px solid var(--line);
	box-shadow: var(--shadow);
	max-height: calc(100vh - 68px);
	overflow-y: auto;
}
.main-nav.is-open { display: block; }

.main-nav ul {
	list-style: none;
	margin: 0;
	padding: var(--sp-3) var(--sp-4) var(--sp-5);
}
.main-nav li { margin: 0; }

.main-nav a {
	display: block;
	padding: var(--sp-3) 0;
	color: var(--ink);
	font-weight: 600;
	text-decoration: none;
	border-bottom: 1px solid var(--line);
}
.main-nav a:hover { color: var(--gold-deep); }

.main-nav .sub-menu {
	padding: 0 0 var(--sp-2) var(--sp-4);
}
.main-nav .sub-menu a {
	font-weight: 400;
	font-size: var(--fs-small);
	border-bottom: 0;
	padding: var(--sp-2) 0;
	color: var(--slate);
}

/* Disclosure button for mobile sub-menus. Injected by site.js, so it never
   exists without the script that operates it. Kept separate from the parent
   link because "Services" and "Areas" are real pages — hijacking the tap
   would take the archives away from touch users. */
.sub-toggle {
	position: absolute;
	top: 0;
	right: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	padding: 0;
	background: none;
	border: 0;
	color: var(--slate);
	cursor: pointer;
}
.sub-toggle svg {
	width: 20px;
	height: 20px;
	transition: transform .15s ease;
}
.sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }

/* Collapse sub-menus below the desktop breakpoint only. Scoped to a
   max-width query so the hover dropdowns above 900px are untouched, and
   gated on .has-js so the menu stays fully expanded — and every link
   reachable — when the script does not run. */
@media (max-width: 899.98px) {
	.main-nav .menu-item-has-children { position: relative; }
	.main-nav.has-js .menu-item-has-children > a { padding-right: 48px; }
	.main-nav.has-js .menu-item-has-children > .sub-menu { display: none; }
	.main-nav.has-js .menu-item-has-children.is-expanded > .sub-menu { display: block; }
}

@media (min-width: 900px) {
	.nav-toggle { display: none; }
	.sub-toggle { display: none; }

	.header-phone {
		display: inline-flex;
		align-items: center;
		gap: var(--sp-2);
		padding: var(--sp-2) var(--sp-4);
		background: var(--gold);
		border: 1px solid var(--gold-deep);
		border-radius: var(--radius);
		color: var(--ink);
		font-weight: 700;
		font-size: 1.0625rem;
		text-decoration: none;
		white-space: nowrap;
	}
	.header-phone:hover { background: #d09a2c; color: var(--ink); }
	.header-phone svg { width: 18px; height: 18px; }

	.main-nav {
		display: block;
		position: static;
		background: none;
		border: 0;
		box-shadow: none;
		max-height: none;
		overflow: visible;
		margin-left: auto;
		margin-right: var(--sp-4);
	}
	.main-nav ul {
		display: flex;
		align-items: center;
		gap: var(--sp-5);
		padding: 0;
	}
	.main-nav a {
		padding: var(--sp-2) 0;
		border-bottom: 0;
		font-size: var(--fs-small);
	}
	.main-nav li { position: relative; }

	.main-nav .sub-menu {
		display: none;
		position: absolute;
		top: 100%;
		left: -var(--sp-4);
		min-width: 240px;
		padding: var(--sp-3);
		background: var(--white);
		border: 1px solid var(--line);
		border-radius: var(--radius);
		box-shadow: var(--shadow);
		flex-direction: column;
		gap: 0;
	}
	.main-nav li:hover > .sub-menu,
	.main-nav li:focus-within > .sub-menu { display: flex; }
	.main-nav .sub-menu a { padding: var(--sp-2) var(--sp-3); }
	.main-nav .sub-menu a:hover { background: var(--surface); }
}

/* ==========================================================================
   6. HERO
   ========================================================================== */

.hero {
	background: var(--ink);
	color: var(--white);
	padding-block: var(--sp-7) var(--sp-8);
	overflow: hidden;
}

.hero__inner {
	display: grid;
	gap: var(--sp-6);
	align-items: center;
}

.hero h1 { color: var(--white); margin-bottom: var(--sp-4); }

.hero__lead {
	font-size: var(--fs-lead);
	color: #C7D2DB;
	max-width: 50ch;
	margin-bottom: var(--sp-5);
}

.hero__art { display: none; }

.hero__points {
	list-style: none;
	padding: 0;
	margin: var(--sp-5) 0 0;
	display: flex;
	flex-wrap: wrap;
	gap: var(--sp-2) var(--sp-5);
	font-size: var(--fs-small);
	color: #C7D2DB;
}
.hero__points li {
	display: flex;
	align-items: center;
	gap: var(--sp-2);
	margin: 0;
}
.hero__points svg { width: 16px; height: 16px; color: var(--gold); flex-shrink: 0; }

@media (min-width: 900px) {
	.hero { padding-block: var(--sp-8) var(--sp-9); }
	.hero__inner { grid-template-columns: 1.15fr 1fr; gap: var(--sp-7); }
	.hero__art { display: block; }
	.hero__art svg { width: 100%; height: auto; }
}

/* ==========================================================================
   7. TRUST BAR
   ========================================================================== */

.trust-bar {
	background: var(--steel);
	color: #C7D2DB;
	padding-block: var(--sp-4);
	font-size: var(--fs-small);
}
.trust-bar__list {
	list-style: none;
	margin: 0; padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--sp-3) var(--sp-6);
	text-align: center;
}
.trust-bar__list li {
	display: flex;
	align-items: center;
	gap: var(--sp-2);
	margin: 0;
}
.trust-bar svg { width: 18px; height: 18px; color: var(--gold); flex-shrink: 0; }

/* ==========================================================================
   8. CARDS & GRIDS
   ========================================================================== */

.grid {
	display: grid;
	gap: var(--sp-4);
	grid-template-columns: 1fr;
}
@media (min-width: 600px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) {
	.grid--3 { grid-template-columns: repeat(3, 1fr); }
	.grid--4 { grid-template-columns: repeat(4, 1fr); }
}

.card {
	display: flex;
	flex-direction: column;
	gap: var(--sp-2);
	padding: var(--sp-5);
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	text-decoration: none;
	color: inherit;
	transition: border-color .15s ease, box-shadow .15s ease;
}
a.card:hover {
	border-color: var(--gold);
	box-shadow: var(--shadow);
	color: inherit;
}

.card__icon {
	width: 32px; height: 32px;
	color: var(--gold-deep);
	margin-bottom: var(--sp-1);
}
.card__title {
	font-size: 1.0625rem;
	font-weight: 700;
	margin: 0;
	color: var(--ink);
}
.card__text {
	font-size: var(--fs-small);
	color: var(--slate);
	margin: 0;
}
.card__meta {
	margin-top: auto;
	padding-top: var(--sp-3);
	font-size: var(--fs-small);
	font-weight: 600;
	color: var(--gold-deep);
}

/* Compact link list — used for area grids */
.link-grid {
	list-style: none;
	margin: 0; padding: 0;
	display: grid;
	gap: var(--sp-2);
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}
.link-grid li { margin: 0; }
.link-grid a {
	display: block;
	padding: var(--sp-3) var(--sp-4);
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	color: var(--ink);
	font-size: var(--fs-small);
	font-weight: 600;
	text-decoration: none;
}
.link-grid a:hover { border-color: var(--gold); color: var(--gold-deep); }

/* Numbered steps */
.steps {
	list-style: none;
	counter-reset: step;
	padding: 0; margin: 0;
	display: grid;
	gap: var(--sp-5);
}
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); } }

.steps li {
	counter-increment: step;
	margin: 0;
	/* Must clear the 40px badge below, or the heading collides with it. */
	padding-top: calc(40px + var(--sp-3));
	position: relative;
}
.steps li::before {
	content: counter(step);
	position: absolute;
	top: 0; left: 0;
	width: 40px; height: 40px;
	display: grid;
	place-items: center;
	background: var(--gold);
	border-radius: 50%;
	font-weight: 700;
	color: var(--ink);
}
.steps h3 { margin-top: 0; }

/* ==========================================================================
   9. TABLES
   ========================================================================== */

.table-wrap {
	overflow-x: auto;
	margin-bottom: var(--sp-5);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
}

table {
	width: 100%;
	border-collapse: collapse;
	font-size: var(--fs-small);
	margin: 0;
}

th, td {
	padding: var(--sp-3) var(--sp-4);
	text-align: left;
	border-bottom: 1px solid var(--line);
}
th {
	background: var(--surface);
	font-weight: 700;
	white-space: nowrap;
}
tr:last-child td { border-bottom: 0; }

/* Digit alignment aids scanning in price tables */
.price-table td:last-child,
.price-table th:last-child {
	font-family: var(--font-mono);
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.table-note {
	font-size: var(--fs-small);
	color: var(--muted);
	margin-top: calc(var(--sp-5) * -1 + var(--sp-2));
	margin-bottom: var(--sp-5);
}

/* ==========================================================================
   10. FAQ — native details/summary, zero JS
   ========================================================================== */

.faq { display: grid; gap: var(--sp-2); }

.faq details {
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--white);
}

.faq summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--sp-4);
	padding: var(--sp-4) var(--sp-5);
	font-weight: 700;
	cursor: pointer;
	list-style: none;
	min-height: 44px;
}
.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
	content: "";
	flex-shrink: 0;
	width: 10px; height: 10px;
	border-right: 2px solid var(--gold-deep);
	border-bottom: 2px solid var(--gold-deep);
	transform: rotate(45deg);
	transition: transform .15s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); }

.faq__answer {
	padding: 0 var(--sp-5) var(--sp-4);
	color: var(--slate);
}
.faq__answer > :last-child { margin-bottom: 0; }

/* ==========================================================================
   11. BREADCRUMBS
   ========================================================================== */

.breadcrumbs {
	padding-block: var(--sp-3);
	font-size: var(--fs-small);
	color: var(--muted);
	border-bottom: 1px solid var(--line);
}
.breadcrumbs ol {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--sp-2);
	margin: 0; padding: 0;
}
.breadcrumbs li { margin: 0; display: flex; align-items: center; gap: var(--sp-2); }
.breadcrumbs li + li::before {
	content: "›";
	color: var(--line);
}
.breadcrumbs a { color: var(--slate); text-decoration: none; }
.breadcrumbs a:hover { color: var(--gold-deep); text-decoration: underline; }
.breadcrumbs [aria-current="page"] { color: var(--ink); font-weight: 600; }

/* ==========================================================================
   12. PAGE HEADER (non-homepage)
   ========================================================================== */

.page-header {
	background: var(--ink);
	color: var(--white);
	padding-block: var(--sp-7);
}
.page-header h1 { color: var(--white); margin-bottom: var(--sp-3); }
.page-header__lead {
	font-size: var(--fs-lead);
	color: #C7D2DB;
	max-width: 60ch;
	margin-bottom: var(--sp-5);
}
.page-header__meta {
	display: flex;
	flex-wrap: wrap;
	gap: var(--sp-3) var(--sp-5);
	font-size: var(--fs-small);
	color: #C7D2DB;
	margin-bottom: var(--sp-5);
}
.page-header__meta strong { color: var(--white); }

/* ==========================================================================
   13. NOTICES
   ========================================================================== */

.notice {
	padding: var(--sp-4) var(--sp-5);
	border-radius: var(--radius);
	border-left: 4px solid var(--warn);
	background: #FDF6E9;
	font-size: var(--fs-small);
	margin-bottom: var(--sp-5);
}
.notice > :last-child { margin-bottom: 0; }
.notice__title { font-weight: 700; margin-bottom: var(--sp-1); }
.notice--danger { border-left-color: var(--danger); background: #FBEDEC; }
.notice--ok { border-left-color: var(--ok); background: #ECF6F1; }

/* ==========================================================================
   14. CTA
   ========================================================================== */

.cta {
	background: var(--ink);
	color: var(--white);
	border-radius: var(--radius-lg);
	padding: var(--sp-6);
	text-align: center;
}
.cta h2 { color: var(--white); margin-top: 0; }
.cta p { color: #C7D2DB; max-width: 55ch; margin-inline: auto; }
.cta .btn-group { justify-content: center; margin-top: var(--sp-5); }

@media (min-width: 900px) { .cta { padding: var(--sp-7); } }

/* Inline enquiry form inside the dark CTA panel.
   The form controls invert here — the shared .form rules assume a light
   background, so only the colours are overridden, never the layout. */
.cta__form {
	margin-top: var(--sp-6);
	padding-top: var(--sp-6);
	border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.cta__form-lead {
	margin: 0 0 var(--sp-4);
	font-weight: 600;
	color: var(--white);
}
.cta .form { margin-inline: auto; text-align: left; }
.cta .form label { color: #C7D2DB; }
.cta .form input,
.cta .form textarea {
	background: rgba(255, 255, 255, 0.07);
	border-color: rgba(255, 255, 255, 0.25);
	color: var(--white);
}
.cta .form input::placeholder,
.cta .form textarea::placeholder { color: #8FA3B0; }
.cta .form input:focus,
.cta .form textarea:focus {
	background: rgba(255, 255, 255, 0.12);
	border-color: var(--white);
}
.cta .form .form__error { color: #FFB4AE; }
.cta .form button { justify-self: start; }
.cta .form-message { color: var(--ink); text-align: left; max-width: 560px; margin-inline: auto; }

/* Two columns on desktop: name and phone side by side, message full width.
   Targeted by an explicit modifier class rather than :nth-of-type, because
   the honeypot is also a div and would shift the count. */
@media (min-width: 700px) {
	.cta .form--compact {
		grid-template-columns: 1fr 1fr;
		align-items: start;
	}
	.cta .form--compact .form__row--wide,
	.cta .form--compact .form__hp,
	.cta .form--compact button { grid-column: 1 / -1; }
}

/* Area location block — directory-layout element on area pages.
   No embedded map by design; see template-parts/area-location.php. */
.area-location {
	display: grid;
	gap: var(--sp-6);
	padding: var(--sp-6);
	background: var(--surface);
	border-radius: var(--radius-lg);
}
.area-location h2 { margin-top: 0; }
.area-location .btn-group { margin-top: var(--sp-5); }
.area-location .nap { font-style: normal; }

.fact-list { margin: 0; display: grid; gap: var(--sp-4); }
.fact-list__item { display: grid; gap: var(--sp-1); }
.fact-list dt {
	font-weight: 600;
	font-size: var(--fs-small);
	color: var(--muted);
	text-transform: uppercase;
	letter-spacing: 0.04em;
}
.fact-list dd { margin: 0; }

@media (min-width: 800px) {
	.area-location { grid-template-columns: 1.2fr 1fr; gap: var(--sp-7); }
	.area-location { padding: var(--sp-7); }
}

/* ==========================================================================
   15. NAP BLOCK
   ========================================================================== */

.nap { font-style: normal; line-height: 1.7; }
.nap__name { font-weight: 700; color: inherit; }
.nap__phone {
	display: inline-flex;
	align-items: center;
	gap: var(--sp-2);
	font-weight: 700;
	margin-top: var(--sp-2);
}
.nap__hours { margin-top: var(--sp-3); font-size: var(--fs-small); }
.nap__hours dl { display: grid; grid-template-columns: auto 1fr; gap: var(--sp-1) var(--sp-4); margin: 0; }
.nap__hours dt { color: inherit; }
.nap__hours dd { margin: 0; }

/* ==========================================================================
   16. FORMS
   ========================================================================== */

.form { display: grid; gap: var(--sp-4); max-width: 560px; }

.form__row { display: grid; gap: var(--sp-2); }

.form label {
	font-weight: 600;
	font-size: var(--fs-small);
}
.form .optional { color: var(--muted); font-weight: 400; }

.form input,
.form select,
.form textarea {
	width: 100%;
	padding: var(--sp-3) var(--sp-4);
	min-height: 48px;
	font-family: inherit;
	font-size: var(--fs-body);
	color: var(--ink);
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
}
.form textarea { min-height: 120px; resize: vertical; }

.form input:focus,
.form select:focus,
.form textarea:focus {
	border-color: var(--gold-deep);
	outline: 2px solid var(--gold-deep);
	outline-offset: 0;
}

.form input[aria-invalid="true"],
.form textarea[aria-invalid="true"] { border-color: var(--danger); }

.form__error {
	font-size: var(--fs-small);
	color: var(--danger);
	font-weight: 600;
}

/* Honeypot — hidden from humans, visible to naive bots */
.form__hp {
	position: absolute !important;
	left: -9999px;
	width: 1px; height: 1px;
	overflow: hidden;
}

.form-message {
	padding: var(--sp-4) var(--sp-5);
	border-radius: var(--radius);
	margin-bottom: var(--sp-5);
	font-weight: 600;
}
.form-message--ok { background: #ECF6F1; border-left: 4px solid var(--ok); }
.form-message--error { background: #FBEDEC; border-left: 4px solid var(--danger); }

/* ==========================================================================
   17. FOOTER
   ========================================================================== */

.site-footer {
	background: var(--steel);
	color: #C7D2DB;
	padding-block: var(--sp-8) var(--sp-6);
	font-size: var(--fs-small);
}

.site-footer h2 {
	font-size: 0.9375rem;
	text-transform: uppercase;
	letter-spacing: .06em;
	color: var(--white);
	margin: 0 0 var(--sp-4);
}

.site-footer a { color: #C7D2DB; text-decoration: none; }
.site-footer a:hover { color: var(--gold); text-decoration: underline; }

.footer-grid {
	display: grid;
	gap: var(--sp-6);
	grid-template-columns: 1fr;
}
@media (min-width: 600px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }

.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: var(--sp-2); }

.footer-logo { display: inline-block; margin-bottom: var(--sp-4); text-decoration: none; }

.site-footer__bottom {
	margin-top: var(--sp-7);
	padding-top: var(--sp-5);
	border-top: 1px solid rgba(255,255,255,.12);
	display: flex;
	flex-wrap: wrap;
	gap: var(--sp-3) var(--sp-5);
	justify-content: space-between;
	color: var(--muted);
}

/* ==========================================================================
   18. STICKY CALL BAR (mobile)
   ========================================================================== */

.sticky-call {
	position: fixed;
	left: 0; right: 0; bottom: 0;
	z-index: 60;
	display: flex;
	padding: var(--sp-3);
	background: var(--white);
	border-top: 1px solid var(--line);
	box-shadow: 0 -2px 10px rgba(15,27,38,.10);
	transform: translateY(100%);
	transition: transform .2s ease;
}
.sticky-call.is-visible { transform: translateY(0); }

body.has-sticky-call { padding-bottom: 76px; }

@media (min-width: 900px) {
	.sticky-call { display: none; }
	body.has-sticky-call { padding-bottom: 0; }
}

/* ==========================================================================
   19. GUIDES / ARCHIVE LISTS
   ========================================================================== */

.post-list { display: grid; gap: var(--sp-4); }

.post-card {
	padding: var(--sp-5);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	background: var(--white);
}
.post-card h3 { margin: 0 0 var(--sp-2); font-size: 1.125rem; }
.post-card h3 a { color: var(--ink); text-decoration: none; }
.post-card h3 a:hover { color: var(--gold-deep); }
.post-card p { margin: 0; color: var(--slate); font-size: var(--fs-small); }

.related-links {
	padding: var(--sp-5);
	background: var(--surface);
	border-radius: var(--radius-lg);
	margin-top: var(--sp-7);
}
.related-links h2 { margin-top: 0; font-size: var(--fs-h3); }
.related-links ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-2); }
.related-links li { margin: 0; }

.pagination {
	display: flex;
	flex-wrap: wrap;
	gap: var(--sp-2);
	margin-top: var(--sp-7);
}
.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px; min-height: 44px;
	padding: 0 var(--sp-3);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	text-decoration: none;
	color: var(--ink);
}
.pagination .page-numbers.current {
	background: var(--ink);
	border-color: var(--ink);
	color: var(--white);
}

/* ==========================================================================
   20. UTILITIES
   ========================================================================== */

.u-center      { text-align: center; }
.u-mt-0        { margin-top: 0; }
.u-mb-0        { margin-bottom: 0; }
.u-mb-5        { margin-bottom: var(--sp-5); }
.u-mb-6        { margin-bottom: var(--sp-6); }
.u-muted       { color: var(--muted); }
.u-small       { font-size: var(--fs-small); }
.u-lead        { font-size: var(--fs-lead); color: var(--slate); }
.section--dark .u-lead { color: #C7D2DB; }

.section-head { max-width: 60ch; margin-bottom: var(--sp-6); }
.section-head h2 { margin-top: 0; }
.section-head p  { color: var(--slate); margin-bottom: 0; }
.section--dark .section-head p { color: #C7D2DB; }

.section-foot { margin-top: var(--sp-6); }
