@import url(style-financiero.css);
/*----- Barra de navegación ------*/

.main nav.link-financiero.nav-credito li {
    font-size: 1.1rem;
    padding: 15px 50px;
}

.main nav.link-financiero.nav-credito li:nth-child(2)::before,
.main nav.link-financiero.nav-credito li:nth-child(1)::before {
    margin: auto;
    content: "";
    display: none;

}

.main nav.link-financiero.nav-credito li {
    float: inline-start;

}


/*------ banner estatico -------*/

.main .banner-principal {
    margin-top: 50px;
}

.main .banner-principal .grid-contenedor {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.main .banner-principal .banner-principal__info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 49%;
    text-align: left;
    padding: 20px 30px 20px 0;
}

.main .banner-principal .banner-principal__info h1 {
    margin-top: 0px;
}

.main .banner-principal .banner-principal__info p {
    font-size: var(--font--size--p--L);
}

.main .banner-principal .banner-principal__imagen {
    width: 50%;
    height: 400px;
}

.main .banner-principal__imagen img {
    height: 100%;
}

/*----- Beneficios -----*/

.main .beneficios-credito .swiper {
    padding: 15px 5px;
}

.main .card--icon strong {
    color: var(--color--neutral--100);
    font-size: var(--font--size--p--L);
    font-weight: var(--font--weight--bold);
}

.main .card--icon {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 0px 5px 3px rgba(0, 0, 0, 0.1);
    min-height: 220px;
}

.main .card--icon img {
    width: 60px;
    margin: 0 auto;
}

.main .card--icon p {
    font-size: 1.1rem;
    margin: 0;
}

/*---- Informacion e imagen ----*/
.main .texto-galeria {

    background-image: url(/CupoYa/img/ellipse-fondo.svg);
    background-size: 25%;
    background-repeat: no-repeat;
    background-position: top right;
}

.main .texto-galeria__info {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    min-height: 320px;
    width: 45%;
    text-align: left;
    padding-right: 30px;
}

.main .texto-galeria__imagen {
    width: 55%;
}

.main .texto__nota {
    width: 100%;
    border-top: solid 1px var(--color--neutral--50);
    text-align: left;
    font-size: 14px;
    padding-top: 15px;
    padding-right: 30px;
}

.main a {
    color: var(--color--main);
    font-weight: 500;
}

.main .texto-galeria__imagen__item img {
    width: 75%;
}

.main .titulo-paso {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 85%;
    margin: 20px auto;
}

.main .titulo-paso p {
    width: 80%;
    font-size: 1.6em;
    font-weight: var(--font--weight--medium);
    text-align: left;
    line-height: normal;
}

.main .titulo-paso span {
    padding-top: 10px;
    background-color: var(--color--main);
    height: 55px;
    width: 55px;
    border-radius: 50%;
    margin-right: 15px;
    font-size: 2rem;
    font-weight: bold;
    color: var(--color--neutral--0);

}

/*-------- Carrousel Productos ----------*/

.main .carrousel-productos .swiper {
    padding: 15px 35px;
}

.main .carrousel-productos .swiper-slide a {
    text-decoration: none;
}

.main .carrousel-productos .swiper-slide a:hover .producto__contenedor__item {
    background-color: var(--color--background--naranja);

}

.main .carrousel-productos .producto__contenedor__item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 15px 25px;
    border-radius: 15px;
    box-shadow: 0 0px 15px rgba(0, 0, 0, 0.2);
    min-height: 220px;
    text-align: left;
    transition: 1s;
}

.main .carrousel-productos .producto__contenedor__item img {
    width: 60px;
    margin: 0;
}

.main .carrousel-productos .producto__contenedor__item p {
    font-size: 1.1rem;
    margin: 0;
}

.main .carrousel-productos .producto__contenedor__item h3 {
    font-size: 1.4rem;
    margin: initial;
}

.swiper-button-next,
.swiper-rtl .swiper-button-prev {
    right: var(--swiper-navigation-sides-offset, -10px);
    left: auto;
}


/*----------- Laptop LG 1400px ----------*/
@media screen and (max-width: 1440px) {

    /* Mensaje */
    .main .info-alert-primary {
        padding: 30px 30px;
    }

    .main .info-alert-primary li {
        line-height: 1.4rem !important
    }


    .main .carrousel-productos .producto__contenedor__item img {
        width: 50px;
    }
}

/*----------- Tablet LG 1024px ----------*/
@media screen and (max-width: 1024px) {

    /*Menu*/

    .main nav.link-credito li {
        width: 100%;

    }


    /*Banner principal */

    .main .banner-principal .banner-principal__info {
        width: 45%;
        padding: 20px 0px 50px 0;
    }

    .main .banner-principal .banner-principal__imagen {
        width: 55%;
    }

    .main .banner-principal__imagen img {
        width: 100%;
        object-position: bottom;
        object-fit: contain;
    }

    /* Paso a paso */
    .main .texto-galeria__info {

        justify-content: center;
        width: 100%;
        text-align: center;
        padding-right: 0px;
    }

    .main .texto-galeria__info>.button {
        margin: 15px auto 0;
    }

    .main .texto__nota {
        text-align: center;
    }

    .main .texto-galeria__imagen {
        width: 80%;
        margin: auto;
        margin-top: 30px;
    }

    /*Tabs*/

    .main .info-tab__cont__title {
        width: 70%;
    }

    .main .info-tab__cont__tasa span {
        width: 120px;
        height: 120px;
        font-size: 1.2rem;
    }

}

/* Tablet */
@media screen and (max-width: 820px) {

    .main .texto-galeria {
        background-image: none;
    }

    /*banner principal*/
    .main .banner-principal .banner-principal__info {
        width: 100%;
        order: 2;
        align-items: center;
        text-align: center;
    }

    .main .banner-principal .banner-principal__imagen {
        width: 100%;
        height: auto;
        order: 1;
    }

    .main .banner-principal .banner-principal__imagen img {
        width: 65%;
    }

    .main .titulo-paso p {
        font-size: 1.3em;
    }

    /*tabs*/

    .main .info-tab__cont {
        padding-top: 25px;
    }

    .main .info-tab__nav__item {
        margin: 0 15px;
    }

    .main .info-tab__cont__title {
        width: 95%;
        margin-top: 20px;
    }

    .main .info-tab__cont__img {
        display: none;
    }

    .main .carrousel-productos .producto__contenedor__item {
        min-height: 200px;

    }

}


/* MOBILE */
@media screen and (max-width: 520px) {


    .main nav.link-financiero.nav-credito li:nth-child(2)::before, .main nav.link-financiero.nav-credito li:nth-child(1)::before {
        margin: 0;
    }

    .main .banner-principal .banner-principal__imagen img {
        width: 95%;
    }

    .main .banner-principal {
    margin-top: 55px;
}

    .main .miga-pan {
        display: none;
    }

    .main .card--icon {
        min-height: 200px;
    }

    .main .swiper .swiper-slide .card--icon img {
        width: 60px;

    }

    .main .texto-galeria__imagen {
        width: 100%;

    }

    .main .swiper .swiper-slide img {
        width: 90%;
    }

    .main .titulo-paso {
        width: 100%;
          margin: 30px auto 0;

    }
.main .carrousel-productos .producto__contenedor__item h3 {
    font-size: 1.1rem;
}
    .main .card--icon strong {

        font-size: 1.2rem;
    }

    .main .titulo-paso p {
        width: 75%;
    }

    .main .titulo-paso p {
        font-size: 1.2em;
    }

    .main .info-tab__nav {
        flex-wrap: wrap;
    }

    .main .info-tab__cont table td {
        padding-right: 10px;
    }

    .main .info-tab__nav__item {
        width: 40%;
    }

    .main .info-tab__cont__img {
        display: block;
        width: 55%;
    }

    .main .info-tab__cont {
        padding-top: 0px;
    }

    .main .info-tab__cont__tasa {
        width: 100%;
        border: 0px;
    }

    .main .carrousel-productos .producto__contenedor__item img {
        width: 60px !important;
    }

    .swiper-carrousel-productos-icono.producto__contenedor {
        margin-top: 0;

    }

    .main .texto__nota {
        padding-right: 0px;
        margin-top: 30px;
    }



}