.vc-global-nav-wrap {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0.7rem 1rem;
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(10px);
}

.vc-global-nav {
    width: min(1180px, 100%);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem 1.2rem;
}

.vc-global-brand {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 0.55rem;
    color: #0f172a;
    font-family: var(--vc-font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
}

.vc-global-brand-logo {
    display: block;
    flex: 0 0 auto;
    width: auto;
    height: 82px;
    max-width: 360px;
}

.vc-global-brand-name {
    display: inline-block;
}

.vc-global-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0.45rem 0.4rem;
}

.vc-global-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0.34rem 0.68rem;
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, 0.16);
    background: #ffffff;
    color: #111827;
    font-family: var(--vc-font-body);
    font-weight: 700;
    font-size: 0.83rem;
    line-height: 1;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.vc-global-link:hover {
    background: #f8fafc;
    border-color: rgba(15, 23, 42, 0.28);
    color: #000000;
}

.vc-global-link.is-current {
    background: #111827;
    border-color: #111827;
    color: #ffffff;
}

.vc-global-dropdown {
    position: relative;
}

.vc-global-dropdown-trigger {
    list-style: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0.34rem 0.72rem;
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, 0.16);
    background: #ffffff;
    color: #111827;
    font-family: var(--vc-font-body);
    font-weight: 700;
    font-size: 0.83rem;
    line-height: 1;
    cursor: pointer;
    user-select: none;
}

.vc-global-dropdown-trigger::-webkit-details-marker {
    display: none;
}

.vc-global-dropdown-trigger::after {
    content: "▾";
    margin-left: 0.45rem;
    font-size: 0.8rem;
}

.vc-global-dropdown[open] > .vc-global-dropdown-trigger {
    background: #111827;
    border-color: #111827;
    color: #ffffff;
}

.vc-global-dropdown-menu {
    list-style: none;
    position: absolute;
    right: 0;
    top: calc(100% + 0.4rem);
    width: max-content;
    min-width: 280px;
    max-width: min(92vw, 380px);
    max-height: 70vh;
    overflow: auto;
    margin: 0;
    padding: 0.5rem;
    border: 1px solid rgba(15, 23, 42, 0.14);
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 16px 28px rgba(15, 23, 42, 0.18);
}

.vc-global-dropdown-item {
    list-style: none;
}

.vc-global-dropdown-link,
.vc-global-submenu-link {
    display: block;
    padding: 0.48rem 0.62rem;
    border-radius: 8px;
    color: #111827;
    text-decoration: none;
    font-family: var(--vc-font-body);
    font-weight: 600;
    font-size: 0.92rem;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.vc-global-dropdown-link:hover,
.vc-global-submenu-link:hover {
    background: #f8fafc;
    color: #000000;
}

.vc-global-dropdown-link.is-current,
.vc-global-submenu-link.is-current {
    background: #e5e7eb;
    color: #000000;
    font-weight: 700;
}

.vc-global-submenu {
    list-style: none;
    margin: 0.15rem 0 0.45rem 0.7rem;
    padding: 0 0 0 0.6rem;
    border-left: 1px solid #e5e7eb;
}

.vc-global-link:focus-visible,
.vc-global-brand:focus-visible,
.vc-global-dropdown-trigger:focus-visible,
.vc-global-dropdown-link:focus-visible,
.vc-global-submenu-link:focus-visible {
    outline: 3px solid #f8c800;
    outline-offset: 3px;
}

@media (max-width: 768px) {
    .vc-global-nav-wrap {
        padding: 0.45rem 0.65rem;
    }

    .vc-global-nav {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        align-items: center;
        gap: 0.45rem;
    }

    .vc-global-brand {
        justify-content: flex-start;
        text-align: left;
        font-size: 1rem;
        flex: 0 0 auto;
        min-width: 0;
    }

    .vc-global-brand-logo {
        height: 66px;
        max-width: 280px;
    }

    .vc-global-brand-name {
        display: none;
    }

    .vc-global-links {
        justify-content: flex-end;
        flex-wrap: wrap;
        gap: 0.28rem;
        min-width: 0;
    }

    .vc-global-link,
    .vc-global-dropdown-trigger {
        min-height: 29px;
        padding: 0.24rem 0.52rem;
        font-size: 0.74rem;
        white-space: nowrap;
    }

    .vc-global-dropdown {
        width: auto;
        flex: 0 0 auto;
    }

    .vc-global-dropdown-trigger {
        width: auto;
    }

    .vc-global-dropdown-menu {
        position: fixed;
        left: 0.65rem;
        right: 0.65rem;
        top: var(--vc-nav-dropdown-top, calc(env(safe-area-inset-top, 0px) + 4.4rem));
        width: auto;
        min-width: 0;
        max-width: none;
        max-height: min(62vh, calc(100vh - var(--vc-nav-dropdown-top, 4.4rem) - 0.9rem));
        margin-top: 0;
        z-index: 1200;
        box-shadow: 0 16px 28px rgba(15, 23, 42, 0.18);
    }

    .vc-global-submenu {
        margin-left: 0.45rem;
        padding-left: 0.45rem;
    }
}

@media (max-width: 480px) {
    .vc-global-brand-logo {
        height: 60px;
        max-width: 250px;
    }
}
