#beneficios {
    background-color: #27067f;
    font-size: clamp(1.4rem, 2.3vw, 1.6rem);
    padding: 5em 0;
    /* min-height: 100vh; */
    display: flex;
    align-items: center;
    /* display: none; */
    position: relative;
}

#beneficios ul {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 1.2em;
    row-gap: 1.2em;
}

#beneficios ul li {
    background-color: #fff;
    border-radius: 1em;
    padding: 1em;
    position: relative;
    min-height: 10em;
}

#beneficios ul li:before {
    content: "";
    position: absolute;
    top: -0.6em;
    left: 1.2em;
    width: 3em;
    height: 0.6em;
    background-color: #a780f5;
    border-top-left-radius: 1em;
    border-top-right-radius: 1em;
    z-index: 0;
}

#beneficios ul li h3 {
    font-size: 0.9em;
    line-height: 1.2em;
    display: flex;
    align-items: center;
    gap: 0.4em;
    background-color: #e8d8ff;
    padding: 0.3em 0.4em;
    border-radius: 0.6em;
    font-weight: 600;
    margin-bottom: 1em;
}

#beneficios ul li img {
    width: 1.8em;
    width: 1.8em;
}

#beneficios ul li p {
    font-size: 0.65em;
    line-height: 1.3sem;
    padding: 0 0.4em;
    font-weight: 500;
}

/* Animation: animate padding-bottom between 0.5em and 0.3em */
@keyframes lr-breathe {
    from {
        right: 2.2em;
        opacity: 0;
    }

    to {
        right: 1.2em;
        opacity: 0.5;
    }
}

@media screen and (max-width: 740px) {
    #beneficios {
        overflow-x: scroll;
        position: relative;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    #beneficios::-webkit-scrollbar {
        width: 0;
        height: 0;
    }

    #beneficios .pageWidth {
        width: auto;
        max-width: none;
        display: flex;
    }

    #beneficios ul {
        display: flex;
        column-gap: 1.2em;
        row-gap: 1.2em;
        flex-wrap: nowrap;
        width: auto;
    }

    #beneficios ul li {
        width: 14em;
    }
}

/* Finni */
#finni {
    background-color: #01102f;
    color: #fff;
    font-size: clamp(1.1rem, 2.3vw, 1.6rem);
    padding: 5em 0 0 0;
    /* display: none; */
    position: relative;
}

#finni .pageWidth {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#finni .wrapper {
    display: flex;
    gap: 6em;
    margin-bottom: 2em;
    align-items: flex-start;
}

#finni .wrapper .descripcion {
    border: 2px solid #fff;
    border-radius: 1em;
    max-width: 13em;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#finni .wrapper .descripcion h2 {
    padding: 1em 1em 0 1em;
}

#finni .wrapper .descripcion img {
    width: 6em;
    align-self: center;
}

#finni .wrapper .descripcion .ia {
    background-image: url(finni/hoja.svg);
    background-repeat: repeat-x;
    background-size: contain;
    background-position: center center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5em;
    transform: rotate(0deg);
    will-change: transform;
    transition: transform 2000ms cubic-bezier(0.22, 0.9, 0.35, 1);
    margin-bottom: -1em;
}

#finni .wrapper .descripcion .ia.is-visible {
    transform: scale(1.05) rotate(-2.6deg);
}

@media (prefers-reduced-motion: reduce) {
    #finni .wrapper .descripcion .ia {
        transition: none;
        transform: none;
    }

    #finni .wrapper .descripcion .ia.is-visible {
        transform: none;
    }
}

#finni .wrapper .descripcion .ia h3 {
    background-color: #ff4131;
    font-weight: 600;
    font-size: 1em;
    padding: 0.3em 1em;
    border-radius: 1em;
    margin-bottom: 0.4em;
    transform: translateX(-2.8em);
}

#finni .wrapper .descripcion .ia p {
    color: #000;
    font-size: 0.7em;
    line-height: 1.3em;
}

#finni .wrapper .caracteristicas {
    display: flex;
    flex-direction: column;
    gap: 0.75em;
    width: 17em;
}

#finni .wrapper .caracteristicas li {
    /* Use a double background technique to simulate a 2px gradient border
     around the whole element while preserving border-radius.
     The first background is the element fill, the second is the gradient
     used as the border (background clipped to border-box). */
    background-image: linear-gradient(#551b30, #551b30), linear-gradient(to right, #ff4131 0%, #551b30 70%);
    background-origin: padding-box, border-box;
    background-clip: padding-box, border-box;
    border: 2px solid transparent;
    /* allows border-box background to show */
    border-radius: 1em;
    padding: 1em 2em 1em 1.6em;
    display: flex;
    align-items: center;
    gap: 1em;
    font-size: 0.72em;
    line-height: 1.4em;
    font-weight: 500;
}

#finni .wrapper .caracteristicas li i {
    color: #ff4131;
}

#finni .wrapper .caracteristicas img {
    width: 3.1em;
    height: 3.1em;
}

#finni .cta a {
    font-size: 0.7em;
    font-weight: 400;
    background-color: #f95440;
    color: #fff;
    transition: all 0.2s;
    display: inline-block;
    border-radius: 5em;
    padding: 1.5em 2.3em;
}

#finni .cta a:hover {
    background-color: #ff3f01;
}

#finni .flecha {
    width: 1.2em;
    position: absolute;
    top: -2.8em;
    right: 1.2em;
    animation: lr-breathe 1.5s ease-in-out infinite;
    display: none;
}

/* Clase aplicada por JS cuando #beneficios está en el límite derecho del scroll */
#finni .flecha.hidden-by-scroll {
    display: none !important;
}

@media screen and (max-width: 860px) {
    #finni .wrapper {
        gap: 3em;
    }
}

@media screen and (max-width: 700px) {
    #finni .wrapper {
        flex-direction: column;
        align-items: center;
    }

    #finni .flecha {
        display: block;
    }
}

/* Honor user's reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    #finni .flecha {
        animation: none;
    }
}

/* Ideal */
#ideal {
    background-color: #01102f;
    color: #fff;
    font-size: clamp(1.1rem, 2.5vw, 1.6rem);
    padding: 5em 0;
    /* display: none; */
}

#ideal .pageWidth {
    display: flex;
    align-items: center;
}

#ideal .wrapper {
    display: flex;
    align-items: center;
    gap: 3em;
    margin: 0 auto;
}

#ideal h2 {
    font-weight: 600;
    font-size: 2em;
    margin-bottom: 0.5em;
}

#ideal h2 span {
    color: #ad7efc;
    background-image: url(ideal/trazo.gif);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center center;
    padding: 0.35em 0.5em;
}

#ideal ul {
    display: flex;
    flex-direction: column;
    gap: 0.6em;
    width: 16em;
    margin-left: 1.2em;
}

#ideal ul li {
    background-color: #27067f;
    border-radius: 3em;
    padding: 0.8em 2em 0.8em 2.6em;
    display: flex;
    align-items: center;
    gap: 1em;
    font-size: 0.72em;
    line-height: 1.4em;
    font-weight: 500;
    position: relative;
}

#ideal ul li b {
    color: #ad7efc;
    font-weight: 500;
}

#ideal ul li img {
    position: absolute;
    top: 50%;
    left: -0.4em;
    width: 2.5em;
    height: 2.5em;
    transform: translateY(-50%);
}

#ideal ul li:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 3.4em;
    left: 0.75em;
    width: 0.2em;
    height: 2.9em;
    background-color: #a780f5;
    z-index: 1000;
}

@media screen and (max-width: 700px) {
    #ideal {
        padding: 5em 0 2em 0;
    }

    #ideal .wrapper {
        flex-direction: column;
        gap: 1em;
    }

    #ideal .animacion {
        max-width: 300px;
    }

    #ideal ul {
        margin-left: 0em;
    }
}

/* Logo */
#quipposLogo {
    background-color: #a282ef;
    padding: clamp(30px, 8.5vw, 80px) 30px;
    font-size: clamp(3.4rem, 7.9vw, 3.6rem);
    display: flex;
    justify-content: center;
    /* display: none; */
}

#quipposLogo picture {
    display: flex;
}

#quipposLogo img {
    width: 15em;
    max-width: 100%;
}

/* Equipo */
#equipo {
    font-size: clamp(0.1rem, 4.9vw, 10rem);
    position: relative;
    /* display: none; */
    /* max-height: 8em; */
    overflow: hidden;
}

#equipo picture {
    display: flex;
}

#equipo picture img {
    width: 100%;
}

#equipo .ui {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
}

#equipo .ui .wrapper {
    width: 100%;
    max-width: 1100px;
    max-width: 19em;
    position: relative;
    /* margin-top: .35em; */
}

#equipo .ui .menu {
    position: absolute;
    left: 2em;
    top: 1.9em;
    width: 2.6em;
}

#equipo .ui .crear {
    position: absolute;
    left: 1em;
    top: 4em;
    width: 2.6em;
}

#equipo .ui .reaccionar {
    position: absolute;
    left: 4.1em;
    top: 5.6em;
    width: 1.9em;
}

#equipo .ui .comentar {
    position: absolute;
    left: 6.15em;
    top: 5.6em;
    width: 1.9em;
}

#equipo .ui .cumple {
    position: absolute;
    left: 12.8em;
    top: 2em;
    width: 2.8em;
}

#equipo .ui .recibo {
    position: absolute;
    left: 13.8em;
    top: 3.3em;
    width: 3.4em;
}

#equipo .ui .firma {
    position: absolute;
    left: 13.8em;
    top: 4.2em;
    width: 3.4em;
}

#equipo .ui .documentacion {
    position: absolute;
    left: 13.8em;
    top: 5.1em;
    width: 3.4em;
}

@media screen and (max-width: 480px) {
    #equipo .ui .menu {
        left: 10em;
        top: 6.6em;
        width: 8.6em;
    }

    #equipo .ui .crear {
        left: 0.45em;
        top: 7.5em;
        width: 6.6em;
    }

    #equipo .ui .reaccionar {
        left: 1.3em;
        top: 27.9em;
        width: 6.4em;
    }

    #equipo .ui .comentar {
        left: 11em;
        top: 27.9em;
        width: 6.4em;
    }

    #equipo .ui .cumple {
        left: 11em;
        top: 25.48em;
        width: 6.4em;
    }

    #equipo .ui .recibo {
        left: 1.3em;
        top: 22.3em;
        width: 6.4em;
    }

    #equipo .ui .firma {
        left: 1.3em;
        top: 23.9em;
        width: 6.4em;
    }

    #equipo .ui .documentacion {
        left: 1.3em;
        top: 25.5em;
        width: 6.4em;
    }
}

/* Futuro */
#futuro {
    background-color: #27067f;
    padding: clamp(30px, 8.5vw, 80px) 10px;
    font-size: clamp(2.6rem, 5.8vw, 3.6rem);
    display: flex;
    justify-content: center;
    color: #fff;
    /* display: none; */
}

#futuro .wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1em;
}

#futuro .iso {
    display: flex;
}

#futuro img {
    width: 5.8em;
}

#futuro .data {
    font-size: 0.4em;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
    text-align: right;
}

#futuro .data h2 {
    max-width: 18em;
    font-weight: 500;
    line-height: 1.3em;
    margin-bottom: 0.5em;
}

#futuro .data h2 br {
    display: none;
}

#futuro .data h2 span {
    color: #a780f5;
}

#futuro .data p {
    font-size: 0.83em;
    max-width: 22em;
    font-weight: 500;
    line-height: 1.3em;
    margin-bottom: 1.8em;
}

#futuro .data a {
    font-size: 0.7em;
    font-weight: 400;
    background-color: #6e42c8;
    color: #fff;
    transition: background-color 0.2s;
    display: inline-block;
    border-radius: 5em;
    padding: 1.5em 2.3em;
}

#futuro .data a:hover {
    background-color: #a282ef;
}

@media screen and (max-width: 700px) {
    #futuro .pageWidth {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    #futuro .wrapper {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: space-between;
        gap: 0.5em;
    }

    #futuro .data {
        text-align: left;
        align-items: flex-start;
    }

    #futuro img {
        width: 2.6em;
    }

    #futuro .data a {
        font-size: 0.85em;
        font-weight: 500;
        padding: 0.8em 1.8em;
    }

    @media screen and (max-width: 500px) {
        #futuro .data h2 br {
            display: initial;
        }
    }

    @media screen and (max-width: 350px) {
        #futuro .data p br {
            display: none;
        }
    }
}

/* Acerca */
#acerca {
    background-color: #8492fd;
    padding: clamp(30px, 8.5vw, 130px) 10px;
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    display: flex;
    justify-content: center;
    color: #fff;
    /* display: none; */
}

#acerca .wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    margin-bottom: 1em;
}

#acerca .wrapper h2 {
    font-size: 1.1em;
    line-height: 1.1em;
    font-weight: 600;
}

#acerca .wrapper .descripcion {
    display: flex;
    flex-direction: column;
    gap: 0.5em;
}

#acerca .wrapper p {
    font-size: 0.38em;
    line-height: 1.3em;
    font-weight: 400;
}

#acerca .isoIndicadores img {
    width: 0.9em;
}

#acerca .isoIndicadores {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
}

#acerca .isoIndicadores .indicadores {
    padding: 0.2em 0.3em;
    background-color: #798cf8;
    display: flex;
    justify-content: center;
    gap: 0.8em;
    border-radius: 0.25em;
    font-weight: 500;
}

#acerca .isoIndicadores .indicadores li {
    display: flex;
    flex-direction: column;
    text-align: center;
}

#acerca .isoIndicadores .indicadores .numero {
    font-size: 0.6em;
}

#acerca .isoIndicadores .indicadores .tipo {
    font-size: 0.2em;
}

@media screen and (max-width: 768px) {
    #acerca .pageWidth {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    #acerca .wrapper {
        display: flex;
        flex-direction: column;
        gap: 0.9em;
        max-width: 450px;
        margin-bottom: 1em;
    }

    #acerca .wrapper h2 {
        background-image: url(iso_finnegans.svg);
        background-repeat: no-repeat;
        background-size: 1.4em auto;
        background-position: right center;
        font-size: 0.9em;
    }

    #acerca .isoIndicadores img {
        display: none;
    }

    #acerca .isoIndicadores {
        display: flex;
        flex-direction: column;
        width: 100%;
        max-width: 450px;
    }

    #acerca .isoIndicadores .indicadores {
        width: 100%;
    }
}

/* Clientes */
#clientes {
    padding: 0.6em 0;
    font-size: clamp(3.4rem, 7.9vw, 3.6rem);
}

/* SLIDER ====================================================== */
.bx-wrapper, .bx-window {
    width: 100% !important;
}

#slider {
    list-style: none;
    padding: 0px;
    display: flex;
    align-items: center;
    transform: scale(0.5);
}

.slider-container {
}

#slider li {
    margin: 0 25px;
    display: flex;
    align-items: center;
    width: auto !important;
}

#slider picture {
    display: flex;
}

#slider img {
}

/* Footer */
footer {
    font-size: clamp(1.55rem, 3.8vw, 2.2rem);
    border-top: 2px solid #fff;
    color: #fff;
    background-color: #04102d;
    padding: 70px 0;
    padding: clamp(35px, 8.5vw, 70px) 0;
    /* display: none; */
}

footer .pageWidth {
    display: flex;
    align-items: center;
    gap: 30px;
    gap: 0.9em;
}

footer .logo {
    display: flex;
    width: 250px;
    width: 7.1em;
}

footer .areas {
    display: flex;
    justify-content: center;
    gap: 1em;
    flex: 1;
}

footer .areas li {
    font-size: 0.5em;
}

footer .areas li a {
    color: #fff;
    font-weight: 600;
    transition: color 0.2s;
}

footer .areas li a:hover {
    color: #ad7efc;
}

footer .pageWidth .social {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
    gap: 0.55em;
}

footer .pageWidth .social a {
    font-size: 30px;
    font-size: 0.85em;
    color: #fff;
    transition: color 0.2s;
}

footer .pageWidth .social a i {
    font-family: "Line Awesome Brands" !important;
}

footer .pageWidth .social a span {
    display: none;
}

footer .pageWidth .social a:hover {
    color: #4bc3fe;
}

footer a {
    color: #fff;
}

footer .volverArriba {
    width: 190px;
    width: 5.4em;
    height: auto;
    display: flex;
    transition: all 0.2s;
    opacity: 1;
}

footer .volverArriba:hover {
    opacity: 0.7;
}

@media screen and (max-width: 1040px) {
    footer .pageWidth {
        flex-direction: column;
    }
}

/* Gracias */
#gracias {
    background-color: #e8d8ff;
    color: #fff;
    font-size: clamp(1.1rem, 2.3vw, 1.6rem);
    padding: 1em;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

#gracias .box {
    background-color: #27067f;
    height: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 2.5em;
    padding: 1em;
    text-align: center;
}

#gracias .box img {
    max-width: 18em;
    margin-bottom: 2em;
}

#gracias .box h2 {
    font-size: clamp(2.0rem, 11vw, 4.9rem);
    font-weight: 600;
    color: #9a69f9;
    margin-bottom: 0.4em;
}

#gracias .box p {
    font-weight: 500;
    margin-bottom: 2em;
    font-size: clamp(0.2rem, 3.8vw, 1.6rem);
    max-width: 21em;
}

#gracias .box a {
    font-size: 0.7em;
    font-weight: 400;
    background-color: #6e42c8;
    color: #fff;
    transition: background-color 0.2s;
    display: inline-block;
    border-radius: 5em;
    padding: 1.1em 2em;
}

#gracias .box a:hover {
    background-color: #a282ef;
}
