
/* =========================================
   NOSOTROS
========================================= */

.nosotros-section {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}


/* =========================================
   PRIMERA MITAD - NUESTRA HISTORIA
========================================= */

.nosotros-historia {
    width: 100%;
    max-width: 100%;
    background: #fff3e1;

    padding: 55px 20px 30px;
    box-sizing: border-box;
}

.nosotros-historia-contenido {
    display: grid;

    grid-template-columns:
        170px
        minmax(250px, 1fr)
        minmax(420px, 1.7fr);

    align-items: center;
    gap: 35px;

    width: 100%;
    max-width: 1290px;
    min-height: 210px;
    margin: 0 auto;
    box-sizing: border-box;
}


/* ILUSTRACIÓN */

.nosotros-imagen {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 0;
}

.nosotros-imagen img {
    display: block;
    width: 100%;
    max-width: 190px;
    height: auto;
    object-fit: contain;
}


/* TEXTO */

.nosotros-texto {
    min-width: 0;
}

.nosotros-texto h2 {
    margin: 0 0 15px;

    font-family: "Bree Serif", serif;
    font-size: 34px;
    font-weight: 400;

    color: #174d38;
}

.nosotros-texto p {
    margin: 0 0 12px;

    font-family: "Montserrat", sans-serif;
    font-size: 13px;
    line-height: 1.8;

    color: #332b24;
}

.nosotros-enlace {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    margin-top: 8px;

    font-family: "Montserrat", sans-serif;
    font-size: 12px;
    font-weight: 700;

    color: #b92c21;
    text-decoration: none;

    transition: gap 0.3s ease;
}

.nosotros-enlace:hover {
    gap: 16px;
}

.nosotros-enlace span {
    font-size: 22px;
}


/* =========================================
   VALORES
========================================= */

.nosotros-valores {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));

    align-items: center;
    gap: 18px;

    min-width: 0;
}

.nosotros-valor {
    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 12px;
    text-align: center;
    min-width: 0;
}

.nosotros-valor i {
    font-size: 38px;
    color: #b97832;
}

.nosotros-valor span {
    font-family: "Montserrat", sans-serif;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.6;

    color: #302820;
}


/* =========================================
   SEGUNDA MITAD - LO MÁS PEDIDO
========================================= */

.nosotros-pedidos {
    position: relative;

    width: 100%;
    max-width: 100%;
    box-sizing: border-box;

    background: #104b36;

    padding: 45px 5% 50px;
}


/* BORDE IRREGULAR VERDE */

.nosotros-pedidos::before {
    content: "";

    position: absolute;

    top: -19px;
    left: 0;

    width: 100%;
    height: 25px;

    background: #104b36;

    clip-path: polygon(
        0% 65%,
        4% 35%,
        8% 55%,
        13% 25%,
        18% 60%,
        23% 30%,
        29% 55%,
        35% 20%,
        42% 50%,
        49% 30%,
        56% 65%,
        63% 25%,
        70% 55%,
        77% 20%,
        84% 60%,
        91% 30%,
        96% 55%,
        100% 35%,
        100% 100%,
        0% 100%
    );
}


/* =========================================
   ENCABEZADO
========================================= */

.nosotros-pedidos-encabezado {
    position: relative;

    display: flex;
    justify-content: center;
    align-items: center;

    margin-bottom: 35px;
}

.nosotros-pedidos-titulo {
    display: flex;
    justify-content: center;
    align-items: center;

    gap: 18px;
}

.nosotros-pedidos-titulo h2 {
    margin: 0;

    font-family: "Bree Serif", serif;
    font-size: 32px;
    font-weight: 400;

    color: #fff1d9;
}

.nosotros-pedidos-titulo img {
    display: block;
    width: 60px;
    height: auto;
    object-fit: contain;
}


/* =========================================
   FLECHAS
========================================= */

.nosotros-flechas {
    position: absolute;
    right: 0;

    display: flex;
    gap: 10px;
}

.nosotros-flecha {
    display: flex;
    justify-content: center;
    align-items: center;

    width: 42px;
    height: 42px;
    padding: 0;

    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;

    background: transparent;
    color: white;

    font-size: 19px;

    cursor: pointer;

    transition: 0.3s ease;
}

.nosotros-flecha:hover {
    background: #fff1d9;
    color: #104b36;
}


/* =========================================
   CARRUSEL
========================================= */

.nosotros-slider {
    width: 100%;
    min-width: 0;
    overflow: hidden;
    box-sizing: border-box;
}

.nosotros-track {
    display: flex;
    gap: 18px;

    width: 100%;
    min-width: 0;

    transition: transform 0.5s ease;
    will-change: transform;
}


/* =========================================
   TARJETAS DE PLATILLOS
========================================= */

.nosotros-platillo {
    flex: 0 0 calc((100% - 54px) / 4);
    min-width: 0;

    border-radius: 18px;
    overflow: hidden;

    background: #fff3e1;
    box-sizing: border-box;
}

.nosotros-platillo > img {
    display: block;

    width: 100%;
    height: 185px;

    object-fit: cover;
}

.nosotros-platillo-info {
    padding: 15px 12px;
    text-align: center;
    box-sizing: border-box;
}

.nosotros-platillo-info h3 {
    margin: 0 0 5px;

    font-family: "Bree Serif", serif;
    font-size: 18px;
    font-weight: 400;

    color: #174d38;
}

.nosotros-platillo-info p {
    margin: 0;

    font-family: "Montserrat", sans-serif;
    font-size: 11px;
    line-height: 1.5;

    color: #66513f;
}


/* =========================================
   PANTALLAS MEDIANAS
========================================= */

@media (max-width: 1100px) {

    .nosotros-historia-contenido {
        grid-template-columns: 140px minmax(0, 1fr);
        gap: 25px;
    }

    .nosotros-imagen img {
        max-width: 150px;
    }

    .nosotros-valores {
        grid-column: 1 / -1;
        margin-top: 15px;
    }

    .nosotros-platillo {
        flex-basis: calc((100% - 36px) / 3);
    }
}


/* =========================================
   TABLET Y CELULAR
========================================= */

@media (max-width: 768px) {

    .nosotros-historia {
        padding: 35px 20px 45px;
    }

    .nosotros-historia-contenido {
        grid-template-columns: minmax(0, 1fr);
        gap: 22px;
        min-height: 0;
        text-align: center;
    }

    .nosotros-imagen img {
        max-width: 150px;
    }

    .nosotros-texto h2 {
        font-size: 30px;
    }

    .nosotros-texto p {
        font-size: 13px;
    }

    .nosotros-valores {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 25px 15px;
        margin-top: 10px;
    }

    .nosotros-valor i {
        font-size: 32px;
    }

    .nosotros-pedidos {
        padding: 35px 20px 40px;
    }

    .nosotros-pedidos-encabezado {
        margin-bottom: 25px;
    }

    .nosotros-pedidos-titulo {
        gap: 8px;
    }

    .nosotros-pedidos-titulo h2 {
        font-size: 27px;
    }

    .nosotros-pedidos-titulo img {
        width: 38px;
    }

    .nosotros-flechas {
        position: static;
        margin-left: 12px;
        gap: 6px;
    }

    .nosotros-flecha {
        width: 34px;
        height: 34px;
        font-size: 16px;
    }

    .nosotros-platillo {
        flex-basis: calc((100% - 18px) / 2);
    }

    .nosotros-platillo > img {
        height: 155px;
    }
}


/* =========================================
   CELULARES PEQUEÑOS
========================================= */

@media (max-width: 480px) {

    .nosotros-historia {
        padding: 30px 18px 40px;
    }

    .nosotros-imagen img {
        max-width: 125px;
    }

    .nosotros-texto h2 {
        font-size: 27px;
    }

    .nosotros-valores {
        gap: 22px 10px;
    }

    .nosotros-valor span {
        font-size: 10px;
    }

    .nosotros-pedidos {
        padding: 32px 16px 35px;
    }

    .nosotros-pedidos-encabezado {
        flex-wrap: wrap;
        gap: 15px;
        margin-bottom: 22px;
    }

    .nosotros-pedidos-titulo {
        gap: 6px;
    }

    .nosotros-pedidos-titulo h2 {
        font-size: 25px;
    }

    .nosotros-pedidos-titulo img {
        width: 30px;
    }

    .nosotros-flechas {
        margin-left: 0;
    }

    .nosotros-platillo {
        flex-basis: 100%;
    }

    .nosotros-platillo > img {
        height: 150px;
    }

    .nosotros-platillo-info {
        padding: 12px 10px;
    }

    .nosotros-platillo-info h3 {
        font-size: 17px;
    }

    .nosotros-platillo-info p {
        font-size: 11px;
    }
}