/*
 * Permacoat theme stylesheet.
 *
 * Loaded by inc/enqueue.php and versioned with filemtime(). Everything is
 * built from the tokens at the top; templates use tokens, never raw values.
 * Layout follows the supplied reference: a warm off-white canvas, every
 * section a large rounded card, pill-shaped nav and buttons, orange used
 * sparingly, charcoal blocks for the process section and the footer.
 *
 * Contents
 * 1. Tokens
 * 2. Base and typography
 * 3. Layout helpers
 * 4. Buttons, pills, links
 * 5. Header and navigation
 * 6. Page hero
 * 7. Cards and grids
 * 8. Prose (editor content)
 * 9. Quote section and forms
 * 10. Footer
 * 11. Sticky bar
 * 12. WordPress classes, search, pagination, breadcrumbs
 * 13. Motion
 */

/* 1. Tokens ---------------------------------------------------------------- */

:root {
	/* Colours. Contrast on white: charcoal 16.6:1, soft text 8.6:1, error 5.9:1.
	   Orange is 2.3:1 on white, so it is a fill only, never text on a light
	   background. Text on orange is charcoal (7.2:1). On charcoal, white is
	   16.6:1 and the soft tint 9.9:1. */
	--pc-orange: #f7931e;
	--pc-orange-hover: #e8850f;
	--pc-orange-tint: #fdebd6;
	--pc-charcoal: #1d1d1b;
	--pc-charcoal-2: #2a2a27;
	--pc-text: #1d1d1b;
	--pc-text-soft: #4b4a45;
	--pc-on-dark: #ffffff;
	--pc-on-dark-soft: #c9c6c0;
	--pc-sand: #f4f1ec;
	--pc-stone: #e5e0db;
	--pc-line: #ddd7cf;
	--pc-white: #ffffff;
	--pc-black: #000000; /* Shadows and photo scrims only, never text. */
	--pc-text-muted: #8a857d; /* Form placeholders only: 3.3:1 on sand, too light for text. */
	--pc-error: #b3261e;
	--pc-success: #2e7d32;

	/* WhatsApp chat widget. WhatsApp's own colours, used only by the widget. */
	--pc-wa-green: #25d366;
	--pc-wa-green-hover: #1fb855;
	--pc-wa-teal: #075e54;
	--pc-wa-chat: #ece5dd;
	--pc-wa-badge: #e5352b;

	/* Type. Archivo is variable: headings sit at a slightly widened setting. */
	--pc-font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--pc-stretch-heading: 105%;
	--pc-stretch-ui: 102%;
	--pc-fs-2xs: 0.75rem;
	--pc-fs-xs: 0.8125rem;
	--pc-fs-sm: 0.9375rem;
	--pc-fs-base: 1.0625rem;
	--pc-fs-lg: 1.1875rem;
	--pc-fs-xl: clamp(1.375rem, 1.1rem + 1vw, 1.75rem);
	--pc-fs-2xl: clamp(1.75rem, 1.3rem + 1.8vw, 2.5rem);
	--pc-fs-3xl: clamp(2.25rem, 1.6rem + 2.8vw, 3.5rem);
	--pc-fs-display: clamp(2.5rem, 1.5rem + 4.6vw, 4.75rem);
	--pc-fs-stat: clamp(2.25rem, 1.5rem + 3vw, 3.75rem);
	--pc-lh-tight: 1.05;
	--pc-lh-snug: 1.2;
	--pc-lh-body: 1.6;
	--pc-fw-regular: 400;
	--pc-fw-medium: 500;
	--pc-fw-semibold: 600;
	--pc-fw-bold: 700;
	--pc-fw-heavy: 800;
	--pc-ls-tighter: -0.03em;
	--pc-ls-tight: -0.02em;
	--pc-ls-snug: -0.01em;
	--pc-ls-wide: 0.04em;
	--pc-ls-wider: 0.05em;
	--pc-ls-widest: 0.06em;
	--pc-ls-caps: 0.08em;

	/* Space and shape. */
	--pc-section: clamp(3rem, 2rem + 4vw, 6rem);
	--pc-gutter: clamp(1rem, 0.5rem + 2vw, 2.5rem);
	--pc-container: 75vw;
	--pc-radius-xl: 28px;
	--pc-radius-lg: 22px;
	--pc-radius-md: 16px;
	--pc-radius-sm: 10px;
	--pc-radius-pill: 999px;
	--pc-shadow-sm: 0 1px 2px rgba(29, 29, 27, 0.06), 0 4px 14px rgba(29, 29, 27, 0.06);
	--pc-shadow-md: 0 10px 34px rgba(29, 29, 27, 0.14);
	--pc-header-h: 72px;
	--pc-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

@media (max-width: 640px) {
	:root {
		--pc-radius-xl: 20px;
		--pc-radius-lg: 16px;
		--pc-radius-md: 12px;
	}
}

/* 2. Base and typography -------------------------------------------------- */

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--pc-header-h) + 2rem);
}

body {
	margin: 0;
	background: var(--pc-sand);
	color: var(--pc-text);
	font-family: var(--pc-font);
	font-size: var(--pc-fs-base);
	line-height: var(--pc-lh-body);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

@media (max-width: 1023px) {
	body {
		padding-bottom: 5.5rem; /* room for the sticky bar */
	}
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0 0 0.5em;
	font-weight: var(--pc-fw-bold);
	font-stretch: var(--pc-stretch-heading);
	letter-spacing: var(--pc-ls-tight);
	line-height: var(--pc-lh-snug);
	color: inherit;
	text-wrap: balance;
}

h1 {
	font-size: var(--pc-fs-3xl);
	line-height: var(--pc-lh-tight);
}

h2 {
	font-size: var(--pc-fs-2xl);
	line-height: 1.1;
}

h3 {
	font-size: var(--pc-fs-xl);
}

h4 {
	font-size: var(--pc-fs-lg);
	font-weight: var(--pc-fw-semibold);
}

h5,
h6 {
	font-size: var(--pc-fs-base);
	font-weight: var(--pc-fw-semibold);
}

p {
	margin: 0 0 1em;
}

a {
	color: inherit;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}

a:hover {
	text-decoration-thickness: 2px;
}

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

svg.icon {
	width: 1.25em;
	height: 1.25em;
	flex: none;
}

ul,
ol {
	margin: 0 0 1em;
	padding-left: 1.25em;
}

button,
input,
select,
textarea {
	font: inherit;
	color: inherit;
}

:focus-visible {
	outline: 3px solid var(--pc-charcoal);
	outline-offset: 3px;
	border-radius: 4px;
}

.hero-card :focus-visible,
.footer-card :focus-visible,
.section-dark :focus-visible {
	outline-color: var(--pc-white);
}

/* 3. Layout helpers ------------------------------------------------------- */

.container {
	width: 100%;
	max-width: calc(var(--pc-container) + var(--pc-gutter) * 2);
	margin-inline: auto;
	padding-inline: var(--pc-gutter);
}

.container-full {
	max-width: none;
	padding-inline: clamp(0.5rem, 0.25rem + 0.75vw, 1rem);
}

.container-narrow {
	max-width: calc(var(--pc-container) + var(--pc-gutter) * 2);
}

.section {
	padding-block: var(--pc-section);
}

.section + .section {
	padding-top: 0;
}

.section-head {
	display: grid;
	gap: 1rem 3rem;
	margin-bottom: clamp(1.5rem, 1rem + 2vw, 2.5rem);
}

.section-head .section-title {
	margin: 0;
	max-width: none;
}

.section-aside {
	display: grid;
	gap: 0.75rem;
	align-content: end;
}

.section-intro {
	margin: 0;
	color: var(--pc-text-soft);
	max-width: none;
}

.section-head-center {
	text-align: center;
	justify-items: center;
}

.section-head-center .section-title {
	max-width: none;
}

@media (min-width: 900px) {
	.section-head:not(.section-head-center) {
		grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
		align-items: end;
	}

	.section-head:not(.section-head-center) .section-aside {
		justify-items: start;
	}
}

.section-dark {
	color: var(--pc-on-dark);
}

.section-dark .section-intro {
	color: var(--pc-on-dark-soft);
}

/* 4. Buttons, pills, links ----------------------------------------------- */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.6rem;
	min-height: 48px;
	padding: 0.8rem 1.4rem;
	border: 0;
	border-radius: var(--pc-radius-pill);
	background: var(--pc-orange);
	color: var(--pc-charcoal);
	font-weight: var(--pc-fw-bold);
	font-size: var(--pc-fs-sm);
	font-stretch: var(--pc-stretch-ui);
	line-height: 1.1;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.2s var(--pc-ease), color 0.2s var(--pc-ease), transform 0.2s var(--pc-ease);
}

.btn:hover {
	text-decoration: none;
}

.btn:active {
	transform: translateY(1px);
}

.btn .btn-icon {
	transition: transform 0.2s var(--pc-ease);
}

.btn:hover .btn-icon {
	transform: translateX(3px);
}

.btn-primary {
	background: var(--pc-orange);
	color: var(--pc-charcoal);
}

.btn-primary:hover {
	background: var(--pc-orange-hover);
}

.btn-dark {
	background: var(--pc-charcoal);
	color: var(--pc-on-dark);
}

.btn-dark:hover {
	background: var(--pc-charcoal-2);
}

.btn-light {
	padding: 0.4rem 0.4rem 0.4rem 1.5rem;
	background: var(--pc-white);
	color: var(--pc-charcoal);
	letter-spacing: var(--pc-ls-wide);
	text-transform: uppercase;
	font-size: var(--pc-fs-xs);
}

.btn-light:hover {
	background: var(--pc-sand);
}

.btn-circle {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--pc-orange);
	color: var(--pc-charcoal);
	transition: transform 0.2s var(--pc-ease), background-color 0.2s var(--pc-ease);
}

.btn-light:hover .btn-circle {
	background: var(--pc-orange-hover);
	transform: translate(2px, -2px);
}

.btn-ghost {
	min-height: 0;
	padding: 0.25rem 0;
	border-radius: 0;
	background: transparent;
	color: inherit;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}

.btn-ghost:hover {
	text-decoration-thickness: 2px;
}

.pill {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	min-height: 44px;
	padding: 0.5rem 1rem;
	border: 1px solid var(--pc-line);
	border-radius: var(--pc-radius-pill);
	background: var(--pc-white);
	color: var(--pc-charcoal);
	font-weight: var(--pc-fw-semibold);
	font-size: var(--pc-fs-sm);
	font-stretch: var(--pc-stretch-ui);
	text-decoration: none;
	white-space: nowrap;
	transition: background-color 0.2s var(--pc-ease);
}

.pill:hover {
	background: var(--pc-sand);
	text-decoration: none;
}

.pill .icon {
	color: var(--pc-orange-hover);
}

/* 5. Header and navigation ----------------------------------------------- */

.site-header {
	position: absolute;
	top: var(--pc-gutter);
	left: 0;
	right: 0;
	z-index: 60;
}

.site-header.is-stuck {
	position: fixed;
	top: 0.75rem;
}

.header-bar {
	position: relative;
	display: flex;
	align-items: center;
	gap: 0.75rem;
	min-height: var(--pc-header-h);
	padding: 0.5rem 0.5rem 0.5rem 1.25rem;
	border-radius: var(--pc-radius-pill);
	background: color-mix(in srgb, var(--pc-white) 94%, transparent);
	box-shadow: var(--pc-shadow-sm);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
}

.brand {
	display: inline-flex;
	align-items: center;
	margin-right: auto;
	text-decoration: none;
	color: var(--pc-charcoal);
}

.brand-logo {
	width: auto;
	height: 52px;
}

@media (max-width: 639px) {
	.brand-logo {
		height: 44px;
	}
}

.brand-name {
	font-weight: var(--pc-fw-heavy);
	font-stretch: var(--pc-stretch-heading);
	letter-spacing: var(--pc-ls-tight);
	font-size: var(--pc-fs-lg);
	white-space: nowrap;
}

.header-actions {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.nav-toggle {
	display: none;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--pc-charcoal);
	color: var(--pc-on-dark);
	cursor: pointer;
	place-items: center;
}

.nav-toggle:not([hidden]) {
	display: grid;
}

.nav-toggle .icon {
	grid-area: 1 / 1;
	width: 22px;
	height: 22px;
}

.nav-toggle .nav-toggle-close,
.nav-open .nav-toggle .nav-toggle-open {
	display: none;
}

.nav-open .nav-toggle .nav-toggle-close {
	display: block;
}

.menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

.menu-primary {
	display: flex;
	align-items: center;
	gap: 0.125rem;
}

.menu-link {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.6rem 0.9rem;
	border-radius: var(--pc-radius-pill);
	color: var(--pc-charcoal);
	font-weight: var(--pc-fw-semibold);
	font-size: var(--pc-fs-sm);
	font-stretch: var(--pc-stretch-ui);
	text-decoration: none;
	white-space: nowrap;
	transition: background-color 0.2s var(--pc-ease);
}

.menu-link:hover {
	background: var(--pc-sand);
	text-decoration: none;
}

.current-menu-item > .menu-link,
.current-menu-ancestor > .menu-link,
.current-menu-parent > .menu-link {
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-decoration-color: var(--pc-orange);
	text-underline-offset: 0.3em;
}

.menu-sub-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--pc-charcoal);
	cursor: pointer;
}

.menu-sub-toggle .icon {
	transition: transform 0.2s var(--pc-ease);
}

.is-open > .menu-sub-toggle .icon {
	transform: rotate(180deg);
}

.nav-mobile-actions {
	display: none;
}

/* Desktop navigation: hover and focus menus, no script needed. */
@media (min-width: 1024px) {
	.brand {
		margin-right: 0;
	}

	.nav-primary {
		margin-inline: auto;
	}

	.nav-toggle:not([hidden]) {
		display: none;
	}

	.has-children {
		position: relative;
	}

	.has-children > .menu-link::after {
		content: "";
		width: 0.45em;
		height: 0.45em;
		border-right: 2px solid currentColor;
		border-bottom: 2px solid currentColor;
		transform: translateY(-0.15em) rotate(45deg);
		opacity: 0.7;
	}

	.menu-sub {
		position: absolute;
		top: calc(100% + 0.6rem);
		left: 0;
		z-index: 10;
		display: none;
		min-width: 260px;
		padding: 0.5rem;
		border-radius: var(--pc-radius-lg);
		background: var(--pc-white);
		box-shadow: var(--pc-shadow-md);
	}

	/* A short hover-off delay keeps the menu open while the pointer crosses the gap. */
	.has-children::before {
		content: "";
		position: absolute;
		left: 0;
		right: 0;
		top: 100%;
		height: 0.7rem;
	}

	.has-children:hover > .menu-sub,
	.has-children:focus-within > .menu-sub {
		display: block;
	}

	.menu-sub .menu-link {
		display: flex;
		white-space: normal;
		border-radius: var(--pc-radius-md);
	}

	.header-quote {
		min-height: 48px;
	}
}

@media (min-width: 1024px) and (max-width: 1279px) {
	.pill-phone .link-label {
		display: none;
	}
}

/* Small screens: the menu becomes a panel under the pill. */
@media (max-width: 1023px) {
	.header-bar {
		flex-wrap: wrap;
	}

	.pill-phone {
		display: none;
	}

	.js .nav-primary {
		display: none;
		position: absolute;
		top: calc(100% + 0.5rem);
		left: 0;
		right: 0;
		max-height: calc(100vh - var(--pc-header-h) - 3rem);
		max-height: calc(100dvh - var(--pc-header-h) - 3rem);
		overflow: auto;
		padding: 0.75rem;
		border-radius: var(--pc-radius-lg);
		background: var(--pc-white);
		box-shadow: var(--pc-shadow-md);
	}

	.js .nav-open .nav-primary {
		display: block;
	}

	html:not(.js) .nav-primary {
		order: 3;
		width: 100%;
		padding: 0.5rem 0.25rem 0.75rem;
	}

	.menu-primary {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}

	.menu-primary > li {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
	}

	.menu-primary > li > .menu-link {
		flex: 1;
		font-size: var(--pc-fs-base);
		padding: 0.8rem 0.9rem;
	}

	.js .menu-sub-toggle:not([hidden]) {
		display: inline-flex;
	}

	.menu-sub {
		width: 100%;
		margin: 0 0 0.5rem;
		padding: 0.25rem 0 0.25rem 0.75rem;
		border-left: 2px solid var(--pc-line);
		margin-left: 0.9rem;
	}

	.js .has-children > .menu-sub {
		display: none;
	}

	.js .has-children.is-open > .menu-sub {
		display: block;
	}

	.menu-sub .menu-link {
		display: flex;
		white-space: normal;
		color: var(--pc-text-soft);
	}

	.nav-mobile-actions {
		display: grid;
		gap: 0.5rem;
		margin-top: 0.75rem;
		padding-top: 0.75rem;
		border-top: 1px solid var(--pc-line);
	}

	.nav-open {
		overflow: hidden;
	}
}

@media (max-width: 639px) {
	.header-bar {
		padding-left: 1rem;
	}

	.header-quote {
		display: none; /* the sticky bar carries it */
	}
}

/* 6. Page hero ------------------------------------------------------------ */

.page-hero {
	padding-top: var(--pc-gutter);
}

.hero-card {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: 380px;
	padding: calc(var(--pc-header-h) + var(--pc-gutter) + 2.5rem) clamp(1.25rem, 4vw, 3.5rem) clamp(1.5rem, 4vw, 3rem);
	border-radius: var(--pc-radius-xl);
	background: var(--pc-charcoal);
	color: var(--pc-on-dark);
	overflow: hidden;
}

.page-hero-large .hero-card {
	min-height: min(86vh, 820px);
}

.hero-media {
	position: absolute;
	inset: 0;
}

.hero-media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, color-mix(in srgb, var(--pc-charcoal) 30%, transparent) 0%, color-mix(in srgb, var(--pc-charcoal) 15%, transparent) 40%, color-mix(in srgb, var(--pc-charcoal) 78%, transparent) 100%);
}

.hero-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* The home photo is portrait; frame it low so the house and driveway show. */
.home-hero .hero-img {
	object-position: 50% 68%;
}

.hero-content {
	position: relative;
	z-index: 1;
	max-width: none;
}

.hero-title {
	margin: 0 0 0.4em;
	color: var(--pc-on-dark);
}

.page-hero-large .hero-title {
	font-size: var(--pc-fs-display);
	max-width: 14ch;
}

.hero-lead {
	margin: 0;
	max-width: none;
	color: var(--pc-on-dark-soft);
	font-size: var(--pc-fs-lg);
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1rem;
	margin-top: 1.75rem;
}

/* 7. Cards and grids ------------------------------------------------------ */

.card {
	position: relative;
	display: flex;
	flex-direction: column;
	border-radius: var(--pc-radius-lg);
	background: var(--pc-white);
	box-shadow: var(--pc-shadow-sm);
	overflow: hidden;
	transition: transform 0.25s var(--pc-ease), box-shadow 0.25s var(--pc-ease);
}

.card:hover {
	transform: translateY(-3px);
	box-shadow: var(--pc-shadow-md);
}

.card-media img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.card-body {
	display: grid;
	gap: 0.5rem;
	padding: 1.25rem 1.5rem 1.5rem;
}

.card-meta {
	margin: 0;
	color: var(--pc-text-soft);
	font-size: var(--pc-fs-xs);
}

.card-title {
	margin: 0;
	font-size: var(--pc-fs-xl);
}

.card-link {
	text-decoration: none;
}

.card-link::after {
	content: "";
	position: absolute;
	inset: 0;
}

.card:hover .card-link {
	text-decoration: underline;
}

.card-text {
	margin: 0;
	color: var(--pc-text-soft);
}

.card-grid {
	display: grid;
	gap: 1.5rem;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}

@media (min-width: 1024px) {
	.card-grid-3 {
		grid-template-columns: repeat(3, 1fr);
	}

	.card-grid-4 {
		grid-template-columns: repeat(4, 1fr);
	}
}

/* 8. Prose (editor content) ---------------------------------------------- */

.prose {
	font-size: var(--pc-fs-base);
}

.prose > * + * {
	margin-top: 1.25em;
}

.prose h2,
.prose h3,
.prose h4 {
	margin-top: 1.75em;
	margin-bottom: 0.5em;
}

.prose p,
.prose ul,
.prose ol {
	margin-bottom: 0;
}

.prose li + li {
	margin-top: 0.35em;
}

.prose img {
	border-radius: var(--pc-radius-md);
}

.prose blockquote {
	margin: 0;
	padding: 1rem 1.5rem;
	border-left: 4px solid var(--pc-orange);
	background: var(--pc-white);
	border-radius: 0 var(--pc-radius-md) var(--pc-radius-md) 0;
	color: var(--pc-text-soft);
}

.prose table {
	width: 100%;
	border-collapse: collapse;
}

.prose th,
.prose td {
	padding: 0.6rem 0.75rem;
	border-bottom: 1px solid var(--pc-line);
	text-align: left;
}

.entry-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1rem;
	margin: 0 0 1.5rem;
	color: var(--pc-text-soft);
	font-size: var(--pc-fs-sm);
}

.entry-back {
	margin-top: 2.5rem;
}

/* 9. Quote section and forms --------------------------------------------- */

.quote-card {
	display: grid;
	gap: 2rem;
	padding: clamp(1.5rem, 4vw, 3.5rem);
	border-radius: var(--pc-radius-xl);
	background: var(--pc-stone);
}

@media (min-width: 900px) {
	.quote-card {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
		align-items: start;
	}
}

.quote-intro .section-title {
	max-width: 16ch;
}

.quote-text {
	color: var(--pc-text-soft);
	max-width: none;
}

.quote-phones {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.5rem;
	margin: 1.5rem 0 0;
}

.quote-phone {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-weight: var(--pc-fw-bold);
	font-size: var(--pc-fs-lg);
	text-decoration: none;
}

.quote-phone .icon {
	color: var(--pc-orange-hover);
}

.quote-note {
	margin: 1rem 0 0;
	color: var(--pc-text-soft);
	font-size: var(--pc-fs-sm);
}

.quote-form .wpcf7 {
	padding: clamp(1.25rem, 3vw, 2rem);
	border-radius: var(--pc-radius-lg);
	background: var(--pc-white);
	box-shadow: var(--pc-shadow-sm);
}

.form-grid {
	display: grid;
	gap: 1rem;
}

@media (min-width: 600px) {
	.form-grid {
		grid-template-columns: 1fr 1fr;
	}

	.form-field-full {
		grid-column: 1 / -1;
	}
}

.form-field {
	display: block;
	margin: 0;
}

.form-label {
	display: block;
	margin-bottom: 0.35rem;
	font-weight: var(--pc-fw-semibold);
	font-size: var(--pc-fs-sm);
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="url"],
.wpcf7 select,
.wpcf7 textarea {
	width: 100%;
	min-height: 48px;
	padding: 0.75rem 1rem;
	border: 1px solid var(--pc-line);
	border-radius: var(--pc-radius-md);
	background: var(--pc-white);
	transition: border-color 0.2s var(--pc-ease);
}

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

.wpcf7 input:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
	border-color: var(--pc-charcoal);
	outline-offset: 2px;
}

.wpcf7 .wpcf7-not-valid {
	border-color: var(--pc-error);
}

.wpcf7-not-valid-tip {
	display: block;
	margin-top: 0.35rem;
	color: var(--pc-error);
	font-size: var(--pc-fs-xs);
}

.hp-field {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.form-submit {
	position: relative;
	display: inline-flex;
	align-items: center;
	margin-top: 1.25rem;
}

.wpcf7-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0.8rem 1.6rem;
	border: 0;
	border-radius: var(--pc-radius-pill);
	background: var(--pc-orange);
	color: var(--pc-charcoal);
	font-weight: var(--pc-fw-bold);
	font-size: var(--pc-fs-sm);
	font-stretch: var(--pc-stretch-ui);
	cursor: pointer;
	transition: background-color 0.2s var(--pc-ease);
}

.wpcf7-submit:hover {
	background: var(--pc-orange-hover);
}

.wpcf7-submit:disabled {
	opacity: 0.6;
	cursor: wait;
}

.wpcf7 .wpcf7-spinner {
	position: absolute;
	top: 50%;
	right: -2.25rem;
	margin: 0;
	transform: translateY(-50%);
}

.wpcf7 form .wpcf7-response-output {
	margin: 1.25rem 0 0;
	padding: 0.9rem 1rem;
	border: 1px solid var(--pc-line);
	border-radius: var(--pc-radius-md);
	font-size: var(--pc-fs-sm);
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output,
.wpcf7 form.spam .wpcf7-response-output {
	border-color: var(--pc-error);
}

.wpcf7 form.sent .wpcf7-response-output {
	border-color: var(--pc-success);
}

.form-consent {
	display: flex;
	gap: 0.6rem;
	align-items: flex-start;
	margin-top: 1rem;
	font-size: var(--pc-fs-sm);
	color: var(--pc-text-soft);
}

.form-consent input {
	margin-top: 0.3em;
}

/* 10. Footer -------------------------------------------------------------- */

.site-footer {
	padding: 0 0 var(--pc-gutter);
}

.footer-card {
	padding: clamp(1.5rem, 4vw, 3.5rem);
	border-radius: var(--pc-radius-xl);
	background: var(--pc-charcoal);
	color: var(--pc-on-dark);
}

.footer-top {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	padding-bottom: 2rem;
	margin-bottom: 2.5rem;
	border-bottom: 1px solid color-mix(in srgb, var(--pc-white) 12%, transparent);
}

.footer-heading {
	margin: 0;
	max-width: 18ch;
	color: var(--pc-on-dark);
	font-size: var(--pc-fs-2xl);
}

.footer-grid {
	display: grid;
	gap: 2.5rem 2rem;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
}

@media (min-width: 1024px) {
	.footer-grid {
		grid-template-columns: 1.6fr repeat(4, 1fr);
	}
}

.footer-logo {
	display: inline-block;
	text-decoration: none;
}

.footer-logo img {
	width: auto;
	max-height: 48px;
}

.footer-logo .brand-name {
	color: var(--pc-on-dark);
}

.footer-text {
	margin: 1.25rem 0 0;
	max-width: none;
	color: var(--pc-on-dark-soft);
	font-size: var(--pc-fs-sm);
}

.footer-col-title {
	margin: 0 0 1rem;
	color: var(--pc-on-dark-soft);
	font-size: var(--pc-fs-xs);
	font-weight: var(--pc-fw-bold);
	letter-spacing: var(--pc-ls-caps);
	text-transform: uppercase;
}

.footer-list,
.menu-footer {
	display: grid;
	gap: 0.55rem;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: var(--pc-fs-sm);
}

.footer-list a,
.menu-footer a {
	color: var(--pc-on-dark);
	text-decoration: none;
}

.footer-list a:hover,
.menu-footer a:hover {
	text-decoration: underline;
}

.footer-list-inline {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1rem;
}

.footer-address {
	margin: 1rem 0 0;
	color: var(--pc-on-dark-soft);
	font-size: var(--pc-fs-sm);
}

.footer-hours {
	display: grid;
	gap: 0.3rem;
	margin: 1rem 0 0;
	font-size: var(--pc-fs-sm);
}

.footer-hours-row {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
}

.footer-hours dt {
	font-weight: var(--pc-fw-semibold);
}

.footer-hours dd {
	margin: 0;
	color: var(--pc-on-dark-soft);
}

.social-list {
	display: flex;
	gap: 0.5rem;
	margin: 1.5rem 0 0;
	padding: 0;
	list-style: none;
}

.social-link {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: color-mix(in srgb, var(--pc-white) 8%, transparent);
	color: var(--pc-on-dark);
	transition: background-color 0.2s var(--pc-ease), color 0.2s var(--pc-ease);
}

.social-link:hover {
	background: var(--pc-orange);
	color: var(--pc-charcoal);
}

.footer-bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0.75rem 1.5rem;
	margin-top: 2.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid color-mix(in srgb, var(--pc-white) 12%, transparent);
	color: var(--pc-on-dark-soft);
	font-size: var(--pc-fs-xs);
}

.footer-legal {
	margin: 0;
	max-width: none;
}

.menu-legal {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.25rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.menu-legal a {
	color: var(--pc-on-dark-soft);
}

.footer-credit {
	margin: 0;
}

.footer-credit a {
	color: var(--pc-on-dark-soft);
}

/* 11. Sticky bar ---------------------------------------------------------- */

.sticky-bar {
	position: fixed;
	left: var(--pc-gutter);
	right: var(--pc-gutter);
	bottom: 0.75rem;
	z-index: 50;
	display: flex;
	gap: 0.5rem;
	padding: 0.5rem;
	border-radius: var(--pc-radius-pill);
	background: color-mix(in srgb, var(--pc-white) 96%, transparent);
	box-shadow: var(--pc-shadow-md);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
}

.sticky-bar .btn {
	flex: 1;
	min-height: 48px;
}

.sticky-bar:empty {
	display: none;
}

@media (min-width: 1024px) {
	.sticky-bar {
		display: none;
	}
}

/* 12. WordPress classes, search, pagination, breadcrumbs ------------------ */

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	overflow: hidden;
	word-wrap: normal !important;
}

.skip-link:focus {
	position: fixed !important;
	top: 1rem;
	left: 1rem;
	z-index: 100;
	width: auto;
	height: auto;
	margin: 0;
	padding: 0.75rem 1.25rem;
	clip: auto;
	clip-path: none;
	border-radius: var(--pc-radius-pill);
	background: var(--pc-charcoal);
	color: var(--pc-on-dark);
	text-decoration: none;
}

.alignleft {
	float: left;
	margin: 0.25rem 1.5rem 1rem 0;
}

.alignright {
	float: right;
	margin: 0.25rem 0 1rem 1.5rem;
}

.aligncenter {
	display: block;
	margin-inline: auto;
}

.wp-caption {
	max-width: 100%;
}

.wp-caption-text {
	margin: 0.5rem 0 0;
	color: var(--pc-text-soft);
	font-size: var(--pc-fs-sm);
}

.search-form {
	display: flex;
	gap: 0.5rem;
	max-width: 480px;
	margin-top: 1.5rem;
}

.search-field {
	flex: 1;
	min-width: 0;
	min-height: 48px;
	padding: 0.75rem 1.25rem;
	border: 1px solid var(--pc-line);
	border-radius: var(--pc-radius-pill);
	background: var(--pc-white);
}

.search-submit {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border: 0;
	border-radius: 50%;
	background: var(--pc-charcoal);
	color: var(--pc-on-dark);
	cursor: pointer;
}

.search-results {
	display: grid;
	gap: 0.75rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.search-result {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.5rem 1rem;
	padding: 1rem 1.25rem;
	border-radius: var(--pc-radius-md);
	background: var(--pc-white);
}

.search-result-link {
	font-weight: var(--pc-fw-semibold);
}

.search-result-type {
	color: var(--pc-text-soft);
	font-size: var(--pc-fs-xs);
}

.none-found p {
	color: var(--pc-text-soft);
}

.notfound-actions {
	margin-bottom: 1.5rem;
}

.pagination {
	margin-top: 3rem;
}

.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.5rem;
}

.pagination .page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 44px;
	height: 44px;
	padding: 0 0.75rem;
	border-radius: var(--pc-radius-pill);
	background: var(--pc-white);
	color: var(--pc-charcoal);
	font-weight: var(--pc-fw-semibold);
	text-decoration: none;
}

.pagination .page-numbers.current {
	background: var(--pc-charcoal);
	color: var(--pc-on-dark);
}

.pagination .page-numbers.dots {
	background: transparent;
}

.breadcrumbs {
	margin-bottom: 1.25rem;
	color: var(--pc-on-dark-soft);
	font-size: var(--pc-fs-xs);
}

.breadcrumbs a {
	color: var(--pc-on-dark);
	text-decoration: none;
}

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

.breadcrumb_last {
	color: var(--pc-on-dark-soft);
}

/* 13. Motion -------------------------------------------------------------- */

@media (prefers-reduced-motion: no-preference) {
	.js [data-reveal] {
		opacity: 0;
		transform: translateY(14px);
		transition: opacity 0.6s ease, transform 0.6s var(--pc-ease);
	}

	.js [data-reveal].is-visible {
		opacity: 1;
		transform: none;
	}

	.site-header.is-stuck {
		animation: pc-header-in 0.3s var(--pc-ease);
	}

	@keyframes pc-header-in {
		from {
			transform: translateY(-120%);
		}

		to {
			transform: none;
		}
	}
}

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

	*,
	*::before,
	*::after {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
	}
}

/* 14. Components ---------------------------------------------------------- */

:root {
	/* Small orange text needs a deeper shade to reach 4.5:1 on white and sand. */
	--pc-orange-text: #b35300;
}

.prose-lead > p:first-child {
	font-size: var(--pc-fs-xl);
	font-weight: var(--pc-fw-medium);
	letter-spacing: var(--pc-ls-snug);
	line-height: 1.35;
}

.section-actions {
	display: flex;
	justify-content: center;
	margin-top: 2rem;
}

.icon-circle {
	display: grid;
	place-items: center;
	flex: none;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: var(--pc-orange);
	color: var(--pc-charcoal);
}

.icon-circle-sm {
	width: 44px;
	height: 44px;
}

.icon-circle .icon {
	width: 24px;
	height: 24px;
}

.tag-list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.tag {
	display: inline-flex;
	align-items: center;
	padding: 0.35rem 0.8rem;
	border-radius: var(--pc-radius-pill);
	background: var(--pc-sand);
	font-size: var(--pc-fs-xs);
	font-weight: var(--pc-fw-semibold);
}

.tag a {
	text-decoration: none;
}

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

/* Home hero extras */

.home-hero .hero-card {
	--hero-inline: max(clamp(1.25rem, 4vw, 3.5rem), calc((100% - var(--pc-container)) / 2));
	min-height: min(88vh, 860px);
	padding-inline: var(--hero-inline);
}

.home-hero .hero-content {
	max-width: 820px;
}

.home-hero .hero-title {
	max-width: 18ch;
}

.btn-ghost-light {
	color: var(--pc-on-dark);
}

.hero-services-card {
	display: none;
}

@media (min-width: 1024px) {
	.hero-services-card {
		position: absolute;
		right: var(--hero-inline);
		bottom: clamp(1.5rem, 4vw, 3rem);
		z-index: 2;
		display: block;
		width: 280px;
		padding: 1.25rem;
		border-radius: var(--pc-radius-lg);
		background: color-mix(in srgb, var(--pc-white) 94%, transparent);
		color: var(--pc-charcoal);
		box-shadow: var(--pc-shadow-md);
		backdrop-filter: blur(10px);
		-webkit-backdrop-filter: blur(10px);
	}

	.hero-services-list {
		display: grid;
		gap: 0.25rem;
		margin: 0 0 0.75rem;
		padding: 0;
		list-style: none;
	}

	.hero-service {
		display: flex;
		align-items: center;
		gap: 0.75rem;
		padding: 0.5rem 0.6rem;
		border-radius: var(--pc-radius-sm);
		font-size: var(--pc-fs-sm);
		font-weight: var(--pc-fw-semibold);
		text-decoration: none;
	}

	.hero-service:hover {
		background: var(--pc-sand);
	}

	.hero-service .icon {
		color: var(--pc-orange-text);
	}

	.hero-services-more {
		display: inline-flex;
		align-items: center;
		gap: 0.4rem;
		padding-left: 0.6rem;
		font-size: var(--pc-fs-sm);
		font-weight: var(--pc-fw-bold);
		text-decoration: none;
	}

	.hero-services-more:hover {
		text-decoration: underline;
	}

	.home-hero .hero-content {
		max-width: min(820px, calc(100% - 320px));
	}
}

/* Stats */

.stats-row {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 2rem 1.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.stat-link {
	display: block;
	text-decoration: none;
}

.stat-link:hover .stat-value {
	color: var(--pc-orange-text);
}

.stat-value {
	display: block;
	font-size: var(--pc-fs-stat);
	font-weight: var(--pc-fw-bold);
	font-stretch: var(--pc-stretch-heading);
	letter-spacing: var(--pc-ls-tighter);
	line-height: 1;
	transition: color 0.2s var(--pc-ease);
}

.stat-label {
	display: block;
	max-width: 24ch;
	margin-top: 0.6rem;
	color: var(--pc-text-soft);
	font-size: var(--pc-fs-sm);
}

.stats-line {
	margin: 2.5rem 0 0;
	color: var(--pc-text-soft);
	text-align: center;
}

@media (min-width: 900px) {
	.stats-row {
		grid-template-columns: repeat(4, 1fr);
		gap: 2rem;
	}

	.stats-count-3 {
		grid-template-columns: repeat(3, 1fr);
	}

	.stats-count-2 {
		grid-template-columns: repeat(2, 1fr);
	}

	.stat + .stat {
		padding-left: 2rem;
		border-left: 1px solid var(--pc-line);
	}
}

/* Badges */

.badges-heading {
	margin: 0 0 1.5rem;
	color: var(--pc-text-soft);
	font-size: var(--pc-fs-lg);
	font-weight: var(--pc-fw-semibold);
	text-align: center;
}

.badges-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 1.5rem 3rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.badge-img {
	width: auto;
	max-height: 64px;
}

.badge-link {
	display: block;
}

/* Icon cards */

.icon-card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
	padding: 1.75rem;
	border-radius: var(--pc-radius-lg);
	background: var(--pc-white);
	box-shadow: var(--pc-shadow-sm);
	transition: transform 0.25s var(--pc-ease), box-shadow 0.25s var(--pc-ease);
}

.icon-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--pc-shadow-md);
}

.icon-card-title {
	margin: 0;
	font-size: var(--pc-fs-lg);
}

.icon-card-title .card-link {
	text-decoration: none;
}

.icon-card:hover .icon-card-title .card-link {
	text-decoration: underline;
}

.icon-card-text {
	margin: 0;
	color: var(--pc-text-soft);
	font-size: var(--pc-fs-sm);
}

.icon-card-arrow {
	position: absolute;
	top: 1.5rem;
	right: 1.5rem;
	color: var(--pc-text-soft);
	transition: transform 0.2s var(--pc-ease), color 0.2s var(--pc-ease);
}

.icon-card:hover .icon-card-arrow {
	color: var(--pc-charcoal);
	transform: translate(2px, -2px);
}

.icon-card-dark {
	background: var(--pc-charcoal);
	color: var(--pc-on-dark);
}

.icon-card-dark .icon-card-text,
.icon-card-dark .icon-card-arrow {
	color: var(--pc-on-dark-soft);
}

.icon-card-dark:hover .icon-card-arrow {
	color: var(--pc-on-dark);
}

.card-label {
	margin: 0;
	color: var(--pc-orange-text);
	font-size: var(--pc-fs-xs);
	font-weight: var(--pc-fw-bold);
	letter-spacing: var(--pc-ls-widest);
	text-transform: uppercase;
}

/* Scroller */

.scroller {
	position: relative;
}

.scroller-track {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: min(85%, 380px);
	gap: 1.5rem;
	margin: 0 calc(-1 * var(--pc-gutter));
	padding: 0.25rem var(--pc-gutter) 1rem;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-padding: 0 var(--pc-gutter); /* must match the inline padding above at every breakpoint */
	scrollbar-width: none;
}

.scroller-track::-webkit-scrollbar {
	display: none;
}

.scroller-track > * {
	scroll-snap-align: start;
}

/* Fill the container: two columns on tablets, three on desktop. */
@media (min-width: 640px) {
	.scroller-track {
		grid-auto-columns: calc((100% - 1.5rem) / 2);
	}
}

@media (min-width: 1024px) {
	.scroller-track {
		grid-auto-columns: calc((100% - 3rem) / 3);
	}
}

.scroller-controls {
	display: flex;
	justify-content: flex-end;
	gap: 0.5rem;
	margin-top: 0.5rem;
}

.scroller-btn {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border: 1px solid var(--pc-line);
	border-radius: 50%;
	background: var(--pc-white);
	color: var(--pc-charcoal);
	cursor: pointer;
	transition: background-color 0.2s var(--pc-ease);
}

.scroller-btn:hover:not(:disabled) {
	background: var(--pc-charcoal);
	color: var(--pc-on-dark);
}

.scroller-btn:disabled {
	opacity: 0.35;
	cursor: default;
}

.scroller-btn[hidden] {
	display: none;
}

/* Reviews */

.reviews-head {
	display: grid;
	gap: 1.5rem 3rem;
	margin-bottom: clamp(1.5rem, 1rem + 2vw, 2.5rem);
}

.reviews-head-text {
	display: grid;
	gap: 1rem;
	align-content: end;
	justify-items: start;
}

.reviews-head .section-title {
	margin: 0;
	max-width: none;
}

@media (min-width: 900px) {
	.reviews-head.has-score {
		grid-template-columns: minmax(0, 1fr) auto;
		align-items: end;
	}
}

.score-card {
	display: grid;
	gap: 0.35rem;
	justify-items: start;
	min-width: min(100%, 300px);
	padding: 1.5rem 1.75rem;
	border-radius: var(--pc-radius-lg);
	background: var(--pc-charcoal);
	color: var(--pc-on-dark);
	box-shadow: var(--pc-shadow-md);
}

.score-card p {
	margin: 0;
}

.score-value {
	font-size: var(--pc-fs-stat);
	font-weight: var(--pc-fw-heavy);
	font-stretch: var(--pc-stretch-heading);
	line-height: 1;
	letter-spacing: var(--pc-ls-tight);
}

.score-label {
	color: var(--pc-on-dark-soft);
	font-size: var(--pc-fs-sm);
}

.score-link {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	margin-top: 0.5rem;
	color: var(--pc-orange);
	font-size: var(--pc-fs-sm);
	font-weight: var(--pc-fw-bold);
	text-decoration: none;
}

.score-link:hover {
	text-decoration: underline;
}

.score-link .icon {
	width: 16px;
	height: 16px;
}

.review-stars {
	display: flex;
	gap: 0.25rem;
	margin: 0;
}

.star-box {
	display: grid;
	place-items: center;
	width: 26px;
	height: 26px;
	border-radius: 6px;
	background: var(--pc-orange);
	color: var(--pc-charcoal);
}

.star-box .star {
	width: 16px;
	height: 16px;
	fill: currentColor;
	stroke: none;
}

.score-stars {
	margin-bottom: 0.5rem;
}

.review-card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
	height: 100%;
	padding: clamp(1.5rem, 2.5vw, 2.25rem);
	border: 1px solid var(--pc-line);
	border-radius: var(--pc-radius-lg);
	background: var(--pc-white);
	transition: transform 0.25s var(--pc-ease), box-shadow 0.25s var(--pc-ease);
}

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

.review-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	min-height: 44px;
}

.review-mark {
	flex: none;
	width: 44px;
	height: 44px;
	margin-left: auto;
	color: var(--pc-orange);
	fill: currentColor;
	stroke: none;
	opacity: 0.9;
}

.review-title {
	margin: 0;
	font-size: var(--pc-fs-lg);
	line-height: var(--pc-lh-snug);
}

.review-quote {
	flex: 1;
	margin: 0;
	color: var(--pc-text-soft);
}

.review-quote p {
	margin: 0;
}

.review-footer {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-top: auto;
	padding-top: 1rem;
	border-top: 1px solid var(--pc-line);
}

.review-avatar {
	display: grid;
	place-items: center;
	flex: none;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--pc-orange-tint);
	color: var(--pc-charcoal);
	font-size: var(--pc-fs-sm);
	font-weight: var(--pc-fw-bold);
}

.review-meta {
	display: flex;
	flex-direction: column;
	font-size: var(--pc-fs-sm);
}

.review-name {
	font-weight: var(--pc-fw-bold);
}

.review-detail {
	color: var(--pc-text-soft);
	font-size: var(--pc-fs-xs);
}

/* The first card is charcoal, so the row has a focal point. */
.review-card-feature {
	border-color: var(--pc-charcoal);
	background: var(--pc-charcoal);
	color: var(--pc-on-dark);
}

.review-card-feature .review-title {
	color: var(--pc-on-dark);
}

.review-card-feature .review-quote {
	color: var(--pc-on-dark-soft);
}

.review-card-feature .review-footer {
	border-top-color: color-mix(in srgb, var(--pc-white) 16%, transparent);
}

.review-card-feature .review-detail {
	color: var(--pc-on-dark-soft);
}

/* Process */

.process-card {
	padding: clamp(1.5rem, 4vw, 3.5rem);
	border-radius: var(--pc-radius-xl);
	background: var(--pc-charcoal);
	color: var(--pc-on-dark);
}

.process-card .section-title {
	color: var(--pc-on-dark);
}

.process-card .section-intro {
	max-width: none;
}

.process-steps {
	max-width: none;
	margin: 0 auto;
	padding: 0;
	list-style: none;
}

.process-step + .process-step {
	border-top: 1px solid color-mix(in srgb, var(--pc-white) 12%, transparent);
}

.process-summary {
	display: flex;
	align-items: center;
	gap: 1.25rem;
	padding: 1.2rem 0;
	font-size: var(--pc-fs-lg);
	font-weight: var(--pc-fw-semibold);
	list-style: none;
	cursor: pointer;
}

.process-summary-static {
	cursor: default;
}

.process-summary::-webkit-details-marker {
	display: none;
}

.process-number {
	min-width: 2.2ch;
	color: var(--pc-orange);
	font-size: var(--pc-fs-sm);
	font-weight: var(--pc-fw-bold);
	letter-spacing: var(--pc-ls-wider);
}

.process-title {
	flex: 1;
}

.process-toggle {
	display: grid;
	place-items: center;
	flex: none;
	width: 36px;
	height: 36px;
	border: 1px solid color-mix(in srgb, var(--pc-white) 30%, transparent);
	border-radius: 50%;
}

.process-toggle .icon {
	width: 18px;
	height: 18px;
}

.process-minus,
.process-details[open] .process-plus {
	display: none;
}

.process-details[open] .process-minus {
	display: block;
}

.process-text {
	max-width: none;
	margin: 0 0 1.25rem calc(2.2ch + 1.25rem);
	color: var(--pc-on-dark-soft);
}

.process-media {
	margin-top: 2.5rem;
	border-radius: var(--pc-radius-lg);
	overflow: hidden;
}

.process-media img {
	width: 100%;
	aspect-ratio: 16 / 7;
	object-fit: cover;
}

/* FAQs */

.faqs-layout {
	display: grid;
	gap: 2rem;
}

@media (min-width: 900px) {
	.faqs-layout {
		grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
		align-items: start;
	}
}

.faqs-head {
	display: grid;
	margin-bottom: 0;
}

.faqs-head .section-title {
	max-width: none;
}

.faq {
	padding: 0 1.5rem;
	border-radius: var(--pc-radius-md);
	background: var(--pc-white);
}

.faq + .faq {
	margin-top: 0.75rem;
}

.faq-question {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1.1rem 0;
	font-weight: var(--pc-fw-semibold);
	list-style: none;
	cursor: pointer;
}

.faq-question::-webkit-details-marker {
	display: none;
}

.faq-toggle {
	display: grid;
	place-items: center;
	flex: none;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--pc-sand);
}

.faq-toggle .icon {
	width: 16px;
	height: 16px;
}

.faq-minus,
.faq[open] .faq-plus {
	display: none;
}

.faq[open] .faq-minus {
	display: block;
}

.faq-answer {
	padding: 0 0 1.25rem;
	color: var(--pc-text-soft);
}

.faq-answer > *:first-child {
	margin-top: 0;
}

/* Content blocks */

.content-block {
	display: grid;
	gap: 2rem;
	align-items: center;
	padding: clamp(1.5rem, 3vw, 2.5rem);
	border-radius: var(--pc-radius-xl);
	background: var(--pc-white);
}

.content-block + .content-block {
	margin-top: 1.5rem;
}

.content-block-heading {
	font-size: var(--pc-fs-2xl);
}

.content-block-media img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: var(--pc-radius-lg);
}

@media (min-width: 900px) {
	.content-block-image-right,
	.content-block-image-left {
		grid-template-columns: 1fr 1fr;
	}

	.content-block-image-left .content-block-media {
		order: -1;
	}
}

/* Gallery */

.gallery-heading {
	margin-bottom: 1.5rem;
}

.gallery {
	columns: 1;
	column-gap: 1.25rem;
}

@media (min-width: 600px) {
	.gallery {
		columns: 2;
	}
}

@media (min-width: 1024px) {
	.gallery {
		columns: 3;
	}
}

.gallery-item {
	margin: 0 0 1.25rem;
	border-radius: var(--pc-radius-md);
	overflow: hidden;
	break-inside: avoid;
}

.gallery-item img {
	width: 100%;
	height: auto;
}

/* Routes */

.routes-grid {
	display: grid;
	gap: 1.5rem;
}

@media (min-width: 900px) {
	.routes-count-2 {
		grid-template-columns: 1fr 1fr;
	}

	.routes-count-3 {
		grid-template-columns: repeat(3, 1fr);
	}
}

.route-card {
	position: relative;
	display: flex;
	flex-direction: column;
	border-radius: var(--pc-radius-xl);
	background: var(--pc-white);
	box-shadow: var(--pc-shadow-sm);
	overflow: hidden;
	transition: transform 0.25s var(--pc-ease), box-shadow 0.25s var(--pc-ease);
}

.route-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--pc-shadow-md);
}

.route-media img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.route-body {
	display: grid;
	gap: 1rem;
	padding: 1.75rem;
}

.route-head {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.route-title {
	margin: 0;
	font-size: var(--pc-fs-xl);
}

.route-title .card-link {
	text-decoration: none;
}

.route-card:hover .route-title .card-link {
	text-decoration: underline;
}

.route-text {
	margin: 0;
	color: var(--pc-text-soft);
}

.route-more {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: var(--pc-fs-sm);
	font-weight: var(--pc-fw-bold);
}

/* Feature block */

.feature-card {
	display: grid;
	gap: 2rem;
	padding: clamp(1.5rem, 3vw, 3rem);
	border-radius: var(--pc-radius-xl);
	background: var(--pc-white);
}

@media (min-width: 900px) {
	.feature-card:not(.feature-card-text-only) {
		grid-template-columns: 1.1fr 0.9fr;
		align-items: center;
	}

	.feature-card-reverse .feature-media {
		order: -1;
	}
}

.feature-media img {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	border-radius: var(--pc-radius-lg);
}

.feature-list {
	display: grid;
	gap: 1rem;
	margin: 1.5rem 0 0;
	padding: 0;
	list-style: none;
}

.feature-item {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
}

.feature-item-title {
	margin: 0 0 0.15rem;
	font-size: var(--pc-fs-base);
	font-weight: var(--pc-fw-bold);
}

.feature-item-text {
	margin: 0;
	color: var(--pc-text-soft);
	font-size: var(--pc-fs-sm);
}

.feature-button {
	margin-top: 1.75rem;
}

/* Team */

.team-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 2rem;
	margin: 0;
	padding: 0;
	list-style: none;
	text-align: center;
}

.team-member {
	display: grid;
	justify-items: center;
}

.team-photo {
	width: 140px;
	height: 140px;
	border-radius: 50%;
	object-fit: cover;
}

.team-photo-empty {
	display: grid;
	place-items: center;
	background: var(--pc-stone);
	color: var(--pc-text-soft);
}

.team-photo-empty .icon {
	width: 40px;
	height: 40px;
}

.team-name {
	margin: 1rem 0 0.25rem;
	font-size: var(--pc-fs-lg);
}

.team-role {
	margin: 0;
	color: var(--pc-text-soft);
	font-size: var(--pc-fs-sm);
}

/* Area cards */

.card-area .card-body {
	position: relative;
	gap: 0.75rem;
	padding: 1.5rem;
}

.card-area .card-title {
	font-size: var(--pc-fs-lg);
}

.card-area .icon-card-arrow {
	top: 1.5rem;
	right: 1.5rem;
}

/* Project page */

.project-layout {
	display: grid;
	gap: 2rem;
}

@media (min-width: 900px) {
	.project-layout {
		grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
		align-items: start;
	}
}

.project-details {
	display: grid;
	gap: 1.5rem;
	padding: 1.75rem;
	border-radius: var(--pc-radius-lg);
	background: var(--pc-white);
}

.details-list {
	display: grid;
	gap: 1rem;
	margin: 0;
}

.details-row dt {
	color: var(--pc-text-soft);
	font-size: var(--pc-fs-xs);
	font-weight: var(--pc-fw-bold);
	letter-spacing: var(--pc-ls-widest);
	text-transform: uppercase;
}

.details-row dd {
	margin: 0.25rem 0 0;
	font-weight: var(--pc-fw-semibold);
}

/* Contact page */

.contact-layout {
	display: grid;
	gap: 2rem;
}

@media (min-width: 900px) {
	.contact-layout {
		grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
		align-items: start;
	}
}

.contact-details {
	display: grid;
	gap: 1.5rem;
}

.contact-list {
	display: grid;
	gap: 1.25rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.contact-item {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
}

.contact-item-label {
	display: block;
	margin-bottom: 0.2rem;
	color: var(--pc-text-soft);
	font-size: var(--pc-fs-xs);
	font-weight: var(--pc-fw-bold);
	letter-spacing: var(--pc-ls-widest);
	text-transform: uppercase;
}

.contact-link {
	font-weight: var(--pc-fw-semibold);
	text-decoration: none;
}

.contact-link:hover {
	text-decoration: underline;
}

.contact-address {
	font-style: normal;
}

.contact-hours {
	display: grid;
	gap: 0.25rem;
	margin: 0;
}

.contact-hours-row {
	display: flex;
	gap: 1rem;
	justify-content: space-between;
	max-width: 320px;
}

.contact-hours dt {
	font-weight: var(--pc-fw-semibold);
}

.contact-hours dd {
	margin: 0;
	color: var(--pc-text-soft);
}

.contact-form-card {
	padding: clamp(1.5rem, 3vw, 2.5rem);
	border-radius: var(--pc-radius-xl);
	background: var(--pc-white);
	box-shadow: var(--pc-shadow-sm);
}

.contact-form-card .wpcf7 {
	padding: 0;
	box-shadow: none;
}

.contact-form-heading {
	margin-bottom: 1.25rem;
	font-size: var(--pc-fs-xl);
}

.map-embed {
	margin-top: 2rem;
	border-radius: var(--pc-radius-xl);
	overflow: hidden;
}

.map-embed iframe {
	display: block;
	width: 100%;
	height: 420px;
	border: 0;
}

/* Thank you */

.thanks-actions {
	margin-top: 2rem;
}

/* 15. Full-width cards, FAQ layout and WhatsApp chat ---------------------- */

/* Cards that run edge to edge keep their content in line with the container. */
.container-full > .feature-card,
.container-full > .footer-card {
	padding-inline: max(clamp(1.5rem, 3vw, 3rem), calc((100% - var(--pc-container)) / 2));
}

/* FAQs: heading and intro stacked, the questions full width underneath. */
.faqs-section .faqs-layout {
	grid-template-columns: minmax(0, 1fr);
	gap: 0;
}

.faqs-section .section-head.faqs-head {
	grid-template-columns: minmax(0, 1fr);
	gap: 0.75rem;
	margin-bottom: clamp(1.5rem, 1rem + 2vw, 2.5rem);
}

.faqs-section .faqs-head .section-title {
	max-width: none;
}

.faqs-section .faqs-head .section-intro {
	max-width: none;
}

/* WhatsApp chat */

.wa-chat {
	position: fixed;
	right: clamp(1rem, 2vw, 1.75rem);
	bottom: calc(0.75rem + 64px + 0.75rem);
	z-index: 70;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 0.85rem;
	pointer-events: none;
}

.wa-chat > * {
	pointer-events: auto;
}

@media (min-width: 1024px) {
	.wa-chat {
		bottom: clamp(1rem, 2vw, 1.75rem);
	}
}

.wa-launcher {
	position: relative;
	display: grid;
	place-items: center;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background: var(--pc-wa-green);
	color: var(--pc-white);
	box-shadow: 0 10px 26px color-mix(in srgb, var(--pc-charcoal) 28%, transparent);
	text-decoration: none;
	transition: transform 0.2s var(--pc-ease), box-shadow 0.2s var(--pc-ease);
}

.wa-launcher:hover {
	transform: scale(1.06);
	box-shadow: 0 14px 32px color-mix(in srgb, var(--pc-charcoal) 34%, transparent);
}

.wa-launcher .icon-whatsapp {
	width: 34px;
	height: 34px;
}

.wa-badge {
	position: absolute;
	top: -2px;
	right: -2px;
	min-width: 22px;
	height: 22px;
	padding: 0 6px;
	border: 2px solid var(--pc-white);
	border-radius: 11px;
	background: var(--pc-wa-badge);
	color: var(--pc-white);
	font-size: var(--pc-fs-2xs);
	font-weight: var(--pc-fw-bold);
	line-height: 18px;
	text-align: center;
}

.wa-chat.is-seen .wa-badge {
	display: none;
}

.wa-panel {
	width: min(340px, calc(100vw - 2rem));
	border-radius: var(--pc-radius-md);
	overflow: hidden;
	background: var(--pc-wa-chat);
	box-shadow: 0 18px 44px color-mix(in srgb, var(--pc-charcoal) 30%, transparent);
	transform-origin: bottom right;
	animation: pc-wa-pop 0.18s ease-out;
}

.wa-panel[hidden] {
	display: none;
}

@keyframes pc-wa-pop {
	from {
		opacity: 0;
		transform: translateY(10px) scale(0.96);
	}

	to {
		opacity: 1;
		transform: none;
	}
}

.wa-header {
	display: flex;
	align-items: center;
	gap: 0.7rem;
	padding: 0.75rem 0.85rem;
	background: var(--pc-wa-teal);
	color: var(--pc-white);
}

.wa-avatar {
	flex: none;
	width: 40px;
	height: 40px;
	padding: 5px;
	border-radius: 50%;
	background: var(--pc-white);
	object-fit: contain;
}

.wa-id {
	display: flex;
	flex-direction: column;
	min-width: 0;
	line-height: 1.25;
}

.wa-id strong {
	font-size: var(--pc-fs-sm);
}

.wa-id span {
	display: flex;
	align-items: center;
	gap: 0.35rem;
	color: color-mix(in srgb, var(--pc-white) 82%, transparent);
	font-size: var(--pc-fs-2xs);
}

.wa-dot {
	flex: none;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--pc-wa-green);
}

.wa-close {
	flex: none;
	display: grid;
	place-items: center;
	margin-left: auto;
	padding: 0.3rem;
	border: 0;
	border-radius: 6px;
	background: transparent;
	color: color-mix(in srgb, var(--pc-white) 85%, transparent);
	cursor: pointer;
}

.wa-close:hover {
	background: color-mix(in srgb, var(--pc-white) 16%, transparent);
	color: var(--pc-white);
}

.wa-close .icon {
	width: 18px;
	height: 18px;
}

.wa-body {
	padding: 1.1rem 0.85rem 1.3rem;
	background-color: var(--pc-wa-chat);
	background-image: radial-gradient(color-mix(in srgb, var(--pc-charcoal) 5%, transparent) 1px, transparent 1px);
	background-size: 18px 18px;
}

.wa-bubble {
	position: relative;
	max-width: 92%;
	padding: 0.6rem 0.75rem 1.35rem;
	border-radius: 0 10px 10px 10px;
	background: var(--pc-white);
	box-shadow: 0 1px 1px color-mix(in srgb, var(--pc-charcoal) 14%, transparent);
}

.wa-bubble::before {
	content: "";
	position: absolute;
	top: 0;
	left: -8px;
	border: 8px solid transparent;
	border-top-color: var(--pc-white);
	border-right: 0;
}

.wa-bubble strong {
	display: block;
	margin-bottom: 0.15rem;
	color: var(--pc-wa-teal);
	font-size: var(--pc-fs-2xs);
}

.wa-bubble p {
	margin: 0;
	color: var(--pc-charcoal);
	font-size: var(--pc-fs-sm);
	line-height: 1.5;
}

.wa-time {
	position: absolute;
	right: 0.7rem;
	bottom: 0.45rem;
	color: var(--pc-text-soft);
	font-size: var(--pc-fs-2xs);
}

.wa-cta {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.85rem 1rem;
	background: var(--pc-wa-green);
	color: var(--pc-white);
	font-size: var(--pc-fs-sm);
	font-weight: var(--pc-fw-bold);
	text-decoration: none;
}

.wa-cta:hover {
	background: var(--pc-wa-green-hover);
	color: var(--pc-white);
}

.wa-cta .icon-whatsapp {
	width: 1.15rem;
	height: 1.15rem;
}

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

	.wa-launcher {
		transition: none;
	}
}

/* Every page hero runs edge to edge, with its text in line with the container. */
.page-hero .container-full > .hero-card {
	--hero-inline: max(clamp(1.25rem, 4vw, 3.5rem), calc((100% - var(--pc-container)) / 2));
	padding-inline: var(--hero-inline);
}

/* Icon cards under a centred heading are centred too. */
.section-head-center + .icon-cards .icon-card {
	align-items: center;
	text-align: center;
}

/* Gallery links and lightbox */

.gallery-link {
	position: relative;
	display: block;
	cursor: zoom-in;
}

.gallery-link img {
	display: block;
	width: 100%;
	transition: transform 0.4s var(--pc-ease);
}

.gallery-link:hover img,
.gallery-link:focus-visible img {
	transform: scale(1.03);
}

.gallery-zoom {
	position: absolute;
	right: 0.75rem;
	bottom: 0.75rem;
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: color-mix(in srgb, var(--pc-white) 92%, transparent);
	color: var(--pc-charcoal);
	opacity: 0;
	transform: translateY(4px);
	transition: opacity 0.2s var(--pc-ease), transform 0.2s var(--pc-ease);
}

.gallery-link:hover .gallery-zoom,
.gallery-link:focus-visible .gallery-zoom {
	opacity: 1;
	transform: none;
}

.lightbox-open {
	overflow: hidden;
}

.lightbox {
	width: 100vw;
	max-width: none;
	height: 100vh;
	height: 100dvh;
	max-height: none;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--pc-on-dark);
}

.lightbox::backdrop {
	background: color-mix(in srgb, var(--pc-charcoal) 92%, transparent);
}

.lightbox[open] {
	display: grid;
	place-items: center;
}

.lightbox-figure {
	display: grid;
	justify-items: center;
	gap: 0.75rem;
	margin: 0;
	padding: 4.5rem 1rem 3.5rem;
}

.lightbox-img {
	width: auto;
	height: auto;
	max-width: min(92vw, 1600px);
	max-height: calc(100vh - 9rem);
	border-radius: var(--pc-radius-md);
	box-shadow: 0 20px 60px color-mix(in srgb, var(--pc-black) 45%, transparent);
}

.lightbox-caption {
	color: var(--pc-on-dark-soft);
	font-size: var(--pc-fs-sm);
	text-align: center;
}

.lightbox-count {
	position: fixed;
	top: 1.4rem;
	left: 1.5rem;
	margin: 0;
	color: var(--pc-on-dark-soft);
	font-size: var(--pc-fs-sm);
	font-weight: var(--pc-fw-semibold);
}

.lightbox-btn {
	position: fixed;
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: color-mix(in srgb, var(--pc-white) 12%, transparent);
	color: var(--pc-on-dark);
	cursor: pointer;
	transition: background-color 0.2s var(--pc-ease), color 0.2s var(--pc-ease);
}

.lightbox-btn:hover {
	background: var(--pc-orange);
	color: var(--pc-charcoal);
}

.lightbox-btn svg {
	width: 24px;
	height: 24px;
}

.lightbox-btn[hidden] {
	display: none;
}

.lightbox-close {
	top: 1rem;
	right: 1rem;
}

.lightbox-prev,
.lightbox-next {
	top: 50%;
	transform: translateY(-50%);
}

.lightbox-prev {
	left: 1rem;
}

.lightbox-next {
	right: 1rem;
}

@media (max-width: 639px) {
	.lightbox-prev,
	.lightbox-next {
		top: auto;
		bottom: 1rem;
		transform: none;
	}
}

/* Below desktop the container is simply the screen less its gutters. */
@media (max-width: 1023px) {
	:root {
		--pc-container: 100vw;
	}
}

/* Phones: five per cent side margins. */
@media (max-width: 639px) {
	:root {
		--pc-gutter: 5vw;
	}
}

/* A trust point shown as a logo sits on a white tile. */


/* 16. Quote section and form, redesigned ---------------------------------- */

.quote-card {
	position: relative;
	overflow: hidden;
	align-items: center;
	padding: clamp(1.5rem, 4vw, 4rem);
	background: var(--pc-charcoal);
	color: var(--pc-on-dark);
	isolation: isolate;
}

/* A soft orange glow behind the copy. */
.quote-card::before {
	content: "";
	position: absolute;
	top: -30%;
	left: -15%;
	z-index: -1;
	width: 70%;
	aspect-ratio: 1;
	border-radius: 50%;
	background: radial-gradient(circle, color-mix(in srgb, var(--pc-orange) 28%, transparent) 0%, color-mix(in srgb, var(--pc-orange) 0%, transparent) 65%);
}

@media (min-width: 900px) {
	.quote-card {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
		gap: clamp(2rem, 4vw, 4rem);
		align-items: center;
	}
}

.quote-intro .section-title {
	max-width: none;
	color: var(--pc-on-dark);
}

.quote-card .quote-text {
	color: var(--pc-on-dark-soft);
	font-size: var(--pc-fs-lg);
}

.quote-points {
	display: grid;
	gap: 0.85rem;
	margin: 2rem 0 0;
	padding: 0;
	list-style: none;
}

.quote-points li {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	color: var(--pc-on-dark-soft);
}

.quote-points strong {
	color: var(--pc-on-dark);
}

.quote-tick {
	display: grid;
	place-items: center;
	flex: none;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: var(--pc-orange);
	color: var(--pc-charcoal);
}

.quote-tick .icon {
	width: 16px;
	height: 16px;
	stroke-width: 3;
}

.quote-call {
	margin-top: 2rem;
	padding-top: 1.5rem;
	border-top: 1px solid color-mix(in srgb, var(--pc-white) 14%, transparent);
}

.quote-call-label {
	display: block;
	color: var(--pc-on-dark-soft);
	font-size: var(--pc-fs-sm);
}

.quote-card .quote-phones {
	margin-top: 0.75rem;
}

.quote-card .quote-phone {
	padding: 0.6rem 1.1rem;
	border: 1px solid color-mix(in srgb, var(--pc-white) 20%, transparent);
	border-radius: var(--pc-radius-pill);
	color: var(--pc-on-dark);
	font-size: var(--pc-fs-base);
	transition: background-color 0.2s var(--pc-ease), border-color 0.2s var(--pc-ease);
}

.quote-card .quote-phone:hover {
	border-color: var(--pc-orange);
	background: color-mix(in srgb, var(--pc-orange) 12%, transparent);
}

.quote-card .quote-phone .icon {
	color: var(--pc-orange);
}

.quote-card .quote-note {
	color: var(--pc-on-dark-soft);
}

/* The form card, shared by the home page and the contact page. */
.form-card,
.contact-form-card {
	position: relative;
	padding: clamp(1.5rem, 3vw, 2.75rem);
	border-radius: var(--pc-radius-xl);
	background: var(--pc-white);
	color: var(--pc-charcoal);
	box-shadow: 0 24px 60px color-mix(in srgb, var(--pc-black) 22%, transparent);
}

.contact-form-card {
	border-top: 6px solid var(--pc-orange);
	box-shadow: var(--pc-shadow-md);
}

.form-card::before {
	content: "";
	position: absolute;
	top: 0;
	left: clamp(1.5rem, 3vw, 2.75rem);
	right: clamp(1.5rem, 3vw, 2.75rem);
	height: 6px;
	border-radius: 0 0 6px 6px;
	background: var(--pc-orange);
}

.form-card-title,
.contact-form-heading {
	margin: 0 0 1.5rem;
	font-size: var(--pc-fs-xl);
	font-weight: var(--pc-fw-heavy);
	font-stretch: var(--pc-stretch-heading);
	letter-spacing: var(--pc-ls-tight);
	line-height: var(--pc-lh-snug);
}

.quote-form .wpcf7,
.contact-form-card .wpcf7 {
	padding: 0;
	border-radius: 0;
	background: none;
	box-shadow: none;
}

.form-grid {
	gap: 1.1rem 1rem;
}

.form-label {
	margin-bottom: 0.45rem;
	color: var(--pc-charcoal);
	font-size: var(--pc-fs-sm);
	font-weight: var(--pc-fw-bold);
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="url"],
.wpcf7 select,
.wpcf7 textarea {
	min-height: 54px;
	padding: 0.85rem 1.1rem;
	border: 1.5px solid transparent;
	border-radius: var(--pc-radius-md);
	background-color: var(--pc-sand);
	color: var(--pc-charcoal);
	font-size: var(--pc-fs-base);
	transition: border-color 0.2s var(--pc-ease), background-color 0.2s var(--pc-ease), box-shadow 0.2s var(--pc-ease);
}

.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder {
	color: var(--pc-text-muted);
}

.wpcf7 input:hover,
.wpcf7 select:hover,
.wpcf7 textarea:hover {
	border-color: var(--pc-line);
}

.wpcf7 input:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
	border-color: var(--pc-orange);
	background-color: var(--pc-white);
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--pc-orange) 20%, transparent);
	outline: none;
}

.wpcf7 select {
	appearance: none;
	padding-right: 3rem;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d1d1b' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 1.1rem center;
	background-size: 18px;
	cursor: pointer;
}

.wpcf7 textarea {
	min-height: 140px;
}

.form-submit {
	display: flex;
	margin-top: 1.5rem;
}

.form-submit .wpcf7-submit {
	width: 100%;
	min-height: 58px;
	padding: 1rem 3.5rem 1rem 1.75rem;
	background-color: var(--pc-orange);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d1d1b' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 1.5rem center;
	background-size: 20px;
	font-size: var(--pc-fs-base);
	transition: background-color 0.2s var(--pc-ease), background-position 0.2s var(--pc-ease), transform 0.2s var(--pc-ease);
}

.form-submit .wpcf7-submit:hover {
	background-color: var(--pc-orange-hover);
	background-position: right 1.2rem center;
}

.form-submit .wpcf7-spinner {
	right: 0.5rem;
	left: auto;
}

.quote-point {
	display: flex;
	flex-direction: column;
	line-height: 1.35;
}

.quote-point span {
	font-size: var(--pc-fs-sm);
}

/* Footer and legal menus reuse the menu markup but not the header pills. */
.menu-footer .menu-link,
.menu-legal .menu-link {
	display: inline;
	padding: 0;
	border-radius: 0;
	background: none;
	color: inherit;
	font-size: var(--pc-fs-sm);
	font-weight: var(--pc-fw-regular);
	white-space: normal;
}

.menu-footer .menu-link:hover,
.menu-legal .menu-link:hover {
	background: none;
	text-decoration: underline;
}

/* Stats row centred; a logo point shows the logo with its label beneath. */
.stat {
	text-align: center;
}

.stat-label {
	margin-inline: auto;
}

.stat-has-logo {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.stat-has-logo .stat-link {
	display: block;
	width: 100%;
}

.stat-logo {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	max-width: 210px;
	margin-inline: auto;
}

.stat-logo img {
	display: block;
	width: 100%;
	height: auto;
}

/* The header bar keeps enough room for the menu, whatever the section width. */
.site-header .container {
	max-width: calc(max(var(--pc-container), 1240px) + var(--pc-gutter) * 2);
}

.brand,
.header-actions {
	flex: none;
}

.header-quote {
	white-space: nowrap;
}

@media (min-width: 1024px) and (max-width: 1199px) {
	.pill-phone {
		display: none;
	}

	.menu-link {
		padding-inline: 0.6rem;
	}
}

/* Hero text reads on any photo: white copy and breadcrumbs over a fade from clear at the top to translucent black at the bottom, where the text sits. */
.page-hero-image .hero-media::after {
	background: linear-gradient(180deg, color-mix(in srgb, var(--pc-black) 0%, transparent) 0%, color-mix(in srgb, var(--pc-black) 8%, transparent) 30%, color-mix(in srgb, var(--pc-black) 50%, transparent) 62%, color-mix(in srgb, var(--pc-black) 82%, transparent) 100%);
}

.page-hero .hero-lead,
.page-hero .breadcrumbs,
.page-hero .breadcrumbs a,
.page-hero .breadcrumb_last {
	color: var(--pc-white);
}

.page-hero .hero-lead,
.page-hero .breadcrumbs {
	text-shadow: 0 1px 12px color-mix(in srgb, var(--pc-black) 45%, transparent);
}

.page-hero .breadcrumbs {
	font-size: var(--pc-fs-sm);
	font-weight: var(--pc-fw-semibold);
}

.page-hero .breadcrumb_last {
	opacity: 0.85;
}

/* Service pages get a taller hero. */
.single-service .page-hero .hero-card {
	min-height: min(72vh, 680px);
}

/* Galleries: a uniform grid of 4:3 tiles. */
.gallery {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 1.25rem;
	columns: auto;
}

@media (min-width: 600px) {
	.gallery {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.gallery {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.gallery-item {
	margin: 0;
	aspect-ratio: 4 / 3;
}

.gallery-link,
.gallery-item img,
.gallery-link img {
	width: 100%;
	height: 100%;
}

.gallery-item img {
	object-fit: cover;
}

.gallery-item[hidden] {
	display: none;
}

/* Numbered gallery pages reuse the pagination pills as buttons. */
.gallery-pages {
	margin-top: 2rem;
}

.gallery-pages .page-numbers {
	border: 0;
	font: inherit;
	font-weight: var(--pc-fw-semibold);
	cursor: pointer;
	transition: background-color 0.2s var(--pc-ease), color 0.2s var(--pc-ease);
}

.gallery-pages .page-numbers:not(.current):hover {
	background: var(--pc-line);
}

.archive-intro {
	margin-bottom: clamp(2rem, 1.5rem + 2vw, 3rem);
}

/* A panel fills the row when there are fewer than three project cards. */
.projects-aside {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 1.5rem;
	padding: clamp(1.5rem, 3vw, 3rem);
	border-radius: var(--pc-radius-lg);
	background: var(--pc-charcoal);
	color: var(--pc-on-dark);
}

.projects-aside-text h3 {
	margin-top: 0;
	color: var(--pc-on-dark);
}

.projects-aside-text p,
.projects-aside-text li {
	color: var(--pc-on-dark-soft);
}

.projects-aside-text ul {
	padding-left: 1.2rem;
}

.projects-aside-text li::marker {
	color: var(--pc-orange);
}

.projects-aside-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1rem;
	align-items: center;
}

@media (min-width: 1024px) {
	.projects-count-1 .projects-aside {
		grid-column: span 2;
	}
}

/* The chat button steps aside while the mobile menu is open. */
.nav-open .wa-chat {
	display: none;
}

/* 17. Cookie banner ------------------------------------------------------- */

/* Phones and tablets: full width, sitting above the sticky bar. The theme
   script sets --cookie-offset from the bar's real height, which grows when
   its buttons wrap; 64px is the fallback. Desktop: a card in the bottom left corner, clear of
   the WhatsApp button on the right. */
.cookie-banner {
	position: fixed;
	left: var(--pc-gutter);
	right: var(--pc-gutter);
	bottom: var(--cookie-offset, calc(0.75rem + 64px + 0.75rem));
	z-index: 80;
	max-height: calc(100dvh - var(--cookie-offset, calc(64px + 1.5rem)) - 1rem);
	overflow-y: auto;
	padding: 1.25rem;
	border-radius: var(--pc-radius-lg);
	background: var(--pc-white);
	color: var(--pc-text);
	box-shadow: var(--pc-shadow-md);
}

.cookie-banner[hidden] {
	display: none;
}

.cookie-banner:focus {
	outline: none;
}

.cookie-banner:focus-visible {
	outline: 2px solid var(--pc-charcoal);
	outline-offset: 2px;
}

@media (min-width: 1024px) {
	.cookie-banner {
		right: auto;
		left: clamp(1rem, 2vw, 1.75rem);
		bottom: clamp(1rem, 2vw, 1.75rem);
		width: min(26rem, calc(100vw - 2rem));
		max-height: calc(100dvh - 2rem);
	}
}

/* The chat button steps aside on small screens while the banner is open,
   because both sit above the sticky bar. */
@media (max-width: 1023px) {
	.cookie-open .wa-chat {
		display: none;
	}
}

.cookie-banner-title {
	margin: 0 0 0.35rem;
	color: var(--pc-charcoal);
	font-size: var(--pc-fs-base);
	font-weight: var(--pc-fw-bold);
	font-stretch: var(--pc-stretch-heading);
}

.cookie-banner-text {
	margin: 0;
	color: var(--pc-text-soft);
	font-size: var(--pc-fs-sm);
	line-height: var(--pc-lh-body);
}

.cookie-banner-text a {
	color: var(--pc-charcoal);
}

.cookie-settings {
	display: grid;
	gap: 0.85rem;
	margin-top: 1rem;
	padding-top: 1rem;
	border-top: 1px solid var(--pc-line);
}

.cookie-settings[hidden] {
	display: none;
}

.cookie-choice {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 0.2rem 0.65rem;
	align-items: start;
}

.cookie-choice input {
	width: 1.15rem;
	height: 1.15rem;
	margin: 0.15rem 0 0;
	accent-color: var(--pc-charcoal);
}

.cookie-choice label {
	color: var(--pc-charcoal);
	font-size: var(--pc-fs-sm);
	font-weight: var(--pc-fw-semibold);
	cursor: pointer;
}

.cookie-choice-note {
	margin-left: 0.35rem;
	color: var(--pc-text-soft);
	font-weight: var(--pc-fw-regular);
}

.cookie-choice-text {
	grid-column: 2;
	margin: 0;
	color: var(--pc-text-soft);
	font-size: var(--pc-fs-xs);
	line-height: var(--pc-lh-body);
}

/* Accept all and Reject all share one size and style. */
.cookie-actions {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.6rem;
	margin-top: 1.1rem;
}

.cookie-actions .btn {
	width: 100%;
	min-height: 44px;
}

.cookie-actions [hidden] {
	display: none;
}

.cookie-actions .cookie-save {
	grid-column: 1 / -1;
}

.cookie-actions .cookie-settings-toggle {
	grid-column: 1 / -1;
	justify-self: start;
	width: auto;
	min-height: 0;
	font-size: var(--pc-fs-xs);
}

@media (prefers-reduced-motion: no-preference) {
	.cookie-banner {
		animation: cookie-in 0.3s var(--pc-ease);
	}

	@keyframes cookie-in {
		from {
			opacity: 0;
			transform: translateY(0.5rem);
		}
	}
}

/* The footer's Cookie settings link is a button, styled as a link. */
.footer-cookie-link {
	padding: 0;
	border: 0;
	background: none;
	color: var(--pc-on-dark-soft);
	font: inherit;
	text-decoration: underline;
	text-underline-offset: 0.2em;
	cursor: pointer;
}

.footer-cookie-link[hidden] {
	display: none;
}
