/* ─── Floating "Get A FREE Quote" bar ────────────────────────────────────── */

.cpm-float-cta {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 998;
	background: var(--cpm-color-white);
	border-top: 1px solid var(--cpm-color-border);
	box-shadow: 0 -4px 24px rgba(0, 0, 0, .1);
	transform: translateY(100%);
	transition: transform var(--cpm-transition);
}

.cpm-float-cta.is-visible {
	transform: translateY(0);
}

.cpm-float-cta.is-hidden {
	display: none;
}

.cpm-float-cta__inner {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	padding-block: .875rem;
}

.cpm-float-cta__text {
	flex: 1;
	font-size: clamp(1rem, 2vw, 1.375rem);
	font-weight: 700;
	color: var(--cpm-color-dark);
	margin: 0;
}

.cpm-float-cta__highlight {
	color: var(--cpm-color-red);
	font-style: normal;
}

.cpm-float-cta__btn {
	flex-shrink: 0;
	background: var(--cpm-color-dark);
	color: var(--cpm-color-white);
	border: 2px solid var(--cpm-color-dark);
	font-size: .9375rem;
}

.cpm-float-cta__btn:hover,
.cpm-float-cta__btn:focus-visible {
	background: var(--cpm-color-black);
	border-color: var(--cpm-color-black);
	color: var(--cpm-color-white);
}

.cpm-float-cta__close {
	flex-shrink: 0;
	background: none;
	border: none;
	font-size: 1.5rem;
	line-height: 1;
	color: var(--cpm-color-gray);
	cursor: pointer;
	padding: .25rem .5rem;
	transition: color var(--cpm-transition);
}

.cpm-float-cta__close:hover {
	color: var(--cpm-color-dark);
}

/* ─── Footer map + overlap CTA ────────────────────────────────────────────── */

.cpm-footer-map-wrap {
	position: relative;
}

.cpm-footer-map {
	width: 100%;
	height: 300px;
	overflow: hidden;
	display: block;
	line-height: 0;
}

.cpm-footer-map iframe {
	width: 100%;
	height: 300px;
	border: none;
	display: block;
}

.cpm-map-cta-bar {
	position: absolute;
	bottom: -46px;
	left: 0;
	right: 0;
	z-index: 10;
	padding-inline: clamp(1rem, 4vw, 2rem);
}

.cpm-map-cta-bar__inner {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 2rem;
	background: #ffffff;
	border-radius: 18px;
	padding: 1.5rem 2.5rem;
	box-shadow: 0 4px 24px rgba(0, 0, 0, .10);
	max-width: 720px;
	margin-inline: auto;
}

.cpm-map-cta-bar__text {
	font-family: 'Montserrat', sans-serif;
	font-size: 32px;
	line-height: 36px;
	font-weight: 700;
	color: rgb(128, 128, 128);
	margin: 0;
}

.cpm-map-cta-bar__highlight {
	color: rgb(255, 0, 0);
	font-style: normal;
	font-weight: 700;
	font-size: 32px;
	line-height: 36px;
}

.cpm-map-cta-bar__btn {
	flex-shrink: 0;
	position: relative;
	overflow: hidden;
	background: rgb(108, 108, 108);
	color: #ffffff;
	font-family: 'Montserrat', sans-serif;
	font-size: 16px;
	line-height: 20px;
	font-weight: 600;
	padding: .85rem 2.5rem;
	border-radius: 10px;
	text-decoration: none;
	white-space: nowrap;
	display: inline-flex;
	align-items: center;
}

.cpm-map-cta-bar__btn::before {
	content: '';
	position: absolute;
	inset: 0;
	background: rgb(30, 30, 30);
	transform: translateX(-100%);
	transition: transform 0.35s ease;
	z-index: 0;
}

.cpm-map-cta-bar__btn:hover::before {
	transform: translateX(0);
}

.cpm-map-cta-bar__btn span {
	position: relative;
	z-index: 1;
	display: inline-block;
	font-size: 0;
	overflow: hidden;
	height: 20px;
	white-space: nowrap;
}

.cpm-map-cta-bar__btn span::before,
.cpm-map-cta-bar__btn span::after {
	display: block;
	font-size: 16px;
	line-height: 20px;
	font-weight: 600;
	color: #ffffff;
	transition: transform 0.35s ease;
	white-space: nowrap;
	content: attr(data-text);
}

.cpm-map-cta-bar__btn span::before {
	transform: translateX(0);
}

.cpm-map-cta-bar__btn span::after {
	position: absolute;
	top: 0;
	left: 0;
	transform: translateX(-100%);
}

.cpm-map-cta-bar__btn:hover span::before {
	transform: translateX(100%);
}

.cpm-map-cta-bar__btn:hover span::after {
	transform: translateX(0);
}

.cpm-footer {
	padding-top: 60px;
}

/* ─── Main footer ─────────────────────────────────────────────────────────── */

.cpm-footer {
	background: var(--cpm-color-footer);
	border-top: 1px solid var(--cpm-color-border);
}

.cpm-footer__inner {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: clamp(2rem, 5vw, 4rem);
	padding-block: clamp(2.5rem, 5vw, 4rem);
	align-items: start;
}

/* ─── Brand column ────────────────────────────────────────────────────────── */

.cpm-footer__logo-link {
	display: block;
	margin-bottom: 1.25rem;
	text-decoration: none;
	text-align: center;
}

.cpm-footer__col--brand {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.cpm-footer__logo-link img {
	max-height: 70px;
	width: auto;
}

.cpm-footer__logo--text {
	font-size: 1.125rem;
	font-weight: 700;
	color: var(--cpm-color-dark);
}

.cpm-footer__social {
	display: flex;
	gap: .75rem;
	justify-content: center;
}

.cpm-footer__social-link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	color: rgb(108, 108, 108);
	text-decoration: none;
	transition: color var(--cpm-transition);
}

.cpm-footer__social-link:hover {
	color: var(--cpm-color-red);
}

.cpm-footer__social-link .cpm-icon {
	width: 28px;
	height: 28px;
}

/* ─── Nav column ──────────────────────────────────────────────────────────── */

.cpm-footer__col-heading {
	font-family: 'Montserrat', sans-serif;
	font-style: normal;
	font-weight: 700;
	font-size: 16px;
	line-height: 20px;
	color: rgb(30, 30, 30);
	margin-bottom: 1rem;
	text-transform: uppercase;
}

.cpm-footer__menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

.cpm-footer__menu li {
	margin-bottom: .5rem;
	display: flex;
	align-items: center;
	gap: .5rem;
}

.cpm-footer__menu li::before {
	content: '●';
	font-size: 14px;
	color: rgb(30, 30, 30);
	flex-shrink: 0;
	transition: color var(--cpm-transition);
}

.cpm-footer__menu li:hover::before {
	color: var(--cpm-color-red);
}

.cpm-footer__menu a {
	font-family: 'Montserrat', sans-serif;
	font-style: normal;
	font-weight: 400;
	font-size: 16px;
	line-height: 19px;
	color: rgb(30, 30, 30);
	text-decoration: none;
	transition: color var(--cpm-transition);
}

.cpm-footer__menu a:hover {
	color: var(--cpm-color-red);
}

/* ─── Contact column ──────────────────────────────────────────────────────── */

.cpm-footer__contact-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.cpm-footer__contact-item {
	display: flex;
	align-items: flex-start;
	gap: .75rem;
}

.cpm-footer__contact-icon {
	flex-shrink: 0;
	width: 2rem;
	height: 2rem;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--cpm-color-red);
}

.cpm-footer__contact-icon .cpm-icon {
	width: 1.25rem;
	height: 1.25rem;
}

.cpm-footer__contact-body {
	display: flex;
	flex-direction: column;
	gap: .15rem;
}

.cpm-footer__contact-label {
	font-family: 'Montserrat', sans-serif;
	font-style: normal;
	font-weight: 700;
	font-size: 12px;
	line-height: 16px;
	text-transform: uppercase;
	color: rgb(128, 128, 128);
}

.cpm-footer__contact-value {
	font-family: 'Montserrat', sans-serif;
	font-style: normal;
	font-weight: 400;
	font-size: 14px;
	line-height: 26px;
	color: rgb(30, 30, 30);
	text-decoration: none;
	transition: color var(--cpm-transition);
}

a.cpm-footer__contact-value:hover {
	color: var(--cpm-color-red);
}

/* ─── Bottom bar ──────────────────────────────────────────────────────────── */

.cpm-footer__bottom {
	background: var(--cpm-color-footer);
	border-top: 1px solid var(--cpm-color-border);
	padding-block: 1.75rem;
}

.cpm-footer__bottom-inner {
	display: flex;
	align-items: center;
	flex-wrap: nowrap;
	gap: 1.5rem;
	justify-content: center;
}

.cpm-footer__copyright {
	font-family: 'Montserrat', sans-serif;
	font-style: normal;
	font-weight: 400;
	font-size: 16px;
	line-height: 19px;
	color: rgb(30, 30, 30);
	margin: 0;
	white-space: nowrap;
}

.cpm-footer__marketing {
	display: flex;
	align-items: center;
	gap: .5rem;
	font-family: 'Montserrat', sans-serif;
	font-style: normal;
	font-weight: 400;
	font-size: 16px;
	line-height: 19px;
	color: rgb(30, 30, 30);
	margin: 0;
	white-space: nowrap;
	flex-shrink: 0;
}

.cpm-footer__marketing-link {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
}

.cpm-footer__marketing-logo {
	max-height: 44px;
	width: auto;
}

.cpm-footer__legal {
	display: flex;
	gap: 1.25rem;
	flex-shrink: 0;
}

.cpm-footer__legal a {
	font-family: 'Montserrat', sans-serif;
	font-style: normal;
	font-weight: 400;
	font-size: 16px;
	line-height: 19px;
	color: rgb(30, 30, 30);
	text-decoration: none;
	white-space: nowrap;
	transition: color var(--cpm-transition);
}

.cpm-footer__legal a:hover {
	color: var(--cpm-color-red);
}

/* ─── Responsive ──────────────────────────────────────────────────────────── */

@media (max-width: 834px) {
	.cpm-footer__inner {
		grid-template-columns: 1fr 1fr;
	}

	.cpm-footer__col--brand {
		grid-column: 1 / -1;
	}

	.cpm-float-cta__text {
		font-size: .9375rem;
	}
}

@media (max-width: 768px) {
	/* Map CTA bar — keep desktop overlap style */
	.cpm-map-cta-bar {
		position: absolute;
		bottom: -60px;
		left: 0;
		right: 0;
		padding-inline: 20px;
	}

	.cpm-map-cta-bar__inner {
		flex-direction: column;
		align-items: center;
		text-align: center;
		gap: .75rem;
		padding: 1.25rem 1.25rem;
		border-radius: 18px;
		max-width: 100%;
		box-shadow: 0 4px 24px rgba(0,0,0,.10);
	}

	.cpm-map-cta-bar__text {
		font-size: 20px;
		line-height: 26px;
	}

	.cpm-map-cta-bar__highlight {
		font-size: 20px;
		line-height: 26px;
	}

	.cpm-map-cta-bar__btn {
		width: 100%;
		justify-content: center;
		padding: .75rem 1.5rem;
	}

	.cpm-footer {
		padding-top: 80px;
	}

	.cpm-footer__inner {
		grid-template-columns: 1fr;
		padding-inline: 20px;
		gap: 1.5rem;
	}

	.cpm-footer__col--brand {
		grid-column: 1;
	}

	.cpm-footer__bottom-inner {
		flex-direction: column;
		align-items: center;
		text-align: center;
		gap: .75rem;
		padding-inline: 20px;
	}

	.cpm-footer__copyright {
		font-size: 16px;
		line-height: 24px;
		text-align: center;
		white-space: normal;
		word-break: break-word;
	}

	.cpm-footer__marketing {
		font-size: 15px;
		flex-direction: column;
		align-items: center;
		text-align: center;
		gap: .5rem;
	}

	.cpm-footer__legal {
		justify-content: center;
		flex-wrap: wrap;
	}

	.cpm-footer__legal a {
		font-size: 15px;
	}

	.cpm-float-cta__inner {
		flex-wrap: wrap;
		gap: .75rem;
		padding-inline: 20px;
	}

	.cpm-float-cta__btn {
		width: 100%;
		text-align: center;
		justify-content: center;
	}
}
