/* =============================================================
   PSS Secure Transport — Light Theme Override
   Loaded AFTER main.css. Flips the Solid State dark palette to a
   white/airy palette with PSS brand blue reserved for accents.
   Brand palette:
     --pss-blue       #4c5c96   (primary accent / CTA)
     --pss-blue-dk    #3a4877   (hover / dark text-on-light)
     --pss-ink        #1a1a1a   (body text)
     --pss-ink-soft   #4a4a55   (secondary text)
     --pss-bg         #ffffff   (primary background)
     --pss-bg-soft    #f5f7fa   (alt panel bg)
     --pss-border     #e5e7eb   (hairlines)
   ============================================================= */

:root {
	--pss-blue:      #4c5c96;
	--pss-blue-dk:   #3a4877;
	--pss-ink:       #1a1a1a;
	--pss-ink-soft:  #4a4a55;
	--pss-bg:        #ffffff;
	--pss-bg-soft:   #f5f7fa;
	--pss-border:    #e5e7eb;
}

/* ---------- Global background + text ----------------------- */
html, body { background: var(--pss-bg) !important; }
body {
	background-image: none !important;
	color: var(--pss-ink) !important;
}
body, input, select, textarea { color: var(--pss-ink) !important; }

/* Aspect-ratio safety: when <img> tags carry width/height attrs
   (added for CLS prevention), some CSS rules set only width and
   leave height unconstrained — the browser then uses the HTML
   height attr as a literal pixel value, stretching the image.
   Forcing height:auto lets the intrinsic aspect ratio win.
   Inline style="height:Npx" still overrides this via specificity, so
   the fleet grid (with height:240px;object-fit:cover) is unaffected. */
img { height: auto; }

h1, h2, h3, h4, h5, h6 { color: var(--pss-ink) !important; }
h2.major, h3.major, h4.major {
	border-bottom-color: var(--pss-border) !important;
}
h2.major:after, h3.major:after { background: var(--pss-blue) !important; }

p, li, td, label, dd, blockquote { color: var(--pss-ink) !important; }
strong, b { color: var(--pss-ink) !important; }

/* Editorial serif for content-area headings — warmer, clinical-but-human.
   Scoped to main content + hero/banner. Nav, menu eyebrow, footer eyebrow,
   form-step labels, accreditations h2 keep their uppercase sans personality
   so UI labels still read as labels. */
#wrapper h1, #wrapper h2, #wrapper h3, #wrapper h4, #wrapper h5, #wrapper h6,
#banner h2, #banner h3 {
	font-family: "Source Serif 4", Georgia, "Times New Roman", serif !important;
	font-weight: 600 !important;
	letter-spacing: -0.005em !important;
	text-transform: none !important;
}
/* Hero / page-title h2 reads bigger and a touch heavier */
#wrapper > header.hero h2,
#wrapper > header h2,
#banner h2 {
	font-weight: 700 !important;
	line-height: 1.15 !important;
}
/* Sub-section h3.major: serif with the existing blue underline. Slightly
   larger so it carries more weight than the previous all-caps treatment. */
#wrapper h3.major {
	font-size: 1.35em !important;
	line-height: 1.25 !important;
}
.features article h3.major {
	font-size: 1.15em !important;
}

/* ---------- Links ---------------------------------------- */
a {
	color: var(--pss-blue) !important;
	border-bottom-color: rgba(76, 92, 150, 0.35) !important;
}
a:hover { color: var(--pss-blue-dk) !important; border-bottom-color: transparent !important; }

/* a.special arrow chip on light bg */
a.special:not(.button):before {
	border-color: var(--pss-blue) !important;
	color: var(--pss-blue) !important;
}
a.special:not(.button):hover:before {
	background-color: var(--pss-blue) !important;
	color: #fff !important;
}

/* ---------- Wrappers / sections -------------------------- */
/* Kill the dark-navy slanted SVG wedges (Solid State's section dividers).
   They only made sense layered over the dark theme; on a white page they
   render as random navy slashes between sections.                       */
.wrapper:before,
.wrapper:after,
.wrapper.alt:before,
.wrapper.alt:after,
.wrapper.style1:before, .wrapper.style1:after,
.wrapper.style2:before, .wrapper.style2:after,
.wrapper.style3:before, .wrapper.style3:after,
.wrapper.style4:before, .wrapper.style4:after,
.wrapper.style5:before, .wrapper.style5:after,
.wrapper.style6:before, .wrapper.style6:after,
.wrapper.spotlight:before, .wrapper.spotlight:after,
.wrapper.spotlight.style1:before, .wrapper.spotlight.style1:after,
.wrapper.spotlight.style2:before, .wrapper.spotlight.style2:after,
.wrapper.spotlight.style3:before, .wrapper.spotlight.style3:after,
.wrapper.spotlight.style4:before, .wrapper.spotlight.style4:after,
.wrapper.spotlight.style5:before, .wrapper.spotlight.style5:after,
.wrapper.spotlight.style6:before, .wrapper.spotlight.style6:after {
	display: none !important;
	background-image: none !important;
	box-shadow: none !important;
	height: 0 !important;
}

/* Sections sit flush — give them their own internal padding instead of the
   6.5em margin that the wedges used to occupy. */
#wrapper, #wrapper > .wrapper { background: var(--pss-bg) !important; }
/* Inner-page main content wrapper has no style/spotlight/alt modifier.
   Tint it soft-grey so inner pages don't read as one big white block. */
#wrapper > .wrapper:not(.spotlight):not(.alt):not([class*="style"]) {
	background: var(--pss-bg-soft) !important;
}
.wrapper {
	background: var(--pss-bg) !important;
	margin: 0 !important;
}
.wrapper .inner { padding-top: 4.5em !important; padding-bottom: 4.25em !important; }
/* Fleet gallery is a denser grid of small cards — tighten the
   vertical rhythm so it doesn't read as a deep empty band. */
#fleet > .inner { padding-top: 2.5em !important; padding-bottom: 2.5em !important; }

/* Alternating section tone — white / very-light-grey */
.wrapper.style1                 { background: var(--pss-bg) !important; }
.wrapper.style2                 { background: var(--pss-bg-soft) !important; }
.wrapper.style3                 { background: var(--pss-bg) !important; }
.wrapper.alt                    { background: var(--pss-bg-soft) !important; }
.wrapper.spotlight              { background: var(--pss-bg) !important; }
.wrapper.spotlight.style1       { background: var(--pss-bg) !important; }
.wrapper.spotlight.style2       { background: var(--pss-bg-soft) !important; }
.wrapper.spotlight.style3       { background: var(--pss-bg) !important; }
.wrapper.spotlight.style4       { background: var(--pss-bg-soft) !important; }
.wrapper.alt.spotlight.style2   { background: var(--pss-bg-soft) !important; }

/* =============================================================
   Section dividers — "chevron-on-fading-rule"
   Applied to every section after the first inside #wrapper.
   Echoes the brand chevron motif (images/chevron-arrow.png) in
   PSS blue, sitting above a hairline that fades to nothing at
   both edges so it never feels like a hard cut.
   ============================================================= */
#wrapper > * + * { position: relative; }

/* The fading hairline */
#wrapper > * + *::before {
	content: "" !important;
	display: block !important;
	position: absolute !important;
	top: 0 !important;
	left: 0 !important;
	right: 0 !important;
	width: 100% !important;
	height: 1px !important;
	background-image: linear-gradient(
		to right,
		transparent 0%,
		rgba(76, 92, 150, 0.18) 18%,
		rgba(76, 92, 150, 0.35) 50%,
		rgba(76, 92, 150, 0.18) 82%,
		transparent 100%
	) !important;
	background-color: transparent !important;
	background-repeat: no-repeat !important;
	background-size: 100% 100% !important;
	background-position: 0 0 !important;
	box-shadow: none !important;
	transform: none !important;
	pointer-events: none;
	z-index: 1;
}

/* The centered chevron + tick ornament */
#wrapper > * + *::after {
	content: "" !important;
	display: block !important;
	position: absolute !important;
	top: -14px !important;
	left: 50% !important;
	width: 44px !important;
	height: 28px !important;
	margin-left: -22px !important;
	transform: none !important;
	background-color: transparent !important;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 28'><path d='M10 8 L22 18 L34 8' fill='none' stroke='%234c5c96' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/><circle cx='22' cy='22' r='2' fill='%234c5c96'/></svg>") !important;
	background-repeat: no-repeat !important;
	background-position: center !important;
	background-size: 44px 28px !important;
	box-shadow: none !important;
	pointer-events: none;
	z-index: 2;
}

/* Don't draw a divider on the inner-page title header — its bottom
   border already separates it from the content. */
#wrapper > header + *::before,
#wrapper > header + *::after { display: none !important; }

/* Same idea between #wrapper and #footer — let the footer breathe */
#footer { position: relative; }
#footer::before {
	content: "";
	position: absolute;
	top: 0; left: 0; right: 0;
	height: 1px;
	background-image: linear-gradient(
		to right,
		transparent 0%,
		rgba(76, 92, 150, 0.18) 18%,
		rgba(76, 92, 150, 0.35) 50%,
		rgba(76, 92, 150, 0.18) 82%,
		transparent 100%
	);
	pointer-events: none;
}

/* Tighten section vertical rhythm just below each divider so the chevron
   doesn't collide with the inner content. */
#wrapper > * + * > .inner,
#wrapper > * + *.accreditations-strip,
#wrapper > * + *.testimonials,
#wrapper > * + *.nationwide {
	padding-top: 4em;
}
@media screen and (max-width: 736px) {
	#wrapper > * + * > .inner,
	#wrapper > * + *.accreditations-strip,
	#wrapper > * + *.testimonials,
	#wrapper > * + *.nationwide {
		padding-top: 4.25em;
	}
	#wrapper > * + *::after {
		top: -12px !important;
		width: 36px !important;
		height: 22px !important;
		margin-left: -18px !important;
		background-size: 36px 22px !important;
	}
}

.wrapper.spotlight .content p,
.wrapper .content p { color: var(--pss-ink-soft) !important; }

/* Spotlight circular hero image — make sure it sits on top of any leftover
   background, with a subtle ring so it reads cleanly on the light bg.    */
.wrapper.spotlight .image {
	position: relative;
	z-index: 1;
	border: 1px solid var(--pss-border) !important;
	box-shadow: 0 8px 24px rgba(26, 26, 26, 0.06);
}
.wrapper.spotlight .image img { opacity: 1 !important; }

/* ---------- Fleet gallery (homepage) -----------------------
   Even-sized, softly-rounded cards with a subtle ring + hover
   lift so the gallery reads as polished as the spotlight rows
   rather than flat square thumbnails.                         */
#fleet .fleet-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 1.25em;
}
#fleet .fleet-grid .image.fit {
	display: block;
	margin: 0;
	border-radius: 14px;
	overflow: hidden;
	background: #fff;
	border: 1px solid var(--pss-border) !important;
	box-shadow: 0 10px 26px -14px rgba(76, 92, 150, 0.35);
	transition: transform .25s ease, box-shadow .25s ease;
}
#fleet .fleet-grid .image.fit img {
	display: block;
	width: 100%;
	height: 220px;
	object-fit: cover;
	border-radius: 0 !important;
	transition: transform .45s ease;
}
#fleet .fleet-grid .image.fit:hover {
	transform: translateY(-4px);
	box-shadow: 0 18px 32px -14px rgba(76, 92, 150, 0.45);
}
#fleet .fleet-grid .image.fit:hover img {
	transform: scale(1.05);
}
@media screen and (max-width: 736px) {
	#fleet .fleet-grid { gap: 0.85em; }
	#fleet .fleet-grid .image.fit img { height: 190px; }
}

/* ---------- Stat row (Nationwide / 4-hour / 24-hour etc.) ---
   Shared treatment for the three "highlight" stats so they read
   consistently on every page instead of square photo cards.    */
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5em; margin: 2.5em 0; text-align: center; }
.stat-item { padding: 1.5em 1.25em; }
.stat-item h4 { margin: .5em 0 .35em; font-size: 1.1rem; letter-spacing: .02em; text-transform: uppercase; color: var(--pss-blue) !important; }
.stat-item p { margin: 0; font-size: .95rem; opacity: .85; }
.stat-item .stat-icon { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 50%; background: var(--pss-blue); color: #fff; font-size: 1.6rem; }
.stat-item .stat-icon::before { margin: 0; }
.stat-item .stat-uk { display: block; width: auto; height: 120px; margin: 0 auto; object-fit: contain; }

/* ---------- Inner-page title strip (about/training/etc.) ---- */
#wrapper > header {
	background-color: var(--pss-bg-soft) !important;
	background-image: none !important;
	color: var(--pss-ink) !important;
	padding-top: 2.5em !important;
	padding-bottom: 2.5em !important;
	margin-bottom: 0 !important;
	border-bottom: 1px solid var(--pss-border);
}
#wrapper > header h2 {
	color: var(--pss-ink) !important;
	border-bottom: 2px solid var(--pss-blue) !important;
	display: inline-block;
	padding-bottom: 0.35em !important;
	margin-bottom: 0.6em !important;
}
#wrapper > header p { color: var(--pss-ink-soft) !important; }

/* ---------- Banner --------------------------------------- */
#banner {
	background: linear-gradient(180deg, #ffffff 0%, var(--pss-bg-soft) 100%) !important;
	color: var(--pss-ink) !important;
	padding: 2.5em 2em 4em !important;
}
#banner { position: relative !important; }
/* Banner-to-content divider (hairline + chevron + dot) removed per
   client request — the banner now transitions straight into the
   experience band below. */
#banner::before, #banner::after { content: none !important; display: none !important; }
#banner .inner { color: var(--pss-ink) !important; }
#banner h2, #banner h2 * { color: var(--pss-ink) !important; }
#banner p { color: var(--pss-ink-soft) !important; }
#banner p a { color: var(--pss-blue) !important; }
#banner .logo img { filter: none !important; }

/* Banner intro animation — speed up the slow fade-in from the
   vendor template (logo opacity was 2s with cascading delays). */
#banner .logo {
	transition: opacity 0.5s ease, transform 0.4s ease !important;
}
#banner h2 {
	transition: opacity 0.35s ease, transform 0.35s ease, filter 0.2s ease !important;
	transition-delay: 0.15s !important;
}
#banner p {
	transition: opacity 0.35s ease, transform 0.35s ease, filter 0.2s ease !important;
	transition-delay: 0.25s !important;
}

/* ---------- Buttons -------------------------------------- */
input[type="submit"],
input[type="reset"],
input[type="button"],
button,
.button {
	background: transparent !important;
	border: 2px solid var(--pss-blue) !important;
	color: var(--pss-blue) !important;
	box-shadow: none !important;
	min-height: 44px;
	line-height: 40px !important;
	height: auto !important;
	padding: 0 1.5em !important;
	font-weight: 600 !important;
}
input[type="submit"]:hover,
.button:hover {
	background: var(--pss-blue) !important;
	color: #fff !important;
}
.button.primary,
input[type="submit"].primary {
	background: var(--pss-blue) !important;
	border-color: var(--pss-blue) !important;
	color: #fff !important;
}
.button.primary:hover {
	background: var(--pss-blue-dk) !important;
	border-color: var(--pss-blue-dk) !important;
}
.button.alt {
	background: transparent !important;
	border-color: var(--pss-ink) !important;
	color: var(--pss-ink) !important;
}
.button.alt:hover {
	background: var(--pss-ink) !important;
	color: #fff !important;
}

/* ---------- Form fields ---------------------------------- */
input[type="text"], input[type="email"], input[type="password"],
input[type="tel"], input[type="search"], input[type="url"],
input[type="number"], input[type="date"], input[type="time"],
input[type="datetime-local"], input[type="month"], input[type="week"],
select, textarea {
	background: #fff !important;
	border: 1px solid var(--pss-border) !important;
	color: var(--pss-ink) !important;
	min-height: 44px;
	padding: 0.5em 0.75em !important;
	font-family: inherit;
	font-size: 1em;
	line-height: 1.4;
	border-radius: 5px;
	-webkit-appearance: none;
	-moz-appearance: textfield;
	appearance: none;
	box-sizing: border-box;
	width: 100%;
}
input[type="number"] { -moz-appearance: textfield; }
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
	-webkit-appearance: inner-spin-button;
	opacity: 1;
	margin-left: 0.25em;
}
input[type="date"]::-webkit-calendar-picker-indicator,
input[type="time"]::-webkit-calendar-picker-indicator,
input[type="datetime-local"]::-webkit-calendar-picker-indicator {
	cursor: pointer;
	filter: invert(38%) sepia(15%) saturate(1300%) hue-rotate(195deg) brightness(90%) contrast(90%);
	opacity: 0.7;
}
input[type="date"]::-webkit-calendar-picker-indicator:hover,
input[type="time"]::-webkit-calendar-picker-indicator:hover {
	opacity: 1;
}

/* Native select arrow on light theme */
select {
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'><path fill='none' stroke='%234c5c96' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M1 1l5 5 5-5'/></svg>") !important;
	background-repeat: no-repeat !important;
	background-position: right 0.9em center !important;
	background-size: 12px 8px !important;
	padding-right: 2.5em !important;
}

input[type="text"]:focus, input[type="email"]:focus, input[type="password"]:focus,
input[type="tel"]:focus, input[type="search"]:focus, input[type="url"]:focus,
input[type="number"]:focus, input[type="date"]:focus, input[type="time"]:focus,
input[type="datetime-local"]:focus, input[type="month"]:focus, input[type="week"]:focus,
select:focus, textarea:focus {
	border-color: var(--pss-blue) !important;
	box-shadow: 0 0 0 3px rgba(76, 92, 150, 0.18) !important;
	outline: 0;
}

input[type="radio"], input[type="checkbox"] {
	width: 18px;
	height: 18px;
	margin: 0 0.5em 0 0;
	vertical-align: middle;
	accent-color: var(--pss-blue);
}

textarea {
	min-height: 6em !important;
	resize: vertical;
}
label { color: var(--pss-ink) !important; }

/* =============================================================
   HEADER — bytesavers-style padding-driven sizing, kept white.
   Bar grows from its content (logo height + vertical padding)
   rather than a fixed em height. Flex row, space-between.
   Layout:  [logo + wordmark] ........ [BOOK NOW] [MENU]
   ============================================================= */

#header,
#header.alt {
	background-color: #ffffff !important;
	color: var(--pss-ink) !important;
	/* In-flow sticky header: pins to top on scroll like the old fixed
	   header, but takes its natural height so the hero always sits flush
	   beneath it — no manual #page-wrapper offset to keep in sync. */
	position: -webkit-sticky !important;
	position: sticky !important;
	top: 0 !important;
	height: auto !important;
	line-height: normal !important;
	padding: 1rem 1.5em !important;
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	border-bottom: 1px solid #eceef5 !important;
	box-shadow:
		0 1px 2px 0 rgba(46, 49, 65, 0.04),
		0 6px 16px -10px rgba(76, 92, 150, 0.18) !important;
}

#header h1, #header.alt h1 {
	opacity: 1 !important;
	visibility: visible !important;
	font-size: 1em !important;
	line-height: 1 !important;
	margin: 0 !important;
}
#header h1 a {
	display: inline-flex !important;
	align-items: center !important;
	gap: 0.7em;
	color: var(--pss-blue) !important;
	font-family: "Source Sans 3", Helvetica, sans-serif !important;
	font-size: 0.78em !important;
	font-weight: 800 !important;
	letter-spacing: 0.2em !important;
	text-transform: uppercase !important;
	border-bottom: 0 !important;
	line-height: 1 !important;
}
#header h1 a:hover { color: var(--pss-blue-dk) !important; }
#header h1 a img {
	height: 40px !important;
	width: auto !important;
	margin: 0 !important;
	display: block !important;
	filter: none !important;
	transition: transform .15s ease;
}
#header h1 a:hover img { transform: scale(1.05); }

#header nav {
	position: static !important;
	display: flex !important;
	align-items: center !important;
	gap: 0.5em;
	line-height: 1 !important;
}
#header nav a {
	color: var(--pss-ink) !important;
	border-bottom: 0 !important;
}

/* MENU pill — restrained brand-blue outline (replaces grey) */
#header nav a[href="#menu"] {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	height: 44px !important;
	min-height: 44px !important;
	line-height: 44px !important;
	padding: 0 1.25em 0 1.1em !important;
	color: var(--pss-blue) !important;
	background: transparent !important;
	border-radius: 999px !important;
	box-shadow: inset 0 0 0 1.5px rgba(76, 92, 150, 0.35) !important;
	font-family: "Source Sans 3", Helvetica, sans-serif !important;
	font-size: 0.74em !important;
	font-weight: 700 !important;
	letter-spacing: 0.18em !important;
	text-transform: uppercase !important;
	transition: background-color .2s ease, box-shadow .2s ease, color .2s ease;
}
#header nav a[href="#menu"]:before {
	color: var(--pss-blue) !important;
	font-size: 1.1em !important;
	margin: 0 0.55em 0 0 !important;
	float: none !important;
	line-height: 1 !important;
}
#header nav a[href="#menu"]:hover {
	background-color: rgba(76, 92, 150, 0.06) !important;
	box-shadow: inset 0 0 0 1.5px var(--pss-blue) !important;
	color: var(--pss-blue-dk) !important;
}
#header nav a[href="#menu"]:hover:before { color: var(--pss-blue-dk) !important; }
#header nav a[href="#menu"]:active {
	background-color: rgba(76, 92, 150, 0.12) !important;
}

/* Book Now — primary CTA. Rebuilt from scratch with HIGH specificity
   (#header nav a.book-now-btn = 1,1,2) and absolute pixel units so
   nothing else in the cascade can squeeze it.                       */
#header nav a.book-now-btn {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	box-sizing: content-box !important;
	width: auto !important;
	height: 44px !important;
	min-height: 44px !important;
	max-height: 44px !important;
	line-height: 1 !important;
	padding: 0 32px !important;
	margin: 0 0 0 8px !important;
	background-color: #f5a623 !important;
	background-image: none !important;
	color: #1a1a1a !important;
	border: 0 !important;
	border-bottom: 0 !important;
	border-radius: 999px !important;
	font-family: "Source Sans 3", Helvetica, sans-serif !important;
	font-size: 12px !important;
	font-weight: 800 !important;
	letter-spacing: 1.6px !important;
	text-transform: uppercase !important;
	text-decoration: none !important;
	text-indent: 0 !important;
	white-space: nowrap !important;
	box-shadow: none !important;
	transition: background-color .15s ease;
}
#header nav a.book-now-btn:hover {
	background-color: #d68910 !important;
	color: #1a1a1a !important;
	box-shadow: none !important;
	transform: none !important;
}
#header nav a.book-now-btn:active {
	background-color: #b8770d !important;
	color: #1a1a1a !important;
	transform: none !important;
}

/* Book Now dropdown — small popup under the header CTA offering the
   two direct booking forms. The pill itself keeps its href as a
   no-JS fallback to the bookings hub. */
#header nav .book-now-wrap {
	position: relative;
	display: inline-block;
}
#header nav .book-now-menu {
	display: none;
	position: absolute;
	top: calc(100% + 10px);
	right: 0;
	min-width: 16.5em;
	background: #2e3141;
	border-radius: 10px;
	box-shadow: 0 14px 34px rgba(0, 0, 0, 0.38);
	padding: 0.4em 0;
	z-index: 10001;
	text-align: left;
	line-height: 1.4;
}
#header nav .book-now-wrap.open .book-now-menu { display: block; }
#header nav .book-now-menu::before {
	content: "";
	position: absolute;
	top: -7px;
	right: 2em;
	border: 7px solid transparent;
	border-top: none;
	border-bottom: 7px solid #2e3141;
}
#header nav .book-now-menu a {
	display: block !important;
	padding: 0.7em 1.3em !important;
	color: #ffffff !important;
	border-bottom: none !important;
	font-size: 0.8em;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
	white-space: nowrap;
}
#header nav .book-now-menu a:hover { background: rgba(245, 166, 35, 0.18) !important; }

/* Call Now — secondary CTA, blue-outline pill with a phone glyph.
   Sits immediately left of Book Now. Same pixel discipline as the
   Book Now rule so the cascade can't squeeze it.                    */
#header nav a.call-now-btn {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	box-sizing: content-box !important;
	gap: 7px;
	width: auto !important;
	height: 44px !important;
	min-height: 44px !important;
	max-height: 44px !important;
	line-height: 1 !important;
	padding: 0 22px 0 16px !important;
	margin: 0 0 0 8px !important;
	background-color: #ffffff !important;
	background-image: none !important;
	color: var(--pss-blue) !important;
	border: 2px solid var(--pss-blue) !important;
	border-radius: 999px !important;
	font-family: "Source Sans 3", Helvetica, sans-serif !important;
	font-size: 12px !important;
	font-weight: 800 !important;
	letter-spacing: 1.6px !important;
	text-transform: uppercase !important;
	text-decoration: none !important;
	text-indent: 0 !important;
	white-space: nowrap !important;
	box-shadow: none !important;
	transition: background-color .15s ease, color .15s ease;
}
/* Phone icon — masked so it inherits the link colour (blue, then white
   on hover) without needing a second SVG. */
#header nav a.call-now-btn:before {
	content: "" !important;
	display: block !important;
	width: 15px;
	height: 15px;
	flex: 0 0 15px;
	background-color: currentColor !important;
	-webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1-9.39 0-17-7.61-17-17 0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.2z'/></svg>") center / contain no-repeat;
	mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1-9.39 0-17-7.61-17-17 0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.2z'/></svg>") center / contain no-repeat;
}
#header nav a.call-now-btn:hover {
	background-color: var(--pss-blue) !important;
	color: #ffffff !important;
}
#header nav a.call-now-btn:active {
	background-color: var(--pss-blue-dk) !important;
	color: #ffffff !important;
}

/* Header is sticky (in-flow), so no top offset is needed — the hero
   sits flush beneath it. */
#page-wrapper { padding-top: 0 !important; }

/* ---- Mobile header --------------------------------------- */
@media screen and (max-width: 980px) {
	#header, #header.alt { padding: 1rem 1em !important; }
	#header h1 a { font-size: 0.72em !important; letter-spacing: 0.16em !important; gap: 0.55em; }
	#header h1 a img { height: 35px !important; }
}
@media screen and (max-width: 736px) {
	#header, #header.alt { padding: 0.75rem 0.85em !important; }

	/* Hide the wordmark text on mobile — logo image only.
	   The <h1> link still wraps the logo for accessibility and is still
	   tappable; we just suppress the typographic part. */
	#header h1 a {
		font-size: 0 !important;
		letter-spacing: 0 !important;
		gap: 0 !important;
	}
	#header h1 a img { height: 32px !important; }

	#header nav { gap: 0.4em; }
	#header nav a.book-now-btn {
		height: 40px !important;
		min-height: 40px !important;
		max-height: 40px !important;
		line-height: 1 !important;
		padding: 0 20px !important;
		margin: 0 0 0 6px !important;
		font-size: 11px !important;
		letter-spacing: 1.3px !important;
		border-radius: 999px !important;
	}
	/* Call Now collapses to an icon-only square to save header width */
	#header nav a.call-now-btn {
		height: 40px !important;
		min-height: 40px !important;
		max-height: 40px !important;
		width: 40px !important;
		padding: 0 !important;
		margin: 0 0 0 6px !important;
		gap: 0 !important;
		font-size: 0 !important;
		letter-spacing: 0 !important;
		border-radius: 999px !important;
	}
	#header nav a.call-now-btn:before {
		width: 18px;
		height: 18px;
		flex-basis: 18px;
	}

	/* Mobile MENU button — icon only, square */
	#header nav a[href="#menu"] {
		height: 40px !important;
		min-height: 40px !important;
		width: 40px !important;
		line-height: 40px !important;
		padding: 0 !important;
		font-size: 0 !important;            /* hides the word "Menu" */
		letter-spacing: 0 !important;
		text-indent: 0 !important;          /* override main.css's text-indent: 4em */
	}
	#header nav a[href="#menu"]:before {
		font-size: 17px !important;          /* re-set absolute size since parent is 0 */
		margin: 0 !important;
		padding: 0 !important;
		float: none !important;
		position: static !important;
		width: auto !important;
		line-height: 1 !important;
		color: var(--pss-blue) !important;
	}
}

/* =============================================================
   MOBILE SLIDE-IN MENU — refined
   Dark navy scrim, white panel with PSS-blue top accent, big
   filled BOOK NOW CTA, clean list with hover affordance, blue
   circular close button.
   ============================================================= */

/* Scrim: dim the page behind the panel */
#menu {
	background: rgba(26, 26, 26, 0.42) !important;
	-webkit-backdrop-filter: blur(2px);
	backdrop-filter: blur(2px);
}

/* The white panel itself — constrained to viewport height with internal
   scroll so the full menu fits on short screens. */
#menu .inner {
	background: #ffffff !important;
	border: 0 !important;
	border-top: 4px solid var(--pss-blue) !important;
	border-radius: 0 !important;
	padding: 2.5em 1.75em 1.75em !important;
	width: 92vw !important;
	max-width: 440px !important;
	max-height: 92vh !important;
	margin: 0 auto !important;
	text-align: left !important;
	box-shadow: 0 24px 64px rgba(26, 26, 26, 0.18) !important;
	position: relative;
	overflow-y: auto !important;
	overscroll-behavior: contain;
	scrollbar-width: thin;
	scrollbar-color: rgba(76, 92, 150, 0.5) transparent;
}
#menu .inner::-webkit-scrollbar { width: 8px; }
#menu .inner::-webkit-scrollbar-thumb {
	background: rgba(76, 92, 150, 0.4);
	border-radius: 999px;
}
#menu .inner::-webkit-scrollbar-thumb:hover {
	background: rgba(76, 92, 150, 0.7);
}

/* "Menu" heading — eyebrow style */
#menu h2 {
	color: var(--pss-blue) !important;
	font-family: "Source Sans 3", Helvetica, sans-serif !important;
	font-size: 0.72em !important;
	font-weight: 800 !important;
	letter-spacing: 0.24em !important;
	text-transform: uppercase !important;
	text-align: left !important;
	padding: 0 0 1em 0 !important;
	margin: 0 0 1em 0 !important;
	border-bottom: 1px solid var(--pss-border) !important;
}

/* Links list */
#menu .links {
	list-style: none !important;
	margin: 0 0 1em 0 !important;
	padding: 0 !important;
}
#menu .links li { padding: 0 !important; margin: 0 !important; }
#menu .links li a {
	display: block !important;
	padding: 0.95em 0.6em 0.95em 0.85em !important;
	color: var(--pss-ink) !important;
	font-family: "Source Sans 3", Helvetica, sans-serif !important;
	font-size: 0.92em !important;
	font-weight: 500 !important;
	letter-spacing: 0.04em !important;
	text-transform: none !important;
	text-align: left !important;
	background: transparent !important;
	border: 0 !important;
	border-bottom: 1px solid #f1f2f7 !important;
	border-radius: 0 !important;
	border-left: 2px solid transparent !important;
	transition: color .15s ease, padding-left .2s ease, border-left-color .15s ease, background-color .15s ease;
}
#menu .links li a:hover {
	color: var(--pss-blue) !important;
	background: rgba(76, 92, 150, 0.04) !important;
	border-left-color: var(--pss-blue) !important;
	padding-left: 1.1em !important;
}

/* Book Now — prominent filled CTA at the top of the list */
#menu .links li a.book-now-mobile {
	background: var(--pss-blue) !important;
	color: #ffffff !important;
	border: 0 !important;
	border-bottom: 0 !important;
	border-radius: 6px !important;
	margin: 0 0 1em 0 !important;
	padding: 1.05em 1.25em !important;
	font-weight: 700 !important;
	font-size: 0.78em !important;
	letter-spacing: 0.18em !important;
	text-transform: uppercase !important;
	text-align: center !important;
	box-shadow: 0 4px 12px rgba(76, 92, 150, 0.28);
}
#menu .links li a.book-now-mobile:hover {
	background: var(--pss-blue-dk) !important;
	color: #ffffff !important;
	padding-left: 1.25em !important;
	border-left: 0 !important;
}

/* Close button — circular brand-blue icon top-right */
#menu .close {
	width: 44px !important;
	height: 44px !important;
	top: 0.85em !important;
	right: 0.85em !important;
	border-radius: 50% !important;
	background-color: rgba(76, 92, 150, 0.08) !important;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path d='M5 5 L15 15 M15 5 L5 15' stroke='%234c5c96' stroke-width='2.2' stroke-linecap='round' fill='none'/></svg>") !important;
	background-position: center !important;
	background-size: 18px 18px !important;
	background-repeat: no-repeat !important;
	color: transparent !important;
	border: 0 !important;
	border-bottom: 0 !important;
	transition: background-color .2s ease;
}
#menu .close:before { content: none !important; display: none !important; }
#menu .close:hover {
	background-color: var(--pss-blue) !important;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path d='M5 5 L15 15 M15 5 L5 15' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round' fill='none'/></svg>") !important;
}

/* Duty-line footnote inside the slide-in panel */
#menu .inner::after {
	content: "24-hour duty manager  ·  0345 300 9499";
	display: block;
	margin-top: 1.25em;
	padding-top: 1em;
	border-top: 1px solid var(--pss-border);
	font-family: "Source Sans 3", Helvetica, sans-serif;
	font-size: 0.72em;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--pss-blue);
	text-align: center;
}

/* ---------- Footer --------------------------------------- */
#footer {
	background: var(--pss-bg-soft) !important;
	color: var(--pss-ink) !important;
	/* Neutralise the Solid State dark-bg pull-up trick that adds
	   ~6.5em of empty top padding under 1280px (main.css:4066/4079).
	   Our footer is light-themed and sits flush with the section above. */
	margin-top: 0 !important;
	padding-top: 0 !important;
}
#footer:before { display: none !important; }
/* Tighten the inner top padding too — vendor default is 5em.  */
#footer .inner { padding-top: 3em !important; padding-bottom: 2em !important; }

/* =============================================================
   PSS form — status messages + success card
   Applied to forms with the .pss-form class (every form on the
   site once the mail endpoint is wired up).
   ============================================================= */
.pss-form__status {
	margin-top: 1em;
	min-height: 1.2em;
	font-size: 0.85em;
	font-weight: 600;
	letter-spacing: 0.02em;
}
.pss-form__status.is-error {
	color: #b32424;
	background: rgba(179, 36, 36, 0.08);
	border-left: 3px solid #b32424;
	padding: 0.6em 0.9em;
	border-radius: 4px;
}
.pss-form__status.is-success {
	color: var(--pss-blue-dk);
	background: rgba(76, 92, 150, 0.08);
	border-left: 3px solid var(--pss-blue);
	padding: 0.6em 0.9em;
	border-radius: 4px;
}

/* Replaces the form after a successful submit */
.pss-form__success {
	background: #ffffff;
	border: 1px solid var(--pss-border);
	border-radius: 12px;
	padding: 2.25em 2em;
	text-align: center;
	box-shadow: 0 8px 24px -8px rgba(76, 92, 150, 0.18);
	animation: fadeInUp 0.5s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.pss-form__success-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background: var(--pss-blue);
	color: #ffffff;
	margin-bottom: 1em;
	box-shadow: 0 8px 18px -6px rgba(76, 92, 150, 0.45);
}
.pss-form__success h3 {
	margin: 0 0 0.4em 0 !important;
	color: var(--pss-blue) !important;
	font-size: 1.4em;
	font-weight: 800;
	letter-spacing: -0.01em;
}
.pss-form__success p {
	margin: 0 0 0.6em 0 !important;
	color: var(--pss-ink) !important;
	font-size: 0.95em;
	line-height: 1.55;
}
.pss-form__success-cta {
	margin-top: 1em !important;
	color: var(--pss-ink-soft) !important;
	font-size: 0.85em !important;
}
.pss-form__success-cta a {
	color: var(--pss-blue) !important;
	font-weight: 700;
}

/* Rate-your-experience callout inside the success card */
.pss-form__rate-cta {
	margin: 1.4em auto 0.5em auto;
	max-width: 26em;
	padding: 1em 1.2em;
	background: var(--pss-bg-soft);
	border: 1px solid var(--pss-border);
	border-radius: 10px;
}
.pss-form__rate-title {
	margin: 0 0 0.2em 0 !important;
	color: var(--pss-blue) !important;
	font-weight: 800 !important;
	font-size: 1em !important;
}
.pss-form__rate-sub {
	margin: 0 0 0.8em 0 !important;
	color: var(--pss-ink-soft) !important;
	font-size: 0.85em !important;
	line-height: 1.5;
}
.pss-form__rate-btn {
	display: inline-block;
	padding: 0.55em 1.4em;
	background: var(--pss-blue);
	color: #fff !important;
	border-radius: 999px;
	font-weight: 700;
	font-size: 0.8em;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none !important;
	transition: background 0.15s ease;
}
.pss-form__rate-btn:hover,
.pss-form__rate-btn:focus {
	background: var(--pss-blue-dk);
	outline: none;
}

/* ===== Rating card on rate-experience.html ===== */
.rating-card-field { text-align: left; }
.rating-card-field__label { display: block !important; }

.rating-card {
	position: relative;
	margin: 0.5rem 0 0;
	max-width: 30rem;
	padding: 1.6rem 1.75rem 1.4rem;
	background: linear-gradient(180deg, #ffffff 0%, #fbfbfc 100%);
	border: 1px solid var(--pss-border);
	border-radius: 18px;
	box-shadow:
		0 1px 0 rgba(255,255,255,0.9) inset,
		0 1px 2px rgba(15,23,42,0.04),
		0 12px 36px -18px rgba(76,92,150,0.28);
	text-align: center;
	overflow: hidden;
}
.rating-card::before {
	content: '';
	position: absolute;
	inset: 0 0 auto 0;
	height: 3px;
	background: linear-gradient(90deg, transparent 0%, rgba(226,148,18,0.55) 50%, transparent 100%);
	opacity: 0.6;
}

.rating-card__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	margin: 0 0.2rem 1rem;
	font-family: "Source Sans 3", Helvetica, sans-serif;
	font-weight: 700;
	font-size: 0.62rem;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--pss-ink-soft);
}
.rating-card__head-low,
.rating-card__head-high {
	white-space: nowrap;
	opacity: 0.85;
}
.rating-card__head-rule {
	flex: 1;
	height: 1px;
	background: linear-gradient(90deg, var(--pss-border) 0%, var(--pss-border) 50%, transparent 100%);
}
.rating-card__head-high {
	background: linear-gradient(90deg, transparent 0%, var(--pss-border) 50%, var(--pss-border) 100%);
}
/* Tiny arrows flanking the labels */
.rating-card__head-low::after  { content: ' →'; opacity: 0.5; margin-left: 0.4em; }
.rating-card__head-high::before { content: '← ';  opacity: 0.5; margin-right: 0.4em; }
/* Replace the high label's gradient with normal flex-end alignment */
.rating-card__head-high { background: none; }

/* Star row — flex row-reverse so DOM 5..1 visually reads 1..5 left→right */
.rating-card__stars {
	display: flex !important;
	flex-direction: row-reverse;
	justify-content: center;
	align-items: center;
	gap: 0.3rem;
	padding: 0;
	line-height: 0;
	margin: 0 auto;
}
.rating-card__stars input[type="radio"] {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	margin: 0 !important;
	padding: 0 !important;
	opacity: 0 !important;
	pointer-events: none !important;
	float: none !important;
	clip: rect(0 0 0 0);
	overflow: hidden;
}
.rating-card__stars label {
	display: flex !important;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto !important;
	width: 3rem !important;
	height: 3rem !important;
	margin: 0 !important;
	padding: 0 !important;
	cursor: pointer !important;
	font-family: inherit !important;
	font-size: 0 !important;
	line-height: 0 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	background: transparent !important;
	border: 0 !important;
	position: static !important;
	float: none !important;
}
.rating-card__stars input[type="radio"] + label::before,
.rating-card__stars input[type="radio"] + label::after {
	content: none !important;
	display: none !important;
	background: none !important;
	border: 0 !important;
	width: 0 !important;
	height: 0 !important;
}
.rating-card__stars svg {
	width: 2.45rem;
	height: 2.45rem;
	fill: #d6dae3;
	transition:
		transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
		fill 0.22s ease,
		filter 0.22s ease;
	will-change: transform;
}
.rating-card__stars label:hover svg,
.rating-card__stars label:hover ~ label svg,
.rating-card__stars input[type="radio"]:checked ~ label svg {
	fill: url(#pssAmber);
	filter: drop-shadow(0 4px 8px rgba(217,119,6,0.30));
}
.rating-card__stars label:hover svg {
	transform: scale(1.12) rotate(-4deg);
}
.rating-card__stars label:active svg {
	transform: scale(0.92);
}
.rating-card__stars input[type="radio"]:focus-visible + label svg {
	outline: 2px solid var(--pss-blue);
	outline-offset: 3px;
	border-radius: 6px;
}

/* Numbers row mirroring the star widths */
.rating-card__numbers {
	display: flex;
	justify-content: space-between;
	width: calc(5 * 3rem + 4 * 0.3rem);
	margin: 0.55rem auto 0;
	padding: 0;
	font-family: "Source Sans 3", Helvetica, sans-serif;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	color: var(--pss-ink-soft);
}
.rating-card__numbers span {
	width: 3rem;
	text-align: center;
	opacity: 0.45;
	transition: opacity 0.2s ease, color 0.2s ease, transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.rating-card__numbers span.is-active {
	opacity: 1;
	color: var(--pss-blue);
	transform: translateY(-1px) scale(1.25);
}

/* Live readout */
.rating-card__readout {
	margin: 1.15rem 0 0 !important;
	padding-top: 0.95rem;
	min-height: 1.4em;
	border-top: 1px solid var(--pss-border);
	font-family: 'Source Sans 3', Helvetica, sans-serif !important;
	font-size: 0.94rem !important;
	font-weight: 300 !important;
	color: var(--pss-ink-soft) !important;
	letter-spacing: 0.01em !important;
	text-align: center !important;
	transition: opacity 0.18s ease;
}
.rating-card__readout em {
	font-style: italic;
	opacity: 0.75;
}
.rating-card__readout strong {
	display: inline-block;
	font-weight: 800 !important;
	color: var(--pss-blue) !important;
	font-style: normal;
	letter-spacing: 0.05em;
	margin-right: 0.15em;
}

@media (max-width: 520px) {
	.rating-card { padding: 1.25rem 1rem 1.15rem; border-radius: 14px; }
	.rating-card__head { font-size: 0.55rem; letter-spacing: 0.18em; }
	.rating-card__stars input[type="radio"],
	.rating-card__stars label { width: 2.5rem !important; height: 2.5rem !important; }
	.rating-card__stars input[type="radio"] { margin: 0 0 0 -2.5rem; }
	.rating-card__stars svg { width: 2rem; height: 2rem; }
	.rating-card__numbers { width: calc(5 * 2.5rem + 4 * 0.3rem); font-size: 0.65rem; }
	.rating-card__numbers span { width: 2.5rem; }
	.rating-card__readout { font-size: 0.88rem !important; }
}

/* The honeypot — fully invisible to humans */
.pss-form__honey {
	position: absolute !important;
	left: -9999px !important;
	top: -9999px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
	opacity: 0 !important;
	pointer-events: none !important;
}
/* CQC widget block in the footer — give it breathing room and let the
   widget-injected iframe size naturally without overflowing on mobile. */
.footer-cqc {
	margin: 1.25em 0 1em 0;
	padding-top: 1em;
	border-top: 1px solid var(--pss-border);
	min-height: 60px;
}
.footer-cqc iframe { max-width: 100% !important; border: 0 !important; }

/* RRN membership card in the footer — mirrors the CQC widget card above it
   (white card + bordered shell, soft inner panel, brand-coloured button). */
.footer-rrn { margin: 1em 0; }
.footer-rrn .rrn-card {
	background: #fff;
	border: 1px solid #e4e4e4;
	padding: 20px 15px;
	color: #333;
}
.footer-rrn .rrn-logo { border-bottom: none !important; display: inline-block; }
.footer-rrn .rrn-logo img { width: 96px; height: auto; display: block; }
.footer-rrn .rrn-inner {
	background: #f8f7f3;
	margin-top: 15px;
	padding: 10px 10px 15px;
	font-size: 0.9375rem;
}
.footer-rrn .rrn-label { margin: 0; color: #333 !important; }
.footer-rrn .rrn-status {
	display: inline-block;
	background: #7a4087;
	color: #fff;
	font-size: 1.125rem;
	letter-spacing: .75px;
	padding: 4px 16px;
	margin-top: 8px;
}
.footer-rrn .rrn-date { margin: 10px 0 0; color: #333 !important; font-size: 0.9375rem; }
.footer-rrn .rrn-note { margin: 10px 0 0; color: #333 !important; font-size: 0.9375rem; }
#footer .footer-rrn .rrn-btn {
	display: inline-block;
	position: relative;
	background: #fff;
	border: 1px solid #c9c6b9 !important;
	border-radius: 4px;
	box-shadow: 0 1px 2px #c9c6b9;
	color: #7a4087 !important;
	font-size: 0.9375rem;
	font-weight: 700;
	padding: 8px 30px 7px 10px;
	margin-top: 12px;
	text-decoration: none;
}
#footer .footer-rrn .rrn-btn::after {
	content: "";
	position: absolute;
	right: 12px;
	top: 50%;
	width: 7px;
	height: 7px;
	border-right: 2px solid #7a4087;
	border-top: 2px solid #7a4087;
	transform: translateY(-50%) rotate(45deg);
}
#footer .footer-rrn .rrn-btn:hover { background: #f8f7f3; color: #7a4087 !important; }

#footer h2, #footer h3, #footer p, #footer li, #footer label { color: var(--pss-ink) !important; }
#footer a { color: var(--pss-blue) !important; }
#footer .icon.solid:before { color: var(--pss-blue) !important; }
#footer .copyright li { color: var(--pss-ink-soft) !important; border-color: var(--pss-border) !important; }
#footer input, #footer textarea, #footer select {
	background: #fff !important;
	border: 1px solid var(--pss-border) !important;
	color: var(--pss-ink) !important;
}

/* =============================================================
   Image hover overlay — PSS blue wash + centred white logo mark.
   Reveal is a soft fade combined with a rotate-out-of-tilt, echoing
   the Secure Care UK reference. Applies to any clickable image link
   that uses the existing `a.image` convention in this codebase.
   ============================================================= */
a.image {
	position: relative;
	overflow: hidden;
	display: block;
}
/* Tinted blue wash */
a.image::before {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--pss-blue);
	opacity: 0;
	transform: rotate(45deg) scale(1.25);
	transform-origin: center;
	transition:
		opacity 0.35s ease,
		transform 0.5s cubic-bezier(0.2, 0.7, 0.3, 1);
	pointer-events: none;
	z-index: 2;
}
/* Centred white logo mark */
a.image::after {
	content: "";
	position: absolute;
	inset: 0;
	background: url("../../images/pss-logo-white.png") center center no-repeat;
	background-size: clamp(64px, 22%, 128px) auto;
	opacity: 0;
	transform: rotate(20deg) scale(0.8);
	transform-origin: center;
	transition:
		opacity 0.45s ease 0.05s,
		transform 0.55s cubic-bezier(0.2, 0.7, 0.3, 1) 0.05s;
	pointer-events: none;
	z-index: 3;
}
a.image:hover::before,
a.image:focus-visible::before {
	opacity: 0.82;
	transform: rotate(0deg) scale(1);
}
a.image:hover::after,
a.image:focus-visible:after {
	opacity: 1;
	transform: rotate(0deg) scale(1);
}
/* Respect users who prefer no motion — keep the visual cue but skip
   the rotate/scale animation. */
@media (prefers-reduced-motion: reduce) {
	a.image::before,
	a.image::after { transform: none !important; transition: opacity 0.25s ease !important; }
}

/* Features (Marula House cards) */
.features article {
	background: #fff !important;
	border: 1px solid var(--pss-border) !important;
}
.features article h3, .features article p { color: var(--pss-ink) !important; }

/* =============================================================
   Accreditations strip — full-width continuous marquee.
   Logos slide horizontally on an infinite loop. The track is
   duplicated in markup; the animation moves it by -50% of its
   own width so the second half lines up exactly where the first
   half started — seamless loop with no JavaScript.
   ============================================================= */
.accreditations-strip {
	background: var(--pss-bg-soft);
	padding: 4.25em 0;                  /* vertical only — marquee is edge-to-edge */
	border-top: 1px solid var(--pss-border);
	border-bottom: 1px solid var(--pss-border);
	overflow: hidden;                   /* clip the wider-than-viewport track */
}
.accreditations-strip .strip-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 1.5em;                   /* horizontal padding for heading only */
	text-align: center;
}
.accreditations-strip h2 {
	font-family: "Source Sans 3", Helvetica, sans-serif;
	font-size: 1.05em;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--pss-ink-soft);
	margin-bottom: 2em;
}

/* Marquee */
@keyframes accred-marquee {
	from { transform: translate3d(0, 0, 0); }
	to   { transform: translate3d(-50%, 0, 0); }   /* duplicated track */
}

/* Carousel shell holds the marquee + the prev/next controls. The
   buttons sit OUTSIDE the marquee so the edge-fade mask doesn't fade
   them. They're hidden until JS upgrades the strip to interactive. */
.accred-carousel { position: relative; }
.accred-nav {
	display: none;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 5;
	width: 42px;
	height: 42px;
	border: 0;
	border-radius: 50%;
	cursor: pointer;
	align-items: center;
	justify-content: center;
	background: #fff;
	color: var(--pss-blue);
	box-shadow: 0 4px 14px -2px rgba(76, 92, 150, 0.35);
	transition: background-color .15s ease, color .15s ease, transform .15s ease;
}
.accred-nav--prev { left: 10px; }
.accred-nav--next { right: 10px; }
/* Arrow glyphs — clear left/right arrows that render in any font */
.accred-nav .chev {
	display: block;
	font-size: 22px;
	line-height: 1;
	font-weight: 700;
}
.accred-nav--prev .chev::before { content: "\2190"; }   /* ← */
.accred-nav--next .chev::before { content: "\2192"; }   /* → */
.accred-nav:hover { background: var(--pss-blue); color: #fff; }
.accred-nav:active { transform: translateY(-50%) scale(0.94); }
.accred-carousel.is-interactive .accred-nav { display: flex; }
/* JS drives the transform directly in interactive mode */
.accred-carousel.is-interactive .accred-marquee__track { animation: none !important; }

.accred-marquee {
	position: relative;
	width: 100%;
	overflow: hidden;
	/* Soft fade-out at the left and right edges so logos slide
	   in/out instead of being chopped at a hard line. */
	-webkit-mask-image: linear-gradient(
		to right,
		transparent 0,
		#000 80px,
		#000 calc(100% - 80px),
		transparent 100%
	);
	mask-image: linear-gradient(
		to right,
		transparent 0,
		#000 80px,
		#000 calc(100% - 80px),
		transparent 100%
	);
}

.accred-marquee__track {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: 4em;
	width: max-content;                  /* sized by content */
	margin: 0;
	padding: 0.5em 2em !important;
	list-style: none;
	animation: accred-marquee 80s linear infinite;
	will-change: transform;
}

.accred-marquee:hover .accred-marquee__track,
.accred-marquee:focus-within .accred-marquee__track {
	animation-play-state: paused;
}

.accred-marquee__item {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 140px;
	padding: 0;
	margin: 0;
}
.accred-marquee__item img {
	max-height: 80px;
	max-width: 220px;
	width: auto;
	height: auto;
	object-fit: contain;
	filter: none;
	opacity: 0.95;
	transition: opacity 0.2s ease, transform 0.2s ease;
}
.accred-marquee__item img:hover {
	opacity: 1;
	transform: translateY(-2px) scale(1.03);
}

/* Mobile tweaks — denser strip, slightly faster loop */
@media screen and (max-width: 640px) {
	.accreditations-strip { padding: 2.75em 0; }
	.accred-marquee__track {
		gap: 2.5em;
		animation-duration: 56s;
	}
	.accred-marquee__item { min-width: 100px; }
	.accred-marquee__item img { max-height: 60px; max-width: 160px; }
	.accred-marquee {
		-webkit-mask-image: linear-gradient(
			to right,
			transparent 0,
			#000 32px,
			#000 calc(100% - 32px),
			transparent 100%
		);
		mask-image: linear-gradient(
			to right,
			transparent 0,
			#000 32px,
			#000 calc(100% - 32px),
			transparent 100%
		);
	}
}

/* Reduced motion: stop the auto-scroll and wrap the logos into
   a centred row that's visible without any movement. */
@media (prefers-reduced-motion: reduce) {
	.accred-marquee { -webkit-mask-image: none; mask-image: none; }
	.accred-marquee__track {
		animation: none !important;
		width: 100%;
		flex-wrap: wrap;
		justify-content: center;
		gap: 2.5em 3em;
	}
}

/* =============================================================
   New component: Testimonials
   ============================================================= */
.testimonials {
	background: var(--pss-bg-soft);
	padding: 4em 1.5em;
}
.testimonials .t-inner {
	max-width: 1200px;
	margin: 0 auto;
}
.testimonials h2 {
	text-align: center;
	margin-bottom: 0.25em;
}
.testimonials .t-sub {
	text-align: center;
	color: var(--pss-ink-soft) !important;
	margin-bottom: 2.5em;
	max-width: 60ch;
	margin-left: auto;
	margin-right: auto;
}
.testimonials .t-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5em;
}
.testimonial-card {
	background: #ffffff;
	border: 1px solid var(--pss-border);
	border-left: 4px solid var(--pss-blue);
	border-radius: 8px;
	padding: 1.75em 1.5em 1.5em;
	position: relative;
	box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}
.testimonial-card:before {
	content: "\201C";
	position: absolute;
	top: -0.15em;
	left: 0.35em;
	font-family: Georgia, serif;
	font-size: 4em;
	line-height: 1;
	color: var(--pss-blue);
	opacity: 0.18;
}
.testimonial-card .stars {
	color: #f5a623;
	font-size: 0.9em;
	margin-bottom: 0.85em;
	letter-spacing: 0.1em;
}
.testimonial-card blockquote {
	margin: 0 0 1em 0;
	padding: 0;
	border: 0;
	font-size: 1em;
	line-height: 1.55;
	color: var(--pss-ink) !important;
	font-style: italic;
}
.testimonial-card .t-author {
	font-weight: 700;
	color: var(--pss-ink) !important;
	font-size: 0.95em;
}
.testimonial-card .t-role {
	color: var(--pss-ink-soft) !important;
	font-size: 0.85em;
}
@media screen and (max-width: 1023px) {
	.testimonials .t-grid { grid-template-columns: repeat(2, 1fr); }
}
@media screen and (max-width: 720px) {
	.testimonials { padding: 4.25em 0; }
	.testimonials .t-inner { padding: 0; }
	.testimonials h2, .testimonials .t-sub { padding: 0 1.25em; }
	.testimonials .t-grid {
		display: flex;
		grid-template-columns: none;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		gap: 1em;
		padding: 0.5em 1.25em 1.5em;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
	}
	.testimonials .t-grid::-webkit-scrollbar { display: none; }
	.testimonial-card {
		flex: 0 0 85%;
		scroll-snap-align: center;
	}
}

/* =============================================================
   New component: Nationwide Coverage
   ============================================================= */
.nationwide {
	background: var(--pss-bg-soft);
	padding: 4em 1.5em;
}
.nationwide .n-inner {
	max-width: 1200px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4.25em;
	align-items: center;
}
.nationwide .n-text h2 {
	margin-bottom: 0.5em;
	font-size: 1.9em;
	line-height: 1.2;
}
.nationwide .n-text h2 .accent { color: var(--pss-blue) !important; }
.nationwide .n-text p {
	color: var(--pss-ink-soft) !important;
	margin-bottom: 1.25em;
}
.nationwide .n-text ul:not(.actions) {
	list-style: none;
	padding: 0;
	margin: 0 0 1.5em 0;
}
.nationwide .n-text ul:not(.actions) li {
	padding-left: 1.5em;
	position: relative;
	margin-bottom: 0.5em;
	color: var(--pss-ink) !important;
}
.nationwide .n-text ul:not(.actions) li:before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.55em;
	width: 0.55em;
	height: 0.55em;
	background: var(--pss-blue);
	border-radius: 50%;
}
.nationwide .n-map {
	background: var(--pss-bg-soft);
	border-radius: 12px;
	padding: 1.5em;
	display: flex;
	align-items: center;
	justify-content: center;
}
.nationwide .n-map img {
	width: 100%;
	max-width: 320px;
	height: auto;
	display: block;
	filter: drop-shadow(0 8px 22px rgba(76, 92, 150, 0.20));
}
@media screen and (max-width: 900px) {
	.nationwide .n-inner {
		grid-template-columns: 1fr;
		gap: 2em;
	}
	.nationwide .n-text { order: 1; }
	.nationwide .n-map  { order: 2; }
}
@media screen and (max-width: 640px) {
	.nationwide { padding: 4.25em 1em; }
	.nationwide .n-text h2 { font-size: 1.5em; }
}

/* =============================================================
   Mobile touch targets — generic safety net
   ============================================================= */
@media screen and (max-width: 736px) {
	body, input, select, textarea { font-size: 16px !important; }
	.button, input[type="submit"], a.button { min-height: 44px; line-height: 44px !important; }
}

/* ---------- Full-width hero images (added 2026-05-12) ----------
   The light theme above forces #banner to a white gradient and
   #wrapper > header to background-image:none with !important.
   These rules re-enable per-page hero images on elements that
   opt in via class="hero" + a --hero-image CSS variable.       */

#banner.hero,
#wrapper > header.hero {
	background-color: #2e3141 !important;
	background-image:
		linear-gradient(to bottom, rgba(26, 32, 50, 0.55) 0%, rgba(26, 32, 50, 0.82) 100%),
		var(--hero-image) !important;
	background-size: cover, cover !important;
	background-position: center, center !important;
	background-repeat: no-repeat, no-repeat !important;
	background-attachment: scroll, scroll !important;
	border-bottom: none !important;
	color: #ffffff !important;
}

#banner.hero {
	min-height: 60vh !important;
	padding: 7em 2em 5em !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
}

#banner.hero .inner,
#banner.hero h2,
#banner.hero h2 *,
#banner.hero p {
	color: #ffffff !important;
}
#banner.hero p a {
	color: #ffffff !important;
	border-bottom-color: rgba(255, 255, 255, 0.5) !important;
}
#banner.hero .logo img {
	filter: brightness(0) invert(1) !important;
}

#wrapper > header.hero {
	min-height: 42vh !important;
	padding: 7em 2em 4em !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	text-align: center !important;
}
#wrapper > header.hero .inner {
	width: 100%;
	max-width: 55em;
	margin: 0 auto !important;
	text-align: center !important;
}
#wrapper > header.hero h2 {
	color: #ffffff !important;
	border-bottom-color: rgba(255, 255, 255, 0.85) !important;
	display: inline-block !important;
	text-align: center !important;
}
#wrapper > header.hero p {
	color: rgba(255, 255, 255, 0.92) !important;
	text-align: center !important;
}

@media screen and (max-width: 736px) {
	#banner.hero {
		min-height: 70vh !important;
		padding: 5em 1.25em 4em !important;
	}
	#wrapper > header.hero {
		min-height: 38vh !important;
		padding-top: 5em !important;
		padding-bottom: 3em !important;
	}
}

/* ---------- Contact page: map block with embedded address ---------- */
.map-block {
	display: grid;
	grid-template-columns: minmax(220px, 1fr) 2fr;
	gap: 1.25em;
	align-items: stretch;
	background: var(--pss-bg-soft);
	border: 1px solid var(--pss-border);
	border-radius: 8px;
	padding: 1em;
}

.map-block .map-address {
	font-style: normal;
	color: var(--pss-ink);
	line-height: 1.55;
	padding: 0.5em 0.25em;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.map-block .map-address strong {
	color: var(--pss-ink);
	display: block;
	margin-bottom: 0.35em;
}

.map-block .map-frame {
	position: relative;
	padding-bottom: 56.25%;
	height: 0;
	overflow: hidden;
	border-radius: 6px;
	min-height: 280px;
}

.map-block .map-frame iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

@media screen and (max-width: 736px) {
	.map-block {
		grid-template-columns: 1fr;
		gap: 0.75em;
		padding: 0.85em;
	}
	.map-block .map-frame {
		padding-bottom: 70%;
		min-height: 240px;
	}
}

/* ---------- Bookings & referrals: full-width form CTA per card ----- */
.features article {
	display: flex;
	flex-direction: column;
	padding-bottom: 1.5em !important;
}
.features article p {
	flex-grow: 1;
}
.features article > .button.fit {
	margin-top: 1em;
}

/* ---------- Booking form: step strip + sectioned card layout ---------- */

/* Step strip — horizontal numbered checklist above the form. */
.form-steps {
	list-style: none;
	padding: 0 !important;
	margin: 0 0 2.5em !important;
	display: flex;
	gap: 0;
	counter-reset: step;
	background: var(--pss-bg);
	border: 1px solid var(--pss-border);
	border-radius: 8px;
	overflow: hidden;
}

.form-steps li {
	flex: 1 1 0;
	display: flex;
	align-items: center;
	gap: 0.6em;
	padding: 0.9em 1em;
	font-family: "Source Sans 3", Helvetica, sans-serif;
	font-size: 0.85em;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--pss-ink-soft) !important;
	background: var(--pss-bg);
	position: relative;
	border-right: 1px solid var(--pss-border);
	min-height: 56px;
	counter-increment: step;
}
.form-steps li:last-child { border-right: 0; }

.form-steps li::before {
	content: counter(step);
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.9em;
	height: 1.9em;
	border-radius: 999px;
	background: var(--pss-bg-soft);
	border: 1px solid var(--pss-border);
	color: var(--pss-ink-soft);
	font-weight: 700;
	font-size: 0.95em;
	line-height: 1;
}

.form-steps li.is-active,
.form-steps li:hover {
	color: var(--pss-blue) !important;
	background: var(--pss-bg-soft);
}
.form-steps li.is-active::before,
.form-steps li:hover::before {
	background: var(--pss-blue);
	border-color: var(--pss-blue);
	color: #fff;
}

/* Section card — each fieldset becomes its own white card with a numbered legend. */
.pss-form .form-section {
	border: 1px solid var(--pss-border) !important;
	border-radius: 8px;
	padding: 1.5em 1.75em 0.5em !important;
	margin: 0 0 1.75em !important;
	background: #fff !important;
	box-shadow: 0 1px 2px rgba(26, 26, 26, 0.04);
}
.pss-form .form-section > legend {
	font-family: "Source Sans 3", Helvetica, sans-serif;
	font-weight: 700;
	font-size: 0.95em;
	color: var(--pss-ink) !important;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	padding: 0 0.6em;
	margin-left: -0.6em;
	display: inline-flex;
	align-items: center;
	gap: 0.6em;
}
.pss-form .form-section > legend::before {
	content: attr(data-step);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.7em;
	height: 1.7em;
	border-radius: 999px;
	background: var(--pss-blue);
	color: #fff;
	font-weight: 700;
	font-size: 0.85em;
	line-height: 1;
}

/* Help text under section legend */
.pss-form .form-section > .form-section__hint {
	margin: -0.25em 0 1em !important;
	font-size: 0.85em;
	color: var(--pss-ink-soft) !important;
}

/* Submit row — full-width primary, drop the reset button */
.pss-form .actions {
	margin-top: 0.5em !important;
}
.pss-form .actions li:has(input[type="reset"]),
.pss-form .actions li > input[type="reset"] { display: none !important; }
.pss-form .actions input[type="submit"].primary {
	width: 100%;
	min-height: 52px;
	font-size: 1em;
	letter-spacing: 0.08em;
}

/* Hint line above the form */
.form-intro {
	margin: 0 0 1.5em !important;
	color: var(--pss-ink-soft) !important;
}

/* Required-field asterisk on labels */
.pss-form label[data-required]::after {
	content: " *";
	color: #c0392b;
	font-weight: 700;
}

/* Sticky mobile submit */
@media screen and (max-width: 736px) {
	.form-steps {
		flex-wrap: wrap;
	}
	.form-steps li {
		flex: 1 1 50%;
		border-right: 1px solid var(--pss-border);
		border-bottom: 1px solid var(--pss-border);
		font-size: 0.75em;
		padding: 0.7em 0.85em;
		min-height: 48px;
	}
	.form-steps li:nth-child(even) { border-right: 0; }
	.form-steps li:nth-last-child(-n+2) { border-bottom: 0; }
	.pss-form .form-section {
		padding: 1.25em 1.1em 0.35em !important;
	}
}

/* ---------- Multi-step booking flow ---------- */

/* When the form is JS-controlled, only the active section is visible. */
.pss-form.is-stepped .form-section {
	display: none;
}
.pss-form.is-stepped .form-section.is-active {
	display: block;
	animation: stepFadeIn 0.25s ease-out;
}

@keyframes stepFadeIn {
	from { opacity: 0; transform: translateY(6px); }
	to   { opacity: 1; transform: translateY(0); }
}

/* Step indicator states */
.form-steps li {
	cursor: default;
}
.form-steps li.is-clickable {
	cursor: pointer;
}
.form-steps li.is-complete {
	color: var(--pss-ink) !important;
	background: var(--pss-bg);
}
.form-steps li.is-complete::before {
	content: "\2713"; /* check */
	background: #2ecc71 !important;
	border-color: #2ecc71 !important;
	color: #fff !important;
	font-size: 0.85em;
}
.form-steps li.is-active {
	color: var(--pss-blue) !important;
	background: var(--pss-bg-soft);
}
.form-steps li.is-active::before {
	background: var(--pss-blue) !important;
	border-color: var(--pss-blue) !important;
	color: #fff !important;
	box-shadow: 0 0 0 4px rgba(76, 92, 150, 0.18);
}

/* Step indicator links are now decorative (the JS owns the click target) */
.form-steps li > a,
.form-steps li > a:hover {
	color: inherit !important;
	border-bottom: 0 !important;
	text-decoration: none;
	flex: 1;
}

/* Step nav row inside each fieldset — Back / progress / Next */
.step-nav {
	display: flex;
	gap: 0.75em;
	align-items: center;
	justify-content: space-between;
	margin: 1.25em 0 0 !important;
	padding-top: 1.25em;
	border-top: 1px solid var(--pss-border);
}
.step-nav .step-counter {
	font-size: 0.8em;
	color: var(--pss-ink-soft) !important;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	font-weight: 600;
}
.step-nav .button,
.step-nav input[type="submit"] {
	min-width: 9em;
	min-height: 44px;
}
.step-nav .step-back {
	background: transparent !important;
	color: var(--pss-blue) !important;
	border: 1px solid var(--pss-border) !important;
	box-shadow: none !important;
}
.step-nav .step-back:hover {
	background: var(--pss-bg-soft) !important;
	border-color: var(--pss-blue) !important;
}
.step-nav .step-back[hidden] { display: none !important; }

/* Validation hint when user hits Next with empty required fields */
.form-section.has-error {
	border-color: #c0392b !important;
	box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.08);
}
.form-section .field-error {
	color: #c0392b !important;
	font-size: 0.85em;
	margin: 0.4em 0 0 !important;
	font-weight: 600;
}
.pss-form input.has-error,
.pss-form select.has-error,
.pss-form textarea.has-error {
	border-color: #c0392b !important;
	box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.15) !important;
}

/* In the stepped flow we no longer want the legacy <ul class="actions">
   inside step-4 — the step-nav row replaces it. The JS hides this; the
   CSS provides a fallback. */
.pss-form.is-stepped .form-section .actions {
	display: none;
}

@media screen and (max-width: 480px) {
	.step-nav {
		flex-wrap: wrap;
		gap: 0.5em;
	}
	.step-nav .step-counter {
		flex-basis: 100%;
		text-align: center;
		order: -1;
	}
	.step-nav .button,
	.step-nav input[type="submit"] {
		flex: 1 1 0;
		min-width: 0;
	}
}

/* ============================================================
   Booking form: progress-bar style step indicator
   Replaces the earlier .form-steps chip strip with a horizontal
   track + numbered circles + animated fill, modelled on the
   CruisingSA reseller booking form.
   ============================================================ */

.form-steps {
	--progress: 0%;
	--circle-size: 40px;
	--side-pad: 2.5em;

	list-style: none !important;
	padding: 1.4em var(--side-pad) 0.9em !important;
	margin: 0 0 2.5em !important;
	display: flex !important;
	justify-content: space-between !important;
	align-items: flex-start !important;
	position: relative;
	background: #fff !important;
	border: 1px solid var(--pss-border) !important;
	border-radius: 8px !important;
	overflow: visible !important;
	counter-reset: step;
}

/* Grey background track */
.form-steps::before {
	content: '';
	position: absolute;
	top: calc(1.4em + (var(--circle-size) / 2) - 2px);
	left: var(--side-pad);
	right: var(--side-pad);
	height: 4px;
	background: var(--pss-border);
	border-radius: 2px;
	z-index: 1;
}

/* Coloured fill that grows with --progress */
.form-steps::after {
	content: '';
	position: absolute;
	top: calc(1.4em + (var(--circle-size) / 2) - 2px);
	left: var(--side-pad);
	width: calc((100% - (var(--side-pad) * 2)) * var(--progress));
	height: 4px;
	background: linear-gradient(90deg, var(--pss-blue), #6577b7);
	border-radius: 2px;
	z-index: 2;
	transition: width 0.4s ease;
}

.form-steps li {
	flex: 0 1 auto !important;
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	gap: 0.55em;
	position: relative;
	z-index: 3;
	counter-increment: step;
	background: transparent !important;
	border: 0 !important;
	padding: 0 !important;
	margin: 0 !important;
	min-height: 0 !important;
	text-transform: none !important;
	letter-spacing: normal !important;
	font-size: 0.85em !important;
	font-weight: 500 !important;
	color: #999 !important;
	cursor: default;
	text-align: center;
	max-width: 9em;
}

.form-steps li::before {
	content: counter(step);
	display: flex;
	align-items: center;
	justify-content: center;
	width: var(--circle-size);
	height: var(--circle-size);
	border-radius: 50%;
	background: var(--pss-border);
	border: 0;
	color: #999;
	font-weight: 700;
	font-size: 1em;
	transition: all 0.3s ease;
	margin: 0;
}

.form-steps li.is-active {
	color: var(--pss-blue) !important;
	font-weight: 600 !important;
}
.form-steps li.is-active::before {
	background: var(--pss-blue);
	color: #fff;
	transform: scale(1.1);
	box-shadow: 0 0 0 6px rgba(76, 92, 150, 0.15);
}

.form-steps li.is-complete {
	color: var(--pss-ink) !important;
}
.form-steps li.is-complete::before {
	content: "\2713";
	background: #2ecc71;
	color: #fff;
	font-size: 1.05em;
	transform: none;
	box-shadow: none;
}

.form-steps li.is-clickable {
	cursor: pointer;
}

/* The legacy <a> inside each <li> is now just label text. */
.form-steps li > a,
.form-steps li > a:hover {
	color: inherit !important;
	background: transparent !important;
	border: 0 !important;
	border-bottom: 0 !important;
	text-decoration: none !important;
	padding: 0 !important;
	font: inherit !important;
	letter-spacing: inherit !important;
	text-transform: none !important;
}

@media screen and (max-width: 736px) {
	.form-steps {
		--circle-size: 32px;
		--side-pad: 1.2em;
		padding: 1em var(--side-pad) 0.7em !important;
		flex-wrap: nowrap !important;
	}
	.form-steps li {
		font-size: 0.72em !important;
		max-width: 6em;
		gap: 0.4em;
	}
	.form-steps li > a { font-size: inherit !important; }
}

@media screen and (max-width: 480px) {
	.form-steps li > a {
		display: -webkit-box;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
		overflow: hidden;
		line-height: 1.15;
	}
}

/* ---------- Radio + checkbox: render natively on light theme ----------
   The Solid State template hides the native control (opacity:0, z-index:-1)
   and draws a fake one via `+ label::before`. That fake one uses near-white
   colours that disappear on this light theme. We undo the hide and remove
   the fake so the user can see (and tap) real radio dots / check boxes. */

input[type="checkbox"],
input[type="radio"] {
	-moz-appearance: auto !important;
	-webkit-appearance: auto !important;
	appearance: auto !important;
	opacity: 1 !important;
	width: 20px !important;
	height: 20px !important;
	margin: 0 0.5em 0 0 !important;
	vertical-align: middle !important;
	float: none !important;
	position: static !important;
	z-index: auto !important;
	accent-color: var(--pss-blue) !important;
	cursor: pointer;
}

/* Kill the fake circle/square the template draws on the next label */
input[type="checkbox"] + label::before,
input[type="radio"] + label::before {
	content: none !important;
	display: none !important;
	background: transparent !important;
	border: 0 !important;
	width: 0 !important;
	height: 0 !important;
	position: static !important;
}

input[type="checkbox"] + label,
input[type="radio"] + label {
	color: var(--pss-ink) !important;
	cursor: pointer !important;
	padding-left: 0 !important;
	padding-right: 1.25em !important;
	display: inline-flex !important;
	align-items: center;
	gap: 0.35em;
	font-weight: 500;
	border-bottom: 0 !important;
}

/* =====================================================================
   Booking form UI — segmented pill controls + responsive field grid
   Scoped to `.form-section` so ONLY the five booking forms are affected
   (the footer contact form, feedback form and rate-experience star
   widget don't use .form-section and stay exactly as they are). This
   block is appended last on purpose: source order + the extra
   `.form-section .field` specificity let it win over the native-control
   rules above without needing to touch them.
   ===================================================================== */

/* 1. Real two-column grid for booking fields. The base template grid is
   scoped `form > .fields`, but booking .fields sit inside a <fieldset>,
   so it never reached them — every field stacked full width. */
.form-section .fields {
	display: flex;
	flex-wrap: wrap;
	gap: 1.25em 1.5em;
	width: 100%;
	margin: 0 0 0.5em;
}
.form-section .fields > .field {
	flex: 1 1 100%;
	margin: 0;
}
/* Every question stacks on its own row (no two-column pairing). */
.form-section .fields > .field.half {
	flex: 1 1 100%;
	min-width: 0;
}

/* 2. Hide the native radio/checkbox but keep it focusable + operable
   (arrow-key selection, screen readers). Overrides the !important
   reveal rules above via later source order + higher specificity. */
.form-section .field input[type="radio"],
.form-section .field input[type="checkbox"] {
	position: absolute !important;
	opacity: 0 !important;
	width: 1px !important;
	height: 1px !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	clip-path: inset(50%);
	overflow: hidden;
	pointer-events: none;
}

/* 3. Turn each choice group into a wrapping row of pills; the question
   prompt (the label with no `for`) spans the full width above them. */
.form-section .field:has(> input[type="radio"]),
.form-section .field:has(> input[type="checkbox"]) {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5em 0.6em;
	align-items: stretch;
}
.form-section .field:has(> input[type="radio"]) > label:not([for]),
.form-section .field:has(> input[type="checkbox"]) > label:not([for]) {
	flex: 0 0 100%;
	margin: 0 0 0.15em;
}

/* 4. Pill styling — only labels that immediately follow a radio/checkbox
   (i.e. genuine option labels; plain-input labels sit BEFORE the input
   and are never matched). */
.form-section .field input[type="radio"] + label,
.form-section .field input[type="checkbox"] + label {
	flex: 1 1 auto;
	min-width: 5.5em;
	justify-content: center;
	text-align: center;
	white-space: normal;
	padding: 0.6em 1.1em !important;
	min-height: 44px;
	/* !important on all four sides: an earlier global rule sets
	   `input + label { border-bottom: 0 !important }`, which would otherwise
	   strip the pill's bottom edge and make it look faded/open at the base. */
	border: 1.5px solid var(--pss-border) !important;
	border-radius: 999px;
	background: #fff;
	box-shadow: none !important;
	font-weight: 600 !important;
	color: var(--pss-ink-soft) !important;
	transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
/* checkboxes are multi-select — a squarer pill hints at that */
.form-section .field input[type="checkbox"] + label {
	border-radius: 8px;
}
/* hover on an unselected pill */
.form-section .field input[type="radio"]:not(:checked) + label:hover,
.form-section .field input[type="checkbox"]:not(:checked) + label:hover {
	border-color: var(--pss-blue) !important;
	color: var(--pss-blue) !important;
}
/* selected pill = solid brand blue tint (flat — no shadow) */
.form-section .field input[type="radio"]:checked + label,
.form-section .field input[type="checkbox"]:checked + label {
	border-color: var(--pss-blue) !important;
	background: rgba(76, 92, 150, 0.10);
	color: var(--pss-blue) !important;
}
/* keyboard focus ring lands on the pill (native control is hidden) */
.form-section .field input[type="radio"]:focus-visible + label,
.form-section .field input[type="checkbox"]:focus-visible + label {
	box-shadow: 0 0 0 3px rgba(76, 92, 150, 0.30) !important;
}

/* 5. "Pick up time or ASAP" — keep the time box and the ASAP pill on one
   row (they wrap under each other on narrow screens). */
.form-section .field[data-require-one] {
	align-items: center;
}
.form-section .field[data-require-one] input[type="time"] {
	flex: 1 1 12em;
	width: auto !important;
	min-width: 10em;
}
.form-section .field[data-require-one] input[type="checkbox"] + label {
	flex: 0 1 auto;
}

/* 6. Graded-risk colour coding (young-person form): Low/Medium/High get
   green/amber/red when selected. `value` is unique to these rows, and
   the text label carries the meaning too, so it stays accessible. */
.form-section .field input[value="Low"]:checked + label {
	border-color: #2ecc71 !important;
	background: rgba(46, 204, 113, 0.12);
	color: #1e8f4e !important;
}
.form-section .field input[value="Medium"]:checked + label {
	border-color: #e0a100 !important;
	background: rgba(224, 161, 0, 0.14);
	color: #946a00 !important;
}
.form-section .field input[value="High"]:checked + label {
	border-color: #c0392b !important;
	background: rgba(192, 57, 43, 0.12);
	color: #b23124 !important;
}

/* 7. Error state — booking-steps.js sets .has-error on the field div
   (checkbox/one-of groups) or the first radio input (radio groups). */
.form-section .field.has-error input[type="radio"] + label,
.form-section .field.has-error input[type="checkbox"] + label,
.form-section .field input.has-error + label {
	border-color: #c0392b !important;
}
.form-section .field.has-error > label:not([for]) {
	color: #c0392b;
}

/* 8. Sub-headings ("Pick up information" / "Destination information") —
   bare <h4> between field groups; make them read as clear dividers. */
/* ID-level specificity + !important to beat the `#wrapper h4` serif rule
   and the `h1..h6 { color !important }` rule earlier in this file. */
#wrapper .form-section h4 {
	flex: 0 0 100%;
	width: 100%;
	font-family: "Source Sans 3", Helvetica, Arial, sans-serif !important;
	font-size: 0.9em;
	font-weight: 700 !important;
	text-transform: uppercase !important;
	letter-spacing: 0.08em !important;
	color: var(--pss-blue) !important;
	margin: 1.75em 0 0.25em;
	padding-top: 1em;
	border-top: 1px solid var(--pss-border);
}

/* 9. Question icons — small decorative line icon before each field label
   (injected by assets/js/form-icons.js). */
.pss-form .q-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.25em;
	height: 1.25em;
	margin-right: 0.55em;
	vertical-align: -0.28em;
	color: var(--pss-blue);
	opacity: 0.85;
	flex: 0 0 auto;
}
.pss-form .q-icon svg {
	width: 100%;
	height: 100%;
	display: block;
}

/* Obfuscated email links render as a compact "Email now" button (the raw
   address is never shown as text). The recruitment .button primary keeps its
   own styling, so scope this to plain .pss-mail links. */
.pss-mail:not(.button) {
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
	padding: 0.32em 0.9em;
	border: 1.5px solid var(--pss-blue) !important;
	border-radius: 999px;
	color: var(--pss-blue) !important;
	font-weight: 600;
	font-size: 0.9em;
	line-height: 1.3;
	text-decoration: none !important;
	border-bottom: 1.5px solid var(--pss-blue) !important;
	transition: background-color 0.15s ease, color 0.15s ease;
}
.pss-mail:not(.button)::before {
	content: "";
	width: 1.05em;
	height: 1.05em;
	flex: 0 0 auto;
	background-color: currentColor;
	-webkit-mask: no-repeat center / contain url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z"/><polyline points="22,6 12,13 2,6"/></svg>');
	mask: no-repeat center / contain url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z"/><polyline points="22,6 12,13 2,6"/></svg>');
}
.pss-mail:not(.button):hover,
.pss-mail:not(.button):focus {
	background: var(--pss-blue);
	color: #ffffff !important;
}
/* In the footer, `#footer a { color: … !important }` (ID specificity) would
   otherwise keep the text blue on hover — this ID-scoped rule wins so the
   hover text goes white, matching the contact-form button. */
#footer .pss-mail:not(.button):hover,
#footer .pss-mail:not(.button):focus {
	color: #ffffff !important;
}
/* In the footer contact list the <li class="icon fa-envelope"> already shows an
   envelope, so drop the button's own icon there to avoid doubling up. */
.icon .pss-mail:not(.button)::before {
	display: none;
}

/* Clickable block titles — a heading wrapped in <a class="title-link"> that
   points to the same page as the block's button. Looks identical to the
   heading; turns brand-blue on hover/focus so it reads as clickable. */
.title-link {
	color: inherit !important;
	text-decoration: none !important;
	border-bottom: 0 !important;
	transition: color 0.15s ease;
}
.title-link:hover,
.title-link:focus {
	color: var(--pss-blue) !important;
}

/* 10. Per-field validation message (set by booking-steps.js on blur / Next). */
.pss-form .field-msg {
	flex: 0 0 100%;
	width: 100%;
	margin: 0.45em 0 0;
	color: #c0392b;
	font-size: 0.85em;
	font-weight: 600;
	line-height: 1.4;
}
.pss-form .field-msg[hidden] {
	display: none;
}

/* Conditional booking-form fields (data-show-when) collapse fully when hidden,
   overriding the flex layout on .form-section .fields > .field (added 2026-07-28). */
.form-section .field[hidden] { display: none !important; }

/* ---------- Parallax (added 2026-08-07, pss7 only) ----------
   Heroes: classic fixed-background parallax. Desktop/fine-pointer only —
   background-attachment:fixed is broken on iOS/Android, and we honour
   prefers-reduced-motion. Must follow the hero block above to out-cascade
   its `scroll, scroll !important`. Gradient layer stays scroll (it must
   travel with the element); only the photo layer fixes. */
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
	#banner.hero,
	#wrapper > header.hero {
		background-attachment: scroll, fixed !important;
	}
}

/* Content-image drift (driven by parallax.js): wrappers clip the oversized
   image so the drift never reveals edges. */
.features article .image,
#fleet .fleet-grid .image.fit {
	overflow: hidden;
}
.parallax-img {
	transform: scale(1.1);
	will-change: transform;
}

/* ---------- UK map pin drops (added 2026-08-07, pss7 home) ----------
   Pins are planted (visible, static) by default — JS adds .pins-live when
   the map scrolls into view, which runs the drop-and-bounce + ripple once.
   No JS / reduced motion = static pins, nothing hidden. */
.map-stage { position: relative; width: 100%; max-width: 320px; }
.map-pin {
	position: absolute;
	left: var(--x); top: var(--y);
	width: 16px; height: 16px;
	transform: translate(-50%, -100%);
}
.map-pin::before {           /* teardrop head */
	content: '';
	position: absolute; inset: 0;
	background: #c8102e;
	border: 2px solid #fff;
	border-radius: 50% 50% 50% 0;
	transform: rotate(-45deg);
	box-shadow: 0 3px 8px rgba(46, 49, 65, .35);
}
.map-pin::after {            /* impact ripple */
	content: '';
	position: absolute;
	left: 50%; bottom: -4px;
	width: 18px; height: 6px;
	margin-left: -9px;
	border-radius: 50%;
	border: 2px solid rgba(200, 16, 46, .55);
	opacity: 0;
}
.map-pin--hq::before { background: #8f0a20; }
.map-pin__label {
	position: absolute;
	left: 50%; top: -1.55em;
	transform: translateX(-50%);
	font-style: normal;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .04em;
	white-space: nowrap;
	color: #2e3141;
	background: rgba(255, 255, 255, .92);
	border: 1px solid var(--pss-border);
	border-radius: 999px;
	padding: .15em .6em;
	box-shadow: 0 2px 6px rgba(46, 49, 65, .12);
}
/* Drop once, then keep a passive idle: a soft bob (staggered phase via --d
   so pins never move in lockstep) and a recurring sonar ping whose first
   beat doubles as the landing ripple. */
/* JS present + motion allowed: keep pins hidden until the drop plays, so a
   refresh with restored scroll never flashes planted pins before the intro.
   No-JS (no html.js) and reduced-motion users still get static visible pins. */
@media (prefers-reduced-motion: no-preference) {
	html.js .map-pin { opacity: 0; }
}
.pins-live .map-pin {
	animation:
		pinDrop .5s cubic-bezier(.2, .7, .3, 1.25) var(--d) both,
		pinBob 3.6s ease-in-out calc(var(--d) * 3 + .9s) infinite;
}
.pins-live .map-pin::after {
	animation: pinPing 5.2s ease-out calc(var(--d) + .42s) infinite;
}
.pins-live .map-pin--hq::before { animation: hqPulse 3.8s ease-out 1.6s infinite; }
@keyframes pinDrop {
	from { opacity: 0; transform: translate(-50%, calc(-100% - 42px)); }
	to   { opacity: 1; transform: translate(-50%, -100%); }
}
@keyframes pinBob {
	0%, 100% { transform: translate(-50%, -100%); }
	50%      { transform: translate(-50%, calc(-100% - 3px)); }
}
@keyframes pinPing {
	0%   { opacity: .8; transform: scale(.4); }
	10%  { opacity: 0;  transform: scale(1.6); }
	100% { opacity: 0;  transform: scale(1.6); }
}
@keyframes hqPulse {
	0%   { box-shadow: 0 3px 8px rgba(46,49,65,.35), 0 0 0 0 rgba(200,16,46,.45); }
	60%  { box-shadow: 0 3px 8px rgba(46,49,65,.35), 0 0 0 12px rgba(200,16,46,0); }
	100% { box-shadow: 0 3px 8px rgba(46,49,65,.35), 0 0 0 0 rgba(200,16,46,0); }
}
@media (prefers-reduced-motion: reduce) {
	.pins-live .map-pin,
	.pins-live .map-pin::after,
	.pins-live .map-pin--hq::before { animation: none; }
}
