/* ===== SERVICES SECTION ===== */
.services {
    background-color: var(--bg-dark);
    padding: 80px 0;
}

.services__title {
    text-align: center;
    margin-bottom: 60px;
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.service__card {
    background: var(--bg-gray);
    border-radius: 12px;
    padding: 30px;
    transition: all 0.4s ease;
    border: 1px solid #2a2a2a;
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.service__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(76, 175, 80, 0.1), transparent);
    transition: left 0.7s ease;
}

.service__card:hover::before {
    left: 100%;
}

.service__card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border-color: var(--primary-green);
}

.service__icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-green);
}

.service__card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.service__card p {
    color: var(--text-gray);
    line-height: 1.6;
    flex-grow: 1;
}

/* Full-width service card */
.service__card--full {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.95) 0%, rgba(26, 62, 30, 0.4) 100%);
    border: 1px solid rgba(76, 175, 80, 0.35);
    padding: 0;
    cursor: default;
}

.service__card--full:hover {
    transform: none;
    border-color: rgba(76, 175, 80, 0.55);
    box-shadow: 0 10px 40px rgba(76, 175, 80, 0.15);
}

.service__card--full::before {
    display: none;
}

.service__full-inner {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 35px 40px;
    flex-wrap: wrap;
}

.service__card--full .service__icon {
    font-size: 3rem;
    margin-bottom: 0;
    flex-shrink: 0;
}

.service__full-content {
    flex: 1;
    min-width: 260px;
}

.service__full-content h3 {
    font-size: 1.6rem;
    margin-bottom: 10px;
    color: white;
}

.service__full-content p {
    color: var(--text-light);
    font-size: 1.05rem;
    margin: 0;
    opacity: 0.9;
}

.service__full-btn {
    flex-shrink: 0;
    white-space: nowrap;
}

/* ===== АДАПТИВНОСТЬ SERVICES ===== */
@media (max-width: 992px) {
    .services__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .services__grid {
        grid-template-columns: 1fr;
    }
    
    .service__full-inner {
        flex-direction: column;
        text-align: center;
        padding: 30px 25px;
        gap: 20px;
    }
    
    .service__full-content h3 {
        font-size: 1.35rem;
    }
}
