footer {
	background-color: rgba(199, 206, 210, 0.15);
	background-position: bottom left;
	padding: 40px 0 50px;
}

.footer__nav {
	display: grid;
	grid-template-columns: 1fr 0.7fr;
	grid-template-rows: repeat(6, 35px);
	padding-left: 0;
	list-style: none;
	margin: 0;
}

.footer__li {
	list-style: none;
}

.footer__li:nth-child(odd) {
	margin-right: 50px;
}

.footer__contacts p:nth-child(3n) {
	color: var(--gray);
}

.footer__phone {
	/* display: flex;
    flex-direction: column; */
}

.footer__logo img,
.footer__logo svg {
	width: 100%;
	height: auto;
	display: block;
}

.social__links {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 8px;
	margin-top: 16px;
}

.footer__social_link img {
	display: block;
}

.footer__arrow {
	bottom: 20%;
	left: 1.5%;
}

@media (max-width: 991px) {
	.footer__nav {
	}

	.footer__arrow {
		bottom: 85.8%;
		left: 80%;
	}

	.footer__arrow-text {
		display: none;
	}
}

@media (max-width: 668px) {
	.footer__li:nth-child(odd) {
		margin-right: 15px;
	}

	.footer__arrow {
		left: 75%;
	}
}

/*------------Форма заказа ---------------- */

.popup__overlay {
	position: fixed;
	z-index: 10000;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.7);
	text-align: center;
}

.order-form {
	background: rgb(255, 255, 255);
	box-shadow: 1px 0px 5px rgb(125, 125, 125);
	box-sizing: border-box;
	height: 500px;
	width: 100%;
	max-width: 576px;
	padding: 20px;
	margin: 100px auto;
	position: relative;
	padding: 78px 78px;
}
@media (max-width: 650px) {
	.popup__overlay {
		padding: 0 15px;
	}
	.order-form {
		padding: 64px 20px 20px 20px;
	}
}
.close {
	display: block;
	position: absolute;
	right: 20px;
	top: 20px;
	cursor: pointer;
}
.close svg {
	width: 20px;
	height: 20px;
}

.popup__overlay .main-name-h4 {
	font-family: "Montserrat Alternates";
	font-style: normal;
	font-weight: 500;
	font-size: 12px;
	line-height: 16px;
	letter-spacing: 0.5px;
}
.popup__overlay .main-name-h4 a {
	color: var(--accent);
}
.popup__overlay input {
	width: 100%;
	height: 48px;
	border: none;
	background-color: #f2f4f5;
	margin-bottom: 32px;
}
.popup__overlay input[placeholder="Имя"],
.popup__overlay input[placeholder="Телефон"] {
	padding: 8px 24px;
	color: #202020;
}
.popup__overlay input::-webkit-input-placeholder,
.popup__overlay input::-moz-placeholder,
.popup__overlay input:-moz-placeholder,
.popup__overlay input:-ms-input-placeholder {
	padding: 8px 24px;
	color: #868994;
}
.popup__overlay button {
	background: #fff;
	border: none;
	width: 100%;
}

a.button-modal {
	width: 100%;
	border: 2px solid var(--accent);
	border-radius: 1px 20px;
	background-color: #fff;
	margin-top: 32px;
	color: var(--accent);
	font-size: 12px;
	line-height: 13px;
	font-weight: 700;
	text-transform: uppercase;
	padding: 20px;
	z-index: 10;
	display: inline-block;
}
.hidden {
	display: none;
}
/*------------конец Формы заказа ---------------- */

/****----------  animated-button -----------------****/

a.animated-button:link,
a.animated-button:visited {
	position: relative;
	display: block;
	overflow: hidden;
	border-radius: 1px;
	-webkit-transition: all 1s ease;
	-moz-transition: all 1s ease;
	-o-transition: all 1s ease;
	transition: all 1s ease;
}
a.animated-button:link:after,
a.animated-button:visited:after {
	content: "";
	position: absolute;
	height: 0%;
	left: 46%;
	top: 70%;
	width: 150%;
	z-index: -1;
	-webkit-transition: all 0.75s ease 0s;
	-moz-transition: all 0.75s ease 0s;
	-o-transition: all 0.75s ease 0s;
	transition: all 0.75s ease 0s;
}
a.animated-button:link:hover,
a.animated-button:visited:hover {
	color: #fff;
	text-shadow: none;
}
a.animated-button:link:hover:after,
a.animated-button:visited:hover:after {
	height: 450%;
}
a.animated-button:link,
a.animated-button:visited {
	position: relative;
	display: block;
	border-radius: 1px;
	overflow: hidden;
	-webkit-transition: all 1s ease;
	-moz-transition: all 1s ease;
	-o-transition: all 1s ease;
	transition: all 1s ease;
}

a.animated-button.victoria-one:hover {
	border: 2px solid var(--accent);
}
a.animated-button.victoria-one:after {
	background: var(--accent);
	color: #fff;
	-moz-transform: translateX(-50%) translateY(-50%) rotate(-25deg);
	-ms-transform: translateX(-50%) translateY(-50%) rotate(-25deg);
	-webkit-transform: translateX(-50%) translateY(-50%) rotate(-25deg);
	transform: translateX(-50%) translateY(-50%) rotate(-25deg);
}

/****----------------  //animated-button -----------------------****/

/**** ---------- #modal-socials-wrap ----------- ****/
#modal-socials-wrap {
	position: absolute;
	z-index: 30;
	top: 42px;
	right: 50px;
	width: 200px;
	display: none;
}

.modal-socials-block {
	width: 100%;
	background-color: #fff;
	box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
	display: inline-block;
	border-radius: 6px;
	overflow: hidden;

}
a.modal-socials-a {
	color: var(--black);
	font-size: 14px;
	display: block;
	padding: 10px;
	text-decoration: none;
	transition: all 0.2s ease-out;
}
a.modal-socials-a:hover {
	background-color: #e1e6ee;
}
a.modal-socials-a.modal-instagram {

}
a.modal-socials-a.modal-facebook {

}
.modal-socials-svg svg path {
	fill: var(--accent);
}
.modal-socials-name {
	margin-left: 10px;
	font-size: 14px;
	font-weight: 600;
}
/**** ----------//#modal-socials-wrap  ---------- ****/

/******* modal callback ******/
#modal-callback .modal-header,
#modal-callback .modal-footer {
	border: none;
	justify-content: center;
	flex-direction: column;
	align-items: center;
}
#modal-callback .modal-content {
	padding: 60px 70px;
}
@media (min-width: 576px) {
	#modal-callback.modal-dialog {
		max-width: 580px;
	}
}
@media (max-width: 575px) {
	#modal-callback .modal-content {
		padding: 30px 20px;
	}
}
#modal-callback .form-control {
	background: #f2f2f2;
	height: 48px;
}
#modal-callback .form-control:focus {
	color: #495057;
	background-color: #f2f2f2;
	border: 2px solid #202020;
	outline: 0;
	box-shadow: none;
}
#modal-callback a.button-modal {
	color: var(--accent);
	font-weight: 600;
}
#modal-callback a.button-modal:hover {
	color: #ffffff;
}
#modal-callback h4.main-name-h4 {
	text-align: center;
}
@media (max-width: 550px) {
	h1.main-name-h1 {
		text-align: center;
	}
}

.order-form .button {
	border: 2px solid var(--accent);
	color: var(--black);
	margin-top: 15px;
}

.order-form .button:hover {
	color: var(--white);
	background-color: var(--accent);
}

.order-form h2,
.order-form h4 {
	margin-right: auto;
}
