.site-header {
    position: fixed;
    top: 42px;
    left: 50%;
    transform: translateX(-50%);
    width: min(86%, 1320px);
    height: 80px;
    padding: 0 18px 0 12px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    z-index: var(--z-header);

    background: rgba(12, 12, 12, 0.34);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 22px;

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    box-shadow:
        0 25px 80px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* =========================================
   ASTRIVE LOGO
========================================= */

.header-logo,
.astrive-logo {
    display: flex;
    align-items: center;
}

.astrive-logo {
    gap: 0px;
    margin-left: -20px;
}

.astrive-mark-img {
    width: 130px;
    height: 90px;

    display: block;
    flex-shrink: 0;

    object-fit: contain;

    transform: translateY(-1px);

    filter:
        drop-shadow(0 0 10px rgba(86, 192, 141, 0.42))
        drop-shadow(0 0 22px rgba(86, 192, 141, 0.16));
}

.astrive-brand {
    display: flex;
    flex-direction: column;
    justify-content: center;

    transform: translateY(-1px);

    margin-left: -30px;
}

.astrive-name {
    font-family: "Michroma", sans-serif;

    font-size: 27px;

    font-weight: 400;

    letter-spacing: 10px;

    color: #fff;

    text-transform: lowercase;

    line-height: 1;

    padding-left: 10px;

}

.astrive-tagline {
    margin-top: 8px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    width: 100%;

    color: var(--accent-color);

    font-family: "Montserrat", "Inter", Arial, sans-serif;

    font-size: 6.5px;
    font-weight: 600;

    letter-spacing: 1.2px;

    white-space: nowrap;

    text-shadow:
        0 0 12px rgba(86, 192, 141, 0.45);
}

.astrive-tagline span {
    display: block;

    width: 24px;
    height: 1px;

    background: linear-gradient(
        90deg,
        transparent,
        rgba(86, 192, 141, 0.95)
    );

    box-shadow:
        0 0 8px rgba(86, 192, 141, 0.55);
}

.astrive-tagline span:last-child {
    background: linear-gradient(
        90deg,
        rgba(86, 192, 141, 0.95),
        transparent
    );
}

/* =========================================
   NAVIGATION
========================================= */

.header-nav {
    position: absolute;

    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);

    display: flex;
    align-items: center;
    gap: 42px;
}

.nav-link {
    position: relative;

    color: rgba(255, 255, 255, 0.88);
    font-size: 17px;
    font-weight: 400;
    text-decoration: none;

    background: none;
    border: none;
    padding: 8px 0;

    cursor: pointer;
    transition: color 0.25s ease;
}

.nav-link:hover {
    color: #fff;
}

.nav-link.active::after,
.nav-link:hover::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -7px;

    width: 100%;
    height: 2px;

    background: #28b36f;
    border-radius: 10px;
    box-shadow: 0 0 12px rgba(40, 179, 111, 0.8);
}

/* =========================================
   ICON LINK
========================================= */

.header-icon i {
    font-size: 19px;

    color: #ffffff;

    background: transparent !important;

    transition: 0.25s ease;
}

.header-icon .fa-paper-plane {
    font-size: 19px;
    transform: translateX(-2px) translateY(1px);
}

.header-icon .fa-envelope {
    font-size: 21px;
}

/* =========================================
   ACTIONS
========================================= */

.header-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.header-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #fff;
    font-size: 22px;
    text-decoration: none;

    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.12);

    transition: 0.25s ease;
}

.header-icon:hover {
    background: rgba(31, 157, 98, 0.16);
    border-color: rgba(31, 157, 98, 0.55);
    box-shadow: 0 0 20px rgba(31, 157, 98, 0.3);
    transform: translateY(-2px);
}

.mobile-visible,
.burger-button,
.mobile-menu {
    display: none;
}

/* =========================================
   ADAPTIVE
========================================= */

@media (max-width: 1180px) {
    .site-header {
        width: calc(100% - 40px);
    }

    .header-nav {
        gap: 28px;
    }

    .nav-link {
        font-size: 15px;
    }

    .astrive-mark-img {
        width: 112px;
        height: 78px;
    }

    .astrive-name {
        font-size: 23px;
        letter-spacing: 8px;
    }

    .astrive-tagline {
        font-size: 5.8px;
        letter-spacing: 1px;
    }

    .astrive-tagline span {
        width: 18px;
    }
}

/* =========================================
   MOBILE / TABLET HEADER
========================================= */

@media (max-width: 900px) {
    .site-header {
        top: 28px;

        width: calc(100% - 34px);
        height: 72px;

        padding: 0 10px 0 8px;

        flex-wrap: nowrap;
        gap: 0;

        border-radius: 22px;
    }

    .desktop-only,
    .nav-dream-link {
        display: none !important;
    }

    .mobile-visible {
        display: inline-flex;
    }

    .astrive-logo {
        margin-left: -12px;
        flex-shrink: 0;
    }

    .astrive-mark-img {
        width: 82px;
        height: 58px;
    }

    .astrive-brand {
        margin-left: -19px;
    }

    .astrive-name {
        font-size: 17px;
        letter-spacing: 5.6px;
        padding-left: 7px;
    }

    .astrive-tagline {
        margin-top: 4px;

        font-size: 3.8px;
        letter-spacing: 0.6px;

        gap: 4px;

        opacity: 0.92;
    }

    .astrive-tagline span {
        width: 10px;
    }

    .header-nav {
        position: static;

        transform: none;

        width: auto;

        margin-left: auto;

        display: flex;
        align-items: center;
        justify-content: flex-end;

        gap: 22px;

        order: initial;
    }

    .nav-link {
        font-size: 15px;
        padding: 6px 0;

        white-space: nowrap;
    }

    .nav-link.active::after,
    .nav-link:hover::after {
        display: none;
    }

    .burger-button {
        width: 58px;
        height: 58px;

        margin-left: 18px;

        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;

        gap: 6px;

        border-radius: 50%;

        border: 1px solid rgba(255, 255, 255, 0.12);
        background: rgba(255, 255, 255, 0.03);

        cursor: pointer;

        transition: 0.25s ease;
    }

    .burger-button span {
        width: 25px;
        height: 2px;

        background: rgba(255, 255, 255, 0.92);
        border-radius: 999px;

        transition: 0.25s ease;
    }

    .burger-button.active {
        background: rgba(31, 157, 98, 0.12);
        border-color: rgba(86, 192, 141, 0.38);
        box-shadow: 0 0 16px rgba(86, 192, 141, 0.12);
    }

    .mobile-menu {
        position: absolute;
        top: calc(100% + 5px);
        right: 0;

        overflow: hidden;

        width: 255px;

        padding: 18px;

        display: flex;
        flex-direction: column;

        border-radius: 18px;

        background: rgba(10, 14, 15, 0.78);

        backdrop-filter: blur(22px) saturate(135%);
        -webkit-backdrop-filter: blur(22px) saturate(135%);

        border: 1px solid rgba(255, 255, 255, 0.14);

        box-shadow:
            0 18px 50px rgba(0, 0, 0, 0.42),
            inset 0 1px 0 rgba(255, 255, 255, 0.08),
            inset 0 -1px 0 rgba(255, 255, 255, 0.03);

        opacity: 0;
        pointer-events: none;

        transform: translateY(-8px) scale(0.97);
        transform-origin: top right;

        transition: 0.25s ease;
    }

    .mobile-menu.active {
        opacity: 1;
        pointer-events: auto;

        transform: translateY(0) scale(1);
    }

    .mobile-menu__item {
        position: relative;

        width: 100%;

        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 15px;

        padding: 7px 0;
        padding-right: 2px;

        color: rgba(255, 255, 255, 0.92);
        font-size: 14px;
        font-weight: 400;
        text-decoration: none;

        background: none;
        border: none;

        cursor: pointer;
    }

    .mobile-menu__item::after {
        content: "";

        position: absolute;
        left: 50%;
        bottom: 0;

        width: 118px;
        height: 1px;

        transform: translateX(-50%);

        background: rgba(255, 255, 255, 0.05);
    }

    .mobile-menu__item:last-child::after {
        display: none;
    }

    .mobile-menu__item span {
        width: 48px;
        height: 48px;

        display: flex;
        align-items: center;
        justify-content: center;

        border-radius: 50%;

        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.1);

        color: var(--accent-color);

        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
    }
}

/* =========================================
   SMALL MOBILE HEADER
========================================= */

@media (max-width: 560px) {
    .site-header {
        top: 22px;

        width: calc(100% - 18px);
        height: 51px;

        padding: 0 7px 0 5px;

        border-radius: 17px;
    }

    .astrive-logo {
        margin-left: -13px;
    }

    .astrive-mark-img {
        width: 70px;
        height: 52px;
    }

    .astrive-brand {
        margin-left: -16px;
    }

    .astrive-name {
        font-size: 15px;
        letter-spacing: 5px;

        padding-left: 9px;
    }

    .astrive-tagline {
        margin-top: 4px;

        display: flex;

        font-size: 5.5px;
        letter-spacing: 0.15px;

        gap: 3px;

        opacity: 0.9;
    }

    .astrive-tagline span {
        width: 8px;
    }

    .header-nav {
        margin-left: auto;
        margin-right: 11px;

        gap: 18px;
    }

    .nav-link {
        font-size: 12.5px;
        font-weight: 400;

        padding: 5px 0;
    }

    .burger-button {
        width: 38px;
        height: 38px;

        margin-left: 16px;

        gap: 4px;

        border: 1px solid rgba(255, 255, 255, 0.08);
        background: rgba(255, 255, 255, 0.02);
    }

    .burger-button span {
        width: 17px;
        height: 1.6px;
    }

    .mobile-menu {
        right: -2px;

        width: 150px;
        height: 150px;

        padding: 0 6px 0 10px;

        border-radius: 16px;

        background: rgba(10, 14, 15, 0.82);

        backdrop-filter: blur(22px) saturate(135%);
        -webkit-backdrop-filter: blur(22px) saturate(135%);

        border: 1px solid rgba(255, 255, 255, 0.14);
    }

    .mobile-menu__item {
        height: 50px;

        gap: 9px;

        padding: 0;

        font-size: 12.5px;
        font-weight: 400;

        letter-spacing: 0.2px;
    }

    .mobile-menu__item::after {
        bottom: 0;

        width: 118px;
    }

    .mobile-menu__item span {
        width: 32px;
        height: 32px;
    }
}

/* =========================================
   ACCESSIBILITY / FOCUS
========================================= */

.nav-link:focus-visible,
.header-icon:focus-visible,
.burger-button:focus-visible,
.mobile-menu__item:focus-visible {
    outline: 1px solid rgba(86, 192, 141, 0.85);
    outline-offset: 4px;
}