/* Секция услуг */
.services-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.services-container {
    max-width: 1400px;
    margin: 0 auto;
}

/* Заголовок секции */
.services-header {
    text-align: center;
    margin-bottom: 60px;
}

.services-title {
    font-size: 42px;
    font-weight: 800;
    color: #2c3e50;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #d35839, #c14d31);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.services-subtitle {
    font-size: 18px;
    color: #7f8c8d;
    max-width: 600px;
    margin: 0 auto;
}

/* Сетка карточек */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

/* Карточка услуги */
.service-card {
    background: white;
    border-radius: 16px;
    padding: 40px 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #d35839, #c14d31);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(211,88,57,0.2);
    border-color: #d35839;
}

.service-card:hover::before {
    transform: scaleX(1);
}

/* Популярная карточка */
.service-card--featured {
    border: 2px solid #d35839;
    background: linear-gradient(135deg, #fff5f1 0%, #ffffff 100%);
}

.service-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #d35839, #c14d31);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(211,88,57,0.3);
}

/* Иконка */
.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #fef5f1, #fef5f1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: all 0.4s ease;
}

.service-icon svg {
    width: 40px;
    height: 40px;
    stroke: #d35839;
    stroke-width: 2;
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, #d35839, #c14d31);
    transform: rotate(360deg) scale(1.1);
}

.service-card:hover .service-icon svg {
    stroke: white;
}

/* Название услуги */
.service-name {
    font-size: 24px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 16px;
}

/* Описание */
.service-desc {
    font-size: 15px;
    color: #7f8c8d;
    line-height: 1.7;
    margin-bottom: 20px;
}

/* Список преимуществ */
.service-features {
    list-style: none;
    padding: 0;
    margin-bottom: 24px;
}

.service-features li {
    font-size: 14px;
    color: #2c3e50;
    padding: 8px 0;
    border-bottom: 1px solid #ecf0f1;
}

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

/* Цена */
.service-price {
    font-size: 28px;
    font-weight: 800;
    color: #d35839;
    margin-bottom: 20px;
}

/* Кнопка */
.service-btn {
    display: block;
    width: 100%;
    padding: 16px 24px;
    background: #ecf0f1;
    color: #2c3e50;
    text-align: center;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.service-btn:hover {
    background: #d35839;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(211,88,57,0.3);
}

.service-btn--primary {
    background: linear-gradient(135deg, #d35839, #c14d31);
    color: white;
}

.service-btn--primary:hover {
    background: linear-gradient(135deg, #c14d31, #a8402a);
}

/* CTA блок */
.services-cta {
    text-align: center;
    padding: 40px;
    background: linear-gradient(135deg, #d35839, #c14d31);
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(211,88,57,0.3);
}

.services-cta-text {
    font-size: 20px;
    color: white;
    margin-bottom: 20px;
    font-weight: 600;
}

.services-cta-btn {
    display: inline-block;
    padding: 16px 40px;
    background: white;
    color: #d35839;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.services-cta-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

/* Адаптивность */
@media (max-width: 768px) {
    .services-section {
        padding: 60px 15px;
    }

    .services-title {
        font-size: 32px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-card {
        padding: 30px 20px;
    }

    .service-name {
        font-size: 20px;
    }

    .service-price {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .services-title {
        font-size: 28px;
    }

    .services-subtitle {
        font-size: 16px;
    }
}
