/* =========================================================
   Hoyles (Hoyles Fire & Safety) — main stylesheet
   Shares the LS Fire Group component system with the Asco Fire theme.
   Brand: Prometo (headings) / Avenir Next (body)
   Design system: industrial confidence — deep navy panels,
   squared geometry, red signature bar beside headings.
   ========================================================= */

/* ---------- Fonts ---------- */
@font-face {
	font-family: 'Prometo';
	src: url('../fonts/Prometo-Med.woff2') format('woff2'),
		url('../fonts/Prometo-Med.ttf') format('truetype');
	font-weight: 400 700;
	font-display: swap;
}

@font-face {
	font-family: 'Avenir Next';
	src: url('../fonts/AvenirNext-Regular.woff2') format('woff2'),
		url('../fonts/AvenirNext-Regular.ttf') format('truetype');
	font-weight: 400;
	font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
	--c-red: #e72128;
	--c-red-dark: #c3161c;
	--c-navy: #0e446d;
	--c-navy-deep: #0b3c61;
	--c-ink-panel: #07375a;
	--c-blue: #2f7db2;
	--c-blue-dark: #26648f;
	--c-light-blue: #2289c5;
	--c-green: #93bf3e;
	--c-green-dark: #7ea834;
	--c-deep-red: #9e2e42;
	--c-deep-red-dark: #822536;
	--c-orange: #ef8100;
	--c-orange-dark: #c96d00;
	--c-ink: #0d1826;
	--c-body: #3b4552;
	--c-muted: #6b7280;
	--c-line: #e3e7ec;
	--c-bg-soft: #f4f6f8;
	--c-white: #fff;

	--font-heading: 'Prometo', 'Avenir Next', system-ui, sans-serif;
	--font-body: 'Avenir Next', system-ui, sans-serif;

	--container: 1280px;
	--gutter: 1.5rem;
	/* vertical padding of each page section */
	--section-space: clamp(2.5rem, 4.5vw, 4.5rem);
	/* the KW Fire build's radii: 30px on the large cards, 16px on the inner
	   blocks, 5px on fields and buttons, 15px on every sidebar block */
	--radius: 30px;
	--radius-md: 16px;
	--radius-sm: 5px;
	--radius-sidebar: 15px;
	/* height of the slanted edges between sections */
	--slant: clamp(30px, 4vw, 60px);
	--grad-blue: linear-gradient(120deg, var(--c-blue) 0%, var(--c-blue-dark) 100%);
	--grad-navy: linear-gradient(115deg, var(--c-ink-panel) 0%, var(--c-navy) 60%, var(--c-navy-deep) 100%);
	/* body text on the navy bands */
	--c-on-dark: #c8d6e2;
	--shadow: 0 18px 45px rgba(4, 38, 63, 0.14);
	--shadow-soft: 0 6px 18px rgba(4, 38, 63, 0.08);
	--transition: 200ms ease;
	--bar: 5px;

	/* Primary brand colour + the text colour that meets WCAG AA on it
	   (white on #e0111a = 4.9:1). Used for form status messages. */
	--brand-primary: var(--c-red);
	--brand-on-primary: #fff;
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 1.0625rem;
	line-height: 1.7;
	color: var(--c-body);
	background: var(--c-white);
	-webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-heading);
	color: var(--c-ink);
	line-height: 1.12;
	margin: 0 0 0.7em;
}

a {
	color: var(--c-blue);
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
	transition: color var(--transition);
}

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

.container {
	max-width: var(--container);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	background: var(--c-navy);
	color: #fff;
	padding: 0.5rem 1rem;
	z-index: 100;
}

.skip-link:focus {
	left: 0;
}

.icon {
	width: 17px;
	height: 17px;
	flex: none;
}

:focus-visible {
	outline: 2px solid var(--c-blue);
	outline-offset: 2px;
}

/* Signature: red bar beside section headings (banners excluded) */

.section-heading {
	position: relative;
	padding-left: 1.4rem;
}

.section-heading::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0.18em;
	bottom: 0.18em;
	width: var(--bar);
	background: var(--c-red);
}

/* ---------- Buttons ---------- */
.button {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	font-family: var(--font-heading);
	font-size: 0.92rem;

	padding: 0.95rem 1.9rem;
	border-radius: var(--radius-sm);
	border: 2px solid transparent;
	text-decoration: none;
	cursor: pointer;
	transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.button::after {
	content: '\2192';
	font-family: var(--font-body);
	transition: transform var(--transition);
}

.button:hover::after {
	transform: translateX(4px);
}

.button:hover {
	transform: translateY(-2px);
	box-shadow: var(--shadow-soft);
}

.button--primary {
	background: var(--c-red);
	color: #fff;
}

.button--primary:hover {
	background: var(--c-red-dark);
	color: #fff;
}

.button--ghost {
	background: transparent;
	color: #fff;
	border-color: rgba(255, 255, 255, 0.65);
}

.button--ghost:hover {
	background: #fff;
	color: var(--c-navy-deep);
}

.button--ghost-dark {
	background: transparent;
	color: var(--c-navy);
	border-color: var(--c-navy);
}

.button--ghost-dark:hover {
	background: var(--c-navy);
	color: #fff;
}

/* ---------- Header ---------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 60;
	background: #fff;
	box-shadow: 0 1px 0 var(--c-line);
}

.site-header .container {
	max-width: none;
	padding-inline: clamp(1rem, 3vw, 4.5rem);
}

.admin-bar .site-header {
	top: 32px;
}

/* Top band */
.site-header__topband {
	background: var(--c-navy);
	color: #fff;
}

.site-header__topband-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	min-height: 64px;
	flex-wrap: wrap;
	padding-block: 0.5rem;
}

.site-header__topband-right {
	display: flex;
	align-items: center;
	gap: 1.25rem;
	flex-wrap: wrap;
}

.site-header__call {
	margin: 0;
	font-size: 1.05rem;
	color: #fff;
}

.site-header__call a {
	color: #fff;
	text-decoration: none;
}

.site-header__call a:hover {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 4px;
}

/* Pills */
.pill {
	display: inline-flex;
	align-items: center;
	gap: 0.65rem;
	font-family: var(--font-heading);
	font-size: 0.85rem;
	text-transform: uppercase;
	text-decoration: none;
	border-radius: 999px;
	transition: transform var(--transition), background var(--transition), color var(--transition);
}

.pill:hover {
	transform: translateY(-1px);
}

.pill__circle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	flex: none;
}

.pill__circle svg {
	width: 11px;
	height: 11px;
}

.pill--outline {
	border: 1px solid #fff;
	color: #fff;
	padding: 0.3rem 0.35rem 0.3rem 0.9rem;
}

.pill--outline:hover {
	color: #fff;
	background: rgba(255, 255, 255, 0.08);
}

.pill__circle--outline {
	width: 22px;
	height: 22px;
	border: 1px solid #fff;
	color: #fff;
}

.pill--quote {
	background: #fff;
	color: var(--c-deep-red);
	font-weight: 700;
	padding: 0.3rem 0.3rem 0.3rem 1.2rem;
}

.pill--quote:hover {
	color: var(--c-deep-red-dark);
}

.pill__circle--red {
	width: 34px;
	height: 34px;
	background: var(--c-deep-red);
	color: #fff;
	transition: background var(--transition);
}

.pill--quote:hover .pill__circle--red {
	background: var(--c-deep-red-dark);
}

/* Main bar */
.site-header__main {
	background: #fff;
	transition: background var(--transition);
}

.site-header__main-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	padding-block: 1.1rem;
}

.site-header__branding {
	display: flex;
	align-items: center;
	flex-shrink: 0;
}

.site-header__branding img {
	max-width: none;
	transition: filter var(--transition);
}

.site-header__branding .custom-logo {
	height: clamp(40px, 4vw, 48px);
	width: auto;
	display: block;
}

.site-header__partner {
	display: block;
	margin-left: 1.1rem;
	padding-left: 1.1rem;
	border-left: 1px solid var(--c-line);
}

.site-header__partner-logo {
	height: clamp(40px, 4vw, 48px);
	width: auto;
	display: block;
}

/* Suppress dropdown layout while JS measures whether the nav fits */
.site-header--measuring .site-nav .sub-menu {
	display: none !important;
}

/* Primary nav */
.site-header__nav {
	flex: 1;
	min-width: 0;
}

.site-nav {
	display: flex;
	gap: clamp(0.7rem, 1.1vw, 1.5rem);
	list-style: none;
	margin: 0;
	padding: 0;
	flex-wrap: nowrap;
	justify-content: flex-end;
	align-items: center;
}

.site-nav > li {
	position: relative;
}

.site-nav > li > a {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-family: var(--font-heading);
	font-size: clamp(0.9rem, 0.25vw + 0.7rem, 1rem);
	color: var(--c-navy);
	text-decoration: none;
	padding: 0.7rem 0;
	white-space: nowrap;
	box-shadow: inset 0 0 0 transparent;
	transition: color var(--transition), box-shadow var(--transition);
}

/* chevron on items with children */
.site-nav > li.menu-item-has-children > a::after {
	content: '';
	width: 7px;
	height: 7px;
	margin-top: -4px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
	transition: transform var(--transition);
}

.site-nav > li:hover > a,
.site-nav > li.is-open > a,
.site-nav > li.current-menu-item > a,
.site-nav > li.current-menu-ancestor > a {
	box-shadow: inset 0 -3px 0 var(--c-green);
}

/* open state: whole header goes dark blue */
.site-header--open .site-header__main {
	background: var(--c-navy);
	box-shadow: inset 0 -0.5px 0 rgba(255, 255, 255, 0.6);
}

.site-header--open .site-nav > li > a {
	color: #fff;
}

.site-header--open .site-header__branding img {
	filter: brightness(0) invert(1);
}

.site-header--open .site-header__partner {
	border-left-color: rgba(255, 255, 255, 0.4);
}

/* Dropdown panels (simple) */
.site-nav .sub-menu {
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translate(-50%, 10px);
	min-width: 280px;
	background: var(--c-navy);
	list-style: none;
	margin: 0;
	padding: 1.25rem 1.75rem;
	opacity: 0;
	visibility: hidden;
	transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
	box-shadow: 0 18px 30px rgba(0, 0, 0, 0.25);
	z-index: 50;
}

.site-nav > li:hover > .sub-menu,
.site-nav > li:focus-within > .sub-menu,
.site-nav > li.is-open > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translate(-50%, 0);
}

.site-nav .sub-menu a {
	display: block;
	font-family: var(--font-heading);
	font-size: 0.95rem;
	color: #fff;
	text-decoration: none;
	padding: 0.55rem 0;
	white-space: nowrap;
	transition: color var(--transition);
}

.site-nav .sub-menu a:hover {
	color: var(--c-green);
}

/* Mega panel (Services) */
.site-nav > li.menu-item--mega {
	position: static;
}

.site-nav > li.menu-item--mega > .sub-menu {
	left: 0;
	right: 0;
	transform: translateY(10px);
	min-width: 0;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 2.5rem clamp(2rem, 4vw, 5rem);
	padding: clamp(2rem, 4vw, 3.5rem) clamp(2rem, 12vw, 16rem);
	filter: drop-shadow(0 4px 2px rgba(0, 0, 0, 0.25));
}

.site-nav > li.menu-item--mega:hover > .sub-menu,
.site-nav > li.menu-item--mega:focus-within > .sub-menu,
.site-nav > li.menu-item--mega.is-open > .sub-menu {
	transform: translateY(0);
}

/* group heading = link to the hub page */
.site-nav .menu-item--mega > .sub-menu > li > a {
	font-size: 1.15rem;
	font-weight: 700;
	color: var(--c-green);
	padding: 0 0 0.75rem;
	white-space: normal;
}

.site-nav .menu-item--mega > .sub-menu > li > a:hover {
	color: #fff;
}

.site-nav .menu-item--mega .sub-menu .sub-menu {
	position: static;
	transform: none;
	opacity: 1;
	/* inherit, NOT visible: the closed panel is visibility:hidden, and an
	   explicit `visible` here would keep these links hoverable while
	   invisible, opening the mega menu from empty space */
	visibility: inherit;
	min-width: 0;
	padding: 0;
	box-shadow: none;
	background: none;
}

.site-nav .menu-item--mega .sub-menu .sub-menu a {
	font-size: 0.95rem;
	color: #fff;
	padding: 0.45rem 0;
	white-space: normal;
}

.site-nav .menu-item--mega .sub-menu .sub-menu a:hover {
	color: var(--c-green);
}

/* Mobile toggle */
.site-header__toggle {
	display: none;
	flex-direction: column;
	gap: 5px;
	background: none;
	border: 0;
	padding: 0.5rem;
	cursor: pointer;
}

.site-header__toggle-bar {
	width: 26px;
	height: 3px;
	background: var(--c-navy);
	border-radius: 2px;
	transition: transform var(--transition), opacity var(--transition);
}

.site-header__toggle[aria-expanded="true"] .site-header__toggle-bar:nth-child(1) {
	transform: translateY(8px) rotate(45deg);
}

.site-header__toggle[aria-expanded="true"] .site-header__toggle-bar:nth-child(2) {
	opacity: 0;
}

.site-header__toggle[aria-expanded="true"] .site-header__toggle-bar:nth-child(3) {
	transform: translateY(-8px) rotate(-45deg);
}

/* Mobile menu */
.site-header__mobile {
	background: var(--c-navy);
	padding: 1.25rem var(--gutter) 1.75rem;
	max-height: calc(100vh - 120px);
	overflow-y: auto;
}

.mobile-nav {
	list-style: none;
	margin: 0 0 1rem;
	padding: 0;
}

.mobile-nav li {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}

.mobile-nav a {
	display: block;
	flex: 1;
	padding: 0.65rem 0;
	color: #fff;
	text-decoration: none;
	font-family: var(--font-heading);
}

.mobile-nav__toggle {
	flex: none;
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: none;
	border: 0;
	color: rgba(255, 255, 255, 0.85);
	cursor: pointer;
}

.mobile-nav__toggle svg {
	width: 16px;
	height: 16px;
	transition: transform var(--transition);
}

.menu-item-has-children.is-open > .mobile-nav__toggle svg {
	transform: rotate(180deg);
}

.mobile-nav .sub-menu {
	display: none;
	flex-basis: 100%;
	list-style: none;
	margin: 0;
	padding: 0;
}

.mobile-nav .menu-item-has-children.is-open > .sub-menu {
	display: block;
}

.mobile-nav .sub-menu a {
	font-family: var(--font-body);
	font-size: 0.95rem;
	color: rgba(255, 255, 255, 0.85);
	padding: 0.4rem 0;
}

.mobile-nav .sub-menu > li > a {
	color: var(--c-green);
	font-family: var(--font-heading);
}

.mobile-nav .sub-menu .sub-menu {
	padding-left: 1rem;
}

.mobile-nav .sub-menu .sub-menu a {
	color: rgba(255, 255, 255, 0.85);
	font-family: var(--font-body);
}


/* ---------- Hero (fading carousel) ---------- */
.hero {
	position: relative;
	display: flex;
	flex-direction: column;
	background: var(--c-navy-deep);
	color: #fff;
	min-height: min(62vh, 560px);
	overflow: hidden;
}

.hero__slide {
	position: absolute;
	inset: 0;
	background: var(--c-navy-deep);
	display: flex;
	flex-direction: column;
	justify-content: center;
	opacity: 0;
	visibility: hidden;
	transition: opacity 900ms ease, visibility 900ms ease;
	overflow: hidden;
}

/* slide image is a real <img> (LCP-discoverable) that slow-zooms */
.hero__slide-bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1);
}

.hero__slide.is-active {
	/* the active slide sits in normal flow so the hero takes its height,
	   and stretches to fill it so the image always covers the banner */
	position: relative;
	inset: auto;
	flex: 1;
	opacity: 1;
	visibility: visible;
	z-index: 1;
}

.hero__slide.is-active .hero__slide-bg {
	animation: hero-zoom 9s ease-out forwards;
}

@keyframes hero-zoom {
	from { transform: scale(1); }
	to { transform: scale(1.08); }
}

@media (prefers-reduced-motion: reduce) {
	.hero__slide.is-active .hero__slide-bg {
		animation: none;
	}
}

.hero__overlay {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse at 12% 88%, rgba(216, 34, 45, 0.2) 0%, transparent 46%),
		linear-gradient(90deg, rgba(7, 55, 90, 0.94) 0%, rgba(14, 68, 109, 0.68) 48%, rgba(47, 125, 178, 0.25) 100%);
}

.page-banner__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(7, 55, 90, 0.92) 0%, rgba(14, 68, 109, 0.65) 48%, rgba(47, 125, 178, 0.22) 100%);
}

/* a ready-made brand banner (the live site's banner graphic, plain on its
   left for the text) shows as it is, with no darkening overlay */
.hero__slide--banner .hero__slide-bg {
	object-position: left center;
}

/* ...with Asco's darker navy laid over its blue side, fading out over the
   photo, so the banner keeps its gradient in the darker blue */
.hero__slide--banner .hero__overlay {
	background: linear-gradient(90deg, rgba(11, 60, 97, 0.92) 0%, rgba(11, 60, 97, 0.85) 30%, rgba(11, 60, 97, 0.45) 52%, rgba(11, 60, 97, 0) 74%);
}

/* angled bottom edge */
.hero::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	height: var(--slant);
	background: #fff;
	clip-path: polygon(0 100%, 100% 0, 100% 100%);
	z-index: 2;
	pointer-events: none;
}

.hero__inner {
	position: relative;
	width: 100%;
	max-width: var(--container);
	margin-inline: auto;
	padding-inline: var(--gutter);
	padding-block: 2.25rem clamp(6rem, 9vw, 8rem);
}

.hero--carousel .hero__inner {
	padding-inline-end: clamp(3.5rem, 6vw, 5rem);
}

.hero__eyebrow {
	font-family: var(--font-heading);
	font-size: clamp(1rem, 1.4vw, 1.25rem);
	color: var(--c-green);
	margin: 0 0 0.6rem;
}

.hero__title {
	font-size: clamp(2rem, 4.2vw, 3.6rem);
	font-family: var(--font-heading);
	line-height: 1.1;
	color: #fff;
	max-width: 18ch;
	margin-bottom: 0.75rem;
	text-shadow: 0 4px 30px rgba(4, 22, 38, 0.55);
}

.hero__subtitle {
	font-size: clamp(1.05rem, 2vw, 1.3rem);
	color: rgba(255, 255, 255, 0.9);
	max-width: 52ch;
	margin: 0 0 1.75rem;
}

/* ticked points and the phone number beside the button, as on the KW banner */
.check-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.check-list li {
	position: relative;
	padding-left: 2rem;
	margin-bottom: 0.7rem;
}

.check-list li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0.2em;
	width: 1.3rem;
	height: 1.3rem;
	border-radius: 50%;
	background: var(--c-green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath fill='%23fff' d='M438.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L160 338.7 393.4 105.4c12.5-12.5 32.8-12.5 45.3 0z'/%3E%3C/svg%3E") center / 0.62rem no-repeat;
}

.hero__points {
	margin-bottom: 2rem;
	font-size: clamp(1rem, 1.2vw, 1.15rem);
	color: #fff;
}

.hero__actions {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 1rem 1.5rem;
}

.hero__phone {
	margin: 0;
	font-size: 1.1rem;
	color: rgba(255, 255, 255, 0.9);
}

.hero__phone strong {
	margin-left: 0.25rem;
	font-family: var(--font-heading);
	font-size: clamp(1.5rem, 2.4vw, 2rem);
}

.hero__phone a {
	color: #fff;
	text-decoration: none;
}

.hero__phone a:hover {
	text-decoration: underline;
}

/* "Large Subtitle": the title (still the H1) and subtitle swap looks, so a
   strapline reads large with the company name as the small line above it */
.hero__slide--strapline .hero__title {
	font-family: var(--font-body);
	font-size: clamp(1.05rem, 2vw, 1.3rem);
	font-weight: 400;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.9);
	max-width: 52ch;
	text-shadow: none;
}

.hero__slide--strapline .hero__subtitle {
	font-family: var(--font-heading);
	font-size: clamp(2rem, 4.2vw, 3.6rem);
	font-weight: 700;
	line-height: 1.1;
	color: #fff;
	max-width: 18ch;
	text-wrap: balance;
	text-shadow: 0 4px 30px rgba(4, 22, 38, 0.55);
}

/* optional paragraph under the subtitle (the live banner's supporting line) */
.hero__text {
	font-size: clamp(1.05rem, 2vw, 1.3rem);
	color: rgba(255, 255, 255, 0.9);
	max-width: 52ch;
	margin: 0 0 1.75rem;
}

.hero__subtitle:has(+ .hero__text) {
	margin-bottom: 0.75rem;
}

/* decorative brand graphic on the right of the banner */
.hero__graphic {
	position: absolute;
	/* far enough in from the right edge to keep clear of the slide arrows */
	right: clamp(6rem, 13vw, 15rem);
	top: 50%;
	transform: translateY(-52%);
	z-index: 1;
	pointer-events: none;
	animation: hero-float 7s ease-in-out infinite alternate;
}

.hero__graphic-image {
	height: clamp(260px, 30vw, 460px);
	width: auto;
	filter: drop-shadow(0 24px 60px rgba(5, 30, 55, 0.45));
}

@keyframes hero-float {
	from { transform: translateY(-54%); }
	to { transform: translateY(-48%); }
}

@media (max-width: 1100px) {
	.hero__graphic {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.hero__graphic {
		animation: none;
	}
}

/* keep slide content clear of the graphic */
@media (min-width: 1101px) {
	.hero__inner {
		padding-right: clamp(340px, 38vw, 640px);
	}
}

/* slide entrance: content rises as the slide fades in */
.hero__slide .hero__inner > * {
	transform: translateY(18px);
	opacity: 0;
	transition: transform 700ms ease 250ms, opacity 700ms ease 250ms;
}

.hero__slide.is-active .hero__inner > * {
	transform: none;
	opacity: 1;
}

.hero {
	--controls-bottom: clamp(5rem, 8vw, 7rem);
	--arrow-size: 50px;
}

.hero__arrow {
	position: absolute;
	bottom: var(--controls-bottom);
	z-index: 2;
	width: var(--arrow-size);
	height: var(--arrow-size);
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(4, 22, 38, 0.45);
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 50%;
	color: #fff;
	cursor: pointer;
	transition: background var(--transition), border-color var(--transition);
}

.hero__arrow svg {
	width: 16px;
	height: 16px;
}

.hero__arrow:hover {
	background: var(--c-red);
	border-color: var(--c-red);
}

.hero__arrow--prev {
	right: calc(clamp(1rem, 3vw, 2.5rem) + 62px);
}

.hero__arrow--next {
	right: clamp(1rem, 3vw, 2.5rem);
}

@media (max-width: 700px) {
	.hero {
		min-height: 0;
	}

	.hero__inner {
		/* >=60px above the text; below it, 60px clearance plus the controls zone */
		padding-block: 60px 140px;
	}

	.hero__title {
		margin-bottom: 0.5rem;
	}

	.hero__subtitle,
	.hero__text {
		margin-bottom: 1.25rem;
	}

	.hero__subtitle:has(+ .hero__text) {
		margin-bottom: 0.5rem;
	}

	.hero {
		--controls-bottom: 4.5rem;
		--arrow-size: 42px;
	}

	.hero__arrow--prev {
		left: 1rem;
		right: auto;
	}

	.hero__arrow--next {
		right: 1rem;
	}
}

/* slide progress indicators */
.hero__progress {
	position: absolute;
	z-index: 3;
	left: 50%;
	transform: translateX(-50%);
	/* centred on the same axis as the arrows */
	bottom: calc(var(--controls-bottom) + (var(--arrow-size) - 5px) / 2);
	display: flex;
	gap: 0.6rem;
}

.hero__progress-item {
	position: relative;
	width: 56px;
	height: 5px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.3);
	cursor: pointer;
	overflow: hidden;
}

.hero__progress-fill {
	position: absolute;
	inset: 0;
	background: var(--c-red);
	transform: scaleX(0);
	transform-origin: left;
}

.hero__progress-item.is-active .hero__progress-fill {
	transform: scaleX(1);
	transition: transform 6.5s linear;
}

.hero--paused .hero__progress-item.is-active .hero__progress-fill,
.hero--static .hero__progress-item.is-active .hero__progress-fill {
	transform: scaleX(1);
	transition: none;
}

@media (prefers-reduced-motion: reduce) {
	.hero__progress-item.is-active .hero__progress-fill {
		transform: scaleX(1);
		transition: none;
	}
}

.page-banner__breadcrumbs {
	margin: 0 0 1.5rem;
}

/* ---------- Page banner ---------- */
.page-banner {
	position: relative;
	background: var(--c-navy-deep) center / cover no-repeat;
	color: #fff;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 380px;
}

.page-banner--plain {
	background: linear-gradient(115deg, var(--c-ink-panel), var(--c-navy));
}

.page-banner__inner {
	position: relative;
	width: 100%;
	padding-block: 3rem;
}

.page-banner__title {
	font-size: clamp(2.1rem, 5vw, 3.6rem);
	text-transform: capitalize;
	color: #fff;
	margin-bottom: 0.4rem;
	max-width: 22ch;
}

.page-banner__subtitle {
	font-size: clamp(1.05rem, 2vw, 1.3rem);
	margin: 0 0 1.25rem;
	color: rgba(255, 255, 255, 0.9);
	max-width: 58ch;
}

/* Breadcrumbs */
.breadcrumbs {
	font-size: 0.82rem;
	color: rgba(255, 255, 255, 0.75);
}

.breadcrumbs a {
	color: rgba(255, 255, 255, 0.75);
	text-decoration: none;
}

.breadcrumbs a:hover {
	color: #fff;
	text-decoration: underline;
}

/* ---------- Section rhythm ---------- */
section {
	padding-block: var(--section-space);
}

.hero,
.page-banner {
	padding-block: 0;
}

/* rich text */
.rich-text h2 {
	font-size: clamp(1.65rem, 3vw, 2.3rem);
	margin-top: 1.7em;
}

.rich-text h2:first-child {
	margin-top: 0;
}

.rich-text h3 {
	font-size: 1.35rem;
	margin-top: 1.5em;
}

.rich-text ul {
	padding-left: 1.1rem;
	list-style: none;
}

.rich-text ul li {
	position: relative;
	padding-left: 1.1rem;
	margin-bottom: 0.45rem;
}

.rich-text ul li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0.62em;
	width: 8px;
	height: 8px;
	background: var(--c-red);
}

.rich-text ol {
	padding-left: 1.4rem;
}

.rich-text img {
	border-radius: var(--radius);
	box-shadow: var(--shadow-soft);
}

.rich-text a {
	color: var(--c-red);
	font-weight: 700;
	text-decoration-color: rgba(224, 17, 26, 0.4);
}

.rich-text a:hover {
	color: var(--c-red-dark);
	text-decoration-color: currentColor;
}

/* ---------- Reveal on scroll ---------- */
/* `html` raises specificity above component transitions (e.g. .news-card) while
   the reveal plays; main.js removes .reveal afterwards so hovers stay snappy. */
html .reveal {
	opacity: 0;
	transform: translateY(26px);
	transition: opacity 600ms ease, transform 600ms ease;
}

html .reveal.in-view {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	html .reveal {
		opacity: 1;
		transform: none;
		transition: none;
	}

	.button:hover {
		transform: none;
	}
}

/* ---------- Shared homepage bits ---------- */
.heading-accent {
	color: var(--c-blue);
}

.heading-dot {
	color: var(--c-green);
}

/* centred heading + intro copy above a grid */
.section-intro {
	max-width: 900px;
	margin: 0 auto clamp(2.5rem, 5vw, 3.5rem);
	text-align: center;
}

.section-intro__heading {
	font-size: clamp(1.6rem, 2.6vw, 2.25rem);
	font-weight: 400;
	margin-bottom: 1rem;
}

.section-intro__text > :first-child {
	font-size: clamp(1.05rem, 1.4vw, 1.3rem);
	color: var(--c-ink);
}

.section-intro__text > * + * {
	margin-top: 0.9rem;
	font-size: 0.98rem;
	color: var(--c-muted);
}

/* text link with a long trailing arrow */
.arrow-link {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	font-family: var(--font-heading);
	font-size: 0.95rem;
	font-weight: 600;
	text-transform: uppercase;
	color: var(--c-deep-red);
	text-decoration: none;
	white-space: nowrap;
}

.arrow-link:hover {
	color: var(--c-deep-red-dark);
}

.arrow-link__arrow {
	width: 58px;
	height: 11px;
	flex: none;
	transition: transform var(--transition);
}

.arrow-link:hover .arrow-link__arrow {
	transform: translateX(4px);
}

/* deep-red pill button used across the page sections */
.pill--cta {
	background: var(--c-deep-red);
	color: #fff;
	font-weight: 700;
	padding: 0.35rem 0.35rem 0.35rem 1.3rem;
}

.pill--cta:hover {
	background: var(--c-deep-red-dark);
	color: #fff;
}

.pill__circle--light {
	width: 34px;
	height: 34px;
	background: #fff;
	color: var(--c-deep-red);
}

/* ---------- Green quote bar ---------- */
.quote-bar {
	position: relative;
	z-index: 3;
	margin-top: clamp(-2.5rem, -3vw, -2rem);
}

.quote-bar__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1.25rem;
	background: var(--c-green);
	border-radius: 999px;
	padding: 0.6rem 0.6rem 0.6rem clamp(1.5rem, 3vw, 2.5rem);
}

.quote-bar__text {
	margin: 0;
	font-family: var(--font-heading);
	font-size: clamp(1.1rem, 1.8vw, 1.6rem);
	font-weight: 700;
	color: var(--c-navy);
}

.pill--quote-bar {
	background: #fff;
	color: var(--c-deep-red);
	font-weight: 700;
	padding: 0.35rem 0.35rem 0.35rem 1.3rem;
}

.pill--quote-bar:hover {
	color: var(--c-deep-red-dark);
}

.pill--quote-bar .pill__circle--light {
	background: var(--c-deep-red);
	color: #fff;
}

/* stacked, the full pill radius looks wrong — square it off a little */
@media (max-width: 720px) {
	.quote-bar {
		margin-top: clamp(-2rem, -4vw, -1.5rem);
	}

	.quote-bar__inner {
		border-radius: 24px;
		padding: 1.25rem;
		gap: 1rem;
	}
}

/* ---------- Intro ---------- */
.intro__grid {
	display: grid;
	gap: clamp(2rem, 6vw, 6rem);
	grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr);
	align-items: start;
}

@media (max-width: 900px) {
	.intro__grid {
		grid-template-columns: 1fr;
	}
}

.intro__heading {
	font-size: clamp(1.7rem, 3vw, 2.55rem);
	font-weight: 400;
	line-height: 1.2;
	margin-bottom: 1.5rem;
}

.intro__heading .heading-accent {
	font-weight: 700;
}

.intro__lead {
	font-size: clamp(1.05rem, 1.5vw, 1.35rem);
	line-height: 1.6;
	margin-bottom: 1.5rem;
}

.intro__body {
	font-size: 0.98rem;
	color: var(--c-muted);
	margin-bottom: 1.75rem;
}

.intro__stats {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: clamp(1.5rem, 3vw, 2.5rem);
}

.intro__stat {
	display: grid;
	gap: 0.2rem;
}

.intro__stat-value {
	font-family: var(--font-heading);
	font-size: clamp(1.9rem, 3vw, 2.8rem);
	font-weight: 700;
	line-height: 1.05;
	color: var(--c-blue);
}

.intro__stat-label {
	font-size: 1rem;
	color: var(--c-ink);
}

/* ---------- Homepage services grid ----------
   As on the KW Fire build: the service name on top, the photo with a
   coloured bar under it (red, blue, orange in turn), a "READ MORE" pill and
   the navy "Not sure what you need?" card closing the grid. The title link
   covers the whole card and the pill label is drawn by CSS, so the page
   text and links are unchanged. */
.home-services {
	background: #fff;
}

.home-services__grid {
	display: grid;
	gap: clamp(1.25rem, 2.2vw, 2rem);
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* without the navy card, the six cards sit three to a row */
.home-services__grid:not(:has(.home-services__advice)) {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-services__advice {
	grid-column: span 2;
}

@media (max-width: 1279px) {
	.home-services__grid,
	.home-services__grid:not(:has(.home-services__advice)) {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.home-services__advice {
		grid-column: 1 / -1;
	}
}

@media (max-width: 1023px) {
	.home-services__grid,
	.home-services__grid:not(:has(.home-services__advice)) {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.home-services__grid,
	.home-services__grid:not(:has(.home-services__advice)) {
		grid-template-columns: 1fr;
	}
}

.service-tile {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 1rem;
	padding: 1.25rem 1.25rem 1.4rem;
	background: #fff;
	border: 1px solid var(--c-line);
	border-radius: var(--radius);
	box-shadow: 0 1px 2px rgba(4, 38, 63, 0.06), 0 14px 34px rgba(4, 38, 63, 0.1);
	transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.service-tile:hover {
	transform: translateY(-6px);
	border-color: rgba(47, 125, 178, 0.35);
	box-shadow: 0 2px 4px rgba(4, 38, 63, 0.08), 0 24px 48px rgba(4, 38, 63, 0.16);
}

/* the name sits on top (CSS order, so the markup stays as it was), on two
   lines broken where the accent colour changed, in one colour as on KW */
.service-tile__title {
	order: -1;
	margin: 0.25rem 0 0;
	min-height: 2.6em;
	font-family: var(--font-heading);
	font-size: 1.15rem;
	font-weight: 400;
	line-height: 1.3;
	text-align: center;
	color: var(--c-navy);
}

.service-tile__title a {
	color: inherit;
	text-decoration: none;
}

.service-tile__title a::after {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: var(--radius);
}

.service-tile__title .heading-accent {
	color: inherit;
	font-weight: inherit;
}

.service-tile__title .heading-dot {
	display: none;
}

.service-tile__title .heading-line {
	display: block;
}

.service-tile__media {
	position: relative;
	display: block;
	aspect-ratio: 3 / 2;
	border-radius: var(--radius-md);
	border-bottom: 4px solid var(--c-red);
	overflow: hidden;
	background: #fff;
}

.service-tile:nth-of-type(3n + 2) .service-tile__media {
	border-bottom-color: var(--c-blue);
}

.service-tile:nth-of-type(3n + 3) .service-tile__media {
	border-bottom-color: var(--c-orange);
}

.service-tile__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 500ms ease;
}

.service-tile:hover .service-tile__image {
	transform: scale(1.05);
}

/* a service without a photo shows its icon on a soft panel instead */
.service-tile__icon {
	display: grid;
	place-items: center;
	aspect-ratio: 3 / 2;
	border-radius: var(--radius-md);
	background: var(--c-bg-soft);
}

.service-tile__icon img {
	display: block;
	width: 72px;
	height: 72px;
}

.service-tile__text {
	margin: 0;
	font-size: 0.95rem;
	color: var(--c-muted);
	line-height: 1.6;
}

/* the arrow becomes the "READ MORE" pill at the foot of the card */
.service-tile__arrow {
	order: 2;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	margin-top: auto;
	padding: 0.35rem 0.35rem 0.35rem 1.25rem;
	border-radius: 999px;
	background: var(--c-navy);
	color: #fff;
	font-family: var(--font-heading);
	font-size: 0.85rem;
	text-transform: uppercase;
	transition: background var(--transition);
}

.service-tile__arrow::before {
	content: 'Read More';
}

.service-tile__arrow svg {
	box-sizing: border-box;
	flex: none;
	width: 32px;
	height: 32px;
	padding: 10px;
	border-radius: 50%;
	background: #fff;
	color: var(--c-navy);
	transition: color var(--transition);
}

.service-tile:hover .service-tile__arrow {
	background: var(--c-deep-red);
}

.service-tile:hover .service-tile__arrow svg {
	color: var(--c-deep-red);
}

/* ---------- Call panels (KW) ----------
   The navy "Not sure what you need?" card that closes the services grid. */
.call-panel {
	position: relative;
	overflow: hidden;
	padding: clamp(1.75rem, 3vw, 2.75rem);
	border-radius: var(--radius);
	background:
		radial-gradient(120% 90% at 85% 20%, rgba(255, 255, 255, 0.16) 0%, transparent 55%),
		var(--grad-blue);
	color: #fff;
}

.call-panel p,
.call-panel .rich-text p {
	color: #fff;
}

.call-panel__lead {
	margin: 0 0 0.9rem;
	font-family: var(--font-heading);
	font-size: clamp(1.25rem, 2vw, 1.6rem);
	line-height: 1.3;
}

.call-panel__text {
	max-width: 34rem;
	margin-bottom: 1.5rem;
}

.call-panel__text,
.call-panel__text p {
	color: rgba(255, 255, 255, 0.92);
}

.call-panel__call {
	margin: 0;
	font-size: clamp(1.05rem, 1.6vw, 1.25rem);
}

.call-panel__call strong {
	font-family: var(--font-heading);
}

.call-panel__call a {
	color: #fff;
	text-decoration: none;
}

.call-panel__call a:hover {
	text-decoration: underline;
}

.call-panel--advice {
	display: flex;
	flex-direction: column;
	justify-content: center;
	background:
		radial-gradient(70% 90% at 100% 100%, rgba(47, 125, 178, 0.55) 0%, transparent 70%),
		radial-gradient(50% 60% at 0% 0%, rgba(147, 191, 62, 0.18) 0%, transparent 70%),
		var(--c-navy);
}

.call-panel--advice .call-panel__lead {
	font-size: clamp(1.7rem, 2.6vw, 2.3rem);
	font-weight: 700;
}

.call-panel--advice .call-panel__lead .heading-accent {
	color: var(--c-green);
}

/* ---------- Benefits ---------- */
.benefits {
	position: relative;
	overflow: hidden;
}

/* the pale shield silhouette behind the icon row (as per the mockup) */
.benefits::before {
	content: '';
	position: absolute;
	left: 50%;
	bottom: -36%;
	width: min(65vw, 1250px);
	aspect-ratio: 1088 / 1315;
	transform: translateX(-13%);
	background: url('../img/bg-shield-light.svg') bottom center / contain no-repeat;
	z-index: 0;
	pointer-events: none;
}

.benefits > .container {
	position: relative;
	z-index: 1;
}

.benefits__list {
	--cols: var(--benefit-cols, 4);
	--gap: clamp(1.5rem, 3vw, 2.5rem);
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--gap);
	text-align: center;
}

.benefits__list > .benefits__item {
	flex: 0 1 calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols));
	min-width: 0;
}

.benefits__item {
	display: flex;
	flex-direction: column;
	align-items: center;
}

@media (max-width: 900px) {
	.benefits__list {
		--cols: 2;
	}
}

@media (max-width: 520px) {
	.benefits__list {
		--cols: 1;
	}
}

.benefits__icon {
	display: inline-block;
	width: 60px;
	height: 60px;
	margin-bottom: 1.1rem;
}

.benefits__icon img {
	width: 100%;
	height: 100%;
	display: block;
}

.benefits__title {
	font-size: 1.35rem;
	color: var(--c-blue);
	margin: 0 0 0.6rem;
}

.benefits__text {
	margin: 0;
	font-size: 0.95rem;
	line-height: 1.5;
}

.benefits__actions {
	margin-top: clamp(2.5rem, 5vw, 3.5rem);
	text-align: center;
}

/* ---------- Sectors ---------- */
.sectors {
	background: #fff;
}

.sectors__grid {
	display: grid;
	gap: clamp(2rem, 5vw, 4rem);
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr);
	align-items: center;
}

@media (max-width: 900px) {
	.sectors__grid {
		grid-template-columns: 1fr;
	}
}

.sectors__heading {
	font-size: clamp(1.5rem, 2.4vw, 2.1rem);
	font-weight: 400;
	line-height: 1.25;
	margin-bottom: 1.1rem;
}

.sectors__heading .heading-accent {
	font-weight: 700;
}

.sectors__text {
	font-size: 0.98rem;
	color: var(--c-muted);
	margin-bottom: 1.75rem;
}

.sectors__panel {
	position: relative;
	border-radius: 30px;
	overflow: hidden;
	min-height: 440px;
	display: flex;
	align-items: center;
	background: var(--c-ink-panel);
}

.sectors__image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sectors__panel::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(100deg, rgba(7, 55, 90, 0.82) 0%, rgba(7, 55, 90, 0.5) 60%, rgba(7, 55, 90, 0.2) 100%);
}

.sectors__list {
	position: relative;
	z-index: 1;
	list-style: none;
	margin: 0;
	padding: clamp(2rem, 4vw, 3rem) clamp(2rem, 4vw, 3.5rem);
	display: grid;
	gap: 0.6rem;
}

.sectors__list li {
	position: relative;
	padding-left: 1.3rem;
	font-family: var(--font-heading);
	font-size: clamp(1rem, 1.4vw, 1.3rem);
	font-weight: 700;
	color: #fff;
}

.sectors__list li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0.62em;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: #fff;
}

/* ---------- Homepage FAQs ---------- */
.home-faqs {
	background: #fff;
}

.home-faqs__grid {
	display: grid;
	gap: clamp(2rem, 5vw, 4.5rem);
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
	align-items: start;
}

@media (max-width: 900px) {
	.home-faqs__grid {
		grid-template-columns: 1fr;
	}
}

.home-faqs__heading {
	font-size: clamp(1.5rem, 2.4vw, 2.1rem);
	font-weight: 400;
	line-height: 1.25;
	margin-bottom: 1.1rem;
}

.home-faqs__heading .heading-accent {
	font-weight: 700;
}

.home-faqs__text {
	color: var(--c-muted);
	margin-bottom: 1.25rem;
}

.home-faqs__note {
	font-weight: 700;
	margin-bottom: 1.25rem;
}

.home-faqs__item {
	border-bottom: 1px solid var(--c-line);
}

.home-faqs__question {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	padding: 1.4rem 0;
	font-size: clamp(1rem, 1.3vw, 1.2rem);
	cursor: pointer;
	list-style: none;
}

.home-faqs__question::-webkit-details-marker {
	display: none;
}

.home-faqs__toggle {
	flex: none;
	width: 34px;
	height: 34px;
	border: 1px solid var(--c-line);
	border-radius: 50%;
	display: grid;
	place-items: center;
	color: var(--c-ink);
	transition: background var(--transition), color var(--transition), transform var(--transition);
}

.home-faqs__toggle svg {
	width: 12px;
	height: 12px;
}

.home-faqs__question:hover .home-faqs__toggle {
	background: var(--c-blue);
	border-color: var(--c-blue);
	color: #fff;
}

.home-faqs__item[open] .home-faqs__toggle {
	background: var(--c-blue);
	border-color: var(--c-blue);
	color: #fff;
	transform: rotate(90deg);
}

.home-faqs__answer {
	padding-bottom: 1.4rem;
	color: var(--c-muted);
}

/* ---------- Services ---------- */
.services {
	background: var(--c-bg-soft);
}

.services__heading {
	font-size: clamp(1.65rem, 3vw, 2.3rem);
	margin-bottom: 2.5rem;
}

.services__track {
	display: grid;
	gap: 1.75rem;
	grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
}

@media (max-width: 900px) {
	.services__track {
		grid-template-columns: 1fr;
	}
}

.service-card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 1rem;
	padding: 1.25rem 1.25rem 1.4rem;
	background: #fff;
	border: 1px solid var(--c-line);
	border-radius: var(--radius);
	box-shadow: 0 1px 2px rgba(4, 38, 63, 0.06), 0 14px 34px rgba(4, 38, 63, 0.1);
	transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.service-card:hover {
	transform: translateY(-6px);
	border-color: rgba(47, 125, 178, 0.35);
	box-shadow: 0 2px 4px rgba(4, 38, 63, 0.08), 0 24px 48px rgba(4, 38, 63, 0.16);
}

/* as on the KW Fire build: a rounded photo with the coloured bar under it */
.service-card__media {
	position: relative;
	overflow: hidden;
	border-radius: var(--radius-md);
	border-bottom: 4px solid var(--c-red);
}

.service-card:nth-child(3n+2) .service-card__media {
	border-bottom-color: var(--c-blue);
}

.service-card:nth-child(3n) .service-card__media {
	border-bottom-color: var(--c-orange);
}

.service-card__media a,
.service-card__image {
	display: block;
}

.service-card__image {
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
	transition: transform 500ms ease;
}

.service-card:hover .service-card__image {
	transform: scale(1.05);
}

.service-card__image--contain {
	object-fit: contain;
	background: var(--c-bg-soft);
	padding-block: 0.75rem;
}

.service-card__body {
	padding: 0 0.25rem;
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
	flex: 1;
}

.service-card__title {
	font-size: 1.2rem;
	margin: 0;
}

.service-card__title a {
	color: var(--c-navy);
	text-decoration: none;
}

.service-card__title a::after {
	content: '';
	position: absolute;
	inset: 0;
}

.service-card__title a:hover {
	color: var(--c-red);
}

.service-card:nth-child(3n+2) .service-card__title a:hover {
	color: var(--c-blue);
}

.service-card:nth-child(3n) .service-card__title a:hover {
	color: var(--c-orange);
}

.service-card__description {
	margin: 0;
	font-size: 0.97rem;
}

/* the "Find out more" link as KW's navy pill, its arrow in a white circle */
.service-card__more {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	margin-top: auto;
	padding: 0.35rem 0.35rem 0.35rem 1.25rem;
	border-radius: 999px;
	background: var(--c-navy);
	color: #fff;
	font-family: var(--font-heading);
	font-size: 0.85rem;
	text-transform: uppercase;
	text-decoration: none;
	transition: background var(--transition);
}

.service-card__more span {
	display: inline-grid;
	place-items: center;
	flex: none;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: #fff;
	color: var(--c-navy);
	font-family: var(--font-body);
	transition: color var(--transition);
}

.service-card:hover .service-card__more,
.service-card__more:hover {
	background: var(--c-deep-red);
	color: #fff;
}

.service-card:hover .service-card__more span {
	color: var(--c-deep-red);
}

/* ---------- Forms (CF7) ----------
   As on the KW Fire build: white panels, white fields with a blue border,
   chevron selects and a deep-red pill button. Dark panels (the red quick
   quote sidebar, the footer) override the colours below. */
.form-panel {
	background: #fff;
	color: var(--c-ink);
	border-radius: var(--radius);
	padding: clamp(1.5rem, 3vw, 2.5rem);
	box-shadow: var(--shadow);
}

.form-panel__heading {
	font-family: var(--font-heading);
	font-weight: 700;
	line-height: 1.15;
	margin: 0 0 1.25rem;
	color: var(--c-navy);
	font-size: clamp(1.35rem, 2vw, 1.6rem);
}

.form-panel a {
	color: var(--c-navy);
}

.wpcf7 form > p {
	margin: 0;
}

.wpcf7 label {
	display: block;
	font-size: 0.82rem;
	font-family: var(--font-heading);
	color: var(--c-navy-deep);
	margin-bottom: 1rem;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="email"],
.wpcf7 textarea,
.wpcf7 select {
	width: 100%;
	margin-top: 0.35rem;
	padding: 0.7rem 0.9rem;
	border: 1px solid var(--c-blue);
	border-radius: var(--radius-sm);
	background: #fff;
	color: var(--c-ink);
	font: inherit;
	font-size: 0.95rem;
}

.wpcf7 select {
	appearance: none;
	padding-right: 2.5rem;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath fill='%230e446d' d='M201.4 342.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 274.7 86.6 137.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z'/%3E%3C/svg%3E") right 1rem center / 12px no-repeat;
}

.wpcf7 textarea {
	min-height: 130px;
	resize: vertical;
}

.wpcf7 ::placeholder {
	color: #8a93a0;
}

.wpcf7 input:focus,
.wpcf7 textarea:focus,
.wpcf7 select:focus {
	outline: 2px solid var(--c-blue);
	outline-offset: 1px;
}

.wpcf7 input[type="submit"] {
	background: var(--c-deep-red);
	color: #fff;
	border: 0;
	border-radius: 999px;
	padding: 0.85rem 2rem;
	font-family: var(--font-heading);
	font-size: 0.92rem;
	cursor: pointer;
	transition: background var(--transition), transform var(--transition);
}

.wpcf7 input[type="submit"]:hover {
	background: var(--c-deep-red-dark);
	transform: translateY(-1px);
}

.wpcf7 .wpcf7-not-valid-tip {
	display: block;
	color: var(--c-red-dark);
	font-size: 0.82rem;
	margin-top: 0.3rem;
}

/* Forms embedded in light page content (e.g. the guide download page)
   get a bordered card with dark labels instead of the dark-panel styling */
.page-layout__content .wpcf7 form {
	background: #fff;
	border: 1px solid var(--c-line);
	border-radius: var(--radius);
	box-shadow: var(--shadow-soft);
	padding: 2rem;
	max-width: 760px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 1.1rem;
	margin-top: 1.5rem;
}

.page-layout__content .wpcf7 form > p {
	margin: 0;
}

.page-layout__content .wpcf7 form > p:first-of-type,
.page-layout__content .wpcf7 form > p:has(textarea),
.page-layout__content .wpcf7 form > p:has(input[type="submit"]),
.page-layout__content .wpcf7 form > p:nth-of-type(even):has(+ p textarea),
.page-layout__content .wpcf7 form > p:nth-of-type(even):has(+ p input[type="submit"]),
.page-layout__content .wpcf7-response-output {
	grid-column: 1 / -1;
}

.page-layout__content .wpcf7 label {
	color: var(--c-navy-deep);
	margin-bottom: 0.9rem;
}

.page-layout__content .wpcf7 input[type="text"],
.page-layout__content .wpcf7 input[type="tel"],
.page-layout__content .wpcf7 input[type="email"],
.page-layout__content .wpcf7 textarea,
.page-layout__content .wpcf7 select {
	padding: 0.6rem 0.85rem;
}

.page-layout__content .wpcf7 textarea {
	max-height: 140px;
	min-height: 100px;
	resize: vertical;
}

.page-layout__content .wpcf7 .wpcf7-not-valid-tip {
	color: var(--c-red);
}

@media (max-width: 640px) {
	.page-layout__content .wpcf7 form {
		grid-template-columns: 1fr;
	}
}

/* ---------- Advice CTA (photo panel + form card) ---------- */
.advice-cta {
	position: relative;
	color: #fff;
	overflow: hidden;
	background: var(--c-ink-panel);
}

.advice-cta::before {
	content: '';
	position: absolute;
	inset: 0;
	background: var(--advice-bg) center / cover no-repeat;
	opacity: 0.55;
}

.advice-cta::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(7, 55, 90, 0.92) 0%, rgba(7, 55, 90, 0.72) 55%, rgba(7, 55, 90, 0.6) 100%);
}

.advice-cta__grid {
	position: relative;
	z-index: 1;
	display: grid;
	gap: clamp(2rem, 5vw, 4.5rem);
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
	align-items: center;
}

@media (max-width: 900px) {
	.advice-cta__grid {
		grid-template-columns: 1fr;
	}
}


.advice-cta__heading {
	color: #fff;
	font-size: clamp(1.5rem, 2.4vw, 2.1rem);
	font-weight: 400;
	line-height: 1.25;
	margin-bottom: 1.1rem;
}

.advice-cta__heading .heading-accent {
	color: var(--c-green);
	font-weight: 700;
}

.advice-cta__text {
	color: rgba(255, 255, 255, 0.9);
	line-height: 1.7;
	margin-bottom: 1.5rem;
	max-width: 46ch;
}

.advice-cta__text strong {
	color: #fff;
}

.advice-cta__details {
	list-style: none;
	margin: 0 0 1.75rem;
	padding: 0;
	display: grid;
	gap: 0.5rem;
	font-family: var(--font-heading);
	font-size: 1.15rem;
	font-weight: 700;
}

.advice-cta__details a {
	color: var(--c-green);
	text-decoration: none;
}

.advice-cta__details a:hover {
	color: #fff;
}

/* white form card */
.advice-cta__form {
	background: #fff;
	border-radius: 30px;
	padding: clamp(1.75rem, 3vw, 2.75rem);
	color: var(--c-ink);
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
}

.advice-cta .wpcf7 form {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 1.1rem;
}

.advice-cta .wpcf7 form > p {
	margin: 0;
}

.advice-cta .wpcf7 form > p:first-of-type,
.advice-cta .wpcf7 form > p:has(textarea),
.advice-cta .wpcf7 form > p:has(input[type="submit"]),
.advice-cta .wpcf7-response-output {
	grid-column: 1 / -1;
}

/* a field left alone on its row stretches full width */
.advice-cta .wpcf7 form > p:nth-of-type(even):has(+ p textarea),
.advice-cta .wpcf7 form > p:nth-of-type(even):has(+ p input[type="submit"]) {
	grid-column: 1 / -1;
}

.advice-cta .wpcf7 label {
	color: var(--c-navy);
	font-weight: 700;
	margin-bottom: 0.8rem;
}

.advice-cta .wpcf7 input[type="text"],
.advice-cta .wpcf7 input[type="tel"],
.advice-cta .wpcf7 input[type="email"],
.advice-cta .wpcf7 textarea,
.advice-cta .wpcf7 select {
	border-radius: var(--radius-sm);
	padding: 0.7rem 0.9rem;
}

.advice-cta .wpcf7 textarea {
	max-height: 160px;
	min-height: 120px;
	resize: vertical;
}

/* the button sits centred under the fields; the spinner is taken out of the
   flow (it still appears beside the button while sending) so it no longer
   pushes the button off-centre */
.advice-cta .wpcf7 form > p:has(input[type="submit"]),
.sectors__form .wpcf7 form > p:has(input[type="submit"]) {
	position: relative;
	text-align: center;
}

.advice-cta .wpcf7 .wpcf7-spinner,
.sectors__form .wpcf7 .wpcf7-spinner {
	position: absolute;
	top: 50%;
	margin: -11px 0 0 0.75rem;
}

.advice-cta .wpcf7 input[type="submit"] {
	background: var(--c-deep-red);
	border-radius: 999px;
	padding: 0.75rem 2rem;
}

.advice-cta .wpcf7 input[type="submit"]:hover {
	background: var(--c-deep-red-dark);
}

.advice-cta .wpcf7 .wpcf7-not-valid-tip {
	color: var(--c-red);
}

@media (max-width: 640px) {
	.advice-cta .wpcf7 form {
		grid-template-columns: 1fr;
	}
}

/* ---------- Testimonials ---------- */
.testimonials {
	background: #fff;
}

.testimonials__header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1.5rem;
	flex-wrap: wrap;
	margin-bottom: clamp(2rem, 4vw, 3rem);
}

.testimonials__heading {
	font-size: clamp(1.5rem, 2.4vw, 2.1rem);
	font-weight: 400;
	margin-bottom: 0.75rem;
}

.testimonials__heading .heading-accent {
	font-weight: 700;
}

.testimonials__text {
	margin: 0;
	max-width: 68ch;
	color: var(--c-muted);
}

.testimonials__items {
	display: grid;
	gap: clamp(1.25rem, 2vw, 1.75rem);
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
}

/* a single testimonial keeps card proportions instead of spanning the row */
.testimonials__items > .testimonial:only-child {
	max-width: 760px;
}

.testimonial {
	position: relative;
	margin: 0;
	padding: clamp(2rem, 3vw, 2.75rem);
	border-radius: 30px;
	overflow: hidden;
	color: #fff;
	background:
		radial-gradient(120% 90% at 85% 20%, rgba(255, 255, 255, 0.16) 0%, transparent 55%),
		var(--c-blue);
}

.testimonial__mark {
	font-family: var(--font-heading);
	font-size: 3.5rem;
	line-height: 0.6;
	color: #fff;
	display: block;
}

.testimonial__mark--close {
	text-align: right;
	margin-top: 0.5rem;
}

.testimonial__quote {
	margin: 1.75rem 0 1.5rem;
	font-size: 1rem;
	line-height: 1.7;
	color: #fff;
}

.testimonial__quote p {
	margin: 0 0 1rem;
}

.testimonial__quote p:last-child {
	margin-bottom: 0;
}

.testimonial__author {
	font-family: var(--font-heading);
	font-size: 1.05rem;
	font-weight: 700;
	color: #fff;
}

/* ---------- CTA banner (pre-footer) ---------- */
.cta-banner {
	background: linear-gradient(120deg, var(--c-orange) 0%, var(--c-orange-dark) 100%);
	color: #fff;
	padding-block: var(--section-space);
}

.cta-banner .button--primary {
	background: #fff;
	color: var(--c-orange-dark);
}

.cta-banner .button--primary:hover {
	background: var(--c-navy-deep);
	color: #fff;
}

.cta-banner__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
}

.cta-banner__text {
	max-width: 60ch;
	margin: 0;
	font-size: 1.15rem;
	line-height: 1.75;
	font-weight: 700;
	color: #fff;
}

.cta-banner__actions {
	display: flex;
	gap: 1rem;
	flex-wrap: wrap;
}

/* ---------- Ambient gradient blobs ---------- */
/*
 * The mockup floats large blurred ellipses behind the lower half of the page.
 * A blurred element that big is expensive to paint, so each one is a radial
 * gradient on a section's ::after instead.
 */
.is-home .home-services,
.is-home .benefits,
.is-home .areas,
.is-home .sectors,
.is-home .home-faqs,
.is-home .latest-news {
	position: relative;
	isolation: isolate;
}

.is-home .home-services::after,
.is-home .benefits::after,
.is-home .areas::after,
.is-home .sectors::after,
.is-home .latest-news::after {
	content: '';
	position: absolute;
	z-index: -1;
	pointer-events: none;
	border-radius: 50%;
}

/* services — warm red/orange, left */
.is-home .home-services::after {
	left: -18%;
	top: 12%;
	width: min(48vw, 700px);
	aspect-ratio: 1;
	background: radial-gradient(closest-side, rgba(216, 34, 45, 0.16), rgba(239, 128, 1, 0.1) 55%, transparent 72%);
}

/* benefits — green into blue, right */
.is-home .benefits::after {
	right: -16%;
	top: -14%;
	width: min(56vw, 880px);
	aspect-ratio: 1;
	background: radial-gradient(closest-side, rgba(147, 191, 62, 0.24), rgba(34, 137, 197, 0.16) 55%, transparent 72%);
}

/* map — cool blue, left */
.is-home .areas::after {
	left: -6%;
	top: 22%;
	width: min(44vw, 660px);
	aspect-ratio: 1;
	background: radial-gradient(closest-side, rgba(0, 145, 210, 0.18), rgba(0, 174, 239, 0.1) 55%, transparent 72%);
}

/* sectors — warm, left */
.is-home .sectors::after {
	left: -20%;
	bottom: -22%;
	width: min(56vw, 900px);
	aspect-ratio: 1;
	background: radial-gradient(closest-side, rgba(216, 34, 45, 0.14), rgba(239, 128, 1, 0.09) 55%, transparent 72%);
}

/* insights — cool blue, right */
.is-home .latest-news::after {
	right: -14%;
	top: 6%;
	width: min(52vw, 880px);
	aspect-ratio: 1;
	background: radial-gradient(closest-side, rgba(0, 145, 210, 0.2), rgba(0, 174, 239, 0.12) 55%, transparent 72%);
}

/* the lower half of the page sits on the soft grey band from the mockup,
   except Benefits and Sectors which carry their own white panel */
.is-home .areas,
.is-home .testimonials,
.is-home .home-faqs {
	background: var(--c-bg-soft);
}

.is-home .benefits,
.is-home .sectors {
	background: #fff;
}

/* ---------- Animated coverage map ---------- */
.areas__media {
	position: relative;
	display: inline-block;
	max-width: 100%;
}

.areas__map {
	display: block;
	width: 100%;
	height: auto;
	max-height: 620px;
	object-fit: contain;
}

/* the route + pins overlay sits exactly on top of the base map */
.areas__pins {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	overflow: visible;
}

.areas__route {
	stroke-dasharray: 1;
	stroke-dashoffset: 1;
}

.areas__dot {
	transform-box: fill-box;
	transform-origin: center;
	transform: scale(0);
	opacity: 0;
}

/* animation runs once the section scrolls into view */
.areas__media.is-drawn .areas__route {
	animation: areas-draw 1900ms cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

.areas__media.is-drawn .areas__dot {
	animation:
		areas-pop 600ms cubic-bezier(0.34, 1.56, 0.64, 1) forwards,
		areas-pulse 3600ms ease-in-out infinite;
	/* pins land in sequence as the route reaches them */
	animation-delay: calc(260ms + var(--i) * 120ms), calc(1400ms + var(--i) * 120ms);
}

@keyframes areas-draw {
	from { stroke-dashoffset: 1; }
	to   { stroke-dashoffset: 0; }
}

@keyframes areas-pop {
	from { transform: scale(0); opacity: 0; }
	60%  { transform: scale(1.18); opacity: 1; }
	to   { transform: scale(1); opacity: 1; }
}

@keyframes areas-pulse {
	0%, 100% { transform: scale(1); }
	50%      { transform: scale(1.12); }
}

/* users who ask for less motion get the finished state, no movement */
@media (prefers-reduced-motion: reduce) {
	.areas__route,
	.areas__media.is-drawn .areas__route {
		animation: none;
		stroke-dashoffset: 0;
	}

	.areas__dot,
	.areas__media.is-drawn .areas__dot {
		animation: none;
		transform: scale(1);
		opacity: 1;
	}
}

/* the intro and services are both white, so they read as one band */
.intro + .home-services {
	padding-top: calc(var(--section-space) / 2);
}

/* ---------- Areas ---------- */
.areas {
	background: #fff;
	padding-block: clamp(2.25rem, 4vw, 3.5rem);
}

.areas__grid {
	display: grid;
	gap: clamp(2rem, 5vw, 4.5rem);
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
	align-items: center;
}

@media (max-width: 900px) {
	.areas__grid {
		grid-template-columns: 1fr;
	}
}

.areas__heading {
	font-size: clamp(1.5rem, 2.4vw, 2.1rem);
	font-weight: 400;
	line-height: 1.25;
	margin-bottom: 1.1rem;
}

.areas__heading .heading-accent {
	font-weight: 700;
}

.areas__text {
	margin-bottom: 1.75rem;
	max-width: 46ch;
	color: var(--c-muted);
}

.areas__media {
	text-align: center;
}

/* ---------- Insights / latest news ---------- */
.latest-news {
	padding-block: var(--section-space);
	background: var(--c-bg-soft);
	overflow: hidden;
}

.latest-news__header {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1.5rem;
	flex-wrap: wrap;
	margin-bottom: 2.25rem;
}

.latest-news__heading {
	font-size: clamp(1.8rem, 3vw, 2.25rem);
	margin-bottom: 0.5rem;
	padding-left: 0;
}

.latest-news__heading::before {
	display: none;
}

.section-heading__dot {
	color: var(--c-green);
}

.latest-news__text {
	max-width: 60ch;
}

.latest-news__more {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	font-family: var(--font-heading);
	font-size: 0.95rem;
	font-weight: 600;
	text-transform: uppercase;
	color: var(--c-deep-red);
	text-decoration: none;
	white-space: nowrap;
	margin-bottom: 0.35rem;
}

.latest-news__more:hover {
	color: var(--c-deep-red-dark);
}

.latest-news__more-arrow {
	width: 58px;
	height: 11px;
	flex: none;
}

/* full-bleed horizontal carousel; padding lines the first card up with
   the container edge on wide screens */
.latest-news__track {
	display: flex;
	gap: 20px;
	overflow-x: auto;
	/* overflow-y resolves to auto alongside overflow-x, which let the track
	   scroll vertically; pin it so only horizontal panning is possible.
	   Vertical wheel/touch scrolling must still reach the page, so only the
	   horizontal overscroll is contained. */
	overflow-y: hidden;
	overscroll-behavior-x: contain;
	scroll-snap-type: x proximity;
	/* % (not vw) so the cards line up with the container edges exactly, even
	   with a visible scrollbar */
	padding-inline: max(var(--gutter), calc((100% - var(--container)) / 2 + var(--gutter)));
	scroll-padding-inline: max(var(--gutter), calc((100% - var(--container)) / 2 + var(--gutter)));
	/* room for the hover lift and shadow; the negative margins keep the layout */
	padding-block: 24px 44px;
	margin-block: -18px -22px;
	scrollbar-width: thin;
	scrollbar-color: var(--c-blue) transparent;
}

/* 385px cards that start on the container edge and run off the right of the
   screen; when every card fits they stretch to fill the container instead */
.latest-news__track > .news-card {
	flex: 1 0 min(385px, 82vw);
	scroll-snap-align: start;
}

.latest-news__nav {
	display: flex;
	justify-content: flex-end;
	gap: 0.6rem;
	margin-top: 1.25rem;
}

.latest-news__arrow {
	width: 44px;
	height: 44px;
	border: 1px solid var(--c-navy);
	border-radius: 50%;
	background: #fff;
	color: var(--c-navy);
	display: grid;
	place-items: center;
	cursor: pointer;
	transition: background var(--transition), color var(--transition);
}

.latest-news__arrow:hover {
	background: var(--c-navy);
	color: #fff;
}

/* arrows only show when there are more cards than fit (see main.js) */
.latest-news__nav[hidden] {
	display: none;
}

.latest-news__arrow svg {
	width: 15px;
	height: 15px;
}

.news-index__grid {
	display: grid;
	gap: 1.75rem;
	grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
}

/* ---------- News card ---------- */
.news-card {
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: 30rem;
	background: #fff;
	border: 1px solid var(--c-line);
	border-radius: 30px;
	overflow: hidden;
	transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.news-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow);
}

.news-card:hover .news-card__image {
	transform: scale(1.05);
}

.news-card__body {
	padding: 2rem 2.2rem 1.5rem;
}

.news-card__meta {
	display: inline-block;
	margin: 0 0 1.1rem;
	background: var(--c-blue);
	color: #fff;
	font-family: var(--font-heading);
	font-size: 0.72rem;
	text-transform: uppercase;
	letter-spacing: -0.02em;
	padding: 0.35rem 0.95rem;
	border-radius: 100px;
	transition: background var(--transition);
}



.news-card__title {
	font-size: 1.35rem;
	font-weight: 400;
	line-height: 1.3;
	margin: 0;
}

.news-card__title a {
	color: var(--c-ink);
	text-decoration: none;
	transition: color var(--transition);
}

.news-card__title a::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 1;
}



.news-card__media {
	position: relative;
	margin-top: auto;
	min-height: 80px;
}

.news-card__image {
	width: 100%;
	height: clamp(200px, 22vw, 270px);
	object-fit: cover;
	display: block;
}

.news-card__arrow {
	position: absolute;
	right: 20px;
	bottom: 20px;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #fff;
	color: var(--c-navy);
	display: grid;
	place-items: center;
	box-shadow: 0 4px 14px rgba(4, 38, 63, 0.22);
	transition: background var(--transition), color var(--transition);
}

.news-card__arrow svg {
	width: 15px;
	height: 15px;
}

@media (max-width: 700px) {
	.news-card {
		min-height: 26rem;
	}
}

.news-card:hover .news-card__arrow {
	background: var(--c-navy);
	color: #fff;
}

/* ---------- Page layout ---------- */
.page-layout {
	display: grid;
	gap: clamp(2.5rem, 5vw, 4rem);
	padding-block: var(--section-space);
}

.page-layout--sidebar {
	grid-template-columns: minmax(0, 2fr) minmax(310px, 1fr);
}

@media (max-width: 900px) {
	.page-layout--sidebar {
		grid-template-columns: 1fr;
	}
}

/* sticks just below the header; main.js fine-tunes the offset (and sticks a
   sidebar taller than the screen by its bottom edge instead) */
.quote-sidebar {
	position: sticky;
	top: 163px;
	align-self: start;
	display: grid;
	gap: 1rem;
}

.quote-sidebar__phone {
	margin: 0.75rem 0 0;
	font-size: 0.92rem;
}

.quote-sidebar__guide {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	background: var(--c-blue);
	color: #fff;
	font-family: var(--font-heading);
	font-size: 0.95rem;

	padding: 1rem 1.25rem;
	border-radius: var(--radius-sidebar);
	border-left: var(--bar) solid var(--c-blue-dark);
	text-decoration: none;
	transition: background var(--transition), transform var(--transition);
}

.quote-sidebar__guide::after {
	content: '\2193';
	font-family: var(--font-body);
	font-size: 1.2rem;
}

.quote-sidebar__guide:hover {
	background: var(--c-blue-dark);
	color: #fff;
	transform: translateY(-2px);
}

/* ---------- Content sections ---------- */
.content-section {
	padding-block: var(--section-space);
}

.content-section--alt {
	background: var(--c-bg-soft);
}

.content-section__heading {
	font-size: clamp(1.65rem, 3vw, 2.3rem);
}

/* .content-section__inner inherits its width from .container */

/* ---------- FAQs ---------- */
.faqs {
	background:
		radial-gradient(ellipse at 92% 8%, rgba(224, 17, 26, 0.13) 0%, transparent 45%),
		var(--c-navy-deep);
	color: #fff;
}

.faqs__heading {
	color: #fff;
	font-size: clamp(1.65rem, 3vw, 2.3rem);
	margin-bottom: 2.5rem;
	text-transform: capitalize;
}

.faqs__heading.section-heading::before {
	background: var(--c-red);
}

.faqs__list {
	display: grid;
	gap: 0.6rem;
}

.faqs__item {
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: var(--radius-sm);
	overflow: hidden;
	transition: background var(--transition);
}

.faqs__item[open] {
	background: rgba(255, 255, 255, 0.07);
}

.faqs__question {
	cursor: pointer;
	list-style: none;
	padding: 1.2rem 3.25rem 1.2rem 1.5rem;
	font-family: var(--font-heading);
	font-size: 1.02rem;
	color: #fff;
	position: relative;
}

.faqs__question::-webkit-details-marker {
	display: none;
}

.faqs__question::after {
	content: '+';
	position: absolute;
	right: 1.4rem;
	top: 50%;
	transform: translateY(-50%);
	font-size: 1.6rem;
	color: var(--c-red);
}

.faqs__item[open] .faqs__question::after {
	content: '\2212';
}

.faqs__answer {
	padding: 0 1.5rem 1.4rem;
	color: rgba(255, 255, 255, 0.85);
}

.faqs__answer a {
	color: #fff;
}

/* Inline FAQ definition lists inside article content (news posts) */
.rich-text dl dt {
	font-family: var(--font-heading);
	color: var(--c-navy-deep);
	background: var(--c-bg-soft);
	border-left: 3px solid var(--c-red);
	border-radius: var(--radius-sm);
	padding: 0.95rem 1.25rem;
	margin-top: 0.75rem;
}

.rich-text dl dd {
	margin: 0;
	padding: 0.95rem 1.25rem;
}

/* ---------- Article ---------- */
.article {
	padding-block: var(--section-space);
}

.article__content {
	max-width: 820px;
	margin-inline: auto;
}

.article__published {
	color: var(--c-muted);
	font-family: var(--font-heading);
	font-size: 0.8rem;

	padding-bottom: 1rem;
	border-bottom: 1px solid var(--c-line);
}

/* ---------- News index ---------- */
.news-index {
	padding-block: var(--section-space);
}

.news-index__filter {
	display: flex;
	justify-content: flex-end;
	margin-bottom: 2.25rem;
}

.news-index__filter select {
	padding: 0.65rem 1rem;
	border: 1px solid var(--c-line);
	border-radius: var(--radius-sm);
	font: inherit;
	color: var(--c-ink);
	background: #fff;
}

.pagination {
	margin-top: 3rem;
	text-align: center;
}

.pagination .page-numbers {
	display: inline-block;
	padding: 0.55rem 1rem;
	border-radius: var(--radius-sm);
	border: 1px solid var(--c-line);
	text-decoration: none;
	font-family: var(--font-heading);
	color: var(--c-navy);
	margin: 0 0.15rem;
	transition: background var(--transition), color var(--transition);
}

.pagination .page-numbers:hover {
	background: var(--c-bg-soft);
}

.pagination .page-numbers.current {
	background: var(--c-red);
	color: #fff;
	border-color: var(--c-red);
}

/* ---------- Contact ---------- */
.contact-layout {
	display: grid;
	gap: clamp(2.5rem, 5vw, 4rem);
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
	padding-block: var(--section-space);
}

.contact-details {
	margin: 2rem 0 0;
	display: grid;
	gap: 1.1rem;
}

.contact-details__row {
	border-left: 3px solid var(--c-red);
	padding-left: 1.1rem;
}

.contact-details__row dt {
	font-family: var(--font-heading);
	font-size: 0.82rem;

	color: var(--c-navy-deep);
}

.contact-details__row dd {
	margin: 0.15rem 0 0;
}

.contact-details__row dd a {
	color: var(--c-red);
	font-weight: 700;
	text-decoration-color: rgba(224, 17, 26, 0.4);
}

.contact-details__row dd a:hover {
	color: var(--c-red-dark);
	text-decoration-color: currentColor;
}

.contact-map iframe {
	width: 100%;
	height: 440px;
	border: 0;
	border-radius: var(--radius);
	margin-bottom: 3rem;
	box-shadow: var(--shadow-soft);
}

/* ---------- Accreditation strip ---------- */
.accreditations {
	background: #fff;
	padding-block: 1.75rem;
}

.accreditations__inner {
	display: flex;
	flex-wrap: wrap;
	gap: clamp(1.25rem, 3vw, 3rem);
	align-items: center;
	justify-content: center;
}

/* as large as on the KW Fire site */
.accreditations__logo {
	display: block;
	width: auto;
	height: auto;
	max-height: 76px;
	max-width: 116px;
	object-fit: contain;
}

/* ---------- Footer ---------- */
.site-footer {
	position: relative;
	background:
		linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
		var(--c-ink-panel);
	color: #fff;
	overflow: hidden;
	font-size: 0.95rem;
}

.site-footer::after {
	content: '';
	position: absolute;
	right: -6%;
	top: -10%;
	width: min(56vw, 1080px);
	aspect-ratio: 1088 / 1315;
	background: url('../img/footer-shield.svg') top right / contain no-repeat;
	opacity: 0.9;
	pointer-events: none;
}

.site-footer__inner {
	position: relative;
	z-index: 1;
	padding-block: clamp(2.75rem, 5vw, 4.5rem) 1.75rem;
}

.site-footer__primary {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr);
	gap: clamp(2.5rem, 6vw, 7rem);
	margin-bottom: clamp(3rem, 6vw, 4.5rem);
}

@media (max-width: 1000px) {
	.site-footer__primary {
		grid-template-columns: 1fr;
	}
}

/* mailing list */
.site-footer__mailing-heading {
	color: #fff;
	font-size: clamp(1.6rem, 3vw, 2.3rem);
	font-weight: 400;
	margin-bottom: 1.5rem;
}

.site-footer__mailing-label {
	margin: 0 0 0.5rem;
	color: #fff;
}

.site-footer__mailing .wpcf7 form {
	display: flex;
	gap: 6px;
	align-items: center;
	max-width: 520px;
}

/*
 * CF7 wraps the field in an inline <span>, so the input would otherwise sit
 * on a text baseline a few pixels below the submit button. Making each row a
 * flex line removes the baseline entirely.
 */
.site-footer__mailing .wpcf7 form > p {
	margin: 0;
	display: flex;
	align-items: center;
	flex: none;
}

.site-footer__mailing .wpcf7 form > p:first-of-type {
	flex: 1;
	min-width: 0;
}

.site-footer__mailing .wpcf7 .wpcf7-form-control-wrap {
	display: block;
	width: 100%;
}

.site-footer__mailing .wpcf7 input[type="email"] {
	/* block, so no baseline descender pads the row out below the button;
	   the shared field rule adds a top margin for stacked label/field forms,
	   which this inline row doesn't want */
	display: block;
	margin: 0;
	width: 100%;
	height: 51px;
	padding: 0 1rem;
	border: 0;
	border-radius: 5px;
	background: #fff;
	color: var(--c-ink);
	font: inherit;
}

.site-footer__mailing .wpcf7 input[type="submit"] {
	height: 51px;
	padding: 0 1.4rem;
	border: 1px solid var(--c-deep-red);
	border-radius: 5px;
	background: var(--c-deep-red);
	color: #fff;
	font-family: var(--font-heading);
	font-size: 0.9rem;
	font-weight: 700;
	text-transform: uppercase;
	cursor: pointer;
	transition: background var(--transition);
}

.site-footer__mailing .wpcf7 input[type="submit"]:hover {
	background: var(--c-deep-red-dark);
}

.site-footer__mailing .wpcf7 .wpcf7-spinner {
	display: none;
}

.site-footer__social {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	margin: 1.25rem 0 0;
	color: #fff;
}

.site-footer__social a {
	display: block;
	border-radius: 50%;
	transition: background var(--transition);
}

.site-footer__social a:hover {
	background: rgba(255, 255, 255, 0.12);
}

.site-footer__social img {
	display: block;
}

.site-footer__branding {
	display: flex;
	align-items: center;
}

.site-footer__mailing + .site-footer__branding {
	margin-top: 2.5rem;
}

.site-footer__logo {
	display: block;
}

.site-footer__logo-image {
	height: 44px;
	width: auto;
	display: block;
}

.site-footer__branding .custom-logo {
	height: 44px;
	width: auto;
	display: block;
}

.site-footer__partner {
	display: block;
	margin-left: 1.1rem;
	padding-left: 1.1rem;
	border-left: 1px solid rgba(255, 255, 255, 0.35);
}

.site-footer__partner-logo {
	height: 44px;
	width: auto;
	display: block;
}

.site-footer__about {
	max-width: 58ch;
	margin-top: 1.5rem;
	line-height: 1.7;
	color: #fff;
}

/* link columns */
.site-footer__columns {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(2.5rem, 5vw, 4rem) clamp(2rem, 5vw, 6rem);
	align-content: start;
}

@media (max-width: 560px) {
	.site-footer__columns {
		grid-template-columns: 1fr;
	}
}

.site-footer__heading {
	color: var(--c-green);
	font-family: var(--font-heading);
	font-size: 1.15rem;
	margin-bottom: 1.1rem;
}

.site-footer__menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.8rem;
}

.site-footer a {
	color: #fff;
	text-decoration: none;
}

.site-footer a:hover {
	color: var(--c-green);
}

.site-footer__address {
	font-style: normal;
	line-height: 1.6;
	margin-bottom: 1.5rem;
}

.site-footer__contact-link {
	display: block;
	font-family: var(--font-heading);
	font-size: 1.15rem;
	font-weight: 700;
	margin-bottom: 0.5rem;
}

/* bottom row */
.site-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding-top: 1.5rem;
	font-size: 0.9rem;
	color: rgba(255, 255, 255, 0.8);
}

.site-footer__legal-wrap {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem;
}

.site-footer__legal {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin: 0;
	padding: 0;
}

.site-footer__legal a,
.site-footer__credit a {
	color: rgba(255, 255, 255, 0.8);
}

.site-footer__copyright,
.site-footer__credit {
	margin: 0;
}

/* ---------- Responsive header ---------- */
@media (max-width: 1200px) {
	.site-header__topband-inner {
		justify-content: center;
	}

	.site-header__nav {
		display: none;
	}

	.site-header__toggle {
		display: flex;
	}
}

@media (max-width: 700px) {
	.site-header__call {
		display: none;
	}

	.site-header__topband-inner {
		flex-wrap: nowrap;
		justify-content: space-between;
		gap: 0.5rem;
		min-height: 52px;
	}

	.pill {
		font-size: 0.68rem;
		gap: 0.45rem;
	}

	.pill--outline {
		padding: 0.25rem 0.3rem 0.25rem 0.7rem;
	}

	.pill--quote {
		padding: 0.25rem 0.25rem 0.25rem 0.8rem;
	}

	.pill__circle--outline {
		width: 18px;
		height: 18px;
	}

	.pill__circle--red {
		width: 26px;
		height: 26px;
	}
}

/* JS adds --compact when the one-row nav can't fit without clipping */
.site-header--compact .site-header__nav {
	display: none;
}

.site-header--compact .site-header__toggle {
	display: flex;
}

@media (min-width: 1201px) {
	.site-header:not(.site-header--compact) .site-header__mobile {
		display: none !important;
	}
}

/* =========================================================
   Content enrichment — turn plain text runs into layouts
   ========================================================= */

/* In-content h2s carry the same red side bar as section headings */
.rich-text h2 {
	position: relative;
	padding-left: 1.4rem;
}

.rich-text h2::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0.18em;
	bottom: 0.18em;
	width: var(--bar);
	background: var(--c-red);
}

/* Lead paragraph on main page content */
.page-layout__content > p:first-child {
	font-size: 1.2rem;
	line-height: 1.75;
	color: var(--c-ink);
}

/* Checklist card grids (JS adds .list-checks to qualifying ULs) */
.rich-text ul.list-checks {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
	gap: 0.8rem;
	padding-left: 0;
	margin-block: 1.75rem;
}

.rich-text ul.list-checks li {
	border-radius: var(--radius-md) !important;
	position: relative;
	/* align-content centres the text block vertically without breaking
	   inline flow (display:flex would turn links into separate items) */
	display: block;
	align-content: center;
	margin: 0;
	padding: 1.1rem 1.25rem 1.1rem 3.1rem;
	background: #fff;
	border: 1px solid var(--c-line);
	border-radius: var(--radius);
	box-shadow: var(--shadow-soft);
	line-height: 1.55;
}

.rich-text ul.list-checks li::before {
	content: '';
	position: absolute;
	left: 1.1rem;
	top: 1.25rem;
	width: 20px;
	height: 20px;
	background: var(--c-red);
	border-radius: var(--radius-sm);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M438.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L160 338.7 393.4 105.4c12.5-12.5 32.8-12.5 45.3 0z'/%3E%3C/svg%3E") center / 14px no-repeat, linear-gradient(#000 0 0);
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M438.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L160 338.7 393.4 105.4c12.5-12.5 32.8-12.5 45.3 0z'/%3E%3C/svg%3E") center / 14px no-repeat;
	-webkit-mask-composite: xor;
	mask-composite: exclude;
}

/* simpler: solid red square with white tick, vertically centred */
.rich-text ul.list-checks li::before {
	background: var(--c-red);
	-webkit-mask: none;
	mask: none;
	top: 50%;
	transform: translateY(-50%);
}

.rich-text ul.list-checks li::after {
	content: '';
	position: absolute;
	left: calc(1.1rem + 5px);
	top: 50%;
	width: 8px;
	height: 5px;
	border-left: 2.5px solid #fff;
	border-bottom: 2.5px solid #fff;
	transform: translateY(-70%) rotate(-45deg);
}

/* Chip lists — lists of links become button chips */
.rich-text ul.list-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
	padding-left: 0;
	margin-block: 1.5rem;
}

.rich-text ul.list-chips li {
	margin: 0;
	padding: 0;
}

.rich-text ul.list-chips li::before,
.rich-text ul.list-chips li::after {
	display: none;
}

.rich-text ul.list-chips li > a {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	font-family: var(--font-heading);
	font-size: 0.88rem;
	font-weight: 400;
	color: var(--c-navy);
	background: #fff;
	border: 1.5px solid var(--c-navy);
	border-radius: var(--radius-sm);
	padding: 0.55rem 1.1rem;
	text-decoration: none;
	transition: background var(--transition), color var(--transition), transform var(--transition);
}

.rich-text ul.list-chips li > a::after {
	content: '\2192';
	font-family: var(--font-body);
}

.rich-text ul.list-chips li > a:hover {
	background: var(--c-navy);
	color: #fff;
	transform: translateY(-2px);
}

/* Tables (legal pages) */
.rich-text table {
	width: 100%;
	border-collapse: collapse;
	margin-block: 1.75rem;
	font-size: 0.92rem;
	box-shadow: var(--shadow-soft);
	border-radius: var(--radius);
	overflow: hidden;
}

.rich-text th {
	background: var(--c-navy-deep);
	color: #fff;
	font-family: var(--font-heading);
	font-weight: 400;
	text-align: left;
	padding: 0.85rem 1rem;
}

.rich-text td {
	padding: 0.8rem 1rem;
	border-bottom: 1px solid var(--c-line);
	vertical-align: top;
}

.rich-text tr:nth-child(even) td {
	background: var(--c-bg-soft);
}

/* Dark content-section variant */
.content-section--dark {
	background:
		radial-gradient(ellipse at 90% 12%, rgba(224, 17, 26, 0.12) 0%, transparent 46%),
		linear-gradient(115deg, var(--c-navy-deep), var(--c-navy));
	color: rgba(255, 255, 255, 0.9);
}

.content-section--dark .content-section__heading {
	color: #fff;
}

.content-section--dark .rich-text h2,
.content-section--dark .rich-text h3,
.content-section--dark .rich-text h4 {
	color: #fff;
}

.content-section--dark .rich-text a {
	color: #ff9096;
	text-decoration-color: rgba(255, 144, 150, 0.5);
}

.content-section--dark .rich-text a:hover {
	color: #fff;
}

.content-section--dark .rich-text ul.list-checks li {
	background: rgba(255, 255, 255, 0.05);
	border-color: rgba(255, 255, 255, 0.16);
	box-shadow: none;
	color: rgba(255, 255, 255, 0.92);
}

.content-section--dark .rich-text ul.list-chips li > a {
	background: transparent;
	border-color: rgba(255, 255, 255, 0.6);
	color: #fff;
}

.content-section--dark .rich-text ul.list-chips li > a:hover {
	background: #fff;
	color: var(--c-navy-deep);
}

.content-section--dark .rich-text ul li::before {
	background: var(--c-red);
}

.content-section--dark .rich-text img {
	box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
}

/* Images in content sections span the container */
.content-section__content img {
	width: 100%;
}

/* Leading full-width image in a content section becomes a banner strip */
.content-section__content > p:first-child > img:only-child {
	aspect-ratio: 21 / 8;
	object-fit: cover;
}

/* ---------- CF7 status messages (all states) ----------
   Success, validation and submission errors share one treatment: brand
   background, no border, 20px top margin only, sized to its content. */
.wpcf7 form .wpcf7-response-output {
	grid-column: 1 / -1;
	width: fit-content;
	max-width: 100%;
	margin: 20px 0 0;
	padding: 0.75rem 1rem;
	border: 0;
	border-radius: var(--radius-sm);
	background: var(--brand-primary);
	color: var(--brand-on-primary);
	font-size: 0.92rem;
	font-weight: 700;
	line-height: 1.5;
	overflow-wrap: anywhere;
}

/* the quote sidebar panel is itself brand red, so its messages sit on the
   darker red to stay visible as a distinct block */
.quote-sidebar .form-panel .wpcf7 form .wpcf7-response-output {
	background: var(--c-red-dark);
}

/* ---------- Article with related sidebar ---------- */
.article-layout {
	display: grid;
	gap: clamp(2.5rem, 5vw, 4rem);
	grid-template-columns: minmax(0, 2.2fr) minmax(300px, 1fr);
	padding-block: var(--section-space);
}

@media (max-width: 900px) {
	.article-layout {
		grid-template-columns: 1fr;
	}
}

.article-layout__sidebar {
	align-self: start;
	position: sticky;
	top: 130px;
}

.article-layout__sidebar-heading {
	font-size: 1.3rem;
	margin-bottom: 1.5rem;
}

.article-layout__related {
	display: grid;
	gap: 1.5rem;
}

@media (max-width: 900px) {
	.article-layout__related {
		grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	}
}

/* ---------- Quote sidebar panel: red variant ---------- */
.quote-sidebar .form-panel {
	background: var(--c-red);
	border-top: var(--bar) solid var(--c-red-dark);
	border-radius: var(--radius-sidebar);
	color: #fff;
}

.quote-sidebar .form-panel__heading,
.quote-sidebar .form-panel a {
	color: #fff;
}

.quote-sidebar .wpcf7 input[type="text"],
.quote-sidebar .wpcf7 input[type="tel"],
.quote-sidebar .wpcf7 input[type="email"],
.quote-sidebar .wpcf7 select {
	border-color: transparent;
}

.quote-sidebar .wpcf7 input:focus,
.quote-sidebar .wpcf7 select:focus {
	outline-color: var(--c-ink);
}

.quote-sidebar .form-panel .wpcf7 label {
	color: #fff;
}

.quote-sidebar .form-panel .wpcf7 .wpcf7-not-valid-tip {
	color: #fff;
	text-decoration: underline;
}

.quote-sidebar .form-panel .wpcf7 input[type="submit"] {
	background: var(--c-ink);
	color: #fff;
	font-weight: 700;
	border-radius: var(--radius-sm);
}

.quote-sidebar .form-panel .wpcf7 input[type="submit"]:hover {
	background: var(--c-navy-deep);
	color: #fff;
}

/* Compact quick quote form, as the KW Fire sidebar: every field full width
   on its own row, with tight spacing so the sidebar stays short */
.quote-sidebar .form-panel {
	padding: 1.4rem 1.5rem 1.3rem;
}

.quote-sidebar .form-panel__heading {
	margin-bottom: 0.8rem;
	font-size: 1.35rem;
}

.quote-sidebar .wpcf7 label {
	margin-bottom: 0.55rem;
	font-size: 0.78rem;
	line-height: 1.4;
}

.quote-sidebar .wpcf7 input[type="text"],
.quote-sidebar .wpcf7 input[type="tel"],
.quote-sidebar .wpcf7 input[type="email"],
.quote-sidebar .wpcf7 select {
	margin-top: 0.2rem;
	padding: 0.45rem 0.75rem;
	font-size: 0.88rem;
}

.quote-sidebar .wpcf7 input[type="submit"] {
	margin-top: 0.2rem;
	padding: 0.6rem 1.5rem;
	font-size: 0.88rem;
}

.quote-sidebar .wpcf7 .wpcf7-response-output {
	margin-top: 0.5rem !important;
}

.page-layout__content .wpcf7 select,
.advice-cta .wpcf7 select,
.quote-sidebar .wpcf7 select {
	padding-right: 2.5rem;
}

/* contact page: two-column form like the KW contact page */
.contact-layout__form .wpcf7 form {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 1rem;
}

.contact-layout__form .wpcf7 form > p:first-of-type,
.contact-layout__form .wpcf7 form > p:has(textarea),
.contact-layout__form .wpcf7 form > p:has(select),
.contact-layout__form .wpcf7 form > p:has(input[type="submit"]),
.contact-layout__form .wpcf7 form > .wpcf7-response-output {
	grid-column: 1 / -1;
}

@media (max-width: 640px) {
	.contact-layout__form .wpcf7 form {
		grid-template-columns: 1fr;
	}
}


/* ---------- CF7 essentials (its stylesheet is dequeued) ---------- */
.wpcf7 fieldset.hidden-fields-container {
	display: none;
}

.wpcf7 .screen-reader-response {
	position: absolute;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	height: 1px;
	width: 1px;
	margin: 0;
	padding: 0;
	border: 0;
}

.wpcf7-spinner {
	display: inline-block;
	visibility: hidden;
	width: 22px;
	height: 22px;
	border: 3px solid rgba(255, 255, 255, 0.4);
	border-top-color: var(--c-red);
	border-radius: 50%;
	vertical-align: middle;
	margin: 0 0 0 0.75rem;
}

.wpcf7 form.submitting .wpcf7-spinner {
	visibility: visible;
	animation: wpcf7-spin 1s linear infinite;
}

@keyframes wpcf7-spin {
	to { transform: rotate(360deg); }
}

.wpcf7 form .wpcf7-response-output {
	display: none;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output,
.wpcf7 form.sent .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output,
.wpcf7 form.spam .wpcf7-response-output {
	display: block;
}

/* =========================================================
   Hoyles additions
   ========================================================= */

/* ---------- Top band quick links (About, Recruitment, Contact…) ---------- */
.site-header__topband-left {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	min-width: 0;
}

.topband-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 1.4rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.topband-nav a {
	font-size: 0.9rem;
	color: rgba(255, 255, 255, 0.85);
	text-decoration: none;
}

.topband-nav a:hover,
.topband-nav .current-menu-item > a {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 4px;
}

@media (max-width: 1200px) {
	.site-header__quicklinks {
		display: none;
	}
}

/* site name, shown only if no logo has been uploaded */
.site-header__site-name {
	font-family: var(--font-heading);
	font-size: 1.4rem;
	color: var(--c-navy);
	text-decoration: none;
}

/* ---------- List panel items that link through ---------- */
.sectors__list a {
	color: #fff;
	text-decoration: none;
	background-image: linear-gradient(currentColor, currentColor);
	background-size: 0 1px;
	background-position: 0 100%;
	background-repeat: no-repeat;
	transition: background-size var(--transition), color var(--transition);
}

.sectors__list a:hover,
.sectors__list a:focus-visible {
	color: var(--c-green);
	background-size: 100% 1px;
}

/* ---------- Coverage map: AFP's own (South Wales) pin ---------- */
.areas__home-ring {
	fill: none;
	stroke: var(--c-red);
	stroke-width: 2;
	opacity: 0;
	transform-box: fill-box;
	transform-origin: center;
}

.areas__media.is-drawn .areas__home-ring {
	animation: areas-home-ring 2400ms ease-out 2200ms infinite;
}

@keyframes areas-home-ring {
	0% { transform: scale(0.6); opacity: 0.9; }
	100% { transform: scale(1.6); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
	.areas__media.is-drawn .areas__home-ring {
		animation: none;
		opacity: 0.6;
	}
}

/* ---------- Button rows inside editor content ---------- */
.rich-text .button-row,
.button-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin: 1.5rem 0 2rem;
}

.rich-text .button-row a.button {
	color: #fff;
	font-weight: 400;
	text-decoration: none;
}

.rich-text .button-row a.button--ghost-dark {
	color: var(--c-navy);
}

.rich-text .button-row a.button--ghost-dark:hover {
	color: #fff;
}

/* ---------- Search form (404 + search results) ---------- */
.search-form {
	display: flex;
	gap: 0.5rem;
	max-width: 560px;
}

.search-form label {
	flex: 1;
	min-width: 0;
}

.search-form .search-field {
	width: 100%;
	height: 50px;
	padding: 0 1rem;
	border: 1px solid var(--c-line);
	border-radius: var(--radius-sm);
	font: inherit;
	color: var(--c-ink);
	background: var(--c-bg-soft);
}

.search-form .search-field:focus {
	outline: 2px solid var(--c-blue);
	outline-offset: 1px;
}

.search-form .search-submit {
	height: 50px;
	padding: 0 1.4rem;
	border: 0;
	border-radius: var(--radius-sm);
	background: var(--c-navy);
	color: #fff;
	font-family: var(--font-heading);
	font-size: 0.92rem;
	cursor: pointer;
	transition: background var(--transition);
}

.search-form .search-submit:hover {
	background: var(--c-navy-deep);
}

.not-found__search {
	margin: 1.75rem 0;
}

/* ---------- Search results ---------- */
.search-results {
	padding-block: var(--section-space);
}

.search-results__form {
	margin-bottom: 2.5rem;
}

.search-results__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 1.25rem;
	max-width: 900px;
}

.search-result {
	padding: 1.5rem 1.75rem;
	border: 1px solid var(--c-line);
	border-left: var(--bar) solid var(--c-red);
	border-radius: var(--radius);
	background: #fff;
	transition: box-shadow var(--transition), transform var(--transition);
}

.search-result:hover {
	box-shadow: var(--shadow-soft);
	transform: translateY(-2px);
}

.search-result__type {
	margin: 0 0 0.35rem;
	font-family: var(--font-heading);
	font-size: 0.75rem;
	text-transform: uppercase;
	color: var(--c-blue);
}

.search-result__title {
	font-size: 1.3rem;
	margin: 0 0 0.5rem;
}

.search-result__title a {
	color: var(--c-ink);
	text-decoration: none;
}

.search-result__title a:hover {
	color: var(--c-red);
}

.search-result__excerpt {
	margin: 0;
	font-size: 0.97rem;
	color: var(--c-muted);
}

/* ---------- Audit follow-up (Sep 2026): live-matching homepage ---------- */

/* the hero heading breaks evenly ("Fire safety. / For life.") */
.hero__title {
	text-wrap: balance;
}

/* intro without key figures: the live copy sits in two columns */
.intro--columns .intro__grid {
	grid-template-columns: minmax(0, 1fr);
}

.intro__columns {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 clamp(1.5rem, 4vw, 4rem);
}

.intro--columns .intro__body {
	font-size: 1.02rem;
	color: var(--c-body);
	margin-bottom: 0;
}

@media (max-width: 900px) {
	.intro__columns {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* portfolio items link through */
.benefits__title {
	font-size: clamp(1.1rem, 1.3vw, 1.3rem);
}

.benefits__link {
	margin-top: 0.6rem;
	font-family: var(--font-heading);
	font-size: 0.88rem;
	color: var(--c-deep-red);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.benefits__link:hover {
	color: var(--c-deep-red-dark);
}

/* testimonials: the call to action is a heading, with an optional icon */
.testimonials__cta {
	display: flex;
	align-items: center;
	gap: 0.85rem;
}

.testimonials__cta-icon {
	width: 48px;
	height: 48px;
	object-fit: contain;
}

.testimonials__cta-heading {
	margin: 0;
	font-size: inherit;
	line-height: 1.2;
}

.testimonial figcaption {
	margin: 0;
}

/* the author is an H2, as on the live homepage */
.testimonial__author {
	margin: 0;
	line-height: 1.3;
}

/* form panel headings: an H3 where the live page showed one, otherwise styled text */
h3.form-panel__heading,
p.form-panel__heading {
	margin-top: 0;
	margin-bottom: 1rem;
	font-family: var(--font-heading);
	font-weight: 500;
	line-height: 1.25;
}

/* CTA banner: optional page heading + formatted page text (links allowed) */
.cta-banner__copy {
	max-width: 60ch;
}

.cta-banner__heading {
	color: #fff;
	font-size: clamp(1.4rem, 2.2vw, 1.9rem);
	margin: 0 0 0.6rem;
}

div.cta-banner__text p {
	margin: 0 0 0.6rem;
}

div.cta-banner__text p:last-child {
	margin-bottom: 0;
}

.cta-banner__text a {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.cta-banner__text a:hover {
	color: var(--c-navy-deep);
}

/* homepage rhythm with the live section order: testimonials (grey) ->
   areas (white) -> latest news (grey) */
.is-home .areas {
	background: #fff;
}

/* ---------- Heading levels and text matched to the live site ---------- */

/* the signature full stop is drawn here, so the heading text stays exactly
   as entered (see hoyles_split_heading()) */
.heading-dot--decor::after {
	content: '.';
}

/* footer column titles are paragraphs: the live footer had no headings */
p.site-footer__heading {
	margin: 0 0 1.1rem;
	font-weight: 700;
	line-height: 1.12;
}

/* ---------- List panel with the quick quote form (homepage) ---------- */
.sectors--form .sectors__grid {
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: start;
}

@media (max-width: 900px) {
	.sectors--form .sectors__grid {
		grid-template-columns: 1fr;
	}
}

.sectors--form .sectors__list {
	padding: 0;
	margin: 0 0 1.75rem;
	gap: 0.85rem;
}

.sectors--form .sectors__list li {
	color: var(--c-ink);
	font-size: clamp(1rem, 1.2vw, 1.15rem);
	line-height: 1.45;
}

.sectors--form .sectors__list li::before {
	background: var(--c-green);
}

.sectors--form .sectors__list a {
	color: var(--c-ink);
}

.sectors__form .quote-sidebar {
	position: static;
}

/* ---------- News filter bar: category, "Sort by...", search (as on live) ---------- */
.news-index__filter {
	flex-wrap: wrap;
	gap: 0.75rem;
}

.news-index__search {
	display: flex;
	min-width: min(100%, 320px);
}

.news-index__search input {
	flex: 1;
	min-width: 0;
	padding: 0.65rem 1rem;
	border: 1px solid var(--c-line);
	border-right: 0;
	border-radius: var(--radius-sm) 0 0 var(--radius-sm);
	font: inherit;
	color: var(--c-ink);
	background: #fff;
}

.news-index__search button {
	padding: 0 1.2rem;
	border: 0;
	border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
	background: var(--c-navy);
	color: #fff;
	font-family: var(--font-heading);
	font-size: 0.9rem;
	cursor: pointer;
	transition: background var(--transition);
}

.news-index__search button:hover {
	background: var(--c-red);
}

/* ---------- Article sidebar: author, share, published, related (as on live) ---------- */
.article-layout__sidebar {
	position: static;
	display: grid;
	gap: 2rem;
	align-content: start;
}

.article-author__card {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.article-author__image {
	width: 72px;
	height: 72px;
	border-radius: 50%;
	flex-shrink: 0;
}

.article-author__name {
	margin: 0;
	font-family: var(--font-heading);
	font-size: 1.1rem;
	color: var(--c-ink);
}

.article-author__bio {
	margin: 0.35rem 0 0;
	font-size: 0.92rem;
	line-height: 1.55;
	color: var(--c-muted);
}

.article-share__heading {
	font-size: 1.05rem;
	margin-bottom: 0.9rem;
}

.article-share__links {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 0.6rem;
}

.article-share__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--c-navy);
	color: #fff;
	transition: background var(--transition), transform var(--transition);
}

.article-share__link:hover {
	background: var(--c-red);
	color: #fff;
	transform: translateY(-2px);
}

.article-share__link svg {
	width: 18px;
	height: 18px;
}

.article-layout__sidebar .article__published {
	margin: 0;
}

/* small screens: the filter controls stack at full width */
@media (max-width: 640px) {
	.news-index__filter > select,
	.news-index__search {
		flex: 1 1 100%;
		min-width: 0;
	}
}


/* ---------- Hoyles: intro columns with their own headings ---------- */
.intro__column > .intro__heading--column {
	margin-bottom: 1rem;
}

.intro__column + .intro__column {
	margin-top: 0;
}

@media (max-width: 900px) {
	.intro__column + .intro__column {
		margin-top: 1.75rem;
	}
}

/* ---------- Hoyles: advice panel inside a page ---------- */
.advice-cta--page {
	margin-block: var(--section-space);
}

.advice-cta--page .advice-cta__grid {
	grid-template-columns: minmax(0, 1fr);
	padding-block: clamp(3rem, 6vw, 5.5rem);
}

.advice-cta--page .advice-cta__content {
	max-width: 64ch;
}

.advice-cta--page .advice-cta__text {
	margin-bottom: 1.75rem;
}

/* ---------- Hoyles: form panel below the page content ---------- */
.content-form {
	margin-block: 0 var(--section-space);
}

.content-form__panel {
	max-width: 640px;
	margin-inline: auto;
}

/* ---------- Hoyles: H6 call-to-action links (PPC landing page) ---------- */
.rich-text h6:has(> a.button) {
	margin: 0.75rem 0;
	font-size: 1rem;
}

.rich-text h6 > a.button,
.rich-text h6 > a.button:hover {
	display: inline-block;
	color: #fff;
	text-decoration: none;
}

/* ---------- Accreditation logos: larger and clearer (SEO feedback, Oct 2026) ----------
   The logo files carry white space around each mark, so they are set by
   height (not capped by width) and given a little extra contrast so the thin
   BSI marks and the pale Constructionline logo read clearly. */
.accreditations__inner {
	gap: clamp(1rem, 2.5vw, 2.25rem);
}

.accreditations__logo {
	height: clamp(64px, 6.5vw, 96px);
	width: auto;
	max-height: none;
	max-width: 160px;
	filter: contrast(1.2) saturate(1.1);
}

@media (max-width: 600px) {
	.accreditations__logo {
		height: 60px;
		max-width: 96px;
	}
}

/* ---------- Testimonials: a single testimonial sits beside its heading ---------- */
@media (min-width: 1024px) {
	.testimonials .container:has(> .testimonials__items > .testimonial:only-child) {
		display: grid;
		grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
		gap: clamp(2rem, 5vw, 5rem);
		align-items: center;
	}

	.testimonials .container:has(> .testimonials__items > .testimonial:only-child) > .testimonials__header {
		margin-bottom: 0;
	}

	.testimonials__items > .testimonial:only-child {
		max-width: none;
	}
}

/* ---------- Article sidebar: sticky and compact (as on the LS Fire Group site) ----------
   Sticks below the header while the article scrolls; main.js sets the exact
   offset, or sticks it by its bottom edge when it is taller than the screen.
   Related blogs are compact cards (a small photo beside the read time and
   title, same markup and headings) so the sidebar fits a laptop screen. */
.article-layout__sidebar {
	position: sticky;
	top: 130px;
	gap: 1.5rem;
}

@media (max-width: 900px) {
	.article-layout__sidebar {
		position: static;
	}
}

.article-layout__sidebar .article-layout__sidebar-heading,
.article-share__heading {
	font-size: 1.15rem;
	margin-bottom: 0.9rem;
}

.article-author__card {
	padding: 0.85rem 1.1rem;
	background: var(--c-bg-soft);
	border-radius: var(--radius-md);
}

.article-author__image {
	width: 56px;
	height: 56px;
	object-fit: cover;
}

.article-share__link {
	width: 40px;
	height: 40px;
}

.article-layout__related {
	gap: 0.6rem;
}

@media (max-width: 900px) {
	.article-layout__related {
		grid-template-columns: 1fr;
	}
}

.article-layout__related .news-card {
	display: grid;
	grid-template-columns: 92px minmax(0, 1fr);
	align-items: center;
	gap: 0.9rem;
	min-height: 0;
	padding: 0.6rem;
	border-radius: var(--radius-md);
}

.article-layout__related .news-card:hover {
	transform: translateY(-2px);
	box-shadow: var(--shadow-soft);
}

.article-layout__related .news-card__media {
	grid-column: 1;
	grid-row: 1;
	margin: 0;
	min-height: 0;
	height: auto;
	aspect-ratio: 4 / 3;
	border-radius: 12px;
	overflow: hidden;
	background: var(--c-bg-soft);
}

.article-layout__related .news-card__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.article-layout__related .news-card__arrow {
	display: none;
}

.article-layout__related .news-card__body {
	grid-column: 2;
	grid-row: 1;
	padding: 0;
}

.article-layout__related .news-card__meta {
	margin-bottom: 0.3rem;
	padding: 0.15rem 0.6rem;
	font-size: 0.6rem;
}

.article-layout__related .news-card__title {
	font-size: 0.92rem;
	line-height: 1.28;
	margin: 0;
}

.article-layout__related .news-card:hover .news-card__title a {
	color: var(--c-blue);
}

/* ---------- Footer: mailing list title and social icons (group style) ---------- */
/* the title is a styled paragraph, not a heading */
.site-footer__mailing-heading {
	font-family: var(--font-heading);
	line-height: 1.12;
	margin: 0 0 1.5rem;
}

.site-footer__mailing .wpcf7 .wpcf7-not-valid-tip {
	display: block;
	color: #ffd2d4;
	margin-top: 0.45rem;
	font-size: 0.85rem;
	line-height: 1.4;
}

.site-footer__mailing .wpcf7 form {
	flex-wrap: wrap;
	align-items: flex-start;
}

.site-footer__mailing .wpcf7 form .wpcf7-response-output {
	flex-basis: 100%;
	margin: 0.75rem 0 0;
	color: #fff;
}

.site-footer__social {
	gap: 0.6rem;
}

.site-footer__social a.site-footer__social-link {
	display: inline-grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
	transition: background var(--transition), color var(--transition);
}

.site-footer__social a.site-footer__social-link:hover {
	background: var(--c-green);
	color: var(--c-ink);
}

.site-footer__social-link .icon {
	width: 17px;
	height: 17px;
}

/* ---------- Primary nav: live's top level (Oct 2026) ----------
   Live's main menu lists the seven service sections and Contact. Their full
   link text is kept, so on desktop each label may wrap onto two lines; the
   dropdowns at the right-hand end open leftwards so they stay on screen. */
@media (min-width: 1201px) {
	.site-nav {
		gap: clamp(1rem, 1.4vw, 1.75rem);
	}

	/* items shrink only as far as they must, wrapping their text */
	.site-nav > li {
		flex: 0 1 auto;
	}

	.site-nav > li > a {
		display: block;
		white-space: normal;
		line-height: 1.2;
		text-wrap: balance;
	}

	/* the chevron follows the last word (kept on one line with it in
	   hoyles_primary_menu_title()), even on a wrapped label */
	.site-nav > li.menu-item-has-children > a::after {
		content: none;
	}

	.site-nav__last {
		white-space: nowrap;
	}

	.site-nav > li.menu-item-has-children .site-nav__last::after {
		content: '';
		display: inline-block;
		width: 7px;
		height: 7px;
		margin: -4px 0 0 0.45rem;
		vertical-align: middle;
		border-right: 2px solid currentColor;
		border-bottom: 2px solid currentColor;
		transform: rotate(45deg);
	}
}

@media (min-width: 1201px) and (max-width: 1599px) {
	.site-nav {
		gap: 1rem;
	}

	.site-nav > li > a {
		font-size: 0.88rem;
	}

	.site-nav > li:nth-last-child(-n+3) > .sub-menu {
		left: auto;
		right: 0;
		transform: translate(0, 10px);
	}

	.site-nav > li:nth-last-child(-n+3):hover > .sub-menu,
	.site-nav > li:nth-last-child(-n+3):focus-within > .sub-menu,
	.site-nav > li:nth-last-child(-n+3).is-open > .sub-menu {
		transform: translate(0, 0);
	}
}

/* ---------- Mobile menu: the top-bar links under the main items ---------- */
.mobile-nav--secondary {
	padding-top: 0.75rem;
	border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.mobile-nav--secondary a {
	font-family: var(--font-body);
	font-size: 0.95rem;
	color: rgba(255, 255, 255, 0.85);
	padding: 0.45rem 0;
}

/* ---------- Two grey bands in a row (as on the LS Fire Group site) ----------
   e.g. the homepage testimonials then Latest news, or a grey content section
   then its service cards: the same grey hides the slanted edge between them,
   so the second takes a slightly cooler grey and a third goes back to the
   light grey. */
:root {
	--c-bg-tint: #e7edf3;
}

:is(.content-section--alt, .services, .latest-news, .testimonials) + :is(.content-section--alt, .services, .latest-news, .testimonials) {
	background-color: var(--c-bg-tint);
}

:is(.content-section--alt, .services, .latest-news, .testimonials) + :is(.content-section--alt, .services, .latest-news, .testimonials) + :is(.content-section--alt, .services, .latest-news, .testimonials) {
	background-color: var(--c-bg-soft);
}

/* ---------- Slanted section edges ----------
   (Kept last so these spacings win over each section's own padding.)
   As on the KW Fire build: each band starts on a diagonal that rises to the
   right, parallel to the banners' angled bottom edges. A band overlaps the
   section above by the slant's height and has its top corner clipped away,
   so whatever colour is above shows through; the section above gets the
   same height back as bottom padding so nothing sits under the diagonal. */
.advice-cta,
.testimonials,
.areas,
.latest-news,
.content-section,
.services,
.faqs,
.benefits,
.sectors,
.home-faqs,
.cta-banner,
.accreditations,
.site-footer {
	position: relative;
	margin-top: calc(var(--slant) * -1);
	clip-path: polygon(0 var(--slant), 100% 0, 100% 100%, 0 100%);
}

.advice-cta,
.testimonials,
.latest-news,
.content-section,
.services,
.faqs,
.benefits,
.sectors,
.home-faqs,
.cta-banner {
	padding-top: calc(var(--section-space) + var(--slant));
}

.areas {
	padding-top: calc(clamp(2.25rem, 4vw, 3.5rem) + var(--slant));
}

.accreditations {
	padding-top: calc(1.75rem + var(--slant));
	padding-bottom: calc(1.75rem + var(--slant));
}

.site-footer {
	padding-top: var(--slant);
}

main > :has(+ :is(.advice-cta, .testimonials, .areas, .latest-news, .content-section, .services, .faqs, .benefits, .sectors, .home-faqs)),
main > :last-child,
.cta-banner {
	padding-bottom: calc(var(--section-space) + var(--slant));
}

/* page banners end on the same angled edge as the homepage banner */
.page-banner {
	padding-bottom: var(--slant);
}

.page-banner::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	z-index: 2;
	height: var(--slant);
	background: #fff;
	clip-path: polygon(0 100%, 100% 0, 100% 100%);
	pointer-events: none;
}

/* a plain white content section needs an opaque background so its slanted
   top edge shows over the section above */
.content-section:not(.content-section--alt):not(.content-section--dark) {
	background-color: #fff;
}

/* ---------- Page banner "call us" panel (as on the KW Fire site) ---------- */
.page-banner__inner--panel {
	display: grid;
	grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr);
	gap: clamp(1.5rem, 5vw, 5rem);
	align-items: center;
}

@media (max-width: 1023px) {
	.page-banner__inner--panel {
		grid-template-columns: 1fr;
	}
}

.page-banner__panel {
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.16);
	backdrop-filter: blur(6px);
}

.page-banner__panel::before {
	content: '';
	position: absolute;
	left: 0;
	top: 1.75rem;
	bottom: 1.75rem;
	width: var(--bar);
	background: var(--c-green);
}

.page-banner__panel .call-panel__lead {
	font-size: clamp(1.15rem, 1.7vw, 1.4rem);
	font-weight: 700;
}

/* ---------- Areas we cover: the dark band from the KW Fire build ---------- */
.areas,
.is-home .areas {
	background:
		radial-gradient(45% 60% at 10% 55%, rgba(34, 137, 197, 0.35) 0%, transparent 70%),
		var(--grad-navy);
	color: var(--c-on-dark);
}

/* the light-page glow behind the map isn't needed on the navy band */
.is-home .areas::after {
	display: none;
}

.areas__heading,
.areas__heading .heading-accent {
	color: #fff;
}

.areas__text,
.areas__text p {
	color: var(--c-on-dark);
}

.areas .arrow-link {
	color: #fff;
}

.areas .arrow-link:hover {
	color: var(--c-green);
}

/* ---------- Sidebar order and buttons as on the KW Fire site ---------- */
/* the guide download sits above the form as one of KW's navy buttons */
.quote-sidebar__guide {
	padding: 0.9rem 1.1rem;
	border-left: 0;
	border-radius: var(--radius-sidebar);
	background: var(--c-navy);
	font-size: 0.92rem;
	line-height: 1.3;
}

.quote-sidebar__guide::after {
	color: var(--c-green);
}

.quote-sidebar__guide:hover {
	background: var(--c-blue-dark);
}

.quote-sidebar__about {
	justify-self: start;
	margin-top: 0.25rem;
}

/* a page with no banner photo of its own shows the homepage banner, aligned
   left as on the homepage so its blue side sits behind the title */
.page-banner--default-image {
	background-position: left center;
}


/* ---------- Main menu row laid out as KW Fire (Nov 2026) ----------
   Each label centred over two lines (the break is added in
   hoyles_primary_menu_title()) with its dropdown chevron to the right. */
@media (min-width: 1201px) {
	.site-nav {
		align-items: center;
		gap: clamp(0.75rem, 2vw - 0.78rem, 2rem);
	}

	.site-nav > li > a {
		position: relative;
		display: block;
		max-width: none;
		padding: 0.4rem 0;
		font-size: clamp(0.82rem, 0.3vw + 0.58rem, 0.92rem);
		line-height: 1.25;
		text-align: center;
		white-space: normal;
	}

	/* room for the chevron, which sits to the right of the label */
	.site-nav > li.menu-item-has-children > a {
		padding-right: clamp(1.1rem, 1.2vw, 1.4rem);
	}

	.site-nav > li.menu-item-has-children > a::after {
		content: '';
		position: absolute;
		top: 50%;
		right: 0;
		width: 7px;
		height: 7px;
		margin-top: -6px;
		border-right: 2px solid currentColor;
		border-bottom: 2px solid currentColor;
		transform: rotate(45deg);
	}
}
