#services {
    padding-top: 60px;     /* создаёт место для хедера */
    margin-top: -60px;     /* компенсирует, чтобы не было пустого пространства */
    position: relative;    /* гарантирует позиционирование */
    z-index: 1;            /* поднимаем выше, если нужно */
}

.services-grid {
    max-width: 1120px;
    overflow: visible;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    overflow: visible;
}

.service-card {
    position: relative;
    display: block;
    background-size: 100%;
    background-repeat: no-repeat;
    height: 250px;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.4s ease;
    filter: grayscale(100%);
}

.service-card:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    filter: grayscale(0%);
}

.card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: #fff;
    padding: 20px;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.card-description {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease 0.1s;
    font-size: 14px;
    margin-top: 8px;
}

.service-card:hover .card-description {
    opacity: 1;
    transform: translateY(0);
}

.service-card:hover { /* подсветка */
    box-shadow: 0 0 15px 3px #e7ddce;
}

.service-title {
    background-color: rgba(255, 255, 255, 0.7); /* Полупрозрачный белый фон */
    padding: 4px 8px;
    border-radius: 5px;
    font-weight: bold;
    color: #000831;
    display: inline-block;
    margin-bottom: 5px;
}