/* ====== Specification ====== */

body {
    font-family: 'Inter', sans-serif;
    background: #ffffff;
    font-size: 16px;
    color: #011337;
    padding: 0;
    margin: 0;
}

.container {
    width: 1290px;
    margin: 0 auto;
    padding: 0;
}

div,
p,
form,
input,
a,
span,
button,
ul,
li {
    font-family: 'Inter', sans-serif;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

p {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: #011337;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #000;
    padding: 0;
    margin: 0;
}

h1 {}

h2 {}

h3 {}

a {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: #011337;
    text-decoration: none;
    transition: 0.3s;
}

a:hover,
a:active {
    text-decoration: none;
}

a:hover {
    color: #D9A531;
}

button,
button:hover,
button:focus,
button:active,
input,
input:hover,
input:focus,
input:active,
textarea,
textarea:hover,
textarea:focus,
textarea:active {
    outline: none;
}

input[type="submit"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 16px;
    background: #D9A531;
    color: #fff;
    height: 60px;
    text-align: center;
    border-radius: 30px;
    transition: 0.3s;
}

.btn:hover {
    background: #f1bb46;
    color: #fff;
}

.btn_grey {
    background: #EFF1F4;
    color: #011337;
}

.btn_grey:hover {
    background: #e1e6ec;
    color: #011337;
}

.form-code-inputs-error {

}



/* ====== Header ====== */

.header {
    padding: 15px 0;
    background: linear-gradient(90deg, #010F2C 0%, #173562 100%);
}

.header-row {
    display: flex;
    justify-content: space-between;
}

.header-left {
    display: flex;
    align-items: center
}

.header-right {
    display: flex;
    align-items: center
}

.logo {
    max-width: 145px;
    width: 100%;
}

.logo img {
    display: block;
    width: 100%;
}

.nav {
    display: block;
    margin-left: 71px;
}

.menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.menu li {
    display: block;
}

.menu li a {
    font-size: 16px;
    color: #fff;
    font-weight: 500;
    transition: 0.3s;
}

.menu li a:hover {
    color: #D9A531;
}

.phone {
    color: #fff;
    display: flex;
    align-items: center;
}

.phone img {
    margin-right: 5px;
}

.phone span {
    font-weight: 500;
}

.header-favorite {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 34px;
    box-shadow: 0 0 0 1px transparent;
    transition: 0.3s;
}

.header-favorite svg {
    fill: #fff;
}

.header-favorite:hover {
    box-shadow: 0 0 0 1px #D9A531;
    border-color: #D9A531;
}

.header__btn {
    font-weight: 500;
    height: 40px;
    width: 133px;
    margin-left: 20px;
}

.header__auth span {
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    margin-left: 5px;
}

.lang-switch {
    width: 80px;
    border-radius: 30px;
    height: 40px;
    border: 1px solid #fff;
    margin-left: 20px;
    cursor: pointer;
    box-shadow: 0 0 0 1px transparent;
    transition: 0.3s;
}

.lang-switch:hover {
    box-shadow: 0 0 0 1px #D9A531;
    border-color: #D9A531;
}

.lang-switch-item {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lang-switch-item__flag {
    width: 20px;
    height: 20px;
    border-radius: 5px;
    margin-right: 5px;
}

.lang-switch-item__flag img {
    display: block;
    width: 100%;
}

.lang-switch-item span {
    color: #fff;
    font-size: 16px;
    font-weight: 500;
}

.lang-switch-item_current {
    height: 100%;
}











/* ====== Screen-home-map ====== */

.screen-home-map {
    position: relative;
    padding: 60px 0;
}

.home-map {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
}

.home-contacts {
    max-width: 520px;
    width: 100%;
    padding: 30px;
    border-radius: 20px;
    background: rgba(255,255,255,0.9);
    position: relative;
    z-index: 10;
    margin-left: auto;
}

.home-contacts__title {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 20px;
}

.home-contacts__item {
    margin-bottom: 10px;
}

.home-contacts__item img {
    margin-right: 10px;
}

.home-contacts__item a {
    color: #011337;
    transition: 0.3s;
}

.home-contacts__item a:hover {
    color: #D9A531;
}

.home-contacts__item span {
    color: #011337;
}

.soc {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.soc__item {
    transition: 0.3s;
}

.soc__item svg {
    fill: #011337;
    transition: 0.3s;
}

.soc__item:hover svg {
    fill: #D9A531;
}



/* ====== Footer ====== */

.footer {
    /* padding-top: 50px; */
    background: linear-gradient(90deg, #010F2C 0%, #173562 100%);
}

.footer-row {
    padding: 50px 0 60px;
    display: flex;
    justify-content: space-between;
}

.footer-form-col {
    max-width: 520px;
    width: 100%;
}

.footer-form__title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
}

.footer-form__text {
    font-size: 16px;
    color: #fff;
    margin-bottom: 35px;
}

.footer-form {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.footer-form__input {
    width: 100%;
    height: 40px;
    border-radius: 30px;
    background: #fff;
    border: 0;
    font-size: 14px;
    padding: 0 20px;
}

.footer-form__input_50 {
    max-width: 250px;
    width: 100%;
}

.footer-form__input::placeholder {
    
}

.footer-form__btn {
    max-width: 200px;
    width: 100%;
    height: 40px;
}

.footer-form__check {
    max-width: 280px;
    width: 100%;

    display: flex;
    align-items: flex-start;
    gap: 18px;
    cursor: pointer;
}

.footer-form__check input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.footer-form__check span {
    position: relative;
    padding-left: 30px;
    color: #fff;
    font-size: 12px;
}

.footer-form__check span a {
    font-size: 12px;
    color: #fff;
    text-decoration: underline;
}

.footer-form__check span::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 20px;
    height: 20px;
    border: 1px solid #fff;
    border-radius: 5px;
    box-sizing: border-box;
}

.footer-form__check span::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 6px;
    width: 11px;
    height: 6px;
    border-left: 2px solid #D9A531;
    border-bottom: 2px solid #D9A531;
    transform: rotate(-45deg) scale(0);
    transition: .15s ease;
}

.footer-form__check input:checked + span::after {
    transform: rotate(-45deg) scale(1);
}

.footer-menu-col {
    max-width: 680px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.footer-menu-box {

}

.footer-menu__title {
    font-size: 20px;
    color: #fff;
    font-weight: 700;
    margin-bottom: 25px;
}

.footer-menu {
    columns: 4;
}

.footer-menu li {
    display: block;
    margin-bottom: 20px;
}

.footer-menu li a {
    color: #D9D9D9;
    transition: 0.3s;
}

.footer-menu li a:hover {
    color: #D9A531;
}

.footer-copy-links {
    display: flex;
    justify-content: space-between;
    padding: 25px 0;
    border-top: 1px solid rgba(255,255,255,0.5);
}

.footer-copy {
    color: #D9D9D9;
    font-size: 14px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
}

.footer-links__item {
    font-size: 14px;
    color: #D9D9D9;
    transition: 0.3s;
}

.footer-links__item:hover {
    color: #D9A531;
}



/* Попап входа/регистрации */

.modal-content_auth {
    background: #fff;
    padding: 55px 40px;
    border-radius: 20px;
    max-width: 560px;
    width: 100%;
}

.modal-auth__title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 30px;
}

.modal-auth-form {
    margin-bottom: 40px;
}

.modal-auth-switch {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 30px;
}

.modal-auth-switch__item {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(23,53,98,0.2);
    width: 100%;
    height: 40px;
    cursor: pointer;
    border-radius: 20px;
    transition: 0.3s;
}

.modal-auth-switch__item:hover {
    border: 1px solid rgba(23,53,98,0.4);
}

.modal-auth-switch__item img {
    
}

.modal-auth-switch__item span {
    margin-left: 5px;
}

.modal-auth-switch__item.active {
    border: 1px solid #D9A531;
    box-shadow: 0 0 0 1px #D9A531;
}

.modal-auth__btn {
    width: 100%;
    height: 56px;
}


.form-input {
    margin-bottom: 20px;
}

.form-input input {
    background: rgba(23,53,98,0.08);
    border-radius: 30px;
    height: 56px;
    width: 100%;
    border: none;
    padding: 0 30px;
}

.form-input__note {
    display: none;
    font-size: 14px;
    color: #EA6666;
    margin-top: 10px;
    margin-left: 30px;
}

.form-input-error .form-input__note {
    display: block;
}

.form-input-error input {
    background: rgba(234, 102, 102, 0.15);
}

.modal-auth__sub-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
}

.modal-auth__form {
    margin-bottom: 40px;
}

.other-auth {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 30px;
}

.other-auth__item {
    width: 100%;
    height: 40px;
    cursor: pointer;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(23,53,98,0.07);
    transition: 0.3s;
}

.other-auth__item:hover {
    background: rgba(23,53,98,0.14);
}

.other-auth__item img {
    margin-right: 5px;
}

.other-auth__item:hover {
    color: #010F2C;
}

.modal-auth__privacy {
    font-size: 12px;
    text-align: center;
}

.modal-auth__privacy a {
    font-size: 12px;
    text-decoration: underline;
}



/* Ввод кода */

.modal-auth__text {
    font-size: 16px;
    opacity: 0.8;
    margin-bottom: 25px;
}

.modal-auth__text span {
    font-weight: 600;
}

.modal-content_code .modal-auth__title {
    margin-bottom: 10px;
}

.modal-auth__text div {
    display: inline-block;
    transform: translateY(-2px);
    cursor: pointer;
}

.form-code-inputs {
    margin-bottom: 40px;
}

.code-inputs {
    display: flex;
    justify-content: space-between;
    max-width: 100%;
    gap: 26px;
}

.code-input {
    font-size: 40px;
    border: none;
    border-bottom: 2px solid #EDEFF3;
    width: 100%;
    display: block;
    text-align: center;
    transition: 0.3s;
}

.code-input.is-filled {
    border-bottom: 2px solid #173562;
}

.code-input:focus {
    border-bottom: 2px solid #D9A531;
}

.modal-code-form__timer {
    font-size: 14px;
    text-align: center;
    margin-bottom: 30px;
}

.modal-code-form__timer div {
    font-weight: 500;
    display: inline;
}

.modal-code-form__reset {
    font-size: 16px;
    text-align: center;
    margin-bottom: 27px;
    cursor: pointer;
    transition: 0.3s;
}

.modal-code-form__reset:hover {
    color: #D9A531;
}

.form-code-inputs__note {
    display: none;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    max-width: 355px;
    width: 100%;
    margin: 20px auto 0;
    color: #EA6666;
}

.form-code-inputs-error .code-input {
    border-bottom: 2px solid #EA6666;
}

.form-code-inputs-error .code-input:focus {
    border-bottom: 2px solid #EA6666;
}

.form-code-inputs-error .form-code-inputs__note {
    display: block;
}


/* Получить код другим способом */

.select-enter-code {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin-bottom: 34px;
}

.select-enter-code .modal-auth-switch__item {
    width: 187px;
}



/* Вход по паролю */

.modal-pass-form {
    /* margin-bottom: 20px; */
}

.recover-password {
    cursor: pointer;
    font-weight: 500;
    color: #173562;
}

.remember-recover {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.form-error {
    display: none;
    color: #EA6666;
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    margin-top: 34px;
}

.modal-pass-form-error .form-error {
    display: block;
}

.modal-pass-form-error .modal-auth-item__input {
    background: rgba(234, 102, 102, 0.15);
}

.modal-pass-form__btn {
    margin-bottom: 20px;
}

.modal-pass-form__btn:disabled {
    pointer-events: none;
    opacity: 0.5;
}

.form-input-pass {
    position: relative;
}

.form-input-pass:after {
    content: '';
    position: absolute;
    top: 16px;
    right: 30px;
    width: 24px;
    height: 24px;
    background: url(../img/pass-visible-icon.svg) no-repeat center center;
    cursor: pointer;
}
.form-input-pass.vispass:after {
    background: url(../img/pass-unvisible-icon.svg) no-repeat center center;
}



/* Оформление чекбокса */

.input-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-family: sans-serif;
    font-size: 16px;
    user-select: none;
    position: relative;
}

.input-checkbox input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    padding: 0;
    border: 0;
}

.input-checkbox span {
    display: inline-flex;
    align-items: center;
    position: relative;
    padding-left: 28px;
    color: #283241;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
}

.input-checkbox span::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-52%);
    width: 20px;
    height: 20px;
    border: 2px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
    transition: all 0.2s ease;
}

.input-checkbox span::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 37%;
    transform: translateY(-50%) rotate(45deg);
    width: 8px;
    height: 12px;
    border: solid white;
    border-width: 0 2px 2px 0;
    opacity: 0;
    transition: opacity 0.1s ease;
}

.input-checkbox:hover input:not(:disabled) ~ span::before {
    border-color: rgba(217, 165, 49, 0.35);
}

.input-checkbox input:checked ~ span::before {
    background-color: #D9A531;
    border-color: #D9A531;
}

.input-checkbox input:checked ~ span::after {
    opacity: 1;
}

.input-checkbox input:focus-visible ~ span::before {
    outline: 2px solid #D9A531;
    outline-offset: 2px;
}

.input-checkbox input:disabled ~ span {
    color: #aaa;
    cursor: not-allowed;
}
.input-checkbox input:disabled ~ span::before {
    background-color: #f5f5f5;
    border-color: #ddd;
}



/* Востановление пароля */

.modal-recovery-form .form-input {
    margin-bottom: 30px;
}


.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 18px;
    height: 18px;
    background: transparent;
    border: 0;
}

.modal-close .line {
    position: absolute;
    top: 50%;
    width: 100%;
    height: 2px;
    background: #173562;
}

.modal-close .line-1 {
    transform: rotate(45deg);
}

.modal-close .line-2 {
    transform: rotate(-45deg);
}









/* ====== Media Quaries ====== */

/* 992-1200 */
@media screen and (max-width: 1200px) {
    .container {
        width: 960px;
    }
}

/* 768-992 */
@media screen and (max-width: 992px) {
    .container {
        width: 720px;
    }
}

/* 576-768 */
@media screen and (max-width: 767px) {
    .container {
        width: 540px;
    }
}

/* <576 */
@media screen and (max-width: 576px) {
    .container {
        width: 94vw;
    }
}