.section-1 {
	margin-top: 90px;
	overflow: hidden;
}

.section-1 hgroup p {
	margin-top: 42px;
	margin-bottom: 60px;
}

.section-1 hgroup .h1 span:last-of-type {
	line-height: inherit;
/*	text-decoration: underline 3px var(--main2);
	text-underline-offset: 27px;
*/
}

.section-1 .box-1 {
	margin: 0 calc(var(--inner) * -1);
	background-image: url(../img/bg1.svg);
	background-size: cover;
	background-position: 0 40px;
	background-repeat: no-repeat;
}

.section-1 .box-1 img {user-select: none;}

.section-1 .box-2 {
	padding: 63px var(--inner) 72px;
	color: var(--white);
	background: linear-gradient(180deg, rgba(49, 43, 107, 0.66) 0%, rgba(62, 54, 156, 0.66) 100%);
}

.section-1 .box-2 .btn-1 {
	margin-top: 54px;
	box-shadow: 0 5px 0 0 rgba(0, 0, 0, 0.33);
}

.section-1 .box-2 li svg {
	min-width: 27px;
	width: 27px;
	height: max-content;
	margin-right: 12px;
	margin-top: 5px;
}

.section-1 .box-2 li + li {margin-top: 30px;}

/* SECTION 2 */
.section-2 {overflow: hidden;}

.cases-wrapper {
	margin: 0 calc(var(--inner) * -1) 30px;
	padding: 0 var(--inner);
}

.cases-wrapper .slider-item {
	min-width: calc(100% - 31px);
	opacity: .5;
	transition: opacity 400ms;
}

.cases-wrapper .slider-item.active {opacity: 1;}

.cases-wrapper .slider-item:last-of-type {transition: opacity 400ms, margin 400ms !important;}
.cases-wrapper .slider-item.last {margin-left: 33px;}

.section-2 .box-2 {
	display: flex;
	flex-direction: column;
}

.section-2 .case-btns {order: 4;}
.section-2 .descr {order: 3;}
.section-2 .nav-dots {order: 1;}

.section-2 .box-grey {
	order: 2;
	background: var(--main-50);
	border: 1px solid var(--stroke);
	padding: 21px;
}

.section-2 .box-grey .flex {
	justify-content: space-between;
	position: relative;
}

.section-2 .box-grey div.weight-600 {
	margin-right: 33px;
	line-height: 1.4em;
}

.section-2 .box-grey .weight-500 {
	font-size: 15px;
	right: 0;
	max-width: max-content;
	margin-left: auto;
}

.section-2 .box-grey .flex + .flex {margin-top: 9px;}

.section-2 .nav-dots {margin: 30px auto 60px;}

.section-2 .descr p + p {margin-top: 15px;}

.section-2 [data-box] {
	opacity: 0;
	position: absolute;
	top: 0;
	left: 0;
	transition: opacity 150ms;
	pointer-events: none;
}

.section-2 [data-box].active {
	opacity: 1;
	position: unset;
	transition: opacity 400ms;
	pointer-events: unset;
}

.section-2 .box-grey [data-box] {transition: opacity 300ms;}

.section-2 button[data-toggle-btn] {
	display: block;
	order: 2;
	max-width: max-content;
	margin: 0 auto 32px;
}

.section-2 button[data-toggle-btn].active svg {
	transform: rotate(180deg);
	margin-bottom: 1px;
}

.section-2 .descr {
	order: 3;
	max-height: 0;
	opacity: 0;
	transition: max-height 750ms, opacity 300ms;
	pointer-events: none;
}

.section-2 .descr > div {padding-bottom: 30px;}

.section-2 .descr.active {
	pointer-events: unset;
	max-height: 1100px;
	opacity: 1;
	transition: max-height 1450ms, opacity 400ms 200ms;
}

/* SECTION 3 */
.quiz-section {
	background: var(--main-50);
	border-top: 1px solid #e6e6f6;
	padding-bottom: 171px;
	overflow: hidden;
}

.q-box {
	display: block;
	width: 100%;
	position: absolute;
	top: 0;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	flex-wrap: wrap;
}

.q-box .depends {
	position: absolute;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 350ms ease-in-out;
}

.q-box.active, .q-box .depends.active {
	transition: opacity 350ms ease-in-out;
	opacity: 1;
	position: unset;
	visibility: visible;
	pointer-events: unset;
}

.q-box .dd, .radio-btns label {margin-top: 12px;}

.q-box .dd.error label {border-color: #f78181;}

.q-box label:not(.radio-btns label) {
	border: 1px solid #d9d9ea;
	background: #fff;
	border-radius: 6px;
	transition: box-shadow 300ms;
	color: #030303;
	font-size: 16px;
	line-height: 24px;
	max-width: 100%;
	min-height: 24px;
	font-weight: 500;
	padding: 15px 18px 15px 54px;
}

.q-box label:not(.radio-btns label):hover {box-shadow: 0 3px 9px #e3e3e3;}

.q-box label:not(.radio-btns label)::before {
	top: 15px;
	left: 18px;
}

.q-box .input-1 {
	border-width: 1px;
	height: unset;
	padding: 15px 18px;
}

.label_a_desc {
	font-size: 13px;
	font-weight: 500;
	color: #8a8a8d;
	margin-top: 6px;
	margin-bottom: 12px;
  }

.quiz-section .btn-medium {
	font-size: 16px;
	line-height: 24px;
	text-transform: lowercase;
	min-height: unset;
}

.quiz-section .btn-medium::first-letter {text-transform: uppercase;}

.q-btns > * {
	width: calc(50% - 12px);
	max-width: unset;
	padding: 12px;
	margin-top: 24px;
}

.q-btns > *:first-child {margin-right: 18px;}

.q-btns .hidden {
	display: block !important;
	pointer-events: none;
	opacity: 0;
}

.q-form > .btn-1 {
	margin-top: 24px;
	line-height: 24px;
	padding: 15px 12px;
	width: 100%;
	max-width: unset;
}

.nav-bar {margin: 33px 0 36px;}

.nav-bar .weight-500 {
	white-space: nowrap;
	margin: 0 0 12px auto;
	max-width: max-content;
	min-width: 117px;
	font-size: 14px;
	text-align: right;
}

.tab-nav {
	border-radius: 3px;
	overflow: hidden;
	background-color: var(--main-100);
}

.tab-nav > * {
	user-select: none;
	width: 0%;
	height: 12px;
	background-color: var(--main2);
	transition: width 500ms;
}

.radio-btns {margin-bottom: 27px;}

.radio-btns label {margin-top: 18px;}

.zayavka-prinyata {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	position: absolute;
	position: fixed;
	inset: 0;
	padding: 0 30px;
	background-color: #fff;
	z-index: 40;
	max-height: 100vh;
	min-height: 100%;
	height: 100%;
}

.zayavka-prinyata > * {text-align: center;}

.zayavka-prinyata p {
	margin-top: 18px;
	line-height: 1.5em;
	font-size: 18px;
}

.zayavka-prinyata .btn-medium {margin-top: 36px;}

@media (min-width: 360px) {
	/* MAIN PAGE */
	/* SECTION 2 */
	.section-2 .box-1 .text-21 {margin-left: 18px;}

	.section-2 .box-grey .weight-500 {font-size: inherit;}

	.section-2 .box-grey {
		padding: 24px;
		font-size: 15px;
	}

	.section-2 .box-grey .flex + .flex {margin-top: 12px;}

	/* QUIZ */
	.q-box label {
		font-size: 17px !important;
		line-height: 24px !important;
	}

	.q-box label:not(.radio-btns label) {padding: 18px 24px 18px 63px;}
	.q-box label:not(.radio-btns label)::before {
		top: 18px;
		left: 24px;
	}	  

	.q-box .radio-btns label::before {top: 0;}

	.q-box .input-1 {padding: 15px 24px;}
}

@media (min-width: 480px) {
	/* MAIN PAGE */
	.section-1 {margin-top: 60px;}

	.section-1 hgroup p {
		font-size: 24px;
		line-height: 30px;
		margin: 51px auto 30px;
		max-width: max-content;
		position: relative;
	}

	.section-1 .box-2 li {
		font-size: 21px;
		align-items: center;
	}

	.section-1 .box-2 li svg {
		min-width: 30px;
		width: 30px;
		margin-right: 12px;
		margin-top: 0;
	}

	.section-1 .box-1 img {
		margin: 0 -60px;
		min-width: calc(100% + 120px);
	}

	/* SECTION 2 */
	.cases-wrapper .slider-item {min-width: calc(90% - 51px);}
	.cases-wrapper .slider-item.last {margin-left: 21px;}

	/* SECTION 3 */
	.quiz-section {
		padding-left: 15px;
		padding-right: 15px;
	}
}

@media (min-width: 580px) {
	/* MAIN PAGE */
	.section-1 .box-2 {padding: 72px var(--inner) 81px;}

	/* SECTION 2 */
	.cases-wrapper {margin-bottom: 40px;}

	.cases-wrapper .slider-item {min-width: calc(80% - 72px);}
	.cases-wrapper .slider-item + .slider-item {margin-left: 33px !important;}

	.section-2 .box-grey {
		padding: 33px 42px;
		font-size: 18px;
	}

	.section-2 .descr {font-size: 18px;}

	.section-2 p.text-21 {
		font-size: 27px;
		margin-left: 27px;
	}

	/* SECTION 3 */
	.quiz-section {padding-bottom: 270px;}

	.quiz-section .inner > div {
		max-width: 600px;
		margin: auto;
	}

	.quiz-section .btn-medium {
		min-height: 60px;
		font-size: 18px;
	}

	.q-btns > *:first-child {margin-right: 24px;}
}

@media (min-width: 740px) {
	/* MAIN PAGE */
	.section-1 {margin-top: 72px;}

	/*.section-1 .h1 br {display: none;}*/

	.section-1 hgroup p {margin: 42px auto 30px;}

	.section-1 hgroup p::before {
		content: '';
		position: absolute;
		left: -63px;
		top: 4px;
		background-image: url("data:image/svg+xml, %3Csvg width='48' height='48' viewBox='0 0 48 48' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M48 24C48 24 24 24 24 48C24 24 0 24 0 24C0 24 24 24 24 0C24 24 48 24 48 24Z' fill='%23E3E3F0'/%3E%3C/svg%3E ");
		background-size: cover;
		width: 48px;
		height: 48px;
	}

/*
	.section-1 hgroup .h1 span:last-of-type {text-decoration: underline 6px var(--main2);}
*/

	.section-1 .box-2 {padding: 81px var(--inner) 93px;}

	/* SECTION 2 */
	.section-2 {overflow: unset;}

	.section-2 h2 {margin-bottom: 42px;}

	.section-2 h2 + div {
		display: flex;
		flex-wrap: wrap;
		flex-direction: row-reverse;
		justify-content: space-between;
	}

	.section-2 p.text-21 {
		width: 100%;
		margin: 0 auto 18px 0;
	}

	.section-2 p.text-21 > span {
		display: block;
		width: 56%;
	}

	.section-2 .box-1 {
		padding-left: 42px;
		max-width: 342px;
		width: 45%;
		position: sticky;
		top: 20px;
		align-self: flex-start;
	}

	.section-2 .box-2 {
		width: 55%;
		display: flex;
		flex-direction: column;
	}

	.section-2 .descr {
		order: 1;
		transition: unset;
		max-height: unset !important;
		opacity: unset !important;
		pointer-events: unset !important;
		font-size: 17px;
		position: relative;
	}

	.section-2 button[data-toggle-btn] {display: none;}

	.section-2 .box-grey {order: 2;}
	.section-2 .case-btns {order: 3;}

	.section-2 .box-1 .nav-dots {
		display: block !important;
		margin: 42px auto 0;
	}

	.section-2 .box-grey {
		padding: 24px;
		font-size: 15px;
		margin: 24px 0;
	}

	.section-2 .case-btns .btn-medium {
		max-width: unset;
		height: 60px;
	}

	.cases-wrapper {
		margin: 0;
		padding: 0;
		overflow: hidden;
	}

	.cases-wrapper .slider-item {min-width: 100%;}
}

@media (min-width: 800px) {
	/* MAIN PAGE */
	.section-1 .box-1 img {
		margin: 0;
		min-width: unset;
	}

	/* SECTION 2 */
	.section-2 p.text-21 > span {width: calc(100% - 351px);}

	.section-2 .box-1 {
		padding: 0;
		max-width: 300px;
	}

	.section-2 .box-2 {
		width: calc(100% - 351px);
		max-width: 620px;
		margin-right: 51px;
	}

	.section-2 .box-grey .weight-500 {
		min-width: 177px;
		text-align: left;
	}

	.section-2 .box-grey .flex + .flex {margin-top: 6px;}
}

@media (min-width: 1024px) {
	/* MAIN PAGE */
	.section-1 {
		margin-top: 120px;
		background-image: url(../img/bg3.svg);
		background-size: cover;
		background-repeat: no-repeat;
		background-position: center 240px;
	}

	.section-1 .box-1 {
		display: flex;
		margin-top: 123px;
		background: unset;
	}

	.section-1 hgroup .h1 span:last-of-type {text-underline-offset: 15px;}
	.section-1 hgroup p {
		margin: 33px auto 0px;
		line-height: 36px;
	}

	.section-1 .box-2 {
		background: unset;
		padding: 72px var(--inner) 108px 0;
	}

	.section-1 .box-2 .btn-1 {max-width: 100% !important;}

	.section-1 .box-1 > * {width: 50%;}

	.section-1 .box-1 picture {margin: -120px 0 -3px;}

	.section-1 .box-1 img {
		height: 100%;
		margin-left: -60px;
		min-width: 560px;
		object-fit: contain;
		object-position: right bottom;
	}

	.section-1 .box-1 .h2 {
		font-size: 30px;
		line-height: 42px;
		margin-bottom: 24px;
	}

	.section-1 .box-1 .h2 br {display: none;}

	.section-1 .box-2 li {font-size: 18px;}
	.section-1 .box-2 li + li {margin-top: 21px;}

	/* SECTION 2 */
	.section-2 h2 {margin-bottom: 51px;}

	.section-2 .case-btns {
		display: flex;
		flex-direction: row-reverse;
	}

	.section-2 .case-btns > .btn-medium {
		width: 50%;
		margin-bottom: 0;
	}

	.section-2 .case-btns > .marg-b-18 {margin-left: 30px;}

	.section-2 .box-grey {
		order: 2;
		margin: 42px 0 24px;
		padding: 24px 42px;
	}

	.section-2 .box-1 {padding-bottom: 195px;}

	.section-2 .descr {font-size: 16px;}
	.section-2 .descr p {
		font-size: 16px;
		line-height: 27px;
	}
	.section-2 .descr p + p {margin-top: 15px;}

	.cases-wrapper .slider-item, .cases-wrapper .slider-item:last-of-type {transition: opacity 0ms !important;}
	.cases-wrapper .slider-item + .slider-item {margin-left: 0 !important;}

	.cases-wrapper .slider-list {
		cursor: unset !important;
		pointer-events: none;
	}

	.section-2 .nav-dots {
		margin: 81px auto 60px;
		order: 4;
	}
}

@media (min-width: 1280px) {
	.section-1 .box-2 li + li {margin-top: 15px;}

	.section-1 .box-1 > * {
		padding-right: 0;
		width: 100%;
		max-width: 570px
	}

	.section-1 .box-1 picture {margin-left: -42px;}

	/* SECTION 2 */
	.section-2 h2 {margin-bottom: 62px;}

	/* SECTION 3 */
	.quiz-section {
		padding-top: 120px;
		padding-bottom: 171px;
	}
}

@media (min-width: 1366px) {
	/* SECTION 2 */
	.section-2 .inner {position: relative;}

	.section-2 [data-slider-btn] {
		display: block !important;
		position: absolute;
		top: 390px;
		width: 42px;
		height: 84px;
		background-size: contain;
		background-repeat: no-repeat;
	}

	.section-2 [data-slider-btn*="next"] {
		background-image: url("data:image/svg+xml,%0A%3Csvg width='47' height='90' viewBox='0 0 47 90' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 3L42.8787 42.8787C44.0503 44.0503 44.0503 45.9497 42.8787 47.1213L3 87' stroke='%23D3D3E6' stroke-width='6'/%3E%3C/svg%3E%0A");
		left: 103%;
	}

	.section-2 [data-slider-btn*="prev"] {
		background-image: url("data:image/svg+xml,%0A%3Csvg width='47' height='90' viewBox='0 0 47 90' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M44 87L4.12132 47.1213C2.94975 45.9497 2.94975 44.0503 4.12133 42.8787L44 3' stroke='%23D3D3E6' stroke-width='6'/%3E%3C/svg%3E%0A");
		right: 103%;
	}

	.section-2 .box-2 .nav-dots {order: 4;}
}

@media (min-width: 1440px) {
	/* SECTION 2 */
	.section-2 [data-slider-btn*="next"] {left: 107%;}
	.section-2 [data-slider-btn*="prev"] {right: 107%;}

	/* SECTION 3 */
	.quiz-section {padding-bottom: 270px;}
}

@media (min-width: 1535px) {
	/* SECTION 2 */
	.section-2 [data-slider-btn*="next"] {left: 110%;}
	.section-2 [data-slider-btn*="prev"] {right: 110%;}
}
