.services-section {
    padding: 4rem 2rem; /* Уменьшили отступы внутри блока */
    background: var(--light-bg);
    position: relative;
    overflow: hidden;
}

.services-section::before,
.services-section::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(200, 169, 126, 0.1) 0%, rgba(200, 169, 126, 0.05) 100%);
    z-index: 0;
}

.services-section::before {
    top: -100px;
    left: -150px;
}

.services-section::after {
    bottom: -100px;
    right: -150px;
}

.services-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--white);
    border-radius: var(--border-radius-md);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0,0,0,0.03);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: -1;
}

.service-card:hover {
    transform: translateY(-8px) scale(1.02);
}

.service-card:hover::after {
    opacity: 1;
}

.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background-color: var(--accent-color);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
}

.service-emoji {
    font-size: 2.5rem;
    line-height: 1;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card:hover .service-icon {
    transform: rotate(5deg) scale(1.15);
    box-shadow: 0 6px 15px rgba(200, 169, 126, 0.3);
}

.service-card h3 {
    color: var(--secondary-color);
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 0.8rem;
}

.service-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.service-card:hover h3::after {
    width: 60px;
}

.service-card p {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    line-height: 1.5;
    font-size: 0.95rem;
}

.service-features {
    list-style: none;
    margin-bottom: 1.5rem;
    text-align: left;
    margin-top: auto;
}

.service-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.service-features li:hover {
    transform: translateX(5px);
    color: var(--primary-color);
}

.service-features li:last-child {
    border-bottom: none;
}

.feature-icon {
    color: var(--primary-color);
    font-weight: bold;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background-color: rgba(200, 169, 126, 0.15);
    position: relative;
    transition: all 0.3s ease;
}

.service-features li:hover .feature-icon {
    background-color: var(--primary-color);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 2px 8px rgba(200, 169, 126, 0.4);
}

.feature-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: rgba(200, 169, 126, 0.2);
    z-index: -1;
    transform: scale(0);
    opacity: 0;
    transition: all 0.4s ease;
}

.service-features li:hover .feature-icon::after {
    transform: scale(1.5);
    opacity: 1;
}

.service-link {
    display: inline-block;
    padding: 0.7rem 1.5rem;
    color: var(--white);
    background: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    border: none;
    border-radius: 30px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    box-shadow: 0 4px 10px rgba(200, 169, 126, 0.3);
    margin-top: auto;
}

.service-link:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(200, 169, 126, 0.4);
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .service-card {
        padding: 1.5rem;
    }
    
    .services-section {
        padding: 3rem 1.5rem;
    }
}

.services-section .section-title {
    position: relative;
    z-index: 1;
    font-size: 2.2rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.services-section .section-title::after {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
    transition: width 0.3s ease;
}

.services-section .section-title:hover::after {
    width: 80px;
}

.section-subtitle {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 2rem;
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}