/* 
   DESIGN SYSTEM - AI WEB STUDIO PREMIUM v16.0
   Fully Integrated: Professional Methodology & Detailed Pricing
*/

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400&display=swap');

:root {
    --brand-indigo: #6366F1;
    --brand-cyan: #06B6D4;
    --brand-dark: #0F172A;
    --brand-slate: #1E293B;
    --text-main: #334155;
    --text-muted: #64748B;
    --bg-main: #FFFFFF;
    --bg-soft: #F8FAFC;
    --glass: rgba(255, 255, 255, 0.85);
    --border-light: rgba(226, 232, 240, 0.8);
    --shadow-premium: 0 25px 50px -12px rgba(99, 102, 241, 0.12);
    --radius-lg: 24px;
    --radius-base: 14px;
}

/* --- Global Reset --- */
* { margin: 0; padding: 0; box-sizing: border-box; -webkit-font-smoothing: antialiased; }
body { font-family: 'Plus Jakarta Sans', sans-serif; background-color: var(--bg-main); color: var(--text-main); line-height: 1.7; overflow-x: hidden; width: 100%; position: relative; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; width: 100%; }
section { padding: 100px 0; width: 100%; overflow: hidden; }

/* --- Typography --- */
h1, h2, h3, h4 { font-weight: 800; color: var(--brand-dark); letter-spacing: -0.03em; }
h1 { font-size: clamp(2.5rem, 7vw, 4rem); line-height: 1.1; margin-bottom: 2rem; }
h2 { font-size: clamp(2rem, 5vw, 3rem); text-align: center; margin-bottom: 1.5rem; }
h3 { font-size: 1.75rem; margin-bottom: 1rem; }
.section-header { text-align: center; max-width: 800px; margin: 0 auto 4rem; }
.section-subtitle { font-size: 1.1rem; color: var(--text-muted); }

.section-tag {
    font-family: 'JetBrains Mono', monospace;
    color: var(--brand-indigo);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 6px 16px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 100px;
    margin-bottom: 1rem;
    display: inline-block;
}

.gradient-text {
    background: linear-gradient(135deg, var(--brand-indigo), var(--brand-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- Navigation --- */
.navbar {
    position: fixed; top: 0; width: 100%; height: 90px;
    background: var(--glass); backdrop-filter: blur(20px);
    z-index: 1000; border-bottom: 1px solid var(--border-light);
    display: flex; align-items: center; transition: 0.3s;
}
.navbar-container { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.navbar-logo { font-weight: 800; font-size: 1.25rem; color: var(--brand-dark); text-decoration: none; }
.navbar-links { display: flex; gap: 2.5rem; align-items: center; }
.nav-item { position: relative; display: flex; align-items: center; height: 90px; }
.navbar-link { color: var(--text-main); font-weight: 700; font-size: 0.85rem; text-decoration: none; text-transform: uppercase; letter-spacing: 0.05em; }

/* Mega Menu */
.dropdown-panel {
    position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(10px);
    width: 600px; background: white; border: 1px solid var(--border-light);
    border-radius: var(--radius-lg); box-shadow: var(--shadow-premium);
    padding: 2rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
    opacity: 0; visibility: hidden; transition: all 0.3s ease;
}
.nav-item:hover .dropdown-panel { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown-link { display: flex; gap: 1rem; align-items: center; text-decoration: none; padding: 1rem; border-radius: var(--radius-base); transition: 0.3s; }
.dropdown-link:hover { background: var(--bg-soft); }
.dropdown-link svg { width: 24px; height: 24px; color: var(--brand-indigo); flex-shrink: 0; }
.dropdown-link strong { display: block; font-size: 0.9rem; color: var(--brand-dark); }
.dropdown-link span { font-size: 0.75rem; color: var(--text-muted); }

/* --- Hero --- */
.hero { padding: 180px 0 100px; background: radial-gradient(circle at 90% 10%, rgba(99, 102, 241, 0.05), transparent 40%); }
.hero-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 4rem; align-items: center; }
.hero-visual img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-premium); }

/* Stats Counter */
.stat-value {
    display: inline-block;
    font-variant-numeric: tabular-nums; /* Prevents jumping numbers */
}

.stat-item {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.stat-item.visible {
    opacity: 1;
    transform: translateY(0);
}

#stats { background: white; border-top: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light); padding: 40px 0; }

/* --- ROI Calculator --- */
.roi-calculator-box { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 4rem; align-items: center; }
input[type=range] { width: 100%; height: 6px; background: #e2e8f0; border-radius: 5px; appearance: none; margin: 20px 0; outline: none; }
input[type=range]::-webkit-slider-thumb { appearance: none; width: 24px; height: 24px; background: var(--brand-indigo); border-radius: 50%; cursor: pointer; border: 4px solid white; box-shadow: 0 4px 10px rgba(0,0,0,0.1); transition: 0.2s; }

/* --- Cards --- */
.card, .benefit-card, .testimonial-card, .audit-card, .pricing-card {
    background: white; border: 1px solid var(--border-light);
    border-radius: var(--radius-lg); padding: 2.5rem;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}
.card:hover, .pricing-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-premium); border-color: var(--brand-indigo); }

/* --- METHODOLOGY (PRO) --- */
.benefit-card h3 { 
    font-size: 3rem; margin-bottom: 1rem; opacity: 0.2; 
    position: absolute; top: 1rem; right: 2rem; 
}
.benefit-card { position: relative; overflow: hidden; }
.benefit-card strong { font-size: 1.2rem; display: block; margin-bottom: 1rem; color: var(--brand-indigo); }
.benefit-card p { font-size: 0.9rem; opacity: 0.8; }

/* --- PRICING (PRO) --- */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 2.5rem; margin-top: 3rem; }
.pricing-card { display: flex; flex-direction: column; padding: 3.5rem 2.5rem; }
.pricing-card.recommended { border: 2px solid var(--brand-indigo); box-shadow: var(--shadow-premium); transform: scale(1.05); }
.pricing-card .price { font-size: 3.5rem; font-weight: 800; color: var(--brand-dark); margin: 1.5rem 0; line-height: 1; }
.pricing-card .price span { font-size: 1rem; color: var(--text-muted); font-weight: 500; }
.pricing-features { list-style: none; margin: 2rem 0; flex-grow: 1; padding: 0; }
.pricing-features li { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 1rem; font-size: 0.95rem; border-bottom: 1px solid var(--bg-soft); padding-bottom: 0.75rem; }
.pricing-features li svg { width: 18px; height: 18px; color: var(--brand-cyan); flex-shrink: 0; margin-top: 4px; }

.pricing-features-detailed {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
    flex-grow: 1;
}

.pricing-features-detailed li {
    font-size: 0.85rem;
    color: var(--text-main);
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(0,0,0,0.03);
    display: flex;
    align-items: center;
    gap: 8px;
}

.pricing-features-detailed li::before {
    content: '✦';
    color: var(--brand-indigo);
    font-weight: 800;
}

/* Forms */
.form-group { margin-bottom: 1.75rem; }
.form-group label { display: block; font-size: 0.7rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); margin-bottom: 0.75rem; margin-left: 4px; }
.form-group input, .form-group textarea {
    width: 100%; padding: 1.1rem 1.5rem; background: #fcfdfe; border: 1.5px solid var(--border-light);
    border-radius: var(--radius-base); font-family: inherit; font-size: 1rem; color: var(--brand-dark); transition: 0.3s;
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--brand-indigo); background: white; transform: translateY(-2px); box-shadow: 0 10px 20px -5px rgba(99, 102, 241, 0.15); }

/* --- Buttons --- */
.cta-button {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 1.1rem 2.5rem; background: var(--brand-indigo);
    color: white; border-radius: 100px; text-decoration: none;
    font-weight: 700; font-size: 0.95rem; border: none; cursor: pointer; transition: 0.3s;
}
.cta-button:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3); }
.cta-button.secondary { background: var(--brand-dark); }

/* --- SMART TECH ULTIMATE ADDONS --- */
.persona-toggle-container {
    display: flex; justify-content: center; margin-bottom: 3rem;
}
.persona-toggle {
    background: var(--bg-soft); padding: 6px; border-radius: 100px; display: flex; gap: 4px; border: 1px solid var(--border-light);
}
.persona-btn {
    padding: 10px 24px; border-radius: 100px; border: none; font-weight: 700; font-size: 0.8rem; cursor: pointer; transition: 0.3s; background: transparent; color: var(--text-muted);
}
.persona-btn.active {
    background: var(--brand-indigo); color: white; box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
}

.blueprint-grid {
    background-image: linear-gradient(rgba(99, 102, 241, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(99, 102, 241, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
}

.bento-grid-tech {
    display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, auto); gap: 1.5rem; margin: 4rem 0;
}
.bento-card {
    background: white; border: 1px solid var(--border-light); border-radius: var(--radius-lg); padding: 2rem; position: relative; overflow: hidden; transition: 0.4s;
}
.bento-card:hover { border-color: var(--brand-indigo); transform: translateY(-5px); box-shadow: var(--shadow-premium); }
.bento-card h4 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.bento-card .metric { font-family: 'JetBrains Mono', monospace; font-size: 0.75rem; color: var(--brand-cyan); font-weight: 700; margin-top: 1rem; display: block; }
.bento-main { grid-column: span 2; grid-row: span 2; background: var(--brand-dark); color: white; border: none; }

.matrix-container { overflow-x: auto; margin-top: 2rem; }
.matrix-table { width: 100%; border-collapse: collapse; background: white; border-radius: var(--radius-base); overflow: hidden; }
.matrix-table th { background: var(--bg-soft); padding: 1.25rem; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; text-align: left; }
.matrix-table td { padding: 1.25rem; border-bottom: 1px solid var(--bg-soft); font-size: 0.9rem; }

.tech-badge { background: rgba(6, 182, 212, 0.1); color: var(--brand-cyan); padding: 4px 10px; border-radius: 4px; font-family: 'JetBrains Mono', monospace; font-size: 0.7rem; }

[data-persona="tinkerer"] .guardian-only { display: none !important; }
[data-persona="guardian"] .tinkerer-only { display: none !important; }

/* Budowlanka Persona Switcher */
body[data-persona="b2b"] .b2c-only { display: none !important; }
body[data-persona="b2b"] .b2b-only { display: block !important; }
body[data-persona="b2c"] .b2b-only { display: none !important; }
body[data-persona="b2c"] .b2c-only { display: block !important; }

/* --- Footer Additions --- */
.site-footer { background: #020617; color: white; padding: 100px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 4rem; margin-bottom: 60px; }
.footer-col h4 { color: white; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 2rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 1rem; }
.footer-col ul li a { color: #94A3B8; text-decoration: none; font-size: 0.9rem; transition: 0.3s; }
.footer-col ul li a:hover { color: var(--brand-cyan); padding-left: 5px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 40px; display: flex; justify-content: space-between; align-items: center; font-size: 0.85rem; color: #64748B; }

.footer-legal {
    display: flex;
    gap: 1rem;
}

.footer-legal a {
    color: #64748B;
    text-decoration: none;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 6px 14px;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    transition: 0.3s ease;
}

.footer-legal a:hover {
    color: white;
    border-color: var(--brand-cyan);
    background: rgba(6, 182, 212, 0.05);
}

.avatar { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; margin-right: 1.25rem; }
.testimonial-author { display: flex; align-items: center; margin-top: 2rem; }
.testimonial-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }

#progress-bar { position: fixed; top: 0; left: 0; height: 4px; background: linear-gradient(90deg, var(--brand-indigo), var(--brand-cyan)); width: 0%; z-index: 2000; }
.bg-soft { background-color: var(--bg-soft); }


/* Branch Cards - Visual Showcase Engine */
.branch-card {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.branch-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.branch-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.05), transparent);
    transition: 0.5s;
}

.branch-card:hover::after {
    left: 100%;
}

.branch-card svg {
    transition: transform 0.3s ease, color 0.3s ease;
}

.branch-card:hover svg {
    transform: scale(1.2) rotate(5deg);
    color: var(--brand-cyan);
}

.branch-card h3 {
    transition: color 0.3s ease;
}

.branch-card:hover h3 {
    color: var(--brand-indigo);
}

/* Animations */
@keyframes pulse-soft {
    0% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.05); opacity: 1; }
    100% { transform: scale(1); opacity: 0.8; }
}

.cta-button:not(.secondary) {
    animation: pulse-soft 3s infinite ease-in-out;
}

/* --- VISUAL EFFECTS 2026 --- */

/* Glow Tracking for Cards */
.card, .branch-card {
    position: relative;
    background: var(--white);
    --mouse-x: 50%;
    --mouse-y: 50%;
}

.branch-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(400px circle at var(--mouse-x) var(--mouse-y), rgba(99, 102, 241, 0.12), transparent 40%);
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.branch-card:hover::before {
    opacity: 1;
}

/* Blueprint Animation for Deweloperka */
.branch-card[href*="deweloperka.html"] {
    overflow: hidden;
}

.branch-card[href*="deweloperka.html"]::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(99, 102, 241, 0.2) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.2) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0;
    z-index: 0;
    transform: perspective(500px) rotateX(45deg) translateY(0);
    transition: opacity 0.4s ease, transform 1s ease;
    pointer-events: none;
}

.branch-card[href*="deweloperka.html"]:hover::after {
    opacity: 0.1;
    transform: perspective(500px) rotateX(45deg) translateY(-20px);
}

@media (max-width: 1024px) {
    #magic-cursor { display: none; }
}

/* --- STICKY MOBILE BAR 2026 --- */
.sticky-mobile-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background: white;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.1);
    display: none; /* Hidden by default */
    grid-template-columns: 1fr 1.5fr;
    gap: 1px;
    background: #e2e8f0; /* Border color between buttons */
    z-index: 9999;
}

.smb-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 800;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: white;
    color: var(--brand-dark);
}

.smb-btn.primary {
    background: var(--brand-indigo);
    color: white;
}

.smb-btn svg {
    margin-right: 8px;
    width: 18px;
    height: 18px;
}

@media (max-width: 768px) {
    .sticky-mobile-bar { 
        display: grid; 
        grid-template-columns: 1fr 1.2fr; /* Lepsze proporcje */
    }
    
    .smb-btn {
        font-size: 0.7rem; /* Mniejsza czcionka */
        padding: 0 5px;
        text-align: center;
    }

    body { padding-bottom: 70px; } 
    .site-footer { padding-bottom: 100px; } 

    /* --- MOBILE TYPOGRAPHY --- */
    h1 { font-size: 1.8rem !important; } 
    h2 { font-size: 1.5rem !important; text-align: center !important; }
    h3 { font-size: 1.3rem !important; text-align: center !important; }
    p { font-size: 0.9rem !important; text-align: center !important; }
    .hero-content p { font-size: 0.95rem !important; }
    .section-num, .section-tag, .insight-badge, .trust-shield, .trust-badge { 
        display: block !important; 
        text-align: center !important; 
        margin: 0 auto 1.5rem !important; 
        width: fit-content;
    }

    /* --- MOBILE ONE COLUMN OVERRIDES --- */
    section { padding: 40px 0; text-align: center; }
    .container { padding: 0 1.25rem; }
    
    .hero-inner, 
    .roi-calculator-box, 
    .pricing-grid, 
    .testimonial-grid, 
    .footer-grid, 
    .problem-solution,
    .case-hero,
    .audit-card,
    .metric-card,
    .phase-card,
    .bento-grid-tech,
    .fear-card, .antidote-card, /* OZE specific */
    #metodologia div[style*="grid"], 
    #branze div[style*="grid"],
    section div[style*="display: grid"],
    section div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 1.5rem !important;
        width: 100% !important;
    }

    .cta-button, .smb-btn {
        width: 100% !important;
        display: flex !important;
        margin: 0.5rem 0 !important;
    }

    .hero-cta-buttons {
        display: flex !important;
        flex-direction: column !important;
        gap: 1rem !important;
        width: 100% !important;
        align-items: stretch !important;
    }
    .hero-cta-buttons .cta-button {
        width: 100% !important;
        margin: 0 !important;
        display: flex !important;
    }

    /* Fix dla metryk OmniSEO */
    .hero-visual div[style*="display: grid"] {
        grid-template-columns: 1fr !important;
        width: 100% !important;
        gap: 1rem !important;
    }
    .metric-card {
        grid-column: span 1 !important;
        padding: 2rem !important;
        border: 1px solid #e2e8f0 !important;
        background: #fcfdfe !important;
        box-shadow: 0 4px 12px rgba(0,0,0,0.03) !important;
    }
    .metric-val { font-size: 2.2rem !important; }

    /* Naprawa tabeli Matrix (OmniSEO) - Wyraźny podział */
    .matrix-container, div[style*="overflow-x: auto"] table {
        display: block !important;
        width: 100% !important;
        border: none !important;
    }
    div[style*="overflow-x: auto"] thead { display: none !important; }
    div[style*="overflow-x: auto"] tr { 
        display: flex !important; 
        flex-direction: column !important; 
        margin-bottom: 3rem !important; 
        background: #fff;
        border: 1px solid #e2e8f0 !important;
        border-radius: 12px !important;
        overflow: hidden;
    }
    div[style*="overflow-x: auto"] td { 
        text-align: left !important; 
        padding: 1.25rem 1.5rem !important; 
        width: 100% !important; 
        display: block !important;
        border-bottom: 1px solid #f1f5f9 !important;
    }
    div[style*="overflow-x: auto"] td[colspan="4"] {
        background: var(--brand-dark) !important;
        color: white !important;
        font-weight: 800 !important;
        text-align: center !important;
        text-transform: uppercase;
        letter-spacing: 2px;
        font-size: 0.75rem !important;
    }
    /* Wyróżnienie pakietów wewnątrz wiersza */
    div[style*="overflow-x: auto"] td:before {
        content: attr(data-label);
        font-weight: 800;
        color: var(--brand-indigo);
        display: block;
        font-size: 0.65rem;
        text-transform: uppercase;
        margin-bottom: 0.5rem;
        opacity: 0.6;
    }
    div[style*="overflow-x: auto"] td[data-label="ROZWÓJ"] {
        background: #eff6ff !important; /* Jasnoniebieskie tło dla rekomendowanego */
        border-left: 4px solid #1d4ed8 !important;
    }
    div[style*="overflow-x: auto"] td:last-child { border-bottom: none !important; }

    /* Naprawa tabeli Drogiego Giganta */
    .comparison-table, .comparison-table thead, .comparison-table tbody, .comparison-table th, .comparison-table td, .comparison-table tr {
        display: block !important;
        width: 100% !important;
    }
    .comparison-table thead { display: none !important; } /* Ukrywamy nagłówek tabeli */
    .comparison-table td {
        text-align: left !important;
        padding: 1rem !important;
        border: none !important;
    }
    .comparison-table td:first-child { 
        background: var(--bg-soft); 
        font-size: 0.8rem; 
        text-transform: uppercase; 
        color: var(--brand-indigo);
        margin-top: 1.5rem;
    }
    .comparison-table td:nth-child(3) {
        border-left: 3px solid #b45309 !important;
        background: #fffbeb !important;
    }

    /* Wyśrodkowanie list w kafelkach */
    ul { text-align: left; } 
    .pricing-features-detailed li { justify-content: flex-start; }

    .hero-content { text-align: center; }
    .hero-visual { order: -1; margin-bottom: 1.5rem; width: 100%; } 
    
    .red-flag {
        text-align: left !important;
        justify-content: flex-start !important;
        margin: 0.5rem 0 !important;
        width: 100% !important;
    }
    
    /* Naprawa kalkulatora */
    .roi-calculator-box, .calculator-box {
        padding: 1rem !important;
        width: 100% !important;
    }
    #roi-total { font-size: 2.5rem !important; }
    #revenue-projection { font-size: 2.2rem !important; }

    .case-stat { border-left: none !important; border-top: 1px solid #eee; padding: 1.5rem !important; }

    .solution-side { margin-left: 0 !important; margin-top: -1rem; }
    .problem-side, .solution-side { padding: 1.5rem !important; text-align: center !important; }

    /* --- MOBILE NAVIGATION (HAMBURGER) --- */
    .navbar-links {
        position: fixed;
        top: 90px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 90px);
        background: white;
        flex-direction: column;
        align-items: center;
        padding: 2rem;
        transition: 0.4s cubic-bezier(0.23, 1, 0.32, 1);
        z-index: 999;
        overflow-y: auto;
    }

    .navbar-links.active {
        left: 0;
    }

    .nav-item {
        height: auto;
        width: 100%;
        justify-content: center;
    }

    .navbar-link {
        font-size: 1.2rem;
        padding: 1.5rem;
    }

    .dropdown-panel {
        position: static;
        transform: none;
        width: 100%;
        display: none;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        padding: 1rem 0;
        grid-template-columns: 1fr;
    }

    .nav-item.active .dropdown-panel {
        display: grid;
    }

    .hamburger {
        display: flex;
        flex-direction: column;
        gap: 6px;
        cursor: pointer;
        background: none;
        border: none;
        padding: 10px;
    }

    .hamburger span {
        width: 30px;
        height: 3px;
        background: var(--brand-dark);
        border-radius: 10px;
        transition: 0.3s;
    }

    .hamburger.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
    .hamburger.active span:nth-child(2) { opacity: 0; }
    .hamburger.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
}

/* Ensure hamburger is hidden on desktop */
@media (min-width: 769px) {
    .hamburger { display: none; }
}
