/* Footer */

.wg-footer {
	width: 100%;
	margin-top: auto;
	color: #cbd5e1;
	background: #102033;
}

.wg-footer__main {
	padding: 64px 0 56px;
}

.wg-footer__container {
	display: grid;
	grid-template-columns: 1.4fr repeat(3, 1fr);
	gap: 48px;
	width: min(var(--wg-container-width), calc(100% - (2 * var(--wg-page-gutter))));
	margin-inline: auto;
}

.wg-footer__brand {
	display: inline-flex;
	align-items: center;
	margin-bottom: 20px;
	color: #ffffff;
	font-size: 24px;
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.5px;
	text-decoration: none;
}

.wg-footer__brand:hover,
.wg-footer__brand:focus {
	color: #ffffff;
}

.wg-footer__brand-accent {
	color: #55a7cc;
}

.wg-footer__description {
	max-width: 320px;
	margin: 0;
	color: #aebdcb;
	font-size: 15px;
	line-height: 1.7;
}

.wg-footer__title {
	margin: 0 0 18px;
	color: #ffffff;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.3;
}

.wg-footer__navigation {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 11px;
}

.wg-footer__navigation a,
.wg-footer__legal a {
	color: #cbd5e1;
	font-size: 15px;
	text-decoration: none;
	transition: color 0.2s ease;
}

.wg-footer__navigation a:hover,
.wg-footer__navigation a:focus,
.wg-footer__legal a:hover,
.wg-footer__legal a:focus {
	color: #ffffff;
}

.wg-footer__text {
	max-width: 260px;
	margin: 0 0 18px;
	color: #aebdcb;
	font-size: 15px;
	line-height: 1.65;
}

.wg-footer__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0 18px;
	color: #ffffff;
	background: #0b668f;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
	transition: background-color 0.2s ease;
}

.wg-footer__button:hover,
.wg-footer__button:focus {
	color: #ffffff;
	background: #087aa9;
}

.wg-footer__bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.wg-footer__bottom-container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	width: min(var(--wg-container-width), calc(100% - (2 * var(--wg-page-gutter))));
	min-height: 72px;
	margin-inline: auto;
}

.wg-footer__bottom p {
	margin: 0;
	color: #8fa1b2;
	font-size: 14px;
}

.wg-footer__legal {
	display: flex;
	align-items: center;
	gap: 22px;
}

.wg-footer__legal a {
	font-size: 14px;
}

@media (max-width: 900px) {
	.wg-footer__container {
		grid-template-columns: repeat(2, 1fr);
		gap: 40px;
	}
}

@media (max-width: 600px) {
	.wg-footer__main {
		padding: 48px 0 40px;
	}

	.wg-footer__container {
		grid-template-columns: 1fr;
		gap: 34px;
		width: min(var(--wg-container-width), calc(100% - (2 * var(--wg-page-gutter-mobile))));
	}

	.wg-footer__bottom-container {
		flex-direction: column;
		align-items: flex-start;
		justify-content: center;
		gap: 10px;
		width: min(var(--wg-container-width), calc(100% - (2 * var(--wg-page-gutter-mobile))));
		min-height: 94px;
	}

	.wg-footer__legal {
		gap: 18px;
	}
}