.horizontal.steps {
    --horizontal-gap: 75px;
    --horizontal-circle: 75px;
    --horizontal-gradient: linear-gradient(180deg, #7B13FF 0%, #5DD5FF 100%);
    --horizontal-gradient-text: linear-gradient(141deg, #7B13FF 13.38%, #5CDCFF 96.85%);
    --horizontal-gradient-border: linear-gradient(149deg, #7B13FF 19.28%, #5CDCFF 119.47%);

    background: transparent;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding-top: 40px;
    padding-bottom: 40px;
}

.horizontal.steps .horizontal-title {
    color: #141516;
    font-size: 42px;
    font-style: normal;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.8px;
    margin-bottom: 15px;
}

.horizontal.steps .horizontal-subtitle {
    margin-top: 25px;
    font-size: 22px;
    font-style: normal;
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.2px;
    color: rgba(11, 11, 11, 0.7);
}

.horizontal.steps .horizontal-subtitle p {
    margin: 0;
}

.horizontal.steps .horizontal-items {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: var(--horizontal-gap);
    margin-top: 89px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
}

.horizontal.steps .horizontal-items::-webkit-scrollbar {
    display: none;
}

.horizontal.steps .horizontal-items .item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 0 0 calc((100% - var(--horizontal-gap) * 2) / 3);
    min-width: 333px;
    box-sizing: border-box;
}

.horizontal.steps .horizontal-items .item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: calc(var(--horizontal-circle) / 2);
    left: var(--horizontal-circle);
    width: calc(100% - var(--horizontal-circle) + var(--horizontal-gap));
    height: 1.5px;
    transform: translateY(-50%);
    pointer-events: none;
    background-image: repeating-linear-gradient(90deg,
            #7B13FF 0 7px,
            transparent 7px 13px);
    background-size: 13px 100%;
    background-repeat: repeat-x;
    -webkit-mask-image: var(--horizontal-gradient-border);
    mask-image: var(--horizontal-gradient-border);
    transition: height .3s, background-image .3s;
    animation: horizontal-dash-scroll 0.7s linear infinite;
}

.horizontal.steps .horizontal-items .item.is-active:not(:last-child)::after {
    height: 2px;
    background-image: repeating-linear-gradient(90deg,
            #7B13FF 0 7px,
            transparent 0 0);
    background-size: 100% 100%;
    animation: none;
}

@keyframes horizontal-dash-scroll {
    from {
        background-position: 0 0;
    }

    to {
        background-position: 13px 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .horizontal.steps .horizontal-items .item:not(:last-child)::after {
        animation: none;
    }
}

.horizontal.steps .horizontal-items .item .number {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: var(--horizontal-circle);
    height: var(--horizontal-circle);
    flex-shrink: 0;
    border-radius: 91px;
    background: transparent;
    box-shadow: none;
    border: none;
    transition: background 0.3s ease;
}

.horizontal.steps .horizontal-items .item .number::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 2px;
    background: var(--horizontal-gradient-border);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.horizontal.steps .horizontal-items .item .number span {
    position: relative;
    z-index: 1;
    font-family: "Cera Pro";
    font-size: 32px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    letter-spacing: -0.256px;
    background: var(--horizontal-gradient-text);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: background 0.3s ease, color 0.3s ease, -webkit-text-fill-color 0.3s ease;
}

.horizontal.steps .horizontal-items .item.is-active .number {
    background: var(--horizontal-gradient);
}

.horizontal.steps .horizontal-items .item.is-active .number::before {
    opacity: 0;
}

.horizontal.steps .horizontal-items .item.is-active .number span {
    background: none;
    -webkit-text-fill-color: #fff;
    color: #fff;
}

.horizontal.steps .horizontal-items .item .item-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 21px;
    padding-right: 10px;
}

.horizontal.steps .horizontal-items .item .title {
    font-family: "Cera Pro";
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 1.054;
    letter-spacing: -0.504px;
    color: #000;
}

.horizontal.steps .horizontal-items .item .desc {
    margin: 0;
    font-family: "Cera Pro";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: -0.504px;
    color: rgba(11, 13, 19, 0.7);
}

.horizontal.steps .horizontal-items.slider-active {
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
}

.horizontal.steps .horizontal-items.slider-active:active {
    cursor: grabbing;
}

.horizontal.steps .swiper-scrollbar {
    display: none !important;
    position: static;
    margin: 37px auto 30px;
    border-radius: 36px;
    background-color: #f3f3f3;
    width: 164px;
    height: 9px;
}

.horizontal.steps .swiper-scrollbar .swiper-scrollbar-drag {
    border-radius: 20px;
    background-color: #f3154a;
    box-shadow: 0 4px 22px rgba(255, 86, 127, .34);
    height: 13px;
    position: relative;
    top: -2px;
    cursor: pointer;
    will-change: transform;
}

.horizontal.steps .horizontal-desc {
    margin-top: 36px;
    max-width: 667px;
    font-family: "Cera Pro";
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.286;
    letter-spacing: -0.112px;
    color: #77797f;
}

.horizontal.steps .horizontal-desc p {
    margin: 0;
}

@media screen and (max-width: 768px) {
    .horizontal.steps {
        --horizontal-gap: 28px;
        --horizontal-circle: 67px;
        padding-bottom: 40px;
    }

    .horizontal.steps .horizontal-title {
        font-size: 25px;
        letter-spacing: -0.42px;
        line-height: 1.054;
    }

    .horizontal.steps .horizontal-subtitle {
        margin-top: 13px;
        font-size: 15px;
        letter-spacing: -0.252px;
    }

    .horizontal.steps .horizontal-items {
        margin-top: 22px;
    }

    .horizontal.steps .horizontal-items .item {
        flex: 0 0 264px;
        min-width: 264px;
    }

    .horizontal.steps .horizontal-items .item .number span {
        font-size: 28px;
        letter-spacing: -0.224px;
    }

    .horizontal.steps .horizontal-items .item .item-content {
        margin-top: 26px;
    }

    .horizontal.steps .horizontal-items .item .desc {
        font-size: 15px;
    }

    .horizontal.steps .swiper-scrollbar {
        display: flex;
        margin: 24px auto 16px;
    }

    .horizontal.steps .horizontal-desc {
        margin-top: 20px;
        max-width: 100%;
        font-size: 11px;
        letter-spacing: -0.088px;
        line-height: 1.27;
    }
}