.how-it-work {
    padding: 120px 0;
    overflow: unset;
}

.how-it-work__bg {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
}

.how-it-work__bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 200px;
    z-index: 0;
    background-image: linear-gradient(180deg, #000000 0%, rgba(0, 0, 0, 0) 100%);
}

.how-it-work__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.how-it-work .container {
    position: relative;
}

.how-it-work__row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
}

.how-it-work__row::after,
.how-it-work__row::before {
    content: none;
}

.how-it-work__sticky {
    display: block;
    position: -webkit-sticky;
    position: sticky;
    top: 90px;
}

.how-it-work__subheading {
    margin-bottom: 20px;
}

.how-it-work__item,
.how-it-work__item + .btn {
    margin-top: 80px;
}

.rate {
    display: flex;
    align-items: center;
}

.rate-white .rate__icon > svg {
    fill: var(--color-main-light);
}

.rate-green .rate__icon > svg {
    fill: #1EDA00;
}

.rate-yellow .rate__icon > svg {
    fill: #FF9900;
}

.rate-white .rate__mark {
    color: var(--color-main-light);
}

.rate-green .rate__mark {
    color: #1EDA00;
}

.rate-yellow .rate__mark {
    color: #FF9900;
}

.rate__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 96px;
    margin-right: 20px;
    flex-shrink: 0;
}

.rate__icon > svg {
    display: block;
    width: 100%;
}

.rate__description,
.rate__bonus {
    width: 32%;
}

.rate__bonus {
    text-align: right;
}

.rate__text {
    font-size: 14px;
}

.rate__percent {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto;
    flex-shrink: 0;
}

.rate__percent svg {
    display: block;
    width: 100%;
    height: 100%;
    transform: rotateZ(90deg);
    opacity: 15%;
    fill: var(--color-main-light);
}

.rate__percent img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 76%;
    transform: translate(-50%, -50%);
}

.glyph {
    width: 100%;
    height: 80px;
    margin-top: 30px;
    margin-bottom: 100px;
}

.glyph img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: left top;
}

.rule {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding-left: 80px;
}

.rule__item {
    position: relative;
}

.rule__item::before,
.rule__item::after {
    content: '';
    position: absolute;
}

.rule__item::before {
    --size: 20px;
    top: 12px;
    left: -60px;
    width: var(--size);
    height: var(--size);
    border-radius: 50%;
    border: 6px solid var(--color-main-light);
}

.rule__item::after {
    top: 30px;
    left: -52px;
    height: calc(100% - 16px);
    width: 6px;
    background-color: var(--color-main-light);
}

.rule__item:last-child::after {
    content: none;
}

.rule__item:last-child .glyph {
    margin-bottom: 0;
}

@media screen and (max-width: 991px) {
    .how-it-work__sticky {
        position: relative;
        top: 0;
        margin-bottom: 80px;
    }

    .how-it-work__item,
    .how-it-work__item + .btn {
        margin-top: 60px;
    }
}

@media screen and (max-width: 767px) {
    .rate__text {
        font-size: 12px;
    }

    .glyph {
        height: 70px;
    }
}

@media screen and (max-width: 665px) {
    .rate__icon {
        width: 60px;
        height: 72px;
    }


    .rate__percent {
        width: 80px;
        height: 80px;
    }
}

@media screen and (max-width: 512px) {
    .rate__text {
        font-size: 10px;
    }

    .rate__icon {
        width: 48px;
        height: 58px;
        margin-right: 10px;
    }

    .rate__percent {
        width: 46px;
        height: 46px;
    }

    .glyph {
        height: 50px;
        margin-top: 20px;
        margin-bottom: 80px;
    }
}