:root {
    --primary: #2563eb;
    --dark: #0f172a;
    --text: #475569;
    --border: rgba(0, 0, 0, 0.05);
    --jost: 'Plus Jakarta Sans', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--jost); background: #fff; color: var(--dark); }
body.lock-scroll { overflow: hidden; }

/* --- HEADER --- */
.site-nav { 
    position: fixed; width: 100%; top: 0; z-index: 3000; 
    background: #fff; border-bottom: 1px solid var(--border);
}
.nav-container { 
    max-width: 1400px; margin: 0 auto; height: 70px; 
    display: flex; align-items: center; justify-content: space-between; padding: 0 24px; 
}

.nav-logo a { font-size: 24px; font-weight: 800; color: var(--dark); text-decoration: none; }
.nav-logo span { color: var(--primary); }

/* Desktop Nav Items */
.nav-desktop ul { display: flex; list-style: none; gap: 28px; align-items: center; }
.nav-desktop a, .mega-trigger { 
    text-decoration: none; color: var(--text); font-weight: 600; font-size: 14px; 
    background: none; border: none; cursor: pointer; display: flex; align-items: center; gap: 6px;
    transition: 0.2s;
}
.nav-desktop a:hover, .mega-trigger:hover { color: var(--primary); }

/* Unified Contact Link Styling */
.contact-link { color: var(--dark) !important; font-weight: 700 !important; }

/* --- MOBILE TREE (Small Fonts & Icons) --- */
@media (max-width: 991px) {
    .nav-desktop { display: none; }
    
    .hamburger { display: flex; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; }
    .hamburger span { width: 20px; height: 2px; background: var(--dark); transition: 0.3s; }
    .hamburger.is-open span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
    .hamburger.is-open span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

    .menu-overlay { 
        position: fixed; top: 70px; left: 0; width: 100%; 
        height: calc(100vh - 70px); background: #fff; 
        display: none; overflow-y: auto;
    }
    .menu-overlay.is-active { display: block; }
    
    .overlay-content { padding: 20px; }
    
    /* Branch Headers (Smaller & Clean) */
    .branch-header { 
        font-size: 14px; font-weight: 700; color: var(--dark); 
        padding: 15px 0; border-bottom: 1px solid var(--border);
        display: flex; justify-content: space-between; align-items: center;
    }
    .branch-header i:first-child { width: 20px; color: var(--primary); font-size: 12px; }
    
    .tree-icon { font-size: 10px; color: #cbd5e1; }
    
    /* Sub-links (Smaller Font) */
    .sub-links { 
        max-height: 0; overflow: hidden; padding-left: 20px;
        transition: 0.3s ease-out; 
    }
    .sub-links a { 
        display: flex; align-items: center; gap: 8px;
        text-decoration: none; color: var(--text); 
        font-size: 13px; font-weight: 500; padding: 10px 0;
    }
    .sub-links a i { font-size: 10px; opacity: 0.5; }

    .tree-branch.branch-active .sub-links { max-height: 300px; padding-top: 10px; }
    .tree-branch.branch-active .branch-header { color: var(--primary); }

    /* Static Links at bottom of Mobile Menu */
    .mob-static-links { margin-top: 10px; }
    .mob-static-links a { 
        display: flex; align-items: center; gap: 10px;
        padding: 15px 0; font-size: 14px; font-weight: 700;
        color: var(--dark); text-decoration: none; border-bottom: 1px solid var(--border);
    }
    .mob-static-links a i { font-size: 12px; color: var(--primary); width: 20px; }
}