.title-wrapper {
    display: flex;
    justify-content: space-between;
}
.title__link {
    text-decoration: none !important;
    transition: color 300ms;
}

.title__link {
    text-decoration: none !important;
    transition: color 300ms;
}
.services-main__items {
    margin-top: 36px;
    margin-bottom: 36px;
    position: relative;
    display: grid;
    grid-gap: 36px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    /* grid-template-rows: repeat(2, 300px); */
}
.services-main__item {
    position: relative;
    height: 100%;
    text-decoration: none;
    /*min-height: 120px;*/
}
.services-main__item--name[data-iblock-code="services_optic"] {
    background-color: #868dcd15;
    outline-color: #868DCD;
    /* background-image: linear-gradient(to right, #f6f7f9, #868DCD); */
}
.services-main__item--name {
    border-radius: 8px;
    height: 100%;
    padding: 32px;
    background-color: #F6F7F9;
    /* background-image: linear-gradient(to right, #ffffff, #F6F7F9); */
    display: flex;
    text-decoration: none;
    align-items: center;
    text-align: center;
    /*font-size: 150%;*/
    justify-content: center;
    box-sizing: border-box;
    transition: border-color 300ms;
    outline: 1px solid transparent;
    font-weight: 600;
}
.services-main__item:hover .services-main__item--name[data-iblock-code="services_optic"] {
    outline-width: 2px;
    /* transform: scale(1.1); */
}
@media (max-width: 768px) {
    .title-wrapper {
        flex-direction: column;
        margin-bottom: 32px;
    }
    .services-main__items {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .services-main__item:hover .services-main__item--name[data-iblock-code="services_optic"] {
        transform: none;
    }
}

