/* =================================================================
   Superior Home Services — "Craftsman Utility"
   Vanilla CSS. All component colors via semantic tokens.
   Palette: slate #243142 · steel #3A4A5E · amber #F08A24
            off-white #F6F4F1 · dark bg #1A2533
   ================================================================= */

/* ---------- Design tokens ---------- */
:root {
	/* Brand scale (raw — referenced only by token definitions) */
	--c-slate: #243142;
	--c-slate-700: #1f2c3c;
	--c-steel: #3a4a5e;
	--c-amber: #f08a24;
	--c-amber-600: #d9760f;
	--c-amber-200: #fbd9b3;
	--c-offwhite: #f6f4f1;
	--c-darkbg: #1a2533;

	/* Spacing scale (4 / 8 base) */
	--space-1: 0.25rem;
	--space-2: 0.5rem;
	--space-3: 0.75rem;
	--space-4: 1rem;
	--space-5: 1.5rem;
	--space-6: 2rem;
	--space-7: 3rem;
	--space-8: 4rem;
	--space-9: 6rem;

	/* Radii */
	--radius-sm: 6px;
	--radius-md: 10px;
	--radius-lg: 16px;
	--radius-pill: 999px;

	/* Type */
	--font-display: 'Plus Jakarta Sans', 'Public Sans', system-ui, -apple-system,
		'Segoe UI', sans-serif;
	--font-body: 'Public Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

	/* Layout */
	--container: 1160px;
	--header-h: 72px;

	/* Motion */
	--ease: cubic-bezier(0.22, 0.61, 0.36, 1);
	--dur: 220ms;

	/* Shadows (light) */
	--shadow-sm: 0 1px 2px rgba(20, 30, 42, 0.08), 0 1px 3px rgba(20, 30, 42, 0.06);
	--shadow-md: 0 6px 18px rgba(20, 30, 42, 0.1), 0 2px 6px rgba(20, 30, 42, 0.06);
	--shadow-lg: 0 18px 48px rgba(20, 30, 42, 0.16);
}

/* ---------- Light theme (default) ---------- */
:root,
:root[data-theme='light'] {
	--bg: #f6f4f1;
	--bg-tint: #efece7;
	--surface: #ffffff;
	--surface-2: #f4f1ec;
	--surface-raised: #ffffff;
	--text: #1c2733;
	--text-strong: #141d27;
	--muted: #586472;
	--border: #d9d3ca;
	--border-strong: #c4bcb0;
	--primary: #243142;
	--primary-contrast: #ffffff;
	--accent: #d9760f; /* amber tuned darker on light for AA on white */
	--accent-strong: #b8620a;
	--accent-contrast: #ffffff;
	--accent-soft: #fbe9d4;
	/* deep burnt-amber for small accent TEXT — clears AA (4.5:1) on off-white + bg-tint */
	--accent-text: #8f4d07;
	--ring: #d9760f;
	--blueprint-line: rgba(58, 74, 94, 0.1);
	--blueprint-line-bold: rgba(58, 74, 94, 0.16);
	--hero-text: #f6f4f1;
	--hero-muted: #c9d4e0;
	--badge-bg: rgba(255, 255, 255, 0.1);
	--badge-border: rgba(255, 255, 255, 0.22);
	--star: #d9760f;
	--shadow-color: rgba(20, 30, 42, 0.14);
	/* fixed-dark surfaces (footer + image overlays) — same in both themes by design */
	--footer-bg: #243142;
	--footer-text: #d4dde7;
	--footer-text-strong: #ffffff;
	--footer-muted: #aebccb;
	--footer-link: #c2cedb;
	--footer-faint: #93a3b4;
	--footer-rule: rgba(255, 255, 255, 0.12);
	--footer-accent: #f7a64b; /* bright amber for accent text on the fixed-dark footer */
	--on-image-text: #eaf1f8;
}

/* ---------- Dark theme ---------- */
:root[data-theme='dark'] {
	--bg: #1a2533;
	--bg-tint: #16202c;
	--surface: #223044;
	--surface-2: #1e2b3c;
	--surface-raised: #26354a;
	--text: #e7eef5;
	--text-strong: #f4f8fc;
	--muted: #9fb0c2;
	--border: #33455c;
	--border-strong: #44597380;
	--primary: #f08a24;
	--primary-contrast: #1a2533;
	--accent: #f7a64b; /* brighter amber for AA on dark surfaces */
	--accent-strong: #f08a24;
	--accent-contrast: #1a2533;
	--accent-soft: rgba(240, 138, 36, 0.14);
	--accent-text: #f7a64b; /* on dark, the bright amber already clears AA */
	--ring: #f7a64b;
	--blueprint-line: rgba(159, 182, 205, 0.08);
	--blueprint-line-bold: rgba(159, 182, 205, 0.13);
	--hero-text: #f4f8fc;
	--hero-muted: #b9c8d8;
	--badge-bg: rgba(255, 255, 255, 0.06);
	--badge-border: rgba(255, 255, 255, 0.14);
	--star: #f7a64b;
	--shadow-color: rgba(0, 0, 0, 0.45);
	--shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
	--shadow-md: 0 8px 24px rgba(0, 0, 0, 0.45);
	--shadow-lg: 0 20px 56px rgba(0, 0, 0, 0.55);
	/* footer blends into the dark page rather than standing as a slate slab */
	--footer-bg: #16202c;
	--footer-rule: rgba(255, 255, 255, 0.08);
}

@media (prefers-color-scheme: dark) {
	:root:not([data-theme]) {
		--bg: #1a2533;
		--bg-tint: #16202c;
		--surface: #223044;
		--surface-2: #1e2b3c;
		--surface-raised: #26354a;
		--text: #e7eef5;
		--text-strong: #f4f8fc;
		--muted: #9fb0c2;
		--border: #33455c;
		--border-strong: #445973;
		--primary: #f08a24;
		--primary-contrast: #1a2533;
		--accent: #f7a64b;
		--accent-strong: #f08a24;
		--accent-contrast: #1a2533;
		--accent-soft: rgba(240, 138, 36, 0.14);
		--accent-text: #f7a64b;
		--ring: #f7a64b;
		--blueprint-line: rgba(159, 182, 205, 0.08);
		--blueprint-line-bold: rgba(159, 182, 205, 0.13);
		--hero-text: #f4f8fc;
		--hero-muted: #b9c8d8;
		--badge-bg: rgba(255, 255, 255, 0.06);
		--badge-border: rgba(255, 255, 255, 0.14);
		--star: #f7a64b;
		--shadow-color: rgba(0, 0, 0, 0.45);
		--shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
		--shadow-md: 0 8px 24px rgba(0, 0, 0, 0.45);
		--shadow-lg: 0 20px 56px rgba(0, 0, 0, 0.55);
		--footer-bg: #16202c;
		--footer-rule: rgba(255, 255, 255, 0.08);
	}
}

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

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

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 1rem;
	line-height: 1.65;
	color: var(--text);
	background-color: var(--bg);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
	font-family: var(--font-display);
	color: var(--text-strong);
	line-height: 1.12;
	letter-spacing: -0.02em;
	margin: 0 0 var(--space-4);
	text-wrap: balance;
}

p {
	margin: 0 0 var(--space-4);
}

a {
	color: inherit;
	text-decoration: none;
}

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

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

button {
	font-family: inherit;
	cursor: pointer;
}

:focus-visible {
	outline: 3px solid var(--ring);
	outline-offset: 2px;
	border-radius: var(--radius-sm);
}

/* ---------- Layout helpers ---------- */
.container {
	width: 100%;
	max-width: var(--container);
	margin-inline: auto;
	padding-inline: var(--space-5);
}

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

.section--tight {
	padding-block: var(--space-8);
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: var(--space-2);
	font-family: var(--font-display);
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--accent-text);
	margin-bottom: var(--space-3);
}

.eyebrow::before {
	content: '';
	width: 26px;
	height: 2px;
	background: var(--accent);
	display: inline-block;
}

.section-head {
	max-width: 64ch;
	margin-bottom: var(--space-7);
}

.section-head h2 {
	font-size: clamp(1.7rem, 1.1rem + 2.4vw, 2.6rem);
	font-weight: 800;
}

.section-head p:not(.eyebrow) {
	color: var(--muted);
	font-size: 1.08rem;
	max-width: 60ch;
	margin-bottom: 0;
}

.lede {
	font-size: 1.12rem;
	color: var(--muted);
}

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--space-2);
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 0.98rem;
	letter-spacing: 0.01em;
	padding: 0.8rem 1.35rem;
	border-radius: var(--radius-md);
	border: 1.5px solid transparent;
	transition: transform var(--dur) var(--ease),
		background-color var(--dur) var(--ease), border-color var(--dur) var(--ease),
		box-shadow var(--dur) var(--ease), color var(--dur) var(--ease);
	will-change: transform;
}

.btn svg {
	width: 1.15em;
	height: 1.15em;
	flex: none;
}

.btn--primary {
	background: var(--accent);
	color: var(--accent-contrast);
	box-shadow: 0 6px 16px -6px var(--accent);
}

.btn--primary:hover {
	background: var(--accent-strong);
	transform: translateY(-2px);
}

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

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

.btn--ghost:hover {
	border-color: var(--accent);
	color: var(--accent);
	transform: translateY(-2px);
}

.btn--on-dark {
	color: var(--hero-text);
	border-color: rgba(255, 255, 255, 0.28);
	background: rgba(255, 255, 255, 0.04);
}

.btn--on-dark:hover {
	border-color: #fff;
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
	transform: translateY(-2px);
}

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

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

/* ---------- Header ---------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: color-mix(in srgb, var(--bg) 88%, transparent);
	backdrop-filter: saturate(140%) blur(12px);
	border-bottom: 1px solid var(--border);
}

.header-inner {
	display: flex;
	align-items: center;
	gap: var(--space-4);
	min-height: var(--header-h);
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: var(--space-3);
	margin-right: auto;
	font-family: var(--font-display);
}

.brand__mark {
	width: 40px;
	height: 40px;
	flex: none;
	display: grid;
	place-items: center;
	border-radius: var(--radius-md);
	background: var(--primary);
	color: var(--primary-contrast);
	box-shadow: var(--shadow-sm);
}

:root[data-theme='dark'] .brand__mark {
	background: linear-gradient(140deg, var(--c-amber), var(--c-amber-600));
}

.brand__mark svg {
	width: 22px;
	height: 22px;
}

.brand__name {
	font-weight: 800;
	font-size: 1.12rem;
	color: var(--text-strong);
	line-height: 1.05;
	letter-spacing: -0.01em;
}

.brand__name span {
	display: block;
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 0.68rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--accent-text);
}

.primary-nav ul {
	display: flex;
	align-items: center;
	gap: var(--space-2);
}

.primary-nav a {
	display: inline-block;
	padding: 0.5rem 0.8rem;
	border-radius: var(--radius-sm);
	font-weight: 600;
	font-size: 0.95rem;
	color: var(--muted);
	transition: color var(--dur) var(--ease),
		background-color var(--dur) var(--ease);
}

.primary-nav a:hover {
	color: var(--text-strong);
	background: var(--surface-2);
}

.header-actions {
	display: flex;
	align-items: center;
	gap: var(--space-2);
}

/* Theme toggle */
.theme-toggle {
	width: 42px;
	height: 42px;
	display: grid;
	place-items: center;
	border-radius: var(--radius-md);
	border: 1.5px solid var(--border);
	background: var(--surface);
	color: var(--text);
	transition: border-color var(--dur) var(--ease),
		color var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.theme-toggle:hover {
	border-color: var(--accent);
	color: var(--accent);
}

.theme-toggle svg {
	width: 20px;
	height: 20px;
}

.theme-toggle .icon-sun {
	display: none;
}

:root[data-theme='dark'] .theme-toggle .icon-sun {
	display: block;
}

:root[data-theme='dark'] .theme-toggle .icon-moon {
	display: none;
}

/* hamburger */
.nav-toggle {
	display: none;
	width: 42px;
	height: 42px;
	place-items: center;
	border-radius: var(--radius-md);
	border: 1.5px solid var(--border);
	background: var(--surface);
	color: var(--text);
}

.nav-toggle svg {
	width: 22px;
	height: 22px;
}

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

/* ---------- Hero ---------- */
.hero {
	position: relative;
	color: var(--hero-text);
	background: var(--c-slate);
	overflow: hidden;
	isolation: isolate;
}

.hero__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: -2;
}

.hero::after {
	/* readability + warmth wash */
	content: '';
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(
			105deg,
			rgba(20, 29, 39, 0.92) 0%,
			rgba(20, 29, 39, 0.72) 46%,
			rgba(20, 29, 39, 0.35) 100%
		),
		radial-gradient(
			120% 120% at 88% 6%,
			rgba(240, 138, 36, 0.22),
			transparent 55%
		);
}

.hero__inner {
	display: grid;
	gap: var(--space-7);
	padding-block: clamp(var(--space-8), 7vw, 7rem);
}

.hero__eyebrow {
	color: var(--c-amber-200);
}

.hero__eyebrow::before {
	background: var(--c-amber);
}

.hero h1 {
	color: var(--hero-text);
	font-size: clamp(2.3rem, 1.3rem + 4.6vw, 4.1rem);
	font-weight: 800;
	max-width: 16ch;
}

.hero h1 .accent {
	color: var(--c-amber);
}

.hero__value {
	font-size: clamp(1.05rem, 0.95rem + 0.7vw, 1.3rem);
	color: var(--hero-muted);
	max-width: 56ch;
}

.hero__cta {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-3);
	align-items: center;
}

/* license badge row */
.license-row {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-2);
	margin-top: var(--space-2);
}

.license-badge {
	display: inline-flex;
	align-items: center;
	gap: var(--space-2);
	padding: 0.5rem 0.85rem;
	border-radius: var(--radius-pill);
	font-size: 0.85rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	color: var(--hero-text);
	background: var(--badge-bg);
	border: 1px solid var(--badge-border);
	backdrop-filter: blur(4px);
}

.license-badge svg {
	width: 16px;
	height: 16px;
	color: var(--c-amber);
	flex: none;
}

/* trust chips */
.trust-chips {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-3) var(--space-5);
	padding-top: var(--space-5);
	border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.trust-chip {
	display: flex;
	align-items: center;
	gap: var(--space-2);
	font-size: 0.92rem;
	color: var(--hero-muted);
}

.trust-chip strong {
	color: var(--hero-text);
	font-family: var(--font-display);
	font-weight: 700;
}

.trust-chip svg {
	width: 20px;
	height: 20px;
	color: var(--c-amber);
	flex: none;
}

/* ---------- Blueprint section motif ---------- */
.blueprint {
	position: relative;
}

.blueprint::before {
	content: '';
	position: absolute;
	inset: 0;
	pointer-events: none;
	background-image: linear-gradient(var(--blueprint-line) 1px, transparent 1px),
		linear-gradient(90deg, var(--blueprint-line) 1px, transparent 1px);
	background-size: 32px 32px;
	mask-image: radial-gradient(120% 80% at 50% 0%, #000 30%, transparent 78%);
	-webkit-mask-image: radial-gradient(
		120% 80% at 50% 0%,
		#000 30%,
		transparent 78%
	);
	z-index: 0;
}

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

/* ---------- About ---------- */
.about {
	background: var(--bg);
}

.about__grid {
	display: grid;
	gap: var(--space-7);
	align-items: start;
}

.about__body p:not(.eyebrow) {
	max-width: 64ch;
	color: var(--text);
}

.about__body .lede {
	color: var(--text-strong);
	font-weight: 500;
}

.about__signature {
	display: flex;
	align-items: center;
	gap: var(--space-3);
	margin-top: var(--space-5);
	padding-top: var(--space-5);
	border-top: 1px solid var(--border);
}

.about__avatar {
	width: 56px;
	height: 56px;
	flex: none;
	border-radius: var(--radius-pill);
	display: grid;
	place-items: center;
	background: var(--primary);
	color: var(--primary-contrast);
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 1.2rem;
}

:root[data-theme='dark'] .about__avatar {
	background: linear-gradient(140deg, var(--c-amber), var(--c-amber-600));
}

.about__signature .name {
	font-family: var(--font-display);
	font-weight: 700;
	color: var(--text-strong);
}

.about__signature .role {
	font-size: 0.9rem;
	color: var(--muted);
}

/* credential cards */
.cred-list {
	display: grid;
	gap: var(--space-4);
}

.cred {
	display: flex;
	gap: var(--space-4);
	padding: var(--space-5);
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-sm);
}

.cred__icon {
	width: 48px;
	height: 48px;
	flex: none;
	display: grid;
	place-items: center;
	border-radius: var(--radius-md);
	background: var(--accent-soft);
	color: var(--accent);
}

.cred__icon svg {
	width: 24px;
	height: 24px;
}

.cred h3 {
	font-size: 1.05rem;
	margin-bottom: var(--space-1);
}

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

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

.service-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-4);
}

.service-card {
	position: relative;
	padding: var(--space-5);
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-sm);
	transition: transform var(--dur) var(--ease),
		box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.service-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-md);
	border-color: var(--accent);
}

.service-card__icon {
	width: 52px;
	height: 52px;
	display: grid;
	place-items: center;
	border-radius: var(--radius-md);
	background: var(--accent-soft);
	color: var(--accent);
	margin-bottom: var(--space-4);
	transition: background-color var(--dur) var(--ease);
}

.service-card__icon svg {
	width: 26px;
	height: 26px;
}

.service-card h3 {
	font-size: 1.15rem;
	margin-bottom: var(--space-2);
}

.service-card p {
	margin: 0;
	color: var(--muted);
	font-size: 0.97rem;
}

/* ---------- Pricing ---------- */
.pricing {
	background: var(--bg);
}

.price-panel {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-md);
	overflow: hidden;
}

.price-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 1rem;
}

.price-table caption {
	text-align: left;
	padding: var(--space-5) var(--space-5) var(--space-2);
	font-family: var(--font-display);
	font-weight: 700;
	color: var(--text-strong);
	font-size: 1.15rem;
}

.price-table th,
.price-table td {
	padding: var(--space-4) var(--space-5);
	text-align: left;
	border-bottom: 1px solid var(--border);
}

.price-table thead th {
	font-family: var(--font-display);
	font-size: 0.78rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--muted);
	font-weight: 700;
	border-bottom: 1.5px solid var(--border-strong);
}

.price-table tbody tr {
	transition: background-color var(--dur) var(--ease);
}

.price-table tbody tr:hover {
	background: var(--surface-2);
}

.price-table tbody tr:last-child td {
	border-bottom: none;
}

.price-table .svc {
	font-weight: 600;
	color: var(--text-strong);
}

.price-table .svc small {
	display: block;
	font-weight: 400;
	color: var(--muted);
	font-size: 0.85rem;
}

.price-table .amount {
	text-align: right;
	font-family: var(--font-display);
	font-weight: 800;
	font-variant-numeric: tabular-nums;
	color: var(--text-strong);
	white-space: nowrap;
	font-size: 1.1rem;
}

.price-table .amount span {
	display: block;
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 0.72rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	/* muted (not accent) so this small label clears WCAG AA on white in light mode */
	color: var(--muted);
}

.price-disclaimer {
	display: flex;
	gap: var(--space-3);
	align-items: flex-start;
	margin-top: var(--space-4);
	padding: var(--space-4) var(--space-5);
	background: var(--accent-soft);
	border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
	border-radius: var(--radius-md);
	color: var(--text);
	font-size: 0.95rem;
}

.price-disclaimer svg {
	width: 22px;
	height: 22px;
	flex: none;
	color: var(--accent);
	margin-top: 1px;
}

.price-disclaimer p {
	margin: 0;
}

/* ---------- Gallery ---------- */
.gallery {
	background: var(--bg-tint);
}

.gallery-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-4);
}

.gallery-tile {
	position: relative;
	border-radius: var(--radius-lg);
	overflow: hidden;
	border: 1px solid var(--border);
	box-shadow: var(--shadow-sm);
	aspect-ratio: 4 / 3;
	background: var(--surface-2);
}

.gallery-tile img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 400ms var(--ease);
}

.gallery-tile:hover img {
	transform: scale(1.04);
}

.gallery-tile figcaption {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: var(--space-4);
	font-size: 0.85rem;
	color: var(--on-image-text);
	background: linear-gradient(transparent, rgba(20, 29, 39, 0.8));
	font-weight: 500;
}

/* ---------- Testimonials ---------- */
.testimonials {
	background: var(--bg);
}

.testi-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-5);
}

.testi-card {
	position: relative;
	padding: var(--space-6);
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-sm);
}

.testi-card__quote {
	position: absolute;
	top: var(--space-4);
	right: var(--space-5);
	font-family: var(--font-display);
	font-size: 4rem;
	line-height: 1;
	color: var(--accent);
	opacity: 0.18;
	pointer-events: none;
}

.testi-stars {
	display: flex;
	gap: 2px;
	margin-bottom: var(--space-3);
	color: var(--star);
}

.testi-stars svg {
	width: 18px;
	height: 18px;
}

.testi-card blockquote {
	margin: 0 0 var(--space-4);
	font-size: 1.08rem;
	line-height: 1.6;
	color: var(--text);
}

.testi-card figcaption {
	display: flex;
	align-items: center;
	gap: var(--space-3);
	font-size: 0.95rem;
	color: var(--muted);
}

.testi-card figcaption .who {
	font-family: var(--font-display);
	font-weight: 700;
	color: var(--text-strong);
}

.testi-source {
	display: inline-flex;
	align-items: center;
	gap: var(--space-2);
	margin-top: var(--space-6);
	font-size: 0.92rem;
	color: var(--muted);
}

.testi-source svg {
	width: 18px;
	height: 18px;
	color: var(--accent);
}

/* ---------- Service area ---------- */
.area {
	background: var(--bg-tint);
}

.area__grid {
	display: grid;
	gap: var(--space-7);
	align-items: center;
}

.town-list {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-3);
	margin-top: var(--space-5);
}

.town-chip {
	display: inline-flex;
	align-items: center;
	gap: var(--space-2);
	padding: 0.55rem 1rem;
	border-radius: var(--radius-pill);
	background: var(--surface);
	border: 1px solid var(--border);
	font-weight: 600;
	font-size: 0.92rem;
	color: var(--text);
	transition: border-color var(--dur) var(--ease),
		color var(--dur) var(--ease);
}

.town-chip svg {
	width: 14px;
	height: 14px;
	color: var(--accent);
}

.town-chip:hover {
	border-color: var(--accent);
	color: var(--accent);
}

.area__map {
	border-radius: var(--radius-lg);
	overflow: hidden;
	border: 1px solid var(--border);
	background: var(--c-slate);
	box-shadow: var(--shadow-md);
}

.area__map svg {
	width: 100%;
	height: auto;
	display: block;
}

/* ---------- Contact ---------- */
.contact {
	background: var(--bg);
}

.contact__grid {
	display: grid;
	gap: var(--space-7);
	align-items: start;
}

.contact-methods {
	display: grid;
	gap: var(--space-4);
}

.contact-method {
	display: flex;
	gap: var(--space-4);
	align-items: center;
	padding: var(--space-4) var(--space-5);
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-sm);
	transition: transform var(--dur) var(--ease),
		border-color var(--dur) var(--ease);
}

a.contact-method:hover {
	transform: translateY(-2px);
	border-color: var(--accent);
}

.contact-method__icon {
	width: 48px;
	height: 48px;
	flex: none;
	display: grid;
	place-items: center;
	border-radius: var(--radius-md);
	background: var(--accent-soft);
	color: var(--accent);
}

.contact-method__icon svg {
	width: 24px;
	height: 24px;
}

.contact-method .label {
	font-size: 0.8rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--muted);
	font-weight: 600;
}

.contact-method .value {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1.1rem;
	color: var(--text-strong);
}

.contact-method .sub {
	font-size: 0.85rem;
	color: var(--muted);
}

/* form */
.contact-form {
	padding: var(--space-6);
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-md);
}

.contact-form h3 {
	font-size: 1.3rem;
	margin-bottom: var(--space-2);
}

.contact-form > p {
	color: var(--muted);
	font-size: 0.95rem;
	margin-bottom: var(--space-5);
}

.field {
	margin-bottom: var(--space-4);
}

.field label {
	display: block;
	font-weight: 600;
	font-size: 0.9rem;
	margin-bottom: var(--space-2);
	color: var(--text-strong);
}

.field label .req {
	color: var(--accent);
}

.field input,
.field textarea {
	width: 100%;
	font-family: inherit;
	font-size: 1rem;
	color: var(--text);
	background: var(--surface-2);
	border: 1.5px solid var(--border);
	border-radius: var(--radius-md);
	padding: 0.75rem 0.9rem;
	transition: border-color var(--dur) var(--ease),
		box-shadow var(--dur) var(--ease);
}

.field input::placeholder,
.field textarea::placeholder {
	color: var(--muted);
	opacity: 0.7;
}

.field input:focus,
.field textarea:focus {
	outline: none;
	border-color: var(--accent);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 28%, transparent);
}

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

.field-row {
	display: grid;
	gap: var(--space-4);
}

.form-note {
	margin: var(--space-4) 0 0;
	font-size: 0.85rem;
	color: var(--muted);
}

.form-status {
	display: none;
	align-items: flex-start;
	gap: var(--space-3);
	margin-top: var(--space-4);
	padding: var(--space-4);
	border-radius: var(--radius-md);
	background: var(--accent-soft);
	border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
	color: var(--text-strong);
	font-size: 0.95rem;
}

.form-status.is-visible {
	display: flex;
}

.form-status svg {
	width: 22px;
	height: 22px;
	flex: none;
	color: var(--accent);
	margin-top: 1px;
}

/* ---------- Footer ---------- */
.site-footer {
	background: var(--footer-bg);
	color: var(--footer-text);
	padding-block: var(--space-8) var(--space-6);
	position: relative;
	z-index: 1;
}

:root[data-theme='dark'] .site-footer {
	border-top: 1px solid var(--border);
}

.footer-grid {
	display: grid;
	gap: var(--space-7);
	padding-bottom: var(--space-7);
	border-bottom: 1px solid var(--footer-rule);
}

.footer-brand .brand__name {
	color: var(--footer-text-strong);
}

.footer-brand .brand__name span {
	color: var(--footer-accent);
}

.footer-brand p {
	color: var(--footer-muted);
	font-size: 0.95rem;
	max-width: 40ch;
	margin-top: var(--space-3);
}

.footer-col h4 {
	color: var(--footer-text-strong);
	font-size: 0.82rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	margin-bottom: var(--space-4);
}

.footer-col ul {
	display: grid;
	gap: var(--space-2);
}

.footer-col a,
.footer-col li {
	color: var(--footer-link);
	font-size: 0.95rem;
	transition: color var(--dur) var(--ease);
}

.footer-col a:hover {
	color: var(--accent-strong);
}

.footer-hours {
	display: flex;
	justify-content: space-between;
	gap: var(--space-4);
	max-width: 220px;
}

.footer-hours .day {
	color: var(--footer-muted);
}

.footer-bottom {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-3);
	justify-content: space-between;
	align-items: center;
	padding-top: var(--space-5);
	font-size: 0.85rem;
	color: var(--footer-faint);
}

.footer-disclaimer {
	max-width: 60ch;
}

/* ---------- Reveal-on-scroll ---------- */
.reveal {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity 600ms var(--ease), transform 600ms var(--ease);
}

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

/* skip link */
.skip-link {
	position: absolute;
	left: var(--space-4);
	top: -100px;
	z-index: 200;
	background: var(--accent);
	color: var(--accent-contrast);
	padding: 0.6rem 1rem;
	border-radius: var(--radius-md);
	font-weight: 700;
	transition: top var(--dur) var(--ease);
}

.skip-link:focus {
	top: var(--space-3);
}

/* ---------- Responsive ---------- */
@media (min-width: 600px) {
	.field-row {
		grid-template-columns: 1fr 1fr;
	}

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

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

@media (min-width: 768px) {
	.container {
		padding-inline: var(--space-6);
	}

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

	.cred-list {
		gap: var(--space-4);
	}

	.hero__cta .btn {
		min-width: auto;
	}

	.footer-grid {
		grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
	}
}

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

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

	.about__grid {
		grid-template-columns: 1.15fr 0.85fr;
		gap: var(--space-8);
	}

	.area__grid {
		grid-template-columns: 1fr 1fr;
	}

	.contact__grid {
		grid-template-columns: 0.9fr 1.1fr;
		gap: var(--space-8);
	}

	.hero__inner {
		grid-template-columns: minmax(0, 1fr);
		max-width: 60ch;
	}

	.price-table th,
	.price-table td {
		padding: var(--space-4) var(--space-6);
	}
}

@media (min-width: 1440px) {
	:root {
		--container: 1240px;
	}
}

/* ---------- Mobile nav (drawer) ---------- */
@media (max-width: 880px) {
	.primary-nav {
		position: fixed;
		inset: var(--header-h) 0 auto 0;
		background: var(--surface);
		border-bottom: 1px solid var(--border);
		box-shadow: var(--shadow-lg);
		transform: translateY(-12px);
		opacity: 0;
		visibility: hidden;
		transition: opacity var(--dur) var(--ease),
			transform var(--dur) var(--ease), visibility var(--dur);
		z-index: 90;
	}

	.primary-nav.is-open {
		opacity: 1;
		visibility: visible;
		transform: none;
	}

	.primary-nav ul {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding: var(--space-3);
	}

	.primary-nav a {
		padding: 0.85rem 1rem;
		font-size: 1.05rem;
		border-radius: var(--radius-md);
	}

	.nav-toggle {
		display: grid;
	}

	.header-cta {
		display: none;
	}
}

@media (max-width: 420px) {
	.container {
		padding-inline: var(--space-4);
	}

	.hero__cta {
		flex-direction: column;
		align-items: stretch;
	}

	.hero__cta .btn {
		width: 100%;
	}

	.brand__name {
		font-size: 1rem;
	}
}

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

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

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

	.gallery-tile:hover img,
	.btn:hover,
	.service-card:hover {
		transform: none;
	}
}
