.footer {
	position: relative;
	background-color: #fff;
	margin-top: 50px;
	overflow: hidden;
}

.footer__top {
	height: 69px;
	background-color: var(--lightgray-color);
}

.footer__background {
	max-width: calc(400px + (500 - 400) * ((100vw - 1366px) / (1920 - 1366)));
	position: absolute;
	bottom: calc(0px + (-16 - 0) * ((100vw - 1366px) / (1920 - 1366)));
	right: calc(-70px + (-76 + 70) * ((100vw - 1366px) / (1920 - 1366)));
	pointer-events: none;
}

.footer__body {
	display: flex;
	flex-direction: row;
	justify-content: center;
	position: relative;
	padding: 45px 0 100px;
}

.footer__container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	position: relative;
}

.footer__bottom {
	background-color: #293a3d;
	padding: 23px 0;
	position: relative;
}

.footer__copyright {
	color: #fff;
	font-size: 12px;
}

.footer__copyright a {
	color: var(--primary-color);
	white-space: nowrap;
}

.footer__copyright a:hover {
	color: #dadada;
}

.footer__policy {
	margin-top: .5rem;
}

.footer-body__background {
	position: absolute;
	left: 0;
	bottom: -9px;
	/*pointer-events: none;*/
	transition: opacity 0.3s ease 0s;
	transform-origin: bottom left;
}

.footer-support {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

.footer-support__title {
	display: flex;
	align-items: center;
	flex-wrap: nowrap;
	gap: 26px;
}

.footer-support__title img {
	transform: translateY(-10px);
}

.footer-support__head {
	display: flex;
	flex-direction: column;
	font-size: 48px;
	font-weight: 700;
	align-self: center;
	margin-bottom: 57px;
	z-index: 1;
}

.footer-support__head sup {
	font-size: 24px;
}

.footer-support__phone {
	text-align: center;
	font-weight: 700;
	line-height: 1;
	color: var(--primary-color);
}

.footer-support__phone a:hover {
	text-decoration: none;
	color: #293a3d;
	transition: all 0.3s ease 0s;
}

.footer-support__phone_mobile {
	width: 240px;
}

.footer-support__contacts {
	max-width: 516px;
	display: flex;
	gap: 32px;
	background: #f9fafa;
	border-radius: 8px;
	padding: 24px 32px;
}

.footer-contacts__text * {
	color: #52747a;
	line-height: 1.5;
}

.footer-contacts__text a:hover {
	color: var(--primary-color);
	text-decoration: none;
}

.footer-contacts__mail {
	margin-top: 15px;
	line-height: 1;
	display: inline-block;
	cursor: pointer;
	transition: var(--transition);
}

.footer-contacts__text .footer-contacts__mail:hover * {
	color: var(--primary-color);
}

.footer-contacts__mail .email__link_icon {
	margin-right: 7px;
	transition: var(--transition);
}

@media (min-width: 769px) {
	.footer-support__phone_mobile {
		display: none;
	}

	.footer-mobile__logo {
		display: none;
	}
}

@media (max-width: 1600px) {
	.footer__top {
		display: none;
	}

	.footer-body__background {
		opacity: 40%;
		max-width: 500px;
	}
}

@media (max-width: 1280px) {
	.footer__background {
		display: none;
	}

	.footer-body__background {
		opacity: 20%;
	}
}

@media (max-width: 768px) {
	.footer__body {
		flex-direction: column;
	}

	.footer__container {
		flex-direction: column;
	}

	.footer-support {
		padding-left: calc(10px + (40 - 10) * ((100vw - 320px) / (768 - 320)));
		padding-right: calc(10px + (40 - 10) * ((100vw - 320px) / (768 - 320)));
	}

	.footer__copyright {
		order: 2;
		margin-top: 20px;
		margin-bottom: calc(0px + (20 - 0) * ((100vw - 320px) / (1023 - 320)));
		text-align: center;
	}

	.footer-body__background {
		top: 50px;
	}

	.footer-support__contacts {
		display: none;
	}

	.footer-support__head {
		width: 100%;
		justify-content: flex-end;
		align-items: flex-end;
		gap: 60px;
	}

	.footer-support__phone {
		display: none;
	}

	.footer-support__title .title {
		margin: 0;
		display: flex;
		max-width: 250px;
		text-align: right;
		font-weight: 400;
	}

	.footer-support__title img {
		position: absolute;
		bottom: 0;
		transform: translateY(0);
		width: 100%;
		left: 0;
	}

	.footer-mobile__logo {
		width: 200px;
		height: 42px;
		display: flex;
		align-items: center;
	}
}

@media (max-width: 480px) {
	.footer__copyright {
		display: flex;
		flex-direction: column;
	}

	.footer-contacts__mail {
		text-align: center;
	}

	.footer-support__phone_mobile {
		width: 200px;
	}

	.footer-support__contacts {
		flex-direction: column;
		margin: 0 -15px;
		padding: 24px 15px;
	}

	.footer-contacts img {
		margin: 0 auto;
	}

	.footer-support__head sup {
		font-size: 20px;
	}

	.footer-support__title {
		flex-direction: column-reverse;
		gap: 12px;
	}
}
