/*
Theme Name: Inspired Property Services
Theme URI: https://inspiredpropertyservices.uk/
Author: Firepages
Author URI: https://firepages.co.uk/
Description: Bespoke lead-generation theme for Inspired Property Services — home and garden improvements. Self-hosted fonts, no build step, structured data built in.
Version: 1.0.6
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: inspired-property
Tags: business, custom-menu, custom-logo, three-columns, translation-ready
*/

/* ==========================================================================
   1. Fonts (self-hosted — no external requests, no GDPR headache)
   ========================================================================== */

@font-face {
	font-family: 'Lato';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('assets/fonts/lato-latin-400-normal.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215;
}

@font-face {
	font-family: 'Lato';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url('assets/fonts/lato-latin-700-normal.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215;
}

@font-face {
	font-family: 'Lato';
	font-style: normal;
	font-weight: 900;
	font-display: swap;
	src: url('assets/fonts/lato-latin-900-normal.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215;
}

@font-face {
	font-family: 'Playfair Display';
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url('assets/fonts/playfair-display-latin-600-normal.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215;
}

@font-face {
	font-family: 'Playfair Display';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url('assets/fonts/playfair-display-latin-700-normal.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215;
}

/* ==========================================================================
   2. Design tokens — sampled directly from the client's brand artwork
   ========================================================================== */

:root {
	/* Brand */
	--navy: #003463;
	--navy-deep: #002446;
	--navy-wave: #0F2C6B;
	--blue: #78B1DC;
	--blue-pale: #DAEAF7;
	--paper: #ffffff;
	--tint: #F3F8FD;

	/* Text */
	--ink: #1D2A35;
	--muted: #4A5C6B;
	--on-navy: #ffffff;
	--on-navy-muted: #BCD7EE;

	/* Lines & functional */
	--rule: #CFE1F1;
	--rule-strong: #9FC2DF;
	--wa: #1EA855;
	--wa-deep: #17803F;

	/* Layout */
	--wrap: 1180px;
	--wrap-narrow: 780px;
	--gutter: 1.25rem;
	--radius: 4px;
	--radius-lg: 8px;

	/* Type */
	--serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
	--sans: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

	/* Elevation — used sparingly, on lifted surfaces only */
	--lift: 0 2px 4px rgba(0, 52, 99, .06), 0 12px 28px rgba(0, 52, 99, .10);
	--lift-sm: 0 1px 2px rgba(0, 52, 99, .08);

	/* Z-index scale */
	--z-header: 50;
	--z-overlay: 40;
	--z-raised: 10;
}

/* ==========================================================================
   3. Base
   ========================================================================== */

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: 160px;
}

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 1.0625rem;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}

img,
svg,
video,
iframe { max-width: 100%; }

img,
video {
	height: auto;
	display: block;
}

a {
	color: var(--navy);
	text-decoration-thickness: 1px;
	text-underline-offset: .18em;
}

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

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
	outline: 3px solid var(--navy);
	outline-offset: 2px;
	border-radius: 2px;
}

.on-navy :where(a, button):focus-visible,
.site-footer :where(a, button):focus-visible {
	outline-color: var(--blue);
}

hr {
	border: 0;
	border-top: 1px solid var(--rule);
	margin: 2.5rem 0;
}

::selection {
	background: var(--blue);
	color: var(--navy-deep);
}

/* ==========================================================================
   4. Typography
   ========================================================================== */

h1, h2, h3, h4 {
	font-family: var(--serif);
	font-weight: 700;
	color: var(--navy);
	line-height: 1.14;
	margin: 0 0 .6em;
	letter-spacing: -.005em;
}

h1 { font-size: clamp(2.15rem, 1.55rem + 2.9vw, 3.75rem); }
h2 { font-size: clamp(1.8rem, 1.35rem + 1.9vw, 2.7rem); }
h3 {
	font-size: clamp(1.25rem, 1.12rem + .5vw, 1.5rem);
	line-height: 1.25;
}
h4 {
	font-family: var(--sans);
	font-size: 1.0625rem;
	font-weight: 900;
	line-height: 1.35;
	letter-spacing: .01em;
}

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

.lead {
	font-size: clamp(1.0625rem, 1rem + .35vw, 1.2rem);
	line-height: 1.6;
	color: var(--muted);
}

.prose { max-width: 68ch; }

.prose ul,
.prose ol { padding-left: 1.15rem; }

.prose li { margin-bottom: .45em; }

blockquote {
	margin: 0;
	font-family: var(--serif);
}

.on-navy,
.on-navy h1,
.on-navy h2,
.on-navy h3 { color: var(--on-navy); }

.on-navy .lead,
.on-navy p { color: var(--on-navy-muted); }

.on-navy a { color: var(--blue); }

/* Buttons keep their own colours inside navy sections — .on-navy a would
   otherwise win on specificity and drop the contrast below AA. */
.on-navy a.btn { color: #fff; }
.on-navy a.btn--light { color: var(--navy); }
.on-navy a.btn--light:hover { color: var(--navy-deep); }
.on-navy a.btn--outline-light:hover { color: var(--navy); }

/* ==========================================================================
   5. Layout
   ========================================================================== */

.wrap {
	width: min(100% - (var(--gutter) * 2), var(--wrap));
	margin-inline: auto;
}

.wrap--narrow { max-width: var(--wrap-narrow); }

/* Gallery grids read better with more width than body copy wants. */
.wrap--wide { width: min(100% - (var(--gutter) * 2), 1560px); }

@media (max-width: 599px) {
	.wrap--wide { width: min(100% - 1rem, 1560px); }
}

.section {
	padding-block: clamp(3rem, 2rem + 5vw, 5.5rem);
	position: relative;
}

.section--tint { background: var(--tint); }
.section--pale { background: var(--blue-pale); }
.section--navy { background: var(--navy); }
.section--tight { padding-block: clamp(2.25rem, 1.75rem + 2.5vw, 3.25rem); }

/* A wave already reads as a section break, so the section after it does not
   need its full top padding as well. */
.wave + .section { padding-top: clamp(1.5rem, 1rem + 1.75vw, 2.5rem); }
.wave + .trust { padding-top: 1rem; }

.section-head { margin-bottom: clamp(1.75rem, 1.25rem + 2vw, 2.75rem); }
.section-head p { max-width: 62ch; }

.stack > * + * { margin-top: 1rem; }
.stack-lg > * + * { margin-top: 1.75rem; }

/* Two-column split used by the hero, the about block and the contact page */
.split {
	display: grid;
	gap: clamp(2rem, 1rem + 4vw, 4rem);
	align-items: center;
}

@media (min-width: 900px) {
	.split { grid-template-columns: 1.05fr .95fr; }
	.split--wide-left { grid-template-columns: 1.25fr .75fr; }
	.split--wide-right { grid-template-columns: .8fr 1.2fr; }
	.split--top { align-items: start; }
}

/* ==========================================================================
   6. Buttons
   ========================================================================== */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .55rem;
	min-height: 52px;
	padding: .8rem 1.6rem;
	border: 2px solid transparent;
	border-radius: var(--radius);
	background: var(--navy);
	color: #fff;
	font-family: var(--sans);
	font-size: 1.0625rem;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}

.btn:hover {
	background: var(--navy-deep);
	color: #fff;
	transform: translateY(-1px);
}

.btn:active { transform: translateY(0); }

.btn svg {
	width: 20px;
	height: 20px;
	flex: none;
	fill: currentColor;
}

.btn--ghost {
	background: transparent;
	border-color: var(--navy);
	color: var(--navy);
}

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

.btn--light {
	background: #fff;
	color: var(--navy);
}

.btn--light:hover {
	background: var(--blue-pale);
	color: var(--navy-deep);
}

.btn--outline-light {
	background: transparent;
	border-color: rgba(255, 255, 255, .55);
	color: #fff;
}

.btn--outline-light:hover {
	background: #fff;
	color: var(--navy);
	border-color: #fff;
}

.btn--whatsapp {
	background: var(--wa);
	color: #fff;
}

.btn--whatsapp:hover { background: var(--wa-deep); }

.btn--sm {
	min-height: 44px;
	padding: .55rem 1.1rem;
	font-size: 1rem;
}

.btn-row {
	display: flex;
	flex-wrap: wrap;
	gap: .75rem;
}

/* ==========================================================================
   7. Site header
   ========================================================================== */

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 100;
	padding: .85rem 1.25rem;
	background: var(--navy);
	color: #fff;
	font-weight: 700;
}

.skip-link:focus {
	left: .5rem;
	top: .5rem;
	color: #fff;
}

.topbar {
	background: var(--navy);
	color: var(--on-navy-muted);
	font-size: .875rem;
}

.topbar__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: .5rem 1.5rem;
	min-height: 42px;
	padding-block: .35rem;
}

.topbar a {
	color: #fff;
	text-decoration: none;
	font-weight: 700;
}

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

.topbar__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .35rem 1.4rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.topbar__list li {
	display: inline-flex;
	align-items: center;
	gap: .4rem;
}

.topbar svg {
	width: 15px;
	height: 15px;
	fill: var(--blue);
	flex: none;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: var(--z-header);
	background: #fff;
	border-bottom: 1px solid var(--rule);
	transition: box-shadow .2s ease;
}

.site-header.is-stuck { box-shadow: 0 4px 18px rgba(0, 52, 99, .12); }

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	min-height: 140px;
	padding-block: .6rem;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: .75rem;
	text-decoration: none;
	flex: none;
}

.brand img {
	width: auto;
	height: clamp(52px, 10vw, 120px);
}

.brand__text {
	font-family: var(--serif);
	font-size: 1.2rem;
	font-weight: 700;
	color: var(--navy);
	line-height: 1.1;
}

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

.nav-toggle {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	min-height: 46px;
	padding: .5rem .85rem;
	border: 2px solid var(--navy);
	border-radius: var(--radius);
	background: #fff;
	color: var(--navy);
	font-family: var(--sans);
	font-size: .95rem;
	font-weight: 700;
	cursor: pointer;
}

.nav-toggle__bars {
	position: relative;
	width: 20px;
	height: 2px;
	background: currentColor;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
	content: "";
	position: absolute;
	left: 0;
	width: 20px;
	height: 2px;
	background: currentColor;
}

.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }

.main-nav ul {
	display: flex;
	align-items: center;
	gap: .35rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.main-nav a {
	display: block;
	padding: .65rem .9rem;
	border-radius: var(--radius);
	color: var(--ink);
	font-weight: 700;
	text-decoration: none;
	transition: background-color .15s ease, color .15s ease;
}

.main-nav a:hover {
	background: var(--tint);
	color: var(--navy);
}

.main-nav .current-menu-item > a,
.main-nav .current_page_item > a {
	color: var(--navy);
	box-shadow: inset 0 -3px 0 var(--blue);
}

@media (max-width: 899px) {
	.main-nav {
		position: absolute;
		left: 0;
		right: 0;
		top: 100%;
		display: none;
		padding: .5rem var(--gutter) 1.25rem;
		background: #fff;
		border-bottom: 1px solid var(--rule);
		box-shadow: 0 14px 24px rgba(0, 52, 99, .12);
	}

	.main-nav.is-open { display: block; }

	.main-nav ul {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}

	.main-nav li + li { border-top: 1px solid var(--rule); }

	.main-nav a {
		padding: .95rem .25rem;
		border-radius: 0;
	}
}

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

@media (max-width: 599px) {
	.header-actions .btn span { display: none; }
	.header-actions .btn { padding-inline: .9rem; }
}

/* ==========================================================================
   8. Wave divider — the brand's own motif, used as section punctuation
   ========================================================================== */

.wave {
	display: block;
	line-height: 0;
	background: var(--wave-from, #fff);
}

.wave svg {
	display: block;
	width: 100%;
	height: clamp(46px, 6vw, 88px);
}

.wave__fill { fill: var(--wave-to, var(--tint)); }
.wave__accent { fill: var(--blue); }
.wave__accent--deep { fill: var(--navy-wave); }

.wave--white-to-tint { --wave-from: #fff; --wave-to: var(--tint); }
.wave--tint-to-white { --wave-from: var(--tint); --wave-to: #fff; }
.wave--white-to-navy { --wave-from: #fff; --wave-to: var(--navy); }
.wave--navy-to-white { --wave-from: var(--navy); --wave-to: #fff; }
.wave--tint-to-navy { --wave-from: var(--tint); --wave-to: var(--navy); }
.wave--navy-to-tint { --wave-from: var(--navy); --wave-to: var(--tint); }
.wave--pale-to-white { --wave-from: var(--blue-pale); --wave-to: #fff; }
.wave--white-to-pale { --wave-from: #fff; --wave-to: var(--blue-pale); }

/* ==========================================================================
   9. Hero
   ========================================================================== */

.hero {
	position: relative;
	padding-block: clamp(2.5rem, 1.5rem + 5vw, 4.75rem);
	background: linear-gradient(180deg, #fff 0%, var(--tint) 100%);
	overflow: hidden;
}

.hero__inner {
	display: grid;
	gap: clamp(2rem, 1rem + 4vw, 3.5rem);
	align-items: center;
}

@media (min-width: 960px) {
	.hero__inner { grid-template-columns: 1.08fr .92fr; }
}

.hero h1 { margin-bottom: .5em; }

.hero__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: .55rem;
	margin-bottom: 1.1rem;
	padding: .4rem .85rem .4rem .5rem;
	border: 1px solid var(--rule-strong);
	border-radius: 100px;
	background: #fff;
	color: var(--navy);
	font-size: .9rem;
	font-weight: 700;
}

.hero__eyebrow svg {
	width: 18px;
	height: 18px;
	fill: var(--blue);
}

.hero__lead {
	max-width: 46ch;
	margin-bottom: 1.75rem;
}

.hero .btn-row { margin-bottom: 1.5rem; }

.hero__assurance {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem 1.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: .95rem;
	font-weight: 700;
	color: var(--navy);
}

.hero__assurance li {
	display: inline-flex;
	align-items: center;
	gap: .45rem;
}

.hero__assurance svg {
	width: 18px;
	height: 18px;
	fill: var(--blue);
	flex: none;
}

/* Photo collage — echoes the three-photo stack on the client's flyer */
.collage {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}

.collage figure {
	position: relative;
	margin: 0;
	overflow: hidden;
	border-radius: var(--radius-lg);
	background: var(--blue-pale);
	box-shadow: var(--lift);
}

.collage figure:first-child { grid-column: 1 / -1; }

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

.collage figure:first-child { aspect-ratio: 16 / 10; }
.collage figure + figure { aspect-ratio: 4 / 5; }

/* ==========================================================================
   10. Trust strip
   ========================================================================== */

.trust {
	background: var(--navy);
	color: #fff;
	padding-block: 1.25rem;
}

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

.trust__list li {
	display: flex;
	align-items: center;
	gap: .7rem;
	font-weight: 700;
	line-height: 1.35;
}

.trust__list svg {
	width: 26px;
	height: 26px;
	fill: var(--blue);
	flex: none;
}

/* ==========================================================================
   11. Services
   ========================================================================== */

.services-groups {
	display: grid;
	gap: clamp(2rem, 1rem + 3vw, 3rem);
}

@media (min-width: 860px) {
	.services-groups { grid-template-columns: 1fr 1fr; }
}

.service-group__title {
	display: flex;
	align-items: baseline;
	gap: .75rem;
	padding-bottom: .85rem;
	margin-bottom: .25rem;
	border-bottom: 3px solid var(--navy);
}

.service-group__title h3 { margin: 0; }

.service-group__count {
	font-size: .9rem;
	font-weight: 700;
	color: var(--muted);
	white-space: nowrap;
}

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

.service-list li { border-bottom: 1px solid var(--rule); }

.service-list__item {
	display: flex;
	align-items: flex-start;
	gap: .95rem;
	padding: 1.05rem .25rem;
}

.service-list__item svg {
	width: 26px;
	height: 26px;
	margin-top: 1px;
	flex: none;
	fill: none;
	stroke: var(--navy);
	stroke-width: 1.6;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.service-list__item h4 {
	margin: 0 0 .15rem;
	color: var(--navy);
	font-size: 1.0625rem;
}

.service-list__item p {
	margin: 0;
	font-size: .975rem;
	color: var(--muted);
	line-height: 1.5;
}

/* ==========================================================================
   12. Process steps (a genuine sequence, so numbered)
   ========================================================================== */

.steps {
	display: grid;
	gap: 1.5rem;
	counter-reset: step;
	margin: 0;
	padding: 0;
	list-style: none;
}

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

.steps li {
	position: relative;
	counter-increment: step;
	padding-top: 1.5rem;
	border-top: 3px solid var(--blue);
}

.steps li::before {
	content: counter(step);
	display: block;
	margin-bottom: .5rem;
	font-family: var(--serif);
	font-size: 2.35rem;
	font-weight: 700;
	line-height: 1;
	color: var(--blue);
}

.steps h3 {
	font-size: 1.2rem;
	margin-bottom: .35rem;
}

.steps p {
	margin: 0;
	color: var(--muted);
	font-size: .99rem;
}

.on-navy .steps li { border-top-color: var(--blue); }
.on-navy .steps h3 { color: #fff; }

/* ==========================================================================
   13. Reviews
   ========================================================================== */

.reviews {
	display: grid;
	gap: 1.5rem;
}

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

.review {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	padding: 1.75rem;
	background: #fff;
	border-left: 4px solid var(--blue);
	border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
	box-shadow: var(--lift-sm);
}

.review__stars {
	display: flex;
	gap: 2px;
}

.review__stars svg {
	width: 18px;
	height: 18px;
	fill: #E8A93B;
}

.review blockquote {
	font-family: var(--serif);
	font-size: 1.1rem;
	line-height: 1.5;
	color: var(--navy);
}

.review figcaption {
	margin-top: auto;
	font-size: .93rem;
	font-weight: 700;
	color: var(--muted);
}

/* ==========================================================================
   14. Work / gallery
   ========================================================================== */

.work-intro {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1.5rem;
	margin-bottom: 2rem;
}

.work-intro > div { max-width: 60ch; }

.gallery-region { margin-block: 1rem; }

.gallery-region > *:last-child { margin-bottom: 0; }

.placeholder-note {
	padding: 2.5rem 1.5rem;
	border: 2px dashed var(--rule-strong);
	border-radius: var(--radius-lg);
	background: var(--tint);
	color: var(--muted);
	text-align: center;
}

/* ==========================================================================
   15. FAQ
   ========================================================================== */

.faq {
	max-width: 820px;
	border-top: 1px solid var(--rule);
}

.faq details {
	border-bottom: 1px solid var(--rule);
}

.faq summary {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem;
	padding: 1.15rem .25rem;
	font-family: var(--serif);
	font-size: 1.15rem;
	font-weight: 700;
	color: var(--navy);
	cursor: pointer;
	list-style: none;
}

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

.faq summary::after {
	content: "";
	flex: none;
	width: 14px;
	height: 14px;
	margin-top: .45rem;
	border-right: 2px solid var(--navy);
	border-bottom: 2px solid var(--navy);
	transform: rotate(45deg);
	transition: transform .2s ease;
}

.faq details[open] summary::after { transform: rotate(-135deg); }

.faq__answer {
	padding: 0 .25rem 1.35rem;
	max-width: 66ch;
	color: var(--muted);
}

/* ==========================================================================
   16. Service areas
   ========================================================================== */

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

.areas li {
	padding: .5rem 1rem;
	background: #fff;
	border: 1px solid var(--rule);
	border-radius: 100px;
	font-size: .95rem;
	font-weight: 700;
	color: var(--navy);
}

/* ==========================================================================
   17. CTA band
   ========================================================================== */

.cta-band { text-align: left; }

.cta-band__inner {
	display: grid;
	gap: 1.75rem;
	align-items: center;
}

@media (min-width: 880px) {
	.cta-band__inner { grid-template-columns: 1.3fr .7fr; }
	.cta-band .btn-row { justify-content: flex-end; }
}

.cta-band h2 { margin-bottom: .35em; }

.cta-band .btn-row { flex-direction: column; }

@media (min-width: 520px) {
	.cta-band .btn-row { flex-direction: row; }
}

/* ==========================================================================
   18. Contact page
   ========================================================================== */

.contact-panel {
	padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
	background: #fff;
	border: 1px solid var(--rule);
	border-radius: var(--radius-lg);
	box-shadow: var(--lift);
}

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

.contact-details li {
	display: flex;
	align-items: flex-start;
	gap: .9rem;
	padding: 1.05rem 0;
	border-bottom: 1px solid var(--rule);
}

.contact-details li:last-child { border-bottom: 0; }

.contact-details svg {
	width: 24px;
	height: 24px;
	flex: none;
	margin-top: 3px;
	fill: var(--navy);
	stroke: none;
}

.contact-details__label {
	display: block;
	font-size: .8rem;
	font-weight: 900;
	color: var(--muted);
	letter-spacing: .04em;
	text-transform: uppercase;
	margin-bottom: .1rem;
}

.contact-details__value {
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--navy);
	text-decoration: none;
	overflow-wrap: anywhere;
}

a.contact-details__value:hover { text-decoration: underline; }

.hours {
	margin: 0;
	display: grid;
	grid-template-columns: minmax(0, auto) minmax(0, 1fr);
	gap: .35rem 1.25rem;
	font-size: .98rem;
}

.hours dt { font-weight: 700; }

.hours dd {
	margin: 0;
	color: var(--muted);
	text-align: right;
}

.site-footer .hours dd { color: var(--on-navy-muted); }

.site-footer { border-top: 1px solid rgba(255, 255, 255, .12); }

/* ==========================================================================
   19. Page hero (inner pages)
   ========================================================================== */

.page-hero {
	background: var(--navy);
	color: #fff;
	padding-block: clamp(2.5rem, 1.75rem + 3.5vw, 4rem);
}

.page-hero h1 {
	color: #fff;
	margin-bottom: .35em;
}

.page-hero .lead {
	color: var(--on-navy-muted);
	max-width: 62ch;
}

.breadcrumb {
	margin-bottom: 1rem;
	font-size: .9rem;
	color: var(--on-navy-muted);
}

.breadcrumb a { color: #fff; }

/* ==========================================================================
   20. Footer
   ========================================================================== */

.site-footer {
	background: var(--navy-deep);
	color: var(--on-navy-muted);
	padding-block: clamp(2.5rem, 2rem + 2vw, 3.75rem) 0;
	font-size: .99rem;
}

.site-footer h2,
.site-footer h3 {
	font-family: var(--sans);
	font-size: .82rem;
	font-weight: 900;
	letter-spacing: .09em;
	text-transform: uppercase;
	color: var(--blue);
	margin-bottom: 1.1rem;
}

.footer-grid {
	display: grid;
	gap: 2.25rem;
}

/* Grid tracks size to their widest item by default, so the long email address
   was forcing every column past the viewport on narrow phones. */
.footer-grid > * { min-width: 0; }

.site-footer a { overflow-wrap: anywhere; }

@media (min-width: 760px) {
	.footer-grid { grid-template-columns: 1.4fr 1fr 1.1fr; }
}

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

.site-footer a:hover { text-decoration: underline; }

.site-footer ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-footer li + li { margin-top: .55rem; }

.footer-brand img {
	height: 62px;
	width: auto;
	margin-bottom: 1rem;
}

.footer-contact li {
	display: flex;
	gap: .65rem;
	align-items: flex-start;
}

.footer-contact svg {
	width: 18px;
	height: 18px;
	margin-top: 4px;
	flex: none;
	fill: var(--blue);
}

.social-link {
	display: inline-flex;
	align-items: center;
	gap: .6rem;
	min-height: 44px;
	padding: .55rem 1rem;
	border: 1px solid rgba(255, 255, 255, .3);
	border-radius: var(--radius);
	font-weight: 700;
}

.social-link:hover {
	background: rgba(255, 255, 255, .1);
	text-decoration: none !important;
}

.social-link svg {
	width: 20px;
	height: 20px;
	fill: #fff;
}

.footer-bottom {
	margin-top: 2.5rem;
	padding-block: 1.25rem;
	border-top: 1px solid rgba(255, 255, 255, .16);
	display: flex;
	flex-wrap: wrap;
	gap: .5rem 1.5rem;
	justify-content: space-between;
	font-size: .875rem;
}

.footer-bottom p { margin: 0; }

/* Sticky mobile call bar */
.callbar {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: var(--z-overlay);
	display: grid;
	grid-template-columns: 1fr;
	background: var(--navy);
	box-shadow: 0 -4px 16px rgba(0, 0, 0, .2);
}

.callbar a {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: .5rem;
	min-height: 56px;
	color: #fff;
	font-weight: 700;
	text-decoration: none;
}

.callbar svg {
	width: 20px;
	height: 20px;
	fill: currentColor;
}

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

@media (max-width: 899px) {
	body.has-callbar { padding-bottom: 56px; }
}

/* ==========================================================================
   21. Plugin surfaces — WPForms, FooGallery, Join.chat
   ========================================================================== */

/* Scoped to the contact panel so the form looks right whichever plugin
   provides it — WPForms, Fluent Forms, Forminator or Contact Form 7. */
.contact-panel input[type="text"],
.contact-panel input[type="email"],
.contact-panel input[type="tel"],
.contact-panel input[type="url"],
.contact-panel input[type="number"],
.contact-panel input[type="date"],
.contact-panel select,
.contact-panel textarea {
	width: 100%;
	max-width: 100%;
	min-height: 50px;
	padding: .7rem .85rem;
	border: 1px solid var(--rule-strong);
	border-radius: var(--radius);
	background: #fff;
	color: var(--ink);
	font-family: var(--sans);
	font-size: 1rem;
	line-height: 1.5;
}

.contact-panel textarea { min-height: 140px; }

.contact-panel input[type="file"] {
	width: 100%;
	padding: .8rem;
	border: 2px dashed var(--rule-strong);
	border-radius: var(--radius);
	background: var(--tint);
	font-family: var(--sans);
	font-size: .95rem;
	cursor: pointer;
}

.contact-panel input[type="file"]::file-selector-button {
	margin-right: .85rem;
	padding: .5rem 1rem;
	border: 0;
	border-radius: var(--radius);
	background: var(--navy);
	color: #fff;
	font-family: var(--sans);
	font-weight: 700;
	cursor: pointer;
}

.contact-panel label {
	display: block;
	margin-bottom: .35rem;
	font-size: .95rem;
	font-weight: 700;
	color: var(--ink);
}

.contact-panel button[type="submit"],
.contact-panel input[type="submit"] {
	min-height: 52px;
	padding: .8rem 1.85rem;
	border: 0;
	border-radius: var(--radius);
	background: var(--navy);
	color: #fff;
	font-family: var(--sans);
	font-size: 1.0625rem;
	font-weight: 700;
	cursor: pointer;
	transition: background-color .18s ease;
}

.contact-panel button[type="submit"]:hover,
.contact-panel input[type="submit"]:hover { background: var(--navy-deep); }

/* Fluent Forms / Contact Form 7 field spacing */
.contact-panel .ff-el-group,
.contact-panel .wpcf7-form p { margin-bottom: 1.05rem; }

.contact-panel .wpcf7-not-valid-tip,
.contact-panel .ff-el-is-error .error {
	color: #B3261E;
	font-size: .9rem;
}

.wpforms-container { margin: 0 !important; }

.wpforms-form .wpforms-field { padding: 0 0 1.05rem !important; }

.wpforms-form .wpforms-field-label {
	font-family: var(--sans) !important;
	font-size: .95rem !important;
	font-weight: 700 !important;
	color: var(--ink) !important;
	margin-bottom: .35rem !important;
}

.wpforms-form input[type="text"],
.wpforms-form input[type="email"],
.wpforms-form input[type="tel"],
.wpforms-form input[type="url"],
.wpforms-form input[type="number"],
.wpforms-form select,
.wpforms-form textarea {
	width: 100% !important;
	max-width: 100% !important;
	min-height: 50px;
	padding: .7rem .85rem !important;
	border: 1px solid var(--rule-strong) !important;
	border-radius: var(--radius) !important;
	background: #fff !important;
	color: var(--ink) !important;
	font-family: var(--sans) !important;
	font-size: 1rem !important;
	line-height: 1.5 !important;
}

.wpforms-form textarea { min-height: 140px; }

.wpforms-form input:focus,
.wpforms-form select:focus,
.wpforms-form textarea:focus {
	border-color: var(--navy) !important;
	outline: 2px solid var(--navy);
	outline-offset: 0;
}

.wpforms-form button[type="submit"] {
	min-height: 52px;
	padding: .8rem 1.85rem !important;
	border: 0 !important;
	border-radius: var(--radius) !important;
	background: var(--navy) !important;
	color: #fff !important;
	font-family: var(--sans) !important;
	font-size: 1.0625rem !important;
	font-weight: 700 !important;
	cursor: pointer;
	transition: background-color .18s ease;
}

.wpforms-form button[type="submit"]:hover { background: var(--navy-deep) !important; }

.wpforms-form .wpforms-required-label { color: #B3261E !important; }

.wpforms-form .wpforms-error {
	color: #B3261E !important;
	font-size: .9rem !important;
}

.wpforms-confirmation-container-full {
	background: var(--blue-pale) !important;
	border: 1px solid var(--rule-strong) !important;
	border-radius: var(--radius-lg) !important;
	color: var(--ink) !important;
}

/* FooGallery */
.fg-image { border-radius: var(--radius) !important; }

.foogallery .fg-item-inner { border-radius: var(--radius); }

.foogallery .fg-caption-title {
	font-family: var(--sans) !important;
	font-weight: 700 !important;
}

/* Join.chat bubble sits above the mobile call bar */
@media (max-width: 899px) {
	.joinchat { --bottom: 68px; }
	.joinchat__button { bottom: 68px !important; }
}

/* ==========================================================================
   22. Utilities & accessibility
   ========================================================================== */

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

.text-navy { color: var(--navy); }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

.alignwide,
.alignfull { margin-inline: auto; }

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

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

	*,
	*::before,
	*::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
		scroll-behavior: auto !important;
	}
}

@media print {
	.site-header,
	.site-footer,
	.callbar,
	.topbar,
	.joinchat { display: none !important; }
}

/* ==========================================================================
   23. Late additions — logo sizing and wave orientation
   ========================================================================== */

.wave--flip svg { transform: scaleY(-1); }

.brand-wrap { flex: none; }

.custom-logo-link {
	display: inline-flex;
	align-items: center;
}

.custom-logo-link img {
	width: auto;
	height: clamp(52px, 10vw, 120px);
}

/* Pagination (blog fallback) */
.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: .4rem;
}

.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	padding: 0 .6rem;
	border: 1px solid var(--rule);
	border-radius: var(--radius);
	text-decoration: none;
	font-weight: 700;
}

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