.services {
    margin-bottom: 120px;
}

.services_detail .services__title {
    margin-bottom: 70px;
}

.services_detail .services__descr,
.services_detail .section-decor {
    display: none;
}

.services__cards {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.card-service {
    -webkit-box-flex: 0;
    -ms-flex: 0 1 calc(33.333% - 20px);
    flex: 0 1 calc(33.333% - 20px);
    margin-right: 30px;
    margin-bottom: 30px;
}

.card-service:nth-child(3n) {
    margin-right: 0;
}

.card-service__picture {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    height: 230px;
    overflow: hidden;
    border-radius: 10px 10px 0 0;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
}

.card-service__img {
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: top;
    object-position: top;
    max-height: 230px;
    width: 100%!important;
    height: initial!important;
    max-height: 250px;
}

.card-service__content {
    padding: 15px 30px;
    background-color: #1C7597;
    border-radius: 0 0 10px 10px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-transition: background-color .2s ease;
    -o-transition: background-color .2s ease;
    transition: background-color .2s ease;
}

.card-service__text {
    font-weight: 800;
    font-size: 18px;
    line-height: 160%;
    color: #fff;
}

.card-service__arrow {
    -webkit-transition: -webkit-transform .2s ease;
    transition: -webkit-transform .2s ease;
    -o-transition: transform .2s ease;
    transition: transform .2s ease;
    transition: transform .2s ease, -webkit-transform .2s ease;
}

.card-service__wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    height: 100%;
}

@media (min-width: 1025px) {
    .card-service__wrapper:hover .card-service__content {
        background-color: #F04A25;
    }

    .card-service__wrapper:hover .card-service__arrow {
        -webkit-transform: translateX(20px);
        -ms-transform: translateX(20px);
        transform: translateX(20px);
    }
}

@media (max-width: 991px) {
    .services {
        margin-bottom: 60px;
    }

    .card-service {
        -webkit-box-flex: 0;
        -ms-flex: 0 1 calc(50% - 5px);
        flex: 0 1 calc(50% - 5px);
        margin-right: 10px;
        margin-bottom: 10px;
    }

    .card-service:nth-child(3n) {
        margin-right: 10px;
    }

    .card-service:nth-child(2n) {
        margin-right: 0;
    }

    .card-service__text {
        font-size: 14px;
        line-height: 140%;
    }

    .card-service__arrow {
        width: 20px;
        height: 20px;
    }

    .card-service__picture {
        min-height: 150px;
        height: initial;
    }

    .card-service__content {
        padding: 15px;
    }

    .services_detail .services__title {
        margin-bottom: 50px;
    }
}

@media (max-width: 575px) {
    .card-service {
        -webkit-box-flex: 0;
        -ms-flex: 0 1 100%;
        flex: 0 1 100%;
        margin-right: 0;
    }

    .card-service:nth-child(3n) {
        margin-right: 0;
    }
}