/* ==========================================================================
   1. СМЕЩЕНИЕ ЯКОРЕЙ ПОД ФИКСИРОВАННУЮ ШАПКУ
   ========================================================================== */
/* Отступ для обычных блоков и секций */
.r {
    scroll-margin-top: 100px !important;
}

/* Отступ для Zero Block (T396) */
.t396__artboard, 
.t-rec {
    scroll-margin-top: 100px !important;
}

@media screen and (max-width: 959px) {
    .r, 
    .t396__artboard, 
    .t-rec {
        scroll-margin-top: 100px !important;
    }
}

/* ==========================================================================
   2. ФИКСИРОВАННАЯ ШАПКА (ДЕСКТОП И МОБИЛКА)
   ========================================================================== */
#rec2431845721, #rec2469036551 {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 9999990 !important;
}

body {
    padding-top: 100px !important;
}
@media screen and (max-width: 959px) {
    body {
        padding-top: 70px !important;
    }
}

/* ==========================================================================
   3. СКРЫТИЕ РУССКИХ БЛОКОВ НА EN-СТРАНИЦАХ
   ========================================================================== */
html[path^="/en-"] #rec2431845721,
html[path^="/en-"] #rec2455391941,
html[path^="/en-"] #rec2449182751,
html[path^="/en-"] #rec2447729851,
html[path^="/en-"] #rec2431959841,
body[class*="en-"] #rec2431845721,
body[class*="en-"] #rec2455391941,
body[class*="en-"] #rec2449182751,
body[class*="en-"] #rec2447729851,
body[class*="en-"] #rec2431959841,
[class*="en-"] #rec2431845721,
[class*="en-"] #rec2455391941,
[class*="en-"] #rec2449182751,
[class*="en-"] #rec2447729851,
[class*="en-"] #rec2431959841 {
    display: none !important;
}

/* ==========================================================================
   4. СТИЛИ ДЛЯ ДЕСКТОПНОЙ ВЫПАДАШКИ
   ========================================================================== */
@media screen and (min-width: 960px) {
    #rec2447729851, #rec2469036591 {
        display: none !important;
    }
    #rec2455391941, #rec2469036561 {
        display: block !important;
        position: fixed !important;
        top: 100px !important; 
        left: 0 !important;
        width: 100vw !important;
        z-index: 9999999 !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
        transform: translateY(-10px) !important;
        transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s !important;
    }
    #rec2455391941.desktop-menu-open, 
    #rec2469036561.desktop-menu-open {
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        transform: translateY(0) !important;
    }
}

/* ==========================================================================
   5. СТИЛИ ДЛЯ МОБИЛЬНОГО БУРГЕРА (ФИКСИРОВАН ПОД ШАПКОЙ)
   ========================================================================== */
@media screen and (max-width: 959px) {
    #rec2447729851, #rec2469036591 {
        display: block !important; 
        position: fixed !important; /* Делаем фиксированным относительно экрана */
        left: 0 !important;
        width: 100vw !important;
        max-height: calc(100vh - 70px) !important; /* Чтобы не вылазило за экран */
        overflow-y: auto !important;
        z-index: 9999999 !important;
        visibility: hidden !important;
        opacity: 0 !important;
        transform: translateY(-10px) !important; 
        transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s !important;
    }
    #rec2447729851.is-open, #rec2469036591.is-open {
        visibility: visible !important;
        opacity: 1 !important;
        transform: translateY(0) !important; 
    }
    #rec2455391941, #rec2469036561 {
        display: none !important;
    }
}

.lang-btn-text, .custom-lang-label {
    font-family: 'Nunito Sans', 'Noto Sans', Arial, sans-serif !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    color: #ffffff !important;
    text-transform: uppercase;
    line-height: 1;
}