/* TABLETS (768px - 1200px) */
@media (max-width: 1200px) and (min-width: 769px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        box-shadow: 0 8px 16px rgba(0,0,0,0.1);
        z-index: 999;
    }
    
    .nav-menu.mobile-active {
        display: flex;
    }
    
    .nav-content {
        flex-direction: column;
        gap: 0;
        padding: 20px 0;
    }
    
    .nav-content a {
        padding: 15px 0;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }
    
    /* Grid de productos */
    .telas-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    /* Servicios */
    .seccion-cards-services .card {
        width: calc(50% - 20px);
    }
}

/* MÓVILES (hasta 768px) */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-menu {
        display: none;
    }
    
    .nav-menu.mobile-active {
        display: flex;
    }
    
    .nav-content {
        flex-direction: column;
        gap: 0;
    }
    
    .nav-content a {
        padding: 15px 0;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }
    
    /* Grid */
    .telas-grid {
        grid-template-columns: 1fr !important;
        width: 90% !important;
    }
    
    /* Footer */
    .footer-container {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 30px;
        align-items: center;
    }
}

/* CELULARES (hasta 500px) */
@media (max-width: 500px) {
    .header-content {
        padding: 10px 5%;
    }
    
    .header-content-logo img {
        height: 40px;
    }
    
    .nav-content a {
        font-size: 0.95rem;
        padding: 12px 0;
    }
    
    h1, .telas-titulo {
        font-size: 1.8rem !important;
    }
    
    .seccion-cards-services .card {
        width: 100%;
    }
}

/* ===== RESPONSIVE: TABLETS (769px - 1200px) ===== */
@media (max-width: 1200px) and (min-width: 769px) {
    .footer-container {
        width: 90%;
        gap: 30px;
    }

    .footer-brand {
        flex: 0.5;
    }

    .footer-brand img {
        height: 45px;
    }

    .footer-links {
        flex: 1.3;
        gap: 30px;
    }

    .footer-links-group h4 {
        font-size: 1rem;
    }

    .footer-social {
        flex: 0.7;
    }

    .social-icons a {
        font-size: 1.4rem;
    }
}

/* ===== RESPONSIVE: MÓVILES (hasta 768px) ===== */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        width: 90%;
        gap: 30px;
    }

    .footer-brand {
        flex: none;
        width: 100%;
        text-align: center;
    }

    .footer-brand p {
        width: 100%;
    }

    .footer-links {
        flex-direction: column;
        width: 100%;
        gap: 20px;
        text-align: center;
    }

    .footer-links-group {
        width: 100%;
    }

    .footer-links-group ul li {
        margin-bottom: 6px;
    }

    .footer-social {
        flex: none;
        width: 100%;
        text-align: center;
    }

    .social-icons a {
        margin-right: 12px;
        font-size: 1.4rem;
    }

    .footer-bottom {
        width: 90%;
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}

/* ===== RESPONSIVE: CELULARES (hasta 500px) ===== */
@media (max-width: 500px) {
    .footer {
        padding: 40px 0 15px 0;
    }

    .footer-container {
        width: 95%;
        gap: 20px;
    }

    .footer-brand img {
        height: 40px;
        margin-bottom: 10px;
    }

    .footer-brand p {
        font-size: 0.9rem;
        line-height: 20px;
    }

    .footer-links-group h4 {
        font-size: 0.95rem;
        margin-bottom: 8px;
    }

    .footer-links-group ul li a {
        font-size: 0.9rem;
    }

    .footer-social h4 {
        font-size: 0.95rem;
    }

    .social-icons a {
        margin-right: 10px;
        font-size: 1.3rem;
    }

    .footer-bottom {
        width: 95%;
        font-size: 0.85rem;
    }
}