.site-header {
    position: relative;
    z-index: 20;
    background: #ffffff;
    border-bottom: 1px solid #d9edf2;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.site-header__row {
    min-height: 94px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding-inline: 0;
    position: relative;
}

/* =========================
   BRAND
========================= */

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    min-width: 0;
    flex: 0 0 auto;
    color: #0f172a;
    text-decoration: none;
}

.site-brand:hover {
    color: #0f172a;
}

.site-brand__logo {
    width: auto;
    height: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    box-shadow: none;
    overflow: visible;
    flex: 0 0 auto;
    color: #0891b2;
    font-size: 28px;
    font-weight: 800;
}

.site-brand__logo img {
    width: auto;
    height: 64px;
    max-width: 220px;
    object-fit: contain;
    display: block;
    background: transparent;
}

.site-brand__text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.site-brand__text strong {
    color: #0f172a;
    font-size: 20px;
    line-height: 1.15;
    font-weight: 800;
}

.site-brand__text small {
    color: #64748b;
    font-size: 13px;
    line-height: 1.35;
    margin-top: 3px;
}

/* =========================
   NAVIGATION
========================= */

.site-nav {
    display: flex;
    align-items: center;
    margin-left: auto;
}

.site-nav__list {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.site-nav__link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 16px;
    border-radius: 14px;
    color: #0f172a;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.site-nav__link:hover {
    background: #eef9fd;
    color: #0891b2;
}

.site-nav__link.is-active,
.site-nav__link[aria-current="page"] {
    background: #eef9fd;
    color: #0891b2;
    font-weight: 800;
    box-shadow: inset 0 0 0 1px rgba(8, 145, 178, 0.14);
}

.site-nav__link.is-active::before,
.site-nav__link[aria-current="page"]::before {
    content: "";
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 7px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, #0f766e 0%, #0891b2 55%, #38bdf8 100%);
}

/* =========================
   MOBILE TOGGLE
========================= */

.site-nav-toggle {
    display: none;
    width: 48px;
    height: 48px;
    border: 1px solid #dbe9f2;
    border-radius: 14px;
    background: #ffffff;
    padding: 10px;
    flex: 0 0 auto;
}

.site-nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: #0f172a;
    border-radius: 999px;
}

.site-nav-toggle span + span {
    margin-top: 6px;
}

.site-nav-backdrop,
.site-nav__mobile-head {
    display: none;
}

.site-nav__close {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #f4f8fb;
    color: #0f172a;
    font-size: 26px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1200px) {
    .site-header__row {
        min-height: 88px;
        gap: 22px;
    }

    .site-brand__logo img {
        height: 56px;
        max-width: 180px;
    }

    .site-brand__text strong {
        font-size: 18px;
    }

    .site-nav__list {
        gap: 6px;
    }

    .site-nav__link {
        min-height: 42px;
        padding: 0 13px;
        font-size: 14px;
    }

    .site-nav__link.is-active::before,
    .site-nav__link[aria-current="page"]::before {
        left: 13px;
        right: 13px;
        bottom: 6px;
    }
}

@media (min-width: 993px) {
    .site-nav__list {
        margin-right: -16px;
    }
}

@media (max-width: 992px) {
    body.nav-open {
        overflow: hidden;
    }

    .site-header__row {
        min-height: 82px;
    }

    .site-nav-toggle {
        display: inline-flex;
        flex-direction: column;
        justify-content: center;
        align-items: stretch;
        margin-left: auto;
    }

    .site-nav-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(15, 23, 42, 0.42);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.25s ease, visibility 0.25s ease;
        z-index: 98;
    }

    .site-nav-backdrop.is-active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .site-nav {
        position: fixed;
        top: 0;
        right: 0;
        left: auto;
        bottom: 0;
        width: min(360px, 88vw);
        height: 100vh;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        padding: 86px 16px 22px;
        border-left: 1px solid #dbe9f2;
        border-radius: 0;
        background: rgba(255, 255, 255, 0.98);
        box-shadow: -16px 0 40px rgba(15, 23, 42, 0.16);
        margin-left: 0;
        transform: translateX(100%);
        transition: transform 0.28s ease;
        z-index: 99;
        overflow-y: auto;
    }

    .site-nav.is-open {
        display: flex;
        transform: translateX(0);
    }

    .site-nav__mobile-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding-bottom: 14px;
        margin-bottom: 18px;
        border-bottom: 1px solid #e8f0f4;
    }

    .site-nav__mobile-head strong {
        color: #0f172a;
        font-size: 18px;
        font-weight: 800;
    }

    .site-nav__list {
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
        margin-right: 0;
    }

    .site-nav__link {
        width: 100%;
        min-height: 48px;
        justify-content: flex-start;
        padding: 0 14px;
    }

    .site-nav__link.is-active,
    .site-nav__link[aria-current="page"] {
        background: #eef9fd;
        color: #0891b2;
        box-shadow: inset 0 0 0 1px rgba(8, 145, 178, 0.14);
    }

    .site-nav__link.is-active::before,
    .site-nav__link[aria-current="page"]::before {
        left: 0;
        right: auto;
        top: 12px;
        bottom: 12px;
        width: 4px;
        height: auto;
        border-radius: 0 999px 999px 0;
    }

    .site-brand__text small {
        display: none;
    }
}

@media (max-width: 640px) {
    .site-header__row {
        min-height: 76px;
        gap: 14px;
    }

    .site-brand {
        gap: 12px;
    }

    .site-brand__logo img {
        height: 46px;
        max-width: 130px;
    }

    .site-brand__text strong {
        font-size: 16px;
    }

    .site-nav {
        width: min(320px, 90vw);
    }
}