.steps-block__container {
    padding: 100px 234px;
}

.steps-block__title {
    font-size: 24px;
    line-height: 30px;
    font-weight: 400;
    text-align: center;
    text-transform: uppercase;
    color: black;
    margin-bottom: 15px;
}

.steps-block__subtitle {
    margin-bottom: 60px;
}

.steps-block__subtitle p {
    font-size: 52px;
    line-height: 68px;
    font-weight: bold;
    text-align: center;
    color: black;
}

.steps-block__subtitle p strong {
    font-weight: bold;
    color: #6327E4;
}

.steps-block__list {
    position: relative;
    overflow: visible;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 93px;
    padding-top: 40px;
    margin-bottom: 60px;
}

.steps-block__list::before {
    content: "";
    position: absolute;
    top: 460px;
    left: var(--line-left);
    /* centran inicio de línea en el primer punto */
    right: var(--line-right);
    /* centran fin de línea en el último punto */
    border-top: 2px dashed #9F9F9F;
    z-index: 1;
}

/* tu punto morado sigue igual */
.step-lines {
    display: flex;
    position: relative;
    z-index: 2;
    margin-bottom: 30px;
}

.step-lines::before {
    content: "";
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0%);
    width: 12px;
    height: 12px;
    background: url('../../../assets/images/purple-dot.svg') no-repeat center/cover;
    z-index: 3;
}

.step__content {
    margin-top: 60px;
    margin-bottom: 30px;
    text-align: center;
}

.step__content p {
    font-size: 20px;
    font-weight: 400;
    line-height: 24px;
    color: black;
}

/* La flecha de la caja */
.step__detail {
    display: flex;
    position: relative;
    background: #fff;
    border-radius: 8px;
    padding: 24px 20px;
    box-shadow: 0 -3px 16px -2px rgba(27, 33, 44, 0.12);
    text-align: left;
}

.step__detail::before {
    content: "";
    /* Flecha hacia abajo */
    position: absolute;
    top: -2px;
    /* 8px de alto de la flecha */
    left: 45%;
    transform: rotate(135deg) translateX(-50%);
    border: 8px solid #fff;
    box-shadow: 0 -3px 16px -8px rgba(0, 0, 0, 0.4);
}

.steps-block__button {
    display: flex;
    justify-content: center;
    align-items: center;
}

.steps-block__button a {
    padding: 23px 28px 26px;
    border: 3px solid #6802C1;
    color: #6802C1;
    font-size: 24px;
    line-height: 24px;
    text-decoration: none;
    border-radius: 100px;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.steps-block__button a:hover {
    background-color: #6802C1;
    color: #fff;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.step__title {
    font-size: 30px;
}

#step-counter {
    font-size: 25px;
}

@media (min-width: 1200px) and (max-width: 1670px) {
    .steps-block__container {
        padding: 100px 99px;
    }

    .steps-block__title {
        font-size: 14px;
    }

    .steps-block__subtitle p {
        font-size: 42px;
        line-height: 58px;
    }

    .steps-block__list {
        gap: 60px;
    }

    .step__image {
        width: 210px;
    }

    .step__content {
        margin-top: 30px;
        margin-bottom: 15px;
    }

    .step__title {
        font-size: 20px;
    }

    #step-counter {
        font-size: 15px;
    }

    .steps-block__list::before {
        top: 327px;
    }

    .step__detail p {
        font-size: 11px;
    }

    .steps-block__button a {
        font-size: 16px;
        padding: 12px 24px 16px;
    }
}

@media (max-width: 768px) {
    .steps-block__container {
        padding: 40px 20px;
    }

    .steps-block__title {
        font-size: 18px;
        line-height: 24px;
    }

    .steps-block__subtitle {
        margin-bottom: 15px;
    }

    .steps-block__subtitle p {
        font-size: 20px;
        line-height: 26px;
    }

    .step__content p {
        font-size: 16px;
        line-height: 24px;
    }

    .steps-block__list {
        padding-top: 0;
        gap: 24px;
        overflow: auto;
        margin-bottom: 40px;
        justify-content: flex-start;
        user-select: none;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
    }

    .steps-block__list::-webkit-scrollbar {
        display: none;
    }

    .steps-block__list::before {
        top: 344px;
    }

    .step {
        width: 240px;
    }

    .step img {
        width: 240px;
    }

    .step__content {
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .step__title {
        font-size: 24px;
        line-height: 60px;
    }

    #step-counter {
        font-size: 20px;
        line-height: 30px;
    }

    .steps-block__button a {
        font-size: 19px;
        line-height: 24px;
        padding: 12px 24px 16px;
    }
}
    