/* ================================================
   Header 2026 v2 — новая шапка (тест)
   Префикс классов: .hn2
   Только для шаблона page-test-stage.php
   ================================================ */

:root {
    --hn2-blue: #0389CB;
    --hn2-black: #131313;
    --hn2-white: #ffffff;
    --hn2-top-h: 36px;
    --hn2-main-h: 68px;
    --hn2-total-h: 104px;
}

/* ===== HEADER ROOT ===== */
.hn2 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1001;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    transition: transform 0.35s ease;
}

.hn2 .container {
    flex-direction: row;
}

.hn2.hn2--hidden {
    transform: translateY(-100%);
}

/* ===== CONTAINER ===== */
.hn2 .container {
    box-sizing: border-box;
    display: flex;
    align-items: center;
     max-width: 1370px;
    padding: 0 15px;
    margin: 0 auto;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}


/* ===== TOP BAR ===== */
.hn2__top {
    background-color: var(--hn2-blue);
    padding: 8px 0;
}

.hn2__top .container {
    height: 100%;
    justify-content: space-between;
}

/* Кнопка языка */
.hn2__lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--hn2-white);
    font-size: 13px;
    font-weight: 500;
    padding: 0;
    line-height: 1;
    font-family: inherit;
    letter-spacing: 0.3px;
}

.hn2__lang-btn:hover { opacity: 0.85; }

.hn2__lang-arrow {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-right: 1.5px solid #fff;
    border-bottom: 1.5px solid #fff;
    transform: translateY(-25%) rotate(45deg);
    transition: transform 0.25s ease;
    flex-shrink: 0;
}

/* Блок "Связаться с поддержкой" */
.hn2__support {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--hn2-white);
    font-size: 14px;
}

.hn2__support-icons {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hn2__support-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.2s;
    width: 25px;
    height: 25px;
}

.hn2__support-icons a svg {
    width: 100%;
    height: 100%;
    box-sizing: border-box;
}

.hn2__support-icons a:hover { opacity: 1; }

/* ===== MAIN BAR ===== */
.hn2__main {
    background: var(--hn2-white);
    height: var(--hn2-main-h);
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.hn2__main .container {
    height: 100%;
    gap: 20px;
    justify-content: space-between;
}

/* ===== LOGO ===== */
.hn2__logo {
    flex-shrink: 0;
}

.hn2__logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

/* ===== НАВИГАЦИЯ ===== */
.hn2__nav {
    flex: 1;
    min-width: 0;
}

.hn2__nav > ul {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 1px;
}

/* Ссылки верхнего уровня */
.hn2__nav > ul > li > a {
    display: block;
    text-decoration: none;
    color: var(--hn2-black);
    opacity: .75;
    font-size: 15px;
    font-weight: 500;
    padding: 8px 10px;
    border-radius: 6px;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.hn2__nav > ul > li:not(.with-sublist) > a:hover {
    opacity: 1;
}

/* Пункты с подменю */
.hn2__nav > ul > li.with-sublist {
    position: relative;
    border: 1px solid #00000000;
    border-bottom: 0;
}

.hn2__nav > ul > li.with-sublist > a {
    padding-right: 24px;
    position: relative;
}

/* Стрелка-шеврон на пунктах верхнего уровня с подменю */
.hn2__nav > ul > li.with-sublist > a::after {
    content: '';
    position: absolute;
    right: 7px;
    top: 50%;
    width: 7px;
    height: 7px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: translateY(-65%) rotate(45deg);
    transition: transform 0.25s ease;
    opacity: 0.6;
}

.hn2__nav > ul > li.with-sublist:hover > a::after {
    transform: translateY(-25%) rotate(-135deg);
    opacity: 0.8;
}

.hn2__nav > ul > li.with-sublist:hover > a {
    opacity: 1;
}

/* ===== ВЫПАДАЮЩЕЕ МЕНЮ ===== */
.hn2__nav > ul > li.with-sublist > .sublist {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    background: var(--hn2-white);
    border-radius: 0 0 10px 10px;
    box-shadow: 0 4px 28px rgba(0, 0, 0, 0.13);
    list-style: none;
    margin: 0;
    padding: 16px;
    min-width: 280px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease, top 0.2s ease;
    z-index: 200;
}

.hn2__nav > ul > li.with-sublist:hover > .sublist {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    top: 100%;
}
.hn2__nav > ul > li.with-sublist:hover  {
    border: 1px solid #00000015;
    border-radius: 10px 10px 0 0;
    border-bottom: 0;
}

/* Пункты первого уровня в дропдауне */
.hn2__nav .sublist > li > a {
    display: block;
    text-decoration: none;
    color: var(--hn2-black);
    font-size: 15px;
    font-weight: 400;
    padding: 8px 36px 8px 12px;
    border-radius: 6px;
    position: relative;
    transition: background-color 0.15s ease, color 0.15s ease;
    white-space: nowrap;
}

/* Hover 1-й уровень: спойлер → фон, ссылка → синий */
.hn2__nav .sublist:not(.sublist--deep) > li.with-sublist > a:hover {
    background: rgba(0, 0, 0, 0.04);
}

.hn2__nav .sublist:not(.sublist--deep) > li:not(.with-sublist) > a:hover {
    color: var(--hn2-blue);
}

/* Шеврон у пунктов 1-го уровня с подменю */
.hn2__nav .sublist:not(.sublist--deep) > li.with-sublist > a::after {
    content: '';
    position: absolute;
    right: 14px;
    top: 50%;
    width: 7px;
    height: 7px;
    border-right: 1.5px solid #888;
    border-bottom: 1.5px solid #888;
    transform: translateY(-65%) rotate(45deg);
    transition: transform 0.2s ease, border-color 0.2s ease;
    opacity: 0.6;
}

.hn2__nav .sublist:not(.sublist--deep) > li.with-sublist.is-open > a::after {
    transform: translateY(-25%) rotate(-135deg);
    opacity: 0.8;
}

.hn2__nav .sublist:not(.sublist--deep) > li.with-sublist.is-open > a {
}

/* ===== ВЛОЖЕННОЕ ПОДМЕНЮ (аккордеон) ===== */
.hn2__nav .sublist > li > .sublist--deep {
    list-style: none;
    margin: 0;
    padding: 0 0 4px 0;
    display: none;
}

.hn2__nav .sublist > li.is-open > .sublist--deep {
    display: block;
}

.hn2__nav .sublist--deep > li > a {
    display: block;
    text-decoration: none;
    color: rgba(19, 19, 19, 0.68);
    font-size: 14px;
    font-weight: 400;
    padding: 6px 12px 6px 32px;
    border-radius: 6px;
    transition: background-color 0.15s, color 0.15s;
    white-space: nowrap;
}

/* Hover 2-й уровень: ссылка → синий */
.hn2__nav .sublist--deep > li:not(.with-sublist) > a:hover {
    color: var(--hn2-blue);
}

/* Шеврон у пунктов 2-го уровня с вложенными списками */
.hn2__nav .sublist--deep > li.with-sublist {
    transition: .35s ease;
}

.hn2__nav .sublist--deep > li.with-sublist > a {
    position: relative;
    padding-left: 32px;
    transition: .35s ease;
}
.hn2__nav .sublist--deep > li.with-sublist > a:hover {
       background: rgba(0, 0, 0, 0.04)
}

.hn2__nav .sublist--deep > li.with-sublist > a::after {
    content: '';
    position: absolute;
    right: 14px;
    top: 50%;
    width: 7px;
    height: 7px;
    border-right: 1.5px solid #888;
    border-bottom: 1.5px solid #888;
    transform: translateY(-65%) rotate(45deg);
    transition: transform 0.2s ease, border-color 0.2s ease;
    opacity: 0.6;
}

.hn2__nav .sublist--deep > li.with-sublist.is-open > a::after {
    transform: translateY(-25%) rotate(-135deg);
    opacity: 0.8;
}

.hn2__nav .sublist--deep > li.with-sublist.is-open > a {
}

.hn2__nav .sublist--deep > li.with-sublist.is-open {
    background: #F3F3F3;
    border-radius: 6px;
    margin-top: 5px;
    transition: .35s ease;
}

/* Третий уровень вложения: скрыт по умолчанию */
.hn2__nav .sublist--deep > li > ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: none;
}

.hn2__nav .sublist--deep > li.is-open > ul {
    display: block;
}

.hn2__nav .sublist--deep li ul li a {
    display: block;
    text-decoration: none;
    color: rgba(19, 19, 19, 0.55);
    font-size: 13px;
    padding: 5px 12px 5px 36px;
    border-radius: 6px;
    transition: background-color 0.15s, color 0.15s;
}

.hn2__nav .sublist--deep li ul li a:hover {
    background-color: rgba(3, 137, 203, 0.06);
    color: var(--hn2-blue);
}

/* ===== КНОПКИ АВТОРИЗАЦИИ ===== */
.hn2__actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.hn2__btn {
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 8px;
    white-space: nowrap;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    border: 1.5px solid transparent;
    line-height: 1.4;
    font-family: inherit;
    box-sizing: border-box;
}

.hn2__btn--ghost {
    color: #0389CB;
    background: none;
    border-color: transparent;
    padding: 8px 10px;
}

.hn2__btn--ghost:hover {
    color: #1054b0;
}

.hn2__btn--outline {
    color: #0389CB;
    background: transparent;
    border-color: #0389CB;
}

.hn2__btn--outline:hover {
    background: rgba(23, 116, 215, 0.07);
}

.hn2__btn--filled {
    color: #ffffff;
    background: #0389CB;
    border-color: #0389CB;
}

.hn2__btn--filled:hover {
    background: #1054b0;
    border-color: #1054b0;
}

/* ===== БУРГЕР ===== */
.hn2__burger {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    padding: 0;
}

.hn2__burger-line {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--hn2-black);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
}

.hn2__burger.is-active .hn2__burger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hn2__burger.is-active .hn2__burger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hn2__burger.is-active .hn2__burger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ===== СПЕЙСЕР ===== */
.hn2__spacer {
    height: var(--hn2-total-h);
}

/* ===== МОБИЛЬНОЕ МЕНЮ ===== */
.hn2__mobile {
    position: fixed;
    top: var(--hn2-total-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--hn2-white);
    z-index: 1000;
    overflow-y: auto;
    padding: 16px 20px 40px;
    box-sizing: border-box;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.hn2__mobile.is-open {
    transform: translateX(0);
}

/* Мобильная навигация */
.hn2__mobile-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.hn2__mobile-nav > ul > li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.hn2__mobile-nav > ul > li > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    color: var(--hn2-black);
    font-size: 16px;
    font-weight: 500;
    padding: 14px 0;
    transition: color 0.2s;
}

.hn2__mobile-nav > ul > li.with-sublist > a::after {
    content: '';
    width: 8px;
    height: 8px;
    border-right: 1.5px solid #888;
    border-top: 1.5px solid #888;
    transform: rotate(45deg);
    flex-shrink: 0;
    transition: transform 0.2s;
}

.hn2__mobile-nav > ul > li.with-sublist.is-open > a::after {
    transform: rotate(135deg);
}

.hn2__mobile-nav > ul > li > a:hover { color: var(--hn2-blue); }

/* Мобильный sublist */
.hn2__mobile-nav .sublist {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.hn2__mobile-nav > ul > li.with-sublist.is-open > .sublist {
    max-height: 1000px;
    padding: 0 0 8px 0;
}

.hn2__mobile-nav .sublist > li > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    color: rgba(19, 19, 19, 0.75);
    font-size: 15px;
    padding: 8px 0 8px 12px;
    transition: color 0.2s;
}

.hn2__mobile-nav .sublist > li > a:hover { color: var(--hn2-blue); }

.hn2__mobile-nav .sublist:not(.sublist--deep) > li.with-sublist > a::after {
    content: '';
    width: 7px;
    height: 7px;
    border-right: 1.5px solid #888;
    border-top: 1.5px solid #888;
    transform: rotate(45deg);
    flex-shrink: 0;
    transition: transform 0.2s;
}

.hn2__mobile-nav .sublist:not(.sublist--deep) > li.with-sublist.is-open > a::after {
    transform: rotate(135deg);
}

/* Мобильный sublist--deep */
.hn2__mobile-nav .sublist--deep {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
}

.hn2__mobile-nav .sublist > li.with-sublist.is-open > .sublist--deep {
    max-height: 600px;
}

.hn2__mobile-nav .sublist--deep > li > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    color: rgba(19, 19, 19, 0.55);
    font-size: 14px;
    padding: 6px 0 6px 24px;
}

.hn2__mobile-nav .sublist--deep > li.with-sublist > a::after {
    content: '';
    width: 6px;
    height: 6px;
    border-right: 1.5px solid #aaa;
    border-top: 1.5px solid #aaa;
    transform: rotate(45deg);
    flex-shrink: 0;
    transition: transform 0.2s;
}

.hn2__mobile-nav .sublist--deep > li.with-sublist.is-open > a::after {
    transform: rotate(135deg);
}

/* Мобильная поддержка */
.hn2__mob-support {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hn2__mob-support-title {
    font-size: 14px;
    color: rgba(19, 19, 19, 0.6);
}

.hn2__mob-support-icons {
    display: flex;
    gap: 8px;
}

.hn2__mob-support-icons a {
    display: flex;
    align-items: center;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.hn2__mob-support-icons a:hover { opacity: 1; }

/* Мобильные кнопки */
.hn2__mob-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: auto;
}

.hn2__mob-actions .hn2__btn {
    width: 100%;
    justify-content: center;
    font-size: 15px;
    padding: 12px 20px;
    border-radius: 10px;
}

/* Мобильная кнопка языка */
.hn2__mob-lang {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
    color: var(--hn2-black);
    padding: 0;
    text-align: left;
    text-decoration: underline;
    text-decoration-color: rgba(19,19,19,0.3);
}

/* ===== МОДАЛКА ДЕМО ===== */
.hn2-demo-modal {
    display: flex;
    position: fixed;
    inset: 0;
    z-index: 2100;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.hn2-demo-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.hn2-demo-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
}

.hn2-demo-modal__box {
    position: relative;
    background: #fff;
    border-radius: 16px;
    padding: 28px 24px 24px;
    min-width: 260px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.15);
    z-index: 1;
    transform: scale(0.95) translateY(6px);
    transition: transform 0.25s ease;
}

.hn2-demo-modal.is-open .hn2-demo-modal__box {
    transform: scale(1) translateY(0);
}

.hn2-demo-modal__close {
    position: absolute;
    top: 12px;
    right: 14px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    color: #aaa;
    line-height: 1;
    padding: 2px 6px;
    transition: color 0.15s;
}

.hn2-demo-modal__close:hover {
    color: #333;
}

.hn2-demo-modal__title {
    font-size: 15px;
    font-weight: 600;
    color: rgba(19, 19, 19, 1);
    margin: 0 0 18px;
}

.hn2-demo-modal__items {
    display: flex;
    gap: 12px;
}

.hn2-demo-modal__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: rgba(19, 19, 19, 0.75);
    font-size: 13px;
    font-weight: 500;
    padding: 14px 20px;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: background 0.15s, border-color 0.15s, color 0.15s;
    flex: 1;
    text-align: center;
}

.hn2-demo-modal__item:hover {
    background: rgba(3, 137, 203, 0.06);
    border-color: rgba(3, 137, 203, 0.3);
    color: #0389CB;
}

/* ===== АДАПТИВ ===== */
@media (max-width: 1200px) {
    .container {
        padding: 0 24px;
    }

    .hn2__nav > ul {
        gap: 0;
    }

    .hn2__nav > ul > li > a {
        font-size: 14px;
        padding: 8px 8px;
    }

    .hn2__btn {
        font-size: 13px;
        padding: 7px 12px;
    }

    .hn2__btn--ghost {
        padding: 7px 8px;
    }
}

@media (max-width: 1150px) {
    .hn2__actions .hn2__btn--ghost {
        /* display: none; */
    }

   .hn2__actions .hn2__btn--filled{
    display: none;
   }
}

@media (max-width: 992px) {
    .hn2__nav,
    .hn2__actions {
        display: none;
    }

    .hn2__burger {
        display: flex;
    }

    .hn2__main .container {
        justify-content: space-between;
    }

    .hn2__spacer {
        height: var(--hn2-total-h);
    }

    .hn2__mobile {
        top: var(--hn2-total-h);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    .hn2__support-text {
        display: none;
    }
}



.lang-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    box-sizing: border-box;
}

.lang-popup.active {
    opacity: 1;
    visibility: visible;
}

.lang-popup__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.40);
    cursor: pointer;
}

.lang-popup__item {
    position: relative;
    z-index: 1;
    max-width: 692px;

    width: calc(100% - 32px);
    box-sizing: border-box;
    border-radius: 20px;
    background-color: #fff;

    padding: 30px;
    font-family: 'Inter', sans-serif;
}

.lang-popup__title {
    font-size: 24px;
    display: block;
    margin-bottom: 20px;
    font-weight: 500;
    letter-spacing: -.04em;
    line-height: 1;
    text-align: center;
    color: #131313;
}

/* Два столбца */
.lang-popup__columns {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 32px;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
}

.lang-popup__col {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 4px;
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
}

.lang-popup__col:last-child a .lang-popup__link-text {
    flex-direction: row;
    align-items: center;
    gap: 4px;

}

.lang-popup__col:last-child a .lang-popup__link-text span {
    font-size: 18px;
    color: #131313;
    font-weight: 400;
    letter-spacing: -.04em;
    opacity: .7;

}

/* Заголовок столбца */
.lang-popup__col-label {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.06em;
    color: var(--var-cp-black-color);
    opacity: .6;
    text-transform: uppercase;
    margin-bottom: 8px;
    display: block;
}

/* Разделитель между столбцами */
.lang-popup__col+.lang-popup__col {
    border-left: 1px solid #f0f0f0;
    padding-left: 32px;
    margin-left: -16px;
}

/* Ссылка/пункт */
.lang-popup__link {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 10px;
    box-sizing: border-box;
    width: 100%;
    padding: 6px 14px;
    color: #131313;
    border-radius: 10px;
    height: 54px;
    text-decoration: none;
    -webkit-transition: background-color 0.2s ease;
    transition: background-color 0.2s ease;
    cursor: pointer;
}

.lang-popup__link-icon {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    width: 26px;
    height: 20px;
}

.lang-popup__link-icon img {
    width: 26px;
    height: 20px;
    display: block;
    border-radius: 3px;
    -o-object-fit: cover;
    object-fit: cover;
}

.lang-popup__link-icon svg {
    width: 18px;
    height: 18px;
    display: block;
    -ms-flex-negative: 0;
    flex-shrink: 0;
}

.lang-popup__link-text {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    font-size: 20px;
    color: var(--black-color);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.05em;
}

.lang-popup__link-text small {
    font-size: 12px;
    font-weight: 400;
    letter-spacing: -0.04em;
    color: #131313;
    margin-top: 1px;
}

.lang-popup__link:hover:not(.lang-popup__link--disabled) {
    background-color: rgba(3, 137, 203, 0.06);
}

.lang-popup__link.active {
    background-color: rgba(3, 137, 203, 0.09);
}

.lang-popup__link.active .lang-popup__link-text {
    font-weight: 400;
    color: var(--black-color);
}


.lang-popup__link--disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

/* Мобилка — складываем в одну колонку */
@media (max-width: 560px) {
    .lang-popup__columns {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        gap: 20px;
    }

    .lang-popup__col+.lang-popup__col {
        border-left: none;
        border-top: 1px solid #f0f0f0;
        padding-left: 0;
        margin-left: 0;
        padding-top: 20px;
    }

    .lang-popup__item {
        padding: 24px 20px 22px;
    }
}


.container {
    max-width: 1370px;
    padding: 0 15px;
    margin: 0 auto;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.footer-new {
    width: 100%;
}

@media(max-width:768px) {
    .lang-popup__col {
        width: 100%;
    }

    .lang-popup__link.active .lang-popup__link-text {
        align-items: center;
        gap: 5px;
    }
}