/* ==========================================================================
   Публичная часть в стиле отчёта председателя (буклет 2024–25)
   Тёмно-зелёный #2B5747, золото #D9AD6A, кремовый #F5F4EF, мята #E6EFE6.
   Подключается после site.css и переопределяет оформление публичных страниц.
   ========================================================================== */

/* ---------- шрифт Arimo: именно им набран буклет (метрический аналог Arial) ---------- */

@font-face {
    font-family: 'Arimo';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/arimo-400-cyrillic.woff2') format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
    font-family: 'Arimo';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/arimo-400-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Arimo';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/arimo-700-cyrillic.woff2') format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
    font-family: 'Arimo';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/arimo-700-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* ---------- палитра и типографика ---------- */

:root {
    --green-900: #2B5747;
    --green-700: #234A3C;
    --green-500: #2F6B4A;
    --green-100: #DCE6DE;
    --green-50: #EDF2ED;
    --sand: #F5F4EF;
    --ink: #14251A;
    --muted: #617269;
    --line: #DDE3DC;
    --accent: #D9AD6A;
    --accent-dark: #C9A24B;
    --mint: #E6EFE6;
    --radius: 10px;
    --shadow: none;
    --font-sans: 'Arimo', Arial, 'Segoe UI', system-ui, -apple-system, sans-serif;
}

body {
    font-family: var(--font-sans);
    background: var(--sand);
    color: var(--ink);
    font-size: 16.5px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .page-title, .section__title, .hero__title,
.stat__value, .panel__title, .fact__value, .card__title {
    font-family: var(--font-sans);
    letter-spacing: -.02em;
}

/* ---------- шапка ---------- */

.site-header {
    background: rgba(245, 244, 239, .96);
    border-bottom: 1px solid var(--line);
}

.brand {
    color: var(--green-900);
    font-weight: 800;
    font-size: 16.5px;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.brand__mark {
    background: var(--green-900);
    color: var(--accent);
}

.nav__link {
    color: var(--green-700);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.nav__link:hover { color: var(--green-900); }

.btn {
    border-radius: 8px;
    font-weight: 700;
    letter-spacing: .02em;
}

.btn--primary {
    background: var(--green-900);
    border-color: var(--green-900);
    color: #fff;
}

.btn--primary:hover {
    background: var(--green-700);
    border-color: var(--green-700);
    color: #fff;
}

.btn--ghost {
    background: transparent;
    border-color: rgba(43, 87, 71, .28);
    color: var(--green-900);
}

.btn--ghost:hover {
    background: rgba(43, 87, 71, .06);
    border-color: var(--green-700);
    color: var(--green-900);
}

/* ---------- обложка: тёмно-зелёная панель + фото ---------- */

.hero--report {
    background: var(--green-900);
    color: #fff;
    padding: 0;
}

.hero--report .hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 0;
    width: 100%;
    max-width: none;
    padding: 0;
    align-items: stretch;
}

.hero--report .hero__text {
    padding: 92px 56px 92px max(24px, calc((100vw - 1180px) / 2));
    align-self: center;
}

.hero--report .hero__eyebrow {
    display: inline-block;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: .18em;
    font-size: 12.5px;
    font-weight: 700;
}

.hero--report .hero__title {
    color: #fff;
    font-size: clamp(26px, 3.3vw, 46px);
    font-weight: 800;
    line-height: 1.06;
    white-space: nowrap;
    margin: 24px 0 0;
    max-width: none;
}

.hero--report .hero__rule {
    width: 82px;
    height: 4px;
    background: var(--accent);
    margin: 30px 0 26px;
}

.hero--report .hero__lead {
    color: rgba(255, 255, 255, .82);
    max-width: 46ch;
    font-size: clamp(15.5px, 1.5vw, 17.5px);
    margin: 0 0 30px;
}

.hero--report .hero__media {
    position: relative;
    min-height: 560px;
}

.hero--report .hero__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero--report .hero__media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(43, 87, 71, .55), rgba(43, 87, 71, 0) 42%);
    pointer-events: none;
}

.hero--report .hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero--report .btn--primary {
    background: var(--accent);
    border-color: var(--accent);
    color: #1a2b20;
}

.hero--report .btn--primary:hover {
    background: #e6bf85;
    border-color: #e6bf85;
    color: #1a2b20;
}

.hero--report .btn--ghost {
    border-color: rgba(255, 255, 255, .45);
    color: #fff;
}

.hero--report .btn--ghost:hover {
    background: rgba(255, 255, 255, .12);
    color: #fff;
}

/* ---------- секции и заголовки ---------- */

.section { padding: 84px 0; }
.section--sand { background: var(--sand); }
.section--mint { background: var(--mint); }
.section--white { background: #fff; }
.section--dark { background: var(--green-900); color: #fff; }

.section__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 34px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(43, 87, 71, .16);
}

.section__title {
    font-size: clamp(26px, 3.1vw, 40px);
    font-weight: 800;
    line-height: 1.12;
    color: var(--green-900);
    margin: 0;
}

.section--dark .section__title { color: #fff; }
.section--dark .section__link { color: var(--accent); }
.section--dark .section__head { border-bottom-color: rgba(255, 255, 255, .18); }

.section__link {
    color: var(--green-500);
    font-weight: 700;
    font-size: 15px;
    white-space: nowrap;
}

.section__link:hover { color: var(--green-900); }

.eyebrow {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: .16em;
    font-size: 12px;
    font-weight: 700;
    color: var(--green-500);
    margin-bottom: 14px;
}

.section--dark .eyebrow { color: var(--accent); }

/* ---------- цифры отчёта ---------- */

.report-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.report-stats__item {
    padding: 10px 30px;
    border-left: 1px solid rgba(43, 87, 71, .14);
}

.report-stats__item:first-child {
    border-left: 0;
    padding-left: 0;
}

.report-stats__value {
    font-size: clamp(38px, 4.6vw, 62px);
    font-weight: 800;
    line-height: .95;
    letter-spacing: -.03em;
    color: var(--green-900);
}

.report-stats__value--accent { color: var(--green-500); }

.report-stats__label {
    margin-top: 16px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.35;
}

/* ---------- быстрые ссылки ---------- */

.quick-actions--report {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    margin: 0;
}

.quick-actions--report .quick-action {
    display: block;
    padding: 26px 28px 30px;
    background: transparent;
    border: 0;
    border-top: 2px solid var(--accent);
    border-radius: 0;
    box-shadow: none;
}

.quick-actions--report .quick-action + .quick-action {
    border-left: 1px solid var(--line);
}

.quick-actions--report .quick-action:first-child {
    padding-left: 0;
}

.quick-actions--report .quick-action:hover {
    transform: none;
    background: rgba(43, 87, 71, .03);
}

.quick-actions--report .quick-action__icon {
    width: auto;
    height: auto;
    margin-bottom: 16px;
    background: transparent;
    color: var(--green-700);
}

.quick-actions--report .quick-action__title {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: var(--green-900);
    margin-bottom: 8px;
}

.quick-actions--report .quick-action__text {
    color: var(--muted);
    font-size: 14.5px;
    line-height: 1.45;
}

/* ---------- фото-блок ---------- */

.photo-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.photo-card { min-height: 360px; }

.photo-card {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 300px;
    border-radius: 12px;
    overflow: hidden;
    color: #fff;
}

.photo-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.photo-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(43, 87, 71, .04) 22%, rgba(43, 87, 71, .92) 100%);
}

.photo-card:hover img { transform: scale(1.05); }

.photo-card__body {
    position: relative;
    z-index: 2;
    padding: 24px;
    text-shadow: 0 1px 14px rgba(0, 0, 0, .38);
}

.photo-card__title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 6px;
}

.photo-card__text {
    font-size: 14px;
    color: rgba(255, 255, 255, .88);
    margin: 0;
}

/* ---------- строки с контактами ---------- */

.info-rows { display: grid; gap: 0; }

.info-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 24px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(43, 87, 71, .14);
}

.info-row:first-child { border-top: 1px solid rgba(43, 87, 71, .14); }

.info-row__label {
    color: var(--muted);
    font-size: 16px;
}

.info-row__value {
    color: var(--green-900);
    font-size: 18px;
    font-weight: 700;
    text-align: right;
    line-height: 1.4;
}

/* ---------- выделенная плашка ---------- */

.callout {
    display: flex;
    align-items: center;
    gap: 34px;
    padding: 30px 36px;
    background: var(--mint);
    border-radius: 4px;
}

.callout__label {
    min-width: 190px;
    text-transform: uppercase;
    letter-spacing: .14em;
    font-size: 12px;
    font-weight: 700;
    color: var(--green-500);
}

.callout__text {
    font-size: clamp(17px, 1.9vw, 23px);
    font-weight: 700;
    line-height: 1.35;
    color: var(--green-900);
}

/* ---------- новости ---------- */

.news-card {
    border-radius: 10px;
    border: 1px solid var(--line);
    background: #fff;
    box-shadow: none;
}

.news-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(43, 87, 71, .08);
}

.news-card__cover { border-radius: 10px 10px 0 0; }

.news-card__meta {
    font-size: 13px;
    letter-spacing: .01em;
    color: var(--muted);
}

.news-card__title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
}

.news-card--featured .news-card__title { font-size: 23px; }

.news-card__tag {
    background: var(--mint);
    color: var(--green-700);
}

.news-card__more { color: var(--green-500); }

.news-card__cover--fallback {
    background: linear-gradient(150deg, #e6efe6, #f5f4ef 60%, #f0ead9);
}

/* ---------- внутренние страницы ---------- */

.page-head {
    background: var(--sand);
    border-bottom: 1px solid var(--line);
    padding: 46px 0 32px;
}

.page-title {
    font-size: clamp(30px, 3.8vw, 46px);
    font-weight: 800;
    color: var(--green-900);
    line-height: 1.1;
    margin: 10px 0 0;
}

.breadcrumbs {
    font-size: 13px;
    color: var(--muted);
    letter-spacing: .02em;
}

.breadcrumbs a { color: var(--green-500); }

.article h1, .article h2, .article h3 { color: var(--green-900); }
.article h1 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; }
.article h2 { font-size: clamp(22px, 2.6vw, 30px); font-weight: 700; }
.article h3 { font-size: 20px; font-weight: 700; }

.article-cover { border-radius: 12px; }

/* ---------- подвал ---------- */

.site-footer {
    background: var(--green-900);
    color: #fff;
}

.footer-title {
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: .14em;
    font-size: 11.5px;
    font-weight: 700;
    margin-bottom: 14px;
}

.footer-grid a { color: rgba(255, 255, 255, .82); }
.footer-grid a:hover { color: #fff; }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .16);
    color: rgba(255, 255, 255, .7);
}

.footer-bottom a { color: var(--accent); }

/* ---------- адаптив ---------- */

@media (max-width: 1180px) {
    .hero--report .hero__title { white-space: normal; }
}

@media (max-width: 1100px) {
    .report-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .report-stats__item { padding: 18px 24px; }
    .report-stats__item:nth-child(3) { border-left: 0; padding-left: 0; }
    .quick-actions--report { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .quick-actions--report .quick-action:nth-child(3) { border-left: 0; }
    .photo-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
    .section { padding: 56px 0; }

    .hero--report .hero__inner { grid-template-columns: 1fr; }

    .hero--report .hero__text {
        padding: 56px 24px 48px;
    }

    .hero--report .hero__title { white-space: normal; }

    .hero--report .hero__media {
        min-height: 320px;
        order: -1;
    }

    .hero--report .hero__media::after {
        background: linear-gradient(180deg, rgba(43, 87, 71, 0) 40%, rgba(43, 87, 71, .7));
    }

    .photo-grid { grid-template-columns: 1fr; }
    .callout { flex-direction: column; align-items: flex-start; gap: 14px; }
}



/* ---------- полезные ссылки ---------- */

.useful-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

@media (max-width: 1100px) {
    .useful-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
    .useful-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .site-header__inner {
        gap: 10px;
        min-width: 0;
    }

    .brand {
        font-size: 12.5px;
        letter-spacing: .01em;
        gap: 8px;
        min-width: 0;
    }

    .brand > span:last-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .header-actions .btn {
        padding: 9px 12px;
        font-size: 12px;
        white-space: nowrap;
    }

    .hero--report .hero__text { padding: 40px 20px 40px; }
    .hero--report .hero__eyebrow { font-size: 11px; letter-spacing: .12em; }
    .hero--report .hero__title { font-size: clamp(24px, 8.4vw, 34px); }
    .hero--report .hero__lead { font-size: 15px; }
    .section__title { font-size: 26px; }
    .page-title { font-size: 30px; }
    .container { padding-left: 18px; padding-right: 18px; }
    .callout { padding: 22px; }
    .quick-actions--report .quick-action { padding: 20px 18px; }
}
@media (max-width: 560px) {
    .report-stats { grid-template-columns: 1fr 1fr; }
    .quick-actions--report { grid-template-columns: 1fr; }
    .quick-actions--report .quick-action { border-left: 0 !important; }
    .info-row { flex-direction: column; gap: 6px; }
    .info-row__value { text-align: left; }
}

/* ==========================================================================
   Полировка: редакционная подача в духе отчёта
   ========================================================================== */

.eyebrow::before {
    content: "";
    display: inline-block;
    width: 26px;
    height: 2px;
    margin-right: 12px;
    vertical-align: middle;
    background: var(--accent);
}

/* обложка: мягкий переход фото в тёмную панель, подпись как в буклете */
.hero--report { min-height: min(84vh, 760px); }

.hero--report .hero__inner { min-height: inherit; }

.hero--report .hero__media img { object-position: 55% 42%; }

.hero--report .hero__media::after {
    content: none;
}

.hero__caption {
    position: absolute;
    right: 26px;
    bottom: 22px;
    z-index: 2;
    color: rgba(255, 255, 255, .72);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .2em;
    text-transform: uppercase;
}

/* заголовки чуть спокойнее */
.section__title { font-weight: 700; letter-spacing: -.015em; }

/* быстрый доступ: редакционные строки вместо плиток */
.quick-rows {
    border-top: 1px solid var(--line);
    margin-top: 6px;
}

.quick-row {
    display: grid;
    grid-template-columns: 54px minmax(0, 240px) minmax(0, 1fr) 30px;
    gap: 26px;
    align-items: baseline;
    padding: 24px 0;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
}

.quick-row__num {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    color: var(--accent-dark);
}

.quick-row__title {
    font-size: 20px;
    font-weight: 700;
    color: var(--green-900);
}

.quick-row__text {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.5;
}

.quick-row__arrow {
    justify-self: end;
    font-size: 20px;
    color: var(--green-500);
    transition: transform .18s ease, color .18s ease;
}

.quick-row:hover .quick-row__title { color: var(--green-700); }
.quick-row:hover .quick-row__arrow { transform: translateX(4px); color: var(--green-900); }

/* новости: аккуратные карточки без «букв-заглушек» */
.news-card {
    gap: 12px;
    padding: 24px;
}

.news-card__cover {
    width: calc(100% + 48px);
    height: 200px;
    margin: -24px -24px 18px;
}

.news-card--featured { padding: 28px; }

.news-card--featured .news-card__cover {
    width: calc(100% + 56px);
    height: 340px;
    margin: -28px -28px 22px;
}

.news-card__more {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--green-700);
}

/* фото-мозаика */
.photo-mosaic {
    display: grid;
    grid-template-columns: 1.25fr 1fr 1fr;
    grid-template-rows: 235px 235px;
    gap: 16px;
}

.photo-mosaic .photo-card:nth-child(1) { grid-row: 1 / span 2; }
.photo-mosaic .photo-card:nth-child(2) { grid-column: 2 / span 2; }

.photo-mosaic .photo-card {
    min-height: 0;
    border-radius: 14px;
}

/* списки документов на страницах-разделах */
.doc-list { border-top: 1px solid var(--line); }

.doc-list a {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 24px;
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
    color: var(--green-900);
    font-weight: 600;
    font-size: 17px;
    line-height: 1.35;
    transition: color .15s ease;
}

.doc-list a::after {
    content: "→";
    flex: 0 0 auto;
    color: var(--green-500);
    font-weight: 400;
}

.doc-list a:hover { color: var(--green-700); }


/* ---------- большая новость отдельным блоком ---------- */

.news-featured {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 0;
    margin-bottom: 24px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
}

.news-featured__media { min-height: 340px; }

.news-featured__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-featured__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 36px 38px;
}

.news-featured__title {
    margin: 14px 0;
    font-size: clamp(22px, 2.4vw, 30px);
    font-weight: 700;
    line-height: 1.2;
    color: var(--green-900);
}

.news-featured__text {
    margin: 0 0 22px;
    color: var(--muted);
    font-size: 15.5px;
    line-height: 1.55;
}

.news-featured__more {
    align-self: flex-start;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--green-700);
}

@media (max-width: 900px) {
    .news-featured { grid-template-columns: 1fr; }
    .news-featured__media { min-height: 240px; }
    .news-featured__body { padding: 24px; }
}
@media (max-width: 1000px) {
    .photo-mosaic {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 230px 230px 230px;
    }

    .photo-mosaic .photo-card:nth-child(1) { grid-row: 1 / span 2; }
    .photo-mosaic .photo-card:nth-child(2) { grid-column: 2; }
    .photo-mosaic .photo-card:nth-child(3) { grid-column: 2; }
    .photo-mosaic .photo-card:nth-child(4) { grid-column: 1 / span 2; }
}

@media (max-width: 900px) {
    .quick-row {
        grid-template-columns: 40px minmax(0, 1fr) 24px;
        gap: 14px;
    }

    .quick-row__text { grid-column: 2 / 3; }
    .quick-row__arrow { grid-column: 3; grid-row: 1; }
}

@media (max-width: 640px) {
    .photo-mosaic {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .photo-mosaic .photo-card {
        min-height: 230px;
        grid-column: auto !important;
        grid-row: auto !important;
    }
}
/* ---------- типографика как в буклете ---------- */

body {
    font-weight: 400;
    font-size: 17px;
    line-height: 1.62;
}

.section__title { font-weight: 700; }
.hero--report .hero__title { font-weight: 700; letter-spacing: -.02em; }
.report-stats__value { font-weight: 700; }
.eyebrow { font-weight: 700; }
.news-card__title { font-weight: 700; }
.news-featured__title { font-weight: 700; }
.photo-card__title { font-weight: 700; }
.article { font-weight: 400; }
.article strong, .article b { font-weight: 700; }
/* ---------- просмотр фотографий ---------- */

.photo-card { cursor: zoom-in; }

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
    background: rgba(10, 22, 16, .92);
    backdrop-filter: blur(4px);
}

.lightbox[hidden] { display: none; }

.lightbox__img {
    max-width: 94vw;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
}

.lightbox__close {
    position: absolute;
    top: 18px;
    right: 22px;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 50%;
    background: transparent;
    color: #fff;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.lightbox__close:hover { background: rgba(255, 255, 255, .12); }

body.lightbox-open { overflow: hidden; }
/* ---------- кабинет в стиле отчёта ---------- */

.cabinet { background: var(--sand); }

.cabinet .panel,
.cabinet .presented-box,
.cabinet .pay-summary {
    border-radius: 12px;
    box-shadow: none;
    border: 1px solid var(--line);
}

.cabinet .stat {
    border-radius: 12px;
    box-shadow: none;
    border: 1px solid var(--line);
}

.cabinet .stat__value {
    font-weight: 700;
    letter-spacing: -.02em;
    color: var(--green-900);
}

.cabinet .data-table thead th {
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: 11.5px;
    font-weight: 700;
    color: var(--muted);
    border-bottom: 1px solid var(--line);
}

.cabinet .data-table td {
    border-bottom: 1px solid var(--line);
    font-weight: 400;
}

.cabinet .auth__card {
    border-radius: 14px;
    box-shadow: 0 18px 50px rgba(43, 87, 71, .08);
    border: 1px solid var(--line);
}

.cabinet .nav__link { letter-spacing: .03em; }

.cabinet .footer-bottom,
.cabinet .site-footer { border-radius: 0; }
/* ---------- компактные секции на главной (-15% по высоте) ---------- */

.section--compact { padding: 58px 0; }

.section--compact .section__head {
    margin-bottom: 20px;
    padding-bottom: 12px;
}

.section--compact .report-stats__value {
    font-size: clamp(30px, 3.7vw, 50px);
}

.section--compact .report-stats__label {
    margin-top: 12px;
    font-size: 14.5px;
}

.section--compact .quick-row {
    padding: 16px 0;
    gap: 22px;
}

.section--compact .quick-row__title { font-size: 19px; }
.section--compact .quick-row__text { font-size: 14.5px; }

.section--compact > .container > p.muted {
    margin-top: 16px !important;
    font-size: 15px;
}


/* компактные новости в составе секции */
.section--compact .news-featured {
    margin-bottom: 18px;
}

.section--compact .news-featured__media { min-height: 280px; }

.section--compact .news-featured__body { padding: 26px 30px; }

.section--compact .news-featured__title { font-size: clamp(20px, 2.1vw, 26px); margin: 10px 0; }

.section--compact .news-featured__text { margin-bottom: 16px; font-size: 15px; }

.section--compact .news-grid {
    gap: 16px;
    align-items: start;
}

.section--compact .news-card { padding: 20px; }

.section--compact .news-card__cover {
    width: calc(100% + 40px);
    height: 170px;
    margin: -20px -20px 14px;
}

.section--compact .news-card__title { font-size: 17px; }

.section--compact .news-card__text { font-size: 14.5px; }
@media (max-width: 900px) {
    .section--compact { padding: 44px 0; }
}
.section--compact .news-card__title {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.section--compact .news-featured__title {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.section--compact .news-card__text,
.section--compact .news-featured__text {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
/* ---------- компактные контакты, фото, схема, полезное ---------- */

.section--compact .info-row {
    padding: 13px 0;
}

.section--compact .info-row__label { font-size: 15px; }
.section--compact .info-row__value { font-size: 17px; }

.section--compact .callout {
    padding: 20px 26px;
    margin-top: 24px !important;
    gap: 24px;
}

.section--compact .callout__text { font-size: clamp(16px, 1.7vw, 20px); }

.section--compact .photo-mosaic {
    grid-template-rows: 185px 185px;
    gap: 14px;
}

.section--compact .photo-card__body { padding: 18px; }
.section--compact .photo-card__title { font-size: 16px; }
.section--compact .photo-card__text { font-size: 13.5px; }

.section--compact .scheme-block {
    padding: 20px;
    gap: 22px;
}

.section--compact .scheme-block__img { max-height: 320px; }
.section--compact .scheme-block .fact__title { font-size: 16px; }
.section--compact .scheme-block p { font-size: 15px; }

.section--compact .useful-grid { gap: 16px; }

.section--compact .useful-grid .news-card {
    padding: 18px;
    gap: 10px;
}

.section--compact .ask-icon {
    width: 34px;
    height: 34px;
    margin-bottom: 10px;
}

.section--compact .useful-grid .news-card__title { font-size: 16px; }
.section--compact .useful-grid .news-card__text { font-size: 13.5px; }
.section--compact .useful-grid .news-card__more { font-size: 12px; }
/* ==========================================================================
   Единый компактный стиль для всех публичных страниц
   (раньше сжатие было только у секций главной с классом section--compact)
   ========================================================================== */

.section { padding: 54px 0; }

.section__head {
    margin-bottom: 20px;
    padding-bottom: 12px;
}

.page-head {
    padding: 34px 0 24px;
}

.page-title {
    font-size: clamp(28px, 3.2vw, 40px);
    margin-top: 8px;
}

/* новости: компактные карточки на всех страницах */
.news-card {
    padding: 20px;
    gap: 10px;
}

.news-card__cover {
    width: calc(100% + 40px);
    height: 170px;
    margin: -20px -20px 14px;
}

.news-card__title { font-size: 17px; }

.news-card__text {
    font-size: 14.5px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-featured {
    margin-bottom: 18px;
}

.news-featured__media { min-height: 280px; }
.news-featured__body { padding: 26px 30px; }

.news-featured__title {
    font-size: clamp(20px, 2.1vw, 26px);
    margin: 10px 0;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-featured__text {
    margin-bottom: 16px;
    font-size: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-grid {
    gap: 16px;
    align-items: start;
}

/* статьи и статические страницы */
.article {
    font-size: 16.5px;
    line-height: 1.65;
}

.article h1 { font-size: clamp(23px, 2.6vw, 30px); margin: 0 0 14px; }
.article h1 a, .article h2 a { color: var(--green-900); text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.article h2 { font-size: clamp(21px, 2.4vw, 26px); margin: 28px 0 12px; }
.article h3 { font-size: 19px; margin: 22px 0 10px; }
.article p { margin: 0 0 14px; }
.article ul, .article ol { margin: 0 0 16px; padding-left: 22px; }
.article li { margin-bottom: 8px; }
.article a { color: var(--green-700); text-decoration: underline; text-underline-offset: 2px; }
.article a:hover { color: var(--green-900); }
.article table { font-size: 14.5px; }
.article img { border-radius: 10px; }

/* боковое меню раздела */
.side-nav {
    border-radius: 12px;
    border: 1px solid var(--line);
    background: #fff;
    padding: 20px;
}

.side-nav__title {
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: 11px;
    color: var(--green-500);
    margin-bottom: 12px;
}

.side-nav__list a {
    font-size: 15px;
    color: var(--ink);
    padding: 6px 0;
    display: block;
    border-bottom: 1px solid rgba(43, 87, 71, .07);
}

.side-nav__list a:hover { color: var(--green-700); }

/* список документов раздела */
.doc-list a {
    padding: 16px 0;
    font-size: 16px;
}

/* контакты и выноски */
.info-row { padding: 13px 0; }
.info-row__label { font-size: 15px; }
.info-row__value { font-size: 17px; }

.callout { padding: 20px 26px; gap: 24px; }
.callout__text { font-size: clamp(16px, 1.7vw, 20px); }

/* фото-мозаика */
.photo-mosaic { grid-template-rows: 185px 185px; gap: 14px; }
.photo-card__body { padding: 18px; }
.photo-card__title { font-size: 16px; }
.photo-card__text { font-size: 13.5px; }

/* схема и полезные ссылки */
.scheme-block { padding: 20px; gap: 22px; }
.scheme-block__img { max-height: 320px; }
.scheme-block .fact__title { font-size: 16px; }
.scheme-block p { font-size: 15px; }

.useful-grid { gap: 16px; }
.useful-grid .news-card { padding: 18px; gap: 10px; }
.ask-icon { width: 34px; height: 34px; margin-bottom: 10px; }
.useful-grid .news-card__title { font-size: 16px; }
.useful-grid .news-card__text { font-size: 13.5px; }
.useful-grid .news-card__more { font-size: 12px; }

/* формы и служебные страницы */
.auth__card { border-radius: 14px; }
.auth__title { font-size: clamp(24px, 2.6vw, 30px); }
.form-field { margin-bottom: 14px; }
.panel { padding: 20px; border-radius: 12px; }

@media (max-width: 900px) {
    .section { padding: 44px 0; }
    .page-head { padding: 26px 0 18px; }
}
/* ---------- нормализация унаследованного содержимого статей ---------- */

.article span,
.article p,
.article div,
.article li,
.article td,
.article th {
    font-family: inherit !important;
    font-size: inherit !important;
    color: inherit !important;
    background-color: transparent !important;
    line-height: inherit !important;
}

.article u,
.article u strong {
    text-decoration: none !important;
    text-decoration-line: none !important;
    font-weight: 700;
}

.article p[style],
.article span[style] {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.article table {
    width: 100% !important;
    border-collapse: collapse;
}

.article td,
.article th {
    padding: 8px 10px;
    border-bottom: 1px solid var(--line);
}
/* ---------- выбор способа оплаты (плитки) ---------- */

.pay-methods {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 20px 0 8px;
}

.pay-method {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 20px;
    text-align: left;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    cursor: pointer;
    font: inherit;
    color: var(--ink);
    transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.pay-method:hover {
    border-color: var(--green-500);
    box-shadow: 0 10px 26px rgba(43, 87, 71, .08);
    transform: translateY(-1px);
}

.pay-method__title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 700;
    color: var(--green-900);
}

.pay-method__title::after {
    content: "→";
    color: var(--green-500);
    font-weight: 400;
}

.pay-method__text {
    font-size: 14px;
    line-height: 1.45;
    color: var(--muted);
}

.pay-method--card {
    border-color: rgba(217, 173, 106, .55);
    background: linear-gradient(180deg, #fff8ec 0%, #fff 70%);
}

.pay-methods__title {
    margin: 18px 0 0;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--green-500);
}

@media (max-width: 640px) {
    .pay-methods { grid-template-columns: 1fr; }
}
/* ---------- плитки выбора назначения платежа ---------- */

.pay-type-tiles {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 4px;
}

.pay-type-tile {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

.pay-type-tile input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.pay-type-tile__title {
    font-size: 15.5px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--green-900);
}

.pay-type-tile__sum {
    font-size: 13px;
    color: var(--muted);
}

.pay-type-tile:hover { border-color: var(--green-500); }

.pay-type-tile--active {
    border-color: rgba(217, 173, 106, .85);
    background: linear-gradient(180deg, #fff8ec 0%, #fff 70%);
    box-shadow: 0 6px 18px rgba(43, 87, 71, .06);
}

.pay-type-tile--active .pay-type-tile__title { color: var(--green-900); }

.pay-steps {
    margin: 0;
    padding-left: 18px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5;
}

.pay-steps li { margin-bottom: 8px; }

@media (max-width: 640px) {
    .pay-type-tiles { grid-template-columns: 1fr; }
}