/* ------------------------ */
/*           HOME           */
/* ------------------------ */

.home--content {
    padding-top: calc(100vw * 340 / 1440);
    position: relative;
    overflow: hidden;
}

/* .home__heading__variable {
    position: relative;
}

.home__heading__variable span {
    position: absolute;
    left: 0;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.home__heading__variable span.var-hidden {
    opacity: 0;
    visibility: hidden;
    position: relative;
}

.home__heading__variable span.active {
    opacity: 1;
} */

.type-cursor {
    display: inline-block;
    width: 8px;
    /* cursor més prim */
    height: 1em;
    /* alçada com el text */
    background-color: black;
    /* color del cursor */
    margin-left: 10px;
    /* separació del text */
    animation: blink 1s step-end infinite;
    vertical-align: bottom;
    /* alineació al text */
}

.home__gif {
    position: absolute;
    z-index: -1;
    right: calc(-100vw * 200 / 1440);
    top: calc(100vw * 400 / 1440);
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: center;

    margin-inline: -48px;

    width: calc(100vw * 900 / 1440);
    height: calc(100vw * 900 / 1440);
}

.home__gif img {
    display: block;
    width: 100%;
    height: 100%;
}

.home__initial {
    padding-top: calc(100vw * 310 / 1440);
/*     padding-inline: calc(90px - 48px); */
}

.home__initial__title {
    margin-bottom: calc(100vw * 130 / 1440);
}

.home__inital__top {
    width: calc(100vw * (584 * 2) / 1440);
    margin-inline: auto;
}

.home__inital__bottom {
    width: calc(100vw * (584 * 2) / 1440);
    margin-inline: auto;
}

.home__inital__top__item {
    background-color: #FAFBFD;
    border-radius: 12px;
    padding: calc(100vw * 35 / 1440);
}

.home__inital__top__item__title {
    display: flex;
    justify-content: space-between;
    margin-bottom: calc(100vw * 122 / 1440);
}

.home__inital__bottom .home__inital__top__item {
    display: flex;
    justify-content: space-between;
}

.home__inital__bottom .home__inital__top__item__title {
    margin-bottom: 0;
    width: calc(100vw * 315 / 1440);
}

.home__inital__bottom .home__inital__top__item__text {
    width: calc(100vw * 762 / 1440);
}

@media(max-width: 1440px) and (min-width: 991px) {
    .home__inital__top__item__title {
        font-size: calc(18px + (25 - 18) * ((100vw - 991px) / (1440 - 991)));
        line-height: 1.5em;
    }
}

.home__inital__top {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: calc(100vw * 35 / 1440);
    margin-bottom: calc(100vw * 35 / 1440);
}

.home__solutions {
    padding-top: calc(100vw * 146 / 1440);
}

.home__solutions__title {
    margin-bottom: calc(100vw * (49 - 23) / 1440);
}

.home__solutions__swiper {
    padding-inline: 48px;
}

.home__solutions__mobile {
    display: none;
}

.home__solutions__swiper__menu {
    background-color: #303030;
    color: #ffffff;
    border-radius: 10px;
    width: calc(100vw * 948 / 1440);
    height: 46px;
    padding-inline: calc(100vw * 60 / 1440);
    transform: translateY(50%);
    z-index: 2;
}

.home__solutions__swiper__menu .swiper-wrapper {
    width: 100%;
    justify-content: space-between;
}

.home__solutions__swiper__menu__item {
    display: flex;
    align-items: center;
    gap: 9px;
    width: auto;
    cursor: pointer;
}

.home__solutions__swiper__menu__item::before {
    content: "";
    border: 1px solid #ffffff;
    border-radius: 50%;
    height: 12px;
    width: 12px;
}

.home__solutions__swiper__menu__item.swiper-slide-thumb-active::before {
    background-color: #7CF4E3;
    box-shadow: inset 0 0 0 2px #303030;
}

.home__solutions__swiper__item {
    width: calc(100vw * (584 * 2) / 1440);
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-left: 28px;
    margin-right: 28px;
    height: calc(100vw * 710 / 1440);
    min-height: 710px;
}

.swiper-slide-prev,
.swiper-slide-next {
    cursor: pointer;
}

.home__solutions__swiper__item__left {
    background-color: #CFFBF580;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
    position: relative;
    height: 100%;
}

.home__solutions__swiper__item__left img {
    width: calc(100vw * 284 / 1440);
}

.home__solutions__swiper__item__right {
    background-color: #FAFBFD;
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
    padding-top: calc(100vw * 177 / 1440);
    padding-inline: calc(100vw * 60 / 1440);
}

.home__solutions__swiper__item__right__title {
    margin-bottom: 43px;
}

.home__solutions__swiper__item.connect img {
    width: calc(100vw * 406 / 1440);
}

.home__solutions__swiper__item.verify img {
    position: absolute;
    width: 100%;
    opacity: 0;
    transition: .3s ease;
}

.home__solutions__swiper__item.verify img.active {
    opacity: 1;
}

.home__solutions__swiper__item__right__btns {
    display: flex;
    flex-wrap: wrap;
    column-gap: 9px;
    row-gap: 13px;
    margin-top: calc(100vw * 60 / 1440);
}

.home__solutions__swiper__item__right__btn {
    border: 1px solid #000000;
    border-radius: 30px;
    padding: 15px 18px;
    padding: calc(100vw * 15 / 1440) calc(100vw * 18 / 1440);
    cursor: pointer;
    background-color: transparent;
    transition: .3s ease;
}

.home__solutions__swiper__item__right__btn.active {
    background-color: #7CF4E3;
}

.home__solutions__swiper__item.review img {
    width: calc(100vw * 328 / 1440);
}

.home__cases {
    padding-top: calc(100vw * 146 / 1440);
}

.home__cases__title {
    margin-bottom: calc(100vw * (49 - 23) / 1440);
}

.home__cases__columns {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
}

.home__cases__column-1,
.home__cases__column-2,
.home__cases__column-3 {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.home__cases__item {
    background-color: #7CF4E3;
    color: #000000;
    border-radius: 12px;
    padding: 25px 30px;
    cursor: pointer;
    transition: .4s ease;
}

.home__cases__item.close {
    background-color: #303030;
    color: #ffffff;
}

.home__cases__item__title {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.home__cases__item .line {
    color: #000000;
}

.home__cases__item .cross {
    display: none;
}

.home__cases__item.close .line {
    display: none;
}

.home__cases__item.close .cross {
    display: block;
}

.home__cases__item__text {
    overflow: hidden;
    opacity: 1;
    transition: height 0.3s ease 0.2s, opacity 0.4s ease;
}

.home__cases__item.close .home__cases__item__text {
    opacity: 0;
}

.home__cases__item__text p {
    margin-bottom: calc(100vw * 20 / 1440);
}

.home__cases__item__text__inner {
    min-height: 310px;
}

.home__cases__item.close .home__cases__item__text {
    height: 0;
}

.home__contact__inner {
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
    padding: 75px;
    position: relative;
}

.home__contact__text {
    width: calc(100vw * 600 / 1440);
    margin-bottom: calc(100vw * 90 / 1440);
}

.home__contact__link {
    display: block;
    border: 2px solid #000000;
    width: max-content;
    border-radius: 8px;
    padding: 15px 40px 20px;
}

.home__contact__link-2 {
    display: none;
}

.home__contact__img {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
}

.home__contact__img-2 {
    display: none;
}

.home__trusted {
    padding-top: calc(100vw * 146 / 1440);
    margin-bottom: calc(100vw * 64 / 1440);
}

.home__trusted__title {
    margin-bottom: 0;
}

.home__trusted__slider {
    overflow: hidden;
    white-space: nowrap;
    position: relative;

    display: flex;
    align-items: center;
}

.home__trusted__slider:hover .home__trusted__slide {
/*     animation-play-state: paused; */
}

.home__trusted__slide {
    display: inline-block;
    animation: 80s slide infinite linear;

    display: flex;
    align-items: center;
}

.home__trusted__slide img {
    width: 160px;
    margin: 0 35px;
/*     object-fit: contain;
    max-height: 90px; */
    height: auto;
}

.home__trusted__slide-2 {
    animation: 30s slide infinite linear;
}

.home__trusted__title-2 {
    line-height: 48px;
    margin-bottom: 60px;
}









@media(min-width: 1440px) {
    .type-cursor {
        width: calc(100vw * 8 / 1440);
        margin-left: calc(100vw * 10 / 1440);
    }
}

@media(max-width: 991px) {
    .home--content {
        padding-top: 210px;
    }

    .home__initial {
        padding-top: 200px;
    }

    .home__initial__title {
        margin-bottom: 60px;
    }

    .home__inital__top {
        width: 100%;
    }

    .home__inital__bottom {
        width: 100%;
    }

    .type-cursor {
        display: inline-block;
        width: 5px;
        /* cursor més prim */
        height: 1em;
        /* alçada com el text */
        background-color: black;
        /* color del cursor */
        margin-left: 7px;
        /* separació del text */
        animation: blink 1s step-end infinite;
        vertical-align: bottom;
        /* alineació al text */
    }

    .home__inital__top__item__title {
        line-height: 32px;
    }

    .home__inital__top {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .home__inital__top__item {
        padding: 30px;
    }

    .home__inital__bottom .home__inital__top__item {
        display: block;
    }

    .home__inital__bottom .home__inital__top__item__title {
        margin-bottom: calc(100vw * 122 / 1440);
        width: unset;
    }

    .home__inital__bottom .home__inital__top__item__text {
        width: unset;
    }

    .home__gif {
        margin-inline: -25px;
    }

    /*** SOLUTIONS ***/

    .home__solutions__swiper {
        display: none;
    }

    .home__solutions__mobile {
        display: flex;
        flex-direction: column;
    }

    .home__solutions__mobile__item {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .home__solutions__mobile__item__btn {
        border-radius: 12px;
        border: 2px solid #000000;
        height: 75px;
        display: flex;
        align-items: center;
        gap: 20px;
        padding-inline: 28px;
    }

    .home__solutions__mobile__item__btn .circle {
        height: 18px;
        width: 18px;
        border-radius: 50%;
        border: 2px solid #000000;
    }

    .home__solutions__mobile__item.open .circle {
        background-color: #7CF4E3;
        box-shadow: inset 0 0 0 3px #ffffff;
    }

    .home__solutions__mobile__item__content {
        height: 0;
        overflow: hidden;
        transition: height 0.8s ease;
    }

    .home__solutions__mobile__item__content__inner {
        display: flex;
        flex-direction: column;
        gap: 19px;
    }

    .home__solutions__mobile__item__text {
        background-color: #F6F8FB;
        border-radius: 12px;
        padding: 58px 30px;
    }

    .home__solutions__mobile__item__text .title {
        margin-bottom: 25px;
    }

    .home__solutions__mobile__item__text .first-p {
        margin-bottom: 20px;
    }

    .home__solutions__mobile__item__text p {
        margin-bottom: .5em;
    }

    .home__solutions__mobile__item__text .btns {
        display: flex;
        flex-wrap: wrap;
        column-gap: 9px;
        row-gap: 7px;
        margin-top: 55px;
    }

    .home__solutions__mobile__item__text .btns .home__solutions__swiper__item__right__btn {
        padding: 13px 15px;
    }

    .home__solutions__mobile__item__img {
        background-color: #E2F8F5;
        height: 494px;
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        padding-inline: 30px;
        margin-bottom: 16px;
    }

    .home__solutions__mobile__item__img img {
        display: block;
        object-fit: contain;
        height: 100%;
        max-width: 100%;
    }

    .home__solutions__mobile__item__img.verify img {
        opacity: 0;
        transition: .3s ease;
    }

    .home__solutions__mobile__item__img.verify img.active {
        opacity: 1;
    }

    .home__solutions__mobile__item__img.flow img {
        width: 221px;
    }

    .home__solutions__mobile__item__img.connect img {
        width: 279px;
    }

    .home__solutions__mobile__item__img.verify img {
        width: 100%;
        position: absolute;
    }

    .home__solutions__mobile__item__img.review img {
        width: 260px;
    }

    /*** CASES ***/

    .home__cases__columns {
        grid-template-columns: 1fr;
        gap: 13px;
    }

    .home__cases__column-1,
    .home__cases__column-2,
    .home__cases__column-3 {
        gap: 13px;
    }

    .home__cases__item {
        background-color: #303030;
        color: #ffffff;
        display: flex;
        flex-direction: column-reverse;
    }

    .home__cases__item.open {
        background-color: #7CF4E3;
        color: #000000;
    }

    .home__cases__item__text__inner {
        min-height: unset;
        padding-top: 85px;
    }

    .home__cases__item.close .home__cases__item__text {
        height: unset;
        opacity: 1;
    }

    .home__cases__item .line {
        display: none;
    }

    .home__cases__item.open .line {
        display: block;
    }

    .home__cases__item .cross {
        display: block;
    }

    .home__cases__item.open .cross {
        display: none;
    }

    .home__contact__inner {
        padding: 60px 25px 90px;
        border-bottom-left-radius: 0;
        border-top-right-radius: 12px;
    }

    .home__contact__text {
        width: 100%;
        margin-bottom: unset;
    }

    .home__contact__img,
    .home__contact__link {
        display: none;
    }

    .home__contact__img-2 {
        display: block;
        width: 100%;
        min-height: 100%;
        /*object-fit: cover;*/
        height: 100%;
    }

    .home__contact__link-2 {
        display: block;
        border: 2px solid #000000;
        width: calc(100% - 26px - 26px);
        border-radius: 8px;
        padding: 15px 40px 20px;
        position: absolute;
        z-index: 10;
        bottom: 47px;
        left: 26px;
        text-align: center;
    }

    .home__contact__bottom {
        height: 244px;
        position: relative;
        margin-top: -2px;
        border-bottom-right-radius: 12px;
        border-bottom-left-radius: 12px;
        overflow: hidden;
    }

    .home__trusted {
        padding-top: 95px;
        margin-bottom: 105px;
    }

    .home__trusted__slider:hover .home__trusted__slide {
        animation-play-state: unset;
    }
}


@media(max-width: 620px) {
    .home__initial {
        padding-inline: 25px;
    }

    .home__initial__title {
        text-align: left;
    }

    .home__inital__top__item__title,
    .home__inital__bottom .home__inital__top__item__title {
        flex-direction: column-reverse;
        gap: 42px;
        margin-bottom: 10px;
    }

    .home__gif {
        width: calc(100vw * 350 / 393);
        height: calc(100vw * 350 / 393);
        top: calc(100vw * 260 / 393);
    }

    #asterisk-animation {
        width: 100% !important;
        height: 100% !important;
    }
}

@media(max-width: 430px) {
    .home__gif {
        top: calc(100vw * 360 / 393);
    }

    .home__trusted__slide img {
        width: 210px;
    }
}



@keyframes blink {

    0%,
    100% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }
}

@keyframes slide {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}