/* Harbor Fix Plumbing — styled from qorpera-identity.css tokens. */
:root {
	--ink: var(--q-color-primary, var(--q-color-ink));
	--paper: var(--q-color-surface);
	--tint: var(--q-color-muted);
	--accent: var(--q-color-accent);
	--ink-2: color-mix(in srgb, var(--ink) 72%, var(--paper));
	--ink-3: color-mix(in srgb, var(--ink) 55%, var(--paper));
	--line: color-mix(in srgb, var(--ink) 11%, var(--paper));
	--line-strong: color-mix(in srgb, var(--ink) 20%, var(--paper));
	--accent-soft: color-mix(in srgb, var(--accent) 9%, var(--paper));
	--accent-line: color-mix(in srgb, var(--accent) 35%, var(--paper));
	--accent-deep: color-mix(in srgb, var(--accent) 78%, var(--ink));
	/* Semantic alert colour for emergencies (not a brand colour). */
	--alert: #dc2626;
	--alert-soft: color-mix(in srgb, var(--alert) 8%, var(--paper));
	--radius-sm: var(--q-radius-sm, 8px);
	--radius-md: var(--q-radius-md, 12px);
	--radius-lg: var(--q-radius-lg, 18px);
	--shadow-sm: 0 1px 2px color-mix(in srgb, var(--ink) 6%, transparent);
	--shadow-md: 0 1px 2px color-mix(in srgb, var(--ink) 5%, transparent), 0 8px 24px color-mix(in srgb, var(--ink) 7%, transparent);
	--shadow-lg: 0 2px 4px color-mix(in srgb, var(--ink) 5%, transparent), 0 20px 48px color-mix(in srgb, var(--ink) 12%, transparent);
	--container: 1160px;
}

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

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

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--q-font-body);
	font-size: 16px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
	font-family: var(--q-font-heading);
	color: var(--ink);
	line-height: 1.15;
	letter-spacing: -0.02em;
	margin: 0;
}

p { margin: 0; }

a { color: var(--accent); }

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

svg { fill: currentColor; }

.container {
	width: 100%;
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 24px;
}

.sr-only {
	position: absolute;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.skip-link {
	position: absolute;
	left: 12px; top: -48px;
	background: var(--ink);
	color: var(--paper);
	padding: 10px 14px;
	border-radius: var(--radius-sm);
	z-index: 100;
}
.skip-link:focus { top: 12px; }

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

/* Buttons */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 10px 18px;
	border-radius: var(--radius-sm);
	border: 1px solid transparent;
	font: 600 15px/1.2 var(--q-font-body);
	text-decoration: none;
	cursor: pointer;
	transition: background-color .15s, border-color .15s, color .15s, box-shadow .15s;
	white-space: nowrap;
}
.btn-lg { padding: 14px 22px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--accent); color: var(--paper); }
.btn-primary:hover { background: var(--accent-deep); }
.btn-ghost { background: var(--paper); color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: var(--tint); }
.btn-outline-light { color: var(--paper); border-color: color-mix(in srgb, var(--paper) 40%, transparent); background: transparent; }
.btn-outline-light:hover { border-color: var(--paper); }

.link-btn {
	background: none;
	border: 0;
	padding: 4px 0;
	font: 600 14px var(--q-font-body);
	color: var(--accent);
	cursor: pointer;
}
.link-btn:hover { text-decoration: underline; }

.eyebrow {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--accent);
	margin-bottom: 12px;
}

/* Emergency banner */
.emergency-banner {
	background: var(--ink);
	color: var(--paper);
	font-size: 14px;
}
.emergency-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding-top: 10px;
	padding-bottom: 10px;
}
.emergency-text { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.emergency-text strong { font-weight: 700; }
.emergency-detail { color: color-mix(in srgb, var(--paper) 72%, var(--ink)); }
.live-dot {
	width: 9px; height: 9px;
	border-radius: 50%;
	background: var(--alert);
	box-shadow: 0 0 0 0 color-mix(in srgb, var(--alert) 60%, transparent);
	animation: pulse 2s infinite;
	flex: none;
}
@keyframes pulse {
	0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--alert) 55%, transparent); }
	70% { box-shadow: 0 0 0 9px color-mix(in srgb, var(--alert) 0%, transparent); }
	100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--alert) 0%, transparent); }
}
.emergency-call {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	flex: none;
	background: var(--alert);
	color: #fff;
	font-weight: 700;
	text-decoration: none;
	padding: 7px 14px;
	border-radius: 999px;
}
.emergency-call svg { width: 16px; height: 16px; }
.emergency-call:hover { background: color-mix(in srgb, var(--alert) 85%, var(--ink)); }

/* Header */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: color-mix(in srgb, var(--paper) 92%, transparent);
	backdrop-filter: saturate(160%) blur(10px);
	border-bottom: 1px solid var(--line);
}
.header-inner {
	display: flex;
	align-items: center;
	gap: 32px;
	height: 68px;
}
.brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	color: var(--ink);
}
.brand-mark {
	width: 34px; height: 34px;
	border-radius: 9px;
	background: var(--ink);
	display: grid;
	place-items: center;
}
.brand-mark svg { width: 22px; height: 22px; fill: var(--accent); }
.brand-name { font-weight: 800; font-size: 18px; letter-spacing: -0.02em; }
.brand-name span { font-weight: 500; color: var(--ink-3); }
.main-nav { display: flex; gap: 24px; margin-left: auto; }
.main-nav a {
	color: var(--ink-2);
	text-decoration: none;
	font-size: 15px;
	font-weight: 500;
}
.main-nav a:hover { color: var(--ink); }

/* Hero */
.hero {
	padding: 64px 0 72px;
	background:
		radial-gradient(800px 360px at 85% 0%, var(--accent-soft), transparent 70%),
		var(--paper);
}
.hero-grid {
	display: grid;
	grid-template-columns: 1.05fr 1fr;
	gap: 56px;
	align-items: center;
}
.hero h1 {
	font-size: clamp(36px, 5vw, 56px);
	font-weight: 800;
	letter-spacing: -0.035em;
	line-height: 1.04;
}
.lead {
	margin-top: 20px;
	font-size: 18px;
	color: var(--ink-2);
	max-width: 34em;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.trust-list {
	list-style: none;
	padding: 0;
	margin: 32px 0 0;
	display: grid;
	gap: 10px;
	font-size: 15px;
	color: var(--ink-2);
}
.trust-list li { display: flex; align-items: center; gap: 10px; }
.trust-list svg {
	width: 20px; height: 20px;
	padding: 3px;
	border-radius: 50%;
	background: var(--accent-soft);
	fill: var(--accent);
	flex: none;
}
.hero-media { position: relative; }
.hero-media img {
	width: 100%;
	height: auto;
	aspect-ratio: 3 / 2;
	object-fit: cover;
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-lg);
}
.hero-stat {
	position: absolute;
	left: -24px;
	bottom: -24px;
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius-md);
	padding: 14px 18px;
	box-shadow: var(--shadow-md);
	display: grid;
	max-width: 230px;
}
.hero-stat strong { font-size: 22px; letter-spacing: -0.02em; }
.hero-stat span { font-size: 13px; color: var(--ink-3); }

/* Sections */
.section { padding: 88px 0; }
.section-muted { background: var(--tint); }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head-row {
	max-width: none;
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 24px;
	flex-wrap: wrap;
}
.section h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; }
.section-lead { margin-top: 14px; font-size: 17px; color: var(--ink-2); }

/* Services */
.services-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}
.service-card {
	display: flex;
	flex-direction: column;
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius-md);
	padding: 24px;
	transition: border-color .15s, box-shadow .15s, transform .15s;
}
.service-card:hover { border-color: var(--accent-line); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.service-icon {
	width: 44px; height: 44px;
	border-radius: 10px;
	background: var(--accent-soft);
	display: grid;
	place-items: center;
	margin-bottom: 18px;
}
.service-icon svg { width: 24px; height: 24px; fill: var(--accent); }
.service-card h3 { font-size: 19px; font-weight: 700; }
.service-card p { margin-top: 8px; color: var(--ink-2); font-size: 15px; }
.service-card ul {
	list-style: none;
	padding: 0;
	margin: 16px 0 20px;
	display: grid;
	gap: 6px;
	font-size: 14px;
	color: var(--ink-2);
}
.service-card li { padding-left: 18px; position: relative; }
.service-card li::before {
	content: "";
	position: absolute;
	left: 2px; top: .6em;
	width: 6px; height: 6px;
	border-radius: 50%;
	background: var(--accent);
}
.service-foot {
	margin-top: auto;
	padding-top: 16px;
	border-top: 1px solid var(--line);
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.from { font-size: 14px; color: var(--ink-3); }
.from strong { font-size: 18px; color: var(--ink); }

/* Pricing table */
.table-wrap {
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius-md);
	overflow: hidden;
	box-shadow: var(--shadow-sm);
}
.price-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.price-table th, .price-table td { padding: 14px 20px; text-align: left; }
.price-table thead th {
	font-size: 12px;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--ink-3);
	font-weight: 600;
	border-bottom: 1px solid var(--line);
	background: var(--paper);
}
.price-table tbody td { border-bottom: 1px solid var(--line); color: var(--ink-2); }
.price-table tbody td:first-child { color: var(--ink); font-weight: 500; }
.price-table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.price-table tbody td.num { color: var(--ink); font-weight: 700; }
.price-table .group-row th {
	background: color-mix(in srgb, var(--tint) 60%, var(--paper));
	font-size: 14px;
	font-weight: 700;
	color: var(--ink);
	padding-top: 12px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--line);
}
.row-note { font-weight: 500; color: var(--ink-3); }
.price-table tbody tr:last-child td { border-bottom: 0; }

.fee-cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	margin-top: 20px;
}
.fee-card {
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius-md);
	padding: 20px;
}
.fee-card h3 { font-size: 15px; font-weight: 600; color: var(--ink-2); }
.fee { margin: 6px 0 8px; font-size: 15px; color: var(--ink-2); }
.fee strong { font-size: 26px; color: var(--ink); letter-spacing: -0.02em; margin-right: 4px; }
.fee-card p:last-child { font-size: 14px; color: var(--ink-3); }
.fee-card-alert { border-color: color-mix(in srgb, var(--alert) 30%, var(--paper)); background: var(--alert-soft); }
.fee-card-alert h3 { color: var(--alert); }

/* Estimator */
.estimator {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 360px;
	gap: 32px;
	align-items: start;
}
.est-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.est-step fieldset, .contact-block {
	border: 1px solid var(--line);
	border-radius: var(--radius-md);
	padding: 22px;
	margin: 0;
	min-width: 0;
	background: var(--paper);
}
.est-step legend {
	float: left;
	width: 100%;
	padding: 0;
	margin-bottom: 14px;
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 700;
	font-size: 17px;
}
.est-step legend + * { clear: both; }
.step-num {
	width: 26px; height: 26px;
	border-radius: 50%;
	background: var(--ink);
	color: var(--paper);
	font-size: 13px;
	display: grid;
	place-items: center;
}
.choice-grid { display: grid; gap: 10px; }
.choice-grid-4 { grid-template-columns: repeat(4, 1fr); }
.choice-grid-3 { grid-template-columns: repeat(3, 1fr); }
.choice { position: relative; cursor: pointer; display: block; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice > span {
	display: flex;
	flex-direction: column;
	gap: 2px;
	height: 100%;
	padding: 12px 14px;
	border: 1.5px solid var(--line-strong);
	border-radius: var(--radius-sm);
	transition: border-color .12s, background-color .12s, box-shadow .12s;
}
.choice strong { font-size: 15px; font-weight: 600; line-height: 1.3; }
.choice small { font-size: 13px; color: var(--ink-3); }
.choice:hover > span { border-color: var(--ink-3); }
.choice input:checked + span {
	border-color: var(--accent);
	background: var(--accent-soft);
	box-shadow: 0 0 0 1px var(--accent);
}
.choice input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.choice-alert input:checked + span {
	border-color: var(--alert);
	background: var(--alert-soft);
	box-shadow: 0 0 0 1px var(--alert);
}
.choice-alert strong { color: var(--alert); }
.choice.is-disabled { cursor: not-allowed; }
.choice.is-disabled > span { opacity: .45; }
.choice.is-disabled input { cursor: not-allowed; }

.hint { margin-top: 12px; font-size: 14px; color: var(--ink-3); }
#urgency-hint { color: var(--ink-2); background: var(--tint); padding: 10px 12px; border-radius: var(--radius-sm); }

.field { display: grid; gap: 6px; margin-top: 16px; }
.field-label { font-size: 14px; font-weight: 600; }
.field-label small { font-weight: 400; color: var(--ink-3); }
.field input, .field select, .field textarea {
	width: 100%;
	font: 15px/1.4 var(--q-font-body);
	color: var(--ink);
	padding: 11px 12px;
	border: 1.5px solid var(--line-strong);
	border-radius: var(--radius-sm);
	background: var(--paper);
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
	outline: none;
	border-color: var(--accent);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent);
}
.field-error { display: none; font-size: 13px; color: var(--alert); }
.field.has-error input, .field.has-error select { border-color: var(--alert); }
.field.has-error .field-error { display: block; }

.contact-block { margin-top: 20px; }
.contact-block h3 { font-size: 17px; font-weight: 700; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; }
.field-wide { grid-column: 1 / -1; }
.area-warning { color: var(--ink-2); }
.est-form.is-submitted { opacity: .6; }

.est-summary { position: sticky; top: 92px; }
.summary-card, .confirm-card {
	background: var(--paper);
	border: 1px solid var(--line);
	border-top: 4px solid var(--accent);
	border-radius: var(--radius-md);
	padding: 24px;
	box-shadow: var(--shadow-lg);
}
.summary-card.is-emergency { border-top-color: var(--alert); }
.summary-label { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); }
.summary-total {
	margin-top: 6px;
	font-size: 48px;
	font-weight: 800;
	letter-spacing: -0.04em;
	line-height: 1;
	font-variant-numeric: tabular-nums;
}
.summary-job { margin-top: 8px; font-size: 15px; color: var(--ink-2); }
.breakdown { margin: 20px 0; padding: 16px 0 0; border-top: 1px solid var(--line); display: grid; gap: 8px; font-size: 14px; }
.breakdown div { display: flex; justify-content: space-between; gap: 12px; }
.breakdown dt { color: var(--ink-3); }
.breakdown dd { margin: 0; font-variant-numeric: tabular-nums; font-weight: 600; white-space: nowrap; }
.breakdown .bd-total { padding-top: 10px; border-top: 1px dashed var(--line-strong); font-size: 15px; }
.breakdown .bd-total dt { color: var(--ink); font-weight: 600; }
.summary-note { font-size: 13px; color: var(--ink-2); background: var(--tint); padding: 10px 12px; border-radius: var(--radius-sm); margin-bottom: 16px; }
.summary-card.is-emergency .btn-primary { background: var(--alert); }
.summary-card.is-emergency .btn-primary:hover { background: color-mix(in srgb, var(--alert) 85%, var(--ink)); }
.summary-alt { margin-top: 12px; text-align: center; font-size: 14px; color: var(--ink-3); }
.summary-alt a { font-weight: 600; }

.confirm-card { border-top-color: var(--accent); outline: none; }
.confirm-icon {
	width: 44px; height: 44px;
	border-radius: 50%;
	background: var(--accent);
	display: grid;
	place-items: center;
	margin-bottom: 14px;
}
.confirm-icon svg { width: 24px; height: 24px; fill: var(--paper); }
.confirm-card h3 { font-size: 22px; font-weight: 800; }
.confirm-ref { margin-top: 4px; font-size: 14px; color: var(--ink-3); }
.confirm-ref strong { color: var(--ink); font-family: var(--q-font-mono); }
#confirm-text { margin-top: 12px; font-size: 15px; color: var(--ink-2); }
.confirm-list { margin: 16px 0 20px; padding-top: 14px; border-top: 1px solid var(--line); display: grid; gap: 8px; font-size: 14px; }
.confirm-list div { display: grid; grid-template-columns: 80px 1fr; gap: 8px; }
.confirm-list dt { color: var(--ink-3); }
.confirm-list dd { margin: 0; font-weight: 500; }

/* Reviews */
.rating-summary { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--ink-2); }
.rating-summary strong { color: var(--ink); font-size: 18px; }
.stars { color: #f59e0b; letter-spacing: 2px; font-size: 16px; }
.star-off { color: var(--line-strong); }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review {
	margin: 0;
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius-md);
	padding: 24px;
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.review blockquote { margin: 0; font-size: 15px; color: var(--ink); line-height: 1.6; }
.review figcaption { margin-top: auto; display: grid; gap: 2px; font-size: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.review figcaption span { color: var(--ink-3); font-size: 13px; }

/* Service area */
.area-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: start; }
.area-callout {
	margin-top: 28px;
	padding: 18px 20px;
	border-left: 3px solid var(--accent);
	background: var(--accent-soft);
	border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
	font-size: 15px;
}
.area-callout p { margin-top: 4px; color: var(--ink-2); }
.area-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
}
.area-list li {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 13px 14px;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	font-weight: 500;
	font-size: 15px;
}
.area-list li::before {
	content: "";
	width: 8px; height: 8px;
	border-radius: 50%;
	background: var(--accent);
	box-shadow: 0 0 0 3px var(--accent-soft);
	flex: none;
}

/* FAQ */
.faq-wrap { max-width: 820px; }
.faq-list { display: grid; gap: 10px; }
.faq-list details {
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius-md);
	transition: border-color .15s;
}
.faq-list details[open] { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.faq-list summary {
	list-style: none;
	cursor: pointer;
	padding: 18px 56px 18px 22px;
	font-weight: 600;
	font-size: 16px;
	position: relative;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
	content: "";
	position: absolute;
	right: 22px; top: 50%;
	width: 10px; height: 10px;
	border-right: 2px solid var(--ink-3);
	border-bottom: 2px solid var(--ink-3);
	transform: translateY(-70%) rotate(45deg);
	transition: transform .2s;
}
.faq-list details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq-list summary:hover { color: var(--accent); }
.faq-list details p { padding: 0 22px 20px; color: var(--ink-2); font-size: 15px; max-width: 64ch; }

/* CTA band */
.cta-band { background: var(--ink); color: var(--paper); padding: 56px 0; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { color: var(--paper); font-size: clamp(26px, 3vw, 34px); font-weight: 800; }
.cta-band p { margin-top: 8px; color: color-mix(in srgb, var(--paper) 72%, var(--ink)); }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Footer */
.site-footer { background: var(--paper); border-top: 1px solid var(--line); padding: 56px 0 24px; font-size: 14px; color: var(--ink-2); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); margin-bottom: 10px; font-weight: 600; }
.footer-grid p { line-height: 1.8; }
.footer-grid a { color: var(--ink-2); text-decoration: none; }
.footer-grid a:hover { color: var(--accent); }
.brand-footer { margin-bottom: 12px; }
.footer-grid .brand-footer { color: var(--ink); }
.footer-base { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-3); }

.mobile-bar { display: none; }
.call-short { display: none; }
.brand-name { white-space: nowrap; }
.inline-total { display: none; }

/* Responsive */
@media (max-width: 1080px) {
	.main-nav { gap: 18px; }
	.services-grid { grid-template-columns: repeat(2, 1fr); }
	.estimator { grid-template-columns: 1fr; }
	.est-summary { position: static; }
	.inline-total {
		display: flex;
		justify-content: space-between;
		align-items: center;
		margin-top: 20px;
		padding: 14px 20px;
		border-radius: var(--radius-md);
		background: var(--ink);
		color: var(--paper);
		font-size: 15px;
	}
	.inline-total strong { font-size: 24px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
	.reviews-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
	.main-nav { display: none; }
	.header-cta { margin-left: auto; }
	.hero-grid { grid-template-columns: 1fr; gap: 40px; }
	.hero-stat { left: 16px; bottom: -20px; }
	.area-grid { grid-template-columns: 1fr; gap: 32px; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.choice-grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
	html { scroll-padding-top: 72px; }
	.container { padding: 0 18px; }
	.emergency-inner { padding-top: 8px; padding-bottom: 8px; gap: 10px; }
	.emergency-detail { display: none; }
	.emergency-call { padding: 6px 12px; font-size: 13px; }
	.call-long { display: none; }
	.call-short { display: inline; }
	.brand-name { font-size: 16px; }
	.brand-mark { width: 30px; height: 30px; }
	.header-inner { height: 60px; }
	.header-cta { padding: 9px 14px; font-size: 14px; }
	.hero { padding: 40px 0 56px; }
	.lead { font-size: 17px; }
	.hero-actions .btn { flex: 1 1 100%; }
	.section { padding: 64px 0; }
	.services-grid, .reviews-grid, .fee-cards { grid-template-columns: 1fr; }
	.choice-grid-3 { grid-template-columns: 1fr; }
	.field-grid { grid-template-columns: 1fr; }
	.area-list { grid-template-columns: repeat(2, 1fr); }
	.footer-grid { grid-template-columns: 1fr; }
	.summary-total { font-size: 42px; }

	/* Pricing table → stacked rows */
	.price-table thead { display: none; }
	.price-table, .price-table tbody, .price-table tr, .price-table td, .price-table th { display: block; width: 100%; }
	.price-table tbody tr:not(.group-row) {
		display: grid;
		grid-template-columns: 1fr auto;
		column-gap: 12px;
		padding: 14px 18px;
		border-bottom: 1px solid var(--line);
	}
	.price-table tbody td { padding: 0; border: 0; }
	.price-table tbody td:nth-child(2) { grid-column: 1 / -1; grid-row: 2; font-size: 14px; color: var(--ink-3); margin-top: 2px; }
	.price-table tbody td.num { grid-column: 2; grid-row: 1; }
	.price-table .group-row th { padding: 10px 18px; }

	.mobile-bar {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 10px;
		position: fixed;
		left: 0; right: 0; bottom: 0;
		z-index: 60;
		padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
		background: color-mix(in srgb, var(--paper) 94%, transparent);
		backdrop-filter: blur(10px);
		border-top: 1px solid var(--line);
	}
	.mobile-bar .btn-primary { background: var(--alert); }
	body { padding-bottom: 72px; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.live-dot { animation: none; }
	.service-card, .service-card:hover { transform: none; transition: none; }
}
