/* ---------- RESPONSIVE STYLES - FIXED MOBILE TOP SPACE ---------- */
@media (max-width: 860px) {
    .nav-container {
        padding: 0;
    }

    .logo-row {
        min-height: 74px;
        grid-template-columns: 1fr auto;
        align-items: center;
        padding: 0 0.9rem 0 0.9rem;
    }

    .logo {
        justify-self: start;
        min-height: 74px;
        display: flex;
        align-items: flex-start;
    }
    
    .mobile-nav-links {
        display: flex;
        position: fixed;
        top: 74px;
        left: -100%;
        width: min(82vw, 340px);
        height: calc(100vh - 74px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(12px);
        flex-direction: column;
        justify-content: flex-start;
        padding: var(--spacing-xl);
        gap: 1.8rem;
        transition: left var(--transition-normal);
        box-shadow: var(--shadow-md);
        z-index: var(--z-dropdown);
        border-top: none;
    }
    
    .mobile-nav-links.active {
        left: 0;
    }
    
    .mobile-nav-links a {
        color: var(--color-dark) !important;
        font-size: 1.3rem;
    }

    .nav-left,
    .nav-right {
        display: none;
    }
    
    .hamburger {
        display: block;
    }
    
    .logo-text {
        font-size: 1.3rem;
    }
    
    .logo-img {
        height: auto;
        max-height: 60px;
        width: min(58vw, 220px);
        object-fit: contain;
        object-position: left center;
    }

    .hamburger {
        position: static;
        justify-self: end;
        align-self: center;
        font-size: 1.6rem;
        line-height: 1;
        margin-right: 0;
    }
}

@media (max-width: 600px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .nav-container {
        padding: 0;
    }

    .logo-row {
        min-height: 66px;
        padding: 0 0.8rem 0 0.8rem;
    }

    .logo {
        min-height: 66px;
        align-items: flex-start;
    }
    
    .nav-links {
        top: 66px;
        height: calc(100vh - 66px);
    }
    
    .logo-img {
        max-height: 52px;
        width: min(60vw, 210px);
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0;
    }

    .logo-row {
        min-height: 60px;
        padding: 0 0.7rem 0 0.7rem;
    }

    .logo {
        min-height: 60px;
        align-items: flex-start;
    }
    
    .logo-img {
        max-height: 46px;
        width: min(62vw, 190px);
    }
    
    .nav-links {
        top: 60px;
        height: calc(100vh - 60px);
        width: 85%;
    }
}
