body {
    font-family: 'Roboto', sans-serif;
    background: #f5f5f5;
    overflow-x: hidden; /* <- ДОБАВЬТЕ ЭТУ СТРОКУ */
}


.wrapper {
    overflow: visible !important;
}
.header-new {
    box-shadow: 0 4px 6px 0 rgba(0,0,0,.25);
    background: #fff;
    padding: 20px 0 0 0;
    position: relative; /* <- ОСТАВИТЬ relative */
    z-index: 50;
}

.container-new {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    overflow: hidden; /* <- ДОБАВЬТЕ СЮДА */
}

        /* Узоры */
        .obj-new {
            position: absolute;
            z-index: 1;
        }

        .obj-new img {
            width: 400px;
            animation: rotate 30s linear infinite;
        }
        
        @keyframes rotate {
            from {
                transform: rotate(0deg);
            }
            to {
                transform: rotate(360deg);
            }
        }

        .obj-1-new {
            left: 0;
            top: 0;
            transform: translate(-30%, -30%);
        }

        .obj-2-new {
            right: 0;
            top: 0;
            transform: translate(30%, -30%);
        }

        /* Верхняя часть */
        .h-top-new {
            margin: 0 0 20px 0;
            display: flex;
            justify-content: space-between;
            align-items: center;
            position: relative;
            z-index: 2;
        }

        .logo-new img {
            width: 120px;
        }

        .ht-blocks-new {
            display: flex;
            column-gap: 30px;
            align-items: center;
        }

        .ht-block-new {
            display: flex;
            align-items: center;
        }

        .ht-block-new .icon-new {
            width: 24px;
            height: 24px;
            margin-right: 8px;
            flex-shrink: 0;
        }

        .ht-block-new .icon-new img {
            max-width: 100%;
            max-height: 100%;
        }

        .ht-block-new a {
            text-decoration: none;
            color: #000;
            font-weight: 500;
            transition: color 0.2s;
        }

        .ht-block-new a:hover {
            color: #FBB03B;
        }

        /* Языки - горизонтальное размещение */
        .languages-new {
            display: flex;
            align-items: center;
            gap: 0;
        }

        .lang-item-new {
            display: flex;
            align-items: center;
            padding: 0 15px;
        }

        .lang-item-new:not(:last-child) {
            border-right: 2px solid #ddd;
        }

        .lang-item-new:first-child {
            padding-left: 0;
        }

        .lang-link-new {
            display: flex;
            align-items: center;
            text-decoration: none;
            color: #000;
            gap: 6px;
            font-weight: 500;
            transition: color 0.2s;
        }

        .lang-link-new:hover {
            color: #FBB03B;
        }

        .lang-link-new .icon-new {
            width: 24px;
            height: 24px;
        }

        .lang-link-new .icon-new img {
            max-width: 100%;
            max-height: 100%;
        }

        /* Меню на темном фоне - на всю ширину */
        .h-bottom-new {
    background: #303133;
    padding: 0px 0;
    position: sticky; /* <- ДОБАВИТЬ sticky */
    top: 0; /* <- ДОБАВИТЬ top: 0 */
    z-index: 100; /* <- ДОБАВИТЬ z-index */
}
        .link-new .active:hover{
            color:#ffffff;
        }
        .menu-new {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 40px;
            display: flex;
            justify-content: center;
            align-items: center;
            column-gap: 5px;
            list-style: none;
        }

        .link-new a {
            color: #fff;
            text-decoration: none;
            display: flex;
            align-items: center;
            font-size: 14px;
            font-weight: 500;
            transition: all 0.2s;
            text-transform: uppercase;
            padding: 18px 30px;
            border-radius: 4px;
        }
        
        .link-new a:hover {
            background: #FBB03B;
            color: #ffffff;
        }
        
        .link-new a.active {
            color: #FBB03B;
        }
        
        .link-new .icon-new {
            width: 20px;
            height: 20px;
            margin-right: 8px;
            flex-shrink: 0;
            fill: #fff;
        }

        .link-new a:hover .icon-new,
        .link-new a.active .icon-new {
            fill: #fff;
        }
        
        .link-new a:hover .icon-new svg,
        .link-new a.active .icon-new svg {
            fill: #fff;
        }

        /* Кнопка бургер */
        .burger-btn {
            display: none;
            flex-direction: column;
            justify-content: space-between;
            width: 30px;
            height: 22px;
            background: none;
            border: none;
            cursor: pointer;
            padding: 0;
            z-index: 1001;
        }

        .burger-btn span {
            display: block;
            width: 100%;
            height: 3px;
            background: #303133;
            transition: all 0.3s;
        }

        .burger-btn.active span:nth-child(1) {
            transform: rotate(45deg) translate(7px, 7px);
        }

        .burger-btn.active span:nth-child(2) {
            opacity: 0;
        }

        .burger-btn.active span:nth-child(3) {
            transform: rotate(-45deg) translate(7px, -7px);
        }

        /* Мобильное меню */
        .mobile-menu-new {
            position: fixed;
            top: 0;
            right: -100%;
            width: 300px;
            height: 100vh;
            background: #fff;
            box-shadow: -2px 0 10px rgba(0,0,0,0.1);
            transition: right 0.3s;
            z-index: 1000;
            overflow-y: auto;
            padding: 80px 30px 30px 30px;
        }

        .mobile-menu-new.active {
            right: 0;
        }

        /* Кнопка закрытия */
        .close-menu-btn {
            position: absolute;
            top: 20px;
            right: 20px;
            width: 30px;
            height: 30px;
            background: none;
            border: none;
            cursor: pointer;
            padding: 0;
            z-index: 1001;
        }

        .close-menu-btn span {
            position: absolute;
            width: 100%;
            height: 3px;
            background: #303133;
            top: 50%;
            left: 0;
        }

        .close-menu-btn span:nth-child(1) {
            transform: translateY(-50%) rotate(45deg);
        }

        .close-menu-btn span:nth-child(2) {
            transform: translateY(-50%) rotate(-45deg);
        }

        .close-menu-btn:hover span {
            background: #FBB03B;
        }

        .mobile-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100vh;
            background: rgba(0,0,0,0.5);
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s;
            z-index: 999;
        }

        .mobile-overlay.active {
            opacity: 1;
            visibility: visible;
        }

        .mobile-contacts {
            margin-bottom: 30px;
            padding-bottom: 20px;
            border-bottom: 1px solid #ddd;
        }

        .mobile-contact-item {
            display: flex;
            align-items: center;
            margin-bottom: 15px;
        }

        .mobile-contact-item .icon-new {
            width: 24px;
            height: 24px;
            margin-right: 10px;
        }

        .mobile-contact-item a {
            text-decoration: none;
            color: #000;
            font-weight: 500;
        }

        .mobile-languages {
            display: flex;
            gap: 15px;
            margin-bottom: 30px;
            padding-bottom: 20px;
            border-bottom: 1px solid #ddd;
        }

        .mobile-languages .lang-link-new {
            color: #000;
        }

        .mobile-nav {
            list-style: none;
        }

        .mobile-nav .link-new {
            margin-bottom: 5px;
        }

        .mobile-nav .link-new a {
            color: #303133;
            padding: 12px 15px;
            display: block;
            border-radius: 4px;
        }

        .mobile-nav .link-new a:hover,
        .mobile-nav .link-new a.active {
            background: #FBB03B;
            color: #fff;
        }

        /* Адаптация под мобильные */
        @media (max-width: 768px) {
            .obj-new {
                display: none;
            }

            .container-new {
                padding: 0 20px;
            }

            .h-top-new {
                margin: 0;
            }

            .ht-blocks-new {
                display: none;
            }

            .burger-btn {
                display: flex;
            }

            .h-bottom-new {
                display: none;
            }

            .logo-new img {
                width: 80px;
            }

            .header-new {
                padding: 15px 0;
            }
        }

        .demo-content {
            padding: 60px 40px;
            text-align: center;
        }

        .demo-content h1 {
            font-size: 36px;
            color: #303133;
            margin-bottom: 20px;
        }

        .demo-content p {
            font-size: 18px;
            color: #666;
        }