/* footer-modern.css — task_0038 sitewide footer visual refresh
 * Pure CSS overrides on top of main_1.css's existing rules.
 * Tokens-only. Mirrors visual language of home-cta + home-trust + home-process.
 */

/* ── Main footer band ─────────────────────────────────────── */
section.footer {
	background: var(--c-dark);
	background-image:
		radial-gradient(circle at 18% 20%, rgba(244, 111, 12, .14) 0%, transparent 55%),
		radial-gradient(circle at 82% 80%, rgba(120, 166, 54, .12) 0%, transparent 55%);
	border-top: 0;
	color: rgba(255, 255, 255, .82);
	padding: 4rem 0 3rem;
	font-size: .95rem;
	position: relative;
	isolation: isolate;
	overflow: hidden;
}

section.footer::before {
	content: "";
	position: absolute;
	left: 50%;
	top: 0;
	width: 96px;
	height: 4px;
	transform: translateX(-50%);
	background: linear-gradient(90deg, var(--c-orange-brand), var(--c-green-brand));
	border-radius: 0 0 4px 4px;
	pointer-events: none;
}

section.footer h3 {
	color: var(--c-white);
	font-size: 1.0625rem;
	font-weight: 800;
	letter-spacing: -.005em;
	padding: 0 0 .65rem;
	margin: 0 0 1rem;
	position: relative;
	text-align: left;
}

section.footer h3::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 32px;
	height: 3px;
	background: linear-gradient(90deg, var(--c-orange-brand), var(--c-orange-shade));
	border-radius: 3px;
}

section.footer p,
section.footer li,
section.footer a {
	font-size: .9375rem;
	line-height: 1.55;
}

section.footer ul {
	list-style: none;
	margin: 0 0 1.25rem;
	padding: 0;
}

section.footer .footer-services li {
	margin-bottom: .35rem;
}

section.footer a {
	color: var(--c-white);
	text-decoration: none;
	transition: color .15s ease, transform .15s ease;
	opacity: .82;
}

section.footer a:hover,
section.footer a:focus-visible {
	color: var(--c-orange-brand);
	opacity: 1;
	outline: none;
}

section.footer .footer-services a {
	display: inline-block;
	position: relative;
	padding-left: 14px;
}

section.footer .footer-services a::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 6px;
	height: 2px;
	background: var(--c-orange-brand);
	border-radius: 2px;
	opacity: .65;
	transition: width .2s ease, opacity .2s ease;
}

section.footer .footer-services a:hover::before {
	width: 10px;
	opacity: 1;
}

/* ── Contact column — phone + email + hours ──────────────── */
section.footer .footer_contact .call-now-button,
section.footer .footer_contact .email-now-button {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	font-weight: 700;
	color: var(--c-white);
	opacity: 1;
	margin: .15rem 0;
}

section.footer .footer_contact .call-now-button {
	color: var(--c-orange-brand);
	font-size: 1.0625rem;
}

section.footer .footer_contact .call-now-button:hover {
	color: var(--c-white);
}

section.footer .footer_contact > div {
	font-size: .8125rem;
	opacity: .85;
	margin: .35rem 0 1rem;
}

/* ── Newsletter button (column 3) ─────────────────────────── */
section.footer .flf_footer .btn-success {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: .85rem 1.25rem;
	background: var(--c-green-brand) !important;
	border: 0 !important;
	color: var(--c-white) !important;
	font-weight: 800;
	letter-spacing: .03em;
	text-transform: uppercase;
	border-radius: 8px;
	box-shadow: 0 4px 14px rgba(120, 166, 54, .3);
	transition: background .15s ease, transform .15s ease, box-shadow .15s ease;
	margin-bottom: 1.25rem !important;
}

section.footer .flf_footer .btn-success:hover,
section.footer .flf_footer .btn-success:focus-visible {
	background: var(--c-green-deep) !important;
	transform: translateY(-1px);
	box-shadow: 0 8px 20px rgba(120, 166, 54, .45);
	outline: none;
}

section.footer .flf_footer .btn-success:focus-visible {
	box-shadow:
		0 8px 20px rgba(120, 166, 54, .45),
		0 0 0 3px rgba(120, 166, 54, .55);
}

section.footer .flf_footer p {
	margin-top: .75rem;
	font-size: .8125rem;
	opacity: .8;
	line-height: 1.5;
}

section.footer .flf_footer p a {
	color: var(--c-orange-brand);
	opacity: 1;
}

/* ── Social media row ─────────────────────────────────────── */
section.footer .social-media-footer {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
	margin: 1rem 0;
	padding: 0;
}

section.footer .social-media-footer li {
	margin: 0;
}

section.footer .social-media-footer a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .06);
	color: var(--c-white);
	opacity: 1;
	transition: background .2s ease, color .2s ease, transform .2s ease;
}

section.footer .social-media-footer a:hover,
section.footer .social-media-footer a:focus-visible {
	background: var(--c-orange-brand);
	color: var(--c-dark);
	transform: translateY(-2px);
}

section.footer .social-media-footer a i {
	font-size: 1rem;
}

/* ── Map footer: BEM-named CSS Grid, no Bootstrap ──────────────
 * task_0083 — replaces previous `.map_foot .row` overrides that fought
 * Bootstrap col-xl-* max-width constraints. New markup in footer.php
 * uses BEM classes only; legacy `.map_foot` retained on the section
 * element for any other CSS targeting it. */
.map-foot {
	background: var(--c-dark);
	color: var(--c-white);
	padding-bottom: 0;
}

.map-foot__grid {
	display: grid;
	grid-template-columns: 1fr;
	align-items: stretch;
}

@media (min-width: 1024px) {
	.map-foot__grid {
		grid-template-columns: 2fr 1fr;
	}
}

.map-foot__map {
	line-height: 0;
}

.map-foot__map iframe {
	display: block;
	width: 100%;
	height: 450px;
	border: 0;
}

.map-foot__contact {
	display: flex;
	flex-direction: column;
	justify-content: center;
	background: linear-gradient(140deg, var(--c-orange-brand) 0%, var(--c-orange-shade) 100%);
}

.map-foot__panel {
	padding: 1.75rem 1.5rem;
	color: var(--c-white);
}

@media (min-width: 1024px) {
	.map-foot__panel {
		padding: 2.5rem 2rem;
	}
}

.map-foot__heading {
	font-weight: 900;
	letter-spacing: -.01em;
	margin: 0 0 1rem;
	color: var(--c-white);
	font-size: 1.5rem;
}

.map-foot__details {
	list-style: none;
	margin: 0;
	padding: 0;
}

.map-foot__details-item {
	margin: 0 0 .75rem;
	color: var(--c-white);
	line-height: 1.5;
}

.map-foot__details-item span,
.map-foot__details-item a {
	color: var(--c-white);
}

.map-foot__details-item--phone a,
.map-foot__details-item--email a {
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 2px;
	text-decoration-color: rgba(255, 255, 255, .65);
	transition: text-decoration-color .15s ease, color .15s ease;
}

.map-foot__details-item--phone a:hover,
.map-foot__details-item--email a:hover,
.map-foot__details-item--phone a:focus-visible,
.map-foot__details-item--email a:focus-visible {
	color: var(--c-white);
	text-decoration-color: var(--c-white);
}

.map-foot .franchisee-social-links {
	display: inline-flex;
	gap: .5rem;
	flex-wrap: wrap;
	margin-top: 1rem;
}

.map-foot .franchisee-social-links a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: rgba(35, 31, 32, .15);
	color: var(--c-dark);
	transition: background .2s ease, transform .2s ease;
}

.map-foot .franchisee-social-links a:hover {
	background: var(--c-dark);
	color: var(--c-orange-brand);
	transform: translateY(-2px);
}

/* ── Subfooter band ───────────────────────────────────────── */
.subfooter {
	background: var(--c-dark);
	background-image: linear-gradient(180deg, rgba(244, 111, 12, .04) 0%, transparent 100%);
	color: rgba(255, 255, 255, .85);
	padding: 1.5rem 0;
	font-size: .8125rem;
	border-top: 1px solid rgba(255, 255, 255, .08);
}

.subfooter .siteby {
	display: inline-flex;
	align-items: center;
	gap: .75rem;
}

.subfooter .siteby img {
	border-radius: 4px;
	background: rgba(255, 255, 255, .9);
	padding: 4px;
	transition: transform .2s ease;
}

.subfooter .siteby img:hover {
	transform: translateY(-1px);
}

.subfooter .independent p {
	margin: 0;
	font-size: .8125rem;
	color: rgba(255, 255, 255, .8);
	letter-spacing: .02em;
}

.subfooter .independent {
	text-align: right;
}

@media (max-width: 991px) {
	.subfooter .independent { text-align: left; margin-top: .75rem; }
}

/* ── Reduced motion ───────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
	section.footer a,
	section.footer .footer-services a::before,
	section.footer .social-media-footer a,
	section.footer .flf_footer .btn-success,
	.map_foot .franchisee-social-links a,
	.subfooter .siteby img { transition: none; }

	section.footer .social-media-footer a:hover,
	.map_foot .franchisee-social-links a:hover,
	section.footer .flf_footer .btn-success:hover,
	.subfooter .siteby img:hover { transform: none; }
}

/* ── Recent posts list (footer column 2) — task_0064 ────────── */
section.footer .footer-recent-posts {
	list-style: none;
	margin: 0;
	padding: 0;
}
section.footer .footer-recent-posts li {
	margin: 0 0 1rem;
	padding: 0;
}
section.footer .footer-recent-posts a {
	display: block;
	color: var(--c-white);
	text-decoration: none;
	transition: color .15s ease;
}
section.footer .footer-recent-posts a:hover,
section.footer .footer-recent-posts a:focus-visible {
	color: var(--c-orange-brand);
}
section.footer .footer-recent-posts__title {
	display: block;
	font-weight: 700;
	font-size: .9375rem;
	line-height: 1.35;
	margin-bottom: .25rem;
}
section.footer .footer-recent-posts__date {
	display: block;
	font-size: .8125rem;
	opacity: .7;
	letter-spacing: .02em;
}
section.footer .footer-recent-posts__empty {
	color: rgba(255, 255, 255, .8);
	font-size: .9375rem;
	font-style: italic;
}
