/* =========================================================
   SITE HEADER
========================================================= */

.site-header {
    position: fixed;
    top: 0;
    left: 0;

    z-index: 1000;

    width: 100%;

    background: transparent;

    border-bottom: 1px solid rgba(255, 255, 255, 0.18);

    transition:
        background 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease,
        backdrop-filter 0.3s ease;
}

.site-header.is-scrolled {
    background: rgba(255, 255, 255, 0.96);

    border-bottom-color: rgba(23, 32, 24, 0.08);

    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.08);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.site-header.is-scrolled .site-nav a {
    color: var(--aw-dark);
}

.site-header.is-scrolled .site-nav a:hover {
    color: var(--aw-orange);
}

.site-header.is-scrolled .mobile-menu-toggle {
    background: rgba(23, 32, 24, 0.06);
}

.site-header.is-scrolled .mobile-menu-toggle span {
    background: var(--aw-dark);
}

.header-inner {
    width: min(
        calc(100% - 60px),
        var(--aw-container)
    );

    min-height: 88px;

    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 35px;
}


/* =========================================================
   LOGO
========================================================= */

.site-logo {
    display: inline-flex;
    align-items: center;

    flex-shrink: 0;
}

.site-logo img {
    width: auto;
    height: 52px;
}


/* =========================================================
   NAVIGATION
========================================================= */

.site-nav {
    display: flex;
    align-items: center;

    gap: 30px;

    margin-left: auto;
}


.site-nav a {
    position: relative;

    padding: 8px 0;

    color: #ffffff;

    font-size: 13px;
    font-weight: 600;

    white-space: nowrap;

    transition:
        color 0.25s ease,
        opacity 0.25s ease;
}


.site-nav a::after {
    content: '';

    position: absolute;

    left: 0;
    bottom: 2px;

    width: 0;
    height: 2px;

    border-radius: 10px;

    background: var(--aw-green);

    transition: width 0.25s ease;
}


.site-nav a:hover {
    color: var(--aw-green);
}


.site-nav a:hover::after {
    width: 100%;
}


/* =========================================================
   WHATSAPP BUTTON
========================================================= */

.header-action {
    flex-shrink: 0;
}


.header-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    min-height: 46px;

    padding: 0 19px;

    border-radius: 999px;

    background: var(--aw-orange);
    color: #ffffff;

    font-size: 12px;
    font-weight: 700;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.16);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}


.header-whatsapp:hover {
    transform: translateY(-2px);

    background: #ff7418;

    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.22);
}


.header-whatsapp-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 26px;
    height: 26px;

    border-radius: 50%;

    background: #ffffff;
    color: var(--aw-orange);

    font-size: 9px;
    font-weight: 800;
}


/* =========================================================
   MOBILE MENU
========================================================= */

.mobile-menu-toggle {
    display: none;

    width: 44px;
    height: 44px;

    padding: 0;

    border: 0;
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.14);

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}


.mobile-menu-toggle span {
    display: block;

    width: 20px;
    height: 2px;

    margin: 4px auto;

    background: #ffffff;

    border-radius: 10px;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1050px) {

    .header-inner {
        width: min(
            calc(100% - 40px),
            var(--aw-container)
        );
    }


    .site-nav {
        gap: 20px;
    }


    .site-nav a {
        font-size: 12px;
    }

}


@media (max-width: 850px) {

    .site-nav,
    .header-action {
        display: none;
    }


    .mobile-menu-toggle {
        display: block;
    }


    .header-inner {
        min-height: 76px;
    }


    .site-logo img {
        height: 46px;
    }

}