/* [СВО] 2026-07-08 — Страница «О нас» (#view-about). НЕ МЕНЯТЬ без проверки goAbout() в main.js */

#view-about .pub-page-hero--about {
    background:
        linear-gradient(165deg, rgba(255, 252, 247, 0.5) 0%, rgba(247, 243, 235, 0.62) 55%, rgba(240, 233, 220, 0.68) 100%),
        var(--page-photo) center / cover no-repeat;
}

/* —— Видео после intro —— */
.about-video {
    padding: 8px 24px 40px;
}

.about-video__inner {
    max-width: 920px;
    margin: 0 auto;
    text-align: center;
}

.about-video__eyebrow {
    margin: 0 0 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #8a95a8;
}

.about-video__title {
    margin: 0 0 22px;
    font-family: 'Russo One', sans-serif;
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 400;
    letter-spacing: -0.02em;
    color: #1a2b4a;
}

.about-video__frame {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    background:
        linear-gradient(145deg, #152238 0%, #1a2b4a 48%, #0f1a2e 100%);
    aspect-ratio: 16 / 9;
    box-shadow: 0 18px 48px rgba(15, 26, 46, 0.22);
}

.about-video__frame video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: #0f1a2e;
}

.about-video__poster {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at center, rgba(201, 168, 76, 0.18) 0%, transparent 55%),
        linear-gradient(160deg, rgba(26, 43, 74, 0.2) 0%, rgba(15, 26, 46, 0.55) 100%),
        url('../img/logo-ui.webp?v=20260721perf2') center / 28% no-repeat;
    pointer-events: none;
}

.about-video__frame video[hidden],
.about-video__poster[hidden],
.about-video__play[hidden] {
    display: none !important;
}

.about-video__frame.is-playing .about-video__poster,
.about-video__frame.is-playing .about-video__play {
    display: none !important;
}

.about-video__frame.is-playing video {
    display: block !important;
    position: relative;
    z-index: 2;
}

.about-video__play {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 14px;
    border: none;
    background: transparent;
    color: #fff;
    cursor: pointer;
}

.about-video__play:hover .about-video__play-btn {
    transform: scale(1.06);
    background: #c9a84c;
}

.about-video__play:disabled {
    cursor: not-allowed;
    opacity: 0.55;
}

.about-video__play-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    color: #1a2b4a;
    font-size: 22px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
    transition: transform 0.18s ease, background 0.18s ease;
}

.about-video__play-btn i {
    margin-left: 3px;
}

.about-video__play-label {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

.about-video__hint {
    margin: 14px 0 0;
    font-size: 13px;
    color: #7a8799;
}

.about-page {
    padding: 0 0 40px;
    background: transparent;
}

.about-page__inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
}

/* —— Вступление —— */
.about-intro {
    padding: 16px 0 32px;
}

.about-intro__card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 32px 40px;
    align-items: center;
    padding: 36px 40px;
    background: #fff;
    border: 1px solid #e8edf3;
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(30, 58, 95, 0.06);
}

.about-intro__logo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: contain;
    border: 3px solid rgba(201, 168, 76, 0.55);
    background: transparent;
    box-shadow: 0 8px 24px rgba(201, 168, 76, 0.2);
}

.about-intro__eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    padding: 5px 14px;
    border-radius: 999px;
    background: rgba(201, 168, 76, 0.12);
    color: #8a6d1f;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.about-intro__title {
    margin: 0 0 14px;
    font-size: 28px;
    font-weight: 800;
    line-height: 1.25;
    color: #1e3a5f;
    letter-spacing: -0.02em;
}

.about-intro__title span {
    background: linear-gradient(135deg, #c9a84c 0%, #a8842e 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.about-intro__body {
    min-width: 0;
}

.about-intro__copy {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.about-intro__text {
    margin: 0;
    font-size: 16px;
    line-height: 1.75;
    color: #52607a;
}

.about-intro__brand {
    color: #1e3a5f;
    font-weight: 700;
}

/* [СВО] 2026-07-19 — заключительный абзац-кредо с акцентной полосой */
.about-intro__text--credo {
    margin-top: 4px;
    padding: 14px 18px 14px 20px;
    border-left: 3px solid #c9a84c;
    border-radius: 0 14px 14px 0;
    background: linear-gradient(90deg, rgba(201, 168, 76, 0.1) 0%, rgba(201, 168, 76, 0.02) 100%);
    color: #1e3a5f;
    font-size: 16.5px;
    font-weight: 600;
    font-style: italic;
    line-height: 1.7;
}

/* —— Направления (карточки) —— */
.about-pillars {
    padding: 16px 0 40px;
}

.about-section-head {
    margin-bottom: 24px;
    text-align: center;
}

.about-section-head__title {
    margin: 0 0 10px;
    font-size: 26px;
    font-weight: 800;
    color: #1e3a5f;
    letter-spacing: -0.02em;
}

.about-section-head__lead {
    margin: 0 auto;
    max-width: 640px;
    font-size: 15px;
    line-height: 1.6;
    color: #64748b;
}

.about-pillars__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.about-pillar {
    padding: 24px 20px;
    background: #fff;
    border: 1px solid #e8edf3;
    border-radius: 18px;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.about-pillar:hover {
    transform: translateY(-3px);
    border-color: rgba(201, 168, 76, 0.45);
    box-shadow: 0 12px 28px rgba(30, 58, 95, 0.08);
}

.about-pillar__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 14px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.15) 0%, rgba(232, 213, 160, 0.25) 100%);
    color: #a8842e;
    font-size: 22px;
}

.about-pillar__title {
    margin: 0 0 8px;
    font-size: 15px;
    font-weight: 700;
    color: #1e3a5f;
    line-height: 1.35;
}

.about-pillar__text {
    margin: 0;
    font-size: 13px;
    line-height: 1.55;
    color: #64748b;
}

/* —— Деятельность —— */
.about-activity {
    padding: 8px 0 40px;
}

.about-activity__layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: stretch;
}

.about-activity__main {
    padding: 32px;
    background: #fff;
    border: 1px solid #e8edf3;
    border-radius: 20px;
    box-shadow: 0 6px 24px rgba(30, 58, 95, 0.05);
}

.about-activity__main h3 {
    margin: 0 0 18px;
    font-size: 20px;
    font-weight: 800;
    color: #1e3a5f;
}

.about-activity__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.about-activity__list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
    font-size: 15px;
    line-height: 1.55;
    color: #475569;
}

.about-activity__list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.about-activity__list i {
    flex-shrink: 0;
    margin-top: 3px;
    color: #c9a84c;
    font-size: 14px;
}

/* [СВО] 2026-07-19 — фон-фото + градиент снизу вверх для читаемости текста */
.about-quote-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 32px;
    border-radius: 20px;
    background-color: #0f1a2e;
    background-image:
        linear-gradient(
            to top,
            rgba(10, 18, 32, 0.94) 0%,
            rgba(15, 26, 46, 0.72) 42%,
            rgba(30, 58, 95, 0.38) 100%
        ),
        url('../img/7c696f43-f7aa-4486-84ae-82deae2aa08d.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    color: #fff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 12px 36px rgba(15, 26, 46, 0.28);
}

.about-quote-card::before {
    content: '\201C';
    position: absolute;
    top: 8px;
    right: 20px;
    font-size: 120px;
    font-family: Georgia, serif;
    line-height: 1;
    color: rgba(201, 168, 76, 0.12);
    pointer-events: none;
}

.about-quote-card blockquote {
    margin: 0 0 16px;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.65;
    font-style: italic;
    color: rgba(255, 255, 255, 0.92);
    position: relative;
    z-index: 1;
}

.about-quote-card cite {
    font-size: 14px;
    font-weight: 600;
    font-style: normal;
    color: #e8d5a0;
    position: relative;
    z-index: 1;
}

/* —— Федеральная ассоциация —— */
.about-federal {
    padding: 8px 0 40px;
}

.about-federal__banner {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 28px 32px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.1) 0%, rgba(255, 255, 255, 0.95) 40%, #fff 100%);
    border: 1px solid rgba(201, 168, 76, 0.3);
}

.about-federal__icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: linear-gradient(135deg, #1e3a5f, #2a4a7a);
    color: #e8d5a0;
    font-size: 24px;
}

.about-federal__body {
    flex: 1;
    min-width: 0;
}

.about-federal__body h3 {
    margin: 0 0 6px;
    font-size: 18px;
    font-weight: 800;
    color: #1e3a5f;
}

.about-federal__body p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #64748b;
}

.about-federal__links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    flex-shrink: 0;
}

.about-federal__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    border-radius: 10px;
    background: #1e3a5f;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    white-space: normal;
    text-align: center;
    max-width: 280px;
    line-height: 1.35;
    transition: background 0.2s, transform 0.2s;
}

.about-federal__link:hover {
    background: #2a4a7a;
    transform: translateY(-1px);
}

.about-federal__link--outline {
    background: transparent;
    border: 1px solid #c9a84c;
    color: #8a6d1f;
}

.about-federal__link--outline:hover {
    background: rgba(201, 168, 76, 0.1);
}

/* —— Сопредседатели (превью) —— */
.about-leaders {
    padding: 8px 0 40px;
}

.about-leaders__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.about-leader-mini {
    padding: 22px 16px 18px;
    background: #fff;
    border: 1px solid #e8edf3;
    border-radius: 18px;
    text-align: center;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.about-leader-mini:hover {
    border-color: rgba(201, 168, 76, 0.45);
    box-shadow: 0 10px 28px rgba(30, 58, 95, 0.08);
    transform: translateY(-2px);
}

/* [СВО] 2026-07-19 — чуть крупнее фото, золотое кольцо и тень */
.about-leader-mini__photo {
    position: relative;
    width: 104px;
    height: 104px;
    margin: 0 auto 22px;
    border-radius: 50%;
    overflow: visible;
    border: none;
}

.about-leader-mini__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    border-radius: 50%;
    border: 3px solid #e8d5a0;
    display: block;
    box-sizing: border-box;
    box-shadow: 0 6px 18px rgba(30, 58, 95, 0.14);
    background: #f1f5f9;
}

/* [СВО] 2026-07-18 — Лейбл «Председатель» на фото */
.about-leader-mini__label {
    position: absolute;
    left: 50%;
    bottom: -11px;
    transform: translateX(-50%);
    z-index: 2;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(30, 58, 95, 0.96);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.02em;
    white-space: nowrap;
    line-height: 1.2;
    box-shadow: 0 2px 8px rgba(15, 26, 46, 0.2);
}

.about-leader-mini__name {
    margin: 0 0 8px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    color: #1e3a5f;
}

.about-leader-mini__role {
    margin: 0;
    font-size: 12px;
    line-height: 1.5;
    color: #64748b;
}

.about-leaders__action {
    margin-top: 20px;
    text-align: center;
}

/* —— CTA —— */
.about-cta {
    padding: 8px 0 28px;
}

/* [СВО] 2026-07-19 — карточка организации внизу «О нас» */
.about-org {
    padding: 8px 0 56px;
}

.about-org .about-section-head {
    margin-bottom: 22px;
}

.about-org__contacts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}

.about-org__card {
    padding: 24px 22px 22px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid rgba(30, 58, 95, 0.08);
    box-shadow: 0 10px 28px rgba(30, 58, 95, 0.06);
}

.about-org__card-icon {
    width: 42px;
    height: 42px;
    margin-bottom: 14px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(201, 168, 76, 0.14);
    color: #8a6d1f;
    font-size: 17px;
}

.about-org__card-title {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 800;
    color: #1a2b4a;
    line-height: 1.3;
}

.about-org__card-badge {
    display: inline-block;
    margin-bottom: 10px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(201, 168, 76, 0.14);
    color: #8a6d1f;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.about-org__card-text {
    margin: 0;
    font-style: normal;
    font-size: 14px;
    line-height: 1.55;
    color: #475569;
}

.about-org__card-link {
    display: inline-block;
    margin: 0 0 8px;
    color: #1e3a5f;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    word-break: break-word;
}

.about-org__card-link:hover {
    color: #8a6d1f;
}

.about-org__card-note {
    margin: 0;
    font-size: 13px;
    line-height: 1.45;
    color: #64748b;
}

.about-org__requisites {
    margin-top: 0;
}

@media (max-width: 900px) {
    .about-org__contacts {
        grid-template-columns: 1fr;
    }
}

/* [СВО] 2026-07-19 — фотофон + градиент снизу вверх */
.about-cta__box {
    padding: 40px 32px;
    border-radius: 24px;
    text-align: center;
    background-color: #0f1a2e;
    background-image:
        linear-gradient(
            to top,
            rgba(10, 18, 32, 0.94) 0%,
            rgba(15, 26, 46, 0.72) 45%,
            rgba(30, 58, 95, 0.4) 100%
        ),
        url('../img/574cf85b-41fd-406e-a115-87b2d408c7f4.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
    box-shadow: 0 12px 36px rgba(15, 26, 46, 0.28);
}

.about-cta__box::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 18%, rgba(201, 168, 76, 0.12) 0%, transparent 48%);
    pointer-events: none;
}

.about-cta__box > * {
    position: relative;
    z-index: 1;
}

.about-cta__title {
    margin: 0 0 10px;
    font-size: 26px;
    font-weight: 800;
    color: #fff;
}

.about-cta__text {
    margin: 0 auto 24px;
    max-width: 520px;
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.75);
}

.about-cta__buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.about-cta__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    border: none;
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.about-cta__btn--gold {
    background-color: #1e4a9e;
    background-image:
        linear-gradient(90deg, rgba(16, 42, 110, 0.4) 0%, rgba(28, 55, 130, 0.18) 55%, transparent 100%),
        url('../img/574cf85b-41fd-406e-a115-87b2d408c7f4.jpg');
    background-size: cover, cover;
    background-position: center, center;
    background-repeat: no-repeat;
    color: #fff;
    box-shadow: 0 6px 20px rgba(30, 40, 110, 0.3);
}

.about-cta__btn--gold:hover {
    transform: translateY(-2px);
    filter: brightness(1.07);
    color: #fff;
    box-shadow: 0 10px 28px rgba(30, 40, 110, 0.38);
}

.about-cta__btn--ghost {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.about-cta__btn--ghost:hover {
    background: rgba(255, 255, 255, 0.16);
    transform: translateY(-2px);
}

/* —— Горячая линия —— */
.about-hotline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.about-hotline a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #e8d5a0;
    font-size: 20px;
    font-weight: 800;
    text-decoration: none;
}

.about-hotline a:hover {
    color: #fff;
}

.about-hotline span {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
}

/* —— Мобильная адаптация —— */
@media (max-width: 1024px) {
    .about-intro {
        padding: 28px 0 20px;
    }

    .about-intro__card {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 24px 20px;
        text-align: center;
    }

    .about-intro__logo {
        margin: 0 auto;
        width: 100px;
        height: 100px;
    }

    .about-intro__title {
        font-size: 22px;
    }

    .about-intro__copy {
        text-align: left;
        gap: 12px;
    }

    .about-intro__text {
        font-size: 15px;
        line-height: 1.7;
    }

    .about-intro__text--credo {
        padding: 12px 14px 12px 16px;
        font-size: 15.5px;
        text-align: left;
    }

    .about-pillars__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .about-pillar {
        padding: 18px 14px;
    }

    .about-activity__layout {
        grid-template-columns: 1fr;
    }

    .about-quote-card {
        padding: 24px 22px 28px;
    }

    .about-quote-card blockquote {
        font-size: 15px;
    }

    .about-federal__banner {
        flex-direction: column;
        align-items: flex-start;
        padding: 22px 20px;
    }

    .about-federal__links {
        width: 100%;
    }

    .about-federal__link {
        flex: 1 1 auto;
        justify-content: center;
    }

    .about-leaders__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .about-leader-mini {
        padding: 18px 12px 16px;
    }

    .about-leader-mini__photo {
        width: 88px;
        height: 88px;
        margin-bottom: 20px;
    }

    .about-section-head__title {
        font-size: 22px;
    }

    .about-video {
        padding: 4px 16px 28px;
    }

    .about-video__play-btn {
        width: 60px;
        height: 60px;
        font-size: 18px;
    }

    #view-about .pub-page-hero__title {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .about-page__inner {
        padding: 0 16px;
    }

    .about-pillars__grid {
        grid-template-columns: 1fr;
    }

    .about-leaders__grid {
        grid-template-columns: 1fr 1fr;
    }

    .about-leader-mini__photo {
        width: 84px;
        height: 84px;
    }

    .about-cta__box {
        padding: 28px 20px;
    }

    .about-cta__title {
        font-size: 22px;
    }

    .about-cta__buttons {
        flex-direction: column;
    }

    .about-cta__btn {
        width: 100%;
        justify-content: center;
    }

    .about-hotline {
        flex-direction: column;
        gap: 6px;
    }
}
