@font-face {
    font-family: 'Sofia Pro';
    src: url('../fonts/SofiaProRegular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Proxima Nova';
    src: url('../fonts/ProximaNova-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Proxima Nova';
    src: url('../fonts/ProximaNova-Semibold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Proxima Nova';
    src: url('../fonts/proxima-nova-medium-pu.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Proxima Nova';
    src: url('../fonts/ProximaNova-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Proxima Nova';
    src: url('../fonts/ProximaNova-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

:root {
  --font-family: "Proxima Nova Wide", sans-serif;
  --third-family: "Sofia Pro", sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

ul, ol {
    list-style: none;
}

a {
    text-decoration: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

img {
    display: block;
    max-width: 100%;
}

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    width: 100%;
    overflow-x: hidden;
    background: #f0f0f0;
}

.container {
    max-width: 1286px;
    width: 100%;
    margin: 0 auto;
}

.header {
    padding: 20px 0;
    position: relative;
    z-index: 6;
}

.header__line {
    width: 100%;
    height: 1px;
    background: #e6e6e6;
}

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

.navbar__actions {
    display: flex;
    align-items: center;
    gap: 35px;
}

.navbar__lang {
    display: flex;
    align-items: center;
    gap: 9px;
    cursor: pointer;
    position: relative;
}

.navbar__lang--btn {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 20px;
    text-align: right;
    color: #777;
    transition: color 0.2s ease-in;
    position: relative;
}

.navbar__lang--btn::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: #223360;
    transition: width 0.2s ease-in;
}

.navbar__lang:hover .navbar__lang--btn {
    color: #223360;
}

.navbar__lang:hover .navbar__lang--btn::after {
    width: 100%;
}

.navbar__lang--list {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-width: 80px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.navbar__lang--list.is-open {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}

.navbar__lang--item {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    color: #333;
    padding: 10px 16px;
    text-align: left;
    cursor: pointer;
    transition: background 0.2s ease;
    background: none;
    border: none;
}

.navbar__lang--item:hover {
    background: #f0f0f0;
}

.navbar__lang--item.active {
    color: #223360;
    font-weight: 600;
}

.navbar__down--icon {
    padding-top: 3px;
}

/* BURGER BUTTON */
.navbar__menu {
    display: none;
    display: flex;
    align-items: center;
    gap: 9px;
}

.navbar__burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 9px;
    width: 36px;
    height: 36px;
    cursor: pointer;
    z-index: 100;
}

.navbar__burger--line {
    display: block;
    width: 100%;
    height: 2px;
    background: #223360;
    border-radius: 2px;
}

.navbar__burger--text {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 17px;
    color: #777;
}

/* Обычное меню */
.navbar__nav {
    display: flex;
    align-items: center;
    gap: 40px;
}

.navbar__nav--link {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 20px;
    color: #151515;
    transition: color 0.2s ease;
    position: relative;
}

.navbar__nav--link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: #223360;
    transition: width 0.2s ease;
}

.navbar__nav--link:hover {
    color: #223360;
}

.navbar__nav--link:hover::after {
    width: 100%;
}

/* Фиксированные соцсети */
.social-fixed {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 100;
}

.social-fixed__link {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease-in;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border-radius: 100%;
}

.social-fixed__link:hover {
    transform: scale(1.1);
}

.social-fixed__icon {
    width: 54px;
}

/* ─── SIDEBAR MENU ─── */
.sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    height: 100dvh;
    background: #fff;
    z-index: 200;
    display: flex;
    flex-direction: column;
    padding: 40px 38px 50px;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
}

.sidebar.is-open {
    transform: translateX(0);
}

.sidebar__close {
    align-self: flex-end;
    width: 28px;
    height: 28px;
    position: relative;
    cursor: pointer;
    background: none;
    border: none;
    margin-bottom: 160px;
    flex-shrink: 0;
}

.sidebar__close span {
    display: block;
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background: #151515;
}

.sidebar__close span:first-child {
    transform: rotate(45deg);
}

.sidebar__close span:last-child {
    transform: rotate(-45deg);
}

.sidebar__nav {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 61px;
    flex: 1;
}

.sidebar__link {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 21px;
    text-align: right;
    color: #151515;
    transition: color 0.2s ease-in, transform 0.2s ease-in;
    display: block;
}

.sidebar__link:hover {
    color: #223360;
    transform: translateX(-4px);
}

.sidebar__social {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 24px;
}

.sidebar__social--label {
    font-family: var(--font-family);
    font-weight: 300;
    font-size: 14px;
    color: #151515;
    text-align: right;
    text-transform: uppercase;
}

.sidebar__social--links {
    display: flex;
    align-items: center;
    gap: 14px;
}

.sidebar__social--icon {
    transition: transform 0.2s ease-in;
}

.sidebar__social--icon:hover {
    transform: scale(1.1);
}

/* OVERLAY */
.menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 150;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.menu-overlay.is-visible {
    opacity: 1;
    pointer-events: all;
}

/* Хлебные крошки */
.breadcrumb {
    position: relative;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 30px;
}

.breadcrumb__link {
    font-family: var(--font-family);
    font-weight: 300;
    font-size: 13px;
    color: #a0a0a0;
    transition: color 0.2s ease;
}

.breadcrumb__link:hover {
    color: #223360;
}

.breadcrumb__sep {
    font-family: var(--font-family);
    font-weight: 300;
    font-size: 13px;
    color: #a0a0a0;
}

.breadcrumb__current {
    font-family: var(--font-family);
    font-weight: 300;
    font-size: 13px;
    color: #a0a0a0;
}

.hero__item {
    padding: 55px 0 65px;
    display: flex;
    align-items: stretch;
    gap: 50px;
    min-height: 90vh;
}

.hero__left {
    border: 1px solid #e6e6e6;
    background: #fff;
    padding: 47px 45px;
    height: 530px;
}

.hero__contact {
    border-bottom: 1px solid #e6e6e6;
    padding-bottom: 25px;
    margin-bottom: 25px;
    margin-left: -45px;
    margin-right: -45px;
    padding-left: 45px;
    padding-right: 45px;
}

.hero__contact:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.hero__contact--text {
    display: flex;
    flex-direction: column;
}

.hero__contact--title {
    font-family: var(--font-family);
    font-weight: 300;
    font-size: 17px;
    line-height: 250%;
    text-transform: uppercase;
    color: #666;
}

.hero__contact--link {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 19px;
    line-height: 147%;
    color: #151515;
    transition: color 0.2s ease-in;
}

.hero__contact--link:hover {
    color: #223360;
}

.hero__contact--btn {
    border: 1px solid transparent;
    background: #223360;
    padding: 18px 75px;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 18px;
    color: #fff;
    margin-top: 35px;
    transition: all 0.2s ease-in;
}

.hero__contact--btn:hover {
    background: #fff;
    border: 1px solid #223360;
    color: #223360;
}

.hero__map {
    width: 100%;
    height: 530px;
    border-radius: 20px;
    overflow: hidden;
}

.hero__map--iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.footer {
    background: #223360;
    padding: 30px 0;
}

.footer__top {
    display: flex;
    align-items: start;
    justify-content: space-between;
    padding-bottom: 25px;
}

.footer__contact--items {
    display: flex;
    align-items: start;
    gap: 69px;
}

.footer__contact--text {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer__contact--label {
    font-family: var(--font-family);
    font-weight: 300;
    font-size: 22px;
    color: #a0a7b8;
}

.footer__contact--link {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 26px;
    color: #fff;
    transition: transform 0.2s ease-in, color 0.2s ease-in;
}

.footer__contact--link:hover {
    transform: translateY(-2px);
    color: #d9d9d9;
}

.footer__btn {
    border: 1px solid #223360;
    background: #fff;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 22px;
    color: #223360;
    padding: 16px 43px;
    transition: all 0.2s ease-in;
}

.footer__btn:hover {
    border: 1px solid #fff;
    background: #223360;
    color: #fff;
}

.footer__divider {
    position: absolute;
    width: 100vw;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    left: calc(-50vw + 643px);  /* выходит влево */
    right: calc(-50vw + 643px); /* выходит вправо */
}

.footer__inner {
    display: flex;
    align-items: start;
    justify-content: space-between;
    padding-top: 45px;
}

.footer__col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer__logo {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 21px;
    color: #fff;
}

.footer__desc {
    max-width: 342px;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 20px;
    line-height: 150%;
    color: #c7cfe1;
}

.footer__title {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 21px;
    color: #fff;
}

.footer__nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer__link {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 20px;
    line-height: 130%;
    color: #c7cfe1;
    transition: color 0.2s ease-in;
}

.footer__link:hover {
    color: #fff;
}

.footer__scroll-top img {
    transition: transform 0.2s ease-in;
}

.footer__scroll-top:hover img {
    transform: scale(1.1);
}

.footer__watermark {
    display: flex;
    justify-content: center;
    padding: 10px 0 15px;
    margin-left: calc(-50vw + 643px);
    margin-right: calc(-50vw + 643px);
}

.footer__watermark--icon {
    max-width: none;
    width: 1343px;
}

.footer__bottom {
    padding-top: 20px;
}

.footer__copy {
    font-family: var(--font-family);
    font-weight: 300;
    font-size: 15px;
    line-height: 227%;
    color: #a0a7b8;
}

.footer__copy a {
    font-weight: 500;
    color: #fff;
}

/* OVERLAY */
.modal__overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 999;
}

.modal__overlay.active {
    display: block;
}

/* MODAL */
.modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% - 2rem);
    max-width: 520px;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    z-index: 1000;
    box-sizing: border-box;
    max-height: 90vh;
    overflow-y: auto;
}

.modal.active {
    display: block;
}

.modal__head {
    background: #223360;
    padding: 1.5rem;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 1;
}

.modal__label {
    color: #8fa8d4;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin: 0 0 4px;
    font-family: var(--font-family);
}

.modal__title {
    color: #fff;
    font-size: 20px;
    font-weight: 500;
    margin: 0;
    font-family: var(--font-family);
}

.modal__close {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 8px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    font-family: var(--font-family);
    font-size: 20px;
    color: #fff;
}

.modal__close img {
    width: 16px;
    height: 16px;
    filter: brightness(10);
}

.modal__form {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.modal__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.modal__field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.modal__field--label {
    font-size: 13px;
    color: #666;
    font-family: var(--font-family);
}

.modal__input,
.modal__textarea {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 14px;
    outline: none;
    transition: border 0.2s;
    font-family: var(--font-family);
    width: 100%;
    box-sizing: border-box;
    background: #fff;
    color: #1a1a1a;
}

.modal__input:focus,
.modal__textarea:focus {
    border-color: #223360;
}

.modal__textarea {
    resize: vertical;
}

.modal__error {
    font-size: 12px;
    color: #e24b4a;
}

.modal__btn {
    background: #223360;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 13px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    margin-top: 4px;
    transition: opacity 0.2s;
    font-family: var(--font-family);
}

.modal__btn:hover {
    opacity: 0.9;
}

.modal__note {
    font-size: 12px;
    color: #999;
    text-align: center;
    margin: 0;
    font-family: var(--font-family);
}

/* SUCCESS */
.contact-success {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    border-radius: 16px;
    width: calc(100% - 2rem);
    max-width: 400px;
    overflow: hidden;
    z-index: 1000;
    box-sizing: border-box;
}

.contact-success.active {
    display: block;
}

.contact-success__head {
    background: #223360;
    padding: 1.25rem 1.5rem;
}

.contact-success__label {
    color: #8fa8d4;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin: 0 0 4px;
    font-family: var(--font-family);
}

.contact-success__heading {
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    margin: 0;
    font-family: var(--font-family);
}

.contact-success__body {
    padding: 2.5rem 2rem;
    text-align: center;
}

.contact-success__icon {
    width: 64px;
    height: 64px;
    background: #eef2f8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
}

.contact-success__title {
    font-size: 20px;
    font-weight: 500;
    color: #1a1a1a;
    margin: 0 0 8px;
    font-family: var(--font-family);
}

.contact-success__desc {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0 0 1.75rem;
    font-family: var(--font-family);
}

.contact-success__btn {
    background: #223360;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 12px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    width: 100%;
    transition: opacity 0.2s;
    font-family: var(--font-family);
}

.contact-success__btn:hover {
    opacity: 0.9;
}

.modal__input:-webkit-autofill,
.modal__input:-webkit-autofill:hover,
.modal__input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0px 1000px #fff inset;
    -webkit-text-fill-color: #1a1a1a;
    border-color: #e0e0e0;
    transition: background-color 5000s ease-in-out 0s;
}


/* Адаптив */
@media (min-width: 1150px) {
    .container {
        padding: 0 20px;
    }
    .navbar__menu {
        display: none;
    }
    .navbar__nav {
        display: flex;
    }
}

@media (max-width: 1149px) {
    .navbar__menu {
        display: flex;
    }
    .navbar__nav {
        display: none;
    }
    .social-fixed {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero__item {
        flex-direction: column;
        min-height: auto;
        gap: 24px;
        padding: 30px 0 40px;
    }
    .hero__left {
        height: auto;
        width: 100%;
    }
    .hero__map {
        height: 400px;
    }
    .sidebar {
        width: 100%;
    }
}


@media (max-width: 560px) {
    .modal__row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {

    /* CONTAINER */
    .container {
        padding: 0 16px;
    }

    /* HEADER */
    .header {
        padding: 16px 0;
    }

    .navbar__logo--icon {
        width: 162px;
    }

    .navbar__actions {
        gap: 16px;
    }

    .navbar__menu {
        order: 2;
    }

    .navbar__lang {
        order: 1;
    }

    .navbar__lang--btn {
        font-size: 14px;
    }

    .navbar__burger--text {
        display: none;
    }

    /* SIDEBAR */
    .sidebar {
        width: 300px;
        padding: 30px 24px 40px;
    }
    .sidebar__close {
        margin-bottom: 80px;
    }
    .sidebar__nav {
        gap: 40px;
    }
    .sidebar__link {
        font-size: 18px;
    }

    /* BREADCRUMB */
    .breadcrumb {
        padding-top: 16px;
        font-size: 13px;
    }

    /* HERO */
    .hero__item {
        flex-direction: column;
        min-height: auto;
        gap: 20px;
        padding: 40px 0;
    }
    .hero__left {
        height: auto;
        width: 100%;
        padding: 30px 20px;
    }
    .hero__contact {
        margin-left: -20px;
        margin-right: -20px;
        padding-left: 20px;
        padding-right: 20px;
    }
    .hero__contact--title {
        font-size: 14px;
    }
    .hero__contact--link {
        font-size: 16px;
    }
    .hero__contact--btn {
        width: 100%;
        padding: 16px 20px;
        font-size: 15px;
        text-align: center;
        margin-top: 20px;
    }
    .hero__map {
        height: 300px;
        border-radius: 12px;
    }

    /* FOOTER */
    .footer__top {
        flex-direction: column;
        gap: 24px;
    }

    .footer__contact--items {
        gap: 20px;
    }

    .footer__contact--label {
        font-size: 16px;
    }

    .footer__contact--link {
        font-size: 18px;
    }

    .footer__btn {
        border: 1px solid transparent;
        font-size: 16px;
        padding: 12px 24px;
        width: 100%;
        text-align: center;
    }

    .footer__inner {
        display: none;
    }

    .footer__watermark {
        display: none;
    }

    .footer__scroll-top {
        display: none;
    }

    .footer__divider {
        position: relative;
        left: -16px;
        right: -16px;
        width: calc(100% + 32px);
    }

    .footer__copy {
        max-width: 360px;
        font-size: 12px;
        line-height: 140%;
    }

    /* SOCIAL FIXED */
    .social-fixed {
        display: none;
    }
}