.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 clamp(1rem, 4vw, 3rem);
    background: transparent;
    transition: background var(--transition), box-shadow var(--transition), backdrop-filter var(--transition);
}

.site-header.is-scrolled,
.site-header--solid {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(14px);
    box-shadow: var(--shadow-sm);
}

.site-header.is-scrolled .site-logo,
.site-header--solid .site-logo {
    color: var(--aloha-dark);
}

.site-header.is-scrolled .nav-list a,
.site-header--solid .nav-list a {
    color: var(--aloha-text);
}

.site-header.is-scrolled .nav-list a:hover,
.site-header--solid .nav-list a:hover {
    color: var(--aloha-red);
}

.site-header.is-scrolled .menu-toggle .bar,
.site-header--solid .menu-toggle .bar {
    background: var(--aloha-dark);
}

.site-logo {
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1.55rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-decoration: none;
    transition: color var(--transition);
}

.site-logo span {
    color: var(--aloha-red);
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-list > li {
    position: relative;
}

.nav-list a {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.55rem 0.8rem;
    color: #fff;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-decoration: none;
    text-transform: uppercase;
    transition: color var(--transition);
}

.nav-list a:hover {
    color: var(--aloha-red);
}

.nav-cta {
    margin-left: 0.35rem;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    padding: 0.65rem 0 0.5rem;
    border-radius: var(--radius-md);
    background: #fff;
    box-shadow: var(--shadow-md);
    border-top: 3px solid var(--aloha-red);
}

@media (min-width: 993px) {
    .dropdown::after {
        content: '';
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        height: 0.65rem;
    }

    .dropdown:hover .dropdown-menu,
    .dropdown:focus-within .dropdown-menu {
        display: block;
    }
}

.dropdown.open .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.7rem 1.1rem;
    color: var(--aloha-text) !important;
    text-transform: none;
    font-size: 0.92rem;
}

.dropdown-menu a:hover {
    background: var(--aloha-surface);
    color: var(--aloha-red) !important;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.menu-toggle .bar {
    width: 26px;
    height: 3px;
    border-radius: 2px;
    background: #fff;
    transition: var(--transition);
}

.menu-toggle.is-active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.is-active .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.is-active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.magic-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(15, 15, 15, 0.72);
    backdrop-filter: blur(8px);
}

.magic-modal-content {
    position: relative;
    width: min(100%, 460px);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-lg);
    background: #fff;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.magic-modal-content h2 {
    margin-top: 0;
    font-family: var(--font-heading);
    text-transform: uppercase;
}

.magic-modal-content .form-control {
    width: 100%;
    padding: 0.85rem 1rem;
    margin: 1rem 0;
    border: 1px solid var(--aloha-border);
    border-radius: var(--radius-md);
    box-sizing: border-box;
}

.close-modal {
    position: absolute;
    top: 0.85rem;
    right: 1rem;
    font-size: 1.8rem;
    color: #cbd5e1;
    cursor: pointer;
}

.hp-container {
    position: absolute;
    left: -5000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.mobile-nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(15, 15, 15, 0.45);
}

.mobile-nav-overlay.is-open {
    display: block;
}

@media (max-width: 992px) {
    .menu-toggle {
        display: flex;
    }

    .nav-container {
        display: none;
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        bottom: 0;
        padding: 1.5rem 1rem 6rem;
        background: #fff;
        overflow-y: auto;
    }

    .nav-container.active {
        display: block;
    }

    .nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 0.25rem;
    }

    .nav-list a {
        color: var(--aloha-text);
        padding: 0.9rem 0.5rem;
        font-size: 1rem;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        padding-left: 0.5rem;
    }

    .nav-cta {
        margin: 1rem 0 0;
    }

    .nav-cta .aloha-btn {
        width: 100%;
    }
}
