/* ============================================
   MOBILE EXPERIENCE - BRUTALIST & CREATIVE
   Shared mobile styles for all pages
   ============================================ */

/* Hide mobile elements on desktop */
.menu-toggle,
.mobile-menu {
    display: none !important;
}

.mobile-menu-links,
.mobile-menu-social {
    display: none !important;
}

@media (max-width: 768px) {
    /* Remove cursor on mobile */
    * { cursor: auto !important; }
    .cursor, .cursor-dot { display: none !important; }

    body {
        padding-top: env(safe-area-inset-top);
        padding-bottom: env(safe-area-inset-bottom);
    }

    /* ===== NAVIGATION ===== */
    nav {
        padding: 1.25rem 1.5rem;
        transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .nav-links, .nav-contact, .nav-cta { display: none; }

    .logo {
        font-size: 1.3rem;
        z-index: 1001;
    }

    /* Hamburger */
    .menu-toggle {
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 50px;
        height: 50px;
        background: var(--accent);
        border: none;
        cursor: pointer;
        z-index: 1001;
        gap: 5px;
        transition: all 0.3s ease;
    }

    .menu-toggle span {
        display: block;
        width: 20px;
        height: 2px;
        background: var(--black);
        transition: all 0.4s cubic-bezier(0.68, -0.6, 0.32, 1.6);
    }

    .menu-toggle.active { background: transparent; }
    .menu-toggle.active span { background: var(--white); }
    .menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .menu-toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
    .menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

    /* ===== FULLSCREEN MENU ===== */
    .mobile-menu {
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        background: var(--black);
        z-index: 999;
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        padding: 2rem;
        opacity: 0;
        visibility: hidden;
        transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .mobile-menu::before {
        content: 'MENU';
        position: absolute;
        top: 50%; left: 50%;
        transform: translate(-50%, -50%);
        font-family: 'Bebas Neue', sans-serif;
        font-size: 40vw;
        color: rgba(255,255,255,0.03);
        pointer-events: none;
    }

    .mobile-menu.active { opacity: 1; visibility: visible; }

    .mobile-menu-links {
        display: block !important;
        list-style: none;
        position: relative;
        z-index: 1;
    }

    .mobile-menu-links li {
        margin: 0.5rem 0;
        opacity: 0;
        transform: translateX(-50px);
        transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .mobile-menu.active .mobile-menu-links li { opacity: 1; transform: translateX(0); }
    .mobile-menu.active .mobile-menu-links li:nth-child(1) { transition-delay: 0.1s; }
    .mobile-menu.active .mobile-menu-links li:nth-child(2) { transition-delay: 0.15s; }
    .mobile-menu.active .mobile-menu-links li:nth-child(3) { transition-delay: 0.2s; }
    .mobile-menu.active .mobile-menu-links li:nth-child(4) { transition-delay: 0.25s; }
    .mobile-menu.active .mobile-menu-links li:nth-child(5) { transition-delay: 0.3s; }
    .mobile-menu.active .mobile-menu-links li:nth-child(6) { transition-delay: 0.35s; }
    .mobile-menu.active .mobile-menu-links li:nth-child(7) { transition-delay: 0.4s; }
    .mobile-menu.active .mobile-menu-links li:nth-child(8) { transition-delay: 0.45s; }

    .mobile-menu-links a {
        font-family: 'Bebas Neue', sans-serif;
        font-size: 12vw;
        color: var(--white);
        text-decoration: none;
        letter-spacing: 0.05em;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.75rem 0;
        transition: all 0.3s ease;
    }

    .mobile-menu-links a::after {
        content: '→';
        font-size: 6vw;
        color: var(--accent);
        opacity: 0;
        transform: translateX(-20px);
        transition: all 0.3s ease;
    }

    .mobile-menu-links a:active { color: var(--accent); }
    .mobile-menu-links a:active::after { opacity: 1; transform: translateX(0); }

    .mobile-menu-social {
        display: flex !important;
        position: absolute;
        bottom: calc(2rem + env(safe-area-inset-bottom));
        left: 2rem;
        gap: 1.5rem;
    }

    .mobile-menu-social a {
        color: var(--accent);
        font-size: 0.75rem;
        text-transform: uppercase;
        letter-spacing: 0.15em;
        text-decoration: none;
    }

    /* ===== FOOTER ===== */
    footer {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
        padding: 4rem 1.5rem calc(2rem + env(safe-area-inset-bottom));
    }

    .footer-left, .footer-content {
        flex-direction: column;
        gap: 0.75rem;
    }

    .footer-logo { font-size: 1.25rem; }
    .footer-copy { font-size: 0.7rem; }
    .footer-social, .footer-links { gap: 2rem; flex-wrap: wrap; justify-content: center; }
    .footer-social a, .footer-links a { font-size: 0.7rem; }
    .footer-social a:active { color: var(--accent); }

    /* ===== GENERAL MOBILE TYPOGRAPHY ===== */
    .section-title, .hero-title, h1 {
        font-size: clamp(2.5rem, 12vw, 6rem) !important;
    }

    .section-label, .hero-label {
        font-size: 0.65rem;
        letter-spacing: 0.2em;
    }

    /* ===== GRIDS ===== */
    .stats-grid, .premium-grid, .services-grid,
    .companies-grid, .testimonials-grid, .projects-row {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
    }

    .company-card.featured {
        grid-column: span 1 !important;
        grid-template-columns: 1fr !important;
    }

    /* ===== BUTTONS ===== */
    .btn, .btn-primary, .btn-outline, .cta-btn {
        width: 100%;
        justify-content: center;
        padding: 1.25rem 2rem;
    }

    .cta-buttons, .hero-buttons {
        flex-direction: column;
    }
}

@media (max-width: 380px) {
    .mobile-menu-links a { font-size: 10vw; }
}
