/**
 * Theme Name: Reboot дочерняя тема
 * Template: Reboot
 *
 * Не обязательные параметры:
 * Theme URI: https://eco-metodist.ru/
 * Description: Дочерняя тема для темы reboot
 * Author: Ya
 * Author URI: https://eco-metodist.ru/
 * Version: 1.0
 */

@import url("../reboot/style.css");
/* Свои дополнительные стили */

/* ===== СБРОС И ОСНОВНЫЕ НАСТРОЙКИ ===== */
.entry-title{
color: red;
}

        /* СТИЛИ ИЗ ВАШЕГО КОДА ОСТАЮТСЯ ПРЕЖНИМИ */
        .company-page {
            max-width: 1200px;
            margin: 0 auto;
            padding: 40px 20px;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            color: #333;
            line-height: 1.6;
        }
        .company-header {
            text-align: center;
            margin-bottom: 50px;
            padding-bottom: 30px;
            border-bottom: 2px solid #2c5aa0;
        }
        .company-header h1 {
            color: #2c5aa0;
            font-size: 2.8rem;
            margin-bottom: 20px;
        }
        .company-tagline {
            font-size: 1.3rem;
            color: #666;
            font-style: italic;
        }
        .section {
            margin-bottom: 60px;
        }
        .section-title {
            color: #2c5aa0;
            font-size: 1.8rem;
            margin-bottom: 25px;
            padding-bottom: 10px;
            border-bottom: 1px solid #eaeaea;
        }

        /* НОВЫЕ СТИЛИ ДЛЯ ГЛАВНОГО ЭКРАНА */
        .hero-stats {
            display: flex;
            justify-content: space-around;
            flex-wrap: wrap;
            background: linear-gradient(135deg, #2c5aa0 0%, #3a7bd5 100%);
            color: white;
            padding: 40px;
            border-radius: 10px;
            margin: 40px 0;
        }
        .stat-item {
            text-align: center;
            padding: 20px;
        }
        .stat-number {
            font-size: 3rem;
            font-weight: bold;
            display: block;
        }
        .stat-label {
            font-size: 1.1rem;
            opacity: 0.9;
        }

        /* СТИЛИ ДЛЯ ПРЕИМУЩЕСТВ */
        .values-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
            margin-top: 30px;
        }
        .value-card {
            background: #f8f9fa;
            padding: 25px;
            border-radius: 8px;
            border-left: 4px solid #2c5aa0;
            transition: transform 0.3s ease;
        }
        .value-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }
        .value-card h3 {
            color: #2c5aa0;
            margin-bottom: 15px;
        }

        /* СТИЛИ ДЛЯ КАТАЛОГА */
        .catalog-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 30px;
            margin-top: 40px;
        }
        .catalog-card {
            background: #f8f9fa;
            border-radius: 8px;
            overflow: hidden;
            border: 1px solid #eaeaea;
            transition: all 0.3s ease;
        }
        .catalog-card:hover {
            box-shadow: 0 10px 25px rgba(0,0,0,0.1);
        }
        .catalog-header {
            background: #2c5aa0;
            color: white;
            padding: 25px;
            text-align: center;
        }
        .catalog-header h3 {
            margin: 0;
            font-size: 1.5rem;
        }
        .hours-badge {
            display: inline-block;
            background: rgba(255,255,255,0.2);
            padding: 5px 15px;
            border-radius: 20px;
            font-size: 0.9rem;
            margin-top: 10px;
        }
        .catalog-body {
            padding: 25px;
        }
        .program-list {
            list-style: none;
            padding: 0;
            margin: 20px 0;
        }
        .program-list li {
            padding: 8px 0;
            border-bottom: 1px dashed #e0e0e0;
            position: relative;
            padding-left: 25px;
        }
        .program-list li:before {
            content: "✓";
            color: #2c5aa0;
            position: absolute;
            left: 0;
            font-weight: bold;
        }
        .catalog-footer {
            padding: 20px 25px;
            border-top: 1px solid #eaeaea;
            text-align: center;
        }
        .btn-outline {
            display: inline-block;
            border: 2px solid #2c5aa0;
            color: #2c5aa0;
            padding: 5px 10px;
            text-decoration: none;
            border-radius: 5px;
            font-weight: bold;
            transition: all 0.3s ease;
        }
        .btn-outline:hover {
            background: #2c5aa0;
            color: white;
        }

        /* СТИЛИ ДЛЯ КНОПОК */
        .btn-primary {
            display: inline-block;
            background: #2c5aa0;
            color: white;
            padding: 5px 10px;
            text-decoration: none;
            border-radius: 5px;
            font-weight: bold;
            font-size: 1.1rem;
            margin-top: 20px;
            transition: background 0.3s ease;
        }
        .btn-primary:hover {
            background: #1a4785;
        }

        @media (max-width: 768px) {
            .company-header h1 {
                font-size: 2.2rem;
            }
            .hero-stats {
                flex-direction: column;
                gap: 30px;
            }
            .catalog-grid {
                grid-template-columns: 1fr;
            }
        }
/* ===== КТО ЯВЛЯЕТСЯ НАШИМИ КЛИЕНТАМИ ===== */
.clients-section {
    padding: 100px 0;
    background-color: #ffffff;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.client-category {
    background: #f8fafc;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    transition: var(--transition);
    text-align: center;
}

.client-category:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-color);
    background: #ffffff;
}

.client-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: inline-block;
    padding: 15px;
    background: rgba(44, 90, 160, 0.1);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.client-category h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.4;
}

.client-category p {
    color: var(--text-light);
    font-size: 1rem;
    margin: 0;
    line-height: 1.5;
}

/* ===== КТО УЖЕ С НАМИ РАБОТАЕТ ===== */
.partners-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f0f7ff 0%, #e8f1ff 100%);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 50px;
}

.partner-item {
    background: #ffffff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    border: 1px solid transparent;
    text-align: center;
}

.partner-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-color);
}

.partner-logo {
    display: inline-block;
    background: var(--primary-color);
    color: #ffffff;
    padding: 8px 20px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.partner-item h4 {
    color: var(--text-color);
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0;
    line-height: 1.4;
}

.partners-note {
    text-align: center;
    margin-top: 40px;
    padding: 20px;
    background: rgba(44, 90, 160, 0.05);
    border-radius: 10px;
    border: 1px dashed var(--primary-light);
}

.partners-note p {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
}

/* ===== СОСТАВ КУРСА ===== */
.course-structure-section {
    padding: 100px 0;
    background-color: #ffffff;
}

.structure-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.structure-item {
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
    position: relative;
}

.structure-item:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-medium);
}

.structure-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: #ffffff;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.format-badge {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.structure-header h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
    flex: 1;
}

.structure-list {
    padding: 25px;
    margin: 0;
    list-style: none;
}

.structure-list li {
    padding: 10px 0;
    color: var(--text-color);
    font-size: 1rem;
    border-bottom: 1px dashed #e5e7eb;
    position: relative;
    padding-left: 25px;
}

.structure-list li:last-child {
    border-bottom: none;
}

.structure-list li::before {
    content: '✓';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.structure-note {
    padding: 15px 25px;
    background: #f8fafc;
    color: var(--text-light);
    font-size: 0.9rem;
    font-style: italic;
    border-top: 1px solid #e5e7eb;
}

.compliance-notice {
    margin-top: 60px;
    padding: 40px;
    background: #f0f7ff;
    border-radius: 12px;
    border: 2px solid var(--primary-light);
    position: relative;
}

.compliance-notice h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 30px;
    text-align: center;
}

.compliance-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.compliance-item {
    background: #ffffff;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.law-number {
    display: inline-block;
    background: var(--primary-color);
    color: #ffffff;
    padding: 6px 15px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.compliance-item p {
    color: var(--text-color);
    font-size: 1rem;
    margin: 0;
    line-height: 1.4;
}

.russian-badge {
    display: inline-block;
    position: absolute;
    top: -15px;
    right: 30px;
    background: #ffffff;
    color: var(--primary-color);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 2px solid var(--primary-color);
}

/* ===== ЧАСТЫЕ ВОПРОСЫ ===== */
.faq-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f0f7ff 100%);
}

.faq-accordion {
    max-width: 900px;
    margin: 50px auto 0;
}

.faq-item {
    background: #ffffff;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    border: 1px solid #e5e7eb;
}

.faq-question {
    width: 100%;
    padding: 25px 30px;
    background: none;
    border: none;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    transition: var(--transition);
}

.faq-question:hover {
    background: #f8fafc;
}

.faq-question span:first-child {
    flex: 1;
    text-align: left;
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.3s ease;
    color: var(--primary-light);
    margin-left: 20px;
    min-width: 20px;
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer.active {
    padding: 0 30px 25px;
}

.faq-answer p, .faq-answer ul {
    margin: 0 0 15px 0;
    color: var(--text-color);
    line-height: 1.6;
}

.faq-answer ul {
    padding-left: 20px;
    list-style-type: disc;
}

.faq-answer li {
    margin-bottom: 8px;
    color: var(--text-color);
}

.faq-cta {
    text-align: center;
    margin-top: 60px;
    padding: 40px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: var(--shadow-light);
}

.faq-cta p {
    font-size: 1.3rem;
    color: var(--text-color);
    margin-bottom: 25px;
    font-weight: 500;
}

.faq-cta strong {
    color: var(--primary-color);
}

/* ===== АДАПТИВНОСТЬ ДЛЯ НОВЫХ БЛОКОВ ===== */
@media (max-width: 768px) {
    .clients-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .partners-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 15px;
    }
    
    .structure-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .compliance-list {
        grid-template-columns: 1fr;
    }
    
    .faq-question {
        padding: 20px;
        font-size: 1rem;
    }
    
    .faq-answer {
        padding: 0 20px;
    }
    
    .faq-answer.active {
        padding: 0 20px 20px;
    }
    
    .russian-badge {
        position: static;
        margin-top: 20px;
        display: block;
        width: fit-content;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 480px) {
    .partner-item {
        padding: 20px 15px;
    }
    
    .partner-item h4 {
        font-size: 1rem;
    }
    
    .structure-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .faq-cta {
        padding: 30px 20px;
    }
}


.sticky-sidebar.is_stuck{
        margin-top: 150px;
}
table .btn{
    padding: 2px 4px;
}


.input-text, #text_area {
    width: 80%;
}
#text_area{
    height: 200px;
}