* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
	font-family: 'Montserrat', sans-serif;
	color: #01061f;
	font-weight: 400;
    display: flex;
    flex-direction: column;
}

body::before {
    content: '';
    height: 62px;
    display: block;
}

body.header__menu_opened {
	overflow: hidden;
}

.body-modal_opened {
    overflow: hidden;
}

body.header__menu_opened .navbar {
	display: block;
}

a {
	text-decoration: none;
	color: #2967f6;
}

a:hover {
	text-decoration: underline;
}

.as-h1 {
	font-size: 28px;
	font-weight: 600;
	line-height: 32px;
	margin-bottom: 20px;
}

.as-h1_service {
    margin-bottom: 40px;
}

.as-h2 {
	font-size: 28px;
	font-weight: 600;
	line-height: 1.5em;
	margin-bottom: 24px;
}

.as-h2_service {
    margin-bottom: 20px;
    line-height: initial;
}

.as-h3 {
	font-size: 22px;
	line-height: 1.5em;
	font-weight: 600;
	margin-bottom: 35px;
}

/* кнопки */

.btn {
	font-family: inherit;
	font-size: inherit;
	border-radius: 8px;
	margin: 12px 0;
	cursor: pointer;
	transition: 0.1s;
	padding: 20px 16px;
	border: 0;
}

/* инпуты */

.input {
	border-radius: 10px;
	border: 1px solid #787777;
	width: 100%;
	padding: 0 20px;
	font-family: inherit;
	font-size: 18px;
	height: 63px;
}

.input::-webkit-input-placeholder {
	font-size: 14px;
}

.input_invalid {
    border-color: rgb(255, 99, 71);
    background-color: rgba(255, 99, 71, 0.1);
}

/* area */

.area {
	height: 185px;
	resize: none;
	padding: 20px 24px;
}

.container {
	max-width: 1200px;
	margin: 0 auto;
}

/* мобильное меню. по умолчанию скрыт */

.mobile__header .navbar {
	display: none;
	position: fixed;
	z-index: 10;
	background-color: #ffffff;
	text-align: center;
	top: 32px;
	right: 0;
	bottom: 0;
	left: 0;
	margin-top: 20px;
	padding-top: 50px;
}

.mobile__block {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.mobile__header {
	padding: 16px 20px;
	position: fixed;
	width: 100%;
	z-index: 15;
	background-color: #ffffff;
	top: 0;
	left: 0;
}

.nav__links {
	text-align: center;
}

.keep-order {
	text-align: center;
}

.keep-order__link {
	background-image: url(../img/telegram-icon.svg);
	width: 42px;
	min-height: 42px;
}

/* оставить заявку */

.keep-order div {
	padding: 12px 18px;
	border-radius: 39px;
	border: 1px solid #01061f;
	max-width: 175px;
	margin: 0 auto;
	cursor: pointer;
	transition: background-color 0.1s;
}

.keep-order div:hover {
	background-color: #01061f;
	color: #ffffff;
}

.nav__link {
	color: #01061f;
}

.nav__link_block {
	margin-bottom: 16px;
}

.nav__link:not(:last-child) {
	margin-right: 20px;
}

/* десктопное меню */

.desktop__header {
	display: none;
}

.logo,
.mobile__menu,
.keep-order__link {
	font-size: 0;
	background-position: 50% 50%;
	background-repeat: no-repeat;
	background-size: cover;
	display: inline-block;
}

.logo {
	background-image: url(../img/logo.svg);
	width: 142px;
	min-width: 142px;
	min-height: 18px;
}

.mobile__menu {
	position: relative;
	background-image: url(../img/menu-button.svg);
	width: 30px;
	min-width: 30px;
	min-height: 30px;
	cursor: pointer;
	display: flex;
	justify-content: center;
	align-items: center;
	background-size: contain;
}

.header__menu_opened .mobile__menu {
	background-image: none;
}

.header__menu_opened .mobile__menu::before,
.header__menu_opened .mobile__menu::after {
	content: '';
	position: absolute;
	margin: auto;
	width: 3px;
	height: 30px;
	background-color: #414145;
}

.header__menu_opened .mobile__menu::before {
	transform: rotate(45deg);
}

.header__menu_opened .mobile__menu::after {
	transform: rotate(-45deg);
}

main {
    flex-grow: 1;
}

/* персональный брокер */

.banner {
	background-color: #030303;
	color: #ffffff;
	padding: 80px 16px 80px;
}

.banner__description:not(:last-child) {
	margin-bottom: 80px;
}

.banner__text {
	font-size: 18px;
	font-weight: 400;
	line-height: 1.4em;
}

.banner__text_small {
	font-size: 14px;
	font-weight: 500;
	line-height: 1.4em;
}

/* клиентам */

.for-clients {
    padding-top: 70px;
}

.for-clients__block {
    padding: 0 16px;
}

.clients__block {
	display: flex;
	flex-flow: column wrap;
	justify-content: space-evenly;
}

.client__block {
	flex-basis: 30%;
}

.client__block_img {
	display: block;
	margin: 0 auto 16px;
}

.client__block {
	margin-bottom: 60px;
}

.client__block_text {
	text-align: center;
	font-size: 16px;
	font-weight: 600;
}

/* преимущества виртуальных активов */

.advantages {
	margin-bottom: 60px;
}

.advantages__list {
	display: flex;
	flex-direction: column;
}

.advantage {
	border-radius: 10px;
	padding: 18px 12px;
	background: rgba(1, 6, 31, 0.05);
	margin-bottom: 14px;
}

.advantage__title {
	font-weight: 500;
	margin-bottom: 14px;
}

.advantage__text {
	font-size: 14px;
	line-height: 20px;
}

/* получите бесплатный анализ портфеля */

.promo {
	margin-bottom: 80px;
	background: linear-gradient(90deg, #11151a, #16181f);
}

.promo__wrapper {
    text-align: center;
}

.promo__container {
	padding: 60px 16px 40px;
	max-width: 100%;
}

.promo__title {
    font-weight: 500;
    font-size: 26px;
}

.promo__block {
	color: #ffffff;
}

.offer__list {
	padding-left: 5px;
	margin-bottom: 40px;
}

.offer {
	font-size: 16px;
	padding-left: 5px;
	line-height: 1.4;
	margin-bottom: 5px;
}

.offer::marker {
	content: '-';
}

.promo__btn {
	color: #ffffff;
	border: 1px solid #ffffff;
	background-color: #12181f;
	padding: 14px 24px;
}

.promo__btn:hover {
	color: #01061f;
	background-color: #ffffff;
}

/* пайплайн. 3 простых шага к эффективным инвестициям */

.pipeline {
	margin-bottom: 80px;
	position: relative;
	padding: 0 16px;
}

.steps {
	position: relative;
	text-align: left;
	display: flex;
	flex-flow: column wrap;
}

.step {
	display: flex;
	align-items: center;
	z-index: 1;
	flex-basis: calc(100% / 3);
}

.step:not(:last-child) {
	margin-bottom: 30px;
}

.step__wrapper {
	display: flex;
	align-items: center;
	align-self: flex-start;
}

/* номер шага */

.step__order {
	border-radius: 8px;
	background-color: #414145;
	width: 36px;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #ffffff;
	font-size: 20px;
	font-weight: 700;
}

.step__block_text {
	text-align: center;
	margin-left: 14px;
}

.step__title {
	font-size: 16px;
	font-weight: 700;
	margin-bottom: 10px;
	text-align: left;
}

.step__text {
	color: #454545;
	font-size: 14px;
	text-align: left;
}

/* с командой профессионалов вы сможете больше */

.team {
	padding: 0 16px;
}

.team__list {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.team__item {
	background-color: #4f5162;
	padding: 30px;
	text-align: left;
	color: #ffffff;
	word-wrap: break-word;
	border-radius: 10px;
	margin-bottom: 10px;
}

.team__item_title {
	font-weight: 500;
	margin-bottom: 12px;
}

/* партнерам. описание */

.for-partners {
    padding-top: 70px;
}

.description {
    font-size: 16px;
    line-height: 24px;
    padding: 0 16px;
    margin-bottom: 80px;
}

/* оставить заявку */

.feedback__container {
    padding: 0 16px;
}

.feedback__block {
	display: flex;
	margin-bottom: 20px;
	flex-direction: column;
	align-items: center;
}

.user__agreement_block {
	margin: 0;
}

.user__agreement {
	display: flex;
	align-items: center;
}

.user__agreement a {
	color: #709bff;
}

.user__checkbox {
	width: 22px;
	height: 22px;
	margin-right: 10px;
}

.feedback__submit {
	color: #ffffff;
	border: 1px solid #4f5162;
	background-color: #4f5162;
	padding: 14px 0;
	margin-top: 28px;
	margin-bottom: 0;
	width: 100%;
}

.feedback__submit:hover {
	background-color: #ffffff;
	color: #01061f;
}

/* о нас */

.about {
	padding: 70px 16px 0;
}

.about__description {
	line-height: 1.5;
	font-size: 20px;
}

/* контакты */

.contacts {
	padding: 70px 16px 0;
}

.contacts__block {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	margin-bottom: 70px;
}

/* несколько айтемов в ряд */

.contact__row {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
}

.contact__item {
	text-align: center;
	margin-bottom: 30px;
}

.contact__text {
	flex-basis: 100%;
}

.contact__item_title {
	font-size: 20px;
	font-weight: 500;
	margin-bottom: 10px;
}

.contact__map {
	width: 100%;
}

/* футер */

.footer {
	background-color: #01061f;
	color: #ffffff;
	padding: 48px 16px 8px;
    margin-top: 70px;
}

.footer__container {
    padding: 0;
}

.footer__block {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	align-items: center;
	flex-direction: column;
}

.footer__block_title {
    line-height: 32px;
}

.footer__text {
    margin: 0 auto;
}

/* подписка на рассылку новостей */

.footer__form_input {
	background-color: #ffffff;
	padding: 0 20px;
	height: 42px;
	margin-bottom: 20px;
}

.footer__form_submit {
	background-color: #01061f;
	border: 1px solid #ffffff;
	color: #ffffff;
	padding: 10px;
	margin: 0 0 20px;
	width: 100%;
}

.footer__form_submit:hover {
    background-color: #ffffff;
    color: #01061f;
}

/* блок подписки на рассылку и блок контактов */

.footer__contacts {
	margin: 30px auto 0;
    display: flex;
    flex-direction: column;
    align-self: flex-start;
}

.footer__copy {
	margin-bottom: 18px;
	font-weight: 500;
}

.footer__links {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	font-size: 16px;
	margin: 30px 0;
	flex-direction: column;
}

/* служебные ссылки в самом низу (агентский договор и тд) */

.footer__links_service {
	display: flex;
	flex-wrap: wrap;
	text-align: center;
	flex-direction: column;
	margin: 0 auto;
}

.footer__link {
	margin-bottom: 18px;
}

.footer__contact_text {
	margin-bottom: 18px;
	text-align: center;
}

.footer__contact_text:last-child {
	margin-bottom: 0;
}

.footer__contact_text,
.footer__link a,
.footer__contact_text a {
	color: rgba(255, 255, 255, 0.7);
}

.footer__contact_title {
	text-align: center;
	margin-bottom: 18px;
	font-weight: 500;
}

/* модалка */

.modal {
    position: fixed;
    z-index: 999;
    inset: 0;
    background-color: rgba(1, 6, 31, 0.5);
    display: none;
    overflow: auto;
    padding: 5vh 0;
}

/* блок модалки с инпутами */

.modal__window {
	background-color: #ffffff;
	max-width: 95%;
	padding: 50px 20px 20px;
	position: relative;
	border-radius: 20px;
}

.modal__block {
	margin: 0 0px 15px;
}

.modal__panel {
	margin: auto;
	color: #414145;
}

.modal__title {
	font-size: 20px;
	line-height: 1.3em;
}

.modal__area {
	height: auto;
	margin-bottom: 20px;
}

.modal__submit_block {
	display: flex;
	align-items: center;
	justify-content: center;
}

.modal__submit_btn {
	background-color: #414145;
	color: #ffffff;
	padding: 10px 30px;
    border-width: 1px;
    border-style: solid;
    border-color: transparent;
}

.modal_opened {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.success__modal {
    align-items: center;
}

.input__check-error {
    margin-bottom: 5px;
}

.input_error {
    color: rgb(255, 99, 71);
    display: none;
}

.input_error_active {
    display: block;
    align-self: flex-start;
}

.form__submit:disabled {
    background-color: #414145b0;
}

.form__submit:disabled:hover {
    cursor: not-allowed;
    background-color: #414145b0;
    border-color: transparent;
    color: #ffffff;
}

.form__submit:hover {
    border-color: #414145;
	background-color: #ffffff;
	color: #414145;
}

.close__modal_btn {
	position: absolute;
	top: 20px;
	right: 20px;
	cursor: pointer;
	color: #ffffff;
	width: 25px;
	height: 25px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.close__modal_btn::before,
.close__modal_btn::after {
	position: absolute;
	margin: auto;
	content: '';
	width: 3px;
	height: 25px;
	background-color: #414145;
}

.close__modal_btn::before {
	transform: rotate(45deg);
}

.close__modal_btn::after {
	transform: rotate(-45deg);
}

/* служебные страницы */

.personal-data__policy,
.agency__agreement,
.security__policy {
    padding: 70px 16px 0;
}

.personal-data__policy_text,
.agency__agreement_text,
.security__policy_text {
    line-height: 2em;
    font-size: 16px;
}

.policy__block {
    margin-bottom: 50px;
}

.policy__item {
    margin-bottom: 10px;
}

@media (min-width: 400px) {
    .contact__row {
        flex-direction: column;
    }
}

@media (min-width: 769px) {
    body::before {
        height: 77px;
    }

	.input::-webkit-input-placeholder {
		font-size: inherit;
	}

    .desktop__wrapper {
        position: fixed;
        background-color: #ffffff;
        height: 77px;
        width: 100%;
        z-index: 16;
        top: 0;
        left: 0;
    }

	.desktop__header {
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding: 16px;
		font-size: 16px;
	}

	.mobile__header {
		display: none;
	}

	.keep-order {
		display: flex;
		align-items: center;
	}

	.keep-order div {
		max-width: initial;
	}

	.keep-order__link {
		margin-left: 40px;
	}

	.for-clients__title {
		text-align: left;
	}

	.advantages__subtitle {
		text-align: left;
	}

	.for-partners__title {
		text-align: left;
	}

	.about__title {
		text-align: left;
	}

	.contacts__title {
		text-align: left;
	}

	.as-h1 {
		font-size: 40px;
		line-height: 48px;
	}

	.as-h2 {
		margin-bottom: 40px;
	}

    .as-h2_service {
        margin-top: 40px;
        margin-bottom: 10px;
    }

    .banner {
        background-image: url(../img/banner-header-bg.gif);
        background-repeat: no-repeat;
        background-position: 100% 85%;
    }

    .banner__block {
        padding: 0 16px;
    }

	.banner__description {
		max-width: 70%;
	}

	.banner__text {
		font-size: 26px;
	}

	.banner__text_small {
		font-size: 18px;
		line-height: 2em;
	}

	.promo__container {
		max-width: 500px;
		margin-left: auto;
	}

	.promo__block {
		background-image: url(../img/banner-img.png);
		background-position: 50% 50%;
		background-repeat: no-repeat;
		height: 400px;
	}

	.promo__wrapper,
	.promo_title {
		text-align: left;
	}

	.clients__block {
		flex-flow: row wrap;
	}

	.client__block {
		text-align: left;
	}

	.description {
		font-size: 20px;
		line-height: 32px;
	}

	.client__block_text {
		display: block;
		font-size: 18px;
		text-align: center;
	}

	.pipeline__line::after {
		content: '';
		position: absolute;
		height: 2px;
		width: 70%;
		top: 40px;
		left: 50%;
		transform: translate(-51.3%, -50%);
		background-color: #01061f;
		z-index: 0;
	}

	.pipeline__line {
		position: relative;
		display: flex;
	}

	.step {
		flex-flow: column wrap;
	}

	.step:not(:last-child) {
		margin-bottom: 0;
	}

	.investment__step {
		max-width: 337px;
		margin: 0 auto;
	}

	.step__title,
	.step__text {
		text-align: center;
	}

	.step__title {
		font-size: 20px;
		font-weight: 500;
	}

	.step__text {
		font-size: 18px;
		margin: 0 auto;
		max-width: 80%;
	}

    .step__text_stretch {
        max-width: 100%;
    }

	.step__wrapper {
		background-color: #ffffff;
		align-self: auto;
		padding: 0px 30px 16px;
	}

	.step__block_text {
		margin-left: 0;
		text-align: center;
	}

	.step__order {
		background-color: #4f5162;
		border-radius: 25px;
		width: 75px;
		height: 75px;
		font-size: 24px;
	}

	.advantages__list,
	.team__list {
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: space-between;
	}

	.advantage {
		flex-basis: calc(100% / 3.1);
		max-width: calc(100% / 3.1);
		margin-bottom: 20px;
	}

	.team__item {
		flex-basis: calc(100% / 4.5);
		max-width: calc(100% / 4);
	}

	.team__item_title {
		margin-bottom: 20px;
	}

	.feedback__submit {
		font-size: 24px;
		font-weight: 600;
		width: 250px;
	}

	.feedback__block {
		margin: 0px 55px 20px;
	}

	.user__agreement_block {
		margin: 0 55px;
	}

	.contacts__block {
		justify-content: space-between;
	}

	.footer__text,
	.footer__contacts {
		margin: 0;
	}

	.contact__row {
		justify-content: space-between;
		margin-bottom: 0;
        flex-direction: row;
	}

	.contact__item {
		text-align: left;
	}

	.contact__item_title {
		font-size: 24px;
	}

	.contact__item_text {
		font-size: 20px;
	}

	.footer {
		margin-top: 70px;
	}

    .footer__container {
        padding: 0 16px;
    }

	.footer__contact_text {
		text-align: left;
	}

	.footer__links_service {
		flex-direction: row;
		margin: 0 0 18px;
		align-items: center;
	}

	.footer__links {
		flex-direction: row;
		margin: 50px 0 30px;
	}

	.footer__link:not(:last-child) {
		margin-bottom: 0;
		margin-right: 18px;
	}

	.footer__link:last-child {
		margin-bottom: 0;
	}

    .footer__form_input {
        margin-bottom: 10px;
    }

	.footer__form_block {
		display: flex;
		align-items: center;
		margin-bottom: 10px;
	}

    .footer__block {
        flex-direction: row;
    }

	.footer__block_title {
		text-align: left;
		margin-bottom: 20px;
	}

	.footer__contact_title {
		text-align: left;
	}

	.footer__form_submit {
		margin: 0;
		flex-basis: 30%;
		margin-left: 20px;
		align-self: flex-start;
	}

	.modal__block {
		margin: 0 10px 15px;
	}

	.modal__window {
		width: 600px;
	}

	.modal__title {
		font-size: 28px;
	}

	.modal__area {
		height: 185px;
	}

    .contact__text {
        flex-basis: 50%;
    }    

	.contact__map {
		width: 40%;
	}

    .policy__block {
        margin-bottom: 30px;
    }

    .policy__item {
        margin-bottom: 0px;
    }
}