.site-footer {
	padding: 5rem 0 2rem;
	background: #1f1f1f;
	color: rgba(255, 255, 255, 0.78);
}

.site-footer a {
	color: inherit;
	text-decoration: none;
	transition:
		color 0.2s ease,
		opacity 0.2s ease;
}

.site-footer a:hover,
.site-footer a:focus-visible {
	color: #ffffff;
}

.site-footer__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 1fr));
	gap: 4rem;
	padding-bottom: 4rem;
}

.site-footer__brand {
	max-width: 420px;
}

.site-footer__logo {
	display: inline-flex;
	flex-direction: column;
	margin-bottom: 1.5rem;
	color: #ffffff;
	line-height: 1.1;
}

.site-footer__logo:hover,
.site-footer__logo:focus-visible {
	color: #ffffff;
}

.site-footer__logo .custom-logo {
	width: auto;
	max-height: 64px;
}

.site-footer__title {
	font-size: 1.2rem;
	font-weight: 800;
	letter-spacing: 0.03em;
	text-transform: uppercase;
}

.site-footer__subtitle {
	margin-top: 0.35rem;
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.13em;
	text-transform: uppercase;
}

.site-footer__description {
	max-width: 360px;
	margin: 0;
	line-height: 1.7;
}

.site-footer__heading {
	margin-bottom: 1.25rem;
	color: #ffffff;
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.site-footer__menu,
.site-footer__contact {
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-footer__menu li,
.site-footer__contact li {
	margin-bottom: 0.8rem;
}

.site-footer__bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	padding-top: 2rem;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	font-size: 0.9rem;
}

.site-footer__bottom p {
	margin: 0;
}

.site-footer__legal {
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem;
}

@media (max-width: 991.98px) {
	.site-footer__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.site-footer__brand {
		grid-column: 1 / -1;
	}
}

@media (max-width: 575.98px) {
	.site-footer {
		padding-top: 4rem;
	}

	.site-footer__grid {
		grid-template-columns: 1fr;
		gap: 2.5rem;
	}

	.site-footer__brand {
		grid-column: auto;
	}

	.site-footer__bottom {
		align-items: flex-start;
		flex-direction: column;
	}
}


@media (max-width: 767.98px) {
	.site-footer__grid {
		display: grid;
		gap: 2.5rem;
	}

	.site-footer__bottom {
		flex-direction: column;
		align-items: flex-start;
		gap: 1rem;
	}

	.site-footer__legal {
		display: flex;
		flex-wrap: wrap;
		gap: 1rem;
	}
}
