/*
	Footer: logo + contacts column, three menu columns, trust line, legal bar.

	Hand-written on top of the compiled bundle (its PostCSS sources are not in
	this repo) and loaded right after it. Selectors repeat the bundle's
	specificity where they override it, so source order decides.
	Breakpoints match the bundle: 1024px (tablet) and 767px (mobile).
*/

.footer {
	--footer-text: #fff;
	--footer-muted: #cfcfcf;
	--footer-line: rgba(255, 255, 255, .15);
	--footer-accent: var(--primary, #af2013);
}

/* ---------- Text links: white, underlined on hover ---------- */

.footer .footer__nap a,
.footer .footer__menu a,
.footer .footer__legal a {
	color: var(--footer-text);
	text-decoration: none;
}

.footer .footer__nap a:hover,
.footer .footer__menu a:hover,
.footer .footer__legal a:hover {
	color: var(--footer-text);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.footer .footer__body a:focus-visible,
.footer .footer__bar a:focus-visible {
	outline: 2px solid var(--footer-text);
	outline-offset: 2px;
	border-radius: 2px;
}

/* ---------- Grid ---------- */

.footer .footer__body {
	color: var(--footer-text);
}

.footer .footer__body .footer__content-container {
	display: grid;
	grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr));
	gap: 48px;
	padding-bottom: 56px;
}

/* ---------- Logo, tagline ---------- */

.footer .footer__content-contacts a.logo {
	display: inline-block;
	max-width: 100%;
	margin-bottom: 16px;
}

.footer .footer__content-contacts a.logo img {
	display: block;
	max-width: 100%;
	height: auto;
}

.footer .footer__body .footer__content-contacts--message {
	margin: 0 0 26px;
	color: var(--footer-text);
	font-size: 18px;
	line-height: 28px;
	font-weight: 600;
	letter-spacing: .2px;
}

.footer .footer__body .footer__content-contacts--message p {
	margin: 0;
	font: inherit;
	letter-spacing: inherit;
	color: inherit;
}

/* ---------- Contacts (NAP) ---------- */

.footer .footer__nap {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin: 0 0 24px;
	font-style: normal;
}

.footer .footer__nap-row {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	font-size: 15px;
	line-height: 24px;
}

.footer .footer__nap-row--no-icon {
	padding-left: 30px;
}

.footer .footer__nap-icon {
	flex: none;
	width: 18px;
	height: 18px;
	margin-top: 3px;
	background-color: var(--footer-text);
	-webkit-mask: var(--icon) no-repeat center / contain;
	mask: var(--icon) no-repeat center / contain;
}

.footer .footer__nap-label {
	display: block;
	color: var(--footer-muted);
	font-size: 12px;
	line-height: 18px;
	font-weight: 600;
	letter-spacing: 1.2px;
	text-transform: uppercase;
}

/* The bundle sets every tel: link in the footer to weight 100. */
.footer .footer__nap a.footer__nap-value--phone {
	font-size: 18px;
	line-height: 28px;
	font-weight: 600;
}

.footer .footer__nap-value--hours p {
	margin: 0;
	font: inherit;
	color: inherit;
}

/* ---------- Socials ---------- */

.footer .footer__content-contacts--socials {
	gap: 10px;
	margin: 0 0 22px;
}

.footer .footer__content-contacts--socials .footer__content--single_social {
	width: auto;
	height: auto;
}

.footer .footer__content-contacts--socials .footer__content--single_social a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, .3);
	border-radius: 50%;
	transition: border-color .3s;
}

.footer .footer__content-contacts--socials .footer__content--single_social .custom-icon {
	align-items: center;
	justify-content: center;
}

.footer .footer__content-contacts--socials .footer__content--single_social a:hover {
	border-color: var(--footer-text);
}

.footer .footer__content-contacts--socials .footer__content--single_social i,
.footer .footer__content-contacts--socials .footer__content--single_social a:hover i {
	color: var(--footer-text);
	font-size: 16px;
}

/* ---------- Review button ---------- */

.footer .footer__content-contacts--cta {
	display: inline-flex;
	max-width: 100%;
}

.footer .footer__button {
	width: auto;
	padding: 11px 22px;
	color: var(--footer-text);
	font-size: 16px;
	line-height: 26px;
	font-weight: 500;
	text-align: center;
}

/* ---------- Menu columns ---------- */

.footer .footer__menu-title {
	margin: 0 0 22px;
	color: var(--footer-text);
	font-size: 16px;
	line-height: 24px;
	font-weight: 700;
	letter-spacing: .16px;
}

.footer .footer__menu-title::after {
	content: "";
	display: block;
	width: 32px;
	height: 3px;
	margin-top: 10px;
	border-radius: 2px;
	background: var(--footer-accent);
}

.footer .nav--footer ul {
	display: block;
	margin: 0;
	padding: 0;
	list-style: none;
}

.footer .nav--footer ul li {
	margin: 0 0 6px;
	padding: 0;
}

.footer .nav--footer ul li a {
	display: inline-block;
	padding: 4px 0;
	font-size: 15px;
	line-height: 24px;
	letter-spacing: .2px;
}

/* "All Services →" — add the CSS class footer-link-all to the menu item. */
.footer .nav--footer .footer-link-all a {
	margin-top: 6px;
	font-weight: 600;
}

.footer .nav--footer .footer-link-all a::after {
	content: "\00a0\2192";
}

/* ---------- Trust line + legal bar ---------- */

.footer .footer__bar {
	padding: 0;
	color: var(--footer-text);
	font-size: 14px;
	letter-spacing: normal;
}

.footer .footer__trust {
	margin: 0;
	padding: 20px 0;
	border-top: 1px solid var(--footer-line);
	color: var(--footer-muted);
	font-size: 14px;
	line-height: 22px;
	text-align: center;
}

.footer .footer__trust span {
	white-space: nowrap;
}

.footer .footer__trust span + span::before {
	content: "\00b7";
	margin: 0 10px;
}

.footer .footer__bar-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 24px;
	padding: 20px 0 28px;
	border-top: 1px solid var(--footer-line);
	box-shadow: none;
	font-size: 14px;
	line-height: 24px;
	text-align: left;
}

.footer .footer__copyright {
	flex-shrink: 1;
	width: auto;
	max-width: none;
	margin: 0;
	font-family: inherit;
	font-size: 14px;
	line-height: 24px;
	font-weight: 400;
	letter-spacing: normal;
	text-align: left;
}

.footer .footer__legal-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.footer .footer__legal-list li {
	margin: 0;
	padding: 0;
}

/* ---------- Tablet ---------- */

@media (max-width: 1024px) {
	.footer .footer__body .footer__content-container {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 48px;
	}
}

/* ---------- Mobile ---------- */

@media (max-width: 767px), screen and (max-width: 812px) and (orientation: landscape) {
	.footer .footer__body {
		padding-top: 56px;
	}

	.footer .footer__body .footer__content-container {
		grid-template-columns: minmax(0, 1fr);
		gap: 36px;
		padding-bottom: 40px;
	}

	.footer .footer__trust {
		text-align: left;
	}

	.footer .footer__trust span {
		display: block;
		white-space: normal;
	}

	.footer .footer__trust span + span::before {
		content: none;
	}

	.footer .footer__bar-inner {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		text-align: left;
	}

	.footer .footer__copyright {
		text-align: left;
	}
}
