:root {
	--bg-event: #2FA0DF;
	--bg-event-hover: #0873AF;
	--bg-event-disabled: #7B889C;
	--text-default: #272727;
	--text-gray: #7B889C;
	--bg-white: #fff;
}
@font-face {
	font-family: 'Golos';
	src: url('../fonts/GolosText-VariableFont_wght.ttf');
}
body {
	font-size: 18px;
}
* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
	font-family: 'Golos';
}

.main-wrapper {
	display: flex;
	width: 100%;
	flex-direction: column;
	min-height: 100vh;
	position: relative;
	background: #E7EAF0;
	gap: 180px;
}
.header {
	display: flex;
	width: 100%;
	position: fixed;
	top: 0;
	left: 0;
	align-items: center;
	border-radius: 0 0 30px 30px; 
	height: 79px;
	z-index: 10;
	background: var(--bg-white);
}
.wrapper-container {
	display: flex;
	flex-direction: column;
	width: 100%;
	position: relative;
	max-width: 1700px;
	padding: 0 20px;
	margin: 0 auto;
}
.wrapper-container > h1.section__title {
	margin-bottom: 32px;
}
.header-logo {
	display: flex;
	width: fit-content;
	height: 32px;
}
.header-logo > img {
	height: 100%
}

.header > .wrapper-container {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
}
.header-navbar {
	display: flex;
	align-items: center;
	gap: 48px;
}
.header-navbar-list {
	display: flex;
	align-items: center;
	list-style-type: none;
	gap: 32px
}
.header-navbar-list__item {
	text-decoration: none;
	transition: .3s;
	line-height: 150%;
	cursor: pointer;
	color: var(--text-default);
}
.header-navbar-list__item:hover {
	color: var(--bg-event-hover);
}

.navbar__divider {
	display: flex;
	width: 1px;
	height: 28px;
	background: var(--text-default)
}

.navbar__feedback {
	transition: .3s;
	text-transform: uppercase;
	color: var(--bg-event);
	cursor: pointer;
	line-height: 150%;
}
.navbar__feedback:hover {
	color: var(--bg-event-hover);
}


.section-block {
	display: flex;
	flex-direction: column;
	width: 100%;
	justify-content: center;
}
.preview__block {
	display: flex;
	width: 100%;
	height: 100vh;
	position: relative;
}
.preview__block > .wrapper-container {
	position: absolute;
	height: 100%;
	width: 100%;
	left: 50%;
	transform: translateX(-50%);
}
.preview-block__render {
	display: flex;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}
.preview-promo__block {
	display: flex;
	width: 100%;
	top: 50%;
	transform: translateY(-50%);
	position: absolute;
	max-width: 561px;
	background: var(--bg-white);
	padding: 64px;
	border-radius: 30px;
	flex-direction: column;
}

h1.section__title {
	font-size: 48px;
	text-transform: uppercase;
	line-height: 120%;
	margin: 0;
	color: var(--text-default);
}
h2.section__title {
	font-size: 32px;
	text-transform: uppercase;
	line-height: 120%;
	margin: 0;
	font-weight: 600;
	color: var(--text-gray);
}
.section__desc {
	font-size: 20px;
	color: var(--text-gray);
	line-height: 140%;
}
.preview-promo__block > .section__title {
	font-size: 32px;
}
.preview-promo__block > .section__desc {
	margin: 32px 0 48px;
}


.button {
	display: flex;
	width: 100%;
	border-radius: 60px;
	background: var(--bg-event);
	height: 75px;
	border: none;
	outline: none;
	transition: .3s;
	cursor: pointer;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	color: var(--bg-white);
	text-transform: uppercase;
}
.button:hover {
	background: var(--bg-event-hover);
}

.subtitle {
	font-size: 24px;
	font-weight: 500;
	line-height: 140%;
	color: var(--text-default);
}

.pluses {
	display: flex;
	margin-top: 48px;
}
.pluses__content {
	display: flex;
	width: 100%;
	gap: 20px;
	flex-wrap: wrap;
}
.pluses__element {
	display: flex;
	flex-direction: column;
	padding: 32px;
	background: var(--bg-white);
	width: calc(25% - 15px);
	align-items: flex-start;
	border-radius: 30px;
}
.pluses__element > img {
	margin-bottom: 32px;
}
.pluses__element > .subtitle {
	margin-bottom: 8px;
}


.conditins {
	display: flex;
	width: 100%;
	gap: 20px;
	flex-wrap: wrap;
}
.conditins__element {
	display: flex;
	flex-direction: column;
	padding: 32px;
	background: var(--bg-white);
	width: calc(25% - 15px);
	align-items: flex-start;
	border-radius: 30px;
}
.conditins__element > .section__desc {
	margin-bottom: 48px;
}
.conditins__element > .subtitle {
	margin-bottom: 16px;
}
.conditins__element > img {
	margin-top: auto;
	max-width: 100%;
}


.is-in-view {
	opacity: 0;
    transition: .6s;
    transform: translateY(60px);
}
.is-in-view--animated {
	opacity: 1;
	transform: translateY(0px);
}



.deal {
	display: flex;
	width: 100%;
	flex-direction: column;
}
.deal-blocks {
	display: flex;
	width: 100%;
	gap: 20px;
}
.deal-block__el {
	display: flex;
	width: calc(50% - 10px);
	overflow: hidden;
	border-radius: 30px;
	background: var(--bg-white)
}
.deal-block__el > img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}
.deal-block__el.steps {
	padding: 48px;
	flex-direction: column;
	gap: 48px;
}

.deal-step {
	display: flex;
	align-items: flex-start;
	width: 100%;
	position: relative;
}
.deal-step:last-child {
	margin-bottom: 0;
}
.deal-step:last-child::before {
	display: none;
}
.deal-step::before {
	content: '';
	width: 1px;
	left: 39px;
	height: calc(100% + 48px);
	position: absolute;
	background: var(--text-gray)
}
.deal-step > .current {
	width: 80px;
	min-width: 80px;
	height: 80px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--text-gray);
	color: var(--bg-white);
	border-radius: 50%;
	font-size: 32px;
	margin-right: 48px;
	position: relative;
	z-index: 2
}
.deal__info {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin-top: 14px;
	color: var(--text-gray);
}
.deal__info > .subtitle {
	color: var(--text-gray);
}

.deal-step.is-in-view--animated .current {
	transition: .6s;
	transition-delay: 1s;
	background: var(--bg-event);
}
.deal-step.is-in-view--animated::before {
	transition: .6s;
	transition-delay: 1s;
	background: var(--bg-event); 
}

.deal-step.is-in-view--animated .section__title {
	transition: .3s;
	transition-delay: 1s;
	color: var(--bg-event); 
}
.deal-flags {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-top: 32px;
}


.form-container {
	display: flex;
	width: 100%;
	padding: 64px;
	background: #0873AF;
	position: relative;
	border-radius: 30px;
	overflow: hidden;
}
.form {
	display: flex;
	width: 100%;
	max-width: 672px;
	padding: 64px;
	position: relative;
	background: var(--bg-white);
	flex-direction: column;
	border-radius: 30px;
}
.form > .subtitle {
	color: var(--text-gray);
	margin-top: 32px;
}
.form__fields {
	display: flex;
	flex-direction: column;
	width: 100%;
	gap: 16px;
	margin-top: 64px;
}
.form__fields > p {
	color: var(--text-gray);
	font-size: 14px;
	text-transform: uppercase;
	line-height: 130%;
}
.input__field {
	display: flex;
	width: 100%;
	height: 75px;
	border-radius: 60px;
	padding: 0 48px;
	font-size: 18px;
	border: 1px solid var(--text-gray);
	outline: none;
	color: var(--text-default);
	transition: .3s;
}
.input__field::placeholder {
	color: var(--text-gray);
}
.input__field:hover {
	border: 1px solid var(--bg-event);
}
.input__field:focus {
	border: 1px solid var(--bg-event);
	color: var(--bg-event);
}
.form-asset {
	max-width: calc(50% - 64px);
	position: absolute;
	right: 64px;
	bottom: 0;
}

.footer {
	background: var(--bg-white);
}
.footer-container {
	display: flex;
	flex-direction: column;
	padding: 120px 0;
	width: 100%;
}
.footer-header {
	display: flex;
	width: 100%;
	margin-bottom: 48px;
	padding-bottom: 48px;
	border-bottom: 1px solid #7B889C;
	justify-content: space-between;
}
.social-webs {
	display: flex;
	align-items: center;
}
.social-webs > p {
	font-size: 18px;
	font-weight: 500;
	margin-right: 32px;
	text-transform: uppercase;
}
.social-webs__adresses {
	display: flex;
	align-items: center;
	gap: 8px;
}

.footer-content {
	display: flex;
	width: 100%;
	justify-content: space-between;
}
.footer-contacts {
	display: flex;
	width: calc(100% - 534px);
	flex-direction: column;
	gap: 16px;
}
.footer-contacts > .section__title {
	color: var(--text-default);
}
.footer-contacts > .section__title.blue {
	color: var(--bg-event);
}
.footer-schedule {
	width: 100%;
	max-width: 534px;
	display: flex;
	flex-direction: column;
	padding: 24px;
	background: #E7EAF0;
	border-radius: 16px;
	gap: 16px;
}
.footer-schedule > .title {
	text-transform: uppercase;
	font-weight: 500;
}
.shedule-element {
	color: var(--text-gray);
	line-height: 150%;
}

.form-modal .section__title {
	color: var(--text-default);
}

.modal {
	display: flex;
	width: 100%;
	position: fixed;
	z-index: -1;
	height: 100%;
	left: 0;
	transition: .3s;
	opacity: 0;
	top: 0;
	background: rgba(0,0,0, 0.3);
	align-items: center;
	justify-content: center;
}
.modal.active {
	opacity: 1;
	z-index: 999;
}
.close_modal {
	display: flex;
	width: 32px;
	height: 32px;
	top: 32px;
	right: 32px;
	position: absolute;
	align-items: center;
	cursor: pointer;
	margin-left: auto;
	justify-content: center;
}
.close_modal > div {
	position: absolute;
	left: 50%;
	width: 26px;
	background: var(--text-gray);
	height: 2px;
	transition: .3s;
	top: 50%;
	transform: translate(-50%, -50%);
}
.close_modal > div:first-child {
	transform: translate(-50%, -50%) rotate(45deg);
}
.close_modal > div:last-child {
	transform: translate(-50%, -50%) rotate(-45deg);
}
.close_modal:hover > div {
	background: var(--bg-event);
}
.burger, .sidebar {
	display: none;
}

/* media */

@media screen and (max-width: 1300px) {
	.conditins__element {
		width: calc(50% - 10px);
	}	
	.conditins__element > img {
		margin: auto auto 0;
	}
	.form-asset {
		max-width: 60%;
		right: -10%;
	}
	.footer-content {
		flex-direction: column;
		gap: 32px;
	}
	.footer-schedule {
		width: 100%;
		max-width: 100%;
	}
	.main-wrapper {
		gap: 140px;
	}
	.footer-container {
		padding: 64px 0;
	}
	h1.section__title {
		font-size: 32px;
	}
	h2.section__title {
		font-size: 24px;
	}
	.subtitle {
		font-size: 20px;
	}
	.section__desc {
		font-size: 16px;
	}
	.deal-step > .current {
		font-size: 24px;
	}
}
@media screen and (max-width: 1024px) {
	.header .header-navbar {
		display: none;
	}
	.burger {
		display: flex;
		width: 48px;
		height: 48px;
		align-items: flex-start;
		justify-content: center;
		gap: 4px;
		flex-direction: column;
	}
	.burger > div {
		height: 5px;
		transition: .3s;
		border-radius: 30px;
		background: var(--bg-event);
	}
	.burger:hover > div {
		background: var(--bg-event-hover);
	}

	.burger > div:nth-child(1) {
		width: 36px;
	}
	.burger > div:nth-child(2) {
		width: 20px;
	}
	.burger > div:nth-child(3) {
		width: 36px;
	}
	.burger.active > div:nth-child(2) {
		transform: translateX(-10px) scale(0);
		opacity: 0;
	}
	.burger.active > div:nth-child(1) {
		transform: translate(6px,9px) rotate(-45deg);
	}
	.burger.active > div:nth-child(3) {
		transform: translate(6px,-9px) rotate(45deg);
	}
	.sidebar {
		display: flex;
		width: 383px;
		height: 100%;
		z-index: 9;
		position: fixed;
		transition: .3s;
		flex-direction: column;
		right: -383px;
		background: var(--bg-white);
		padding: 120px 48px 48px;
		border-radius: 0 0 0 30px;
	}
	.sidebar .header-navbar-list {
		flex-direction: column;
		gap: 24px;
		padding-bottom: 48px;
		border-bottom: 1px solid var(--text-gray);
		align-items: flex-start;
	}
	.sidebar .navbar__feedback {
		margin-top: auto;
	}
	.sidebar.active {
		right: 0;
	}
	.pluses__element {
		width: calc(50% - 10px);
	}
	.deal-blocks {
		flex-direction: column;
	}
	.deal-block__el {
		width: 100%;
		height: 500px;
	}
	.deal-block__el.steps {
		height: auto;
	}
	.form-container {
		padding-bottom: 0;
		flex-direction: column;
		padding: 48px 48px 0;
	}
	.form-container .form {
		max-width: 100%;
	}
	.form-asset {
		position: relative;
		width: 100%;
		max-width: 60%;
		right: 0;
		scale: 1.2;
		margin: 0 auto;
	}
}
@media screen and (max-width: 769px) {
	.preview__block {
		flex-direction: column;
		height: auto;
	}
	.preview-block__render {
		height: 500px;
	}
	.preview__block > .wrapper-container {
		position: relative;
		transform: none;
		left: 0;
	}
	.preview-promo__block {
		position: relative;
		top: 0;
		left: 0;
		width: 100%;
		padding: 32px;
		max-width: 100%;
		margin-top: 32px;
		transform: none;
	}
	.pluses {
		margin-top: 32px;
	}
	.preview-promo__block > .section__desc {
		margin: 16px 0 32px;
	}
	.button, .input__field {
		height: 53px;
		font-size: 14px;
	}
	.preview-promo__block > .section__title {
		font-size: 28px;
	}
	.subtitle {
		font-size: 18px;
	}
	.main-wrapper {
		gap: 120px;
	}
	h1.section__title {
		font-size: 28px;
	}
	h2.section__title {
		font-size: 22px;
	}
	.deal-flags {
		flex-direction: column;
		margin-top: 24px;
		gap: 8px;
	}
	.form-container {
		padding: 32px 32px 0;
	}
	.form {
		padding: 48px 32px 32px;
	}
	.form-asset {
		max-width: 80%;
	}
	.footer-contacts {
		width: 100%;
	}
	.footer-header {
		flex-direction: column;
		padding-bottom: 32px;
		margin-bottom: 32px;
	}
	.social-webs {
		margin-top: 24px;
		justify-content: space-between;
		width: 100%;
	}	
}
@media screen and (max-width: 568px) {
	.sidebar {
		width: 100%;
		right: -100%;
		border-radius: 0;
	}
	.pluses__element {
		width: 100%;
	}
	.conditins__element {
		width: 100%;
	}
	.deal-block__el.steps {
		padding: 32px 16px;
	}
	.section-form > .wrapper-container {
		padding: 0;
	}
	.form-container {
		border-radius: 0;
		padding: 32px 20px 0;
	}
	.form {
		padding: 32px;
	}
	.form-modal {
		height: 100%;
		border-radius: 0;
		padding-top: 120px;
	}
	.form__fields {
		margin-top: 32px;
	}
	.form__fields > p {
		font-size: 12px;
	}
	.form > .subtitle {
		margin-top: 16px;
	}
}