/**
 * HomeFix Appliance Repair — main stylesheet.
 *
 * Contents
 *   1.  Tokens
 *   2.  Reset & base
 *   3.  Layout primitives
 *   4.  Buttons, links & forms
 *   5.  Header, navigation & call bar
 *   6.  Hero & trust bar
 *   7.  Sections: services, process, brands, areas, reviews, FAQ, CTA
 *   8.  Cards & grids
 *   9.  Single templates (service, area, post, page)
 *   10. Booking form
 *   11. Footer
 *   12. Comments, widgets, pagination
 *   13. Block editor styles
 *   14. Utilities, motion & print
 */

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

:root {
	--hf-primary: #0b5cd5;
	--hf-primary-dark: #08429a;
	--hf-primary-light: #e8f0fd;
	--hf-accent: #f4761b;
	--hf-accent-dark: #cc5f0e;
	--hf-ink: #111a2e;
	--hf-ink-soft: #55617a;
	--hf-radius: 12px;

	--hf-surface: #ffffff;
	--hf-surface-2: #f5f8fc;
	--hf-surface-3: #eef3fa;
	--hf-line: #dfe6f1;
	--hf-line-strong: #c6d2e4;
	--hf-success: #1f7a4d;
	--hf-danger: #c0392b;

	--hf-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--hf-font-head: var(--hf-font);

	--hf-container: 1180px;
	--hf-narrow: 760px;
	--hf-gutter: clamp(1rem, 4vw, 2rem);

	--hf-space-s: 0.75rem;
	--hf-space-m: 1.25rem;
	--hf-space-l: 2rem;
	--hf-space-xl: clamp(3rem, 7vw, 5.5rem);

	--hf-shadow-sm: 0 1px 2px rgba(17, 26, 46, 0.06), 0 2px 8px rgba(17, 26, 46, 0.04);
	--hf-shadow: 0 2px 6px rgba(17, 26, 46, 0.06), 0 12px 28px rgba(17, 26, 46, 0.08);
	--hf-shadow-lg: 0 4px 12px rgba(17, 26, 46, 0.08), 0 24px 56px rgba(17, 26, 46, 0.12);
}

/* ------------------------------------------------------------- 2. Reset & base */

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--hf-surface);
	color: var(--hf-ink);
	font-family: var(--hf-font);
	font-size: clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	overflow-wrap: break-word;
}

h1, h2, h3, h4, h5, h6 {
	margin: 0 0 0.6em;
	font-family: var(--hf-font-head);
	font-weight: 750;
	line-height: 1.18;
	letter-spacing: -0.02em;
	color: var(--hf-ink);
	text-wrap: balance;
}

h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 1.25rem + 1.6vw, 2.35rem); }
h3 { font-size: clamp(1.2rem, 1.08rem + 0.6vw, 1.45rem); }
h4 { font-size: 1.15rem; }

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

a {
	color: var(--hf-primary);
	text-decoration-thickness: 1px;
	text-underline-offset: 2px;
}

a:hover { color: var(--hf-primary-dark); }

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

img { display: block; }

ul, ol { padding-left: 1.25rem; }

blockquote {
	margin: 0 0 1.2em;
	padding-left: 1.1rem;
	border-left: 3px solid var(--hf-primary);
	color: var(--hf-ink-soft);
	font-style: italic;
}

hr {
	height: 1px;
	margin: var(--hf-space-l) 0;
	border: 0;
	background: var(--hf-line);
}

code, pre {
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 0.9em;
}

pre {
	overflow-x: auto;
	padding: 1rem;
	border-radius: var(--hf-radius);
	background: var(--hf-surface-3);
}

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

th, td {
	padding: 0.65rem 0.75rem;
	border-bottom: 1px solid var(--hf-line);
	text-align: left;
}

:focus-visible {
	outline: 3px solid var(--hf-accent);
	outline-offset: 2px;
	border-radius: 4px;
}

::selection {
	background: var(--hf-primary);
	color: #fff;
}

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

.skip-link:focus {
	position: fixed !important;
	top: 0.5rem;
	left: 0.5rem;
	z-index: 999;
	width: auto;
	height: auto;
	margin: 0;
	padding: 0.75rem 1.25rem;
	clip: auto;
	clip-path: none;
	background: var(--hf-ink);
	color: #fff;
	border-radius: var(--hf-radius);
	font-weight: 600;
	text-decoration: none;
}

/* -------------------------------------------------------- 3. Layout primitives */

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

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

.section {
	padding-block: var(--hf-space-xl);
}

.section--alt { background: var(--hf-surface-2); }
.section--flush { padding-block: 0; }
.section--content { padding-block: clamp(2rem, 5vw, 3.5rem); }

.section-head {
	max-width: 46rem;
	margin-bottom: clamp(2rem, 4vw, 3rem);
}

.section-head--center {
	margin-inline: auto;
	text-align: center;
}

.section-head__title { margin-bottom: 0.5rem; }

.section-head__text {
	margin: 0;
	color: var(--hf-ink-soft);
	font-size: 1.075rem;
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	margin: 0 0 0.75rem;
	color: var(--hf-primary);
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.09em;
	text-transform: uppercase;
}

.section__more {
	margin-top: clamp(1.5rem, 3vw, 2.5rem);
	text-align: center;
}

.layout {
	display: grid;
	gap: clamp(2rem, 4vw, 3.5rem);
	padding-block: var(--hf-space-xl);
}

.layout--sidebar,
.layout--aside {
	grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 62em) {
	.layout--sidebar { grid-template-columns: minmax(0, 1fr) 20rem; }
	.layout--aside { grid-template-columns: minmax(0, 1fr) 23rem; }
}

.layout__main { min-width: 0; }

.sticky-card {
	position: sticky;
	top: calc(var(--hf-header-h, 76px) + 1.5rem);
}

@media (max-width: 61.99em) {
	.sticky-card { position: static; }
}

/* --------------------------------------------- 4. Buttons, links & form fields */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.75rem 1.4rem;
	border: 2px solid transparent;
	border-radius: calc(var(--hf-radius) * 0.7);
	background: var(--hf-primary);
	color: #fff;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.25;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.16s ease, border-color 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
}

.btn:hover {
	background: var(--hf-primary-dark);
	color: #fff;
	transform: translateY(-1px);
	box-shadow: var(--hf-shadow-sm);
}

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

.btn--accent { background: var(--hf-accent); }
.btn--accent:hover { background: var(--hf-accent-dark); }

.btn--ghost {
	background: transparent;
	border-color: currentColor;
	color: var(--hf-ink);
}

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

.btn--lg {
	padding: 0.95rem 1.75rem;
	font-size: 1.05rem;
}

.btn--block {
	display: flex;
	width: 100%;
}

.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	color: var(--hf-primary);
	font-weight: 700;
	text-decoration: none;
}

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

.link-arrow svg { transition: transform 0.16s ease; }
.link-arrow:hover svg { transform: translateX(3px); }

input[type="text"],
input[type="email"],
input[type="url"],
input[type="tel"],
input[type="search"],
input[type="number"],
input[type="date"],
input[type="password"],
select,
textarea {
	width: 100%;
	padding: 0.7rem 0.85rem;
	border: 1px solid var(--hf-line-strong);
	border-radius: calc(var(--hf-radius) * 0.6);
	background: #fff;
	color: inherit;
	font: inherit;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

select {
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2355617a' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 0.9rem center;
	padding-right: 2.4rem;
}

input:focus,
select:focus,
textarea:focus {
	border-color: var(--hf-primary);
	box-shadow: 0 0 0 3px var(--hf-primary-light);
	outline: none;
}

input[aria-invalid="true"],
select[aria-invalid="true"],
textarea[aria-invalid="true"] {
	border-color: var(--hf-danger);
}

label { font-weight: 600; }

.search-form {
	display: flex;
	gap: 0.5rem;
	max-width: 32rem;
}

.search-form__field { flex: 1 1 auto; }
.search-form__submit { flex: 0 0 auto; }

/* -------------------------------------- 5. Header, navigation & mobile call bar */

.topbar {
	background: var(--hf-ink);
	color: #dfe6f1;
	font-size: 0.875rem;
}

.topbar__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem 1.5rem;
	padding-block: 0.55rem;
}

.topbar p {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	margin: 0;
}

.topbar svg { color: var(--hf-accent); flex: 0 0 auto; }

@media (max-width: 47.99em) {
	.topbar__meta { display: none; }
}

.site-header {
	position: relative;
	z-index: 50;
	background: var(--hf-surface);
	border-bottom: 1px solid var(--hf-line);
}

.has-sticky-header .site-header {
	position: sticky;
	top: 0;
}

.site-header.is-stuck { box-shadow: var(--hf-shadow); }

.site-header__inner {
	display: flex;
	align-items: center;
	gap: clamp(1rem, 3vw, 2.5rem);
	min-height: 4.75rem;
	padding-block: 0.75rem;
}

.site-branding { flex: 0 0 auto; }

.site-logo {
	display: block;
	line-height: 0;
}

.site-logo__img {
	width: auto;
	max-height: 3.5rem;
}

.site-logo--footer .site-logo__img {
	max-height: 3rem;
	margin-bottom: 1rem;
}

@media (max-width: 29.99em) {
	.site-logo__img { max-height: 2.75rem; }
}

.site-title {
	margin: 0;
	font-size: 1.35rem;
	letter-spacing: -0.03em;
}

.site-title a {
	color: var(--hf-ink);
	text-decoration: none;
}

.site-description {
	margin: 0;
	color: var(--hf-ink-soft);
	font-size: 0.8125rem;
}

.main-nav { margin-left: auto; }

.main-nav .menu {
	display: flex;
	align-items: center;
	gap: clamp(0.75rem, 2vw, 1.75rem);
	margin: 0;
	padding: 0;
	list-style: none;
}

.main-nav .menu li { position: relative; }

.main-nav .menu a {
	display: block;
	padding: 0.4rem 0;
	color: var(--hf-ink);
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
}

.main-nav .menu a:hover,
.main-nav .current-menu-item > a,
.main-nav .current_page_item > a {
	color: var(--hf-primary);
}

.main-nav .sub-menu {
	position: absolute;
	top: 100%;
	left: -1rem;
	z-index: 20;
	min-width: 14rem;
	margin: 0;
	padding: 0.5rem;
	list-style: none;
	background: #fff;
	border: 1px solid var(--hf-line);
	border-radius: var(--hf-radius);
	box-shadow: var(--hf-shadow);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
}

.main-nav li:hover > .sub-menu,
.main-nav li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.main-nav .sub-menu a {
	padding: 0.5rem 0.75rem;
	border-radius: 6px;
	white-space: normal;
}

.main-nav .sub-menu a:hover { background: var(--hf-surface-2); }

.site-header__actions {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-left: auto;
}

.main-nav + .site-header__actions { margin-left: 0; }

.header-phone {
	display: flex;
	align-items: center;
	gap: 0.55rem;
	text-decoration: none;
	color: var(--hf-ink);
}

.header-phone__icon {
	display: grid;
	place-items: center;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 50%;
	background: var(--hf-primary-light);
	color: var(--hf-primary);
	flex: 0 0 auto;
}

.header-phone__body {
	display: flex;
	flex-direction: column;
	line-height: 1.25;
}

.header-phone__number {
	font-size: 1.05rem;
	font-weight: 800;
	letter-spacing: -0.01em;
}

.header-phone__note {
	color: var(--hf-ink-soft);
	font-size: 0.75rem;
}

.nav-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	padding: 0;
	border: 1px solid var(--hf-line-strong);
	border-radius: calc(var(--hf-radius) * 0.6);
	background: #fff;
	color: var(--hf-ink);
	cursor: pointer;
}

.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }

.mobile-panel {
	display: none;
	padding-block: 1.25rem 1.75rem;
	border-top: 1px solid var(--hf-line);
	background: var(--hf-surface);
}

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

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

.mobile-menu li { border-bottom: 1px solid var(--hf-line); }

.mobile-menu a {
	display: block;
	padding: 0.85rem 0;
	color: var(--hf-ink);
	font-size: 1.05rem;
	font-weight: 600;
	text-decoration: none;
}

.mobile-menu .sub-menu {
	margin: 0 0 0.5rem 1rem;
	padding: 0;
	list-style: none;
}

.mobile-menu .sub-menu li { border: 0; }

.mobile-menu .sub-menu a {
	padding: 0.5rem 0;
	font-size: 0.95rem;
	font-weight: 500;
	color: var(--hf-ink-soft);
}

.mobile-panel__actions {
	display: grid;
	gap: 0.6rem;
}

@media (max-width: 61.99em) {
	.main-nav { display: none; }
	.nav-toggle { display: inline-flex; }
	.header-cta { display: none; }
	.mobile-panel:not([hidden]) { display: block; }
	.header-phone__note { display: none; }

	/* Without JavaScript the toggle cannot do anything, so show the menu
	   outright rather than leaving a mobile visitor with no navigation. */
	.no-js .mobile-panel[hidden] { display: block; }
	.no-js .nav-toggle { display: none; }
}

/* Controls that only mean something once the script has run. */
.no-js .carousel__nav,
.no-js .to-top { display: none; }

@media (max-width: 29.99em) {
	.header-phone__body { display: none; }
}

/* Mobile call bar */

.call-bar {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 60;
	display: none;
	background: var(--hf-ink);
	box-shadow: 0 -4px 20px rgba(17, 26, 46, 0.25);
	padding-bottom: env(safe-area-inset-bottom);
}

.call-bar__btn {
	display: flex;
	flex: 1 1 50%;
	align-items: center;
	justify-content: center;
	gap: 0.45rem;
	padding: 0.9rem 0.5rem;
	color: #fff;
	font-weight: 700;
	text-decoration: none;
}

.call-bar__btn--call { background: var(--hf-accent); }
.call-bar__btn--book { background: var(--hf-primary); }

@media (max-width: 47.99em) {
	.has-call-bar .call-bar { display: flex; }
	.has-call-bar { padding-bottom: 3.5rem; }
	.has-call-bar .to-top { bottom: 4.5rem; }
}

.to-top {
	position: fixed;
	right: 1rem;
	bottom: 1rem;
	z-index: 55;
	width: 2.75rem;
	height: 2.75rem;
	border: 1px solid var(--hf-line-strong);
	border-radius: 50%;
	background: #fff;
	color: var(--hf-ink);
	font-size: 1.1rem;
	cursor: pointer;
	box-shadow: var(--hf-shadow-sm);
}

.to-top[hidden] { display: none; }

/* Breadcrumbs */

.breadcrumbs {
	background: var(--hf-surface-2);
	border-bottom: 1px solid var(--hf-line);
	font-size: 0.875rem;
}

.breadcrumbs__list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin: 0;
	padding: 0.75rem 0;
	list-style: none;
}

.breadcrumbs__item + .breadcrumbs__item::before {
	content: "/";
	margin-right: 0.4rem;
	color: var(--hf-line-strong);
}

.breadcrumbs a {
	color: var(--hf-ink-soft);
	text-decoration: none;
}

.breadcrumbs a:hover {
	color: var(--hf-primary);
	text-decoration: underline;
}

.breadcrumbs [aria-current] {
	color: var(--hf-ink);
	font-weight: 600;
}

/* ------------------------------------------------------ 6. Hero & trust bar */

.hero {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(60rem 30rem at 85% -10%, var(--hf-primary-light), transparent 65%),
		var(--hf-surface);
	/* Asymmetric on purpose: the hero sits directly under the header, so a
	   large top pad reads as an empty gap rather than breathing room. */
	padding-block: clamp(1rem, 2.5vw, 2rem) clamp(2.5rem, 6vw, 4rem);
}

.hero__media {
	position: absolute;
	inset: 0;
	z-index: 0;
}

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

.hero__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(100deg, rgba(17, 26, 46, 0.92) 0%, rgba(17, 26, 46, 0.78) 45%, rgba(17, 26, 46, 0.45) 100%);
}

.hero__inner {
	position: relative;
	z-index: 1;
	display: grid;
	gap: clamp(2rem, 5vw, 4rem);
	align-items: center;
}

.hero--split .hero__inner { grid-template-columns: minmax(0, 1fr); }

@media (min-width: 62em) {
	.hero--split .hero__inner { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }

	/*
	 * Top-align the two columns. The booking form is far taller than the text
	 * beside it, so centring pushed the headline hundreds of pixels down the
	 * page and read as a large empty gap under the header.
	 */
	.hero--split .hero__inner { align-items: start; }
}

.hero__body { max-width: 40rem; }

.hero__title { margin-bottom: 0.5rem; }

.hero__text {
	color: var(--hf-ink-soft);
	font-size: clamp(1.05rem, 1rem + 0.35vw, 1.2rem);
}

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

.hero__points li {
	display: flex;
	align-items: flex-start;
	gap: 0.6rem;
	font-weight: 600;
}

.hero__check {
	display: grid;
	place-items: center;
	flex: 0 0 auto;
	width: 1.5rem;
	height: 1.5rem;
	margin-top: 0.1rem;
	border-radius: 50%;
	background: var(--hf-primary);
	color: #fff;
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 1.5rem;
}

.hero__rating {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
	margin-top: 1.5rem;
	color: var(--hf-ink-soft);
	font-size: 0.9375rem;
}

/* Hero over an image inverts the text colours. The class is set in PHP rather
   than with :has() so the contrast is right in every browser, not just recent ones. */

.hero--image .hero__title,
.hero--image .hero__points li {
	color: #fff;
}

.hero--image .hero__text,
.hero--image .hero__rating {
	color: #d9e2f2;
}

.hero--image .eyebrow { color: var(--hf-accent); }

.hero--image .btn--ghost {
	border-color: #fff;
	color: #fff;
}

.hero--image .btn--ghost:hover {
	background: #fff;
	color: var(--hf-ink);
}

.stats {
	background: var(--hf-ink);
	color: #fff;
	padding-block: clamp(1.5rem, 3vw, 2.25rem);
}

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

@media (min-width: 48em) {
	.stats__list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.stats__value {
	display: block;
	font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
	font-weight: 800;
	letter-spacing: -0.02em;
	color: #fff;
}

.stats__label {
	display: block;
	color: #b9c5db;
	font-size: 0.875rem;
	line-height: 1.4;
}

/* ---------------------------------------------------------------- 7. Sections */

/* Process steps */

.steps {
	display: grid;
	gap: clamp(1.25rem, 3vw, 2rem);
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: step;
}

@media (min-width: 40em) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64em) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.steps__item {
	position: relative;
	padding: 1.75rem 1.5rem 1.5rem;
	background: var(--hf-surface);
	border: 1px solid var(--hf-line);
	border-radius: var(--hf-radius);
}

.steps__num {
	position: absolute;
	top: -0.9rem;
	left: 1.5rem;
	display: grid;
	place-items: center;
	width: 1.9rem;
	height: 1.9rem;
	border-radius: 50%;
	background: var(--hf-accent);
	color: #fff;
	font-size: 0.9rem;
	font-weight: 800;
}

.steps__icon {
	display: grid;
	place-items: center;
	width: 3rem;
	height: 3rem;
	margin-bottom: 1rem;
	border-radius: calc(var(--hf-radius) * 0.75);
	background: var(--hf-primary-light);
	color: var(--hf-primary);
}

.steps__title { font-size: 1.1rem; margin-bottom: 0.4rem; }

.steps__text {
	margin: 0;
	color: var(--hf-ink-soft);
	font-size: 0.9375rem;
}

/* Brands */

.section--brands { background: var(--hf-surface-2); }

.brands__title {
	margin: 0 0 1.25rem;
	color: var(--hf-ink-soft);
	font-size: 0.9375rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-align: center;
	text-transform: uppercase;
}

.brands {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.6rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.brands__item a,
.brands__item span {
	display: block;
	padding: 0.5rem 1rem;
	background: #fff;
	border: 1px solid var(--hf-line);
	border-radius: 999px;
	color: var(--hf-ink);
	font-weight: 650;
	font-size: 0.9375rem;
	text-decoration: none;
}

.brands__item a:hover {
	border-color: var(--hf-primary);
	color: var(--hf-primary);
}

.brands__note {
	margin: 1.25rem 0 0;
	color: var(--hf-ink-soft);
	font-size: 0.9375rem;
	text-align: center;
}

/* Areas */

.area-list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr));
	gap: 0.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.area-list a {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.65rem 0.85rem;
	background: var(--hf-surface-2);
	border-radius: calc(var(--hf-radius) * 0.6);
	color: var(--hf-ink);
	font-weight: 600;
	text-decoration: none;
}

.area-list a:hover {
	background: var(--hf-primary-light);
	color: var(--hf-primary);
}

/* Reviews */

.section--testimonials { background: var(--hf-surface-2); }

.carousel { position: relative; }

.carousel__track {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(min(20rem, 82%), 1fr);
	gap: 1.25rem;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	padding-bottom: 1rem;
	scrollbar-width: thin;
}

@media (min-width: 48em) {
	.carousel__track { grid-auto-columns: minmax(0, calc(50% - 0.625rem)); }
}

@media (min-width: 72em) {
	.carousel__track { grid-auto-columns: minmax(0, calc(33.333% - 0.84rem)); }
}

.review {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	margin: 0;
	padding: 1.5rem;
	background: #fff;
	border: 1px solid var(--hf-line);
	border-radius: var(--hf-radius);
	scroll-snap-align: start;
	box-shadow: var(--hf-shadow-sm);
}

.review__quote {
	margin: 0;
	padding: 0;
	border: 0;
	color: var(--hf-ink);
	font-style: normal;
	font-size: 1rem;
}

.review__meta {
	display: flex;
	flex-direction: column;
	gap: 0.1rem;
	margin-top: auto;
	padding-top: 0.75rem;
	border-top: 1px solid var(--hf-line);
	font-size: 0.875rem;
}

.review__author { font-weight: 700; }

.review__location,
.review__job,
.review__source { color: var(--hf-ink-soft); }

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

.carousel__btn {
	width: 2.5rem;
	height: 2.5rem;
	border: 1px solid var(--hf-line-strong);
	border-radius: 50%;
	background: #fff;
	color: var(--hf-ink);
	cursor: pointer;
}

.carousel__btn:hover {
	border-color: var(--hf-primary);
	color: var(--hf-primary);
}

.carousel__btn[disabled] {
	opacity: 0.4;
	cursor: default;
}

.testimonials__summary {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.35rem 1rem;
	color: var(--hf-ink-soft);
}

/* Stars */

.stars {
	display: inline-flex;
	gap: 0.1rem;
	color: var(--hf-line-strong);
}

.stars__star { display: inline-flex; }
.stars__star.is-on { color: #f5a623; }

.stars__label {
	margin-left: 0.4rem;
	font-weight: 700;
}

/* FAQ */

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

.faq__item {
	background: var(--hf-surface);
	border: 1px solid var(--hf-line);
	border-radius: var(--hf-radius);
	overflow: hidden;
}

.faq__item[open] { border-color: var(--hf-primary); }

.faq__q {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem;
	padding: 1rem 1.25rem;
	font-size: 1.05rem;
	font-weight: 700;
	cursor: pointer;
	list-style: none;
}

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

.faq__marker {
	position: relative;
	flex: 0 0 auto;
	width: 1.1rem;
	height: 1.1rem;
	margin-top: 0.25rem;
}

.faq__marker::before,
.faq__marker::after {
	content: "";
	position: absolute;
	inset: 50% 0 auto 0;
	height: 2px;
	background: var(--hf-primary);
	border-radius: 2px;
	transition: transform 0.2s ease;
}

.faq__marker::after { transform: rotate(90deg); }
.faq__item[open] .faq__marker::after { transform: rotate(0deg); }

.faq__a {
	padding: 0 1.25rem 1.25rem;
	color: var(--hf-ink-soft);
}

.faq__cta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	margin-top: 1.75rem;
	color: var(--hf-ink-soft);
}

/* CTA band */

.cta-band {
	background: linear-gradient(120deg, var(--hf-primary-dark), var(--hf-primary));
	color: #fff;
	padding-block: clamp(2.5rem, 5vw, 4rem);
}

.cta-band__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem 2.5rem;
}

.cta-band__body { max-width: 34rem; }
.cta-band__title { color: #fff; margin-bottom: 0.35rem; }

.cta-band__text {
	margin: 0;
	color: rgba(255, 255, 255, 0.85);
}

.cta-band__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.cta-band .btn--ghost {
	border-color: rgba(255, 255, 255, 0.7);
	color: #fff;
}

.cta-band .btn--ghost:hover {
	background: #fff;
	border-color: #fff;
	color: var(--hf-primary-dark);
}

/* Military & veteran support */

.section--military {
	background:
		linear-gradient(180deg, var(--hf-surface-2), var(--hf-surface));
	border-block: 1px solid var(--hf-line);
}

.military {
	display: grid;
	gap: clamp(1.25rem, 3vw, 2rem);
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (min-width: 48em) {
	.military { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.military__item {
	padding: 1.75rem 1.5rem;
	background: var(--hf-surface);
	border: 1px solid var(--hf-line);
	border-radius: var(--hf-radius);
	/* A quiet nod to the branding rather than a full camo treatment. */
	border-top: 3px solid var(--hf-accent);
}

.military__icon {
	display: grid;
	place-items: center;
	width: 3rem;
	height: 3rem;
	margin-bottom: 1rem;
	border-radius: 50%;
	background: var(--hf-ink);
	color: #fff;
}

.military__title {
	font-size: 1.1rem;
	margin-bottom: 0.4rem;
}

.military__text {
	margin: 0;
	color: var(--hf-ink-soft);
	font-size: 0.9375rem;
}

/* ------------------------------------------------------------ 8. Cards & grids */

.grid {
	display: grid;
	gap: clamp(1rem, 2.5vw, 1.75rem);
	grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 40em) {
	.grid--2,
	.grid--3,
	.grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 64em) {
	.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.card {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: var(--hf-surface);
	border: 1px solid var(--hf-line);
	border-radius: var(--hf-radius);
	overflow: hidden;
	transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.card:hover {
	transform: translateY(-3px);
	border-color: var(--hf-line-strong);
	box-shadow: var(--hf-shadow);
}

.card__media img {
	width: 100%;
	aspect-ratio: 16 / 11;
	object-fit: cover;
}

.card__icon {
	display: grid;
	place-items: center;
	width: 3.25rem;
	height: 3.25rem;
	margin: 1.5rem 1.5rem 0;
	border-radius: calc(var(--hf-radius) * 0.75);
	background: var(--hf-primary-light);
	color: var(--hf-primary);
}

.card__body {
	flex: 1 1 auto;
	padding: 1.25rem 1.5rem;
}

.card__title {
	margin-bottom: 0.4rem;
	font-size: 1.2rem;
}

.card__title a {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	color: var(--hf-ink);
	text-decoration: none;
}

.card__title a:hover { color: var(--hf-primary); }

.card__text {
	margin: 0;
	color: var(--hf-ink-soft);
	font-size: 0.9375rem;
}

.card__list {
	margin: 0.9rem 0 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 0.35rem;
	font-size: 0.9rem;
}

.card__list li {
	display: flex;
	align-items: flex-start;
	gap: 0.45rem;
	color: var(--hf-ink-soft);
}

.card__list svg {
	flex: 0 0 auto;
	margin-top: 0.3rem;
	color: var(--hf-success);
}

.card__badge {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	margin: 0.9rem 0 0;
	padding: 0.25rem 0.6rem;
	background: var(--hf-primary-light);
	border-radius: 999px;
	color: var(--hf-primary-dark);
	font-size: 0.8125rem;
	font-weight: 700;
}

.card__codes {
	margin: 0.6rem 0 0;
	color: var(--hf-ink-soft);
	font-size: 0.8125rem;
}

.card__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.9rem 1.5rem;
	border-top: 1px solid var(--hf-line);
	background: var(--hf-surface-2);
}

/* Nothing sits opposite the link now that prices are gone. */
.card__foot--end { justify-content: flex-end; }

.card__price {
	color: var(--hf-ink-soft);
	font-size: 0.9375rem;
}

.card__price strong {
	color: var(--hf-ink);
	font-size: 1.05rem;
}

/* Blog cards */

.post-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: var(--hf-surface);
	border: 1px solid var(--hf-line);
	border-radius: var(--hf-radius);
	overflow: hidden;
}

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

.post-card__body { padding: 1.35rem 1.5rem 1.5rem; }
.post-card__title { font-size: 1.25rem; margin-bottom: 0.35rem; }

.post-card__title a {
	color: var(--hf-ink);
	text-decoration: none;
}

.post-card__title a:hover { color: var(--hf-primary); }

.post-card__excerpt {
	color: var(--hf-ink-soft);
	font-size: 0.9375rem;
}

/* ------------------------------------------------------- 9. Single templates */

.page-head {
	padding-block: clamp(2.25rem, 5vw, 3.75rem);
	background: var(--hf-surface-2);
	border-bottom: 1px solid var(--hf-line);
}

.page-head__title { margin-bottom: 0.5rem; }

.page-head__text {
	max-width: 44rem;
	margin: 0;
	color: var(--hf-ink-soft);
	font-size: 1.075rem;
}

.page-head__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 1.5rem;
}

.page-head__search { margin-top: 1.5rem; }

.page-head__icon {
	display: grid;
	place-items: center;
	width: 3.75rem;
	height: 3.75rem;
	margin-bottom: 1rem;
	border-radius: var(--hf-radius);
	background: var(--hf-primary);
	color: #fff;
}

.facts {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem 1.75rem;
	margin: 1.5rem 0 0;
	padding: 0;
	list-style: none;
}

.facts__item {
	display: flex;
	align-items: center;
	gap: 0.45rem;
	font-weight: 650;
}

.facts__item svg { color: var(--hf-primary); }

.feature-image {
	margin: 0 0 var(--hf-space-l);
	border-radius: var(--hf-radius);
	overflow: hidden;
}

.feature-image img { width: 100%; }

.entry__content > * + * { margin-top: 1.1em; }

.entry__content h2 { margin-top: 1.8em; }
.entry__content h3 { margin-top: 1.5em; }

.entry__content ul,
.entry__content ol { padding-left: 1.35rem; }

.entry__content li + li { margin-top: 0.35rem; }

.entry__content img { border-radius: var(--hf-radius); }

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

.entry__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
	color: var(--hf-ink-soft);
	font-size: 0.9rem;
}

.entry__dot { color: var(--hf-line-strong); }

.entry__cta {
	margin-top: var(--hf-space-xl);
	padding: 1.75rem;
	background: var(--hf-primary-light);
	border-radius: var(--hf-radius);
}

.entry__cta h2 { font-size: 1.35rem; margin-bottom: 0.4rem; }

.symptoms {
	margin-bottom: var(--hf-space-l);
	padding: 1.75rem;
	background: var(--hf-surface-2);
	border: 1px solid var(--hf-line);
	border-radius: var(--hf-radius);
}

.symptoms__title { font-size: 1.35rem; margin-bottom: 0.35rem; }

.symptoms__intro {
	color: var(--hf-ink-soft);
	font-size: 0.9375rem;
}

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

@media (min-width: 40em) {
	.symptoms__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.symptoms__list li {
	display: flex;
	align-items: flex-start;
	gap: 0.6rem;
	font-weight: 600;
}

.symptoms__check {
	display: grid;
	place-items: center;
	flex: 0 0 auto;
	width: 1.4rem;
	height: 1.4rem;
	margin-top: 0.15rem;
	border-radius: 50%;
	background: var(--hf-success);
	color: #fff;
}

.related,
.service-brands,
.area-codes,
.area-map,
.further-reading { margin-top: var(--hf-space-xl); }

.further-reading {
	padding: 1.5rem 1.75rem;
	background: var(--hf-primary-light);
	border-radius: var(--hf-radius);
	border-left: 4px solid var(--hf-primary);
}

.further-reading__label {
	margin: 0 0 0.35rem;
	color: var(--hf-primary-dark);
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.further-reading__title {
	font-size: 1.25rem;
	margin-bottom: 0.4rem;
}

.further-reading__title a {
	color: var(--hf-ink);
	text-decoration: none;
}

.further-reading__title a:hover { color: var(--hf-primary); }

.further-reading__text {
	margin-bottom: 0.85rem;
	color: var(--hf-ink-soft);
	font-size: 0.9375rem;
}

.related__title { font-size: 1.5rem; margin-bottom: 1.25rem; }

/* ---------------------------------------------------------------- Sources */

.references { margin-top: var(--hf-space-xl); }

.references__title { font-size: 1.25rem; margin-bottom: 0.35rem; }

.references__intro {
	margin-bottom: 1rem;
	color: var(--hf-ink-soft);
	font-size: 0.9375rem;
}

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

.references__item {
	padding-left: 1rem;
	border-left: 3px solid var(--hf-line);
}

.references__link {
	display: block;
	font-weight: 600;
	color: var(--hf-primary-dark);
}

.references__note {
	display: block;
	margin-top: 0.15rem;
	color: var(--hf-ink-soft);
	font-size: 0.875rem;
}

/* -------------------------------------------------------- Before / after */

/*
 * Two frames of the same job, side by side on anything wider than a phone and
 * stacked below that. Stacking is the right call on a narrow screen: two
 * postage-stamp photographs prove nothing, and the pair still reads correctly
 * in order because "before" comes first in the markup.
 */

.beforeafter { margin-top: var(--hf-space-xl); }

.beforeafter__title { font-size: 1.25rem; margin-bottom: 0.35rem; }

.beforeafter__intro {
	margin-bottom: 1rem;
	color: var(--hf-ink-soft);
	font-size: 0.9375rem;
}

.beforeafter__pair {
	display: grid;
	gap: 1rem;
	grid-template-columns: 1fr;
}

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

.beforeafter__item { margin: 0; }

.beforeafter__frame {
	position: relative;
	overflow: hidden;
	border-radius: var(--hf-radius);
	border: 1px solid var(--hf-line);
}

/*
 * Both photographs are forced to the same aspect ratio and cropped to fill.
 * A before and an after at different shapes read as two unrelated pictures —
 * matching them is what makes the eye compare them.
 */
.beforeafter__frame img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.beforeafter__tag {
	position: absolute;
	top: 0.6rem;
	left: 0.6rem;
	z-index: 1;
	padding: 0.2rem 0.6rem;
	border-radius: 999px;
	background: rgba(17, 24, 39, 0.82);
	color: #fff;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.beforeafter__item--after .beforeafter__tag { background: var(--hf-primary-dark); }

.beforeafter__caption {
	margin-top: 0.5rem;
	color: var(--hf-ink-soft);
	font-size: 0.875rem;
	line-height: 1.5;
}

.beforeafter__note {
	margin-top: 1rem;
	padding-left: 1rem;
	border-left: 3px solid var(--hf-line);
	color: var(--hf-ink-soft);
	font-size: 0.9375rem;
}

/* ------------------------------------------------------------ Video embed */

.video-embed {
	margin: var(--hf-space-l) 0;
}

.video-embed iframe {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	height: auto;
	border: 0;
	border-radius: var(--hf-radius);
	background: var(--hf-ink);
}

.video-embed figcaption {
	margin-top: 0.6rem;
	color: var(--hf-ink-soft);
	font-size: 0.875rem;
	line-height: 1.5;
}

/* ------------------------------------------------------ Table of contents */

.toc {
	margin-bottom: var(--hf-space-l);
	padding: 1.25rem 1.5rem;
	background: var(--hf-primary-light);
	border-radius: var(--hf-radius);
}

.toc__title {
	margin: 0 0 0.75rem;
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--hf-primary-dark);
}

.toc__list {
	margin: 0;
	padding-left: 1.15rem;
	display: grid;
	gap: 0.4rem;
	font-size: 0.9375rem;
}

.toc__item { padding-left: 0.25rem; }

.toc__link {
	color: var(--hf-ink);
	text-decoration: none;
	border-bottom: 1px solid transparent;
}

.toc__link:hover {
	color: var(--hf-primary);
	border-bottom-color: currentColor;
}

/* Stops an anchor jump from parking the heading under the sticky header. */
.entry__content :is(h2, h3)[id] { scroll-margin-top: 5rem; }

@media (min-width: 60em) {
	.toc__list { grid-template-columns: 1fr 1fr; gap: 0.4rem 1.5rem; }
}

.area-map__frame {
	position: relative;
	aspect-ratio: 16 / 9;
	border-radius: var(--hf-radius);
	overflow: hidden;
	border: 1px solid var(--hf-line);
}

.area-map__frame iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.contact-methods {
	display: grid;
	gap: 0.75rem;
	margin-bottom: var(--hf-space-l);
}

@media (min-width: 40em) {
	.contact-methods { grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
}

.contact-method {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	padding: 1.1rem 1.25rem;
	background: var(--hf-surface-2);
	border: 1px solid var(--hf-line);
	border-radius: var(--hf-radius);
	color: var(--hf-ink);
	text-decoration: none;
	transition: border-color 0.16s ease, background-color 0.16s ease;
}

.contact-method:hover {
	background: var(--hf-primary-light);
	border-color: var(--hf-primary);
}

.contact-method__icon {
	display: grid;
	place-items: center;
	flex: 0 0 auto;
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 50%;
	background: var(--hf-primary);
	color: #fff;
}

.contact-method__body { display: flex; flex-direction: column; }

.contact-method__label {
	color: var(--hf-ink-soft);
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.contact-method__value { font-size: 1.05rem; font-weight: 700; }

.contact-hours,
.contact-address { margin-top: var(--hf-space-l); }

.contact-hours h2,
.contact-address h2 { font-size: 1.35rem; }

.contact-hours__note,
.footer__emergency {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	margin-top: 0.85rem;
	color: var(--hf-ink-soft);
	font-size: 0.9375rem;
}

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

.contact-address__note {
	margin-top: 0.35rem;
	color: var(--hf-ink-soft);
	font-size: 0.875rem;
}

.hours {
	margin: 0;
	display: grid;
	gap: 0.35rem;
}

.hours__row {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	padding-bottom: 0.35rem;
	border-bottom: 1px dashed var(--hf-line);
}

.hours dt { font-weight: 600; }
.hours dd { margin: 0; text-align: right; }

.no-results {
	max-width: 40rem;
	padding: var(--hf-space-l) 0;
}

.no-results__title { font-size: 1.6rem; }

.no-results__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 1.5rem;
}

.tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin: var(--hf-space-l) 0 0;
	padding: 0;
	list-style: none;
}

.tags a {
	display: block;
	padding: 0.25rem 0.7rem;
	background: var(--hf-surface-2);
	border-radius: 999px;
	color: var(--hf-ink-soft);
	font-size: 0.8125rem;
	text-decoration: none;
}

.tags a:hover { color: var(--hf-primary); }

/* --------------------------------------------------------- 10. Booking form */

.booking {
	padding: clamp(1.5rem, 3vw, 2rem);
	background: var(--hf-surface);
	border: 1px solid var(--hf-line);
	border-radius: var(--hf-radius);
	box-shadow: var(--hf-shadow-lg);
}

.section--alt .booking,
.hero .booking { box-shadow: var(--hf-shadow-lg); }

.booking__title { font-size: 1.5rem; margin-bottom: 0.35rem; }

.booking__text {
	margin-bottom: 1.25rem;
	color: var(--hf-ink-soft);
	font-size: 0.9375rem;
}

.booking__grid {
	display: grid;
	gap: 0.9rem;
	grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 30em) {
	.booking__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.field--full { grid-column: 1 / -1; }
}

.field { margin: 0; }

.field label {
	display: block;
	margin-bottom: 0.3rem;
	font-size: 0.875rem;
}

.req { color: var(--hf-danger); }

.field--consent label {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
	font-size: 0.8125rem;
	font-weight: 500;
	color: var(--hf-ink-soft);
	line-height: 1.45;
}

.field--consent input { width: auto; margin-top: 0.15rem; flex: 0 0 auto; }

.field__error {
	display: block;
	margin-top: 0.25rem;
	color: var(--hf-danger);
	font-size: 0.8125rem;
	font-weight: 600;
}

.booking__form button[type="submit"] { margin-top: 1.25rem; }

.booking__reassure {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	margin: 0.85rem 0 0;
	color: var(--hf-ink-soft);
	font-size: 0.8125rem;
	text-align: center;
}

.booking__reassure svg { color: var(--hf-success); flex: 0 0 auto; }

.booking__trap {
	position: absolute !important;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.booking__status:not(:empty) {
	margin-top: 1rem;
	padding: 0.85rem 1rem;
	border-radius: calc(var(--hf-radius) * 0.6);
	font-size: 0.9375rem;
	font-weight: 600;
}

.booking__status.is-success {
	background: #e6f4ec;
	color: var(--hf-success);
}

.booking__status.is-error {
	background: #fdeceb;
	color: var(--hf-danger);
}

.booking.is-sending { opacity: 0.75; pointer-events: none; }

/* --------------------------------------------------------------- 11. Footer */

.site-footer {
	background: var(--hf-ink);
	color: #b9c5db;
	padding-block: clamp(2.5rem, 5vw, 4rem) 2rem;
	font-size: 0.9375rem;
}

.footer__grid {
	display: grid;
	gap: clamp(1.75rem, 4vw, 3rem);
	grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 40em) {
	.footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 64em) {
	.footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.3fr; }
}

.site-footer h2,
.footer__heading {
	margin-bottom: 0.85rem;
	color: #fff;
	font-size: 0.9375rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.footer__heading--spaced { margin-top: 1.5rem; }

.footer__brand {
	margin-bottom: 0.75rem;
	font-size: 1.2rem;
	font-weight: 800;
}

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

.site-footer .custom-logo { max-height: 2.75rem; width: auto; margin-bottom: 1rem; }

.footer__about { color: #b9c5db; }

.footer__menu,
.footer__contact {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 0.5rem;
}

.footer__menu a,
.footer__contact a {
	color: #cfd9e8;
	text-decoration: none;
}

.footer__menu a:hover,
.footer__contact a:hover {
	color: #fff;
	text-decoration: underline;
}

.footer__contact li {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
}

.footer__contact svg { flex: 0 0 auto; margin-top: 0.25rem; color: var(--hf-accent); }

.site-footer .hours__row { border-bottom-color: rgba(255, 255, 255, 0.12); }
.site-footer .hours dt { color: #fff; font-weight: 600; }

.footer__emergency { color: var(--hf-accent); font-weight: 600; }

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

.social a {
	display: grid;
	place-items: center;
	width: 2.4rem;
	height: 2.4rem;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 50%;
	color: #cfd9e8;
}

.social a:hover {
	background: var(--hf-accent);
	border-color: var(--hf-accent);
	color: #fff;
}

.footer__bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem 1.5rem;
	margin-top: clamp(2rem, 4vw, 3rem);
	padding-top: 1.5rem;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	font-size: 0.8125rem;
}

.footer__copy { margin: 0; }

.footer__payments,
.footer__legal {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem 0.9rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.footer__payments li { color: #8f9db5; }

.footer__legal a { color: #cfd9e8; text-decoration: none; }
.footer__legal a:hover { color: #fff; text-decoration: underline; }

/* ------------------------------------------ 12. Comments, widgets, pagination */

.widget {
	margin-bottom: var(--hf-space-l);
	padding: 1.5rem;
	background: var(--hf-surface-2);
	border: 1px solid var(--hf-line);
	border-radius: var(--hf-radius);
}

.widget:last-child { margin-bottom: 0; }

.widget__title {
	margin-bottom: 0.85rem;
	font-size: 1.05rem;
}

.widget ul {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 0.45rem;
}

.widget a { text-decoration: none; }
.widget a:hover { text-decoration: underline; }

.aside-widgets { margin-top: var(--hf-space-l); }

.pagination {
	margin-top: var(--hf-space-xl);
}

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

.pagination .page-numbers {
	display: grid;
	place-items: center;
	min-width: 2.5rem;
	height: 2.5rem;
	padding: 0 0.75rem;
	border: 1px solid var(--hf-line);
	border-radius: calc(var(--hf-radius) * 0.6);
	color: var(--hf-ink);
	font-weight: 600;
	text-decoration: none;
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
	background: var(--hf-primary);
	border-color: var(--hf-primary);
	color: #fff;
}

.post-nav {
	display: grid;
	gap: 1rem;
	margin-top: var(--hf-space-xl);
	padding-top: var(--hf-space-l);
	border-top: 1px solid var(--hf-line);
}

@media (min-width: 40em) {
	.post-nav .nav-links {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 1rem;
	}
}

.post-nav a {
	display: block;
	font-weight: 650;
	text-decoration: none;
}

.post-nav .nav-next { text-align: right; }

.nav-label {
	display: block;
	color: var(--hf-ink-soft);
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.comments {
	margin-top: var(--hf-space-xl);
	padding-top: var(--hf-space-l);
	border-top: 1px solid var(--hf-line);
}

.comments__title,
.comments__reply-title { font-size: 1.4rem; }

.comments__list {
	margin: 0 0 var(--hf-space-l);
	padding: 0;
	list-style: none;
}

.comments__list ol { list-style: none; padding-left: 1.5rem; }

.comments__list .comment-body {
	padding: 1.25rem 0;
	border-bottom: 1px solid var(--hf-line);
}

.comments__list .comment-meta {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	margin-bottom: 0.5rem;
	font-size: 0.875rem;
}

.comments__list .avatar { border-radius: 50%; }

.comment-form { display: grid; gap: 0.85rem; }
.comment-form p { margin: 0; }

.comment-form label { display: block; margin-bottom: 0.25rem; font-size: 0.875rem; }

.comment-form .form-submit .submit { width: auto; }

/* -------------------------------------------------------- 13. Block editor */

.alignwide { max-width: min(100%, 1100px); margin-inline: auto; }
.alignfull { max-width: none; }

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

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

.entry__content .aligncenter { margin-inline: auto; }

.wp-block-button__link {
	border-radius: calc(var(--hf-radius) * 0.7);
	font-weight: 700;
	padding: 0.75rem 1.4rem;
}

.is-style-outline .wp-block-button__link { border-width: 2px; }

.wp-block-image.is-style-homefix-rounded img { border-radius: var(--hf-radius); }

.wp-block-group.is-style-homefix-card {
	padding: clamp(1.5rem, 3vw, 2rem);
	background: var(--hf-surface-2);
	border: 1px solid var(--hf-line);
	border-radius: var(--hf-radius);
}

.wp-block-group.is-style-homefix-note {
	padding: 1.25rem 1.5rem;
	background: var(--hf-primary-light);
	border-left: 4px solid var(--hf-primary);
	border-radius: calc(var(--hf-radius) * 0.5);
}

.wp-block-list.is-style-homefix-checks {
	list-style: none;
	padding-left: 0;
	display: grid;
	gap: 0.5rem;
}

.wp-block-list.is-style-homefix-checks li {
	position: relative;
	padding-left: 1.9rem;
}

.wp-block-list.is-style-homefix-checks li::before {
	content: "";
	position: absolute;
	top: 0.45em;
	left: 0;
	width: 1.2rem;
	height: 1.2rem;
	background: var(--hf-success);
	border-radius: 50%;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 12 5 5L20 6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
}

.hf-pattern-band {
	padding: clamp(2rem, 5vw, 3.5rem) var(--hf-gutter);
	border-radius: var(--hf-radius);
}

.hf-pattern-promises .wp-block-column {
	padding: 1.5rem;
	background: var(--hf-surface-2);
	border-radius: var(--hf-radius);
}

.wp-block-quote {
	border-left: 3px solid var(--hf-primary);
	padding-left: 1.1rem;
}

figcaption {
	color: var(--hf-ink-soft);
	font-size: 0.8125rem;
	text-align: center;
}

/* ------------------------------------------- 14. Utilities, motion & print */

.hf-icon { flex: 0 0 auto; }

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

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

@media print {
	.topbar,
	.site-header__actions,
	.mobile-panel,
	.call-bar,
	.to-top,
	.cta-band,
	.booking,
	.carousel__nav,
	.breadcrumbs { display: none !important; }

	body { font-size: 12pt; color: #000; }

	a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.85em; }
}
