/* ==========================================================================
   ProyectoWebSTI - Estilos Responsivos
   Adaptabilidad para Smartphones, Tablets y Laptops
   ========================================================================== */

@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-features-list {
        justify-content: center;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid,
    .parts-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
        padding: 0.85rem 1rem;
    }

    .brand-logo {
        justify-content: center;
        width: 100%;
    }

    .brand-img-logo {
        height: 90px;
        max-width: 260px;
    }

    .header-actions {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 0.75rem;
    }

    .header-actions .btn {
        flex-grow: 1;
        text-align: center;
        justify-content: center;
        padding: 0.65rem 1rem;
        font-size: 0.95rem;
    }

    .top-bar-content {
        flex-direction: column;
        text-align: center;
    }

    .top-info {
        justify-content: center;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 130px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 130px);
        background-color: #FFFFFF;
        flex-direction: column;
        align-items: flex-start;
        padding: 2rem 1.5rem;
        gap: 1.5rem;
        box-shadow: var(--shadow-lg);
        transition: var(--transition);
        overflow-y: auto;
    }

    .nav-menu.open {
        left: 0;
    }

    .nav-link {
        font-size: 1.2rem;
        width: 100%;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .section-title {
        font-size: 1.85rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .services-grid,
    .services-grid-b,
    .parts-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .brands-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .contact-section-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-info-box,
    .contact-form-card {
        padding: 1.75rem 1.25rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .img-slider-container {
        min-height: 280px;
        height: 300px;
    }

    .map-container {
        height: 320px;
    }
}

@media (max-width: 480px) {
    .brands-grid {
        grid-template-columns: 1fr;
    }
    .img-slider-container {
        min-height: 240px;
        height: 250px;
    }
    .contact-info-box,
    .contact-form-card {
        padding: 1.25rem 1rem;
    }
}

