﻿:root {
    --primary: #1a2b4a;
    --primary-light: #243b61;
    --primary-dark: #0f1a2e;
    --accent: #c9a84c;
    --accent-light: #e8d5a0;
    --accent-bg: rgba(201,168,76,0.08);
    --red: #dc2626;
    --red-bg: #fef2f2;
    --green: #16a34a;
    --green-bg: #f0fdf4;
    --blue: #2563eb;
    --blue-bg: #eff6ff;
    --amber: #d97706;
    --amber-bg: #fffbeb;
    --purple: #7c3aed;
    --purple-bg: #f5f3ff;
    --cyan: #0891b2;
    --cyan-bg: #ecfeff;
    --bg: #f1f5f9;
    --surface: #ffffff;
    --surface-hover: #f8fafc;
    --text: #1e293b;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;
    --border: #e2e8f0;
    --border-light: #f1f5f9;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --radius: 16px;
    --radius-sm: 12px;
    --radius-xs: 8px;
    --bottom-nav-h: 64px;
    --safe-bottom: env(safe-area-inset-bottom, 0px);
    --safe-top: env(safe-area-inset-top, 0px);
    --page-bottom: calc(var(--bottom-nav-h) + var(--safe-bottom));
}
html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-behavior: auto;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; background: var(--bg); color: var(--text); line-height: 1.5; overflow-x: hidden; }

/* ===== APP SHELL ===== */
.app { display: flex; min-height: 100vh; }
.page-view { display: none; }
.page-view.active { display: block; }
#public-pages { min-height: 100vh; background: var(--bg); }

/* ===== HEADER (PUBLIC) ===== */
/* [СВО] 2026-07-06 — Шапка: светлый фон как на участниксво.рф. НЕ МЕНЯТЬ без проверки .hero */
.pub-header {
    background: #f5f4f0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.pub-header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    height: 72px;
    gap: 16px;
}
.pub-header .logo { justify-self: start; }
.pub-nav { justify-self: center; }
.header-actions { justify-self: end; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; cursor: pointer; }
/* [СВО] 2026-07-06 — Круглое лого (img/logo.jpg). В шапке — внутри .logo-mark */
.logo-img,
.leaders-logo {
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    background: #fff;
}
.leaders-logo {
    width: 80px;
    height: 80px;
    border: 2px solid var(--accent);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}
/* [СВО] 2026-07-06 — Лого шапки: без обводки, только изображение */
.pub-header .logo {
    gap: 14px;
    transition: transform 0.25s ease;
}
.pub-header .logo:hover { transform: translateY(-1px); }
.pub-header .logo-mark {
    position: relative;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: transparent;
    padding: 0;
    box-shadow: none;
}
.pub-header .logo:hover .logo-mark {
    transform: scale(1.03);
}
.pub-header .logo-mark::after {
    display: none;
}
.pub-header .logo-img {
    width: 52px;
    height: 52px;
    border: none;
    box-shadow: none;
}
.logo-text,
.sidebar-logo-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: -0.2px;
    line-height: 1.15;
}
.pub-header .logo-text {
    gap: 0;
    position: relative;
    padding-left: 2px;
    color: #1e3a5f;
}
.pub-header .logo-text::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 4px;
    bottom: 4px;
    width: 3px;
    border-radius: 2px;
    background: linear-gradient(180deg, #c9a84c 0%, #e8d5a0 50%, #c9a84c 100%);
    opacity: 0.85;
}
.pub-header .logo-text__line--top {
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #94a3b8;
    line-height: 1.3;
}
.pub-header .logo-text__line--bottom {
    font-size: 16.5px;
    font-weight: 800;
    letter-spacing: -0.35px;
    color: #1e3a5f;
    line-height: 1.2;
}
.pub-header .logo-text__svo {
    background: linear-gradient(135deg, #8a6d1f 0%, #c9a84c 38%, #f0dfa0 62%, #c9a84c 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    font-weight: 900;
}

.footer .logo-text { color: #fff; }
.logo-text__line { display: block; white-space: nowrap; }
.logo-text--footer { font-size: 16px; gap: 3px; }
.logo-text__line span:not(.logo-text__svo),
.sidebar-logo-text span { color: var(--accent); }
.pub-nav { display: flex; gap: 2px; flex-wrap: wrap; flex: 1; justify-content: center; }
.pub-header .pub-nav a { color: #334155; text-decoration: none; padding: 8px 12px; border-radius: 6px; font-size: 14px; font-weight: 500; transition: all 0.2s; cursor: pointer; white-space: nowrap; }
.pub-header .pub-nav a:hover { background: rgba(0, 0, 0, 0.05); color: #0f172a; }

/* [СВО] 2026-07-07 — Пункт «Ещё ...» в меню шапки + панель справа. НЕ МЕНЯТЬ без проверки togglePubMoreMenu() */
.pub-nav__more {
    display: inline-flex;
    align-items: center;
    margin: 0;
    padding: 8px 12px;
    border: none;
    border-radius: 6px;
    background: transparent;
    color: #334155;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
}
.pub-nav__more:hover,
.pub-nav__more[aria-expanded="true"] {
    background: rgba(0, 0, 0, 0.05);
    color: #0f172a;
}
.pub-nav__more[aria-expanded="true"] {
    color: #0078C1;
}
.header-actions--desktop { display: none; }

.pub-more-menu {
    position: fixed;
    inset: 0;
    z-index: 9050;
    display: none;
    pointer-events: none;
}
.pub-more-menu.active {
    display: block;
    pointer-events: auto;
}
.pub-more-menu__overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 26, 46, 0.42);
    backdrop-filter: blur(3px);
}
.pub-more-menu__panel {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(360px, 92vw);
    background: #fff;
    box-shadow: -12px 0 40px rgba(30, 58, 95, 0.14);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.32s ease;
}
.pub-more-menu.active .pub-more-menu__panel {
    transform: translateX(0);
}
.pub-more-menu__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 22px 14px;
    border-bottom: 1px solid rgba(30, 58, 95, 0.08);
}
.pub-more-menu__title {
    font-size: 18px;
    font-weight: 800;
    color: #1e3a5f;
}
.pub-more-menu__close {
    width: 40px;
    height: 40px;
    border: none;
    background: #f1f5f9;
    border-radius: 10px;
    color: #64748b;
    font-size: 18px;
    cursor: pointer;
}
.pub-more-menu__body {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 16px 22px 28px;
    overflow-y: auto;
}
.pub-more-menu__links {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.pub-more-menu__link {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 14px 12px;
    border: none;
    border-radius: 12px;
    background: transparent;
    color: #1e3a5f;
    font-size: 15px;
    font-weight: 600;
    font-family: inherit;
    text-align: left;
    cursor: pointer;
    transition: background 0.2s;
}
.pub-more-menu__link i {
    width: 20px;
    color: #0078C1;
    text-align: center;
}
.pub-more-menu__link:hover {
    background: rgba(0, 120, 193, 0.08);
}
.pub-more-menu__phone {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    border-radius: 14px;
    background: #f8fafc;
    border: 1px solid rgba(30, 58, 95, 0.08);
    text-decoration: none;
    color: inherit;
}
.pub-more-menu__phone i {
    font-size: 20px;
    color: #0078C1;
}
.pub-more-menu__phone span {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.pub-more-menu__phone strong {
    font-size: 18px;
    color: #1e3a5f;
}
.pub-more-menu__phone small {
    font-size: 12px;
    color: #64748b;
}
.pub-more-menu__cabinet {
    width: 100%;
    justify-content: center;
}
body.pub-more-open {
    overflow: hidden;
}

.header-actions { display: flex; gap: 16px; align-items: center; flex-shrink: 0; }
/* [СВО] 2026-07-06 — Телефон в белой шапке */
/* [СВО] 2026-07-06 — Телефон в шапке: иконка слева, номер и подпись в 2 строки */
.header-hotline {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    line-height: 1.2;
    transition: opacity 0.2s;
}
.header-hotline:hover { opacity: 0.82; }
.header-hotline__icon {
    font-size: 22px;
    color: #1e3a5f;
    transform: rotate(-18deg);
    flex-shrink: 0;
}
.header-hotline__body {
    display: flex;
    flex-direction: column;
    gap: 1px;
}
.pub-header .header-hotline__phone {
    color: #1e3a5f;
    font-size: 17px;
    font-weight: 700;
    white-space: nowrap;
    letter-spacing: 0.2px;
    line-height: 1.15;
}
.pub-header .header-hotline__label {
    color: #94a3b8;
    font-size: 11px;
    font-weight: 500;
    white-space: nowrap;
    letter-spacing: 0.1px;
    line-height: 1.2;
}
.pub-header .btn-outline { background: transparent; color: #1e3a5f; border: 1.5px solid rgba(30, 58, 95, 0.22); }
.pub-header .btn-outline:hover { border-color: var(--accent); color: #8a6d1f; background: rgba(201, 168, 76, 0.08); }
/* [СВО] 2026-07-06 — Кнопка «Личный кабинет» (#0078C1 как на референсе) */
.pub-header .btn-cabinet {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 11px 20px;
    border: none;
    border-radius: 12px;
    background: #0078C1;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(0, 120, 193, 0.28);
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.pub-header .btn-cabinet:hover {
    background: #006aad;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(0, 120, 193, 0.34);
}
.pub-header .btn-cabinet i { font-size: 14px; opacity: 0.95; }
.pub-header .mobile-menu-btn { display: none; background: none; border: none; color: #1e3a5f; font-size: 24px; cursor: pointer; }

/* [СВО] 2026-07-06 — Шапка внутренних страниц (Помощь, Вступление). НЕ МЕНЯТЬ без проверки #view-join */
.pub-page-hero {
    margin-top: 72px;
    background: linear-gradient(145deg, #1e3a5f 0%, #2a4a7a 100%);
    padding: 60px 24px;
}
.pub-page-hero__inner { max-width: 800px; margin: 0 auto; text-align: center; }
.pub-page-hero__tag { color: var(--accent); font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 12px; }
.pub-page-hero__title { color: #fff; font-size: 36px; font-weight: 800; margin-bottom: 12px; }
.pub-page-hero__text { color: rgba(255, 255, 255, 0.7); font-size: 16px; max-width: 560px; margin: 0 auto; line-height: 1.6; }

/* [СВО] 2026-07-07 — Страница новостей: фильтры + сетка 3 колонки. НЕ МЕНЯТЬ без проверки goNews() */
#view-news .pub-page-hero--news {
    background: linear-gradient(145deg, #1e3a5f 0%, #2a4a7a 55%, #1a3358 100%);
}

#view-news .news-page {
    padding: 28px 24px calc(80px + var(--page-bottom, 0px));
    background: #f4f6f9;
}

#view-news .news-page__inner {
    max-width: 1200px;
    margin: 0 auto;
}

#view-news .news-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px 20px;
    margin-bottom: 24px;
    padding: 18px 20px;
    background: #ffffff;
    border: 1px solid #e8edf3;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(30, 58, 95, 0.05);
}

#view-news .news-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    flex: 1 1 320px;
}

#view-news button.news-category {
    margin: 0;
    padding: 10px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    background: #f8fafc;
    color: #52607a;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
    -webkit-appearance: none;
    appearance: none;
}

#view-news button.news-category:hover {
    border-color: #c9a84c;
    color: #1e3a5f;
    background: #fff;
}

#view-news button.news-category.active {
    border-color: #c9a84c;
    background: linear-gradient(135deg, #d4b85a 0%, #e8d5a0 100%);
    color: #1e3a5f;
    box-shadow: 0 4px 12px rgba(201, 168, 76, 0.22);
}

#view-news .news-search {
    position: relative;
    flex: 1 1 260px;
    max-width: 360px;
}

#view-news .news-search i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    pointer-events: none;
}

#view-news .news-search__input {
    width: 100%;
    box-sizing: border-box;
    min-height: 44px;
    padding: 11px 14px 11px 42px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #f8fafc;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: #1e293b;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

#view-news .news-search__input:focus {
    border-color: #c9a84c;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.15);
}

#view-news .news-feed {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

#view-news .news-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid #e8edf3;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 2px 12px rgba(30, 58, 95, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

#view-news .news-card:hover {
    transform: translateY(-4px);
    border-color: rgba(201, 168, 76, 0.4);
    box-shadow: 0 16px 40px rgba(30, 58, 95, 0.1);
}

#view-news .news-card--featured {
    border-color: rgba(201, 168, 76, 0.35);
}

#view-news .news-card__thumb {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background:
        linear-gradient(145deg, rgba(30, 58, 95, 0.88) 0%, rgba(37, 99, 235, 0.75) 100%),
        url('../img/logo.webp') center / cover no-repeat;
}

#view-news .news-card__thumb picture {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
}

#view-news .news-card__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.35s ease;
}

#view-news .news-card:hover .news-card__img {
    transform: scale(1.05);
}

#view-news .news-card__badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 1;
    padding: 4px 10px;
    border-radius: 999px;
    background: #c9a84c;
    color: #1e3a5f;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

#view-news .news-card__body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 14px 16px 16px;
    flex: 1;
}

#view-news .news-card__date {
    display: inline-flex;
    align-self: flex-start;
    padding: 4px 10px;
    border-radius: 999px;
    background: #eef2f7;
    color: #64748b;
    font-size: 12px;
    font-weight: 600;
}

#view-news .news-card__title {
    margin: 0;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.38;
    color: #1e3a5f;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

#view-news .news-card__excerpt {
    margin: 0;
    font-size: 13px;
    line-height: 1.55;
    color: #64748b;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

#view-news .news-card__more {
    margin-top: 4px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: #b8942e;
}

#view-news .news-page__footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin-top: 32px;
    padding-top: 24px;
}

#view-news .news-page__count {
    margin: 0;
    font-size: 14px;
    color: #64748b;
}

#view-news .news-empty {
    grid-column: 1 / -1;
    padding: 56px 24px;
    text-align: center;
    background: #ffffff;
    border: 1px dashed #cbd5e1;
    border-radius: 16px;
}

#view-news .news-empty i { font-size: 36px; color: #c9a84c; margin-bottom: 12px; }
#view-news .news-empty p { margin: 0 0 6px; font-size: 17px; font-weight: 700; color: #1e3a5f; }
#view-news .news-empty span { font-size: 14px; color: #64748b; }

@media (max-width: 1024px) {
    #view-news .news-feed {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }
}

@media (max-width: 768px) {
    #view-news .pub-page-hero {
        padding: 28px 16px 24px;
    }

    #view-news .pub-page-hero__title {
        font-size: 28px;
    }

    #view-news .news-page {
        padding: 16px max(14px, env(safe-area-inset-left)) calc(72px + var(--page-bottom, 0px)) max(14px, env(safe-area-inset-right));
    }

    #view-news .news-toolbar {
        flex-direction: column;
        align-items: stretch;
        padding: 14px;
        gap: 12px;
    }

    #view-news .news-categories {
        flex: none;
        width: 100%;
        min-height: 0;
        flex-wrap: nowrap;
        align-items: center;
        overflow-x: auto;
        padding-bottom: 4px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    #view-news .news-categories::-webkit-scrollbar { display: none; }

    #view-news button.news-category {
        flex: 0 0 auto;
        align-self: auto;
        height: auto;
        min-height: 0;
    }

    #view-news .news-search {
        flex: none;
        width: 100%;
        max-width: none;
    }

    #view-news .news-feed {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    #view-news .news-card__title {
        font-size: 15px;
    }
}

/* ===== BUTTONS ===== */
.btn { padding: 10px 24px; border-radius: 10px; font-size: 14px; font-weight: 600; cursor: pointer; border: none; transition: all 0.2s; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--primary); }
.btn-primary:hover { background: var(--accent-light); }
.btn-outline { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.3); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-outline-dark { background: transparent; color: var(--text); border: 1.5px solid var(--border); }
.btn-outline-dark:hover { border-color: var(--text-muted); }
.btn-large { padding: 14px 32px; font-size: 16px; }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-red { background: var(--red-bg); color: var(--red); }
.btn-green { background: var(--green-bg); color: var(--green); }
.btn-blue { background: var(--blue-bg); color: var(--blue); }
.btn-ghost { background: transparent; color: var(--text-secondary); }
.btn-ghost:hover { background: var(--surface-hover); color: var(--text); }
.btn-block { width: 100%; justify-content: center; }

/* [СВО] 2026-07-06 — Общий фон главной: однотонный #f0ece4 */
.home-page {
    background-color: #f0ece4;
}

/* [СВО] 2026-07-06 — Hero: белая карточка + изогнутые слои снизу. НЕ МЕНЯТЬ без проверки .hero--centered */
.hero {
    margin-top: 72px;
    background: transparent;
    position: relative;
    overflow: visible;
    padding: 36px 24px 0;
}
.hero-inner { max-width: 1280px; margin: 0 auto; position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(201, 168, 76, 0.4);
    color: #8a6d1f;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
    box-shadow: 0 2px 12px rgba(201, 168, 76, 0.12);
}
.hero h1 { color: #1e3a5f; font-size: 48px; font-weight: 800; line-height: 1.1; margin-bottom: 24px; letter-spacing: -1.5px; }
.hero h1 span {
    color: #c9a84c;
    background: linear-gradient(135deg, #c9a84c 0%, #e8c96a 50%, #a8842e 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-inner p { color: #475569; font-size: 17px; line-height: 1.7; margin-bottom: 32px; max-width: 540px; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
/* [СВО] 2026-07-06 — Кнопки hero: увеличенная высота, белый текст на золотой */
.hero-buttons .btn-large { padding: 18px 36px; font-size: 17px; min-height: 56px; }
.hero .btn-primary { color: #fff; box-shadow: 0 4px 16px rgba(201, 168, 76, 0.35); }
.hero .btn-primary:hover { color: #fff; background: #d4b85a; }
.hero .btn-outline {
    background: rgba(255, 255, 255, 0.85);
    color: #1e3a5f;
    border: 1.5px solid rgba(37, 99, 235, 0.25);
    box-shadow: 0 2px 8px rgba(30, 58, 95, 0.06);
}
.hero .btn-outline:hover {
    background: #fff;
    border-color: var(--accent);
    color: #8a6d1f;
}
.hero-stats { display: flex; gap: 32px; margin-top: 40px; padding-top: 32px; border-top: 1px solid rgba(201, 168, 76, 0.25); flex-wrap: wrap; }
.hero-stat { min-width: 140px; }
.hero-stat-value { font-size: 32px; font-weight: 800; color: #c9a84c; letter-spacing: -0.5px; }
.hero-stat-label { font-size: 13px; color: #64748b; margin-top: 4px; }

/* [СВО] 2026-07-06 — Главный экран по центру: карточка + контент. НЕ МЕНЯТЬ без проверки index.html .hero--centered */
.hero--centered {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    min-height: auto;
    padding: 36px 16px 40px;
}
.hero__card {
    position: relative;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    background: linear-gradient(to bottom, #ffffff 0%, #ffffff 72%, #f0ece4 100%);
    border-radius: 28px;
    padding: 44px 40px 48px;
    box-shadow: none;
    z-index: 2;
}
.hero-center {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    gap: 0;
}
.hero-center__logo-wrap {
    position: relative;
    width: 224px;
    height: 224px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    flex-shrink: 0;
}
/* [СВО] 2026-07-06 — Пульсация у лого: от белого к золотому (#c9a84c) */
.hero-center__logo-wrap::before,
.hero-center__logo-wrap::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.92);
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.5);
    animation: heroLogoPulse 4.5s ease-out infinite;
    pointer-events: none;
    z-index: 0;
}
.hero-center__logo-wrap::after {
    animation-delay: 2.25s;
}
@keyframes heroLogoPulse {
    0% {
        transform: scale(1);
        opacity: 0.72;
        border-color: rgba(255, 255, 255, 0.95);
        box-shadow: 0 0 12px rgba(255, 255, 255, 0.55);
    }
    50% {
        border-color: rgba(232, 213, 160, 0.88);
        box-shadow: 0 0 16px rgba(201, 168, 76, 0.38);
    }
    100% {
        transform: scale(1.22);
        opacity: 0;
        border-color: rgba(201, 168, 76, 0.75);
        box-shadow: 0 0 20px rgba(201, 168, 76, 0.22);
    }
}
.hero-center__logo {
    position: relative;
    z-index: 2;
    width: 224px;
    height: 224px;
    border-radius: 50%;
    object-fit: cover;
    background: #ffffff;
    box-shadow: 0 6px 20px rgba(30, 58, 95, 0.1);
}
/* [СВО] 2026-07-06 — Слоган hero: только здесь Russo One */
.hero--centered .hero-center__text {
    font-family: 'Russo One', sans-serif;
    color: #5e574e;
    font-size: 24px;
    line-height: 1.55;
    max-width: 820px;
    margin: 0;
    font-weight: 400;
    letter-spacing: 0.01em;
}
.hero--centered .hero-center__text strong {
    color: #3a3530;
    font-weight: 400;
}
@media (max-width: 1024px) {
    .hero--centered .hero-center__text {
        font-size: 22px;
    }
}
/* [СВО] 2026-07-06 — CTA: компактная, вторична по отношению к тексту */
.hero-cta-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    width: auto;
    min-width: 260px;
    max-width: 340px;
    margin-top: 28px;
    padding: 13px 28px;
    border: none;
    border-radius: 10px;
    background: #0078C1;
    color: #fff;
    font-family: inherit;
    cursor: pointer;
    box-shadow: 0 3px 12px rgba(0, 120, 193, 0.22);
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.hero-cta-btn__main {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.38;
    text-align: center;
}
.hero-cta-btn__sub {
    font-size: 12px;
    font-weight: 500;
    opacity: 0.88;
    line-height: 1.25;
}
.hero-cta-btn:hover {
    background: #006aad;
    transform: translateY(-1px);
    box-shadow: 0 6px 22px rgba(0, 120, 193, 0.32);
}
.hero-cta-btn:active {
    transform: translateY(0);
}

/* [СВО] 2026-07-06 — Секции главной: карточки на общем фоне */
.home-page .home-section {
    padding: 24px 24px;
    background: transparent;
    position: relative;
    z-index: 3;
}
.home-page .home-section > .section-inner {
    max-width: 1120px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 24px;
    padding: 48px 32px;
    box-shadow:
        0 20px 50px rgba(30, 58, 95, 0.09),
        0 8px 24px rgba(30, 58, 95, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.9);
}
.home-section {
    padding: 72px 24px;
    background: #f6f5f1;
}
.home-section:nth-child(even) {
    background: #faf9f6;
}
.home-section__head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 40px;
}
.home-section__head--row {
    text-align: left;
    max-width: none;
    margin-bottom: 32px;
}
.home-section__title {
    font-size: 32px;
    font-weight: 800;
    color: #1e3a5f;
    letter-spacing: -0.5px;
    margin: 0 0 12px;
    line-height: 1.2;
}
.home-section__lead {
    margin: 0;
    font-size: 17px;
    line-height: 1.65;
    color: #64748b;
    text-wrap: balance;
}
.home-section__lead a {
    color: #0078C1;
    text-decoration: underline;
    text-underline-offset: 2px;
}
/* [СВО] 2026-07-06 — Ссылки в блоке сопредседателей: золотистый как на участниксво.рф */
.home-leaders .home-section__lead a {
    color: #a68d5d;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
}
.home-leaders .home-section__lead a:hover {
    color: #8f7449;
}
.home-section__action {
    display: flex;
    justify-content: center;
    margin-top: 32px;
}
.home-section__action--split {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}
.home-btn--outline {
    background: transparent;
    color: #0078C1;
    border: 1.5px solid rgba(0, 120, 193, 0.35);
    text-decoration: none;
}
.home-btn--outline:hover {
    background: rgba(0, 120, 193, 0.06);
    transform: translateY(-1px);
}
.home-quote--governor {
    background: transparent;
    position: relative;
    z-index: 2;
}
.home-page .quote-section.home-quote {
    background: transparent;
    padding: 20px 24px 40px;
    position: relative;
    z-index: 1;
    overflow: hidden;
}
.home-page .quote-section.home-quote#about {
    margin-top: 8px;
    padding-top: 28px;
}
.home-page .quote-section::before {
    display: none;
}
.home-page .quote-section > .section-inner {
    background: transparent;
    padding: 0;
    box-shadow: none;
    border: none;
    max-width: 1120px;
}
.home-page .quote-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
}
.quote-card--reverse {
    grid-template-columns: 42% 1fr;
}
.quote-card--reverse .quote-card__photo {
    order: 0;
}
.home-faq__media--logo {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 360px;
    background: linear-gradient(145deg, #f6f5f1 0%, #eef3f9 100%);
    border: 1px solid rgba(30, 58, 95, 0.08);
    border-radius: 16px;
}
.home-faq__logo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 8px 32px rgba(30, 58, 95, 0.12);
}
.home-form__categories {
    border: none;
    margin: 0 0 20px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.home-form__categories legend {
    margin-bottom: 12px;
}
.home-form__cat {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    background: #fff;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}
.home-form__cat:has(input:checked) {
    border-color: #0078C1;
    background: rgba(0, 120, 193, 0.04);
}
.home-form__cat input {
    margin-top: 4px;
    flex-shrink: 0;
    accent-color: #0078C1;
}
.home-form__cat-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.home-form__cat-body strong {
    font-size: 14px;
    color: #1e3a5f;
    line-height: 1.35;
}
.home-form__cat-body small {
    font-size: 12px;
    color: #64748b;
    line-height: 1.4;
}
.home-form__upload {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 24px;
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
    background: #fff;
    text-align: center;
    font-size: 13px;
    color: #64748b;
    position: relative;
}
.home-form__upload i {
    font-size: 24px;
    color: #94a3b8;
}
.home-form__upload-link {
    color: #0078C1;
    cursor: pointer;
    text-decoration: underline;
}
.home-form__upload-input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}
.home-contact__agree a {
    color: #0078C1;
}
.pub-mobile-menu__link--ext {
    text-decoration: none;
    color: var(--text);
}
.home-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border: none;
    border-radius: 10px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.home-btn--primary {
    background: #0078C1;
    color: #fff;
    box-shadow: 0 4px 14px rgba(0, 120, 193, 0.22);
}
.home-btn--primary:hover {
    background: #006aad;
    transform: translateY(-1px);
}
.home-btn--light {
    background: #fff;
    color: #0078C1;
}
.home-btn--light:hover {
    background: #f0f9ff;
}
.home-quote {
    background: transparent;
}
/* [СВО] 2026-07-07 — Блок новостей: две колонки, синяя панель справа */
.home-news__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 36px;
    align-items: stretch;
}
.home-news__main,
.home-news__sidebar {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}
.home-news__main-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-height: 0;
}
.home-news__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    align-items: stretch;
}
.home-news__sidebar-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #0078C1;
    border-radius: 12px;
    padding: 8px 22px 12px;
    overflow: hidden;
}
/* [СВО] 2026-07-07 — Карусель: 4 полных + 5-я наполовину, без затемнения */
.home-news__sidebar-viewport {
    --home-news-sidebar-item-h: 104px;
    position: relative;
    overflow: hidden;
    width: 100%;
    height: calc(var(--home-news-sidebar-item-h) * 4.5);
    flex-shrink: 0;
}
.home-news__sidebar-track {
    list-style: none;
    margin: 0;
    padding: 0;
    animation: homeNewsSidebarScroll 48s linear infinite;
    will-change: transform;
}
.home-news__sidebar-viewport:hover .home-news__sidebar-track,
.home-news__sidebar-viewport:focus-within .home-news__sidebar-track {
    animation-play-state: paused;
}
@keyframes homeNewsSidebarScroll {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(0, -50%, 0); }
}
.home-news__block-title--sidebar {
    margin-bottom: 18px;
}
.home-news__block-title {
    font-family: 'Inter', sans-serif;
    font-size: 32px;
    font-weight: 800;
    color: #1e3a5f;
    margin: 0 0 18px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(30, 58, 95, 0.14);
    line-height: 1.2;
    letter-spacing: -0.5px;
    flex-shrink: 0;
}

.home-news__tile {
    position: relative;
    display: block;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.home-news__tile:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(30, 58, 95, 0.16);
}
.home-news__tile--featured {
    width: 100%;
    aspect-ratio: 16 / 9;
    min-height: 240px;
    max-height: 320px;
}
.home-news__tile--small {
    aspect-ratio: 4 / 3;
    min-height: 160px;
    height: auto;
}
.home-news__tile-bg,
.home-news__tile-img,
.home-news__tile picture {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.home-news__tile picture {
    display: block;
}
.home-news__tile-bg {
    background-color: #1e3a5f;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.35s ease;
}
.home-news__tile-img {
    display: block;
    object-fit: cover;
    object-position: center;
    transition: transform 0.35s ease;
}
.home-news__tile:hover .home-news__tile-bg,
.home-news__tile:hover .home-news__tile-img,
.home-news__tile:hover picture .home-news__tile-img {
    transform: scale(1.03);
}
.home-news__tile-overlay {
    display: none;
}
.home-news__tile-content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 22px 24px;
    color: #fff;
}
.home-news__tile-content::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.72) 42%, rgba(0, 0, 0, 0.28) 68%, transparent 100%);
}
.home-news__tile--featured .home-news__tile-content::before {
    top: -110px;
}
.home-news__tile--small .home-news__tile-content::before {
    top: -84px;
}
.home-news__tile-date {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    line-height: 1.3;
    opacity: 0.92;
    margin-bottom: 8px;
}
.home-news__tile-title {
    margin: 0;
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.35;
    color: #fff;
    letter-spacing: -0.02em;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    -webkit-line-clamp: 2;
}
.home-news__tile--small .home-news__tile-title {
    font-size: 15px;
    line-height: 1.4;
    -webkit-line-clamp: 3;
}
.home-news__sidebar-list,
.home-news__sidebar-track {
    list-style: none;
    margin: 0;
    padding: 0;
}
.home-news__sidebar-item {
    height: var(--home-news-sidebar-item-h, 104px);
    min-height: var(--home-news-sidebar-item-h, 104px);
    box-sizing: border-box;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
    cursor: pointer;
    transition: opacity 0.2s;
}
.home-news__sidebar-item:last-child {
    border-bottom: none;
}
.home-news__sidebar-item:hover {
    opacity: 0.88;
}
.home-news__sidebar-date {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    line-height: 1.3;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 8px;
}
.home-news__sidebar-item-title {
    margin: 0;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.45;
    color: #fff;
    letter-spacing: -0.01em;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    -webkit-line-clamp: 2;
}
.news-modal__date {
    display: block;
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}
.news-modal__text {
    margin: 0;
    font-size: 16px;
    line-height: 1.65;
    color: var(--text);
}

/* [СВО] 2026-07-07 — Страница полной новости (#view-news-article). НЕ МЕНЯТЬ без проверки openNewsItem() */
#view-news-article {
    background: #f8f7f4;
    padding-top: 72px;
}

#view-news-article .news-article__hero {
    width: 100%;
    min-height: 280px;
    max-height: 420px;
    overflow: hidden;
    background: #e2e8f0;
}

#view-news-article .news-article__hero picture {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 280px;
    max-height: 420px;
}

#view-news-article .news-article__hero-img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 280px;
    max-height: 420px;
    object-fit: cover;
    object-position: center;
}

#view-news-article .news-article__inner {
    max-width: 860px;
    margin: 0 auto;
    padding: 28px 24px 72px;
}

#view-news-article .news-article__back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    padding: 8px 14px;
    border: 1px solid rgba(30, 58, 95, 0.12);
    border-radius: 999px;
    background: #fff;
    color: #1e3a5f;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

#view-news-article .news-article__back:hover {
    border-color: rgba(201, 168, 76, 0.45);
    box-shadow: 0 8px 24px rgba(30, 58, 95, 0.08);
}

#view-news-article .news-article__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 14px;
    margin-bottom: 12px;
    font-size: 14px;
    color: #64748b;
}

#view-news-article .news-article__region {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    color: #1e3a5f;
}

#view-news-article .news-article__region i { color: #c9a84c; }

#view-news-article .news-article__title {
    margin: 0 0 24px;
    font-size: clamp(26px, 4vw, 36px);
    line-height: 1.25;
    color: #1e3a5f;
}

#view-news-article .news-article__content {
    background: #fff;
    border: 1px solid rgba(30, 58, 95, 0.08);
    border-radius: 18px;
    padding: 28px 30px;
    box-shadow: 0 10px 30px rgba(30, 58, 95, 0.06);
}

#view-news-article .news-article__content p {
    margin: 0 0 16px;
    font-size: 16px;
    line-height: 1.7;
    color: #334155;
}

#view-news-article .news-article__content p:last-child { margin-bottom: 0; }

#view-news-article .news-article__subheading {
    margin: 22px 0 8px;
    font-size: 18px;
    line-height: 1.35;
    color: #1e3a5f;
}

#view-news-article .news-article__gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
    margin-top: 20px;
}

#view-news-article .news-article__gallery-item {
    margin: 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(30, 58, 95, 0.08);
}

#view-news-article .news-article__gallery-item img {
    display: block;
    width: 100%;
    height: 140px;
    object-fit: cover;
}

#view-news .news-card__thumb[style*="background-image"] {
    background-color: #e2e8f0;
}

#view-news .news-card__thumb:has(.news-card__img) {
    background: #e2e8f0;
}

@media (max-width: 1024px) {
    #view-news-article .news-article__hero {
        min-height: 220px;
        max-height: 280px;
    }

    #view-news-article .news-article__inner {
        padding: 20px 16px 88px;
    }

    #view-news-article .news-article__content {
        padding: 20px 18px;
    }
}

.home-leaders {
    background: #fff;
}
.home-leaders__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.home-leader-card {
    background: #faf9f6;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(30, 58, 95, 0.08);
    box-shadow: 0 4px 20px rgba(30, 58, 95, 0.06);
    display: flex;
    flex-direction: column;
}
.home-leader-card__photo {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: #e2e8f0;
}
.home-leader-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.home-leader-card__badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    object-fit: contain;
}
.home-leader-card__body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.home-leader-card__name {
    font-size: 16px;
    font-weight: 800;
    color: #1e3a5f;
    margin: 0 0 8px;
    line-height: 1.3;
}
.home-leader-card__name-br {
    display: none;
}
.home-leader-card__role {
    font-size: 13px;
    line-height: 1.5;
    color: #64748b;
    margin: 0;
    flex: 1;
}
.home-leader-card__photo--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #e8edf3 0%, #d1dae6 100%);
    color: #94a3b8;
}
.home-leader-card__photo--placeholder i {
    font-size: 64px;
    opacity: 0.55;
}
.home-leader-card__channel {
    color: #64748b;
    word-break: break-all;
}
.home-leader-card__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    margin-top: 12px;
    padding: 9px 18px;
    border-radius: 8px;
    background: #0078C1;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s ease;
}
.home-leader-card__btn:hover {
    background: #006aad;
    color: #fff;
}
.home-leader-card--simchuk .home-leader-card__photo img {
    object-position: center top;
}
.home-faq__layout {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 40px;
    align-items: start;
}
.home-faq__media {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    min-height: 360px;
    background: #1e3a5f;
}
.home-faq__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 360px;
}
.home-faq__media-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 26, 46, 0.85) 0%, transparent 55%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    color: #fff;
}
.home-faq__media-tag {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #c9a84c;
    margin-bottom: 8px;
}
.home-faq__media-overlay p {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.45;
}
.home-faq__content .home-section__title {
    text-align: left;
    margin-bottom: 20px;
}
.home-faq__list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
}
.home-faq__item {
    background: #fff;
    border: 1px solid rgba(30, 58, 95, 0.1);
    border-radius: 12px;
    overflow: hidden;
}
.home-faq__question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border: none;
    background: transparent;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    color: #1e3a5f;
    text-align: left;
    cursor: pointer;
}
.home-faq__question i {
    color: #c9a84c;
    font-size: 12px;
    transition: transform 0.2s;
}
.home-faq__item.open .home-faq__question i {
    transform: rotate(45deg);
}
.home-faq__answer {
    display: none;
    padding: 0 16px 14px;
    font-size: 13px;
    line-height: 1.65;
    color: #64748b;
}
.home-faq__item.open .home-faq__answer {
    display: block;
}
.home-contact {
    background: #fff;
}
.home-contact__inner {
    max-width: 860px;
}
.home-contact__form {
    background: #faf9f6;
    border: 1px solid rgba(30, 58, 95, 0.08);
    border-radius: 20px;
    padding: 28px;
}
.home-contact__steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 28px;
}
.home-contact__step {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    background: #e2e8f0;
    color: #64748b;
}
.home-contact__step.is-active {
    background: #0078C1;
    color: #fff;
}
.home-contact__step-line {
    width: 48px;
    height: 2px;
    background: #e2e8f0;
}
.home-contact__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.home-field--wide { grid-column: span 1; }
.home-field--full { grid-column: 1 / -1; }
.home-field__label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 6px;
}
.home-field__label span { color: #dc2626; }
.home-field__input,
.home-field__textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-family: inherit;
    font-size: 14px;
    background: #fff;
    color: #1e293b;
    transition: border-color 0.2s;
}
.home-field__input:focus,
.home-field__textarea:focus {
    outline: none;
    border-color: #0078C1;
}
.home-field__textarea { resize: vertical; min-height: 100px; }
.home-contact__agree {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 20px 0;
    font-size: 13px;
    color: #64748b;
    cursor: pointer;
}
.home-contact__submit {
    display: flex;
    justify-content: flex-end;
}
.home-partners__track {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding-bottom: 8px;
}
.home-partners__card {
    flex: 0 1 220px;
    width: 220px;
    max-width: 100%;
    background: #fff;
    border: 1px solid rgba(30, 58, 95, 0.08);
    border-radius: 14px;
    padding: 22px 16px 20px;
    text-align: center;
    min-height: 148px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    box-shadow: 0 4px 16px rgba(30, 58, 95, 0.05);
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s, box-shadow 0.2s;
}
.home-partners__card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(30, 58, 95, 0.1);
}
.home-faq__answer a {
    color: #0078C1;
    text-decoration: underline;
}
.home-partners__logo {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    background: #fff;
    box-shadow: 0 2px 10px rgba(30, 58, 95, 0.1);
}
.home-partners__name {
    font-size: 14px;
    font-weight: 600;
    color: #334155;
    line-height: 1.4;
}
.home-course {
    background: linear-gradient(135deg, #0078C1 0%, #1e3a5f 100%);
    padding: 56px 24px;
}
.home-course__inner {
    max-width: 900px;
}
.home-course__title {
    color: #fff;
    font-size: 28px;
    font-weight: 800;
    margin: 0 0 12px;
    line-height: 1.25;
}
.home-course__text {
    color: rgba(255, 255, 255, 0.82);
    font-size: 16px;
    line-height: 1.65;
    margin: 0 0 24px;
    max-width: 640px;
}
.home-footer {
    margin-top: 0;
}

@media (max-width: 1280px) {
    .home-news__layout {
        display: flex;
        flex-direction: column;
        gap: 28px;
    }
    .home-news__main,
    .home-news__sidebar {
        width: 100%;
    }
    .home-leaders__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* [СВО] 2026-07-06 — Блок лидеров под hero */
.section--leaders {
    padding: 0 24px 72px;
    background: linear-gradient(180deg, transparent 0%, rgba(240, 246, 253, 0.5) 100%);
}
.section--leaders .section-inner {
    max-width: 440px;
    margin: 0 auto;
}
.section--leaders .hero-card-wrap {
    margin-top: 0;
}

/* [СВО] 2026-07-06 — Hero-карточка: подъём + 2 косых слоя-тени сзади. НЕ МЕНЯТЬ без проверки .hero-card-wrap */
.hero-card-wrap {
    position: relative;
    margin-top: 12px;
    align-self: start;
    width: 100%;
    isolation: isolate;
}
.hero-card-wrap::before,
.hero-card-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    pointer-events: none;
}
.hero-card-wrap::before {
    background: rgba(37, 99, 235, 0.1);
    transform: translate(11px, 13px) skewX(-2.5deg) skewY(1.5deg);
    z-index: 0;
}
.hero-card-wrap::after {
    background: rgba(201, 168, 76, 0.12);
    transform: translate(24px, 30px) skewX(-4deg) skewY(2.5deg);
    z-index: -1;
}
.hero-card {
    position: relative;
    z-index: 1;
    background: var(--surface);
    border-radius: 24px;
    padding: 32px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 20px 50px rgba(30, 58, 95, 0.1), 0 8px 24px rgba(201, 168, 76, 0.08);
}
/* [СВО] 2026-07-06 — Слайдер «Лидеры Ассоциации». НЕ МЕНЯТЬ без проверки ASSOCIATION_LEADERS в main.js */
.hero-card--leaders { padding: 28px 28px 24px; }
.leaders-header { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; padding-bottom: 18px; border-bottom: 1px solid var(--border); }
/* [СВО] 2026-07-06 — Круглое лого в блоке лидеров (img/logo.jpg). Стили общие с .logo-img */
.leaders-logo { width: 80px; height: 80px; }
.leaders-title { font-size: 18px; font-weight: 700; color: var(--text); margin: 0; letter-spacing: -0.3px; }
.leaders-slider {
    height: 300px;
    overflow: hidden;
    position: relative;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 10%, #000 90%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, #000 10%, #000 90%, transparent 100%);
}
.leaders-track {
    display: flex;
    flex-direction: column;
    gap: 0;
    animation: leadersScroll 28s linear infinite;
    will-change: transform;
}
.leaders-slider:hover .leaders-track { animation-play-state: paused; }
@keyframes leadersScroll {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}
.leader-slide {
    display: flex;
    gap: 16px;
    padding: 18px 4px;
    min-height: 150px;
    align-items: flex-start;
    flex-shrink: 0;
    border-bottom: 1px solid var(--border);
    transition: background 0.2s;
}
.leader-slide:last-child { border-bottom: none; }
.leaders-slider:hover .leader-slide:hover { background: rgba(201, 168, 76, 0.06); border-radius: 12px; }
.leader-photo {
    width: 84px;
    height: 84px;
    border-radius: 18px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: visible;
}
/* [СВО] 2026-07-06 — Значки на фото лидеров: звезда (Ликонцев), лого (Симчук). НЕ МЕНЯТЬ без обновления ASSOCIATION_LEADERS */
.leader-star {
    position: absolute;
    bottom: -6px;
    right: -6px;
    width: 28px;
    height: 28px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    z-index: 2;
    pointer-events: none;
}

.leader-star--hero {
    width: 30px;
    height: 30px;
    bottom: -8px;
    right: -8px;
}

.leader-star--simchuk {
    width: 26px;
    height: 26px;
    bottom: -5px;
    right: -5px;
}

.leader-star--deputy {
    width: 26px;
    height: 26px;
    bottom: -5px;
    right: -5px;
}
.leader-photo--1 { background: linear-gradient(145deg, #1e3a5f, #2563eb); }
.leader-photo--2 { background: linear-gradient(145deg, #14532d, #16a34a); }
.leader-photo--3 { background: linear-gradient(145deg, #7c2d12, #ea580c); }
.leader-photo--4 { background: linear-gradient(145deg, #581c87, #9333ea); }
/* [СВО] 2026-07-06 — Фото лидера вместо инициалов */
.leader-photo--img { padding: 0; background: #f1f5f9; overflow: visible; }
.leader-photo__img { width: 100%; height: 100%; object-fit: cover; border-radius: 18px; display: block; }
.leader-info { flex: 1; min-width: 0; }
.leader-name { font-size: 15px; font-weight: 700; color: var(--text); line-height: 1.35; margin-bottom: 8px; }
.leader-role { font-size: 13px; color: var(--text-secondary); line-height: 1.55; }
.leader-link { display: inline-flex; align-items: center; gap: 5px; margin-top: 8px; font-size: 12px; font-weight: 600; color: var(--accent); text-decoration: none; }
.leader-link:hover { text-decoration: underline; color: #a88a2e; }
.leader-link i { font-size: 11px; }
.status-badge { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 6px; font-size: 12px; font-weight: 600; }
.status-green { background: #dcfce7; color: #166534; }
.status-blue { background: #dbeafe; color: #1e40af; }
.status-amber { background: #fef3c7; color: #92400e; }

/* ===== QUICK ACCESS ===== */
.quick-access { position: relative; z-index: 10; margin-top: -60px; padding: 0 24px; }
.quick-access-inner { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.quick-card { background: var(--surface); border-radius: 20px; padding: 28px; box-shadow: var(--shadow); transition: all 0.3s; cursor: pointer; border: 2px solid transparent; }
.quick-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--accent); }
.quick-icon { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 16px; }
.quick-icon.blue { background: #eff6ff; color: #2563eb; }
.quick-icon.green { background: #f0fdf4; color: #16a34a; }
.quick-icon.amber { background: #fffbeb; color: #d97706; }
.quick-icon.red { background: #fef2f2; color: #dc2626; }
.quick-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.quick-card p { font-size: 13px; color: var(--text-secondary); line-height: 1.5; }

/* ===== SECTIONS ===== */
.section { padding: 80px 24px; }
.section-inner { max-width: 1280px; margin: 0 auto; }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-tag { display: inline-block; background: var(--accent-bg); color: var(--accent); padding: 6px 16px; border-radius: 50px; font-size: 13px; font-weight: 600; margin-bottom: 16px; }
.section-header h2 { font-size: 36px; font-weight: 800; letter-spacing: -1px; margin-bottom: 16px; color: var(--primary); }
.section-header p { font-size: 17px; color: var(--text-secondary); line-height: 1.7; }

.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card { background: var(--surface); border-radius: 20px; padding: 36px; box-shadow: var(--shadow); transition: all 0.3s; border: 1px solid var(--border); }
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--accent); }
.feature-icon { width: 56px; height: 56px; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 20px; }
.feature-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.feature-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }
.feature-list { margin-top: 16px; list-style: none; }
.feature-list li { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text); padding: 6px 0; }
.feature-list i { color: var(--accent); font-size: 12px; }

/* Stats Section */
.stats-section { background: var(--primary); position: relative; overflow: hidden; }
.stats-section::before { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); }
.stats-section .section-header h2, .stats-section .section-header p { color: #fff; }
.stats-section .section-header p { opacity: 0.7; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; z-index: 2; }
.stat-card { background: rgba(255,255,255,0.05); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.1); border-radius: 20px; padding: 36px; text-align: center; transition: all 0.3s; }
.stat-card:hover { background: rgba(255,255,255,0.1); transform: translateY(-4px); }
.stat-icon { width: 56px; height: 56px; border-radius: 16px; background: rgba(201,168,76,0.2); display: flex; align-items: center; justify-content: center; font-size: 24px; color: var(--accent); margin: 0 auto 16px; }
.stat-value { font-size: 36px; font-weight: 800; color: var(--accent); margin-bottom: 4px; }
.stat-label { font-size: 14px; color: rgba(255,255,255,0.7); }

/* Steps */
.steps { display: flex; gap: 32px; position: relative; }
.steps::before { content: ''; position: absolute; top: 40px; left: 60px; right: 60px; height: 2px; background: var(--border); z-index: 0; }
.step { flex: 1; text-align: center; position: relative; z-index: 1; }
.step-number { width: 80px; height: 80px; border-radius: 50%; background: var(--surface); border: 3px solid var(--accent); display: flex; align-items: center; justify-content: center; font-size: 28px; font-weight: 800; color: var(--accent); margin: 0 auto 24px; box-shadow: var(--shadow); }
.step h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

/* [СВО] 2026-07-06 — Блок цитаты с фото img/1.jpg. Слои как у .hero-card-wrap */
.quote-section {
    background: linear-gradient(145deg, #ffffff 0%, #f5f0e6 45%, #eef4fc 100%);
    position: relative;
    overflow: hidden;
}
.quote-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c9a84c' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}
/* [СВО] 2026-07-06 — Упрощённый блок «Единство и поддержка» на главной */
.quote-section--intro {
    padding: 72px 24px 96px;
}
.quote-section--intro .section-header--centered {
    margin-bottom: 0;
    max-width: 720px;
}
.quote-section--intro .section-header h2 {
    font-size: 32px;
    margin-bottom: 14px;
}
.quote-section--intro .section-header p {
    font-size: 18px;
    max-width: 640px;
    margin: 0 auto;
}
.quote-card-wrap {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    isolation: isolate;
}
.quote-card-wrap::before,
.quote-card-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    pointer-events: none;
}
.quote-card-wrap::before {
    background: rgba(37, 99, 235, 0.08);
    transform: translate(7px, 8px) skewX(-2deg) skewY(1deg);
    z-index: 0;
}
.quote-card-wrap::after {
    background: rgba(201, 168, 76, 0.09);
    transform: translate(14px, 16px) skewX(-3deg) skewY(1.5deg);
    z-index: -1;
}
.quote-card {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 42%;
    min-height: 340px;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(30, 58, 95, 0.1), 0 8px 24px rgba(201, 168, 76, 0.08);
}
.quote-card__content {
    padding: 48px 40px 48px 56px;
    display: flex;
    flex-direction: column;
    position: relative;
}
.quote-card__accent {
    position: absolute;
    left: 32px;
    top: 48px;
    bottom: 48px;
    width: 4px;
    border-radius: 2px;
    background: linear-gradient(180deg, #c9a84c 0%, #e8d5a0 50%, #c9a84c 100%);
}
.quote-card__text {
    margin: 0 0 0 8px;
    font-size: 18px;
    line-height: 1.8;
    font-style: italic;
    font-weight: 400;
    color: #334155;
    border: none;
}
.quote-card__author {
    margin-top: auto;
    padding-top: 28px;
    text-align: right;
    font-size: 16px;
    font-weight: 700;
    color: #1e3a5f;
    font-style: normal;
}
.quote-card__photo {
    position: relative;
    min-height: 280px;
    overflow: hidden;
}
.quote-card__photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.75) 18%, rgba(255, 255, 255, 0.2) 42%, transparent 62%);
    pointer-events: none;
    z-index: 1;
}
.quote-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.35) 22%, #000 48%);
    mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.35) 22%, #000 48%);
}

/* Testimonials */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card { background: var(--surface); border-radius: 20px; padding: 32px; box-shadow: var(--shadow); position: relative; border: 1px solid var(--border); }
.testimonial-card::before { content: '"'; position: absolute; top: 20px; right: 24px; font-size: 80px; color: var(--accent); opacity: 0.15; font-family: Georgia, serif; line-height: 1; }
.testimonial-text { font-size: 15px; line-height: 1.7; color: var(--text); margin-bottom: 24px; position: relative; z-index: 1; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.testimonial-avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--primary); display: flex; align-items: center; justify-content: center; color: var(--accent); font-weight: 700; font-size: 16px; }
.testimonial-name { font-weight: 700; font-size: 15px; }
.testimonial-role { font-size: 13px; color: var(--text-secondary); }

/* CTA */
.cta-section { padding: 0 24px 80px; }
.cta-box { max-width: 1280px; margin: 0 auto; background: var(--primary); border-radius: 32px; padding: 64px 48px; text-align: center; position: relative; overflow: hidden; }
.cta-box::before { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); }
.cta-box h2 { color: #fff; font-size: 36px; font-weight: 800; margin-bottom: 16px; position: relative; z-index: 1; }
.cta-box p { color: rgba(255,255,255,0.7); font-size: 17px; max-width: 560px; margin: 0 auto 32px; position: relative; z-index: 1; }

/* Footer */
footer { background: #0f1a2e; color: rgba(255,255,255,0.6); padding: 64px 24px 32px; }
.footer-inner { max-width: 1280px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand .logo-text { margin-bottom: 16px; display: inline-block; }
.footer-brand p { font-size: 14px; line-height: 1.7; max-width: 320px; }
.footer-column h4 { color: #fff; font-size: 14px; font-weight: 700; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 0.5px; }
.footer-column a { display: block; color: rgba(255,255,255,0.6); text-decoration: none; font-size: 14px; padding: 6px 0; transition: color 0.2s; cursor: pointer; }
.footer-column a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 32px; display: flex; justify-content: space-between; align-items: center; font-size: 13px; }
.footer-social { display: flex; gap: 16px; }
.footer-social a { color: rgba(255,255,255,0.5); font-size: 18px; transition: color 0.2s; cursor: pointer; }
.footer-social a:hover { color: var(--accent); }

/* ===== MODALS ===== */
.modal-overlay { display: none; position: fixed; inset: 0; background: rgba(15,26,46,0.7); z-index: 2000; align-items: center; justify-content: center; padding: 24px; overflow-y: auto; }
.modal-overlay.active { display: flex; }
.modal { background: var(--surface); border-radius: 24px; width: 100%; max-width: 520px; max-height: 90vh; overflow-y: auto; box-shadow: var(--shadow-lg); position: relative; }
.modal-header { padding: 28px 32px 0; display: flex; justify-content: space-between; align-items: center; }
.modal-title { font-size: 22px; font-weight: 800; }
.modal-close { width: 36px; height: 36px; border-radius: 10px; border: none; background: var(--surface-hover); color: var(--text-secondary); font-size: 18px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.2s; }
.modal-close:hover { background: var(--border); color: var(--text); }
.modal-body { padding: 24px 32px 32px; }
.modal-large { max-width: 720px; }

/* ===== FORMS ===== */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; color: var(--text); }
.form-label .required { color: var(--red); }
.form-hint { font-size: 12px; color: var(--text-muted); margin-top: 4px; }
.form-input, .form-select, .form-textarea { width: 100%; padding: 12px 16px; border: 1.5px solid var(--border); border-radius: 12px; font-size: 15px; font-family: inherit; color: var(--text); background: var(--surface); transition: all 0.2s; outline: none; }
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-bg); }
.form-textarea { min-height: 100px; resize: vertical; }
.form-select { cursor: pointer; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-check { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 16px; }
.form-check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--accent); cursor: pointer; }
.form-check label { font-size: 13px; color: var(--text-secondary); line-height: 1.5; cursor: pointer; }
.form-check label a { color: var(--accent); text-decoration: none; }
.form-divider { display: flex; align-items: center; gap: 16px; margin: 24px 0; color: var(--text-muted); font-size: 13px; }
.form-divider::before, .form-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.form-error { color: var(--red); font-size: 12px; margin-top: 4px; display: none; }
.form-error.show { display: block; }

/* ===== SIDEBAR (DASHBOARD) ===== */
.sidebar { width: 280px; background: var(--primary); position: fixed; height: 100vh; left: 0; top: 0; z-index: 100; display: flex; flex-direction: column; transition: transform 0.3s ease; }
.sidebar-header { padding: 24px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.sidebar-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; cursor: pointer; }
.sidebar-logo-icon { width: 40px; height: 40px; background: var(--accent); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 18px; color: var(--primary); }
.sidebar-logo-text { color: #fff; font-size: 13px; font-weight: 800; line-height: 1.15; gap: 2px; }
.sidebar-logo-text span { color: var(--accent); }
.sidebar-nav { flex: 1; padding: 16px 12px; overflow-y: auto; }
.nav-section { margin-bottom: 8px; }
.nav-section-title { color: rgba(255,255,255,0.35); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; padding: 16px 12px 8px; }
.nav-item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; color: rgba(255,255,255,0.65); text-decoration: none; font-size: 14px; font-weight: 500; transition: all 0.2s; cursor: pointer; border: none; background: none; width: 100%; text-align: left; }
.nav-item:hover { background: rgba(255,255,255,0.06); color: #fff; }
.nav-item.active { background: var(--accent); color: var(--primary); font-weight: 600; }
.nav-item i { width: 20px; text-align: center; font-size: 16px; }
.nav-badge { margin-left: auto; background: var(--red); color: #fff; font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 20px; min-width: 20px; text-align: center; }
.sidebar-footer { padding: 16px; border-top: 1px solid rgba(255,255,255,0.08); }
.sidebar-user { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 12px; background: rgba(255,255,255,0.05); cursor: pointer; transition: all 0.2s; }
.sidebar-user:hover { background: rgba(255,255,255,0.1); }
.sidebar-user-avatar { width: 40px; height: 40px; border-radius: 10px; background: var(--primary-light); display: flex; align-items: center; justify-content: center; color: var(--accent); font-weight: 700; font-size: 14px; border: 2px solid var(--accent); }
.sidebar-user-info { flex: 1; min-width: 0; }
.sidebar-user-name { color: #fff; font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sidebar-user-role { color: rgba(255,255,255,0.45); font-size: 12px; margin-top: 1px; }
.sidebar-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 99; }
.sidebar-overlay.active { display: block; }

/* ===== DASHBOARD MAIN ===== */
.main { flex: 1; margin-left: 280px; min-height: 100vh; display: flex; flex-direction: column; }
.dash-header { background: var(--surface); border-bottom: 1px solid var(--border); padding: 0 32px; height: 68px; display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 50; }
.dash-header-left { display: flex; align-items: center; gap: 16px; }
.menu-toggle { display: none; background: none; border: none; font-size: 20px; color: var(--text); cursor: pointer; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 10px; }
.menu-toggle:hover { background: var(--bg); }
.dash-title { font-size: 20px; font-weight: 700; color: var(--text); }
.dash-breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-muted); }
.dash-breadcrumb i { font-size: 10px; }
.dash-header-right { display: flex; align-items: center; gap: 8px; }
.dash-btn { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface); color: var(--text-secondary); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.2s; position: relative; font-size: 16px; }
.dash-btn:hover { background: var(--surface-hover); border-color: var(--text-muted); }
.dash-btn .dot { position: absolute; top: 8px; right: 8px; width: 8px; height: 8px; background: var(--red); border-radius: 50%; border: 2px solid var(--surface); }
.dash-avatar { width: 40px; height: 40px; border-radius: 10px; background: var(--primary); display: flex; align-items: center; justify-content: center; color: var(--accent); font-weight: 700; font-size: 14px; cursor: pointer; border: 2px solid var(--border); }
.content { flex: 1; padding: 28px 32px; max-width: 1400px; }

/* ===== CARDS & GRID ===== */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--surface); border-radius: var(--radius); border: 1px solid var(--border); box-shadow: var(--shadow-sm); overflow: hidden; }
.card-header { padding: 20px 24px; border-bottom: 1px solid var(--border-light); display: flex; align-items: center; justify-content: space-between; }
.card-title { font-size: 16px; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.card-title-icon { width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 16px; }
.card-actions { display: flex; gap: 8px; }
.card-action-btn { padding: 6px 12px; border-radius: 8px; border: 1px solid var(--border); background: var(--surface); color: var(--text-secondary); font-size: 13px; font-weight: 500; cursor: pointer; transition: all 0.2s; display: inline-flex; align-items: center; gap: 6px; }
.card-action-btn:hover { background: var(--surface-hover); border-color: var(--text-muted); }
.card-action-btn.primary { background: var(--accent); color: var(--primary); border-color: var(--accent); }
.card-action-btn.primary:hover { background: var(--accent-light); }
.card-body { padding: 24px; }

.badge { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 20px; font-size: 12px; font-weight: 600; }
.badge-green { background: var(--green-bg); color: var(--green); }
.badge-blue { background: var(--blue-bg); color: var(--blue); }
.badge-amber { background: var(--amber-bg); color: var(--amber); }
.badge-red { background: var(--red-bg); color: var(--red); }
.badge-purple { background: var(--purple-bg); color: var(--purple); }
.badge-cyan { background: var(--cyan-bg); color: var(--cyan); }
.badge-gray { background: #f3f4f6; color: #6b7280; }

.progress-wrap { margin-top: 16px; }
.progress-header { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 8px; }
.progress-bar { height: 8px; background: var(--border-light); border-radius: 4px; overflow: hidden; }
.progress-fill { height: 100%; border-radius: 4px; background: var(--accent); transition: width 1s ease; }

.timeline { position: relative; padding-left: 28px; }
.timeline::before { content: ''; position: absolute; left: 8px; top: 8px; bottom: 8px; width: 2px; background: var(--border); }
.timeline-item { position: relative; padding-bottom: 24px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot { position: absolute; left: -28px; top: 2px; width: 18px; height: 18px; border-radius: 50%; border: 3px solid var(--surface); background: var(--accent); box-shadow: 0 0 0 2px var(--border); }
.timeline-dot.green { background: var(--green); }
.timeline-dot.red { background: var(--red); }
.timeline-dot.blue { background: var(--blue); }
.timeline-content { background: var(--surface-hover); border-radius: var(--radius-sm); padding: 16px; border: 1px solid var(--border-light); }
.timeline-date { font-size: 12px; color: var(--text-muted); font-weight: 500; margin-bottom: 4px; }
.timeline-title { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.timeline-desc { font-size: 13px; color: var(--text-secondary); line-height: 1.5; }
.timeline-tags { display: flex; gap: 6px; margin-top: 10px; flex-wrap: wrap; }

.awards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.award-item { text-align: center; padding: 24px 16px; border-radius: var(--radius-sm); background: var(--surface-hover); border: 1px solid var(--border-light); transition: all 0.2s; }
.award-item:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.award-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--accent-bg); display: flex; align-items: center; justify-content: center; font-size: 28px; color: var(--accent); margin: 0 auto 12px; }
.award-name { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.award-date { font-size: 12px; color: var(--text-muted); }
.award-desc { font-size: 12px; color: var(--text-secondary); margin-top: 8px; line-height: 1.4; }

.payment-row { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--border-light); }
.payment-row:last-child { border-bottom: none; padding-bottom: 0; }
.payment-row:first-child { padding-top: 0; }
.payment-info { display: flex; align-items: center; gap: 12px; }
.payment-icon { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 16px; }
.payment-name { font-size: 14px; font-weight: 600; }
.payment-sub { font-size: 12px; color: var(--text-muted); margin-top: 1px; }
.payment-amount { text-align: right; }
.payment-sum { font-size: 15px; font-weight: 700; }
.payment-sum.positive { color: var(--green); }
.payment-sum.pending { color: var(--amber); }

.case-item { padding: 16px; border-radius: var(--radius-sm); background: var(--surface-hover); border: 1px solid var(--border-light); margin-bottom: 12px; }
.case-item:last-child { margin-bottom: 0; }
.case-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 8px; }
.case-number { font-size: 13px; font-weight: 700; color: var(--primary); }
.case-title { font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.case-meta { display: flex; gap: 16px; font-size: 12px; color: var(--text-muted); flex-wrap: wrap; }
.case-meta span { display: flex; align-items: center; gap: 4px; }

.appeal-item { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--border-light); }
.appeal-item:last-child { border-bottom: none; padding-bottom: 0; }
.appeal-item:first-child { padding-top: 0; }
.appeal-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--purple-bg); display: flex; align-items: center; justify-content: center; color: var(--purple); font-size: 14px; font-weight: 700; flex-shrink: 0; }
.appeal-content { flex: 1; min-width: 0; }
.appeal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.appeal-author { font-size: 14px; font-weight: 600; }
.appeal-time { font-size: 12px; color: var(--text-muted); white-space: nowrap; }
.appeal-text { font-size: 13px; color: var(--text-secondary); line-height: 1.5; margin-bottom: 8px; }
.appeal-footer { display: flex; gap: 12px; }
.appeal-action { font-size: 12px; color: var(--text-muted); display: flex; align-items: center; gap: 4px; cursor: pointer; transition: color 0.2s; }
.appeal-action:hover { color: var(--accent); }

.doc-list { display: flex; flex-direction: column; gap: 10px; }
.doc-item { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: var(--radius-sm); background: var(--surface-hover); border: 1px solid var(--border-light); cursor: pointer; transition: all 0.2s; }
.doc-item:hover { border-color: var(--accent); background: var(--surface); }
.doc-icon { width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.doc-info { flex: 1; min-width: 0; }
.doc-name { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.doc-meta { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.doc-action { color: var(--text-muted); font-size: 16px; padding: 8px; border-radius: 8px; transition: all 0.2s; }
.doc-item:hover .doc-action { color: var(--accent); background: var(--accent-bg); }

.privacy-item { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--border-light); }
.privacy-item:last-child { border-bottom: none; padding-bottom: 0; }
.privacy-item:first-child { padding-top: 0; }
.privacy-info { display: flex; align-items: center; gap: 12px; }
.privacy-icon { width: 36px; height: 36px; border-radius: 10px; background: var(--surface-hover); display: flex; align-items: center; justify-content: center; color: var(--text-secondary); font-size: 14px; }
.privacy-label { font-size: 14px; font-weight: 600; }
.privacy-desc { font-size: 12px; color: var(--text-muted); margin-top: 1px; }
.toggle { width: 44px; height: 24px; border-radius: 12px; background: var(--border); position: relative; cursor: pointer; transition: background 0.2s; flex-shrink: 0; }
.toggle.active { background: var(--accent); }
.toggle-knob { position: absolute; top: 2px; left: 2px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); transition: transform 0.2s; }
.toggle.active .toggle-knob { transform: translateX(20px); }

.quick-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 28px; }
.quick-stat { background: var(--surface); border-radius: var(--radius); padding: 20px; border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.quick-stat-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.quick-stat-label { font-size: 13px; color: var(--text-secondary); font-weight: 500; }
.quick-stat-icon { width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 16px; }
.quick-stat-value { font-size: 26px; font-weight: 800; color: var(--text); margin-bottom: 4px; }
.quick-stat-change { font-size: 12px; font-weight: 600; }
.quick-stat-change.up { color: var(--green); }

.profile-card { display: flex; gap: 24px; align-items: flex-start; }
.profile-avatar-wrap { position: relative; flex-shrink: 0; }
.profile-avatar { width: 100px; height: 100px; border-radius: var(--radius); background: var(--primary); display: flex; align-items: center; justify-content: center; color: var(--accent); font-size: 40px; border: 3px solid var(--accent); }
.profile-avatar-status { position: absolute; bottom: -4px; right: -4px; width: 28px; height: 28px; background: var(--green); border: 3px solid var(--surface); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 12px; }
.profile-info { flex: 1; min-width: 0; }
.profile-name { font-size: 22px; font-weight: 800; margin-bottom: 4px; }
.profile-rank { display: inline-flex; align-items: center; gap: 6px; background: var(--accent-bg); color: var(--accent); padding: 4px 12px; border-radius: 20px; font-size: 13px; font-weight: 600; margin-bottom: 12px; }
.profile-details { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 24px; }
.profile-detail { display: flex; flex-direction: column; gap: 2px; }
.profile-detail-label { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.3px; }
.profile-detail-value { font-size: 14px; font-weight: 600; color: var(--text); }

.medical-item { display: flex; gap: 16px; padding: 16px; border-radius: var(--radius-sm); background: var(--surface-hover); border: 1px solid var(--border-light); margin-bottom: 12px; }
.medical-item:last-child { margin-bottom: 0; }
.medical-icon { width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.medical-content { flex: 1; min-width: 0; }
.medical-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 6px; }
.medical-title { font-size: 14px; font-weight: 700; }
.medical-date { font-size: 12px; color: var(--text-muted); white-space: nowrap; }
.medical-desc { font-size: 13px; color: var(--text-secondary); line-height: 1.5; }

.tabs { display: flex; gap: 4px; padding: 4px; background: var(--surface-hover); border-radius: 12px; margin-bottom: 20px; width: fit-content; }
.tab { padding: 8px 16px; border-radius: 8px; font-size: 13px; font-weight: 600; color: var(--text-secondary); cursor: pointer; border: none; background: none; transition: all 0.2s; }
.tab:hover { color: var(--text); }
.tab.active { background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm); }

.data-table { width: 100%; border-collapse: collapse; }
.data-table th { text-align: left; padding: 12px 16px; font-size: 12px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.3px; border-bottom: 1px solid var(--border); background: var(--surface-hover); }
.data-table td { padding: 14px 16px; font-size: 14px; border-bottom: 1px solid var(--border-light); }
.data-table tr:hover td { background: var(--surface-hover); }
.data-table tr:last-child td { border-bottom: none; }

.chat-container { display: flex; flex-direction: column; gap: 16px; max-height: 400px; overflow-y: auto; padding-right: 8px; }
.chat-message { display: flex; gap: 12px; max-width: 80%; }
.chat-message.incoming { align-self: flex-start; }
.chat-message.outgoing { align-self: flex-end; flex-direction: row-reverse; margin-left: auto; }
.chat-bubble { padding: 12px 16px; border-radius: 16px; font-size: 14px; line-height: 1.5; }
.chat-message.incoming .chat-bubble { background: var(--surface-hover); border: 1px solid var(--border-light); border-bottom-left-radius: 4px; }
.chat-message.outgoing .chat-bubble { background: var(--primary); color: #fff; border-bottom-right-radius: 4px; }
.chat-meta { font-size: 11px; color: var(--text-muted); margin-top: 4px; }
.chat-input-wrap { display: flex; gap: 12px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border-light); }
.chat-input { flex: 1; padding: 12px 16px; border: 1px solid var(--border); border-radius: 12px; font-size: 14px; font-family: inherit; outline: none; transition: all 0.2s; }
.chat-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-bg); }

.setting-group { margin-bottom: 32px; }
.setting-group:last-child { margin-bottom: 0; }
.setting-group-title { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 16px; padding-bottom: 8px; border-bottom: 1px solid var(--border-light); }
.setting-row { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--border-light); }
.setting-row:last-child { border-bottom: none; }
.setting-info { display: flex; align-items: center; gap: 12px; }
.setting-icon { width: 36px; height: 36px; border-radius: 10px; background: var(--surface-hover); display: flex; align-items: center; justify-content: center; color: var(--text-secondary); font-size: 14px; }
.setting-label { font-size: 14px; font-weight: 600; }
.setting-desc { font-size: 12px; color: var(--text-muted); margin-top: 1px; }
.setting-control { display: flex; align-items: center; gap: 12px; }
.setting-value { font-size: 14px; color: var(--text-secondary); font-weight: 500; }

.empty-state { text-align: center; padding: 48px 24px; }
.empty-state-icon { width: 80px; height: 80px; border-radius: 24px; background: var(--surface-hover); display: flex; align-items: center; justify-content: center; font-size: 32px; color: var(--text-muted); margin: 0 auto 20px; }
.empty-state-title { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.empty-state-desc { font-size: 14px; color: var(--text-secondary); max-width: 400px; margin: 0 auto 20px; line-height: 1.6; }

.welcome-banner { background: var(--primary); border-radius: var(--radius); padding: 32px; color: #fff; margin-bottom: 28px; position: relative; overflow: hidden; }
.welcome-banner::before { content: ''; position: absolute; top: -50%; right: -10%; width: 400px; height: 400px; background: var(--accent); opacity: 0.08; border-radius: 50%; }
.welcome-banner::after { content: ''; position: absolute; bottom: -30%; right: 10%; width: 300px; height: 300px; background: var(--accent); opacity: 0.05; border-radius: 50%; }
.welcome-content { position: relative; z-index: 1; }
.welcome-greeting { font-size: 14px; color: var(--accent); font-weight: 600; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.5px; }
.welcome-title { font-size: 28px; font-weight: 800; margin-bottom: 8px; }
.welcome-subtitle { color: rgba(255,255,255,0.6); font-size: 15px; max-width: 600px; }
.welcome-actions { display: flex; gap: 12px; margin-top: 20px; flex-wrap: wrap; }
.btn-welcome { padding: 10px 20px; border-radius: 10px; font-size: 14px; font-weight: 600; cursor: pointer; border: none; transition: all 0.2s; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.btn-welcome-primary { background: var(--accent); color: var(--primary); }
.btn-welcome-primary:hover { background: var(--accent-light); }
.btn-welcome-outline { background: rgba(255,255,255,0.08); color: #fff; border: 1px solid rgba(255,255,255,0.15); }
.btn-welcome-outline:hover { background: rgba(255,255,255,0.15); }

.help-categories { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 24px; }
.help-cat { padding: 20px; border-radius: var(--radius-sm); border: 2px solid var(--border); background: var(--surface); cursor: pointer; transition: all 0.2s; text-align: center; }
.help-cat:hover, .help-cat.active { border-color: var(--accent); background: var(--accent-bg); }
.help-cat i { font-size: 24px; color: var(--accent); margin-bottom: 8px; }
.help-cat-title { font-size: 14px; font-weight: 700; }
.help-cat-desc { font-size: 12px; color: var(--text-secondary); margin-top: 4px; }

/* Toast */
.toast-container { position: fixed; bottom: 24px; right: 24px; z-index: 3000; display: flex; flex-direction: column; gap: 10px; }
.toast { background: var(--primary); color: #fff; padding: 14px 20px; border-radius: 12px; font-size: 14px; font-weight: 500; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 10px; animation: toastIn 0.3s ease; max-width: 400px; }
.toast.success { background: var(--green); }
.toast.error { background: var(--red); }
@keyframes toastIn { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: translateX(0); } }
.toast-close { background: none; border: none; color: inherit; opacity: 0.6; cursor: pointer; font-size: 14px; margin-left: auto; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1280px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .awards-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 1024px) {
    .sidebar { transform: translateX(-100%); }
    .sidebar.open { transform: translateX(0); }
    .main { margin-left: 0; }
    .menu-toggle { display: flex; }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .quick-stats { grid-template-columns: repeat(2, 1fr); }
    .awards-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-inner { grid-template-columns: 1fr; }
    .hero-card-wrap { margin-top: 24px; }
    .leaders-slider { height: 300px; }
    .features-grid, .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .quick-access-inner { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .steps { flex-direction: column; }
    .steps::before { display: none; }
    .quote-card { grid-template-columns: 1fr; min-height: auto; }
    .quote-card__photo { min-height: 260px; order: -1; }
    /* [СВО] 2026-07-06 — Мобильный градиент снизу вверх: лицо сверху видно, снизу плавный переход к тексту */
    .quote-card__photo::after {
        background: linear-gradient(to top, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.55) 22%, transparent 48%);
    }
    .quote-card__img {
        object-position: center top;
        -webkit-mask-image: linear-gradient(to top, transparent 0%, rgba(0, 0, 0, 0.35) 18%, #000 42%);
        mask-image: linear-gradient(to top, transparent 0%, rgba(0, 0, 0, 0.35) 18%, #000 42%);
    }
    .quote-card__content { padding: 32px 28px 36px 44px; }
    .quote-card__accent { left: 24px; top: 32px; bottom: 36px; }
    .pub-nav { display: none; }
    .pub-header .mobile-menu-btn { display: block; }
    .pub-header .header-actions { display: none; }
}
@media (max-width: 768px) {
    .content { padding: 20px 16px; }
    .dash-header { padding: 0 16px; }
    .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; }
    .quick-stats { grid-template-columns: 1fr; }
    .profile-card { flex-direction: column; align-items: center; text-align: center; }
    .profile-details { grid-template-columns: 1fr; text-align: left; }

    .hero {
        margin-top: calc(56px + env(safe-area-inset-top, 0px));
        padding: 32px max(16px, env(safe-area-inset-left, 0px)) 48px max(16px, env(safe-area-inset-right, 0px));
    }

    .hero--centered {
        padding-top: 24px;
        padding-bottom: 28px;
    }

    .hero h1 { font-size: 28px; }
    .section-header h2 { font-size: 28px; }
    .pub-header .logo-mark { width: 48px; height: 48px; }
    .pub-header .logo-img { width: 42px; height: 42px; }
    .pub-header .logo-text__line--top { font-size: 9px; letter-spacing: 0.1em; }
    .pub-header .logo-text__line--bottom { font-size: 14px; }
    .pub-header .logo-text::before { left: -8px; width: 2px; }
    .features-grid, .testimonials-grid, .stats-grid, .quick-access-inner { grid-template-columns: 1fr; }
    .cta-box { padding: 48px 24px; }
    .cta-box h2 { font-size: 28px; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
    .form-row { grid-template-columns: 1fr; }
    .help-categories { grid-template-columns: 1fr; }
    .modal { max-height: 95vh; }
}


/* ===== CABINET (participant dashboard) ===== */

.sidebar { width: 280px; background: var(--primary); position: fixed; height: 100vh; left: 0; top: 0; z-index: 100; display: flex; flex-direction: column; transition: transform 0.3s ease; }
.sidebar-header { padding: 24px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.sidebar-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.sidebar-logo-icon { width: 40px; height: 40px; background: var(--accent); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 18px; color: var(--primary); }
.sidebar-logo-text { color: #fff; font-size: 13px; font-weight: 800; line-height: 1.15; gap: 2px; }
.sidebar-logo-text span { color: var(--accent); }
.sidebar-nav { flex: 1; padding: 16px 12px; overflow-y: auto; scrollbar-width: none; -ms-overflow-style: none; }
.sidebar-nav::-webkit-scrollbar { display: none; }
.nav-section { margin-bottom: 8px; }
.nav-section-title { color: rgba(255,255,255,0.35); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; padding: 16px 12px 8px; }
.nav-item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; color: rgba(255,255,255,0.65); text-decoration: none; font-size: 14px; font-weight: 500; transition: all 0.2s; cursor: pointer; border: none; background: none; width: 100%; text-align: left; }
.nav-item:hover { background: rgba(255,255,255,0.06); color: #fff; }
.nav-item.active { background: var(--accent); color: var(--primary); font-weight: 600; }
.nav-item i { width: 20px; text-align: center; font-size: 16px; }
.nav-badge { margin-left: auto; background: var(--red); color: #fff; font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 20px; min-width: 20px; text-align: center; }
.sidebar-footer { padding: 16px; border-top: 1px solid rgba(255,255,255,0.08); }
.sidebar-user { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 12px; background: rgba(255,255,255,0.05); cursor: pointer; transition: all 0.2s; }
.sidebar-user:hover { background: rgba(255,255,255,0.1); }
.sidebar-user-avatar { width: 40px; height: 40px; border-radius: 10px; background: var(--primary-light); display: flex; align-items: center; justify-content: center; color: var(--accent); font-weight: 700; font-size: 14px; border: 2px solid var(--accent); }
.sidebar-user-info { flex: 1; min-width: 0; }
.sidebar-user-name { color: #fff; font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sidebar-user-role { color: rgba(255,255,255,0.45); font-size: 12px; margin-top: 1px; }

/* ===== MAIN ===== */
.main { flex: 1; margin-left: 280px; min-height: 100vh; display: flex; flex-direction: column; }
.header { background: var(--surface); border-bottom: 1px solid var(--border); padding: 0 32px; height: 68px; display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 50; }
.header-left { display: flex; align-items: center; gap: 16px; }
.menu-toggle { display: none; background: none; border: none; font-size: 20px; color: var(--text); cursor: pointer; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 10px; }
.menu-toggle:hover { background: var(--bg); }
.header-title { font-size: 20px; font-weight: 700; color: var(--text); }
.header-breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-muted); }
.header-breadcrumb i { font-size: 10px; }
.header-right { display: flex; align-items: center; gap: 8px; }
.header-btn { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface); color: var(--text-secondary); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.2s; position: relative; font-size: 16px; }
.header-btn:hover { background: var(--surface-hover); border-color: var(--text-muted); }
.header-btn .dot { position: absolute; top: 8px; right: 8px; width: 8px; height: 8px; background: var(--red); border-radius: 50%; border: 2px solid var(--surface); }
.header-avatar { width: 40px; height: 40px; border-radius: 10px; background: var(--primary); display: flex; align-items: center; justify-content: center; color: var(--accent); font-weight: 700; font-size: 14px; cursor: pointer; border: 2px solid var(--border); }

/* ===== CONTENT ===== */
.content { flex: 1; padding: 28px 32px; max-width: 1400px; }
.page-section { display: none; }
.page-section.active { display: block; }

/* ===== CARDS & GRID ===== */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--surface); border-radius: var(--radius); border: 1px solid var(--border); box-shadow: var(--shadow-sm); overflow: hidden; }
.card-header { padding: 20px 24px; border-bottom: 1px solid var(--border-light); display: flex; align-items: center; justify-content: space-between; }
.card-title { font-size: 16px; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.card-title-icon { width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 16px; }
.card-actions { display: flex; gap: 8px; }
.card-action-btn { padding: 6px 12px; border-radius: 8px; border: 1px solid var(--border); background: var(--surface); color: var(--text-secondary); font-size: 13px; font-weight: 500; cursor: pointer; transition: all 0.2s; display: inline-flex; align-items: center; gap: 6px; }
.card-action-btn:hover { background: var(--surface-hover); border-color: var(--text-muted); }
.card-action-btn.primary { background: var(--accent); color: var(--primary); border-color: var(--accent); }
.card-action-btn.primary:hover { background: var(--accent-light); }
.card-body { padding: 24px; }

/* ===== BADGES ===== */
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 20px; font-size: 12px; font-weight: 600; }
.badge-green { background: var(--green-bg); color: var(--green); }
.badge-blue { background: var(--blue-bg); color: var(--blue); }
.badge-amber { background: var(--amber-bg); color: var(--amber); }
.badge-red { background: var(--red-bg); color: var(--red); }
.badge-purple { background: var(--purple-bg); color: var(--purple); }
.badge-cyan { background: var(--cyan-bg); color: var(--cyan); }
.badge-gray { background: #f3f4f6; color: #6b7280; }

/* ===== BUTTONS ===== */
.btn { padding: 10px 20px; border-radius: 10px; font-size: 14px; font-weight: 600; cursor: pointer; border: none; transition: all 0.2s; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.btn-primary { background: var(--accent); color: var(--primary); }
.btn-primary:hover { background: var(--accent-light); }
.btn-outline { background: transparent; color: var(--text-secondary); border: 1.5px solid var(--border); }
.btn-outline:hover { border-color: var(--text-muted); color: var(--text); }
.btn-ghost { background: transparent; color: var(--text-secondary); }
.btn-ghost:hover { background: var(--surface-hover); color: var(--text); }
.btn-red { background: var(--red-bg); color: var(--red); }
.btn-red:hover { background: #fee2e2; }
.btn-green { background: var(--green-bg); color: var(--green); }
.btn-green:hover { background: #dcfce7; }
.btn-sm { padding: 6px 14px; font-size: 13px; }

/* ===== WELCOME BANNER ===== */
.welcome-banner { background: var(--primary); border-radius: var(--radius); padding: 32px; color: #fff; margin-bottom: 28px; position: relative; overflow: hidden; }
.welcome-banner::before { content: ''; position: absolute; top: -50%; right: -10%; width: 400px; height: 400px; background: var(--accent); opacity: 0.08; border-radius: 50%; }
.welcome-banner::after { content: ''; position: absolute; bottom: -30%; right: 10%; width: 300px; height: 300px; background: var(--accent); opacity: 0.05; border-radius: 50%; }
.welcome-content { position: relative; z-index: 1; }
.welcome-greeting { font-size: 14px; color: var(--accent); font-weight: 600; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.5px; }
.welcome-title { font-size: 28px; font-weight: 800; margin-bottom: 8px; }
.welcome-subtitle { color: rgba(255,255,255,0.6); font-size: 15px; max-width: 600px; }
.welcome-actions { display: flex; gap: 12px; margin-top: 20px; }
.btn-welcome { padding: 10px 20px; border-radius: 10px; font-size: 14px; font-weight: 600; cursor: pointer; border: none; transition: all 0.2s; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.btn-welcome-primary { background: var(--accent); color: var(--primary); }
.btn-welcome-primary:hover { background: var(--accent-light); }
.btn-welcome-outline { background: rgba(255,255,255,0.08); color: #fff; border: 1px solid rgba(255,255,255,0.15); }
.btn-welcome-outline:hover { background: rgba(255,255,255,0.15); }

/* ===== QUICK STATS ===== */
.quick-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 28px; }
.quick-stat { background: var(--surface); border-radius: var(--radius); padding: 20px; border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.quick-stat-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.quick-stat-label { font-size: 13px; color: var(--text-secondary); font-weight: 500; }
.quick-stat-icon { width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 16px; }
.quick-stat-value { font-size: 26px; font-weight: 800; color: var(--text); margin-bottom: 4px; }
.quick-stat-change { font-size: 12px; font-weight: 600; }
.quick-stat-change.up { color: var(--green); }

/* ===== PROFILE ===== */
.profile-card { display: flex; gap: 24px; align-items: flex-start; }
.profile-avatar-wrap { position: relative; flex-shrink: 0; }
.profile-avatar { width: 100px; height: 100px; border-radius: var(--radius); background: var(--primary); display: flex; align-items: center; justify-content: center; color: var(--accent); font-size: 40px; border: 3px solid var(--accent); }
.profile-avatar-status { position: absolute; bottom: -4px; right: -4px; width: 28px; height: 28px; background: var(--green); border: 3px solid var(--surface); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 12px; }
.profile-info { flex: 1; min-width: 0; }
.profile-name { font-size: 22px; font-weight: 800; margin-bottom: 4px; }
.profile-rank { display: inline-flex; align-items: center; gap: 6px; background: var(--accent-bg); color: var(--accent); padding: 4px 12px; border-radius: 20px; font-size: 13px; font-weight: 600; margin-bottom: 12px; }
.profile-details { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 24px; }
.profile-detail { display: flex; flex-direction: column; gap: 2px; }
.profile-detail-label { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.3px; }
.profile-detail-value { font-size: 14px; font-weight: 600; color: var(--text); }

/* ===== TIMELINE ===== */
.timeline { position: relative; padding-left: 28px; }
.timeline::before { content: ''; position: absolute; left: 8px; top: 8px; bottom: 8px; width: 2px; background: var(--border); }
.timeline-item { position: relative; padding-bottom: 24px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot { position: absolute; left: -28px; top: 2px; width: 18px; height: 18px; border-radius: 50%; border: 3px solid var(--surface); background: var(--accent); box-shadow: 0 0 0 2px var(--border); }
.timeline-dot.green { background: var(--green); }
.timeline-dot.red { background: var(--red); }
.timeline-dot.blue { background: var(--blue); }
.timeline-content { background: var(--surface-hover); border-radius: var(--radius-sm); padding: 16px; border: 1px solid var(--border-light); }
.timeline-date { font-size: 12px; color: var(--text-muted); font-weight: 500; margin-bottom: 4px; }
.timeline-title { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.timeline-desc { font-size: 13px; color: var(--text-secondary); line-height: 1.5; }
.timeline-tags { display: flex; gap: 6px; margin-top: 10px; flex-wrap: wrap; }

/* ===== AWARDS ===== */
.awards-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.award-item { text-align: center; padding: 24px 16px; border-radius: var(--radius-sm); background: var(--surface-hover); border: 1px solid var(--border-light); transition: all 0.2s; }
.award-item:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.award-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--accent-bg); display: flex; align-items: center; justify-content: center; font-size: 28px; color: var(--accent); margin: 0 auto 12px; }
.award-name { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.award-date { font-size: 12px; color: var(--text-muted); }
.award-desc { font-size: 12px; color: var(--text-secondary); margin-top: 8px; line-height: 1.4; }

/* ===== MEDICAL ===== */
.medical-item { display: flex; gap: 16px; padding: 16px; border-radius: var(--radius-sm); background: var(--surface-hover); border: 1px solid var(--border-light); margin-bottom: 12px; }
.medical-item:last-child { margin-bottom: 0; }
.medical-icon { width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.medical-content { flex: 1; min-width: 0; }
.medical-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 6px; }
.medical-title { font-size: 14px; font-weight: 700; }
.medical-date { font-size: 12px; color: var(--text-muted); white-space: nowrap; }
.medical-desc { font-size: 13px; color: var(--text-secondary); line-height: 1.5; }

/* ===== PAYMENTS ===== */
.payment-row { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--border-light); }
.payment-row:last-child { border-bottom: none; padding-bottom: 0; }
.payment-row:first-child { padding-top: 0; }
.payment-info { display: flex; align-items: center; gap: 12px; }
.payment-icon { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 16px; }
.payment-name { font-size: 14px; font-weight: 600; }
.payment-sub { font-size: 12px; color: var(--text-muted); margin-top: 1px; }
.payment-amount { text-align: right; }
.payment-sum { font-size: 15px; font-weight: 700; }
.payment-sum.positive { color: var(--green); }
.payment-sum.pending { color: var(--amber); }
.payment-sum.negative { color: var(--red); }

/* ===== PROGRESS ===== */
.progress-wrap { margin-top: 16px; }
.progress-header { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 8px; }
.progress-bar { height: 8px; background: var(--border-light); border-radius: 4px; overflow: hidden; }
.progress-fill { height: 100%; border-radius: 4px; background: var(--accent); transition: width 1s ease; }

/* ===== LEGAL ===== */
.case-item { padding: 16px; border-radius: var(--radius-sm); background: var(--surface-hover); border: 1px solid var(--border-light); margin-bottom: 12px; }
.case-item:last-child { margin-bottom: 0; }
.case-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 8px; }
.case-number { font-size: 13px; font-weight: 700; color: var(--primary); }
.case-title { font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.case-meta { display: flex; gap: 16px; font-size: 12px; color: var(--text-muted); flex-wrap: wrap; }
.case-meta span { display: flex; align-items: center; gap: 4px; }

/* ===== FAMILY APPEALS ===== */
.appeal-item { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--border-light); }
.appeal-item:last-child { border-bottom: none; padding-bottom: 0; }
.appeal-item:first-child { padding-top: 0; }
.appeal-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--purple-bg); display: flex; align-items: center; justify-content: center; color: var(--purple); font-size: 14px; font-weight: 700; flex-shrink: 0; }
.appeal-content { flex: 1; min-width: 0; }
.appeal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.appeal-author { font-size: 14px; font-weight: 600; }
.appeal-time { font-size: 12px; color: var(--text-muted); white-space: nowrap; }
.appeal-text { font-size: 13px; color: var(--text-secondary); line-height: 1.5; margin-bottom: 8px; }
.appeal-footer { display: flex; gap: 12px; }
.appeal-action { font-size: 12px; color: var(--text-muted); display: flex; align-items: center; gap: 4px; cursor: pointer; transition: color 0.2s; }
.appeal-action:hover { color: var(--accent); }

/* ===== DOCUMENTS ===== */
.doc-list { display: flex; flex-direction: column; gap: 10px; }
.doc-item { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: var(--radius-sm); background: var(--surface-hover); border: 1px solid var(--border-light); cursor: pointer; transition: all 0.2s; }
.doc-item:hover { border-color: var(--accent); background: var(--surface); }
.doc-icon { width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.doc-info { flex: 1; min-width: 0; }
.doc-name { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.doc-meta { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.doc-action { color: var(--text-muted); font-size: 16px; padding: 8px; border-radius: 8px; transition: all 0.2s; }
.doc-item:hover .doc-action { color: var(--accent); background: var(--accent-bg); }

/* ===== PRIVACY ===== */
.privacy-item { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--border-light); }
.privacy-item:last-child { border-bottom: none; padding-bottom: 0; }
.privacy-item:first-child { padding-top: 0; }
.privacy-info { display: flex; align-items: center; gap: 12px; }
.privacy-icon { width: 36px; height: 36px; border-radius: 10px; background: var(--surface-hover); display: flex; align-items: center; justify-content: center; color: var(--text-secondary); font-size: 14px; }
.privacy-label { font-size: 14px; font-weight: 600; }
.privacy-desc { font-size: 12px; color: var(--text-muted); margin-top: 1px; }
.toggle { width: 44px; height: 24px; border-radius: 12px; background: var(--border); position: relative; cursor: pointer; transition: background 0.2s; flex-shrink: 0; }
.toggle.active { background: var(--accent); }
.toggle-knob { position: absolute; top: 2px; left: 2px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); transition: transform 0.2s; }
.toggle.active .toggle-knob { transform: translateX(20px); }

/* ===== SETTINGS ===== */
.setting-group { margin-bottom: 32px; }
.setting-group:last-child { margin-bottom: 0; }
.setting-group-title { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 16px; padding-bottom: 8px; border-bottom: 1px solid var(--border-light); }
.setting-row { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--border-light); }
.setting-row:last-child { border-bottom: none; }
.setting-info { display: flex; align-items: center; gap: 12px; }
.setting-icon { width: 36px; height: 36px; border-radius: 10px; background: var(--surface-hover); display: flex; align-items: center; justify-content: center; color: var(--text-secondary); font-size: 14px; }
.setting-label { font-size: 14px; font-weight: 600; }
.setting-desc { font-size: 12px; color: var(--text-muted); margin-top: 1px; }
.setting-control { display: flex; align-items: center; gap: 12px; }
.setting-value { font-size: 14px; color: var(--text-secondary); font-weight: 500; }

/* ===== TABLE ===== */
.data-table { width: 100%; border-collapse: collapse; }
.data-table th { text-align: left; padding: 12px 16px; font-size: 12px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.3px; border-bottom: 1px solid var(--border); background: var(--surface-hover); }
.data-table td { padding: 14px 16px; font-size: 14px; border-bottom: 1px solid var(--border-light); }
.data-table tr:hover td { background: var(--surface-hover); }
.data-table tr:last-child td { border-bottom: none; }

/* ===== TABS ===== */
.tabs { display: flex; gap: 4px; padding: 4px; background: var(--surface-hover); border-radius: 12px; margin-bottom: 20px; width: fit-content; }
.tab { padding: 8px 16px; border-radius: 8px; font-size: 13px; font-weight: 600; color: var(--text-secondary); cursor: pointer; border: none; background: none; transition: all 0.2s; }
.tab:hover { color: var(--text); }
.tab.active { background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm); }

/* ===== CHAT ===== */
.chat-container { display: flex; flex-direction: column; gap: 16px; max-height: 500px; overflow-y: auto; padding-right: 8px; }
.chat-message { display: flex; gap: 12px; max-width: 80%; }
.chat-message.incoming { align-self: flex-start; }
.chat-message.outgoing { align-self: flex-end; flex-direction: row-reverse; margin-left: auto; }
.chat-bubble { padding: 12px 16px; border-radius: 16px; font-size: 14px; line-height: 1.5; }
.chat-message.incoming .chat-bubble { background: var(--surface-hover); border: 1px solid var(--border-light); border-bottom-left-radius: 4px; }
.chat-message.outgoing .chat-bubble { background: var(--primary); color: #fff; border-bottom-right-radius: 4px; }
.chat-meta { font-size: 11px; color: var(--text-muted); margin-top: 4px; }
.chat-input-wrap { display: flex; gap: 12px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border-light); }
.chat-input { flex: 1; padding: 12px 16px; border: 1px solid var(--border); border-radius: 12px; font-size: 14px; font-family: inherit; outline: none; transition: all 0.2s; }
.chat-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-bg); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1280px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .awards-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 1024px) {
    .sidebar { transform: translateX(-100%); }
    .sidebar.open { transform: translateX(0); }
    .main { margin-left: 0; }
    .menu-toggle { display: flex; }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .quick-stats { grid-template-columns: repeat(2, 1fr); }
    .awards-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .content { padding: 20px 16px; }
    .header { padding: 0 16px; }
    .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; }
    .quick-stats { grid-template-columns: 1fr; }
    .profile-card { flex-direction: column; align-items: center; text-align: center; }
    .profile-details { grid-template-columns: 1fr; text-align: left; }
    .welcome-title { font-size: 22px; }
    .awards-grid { grid-template-columns: repeat(2, 1fr); }
    .chat-message { max-width: 95%; }
}
.sidebar-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 99; }
.sidebar-overlay.active { display: block; }


/* Empty state */

.empty-state { text-align: center; padding: 48px 24px; }
.empty-state-icon { width: 80px; height: 80px; border-radius: 24px; background: var(--surface-hover); display: flex; align-items: center; justify-content: center; font-size: 32px; color: var(--text-muted); margin: 0 auto 20px; }
.empty-state-title { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.empty-state-desc { font-size: 14px; color: var(--text-secondary); max-width: 400px; margin: 0 auto 20px; line-height: 1.6; }

/* ===== MOBILE BOTTOM NAV (cabinet) ===== */
.bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9000;
    background: var(--surface);
    border-top: 1px solid var(--border);
    box-shadow: 0 -4px 20px rgb(0 0 0 / 0.08);
    padding: 8px max(8px, env(safe-area-inset-left, 0px)) calc(8px + env(safe-area-inset-bottom, 0px)) max(8px, env(safe-area-inset-right, 0px));
    grid-template-columns: repeat(5, 1fr);
    gap: 4px;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 8px 2px;
    border: none;
    background: none;
    color: var(--text-muted);
    font-size: 10px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    border-radius: 10px;
    transition: all 0.2s;
    min-width: 0;
}

.bottom-nav-item i {
    font-size: 18px;
}

.bottom-nav-item span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.bottom-nav-item.active {
    color: var(--accent);
    background: var(--accent-bg);
}

.bottom-nav-item.active i {
    color: var(--accent);
}

.bottom-nav-item:active {
    transform: scale(0.96);
}

@media (max-width: 1024px) {
    #dashboard-app .header {
        height: auto;
        min-height: 56px;
        padding: 10px 12px;
        flex-wrap: nowrap;
        gap: 8px;
    }

    #dashboard-app .header-left {
        flex: 1;
        min-width: 0;
        gap: 0;
    }

    #dashboard-app .menu-toggle {
        display: none;
    }

    #dashboard-app .header-title {
        font-size: 17px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    #dashboard-app .header-breadcrumb {
        display: none;
    }

    #dashboard-app .header-right {
        flex-shrink: 0;
        gap: 6px;
    }

    #dashboard-app .header-btn:not(.cabinet-action-btn) {
        display: none;
    }

    #dashboard-app .header-avatar {
        width: 36px;
        height: 36px;
        font-size: 12px;
    }

    #dashboard-app .content {
        padding-bottom: var(--page-bottom);
    }

    #dashboard-app .bottom-nav {
        display: grid;
    }

    #dashboard-app .tabs {
        width: 100%;
        max-width: 100%;
    }

    #dashboard-app .main {
        min-width: 0;
    }

    #dashboard-app .grid-3 {
        grid-template-columns: 1fr;
    }

    #dashboard-app .card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    #dashboard-app .card-actions {
        width: 100%;
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    #dashboard-app .content {
        padding: 16px 12px var(--page-bottom);
    }

    #dashboard-app .welcome-actions {
        flex-direction: column;
    }

    #dashboard-app .btn-welcome {
        width: 100%;
        justify-content: center;
    }

    #dashboard-app {
        overflow-x: hidden;
    }

    #dashboard-app .grid-3,
    #dashboard-app .grid-2,
    #dashboard-app .grid-4 {
        grid-template-columns: 1fr;
    }

    #dashboard-app .quick-stat-label {
        font-size: 11px;
        line-height: 1.3;
    }

    #dashboard-app .quick-stat-value {
        font-size: 22px;
        word-break: break-word;
    }

    #dashboard-app .card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    #dashboard-app .card-actions {
        width: 100%;
        flex-wrap: wrap;
    }

    #dashboard-app .card-action-btn {
        flex: 1;
        justify-content: center;
        min-width: 0;
    }
}

/* ===== PAYMENTS LIST ===== */
.payments-card-body {
    padding: 16px;
}

.payments-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.payment-card {
    background: var(--surface-hover);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 14px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.payment-card:hover {
    border-color: var(--border);
    box-shadow: var(--shadow-sm);
}

.payment-card__row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.payment-card__icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.payment-card__icon--green { background: var(--green-bg); color: var(--green); }
.payment-card__icon--blue { background: var(--blue-bg); color: var(--blue); }
.payment-card__icon--amber { background: var(--amber-bg); color: var(--amber); }
.payment-card__icon--purple { background: var(--purple-bg); color: var(--purple); }
.payment-card__icon--cyan { background: var(--cyan-bg); color: var(--cyan); }
.payment-card__icon--red { background: var(--red-bg); color: var(--red); }

.payment-card__content {
    flex: 1;
    min-width: 0;
}

.payment-card__title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    line-height: 1.4;
    margin-bottom: 4px;
}

.payment-card__basis {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.4;
    word-break: break-word;
}

.payment-card__side {
    flex-shrink: 0;
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}

.payment-card__date {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
    white-space: nowrap;
}

.payment-card__sum {
    font-size: 15px;
    font-weight: 800;
    white-space: nowrap;
}

.payment-card__sum--green { color: var(--green); }
.payment-card__sum--amber { color: var(--amber); }
.payment-card__sum--blue { color: var(--blue); }

.payment-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--border-light);
}

@media (max-width: 768px) {
    .payments-card-body {
        padding: 12px;
    }

    .payment-card__row {
        flex-wrap: wrap;
    }

    .payment-card__side {
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        margin-top: 4px;
        padding-top: 10px;
        border-top: 1px dashed var(--border-light);
    }

    .payment-card__sum {
        font-size: 17px;
    }
}

@media (min-width: 769px) {
    .payments-card-body {
        padding: 20px 24px;
    }

    .payment-card {
        padding: 16px 18px;
    }

    .payment-card__row {
        align-items: center;
    }

    .payment-card__footer {
        margin-top: 0;
        padding-top: 0;
        border-top: none;
        margin-left: auto;
        padding-left: 16px;
        gap: 12px;
    }

    .payment-card {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
    }

    .payment-card__row {
        flex: 1;
    }
}

/* ===== MOBILE DEVICE FIXES (all pages) ===== */
#dashboard-app {
    position: relative;
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
}

#public-pages {
    overflow-x: hidden;
    max-width: 100%;
}

@media (max-width: 1024px) {
    body.cabinet-mode {
        overflow-x: hidden;
    }

    body.cabinet-mode .bottom-nav {
        display: grid;
    }

    #dashboard-app .bottom-nav {
        display: grid;
    }

    input,
    select,
    textarea,
    .form-input,
    .form-select,
    .form-textarea,
    .chat-input {
        font-size: 16px !important;
        max-width: 100%;
    }

    .form-input:focus,
    .form-select:focus,
    .form-textarea:focus,
    .chat-input:focus {
        box-shadow: 0 0 0 2px var(--accent-bg);
    }

    .modal-overlay {
        padding: max(16px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(16px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
        align-items: flex-start;
        padding-top: max(24px, env(safe-area-inset-top, 0px));
    }

    .modal {
        max-height: calc(100dvh - 48px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
        margin: auto 0;
    }

    .modal-body {
        padding: 20px 20px 24px;
    }

    .modal-header {
        padding: 20px 20px 0;
    }

    .pub-header {
        padding-top: env(safe-area-inset-top, 0px);
    }

    .pub-header-inner {
        padding-left: max(16px, env(safe-area-inset-left, 0px));
        padding-right: max(16px, env(safe-area-inset-right, 0px));
        min-height: 56px;
        height: auto;
    }

    .hero {
        margin-top: calc(56px + env(safe-area-inset-top, 0px));
        padding-left: max(16px, env(safe-area-inset-left, 0px));
        padding-right: max(16px, env(safe-area-inset-right, 0px));
    }

    .section,
    .quick-access,
    .footer {
        padding-left: max(16px, env(safe-area-inset-left, 0px));
        padding-right: max(16px, env(safe-area-inset-right, 0px));
    }

    .hero h1 {
        word-break: break-word;
        overflow-wrap: anywhere;
    }

    .hero-buttons .btn {
        flex: 1 1 auto;
        min-width: 0;
        justify-content: center;
    }

    .hero-stats {
        gap: 20px;
    }

    .hero-stat {
        min-width: 0;
        flex: 1 1 40%;
    }

    body.cabinet-mode .toast-container {
        bottom: calc(var(--page-bottom) + 12px);
        right: max(12px, env(safe-area-inset-right, 0px));
        left: max(12px, env(safe-area-inset-left, 0px));
    }

    body.cabinet-mode .toast {
        max-width: 100%;
    }
}

/* [СВО] 2026-07-06 — Мобильная адаптация публичной части (app-like). НЕ МЕНЯТЬ без проверки #pubHeader, .hero, togglePubMobileMenu() */
.pub-bottom-nav {
    display: none;
}

.pub-mobile-menu__links {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.pub-mobile-menu__link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 12px;
    border: none;
    border-radius: 12px;
    background: transparent;
    color: var(--text);
    font-size: 16px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    text-align: left;
    width: 100%;
    transition: background 0.2s;
}

.pub-mobile-menu__link i {
    width: 22px;
    text-align: center;
    color: #c9a84c;
    font-size: 17px;
    flex-shrink: 0;
}

.pub-mobile-menu__link:active {
    background: var(--surface-hover);
}

.pub-mobile-menu__link--cabinet {
    margin-top: 6px;
    background: #0078C1;
    color: #fff;
    justify-content: center;
    font-weight: 700;
}

.pub-mobile-menu__link--cabinet i {
    color: #fff;
}

.pub-mobile-menu__link--cabinet:active {
    background: #006aad;
}

.pub-mobile-menu__divider {
    height: 1px;
    background: var(--border-light);
    margin: 10px 4px;
}

.pub-mobile-menu__phone {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
    padding: 16px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.14) 0%, rgba(37, 99, 235, 0.08) 100%);
    border: 1px solid rgba(201, 168, 76, 0.28);
    text-decoration: none;
    color: #1e3a5f;
}

.pub-mobile-menu__phone i {
    font-size: 20px;
    color: #1e3a5f;
    flex-shrink: 0;
}

.pub-mobile-menu__phone span {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.pub-mobile-menu__phone strong {
    font-size: 17px;
    font-weight: 700;
}

.pub-mobile-menu__phone small {
    font-size: 12px;
    color: #64748b;
    font-weight: 500;
}

body.pub-menu-open {
    overflow: hidden;
}

@media (max-width: 1024px) {
    body:not(.cabinet-mode) .pub-bottom-nav {
        display: grid;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 9000;
        grid-template-columns: repeat(5, 1fr);
        gap: 2px;
        padding: 6px max(6px, env(safe-area-inset-left, 0px)) calc(6px + env(safe-area-inset-bottom, 0px)) max(6px, env(safe-area-inset-right, 0px));
        background: #ffffff;
        border-top: 1px solid rgba(226, 232, 240, 0.95);
        box-shadow: 0 -4px 24px rgba(30, 58, 95, 0.1);
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }

    body:not(.cabinet-mode) #public-pages {
        padding-bottom: var(--page-bottom);
    }

    body:not(.cabinet-mode) .toast-container {
        bottom: calc(var(--page-bottom) + 12px);
        right: max(12px, env(safe-area-inset-right, 0px));
        left: max(12px, env(safe-area-inset-left, 0px));
    }

    body:not(.cabinet-mode) .toast {
        max-width: 100%;
    }

    .pub-bottom-nav__item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
        min-width: 0;
        padding: 8px 2px;
        border: none;
        background: none;
        color: #94a3b8;
        font-size: 10px;
        font-weight: 600;
        font-family: inherit;
        cursor: pointer;
        border-radius: 10px;
        text-decoration: none;
        transition: color 0.2s, background 0.2s;
    }

    .pub-bottom-nav__item i {
        font-size: 18px;
    }

    .pub-bottom-nav__item span {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }

    .pub-bottom-nav__item.active {
        color: #1e3a5f;
        background: rgba(201, 168, 76, 0.12);
    }

    .pub-bottom-nav__item.active i {
        color: #c9a84c;
    }

    .pub-bottom-nav__item--accent i {
        color: #c9a84c;
    }

    .pub-bottom-nav__item:active {
        transform: scale(0.96);
    }

    .pub-header-inner {
        display: flex;
        gap: 8px;
    }

    .pub-header .logo {
        min-width: 0;
        flex: 1;
    }

    .header-actions {
        gap: 8px;
        flex-shrink: 0;
    }

    .pub-header .header-hotline {
        display: none;
    }

    .pub-header .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        flex-shrink: 0;
        border-radius: 10px;
        background: rgba(30, 58, 95, 0.06);
    }

    .pub-page-hero {
        margin-top: calc(56px + env(safe-area-inset-top, 0px));
    }

    .hero-inner {
        gap: 28px;
    }

    .hero--centered {
        min-height: auto;
        padding: 20px 16px 40px;
    }

    .hero__card {
        padding: 32px 20px 36px;
        border-radius: 22px;
    }

    .home-page .home-section > .section-inner {
        padding: 32px 20px;
        border-radius: 20px;
    }

    .home-page .quote-section.home-quote {
        padding: 16px 16px 20px;
    }

    .hero-center__logo-wrap {
        width: 172px;
        height: 172px;
        margin-bottom: 22px;
    }

    .hero-center__logo {
        width: 172px;
        height: 172px;
    }

    .hero--centered .hero-center__text {
        font-size: 20px;
        line-height: 1.45;
        max-width: 100%;
    }

    .hero-cta-btn {
        min-width: 240px;
        max-width: 100%;
        margin-top: 22px;
        padding: 12px 22px;
    }

    .hero-cta-btn__main {
        font-size: 13px;
    }

    .hero-cta-btn__sub {
        font-size: 11px;
    }

    .quote-card--reverse {
        grid-template-columns: 1fr;
    }

    .home-faq__media--logo {
        min-height: 220px;
    }

    .home-faq__logo {
        width: 150px;
        height: 150px;
    }

    .home-section {
        padding: 48px 16px;
    }

    .home-section__head {
        text-align: left;
        max-width: none;
        margin-bottom: 28px;
    }

    .home-section__title {
        font-size: 24px;
        line-height: 1.25;
    }

    .home-section__lead {
        font-size: 16px;
        line-height: 1.5;
        max-width: 28rem;
    }

    .home-contact .home-section__head {
        margin-bottom: 24px;
    }

    .home-news__layout {
        gap: 24px;
    }

    .home-news__block-title {
        font-size: 24px;
    }

    .home-news__tile--featured {
        min-height: 200px;
        max-height: 280px;
    }

    .home-news__tile--small {
        min-height: 150px;
    }

    .home-news__tile-title {
        font-size: 18px;
    }

    .home-news__tile--small .home-news__tile-title {
        font-size: 15px;
    }

    .home-news__grid {
        grid-template-columns: 1fr;
    }

    .home-leaders__grid {
        grid-template-columns: 1fr;
    }

    .home-leader-card__name-br {
        display: block;
    }

    .home-faq__layout {
        grid-template-columns: 1fr;
    }

    .home-faq__media {
        min-height: 220px;
    }

    .home-faq__img {
        min-height: 220px;
    }

    .home-contact__grid {
        grid-template-columns: 1fr;
    }

    .home-contact__form {
        padding: 20px 16px;
    }

    .home-course__title {
        font-size: 22px;
    }

    .section--leaders {
        padding: 0 16px 32px;
    }

    .section--leaders .hero-card-wrap {
        margin-top: 0;
        padding-top: 0;
        border-top: none;
    }

    .hero-content {
        order: 1;
    }

    .hero-card-wrap {
        order: 2;
        margin-top: 12px;
        margin-bottom: 16px;
        width: 100%;
        max-width: none;
        padding-top: 28px;
        border-top: 1px solid rgba(201, 168, 76, 0.28);
    }

    /* [СВО] 2026-07-06 — На мобильных убираем косые слои, карточка — отдельный блок */
    .hero-card-wrap::before,
    .hero-card-wrap::after {
        display: none;
    }

    .hero-card.hero-card--leaders {
        --leader-slide-h: 165px;
        padding: 0;
        overflow: hidden;
        border-radius: 20px;
        border: 1px solid rgba(226, 232, 240, 0.95);
        box-shadow:
            0 12px 40px rgba(30, 58, 95, 0.12),
            0 4px 16px rgba(201, 168, 76, 0.08);
    }

    .hero-card--leaders .leaders-header {
        margin: 0;
        padding: 14px 16px;
        gap: 12px;
        background: #ffffff;
        border-bottom: 1px solid var(--border);
        flex-shrink: 0;
    }

    .leaders-logo {
        width: 52px;
        height: 52px;
    }

    .leaders-title {
        font-size: 17px;
        font-weight: 800;
        color: #1e3a5f;
        line-height: 1.25;
    }

    /* [СВО] 2026-07-06 — 2.5 слайда в видимой области: --leader-slide-h × 2.5 */
    .leaders-slider {
        position: relative;
        height: calc(var(--leader-slide-h) * 2.5);
        overflow: hidden;
        background: #ffffff;
        -webkit-mask-image: none;
        mask-image: none;
    }

    /* Подсказка автопрокрутки у обрезанного 3-го слайда */
    .leaders-slider::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 32px;
        background: linear-gradient(to bottom, transparent 0%, rgba(255, 255, 255, 0.85) 55%, rgba(255, 255, 255, 0.98) 100%);
        pointer-events: none;
        z-index: 2;
    }

    .leaders-track {
        animation-duration: 36s;
    }

    .leaders-slider:hover .leaders-track,
    .leaders-slider:active .leaders-track {
        animation-play-state: paused;
    }

    .leader-slide {
        min-height: var(--leader-slide-h);
        max-height: var(--leader-slide-h);
        padding: 12px 16px;
        gap: 12px;
        align-items: flex-start;
        border-bottom: 1px solid rgba(226, 232, 240, 0.9);
        box-sizing: border-box;
        overflow: hidden;
    }

    .leader-slide:last-child {
        border-bottom: 1px solid rgba(226, 232, 240, 0.9);
    }

    .leader-photo {
        width: 80px;
        height: 80px;
        border-radius: 16px;
    }

    .leader-photo__img {
        width: 80px;
        height: 80px;
        border-radius: 16px;
    }

    .leader-star--hero {
        width: 26px;
        height: 26px;
        bottom: -6px;
        right: -6px;
    }

    .leader-star--simchuk {
        width: 22px;
        height: 22px;
        bottom: -4px;
        right: -4px;
    }

    .leader-star--deputy {
        width: 22px;
        height: 22px;
        bottom: -4px;
        right: -4px;
    }

    .leader-info {
        padding-top: 0;
        align-self: center;
    }

    .leader-name {
        font-size: 15px;
        font-weight: 800;
        color: #1e3a5f;
        margin-bottom: 5px;
        line-height: 1.32;
    }

    .leader-role {
        font-size: 13px;
        line-height: 1.5;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .leader-link {
        margin-top: 5px;
        font-size: 12px;
        line-height: 1.25;
    }

    /* [СВО] 2026-07-06 — Quick-access скрыт на мобильных (дублирует нижнюю навигацию) */
    .quick-access {
        display: none;
    }

    .hero-badge {
        font-size: 12px;
        padding: 7px 14px;
        max-width: 100%;
        line-height: 1.35;
    }

    .hero h1 {
        font-size: 32px;
        letter-spacing: -1px;
    }

    .hero-inner p {
        max-width: none;
        font-size: 15px;
        margin-bottom: 24px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

    .hero-buttons .btn-large {
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px 8px;
        margin-top: 28px;
        padding-top: 24px;
        text-align: center;
    }

    .hero-stat {
        min-width: 0;
    }

    .hero-stat-value {
        font-size: 22px;
    }

    .hero-stat-label {
        font-size: 11px;
        line-height: 1.35;
    }

    .hero-badge {

@media (max-width: 768px) {
    .hero h1 {
        font-size: 26px;
    }

    .hero-buttons .btn-large {
        padding: 16px 20px;
        font-size: 16px;
        min-height: 52px;
    }
}

@media (max-width: 400px) {
    .pub-header .btn-outline {
        padding: 8px 10px;
        font-size: 13px;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        text-align: left;
        gap: 16px;
    }

    .hero-stat {
        display: flex;
        align-items: baseline;
        gap: 12px;
        padding-bottom: 12px;
        border-bottom: 1px solid rgba(201, 168, 76, 0.2);
    }

    .hero-stat:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .hero-stat-value {
        font-size: 24px;
        min-width: 72px;
        flex-shrink: 0;
    }

    .hero-stat-label {
        font-size: 12px;
    }
}
