/* ==========================================
   MAC LAW ASSOCIATES - GLOBAL DESIGN SYSTEM
   Slate-Black, Metallic Chrome, & Institutional Gold
   ========================================== */

:root {
    --bg-dark: #020617;
    --card-bg: rgba(15, 23, 42, 0.75);
    --gold: #D4AF37;
    --gold-light: #F3E5AB;
    --chrome: #E2E8F0;
    --chrome-dark: #94A3B8;
    --border-gold: rgba(212, 175, 55, 0.3);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--chrome);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, .cinzel {
    font-family: 'Cinzel', serif;
    letter-spacing: 0.05em;
}

/* Geo-Routing & Top Banner */
.geo-banner {
    background: linear-gradient(90deg, #090d16, #1e293b, #090d16);
    color: var(--gold);
    text-align: center;
    padding: 8px 15px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    border-bottom: 1px solid var(--border-gold);
}

.geo-banner a {
    color: var(--gold-light);
    text-decoration: underline;
}

/* Navigation Header */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(2, 6, 23, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

nav {
    max-width: 1350px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 95px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.8));
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 12px;
    align-items: center;
}

.nav-links a {
    color: var(--chrome);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--gold);
}

/* Mobile Toggle */
.menu-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1.2rem;
}

/* Buttons & CTAs */
.btn-gold {
    background: linear-gradient(135deg, #D4AF37, #AA7C11);
    color: #020617;
    padding: 10px 22px;
    border-radius: 4px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
    transition: var(--transition);
    display: inline-block;
    white-space: nowrap;
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
    background: linear-gradient(135deg, #F3E5AB, #D4AF37);
}

/* Hero Section */
.hero {
    min-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(to bottom, rgba(2, 6, 23, 0.7), rgba(2, 6, 23, 0.95)), url('hero-bg.jpg') center/cover no-repeat;
    padding: 0 20px;
}

.hero-content {
    max-width: 950px;
}

.hero h1 {
    font-size: 3.8rem;
    line-height: 1.2;
    margin-bottom: 25px;
    color: #ffffff;
}

.hero p {
    font-size: 1.15rem;
    color: var(--chrome-dark);
    margin-bottom: 40px;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

.gold-text {
    color: var(--gold);
}

/* Quantitative Dashboard Bar */
.stats-dashboard {
    background: linear-gradient(90deg, #090d16, #1e293b, #090d16);
    border-top: 1px solid var(--border-gold);
    border-bottom: 1px solid var(--border-gold);
    padding: 60px 20px;
}

.stats-grid {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item h3 {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 10px;
    font-family: 'Cinzel', serif;
}

.stat-item p {
    color: var(--chrome-dark);
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Sections & Pads */
.section-pad {
    max-width: 1300px;
    margin: 0 auto;
    padding: 100px 40px;
}

/* Grids & Cards */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.glass-card {
    background: var(--card-bg);
    border: 1px solid var(--border-gold);
    border-radius: 8px;
    padding: 40px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: var(--transition);
}

.glass-card:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.1);
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: white;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.whatsapp-float:hover {
    transform: scale(1.05);
    background: #22bf5b;
}

/* Responsive */
@media(max-width: 968px) {
    .menu-toggle {
        display: block;
    }
    .stats-grid, .grid-3, .grid-2 {
        grid-template-columns: 1fr;
    }
    .hero h1 {
        font-size: 2.6rem;
    }
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(2, 6, 23, 0.98);
        backdrop-filter: blur(15px);
        padding: 20px 0;
        border-bottom: 1px solid var(--border-gold);
        box-shadow: 0 10px 30px rgba(0,0,0,0.8);
        gap: 15px;
        text-align: center;
        z-index: 1000;
    }
    .nav-links.active-nav {
        display: flex;
    }
    .nav-links a {
        font-size: 0.95rem;
        padding: 10px 0;
    }
}