/* CONFIGURACIÓN GENERAL */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;

    background-color: #f4f4f4;

    color: #17233b;
}


/* ========================= */
/* SECCIÓN SUPERIOR */
/* ========================= */

.inicio {

    max-width: 1100px;

    margin: 0 auto;

    padding: 60px 25px;

    display: grid;

    grid-template-columns: 1fr 1.4fr;

    gap: 60px;

    align-items: center;

    background-color: white;
}


/* PRESENTACIÓN */

.presentacion h1 {

    font-size: 36px;

    line-height: 1.1;

    margin-bottom: 20px;
}


.presentacion p {

    font-size: 13px;

    line-height: 1.5;

    max-width: 350px;

    margin-bottom: 20px;

    color: #333;
}


/* LÍNEAS */

.linea {

    width: 25px;

    height: 3px;

    background-color: #f5a400;

    margin-bottom: 15px;
}


.linea.pequeña {

    width: 20px;

    margin-top: 10px;
}


/* BOTONES */

.boton {

    display: inline-block;

    background-color: #f5a400;

    color: #111;

    text-decoration: none;

    font-size: 12px;

    font-weight: bold;

    padding: 9px 12px;

    border-radius: 2px;
}


.boton:hover {

    background-color: #d98f00;

}


/* ========================= */
/* TARJETAS */
/* ========================= */

.tarjetas {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 12px;
}


.tarjeta {

    background-color: #f1f1f1;

    min-height: 105px;

    padding: 20px;

    display: flex;

    flex-direction: column;

    justify-content: center;
}


.tarjeta span {

    font-size: 9px;

    font-weight: bold;

    color: #30466d;

    margin-bottom: 7px;
}


.tarjeta h2 {

    font-size: 15px;

    line-height: 1.2;

    color: #182238;
}


/* ========================= */
/* SECCIÓN TALLERES */
/* ========================= */

.talleres {

    max-width: 1100px;

    margin: 35px auto;

    display: grid;

    grid-template-columns: 1fr 1.5fr;

    min-height: 330px;

}


/* PARTE AZUL */

.informacion {

    background-color: #172b4d;

    color: white;

    padding: 35px;

    display: flex;

    flex-direction: column;

    justify-content: center;
}


.unidad {

    font-size: 11px;

    font-weight: bold;

    color: #d9e0ed;

    margin-bottom: 15px;
}


.informacion h2 {

    font-size: 28px;

    margin-bottom: 15px;
}


.informacion p {

    font-size: 11px;

    line-height: 1.5;

    margin-bottom: 25px;
}


.informacion .boton {

    align-self: flex-start;
}


/* ========================= */
/* IMAGEN */
/* ========================= */

.imagen {

    overflow: hidden;
}


.imagen img {

    width: 100%;

    height: 100%;

    display: block;

    object-fit: cover;
}


/* ========================= */
/* ADAPTACIÓN PARA CELULAR */
/* ========================= */

@media (max-width: 750px) {


    .inicio {

        grid-template-columns: 1fr;

        gap: 35px;

    }


    .tarjetas {

        grid-template-columns: 1fr 1fr;

    }


    .talleres {

        grid-template-columns: 1fr;

        margin: 20px;

    }


    .imagen {

        height: 300px;

    }

}


@media (max-width: 500px) {


    .tarjetas {

        grid-template-columns: 1fr;

    }


    .presentacion h1 {

        font-size: 30px;

    }

}