:root {
	--box-shadow-lvl-1: 0 0 1em rgba(0, 0, 0, 0.15);
	--box-shadow-lvl-1-hover: 0 0 1.5em 0.3em rgba(0, 0, 0, 0.2), 0 2px 6px -3px rgba(0,0,0,0.4);
	--box-shadow-lvl-2: ;
	--box-shadow-lvl-2-hover: ;
	--color-important: #565dbf;
	--color-main-text: #707070;
	--TXSecondColor: #5d5d5d;
	--color-header: #222222;
	--dark-background: #202232;
}

body, html {
	margin: 0;
	padding: 0;
}

body {
	overflow-x: hidden;
}

html {
	font-size: 16px;
}

/* ===== Устанавливаем размеры шрифтов ===== */
/* SM */
@media screen and (min-width: 575px) {html {font-size: 16px;}}

/* MD */
@media screen and (min-width: 767px) {html {font-size: 18px;}}

/* LG */
@media screen and (min-width: 991px) {html {font-size: 20px;}}

/* XL */
@media screen and (min-width: 1199px) {html {font-size: 22px;}}

/* XXL */
@media screen and (min-width: 1399px) {html {font-size: 24px;}}

#header .row {
    justify-content: space-between;
}

.header__nav-ul {
    list-style: none;
    padding-inline-start: 0;
    /* display: inline-block; */
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 10px;
}

.header__nav-ul li {
    /* display: inline-block;
    line-height: 69px;
    margin-right: 1em;
    cursor: pointer;
    position: relative; */
    display: inline-block;
    line-height: 30px;
    margin-right: 0.5em;
    margin-left: 0.5em;
    cursor: pointer;
    position: relative;
}

.header__nav-ul li::after {
    content: "";
    position: absolute;
    width: 0%;
    bottom: 2px;
    left: 0;
    height: 4px;
    background: #015aff;
    transition: 200ms linear;
}

img {
	display: block;
	width: 100%;
}

/*====== First Screen ======*/
.first-screen__h1 {
	color: #fff;
	font-size: 2em;
	font-weight: bold;
	line-height: 120%;
	margin: 0 0 0.6em 0;
	position: relative;
    z-index: 999;
}

.first-screen__text {
	text-shadow: 0 0 0.9em rgb(0,0,0,0.15);
}

.first-screen__text p {
	color: #fff;
	line-height: 160%;
	margin: 0 0 .5em 0;
	position: relative;
    z-index: 999;
	max-width: 750px;
}

.first-screen__form {
	box-shadow: var(--box-shadow-lvl-1);
	padding: 16px 15px 20px 15px;
	border-radius: 1em;
	background: #fff;
}

.first-screen__form--header {
	text-align: center;
	font-weight: bold;
	margin-bottom: 0.25em;
	font-size: 1.2em;
	display: block;
}

.first-screen__form--second {
	text-align: center;
	margin-bottom: 0.75em;
	display: block;
}

.first-screen__form--input {
	display: block;
	width: 100%;
	outline: none;
	border: 1px solid #ddd;
	padding: 0.4em 12px;
	border-radius: 1em;
	margin-bottom: 8px;
	box-shadow: inset 0 0 0.2em 0.05em rgba(0, 0, 0, 0.05);
}

.first-screen__form--button {
	display: block;
	margin-top: 1.25em;
	width: 100%;
	padding: 0.75em 0;
	background-color: #202232;
	color: #fff;
	border: none;
	font-weight: bold;
	border-radius: 20px;
	box-shadow: 0 0 8px rgba(0, 0, 0, 0.15);
	transition: box-shadow 200ms linear;
}

#first-screen {
	background: #015AFF;
	padding: 2em 0 2.5em 0;
	margin-bottom: 1em;
    position: relative;
	overflow: hidden;
}

img.first-screen__kla {
    transform: rotate(-225deg);
    position: absolute;
    width: 90%;
	min-width: 460px;
	max-width: 1100px;
    top: 30px;
    left: -25%;
}

#first-screen__form {
	display: none; /* Скрываем форму на мобильных */
}

.contact-form-success {
    padding: 0.25rem 15px;
    font-size: 0.7rem;
    margin-top: 8px;
    margin-bottom: 0;
    border-radius: 20px;
}

/*====== Benefits ======*/
#benefits {
    padding: 2em 0 0 0;
}

.benefits-item__header h3 {
	text-align: center;
	margin: 0 0 0.5em 0;
	font-size: 1.5em;
	font-weight: bold;
	color: var(--color-header);
}

.benefits-item__text p {
	text-align: center;
	margin: 0 0 0.75em 0;
	line-height: 160%;
	color: var(--TXSecondColor);
	max-width: 1000px;
	margin-left: auto;
	margin-right: auto;
}

.benefits-item__image {
	margin: 1em auto;
}

.benefits-item__image img {
	display: block;
	max-width: 100%;
	box-shadow: var(--box-shadow-lvl-1);
}

.benefits-item__icon img {
	display: block;
	width: 100%;
	max-width: 140px;
	margin: 0 auto 1.5em auto;
}

.benefits-item {
	margin-bottom: 3em;
}


/*===== Cases =====*/
#cases {
	padding: 3em 0 1em 0;
}

#cases .cases-carousel .carousel-indicators {
	bottom: -35px;
}

#cases .carousel-indicators button {
	background-color: #707070 !important;
}

.block-header {
	font-size: 1.7em;
	text-align: center;
	font-weight: bold;
}

.block-description {
	margin-bottom: 3em;
	text-align: center;
	max-width: 40em;
	margin-left: auto;
	margin-right: auto;
}

#cases .carousel-item {
    border-radius: 1rem;
    border: 1rem solid #f5f5f5;
    padding: 20px 15px 20px 15px;
}

#cases .carousel-control-next, 
#cases .carousel-control-prev {
    top: calc(50% - 1.5rem);
    width: 3rem;
    height: 3rem;
    color: #fff;
    text-align: center;
    background: rgba(0,0,0,0.12);
    border: 0;
    opacity: 1;
    border-radius: 1.5rem;
    box-shadow: 0 0 0.5em rgba(0,0,0,0.1);
    transition: 200ms linear;
}

.carousel-control-prev,
.carousel-control-next {
    display: none;
}

.carousel-control-prev {
    left: -4rem;
}

.carousel-control-next {
    right: -4rem;
}

.cases-carousel-item__description {
    margin-bottom: 0.5rem;
}

.cases-carousel-item__description-header {
    display: block;
    font-weight: bold;
}

.cases-carousel-item__description-text {
    line-height: 100%;
    display: block;
}

.cases-carousel-item__image img {
    border-radius: 8px;
}

.cases-carousel-item__description-item {
    margin-bottom: 0.8rem;    
}

/*
.cases-carousel-item__image {
    margin-top: 0.5rem;
}
*/

.carousel-inner .clearfix {
    line-height: 0.2em;
}

#cases .cases-carousel .carousel-indicators {
    bottom: -60px;
}

#cases .cases-carousel .carousel-indicators button {
    width: 40px;
    height: 8px;
    margin-right: 4px;
    margin-left: 4px;
    opacity: .4;
}

#cases .cases-carousel .carousel-indicators button.active {
    opacity: 1;
}


/* ===== Formats ====== */
#formats {
	background-color: var(--dark-background);
	color: #fff;
	padding-top: 3em;
}

.formats-item {
	margin-bottom: 2em;
	box-shadow: 0 0 1em 0.5em rgba(0, 0, 0, 0.35);
	border-radius: 30px;
	padding: 1em 30px;
}

.fotmats-item-dop-info {
	margin-bottom: 0.5em;
}

.formats-item-img {
	margin-top: 1em;
	border-radius: 4px;
}

.formats-item-description {
	opacity: 0.9;
	margin-bottom: 0.5em;
}

.formats-item-header {
	font-size: 1.5em;
	margin-bottom: 0.5em;
}


/* ===== Stages ====== */
#stages {
    padding: 2em 0 1em 0;    
}

.stages-item {
	margin-bottom: 1.5em;
	position: relative;
}

.stages-item__number {
	font-size: 3.5em;
    line-height: 1em;
    font-weight: bold;
    color: #b3bcc5;
    margin-right: 0.33em;
    text-shadow: 0 0 0.25em rgb(0 0 0 / 8%);
}

.stages-item__header {
	font-weight: bold;
	font-size: 1.2em;
	line-height: 120%;
	margin-bottom: 0.25em;
}

.stages-item__description {
	color: var(--TXSecondColor);
}

.stages-item__text-wrapper {
	padding-left: 3em;
}

.stages-item__number-wrapper {
	position: absolute;
	top: 0;
	bottom: 0;
}


/* ===== Requirements ====== */
.requirements-item {
	margin-bottom: 2em;
}

.requirements-item__img img {
	border-radius: 1rem;
	/* box-shadow: 0 0 1em rgba(0,0,0,0.12);*/
	margin-bottom: 1rem;
}

/*===== Header =====*/
#header {
	background: #ffffff;
	padding: 10px 0 12px 0;
	box-shadow: 0 0 1.5em 0 rgba(0, 0, 0, 0.1);
	z-index: 1000;
	position: relative;
}

.header-contacts__phone,
.header-contacts__mail {
	line-height: 1.2;
}

.header-contacts__phone a {
	font-weight: 900;
	text-decoration: none;
}

.header-contacts__mail a {
	text-decoration: none;
	font-size: 1em;
	color: #707070;
	
}

.header-logo {
	float: left;
	width: 120px;
}

.header-contacts {
	/* float: right;
	    width: auto;
	    text-align: right;
	    display: inline-block; */
    text-align: center;
}

.header-contacts__icons {
    display: flex;
    justify-content: center;
    margin-bottom: 6px;
}

.header-contacts__icons img {
    max-width: 40px;
    margin-left: 2.5px;
    margin-right: 2.5px;
    border-radius: 20px;
    -webkit-transition: 200ms linear;
    -moz-transition: 200ms linear;
    -ms-transition: 200ms linear;
    -o-transition: 200ms linear;
    transition: 200ms linear;
}


/*===== Tariffs =====*/
#tariffs {
	padding: 2em 0 1em 0;
}

#tariffs .tariff-item-wrapper {
	padding-bottom: 2em;
}

.tariff-item {
	border-radius: 20px;
	box-shadow: var(--box-shadow-lvl-1);
	/* padding: 0 15px 1.5em 15px; */
	padding: 0 15px 1em 15px;
	position: relative;
	text-align: center;
	transition: box-shadow 300ms linear;
	height: 100%;
}

.tariff-item__header h3 {
	font-weight: bold;
	font-size: 1.2em;
	margin-bottom: 1em;
	background-color: var(--dark-background);
    margin-left: -15px;
    margin-right: -15px;
    padding-bottom: 10px;
    padding-top: 8px;
    border-radius: 20px 20px 0 0;
	color: #fff;
}

.tariff-item__description p {
	font-size: 1em;
	line-height: 120%;
}

.tariff-item__description {
	margin-bottom: 0.75em;
	/* display: inline; */
	display: block;
}

.tariff-item__button-wrapper {
	position: absolute;
	bottom: -0.8em;
	line-height: 200%;
	text-align: center;
	left: 0;
	right: 0;
	display: none; /* Временно скрываю, пока не доделана форма. @TODO: доделать форму обр связи и выбор тарифа */
}

.tariff-item__button {
	border-radius: 1rem;
	font-size: 1em;
	background: #000;
	border: none;
	color: #fff;
	padding: 0 2rem;
	margin: 0 auto;
}

.tariff-item__calc p {
	text-align: left;
	font-size: 1rem;
	/* font-weight: bold; */
	margin-bottom: 0.6rem;
}

.tariff-item__calc input {
	margin-bottom: 1em;
	width: 100%;
	display: block;
}

.tariff-item__result {
	margin-top: 1.5em;
    background: rgb(245,243,245);
    padding: 8px 0 12px 0;
    border-radius: 10px;
}

.tariff-item__result-revenue-label {
    text-align: center;
}

span.tariff-item__result-revenue {
    display: block;
    text-align: center;
    font-size: 2.5em;
    font-weight: 900;
    color: #015aff;
	line-height: 1;
    margin-bottom: 0.4em;
}

.tariff-item__result p {
	margin-bottom: 0;
	font-weight: bold;
	text-align: center;
}

/*===== SLIDER =====*/
input[type="range"].styled-slider {
	height: 4px;
	-webkit-appearance: none;
	transition: all 200ms;
}

input[type="range"].styled-slider {
	--slider-back-color: ;
	--slider-main-color: #BEBEBE;
	--slider-back-color-hover: ;
	--slider-main-color-hover: ;
	--slider-height: 1rem;
}

input[type="range"].styled-slider:focus {
	outline: none;
}

/* slider webkit*/
input[type="range"].styled-slider::-webkit-slider-thumb {
	-webkit-appearance: none;
	width: var(--slider-height);
	height: var(--slider-height);
	border-radius: 100%;
	background: var(--slider-main-color);
	border: 1px solid rgb(160, 160, 160);
	/* box-shadow: 0 0 2px black; */
	margin-top: calc(max((var(--slider-height) * 0.5 - 1px - 1px) * 0.5, 0px) - var(--slider-height) * 0.5);
}

input[type="range"].styled-slider::-webkit-slider-runnable-track {
	height: calc(var(--slider-height) * 0.5);
	border: 1px solid #bebebe;
	border-radius: 0.5em;
	background: #efefef;
	box-shadow: none;
}
input[type="range"].styled-slider::-webkit-slider-thumb:hover {
	background: #0061c3;
}

input[type="range"].styled-slider:hover::-webkit-slider-runnable-track {
	background: #e5e5e5;
	border-color: #9a9a9a;
}

input[type="range"].styled-slider::-webkit-slider-thumb:active {
	background: #2f98f9;
}

input[type="range"].styled-slider:active::-webkit-slider-runnable-track {
	background: #f5f5f5;
	border-color: #c1c1c1;
}

/* input[type="range"].styled-slider.slider-progress::-webkit-slider-runnable-track::after {
	background: linear-gradient(#0061c3, #0061c3) 0/var(--sx) 100% no-repeat, #e5e5e5;
}

input[type="range"].styled-slider.slider-progress:hover::-webkit-slider-runnable-track {
	background: linear-gradient(#0061c3, #0061c3) 0/var(--sx) 100% no-repeat, #e5e5e5;
}

input[type="range"].styled-slider.slider-progress:active::-webkit-slider-runnable-track {
	background: linear-gradient(#2f98f9, #2f98f9) 0/var(--sx) 100% no-repeat, #f5f5f5;
} */

/* slider mozilla*/
input[type="range"].styled-slider::-moz-range-thumb {
	width: var(--slider-height);
	height: var(--slider-height);
	border-radius: 100%;
	background: var(--slider-main-color);
	border: none;
	/*box-shadow: 0 0 2px black;*/
}

input[type="range"].styled-slider::-moz-range-track {
	height: max(calc(var(--slider-height) * 0.5 - 1px - 1px), 0px);
	border: 1px solid #b2b2b2;
	border-radius: var(--slider-height);
	background: #efefef;
	box-shadow: none;
}

input[type="range"].styled-slider::-moz-range-thumb:hover {
	background: #0061c3;
}

input[type="range"].styled-slider:hover::-moz-range-track {
	background: #e5e5e5;
	border-color: #9a9a9a;
}

input[type="range"].styled-slider::-moz-range-thumb:active {
	background: #2f98f9;
}

input[type="range"].styled-slider:active::-moz-range-track {
	background: #f5f5f5;
	border-color: #c1c1c1;
}

input[type="range"].styled-slider.slider-progress::-moz-range-progress {
	background-color: var(--slider-main-color); 
}

/* input[type="range"].styled-slider.slider-progress::-moz-range-track {
	background: linear-gradient(#007cf8, #007cf8) 0/var(--sx) 100% no-repeat, #efefef;
}

input[type="range"].styled-slider.slider-progress:hover::-moz-range-track {
	background: linear-gradient(#0061c3, #0061c3) 0/var(--sx) 100% no-repeat, #e5e5e5;
}

input[type="range"].styled-slider.slider-progress:active::-moz-range-track {
	background: linear-gradient(#2f98f9, #2f98f9) 0/var(--sx) 100% no-repeat, #f5f5f5;
} */

/* slider ms*/
input[type="range"].styled-slider::-ms-fill-upper {
	background: transparent;
	border-color: transparent;
}

input[type="range"].styled-slider::-ms-fill-lower {
	background: transparent;
	border-color: transparent;
}

input[type="range"].styled-slider::-ms-thumb {
	width: var(--slider-height);
	height: var(--slider-height);
	border-radius: var(--slider-height);
	background: var(--slider-main-color);
	border: none;
	/* box-shadow: 0 0 2px black; */
	margin-top: 0;
	box-sizing: border-box;
}

input[type="range"].styled-slider::-ms-track {
	height: calc(var(--slider-height) * 0.5);
	border-radius: var(--slider-height);
	background: #efefef;
	border: 1px solid #b2b2b2;
	box-shadow: none;
	box-sizing: border-box;
}

input[type="range"].styled-slider::-ms-thumb:hover {
	background: #0061c3;
}

input[type="range"].styled-slider:hover::-ms-track {
	background: #e5e5e5;
	border-color: #9a9a9a;
}

input[type="range"].styled-slider::-ms-thumb:active {
	background: #2f98f9;
}

input[type="range"].styled-slider:active::-ms-track {
	background: #f5f5f5;
	border-color: #c1c1c1;
}

input[type="range"].styled-slider.slider-progress::-ms-fill-lower {
	height: max(calc(var(--slider-height) * 0.5 - 1px - 1px), 0px);
	border-radius: 0.5em 0 0 0.5em;
	margin: -1px 0 -1px -1px;
	background: var(--slider-main-color);
	border: 1px solid #b2b2b2;
	border-right-width: 0;
}

input[type="range"].styled-slider.slider-progress:hover::-ms-fill-lower {
	background: #0061c3;
	border-color: #9a9a9a;
}

input[type="range"].styled-slider.slider-progress:active::-ms-fill-lower {
	background: #2f98f9;
	border-color: #c1c1c1;
}

/* requirements */
#requirements {
	padding: 3em 0 1em 0;
	margin-bottom: -1em;
}

#requirements .block-header {
	max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.requirements-item__header,
.requirements-item__description {
	max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.requirements-item__header {
	font-size: 1.2rem;
	font-weight: bold;
	margin-bottom: 0.1em;
}

.requirements-item__description {
	margin-bottom: 1.25em;
}

/* SM */
@media screen and (min-width: 575px) {
    /* .cases-carousel-item__description-drr-main,
    .cases-carousel-item__description-revenue-main,
    .cases-carousel-item__description-cost-main,
    .cases-carousel-item__description-revenue-mounth,
    .cases-carousel-item__description-cost-mounth {
        width: 33.3333%;
        float: left;
    } */
}

/* MD */
@media screen and (min-width: 767px) {
	/* ===== Stages ===== */
	.stages-item__description {
		font-size: 0.8em;
	}

	.stages-item__header {
		font-size: 1em;
	}

	.formats-item-img {
		margin-top: 12px;
	}

	.tariff-item__description {
		margin-bottom: 0.75em;
		display: block;
	}

}

/* -------------- */
/* ----- LG ----- */
/* -------------- */
@media screen and (min-width: 991px) {
    .cases-carousel-item__description-item {
        margin-bottom: 1.25rem;    
    }
    
    .cases-carousel-item__description-header {
        font-size: 70%;
        line-height: 100%;
        margin-bottom: 0.25em;
    }
    
    .cases-carousel-item__description {
        font-size: 1em;
    }
    
    .carousel-control-prev, .carousel-control-next {
        display: flex;
    }
    
    .header-contacts {
	    float: right;
	    width: auto;
	    text-align: right;
	    display: inline-block;
        text-align: center;
    } 
    .header__nav {
        width: auto;
        display: inline-block;
        float: left;
    }
    
    .header__nav-ul {
        display: inline-block;
        margin-bottom: 0;
    }
    
    .header__nav-ul li {
        display: inline-block;
        line-height: 69px;
        margin-right: 0.8em;
        cursor: pointer;
        position: relative;
        margin-left: 0; /* Обнуляем от мобилки */
    }
    
	.first-screen__form--second,
	.first-screen__form--input,
	.first-screen__form--button {
		font-size: 0.7em;
	}

	.first-screen__form--header {
		font-size: 0.8em;
	}
	
	#first-screen__form {
		display: block;
        z-index: 999;
        position: relative;
	}

	.stages-item__text-wrapper {
		padding-left: 2.75em;
	}

	.tariff-item:hover {
		box-shadow: var(--box-shadow-lvl-1-hover);
	}

	#tariffs {
		padding: 2em 0 1em 0;
	}
	
	.tariff-item__header h3 {
		font-size: 1.1rem;
		margin-bottom: 1em;
		padding-bottom: 1em;
		padding-top: 0.9em;
	}
	
	.tariff-item__description p {
		font-size: 0.9rem;
	}
	
	.tariff-item__description {
		margin-bottom: 1em;
		display: block;
	}
	
	.tariff-item__button-wrapper {
		position: absolute;
		bottom: -0.8rem;
		line-height: 1.6rem;
	}
	
	.tariff-item__button {
		border-radius: 0.8rem;
		font-size: 0.8rem;
		padding: 0 2rem;
	}
	
	.tariff-item__calc p {
		font-size: 0.7em;
		margin-bottom: 0.5em;
	}
	
	.tariff-item__calc input {
		margin-bottom: 0.6rem;
	}
	
	.tariff-item__result p {
		margin-bottom: 0;
		font-size: 0.7em;
	}

	input[type="range"].styled-slider {
		--slider-height: 0.6rem; /* Уменьшаем высоту ползунков на десктопе */
	}

	.tariff-item__result-revenue {
		font-size: 1.5em !important;
	}

	.first-screen__h1 {
		margin-top: 0.5rem;
	}
	
	#header {
	    position: sticky;
	    top: 0;
	}
	
	/* Эффекты при наведении на десктопе */
    .header__nav-ul li:hover::after {
        width: 100%;
        background: #015aff;
    }
    
    .first-screen__form--button:hover {
    	box-shadow: 0 2px 16px rgba(0, 0, 0, 0.3), 0 3px 4px -3px rgba(0, 0, 0, 0.8);
    }
    
    #cases .carousel-control-next:hover, 
    #cases .carousel-control-prev:hover {
        top: calc(50% - 1.6rem);
        background: rgba(0,0,0,0.18);
        box-shadow: 0 0.1em 0.5em rgba(0,0,0,0.15);
    }
    
    .header-contacts__icons img:hover {
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        transform: translateY(-1px);
    }
}


/* XL */
@media screen and (min-width: 1199px) {

	.first-screen__form--second,
	.first-screen__form--input,
	.first-screen__form--button {
		font-size: 0.7em;
	}

	.first-screen__kla {
		transform: rotate(-35deg);
		width: 690px;
		top: 72px;
		right: 135px;
	}
	
	.header-contacts__mail a {
	    font-size: 0.8em;
	}
}


/* XXL */
@media screen and (min-width: 1399px) {
	img.first-screen__kla {
		left: auto;
		right: -9%;
		top: 11px;
		width: 64%;
	}
}


/* Костыли */
