.site-footer {
	width: 100%;
	background: #282b2f;
	color: #fff;
	padding: 56px 0 28px;
}

.site-footer a {
	color: #fff;
	text-decoration: none;
	transition: color 0.2s ease;
}

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

.footer-inner {
	width: min(var(--content-max), 100% - 40px);
	margin: 0 auto;
	display: grid;
	gap: 28px;
}

.footer-brand__logo {
	max-width: 180px;
	height: auto;
	display: block;
	margin-bottom: 0;
	flex-shrink: 0;
}

.footer-brand {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	width: 100%;
	margin-top: 32px;
}

.footer-brand__text {
	font-size: 26px;
	font-weight: 400;
	line-height: 1.35;
	color: #fff;
	flex: 1 1 auto;
	margin-left: auto;
	text-align: right;
	max-width: 70%;
}

.footer-brand__text,
.footer-brand__text * {
	font-size: 26px;
	font-weight: 400;
}

.footer-brand__text p {
	margin: 0;
}

.footer-brand__text p + p {
	margin-top: 0.65em;
}

.footer-widgets {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 28px;
}

.footer-widget {
	margin: 0;
}

.footer-widget > * + * {
	margin-top: 12px;
}

.footer-widget-column > .footer-widget + .footer-widget {
	margin-top: 22px;
	padding-top: 6px;
}

.site-footer .footer-widget-title,
.site-footer .widget-title {
	margin: 0 0 22px;
	color: #fff;
	font-size: 16px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.footer-widget-column,
.footer-widget-column p,
.footer-widget-column li,
.footer-widget-column a {
	font-size: 14px;
	font-weight: 400;
	line-height: 1.5;
}

.footer-widget-column ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 12px;
}

.footer-widget-column li {
	margin: 0;
}

.footer-separator {
	height: 2px;
	background: var(--color-primary);
	opacity: 0.9;
}

.footer-bottom {
	display: flex;
	gap: 20px;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	line-height: 1.5;
}

.footer-copyright {
	color: #fff;
	font-size: 14px;
	font-weight: 400;
	text-transform: uppercase;
}

.footer-copyright p {
	margin: 0;
}

.footer-legal-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
}

.footer-legal-navigation li {
	margin: 0;
	display: inline-flex;
	align-items: center;
}

.footer-legal-navigation li:not(:last-child)::after {
	content: "-";
	margin-left: 10px;
	color: #fff;
}

.footer-legal-navigation a {
	font-size: 14px;
	font-weight: 400;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
	.footer-brand {
		width: 100%;
		justify-content: space-between;
		align-items: center;
		gap: 32px;
	}

	.footer-brand__text {
		margin-left: auto;
		max-width: 60%;
		text-align: right;
	}
}

@media screen and (max-width: 767px) {
	.site-footer {
		padding: 56px 0 34px;
	}

	.footer-inner {
		gap: 40px;
	}

	.footer-brand {
		flex-direction: column;
		align-items: flex-start;
		gap: 22px;
	}

	.footer-brand__text {
		width: 100%;
		font-size: 26px;
		text-align: left;
		margin-left: 0;
	}

	.footer-brand__text,
	.footer-brand__text * {
		font-size: 26px;
		font-weight: 400;
	}

	.footer-widgets {
		grid-template-columns: 1fr;
		gap: 34px;
	}

	.footer-bottom {
		align-items: flex-start;
		flex-direction: column;
		gap: 18px;
	}
}
