/* ========== FCN — Страница ИТ-аккредитация ========== */

.accred-page {
    background: var(--bg-primary);
}

.accred-container {
    max-width: 900px;
}

/* === Заголовок страницы === */

.accred-header {
    margin-bottom: 48px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border);
}

.accred-header h1 {
    margin-bottom: 12px;
    font-size: clamp(1.4rem, 3vw, 2rem);
    line-height: 1.3;
}

.accred-header p {
    color: var(--text-secondary);
    font-size: 1rem;
    max-width: 680px;
}

/* === Разделы === */

.accred-section {
    margin-bottom: 44px;
    padding-bottom: 44px;
    border-bottom: 1px solid var(--border);
}

.accred-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.accred-section-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
}

/* === Таблица сведений === */

.accred-table {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.accred-table-sm {
    margin-top: 20px;
}

.accred-row {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 16px;
    align-items: baseline;
    padding: 12px 18px;
    border-bottom: 1px solid var(--border);
}

.accred-row:last-child {
    border-bottom: none;
}

.accred-label {
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    white-space: nowrap;
}

.accred-value {
    font-size: 0.92rem;
    color: var(--text-primary);
    line-height: 1.5;
}

.accred-value a {
    color: var(--gold);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.accred-value a:hover {
    color: var(--gold-light);
    text-decoration: underline;
}

/* === Текст === */

.accred-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 12px;
}

.accred-text:last-child {
    margin-bottom: 0;
}

.accred-text strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* === Список деятельности === */

.accred-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.accred-list li {
    padding: 11px 18px 11px 40px;
    font-size: 0.92rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border);
    position: relative;
    line-height: 1.5;
}

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

.accred-list li::before {
    content: '';
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--gold);
    opacity: 0.7;
}

/* === Технологический стек === */

.accred-tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.accred-tech-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 24px 22px;
    background: var(--bg-secondary);
    transition: background var(--transition-fast);
}

.accred-tech-item:hover {
    background: var(--bg-tertiary);
}

.accred-tech-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.accred-tech-desc {
    font-size: 0.83rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* === Ссылка-документ (инлайн) === */

.accred-doc-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--gold);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.accred-doc-link:hover {
    color: var(--gold-light);
    text-decoration: underline;
}

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

.accred-docs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.accred-doc-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-secondary);
    text-decoration: none;
    color: var(--text-primary);
    transition: background var(--transition-fast), border-color var(--transition-fast);
    min-width: 200px;
}

.accred-doc-card:hover {
    background: var(--bg-tertiary);
    border-color: var(--border-light);
}

.accred-doc-card svg {
    flex-shrink: 0;
    color: var(--gold);
}

.accred-doc-card-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.accred-doc-card-name {
    font-size: 0.9rem;
    font-weight: 500;
}

.accred-doc-card-meta {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* === Адаптив === */

@media (max-width: 560px) {
    .accred-row {
        grid-template-columns: 1fr;
        gap: 3px;
        padding: 10px 14px;
    }

    .accred-label {
        font-size: 0.7rem;
    }

    .accred-tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    @media (max-width: 400px) {
        .accred-tech-grid {
            grid-template-columns: 1fr;
        }
    }

    .accred-doc-card {
        min-width: unset;
        width: 100%;
    }
}
