.as-main-header {
    max-width: 100%;
    margin: auto;
    padding: 18px 40px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    /* gap: 40px; */
}

.as-header-left,
.as-header-right {
    display: flex;
    align-items: center;
    flex: 1;
}

.as-header-right {
    /* margin-left: auto; */
    justify-content: flex-end;
}

.as-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.as-logo img {
    height: 72px;
}

.as-brand {
    display: flex;
    flex-direction: column;
}

.as-brand .brand-name {
    font-size: 16px;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: 0.02em;
}

.as-brand .brand-sub {
    font-size: 12px;
    font-weight: 800;
    color: #111;
    letter-spacing: 0.12em;
    text-align: center;
}

.as-nav {
    display: flex;
    align-items: center;
    gap: 30px;
    flex: 0 0 auto;
}

.as-nav a {
    font-size: 14px;
    /* font-weight: 600; */
    letter-spacing: 0.08em;
    color: var(--text-dark);
    text-decoration: none;
    position: relative;
    /* padding: 6px 0; */
    transition: color 0.3s ease;
}

.as-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 2px;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

.as-nav a:hover {
    color: var(--secondary-color);
}

.as-nav a:hover::after {
    width: 100%;
}

.as-nav a.active-link {
    color: var(--secondary-color);
}

.as-nav a.active-link::after {
    width: 100%;
}

.as-cta {
    padding: 8px 16px;
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color) !important;
    font-weight: 700;
    transition: all 0.3s ease;
}

.as-cta:hover {
    background: var(--secondary-color);
    color: var(--background-color) !important;
}

.as-hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1001;
    background: none;
    border: none;
    padding: 0;
}

.as-hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #000;
    border-radius: 3px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.as-hamburger.is-active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.as-hamburger.is-active span:nth-child(2) {
    opacity: 0;
    transform: translateX(10px);
}

.as-hamburger.is-active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.as-mobile-drawer {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100vh;
    background: var(--background-color);
    z-index: 2000;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 80px 24px 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.as-mobile-drawer.is-active {
    right: 0;
}

.as-mobile-drawer .as-nav-link {
    font-size: 16px;
    font-weight: 700;
    color: #000;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.as-mobile-drawer .as-cta-mobile {
    margin-top: 20px;
    text-align: center;
    padding: 14px;
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
    font-weight: 800;
    text-decoration: none;
}

.as-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(3px);
}

.as-drawer-overlay.is-active {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 1024px) {
    .as-main-header {
        padding: 12px 20px;
        justify-content: space-between;
    }

    .as-nav {
        display: none;
    }

    .as-hamburger {
        display: flex;
    }

    .as-logo img {
        height: 56px;
    }

    .as-brand .brand-name {
        font-size: 14px;
    }

    .as-brand .brand-sub {
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    .as-logo img {
        height: 48px;
    }

    .as-brand {
        display: none;
        /* Hide text logo on very small screens to save space */
    }
}