/* --- ALDEN WEST BRAND IDENTITY --- */
:root {
    --brand-navy: #0f172a;    
    --brand-blue: #2563eb;    
    --text-dark: #1e293b;     
    --text-light: #64748b;    
    --white: #ffffff;
    --bg-grey: #f8fafc;
}

/* --- RESET & BASE --- */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { 
    font-family: 'Open Sans', sans-serif; 
    color: var(--text-dark); 
    line-height: 1.6;
    overflow-x: hidden;
    background-color: #fff;
}

.container { 
    width: 100%;
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 0 24px; 
}

/* --- NAVIGATION (Fixed Overlap Logic) --- */
nav { 
    background: rgba(255, 255, 255, 0.98); 
    padding: 1rem 0; 
    position: sticky; 
    top: 0; 
    z-index: 2000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.nav-flex { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}

.nav-links {
    display: none; /* Mobile hidden */
    align-items: center;
    gap: clamp(15px, 2.5vw, 40px); /* Responsive gap prevents overlap */
}

.nav-links a { 
    text-decoration: none; 
    color: var(--text-dark); 
    font-weight: 600; 
    font-size: 0.95rem;
    white-space: nowrap;
}

.btn-nav {
    flex-shrink: 0; /* Ensures button doesn't squish */
}

@media (min-width: 1024px) {
    .menu-toggle { display: none; }
    .nav-links { display: flex; }
}

/* Mobile Toggle State */
.nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    padding: 2rem;
    border-top: 1px solid #eee;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* --- HERO VISUALS --- */
.hero-visual {
    padding: clamp(100px, 15vw, 180px) 0;
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    position: relative;
    background-attachment: fixed;
}
.hero-visual::before { 
    content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%; 
    background: linear-gradient(rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.5)); z-index: 1; 
}
.hero-visual .container { position: relative; z-index: 2; }

h1 { font-size: clamp(2.4rem, 8vw, 4rem); font-family: 'Montserrat'; font-weight: 700; line-height: 1.1; margin-bottom: 25px; }
h2 { font-size: clamp(1.8rem, 5vw, 2.8rem); margin-bottom: 20px; color: var(--brand-navy); font-weight: 700; }

/* --- SECTION BLOCKS --- */
.section-white { padding: 100px 0; background: #fff; }
.section-grey { padding: 100px 0; background: var(--bg-grey); }

.services-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); 
    gap: 40px; 
}
.service-box { 
    background: #fff; 
    padding: 50px; 
    border-radius: 12px; 
    border: 1px solid #e2e8f0; 
    transition: 0.3s;
}
.service-box:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(0,0,0,0.05); }

/* --- BUTTONS --- */
.btn-primary { 
    background: var(--brand-blue); 
    color: #fff !important; 
    padding: 16px 32px; 
    border-radius: 6px; 
    text-decoration: none; 
    font-weight: 700; 
    display: inline-block;
    border: none;
    cursor: pointer;
}

/* --- AI CONSULTANT UI (Restored) --- */
#chat-trigger {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--brand-blue);
    color: white;
    padding: 18px 30px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    z-index: 9999;
}
#chat-window {
    display: none;
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 360px;
    height: 550px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
    flex-direction: column;
    overflow: hidden;
    z-index: 9999;
    border: 1px solid #e2e8f0;
}