
/* =========================================================
   NOSOTROS
   ========================================================= */

body {
    background-color: #f4f4f4;
}


/* =========================================================
   ENCABEZADO BASER
   ========================================================= */

body > header:not(.navbar) {
    width: 100%;

    padding: 25px 20px;

    margin: 0;

    background-color: #d88526;

    color: white;

    text-align: center;
}

body > header:not(.navbar) h1 {
    margin: 0;

    font-size: clamp(2rem, 5vw, 2.5rem);
}

body > header:not(.navbar) p {
    margin: 10px auto 0;

    max-width: 800px;

    font-size: clamp(1rem, 2.5vw, 1.15rem);

    line-height: 1.5;
}


/* =========================================================
   CONTENIDO
   ========================================================= */

.content {
    width: min(1200px, calc(100% - 40px));

    display: grid;

    grid-template-columns:
        minmax(0, 1.1fr)
        minmax(0, 0.9fr);

    gap: 35px;

    margin: 30px auto;

    padding: 30px;

    background-color: #d88526;

    border-radius: 10px;

    box-shadow:
        0 2px 8px rgba(0, 0, 0, 0.1);
}


/* =========================================================
   IMÁGENES
   ========================================================= */

.images {
    width: 100%;

    min-width: 0;
}

.images > img {
    display: block;

    width: 100%;

    max-height: 500px;

    object-fit: cover;

    margin-bottom: 20px;

    border-radius: 8px;

    box-shadow:
        0 2px 6px rgba(0, 0, 0, 0.12);
}


/* =========================================================
   FILA DE IMÁGENES
   ========================================================= */

.row {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 20px;
}

.row img {
    width: 100%;

    height: 220px;

    object-fit: cover;

    border-radius: 8px;

    box-shadow:
        0 2px 6px rgba(0, 0, 0, 0.12);
}


/* =========================================================
   TEXTO
   ========================================================= */

.text {
    min-width: 0;

    align-self: center;

    font-size: 18px;

    line-height: 1.7;

    color: #333;
}

.text p {
    margin: 0 0 20px;
}

.text strong {
    color: #0049a8;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    .content {
        grid-template-columns: 1fr;

        width: calc(100% - 30px);

        padding: 25px;

        gap: 25px;
    }

    .text {
        font-size: 17px;
    }

}


/* =========================================================
   CELULAR
   ========================================================= */

@media (max-width: 600px) {

    body > header:not(.navbar) {
        padding: 20px 15px;
    }

    .content {
        width: calc(100% - 20px);

        margin: 20px auto;

        padding: 15px;

        border-radius: 8px;

        gap: 20px;
    }

    .row {
        grid-template-columns: 1fr;

        gap: 15px;
    }

    .row img {
        height: auto;
    }

    .images > img {
        max-height: none;
    }

    .text {
        font-size: 16px;

        line-height: 1.6;
    }

}


/* =========================================================
   CELULAR PEQUEÑO
   ========================================================= */

@media (max-width: 400px) {

    .content {
        width: calc(100% - 14px);

        padding: 12px;
    }

    .text {
        font-size: 15px;
    }

}

