/* ===== БАЗА ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --navy: #0a2d52;
    --navy-dark: #06203d;
    --gold: #c9a227;
    --gold-light: #e6c352;
    --bg: #f5f7fa;
    --card: #ffffff;
    --text: #1f2933;
    --muted: #5b6b7b;
    --line: #e2e8f0;
    --shadow-sm: 0 1px 2px rgba(10, 45, 82, 0.06);
    --shadow-md: 0 6px 18px rgba(10, 45, 82, 0.10);
    --shadow-lg: 0 18px 40px rgba(10, 45, 82, 0.16);
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.65;
    color: var(--text);
    background-color: var(--bg);
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 92%;
    max-width: 1180px;
    margin: 0 auto;
}

/* ===== ШАПКА ===== */
.header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
    color: #fff;
    border-bottom: 3px solid var(--gold);
    box-shadow: var(--shadow-md);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1rem 0;
    flex-wrap: wrap;
}

.symbols-area {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.symbol-img {
    height: 58px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.45));
    transition: transform 0.25s ease;
}
.symbol-img:hover { transform: translateY(-2px); }

.flag-img { height: 48px; }
.emblem-img { height: 62px; }

.logo-area { flex: 1; min-width: 240px; }

.logo-text h1 {
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: 0.2px;
    line-height: 1.2;
    margin-bottom: 0.25rem;
}

.logo-text span {
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    opacity: 0.8;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 0.4rem;
}

.main-nav a {
    position: relative;
    display: inline-block;
    color: #e8eef6;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.55rem 0.9rem;
    border-radius: 6px;
    transition: color 0.25s, background 0.25s;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 4px;
    width: 0;
    height: 2px;
    background: var(--gold-light);
    transition: width 0.25s ease, left 0.25s ease;
}

.main-nav a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}
.main-nav a:hover::after { width: 60%; left: 20%; }

/* ===== СЕКЦИИ ===== */
.section { padding: 4rem 0; }

.section h2 {
    position: relative;
    font-size: 2rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 2.2rem;
    padding-left: 1.2rem;
    letter-spacing: 0.2px;
}

.section h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    bottom: 6px;
    width: 6px;
    border-radius: 3px;
    background: linear-gradient(180deg, var(--gold), var(--gold-light));
}

.section-subtitle {
    color: var(--muted);
    font-size: 1.02rem;
    margin-bottom: 2.2rem;
    max-width: 780px;
}

/* ===== О КОМИТЕТЕ ===== */
.section-about { background: #fff; }

.about-content {
    max-width: 900px;
    font-size: 1.08rem;
    color: #2c3a48;
}

.about-content p { margin-bottom: 1.1rem; text-align: justify; }

/* ===== ЗАДАЧИ ===== */
.section-tasks {
    background:
        linear-gradient(180deg, rgba(10, 45, 82, 0.04), transparent 60%),
        var(--bg);
}

.tasks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.task-card {
    position: relative;
    background: var(--card);
    padding: 1.7rem 1.6rem 1.7rem;
    border-radius: 12px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
    overflow: hidden;
}

.task-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: linear-gradient(90deg, var(--navy), var(--gold));
}

.task-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: #cfd9e4;
}

.task-card h3 {
    color: var(--navy);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.7rem;
}

.task-card p { color: #3c4a58; font-size: 0.98rem; }

/* ===== СОТРУДНИКИ ===== */
.section-staff { background: #fff; }

.staff-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.staff-card {
    background: linear-gradient(180deg, #ffffff, #fbfcfe);
    border: 1px solid var(--line);
    border-left: 5px solid var(--navy);
    border-radius: 12px;
    padding: 1.6rem 1.8rem;
    box-shadow: var(--shadow-sm);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.staff-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.staff-info {
    display: flex;
    flex-direction: column;
}

.staff-info h3 {
    color: var(--navy);
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
}

.staff-position {
    display: inline-block;
    align-self: flex-start;
    font-weight: 600;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--navy);
    background: rgba(201, 162, 39, 0.14);
    border: 1px solid rgba(201, 162, 39, 0.35);
    padding: 0.28rem 0.7rem;
    border-radius: 999px;
    margin-bottom: 0.9rem;
}

.staff-bio {
    color: #3c4a58;
    font-size: 0.98rem;
    text-align: justify;
}
.staff-bio strong { color: var(--navy); }

/* ===== КНОПКИ ===== */
.staff-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 1.1rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    border: 1px solid transparent;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}

.btn-icon { font-size: 1rem; line-height: 1; }

.btn-more {
    background: var(--navy);
    color: #fff;
    box-shadow: 0 2px 6px rgba(10, 45, 82, 0.3);
}
.btn-more:hover {
    background: var(--gold);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(201, 162, 39, 0.45);
}

.btn-arrow { transition: transform 0.2s ease; }
.btn-more:hover .btn-arrow { transform: translateX(3px); }

.btn-telegram {
    background: #229ED9;
    color: #fff;
    box-shadow: 0 2px 6px rgba(34, 158, 217, 0.35);
}
.btn-telegram:hover {
    background: #1b87ba;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(34, 158, 217, 0.45);
}

/* ===== СТРАНИЦА БИОГРАФИИ ===== */
.bio-hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
    color: #fff;
    padding: 3.5rem 0;
    border-bottom: 3px solid var(--gold);
}

.bio-hero-content {
    display: flex;
    align-items: center;
    gap: 2.2rem;
    flex-wrap: wrap;
}

.bio-eyebrow {
    text-transform: uppercase;
    letter-spacing: 2.5px;
    font-size: 0.78rem;
    opacity: 0.8;
    margin-bottom: 0.5rem;
}

.bio-hero-info h1 {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 0.4rem;
}

.bio-role {
    font-size: 1.05rem;
    opacity: 0.9;
    margin-bottom: 1.2rem;
}

.bio-hero .btn-telegram {
    background: #229ED9;
}

.bio-section { padding: 3.5rem 0; background: #fff; }
.bio-section-alt { background: var(--bg); }

.bio-section h2 {
    position: relative;
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 2rem;
    padding-left: 1.2rem;
}

.bio-section h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    bottom: 6px;
    width: 6px;
    border-radius: 3px;
    background: linear-gradient(180deg, var(--gold), var(--gold-light));
}

.bio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.bio-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.bio-card h3 {
    color: var(--navy);
    font-size: 1.08rem;
    font-weight: 700;
    margin-bottom: 0.7rem;
}

.bio-card p { color: #3c4a58; font-size: 0.96rem; margin-bottom: 0.35rem; }

.bio-list { list-style: none; padding: 0; }
.bio-list li {
    position: relative;
    padding-left: 1.2rem;
    margin-bottom: 0.4rem;
    color: #3c4a58;
    font-size: 0.96rem;
}
.bio-list li::before {
    content: "▸";
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: 700;
}

/* Таймлайн */
.bio-timeline { position: relative; padding-left: 1.8rem; }
.bio-timeline::before {
    content: "";
    position: absolute;
    left: 7px;
    top: 6px;
    bottom: 6px;
    width: 3px;
    background: linear-gradient(180deg, var(--gold), var(--navy));
    border-radius: 2px;
}

.bio-timeline-item {
    position: relative;
    margin-bottom: 2rem;
}

.bio-timeline-marker {
    position: absolute;
    left: -1.8rem;
    top: 6px;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background: var(--gold);
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px var(--navy);
}

.bio-timeline-body {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 1.4rem 1.6rem;
    box-shadow: var(--shadow-sm);
}

.bio-period {
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gold);
    margin-bottom: 0.4rem;
}

.bio-timeline-body h3 {
    color: var(--navy);
    font-size: 1.12rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.bio-job {
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 0.8rem;
}

.bio-timeline-body ul { list-style: none; padding: 0; }
.bio-timeline-body li {
    position: relative;
    padding-left: 1.2rem;
    margin-bottom: 0.35rem;
    color: #3c4a58;
    font-size: 0.96rem;
}
.bio-timeline-body li::before {
    content: "▸";
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: 700;
}

/* Документ */
.bio-document {
    background: var(--card);
    border: 1px solid var(--line);
    border-left: 5px solid var(--navy);
    border-radius: 12px;
    padding: 2rem 2.2rem;
    box-shadow: var(--shadow-sm);
    max-width: 900px;
}

.bio-document-lead {
    font-size: 1.05rem;
    color: var(--navy);
    font-weight: 600;
    margin-bottom: 1.4rem;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid var(--line);
}

.bio-document p {
    margin-bottom: 1rem;
    text-align: justify;
    color: #3c4a58;
}
.bio-document p strong { color: var(--navy); }

.bio-conclusion {
    margin-top: 1.4rem;
    padding: 1rem 1.2rem;
    background: rgba(201, 162, 39, 0.10);
    border-left: 4px solid var(--gold);
    border-radius: 6px;
    color: var(--navy) !important;
}

.bio-signature {
    margin-top: 2rem;
    padding-top: 1.4rem;
    border-top: 1px solid var(--line);
    text-align: right;
}

.bio-signature p { margin-bottom: 0.3rem; }
.bio-signature-name {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--navy);
    letter-spacing: 0.5px;
}
.bio-signature-meta {
    font-size: 0.82rem;
    color: var(--muted);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.bio-back {
    padding: 2.5rem 0;
    background: #fff;
    text-align: center;
}

/* ===== ПОДВАЛ ===== */
.footer {
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
    color: #cfd9e4;
    text-align: center;
    padding: 2.4rem 0;
    border-top: 3px solid var(--gold);
    font-size: 0.9rem;
    line-height: 1.8;
}

/* ===== АДАПТИВ ===== */
@media (max-width: 992px) {
    .header-content {
        flex-direction: column;
        text-align: center;
        gap: 0.8rem;
    }
    .logo-area { min-width: auto; }
    .symbols-area { justify-content: center; width: 100%; }
    .main-nav ul { flex-wrap: wrap; justify-content: center; }
    .main-nav a { padding: 0.45rem 0.75rem; }

    .bio-hero-content { flex-direction: column; text-align: center; }
    .bio-hero-info h1 { font-size: 1.6rem; }
}

@media (max-width: 768px) {
    .symbol-img { height: 44px; }
    .flag-img { height: 36px; }
    .emblem-img { height: 47px; }

    .section { padding: 2.6rem 0; }
    .section h2 { font-size: 1.55rem; }

    .staff-card {
        padding: 1.4rem 1.3rem;
        text-align: center;
        border-left-width: 4px;
    }
    .staff-position { align-self: center; }
    .staff-bio { text-align: left; }
    .staff-actions { justify-content: center; }
    .btn { flex: 1 1 100%; justify-content: center; }

    .bio-section { padding: 2.4rem 0; }
    .bio-section h2 { font-size: 1.4rem; }
    .bio-document { padding: 1.4rem 1.2rem; }
    .bio-timeline { padding-left: 1.4rem; }
    .bio-timeline-marker { left: -1.4rem; }
    .bio-signature { text-align: left; }
}