:root {
    --ifura-blue: #48658b;
    --ifura-blue-dark: #314760;
    --ifura-blue-soft: #edf4ff;
    --ifura-gold: #a37316;
    --ifura-red: #ed1c2e;
    --ifura-ink: #0d1117;
    --ifura-muted: #667085;
    --ifura-line: rgba(15, 23, 42, .13);
    --ifura-shadow: 0 24px 80px rgba(15, 23, 42, .28);
}

.ih {
    position: sticky;
    top: 0;
    z-index: 1050;
    background: rgba(255, 255, 255, .92);
    border-bottom: 1px solid rgba(15, 23, 42, .08);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.ih__inner {
    min-height: 72px;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 0 22px;
}

.ih__brand {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    text-decoration: none;
}

.ih__brand img {
    display: block;
    width: 116px;
    max-height: 44px;
    object-fit: contain;
}

.ih__nav {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 10px;
}

.ih__link,
.ih__cta,
.ih__action {
}

.ih__link:hover,
.ih__action:hover,
.ih__link.is-active,
.ih__action.is-active {
    background: var(--ifura-blue-soft);
    color: var(--ifura-blue-dark);
}

.ih__cta,
.ih__action.is-strong {
    color: #ffffff;
}

.ih__cta:hover,
.ih__action.is-strong:hover {
    color: #ffffff;
    transform: translateY(-1px);
}

.ih__divider {
    width: 1px;
    height: 34px;
    margin-left: auto;
    background: rgba(15, 23, 42, .12);
}

.ih__actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ih__burger {
    display: none;
    width: 48px;
    height: 48px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 16px;
    background: rgba(255, 255, 255, .13);
    color: #ffffff;
    font-size: 26px;
    box-shadow: 0 12px 26px rgba(0, 0, 0, .14);
}

.ih__mobile-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1090;
    pointer-events: none;
    opacity: 0;
    background: rgba(8, 13, 22, .42);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    transition: opacity .24s ease;
}

.ih__mobile {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1100;
    width: min(84vw, 390px);
    height: 100dvh;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: #ffffff;
    box-shadow: var(--ifura-shadow);
    transform: translateX(-104%);
    transition: transform .28s cubic-bezier(.2, .8, .2, 1);
}

.ih.is-open .ih__mobile-backdrop {
    pointer-events: auto;
    opacity: 1;
}

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

.ih__mobile-head {
    position: relative;
    min-height: 202px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 18px;
    overflow: hidden;
    color: #ffffff;
    background:
            radial-gradient(circle at 18% 16%, rgba(255, 255, 255, .24), transparent 26%),
            radial-gradient(circle at 86% 0%, rgba(102, 177, 232, .32), transparent 34%),
            linear-gradient(145deg, #162335 0%, #314760 48%, #5d789a 100%);
}

.ih__mobile-head::before {
    content: '';
    position: absolute;
    right: -58px;
    top: -70px;
    width: 210px;
    height: 210px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 999px;
    background: rgba(255, 255, 255, .07);
}

.ih__mobile-head::after {
    content: '';
    position: absolute;
    left: -42px;
    bottom: -76px;
    width: 240px;
    height: 160px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    transform: rotate(-18deg);
}

.ih__mobile-head > * {
    position: relative;
    z-index: 1;
}

.ih__mobile-head-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.ih__mobile-logo {
    width: 136px;
    height: 66px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, .26);
    border-radius: 24px;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 18px 42px rgba(0, 0, 0, .18);
    overflow: hidden;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.ih__mobile-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.ih__mobile-auth {
    min-width: 0;
}

.ih__mobile-auth small {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: rgba(255, 255, 255, .78);
    font-size: 11px;
    line-height: 1.2;
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.ih__mobile-auth small::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #67d4ff;
    box-shadow: 0 0 0 5px rgba(103, 212, 255, .13);
}

.ih__mobile-auth strong {
    display: block;
    max-width: 310px;
    margin-top: 8px;
    color: #ffffff;
    font-size: 23px;
    line-height: 1.08;
    font-weight: 900;
    letter-spacing: -.02em;
}

.ih__mobile-auth a {
    text-decoration: none;
}

.ih__mobile-auth-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.ih__auth-main,
.ih__auth-secondary {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 17px;
    border-radius: 999px;
    font-size: 15px;
    line-height: 1;
    font-weight: 900;
    white-space: nowrap;
}

.ih__auth-main {
    color: var(--ifura-blue-dark) !important;
    background: #ffffff;
    box-shadow: 0 14px 30px rgba(0, 0, 0, .18);
}

.ih__auth-secondary {
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, .28);
    background: rgba(255, 255, 255, .12);
}

.ih__auth-reset {
    display: inline-flex;
    margin-top: 13px;
    color: rgba(255, 255, 255, .86) !important;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 750;
}

.ih__auth-reset:hover,
.ih__auth-main:hover,
.ih__auth-secondary:hover {
    transform: translateY(-1px);
}

.ih__mobile-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: auto;
}

.ih__mobile-meta span {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 17px;
    color: rgba(255, 255, 255, .88);
    background: rgba(255, 255, 255, .10);
    font-size: 13px;
    line-height: 1;
    font-weight: 800;
}

.ih__mobile-meta i {
    font-size: 19px;
}

.ih__mobile-close {
    width: 56px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 22px;
    background: rgba(255, 255, 255, .12);
    color: #ffffff;
    font-size: 29px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.ih__mobile-list {
    display: flex;
    flex-direction: column;
    padding: 0 0 18px;
}

.ih__mobile-list a,
.ih__mobile-logout {
    position: relative;
    min-height: 74px;
    display: grid;
    grid-template-columns: 72px 1fr 24px;
    align-items: center;
    gap: 12px;
    padding: 0 18px 0 18px;
    border: 0;
    border-bottom: 1px solid var(--ifura-line);
    background: #ffffff;
    color: var(--ifura-ink);
    font-size: 20px;
    line-height: 1.2;
    font-weight: 750;
    text-align: left;
    text-decoration: none;
}

.ih__mobile-list a::after,
.ih__mobile-logout::after {
    content: '›';
    color: rgba(13, 17, 23, .34);
    font-size: 34px;
    line-height: 1;
}

.ih__mobile-list a > i,
.ih__mobile-logout > i {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    color: var(--ifura-blue);
    background: var(--ifura-blue-soft);
    font-size: 28px;
}

.ih__mobile-list a:hover,
.ih__mobile-list a.is-active,
.ih__mobile-logout:hover {
    background: linear-gradient(90deg, rgba(72, 101, 139, .13), rgba(72, 101, 139, .03));
    color: var(--ifura-blue-dark);
}

.ih__mobile-list a.is-primary > i,
.ih__mobile-list a.is-active > i {
    color: #ffffff;
    background: linear-gradient(135deg, var(--ifura-blue), var(--ifura-blue-dark));
}

.ih__mobile-list a.is-primary {
    color: var(--ifura-blue-dark);
    font-weight: 700;
}

.ih__mobile-list a.is-gold > i {
    color: #ffffff;
    background: linear-gradient(135deg, #c18a24, var(--ifura-gold));
}

.ih__mobile-list a.is-danger > i,
.ih__mobile-logout > i {
    color: #ffffff;
    background: linear-gradient(135deg, #ff4050, var(--ifura-red));
}

.ih__mobile-note {
    margin: 14px 18px 20px;
    padding: 14px 16px;
    border: 1px solid rgba(72, 101, 139, .16);
    border-radius: 20px;
    color: var(--ifura-muted);
    background: linear-gradient(135deg, rgba(72, 101, 139, .08), rgba(163, 115, 22, .08));
    font-size: 14px;
    line-height: 1.4;
    font-weight: 650;
}

.ih__mobile-note strong {
    display: block;
    margin-bottom: 4px;
    color: var(--ifura-ink);
    font-size: 15px;
}

.ih__mobile-foot {
    padding: 0 18px 24px;
}

.ih__mobile-foot a {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100%;
    border-radius: 18px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--ifura-blue) 0%, var(--ifura-blue-dark) 100%);
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 14px 30px rgba(49, 71, 96, .22);
}

body.ih-menu-open {
    overflow: hidden;
    touch-action: none;
}

@media (max-width: 991.98px) {
    .ih {
        background:
                linear-gradient(135deg, rgba(72, 101, 139, .98), rgba(49, 71, 96, .98));
        border-bottom: 1px solid rgba(255, 255, 255, .14);
    }

    .ih__inner {
        min-height: 68px;
        justify-content: center;
        padding: 0 14px;
    }

    .ih__burger {
        display: inline-flex;
        position: absolute;
        left: 12px;
        top: 10px;
    }

    .ih__brand {
        margin: 0 auto;
    }

    .ih__brand img {
        width: 104px;
        max-height: 42px;
        background: #fff;
        border-radius: 10px;
        height: 40px;
    }

    .ih__nav,
    .ih__divider,
    .ih__actions {
        display: none;
    }
}

@media (min-width: 992px) {
    .ih__mobile,
    .ih__mobile-backdrop {
        display: none;
    }
}

@media (max-width: 380px) {
    .ih__mobile {
        width: 88vw;
    }

    .ih__mobile-head {
        min-height: 202px;
        gap: 16px;
        padding: 16px 14px;
    }

    .ih__mobile-logo {
        width: 124px;
        height: 60px;
        border-radius: 21px;
    }

    .ih__mobile-close {
        width: 52px;
        height: 52px;
        border-radius: 20px;
        font-size: 27px;
    }

    .ih__mobile-auth strong {
        font-size: 17px;
    }

    .ih__auth-main,
    .ih__auth-secondary {
        min-height: 42px;
        padding: 0 14px;
        font-size: 14px;
    }

    .ih__mobile-list a,
    .ih__mobile-logout {
        grid-template-columns: 62px 1fr 20px;
        min-height: 68px;
        font-size: 15px;
        padding-left: 14px;
        padding-right: 14px;
    }

    .ih__mobile-list a > i,
    .ih__mobile-logout > i {
        width: 44px;
        height: 44px;
        font-size: 25px;
    }
}