.services {
    padding: 80px 0;
    position: relative;
}
.services--title {
    margin-bottom: 40px;
}
.services__row {
    display: flex;
    align-items: center;
    column-gap: 20px;
}
.services__col {
    flex: 1;
}
.services__col.vertical {
    flex-direction: column;
    column-gap: 20px;
    row-gap: 20px;
    display: flex;
}
.services__row .services__col:nth-child(2) .services__item:nth-child(1) .services__item--title {
    position: absolute;
    top: 30px;
    left: 30px;
    max-width: 300px;
}
.services__row .services__col:nth-child(2) .services__item:nth-child(2) .services__item--title {
    position: absolute;
    top: 60px;
    right: 28px;
    max-width: 170px;
}
.services__item {
    padding: 20px;
    border-radius: 60px;
    border: 2px solid rgba(255, 255, 255, 1);
    background: linear-gradient(110deg, rgba(255, 255, 255, 0.24) 0%, rgba(254, 254, 254, 0.24) 99.25%);
    box-shadow: -14px 56px 51px -29px rgba(183, 187, 191, 0.57);
    backdrop-filter: blur(10px);
    display: block;
    height: 564px;
    transition: box-shadow 0.2s ease;
}
.services__item:hover {
    box-shadow: -18px 70px 60px -30px rgba(183, 187, 191, 0.65);
}
.services__item:active {
    box-shadow: -6px 30px 25px -20px rgba(183, 187, 191, 0.5);
}
.services__item--image img {
    object-fit: cover;
    object-position: center bottom;
    display: block;
}
.services__item.small {
    height: 293px;
}
.services__item__inner {
    padding: 40px;
    border-radius: 44px;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #FFF center;
    background-size: cover;
    overflow: hidden;
}
.services__item--image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.services__item--image, .services__item--image img {
    width: 100%;
    height: 100%;
}
.services__item--bottomText .services__item__inner {
    justify-content: flex-end;
}
.services__item__content {
    position: relative;
}
.services__item--title {
    color: #383838;
    font-family: Montserrat, serif;
    font-size: 22px;
    font-weight: 700;
    line-height: 29px;
    text-transform: uppercase;
}
.services__item--title.white {
    color: #fff;
}
.services__item--text {
    color: rgba(56, 56, 56, 0.70);
    font-size: 18px;
    font-weight: 500;
    line-height: 22px;
    margin-top: 6px;
}
.services--button {
    margin: 40px auto 0;
    max-width: 294px;
}
.servicesBlurArrow {
    position:absolute;
    right: -843px;
    bottom: -211px;
    width:1018px;
    height:656px;
    backdrop-filter: blur(35px);
    -webkit-backdrop-filter: blur(35px);
    background: rgba(81,170,233,0.06);
    mask-image: url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1018 656'>\
<path fill='white' d='M-0.0003267 655.296L96.719 266.168L211.758 346.27L690.403 31.8369C876.002 -56.1035 971.66 66.034 971.66 66.034C1081.55 192.457 959.823 318.207 959.823 318.207C946.458 218.321 850.428 232.769 850.428 232.769L440.524 505.097L563.681 591.058L-0.0003267 655.296Z'/>\
</svg>");
    mask-size: contain;
    mask-repeat: no-repeat;
    -webkit-mask-image: url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1018 656'>\
<path fill='white' d='M-0.0003267 655.296L96.719 266.168L211.758 346.27L690.403 31.8369C876.002 -56.1035 971.66 66.034 971.66 66.034C1081.55 192.457 959.823 318.207 959.823 318.207C946.458 218.321 850.428 232.769 850.428 232.769L440.524 505.097L563.681 591.058L-0.0003267 655.296Z'/>\
</svg>");
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
}

@media screen and (max-width: 1200px) {
    .services--title {
        margin-bottom: 50px;
    }
    .services__row {
        flex-wrap: wrap;
        row-gap: 28px;
    }
    .services__row>div {
        width: 100%;
        flex: none;
    }
    .services__col.vertical {
        flex-direction: row;
        column-gap: 20px;
        display: flex;
    }
    .services__item {
        height: 360px;
        border-radius: 50px;
    }
    .services__item__inner {
        border-radius: 40px;
    }
    .services__row .services__col:nth-child(1) .services__item__content {
        max-width: 252px;
        position: absolute;
        top: 62px;
        left: 38px;
    }
    .services__item--text {
        line-height: 21px;
    }
    .services__col>.services__item {
        flex: 1;
    }
    .services__item.small {
        height: 212px;
        padding: 10px;
    }
    .services__item.small .services__item--title {
        font-size: 20px;
        line-height: 26px;
    }
    .services__row .services__col:nth-child(2) .services__item:nth-child(1) .services__item--title {
        top: 26px;
        left: 26px;
    }
    .services__row .services__col:nth-child(2) .services__item:nth-child(2) .services__item--title {
        top: 26px;
        right: 26px;
    }
    .services__row .services__col:nth-child(3) .services__item__content {
        max-width: 291px;
    }
    .servicesBlurArrow {
        display: none;
    }
}

@media screen and (max-width: 700px) {
    .servicesContainer {
        border-top-left-radius: 26px;
        border-top-right-radius: 26px;
        margin-bottom: 0;
    }
    .services {
        padding: 60px 0 80px;
    }
    .services__item {
        height: 188px;
        border-radius: 30px;
        padding: 10px;
    }
    .services__item__inner {
        border-radius: 20px;
    }
    .services__row .services__col:nth-child(1) .services__item__content {
        max-width: calc(100% - 34px);
        position: absolute;
        top: 20px;
        left: 17px;
    }
    .services__row .services__col:nth-child(2) .services__item__content {
        max-width: calc(100% - 34px);
        position: absolute;
        top: 20px;
        left: 17px;
    }
    .services__row .services__col:nth-child(2) .services__item:nth-child(1) .services__item--title {
        max-width: calc(100% - 34px);
        position: absolute;
        top: 20px;
        left: 17px;
    }
    .services__row .services__col:nth-child(2) .services__item:nth-child(2) .services__item--title {
        max-width: calc(100% - 34px);
        position: absolute;
        top: 20px;
        left: 17px;
    }
    .services__item--title {
        font-size: 16px;
        line-height: 21px;
        width: 100% !important;
    }
    .services__item.small .services__item--title {
        font-size: 16px;
        line-height: 21px;
    }
    .services__row {
        flex-wrap: wrap;
        row-gap: 22px;
    }
    .services__col.vertical {
        flex-direction: column;
        row-gap: 22px;
    }
    .services__item.small {
        height: 188px;
        flex: auto;
    }
    .services__item__inner {
        padding: 21px 17px;
    }
    .services__item--image img {
        object-position: center;
    }
}