/* ==========================================================================
   MGMT Car Hire — Main Stylesheet
   Sectioned. Section per component, responsive rules inline with each section.
   Tokens in :root — never use raw hex/px in component rules.
   ========================================================================== */

/* ---------- CUSTOM PROPERTIES ---------- */
:root {
	/* Colour */
	--navy:              #164475;
	--navy-dark:         #0f3258;
	--navy-08:           rgba(22, 68, 117, 0.08);
	--bg-grey:           #dfdfdf;
	--mid-grey:          #777777;
	--text-primary:      #1a1a1a;
	--text-secondary:    #595959;
	--white:             #ffffff;
	--page-bg:           #fafafa;
	--status-available:  #2f7a4f;
	--status-booked:     #8b1f24;
	--status-buffer:     #8a6a1e;
	--member-gold:       #a88242;

	/* Spacing — 8pt scale */
	--space-1: 8px;
	--space-2: 16px;
	--space-3: 24px;
	--space-4: 32px;
	--space-5: 48px;
	--space-6: 64px;
	--space-7: 96px;
	--space-8: 128px;

	/* Typography */
	--font-body: 'Raleway', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

	/* Layout */
	--content-width: 1200px;
	--nav-height: 80px;
}

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

html { scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: var(--font-body);
	font-weight: 400;
	font-size: 17px;
	line-height: 1.65;
	color: var(--text-primary);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

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

a { color: var(--navy); }

/* WordPress admin bar offset — only when logged in and admin bar visible */
body.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) {
	body.admin-bar .site-header { top: 46px; }
}

/* ---------- ACCESSIBILITY ---------- */
/* Lesson #9 — WordPress relies on .screen-reader-text for form labels, skip links, etc. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

.skip-link {
	position: absolute;
	top: -100px;
	left: 0;
	background: var(--navy);
	color: var(--white);
	padding: 12px 24px;
	z-index: 1000;
	text-decoration: none;
	font-weight: 500;
}
.skip-link:focus {
	top: 0;
	clip: auto;
	clip-path: none;
	height: auto;
	width: auto;
}

/* ---------- TYPOGRAPHY ---------- */
/* Per lessons #2/#13 — inherit by default so dark sections cascade naturally.
   Sections that need a specific heading colour set it on the heading or its wrapper. */
h1, h2, h3, h4, h5, h6 {
	color: inherit;
	margin: 0;
	font-weight: 400;
}

p { margin: 0; line-height: 1.65; }

.lead {
	font-size: 20px;
	line-height: 1.55;
	color: var(--text-secondary);
	max-width: 58ch;
	font-weight: 400;
}

.eyebrow {
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	color: var(--navy);
	margin: 0;
}
.eyebrow--muted { color: var(--mid-grey); }

/* ---------- BUTTONS ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font-family: inherit;
	font-size: 15px;
	font-weight: 500;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	padding: 16px 32px;
	border-radius: 4px;
	cursor: pointer;
	text-decoration: none;
	border: 1px solid transparent;
	transition: background 150ms ease-out, color 150ms ease-out, border-color 150ms ease-out;
	line-height: 1;
}
.btn:focus-visible {
	outline: 3px solid var(--navy);
	outline-offset: 2px;
}
.btn--primary { background: var(--navy); color: var(--white); }
.btn--primary:hover { background: var(--navy-dark); color: var(--white); }
.btn--secondary { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--secondary:hover { background: var(--navy-08); color: var(--navy); }
.btn--on-navy { background: var(--white); color: var(--navy); }
.btn--on-navy:hover { background: var(--bg-grey); color: var(--navy); }
.btn--full { width: 100%; }
.btn--lg { padding: 20px 40px; font-size: 16px; }
.btn--sm { padding: 11px 20px; font-size: 13px; }
.btn:disabled, .btn[disabled] { opacity: 0.4; cursor: not-allowed; }

/* ---------- FORMS ---------- */
/* Base field styling. Booking-specific form styles land in Phase 6.
   Gravity Forms styling lives in its own section near the bottom. */
.field { display: flex; flex-direction: column; margin-bottom: var(--space-3); }
.field__label {
	font-size: 14px;
	font-weight: 500;
	color: var(--text-primary);
	margin-bottom: 6px;
	letter-spacing: 0.02em;
}
.field__label .required { color: var(--navy); }
.field__input {
	font-family: inherit;
	font-size: 16px;
	line-height: 1.5;
	padding: 11px 16px;
	border: 1px solid var(--bg-grey);
	border-radius: 2px;
	background: var(--white);
	color: var(--text-primary);
	height: 48px;
	width: 100%;
	transition: border-color 150ms ease-out;
}
.field__input:focus {
	outline: none;
	border: 2px solid var(--navy);
	padding: 10px 15px;
}
.field__input--textarea {
	height: auto;
	min-height: 120px;
	resize: vertical;
	line-height: 1.5;
}
.field__helper { font-size: 13px; color: var(--text-secondary); margin-top: 6px; }
.field--error .field__input { border-color: var(--status-booked); border-width: 2px; padding: 10px 15px; }
.field--error .field__helper { color: var(--status-booked); }

.check-field { display: flex; gap: 12px; margin-bottom: var(--space-2); align-items: flex-start; }
.check-field input[type="checkbox"],
.check-field input[type="radio"] {
	margin-top: 3px;
	width: 18px;
	height: 18px;
	accent-color: var(--navy);
	flex-shrink: 0;
}
.check-field label { font-size: 15px; line-height: 1.5; }

/* ---------- UTILITY CLASSES ---------- */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0 !important; }

/* Block spacing utilities — driven by ACF "Settings" tab on each block.
   Applied as `.pt-{size}` / `.pb-{size}` / `.mt-{size}` / `.mb-{size}` on the block wrapper.
   !important is intentional: these are the overriding contract from the editor, and
   need to beat any component default padding/margin. */
.pt-none { padding-top: 0 !important; }
.pt-sm   { padding-top: var(--space-3) !important; }
.pt-md   { padding-top: var(--space-5) !important; }
.pt-lg   { padding-top: var(--space-7) !important; }
.pt-xl   { padding-top: var(--space-8) !important; }

.pb-none { padding-bottom: 0 !important; }
.pb-sm   { padding-bottom: var(--space-3) !important; }
.pb-md   { padding-bottom: var(--space-5) !important; }
.pb-lg   { padding-bottom: var(--space-7) !important; }
.pb-xl   { padding-bottom: var(--space-8) !important; }

.mt-sm { margin-top: var(--space-3) !important; }
.mt-md { margin-top: var(--space-5) !important; }
.mt-lg { margin-top: var(--space-7) !important; }
.mt-xl { margin-top: var(--space-8) !important; }

.mb-sm { margin-bottom: var(--space-3) !important; }
.mb-md { margin-bottom: var(--space-5) !important; }
.mb-lg { margin-bottom: var(--space-7) !important; }
.mb-xl { margin-bottom: var(--space-8) !important; }

/* Colour scheme utilities — applied to block wrappers to flip bg + text context.
   Headings inherit from container (see typography base), so overrides are minimal. */
.scheme-light {
	background: var(--page-bg);
	color: var(--text-primary);
}
.scheme-dark {
	background: var(--navy);
	color: var(--white);
}
.scheme-dark h1,
.scheme-dark h2,
.scheme-dark h3,
.scheme-dark h4 { color: var(--white); }
.scheme-dark p { color: rgba(255, 255, 255, 0.85); }
.scheme-dark a { color: var(--white); }
.scheme-dark .eyebrow { color: rgba(255, 255, 255, 0.7); }

/* ---------- REVEAL ANIMATIONS ---------- */
/* Progressive enhancement — the `.js` class is set on <html> inline in <head>
   before wp_head() runs. Without JS, content renders immediately. */
.js .reveal {
	opacity: 0;
	transform: translateY(18px);
	transition:
		opacity 900ms cubic-bezier(0.16, 1, 0.3, 1),
		transform 900ms cubic-bezier(0.16, 1, 0.3, 1);
	will-change: opacity, transform;
}
.js .reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal--d1 { transition-delay: 120ms; }
.reveal--d2 { transition-delay: 260ms; }
.reveal--d3 { transition-delay: 400ms; }
.reveal--d4 { transition-delay: 540ms; }

/* ---------- LAYOUT UTILITIES ---------- */
.container {
	max-width: var(--content-width);
	margin: 0 auto;
	padding: 0 var(--space-3);
}

.site-main { min-height: calc(100vh - 200px); }

/* ---------- SITE HEADER / NAV ---------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--white);
	border-bottom: 1px solid var(--bg-grey);
}
.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: var(--space-2) var(--space-3);
	min-height: var(--nav-height);
	max-width: var(--content-width);
	margin: 0 auto;
}
/* Apply flex layout to both our fallback wrapper AND WP's generated .custom-logo-link.
   See lesson #16 — never style only your prototype class; WP swaps in its own. */
.site-header__logo,
.site-header .custom-logo-link {
	display: flex;
	align-items: center;
	gap: var(--space-2);
	text-decoration: none;
	flex-shrink: 0;
}
/* Size constraints — max-height AND max-width so any uploaded logo (tall, wide, or
   square) stays within the header without pushing the nav off-screen. */
.site-header__logo img,
.site-header .custom-logo-link img,
.site-header .custom-logo-link .custom-logo {
	height: auto;
	max-height: 56px;
	width: auto;
	max-width: 220px;
	display: block;
	margin: 0;
	object-fit: contain;
}
.site-header__logo-fallback {
	font-size: 18px;
	font-weight: 500;
	letter-spacing: 0.14em;
	color: var(--navy);
	text-transform: uppercase;
}
.site-header__logo-text {
	display: flex;
	flex-direction: column;
	line-height: 1;
	border-left: 1px solid var(--bg-grey);
	padding-left: var(--space-2);
}
.site-header__logo-text strong {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.2em;
	color: var(--mid-grey);
	text-transform: uppercase;
	margin-bottom: 4px;
}
.site-header__logo-text span {
	font-size: 18px;
	font-weight: 500;
	letter-spacing: 0.14em;
	color: var(--navy);
	text-transform: uppercase;
}

.site-header__nav {
	display: flex;
	gap: var(--space-4);
	align-items: center;
}
.site-header__nav .nav-links {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: var(--space-3);
	align-items: center;
}
/* Lesson #3 — reset <li> explicitly; WP styles can re-add. */
.site-header__nav .nav-item {
	list-style: none;
	margin: 0;
	padding: 0;
}
.site-header__nav .nav-link {
	color: var(--text-primary);
	text-decoration: none;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0.04em;
	padding: 8px 2px;
	transition: color 200ms ease-out;
}
.site-header__nav .nav-link:hover { color: var(--navy); }
.site-header__nav .nav-item--active .nav-link { color: var(--navy); font-weight: 600; }

.site-header__cta { flex-shrink: 0; }

@media (max-width: 900px) {
	.site-header__nav { display: none; }
	.site-header__logo img,
	.site-header .custom-logo-link img,
	.site-header .custom-logo-link .custom-logo {
		max-height: 44px;
		max-width: 160px;
	}
	.site-header__logo-text strong { font-size: 10px; }
	.site-header__logo-text span { font-size: 15px; }
}

/* ---------- HAMBURGER ---------- */
.nav-hamburger {
	display: none;
	background: none;
	border: 0;
	width: 44px;
	height: 44px;
	padding: 10px;
	margin: 0;
	cursor: pointer;
	position: relative;
	z-index: 60;
	flex-shrink: 0;
}
.nav-hamburger:focus-visible {
	outline: 3px solid var(--navy);
	outline-offset: 2px;
}
@media (max-width: 900px) {
	.nav-hamburger { display: block; }
}

.nav-hamburger__lines {
	display: block;
	position: relative;
	width: 24px;
	height: 16px;
	margin: 0 auto;
}
.nav-hamburger__lines span {
	display: block;
	position: absolute;
	left: 0;
	width: 100%;
	height: 2px;
	background: var(--navy);
	transition:
		top 250ms ease-out,
		transform 250ms ease-out,
		opacity 150ms ease-out,
		background 150ms ease-out;
}
.nav-hamburger__lines span:nth-child(1) { top: 0; }
.nav-hamburger__lines span:nth-child(2) { top: 7px; }
.nav-hamburger__lines span:nth-child(3) { top: 14px; }

/* Open state — morph to X, colour to white so it reads on navy menu */
.nav-hamburger[aria-expanded="true"] .nav-hamburger__lines span { background: var(--white); }
.nav-hamburger[aria-expanded="true"] .nav-hamburger__lines span:nth-child(1) { top: 7px; transform: rotate(45deg); }
.nav-hamburger[aria-expanded="true"] .nav-hamburger__lines span:nth-child(2) { opacity: 0; }
.nav-hamburger[aria-expanded="true"] .nav-hamburger__lines span:nth-child(3) { top: 7px; transform: rotate(-45deg); }

/* ---------- MOBILE MENU ---------- */
.mobile-menu {
	position: fixed;
	inset: 0;
	z-index: 55;
	background: var(--navy);
	color: var(--white);
	transform: translateY(-100%);
	opacity: 0;
	pointer-events: none;
	transition:
		transform 300ms ease-out,
		opacity 200ms ease-out;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
}
.mobile-menu.is-open {
	transform: translateY(0);
	opacity: 1;
	pointer-events: auto;
}
.mobile-menu__inner {
	min-height: 100vh;
	min-height: 100dvh;
	display: flex;
	flex-direction: column;
	padding: var(--space-2) var(--space-3) var(--space-5);
	gap: var(--space-4);
}
.mobile-menu__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: var(--nav-height);
	margin-bottom: var(--space-2);
}
.mobile-menu__brand {
	display: flex;
	flex-direction: column;
	line-height: 1;
	gap: 4px;
}
.mobile-menu__brand strong {
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.24em;
	color: rgba(255, 255, 255, 0.6);
	text-transform: uppercase;
}
.mobile-menu__brand span {
	font-size: 16px;
	font-weight: 500;
	letter-spacing: 0.18em;
	color: var(--white);
	text-transform: uppercase;
}
.mobile-menu__close {
	background: none;
	border: 0;
	color: var(--white);
	font-size: 32px;
	line-height: 1;
	width: 44px;
	height: 44px;
	cursor: pointer;
	padding: 0;
	margin: 0;
}
.mobile-menu__close:focus-visible {
	outline: 2px solid var(--white);
	outline-offset: 2px;
}

.mobile-menu__nav ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: var(--space-1);
}
.mobile-menu__nav li { list-style: none; margin: 0; padding: 0; }
.mobile-menu__nav .nav-link,
.mobile-menu__nav a {
	display: inline-block;
	color: var(--white);
	text-decoration: none;
	font-size: 28px;
	font-weight: 300;
	line-height: 1.2;
	letter-spacing: -0.005em;
	padding: 10px 0;
}
.mobile-menu__nav a:hover { opacity: 0.7; }
.mobile-menu__nav .nav-item--active .nav-link { font-weight: 500; }

.mobile-menu__cta {
	align-self: flex-start;
	margin-top: var(--space-2);
}

.mobile-menu__contact {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin-top: auto;
	padding-top: var(--space-4);
	border-top: 1px solid rgba(255, 255, 255, 0.15);
	font-size: 15px;
}
.mobile-menu__contact a {
	color: var(--white);
	text-decoration: none;
	opacity: 0.9;
}
.mobile-menu__contact a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }

.mobile-menu__social {
	display: flex;
	gap: var(--space-3);
	flex-wrap: wrap;
	padding-top: var(--space-2);
	font-size: 13px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}
.mobile-menu__social a {
	color: var(--white);
	text-decoration: none;
	opacity: 0.75;
}
.mobile-menu__social a:hover { opacity: 1; }

/* Body scroll lock when menu is open */
body.menu-open { overflow: hidden; }

/* Lesson #8 — when the overlay opens, the nav behind should not bleed through */
.site-header.menu-open {
	background: transparent;
	border-bottom-color: transparent;
}

/* ---------- HERO ---------- */
.hero {
	position: relative;
	padding: var(--space-8) 0 var(--space-7);
	min-height: 680px;
	display: flex;
	align-items: center;
	background: var(--navy);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	color: var(--white);
	overflow: hidden;
}
.hero__video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 0;
	pointer-events: none;
}
.hero::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(22, 68, 117, 0.55) 0%, rgba(15, 50, 88, 0.85) 100%);
	z-index: 1;
}
.hero .container {
	position: relative;
	z-index: 2;
	width: 100%;
}
.hero__content { max-width: none; }
.hero .eyebrow {
	color: rgba(255, 255, 255, 0.85);
	margin-bottom: var(--space-2);
}
.hero h1 {
	color: var(--white);
	margin-bottom: var(--space-3);
	font-size: 64px;
	font-weight: 300;
	line-height: 1.05;
	letter-spacing: -0.01em;
}
.hero .lead {
	color: rgba(255, 255, 255, 0.9);
	margin-bottom: var(--space-5);
}

@media (max-width: 768px) {
	.hero {
		padding: var(--space-6) 0 var(--space-5);
		min-height: 540px;
	}
	.hero h1 { font-size: 40px; }
}

/* ---------- SEARCH WIDGET ---------- */
.search-widget {
	background: var(--white);
	border: 1px solid var(--bg-grey);
	border-radius: 4px;
	padding: var(--space-3);
	display: grid;
	grid-template-columns: 1fr 1fr 1fr auto;
	gap: var(--space-2);
	align-items: end;
	box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.35), 0 2px 6px rgba(0, 0, 0, 0.08);
}
.search-widget .field { display: flex; flex-direction: column; margin: 0; }
.search-widget .field__label {
	font-size: 11px;
	font-weight: 600;
	color: var(--mid-grey);
	letter-spacing: 0.12em;
	text-transform: uppercase;
	margin-bottom: 6px;
}
.search-widget .field__input {
	font-family: inherit;
	font-size: 16px;
	line-height: 1.5;
	padding: 11px 14px;
	border: 1px solid var(--bg-grey);
	border-radius: 2px;
	background: var(--white);
	color: var(--text-primary);
	height: 48px;
	transition: border-color 150ms ease-out;
}
.search-widget .field__input:focus {
	outline: none;
	border: 2px solid var(--navy);
	padding: 10px 13px;
}
.search-widget .btn { height: 48px; padding: 0 var(--space-4); white-space: nowrap; }

@media (max-width: 900px) {
	.search-widget { grid-template-columns: 1fr 1fr; }
	.search-widget__vehicle { grid-column: span 2; }
	.search-widget .btn { grid-column: span 2; width: 100%; }
}
@media (max-width: 480px) {
	.search-widget { grid-template-columns: 1fr; }
	.search-widget__vehicle,
	.search-widget .btn { grid-column: auto; }
}

/* ---------- FLEET GRID ---------- */
.fleet {
	padding: var(--space-7) 0;
	background: var(--page-bg);
}
.fleet__header {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	margin-bottom: var(--space-5);
	gap: var(--space-4);
	flex-wrap: wrap;
}
.fleet__header-text .eyebrow { margin-bottom: var(--space-1); }
.fleet__header-text h2 {
	color: var(--navy);
	margin-bottom: var(--space-2);
	font-size: 40px;
	font-weight: 400;
	line-height: 1.15;
	letter-spacing: -0.005em;
}
.fleet__header-text p { color: var(--text-secondary); max-width: 48ch; }
.fleet__header-meta { color: var(--text-secondary); font-size: 14px; }

.vehicle-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--space-3);
}
.vehicle-grid--cols-2 { grid-template-columns: repeat(2, 1fr); }
.vehicle-grid--cols-3 { grid-template-columns: repeat(3, 1fr); }
.vehicle-grid--cols-4 { grid-template-columns: repeat(4, 1fr); }

.fleet__empty {
	text-align: center;
	padding: var(--space-5) 0;
	color: var(--text-secondary);
}

@media (max-width: 1100px) {
	.vehicle-grid--cols-4 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 960px) {
	.vehicle-grid,
	.vehicle-grid--cols-3,
	.vehicle-grid--cols-4 { grid-template-columns: repeat(2, 1fr); }
	.vehicle-grid > :last-child:nth-child(odd) {
		grid-column: span 2;
		max-width: calc(50% - var(--space-2));
	}
}
@media (max-width: 640px) {
	.vehicle-grid,
	.vehicle-grid--cols-2,
	.vehicle-grid--cols-3,
	.vehicle-grid--cols-4 { grid-template-columns: 1fr; }
	.vehicle-grid > :last-child { grid-column: auto; max-width: none; }
	.fleet__header-text h2 { font-size: 28px; }
}

/* ---------- VEHICLE CARD ---------- */
.vehicle-card {
	background: var(--white);
	border: 1px solid var(--bg-grey);
	border-radius: 4px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}
.vehicle-card__img {
	background: var(--white);
	aspect-ratio: 16 / 10;
	display: flex;
	align-items: center;
	justify-content: center;
	border-bottom: 1px solid var(--bg-grey);
	padding: var(--space-2);
}
.vehicle-card__img img {
	max-width: 90%;
	max-height: 90%;
	object-fit: contain;
}
.vehicle-card__body {
	padding: var(--space-3);
	display: flex;
	flex-direction: column;
	flex: 1;
}
.vehicle-card__name {
	font-size: 20px;
	font-weight: 500;
	color: var(--navy);
	margin: 0 0 8px;
	line-height: 1.3;
}
.vehicle-card__specs {
	font-size: 13px;
	color: var(--text-secondary);
	margin: 0 0 var(--space-2);
	line-height: 1.5;
}
.vehicle-card__badges {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: var(--space-3);
}
.badge {
	display: inline-block;
	font-size: 12px;
	font-weight: 500;
	padding: 6px 10px;
	border-radius: 2px;
	background: var(--bg-grey);
	color: var(--text-primary);
	letter-spacing: 0.04em;
	line-height: 1;
}
.badge--length { background: var(--navy); color: var(--white); text-transform: uppercase; letter-spacing: 0.06em; }
.badge--member { background: var(--member-gold); color: var(--white); text-transform: uppercase; letter-spacing: 0.06em; }
.vehicle-card__rate {
	font-size: 22px;
	font-weight: 500;
	color: var(--navy);
	margin: auto 0 var(--space-3);
	line-height: 1.2;
}
.vehicle-card__rate-meta {
	display: block;
	font-size: 12px;
	font-weight: 500;
	color: var(--text-secondary);
	letter-spacing: 0.06em;
	text-transform: uppercase;
	margin-top: 4px;
}
.vehicle-card .btn { width: 100%; padding: 14px 24px; font-size: 14px; }

/* ---------- MEMBERS BAND ---------- */
.members {
	position: relative;
	background: var(--navy);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	color: var(--white);
	padding: var(--space-7) 0;
	overflow: hidden;
}
.members::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(22, 68, 117, 0.92) 0%, rgba(22, 68, 117, 0.78) 100%);
	z-index: 0;
}
.members .container { position: relative; z-index: 1; }
.members__inner {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: var(--space-5);
	align-items: center;
}
.members h2 {
	color: var(--white);
	margin-bottom: var(--space-2);
	font-size: 36px;
	font-weight: 400;
	line-height: 1.15;
	letter-spacing: -0.005em;
}
.members p {
	color: rgba(255, 255, 255, 0.85);
	max-width: 56ch;
	font-size: 17px;
}
.members .eyebrow {
	color: rgba(255, 255, 255, 0.7);
	margin-bottom: var(--space-1);
}

@media (max-width: 768px) {
	.members__inner { grid-template-columns: 1fr; }
	.members h2 { font-size: 28px; }
}

/* ---------- ENQUIRY BAND ---------- */
.enquiry {
	padding: var(--space-7) 0;
	background: var(--white);
	border-bottom: 1px solid var(--bg-grey);
}
.enquiry__inner {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: var(--space-5);
	align-items: center;
}
.enquiry h2 {
	margin-bottom: var(--space-2);
	color: var(--navy);
	font-size: 36px;
	font-weight: 400;
	line-height: 1.15;
}
.enquiry p { color: var(--text-secondary); max-width: 56ch; }
.enquiry .eyebrow { margin-bottom: var(--space-1); }

@media (max-width: 768px) {
	.enquiry__inner { grid-template-columns: 1fr; }
	.enquiry h2 { font-size: 28px; }
}

/* ---------- SITE FOOTER ---------- */
.site-footer {
	background: var(--navy);
	color: var(--white);
	padding: var(--space-6) 0 var(--space-4);
}
.site-footer__grid {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr 1fr;
	gap: var(--space-5);
	margin-bottom: var(--space-5);
}
.site-footer__column {
	/* Widget wrapper — styling is on .footer-widget inside */
}
.site-footer__bottom {
	padding-top: var(--space-3);
	border-top: 1px solid rgba(255, 255, 255, 0.15);
	display: flex;
	justify-content: space-between;
	gap: var(--space-3);
	flex-wrap: wrap;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.65);
}
.site-footer__bottom p { margin: 0; }
.site-footer__legal { display: flex; gap: var(--space-3); flex-wrap: wrap; }
.site-footer__legal ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	gap: var(--space-3);
	flex-wrap: wrap;
}
.site-footer__legal li { list-style: none; }
.site-footer__legal a {
	color: inherit;
	text-decoration: none;
	font-size: 13px;
	opacity: 0.85;
}
.site-footer__legal a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 768px) {
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
	.site-footer__grid > :first-child { grid-column: span 2; }
}
@media (max-width: 480px) {
	.site-footer__grid { grid-template-columns: 1fr; }
	.site-footer__grid > :first-child { grid-column: auto; }
}

/* ---------- WIDGETS ---------- */
.footer-widget {
	font-size: 15px;
}
.footer-widget + .footer-widget { margin-top: var(--space-4); }
.footer__heading {
	color: rgba(255, 255, 255, 0.7);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	margin: 0 0 var(--space-2);
}
.footer-widget ul,
.footer-widget .menu {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.footer-widget li { list-style: none; }
.footer-widget a {
	color: var(--white);
	text-decoration: none;
	font-size: 15px;
	opacity: 0.9;
}
.footer-widget a:hover { text-decoration: underline; text-underline-offset: 4px; opacity: 1; }
.footer-widget p { color: rgba(255, 255, 255, 0.7); font-size: 14px; margin: 0 0 var(--space-2); }

/* ---------- POWERED BY ZONKEY ---------- */
.footer-powered { margin-left: auto; }
.powered-by {
	margin: 0;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.75);
	letter-spacing: 0.02em;
}
.powered-by a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 700;
	text-decoration: none;
	color: var(--white);
}
.powered-by a:hover { text-decoration: underline; text-underline-offset: 4px; color: var(--white); }
.powered-by svg { display: block; }
.powered-by__wordmark { letter-spacing: 0; }

/* ---------- 404 ---------- */
.error-404 {
	padding: var(--space-7) 0 var(--space-8);
	text-align: center;
	min-height: 60vh;
	display: flex;
	align-items: center;
}
.error-404 .container { max-width: 640px; }
.error-404 .eyebrow {
	color: var(--mid-grey);
	letter-spacing: 0.2em;
	margin-bottom: var(--space-3);
}
.error-404 h1 {
	color: var(--navy);
	font-size: 56px;
	font-weight: 300;
	line-height: 1.1;
	letter-spacing: -0.01em;
	margin: 0 0 var(--space-3);
}
.error-404 .lead {
	margin: 0 auto var(--space-5);
	max-width: 50ch;
}
.error-404__actions {
	display: flex;
	gap: var(--space-2);
	justify-content: center;
	flex-wrap: wrap;
	margin-bottom: var(--space-5);
}
.error-404__help {
	color: var(--text-secondary);
	font-size: 14px;
}
.error-404__help a { color: var(--navy); }

@media (max-width: 640px) {
	.error-404 h1 { font-size: 36px; }
}

/* ---------- STANDALONE SEARCH WIDGET BAND ---------- */
/* Used when the Search Widget ACF block is placed as its own section (not inside the hero). */
.block-search-widget-band__header {
	text-align: left;
	max-width: 58ch;
	margin: 0 auto var(--space-4);
}
.block-search-widget-band__header .eyebrow {
	margin-bottom: var(--space-1);
}
.block-search-widget-band__header h2 {
	color: var(--navy);
	font-size: 32px;
	font-weight: 400;
	line-height: 1.2;
	letter-spacing: -0.005em;
}
@media (max-width: 640px) {
	.block-search-widget-band__header h2 { font-size: 24px; }
}

/* ---------- SINGLE VEHICLE ---------- */
.single-vehicle__header {
	padding: var(--space-7) 0 var(--space-4);
	background: var(--page-bg);
	border-bottom: 1px solid var(--bg-grey);
}
.single-vehicle__title {
	color: var(--navy);
	font-size: 48px;
	font-weight: 300;
	line-height: 1.05;
	letter-spacing: -0.01em;
	margin: 8px 0 var(--space-1);
}
.single-vehicle__specs {
	color: var(--text-secondary);
	margin: 0;
}
.single-vehicle__layout {
	display: grid;
	grid-template-columns: 1fr 320px;
	gap: var(--space-5);
	padding-top: var(--space-6);
	padding-bottom: var(--space-6);
	align-items: start;
}
.single-vehicle__media {
	grid-column: 1 / 2;
	grid-row: 1 / 2;
	margin: 0;
}
.single-vehicle__hero {
	display: block;
	width: 100%;
	height: auto;
	background: var(--white);
	border: 1px solid var(--bg-grey);
	border-radius: 4px;
}
.single-vehicle__cta {
	grid-column: 2 / 3;
	grid-row: 1 / 3;
	padding: var(--space-4);
	background: var(--white);
	border: 1px solid var(--bg-grey);
	border-radius: 4px;
	position: sticky;
	top: calc(var(--nav-height) + 24px);
}
.single-vehicle__rate {
	font-size: 28px;
	font-weight: 500;
	color: var(--navy);
	margin: 0 0 var(--space-3);
	line-height: 1.2;
}
.single-vehicle__rate-meta {
	display: block;
	font-size: 12px;
	font-weight: 500;
	color: var(--text-secondary);
	letter-spacing: 0.06em;
	text-transform: uppercase;
	margin-top: 4px;
}
.single-vehicle__body {
	grid-column: 1 / 2;
	grid-row: 2 / 3;
	color: var(--text-primary);
	max-width: 65ch;
}
.single-vehicle__availability {
	padding: var(--space-5) 0 var(--space-7);
	background: var(--page-bg);
	border-top: 1px solid var(--bg-grey);
}
.single-vehicle__availability-header {
	margin-bottom: var(--space-4);
	text-align: center;
}
.single-vehicle__availability-header h2 {
	color: var(--navy);
	font-size: 32px;
	font-weight: 400;
	letter-spacing: -0.005em;
	margin: 4px 0 0;
}

@media (max-width: 900px) {
	.single-vehicle__layout { grid-template-columns: 1fr; }
	.single-vehicle__media,
	.single-vehicle__body,
	.single-vehicle__cta {
		grid-column: auto;
		grid-row: auto;
	}
	.single-vehicle__cta { position: static; }
	.single-vehicle__title { font-size: 36px; }
}

/* ---------- BOOKING FLOW ---------- */
/* Phase 6 fills this section. */

/* ---------- GRAVITY FORMS ---------- */
/* Target GF's default markup and align it with our form system. GF ships its
   own CSS; this overrides where needed to match button styling, field heights,
   and typography. */
.gform_wrapper {
	font-family: var(--font-body);
	color: var(--text-primary);
	max-width: 780px;
}
.gform_wrapper .gform_title,
.gform_wrapper .gform_heading h2,
.gform_wrapper .gform_heading h3 {
	color: var(--navy);
	font-weight: 300;
	font-size: 28px;
	letter-spacing: -0.005em;
	line-height: 1.2;
	margin: 0 0 var(--space-2);
}
.gform_wrapper .gform_description {
	color: var(--text-secondary);
	margin-bottom: var(--space-4);
}

.gform_wrapper .gfield {
	margin-bottom: var(--space-3);
}
.gform_wrapper .gfield_label,
.gform_wrapper label {
	font-family: var(--font-body);
	font-size: 14px;
	font-weight: 500;
	color: var(--text-primary);
	letter-spacing: 0.02em;
	margin-bottom: 6px;
	display: inline-block;
}
.gform_wrapper .gfield_required {
	color: var(--navy);
	margin-left: 2px;
}

.gform_wrapper input[type="text"],
.gform_wrapper input[type="email"],
.gform_wrapper input[type="tel"],
.gform_wrapper input[type="url"],
.gform_wrapper input[type="number"],
.gform_wrapper input[type="date"],
.gform_wrapper input[type="password"],
.gform_wrapper select,
.gform_wrapper textarea {
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.5;
	padding: 11px 16px;
	border: 1px solid var(--bg-grey);
	border-radius: 2px;
	background: var(--white);
	color: var(--text-primary);
	height: 48px;
	width: 100%;
	transition: border-color 150ms ease-out;
	box-shadow: none;
}
.gform_wrapper textarea {
	height: auto;
	min-height: 120px;
	resize: vertical;
}
.gform_wrapper input[type="text"]:focus,
.gform_wrapper input[type="email"]:focus,
.gform_wrapper input[type="tel"]:focus,
.gform_wrapper input[type="url"]:focus,
.gform_wrapper input[type="number"]:focus,
.gform_wrapper input[type="date"]:focus,
.gform_wrapper input[type="password"]:focus,
.gform_wrapper select:focus,
.gform_wrapper textarea:focus {
	outline: none;
	border: 2px solid var(--navy);
	padding: 10px 15px;
}
.gform_wrapper .gfield_description {
	color: var(--text-secondary);
	font-size: 13px;
	margin-top: 6px;
}

.gform_wrapper .gform_footer,
.gform_wrapper .gform_page_footer {
	margin-top: var(--space-4);
	padding-top: var(--space-3);
	border-top: 1px solid var(--bg-grey);
}
.gform_wrapper input[type="submit"],
.gform_wrapper button[type="submit"],
.gform_wrapper .gform_button,
.gform_wrapper .gform_next_button,
.gform_wrapper .gform_previous_button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-family: var(--font-body);
	font-size: 15px;
	font-weight: 500;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	padding: 16px 32px;
	border-radius: 4px;
	border: 1px solid var(--navy);
	background: var(--navy);
	color: var(--white);
	cursor: pointer;
	line-height: 1;
	transition: background 150ms ease-out;
	box-shadow: none;
	text-shadow: none;
	width: auto;
	height: auto;
}
.gform_wrapper input[type="submit"]:hover,
.gform_wrapper button[type="submit"]:hover,
.gform_wrapper .gform_button:hover,
.gform_wrapper .gform_next_button:hover {
	background: var(--navy-dark);
	border-color: var(--navy-dark);
}
.gform_wrapper .gform_previous_button {
	background: transparent;
	color: var(--navy);
}
.gform_wrapper .gform_previous_button:hover {
	background: var(--navy-08);
}

/* Error states */
.gform_wrapper .gfield_error input,
.gform_wrapper .gfield_error select,
.gform_wrapper .gfield_error textarea {
	border-color: var(--status-booked);
	border-width: 2px;
	padding: 10px 15px;
}
.gform_wrapper .gfield_error .gfield_label {
	color: var(--status-booked);
}
.gform_wrapper .validation_message,
.gform_wrapper .gfield_validation_message,
.gform_wrapper .gform_validation_errors {
	color: var(--status-booked);
	font-size: 14px;
	margin-top: 6px;
	padding: 0;
	background: transparent;
}

/* Success / confirmation */
.gform_confirmation_wrapper,
.gform_confirmation_message {
	padding: var(--space-4);
	background: rgba(47, 122, 79, 0.08);
	border-left: 3px solid var(--status-available);
	border-radius: 2px;
	font-size: 15px;
}

/* Multi-page progress bar */
.gf_progressbar_wrapper { margin-bottom: var(--space-4); }
.gf_progressbar {
	background: var(--bg-grey);
	border-radius: 2px;
	overflow: hidden;
	height: 4px;
}
.gf_progressbar_percentage {
	background: var(--navy);
	height: 100%;
}
.gf_progressbar_title {
	font-size: 12px;
	color: var(--text-secondary);
	letter-spacing: 0.1em;
	text-transform: uppercase;
	margin-bottom: 6px;
}

/* Checkbox / radio lists — space items evenly */
.gform_wrapper .gfield_checkbox label,
.gform_wrapper .gfield_radio label {
	font-weight: 400;
	font-size: 15px;
}
.gform_wrapper .gfield_checkbox .gchoice,
.gform_wrapper .gfield_radio .gchoice {
	margin-bottom: 8px;
}

/* ---------- CROSS-CUTTING RESPONSIVE ---------- */
/* Reserve for global rules only. Per-component responsive lives with each component above. */

/* ---------- REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		transition: none !important;
		animation: none !important;
	}
	html { scroll-behavior: auto; }
	.js .reveal { opacity: 1 !important; transform: none !important; }
}
