html {
    scroll-behavior: smooth;
}



.site-header {
    position: fixed;
    top: 16px;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0 18px;
}

.site-header__inner {
    max-width: 1320px;
    margin: 0 auto;
    min-height: 76px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.08);
}

.site-header__brand {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    padding: 0 0px;
}

.site-header__brand img {
    display: block;
    width: auto;
    height: 50px;
    max-width: 220px;
    object-fit: contain;
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 1 1 auto;
}

.site-nav__link {
    min-height: 48px;
    padding: 0 18px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #2d2d2d;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: background 0.28s ease, color 0.28s ease, transform 0.28s ease, box-shadow 0.28s ease;
}

.site-nav__link:hover {
    background: rgba(0, 0, 0, 0.06);
    color: #111;
    transform: translateY(-1px);
}

.site-nav__link.is-active {
    background: #1d1d1f;
    color: #fff;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.14);
}

.site-header__cta {
    flex: 0 0 auto;
    min-height: 48px;
    padding: 0 18px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background: linear-gradient(135deg, #111 0%, #2a2a2a 100%);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    transition: transform 0.28s ease, box-shadow 0.28s ease, opacity 0.28s ease;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.14);
}

.site-header__cta:hover {
    transform: translateY(-2px);
    opacity: 0.96;
}

.site-header__burger {
    display: none;
    width: 48px;
    height: 48px;
    border: none;
    background: #fff;
    border-radius: 14px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.site-header__burger span {
    width: 20px;
    height: 2px;
    background: #1d1d1f;
    border-radius: 999px;
    transition: transform 0.28s ease, opacity 0.28s ease;
}

.site-header__burger.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.site-header__burger.is-open span:nth-child(2) {
    opacity: 0;
}

.site-header__burger.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 920px) {
    body {
        padding-top: 96px;
    }

    .site-header {
        padding: 0 14px;
    }

    .site-header__inner {
        min-height: 68px;
        padding: 10px 10px 10px 14px;
        position: relative;
    }

    .site-header__cta {
        display: none;
    }

    .site-header__burger {
        display: inline-flex;
    }

    .site-nav {
        position: absolute;
        top: calc(100% + 10px);
        left: 14px;
        right: 14px;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        padding: 10px;
        border-radius: 20px;
        background: rgba(255, 255, 255, 0.94);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        box-shadow: 0 18px 36px rgba(0, 0, 0, 0.12);
        border: 1px solid rgba(255, 255, 255, 0.65);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-8px);
        transition: opacity 0.28s ease, transform 0.28s ease;
    }

    .site-nav.is-open {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .site-nav__link {
        justify-content: flex-start;
        width: 100%;
        min-height: 50px;
        padding: 0 14px;
        border-radius: 14px;
        font-size: 15px;
    }
}

@media (max-width: 560px) {
    .site-header {
        top: 12px;
        padding: 0 10px;
    }

    .site-header__inner {
        border-radius: 18px;
    }

    .site-header__brand {
        font-size: 20px;
    }

    .site-nav {
        left: 10px;
        right: 10px;
    }
}
/* =========================
   CONTACT MODAL
========================= */

.contact-modal,
.contact-modal * {
    box-sizing: border-box;
}

.contact-modal {
    position: fixed;
    inset: 0;
    z-index: 5000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 22px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.28s ease, visibility 0.28s ease;
}

.contact-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.contact-modal__overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 80% 20%, rgba(30, 103, 200, 0.22), transparent 34%),
        rgba(7, 12, 22, 0.62);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.contact-modal__window {
    position: relative;
    width: min(960px, 100%);
    max-height: calc(100vh - 44px);
    overflow: hidden;
    border-radius: 34px;
    background: #ffffff;
    box-shadow: 0 34px 120px rgba(0, 0, 0, 0.34);
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
    transform: translateY(22px) scale(0.96);
    transition: transform 0.28s ease;
}

.contact-modal.is-open .contact-modal__window {
    transform: translateY(0) scale(1);
}

.contact-modal__close {
    position: absolute;
    right: 18px;
    top: 18px;
    z-index: 5;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    background: rgba(16, 24, 40, 0.08);
    color: #101828;
    font-size: 28px;
    line-height: 1;
    transition: background 0.22s ease, transform 0.22s ease;
}

.contact-modal__close:hover {
    background: rgba(16, 24, 40, 0.13);
    transform: rotate(90deg);
}

.contact-modal__content {
    position: relative;
    z-index: 2;
    padding: 46px;
    overflow-y: auto;
}

.contact-modal__badge {
    width: fit-content;
    padding: 8px 13px;
    border-radius: 999px;
    background: rgba(30, 103, 200, 0.1);
    color: #1e67c8;
    font-size: 12px;
    line-height: 1;
    font-weight: 900;
    margin-bottom: 18px;
}

.contact-modal__content h2 {
    margin: 0;
    color: #101828;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 0.96;
    letter-spacing: -0.06em;
    font-weight: 950;
}

.contact-modal__content p {
    margin: 16px 0 0;
    max-width: 470px;
    color: #667085;
    font-size: 15px;
    line-height: 1.65;
    font-weight: 500;
}

.contact-modal__form {
    margin-top: 28px;
    display: grid;
    gap: 14px;
}

.contact-modal__field {
    display: grid;
    gap: 8px;
}

.contact-modal__field span {
    color: #344054;
    font-size: 12px;
    line-height: 1;
    font-weight: 900;
}

.contact-modal__field b {
    color: #e03131;
}

.contact-modal__field input,
.contact-modal__field textarea {
    width: 100%;
    border: 1px solid rgba(16, 24, 40, 0.12);
    border-radius: 18px;
    background: #f7f9fc;
    color: #101828;
    outline: none;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    transition: border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.contact-modal__field input {
    height: 54px;
    padding: 0 16px;
}

.contact-modal__field textarea {
    min-height: 112px;
    resize: vertical;
    padding: 15px 16px;
    line-height: 1.45;
}

.contact-modal__field input:focus,
.contact-modal__field textarea:focus {
    background: #ffffff;
    border-color: rgba(30, 103, 200, 0.48);
    box-shadow: 0 0 0 4px rgba(30, 103, 200, 0.1);
}

.contact-modal__field.is-error input,
.contact-modal__field.is-error textarea {
    border-color: rgba(224, 49, 49, 0.65);
    box-shadow: 0 0 0 4px rgba(224, 49, 49, 0.08);
}

.contact-modal__submit {
    margin-top: 4px;
    height: 56px;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    background:
        radial-gradient(circle at 25% 20%, rgba(255, 255, 255, 0.28), transparent 30%),
        linear-gradient(135deg, #123b78, #1e67c8);
    color: #ffffff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 950;
    box-shadow: 0 18px 40px rgba(30, 103, 200, 0.24);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.contact-modal__submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 24px 52px rgba(30, 103, 200, 0.3);
}

.contact-modal__submit:disabled {
    opacity: 0.7;
    cursor: wait;
    transform: none;
}

.contact-modal__result {
    display: none;
    padding: 13px 15px;
    border-radius: 16px;
    font-size: 13px;
    line-height: 1.45;
    font-weight: 700;
}

.contact-modal__result.is-success {
    display: block;
    color: #067647;
    background: rgba(18, 183, 106, 0.11);
    border: 1px solid rgba(18, 183, 106, 0.18);
}

.contact-modal__result.is-error {
    display: block;
    color: #b42318;
    background: rgba(240, 68, 56, 0.1);
    border: 1px solid rgba(240, 68, 56, 0.18);
}

.contact-modal__side {
    position: relative;
    z-index: 2;
    padding: 46px 34px;
    background:
        radial-gradient(circle at 80% 10%, rgba(255, 255, 255, 0.18), transparent 28%),
        linear-gradient(145deg, #101828 0%, #152238 56%, #123b78 100%);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
}

.contact-modal__side-card {
    padding: 20px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-modal__side-card span {
    display: inline-flex;
    margin-bottom: 14px;
    width: 36px;
    height: 36px;
    border-radius: 13px;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    font-size: 12px;
    font-weight: 950;
}

.contact-modal__side-card strong {
    display: block;
    font-size: 16px;
    line-height: 1.2;
    font-weight: 950;
}

.contact-modal__side-card p {
    margin: 8px 0 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: 13px;
    line-height: 1.5;
    font-weight: 500;
}

.contact-modal__decor {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(2px);
}

.contact-modal__decor--one {
    width: 180px;
    height: 180px;
    left: -80px;
    bottom: -80px;
    background: rgba(30, 103, 200, 0.11);
}

.contact-modal__decor--two {
    width: 120px;
    height: 120px;
    right: 260px;
    top: -60px;
    background: rgba(18, 183, 106, 0.1);
}

body.contact-modal-open {
    overflow: hidden;
}

@media (max-width: 820px) {
    .contact-modal {
        padding: 14px;
    }

    .contact-modal__window {
        grid-template-columns: 1fr;
        max-height: calc(100vh - 28px);
        overflow-y: auto;
        border-radius: 28px;
    }

    .contact-modal__content {
        padding: 34px 24px 24px;
    }

    .contact-modal__side {
        padding: 24px;
    }

    .contact-modal__close {
        right: 14px;
        top: 14px;
    }
}

@media (max-width: 520px) {
    .contact-modal__content h2 {
        font-size: 32px;
    }

    .contact-modal__content {
        padding: 32px 18px 20px;
    }

    .contact-modal__side {
        padding: 20px 18px;
    }
}
.site-nav__mobile-cta {
    display: none;
}

@media (max-width: 900px) {
    .site-nav__mobile-cta {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        min-height: 48px;
        margin-top: 10px;
        border: 0;
        border-radius: 999px;
        cursor: pointer;
        background:
            radial-gradient(circle at 25% 20%, rgba(255, 255, 255, 0.28), transparent 30%),
            linear-gradient(135deg, #123b78, #1e67c8);
        color: #ffffff;
        font-family: inherit;
        font-size: 14px;
        font-weight: 900;
        box-shadow: 0 14px 32px rgba(30, 103, 200, 0.22);
    }
}