/*
Theme Name: Collingwood Painters
Theme URI: https://collingwoodpainters.ca
Author: Certtech Web
Description: Lightweight custom WordPress theme for Collingwood Painters.
Version: 1.0.19
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 8.0
Text Domain: collingwood-painters
*/

:root {
	--cp-blue: #062e62;
	--cp-blue-2: #031c3c;
	--cp-sky: #eaf4fb;
	--cp-orange: #ff6410;
	--cp-orange-2: #f04e00;
	--cp-ink: #09244a;
	--cp-muted: #526176;
	--cp-line: #dbe4ee;
	--cp-soft: #f6f9fc;
	--cp-white: #fff;
	--cp-shadow: 0 14px 34px rgba(8, 31, 64, .12);
	--cp-radius: 8px;
	--cp-max: 1160px;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: #fff;
	color: var(--cp-ink);
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
	font-size: 16px;
	line-height: 1.55;
	text-rendering: optimizeLegibility;
}

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

.cp-icon {
	width: 1em;
	height: 1em;
	flex: 0 0 auto;
}

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

button,
input,
textarea,
select {
	font: inherit;
}

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

.site-wrap {
	min-height: 100vh;
	overflow-x: clip;
}

.container {
	width: min(var(--cp-max), calc(100% - 48px));
	margin: 0 auto;
}

.topbar {
	background: linear-gradient(90deg, #062e62, #041f45);
	color: #fff;
	font-size: 13px;
	font-weight: 800;
}

.topbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 30px;
}

.topbar__service {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 7px;
	flex: 1;
	min-width: 0;
	text-align: center;
}

.topbar__service span {
	flex: 1 1 280px;
	min-width: 0;
	white-space: normal;
}

.topbar__service .cp-icon {
	width: 15px;
	height: 15px;
}

.topbar__rating {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 7px;
	white-space: nowrap;
}

.stars {
	color: #ffbf19;
	letter-spacing: 1px;
	line-height: 1;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(255, 255, 255, .96);
	box-shadow: 0 1px 0 rgba(9, 36, 74, .08);
	backdrop-filter: saturate(180%) blur(12px);
}

.admin-bar .site-header {
	top: 32px;
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 86px;
	gap: 26px;
}

.brand-link {
	display: inline-flex;
	align-items: center;
	width: 240px;
	max-width: 45vw;
}

.brand-link img {
	width: 220px;
	height: auto;
}

.primary-nav {
	display: flex;
	align-items: center;
	gap: 31px;
	margin-left: auto;
	font-size: 13px;
	font-weight: 800;
}

.primary-nav a {
	position: relative;
	padding: 33px 0 31px;
	color: var(--cp-blue-2);
}

.primary-nav a::after {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 21px;
	height: 2px;
	background: var(--cp-orange);
	content: "";
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .2s ease;
}

.primary-nav a:hover::after,
.primary-nav a[aria-current="page"]::after,
.primary-nav a.is-active::after {
	transform: scaleX(1);
}

.nav-parent {
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

.nav-dropdown {
	position: relative;
	display: flex;
	align-items: center;
}

.services-dropdown {
	position: absolute;
	top: calc(100% - 10px);
	left: 50%;
	z-index: 60;
	display: grid;
	grid-template-columns: repeat(2, minmax(220px, 1fr));
	gap: 4px;
	width: 510px;
	padding: 14px;
	background: #fff;
	border: 1px solid var(--cp-line);
	border-radius: var(--cp-radius);
	box-shadow: 0 18px 38px rgba(6, 30, 62, .17);
	opacity: 0;
	pointer-events: none;
	transform: translate(-50%, 8px);
	transition: opacity .16s ease, transform .16s ease;
}

.nav-dropdown:hover .services-dropdown,
.nav-dropdown:focus-within .services-dropdown {
	opacity: 1;
	pointer-events: auto;
	transform: translate(-50%, 0);
}

.services-dropdown a {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 42px;
	padding: 9px 10px;
	border-radius: 6px;
	color: var(--cp-blue-2);
	line-height: 1.2;
}

.services-dropdown a::after {
	display: none;
}

.services-dropdown a:hover,
.services-dropdown a:focus-visible,
.services-dropdown a[aria-current="page"] {
	background: #f3f8fc;
	color: var(--cp-orange);
}

.services-dropdown .cp-icon {
	width: 18px;
	height: 18px;
	color: var(--cp-blue);
}

.header-actions {
	display: flex;
	align-items: center;
	gap: 12px;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	min-height: 42px;
	padding: 13px 26px;
	border: 2px solid transparent;
	border-radius: 5px;
	cursor: pointer;
	font-weight: 900;
	font-size: 14px;
	text-align: center;
	transition: transform .16s ease, box-shadow .16s ease, background .16s ease, color .16s ease, border-color .16s ease;
}

.btn:hover,
.btn:focus-visible {
	transform: translateY(-1px);
	box-shadow: 0 12px 24px rgba(255, 100, 16, .22);
}

.btn--orange {
	background: var(--cp-orange);
	color: #fff;
}

.btn--orange:hover,
.btn--orange:focus-visible {
	background: var(--cp-orange-2);
}

.btn--outline {
	background: #fff;
	border-color: var(--cp-blue);
	color: var(--cp-blue);
}

.btn--outline:hover,
.btn--outline:focus-visible {
	background: var(--cp-blue);
	color: #fff;
	box-shadow: 0 12px 24px rgba(6, 46, 98, .18);
}

.icon-btn {
	display: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 1px solid var(--cp-line);
	border-radius: 6px;
	background: #fff;
	color: var(--cp-blue);
	cursor: pointer;
}

.hero {
	position: relative;
	background:
		linear-gradient(90deg, rgba(247, 249, 250, .98) 0%, rgba(247, 249, 250, .88) 43%, rgba(247, 249, 250, .18) 100%),
		url("assets/img/hero-painter-original.webp") center center / cover no-repeat;
	min-height: 438px;
	display: flex;
	align-items: center;
}

.hero__inner {
	width: min(var(--cp-max), calc(100% - 48px));
	margin: 0 auto;
	padding: 52px 0 64px;
}

.hero-card {
	width: min(610px, 100%);
	background: rgba(255, 255, 255, .95);
	border: 1px solid rgba(219, 228, 238, .86);
	border-radius: var(--cp-radius);
	box-shadow: var(--cp-shadow);
	padding: 33px 34px 31px;
}

.eyebrow {
	margin: 0 0 8px;
	color: var(--cp-orange);
	font-size: 12px;
	font-weight: 950;
	letter-spacing: .04em;
	text-transform: uppercase;
}

.hero h1 {
	margin: 0;
	color: var(--cp-blue-2);
	font-size: clamp(42px, 4.5vw, 52px);
	line-height: .99;
	letter-spacing: 0;
}

.hero__text {
	max-width: 465px;
	margin: 17px 0 20px;
	color: #253650;
	font-size: 16px;
}

.hero-checks {
	display: flex;
	flex-wrap: wrap;
	gap: 16px 25px;
	margin: 0 0 24px;
	padding: 0;
	list-style: none;
	color: var(--cp-blue-2);
	font-size: 14px;
	font-weight: 700;
}

.hero-checks li {
	display: flex;
	align-items: center;
	gap: 8px;
}

.check-dot {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 16px;
	height: 16px;
	border-radius: 999px;
	background: var(--cp-orange);
	color: #fff;
	flex: 0 0 auto;
}

.check-dot .cp-icon {
	width: 11px;
	height: 11px;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 18px 24px;
}

.trust-strip {
	position: relative;
	z-index: 2;
	margin-top: -33px;
}

.trust-strip__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	background: #fff;
	border: 1px solid var(--cp-line);
	border-radius: var(--cp-radius);
	box-shadow: 0 13px 25px rgba(13, 37, 68, .12);
	overflow: hidden;
}

.trust-item {
	display: grid;
	grid-template-columns: 48px 1fr;
	align-items: center;
	gap: 12px;
	min-height: 76px;
	padding: 14px 22px;
}

.trust-item svg {
	width: 42px;
	height: 42px;
	color: var(--cp-blue);
}

.trust-item strong {
	display: block;
	color: var(--cp-blue-2);
	font-size: 14px;
	line-height: 1.1;
}

.trust-item span {
	display: block;
	margin-top: 4px;
	color: var(--cp-muted);
	font-size: 12px;
	line-height: 1.25;
}

.section {
	padding: 58px 0;
}

.section--compact {
	padding: 34px 0;
}

.section-head {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 22px;
}

.section-head--center {
	display: block;
	text-align: center;
}

.section h2 {
	margin: 0;
	color: var(--cp-blue-2);
	font-size: clamp(25px, 3vw, 34px);
	line-height: 1.12;
	letter-spacing: 0;
}

.section__intro {
	max-width: 680px;
	margin: 10px auto 0;
	color: var(--cp-muted);
}

.section__intro--left {
	margin-right: 0;
	margin-left: 0;
}

.services-grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 12px;
}

.service-card,
.project-card,
.review-card {
	background: #fff;
	border: 1px solid var(--cp-line);
	border-radius: var(--cp-radius);
	box-shadow: 0 8px 20px rgba(10, 41, 76, .08);
	overflow: hidden;
}

.service-card {
	position: relative;
	min-height: 284px;
	text-align: center;
	transition: transform .16s ease, box-shadow .16s ease;
}

.service-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 14px 28px rgba(10, 41, 76, .12);
}

.service-card__image {
	aspect-ratio: 1.52;
	overflow: hidden;
	background: var(--cp-sky);
}

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

.round-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 54px;
	height: 54px;
	border-radius: 999px;
	background: var(--cp-blue);
	color: #fff;
	box-shadow: 0 8px 18px rgba(6, 46, 98, .28);
}

.round-icon .cp-icon {
	width: 27px;
	height: 27px;
}

.service-card .round-icon {
	position: absolute;
	left: 50%;
	top: 83px;
	transform: translateX(-50%);
}

.service-card__body {
	padding: 40px 18px 17px;
}

.service-card h3 {
	margin: 0 0 9px;
	color: var(--cp-blue-2);
	font-size: 15px;
	line-height: 1.22;
}

.service-card p {
	margin: 0 0 13px;
	color: var(--cp-muted);
	font-size: 12px;
	line-height: 1.45;
}

.text-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--cp-orange);
	font-size: 12px;
	font-weight: 900;
}

.text-link .cp-icon {
	width: 13px;
	height: 13px;
}

.why {
	background: linear-gradient(90deg, #fff, #f4f8fc 42%, #edf4fa);
	border: 1px solid #e2ebf3;
	border-radius: var(--cp-radius);
	padding: 33px 32px;
}

.why-grid {
	display: grid;
	grid-template-columns: 1.3fr repeat(4, 1fr);
	gap: 28px;
	align-items: start;
}

.why h2 {
	margin-bottom: 13px;
}

.why p {
	margin: 0;
	color: var(--cp-muted);
	font-size: 14px;
}

.why-feature {
	text-align: center;
}

.why-feature .round-icon {
	width: 58px;
	height: 58px;
	margin: 0 auto 14px;
}

.why-feature h3 {
	margin: 0 0 8px;
	color: var(--cp-blue-2);
	font-size: 14px;
	line-height: 1.2;
}

.projects-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
}

.project-card__image {
	position: relative;
	aspect-ratio: 1.96;
	overflow: hidden;
	background: var(--cp-sky);
}

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

.project-card__tag {
	position: absolute;
	bottom: 6px;
	padding: 2px 6px;
	background: rgba(2, 18, 38, .72);
	color: #fff;
	font-size: 9px;
	font-weight: 900;
	letter-spacing: .06em;
	text-transform: uppercase;
}

.project-card__tag:first-of-type {
	left: 7px;
}

.project-card__tag:last-of-type {
	right: 7px;
}

.project-card__body {
	padding: 13px 15px 15px;
}

.project-card h3 {
	margin: 0 0 6px;
	color: var(--cp-blue-2);
	font-size: 15px;
	line-height: 1.2;
}

.location {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--cp-muted);
	font-size: 12px;
	font-weight: 700;
}

.location svg {
	width: 15px;
	height: 15px;
	color: var(--cp-orange);
}

.reviews-wrap {
	display: grid;
	grid-template-columns: .86fr repeat(3, 1fr);
	gap: 16px;
	padding: 24px;
	background: #f5f8fb;
	border-radius: var(--cp-radius);
}

.review-score {
	padding: 10px 2px;
}

.review-score strong {
	display: block;
	margin-bottom: 6px;
	color: var(--cp-blue-2);
	font-size: 42px;
	line-height: 1;
}

.review-score small {
	display: block;
	margin-top: 6px;
	color: var(--cp-muted);
	font-size: 13px;
}

.preview-note {
	margin-top: 9px;
	color: #6b7280;
	font-size: 11px;
	font-weight: 800;
	text-transform: uppercase;
}

.review-card {
	padding: 20px 21px 18px;
}

.quote-mark {
	color: var(--cp-orange);
	font-size: 42px;
	font-weight: 950;
	line-height: .6;
}

.review-card p {
	margin: 5px 0 16px;
	color: #253650;
	font-size: 13px;
	line-height: 1.45;
}

.review-card cite {
	display: block;
	color: var(--cp-blue-2);
	font-size: 13px;
	font-style: normal;
	font-weight: 900;
	line-height: 1.35;
}

.review-card cite span {
	display: block;
	color: var(--cp-muted);
	font-weight: 700;
}

.service-area {
	display: grid;
	grid-template-columns: 1.05fr 1.15fr 1fr;
	gap: 0;
	overflow: hidden;
	background: #fff;
	border: 1px solid var(--cp-line);
	border-radius: var(--cp-radius);
	box-shadow: 0 8px 20px rgba(10, 41, 76, .07);
}

.service-area__panel {
	padding: 24px 26px;
}

.service-area__panel h2,
.process h2 {
	margin-bottom: 12px;
	font-size: 22px;
}

.area-list {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 9px 18px;
	margin: 18px 0 0;
	padding: 0;
	list-style: none;
	font-size: 14px;
	font-weight: 850;
}

.area-list li,
.process-step {
	display: flex;
	align-items: flex-start;
	gap: 9px;
}

.area-list .cp-icon {
	width: 17px;
	height: 17px;
	margin-top: 2px;
	color: var(--cp-blue);
}

.map-frame {
	display: flex;
	align-items: stretch;
	min-height: 214px;
	background: var(--cp-sky);
}

.map-frame img {
	width: 100%;
	height: 100%;
	min-height: inherit;
	object-fit: contain;
}

.process {
	padding: 24px 26px;
	background: #f6f9fc;
}

.process-list {
	display: grid;
	gap: 13px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.process-step__num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 31px;
	height: 31px;
	border-radius: 6px;
	background: var(--cp-blue);
	color: #fff;
	font-weight: 950;
	flex: 0 0 auto;
}

.process-step strong {
	display: block;
	color: var(--cp-blue-2);
	font-size: 14px;
	line-height: 1.2;
}

.process-step span {
	display: block;
	color: var(--cp-muted);
	font-size: 12px;
	line-height: 1.35;
}

.cta-band {
	margin: 26px 0 0;
	background: linear-gradient(90deg, #07356f, #042858 58%, #031f42);
	border-radius: var(--cp-radius);
	color: #fff;
}

.cta-band__inner {
	display: grid;
	grid-template-columns: 100px 1fr auto;
	align-items: center;
	gap: 22px;
	padding: 26px 48px;
}

.cta-band svg {
	width: 72px;
	height: 72px;
	color: #fff;
	transform: rotate(-35deg);
}

.cta-band h2 {
	color: #fff;
	font-size: clamp(25px, 3vw, 32px);
}

.cta-band p {
	margin: 4px 0 0;
	color: rgba(255, 255, 255, .88);
	font-weight: 700;
}

.site-footer {
	background: #052b5e;
	color: #fff;
}

.site-footer__main {
	display: grid;
	grid-template-columns: 1.35fr .8fr 1fr 1.15fr .8fr;
	gap: 36px;
	padding: 33px 0 29px;
}

.footer-brand img {
	width: 222px;
	margin-bottom: 10px;
	background: #fff;
	border-radius: 4px;
}

.footer-brand p,
.site-footer a,
.site-footer li {
	color: rgba(255, 255, 255, .88);
}

.footer-brand p {
	max-width: 245px;
	margin: 0 0 14px;
	font-size: 13px;
	line-height: 1.35;
}

.socials {
	display: flex;
	gap: 8px;
}

.socials a,
.footer-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.socials a {
	width: 31px;
	height: 31px;
	border: 1px solid rgba(255, 255, 255, .4);
	border-radius: 999px;
	font-size: 13px;
	font-weight: 900;
}

.footer-col h2,
.footer-col h3 {
	margin: 0 0 11px;
	color: #fff;
	font-size: 16px;
	line-height: 1.2;
}

.footer-col ul {
	display: grid;
	gap: 5px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 13px;
}

.contact-list li {
	display: flex;
	align-items: flex-start;
	gap: 8px;
}

.contact-list svg {
	width: 17px;
	height: 17px;
	margin-top: 2px;
	color: #fff;
	flex: 0 0 auto;
}

.footer-badge {
	width: 122px;
	height: 122px;
	margin-left: auto;
	border-radius: 999px;
	overflow: hidden;
}

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

.site-footer__bottom {
	background: #04254e;
	font-size: 12px;
	color: rgba(255, 255, 255, .86);
}

.site-footer__bottom .container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	min-height: 38px;
}

.estimate-modal {
	position: fixed;
	inset: 0;
	z-index: 100;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 22px;
	background: rgba(2, 15, 35, .62);
}

.estimate-modal.is-open {
	display: flex;
}

.estimate-dialog {
	position: relative;
	width: min(560px, 100%);
	background: #fff;
	border-radius: var(--cp-radius);
	box-shadow: 0 22px 60px rgba(0, 0, 0, .28);
	padding: 28px;
}

.estimate-dialog h2 {
	margin: 0 42px 6px 0;
	color: var(--cp-blue-2);
	font-size: 28px;
	line-height: 1.1;
}

.estimate-dialog p {
	margin: 0 0 18px;
	color: var(--cp-muted);
}

.modal-close {
	position: absolute;
	top: 16px;
	right: 16px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border: 1px solid var(--cp-line);
	border-radius: 6px;
	background: #fff;
	color: var(--cp-blue);
	cursor: pointer;
}

.estimate-form {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}

.estimate-form label {
	display: grid;
	gap: 6px;
	color: var(--cp-blue-2);
	font-size: 13px;
	font-weight: 850;
}

.estimate-form input,
.estimate-form select,
.estimate-form textarea {
	width: 100%;
	border: 1px solid #cbd8e6;
	border-radius: 6px;
	background: #fff;
	color: var(--cp-ink);
	padding: 11px 12px;
}

.estimate-form textarea,
.estimate-form .full {
	grid-column: 1 / -1;
}

.estimate-form textarea {
	min-height: 108px;
	resize: vertical;
}

.honeypot {
	position: absolute;
	left: -9999px;
	opacity: 0;
}

.notice {
	margin: 18px 0;
	border: 1px solid #b7e1ca;
	border-radius: 6px;
	background: #f0fff6;
	color: #0d5a35;
	padding: 12px 14px;
	font-weight: 800;
}

.page-main {
	padding: 62px 0;
}

.content-frame {
	max-width: 850px;
}

.content-frame h1 {
	margin: 0 0 18px;
	color: var(--cp-blue-2);
	font-size: clamp(34px, 5vw, 52px);
	line-height: 1.05;
}

.content-frame h2 {
	margin: 30px 0 10px;
	color: var(--cp-blue-2);
	font-size: 26px;
}

.content-frame p,
.content-frame li {
	color: #253650;
}

.content-frame a {
	color: var(--cp-orange);
	font-weight: 850;
}

.service-main {
	background: #fff;
}

.service-hero {
	position: relative;
	overflow: hidden;
	background:
		linear-gradient(90deg, rgba(255, 255, 255, .98) 0%, rgba(255, 255, 255, .94) 42%, rgba(255, 255, 255, .2) 100%),
		linear-gradient(180deg, #f6f9fc, #fff);
}

.service-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr);
	align-items: stretch;
	min-height: 420px;
}

.service-hero__copy {
	position: relative;
	z-index: 2;
	padding: 34px 0 30px;
}

.breadcrumb {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 9px;
	margin-bottom: 35px;
	color: #56657a;
	font-size: 13px;
	font-weight: 800;
}

.breadcrumb a {
	color: var(--cp-blue-2);
}

.breadcrumb a:hover {
	color: var(--cp-orange);
}

.service-hero h1 {
	max-width: 560px;
	margin: 0 0 16px;
	color: var(--cp-blue-2);
	font-size: clamp(40px, 5vw, 62px);
	line-height: 1.02;
	letter-spacing: 0;
}

.service-hero p {
	max-width: 520px;
	margin: 0 0 24px;
	color: #253650;
	font-size: 16px;
	line-height: 1.56;
}

.service-trust {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	margin: 24px 0 0;
	padding: 0;
	list-style: none;
	color: var(--cp-blue-2);
	font-size: 13px;
	font-weight: 850;
}

.service-trust li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.service-trust .cp-icon {
	width: 18px;
	height: 18px;
	color: var(--cp-blue);
}

.service-hero__image {
	position: relative;
	min-height: 420px;
	margin-right: calc((100vw - min(var(--cp-max), calc(100vw - 48px))) / -2);
}

.service-hero__image::before {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, .72) 18%, rgba(255, 255, 255, .02) 58%);
	content: "";
	pointer-events: none;
}

.service-hero__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.service-section {
	padding: 52px 0;
}

.service-section--tight {
	padding-top: 24px;
}

.service-overview {
	display: grid;
	grid-template-columns: .9fr 1.1fr;
	gap: 56px;
	align-items: start;
}

.service-overview h2,
.service-reviews h2,
.service-area-banner h2 {
	margin: 0 0 18px;
	color: var(--cp-blue-2);
	font-size: clamp(28px, 3vw, 38px);
	line-height: 1.12;
	letter-spacing: 0;
}

.service-overview p,
.service-area-banner p {
	margin: 0 0 16px;
	color: #253650;
}

.service-benefits {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 26px 24px;
}

.service-benefit {
	display: grid;
	grid-template-columns: 54px 1fr;
	gap: 13px;
	align-items: start;
}

.service-benefit .cp-icon {
	width: 54px;
	height: 54px;
	padding: 14px;
	border: 1px solid var(--cp-line);
	border-radius: 8px;
	background: #fff;
	color: var(--cp-blue);
	box-shadow: 0 8px 22px rgba(10, 41, 76, .08);
}

.service-benefit strong {
	display: block;
	color: var(--cp-blue-2);
	font-size: 14px;
	line-height: 1.2;
}

.service-benefit span {
	display: block;
	grid-column: 2;
	margin-top: 5px;
	color: var(--cp-muted);
	font-size: 12px;
	line-height: 1.35;
}

.service-process {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 42px;
	margin-top: 24px;
}

.service-process__card {
	position: relative;
	min-height: 190px;
	padding: 33px 24px 24px;
	border: 1px solid var(--cp-line);
	border-radius: var(--cp-radius);
	background: #fff;
	box-shadow: 0 8px 22px rgba(10, 41, 76, .07);
	text-align: center;
}

.service-process__card:not(:last-child)::after {
	position: absolute;
	top: 50%;
	right: -30px;
	color: var(--cp-orange);
	font-size: 42px;
	font-weight: 900;
	line-height: 1;
	content: "\203a";
	transform: translateY(-50%);
}

.service-process__num {
	position: absolute;
	top: -16px;
	left: 18px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 999px;
	background: var(--cp-blue);
	color: #fff;
	font-weight: 950;
}

.service-process__card .cp-icon {
	width: 42px;
	height: 42px;
	margin: 0 auto 15px;
	color: var(--cp-blue);
}

.service-process__card h3 {
	margin: 0 0 10px;
	color: var(--cp-blue-2);
	font-size: 17px;
}

.service-process__card p {
	margin: 0;
	color: #253650;
	font-size: 14px;
	line-height: 1.45;
}

.service-section--reviews {
	background:
		linear-gradient(90deg, rgba(255, 255, 255, .96), rgba(238, 248, 250, .82)),
		url("assets/img/service-map.svg") center / cover no-repeat;
}

.service-reviews {
	display: grid;
	grid-template-columns: .9fr repeat(3, 1fr);
	gap: 24px;
	align-items: stretch;
}

.service-reviews .review-card {
	box-shadow: 0 12px 26px rgba(10, 41, 76, .1);
}

.service-reviews .stars {
	margin-bottom: 12px;
	font-size: 18px;
}

.service-section--areas {
	padding: 0;
	background: #f4f8fb;
}

.service-area-banner {
	display: grid;
	grid-template-columns: .9fr 1.15fr .85fr;
	align-items: stretch;
	min-height: 230px;
}

.service-area-banner > div:first-child {
	padding: 28px 26px 28px 0;
}

.service-area-banner__map,
.service-area-banner__photo {
	display: flex;
	align-items: stretch;
	min-height: 230px;
	overflow: hidden;
}

.service-area-banner__map img,
.service-area-banner__photo img {
	width: 100%;
	height: 100%;
	min-height: inherit;
	object-fit: cover;
}

.service-area-banner__map img {
	object-fit: contain;
}

.service-area-banner__photo img {
	object-position: center right;
}

.service-section--faq {
	padding: 38px 0 22px;
}

.faq-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px 46px;
}

.faq-item {
	border: 1px solid var(--cp-line);
	border-radius: 6px;
	background: #fff;
	box-shadow: 0 5px 14px rgba(10, 41, 76, .04);
}

.faq-item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	min-height: 48px;
	padding: 13px 18px;
	cursor: pointer;
	color: var(--cp-blue-2);
	font-weight: 900;
	list-style: none;
}

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

.faq-item summary::after {
	color: var(--cp-blue);
	content: "+";
	font-size: 18px;
	font-weight: 900;
}

.faq-item[open] summary::after {
	content: "-";
}

.faq-item p {
	margin: 0;
	padding: 0 18px 16px;
	color: var(--cp-muted);
}

.service-section--cta {
	padding: 0 0 26px;
}

.site-page {
	background: #fff;
}

.top-page-hero {
	background:
		linear-gradient(90deg, rgba(255, 255, 255, .98) 0%, rgba(255, 255, 255, .94) 48%, rgba(255, 255, 255, .58) 100%),
		linear-gradient(180deg, #f7fafc, #fff);
	border-bottom: 1px solid #edf2f7;
	overflow: hidden;
}

.top-page-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr);
	align-items: center;
	min-height: 390px;
	gap: 42px;
}

.top-page-hero__copy {
	padding: 42px 0;
}

.top-page-hero h1 {
	max-width: 650px;
	margin: 0 0 16px;
	color: var(--cp-blue-2);
	font-size: clamp(40px, 5vw, 60px);
	line-height: 1.04;
	letter-spacing: 0;
}

.top-page-hero p:not(.eyebrow) {
	max-width: 570px;
	margin: 0 0 24px;
	color: #253650;
	font-size: 17px;
	line-height: 1.58;
}

.top-page-hero__image {
	position: relative;
	height: 330px;
	margin-right: calc((100vw - min(var(--cp-max), calc(100vw - 48px))) / -2);
	border-radius: 0 0 0 var(--cp-radius);
	overflow: hidden;
}

.top-page-hero__image::before {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, .38) 34%, rgba(255, 255, 255, 0) 72%);
	content: "";
	pointer-events: none;
}

.top-page-hero__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.site-page-section {
	padding: 56px 0;
}

.site-page-section--soft {
	background: #f5f9fc;
}

.site-page-section--cta {
	padding-top: 0;
}

.split-content,
.contact-page-grid,
.area-page-layout {
	display: grid;
	grid-template-columns: .9fr 1.1fr;
	gap: 44px;
	align-items: start;
}

.split-content h2,
.area-page-layout h2,
.contact-panel h2,
.reviews-page-head h2 {
	margin: 0 0 16px;
	color: var(--cp-blue-2);
	font-size: clamp(28px, 3.3vw, 42px);
	line-height: 1.12;
}

.split-content p,
.area-page-layout p,
.reviews-page-head p {
	margin: 0 0 15px;
	color: #253650;
}

.value-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.value-grid > div,
.area-card,
.contact-panel,
.contact-form {
	border: 1px solid var(--cp-line);
	border-radius: var(--cp-radius);
	background: #fff;
	box-shadow: 0 8px 22px rgba(10, 41, 76, .07);
}

.value-grid > div {
	display: grid;
	gap: 8px;
	padding: 22px;
}

.value-grid .cp-icon,
.area-card .cp-icon {
	width: 34px;
	height: 34px;
	color: var(--cp-blue);
}

.value-grid strong,
.area-card strong {
	color: var(--cp-blue-2);
	font-size: 16px;
	line-height: 1.2;
}

.value-grid span,
.area-card span,
.contact-note span {
	color: var(--cp-muted);
	font-size: 14px;
	line-height: 1.45;
}

.stat-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
}

.stat-grid > div {
	padding: 24px;
	border: 1px solid var(--cp-line);
	border-radius: var(--cp-radius);
	background: #fff;
	text-align: center;
	box-shadow: 0 8px 22px rgba(10, 41, 76, .06);
}

.stat-grid strong {
	display: block;
	color: var(--cp-blue);
	font-size: 36px;
	line-height: 1;
}

.stat-grid span {
	display: block;
	margin-top: 8px;
	color: var(--cp-muted);
	font-weight: 800;
}

.project-gallery,
.review-page-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
}

.gallery-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: -4px 0 24px;
}

.gallery-filter {
	min-height: 40px;
	padding: 9px 13px;
	border: 1px solid var(--cp-line);
	border-radius: var(--cp-radius);
	background: #fff;
	color: var(--cp-blue-2);
	font: inherit;
	font-size: 13px;
	font-weight: 900;
	line-height: 1.2;
	text-align: center;
	cursor: pointer;
	box-shadow: 0 8px 18px rgba(10, 41, 76, .05);
	transition: background .16s ease, border-color .16s ease, color .16s ease, transform .16s ease;
}

.gallery-filter:hover,
.gallery-filter:focus-visible {
	border-color: rgba(255, 100, 16, .48);
	transform: translateY(-1px);
}

.gallery-filter.is-active {
	border-color: var(--cp-orange);
	background: var(--cp-orange);
	color: #fff;
}

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

.project-card--gallery {
	transition: transform .16s ease, box-shadow .16s ease;
}

.project-card--gallery:hover {
	transform: translateY(-3px);
	box-shadow: 0 14px 30px rgba(10, 41, 76, .12);
}

.project-card--gallery[hidden] {
	display: none;
}

.project-card--gallery .project-card__image {
	aspect-ratio: 1.5;
}

.project-card--gallery .project-card__body {
	display: grid;
	gap: 9px;
	padding: 16px;
}

.project-card--gallery h3 {
	margin: 0;
	font-size: 17px;
}

.project-card--gallery p {
	margin: 0;
	color: var(--cp-muted);
	font-size: 13px;
	line-height: 1.5;
}

.project-card__service {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: var(--cp-orange);
	font-size: 11px;
	font-weight: 950;
	line-height: 1.2;
	text-transform: uppercase;
}

.project-card__service .cp-icon {
	width: 17px;
	height: 17px;
	color: var(--cp-blue);
}

.reviews-page-head {
	display: grid;
	grid-template-columns: 1fr 220px;
	gap: 32px;
	align-items: end;
	margin-bottom: 26px;
}

.review-score--page {
	padding: 24px;
	border: 1px solid var(--cp-line);
	border-radius: var(--cp-radius);
	background: #f5f9fc;
}

.area-card-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 13px;
	margin-top: 22px;
}

.area-card {
	display: grid;
	grid-template-columns: 36px 1fr;
	gap: 3px 12px;
	padding: 17px;
	transition: transform .16s ease, box-shadow .16s ease;
}

.area-card:hover,
.area-card:focus-visible {
	transform: translateY(-2px);
	box-shadow: 0 14px 28px rgba(10, 41, 76, .1);
}

.area-card span {
	grid-column: 2;
}

.area-page-map {
	display: flex;
	align-items: stretch;
	min-height: 380px;
	border-radius: var(--cp-radius);
	overflow: hidden;
	box-shadow: var(--cp-shadow);
}

.area-page-map img {
	width: 100%;
	height: 100%;
	min-height: inherit;
	object-fit: contain;
}

.contact-panel {
	padding: 28px;
}

.contact-list--page {
	display: grid;
	gap: 14px;
	margin: 22px 0;
	padding: 0;
	list-style: none;
}

.contact-list--page li,
.contact-list--page a {
	color: var(--cp-blue-2);
	font-weight: 850;
}

.contact-list--page .cp-icon {
	color: var(--cp-orange);
}

.contact-note {
	display: grid;
	gap: 5px;
	padding: 18px;
	border-radius: var(--cp-radius);
	background: #f5f9fc;
}

.contact-note strong {
	color: var(--cp-blue-2);
}

.contact-form {
	padding: 26px;
}

@media (max-width: 1160px) {
	.primary-nav {
		gap: 18px;
	}

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

	.service-card .round-icon {
		top: 112px;
	}

	.why-grid,
	.reviews-wrap,
	.service-area,
	.site-footer__main {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.why-grid > :first-child,
	.reviews-wrap > :first-child,
	.service-area > :first-child {
		grid-column: 1 / -1;
	}

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

	.service-hero__grid,
	.service-overview,
	.service-reviews,
	.service-area-banner {
		grid-template-columns: 1fr;
	}

	.service-hero__image {
		margin-right: 0;
		min-height: 340px;
	}

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

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

	.service-process__card:nth-child(2)::after {
		display: none;
	}

	.service-area-banner > div:first-child {
		padding: 28px 26px;
	}

	.top-page-hero__grid,
	.split-content,
	.contact-page-grid,
	.area-page-layout,
	.reviews-page-head {
		grid-template-columns: 1fr;
	}

	.top-page-hero__image {
		margin-right: 0;
		height: 300px;
	}

	.project-gallery,
	.review-page-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

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

@media (max-width: 880px) {
	.container,
	.hero__inner {
		width: min(100% - 32px, var(--cp-max));
	}

	.topbar__inner {
		flex-direction: column;
		gap: 2px;
		padding: 5px 0;
	}

	.site-header__inner {
		min-height: 72px;
	}

	.brand-link {
		width: 202px;
	}

	.brand-link img {
		width: 196px;
	}

	.icon-btn {
		display: inline-flex;
		flex: 0 0 44px;
	}

	.header-actions {
		margin-left: auto;
	}

	.primary-nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		display: none;
		grid-template-columns: 1fr;
		gap: 0;
		background: #fff;
		border-top: 1px solid var(--cp-line);
		box-shadow: 0 18px 28px rgba(6, 30, 62, .12);
	}

	.primary-nav.is-open {
		display: grid;
	}

	.primary-nav a {
		padding: 15px 24px;
		border-bottom: 1px solid var(--cp-line);
	}

	.primary-nav a::after {
		display: none;
	}

	.nav-dropdown {
		display: grid;
	}

	.services-dropdown {
		position: static;
		display: grid;
		grid-template-columns: 1fr;
		width: auto;
		padding: 0 18px 12px;
		border: 0;
		border-bottom: 1px solid var(--cp-line);
		border-radius: 0;
		box-shadow: none;
		opacity: 1;
		pointer-events: auto;
		transform: none;
	}

	.services-dropdown a {
		min-height: 38px;
		padding: 9px 12px;
		border-bottom: 0;
		font-size: 12px;
	}

	.header-actions .btn {
		display: none;
	}

	.hero {
		background:
			linear-gradient(180deg, rgba(248, 250, 252, .94), rgba(248, 250, 252, .84)),
			url("assets/img/hero-painter-original.webp") center top / cover no-repeat;
		min-height: auto;
	}

	.hero__inner {
		padding: 36px 0 58px;
	}

	.hero-card {
		padding: 27px 24px;
	}

	.hero h1 {
		font-size: clamp(34px, 10vw, 42px);
	}

	.trust-strip {
		margin-top: -20px;
	}

	.trust-strip__grid,
	.services-grid,
	.projects-grid,
	.why-grid,
	.reviews-wrap,
	.service-area,
	.site-footer__main {
		grid-template-columns: 1fr;
	}

	.trust-item {
		border-bottom: 1px solid var(--cp-line);
	}

	.trust-item:last-child {
		border-bottom: 0;
	}

	.service-card .round-icon {
		top: 50%;
		transform: translate(-50%, -24px);
	}

	.why {
		padding: 28px 22px;
	}

	.cta-band__inner {
		grid-template-columns: 1fr;
		text-align: center;
		padding: 28px 24px;
	}

	.cta-band svg {
		margin: 0 auto;
	}

	.footer-badge {
		margin: 0;
	}

	.site-footer__bottom .container {
		flex-direction: column;
		justify-content: center;
		padding: 11px 0;
		text-align: center;
	}

	.service-hero__copy {
		padding: 27px 0 24px;
	}

	.service-hero h1 {
		font-size: clamp(35px, 11vw, 48px);
	}

	.service-hero__image {
		min-height: 260px;
	}

	.service-hero__image::before {
		background: linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, .18) 60%);
	}

	.service-section {
		padding: 42px 0;
	}

	.service-benefits,
	.service-process,
	.faq-grid {
		grid-template-columns: 1fr;
	}

	.service-process {
		gap: 20px;
	}

	.service-process__card::after {
		display: none;
	}

	.service-reviews {
		gap: 16px;
	}

	.top-page-hero__copy {
		padding: 30px 0 22px;
	}

	.top-page-hero h1 {
		font-size: clamp(34px, 11vw, 48px);
	}

	.top-page-hero__image {
		height: 240px;
	}

	.site-page-section {
		padding: 42px 0;
	}

	.value-grid,
	.project-gallery,
	.review-page-grid,
	.area-card-grid {
		grid-template-columns: 1fr;
	}

	.area-page-map {
		min-height: 260px;
	}
}

@media (max-width: 560px) {
	.topbar__rating {
		font-size: 12px;
	}

	.hero-actions,
	.estimate-form {
		grid-template-columns: 1fr;
	}

	.hero-actions .btn,
	.estimate-form .btn {
		width: 100%;
	}

	.hero-checks {
		display: grid;
		gap: 10px;
	}

	.section {
		padding: 44px 0;
	}

	.section-head {
		display: block;
	}

	.section-head .text-link {
		margin-top: 12px;
	}

	.gallery-filter {
		flex: 1 1 calc(50% - 8px);
		min-height: 44px;
		padding: 9px 10px;
		font-size: 12px;
	}

	.service-card .round-icon {
		top: 118px;
	}

	.reviews-wrap {
		padding: 18px;
	}

	.breadcrumb {
		margin-bottom: 24px;
	}

	.service-trust {
		display: grid;
		gap: 10px;
	}

	.service-benefit {
		grid-template-columns: 46px 1fr;
	}

	.service-benefit .cp-icon {
		width: 46px;
		height: 46px;
		padding: 12px;
	}

	.service-area-banner .area-list {
		grid-template-columns: 1fr;
	}

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

	.contact-panel,
	.contact-form {
		padding: 22px;
	}
}
