/* ----------------------------------
   Header
---------------------------------- */
.site-header {
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    transition: background-color 240ms ease, box-shadow 240ms ease, backdrop-filter 240ms ease, padding 240ms ease;
}

.site-header.is-scrolled {
    background: rgba(17, 17, 15, 0.97);
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.24);
    backdrop-filter: blur(16px);
}

.hb-navbar {
    min-height: 7.8125rem;
    padding: 1.85rem clamp(1.25rem, 5vw, 6.25rem);
    transition: min-height 240ms ease, padding 240ms ease;
}

.site-header.is-scrolled .hb-navbar {
    min-height: 5.25rem;
    padding-top: 0.9rem;
    padding-bottom: 0.9rem;
}

.hb-navbar__inner {
    max-width: 107.5rem;
    padding: 0;
}

.hb-navbar__brand {
    width: 4.0625rem;
    height: 4.0625rem;
    padding: 0;
    margin: 0;
    border-radius: 50%;
    transition: transform 260ms ease, filter 260ms ease, box-shadow 260ms ease;
}

.hb-navbar__brand img,
.hb-offcanvas__brand img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.site-header.is-scrolled .hb-navbar__brand {
    transform: scale(0.86);
    filter: drop-shadow(0 0 18px rgba(194, 165, 107, 0.32));
}

.hb-navbar__links {
    align-items: center;
    gap: 0;
}

.hb-navbar__links .nav-item {
    position: relative;
    display: flex;
    align-items: center;
}

.hb-navbar__links .nav-item:not(:last-child)::after {
    width: 1px;
    height: 1.75rem;
    margin: 0 0.82rem;
    content: "";
    background: rgba(255, 255, 255, 0.24);
}

.hb-navbar__links .nav-link {
    position: relative;
    padding: 0.94rem 0;
    color: var(--hb-white);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.25;
    transition: color 180ms ease;
}

.hb-navbar__links .nav-link:hover,
.hb-navbar__links .nav-link:focus-visible,
.hb-navbar__links .nav-link.active,
.hb-navbar__links .nav-link.show,
.hb-nav-dropdown-toggle[aria-expanded="true"] {
    color: var(--hb-gold);
}

.hb-nav-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
}

.hb-navbar__links .dropdown-toggle::after {
    display: none;
}

.hb-dropdown__arrow {
    width: 0.75rem;
    height: 0.4375rem;
    flex: 0 0 0.75rem;
    transition: transform 220ms ease;
}

.hb-nav-dropdown-toggle[aria-expanded="true"] .hb-dropdown__arrow {
    animation: hb-dropdown-arrow-open 260ms ease both;
    transform: rotate(180deg);
}

.hb-dropdown {
    min-width: 13rem;
    padding: 0.45rem;
    margin-top: 0.55rem;
    border: 1px solid var(--hb-border);
    border-radius: 0.5rem;
    background: rgba(30, 30, 28, 0.96);
    box-shadow: var(--hb-shadow);
}

.hb-dropdown.show {
    animation: hb-dropdown-in 180ms ease both;
}

.hb-dropdown > li + li {
    margin-top: 0.3rem;
}

.hb-dropdown .dropdown-item {
    padding: 0.72rem 0.9rem;
    border-radius: 0.35rem;
    color: rgba(255, 255, 255, 0.88);
    font-weight: 600;
    line-height: 1.35;
}

.hb-dropdown .dropdown-item:hover,
.hb-dropdown .dropdown-item:focus,
.hb-dropdown .dropdown-item.active,
.hb-dropdown .dropdown-item[aria-current="page"] {
    color: var(--hb-dark);
    background: var(--hb-gold);
}

.hb-navbar__toggler {
    width: 3rem;
    height: 3rem;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0.34rem;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 50%;
    background: rgba(30, 30, 28, 0.36);
    box-shadow: none;
}

.hb-navbar__toggler:focus {
    box-shadow: 0 0 0 0.18rem rgba(194, 165, 107, 0.24);
}

.hb-navbar__toggler-line {
    width: 1.08rem;
    height: 2px;
    border-radius: 99px;
    background: var(--hb-white);
}

.hb-offcanvas {
    color: var(--hb-white);
    background-color: var(--hb-nav-premium);
    background-image: linear-gradient(180deg, rgba(17, 17, 15, 0.98), rgba(17, 17, 15, 0.94));
}

.hb-offcanvas.show,
.hb-offcanvas.showing {
    background-color: var(--hb-nav-premium);
}

@keyframes hb-dropdown-in {
    from {
        opacity: 0;
        transform: translateY(0.35rem);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes hb-dropdown-arrow-open {
    0% {
        transform: rotate(0deg) translateY(0);
    }

    58% {
        transform: rotate(180deg) translateY(1px);
    }

    100% {
        transform: rotate(180deg) translateY(0);
    }
}

.hb-offcanvas__header {
    padding: 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hb-offcanvas__brand {
    width: 3.75rem;
    height: 3.75rem;
}

.hb-offcanvas__body {
    padding: 1rem 1.25rem 7rem;
}

.hb-mobile-actions {
    position: fixed;
    right: 0.75rem;
    bottom: 0.75rem;
    left: 0.75rem;
    z-index: 1040;
    display: none;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
    padding: 0.45rem;
    border: 1px solid rgba(194, 165, 107, 0.28);
    border-radius: 0.8rem;
    background: rgba(17, 17, 15, 0.96);
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(18px);
}

.hb-mobile-actions__item {
    display: inline-flex;
    min-width: 0;
    min-height: 3.15rem;
    align-items: center;
    justify-content: center;
    gap: 0.38rem;
    padding: 0.5rem 0.35rem;
    border-radius: 0.55rem;
    color: var(--hb-white);
    font-size: 0.83rem;
    font-weight: 700;
    line-height: 1.1;
    text-align: center;
}

.hb-mobile-actions__item:hover,
.hb-mobile-actions__item:focus-visible {
    color: var(--hb-dark);
    background: var(--hb-gold);
}

.hb-mobile-actions__icon {
    width: 1.1rem;
    height: 1.1rem;
    flex: 0 0 1.1rem;
}

.hb-mobile-actions__icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

@media (max-width: 991.98px) {
    .site-header {
        background: transparent;
    }

    .site-header.is-scrolled {
        background: rgba(17, 17, 15, 0.97);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .hb-offcanvas,
    .hb-offcanvas.show,
    .hb-offcanvas.showing {
        position: fixed !important;
        top: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        height: 100dvh !important;
        overflow-y: auto;
        background-color: var(--hb-nav-premium) !important;
        background-image: linear-gradient(180deg, rgba(17, 17, 15, 0.98), rgba(17, 17, 15, 0.94)) !important;
    }

    .hb-navbar {
        min-height: 5.6rem;
        padding: 1rem;
    }

    .site-header.is-scrolled .hb-navbar {
        min-height: 5rem;
        padding: 0.75rem 1rem;
    }

    .hb-navbar__brand {
        width: 3.75rem;
        height: 3.75rem;
    }

    .site-header.is-scrolled .hb-navbar__brand {
         transform: scale(0.9);
    }

    .hb-navbar__toggler {
        display: inline-flex;
    }

    .hb-navbar__links {
        align-items: stretch;
        gap: 0.25rem;
    }

    .hb-navbar__links .nav-item {
        display: block;
    }

    .hb-navbar__links .nav-item:not(:last-child)::after {
        display: none;
    }

    .hb-navbar__links .nav-link {
        padding: 0.95rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.09);
        font-size: 1.15rem;
    }

    .hb-nav-dropdown-toggle {
        width: 100%;
        justify-content: space-between;
    }

    .hb-dropdown {
        margin: 0 0 0.75rem;
        border-color: rgba(255, 255, 255, 0.1);
        background: rgba(255, 255, 255, 0.05);
        box-shadow: none;
    }

    .hb-mobile-actions {
        display: grid;
    }
}

@media (min-width: 992px) {
    .navbar-expand-lg .hb-offcanvas {
        background: transparent;
        background-color: transparent;
        background-image: none;
        box-shadow: none;
    }
}

@media (max-width: 374px) {
    .hb-mobile-actions__item {
        flex-direction: column;
        gap: 0.25rem;
        font-size: 0.75rem;
    }
}

