/* ==========================================================================
   VIZAGLO — MODULAR COMPONENT: NAVBAR & NAVIGATION
   Desktop Glassmorphic Bar, Smooth Dropdowns, and Touch-First Mobile Drawer
   ========================================================================== */

/* Top Utility Announcement Bar */
.top-utility-bar {
    background: #0F172A;
    color: #F8FAFC;
    font-size: 0.8125rem;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.utility-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.utility-tagline {
    font-weight: 500;
    letter-spacing: 0.01em;
    color: #E2E8F0;
}

.utility-tagline strong {
    color: #FFB703;
    font-weight: 700;
}

.utility-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.utility-link {
    color: #CBD5E1;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.15s ease;
}

.utility-link:hover {
    color: #FFFFFF;
}

.utility-wa-link {
    color: #25D366;
    font-weight: 600;
}

.utility-wa-link:hover {
    color: #4ade80;
}

.utility-highlight {
    color: #FFB703;
    font-weight: 600;
}

.utility-highlight:hover {
    color: #FFC857;
    text-decoration: underline;
}

.utility-sep {
    color: #475569;
}

/* Main Site Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.85);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
    transition: all 0.25s ease;
}

.header-main-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    gap: 20px;
}

/* Brand Logo */
.header-brand-wrap {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.site-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.site-brand-logo {
    height: 44px;
    width: auto;
    object-fit: contain;
    display: block;
}

.logo-fallback-text {
    display: flex;
    flex-direction: column;
}

.logo-fallback-text .logo-primary {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    color: #0077B6;
    line-height: 1;
}

.logo-fallback-text .logo-tagline {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #FB8500;
    margin-top: 2px;
}

/* Desktop Navigation */
.desktop-main-nav {
    display: flex;
    align-items: center;
}

.desktop-nav-list {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.desktop-nav-list > li {
    position: relative;
}

.desktop-nav-list > li > a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px 14px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #1E293B;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.18s ease;
}

.desktop-nav-list > li > a:hover,
.desktop-nav-list > li.active > a {
    color: #0077B6;
    background: rgba(0, 119, 182, 0.06);
}

.arrow-down {
    font-size: 0.75rem;
    color: #64748B;
    transition: transform 0.2s ease;
}

.has-dropdown:hover .arrow-down {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    min-width: 240px;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 14px;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12);
    padding: 8px;
    list-style: none;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1050;
}

.has-dropdown:hover .nav-dropdown-menu,
.has-dropdown:focus-within .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown-menu li a {
    display: block;
    padding: 9px 14px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #334155;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.15s ease;
}

.nav-dropdown-menu li a:hover {
    background: #F1F5F9;
    color: #0077B6;
    padding-left: 18px;
}

.dropdown-divider {
    height: 1px;
    background: #E2E8F0;
    margin: 6px 0;
}

/* Header CTAs */
.header-actions-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-header-wa {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 8px;
    background: #ECFDF5;
    color: #047857;
    border: 1px solid #A7F3D0;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.18s ease;
}

.btn-header-wa:hover {
    background: #25D366;
    color: #FFFFFF;
    border-color: #25D366;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.btn-header-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 18px;
    border-radius: 10px;
    background: linear-gradient(135deg, #FFB703 0%, #FB8500 100%);
    color: #0F172A;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(251, 133, 0, 0.28);
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-header-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(251, 133, 0, 0.42);
    color: #000000;
}

/* Mobile Toggle Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 8px;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.nav-toggle:hover {
    background: #F1F5F9;
}

.hamburger-bar {
    width: 22px;
    height: 2px;
    background: #1E293B;
    border-radius: 2px;
    transition: all 0.25s ease;
}

.nav-toggle[aria-expanded="true"] .hamburger-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .hamburger-bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .hamburger-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   MOBILE OFF-CANVAS DRAWER (Modern International Standard)
   ========================================================================== */
.vz-mobile-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.vz-mobile-drawer-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.vz-mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 320px;
    max-width: 86vw;
    height: 100vh;
    height: 100dvh;
    background: #FFFFFF;
    z-index: 9999;
    box-shadow: -8px 0 36px rgba(15, 23, 42, 0.25);
    transform: translateX(100%);
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.vz-mobile-drawer.is-open {
    transform: translateX(0);
}

.vz-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #E2E8F0;
    background: #F8FAFC;
    flex-shrink: 0;
}

.vz-drawer-brand {
    display: flex;
    flex-direction: column;
}

.vz-drawer-logo {
    font-size: 1.45rem;
    font-weight: 900;
    color: #0077B6;
    letter-spacing: -0.02em;
    line-height: 1;
}

.vz-drawer-caption {
    font-size: 0.68rem;
    font-weight: 800;
    color: #FB8500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: block;
    margin-top: 3px;
}

.vz-drawer-close {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    border: 1px solid #CBD5E1;
    background: #FFFFFF;
    font-size: 1.5rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #475569;
    cursor: pointer;
    transition: all 0.18s ease;
}

.vz-drawer-close:hover {
    background: #F1F5F9;
    color: #0F172A;
    border-color: #94A3B8;
}

.vz-drawer-body {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 14px 18px 36px;
    display: flex;
    flex-direction: column;
}

.vz-drawer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex-grow: 1;
}

.vz-drawer-heading {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #94A3B8;
    padding: 16px 12px 6px;
}

.vz-drawer-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 14px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #0F172A;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.16s ease;
    min-height: 44px;
}

.vz-drawer-item:hover,
.vz-drawer-item.active {
    background: #F0F9FF;
    color: #0077B6;
    padding-left: 18px;
}

.vz-drawer-icon {
    font-size: 1.15rem;
    line-height: 1;
    width: 22px;
    text-align: center;
    flex-shrink: 0;
}

.vz-drawer-actions {
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid #E2E8F0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-shrink: 0;
}

.vz-btn-drawer-plan {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #FFB703 0%, #FB8500 100%);
    color: #0F172A;
    font-weight: 800;
    text-decoration: none;
    font-size: 0.95rem;
    box-shadow: 0 4px 14px rgba(251, 133, 0, 0.3);
    transition: transform 0.18s ease;
}

.vz-btn-drawer-plan:hover {
    transform: translateY(-2px);
    color: #000000;
}

.vz-btn-drawer-wa {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 48px;
    border-radius: 12px;
    background: #25D366;
    color: #FFFFFF;
    font-weight: 700;
    text-decoration: none;
    font-size: 0.92rem;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
    transition: transform 0.18s ease;
}

.vz-btn-drawer-wa:hover {
    transform: translateY(-2px);
}

@media (max-width: 991px) {
    .top-utility-bar .utility-tagline {
        display: none;
    }
    .top-utility-bar .utility-inner {
        justify-content: center;
    }
    .desktop-main-nav {
        display: none;
    }
    .btn-header-wa .wa-text-label {
        display: none;
    }
    .btn-header-wa {
        padding: 8px 10px;
    }
    .nav-toggle {
        display: flex;
    }
}
