@media (max-width: 992px) {
    .grid-formulario {
        grid-template-columns: repeat(2, 1fr);
    }

    .servicios__grid {
        grid-template-columns: 1fr;
    }

    .footer__contenido {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer__logo p {
        margin: 0 auto;
    }

    .footer__redes {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .header__contenido {
        height: 7rem;
    }

    .logo img {
        width: 13rem;
    }

    .menu-toggle {
        display: flex;
    }

    .navegacion {
        position: fixed;
        top: 7rem;
        left: 0;
        width: 100%;
        background-color: rgba(17, 17, 17, 0.98);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 2rem;
        transform: translateY(-130%);
        opacity: 0;
        pointer-events: none;
        transition: all 0.3s ease;
    }

    .navegacion.activa {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .navegacion__link {
        padding: 1.4rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .navegacion__link::after {
        display: none;
    }

    .hero {
        min-height: 90vh;
        background-position: center;
    }

    .hero__overlay {
        background: linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.78) 0%,
            rgba(0, 0, 0, 0.78) 100%
        );
    }

    .hero__texto {
        padding-top: 10rem;
        text-align: center;
    }

    .hero__botones {
        justify-content: center;
    }

    #mapa {
        height: 42rem;
        border-radius: 1.8rem;
    }

    .bloque-formulario {
        padding: 2rem;
    }

    .parada {
        padding: 2rem;
    }

    .eliminar-parada {
        position: static;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 576px) {
    .contenedor {
        width: min(94%, 100%);
    }

    .grid-formulario {
        grid-template-columns: 1fr;
    }

    .hero__texto h1 {
        font-size: clamp(3.8rem, 13vw, 5.2rem);
    }

    .hero__texto p {
        font-size: 1.6rem;
    }

    .boton {
        width: 100%;
        padding: 1.4rem 2rem;
    }

    .hero__botones {
        width: 100%;
    }

    .servicios,
    .cobertura,
    .rutas,
    .diligencias {
        padding: 7rem 0;
    }

    .servicio {
        padding: 3rem 2rem;
    }

    .servicio h3 {
        font-size: 2.6rem;
    }

    .paradas-header {
        align-items: stretch;
    }

    .agregar-parada {
        width: 100%;
        justify-content: center;
    }

    .boton-enviar {
        max-width: 100%;
    }

    .whatsapp-flotante {
        width: 5.2rem;
        height: 5.2rem;
        font-size: 2.7rem;
        right: 1.5rem;
        bottom: 1.5rem;
    }
}