
/* =========================================
   NOSOTROS RESPONSIVE - TABLET
========================================= */

@media (max-width: 1000px) {

    .nosotros-historia {
        padding: 22px 22px 28px;
        box-sizing: border-box;
    }

    .nosotros-historia-contenido {
        grid-template-columns: 130px minmax(0, 1fr);
        gap: 20px;
        min-height: 0;
    }

    .nosotros-imagen img {
        max-width: 135px;
    }

    .nosotros-valores {
        grid-column: 1 / -1;
        width: 100%;
        max-width: 650px;
        margin: 8px auto 0;
    }

    .nosotros-pedidos {
        padding: 25px 22px 28px;
        box-sizing: border-box;
    }

    .nosotros-pedidos-encabezado {
        margin-bottom: 18px;
    }

    .nosotros-platillo {
        flex-basis: calc((100% - 36px) / 3);
    }

    .nosotros-platillo > img {
        height: 130px;
    }
}


/* =========================================
   NOSOTROS RESPONSIVE - CELULAR
========================================= */

@media (max-width: 600px) {

    /* SECCIÓN COMPLETA: UNA PANTALLA */

    .nosotros-section {
        display: flex;
        flex-direction: column;

        width: 100%;
        height: 100vh;
        height: 100svh;
        min-height: 0;
        max-height: 100svh;

        overflow: hidden;
        box-sizing: border-box;
    }


    /* NUESTRA HISTORIA */

    .nosotros-historia {
        flex: 0 0 55%;
        min-height: 0;

        display: flex;
        align-items: center;

        width: 100%;
        padding: 12px 16px 18px;
        box-sizing: border-box;
    }

    .nosotros-historia-contenido {
        display: flex;
        flex-direction: column;
        align-items: center;

        width: 100%;
        gap: 9px;

        margin: 0 auto;
        text-align: center;
    }

    .nosotros-imagen img {
        display: block;

        width: 90px;
        max-width: 90px;
        max-height: 95px;

        object-fit: contain;
    }

    .nosotros-texto h2 {
        font-size: clamp(25px, 6.5vw, 30px);
        line-height: 1.2;
        margin: 0 0 8px;
    }

    .nosotros-texto p {
        font-size: clamp(11px, 2.9vw, 13px);
        line-height: 1.5;
        margin: 0 0 7px;
    }

    .nosotros-enlace {
        justify-content: center;
        margin-top: 4px;
        font-size: 11px;
    }


    /* VALORES */

    .nosotros-valores {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));

        width: 100%;
        gap: 13px 10px;
        margin-top: 8px;
    }

    .nosotros-valor {
        gap: 5px;
    }

    .nosotros-valor i {
        font-size: 27px;
    }

    .nosotros-valor span {
        font-size: 10px;
        line-height: 1.4;
    }


    /* LO MÁS PEDIDO */

    .nosotros-pedidos {
        flex: 1 1 45%;
        min-height: 0;

        position: relative;
        width: 100%;

        padding: 24px 13px 15px;
        box-sizing: border-box;
    }

    .nosotros-pedidos-encabezado {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;

        gap: 8px;
        margin-bottom: 15px;
    }

    .nosotros-pedidos-titulo {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 6px;
    }

    .nosotros-pedidos-titulo h2 {
        font-size: clamp(22px, 5.8vw, 27px);
        line-height: 1.2;
    }

    .nosotros-pedidos-titulo img {
        width: 27px;
    }


    /* FLECHAS */

    .nosotros-flechas {
        position: static;
        gap: 6px;
    }

    .nosotros-flecha {
        width: 33px;
        height: 33px;
        font-size: 16px;
    }


    /* CARRUSEL */

    .nosotros-slider {
        width: 100%;
        min-width: 0;
        overflow: hidden;
    }

    .nosotros-track {
        display: flex;
        gap: 10px;
        min-width: 0;

        transition: transform 0.5s ease;
    }

    .nosotros-platillo {
        flex: 0 0 calc((100% - 10px) / 2);
        min-width: 0;

        border-radius: 14px;
        overflow: hidden;
    }

    .nosotros-platillo > img {
        display: block;

        width: 100%;
        height: clamp(90px, 13svh, 125px);

        object-fit: cover;
    }

    .nosotros-platillo-info {
        padding: 9px 6px;
        text-align: center;
    }

    .nosotros-platillo-info h3 {
        font-size: 14px;
        margin: 0 0 4px;
    }

    .nosotros-platillo-info p {
        font-size: 9px;
        line-height: 1.4;
        margin: 0;
    }
}


/* =========================================
   CELULARES BAJOS
========================================= */

@media (max-width: 600px) and (max-height: 700px) {

    .nosotros-historia {
        flex-basis: 57%;
        padding-top: 8px;
        padding-bottom: 10px;
    }

    .nosotros-historia-contenido {
        gap: 6px;
    }

    .nosotros-imagen img {
        width: 65px;
        max-width: 65px;
        max-height: 68px;
    }

    .nosotros-texto h2 {
        font-size: 23px;
        margin-bottom: 5px;
    }

    .nosotros-texto p {
        font-size: 10px;
        line-height: 1.35;
        margin-bottom: 4px;
    }

    .nosotros-valores {
        gap: 8px 6px;
        margin-top: 5px;
    }

    .nosotros-valor i {
        font-size: 21px;
    }

    .nosotros-valor span {
        font-size: 8px;
    }

    .nosotros-pedidos {
        padding-top: 17px;
        padding-bottom: 10px;
    }

    .nosotros-pedidos-encabezado {
        margin-bottom: 10px;
    }

    .nosotros-pedidos-titulo h2 {
        font-size: 21px;
    }

    .nosotros-pedidos-titulo img {
        width: 22px;
    }

    .nosotros-platillo > img {
        height: 75px;
    }

    .nosotros-platillo-info {
        padding: 6px 4px;
    }

    .nosotros-platillo-info h3 {
        font-size: 11px;
    }

    .nosotros-platillo-info p {
        font-size: 8px;
    }
}


/* =========================================
   CELULARES MUY ESTRECHOS
========================================= */

@media (max-width: 380px) {

    .nosotros-historia {
        padding-right: 11px;
        padding-left: 11px;
    }

    .nosotros-texto h2 {
        font-size: 23px;
    }

    .nosotros-valores {
        gap: 8px 6px;
    }

    .nosotros-pedidos {
        padding-right: 9px;
        padding-left: 9px;
    }

    .nosotros-pedidos-titulo h2 {
        font-size: 20px;
    }

    .nosotros-pedidos-titulo img {
        width: 22px;
    }

    .nosotros-platillo {
        flex-basis: calc((100% - 9px) / 2);
    }

    .nosotros-track {
        gap: 9px;
    }
}