/* ============================================
   СТИЛИ ДЛЯ КАСТОМНОГО КОНТЕНТА СТРАНИЦ
   ============================================ */

/* === ОСНОВНЫЕ КОНТЕЙНЕРЫ === */
.custom-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.custom-main-content {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin: 2rem 0;
    line-height: 1.8;
    color: #2c3e50;
}

/* === СТАТИСТИКА === */
.custom-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.custom-stat-item {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid #3498db;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.2);
    transition: all 0.3s ease;
}

.custom-stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.3);
    border-color: #2980b9;
}

.custom-stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #3498db;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.custom-stat-label {
    display: block;
    font-size: 1rem;
    color: #2c3e50;
    font-weight: 500;
    line-height: 1.5;
}

/* === СЕКЦИИ === */
.custom-section-title {
    color: #2c3e50;
    font-size: 2rem;
    font-weight: 700;
    margin: 2rem 0 1.5rem 0;
    padding-bottom: 0.8rem;
    border-bottom: 3px solid #3498db;
    position: relative;
}

.custom-section-title::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    border-radius: 2px;
}

/* === БЛОКИ ИНФОРМАЦИИ === */
.custom-info-block {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-left: 4px solid #2196f3;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(33, 150, 243, 0.1);
}

.custom-info-block h3 {
    color: #1976d2;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    margin-top: 0;
}

.custom-info-block ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.custom-info-block li {
    margin-bottom: 0.8rem;
    line-height: 1.6;
    color: #2c3e50;
}

.custom-info-block li strong {
    color: #1976d2;
    font-weight: 600;
}

/* === БЛОК ПРЕДУПРЕЖДЕНИЯ === */
.custom-warning-block {
    background: linear-gradient(135deg, #fffde7 0%, #fff59d 100%);
    border-left: 4px solid #fbc02d;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(251, 192, 45, 0.2);
}

.custom-warning-block h3 {
    color: #f57f17;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    margin-top: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.custom-warning-block h3::before {
    content: '⚠️';
    font-size: 1.5rem;
}

.custom-warning-block p {
    color: #2c3e50;
    margin: 0;
    line-height: 1.6;
}

/* === СЕКЦИЯ АНАЛИЗА ОСВЕЩЕНИЯ === */
.light-analysis-section {
    background: linear-gradient(135deg, #fffde7 0%, #fff59d 100%);
    border-left: 4px solid #fbc02d;
    padding: 25px;
    margin: 20px 0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(251, 192, 45, 0.15);
}

/* === СЕТКИ === */
.custom-light-grid,
.custom-light,
.custom-light.Pitt-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.custom-grid-item {
    background: white;
    border: 2px solid #e1e8ed;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.custom-grid-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    border-color: #3498db;
}

.custom-grid-item h3,
.custom-grid-item h4 {
    color: #2c3e50;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    margin-top: 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #3498db;
}

.custom-grid-item p {
    color: #555;
    margin: 0;
    line-height: 1.7;
}

/* === БЛОК ПАРАМЕТРОВ ОСВЕЩЕНИЯ === */
.light-parameter-box {
    background: linear-gradient(145deg, #e0f2f1 0%, #b2dfdb 100%);
    border: 2px solid #00695c;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 105, 92, 0.1);
    margin: 2rem 0;
}

.light-parameter-box h3 {
    color: #00695c;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    margin-top: 0;
}

/* === ЭТАПЫ ПРОЦЕССА === */
.custom-process-steps {
    margin: 2rem 0;
}

.custom-process-step {
    background: #e8f5e9;
    border-left: 5px solid #388e3c;
    padding: 15px;
    margin: 10px 0;
    border-radius: 0 8px 8px 0;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    box-shadow: 0 2px 8px rgba(56, 142, 60, 0.1);
    transition: all 0.3s ease;
}

.custom-process-step:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(56, 142, 60, 0.2);
    background: #c8e6c9;
}

.custom-step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #388e3c, #2e7d32);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(56, 142, 60, 0.3);
}

.custom-step-content {
    flex: 1;
}

.custom-step-content h4 {
    color: #2e7d32;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    margin-top: 0;
}

.custom-step-content p {
    color: #2c3e50;
    margin: 0;
    line-height: 1.6;
}

/* === БЛОК ОФИСОВ === */
.office-light-block {
    background: linear-gradient(135deg, #f3e5f5 0%, #e1bee7 100%);
    border: 2px solid #7b1fa2;
    padding: 20px;
    border-radius: 10px;
    margin: 25px 0;
    box-shadow: 0 4px 12px rgba(123, 31, 162, 0.15);
}

.office-light-block h2 {
    color: #7b1fa2;
    margin-top: 0;
}

/* === БЛОК КОНТАКТОВ === */
.custom-contacts-block {
    background: linear-gradient(135deg, #e8eaf6 0%, #c5cae9 100%);
    border: 2px solid #3f51b5;
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
    box-shadow: 0 4px 15px rgba(63, 81, 181, 0.2);
}

.custom-contacts-block h2 {
    color: #3f51b5;
    margin-top: 0;
}

/* === ВЫДЕЛЕННЫЙ БЛОК === */
.custom-highlight-box {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    border: 3px solid #ff9800;
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
    box-shadow: 0 6px 20px rgba(255, 152, 0, 0.2);
    text-align: center;
}

.custom-highlight-box h3 {
    color: #e65100;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    margin-top: 0;
}

.custom-highlight-box p {
    color: #2c3e50;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.custom-highlight-box p:last-child {
    margin-bottom: 0;
}

.custom-highlight-box strong {
    color: #e65100;
    font-weight: 700;
}

/* === SEO ЗАГОЛОВКИ === */
.seo-extension-header-highlighted {
    position: relative;
}

/* === АДАПТИВНОСТЬ === */
@media (max-width: 768px) {
    .custom-main-content {
        padding: 1.5rem;
        margin: 1rem 0;
    }
    
    .custom-stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .custom-stat-number {
        font-size: 2rem;
    }
    
    .custom-section-title {
        font-size: 1.6rem;
    }
    
    .custom-light-grid,
    .custom-light {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .custom-process-step {
        flex-direction: column;
        gap: 1rem;
    }
    
    .custom-step-number {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .custom-highlight-box {
        padding: 1.5rem;
    }
    
    .custom-highlight-box h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .custom-container {
        padding: 0 10px;
    }
    
    .custom-main-content {
        padding: 1rem;
    }
    
    .custom-stat-number {
        font-size: 1.8rem;
    }
    
    .custom-stat-label {
        font-size: 0.9rem;
    }
    
    .custom-section-title {
        font-size: 1.4rem;
    }
    
    .custom-grid-item {
        padding: 1rem;
    }
    
    .light-analysis-section,
    .custom-warning-block,
    .custom-info-block {
        padding: 1rem;
    }
}

