.footer-contacts {
	display: grid;
	grid-template-columns: 1fr;
	align-items: start;
	gap: 24px 20px;
}

.footer-contact-cluster {
	display: grid;
	grid-template-columns: 1fr;
	gap: 24px 20px;
}

.footer-secondary {
	display: grid;
	gap: 30px;
	margin-top: 30px;
	padding-top: 30px;
	border-top: 1px solid rgba(88, 26, 14, 0.15);
}

.footer-contact {
	display: flex;
	flex-direction: column;
	gap: 8px;
	line-height: 1.5;
}

.footer-contact a,
.footer-legal a {
	font-weight: 700;
}

.footer-contact:first-child,
.footer-contact address {
	overflow-wrap: anywhere;
}

.footer-contact a[href^="tel:"] {
	white-space: nowrap;
}

.footer-contact a[href^="mailto:"] {
	white-space: nowrap;
}

.footer-socials,
.footer-links-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 16px;
}

.footer-socials {
	justify-content: flex-start;
	align-items: flex-start;
	text-align: left;
}

.footer-secondary .footer-contact:last-child {
	justify-self: start;
	text-align: left;
}

.footer-socials a {
	border-bottom: 1px solid rgba(88, 26, 14, 0.35);
	font-size: 0.875rem;
	transition: border-color 0.3s;
}

.footer-socials a:hover {
	border-color: #581a0e;
}

.footer-contact address {
	font-style: normal;
}

.footer-legal {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 24px;
	align-items: center;
	padding-top: 18px;
	margin-top: 18px;
	border-top: 1px solid rgba(88, 26, 14, 0.15);
	font-size: 0.9375rem;
}

.footer-copyright {
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	color: rgba(88, 26, 14, 0.72);
}

.footer-contact-brand strong {
	font-family: 'AA Bebas Neue', sans-serif;
	font-size: 2.5rem;
	line-height: 1;
}

.footer-label {
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	opacity: 0.7;
	text-transform: uppercase;
}

@media only screen and (min-width: 576px) and (max-width: 767px) {
	.footer-contact-cluster {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media only screen and (min-width: 768px) {
	.footer-contact-cluster {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 28px 24px;
	}

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

@media only screen and (min-width: 1200px) {
	.footer-contacts {
		display: grid;
		grid-template-columns: repeat(5, max-content);
		justify-content: space-between;
		align-items: start;
		gap: 0;
	}

	.footer-contact-cluster {
		display: contents;
	}

	.footer-contact-brand {
		max-width: 220px;
	}

	.footer-contact-phone {
		max-width: 190px;
	}

	.footer-contact-email {
		max-width: 235px;
	}

	.footer-contact-address {
		max-width: 185px;
		min-width: 0;
	}

	.footer-contact-hours {
		max-width: 170px;
	}

	.footer-secondary .footer-contact:last-child {
		justify-self: end;
		text-align: right;
	}

	.footer-secondary .footer-contact:last-child .footer-socials {
		justify-content: flex-end;
	}
}

@media only screen and (max-width: 1199px) {
	.footer-contact a[href^="tel:"] {
		white-space: normal;
	}

	.footer-contact a[href^="mailto:"] {
		white-space: normal;
		overflow-wrap: anywhere;
	}
}

@media only screen and (max-width: 767px) {
	.footer-legal {
		flex-direction: column;
		align-items: flex-start;
	}
}
