/* =========================================================
   GENERALES
   ========================================================= */

body {
    background: #121746;
}

/* =========================================================
   HERO
   ========================================================= */

.bt_containerHero {
    display: flex;
    align-items: flex-end;
    width: 100%;
}

.bt_heroFianzas {
    height: 95vh;
    width: 100%;
    background: url("../images/q-somos-back.webp") no-repeat center;
    background-size: cover;
    position: relative;
    overflow: hidden;
    padding: 0 !important;
    display: flex;
    align-items: stretch;
}

.bt_boxHeroFianzas {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: flex-end;
    width: 100%;
    margin: 0;
}

.bt_boxImgFianzas {
    width: 50%;
    max-width: 600px;
    margin-bottom: -5px;
    display: flex;
    align-items: flex-end;
}

.bt_boxImgFianzas img {
    width: 100%;
    height: auto;
    display: block;
    vertical-align: bottom;
}

.bt_boxTxtFianzas {
    width: 45%;
    margin-bottom: 30vh;
    text-align: center;
}

.bt_boxTxtFianzas h1 {
    color: var(--color-orange);
    margin-bottom: 30px;
}

.bt_boxBtnCotizar {
    width: 100%;
}

.bt_boxBtnCotizar a {
    margin: 0 auto;
}

.bt_boxBtnCotizarAbajo {
    margin: 50px 0;
}

/* =========================================================
   CONTENIDO FIANZAS
   ========================================================= */

.bt_boxFianzasContenido {
    background: var(--color-gris);
    border-top-right-radius: 180px;
}

.bt_boxTipoFianzas {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 30px;
    padding: 60px 0;
    border-bottom: 1px solid #FFF;
}

.bt_boxTipoFianzas.bt_reverseFlex {
    flex-direction: row-reverse;
}

.bt_boxTipoFianzas:last-child {
    border-bottom: none;
}

.bt_boxImgTipoFianzas {
    width: 465px;
}

.bt_boxImgTipoFianzas img {
    height: 285px;
    object-fit: cover;
    object-position: center;
    border-radius: 15px;
    width: 465px;
}

.bt_boxTxtTipoFianzas {
    width: 50%;
}

.bt_boxTxtTipoFianzas h2 {
    color: var(--color-azul-dark);
}

.bt_reverseTxt {
    text-align: right;
}

/* =========================================================
   MEDIA QUERIE
   ========================================================= */

/*********************0 a 767.98*******************/

@media screen and (max-width: 767.98px) {
    .bt_containerHero {
        flex: 1;
        display: flex;
        flex-direction: column;
    }
    .bt_heroFianzas {
        height: 90vh;
        display: flex;
        flex-direction: column;
        padding: 120px 0 0 !important;
    }
    .bt_boxFianzasContenido {
        border-top-right-radius: 80px;
    }
    .bt_boxHeroFianzas {
        display: flex;
        flex-direction: column;
        height: 100%;
        justify-content: space-between;
        gap: 0;
    }
    .bt_boxImgFianzas {
        width: 100%;
        max-width: 450px;
        order: 2;
        margin-top: auto;
        margin-bottom: -5px;
        align-self: center;
    }
    .bt_boxImgFianzas img {
        width: 100%;
        height: auto;
        display: block;
    }
    .bt_boxTxtFianzas {
        width: 100%;
        order: 1;
        margin-bottom: 20px;
    }
    .bt_boxTxtFianzas h1 {
        font-size: 4rem;
        margin-bottom: 10px;
    }
    .bt_boxImgTipoFianzas {
        width: fit-content;
        margin: 0 auto;
    }
    .bt_boxTipoFianzas:first-child {
        padding: 0px 0 60px;
    }
    .bt_boxTxtTipoFianzas {
        width: 90%;
    }
    .bt_boxTxtTipoFianzas h2 {
        font-size: 2.3rem;
        margin-bottom: 30px;
    }
    .bt_boxTipoFianzas.bt_reverseFlex {
        flex-direction: column-reverse;
    }
}

/*********************768 a 991.98*******************/

@media (min-width: 768px) and (max-width: 991.98px) {
    .bt_containerHero {
        flex: 1;
        display: flex;
        flex-direction: column;
    }
    .bt_heroFianzas {
        height: 90vh;
        display: flex;
        flex-direction: column;
        padding: 120px 0 0 !important;
    }
    .bt_boxFianzasContenido {
        border-top-right-radius: 80px;
    }
    .bt_boxHeroFianzas {
        display: flex;
        flex-direction: column;
        height: 100%;
        justify-content: space-between;
        gap: 0;
    }
    .bt_boxImgFianzas {
        width: 100%;
        max-width: 450px;
        order: 2;
        margin-top: auto;
        margin-bottom: -5px;
        align-self: center;
    }
    .bt_boxImgFianzas img {
        width: 100%;
        height: auto;
        display: block;
    }
    .bt_boxTxtFianzas {
        width: 100%;
        order: 1;
        margin-bottom: 20px;
    }
    .bt_boxTxtFianzas h1 {
        font-size: 4rem;
        margin-bottom: 10px;
    }
    .bt_boxImgTipoFianzas {
        width: fit-content;
        margin: 0 auto;
    }
    .bt_boxTipoFianzas:first-child {
        padding: 0px 0 60px;
    }
    .bt_boxTxtTipoFianzas {
        width: 90%;
    }
    .bt_boxTxtTipoFianzas h2 {
        font-size: 2.3rem;
        margin-bottom: 30px;
    }
    .bt_boxTipoFianzas.bt_reverseFlex {
        flex-direction: column-reverse;
    }
}

/*********************992 a 1199.98*******************/

@media (min-width: 992px) and (max-width: 1199.98px) {
    .bt_boxImgTipoFianzas {
        width: 450px;
    }
}

/*********************1200 a 1399.98*******************/

@media (min-width: 1200px) and (max-width: 1399.98px) {}
