/* =========================================================
   VANGUARD ELITE SECURITY
   PREMIUM BLACK + METALLIC GOLD
   HEADER + TOP BAR
========================================================= */


/* =========================================================
   GLOBAL VARIABLES
========================================================= */

:root {

    /* =========================
       BLACK
    ========================= */

    --ves-black: #0B0B0B;
    --ves-black-rich: #111111;
    --ves-black-soft: #181818;
    --ves-black-card: #151515;
    --ves-black-deep: #070707;


    /* =========================
       METALLIC GOLD
    ========================= */

    --ves-gold: #D4AF37;
    --ves-gold-dark: #AA771C;
    --ves-gold-light: #E6C75A;
    --ves-gold-soft: #C9A832;


    /* =========================
       GOLD GRADIENTS
    ========================= */

    --ves-gradient-gold:
        linear-gradient(135deg,
            #AA771C 0%,
            #D4AF37 35%,
            #E6C75A 50%,
            #D4AF37 70%,
            #AA771C 100%);

    --ves-gradient-gold-horizontal:
        linear-gradient(90deg,
            #AA771C 0%,
            #D4AF37 45%,
            #E6C75A 55%,
            #AA771C 100%);


    /* =========================
       SILVER / PLATINUM
    ========================= */

    --ves-platinum: #E0E0E0;
    --ves-silver: #B8B8B8;
    --ves-silver-dark: #808080;
    --ves-silver-light: #F1F1F1;


    /* =========================
       WHITE
    ========================= */

    --ves-white: #FFFFFF;

    --ves-white-soft:
        rgba(255, 255, 255, 0.90);

    --ves-white-muted:
        rgba(255, 255, 255, 0.65);


    /* =========================
       TEXT
    ========================= */

    --ves-text-primary: #FFFFFF;
    --ves-text-secondary: #E0E0E0;
    --ves-text-muted: #B8B8B8;
    --ves-text-disabled: #808080;


    /* =========================
       GOLD TRANSPARENCIES
    ========================= */

    --ves-gold-05: rgba(212, 175, 55, 0.05);
    --ves-gold-08: rgba(212, 175, 55, 0.08);
    --ves-gold-10: rgba(212, 175, 55, 0.10);
    --ves-gold-15: rgba(212, 175, 55, 0.15);
    --ves-gold-20: rgba(212, 175, 55, 0.20);
    --ves-gold-30: rgba(212, 175, 55, 0.30);
    --ves-gold-40: rgba(212, 175, 55, 0.40);
    --ves-gold-50: rgba(212, 175, 55, 0.50);
    --ves-gold-70: rgba(212, 175, 55, 0.70);


    /* =========================
       BORDERS
    ========================= */

    --ves-border-dark:
        rgba(255, 255, 255, 0.08);

    --ves-border-light:
        rgba(255, 255, 255, 0.15);

    --ves-border-gold:
        rgba(212, 175, 55, 0.25);

    --ves-border-gold-hover:
        rgba(212, 175, 55, 0.60);


    /* =========================
       SHADOWS
    ========================= */

    --ves-shadow-small:
        0 5px 20px rgba(0, 0, 0, 0.25);

    --ves-shadow-medium:
        0 10px 35px rgba(0, 0, 0, 0.35);

    --ves-shadow-large:
        0 20px 60px rgba(0, 0, 0, 0.50);

    --ves-shadow-gold:
        0 10px 35px rgba(212, 175, 55, 0.18);

    --ves-shadow-gold-strong:
        0 15px 45px rgba(212, 175, 55, 0.28);


    /* =========================
       GOLD GLOW
    ========================= */

    --ves-glow-gold:
        0 0 25px rgba(212, 175, 55, 0.20);

    --ves-glow-gold-strong:
        0 0 40px rgba(212, 175, 55, 0.30);


    /* =========================
       SILVER GRADIENT
    ========================= */

    --ves-gradient-silver:
        linear-gradient(135deg,
            #F1F1F1 0%,
            #E0E0E0 35%,
            #808080 100%);


    /* =========================
       FONT
    ========================= */

    /* --ves-font-primary:
        Arial,
        Helvetica,
        sans-serif; */

    --ves-font-primary: 'Manrope', Arial, Helvetica, sans-serif;


    /* =========================
       CONTAINER
    ========================= */

    --ves-container: 1280px;
}

.ves-brand {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    text-decoration: none;
    flex-shrink: 0;
    height: 100%;
}

.ves-brand img {
    display: block;
    width: 180px;
    height: auto;
    max-height: 60px;
    object-fit: contain;
}


/* =========================================================
   TOP BAR
========================================================= */

.ves-topbar {

    width: 100%;
    height: 38px;

    background:
        linear-gradient(90deg,
            var(--ves-black-deep),
            var(--ves-black-rich),
            var(--ves-black-deep));

    color: var(--ves-text-secondary);

    font-family: var(--ves-font-primary);
    font-size: 11px;

    border-bottom: 1px solid var(--ves-border-gold);

    position: relative;
    z-index: 1001;
}


.ves-topbar-container {

    width: 100%;
    max-width: var(--ves-container);

    height: 100%;

    margin: 0 auto;

    padding: 0 20px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* =========================================================
   TOP BAR LEFT / RIGHT
========================================================= */

.ves-topbar-left,
.ves-topbar-right {

    display: flex;

    align-items: center;

    gap: 16px;
}


.ves-topbar-status {

    display: flex;

    align-items: center;

    gap: 7px;

    color: var(--ves-text-secondary);

    letter-spacing: 0.2px;
}


/* =========================================================
   STATUS DOT
========================================================= */

.ves-status-dot {

    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: #4ade80;

    box-shadow:
        0 0 8px rgba(74, 222, 128, 0.5);

    animation: ves-pulse 1.8s infinite;
}


@keyframes ves-pulse {

    0% {
        box-shadow:
            0 0 0 0 rgba(74, 222, 128, 0.5);
    }

    70% {
        box-shadow:
            0 0 0 5px rgba(74, 222, 128, 0);
    }

    100% {
        box-shadow:
            0 0 0 0 rgba(74, 222, 128, 0);
    }

}


/* =========================================================
   TOP BAR DIVIDER
========================================================= */

.ves-topbar-divider {

    color: var(--ves-gold-dark);

    opacity: 0.7;
}


/* =========================================================
   TOP BAR LINKS
========================================================= */

.ves-topbar a {

    color: var(--ves-text-secondary);

    text-decoration: none;

    transition:
        color 0.25s ease,
        opacity 0.25s ease;
}


.ves-topbar a:hover {

    color: var(--ves-gold-light);
}


/* Emergency link */

.ves-topbar-emergency {

    font-weight: 600;

    letter-spacing: 0.2px;
}


/* Client portal */

.ves-topbar-portal {

    color: var(--ves-gold) !important;

    font-weight: 600;
}


/* =========================================================
   MAIN HEADER
========================================================= */

.ves-header {

    width: 100%;

    background:
        linear-gradient(180deg,
            var(--ves-black-rich) 0%,
            var(--ves-black) 100%);

    border-bottom: 1px solid var(--ves-border-gold);


    position: fixed;

    top: 0;

    z-index: 1000;

    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.30);
}


/* =========================================================
   NAVBAR
========================================================= */

.ves-navbar {

    width: 100%;

    max-width: var(--ves-container);

    height: 82px;

    margin: 0 auto;

    padding: 0 20px;

    display: flex;

    align-items: center;

    justify-content: space-between;
}


/* =========================================================
   BRAND
========================================================= */

.ves-brand {

    display: flex;

    align-items: center;

    gap: 12px;

    text-decoration: none;

    flex-shrink: 0;
}


/* =========================================================
   BRAND ICON
========================================================= */

.ves-brand-icon {

    width: 45px;
    height: 45px;

    display: flex;

    align-items: center;
    justify-content: center;

    background:
        linear-gradient(145deg,
            #151515,
            #080808);

    color: var(--ves-gold);

    border: 1px solid var(--ves-border-gold);

    border-radius: 3px;

    position: relative;

    box-shadow:
        inset 0 0 15px rgba(212, 175, 55, 0.05),
        var(--ves-shadow-small);

    transition:
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}


.ves-brand:hover .ves-brand-icon {

    border-color: var(--ves-border-gold-hover);

    box-shadow:
        var(--ves-glow-gold);
}


.ves-brand-icon svg {

    width: 25px;
    height: 25px;

    stroke: var(--ves-gold);
}


/* =========================================================
   BRAND TEXT
========================================================= */

.ves-brand-text {

    display: flex;

    flex-direction: column;

    line-height: 1.15;
}


.ves-brand-name {

    color: var(--ves-white);

    font-family: var(--ves-font-primary);

    font-size: 18px;

    font-weight: 800;

    letter-spacing: -0.5px;
}


.ves-brand-name span {

    color: var(--ves-gold);

    background:
        var(--ves-gradient-gold);

    -webkit-background-clip: text;
    background-clip: text;

    -webkit-text-fill-color: transparent;
}


.ves-brand-tagline {

    margin-top: 5px;

    color: var(--ves-text-muted);

    font-size: 9px;

    text-transform: uppercase;

    letter-spacing: 2px;

    white-space: nowrap;
}


/* =========================================================
   DESKTOP NAVIGATION
========================================================= */

.ves-desktop-nav {

    display: flex;

    align-items: center;

    gap: 28px;

    margin-left: auto;

    margin-right: 30px;

    height: 100%;
}


/* =========================================================
   NAV LINKS
========================================================= */

.ves-nav-link,
.ves-services-btn {

    color: var(--ves-text-secondary);

    font-family: var(--ves-font-primary);

    font-size: 13px;

    font-weight: 600;

    text-decoration: none;

    letter-spacing: 0.2px;

    transition:
        color 0.25s ease;
}


.ves-nav-link:hover,
.ves-services-btn:hover {

    color: var(--ves-gold);
}


/* =========================================================
   SERVICES DROPDOWN
========================================================= */

.ves-services-dropdown {

    height: 100%;

    display: flex;

    align-items: center;

    position: relative;
}


.ves-services-btn {

    background: transparent;

    border: none;

    padding: 20px 0;

    cursor: pointer;

    display: flex;

    align-items: center;

    gap: 5px;
}


.ves-services-btn svg {

    width: 14px;
    height: 14px;

    stroke: currentColor;

    transition:
        transform 0.25s ease;
}


.ves-services-dropdown:hover .ves-services-btn svg {

    transform: rotate(180deg);
}


/* =========================================================
   MEGA MENU
========================================================= */

.ves-mega-menu {

    position: absolute;

    top: 100%;

    left: 50%;

    width: 680px;

    transform:
        translateX(-50%) translateY(12px);

    padding: 24px;

    background:
        linear-gradient(145deg,
            var(--ves-black-rich),
            var(--ves-black-card));

    border: 1px solid var(--ves-border-gold);

    box-shadow:
        var(--ves-shadow-large),
        0 0 30px rgba(212, 175, 55, 0.06);

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 8px;

    opacity: 0;

    visibility: hidden;

    transition:
        opacity 0.25s ease,
        transform 0.25s ease,
        visibility 0.25s ease;
}


.ves-services-dropdown:hover .ves-mega-menu {

    opacity: 1;

    visibility: visible;

    transform:
        translateX(-50%) translateY(0);
}


/* =========================================================
   MEGA MENU ITEMS
========================================================= */

.ves-mega-menu a {

    display: block;

    padding: 15px;

    text-decoration: none;

    border: 1px solid transparent;

    background: transparent;

    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}


.ves-mega-menu a:hover {

    background:
        var(--ves-gold-08);

    border-color:
        var(--ves-border-gold);

    transform:
        translateY(-2px);
}


.ves-mega-menu strong {

    display: block;

    color: var(--ves-white);

    font-family: var(--ves-font-primary);

    font-size: 13px;

    font-weight: 700;

    line-height: 1.3;

    transition:
        color 0.25s ease;
}


.ves-mega-menu a:hover strong {

    color: var(--ves-gold-light);
}


.ves-mega-menu span {

    display: block;

    margin-top: 6px;

    color: var(--ves-text-muted);

    font-family: var(--ves-font-primary);

    font-size: 10px;

    line-height: 1.5;
}


/* =========================================================
   MEGA MENU TOP GOLD LINE
========================================================= */

.ves-mega-menu::before {

    content: "";

    position: absolute;

    top: 0;
    left: 25px;
    right: 25px;

    height: 1px;

    background:
        var(--ves-gradient-gold-horizontal);
}


/* =========================================================
   HEADER CTA
========================================================= */

.ves-header-cta {

    flex-shrink: 0;
}


.ves-header-cta a {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 12px 21px;

    background:
        var(--ves-gradient-gold);

    color: #080808;

    font-family:
        var(--ves-font-primary);

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 0.08em;

    /* text-transform: uppercase; */

    text-decoration: none;

    border-radius: 2px;

    border: 1px solid var(--ves-gold-light);

    box-shadow:
        0 5px 20px rgba(212, 175, 55, 0.12);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        filter 0.25s ease;

    display: flex;
    gap: 5px;
}


.ves-header-cta a:hover {

    transform:
        translateY(-2px);

    box-shadow:
        var(--ves-shadow-gold-strong);

    filter:
        brightness(1.08);
}


/* =========================================================
   MOBILE TOGGLE
========================================================= */

.ves-mobile-toggle {

    display: none;

    width: 42px;
    height: 42px;

    padding: 0;

    background:
        transparent;

    border: 1px solid transparent;

    cursor: pointer;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 5px;

    transition:
        border-color 0.25s ease;
}


.ves-mobile-toggle:hover {

    border-color:
        var(--ves-border-gold);
}


.ves-mobile-toggle span {

    width: 24px;

    height: 2px;

    background:
        var(--ves-gold);

    transition:
        transform 0.25s ease,
        opacity 0.25s ease;
}


/* =========================================================
   MOBILE MENU
========================================================= */

.ves-mobile-menu {

    display: none;

    width: 100%;

    background:
        var(--ves-black-rich);

    border-top:
        1px solid var(--ves-border-gold);

    padding:
        10px 20px 25px;
}


.ves-mobile-menu a {

    display: block;

    padding: 15px 0;

    color:
        var(--ves-text-secondary);

    font-family:
        var(--ves-font-primary);

    font-size: 14px;

    font-weight: 600;

    text-decoration: none;

    border-bottom:
        1px solid var(--ves-border-dark);

    transition:
        color 0.25s ease,
        padding-left 0.25s ease;
}


.ves-mobile-menu a:hover {

    color:
        var(--ves-gold);

    padding-left: 5px;
}


/* =========================================================
   MOBILE CTA
========================================================= */

.ves-mobile-menu .ves-mobile-cta {

    margin-top: 15px;

    padding: 13px;

    color:
        #080808;

    background:
        var(--ves-gradient-gold);

    text-align: center;

    border:
        1px solid var(--ves-gold-light);

    font-weight: 800;
}


.ves-mobile-menu .ves-mobile-cta:hover {

    color:
        #080808;

    padding-left: 13px;

    box-shadow:
        var(--ves-shadow-gold);
}


/* =========================================================
   MOBILE OPEN STATE
========================================================= */

.ves-mobile-menu.is-open {

    display: block;

    animation:
        ves-mobile-menu-in 0.25s ease;
}


@keyframes ves-mobile-menu-in {

    from {

        opacity: 0;

        transform:
            translateY(-8px);
    }

    to {

        opacity: 1;

        transform:
            translateY(0);
    }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1200px) {

    .ves-navbar {

        padding-left: 25px;
        padding-right: 25px;
    }


    .ves-desktop-nav {

        gap: 19px;

        margin-right: 20px;
    }


    .ves-nav-link,
    .ves-services-btn {

        font-size: 12px;
    }


    .ves-header-cta a {

        padding:
            11px 16px;

        font-size: 11px;
    }


    .ves-mega-menu {

        width: 620px;
    }

}


/* =========================================================
   TABLET / MOBILE
========================================================= */

@media (max-width: 991px) {

    .ves-navbar {

        height: 72px;
    }


    .ves-desktop-nav,
    .ves-header-cta {

        display: none;
    }


    .ves-mobile-toggle {

        display: flex;
    }


    .ves-mobile-menu.is-open {

        display: block;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 600px) {

    /* =========================
       TOP BAR
    ========================= */

    .ves-topbar {

        height: auto;

        min-height: 34px;
    }


    .ves-topbar-container {

        min-height: 34px;

        padding:
            7px 15px;
    }


    .ves-topbar-left {

        display: none;
    }


    .ves-topbar-right {

        width: 100%;

        justify-content:
            center;

        gap: 10px;
    }


    .ves-topbar-divider {

        display: none;
    }


    .ves-topbar-emergency {

        font-size: 10px;

        letter-spacing: 0;
    }


    .ves-topbar-right a:last-child {

        display: none;
    }


    /* =========================
       NAVBAR
    ========================= */

    .ves-navbar {

        height: 68px;

        padding:
            0 15px;
    }


    /* =========================
       BRAND
    ========================= */

    .ves-brand {

        gap: 9px;
    }


    .ves-brand-icon {

        width: 38px;

        height: 38px;
    }


    .ves-brand-icon svg {

        width: 21px;

        height: 21px;
    }


    .ves-brand-name {

        font-size: 15px;

        letter-spacing:
            -0.3px;
    }


    .ves-brand-tagline {

        margin-top: 4px;

        font-size: 6.5px;

        letter-spacing:
            1px;
    }


    /* =========================
       MOBILE BUTTON
    ========================= */

    .ves-mobile-toggle {

        width: 40px;

        height: 40px;
    }

}


/* =========================================================
   EXTRA SMALL DEVICES
========================================================= */

@media (max-width: 380px) {

    .ves-brand-name {

        font-size: 14px;
    }


    .ves-brand-tagline {

        font-size: 6px;

        letter-spacing:
            0.8px;
    }


    .ves-brand-icon {

        width: 36px;

        height: 36px;
    }


    .ves-topbar-emergency {

        font-size: 9px;
    }

}