: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;

	background-color: #E7EAF0;
	border: 2px solid #2FA0DF;
	color: #2FA0DF;
}

.button.button-revere{
	border: 2px solid transparent;
    background: var(--bg-event);
    color: var(--bg-white);
}

.button:hover {
	background: var(--bg-event-hover);
	color: #ffffff;
}

.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;
	flex-direction: column;
	position: relative;
}
.deal-block__el {
	display: flex;
	/* width: calc(50% - 10px); */
	width: 100%;
	overflow: hidden;
	border-radius: 30px;
	background: var(--bg-white);
	position: relative;
}

.deal-block__el:first-child {
	height: 220px;
}

.deal-block__el>img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.deal-block__el.steps {
	padding: 48px;
	flex-direction: column;
	gap: 24px;
}

.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);
	font-size: 16px;
}
.deal__info>h2.section__title {
    font-size: 22px;
}

.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-bottom: 32px;
}

.deal-flags .button.active {
	border: 2px solid transparent;
	background: var(--bg-event);
	color: var(--bg-white);
}
.deal-flags .button:nth-child(1):hover{
	background: #17c2e7 !important;
	border-color: #17c2e7 !important;
}
.deal-flags .button:nth-child(2):hover{
	background: #48abff !important;
	border-color: #48abff !important;
}
.deal-flags .button:nth-child(3):hover{
	background: #1271ff !important;
	border-color: #1271ff !important;
}


.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;
	overflow: auto;
	max-height: 100%;
}

.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;
	}

	.deal-step>.current {
		width: 50px;
		min-width: 50px;
		height: 50px;
		margin-right: 10px;
	}
	.deal-step::before {
    	left: 24px;
	}

	.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;
	}
}

.notes-open {
	position: absolute;
    width: 196px;
    top: 13px;
    right: 50%;
    margin-right: -98px;
    cursor: pointer;
	transition: all ease .3s;
	z-index: 8;
}
.notes-open.fixed {
    position: fixed;
    top: 63px;
    right: 20px;
    margin-right: 0;   
	transform: scale(0.6); 
}

.notes-open .notes-t {
	max-width: 100%;
	height: auto;
	animation: infinite-rotate 6s linear infinite;
}

@keyframes infinite-rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.notes-open .notes-i {
	position: absolute;
    max-width: 80px;
    left: 50%;
    top: 50%;
    margin: -40px 0 0 -40px;
}

.important-notes {
	padding: 64px;
	background: #0873AF;
	position: relative;
	border-radius: 30px;
}

.important-notes__text {
	background: #ffffff;
	border-radius: 30px;
	padding: 36px;
	text-align: center;
	font-size: 16px;
	margin-bottom: 41px;
}

.important-notes__text b {
	display: block;
	text-transform: uppercase;
	font-size: 32px;
	font-weight: normal;
	margin: 0 0 10px;
}

.important-notes__list {
	background: #ffffff;
	border-radius: 30px;
	padding: 36px;
	font-size: 16px;
}

.important-notes__list .item {
	position: relative;
	margin: 0 0 25px;
	padding: 0;
	display: flex;
	align-items: flex-start;
	justify-content: flex-start;
	gap: 20px;
}

.important-notes__list .item::before {
	content: '';
	width: 35px;
	height: 35px;
	background: #0873AF;
	border-radius: 35px;
	flex-shrink: 0;
}

@media screen and (max-width: 1024px) {
	.important-notes__text b {
		font-size: 22px;
	}

	.important-notes {
		padding: 15px;
	}

	.important-notes__text {
		padding: 15px;
		margin-bottom: 21px;
	}

	.important-notes__list {
		padding: 15px;
	}

	.important-notes__list .item::before {
		width: 15px;
		height: 15px;
	}

	.notes-open {
		transform: scale(0.6);
	}
}


.hint {
	position: relative;
	display: inline-block;
	border-bottom: 2px dotted #4a6ee0;
	cursor: help;
	color: #4a6ee0;
	font-weight: 500;
	transition: all 0.2s ease;
}

.hint:hover {
	color: #2c4ac2;
	border-bottom-color: #2c4ac2;
}

.hint-tooltip {
	position: absolute;
	background: #2c3e50;
	color: white;
	padding: 15px;
	border-radius: 8px;
	font-size: 14px;
	line-height: 1.5;
	width: 280px;
	z-index: 1000;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
	pointer-events: none;
}

.hint-tooltip.active {
	opacity: 1;
	visibility: visible;
}

.hint-tooltip:after {
	content: '';
	position: absolute;
	width: 0;
	height: 0;
	border: 8px solid transparent;
}

.hint-tooltip.top:after {
	bottom: -16px;
	left: 50%;
	transform: translateX(-50%);
	border-top-color: #2c3e50;
}

.hint-tooltip.bottom:after {
	top: -16px;
	left: 50%;
	transform: translateX(-50%);
	border-bottom-color: #2c3e50;
}

.hint-tooltip.left:after {
	right: -16px;
	top: 50%;
	transform: translateY(-50%);
	border-left-color: #2c3e50;
}

.hint-tooltip.right:after {
	left: -16px;
	top: 50%;
	transform: translateY(-50%);
	border-right-color: #2c3e50;
}

.tooltip-title {
	font-weight: bold;
	margin-bottom: 8px;
	color: #6eb6ff;
	font-size: 15px;
}

.close-tooltip {
	position: absolute;
	top: 8px;
	right: 10px;
	background: none;
	border: none;
	color: #ccc;
	cursor: pointer;
	font-size: 16px;
	transition: color 0.2s;
}

.close-tooltip:hover {
	color: white;
}