.services {
    background: #fff;
    padding: 105px 15px 125px;
    color: #194c45
}

.services-wrap {
    width: min(1660px, calc(100% - 70px));
    margin: auto;
    text-align: center
}

.services-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 25px;
    border: 1px solid rgba(25, 76, 69, .18);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase
}

.services h2 {
    font: 500 clamp(44px, 5vw, 74px)/1.1 Arial, Helvetica, sans-serif;
    letter-spacing: .01em;
    margin: 30px auto 58px
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: left
}

.service-card {
    padding: 0 0 16px;
    background: #f1f0ed;
    border-radius: 30px;
    overflow: hidden
}

.service-photo {
    position: relative;
    height: 520px;
    border-radius: 30px;
    overflow: hidden
}

.service-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s
}

.service-card:hover .service-photo img {
    transform: scale(1.035)
}

.service-photo-detail img {
    object-position: 68% center
}

.service-icon {
    position: absolute;
    top: 27px;
    left: 27px;
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #b6f000;
    color: #194c45;
    font-size: 24px
}

.service-card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    min-height: 105px;
    padding: 15px 22px 0 28px
}

.service-card-foot h3 {
    font: 600 clamp(19px, 1.7vw, 27px)/1.15 Arial, Helvetica, sans-serif;
    margin: 0
}

.service-card-foot a {
    display: grid;
    place-items: center;
    flex: 0 0 62px;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: #fff;
    font-size: 26px;
    transition: .25s
}

.service-card-foot a:hover {
    background: #b6f000;
    transform: rotate(10deg)
}

.services-all {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 58px;
    margin-top: 62px;
    padding: 0 34px;
    border-radius: 50px;
    background: #b6f000;
    font-size: 15px;
    font-weight: 700
}

.services-all:hover {
    background: #194c45;
    color: #fff
}

@media(max-width:1100px) {
    .service-cards {
        grid-template-columns: repeat(2, 1fr)
    }
    .service-photo {
        height: 480px
    }
}

@media(max-width:600px) {
    .services {
        padding: 75px 8px 85px
    }
    .services-wrap {
        width: 100%
    }
    .services h2 {
        font-size: 40px;
        margin: 25px auto 40px
    }
    .service-cards {
        grid-template-columns: 1fr;
        gap: 15px
    }
    .service-card {
        border-radius: 24px
    }
    .service-photo {
        height: 430px;
        border-radius: 24px
    }
    .service-card-foot {
        min-height: 90px
    }
    .services-all {
        margin-top: 40px
    }
}