/* ============================================================
   Drainjet Waterproofing — main stylesheet
   Palette: navy #0a2540 · blue #1273c4 · aqua #2ea3e5 · orange #f97316
   ============================================================ */

:root {
	--navy: #0a2540;
	--navy-2: #0d3054;
	--blue: #1273c4;
	--blue-light: #2ea3e5;
	--orange: #f97316;
	--orange-dark: #ea580c;
	--ink: #1f3a54;
	--muted: #5b7186;
	--line: #dce6f0;
	--bg: #f4f8fc;
	--white: #ffffff;
	--radius: 12px;
	--shadow: 0 10px 30px rgba(10, 37, 64, .12);
	--shadow-sm: 0 4px 14px rgba(10, 37, 64, .08);
	--font-head: 'Archivo', 'Segoe UI', Arial, sans-serif;
	--font-body: 'Inter', 'Segoe UI', Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

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

img { max-width: 100%; height: auto; }

h1, h2, h3, h4 {
	font-family: var(--font-head);
	color: var(--navy);
	line-height: 1.2;
	margin: 0 0 .6em;
}

h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--orange); }

p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.container {
	width: min(1200px, 92%);
	margin-inline: auto;
}
.container--narrow { width: min(840px, 92%); }
.center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-block;
	font-family: var(--font-head);
	font-weight: 700;
	font-size: .95rem;
	padding: .9rem 1.6rem;
	border-radius: 8px;
	border: 2px solid transparent;
	cursor: pointer;
	transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
	white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--orange); color: #fff; box-shadow: 0 6px 18px rgba(249, 115, 22, .35); }
.btn--primary:hover { background: var(--orange-dark); color: #fff; }
.btn--accent { background: var(--orange); color: #fff; box-shadow: 0 6px 18px rgba(249, 115, 22, .35); }
.btn--accent:hover { background: var(--orange-dark); color: #fff; }
.btn--outline { border-color: var(--blue); color: var(--blue); }
.btn--outline:hover { background: var(--blue); color: #fff; }
.btn--outline-light { border-color: rgba(255, 255, 255, .7); color: #fff; }
.btn--outline-light:hover { background: #fff; color: var(--navy); }
.btn--block { width: 100%; text-align: center; }
.btn--large { padding: 1.1rem 2.2rem; font-size: 1.1rem; }

/* ---------- Topbar ---------- */
.topbar {
	background: var(--navy);
	color: rgba(255, 255, 255, .85);
	font-size: .82rem;
}
.topbar__inner {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	padding: .3rem 0;
	flex-wrap: wrap;
}
.topbar__item { color: rgba(255, 255, 255, .85); }
.topbar a.topbar__item:hover { color: var(--orange); }
.topbar__hours { color: var(--orange); font-weight: 600; }
.topbar__phone { margin-left: auto; font-weight: 700; color: #fff; }
.topbar__address { display: none; }
@media (min-width: 720px) { .topbar__address { display: inline; } }

/* ---------- Header ---------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: #fff;
	box-shadow: var(--shadow-sm);
}
.site-header__inner {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	padding: .3rem 0;
}
.site-logo img, .custom-logo { display: block; height: 64px; width: auto; transition: transform .2s ease; animation: logoIn .55s ease-out both; }
.custom-logo-link { display: inline-block; }

.site-logo, .custom-logo-link {
	position: relative;
	display: inline-block;
	overflow: hidden;
	border-radius: 10px;
}
.site-logo::after, .custom-logo-link::after {
	content: '';
	position: absolute;
	top: 0;
	left: -70%;
	width: 45%;
	height: 100%;
	background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .6), transparent);
	transform: skewX(-20deg);
	animation: logoShine 5s ease-in-out infinite;
	pointer-events: none;
}
.site-logo:hover img, .custom-logo-link:hover img { transform: scale(1.05); }

@keyframes logoIn {
	from { opacity: 0; transform: translateY(-10px); }
	to   { opacity: 1; transform: none; }
}
@keyframes logoShine {
	0%, 55%  { left: -70%; }
	80%, 100% { left: 140%; }
}

.primary-nav { margin-left: auto; }
.nav-menu { display: flex; gap: .4rem; align-items: center; }
.nav-menu > li { position: relative; }
.nav-menu a {
	display: block;
	padding: .55rem .8rem;
	font-weight: 600;
	font-size: .92rem;
	color: var(--navy);
	border-radius: 6px;
	white-space: nowrap;
}
.nav-menu a:hover { color: var(--blue); background: var(--bg); }
.menu-item-has-children > a::after { content: '▾'; font-size: .7em; margin-left: .35rem; }
.sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 260px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 10px;
	box-shadow: var(--shadow);
	padding: .5rem;
	display: none;
	max-height: 70vh;
	overflow: auto;
}
.nav-menu > li:hover > .sub-menu,
.nav-menu > li:focus-within > .sub-menu { display: block; }
.sub-menu a { font-size: .88rem; padding: .45rem .7rem; }

/* ---------- Mega menu (desktop only) ---------- */
@media (min-width: 941px) {
	.nav-menu > li.menu-item-mega { position: static; }
	.mega-menu {
		position: absolute;
		top: calc(100% - 8px);
		left: 50%;
		transform: translateX(-50%);
		width: min(720px, 94vw);
		background: #fff;
		border: 1px solid var(--line);
		border-radius: 14px;
		box-shadow: 0 18px 50px rgba(10, 37, 64, .18);
		min-height: 330px;
		display: block;
		visibility: hidden;
		opacity: 0;
		pointer-events: none;
		transition: opacity .15s ease, visibility 0s linear .35s;
	}
	/* Invisible hover bridge so moving the mouse down doesn't close the menu */
	.mega-menu::before {
		content: '';
		position: absolute;
		top: -14px;
		left: 0;
		right: 0;
		height: 14px;
	}
	.nav-menu > li.menu-item-mega:hover > .mega-menu,
	.nav-menu > li.menu-item-mega:focus-within > .mega-menu {
		visibility: visible;
		opacity: 1;
		pointer-events: auto;
		transition: opacity .15s ease;
	}

	.mega-menu__list { width: 56%; padding: .8rem; }
	.mega-menu__item { position: static; }
	.mega-menu__link {
		display: block;
		padding: .55rem .8rem;
		border-radius: 8px;
		font-weight: 600;
		font-size: .9rem;
		color: var(--navy);
		transition: background .12s ease;
	}
	.mega-menu__link::after {
		content: '→';
		float: right;
		color: var(--line);
		transition: color .12s ease, transform .12s ease;
	}
	.mega-menu__item:hover .mega-menu__link { background: var(--bg); color: var(--blue); }
	.mega-menu__item:hover .mega-menu__link::after { color: var(--orange); transform: translateX(3px); }

	/* Right preview panel — default card sits underneath,
	   hovered item's preview covers it. */
	.mega-menu__default,
	.mega-menu__preview {
		position: absolute;
		top: 0;
		right: 0;
		bottom: 0;
		width: 44%;
	}
	.mega-menu__preview { display: none; }
	.mega-menu__item:hover .mega-menu__preview,
	.mega-menu__item:focus-within .mega-menu__preview { display: block; }

	.mega-menu__card {
		height: 100%;
		padding: 1.3rem;
		border-radius: 0 13px 13px 0;
		overflow: hidden;
		background: linear-gradient(150deg, var(--navy) 0%, #0d3d6e 65%, #0a4f8f 100%);
		color: #fff;
		display: flex;
		flex-direction: column;
		gap: .6rem;
	}
	.mega-menu__icon {
		width: 48px;
		height: 48px;
		border-radius: 12px;
		background: rgba(255, 255, 255, .14);
		display: grid;
		place-items: center;
		flex: none;
	}
	.mega-menu__icon .icon { width: 26px; height: 26px; color: var(--blue-light); }
	.mega-menu__img {
		width: 100%;
		height: 100px;
		object-fit: cover;
		border-radius: 8px;
		flex: none;
	}
	.mega-menu__card strong { font-family: var(--font-head); font-size: 1.05rem; }
	.mega-menu__card p {
		font-size: .82rem;
		color: rgba(255, 255, 255, .78);
		margin: 0;
		flex: 1;
		display: -webkit-box;
		-webkit-line-clamp: 4;
		-webkit-box-orient: vertical;
		overflow: hidden;
	}
	.nav-menu .mega-menu__cta { color: #fff; font-weight: 700; font-size: .85rem; }
	.nav-menu .mega-menu__cta:hover { color: var(--orange); }
}

.header-cta { padding: .7rem 1.2rem; font-size: .9rem; }

.nav-toggle {
	display: none;
	flex-direction: column;
	gap: 5px;
	background: none;
	border: 0;
	padding: 8px;
	margin-left: auto;
	cursor: pointer;
}
.nav-toggle span {
	display: block;
	width: 26px;
	height: 3px;
	background: var(--navy);
	border-radius: 2px;
	transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Tighten the desktop nav in stages before the hamburger takes over. */
@media (min-width: 1081px) and (max-width: 1360px) {
	.nav-menu a { padding: .5rem .55rem; font-size: .86rem; }
	.header-cta { padding: .6rem 1rem; font-size: .84rem; }
	.site-logo img, .custom-logo { height: 56px; }
	.site-header__inner { gap: 1rem; }
}
@media (min-width: 941px) and (max-width: 1080px) {
	.nav-menu a { padding: .45rem .4rem; font-size: .8rem; }
	.menu-item-has-children > a::after { margin-left: .2rem; }
	.header-cta { padding: .55rem .8rem; font-size: .78rem; }
	.site-logo img, .custom-logo { height: 48px; }
	.site-header__inner { gap: .7rem; }
}

@media (max-width: 940px) {
	.nav-toggle { display: flex; }
	.primary-nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: #fff;
		border-top: 1px solid var(--line);
		box-shadow: var(--shadow);
		display: none;
		padding: 1rem 4%;
	}
	.primary-nav.is-open { display: block; }
	.nav-menu { flex-direction: column; align-items: stretch; }
	.sub-menu {
		position: static;
		display: none;
		box-shadow: none;
		border: 0;
		border-left: 3px solid var(--line);
		border-radius: 0;
		margin-left: .5rem;
		padding-left: .5rem;
		max-height: none;
	}
	.nav-menu > li.is-open > .sub-menu { display: block; }
	.mega-menu {
		position: static;
		display: none;
		box-shadow: none;
		border: 0;
		border-left: 3px solid var(--line);
		border-radius: 0;
		margin-left: .5rem;
		padding-left: .5rem;
	}
	.nav-menu > li.is-open > .mega-menu { display: block; }
	.mega-menu__list { width: 100%; padding: 0; }
	.mega-menu__default, .mega-menu__preview { display: none !important; }
	.mega-menu__link {
		display: block;
		padding: .45rem .7rem;
		font-size: .88rem;
		font-weight: 600;
		color: var(--navy);
		border-radius: 6px;
	}
	.mega-menu__link:hover { color: var(--blue); background: var(--bg); }
	.header-cta { display: none; }
}

/* ---------- Hero ---------- */
.hero {
	background:
		radial-gradient(1000px 500px at 85% -10%, rgba(46, 163, 229, .35), transparent 60%),
		linear-gradient(135deg, var(--navy) 0%, #0d3d6e 55%, #0a4f8f 100%);
	color: #fff;
	padding: clamp(3rem, 7vw, 5.5rem) 0;
	position: relative;
	overflow: hidden;
}
.hero::after {
	content: '';
	position: absolute;
	inset: auto 0 -2px 0;
	height: 80px;
	background:
		radial-gradient(60px 40px at 20% 0, rgba(46, 163, 229, .25), transparent 70%),
		radial-gradient(80px 50px at 60% 0, rgba(46, 163, 229, .18), transparent 70%);
	pointer-events: none;
}
.hero__inner {
	display: grid;
	grid-template-columns: 1.15fr .85fr;
	gap: 3rem;
	align-items: center;
	position: relative;
	z-index: 1;
}
.hero__eyebrow {
	text-transform: uppercase;
	letter-spacing: .12em;
	font-weight: 700;
	font-size: .8rem;
	color: var(--blue-light);
	margin-bottom: 1rem;
}
.hero h1 { color: #fff; margin-bottom: .8rem; }
.hero__subtitle {
	font-size: 1.1rem;
	color: rgba(255, 255, 255, .85);
	max-width: 34rem;
	margin-bottom: 1.6rem;
}
.hero__actions { display: flex; gap: .9rem; flex-wrap: wrap; margin-bottom: 2rem; }
.center-actions { justify-content: center; }

.hero__badges { display: flex; gap: 1.8rem; flex-wrap: wrap; }
.hero__badges li {
	display: flex;
	align-items: center;
	gap: .55rem;
	font-weight: 600;
	font-size: .9rem;
	color: rgba(255, 255, 255, .9);
}
.hero__badges .icon { width: 26px; height: 26px; color: var(--orange); flex: none; }

.hero__form-card {
	background: #fff;
	color: var(--ink);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	padding: 1.8rem;
}
.form-logo {
	display: block;
	height: 90px;
	width: auto;
	margin: 0 auto 1rem;
}
.hero__form-card h2 { font-size: 1.4rem; margin-bottom: .2em; text-align: center; }
.hero__form-sub { font-size: .88rem; color: var(--muted); margin-bottom: 1.2rem; text-align: center; }

@media (max-width: 900px) {
	.hero__inner { grid-template-columns: 1fr; gap: 2.2rem; }
}
@media (max-width: 640px) {
	.hero__trust { flex-wrap: wrap; }
}

/* ---------- Forms ---------- */
.quote-form input,
.quote-form select,
.quote-form textarea,
.search-form input[type="search"] {
	width: 100%;
	font: inherit;
	font-size: .92rem;
	padding: .7rem .85rem;
	border: 1px solid var(--line);
	border-radius: 8px;
	background: #fff;
	color: var(--ink);
}
.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
	outline: 2px solid var(--blue-light);
	border-color: var(--blue-light);
}
.form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: .7rem;
	margin-bottom: .7rem;
}
.quote-form textarea { margin-bottom: .9rem; resize: vertical; }
.form-note {
	font-size: .78rem;
	color: var(--muted);
	text-align: center;
	margin: .7rem 0 0;
}
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-notice {
	padding: .7rem .9rem;
	border-radius: 8px;
	font-size: .88rem;
	font-weight: 600;
	margin-bottom: 1rem;
}
.form-notice--success { background: #e8f7ee; color: #177245; border: 1px solid #b8e6ca; }
.form-notice--error { background: #fdecea; color: #b3261e; border: 1px solid #f5c6c2; }

.quote-form--footer input,
.quote-form--footer select,
.quote-form--footer textarea {
	background: rgba(255, 255, 255, .08);
	border-color: rgba(255, 255, 255, .25);
	color: #fff;
}
.quote-form--footer ::placeholder { color: rgba(255, 255, 255, .55); }
.quote-form--footer select { color: #fff; }
.quote-form--footer select option { color: var(--ink); }
.quote-form--footer .form-note { color: rgba(255, 255, 255, .5); }

@media (max-width: 520px) {
	.form-row { grid-template-columns: 1fr; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(3rem, 6vw, 5rem) 0; }
.section__head { max-width: 46rem; margin-bottom: 2.5rem; }
.section__head p { color: var(--muted); }
.section__head h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
.section--services, .section--faq { background: var(--bg); }

.eyebrow {
	text-transform: uppercase;
	letter-spacing: .14em;
	font-size: .78rem;
	font-weight: 700;
	color: var(--orange);
	margin-bottom: .6rem;
}
.eyebrow--light { color: var(--blue-light); }

/* ---------- Services grid ---------- */
.services-group__title {
	font-size: 1.35rem;
	margin: 2.5rem 0 1.3rem;
	padding-bottom: .5rem;
	border-bottom: 3px solid var(--orange);
	display: inline-block;
}
.services-group__title:first-of-type { margin-top: 0; }
.services-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 1.4rem;
}
.service-card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 1.6rem;
	display: flex;
	flex-direction: column;
	transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.service-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow);
	border-color: var(--blue-light);
}
.service-card__icon {
	width: 52px;
	height: 52px;
	border-radius: 12px;
	background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 100%);
	display: grid;
	place-items: center;
	margin-bottom: 1.1rem;
}
.service-card__icon .icon { width: 28px; height: 28px; color: #fff; }
.service-card h3, .service-card h2 { font-size: 1.08rem; margin-bottom: .4em; }
.service-card h3 a, .service-card h2 a { color: var(--navy); }
.service-card h3 a:hover, .service-card h2 a:hover { color: var(--blue); }
.service-card p { font-size: .9rem; color: var(--muted); flex: 1; }
.service-card__price {
	font-weight: 700;
	color: var(--orange) !important;
	font-size: .85rem !important;
	margin-bottom: .6rem;
}
.service-card__link { font-weight: 700; font-size: .88rem; }

/* ---------- Why us ---------- */
.why__inner {
	display: grid;
	grid-template-columns: 1.1fr .9fr;
	gap: 3.5rem;
	align-items: center;
}
.check-list li {
	position: relative;
	padding-left: 1.9rem;
	margin-bottom: .8rem;
	font-weight: 500;
}
.check-list li::before {
	content: '✓';
	position: absolute;
	left: 0;
	top: 0;
	width: 1.3rem;
	height: 1.3rem;
	background: var(--blue);
	color: #fff;
	font-size: .8rem;
	font-weight: 700;
	border-radius: 50%;
	display: grid;
	place-items: center;
}
.why__copy .btn { margin-top: 1rem; }

.why__stats {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.2rem;
}
.stat {
	background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
	color: #fff;
	border-radius: var(--radius);
	padding: 1.8rem 1.4rem;
	text-align: center;
}
.stat:nth-child(2) { background: linear-gradient(160deg, var(--blue) 0%, #0d5ea3 100%); }
.stat:nth-child(3) { background: linear-gradient(160deg, var(--orange) 0%, var(--orange-dark) 100%); }
.stat:nth-child(4) { background: linear-gradient(160deg, #0d5ea3 0%, var(--navy) 100%); }
.stat__num {
	display: block;
	font-family: var(--font-head);
	font-size: 2.4rem;
	font-weight: 800;
	line-height: 1;
	margin-bottom: .5rem;
}
.stat__plus { color: var(--blue-light); }
.stat:nth-child(3) .stat__plus { color: #ffe1c7; }
.stat__label { font-size: .85rem; color: rgba(255, 255, 255, .85); }

@media (max-width: 860px) {
	.why__inner { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* ---------- Cost band ---------- */
.section--cost {
	background: linear-gradient(120deg, var(--blue) 0%, #0a4f8f 60%, var(--navy) 100%);
	color: #fff;
}
.section--cost h2 { color: #fff; }
.section--cost p { color: rgba(255, 255, 255, .85); max-width: 44rem; }
.cost__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2.5rem;
	flex-wrap: wrap;
}
.cost__inner .btn { flex: none; }

/* ---------- Process ---------- */
.process-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.4rem;
	counter-reset: step;
}
.process-step {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 1.8rem 1.5rem;
	position: relative;
}
.process-step__num {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--navy);
	color: #fff;
	font-family: var(--font-head);
	font-weight: 800;
	font-size: 1.15rem;
	margin-bottom: 1.1rem;
}
.process-step:nth-child(2) .process-step__num { background: var(--blue); }
.process-step:nth-child(3) .process-step__num { background: var(--blue-light); }
.process-step:nth-child(4) .process-step__num { background: var(--orange); }
.process-step p { font-size: .9rem; color: var(--muted); margin: 0; }

@media (max-width: 960px) { .process-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .process-grid { grid-template-columns: 1fr; } }

/* ---------- Reviews ---------- */
.section--reviews { background: var(--bg); }
.reviews-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.4rem;
}
.review-card {
	margin: 0;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 1.8rem;
	box-shadow: var(--shadow-sm);
}
.review-card__stars { color: var(--orange); letter-spacing: .15em; margin-bottom: .9rem; }
.review-card p { font-style: italic; color: var(--ink); }
.review-card footer { font-weight: 700; font-size: .88rem; color: var(--muted); }

@media (max-width: 860px) { .reviews-grid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: .8rem; }
.faq-item {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 10px;
	overflow: hidden;
}
.faq-item summary {
	cursor: pointer;
	list-style: none;
	padding: 1.1rem 1.3rem;
	font-family: var(--font-head);
	font-weight: 700;
	color: var(--navy);
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
	content: '+';
	font-size: 1.4rem;
	font-weight: 700;
	color: var(--blue);
	transition: transform .2s ease;
	flex: none;
}
.faq-item[open] summary::after { transform: rotate(45deg); color: var(--orange); }
.faq-item__body { padding: 0 1.3rem 1.2rem; color: var(--muted); }
.faq-item__body p { margin: 0; }

/* ---------- Contact CTA ---------- */
.section--contact {
	background: linear-gradient(120deg, var(--navy) 0%, #0d3d6e 100%);
	color: #fff;
}
.section--contact h2 { color: #fff; }
.section--contact p { color: rgba(255, 255, 255, .85); margin: 0; }
.contact__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	flex-wrap: wrap;
}

/* ---------- Service single ---------- */
.service-hero {
	background: linear-gradient(120deg, var(--navy) 0%, #0d3d6e 70%, #0a4f8f 100%);
	color: #fff;
	padding: 3rem 0;
}
.service-hero__inner { display: flex; align-items: center; gap: 1.4rem; }
.service-hero__icon {
	width: 64px;
	height: 64px;
	flex: none;
	border-radius: 16px;
	background: rgba(255, 255, 255, .12);
	display: grid;
	place-items: center;
}
.service-hero__icon .icon { width: 34px; height: 34px; color: var(--blue-light); }
.service-hero h1 { color: #fff; margin: 0; font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
.service-hero__price { color: var(--orange); font-weight: 700; margin: .3rem 0 0; }

.service-layout {
	display: grid;
	grid-template-columns: 1.6fr 1fr;
	gap: 3rem;
	align-items: start;
}
.service-content h3 { margin-top: 1.6em; }
.service-content ul { list-style: disc; padding-left: 1.4rem; margin-bottom: 1.2rem; }
.service-content ul li { margin-bottom: .35rem; }

.service-cta {
	margin-top: 2.5rem;
	background: var(--bg);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 1.8rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	flex-wrap: wrap;
}
.service-cta h2 { font-size: 1.3rem; margin-bottom: .2em; }
.service-cta p { color: var(--muted); margin: 0; font-size: .9rem; }
.service-cta__actions { display: flex; gap: .8rem; flex-wrap: wrap; }

.service-sidebar { display: grid; gap: 1.4rem; position: sticky; top: 110px; }
.sidebar-card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 1.5rem;
	box-shadow: var(--shadow-sm);
}
.sidebar-card h2 { font-size: 1.1rem; }
.sidebar-services__group {
	font-size: .75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .1em;
	color: var(--blue);
	margin: 1rem 0 .3rem;
}
.sidebar-card--form { border-top: 4px solid var(--orange); }
.sidebar-services li a {
	display: block;
	padding: .5rem .7rem;
	border-radius: 6px;
	font-size: .9rem;
	font-weight: 500;
	color: var(--ink);
}
.sidebar-services li a:hover { background: var(--bg); color: var(--blue); }
.sidebar-services li.is-current a { background: var(--blue); color: #fff; font-weight: 700; }

@media (max-width: 900px) {
	.service-layout { grid-template-columns: 1fr; }
	.service-sidebar { position: static; }
}

/* ---------- Blog ---------- */
.posts-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 1.4rem;
}
.post-card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	transition: box-shadow .18s ease;
}
.post-card:hover { box-shadow: var(--shadow); }
.post-card__thumb img { display: block; width: 100%; }
.post-card__body { padding: 1.4rem; }
.post-card__body h2 { font-size: 1.15rem; }
.post-card__body h2 a { color: var(--navy); }
.post-card__meta { font-size: .8rem; color: var(--muted); }
.post-card .entry__content, .post-card p { font-size: .92rem; }

.entry__title { font-size: clamp(1.8rem, 3.5vw, 2.5rem); }
.entry__meta { color: var(--muted); font-size: .88rem; }
.entry__thumb { margin: 1.5rem 0; border-radius: var(--radius); overflow: hidden; }
.entry__content ul, .entry__content ol { list-style: disc; padding-left: 1.5rem; margin-bottom: 1.2rem; }
.entry__content ol { list-style: decimal; }
.entry__content li { margin-bottom: .4rem; }
.entry__content img { border-radius: 8px; }
.entry__content blockquote {
	margin: 1.5rem 0;
	padding: 1rem 1.4rem;
	border-left: 4px solid var(--orange);
	background: var(--bg);
	border-radius: 0 8px 8px 0;
}

.section--404 { min-height: 45vh; display: grid; align-items: center; }

/* ---------- Footer ---------- */
.site-footer {
	background: var(--navy);
	color: rgba(255, 255, 255, .8);
	padding-top: 3.5rem;
}
.site-footer__grid {
	display: grid;
	grid-template-columns: 1.2fr .8fr .8fr 1.1fr;
	gap: 2.5rem;
	padding-bottom: 3rem;
}
.footer-logo { height: 54px; width: auto; margin-bottom: 1rem; border-radius: 8px; }
.footer-col p { font-size: .9rem; }
.footer-col h3 { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.footer-links li { margin-bottom: .45rem; }
.footer-links a { color: rgba(255, 255, 255, .75); font-size: .88rem; }
.footer-links a:hover { color: var(--orange); }
.footer-contact li { margin-bottom: .5rem; font-size: .9rem; }
.footer-contact a { color: #fff; font-weight: 600; }
.footer-contact a:hover { color: var(--orange); }
.footer-col--form h3 { margin-bottom: .3rem; }

.footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, .12);
	padding: 1.2rem 0;
	font-size: .82rem;
}
.footer-bottom__inner {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
}
.footer-bottom p { margin: 0; color: rgba(255, 255, 255, .55); }

@media (max-width: 960px) {
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
	.site-footer__grid { grid-template-columns: 1fr; }
}

/* ---------- Trust badges (hero) ---------- */
.hero__trust {
	display: flex;
	gap: .55rem;
	flex-wrap: nowrap;
	margin-top: 1.6rem;
	position: relative;
	z-index: 1;
}
.trust-badge {
	display: flex;
	align-items: center;
	gap: .45rem;
	background: #fff;
	border-radius: 8px;
	padding: .4rem .6rem .4rem .45rem;
	box-shadow: 0 6px 20px rgba(5, 22, 40, .25);
	white-space: nowrap;
}
.trust-badge__mark {
	width: 30px;
	height: 30px;
	flex: none;
	border-radius: 7px;
	display: grid;
	place-items: center;
	color: #fff;
	font-family: var(--font-head);
	font-weight: 800;
	font-size: .95rem;
}
.trust-badge__mark--google { background: #4285f4; }
.trust-badge__mark--homestars { background: #f5a623; }
.trust-badge__mark--houzz { background: #4dbc15; }
.trust-badge__mark--trustedpros { background: #d6352c; font-size: .72rem; letter-spacing: -.02em; }
.trust-badge__body { display: flex; flex-direction: column; line-height: 1.15; }
.trust-badge__body strong { font-size: .8rem; color: var(--navy); }
.trust-badge__stars { color: var(--orange); font-size: .62rem; letter-spacing: .1em; }
.trust-badge__body small { font-size: .62rem; color: var(--muted); }

/* ---------- Quote lightbox ---------- */
body.modal-open { overflow: hidden; }
.quote-modal {
	position: fixed;
	inset: 0;
	z-index: 300;
	display: grid;
	place-items: center;
	padding: 1rem;
}
.quote-modal[hidden] { display: none; }
.quote-modal__overlay {
	position: absolute;
	inset: 0;
	background: rgba(8, 28, 48, .72);
	backdrop-filter: blur(3px);
}
.quote-modal__dialog {
	position: relative;
	background: #fff;
	border-radius: var(--radius);
	box-shadow: 0 24px 70px rgba(5, 22, 40, .45);
	width: min(480px, 100%);
	max-height: 90vh;
	overflow: auto;
	padding: 2rem;
	animation: quoteModalIn .22s ease;
}
.quote-modal__dialog h2 { font-size: 1.45rem; margin-bottom: .2em; text-align: center; }
.quote-modal__sub { font-size: .88rem; color: var(--muted); margin-bottom: 1.2rem; text-align: center; }
.quote-modal__close {
	position: absolute;
	top: .7rem;
	right: .9rem;
	background: none;
	border: 0;
	font-size: 1.8rem;
	line-height: 1;
	color: var(--muted);
	cursor: pointer;
	padding: .2rem .4rem;
	border-radius: 6px;
}
.quote-modal__close:hover { color: var(--navy); background: var(--bg); }
@keyframes quoteModalIn {
	from { opacity: 0; transform: translateY(16px) scale(.97); }
	to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
	.quote-modal__dialog { animation: none; }
}

/* ---------- Inner page hero ---------- */
.page-hero {
	background: linear-gradient(120deg, var(--navy) 0%, #0d3d6e 70%, #0a4f8f 100%);
	color: #fff;
	padding: 3.5rem 0 3rem;
}
.page-hero h1 { color: #fff; margin-bottom: .3em; }
.page-hero__sub { color: rgba(255, 255, 255, .82); max-width: 40rem; margin: 0; }

/* ---------- Process page ---------- */
.process-list { display: grid; gap: 1.2rem; }
.process-row {
	display: flex;
	gap: 1.6rem;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 1.8rem;
	align-items: flex-start;
}
.process-row__num {
	font-family: var(--font-head);
	font-size: 2rem;
	font-weight: 800;
	color: var(--blue-light);
	flex: none;
	line-height: 1;
	min-width: 3.2rem;
}
.process-row h2 { font-size: 1.25rem; margin-bottom: .3em; }
.process-row p { color: var(--muted); margin: 0; }

/* ---------- Contact page ---------- */
.contact-grid {
	display: grid;
	grid-template-columns: 1fr 1.2fr;
	gap: 2rem;
	margin-bottom: 2.5rem;
}
.contact-info-card, .contact-form-card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 2rem;
	box-shadow: var(--shadow-sm);
}
.contact-form-card { border-top: 4px solid var(--orange); }
.contact-info-card h2, .contact-form-card h2 { font-size: 1.35rem; }
.contact-info-list li {
	padding: .8rem 0;
	border-bottom: 1px solid var(--line);
}
.contact-info-list li:last-child { border-bottom: 0; }
.contact-info-list strong {
	display: block;
	font-size: .78rem;
	text-transform: uppercase;
	letter-spacing: .1em;
	color: var(--blue);
	margin-bottom: .15rem;
}
.contact-info-list a { font-weight: 600; color: var(--navy); }
.contact-info-list a:hover { color: var(--orange); }

.map-embed {
	border-radius: var(--radius);
	overflow: hidden;
	border: 1px solid var(--line);
	box-shadow: var(--shadow-sm);
}
.map-embed iframe { display: block; width: 100%; }

@media (max-width: 860px) {
	.contact-grid { grid-template-columns: 1fr; }
	.process-row { gap: 1rem; padding: 1.4rem; }
}

/* ---------- Floating action bar + chat ---------- */
body { padding-bottom: 62px; }
.float-bar {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 250;
	display: flex;
	background: var(--navy);
	box-shadow: 0 -6px 24px rgba(5, 22, 40, .35);
	transition: transform .25s ease, opacity .25s ease;
}
.float-bar.is-hidden {
	transform: translateY(130%);
	opacity: 0;
	pointer-events: none;
}
.float-bar a, .float-bar button {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 3px;
	padding: .6rem .3rem .55rem;
	color: #fff;
	font-family: inherit;
	font-size: .72rem;
	font-weight: 600;
	background: none;
	border: 0;
	border-right: 1px solid rgba(255, 255, 255, .12);
	cursor: pointer;
	white-space: nowrap;
}
.float-bar a:last-child, .float-bar button:last-child { border-right: 0; }
.float-bar svg { width: 20px; height: 20px; color: var(--orange); flex: none; }
.float-bar a:hover, .float-bar button:hover { color: #fff; background: rgba(255, 255, 255, .08); }

@media (min-width: 941px) {
	body { padding-bottom: 0; }
	.float-bar {
		left: 50%;
		right: auto;
		bottom: 1.4rem;
		transform: translateX(-50%);
		border-radius: 14px;
		overflow: hidden;
	}
	.float-bar.is-hidden {
		transform: translateX(-50%) translateY(180%);
	}
	.float-bar a, .float-bar button {
		flex-direction: row;
		gap: .45rem;
		padding: .8rem 1.1rem;
		font-size: .85rem;
	}
}

.chat-panel {
	position: fixed;
	bottom: 74px;
	right: 1rem;
	z-index: 260;
	width: min(380px, calc(100vw - 2rem));
	background: #fff;
	border-radius: var(--radius);
	box-shadow: 0 20px 60px rgba(5, 22, 40, .35);
	padding: 1.4rem;
}
.chat-panel[hidden] { display: none; }
.chat-panel__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: .3rem;
}
.chat-panel__head strong { font-family: var(--font-head); font-size: 1.15rem; color: var(--navy); }
.chat-panel__close {
	background: none;
	border: 0;
	font-size: 1.6rem;
	line-height: 1;
	color: var(--muted);
	cursor: pointer;
	padding: .1rem .35rem;
	border-radius: 6px;
}
.chat-panel__close:hover { color: var(--navy); background: var(--bg); }
.chat-panel__sub { font-size: .83rem; color: var(--muted); margin-bottom: 1rem; }

@media (max-width: 940px) {
	.chat-panel { bottom: 72px; right: .75rem; left: .75rem; width: auto; }
}

/* ---------- Misc ---------- */
.icon { width: 24px; height: 24px; }
.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
}
.pagination .nav-links,
.nav-links { display: flex; gap: .5rem; margin-top: 2rem; }
.page-numbers {
	padding: .5rem .9rem;
	border: 1px solid var(--line);
	border-radius: 6px;
	font-weight: 600;
	font-size: .9rem;
}
.page-numbers.current { background: var(--blue); color: #fff; border-color: var(--blue); }

.wp-block-button__link, .wp-block-button .wp-block-button__link {
	background: var(--orange);
	border-radius: 8px;
	font-family: var(--font-head);
	font-weight: 700;
}
.wp-block-button__link:hover { background: var(--orange-dark); }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.btn, .service-card { transition: none; }
	.site-logo img, .custom-logo { animation: none; }
	.site-logo::after, .custom-logo-link::after { animation: none; display: none; }
}
