/* ==============================================================================
   ARCHIVO AISLADO: maquinaria-responsive.css
   NOTA: Solo afecta a tablets y móviles (max-width: 992px y 768px). 
   El diseño de escritorio (maquinaria.css) se mantiene intacto.
   ============================================================================== */

/* ==============================================================================
   1. TABLETS Y DISPOSITIVOS MEDIANOS (max-width: 992px)
   ============================================================================== */
@media screen and (max-width: 992px) {
    .propiedades-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }

    .solucion-header-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .productos-grid-4col,
    .beneficios-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 18px !important;
    }

    .asesoria-content-grid {
        grid-template-columns: 1fr !important;
        padding-left: 0 !important;
        gap: 30px !important;
    }

    .asesora-bg-img {
        width: 100% !important;
        opacity: 0.15;
    }
}

/* ==============================================================================
   2. MÓVILES GRANDES Y TABLETS VERTICALES (max-width: 768px)
   ============================================================================== */
@media screen and (max-width: 768px) {

    /* --- 2.1. CONTENEDOR GENERAL --- */
    .container-maquinaria {
        max-width: 100% !important;
        padding: 0 15px !important;
    }

    /* --- 2.2. HERO MAQUINARIA --- */
    .hero-maquinaria {
        min-height: auto !important;
        padding: 50px 0 !important;
    }

    .hero-maquinaria-content h1 {
        font-size: 2.3rem !important;
        line-height: 1.15 !important;
    }

    .hero-maquinaria-content p {
        font-size: 0.95rem !important;
    }

    .hero-maquinaria-buttons {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 12px !important;
    }

    .hero-maquinaria-buttons a {
        width: 100% !important;
        text-align: center !important;
        justify-content: center !important;
        box-sizing: border-box !important;
    }

    /* --- 2.3. TIRA FLOTANTE DE PROPIEDADES --- */
    .strip-propiedades-wrapper {
        margin-bottom: -30px !important;
        padding: 0 10px !important;
    }

    .strip-propiedades-card {
        padding: 20px 15px !important;
    }

    .propiedades-grid {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }

    /* --- 2.4. SECCIÓN TIENDA Y BUSCADOR --- */
    .seccion-tienda-main {
        padding: 40px 0 20px 0 !important;
    }

    .solucion-header-grid {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }

    .solucion-text h2 {
        font-size: 1.6rem !important;
    }

    .solucion-text p {
        font-size: 0.92rem !important;
    }

    .search-input-wrapper {
        padding: 4px 4px 4px 12px !important;
        flex-direction: column !important;
        gap: 10px !important;
        border-radius: 12px !important;
        background: #ffffff !important;
        border: 1px solid #cbd5e1 !important;
    }

    .search-input-wrapper input {
        padding: 8px !important;
    }

    .btn-search-orange {
        width: 100% !important;
        border-radius: 8px !important;
        text-align: center !important;
    }

    .tienda-actions-row {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 12px !important;
    }

    .categorias-pills {
        overflow-x: auto !important;
        width: 100% !important;
        padding-bottom: 8px !important;
        flex-wrap: nowrap !important;
    }

    .cat-pill {
        flex-shrink: 0 !important;
    }

    .productos-grid-4col {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }

    /* --- 2.5. CARRITO FLOTANTE --- */
    .floating-cart-btn {
        top: 90px !important;
        right: 15px !important;
        width: 50px !important;
        height: 50px !important;
        font-size: 1.2rem !important;
    }

    .cart-modal-drawer {
        max-width: 100% !important;
    }

    /* --- 2.6. BANNER TECNOLOGÍA --- */
    .seccion-tecnologia {
        padding: 50px 0 !important;
        min-height: auto !important;
    }

    .tecnologia-text-col h2 {
        font-size: 1.8rem !important;
    }

    .tecnologia-text-col p {
        font-size: 0.95rem !important;
    }

    /* --- 2.7. ASESORÍA Y WHATSAPP (BANNER SUPERIOR) --- */
    .seccion-asesoria-wsp {
        padding: 30px 15px !important;
        display: block !important;
    }

    .asesora-bg-img {
        position: relative !important;
        width: 100% !important;
        height: 240px !important;
        object-fit: cover !important;
        object-position: center top !important;
        display: block !important;
        opacity: 1 !important;
        margin-bottom: 20px !important;
        border-radius: 12px !important;
    }

    .asesoria-overlay-gradient {
        display: none !important;
    }

    .asesoria-content-grid {
        grid-template-columns: 1fr !important;
        padding-left: 0 !important;
        gap: 20px !important;
    }

    .asesoria-info-col h3 {
        font-size: 1.6rem !important;
        line-height: 1.2 !important;
    }

    .asesoria-info-col p {
        font-size: 0.92rem !important;
        line-height: 1.5 !important;
    }

    .btn-wsp-orange {
        width: 100% !important;
        justify-content: center !important;
        box-sizing: border-box !important;
    }

    .asesoria-right-checklist {
        padding: 20px 15px !important;
    }

    .asesoria-right-checklist h4 {
        font-size: 1.1rem !important;
        margin-bottom: 15px !important;
    }

    .asesoria-right-checklist li {
        font-size: 0.9rem !important;
        gap: 12px !important;
        margin-bottom: 12px !important;
    }

    /* --- 2.8. BENEFICIOS Y GARANTÍAS --- */
    .strip-beneficios {
        padding: 30px 0 !important;
    }

    .beneficios-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
}