/* Обертка для объединения всех блоков */
.recommendations-wrapper {
    max-width: 1200px;
    margin: 0 auto 40px;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

/* Основной контейнер рекомендаций */
.recommendations-block {
    /* Убираем дублирующие стили, которые теперь в wrapper */
    max-width: none;
    margin: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
}

/* Заголовок блока */
.recommendations-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 30px 40px;
    color: white;
    position: relative;
    overflow: hidden;
}

.recommendations-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.recommendations-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 12px;
}

.recommendations-title::before {
    content: '💡';
    font-size: 32px;
}

.recommendations-subtitle {
    font-size: 18px;
    font-weight: 500;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

/* Контент рекомендаций */
.recommendations-content {
    padding: 40px;
    overflow: hidden;
    background: white;
}

/* Список рекомендаций */
.recommendations-list {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
}

.recommendation-item {
    background: #f8f9fa;
    padding: 20px 24px;
    margin-bottom: 12px;
    border-radius: 12px;
    display: flex;
    gap: 16px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.recommendation-item:hover {
    background: #f0f4ff;
    border-color: #e0e7ff;
    transform: translateX(5px);
}

.recommendation-item:last-child {
    margin-bottom: 0;
}

.recommendation-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 16px;
}

.recommendation-text {
    flex: 1;
    color: #4b5563;
    font-size: 15px;
    line-height: 1.6;
}

.recommendation-text strong {
    color: #1a1a1a;
    font-weight: 600;
}

/* Секции вопросов */
.recommendation-section {
    margin-bottom: 40px;
    padding: 0;
    animation: fadeInUp 0.6s ease-out;
    background: none;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.recommendation-section:last-child {
    margin-bottom: 40px; /* Оставляем отступ для quick-tips */
}

/* Заголовок секции */
.section-title {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
    padding-left: 20px;
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    background: none;
}

.section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

.section-icon {
    font-size: 24px;
}

/* Карточки для разных секций - ВОССТАНОВЛЕН ФОН */
.section-card {
    background: #f8f9fa;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    position: relative;
    box-sizing: border-box;
}

/* Стили для параграфа внутри карточки */
.section-card p {
    margin-bottom: 12px;
    color: #4b5563;
    line-height: 1.6;
}

.section-card p strong {
    color: #1a1a1a;
    font-weight: 600;
}

/* Информационный блок */
.info-block {
    background: #f0f4ff;
    border-left: 4px solid #667eea;
    padding: 20px;
    margin: 20px 0 0 0;
    border-radius: 8px;
    font-size: 15px;
    color: #4b5563;
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 100%;
    box-sizing: border-box;
}

.info-block strong {
    color: #1a1a1a;
}

/* Для списка в секции отказов используем тот же стиль */
.section-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.section-list .recommendation-item {
    background: #f8f9fa;
    padding: 20px 24px;
    margin-bottom: 12px;
    border-radius: 12px;
    display: flex;
    gap: 16px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.section-list .recommendation-item:hover {
    background: #f0f4ff;
    border-color: #e0e7ff;
    transform: translateX(5px);
}

.section-list .recommendation-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: #22c55e;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 16px;
}

/* Быстрые советы */
.quick-tips {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.tip-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.tip-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: #667eea;
    background: linear-gradient(135deg, #f0f4ff 0%, #ffffff 100%);
}

.tip-icon {
    font-size: 48px;
    margin-bottom: 16px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tip-icon img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.tip-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.tip-text {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.5;
}

/* Адаптивность */
@media (max-width: 768px) {
    .recommendations-header {
        padding: 24px 20px;
    }

    .recommendations-title {
        font-size: 24px;
    }

    .recommendations-title::before {
        font-size: 28px;
    }

    .recommendations-subtitle {
        font-size: 16px;
    }

    .recommendations-content {
        padding: 24px 20px;
    }

    .recommendation-item {
        padding: 16px;
        gap: 12px;
    }

    .recommendation-text {
        font-size: 14px;
    }
    
    .section-title {
        font-size: 18px;
        padding-left: 16px;
    }
    
    .section-card {
        padding: 20px;
    }
    
    .info-block {
        padding: 16px;
        font-size: 14px;
    }
    
    /* Быстрые советы на мобильных */
    .quick-tips {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 32px;
    }
    
    .tip-card {
        padding: 20px;
    }
    
    .tip-icon {
        font-size: 40px;
        height: 40px;
        margin-bottom: 12px;
    }
    
    .tip-icon img {
        width: 40px;
        height: 40px;
    }
    
    .tip-title {
        font-size: 16px;
    }
    
    .tip-text {
        font-size: 13px;
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    /* Быстрые советы на планшетах */
    .quick-tips {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
    
    .tip-card {
        padding: 20px;
    }
    
    .tip-icon {
        font-size: 40px;
        height: 40px;
    }
    
    .tip-icon img {
        width: 40px;
        height: 40px;
    }
    
    .tip-title {
        font-size: 16px;
    }
}