/**
 * БФ «Ева» — Стили страницы «Годовые отчеты»
 */

/* ==========================================================================
   Годовые отчеты
   ========================================================================== */

/* Годовые отчеты */
.reports-hero {
    background: linear-gradient(135deg, #1A1A24 0%, #1c2721 100%);
    color: #fff;
    padding: 100px 0 70px;
    text-align: center;
    border-radius: 0 0 40px 40px;
    margin-bottom: 60px;
    position: relative;
    overflow: hidden;
}
.reports-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('assets/fon.jpg') center/cover no-repeat;
    opacity: 0.12;
}
.reports-hero h1 {
    position: relative;
    color: #fff;
    font-size: 52px;
    margin-bottom: 20px;
}
.reports-hero p {
    position: relative;
    font-size: 20px;
    color: rgba(255,255,255,0.85);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.reports-layout {
    background: var(--white);
    border-radius: var(--radius);
    padding: 60px;
    box-shadow: var(--shadow-sm);
    border: 1px solid #f0f0f0;
    margin-bottom: 80px;
}

.report-section {
    margin-bottom: 60px;
}
.report-section:last-child {
    margin-bottom: 0;
}
.report-section h2 {
    font-size: 30px;
    color: var(--text-dark);
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 3px solid rgba(197, 78, 112, 0.1);
    display: flex;
    align-items: center;
    gap: 12px;
}
.report-section h2 svg {
    width: 30px; height: 30px;
    stroke: var(--primary);
}


/* Отчёты */
.report-year-group { margin-bottom: 30px; }
.report-year-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--bg-light);
}
.report-links { display: flex; flex-wrap: wrap; gap: 10px; }
.report-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    background: var(--bg-light);
    border: 1px solid #eaeaea;
    border-radius: 8px;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
}
.report-link:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

@media (max-width: 768px) {
            .reports-hero {
                padding: 45px 0 35px;
                margin-bottom: 30px;
                border-radius: 0 0 24px 24px;
            }
            .reports-hero h1 {
                font-size: 28px;
            }
            .reports-hero p {
                font-size: 15px;
            }
            .reports-layout {
                padding: 24px 16px;
                margin-bottom: 40px;
                border-radius: var(--radius-sm);
            }
            .report-section {
                margin-bottom: 35px;
            }
            .report-section h2 {
                font-size: 22px;
                margin-bottom: 16px;
                padding-bottom: 8px;
            }
            .doc-item {
                padding: 14px 16px;
                gap: 12px;
            }
}

/* ==========================================================================
   Годовые отчеты: вкладки и документы
   ========================================================================== */

/* Годовые отчеты (вкладки и навигация) */
.reports-tabs-nav {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
    border-bottom: 2px solid rgba(197, 78, 112, 0.1);
    padding-bottom: 10px;
    flex-wrap: wrap;
}
.reports-tab-btn {
    background: none;
    border: none;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-light);
    cursor: pointer;
    border-radius: 8px;
    transition: var(--transition);
    font-family: 'Manrope', sans-serif;
}
.reports-tab-btn:hover {
    color: var(--primary);
    background: rgba(197, 78, 112, 0.03);
}
.reports-tab-btn.active {
    color: var(--white);
    background: var(--primary);
}
.reports-tab-content {
    display: none;
}
.reports-tab-content.active {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}
.report-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    border: 1.5px solid rgba(0,0,0,0.03);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}
.report-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.report-cover {
    height: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    color: #fff;
    text-align: center;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}
.report-download-btn {
    padding: 10px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    width: 100%;
    display: inline-block;
}
.report-cover-annual {
    background: linear-gradient(135deg, var(--primary) 0%, #a43a57 100%);
}
.report-cover-tsedakah {
    background: linear-gradient(135deg, var(--secondary) 0%, #c48033 100%);
}
.report-tag {
    font-size: 56px;
    font-weight: 900;
    font-family: 'Manrope', sans-serif;
    opacity: 0.12;
    position: absolute;
    top: 5px;
    right: 15px;
}

/* ==========================================================================
   Отчеты: карточки документов
   ========================================================================== */

/* Отчеты */
.report-cover-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(26,26,36,0.3) 0%, rgba(26,26,36,0.85) 100%);
}
.report-cover-content {
    position: relative;
    z-index: 2;
    color: #fff;
}
.report-cover-label {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 5px;
    opacity: 0.95;
}
.report-cover-year {
    font-size: 42px;
    font-weight: 800;
    font-family: 'Manrope', sans-serif;
    line-height: 1;
}
.report-body {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
}
.report-body-title {
    font-size: 15px;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    line-height: 1.4;
}
.report-body-btn {
    padding: 10px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    width: 100%;
}

/* ==========================================================================
   Адаптивность раздела «Отчеты» для мобильных устройств
   ========================================================================== */
@media (max-width: 600px) {
    .reports-tabs-nav {
        gap: 8px;
        margin-bottom: 25px;
    }
    .reports-tab-btn {
        padding: 10px 16px;
        font-size: 14px;
        flex: 1 1 auto;
        text-align: center;
    }
    .reports-tab-content.active {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .report-card {
        min-width: 0;
        width: 100%;
    }
    .report-links {
        flex-direction: column;
    }
    .report-link {
        width: 100%;
        justify-content: center;
        box-sizing: border-box;
    }
}
