/* ====================== SERVICES FULL WIDTH SECTION ====================== */
.services-full-section {
    padding: 80px 0 100px;
    background: #fff;
}

.services-full-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Заголовок */
.services-full-container .title {
    padding-bottom: 50px;
    text-align: center;
}

.services-full-container .title h2 {
    font-size: 48px;
    line-height: 48px;
    margin-bottom: 15px;
}

.services-full-container .title p {
    font-size: 17px;
    max-width: 820px;
    margin: 0 auto;
    color: #555;
}

/* ====================== Сетка ====================== */
.services-full-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

/* Каждый блок */
.services-full-item {
    background: #f6f6f6;
    padding: 30px 25px;
    transition: all .3s ease;
    border: 1px solid transparent;
    min-height: 165px;
    display: flex;
    align-items: center;
}

.services-full-item p {
    margin: 0;
    font-size: 16px;
    line-height: 1.55;
    color: #201f1f;
}

/* Hover эффект (как в оригинале) */
.services-full-item:hover {
    background: #010032;
}

.services-full-item:hover p {
    color: #fff;
}

/* Особый дизайн первого и последнего блока */
.services-full-item.services-first,
.services-full-item.services-last {
    position: relative;
}

.services-full-item.services-first::before,
.services-full-item.services-last::after {
    content: '';
    position: absolute;
    border: 3px solid #ededed;
    box-sizing: border-box;
    z-index: -1;
}

/* Первый блок — рамка сверху-слева */
.services-full-item.services-first::before {
    top: -30px;
    left: -30px;
    width: 100%;
    height: 100%;
}

/* Последний блок — рамка снизу-справа */
.services-full-item.services-last::after {
    bottom: -30px;
    right: -30px;
    width: 100%;
    height: 100%;
}

/* ====================== Адаптив ====================== */

@media (max-width: 991px) {
    .services-full-grid {
        gap: 25px;
    }
}

@media (max-width: 767px) {
    .services-full-section {
        padding: 60px 0 80px;
    }
    
    .services-full-container .title h2 {
        font-size: 36px;
        line-height: 40px;
    }
    
    .services-full-grid {
        grid-template-columns: 1fr;        /* 1 блок на строку */
        gap: 20px;
    }
    
    .services-full-item {
        min-height: auto;
        padding: 28px 20px;
    }
    
    /* Убираем внешние рамки на мобильных, чтобы не вылезали */
    .services-full-item.services-first::before,
    .services-full-item.services-last::after {
        display: none;
    }
}