.group-services__promo {
    min-height: 176px;
    overflow: hidden;
}

.group-services__promo-inner {
    grid-template-columns: minmax(260px, 0.8fr) minmax(360px, 1.35fr) minmax(280px, 0.85fr);
    grid-template-rows: minmax(0, 1fr);
    align-items: center;
    height: 176px;
    padding-top: 16px;
    padding-bottom: 16px;
}

.group-services__name {
    grid-column: 1;
    grid-row: 1;
    align-self: center;
    max-width: none;
    font-size: clamp(5.4rem, 4.1vw, 7.2rem);
}

.group-services__promo-meta {
    z-index: 1;
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    justify-self: start;
    max-width: 760px;
    padding: 14px 18px 16px;
    color: var(--primary-white);
    background-color: rgba(32, 27, 33, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.group-services__promo-count,
.group-services__promo-highlights {
    margin-top: 0;
    margin-bottom: 0;
}

.group-services__promo-count {
    font-weight: 600;
    font-size: 3rem;
    line-height: 1.05;
}

.group-services__promo-highlights {
    margin-top: 10px;
    font-size: 2.4rem;
    line-height: 1.22;
}

.group-services__image {
    grid-column: 3;
    grid-row: 1;
    align-self: center;
    justify-self: end;
    width: auto;
    max-width: none;
    height: 220px;
    margin-top: 0;
    margin-right: calc(0px - var(--container-desktop-padding));
    object-fit: contain;
}

.group-service__head {
    gap: 36px;
}

.group-services__item {
    --group-service-card-ink: #2a222c;
}

.group-services__item > .service-problems .service-problems__title,
.group-services__item > .service-problems .service-problems__arrow {
    color: var(--group-service-card-ink);
}

.group-services__item > .service-problems .service-problems__text {
    color: var(--group-service-card-ink);
}

.group-services__item > .service-problems .service-problems__bg {
    max-height: 50%;
}

@media only screen and (min-width: 1200px) {
    .group-services__item > .service-problems .service-problems__wrapper:hover .service-problems__bg,
    .group-services__item > .service-problems .service-problems__wrapper:focus-visible .service-problems__bg {
        max-height: 100%;
    }
}

@media only screen and (min-width: 2000px) {
    .group-services__item > .service-problems .service-problems__content {
        gap: 14px;
        padding: 0 80px 52px 28px;
    }

    .group-services__item > .service-problems .service-problems__title {
        font-size: 3.2rem;
        line-height: 1.15;
    }

    .group-services__item > .service-problems .service-problems__text {
        display: -webkit-box;
        overflow: hidden;
        font-size: 1.8rem;
        line-height: 1.25;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
    }

    .group-services__item > .service-problems .service-problems__arrow {
        right: 28px;
        bottom: 47px;
        width: 44px;
        height: 44px;
    }
}

@media only screen and (max-width: 1499px) {
    .group-services__promo-inner {
        grid-template-columns: minmax(250px, 0.8fr) minmax(340px, 1.35fr) minmax(240px, 0.75fr);
    }

    .group-services__name {
        font-size: clamp(5.4rem, 4.2vw, 6.4rem);
    }

    .group-services__promo-count {
        font-size: 2.6rem;
    }

    .group-services__promo-highlights {
        font-size: 2.1rem;
    }

    .group-services__promo-meta {
        padding: 12px 16px 14px;
        border-radius: 14px;
    }

    .group-services__image {
        width: auto;
        height: 205px;
        margin-right: calc(0px - var(--container-laptop-padding));
    }
}

@media only screen and (max-width: 1199px) {
    .group-services__item > .service-problems .service-problems__bg {
        max-height: 58%;
    }

    .group-services__promo {
        min-height: 190px;
    }

    .group-services__promo-inner {
        grid-template-columns: 100%;
        grid-template-rows: auto 1fr;
        height: 190px;
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .group-services__name {
        grid-column: 1;
        grid-row: 2;
        align-self: end;
        max-width: 300px;
        font-size: 5.8rem;
    }

    .group-services__promo-meta {
        display: none;
    }

    .group-services__image {
        grid-column: 1;
        grid-row: 1 / -1;
        align-self: start;
        width: 190px;
        height: auto;
        margin-top: -20px;
        margin-right: calc(0px - var(--container-tablet-padding));
    }

    .group-service__head {
        gap: 30px;
    }
}

@media only screen and (max-width: 767px) {
    .group-services__item > .service-problems .service-problems__text {
        font-size: 1.7rem;
        line-height: 1.25;
    }

    .group-services__promo {
        min-height: 150px;
    }

    .group-services__promo-inner {
        height: 150px;
        padding-top: 16px;
        padding-bottom: 16px;
    }

    .group-services__name {
        max-width: 190px;
        font-size: 3.6rem;
    }

    .group-services__image {
        width: 140px;
        margin-top: -16px;
        margin-right: calc(0px - var(--container-mobile-padding));
    }

    .group-service__head {
        gap: 24px;
    }
}

@media only screen and (max-width: 340px) {
    .group-services__name {
        font-size: 3rem;
    }
}
