.popup__bg {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	background: rgba(0,0,0,0.5);
	opacity: 0;
/*// Скрываем фон и сам попап*/
	pointer-events: none;
/*// Запрещаем ему быть целью событий*/
	transition: 0.5s all;
	z-index: 999999999;
	font-family: 'Inter', Arial, sans-serif;
}

.popup__bg.active {
/*// При добавлении класса 'active'*/
	opacity: 1;
/*// Показываем фон и попап*/
	pointer-events: all;
/*// Возвращаем события*/
	transition: 0.5s all;
}

.popup {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) scale(0);
/*// Центрируем и масштабируем в 0 само окно*/
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 15px;
	padding: 25px;
	box-sizing: border-box;
	border-radius: 20px;
	background: #fff;
	text-align: center;
	overflow: hidden;
	transition: 0.5s all;
}

.popup.send-mail:after {
	content:'Ваша заявка принята. Ждите звонок менеджера.';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 100px;
	border-radius: 20px;
	background-color: #fff;
	z-index: 1;
	box-sizing: border-box;
}

.popup.active {
	transform: translate(-50%, -50%) scale(1);
	transition: 0.5s all;
}
/* Конец важной части */
/* Далее код для стилизации формы */
.close-popup {
	position: absolute;
	top: 10px;
	right: 10px;
	width: 30px;
	height: 30px;
	cursor: pointer;
}

.close-popup:after,
.close-popup:before {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 60%;
	height: 2px;
	background-color: #333;
}

.close-popup:after {
	transform: translate(-50%, -50%) rotate(45deg);
}
.close-popup:before {
	transform: translate(-50%, -50%) rotate(-45deg);
}

.popup label {
	display: flex;
	justify-content: center;
}

.popup__input-container {
	display: flex;
	justify-content: center;
}

.input-code {
	padding: 5px;
	font-family: inherit;
	text-align: center;
	background-color: transparent;
	-webkit-appearance: none;
	appearance: none;
	-moz-appearance: textfield;
	box-sizing: border-box;
	height: 2em;
	width: 1.7em;
	border: 1px solid #ccc;
	border-radius: 10px;
	margin: 0 5px;
	color: #111;
	font-size: 24px;
	caret-color: transparent;
	outline: none;
	box-shadow: inset 0 0 0 0 transparent;
	transition: 0.15s ease-in-out;
	perspective-origin: center;
	transform-style: preserve-3d;
	transform: perspective(500px) rotateX(0) rotateY(0);
}
.popup .input-code:focus {
	 box-shadow: inset 0 0 0 3px #0be33a;
	color: #0be33a;
 }

.popup .input-code::selection {
	 color: #0be33a;
 }

.popup .input-code::-moz-selection {
	color: #0be33a;
 }

.popup .input-code::-webkit-outer-spin-button,
.popup .input-code::-webkit-inner-spin-button {
	 -webkit-appearance: none;
	 appearance: none;
	 margin: 0;
 }

.popup__title {
	width: 100%;
	font-weight: 600;
	font-size: 20px;
	line-height: 1.2em;
}


.popup .display-none {
	display: none;
}

.input-mask {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #ddd;
	z-index: -1;
}

.popup__error {
	min-height: 16px;
	color: #f00;
	font-size: 14px;
	line-height: 1em;
}

.cross-error {
	position: relative;
	top: 2px;
	margin-right: 5px;
	display: inline-block;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background-color: red;

}

.cross-error:after,
.cross-error:before {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 60%;
	height: 2px;
	background-color: #fff;
}

.cross-error:after {
	transform: translate(-50%, -50%) rotate(45deg);
}
.cross-error:before {
	transform: translate(-50%, -50%) rotate(-45deg);
}


.popup .send-code {
	margin-bottom: 0;
}

.popup .get-code {
	width: max-content;
	height: auto;
	padding: 3px;
	border: 1px solid transparent;
	background-color: transparent;
	font-weight: 300;
	color: #333;
	font-size: 12px;
	line-height: 1em;
	margin-bottom: 0;
	text-transform: none;
	text-shadow: none;
}

.get-code:disabled {
	opacity: .6;

}

.popup__get-code-descr {
	min-height: 1em;
	font-size: 12px;
	line-height: 1em;
	color: #3b3b79;
	text-transform: none;
	text-shadow: none;
}

@media screen and (max-width: 800px) {
	.popup {
		width: 300px;
	}
	.popup.send-mail:after {
		padding: 0 50px;
	}
}

@media screen and (min-width: 800px) {
	.popup {
		width: 400px;
	}
}
.flex {
	display: flex;
	justify-content: space-between;
	gap: 15px;
}
.flex .input {
	width: 250px;
	padding: 15px 15px;
}
.cheaper .flex .input {
	width: 100% !important;
}
.flex .sendbutton {
	width: 215px;
	padding: 10px 15px;
	font-weight: 500;
	height: 53px;
}
.hidden {
	display: none !important;
}
#ContactSend10,
#ContactSend11,
#ContactSend12,
#ContactSend13, 
#ContactSend14 {
	display: none;
}
input.error {
	border: 1px solid #F00 !important;
}
.header_form {
	width: 300px;
}
.input {
	font-size: 100%;
	padding: 15px 30px;
	font-size: 16px;
	line-height: 1.33;
	width: 100%;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	outline: none;
	-webkit-appearance: none;
	color: #676b90;
	border: 1px solid #d6ecff;
	border-radius: 10px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	margin-bottom: 15px;
	font-family: 'Inter', Arial, sans-serif;
}
.input:focus-visible {
	outline: 3px solid #dee2e6;
	border: 1px solid transparent;
}
.sendbutton {
	text-align: center;
	width: 100%;
	border: 0 none;
	font-size: 16px;
	padding: 15px 30px;
	-webkit-appearance: none;
	font-weight: 700;
	white-space: nowrap;
	background-image: none;
	cursor: pointer;
	margin: 0;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	outline: none;
	color: #ffffff;
	background-image: linear-gradient(0turn, rgba(26, 198, 126, 1) 0%, rgba(10, 194, 183, 1) 100%);
	border-radius: 10px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	font-family: 'Inter', Arial, sans-serif;
}
.inpobrddiv label {
	margin: 0;
	cursor: pointer;
	font-size: 12px;
	font-family: 'Inter', Arial, sans-serif;
	color: #959595;
}
.inpobrddiv {
	display: flex;
	gap: 5px;
	align-items: flex-start;
	margin: 8px 0 0 5px;
}
#inpobrd1 {
	margin: 2px 0 0 0;
}

@media (min-width: 767.98px) {
	.cheaper .flex [type="submit"] {
		width: 100% !important;
	}
}

/* Устройства X-Small (портретные телефоны, менее 576 пикселей) */
@media (max-width: 575.98px) {
	.input {
		margin-bottom: 10px;
	}
	.flex .sendbutton {
		width: 250px;
		height: 50px;
	}
	.cheaper .flex .sendbutton {
		width: 100%;
	}
}
/**
* @section slick
*/
.works {
	padding: 80px 0 120px 0;
}
.image-before,
.image-after {
	position: relative;
}
.title-process {
	padding: 8px 15px;
	position: absolute;
	top: 20px;
	left: 20px;
	color: #ffffff;
    background-image: linear-gradient(0turn, rgba(26, 198, 126, 1) 0%, rgba(10, 194, 183, 1) 100%);
    border-radius: 3px;
}
.slick-slide img {
	height: auto;
	max-width: 100%;
	display: block;
	margin: 0 auto;
	border-radius: 3px;
}
.slick-prev,
.slick-next {
	display: none !important;
	font-size: 0;
	line-height: 0;
	position: absolute;
	top: 50%;
	width: 20px;
	height: 20px;
	padding: 0;
	-webkit-transform: translate(0, -50%);
	-ms-transform: translate(0, -50%);
	transform: translate(0, -50%);
	cursor: pointer;
	color: transparent;
	border: none;
	outline: none;
	background: transparent;
}
.slick-prev:hover,
.slick-prev:focus,
.slick-next:hover,
.slick-next:focus {
	color: transparent;
	outline: none;
	background: transparent;
}
.slick-prev:hover:before,
.slick-prev:focus:before,
.slick-next:hover:before,
.slick-next:focus:before {
	opacity: 1;
}
.slick-prev.slick-disabled:before,
.slick-next.slick-disabled:before {
	opacity: .25;
}
.slick-prev:before,
.slick-next:before {
	font-family: 'slick';
	font-size: 40px;
	line-height: 1;
	opacity: 1;
	color: white;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
.slick-prev {
	left: -25px;
}
[dir='rtl'] .slick-prev {
	right: -25px;
	left: auto;
}
.slick-prev:before {
	content: '←';
}
[dir='rtl'] .slick-prev:before {
	content: '→';
}
.slick-next {
	right: 50px;
}
[dir='rtl'] .slick-next {
	right: auto;
	left: -25px;
}
.slick-next:before {
	content: '→';
}
[dir='rtl'] .slick-next:before {
	content: '←';
}
/* Dots */
.slick-dotted.slick-slider {
	margin-bottom: 0;
}
.slick-dots {
	position: absolute;
	bottom: -40px;
	display: block;
	width: 100%;
	padding: 0 !important;
	margin: 0 !important;
	list-style: none;
	text-align: center;
}
.slick-dots li {
	position: relative;
	display: inline-block;
	width: 20px;
	height: 20px;
	margin: 0 5px !important;
	padding: 0 !important;
	cursor: pointer;
}
.slick-dots li:before {
	display: none !important;
}
.slick-dots li button {
	font-size: 0;
	line-height: 0;
	display: block;
	width: 20px;
	height: 20px;
	padding: 5px;
	cursor: pointer;
	color: transparent;
	border: 0;
	outline: none;
	background: transparent;
}
.slick-dots li button:hover,
.slick-dots li button:focus {
	outline: none;
}
.slick-dots li button:hover:before,
.slick-dots li button:focus:before {
	opacity: 1;
}
.slick-dots li button:before {
	font-size: 40px;
	line-height: 20px;
	position: absolute;
	top: 0;
	left: 0;
	width: 20px;
	height: 20px;
	content: '•';
	text-align: center;
	opacity: .25;
	color: #000;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
.slick-dots li.slick-active button:before {
	opacity: 1;
	color: #000;
}
/**
* @section footer
*/
.footer {
	padding: 50px 0;
}
.footer .flex .widget:nth-child(1) {
	-webkit-box-flex: 0;
	-ms-flex: 0 0 35%;
	flex: 0 0 35%;
	max-width: 35%;
}
.footer .flex .widget:nth-child(2) {
	-webkit-box-flex: 0;
	-ms-flex: 0 0 30%;
	flex: 0 0 30%;
	max-width: 30%;
}
.footer .flex .widget:nth-child(3) {
	-webkit-box-flex: 0;
	-ms-flex: 0 0 10%;
	flex: 0 0 10%;
	max-width: 10%;
}
.footer .flex .widget:nth-child(4) {
	-webkit-box-flex: 0;
	-ms-flex: 0 0 25%;
	flex: 0 0 25%;
	max-width: 25%;
}
.footer .flex .widget:nth-child(1) img {
	display: block;
	height: 70px;
	max-width: 100%;
}
.footer .flex .widget:nth-child(2) p,
.footer .flex .widget:nth-child(2) .legal {
	position: relative;
	padding-left: 35px;
	font-size: 14px;
}
.footer .flex .widget:nth-child(2) span {
	font-size: 16px;
}
.footer .flex .widget:nth-child(2) p:nth-child(1),
.footer .flex .widget:nth-child(2) p:nth-child(2) {
	margin-bottom: 5px;
}
.footer .flex .widget:nth-child(2) p:nth-child(1):before {
    content: "";
	background-image: url(../assets/img/icons/place-marker.svg);
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    top: 1px;
    left: 0;
    height: 24px;
    width: 24px;
    z-index: 1;
}
.footer .flex .widget:nth-child(2) .legal:before {
    content: "";
	background-image: url(../assets/img/icons/info.svg);
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    top: 0;
    left: 0;
    height: 24px;
    width: 24px;
    z-index: 1;
}
.footer .flex .widget:nth-child(3) img {
	-webkit-filter: grayscale(100%);
	filter: grayscale(100%);
	opacity: .7;
}
.footer .flex .widget:nth-child(1) p:nth-child(2) {
	color: #3a405c;
	font-size: 12px;
}
.footer .flex .widget:nth-child(1) p:nth-child(3) {
	color: #777;
	font-size: 12px;
}
/**
* @section footer contacts
*/
.top-contacts {
    position: relative
}
.top-contacts a {
    display: block
}
.top-contacts a:nth-child(1) {
	margin-bottom: 10px;
    background-image: linear-gradient(0.117turn, rgba(21, 164, 207, 1) 0%, rgba(0, 98, 144, 1) 100%);
    -webkit-background-clip: text;
    will-change: transform;
    color: transparent !important;
    font-size: 26px;
    font-weight: 600;
    line-height: 1;
    position: relative;
    text-decoration: none
}
.top-contacts a:nth-child(2) {
	margin-bottom: 5px;
    background-image: linear-gradient(0.117turn, rgba(21, 164, 207, 1) 0%, rgba(0, 98, 144, 1) 100%);
    -webkit-background-clip: text;
    will-change: transform;
    color: transparent !important;
    font-size: 16px;
    font-weight: 400;
    line-height: 1;
    position: relative;
    text-decoration: none
}
.top-contacts a:nth-child(3) {
    background: linear-gradient(96.22deg, #6bffca -41.74%, #2eb89f 93.26%), linear-gradient(180deg, #ffa6cb 0, #fd4492 100%);
    border-radius: 8px;
    color: #fff !important;
    font-weight: 500;
    font-size: 13px;
    line-height: 1;
    display: inline-block;
    padding: 12px 15px;
    position: relative;
    margin-top: 8px;
    text-decoration: none
}
.top-contacts a:nth-child(3):after {
    content: '';
    background: linear-gradient(96.22deg, #6bffca -41.74%, #2eb89f 93.26%), #fff;
    border: 2px solid #fff;
    border-radius: 50%;
    height: 12px;
    width: 12px;
    position: absolute;
    top: 6px;
    right: -5px
}
/**
* @section footer legal
*/
.legal {
	display: block;
}
.legal > span {
	padding-bottom: 2px;
	border-bottom: 1px solid #ffffff30;
	cursor: pointer;
}
.legal > span:hover {
	border-bottom: 1px solid #fff;
}
.hide-legal {
	display: none;
	margin-top: 5px;
}
/**
* @section media queries
*/
/* Устройства XX-Large (большие настольные компьютеры, более 1400 пикселей) */
@media (max-width: 1799.98px) {}

/* Устройства X-Large (большие настольные компьютеры, менее 1400 пикселей) */
@media (max-width: 1399.98px) {
	.footer .flex .widget:nth-child(1) {
		-ms-flex: 0 0 30%;
		flex: 0 0 30%;
		max-width: 30%;
	}
	.footer .flex .widget:nth-child(2) {
		-ms-flex: 0 0 25%;
		flex: 0 0 25%;
		max-width: 25%;
	}
	.footer .flex .widget:nth-child(3) {
		-ms-flex: 0 0 15%;
		flex: 0 0 15%;
		max-width: 15%;
		text-align: center;
	}
	.footer .flex .widget:nth-child(4) {
		-ms-flex: 0 0 25%;
		flex: 0 0 25%;
		max-width: 25%;
	}
}

/* Устройства Large (настольные компьютеры, менее 1200 пикселей) */
@media (max-width: 1199.98px) {
	.footer .flex .widget:nth-child(3) {
		-ms-flex: 0 0 10%;
		flex: 0 0 10%;
		max-width: 10%;
	}
	.footer .flex .widget:nth-child(4) {
		-ms-flex: 0 0 30%;
		flex: 0 0 30%;
		max-width: 30%;
	}
}

/* Устройства Medium (планшеты, менее 992 пикселей) */
@media (max-width: 991.98px) {
	.footer .flex {
		flex-wrap: wrap;
		gap: 30px 0;
	}
	.footer .flex .widget:nth-child(1),
	.footer .flex .widget:nth-child(2),
	.footer .flex .widget:nth-child(3),
	.footer .flex .widget:nth-child(4) {
		-ms-flex: 0 0 50%;
		flex: 0 0 50%;
		max-width: 50%;
	}
	.footer .flex .widget:nth-child(1) {
		-webkit-box-ordinal-group: 2;
		-ms-flex-order: 1;
		order: 1;
	}
	.footer .flex .widget:nth-child(2) {
		-webkit-box-ordinal-group: 4;
		-ms-flex-order: 3;
		order: 3;
	}
	.footer .flex .widget:nth-child(3) {
		-webkit-box-ordinal-group: 3;
		-ms-flex-order: 2;
		order: 2;
		text-align: right;
	}
	.footer .flex .widget:nth-child(4) {
		-webkit-box-ordinal-group: 5;
		-ms-flex-order: 4;
		order: 4;
	}
}

/* Устройства Small (телефоны с горизонтальной ориентацией, менее 768 пикселей) */
@media (max-width: 767.98px) {
	.round-the-clock {
		margin-bottom: 60px;
	}
	.round-the-clock a {
	    color: transparent !important;
	    background-image: linear-gradient(0turn, rgba(26, 198, 126, 1) 0%, rgba(10, 194, 183, 1) 100%);
	    -webkit-background-clip: text;
	    will-change: transform;
	    font-size: 40px;
	    font-weight: 700;
	}
	.order_form .flex {
		flex-wrap: wrap;
		justify-content: center;
		gap: 0;
	}
	.title p:nth-child(3),
	.sub-title,
	.round-the-clock p {
	    font-size: 20px !important;
	}
	.footer .flex .widget:nth-child(1) {
		-ms-flex: 0 0 60%;
		flex: 0 0 60%;
		max-width: 60%;
	}
	.footer .flex .widget:nth-child(3) {
		-ms-flex: 0 0 40%;
		flex: 0 0 40%;
		max-width: 40%;
	}
	.footer .flex .widget:nth-child(2),
	.footer .flex .widget:nth-child(4) {
		-ms-flex: 0 0 100%;
		flex: 0 0 100%;
		max-width: 100%;
	}
	.footer .flex .widget:nth-child(1) img {
	    height: auto;
	}
	.block,
	.footer .flex .widget:nth-child(2) p,
	.footer .flex .widget:nth-child(2) .legal {
	    display: inline;
	}
	.footer .flex .widget:nth-child(2),
	.footer .top-contacts {
		text-align: center !important;
	}
	.footer .flex .widget:nth-child(2) p:nth-child(1):before,
	.footer .flex .widget:nth-child(2) .legal:before {
	    top: -3px;
	}
}

/* Устройства X-Small (портретные телефоны, менее 576 пикселей) */
@media (max-width: 575.98px) {
	.title p:nth-child(1) {
	    font-size: 40px;
	}
	.round-the-clock a {
        font-size: 25px;
    }
    .title-process {
	    padding: 5px 10px;
	    top: 10px;
	    left: 10px;
	    font-size: 12px;
	}
	.footer .flex .widget:nth-child(1) {
        -ms-flex: 0 0 75%;
        flex: 0 0 75%;
        max-width: 75%;
    }
	.footer .flex .widget:nth-child(3) {
        -ms-flex: 0 0 25%;
        flex: 0 0 25%;
        max-width: 25%;
    }
    .footer .flex .widget:nth-child(3) img {
	    height: 40px;
	    max-width: 100%;
		margin-top: 12px;
	}
	.footer .flex .widget:nth-child(2) p,
	.footer .flex .widget:nth-child(2) .legal {
        display: block;
        text-align: left !important;
    }
	.footer .flex .widget:nth-child(2) p:nth-child(1):before,
	.footer .flex .widget:nth-child(2) .legal:before {
        top: 1px;
    }
}