/* =====================================================
   НТД Theme — main.css
   Pixel-perfect по скриншоту + оригинальный ntd.css
   Цвета: #ae2600 акцент, #422026 nav/карточки, #341b1f footer
   ===================================================== */

/* ── СБРОС ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-family: sans-serif; -webkit-text-size-adjust: 100%; }

body {
    background: #f2f2f2;
    font: normal 15px/1.5 "Segoe UI", "Helvetica", sans-serif;
    color: #7f8187;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

table { border-collapse: collapse; }
ul    { list-style: none; margin: 0; padding: 0; }
a     { color: #ae2600; text-decoration: none; }
a:hover { color: #c92f2f; text-decoration: underline; }
img   { display: block; height: auto; max-width: 100%; width: 100%; }

h1, h2 {
    color: #ae2600;
    font-weight: normal;
    text-transform: uppercase;
    text-align: center;
}
h1 { font-size: 26px; }
h2 { font-size: 22px; }


/* ════════════════════════════════════════
   ШАПКА — pixel-perfect по скриншоту
   [НТД | Единая система…]  |  [Реестр →]
   ════════════════════════════════════════ */
.site-header {
    background: #fff;
    border-bottom: 2px solid #f0e8e6;
    padding: 16px 0 14px;
}

.site-header__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 24px;
    flex-wrap: wrap;
    box-sizing: border-box;
    width: 100%;
}

/* Левая часть: логотип + разделитель + подпись */
.site-header__left {
    display: flex;
    align-items: center;
    gap: 0;
    flex-shrink: 1;
    min-width: 0;
    flex-wrap: wrap;
}

.site-logo {
    display: flex;
    align-items: center;
    padding-right: 22px;
    flex-shrink: 0;
    text-decoration: none;
}
.site-logo:hover { opacity: .85; }

.site-logo__img {
    display: block;
    width: auto;
    height: 50px;
    max-width: 120px;
}

@media (max-width: 480px) {
    .site-logo__img { height: 38px; }
    .site-logo { padding-right: 14px; }
}

.header-divider {
    width: 1px;
    height: 42px;
    background: #c8b8b4;
    flex-shrink: 0;
}

.header-tagline {
    padding: 0 0 0 22px;
    color: #444;
    font-size: 18px;
    line-height: 1.45;
    flex-shrink: 1;
    min-width: 0;
}

/* Правая часть: ссылка Реестра */
.header-registry {
    flex-shrink: 1;
    min-width: 0;
}
.header-registry a {
    color: #ae2600;
    font-size: 18px;
    line-height: 1.45;
    text-align: left;
    display: block;
    text-decoration: none;
    border-left: 2px solid #ae2600;
    padding-left: 16px;
}
.header-registry a:hover { color: #c93000; text-decoration: underline; }

@media (max-width: 1100px) {
    .header-tagline { font-size: 14px; padding-left: 16px; }
    .header-registry a { font-size: 14px; }
}

@media (max-width: 900px) {
    .site-header__inner { flex-wrap: wrap; gap: 8px; padding: 0 16px; }
    .header-registry { width: 100%; }
    .header-registry a { text-align: left; border-left: none; padding-left: 0; border-top: 1px solid #eee; padding-top: 8px; }
    .site-logo { font-size: 44px; padding-right: 16px; }
}
@media (max-width: 480px) {
    .site-logo { font-size: 36px; padding-right: 12px; }
    .header-tagline { font-size: 11.5px; padding-left: 14px; }
    .header-divider { height: 34px; }
}


/* ════════════════════════════════════════
   НАВИГАЦИЯ — тёмно-бордовый фон #422026
   Горизонтальная, table-cell, дропдаун на hover
   ════════════════════════════════════════ */
nav.site-nav {
    background: #422026;
    width: 100%;
    position: relative;
    z-index: 100;
}

/* Корневой ul — горизонтальный, центрирован */
nav.site-nav > ul,
nav.site-nav .nav-menu > ul {
    display: table;
    table-layout: auto;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1em;
    list-style: none;
}

nav.site-nav > ul > li,
nav.site-nav .nav-menu > ul > li {
    display: table-cell;
    position: relative;
    text-align: center;
    vertical-align: middle;
    white-space: nowrap;
}

/* Ссылки верхнего уровня */
nav.site-nav > ul > li > a,
nav.site-nav .nav-menu > ul > li > a {
    color: #fff;
    display: inline-block;
    font-size: 14px;
    padding: 10px 10px 11px;
    line-height: 1.3;
    text-decoration: none;
    text-align: center;
    vertical-align: middle;
    min-height: 40px;
}

/* У пунктов с дропдауном — увеличиваем правую часть */
nav.site-nav > ul > li.has-dropdown > a,
nav.site-nav .nav-menu > ul > li.has-dropdown > a {
    position: relative;
    padding-right: 34px;
}

/* Стрелка \25BE внутри ссылки */
nav.site-nav > ul > li.has-dropdown > a::after,
nav.site-nav .nav-menu > ul > li.has-dropdown > a::after {
    content: '\25BE';
    font-size: 10px;
    line-height: 1;
    opacity: 0.95;
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
}

/* Активный пункт */
nav.site-nav > ul > li.active > a,
nav.site-nav > ul > li.current-menu-item > a,
nav.site-nav > ul > li.current-menu-ancestor > a,
nav.site-nav > ul > li.current-menu-parent > a,
nav.site-nav .nav-menu > ul > li.active > a,
nav.site-nav .nav-menu > ul > li.current-menu-item > a,
nav.site-nav .nav-menu > ul > li.current-menu-ancestor > a,
nav.site-nav .nav-menu > ul > li.current-menu-parent > a {
    background: #ae2600;
    color: #fff;
}

/* Ховер на неактивных */
nav.site-nav > ul > li:not(.active):not(.current-menu-item):not(.current-menu-ancestor):not(.current-menu-parent):hover > a,
nav.site-nav .nav-menu > ul > li:not(.active):not(.current-menu-item):not(.current-menu-ancestor):not(.current-menu-parent):hover > a {
    background: #5a333a;
}

/* ── Дропдаун ── */
nav.site-nav ul.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 999;
    background: #fff;
    box-shadow: 3px 3px 10px rgba(0,0,0,.18);
    list-style: none;
    margin: 0;
    padding: 0;
    min-width: 260px;
    text-align: left;
    opacity: 0;
    visibility: hidden;
    transform: translate3d(0, 8px, 0);
    transition: opacity .25s ease, transform .25s ease, visibility .25s;
}

nav.site-nav > ul > li:hover ul.dropdown,
nav.site-nav .nav-menu > ul > li:hover ul.dropdown {
    opacity: 1;
    visibility: visible;
    transform: translate3d(0, 0, 0);
}

nav.site-nav ul.dropdown > li {
    display: block;
}

nav.site-nav ul.dropdown > li > a {
    color: #333;
    display: block;
    font-size: 14px;
    padding: 7px 14px 8px;
    text-decoration: none;
    border-bottom: 1px solid #f0ecec;
    transition: color .15s;
}

nav.site-nav ul.dropdown > li:last-child > a {
    border-bottom: none;
}

nav.site-nav ul.dropdown > li > a:hover,
nav.site-nav ul.dropdown > li.active > a,
nav.site-nav ul.dropdown > li.current-menu-item > a {
    color: #ae2600;
    text-decoration: none;
}

/* ── Бургер-кнопка (скрыта на десктопе) ── */
.nav-burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px 14px;
    margin-left: auto;
    z-index: 10;
    flex-shrink: 0;
}
.nav-burger__bar {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform .3s, opacity .3s;
}
.nav-burger.is-open .nav-burger__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.is-open .nav-burger__bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-burger.is-open .nav-burger__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Обёртка меню — на десктопе прозрачна для table-layout */
.nav-menu { display: contents; }

/* ── Мобильная навигация ── */
@media (max-width: 900px) {
    nav.site-nav {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        padding: 0;
    }

    .nav-burger { display: flex; }

    /* На мобильном nav-menu — обычный блок, скрытый по умолчанию */
    .nav-menu {
        display: block;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height .35s ease;
    }
    .nav-menu.is-open {
        max-height: 100vh;
        overflow-y: auto;
    }

    /* ul внутри nav-menu — вертикальный список */
    .nav-menu > ul {
        display: block !important;
        width: 100%;
        padding: 0;
    }
    .nav-menu > ul > li {
        display: block !important;
        text-align: left;
        border-top: 1px solid rgba(255,255,255,.06);
        white-space: normal;
    }
    .nav-menu > ul > li > a {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        padding: 11px 1.2em;
        font-size: 14px;
        min-height: 0;
    }
    .nav-menu > ul > li.has-dropdown > a {
        padding-right: 1.2em;
    }
    .nav-menu > ul > li.has-dropdown > a::after {
        position: static;
        transform: none;
        margin-left: 8px;
        transition: transform .2s;
        display: inline-block;
    }
    .nav-menu > ul > li.has-dropdown.open > a::after {
        transform: rotate(180deg);
    }

    /* Дропдауны — скрыты, раскрываются по клику */
    nav.site-nav ul.dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        box-shadow: none;
        background: rgba(0,0,0,.18);
        min-width: 0;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
        overflow: hidden;
        transition: none;
        border-top: 1px solid rgba(255,255,255,.06);
    }
    .nav-menu > ul > li.has-dropdown.open ul.dropdown { display: block; }

    nav.site-nav ul.dropdown > li > a {
        color: rgba(255,255,255,.85);
        font-size: 13px;
        padding: 9px 1em 9px 2em;
        border-color: rgba(255,255,255,.06);
        white-space: normal;
        word-break: break-word;
        overflow-wrap: break-word;
        line-height: 1.4;
        display: block;
        box-sizing: border-box;
        width: 100%;
    }
    nav.site-nav ul.dropdown > li > a:hover { color: #fff; background: rgba(255,255,255,.08); }
}

/* ════════════════════════════════════════
   HERO — СЛАЙДЕР + ПОИСК
   Полноширинный, два слайда с кросс-фейдом, без стрелок
   ════════════════════════════════════════ */
.site-hero {
    position: relative;
    width: 100%;
    height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Слайды */
.hero-slider {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease;
}

.hero-slide--active {
    opacity: 1;
}

/* Затемнение */
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,.42) 0%,
        rgba(30,10,10,.55) 100%
    );
}

/* Контент поверх слайдера */
.site-hero__inner {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 720px;
    max-width: calc(100% - 60px);
}

/* Заголовок */
.hero-title {
    color: #fff;
    font-size: 30px;
    font-weight: 300;
    letter-spacing: 5px;
    text-transform: uppercase;
    margin-bottom: 1.4em;
    text-shadow: 0 2px 8px rgba(0,0,0,.5);
}

/* ── Форма поиска ── */
.hero-search {
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 2px;
    padding: 20px 24px 22px;
    backdrop-filter: blur(4px);
}

/* Лейбл */
.hero-search__label {
    display: block;
    color: rgba(255,255,255,.85);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-align: left;
    margin-bottom: 8px;
}

/* Строка: инпут + кнопка */
.hero-search__row {
    display: flex;
    box-shadow: 0 2px 12px rgba(0,0,0,.25);
}

.hero-search__input {
    flex: 1;
    background: rgba(255,255,255,.93);
    border: none;
    height: 50px;
    padding: 0 18px;
    font-size: 14px;
    color: #333;
    outline: none;
    border-radius: 0;
    transition: background .2s;
}
.hero-search__input::placeholder {
    color: #aaa;
    font-size: 13px;
}
.hero-search__input:focus {
    background: #fff;
    box-shadow: inset 0 0 0 2px rgba(174,38,0,.25);
}

.hero-search__btn {
    background: #ae2600;
    border: none;
    color: #fff;
    cursor: pointer;
    height: 50px;
    width: 60px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s;
    border-radius: 0;
}
.hero-search__btn:hover { background: #c93000; }
.hero-search__btn svg { display: block; }

/* ── Точки пагинации ── */
.slider-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 10px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,.4);
    cursor: pointer;
    border: 1px solid rgba(255,255,255,.6);
    transition: background .25s, transform .25s;
}

.dot--active {
    background: #fff;
    transform: scale(1.25);
}

@media (max-width: 768px) {
    .site-hero { height: 320px; }
    .hero-title { font-size: 22px; letter-spacing: 3px; }
    .hero-search { padding: 14px 16px 16px; }
    .hero-search__input { height: 44px; }
    .hero-search__btn { height: 44px; width: 50px; }
}

@media (max-width: 480px) {
    .site-hero { height: 280px; }
    .site-hero__inner { max-width: calc(100% - 30px); }
    .hero-title { font-size: 18px; margin-bottom: 1em; }
    .hero-search { padding: 12px; }
}


/* ════════════════════════════════════════
   ОСНОВНОЙ КОНТЕНТ
   ════════════════════════════════════════ */
.site-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2em 1em 3em;
    min-height: calc(100vh - 500px);
}

/* Заголовок секции — точно по скриншоту:
   красный, uppercase, по центру, с отступами */
.section-title {
    color: #ae2600;
    font-size: 24px;
    font-weight: normal;
    text-transform: uppercase;
    text-align: center;
    margin: 1em 0 1.2em;
    letter-spacing: 0.5px;
}


/* ════════════════════════════════════════
   КАТАЛОГ — точно по скриншоту
   4 в ряд, тёмная плашка снизу, красный уголок
   ════════════════════════════════════════ */
.ntd-catalog {
    text-align: center;
    margin: 0 -14px;
}

.ntd-catalog-card {
    display: inline-block;
    vertical-align: top;
    position: relative;
    margin: 0 14px 30px;
    width: calc(25% - 32px);
    font-size: 0; /* убрать пробелы между inline-block */
    -webkit-tap-highlight-color: transparent;
    overflow: hidden;
}

/* Полная ссылка поверх карточки */
.ntd-catalog-card__link {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: block;
}

/* Изображение */
.ntd-catalog-card__img {
    display: block;
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: #ddd;
}

/* Заглушка если нет изображения */
.ntd-catalog-card__placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #e8e0d8 0%, #d0c8c0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}
.ntd-catalog-card__placeholder::after {
    content: '';
    font-size: 48px;
    opacity: .3;
}

/* Красный уголок-стрелка (правый верхний угол плашки) */
.ntd-catalog-card__arrow {
    position: absolute;
    right: 0;
    bottom: 55px; /* высота плашки */
    width: 39px;
    height: 39px;
    background: #ae2600;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ntd-catalog-card__arrow span {
    color: #fff;
    font-size: 16px;
    line-height: 1;
}

/* Плашка с названием */
.ntd-catalog-card__label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: #422026;
    color: #fff;
    font-size: 14px;
    font-weight: normal;
    text-transform: uppercase;
    text-align: center;
    padding: 8px 10px 9px;
    min-height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
    z-index: 2;
    transition: background .2s;
}

/* Треугольник-стрелка из плашки */
.ntd-catalog-card__label::before {
    content: '';
    display: block;
    width: 0; height: 0;
    border-top: 9px solid transparent;
    border-left: 9px solid #fff;
    border-bottom: 9px solid transparent;
    position: absolute;
    right: 12px;
    top: -28px;
    z-index: 2;
}

/* Hover */
.ntd-catalog-card {
    transition: box-shadow .25s;
}
.ntd-catalog-card:hover {
    box-shadow: 0 8px 28px rgba(0,0,0,.18);
}
.ntd-catalog-card__img,
.ntd-catalog-card__placeholder {
    transition: transform .35s ease;
}
.ntd-catalog-card:hover .ntd-catalog-card__img,
.ntd-catalog-card:hover .ntd-catalog-card__placeholder {
    transform: scale(1.04);
}
.ntd-catalog-card__arrow {
    transition: background .2s;
}
.ntd-catalog-card:hover .ntd-catalog-card__arrow {
    background: #422026;
}
.ntd-catalog-card:hover .ntd-catalog-card__label {
    background: #ae2600;
}
.ntd-catalog-card:hover .ntd-catalog-card__label::before {
    border-left-color: #ae2600;
}

@media (max-width: 1200px) {
    .ntd-catalog-card__label { font-size: 12px; }
}
@media (max-width: 992px) {
    .ntd-catalog-card { width: calc(33.333% - 28px); }
}
@media (max-width: 768px) {
    .ntd-catalog-card { width: calc(50% - 28px); }
}
@media (max-width: 480px) {
    .ntd-catalog-card { margin: 0 7px 14px; width: calc(50% - 14px); }
}
@media (max-width: 400px) {
    .ntd-catalog-card { margin: 0 0 12px; width: 100%; }
}


/* ════════════════════════════════════════
   СПИСОК ЛЕТ (страница раздела)
   Точно по скриншоту:
   - белый контейнер с тонкой левой полосой (#ae2600)
   - список без декораций, ссылки красные
   - рамка 1px #ddd вокруг блока
   - максимальная ширина ~880px, выровнен по центру
   ════════════════════════════════════════ */

/* Обёртка — белый блок с левой красной полосой */
.ntd-years-wrap {
    margin: 0 auto 2em;
    max-width: 880px;
    background: #fff;
    border: 1px solid #ddd;
    border-left: 4px solid #ae2600;
    padding: 6px 0;
}

.ntd-years-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ntd-years-list li {
    border-bottom: 1px solid #ebebeb;
}
.ntd-years-list li:last-child { border-bottom: none; }

.ntd-years-list a {
    display: block;
    color: #ae2600;
    font-size: 14px;
    padding: 7px 16px;
    text-decoration: none;
    transition: background .12s;
}
.ntd-years-list a:hover {
    background: #fdf5f2;
    text-decoration: underline;
}

/* Пустой результат */
.ntd-empty {
    text-align: center;
    color: #888;
    margin: 2em 0;
    font-size: 15px;
    line-height: 1.6;
}


/* ════════════════════════════════════════
   ХЛЕБНЫЕ КРОШКИ
   ════════════════════════════════════════ */
.ntd-breadcrumbs {
    color: #7f8187;
    font-size: 14px;
    padding: 0 0 1.5em;
    line-height: 1;
}
.ntd-breadcrumbs a { color: #ae2600; font-weight: normal; }
.ntd-breadcrumbs span { margin: 0 6px; color: #bbb; }


/* ════════════════════════════════════════
   ТАБЛИЦА ДОКУМЕНТОВ
   Стиль из оригинального .document-list
   ════════════════════════════════════════ */
.ntd-table-wrap {
    border: 1px solid #666;
    margin: 0 0 2em;
    overflow-x: auto;
    background: #fff;
}

.ntd-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    color: #4b4c4c;
}

.ntd-table thead tr { background: #422026; border-bottom: 1px solid #666; }

.ntd-table thead th {
    color: #fff;
    padding: 7px 5px;
    text-align: center;
    font-weight: normal;
    border-right: 1px solid #5a333a;
}
.ntd-table thead th:last-child { border-right: none; }

.ntd-table tbody tr { border-bottom: 1px solid #666; }
.ntd-table tbody tr:last-child { border-bottom: none; }
.ntd-table tbody tr:hover { background: #fdf5f2; }

.ntd-table td {
    padding: 6px 5px;
    text-align: center;
    vertical-align: middle;
    border-right: 1px solid #ccc;
}
.ntd-table td:last-child { border-right: none; }
.ntd-table td:first-child { width: 50px; color: #888; font-size: 13px; }
.ntd-table td:nth-child(2),
.ntd-table th:nth-child(2),
.ntd-table td:nth-child(3),
.ntd-table th:nth-child(3) { width: calc(40% - 50px); }
.ntd-table td:nth-child(4),
.ntd-table th:nth-child(4) { width: 90px; }


/* ════════════════════════════════════════
   КНОПКА СКАЧАТЬ
   ════════════════════════════════════════ */
.ntd-download-btn {
    display: inline-block;
    background: #ae2600;
    color: #fff;
    font-size: 13px;
    padding: 4px 12px 5px;
    text-decoration: none;
    transition: background .2s;
    white-space: nowrap;
}
.ntd-download-btn:hover { background: #c92f2f; color: #fff; text-decoration: none; }


/* ════════════════════════════════════════
   НАВИГАЦИЯ ПО ГОДАМ (низ страницы)
   ════════════════════════════════════════ */
.ntd-year-nav {
    margin-top: 2em;
    padding-top: 1em;
    border-top: 1px solid #ddd;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    font-size: 13px;
}
.ntd-year-nav span { color: #666; font-weight: bold; margin-right: 4px; }
.ntd-year-nav a {
    padding: 3px 10px;
    border: 1px solid #ccc;
    color: #ae2600;
    background: #fff;
    transition: all .15s;
}
.ntd-year-nav a:hover {
    background: #ae2600; color: #fff;
    border-color: #ae2600; text-decoration: none;
}
.ntd-year-nav strong {
    padding: 3px 10px;
    background: #ae2600; color: #fff;
    border: 1px solid #ae2600;
}


/* ════════════════════════════════════════
   ПОДВАЛ — двухуровневый
   Верхняя часть: #41252a, нижняя: #341b1f
   ════════════════════════════════════════ */
.site-footer {
    margin-top: 0;
}

/* ── Верхняя тёмная полоса ── */
.footer-top {
    background: #41252a;
    padding: 40px 0 36px;
}

.footer-top__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.footer-col {
    flex: 1;
    min-width: 0;
}

/* Бренд: логотип текстовый + описание */
.footer-brand { }

.footer-logo-link {
    display: inline-block;
    margin-bottom: 12px;
    text-decoration: none;
}
.footer-logo-link:hover { opacity: .8; }

.footer-brand__desc {
    color: rgba(255,255,255,.55);
    font-size: 13px;
    line-height: 1.5;
    margin-top: 6px;
}

/* Заголовок колонки */
.footer-col__title {
    color: #ae2600;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

/* Меню в подвале */
.footer-menu {
    list-style: none;
    margin: 0; padding: 0;
}

.footer-menu__item {
    padding: 0 0 7px;
    position: relative;
    padding-left: 14px;
}

.footer-menu__item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 5px;
    height: 1px;
    background: rgba(255,255,255,.3);
}

.footer-menu__item a {
    color: rgba(255,255,255,.7);
    font-size: 13px;
    text-decoration: none;
    transition: color .15s;
}
.footer-menu__item a:hover {
    color: #fff;
    text-decoration: none;
}

/* Колонка контактов */
.footer-contacts p {
    color: rgba(255,255,255,.55);
    font-size: 13px;
    line-height: 1.6;
}

/* ── Нижняя полоса копирайта ── */
.footer-bottom {
    background: #341b1f;
    padding: 0;
    border-top: 1px solid rgba(255,255,255,.05);
}

.footer-bottom__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 24px;
}

.footer-bottom p {
    color: rgba(255,255,255,.45);
    font-size: 12.5px;
    text-align: center;
    line-height: 1.4;
}

@media (max-width: 900px) {
    .footer-top__inner { flex-direction: column; gap: 28px; }
}

@media (max-width: 480px) {
    .footer-top { padding: 28px 0 24px; }
    .footer-top__inner { padding: 0 16px; gap: 22px; }
    .footer-logo-text { font-size: 34px; }
}

/* ════════════════════════════════════════
   КНОПКА НАВЕРХ
   ════════════════════════════════════════ */
.button-up {
    border: 2px solid #ae2600;
    border-radius: 50%;
    cursor: pointer;
    position: fixed;
    height: 40px; width: 40px;
    bottom: 2em; right: 2em;
    opacity: 0; visibility: hidden;
    z-index: 100;
    background: #fff;
    display: flex; align-items: center; justify-content: center;
    color: #ae2600; font-size: 20px;
    transition: opacity .25s, background .2s;
}
.button-up.show { opacity: 1; visibility: visible; }
.button-up:hover { background: #ae2600; color: #fff; }


.hero-search--advanced .hero-search__grid {
    display: grid;
    grid-template-columns: 1fr 1fr 220px 64px;
    gap: 14px;
    align-items: end;
}

.site-hero__inner--wide {
    width: 1100px;
    max-width: calc(100% - 120px);
}

.hero-search__field {
    text-align: left;
}

.hero-search__actions {
    display: flex;
    align-items: flex-end;
}

.hero-search__btn--wide {
    width: 64px;
    height: 46px;
}

.hero-search__input--date {
    padding-right: 12px;
}

.site-hero--search-page {
    min-height: 420px;
}

@media (max-width: 1100px) {
    .hero-search--advanced .hero-search__grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero-search__actions {
        grid-column: 1 / -1;
        justify-content: center;
    }
}

@media (max-width: 680px) {
    .site-hero__inner--wide {
        max-width: calc(100% - 40px);
    }

    .hero-search--advanced .hero-search__grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .hero-search__actions {
        justify-content: stretch;
    }

    .hero-search__btn--wide {
        width: 100%;
    }
}


/* ════════════════════════════════════════
   РЕЕСТР ЕАЭС — фильтр и таблица
   ════════════════════════════════════════ */

/* Строка поиска */
.eaes-filter {
    max-width: 560px;
    margin: 0 auto 1.4em;
}

.eaes-filter__input {
    width: 100%;
    height: 46px;
    border: 2px solid #ddd;
    border-radius: 2px;
    padding: 0 16px;
    font-size: 14px;
    color: #333;
    outline: none;
    transition: border-color .2s;
}
.eaes-filter__input:focus {
    border-color: #ae2600;
}
.eaes-filter__input::placeholder { color: #aaa; }

/* Счётчик */
.eaes-count {
    text-align: right;
    font-size: 13px;
    color: #888;
    margin: 0.5em 0 1.5em;
}

/* Таблица ЕАЭС — выровнять колонки */
.ntd-table--eaes th:nth-child(2),
.ntd-table--eaes td:nth-child(2) {
    text-align: left;
    width: auto;
}
.ntd-table--eaes th:nth-child(3),
.ntd-table--eaes td:nth-child(3) {
    text-align: left;
    width: 35%;
}

/* Плашка «нет карточки» */
.eaes-no-card {
    color: #ccc;
    font-size: 13px;
}
