.method-steps {
    background: linear-gradient(180deg, #32384a 0%, #070127 100%);
    color: #fff;
}

.method-steps__wrapper {
    padding-left: 120px;
    padding-right: 120px;
    position: relative;
    margin-top: 50px;
    counter-reset: counter;
    padding-bottom: 30px;
}

.method-steps__item {
    margin-top: 45px;
}

.method-steps__item:first-child {
    margin-top: 0;
}

.method-steps__img {
    padding-right: 70px;
}

.method-steps__img img {
    width: 100%;
    height: auto;
    opacity: 0.5;
    transition: all 0.4s ease-out 0s;
}

.method-steps__img img:hover {
    opacity: 1;
    transform: scale(1.05);
}

.method-steps__wrapper::before {
    content: '';
    position: absolute;
    width: 1px;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    margin: auto;
    z-index: 0;
    background: #fff;
}

.method-steps__numb::before {
    content: counter(counter);
    counter-increment: counter;
    background: var(--color-accent);
    color: #fff;
    font-size: 35px;
    font-weight: 700;
    left: -30px;
    top: 0;
    z-index: 0;
    line-height: 1;
    font-size: 17px;
    height: 29px;
    width: 29px;
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 20px;
    z-index: 2;
}

.method-steps__txt {
    padding-left: 60px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
}

.method-steps__txt:before {
    content: '';
    background: #787b84;
    width: 1px;
    bottom: 40px;
    top: 16px;
    left: 41px;
    position: absolute;
}

.method-steps__txt:after {
    content: '';
    background: #787b84;
    width: 50px;
    height: 1px;
    bottom: 40px;
    top: 16px;
    left: -9px;
    position: absolute;
}

.method-steps__text-wrapper *+* {
    margin-top: 18px;
}

.method-steps__list {
    margin-top: 10px;
    max-width: 350px;
    width: 100%;
}

.method-steps__list-tem {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
    border-radius: 30px;
    padding: 20px;
    font-size: 18px;
    line-height: 1.2;
    border: 1px solid #787b84;
    margin-top: 9px;
    transition: all 0.4s ease-out 0s;
    text-align: left;
    position: relative;
}

.method-steps__list-tem:hover {
    background: #787b84;
}

.method-steps__list-tem:before {
    content: '';
    width: 20px;
    left: -20px;
    height: 1px;
    bottom: 45%;
    background: #787b84;
    position: absolute;
    pointer-events: none;
}

.method-steps__list-tem:last-child:before {
    height: 50px;
    border-left: 1px solid #787b84;
    border-bottom: 1px solid #787b84;
    background: transparent;
}

.method-steps__list-tem img {
    max-width: 15px;
    height: auto;
}


/* rearrange img */

@media (min-width: 769px) {
    .method-steps__item:nth-child(even) .method-steps__col-img {
        order: 2;
    }
    .method-steps__item:nth-child(even) .method-steps__img {
        padding-left: 70px;
        padding-right: 0;
    }
    .method-steps__item:nth-child(even) .method-steps__txt {
        padding-left: 0;
        padding-right: 60px;
    }
    .method-steps__item:nth-child(even) .method-steps__txt {
        padding-left: 0;
        padding-right: 60px;
        align-items: flex-end;
        text-align: right;
    }
    .method-steps__item:nth-child(even) .method-steps__numb::before {
        right: -30px;
        left: unset;
    }
    .method-steps__item:nth-child(even) .method-steps__txt:before {
        left: unset;
        right: 41px;
    }
    .method-steps__item:nth-child(even) .method-steps__txt:after {
        left: unset;
        right: -8px;
    }
    .method-steps__item:nth-child(even) .method-steps__list-tem:before {
        left: unset;
        right: -20px;
    }
    .method-steps__item:nth-child(even) .method-steps__list-tem:last-child:before {
        transform: scaleX(-1);
    }
}


/* end rearrange img */

.method-steps__footer {
    text-align: center;
    padding-left: 120px;
    padding-right: 120px;
}

.method-steps__footer-img {
    position: relative;
}

.method-steps__footer-img img {
    max-width: 90px;
    position: relative;
    z-index: 2;
}

.method-steps__footer-text {
    margin-top: 15px;
}

.method-steps__footer-grid {
    margin-top: 15px;
}

.method-steps__footer-item {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
    border-radius: 30px;
    padding: 20px;
    height: 100%;
    font-size: 18px;
    line-height: 1.4;
    border: 1px solid #787b84;
    transition: all 0.4s ease-out 0s;
    text-align: center;
}

.method-steps__footer-col {
    margin-top: 30px;
}

.method-steps__footer-item:hover {
    background: #787b84;
}

.method-steps__footer-item-ico {
    margin-top: -40px;
}

.method-steps__footer-item-ico img {
    max-width: 35px;
    height: auto;
}

.method-steps__footer-item-text {
    font-size: 18px;
}

.method-steps__footer-award {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 20px;
    border-radius: 70px;
    border: 1px solid #787b84;
    width: 100%;
    max-width: 744px;
    margin: 40px auto 0 auto;
}

.method-steps__footer-award img {
    max-width: 100px;
    height: auto;
}

.method-steps__footer-award-text {
    font-size: 30px;
    text-align: left;
}

.custom-body-class .method-steps {
    background: var(--dark-grey);
}

@media (max-width: 1350px) {
    .method-steps__wrapper,
    .method-steps__footer {
        padding-left: 0;
        padding-right: 0;
    }
}

@media (max-width: 768px) {
    .method-steps__wrapper::before {
        content: '';
        position: absolute;
        width: 1px;
        height: 100%;
        top: 0;
        left: 12px;
        right: unset;
        margin: auto;
        z-index: 0;
        background: #fff;
    }
    .method-steps__txt:after {
        width: 30px;
        left: 12px;
    }
    .method-steps__numb::before {
        left: -2px;
    }
    .method-steps__col-img {
        order: 2;
    }
    .method-steps__img {
        margin-top: 30px;
        padding-right: 0;
        padding-left: 30px;
    }
    .method-steps__item {
        margin-top: 15px;
    }
    .method-steps__wrapper {
        padding-bottom: 60px;
    }
    .method-steps__footer {
        margin-top: -50px;
    }
    .method-steps__footer-img {
        position: relative;
    }
    .method-steps__footer-img:before {
        content: '';
        width: 45%;
        left: 12px;
        margin-bottom: -1px;
        height: 1px;
        bottom: 45%;
        background: #fff;
        position: absolute;
        pointer-events: none;
    }
    .method-steps__footer-award {
        flex-direction: column;
    }
    .method-steps__footer-award-text {
        font-size: 24px;
        text-align: center;
    }
    .method-steps__footer-award img {
        max-width: 150px;
        height: auto;
    }
    .method-steps__list-tem {
        font-size: 16px;
    }
    .method-steps__text-wrapper *+* {
        margin-top: 14px;
    }
    .method-steps__text-wrapper p {
        font-size: 14px;
    }
}