.top-services {
    max-width: 853px;
    margin: 0 auto;
    list-style: none;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    counter-reset: top-services;
}

.top-service-card {
    counter-increment: top-services;
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    position: relative;
    background-color: #ffffff;
    padding: 30px 43px 17px 113px;
    -webkit-box-shadow: 8px 8px 15px rgba(203, 122, 255, 0.3);
            box-shadow: 8px 8px 15px rgba(203, 122, 255, 0.3);
    border-radius: 4px;
    margin-bottom: 10px;
    border: 3px solid #9613EA;
}

.top-service-card:first-child {
    background-color: #530089;
    border: 5px solid #9613EA;
}

.top-service-card:first-child::after {
    content: url('../img/top-choice.svg');
    position: absolute;
    top: -45px;
    left: calc(50% - 47.5px);
}

.top-service-card .white-btn {
    background-color: #530089;
    color: #ffffff;
}

.top-service-card:not(:first-child) .read-btn {
    color: #530089;
}

.top-service-card:first-child .white-btn {
    background-color: #F8EB70;
    color: #530089;
}

.top-service-card::before {
    position: absolute;
    content: counter(top-services);
    left: 0;
    top: 0;
    background-color: #9613EA;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    height: 100%;
    width: 87px;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    font-size: 35px;
    font-weight: bold;
    color: #ffffff;
}

.top-service-card:first-child::before {
    color: #FFC24C;
    height: calc(100% + 4px);
    top: -2px;
    left: -1px;
}

.top-service-card__center {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-flex: 1;
        -ms-flex-positive: 1;
            flex-grow: 1;
    margin-right: 33px;
}

.top-service-card__center__top, .top-service-card__center__bottom {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: 100%;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}

.top-service-card__center__top {
    margin-bottom: 15px;
}

.top-service-card__center__top > a img {
    max-width: 153px;
    -o-object-fit: contain;
       object-fit: contain;
    margin-right: 30px;
}

.top-service-card__rate {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}

.top-service-card:first-child .top-service-card__rate {
    padding-top: 30px;
}

.top-service-card:first-child .top-service-card__center__top {
    margin-bottom: 35px;
}

.top-service-card__rate .num-rate {
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    margin-left: 15px;
}

.top-service-card__rate .num-rate span {
    font-size: 35px;
}

.top-service-card__hookup-rate {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    font-size: 14px;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    font-weight: bold;
    text-transform: uppercase;
    color: #ffffff;
    width: 153px;
    margin-right: 30px;
}

.top-service-card__hookup-rate .rate {
    color: #FA29CA;
    font-size: 35px;
    margin-right: 9px;
}

.top-service-card__best-for {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    color: #ffffff;
    line-height: 110%;
    font-weight: bold;
    font-size: 14px;
    text-transform: uppercase;
}

.top-service-card:not(:first-child) .top-service-card__best-for, 
.top-service-card:not(:first-child) .num-rate,
.top-service-card:not(:first-child) .top-service-card__hookup-rate {
    color: #530089;
}

.best-for__title {
    margin-right: 13px;
    font-size: 24px;
    white-space: nowrap;
}

.top-service-card__btns {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    width: 150px;
    flex-shrink: 0;
}

.top-service-card__btns .white-btn {
    margin-bottom: 14px;
}

.top-service-card__btns .btn {
    width: 100%;
}

@media(max-width: 900px) {
    .top-service-card {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
        -webkit-box-align: center;
            -ms-flex-align: center;
                align-items: center;
        max-width: 350px;
        padding: 95px 25px 25px;
    }

    .top-service-card::before {
        width: 100%;
        height: 65px;
        border-radius: 0;
    }

    .top-service-card:first-child::after {
        left: unset;
        right: 20px;
    }

    .top-service-card__center {
        margin: 0;
    }

    .top-service-card:first-child .top-service-card__rate {
        padding-top: 0;
    }

    .top-service-card__rate {
        margin-top: 15px;
    }

    .top-service-card__center__top, .top-service-card__center__bottom {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
        -webkit-box-align: center;
            -ms-flex-align: center;
                align-items: center;
    }

    .top-service-card__center__top > a img, .top-service-card__hookup-rate {
        margin-right: 0;
    }

    .top-service-card__center__bottom {
        margin-bottom: 30px;
    }

    .top-service-card__best-for {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
        width: 100%;
        margin-top: 25px;
    }

    .best-for__title {
        margin-right: 0;
        margin-bottom: 6px;
    }

    .top-service-card__best-for span {
        max-width: 100%;
        text-align: center;
    }

    .top-service-card__btns {
        width: 100%;
        max-width: 270px;
    }

    .top-service-card:first-child::before {
        width: calc(100% + 4px);
        left: -2px;
        top: -2px;
        height: 65px;
    }
}