
.floating-menu{
    display: none;
}

.floating-toggle{
    display: none;
}

.social-side-footer ul li{
    -webkit-filter: grayscale(1) brightness(100);
    filter: grayscale(1) brightness(100);
}

.header-navbar-static{
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 1.75rem;
    flex-direction: row;
    max-width: 1200px;
    margin: 0 auto;
    width: calc(100% - 40px);
    font-size: 1rem;
    z-index: 999;
    transition: transform 0.3s ease, opacity 0.3s ease, height 0.3s ease;
}

/* Мобильная структура header-navbar-static - скрыта на десктопе */
.header-navbar-static-left,
.header-navbar-static-right{
    display: none;
}

/* Показываем десктопную версию по умолчанию */
.header-navbar-static-desktop{
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 1.75rem;
    flex-direction: row;
    width: 100%;
}

.header-navbar-static.is-hidden{
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    height: 0;
    overflow: hidden;
}

.header-navbar-static-item{
    text-transform: uppercase;
    padding: 0;
    font-weight: 600;
    letter-spacing: 0.025rem;
    white-space: nowrap;
    color: #ffffff;
}

.header-navbar-static-item a{
    display: flex;
    align-items: center;
    padding: 0.5rem 0;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.header-navbar-static-item:hover{
    color: #ff5a00;
    cursor: pointer;
    transition: color 0.3s ease;
}

.header-navbar-static-item a:hover{
    color: #fff;
    cursor: pointer;
    transition: color 0.3s ease;
    box-shadow: 0 6px 14px rgb(38 19 9 / 20%);
}

.header-navbar-static-item .btn_geo{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.header-navbar-static-item .btn_geo:hover{
    color: #ff5a00;
    cursor: pointer;
    transition: color 0.3s ease;
    transform: scale(1.0125);
}

.leasing{
    padding: 0 0.5rem
}

.leasing a{
    border-bottom: 2px solid #ff5a00;
    height: auto;
    padding-top: 1rem;
}

.leasing:hover{
    border: none;
    background: #ff5a00;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.leasing:hover a{
    color: #ffffff;
    transition: color 0.3s ease;
}

.navbar-item-email{
    display: flex;
    align-items: center;
    padding: 0.5rem 0;
    color: inherit;
    text-decoration: none;
}



.navbar-item-phone{
    padding: 0;
}

.navbar-item-phone a{
    padding: 0.5rem;
    display: block;
    height: 100%;
}

.navbar-item-phone:hover{
    background: #ff5a00;
    transition: background-color 0.5s ease;
}

.navbar-item-phone:hover .phone-number{
    color: #ffffff;
    transition: color 0.5s ease;
}

/* Усиление специфичности на случай конфликтов */
.header-navbar-static-item.navbar-item-phone:hover .phone-number{
    color: #ffffff !important;
}


.header-navbar-static-item .phone-call{
    display: flex;
    flex-direction: column;
}


.header-navbar-static-item .phone-call .phone-text{
    display: flex;
    gap: 0.5rem;
}

.header-navbar-static-item .phone-call .phone-number{
    display: flex;
    justify-content: flex-end;
    font-size: 1rem;
    letter-spacing: 0.05rem;
    color: #ff5a00;
}

.menu .social-side ul li{
    -webkit-filter: grayscale(1) brightness(100);
    filter: grayscale(1) brightness(100);
}

.menu-icon{
    padding: 0 0.5rem;
}

.header-navbar{
    display: flex;
    justify-content: center;
    flex-direction: row;
    flex-wrap: nowrap;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.025rem;
    white-space: nowrap;
    color: #ffffff;
    font-size: 1rem;
    align-items: center;
    overflow: visible; /* чтобы выпадающие блоки не обрезались */
}

.header-main{
    background-color: #151a2452;
    backdrop-filter: blur(10px);
}

.header-main::before{
    content: '';
    background-image: url('/style/dot.png');
    background-position: left top;
    background-repeat: repeat;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.h-container .header-navbar{
    max-width: 1200px;
    margin: 0 auto;
    width: calc(100% - 40px);
}

.btn_geo img{
    width: 0.75rem;
    height: 0.75rem;
}

.menu-btn{
    display: none;
}

/* Кнопка раскрытия меню: круглая, оранжевая, символ по центру */
.menu-header .expand-menu{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.75rem;
    font-weight: 500;
    background-color: #ff5a00;
    color: #ffffff;
    border-radius: 50%;
    text-align: center;
}

.menu-header{
    padding: 0.875rem;
    display: flex;
    align-items: center;
    align-self: stretch;
}

.menu-header:hover{
    background-color: #FF5A00;
    transition: background-color 0.5s ease;
}

/* Dropdown для пункта "СООРУЖЕНИЯ" */
.menu-item-1 .menu-dropdown,
.menu-item-2 .menu-dropdown,
.menu-item-3 .menu-dropdown,
.menu-item-4 .menu-dropdown{
    position: absolute;
    left: 0;
    right: auto;
    top: 100%;
    min-width: 260px;
    width: max-content;
    background: white;
    color: #000000;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
    display: none;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 1001;
    box-sizing: border-box;
}

.menu-item-1:hover .menu-dropdown,
.menu-item-2:hover .menu-dropdown,
.menu-item-3:hover .menu-dropdown,
.menu-item-4:hover .menu-dropdown{
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Невидимая hover-зона снизу menu-dropdown для предотвращения потери hover при клике на последний элемент */
.menu-item-1:hover .menu-dropdown::after,
.menu-item-2:hover .menu-dropdown::after,
.menu-item-3:hover .menu-dropdown::after,
.menu-item-4:hover .menu-dropdown::after{
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    bottom: auto;
    height: 40px;
    width: 100%;
    background: transparent;
    pointer-events: auto;
    z-index: 1000;
}

/* Дополнительная невидимая зона для меню "ОТРАСЛЕВЫЕ РЕШЕНИЯ" */
.menu-item-2:hover .menu-dropdown::after{
    height: 150px;
}

/* Аккордеон внутри дропдауна */
.menu-item-1 .dropdown-section,
.menu-item-2 .dropdown-section{ background: transparent; transition: background-color 0.2s ease; }
.menu-item-1 .dropdown-section.is-open,
.menu-item-2 .dropdown-section.is-open{ background: #FF5A00; }
.menu-item-1 .dropdown-header,
.menu-item-2 .dropdown-header{ /* not used in item-3 since it's list-only */
    width: 100%;
    background: transparent;
    border: 0;
    color: #000000;
    font-weight: 700;
    text-transform: uppercase;
    padding: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.menu-item-1 .dropdown-section.is-open > .dropdown-header,
.menu-item-2 .dropdown-section.is-open > .dropdown-header{ color: #ffffff; }


.dropdown-header-link:hover{
    color: #ffffff !important;
    background: #FF5A00;
    transition: color 0.2s ease;
}


.menu-item-1 .dropdown-header span,
.menu-item-2 .dropdown-header span{ 
    display: inline-flex; align-items: center; font-size: 1rem;
}
.menu-item-1 .dropdown-header::after,
.menu-item-2 .dropdown-header::after{
    content: '';
    display: inline-block;
    width: 8px; height: 8px;
    margin-left: 12px;
    border-right: 2px solid currentColor; border-top: 2px solid currentColor;
    transform: rotate(45deg) scaleY(-1); /* вниз */
    transition: transform 0.2s ease;
}
.menu-item-1 .dropdown-section.is-open > .dropdown-header::after,
.menu-item-2 .dropdown-section.is-open > .dropdown-header::after{ transform: rotate(45deg) scaleY(1); /* вверх */ }

.menu-item-1 .dropdown-content,
.menu-item-2 .dropdown-content{
    list-style: none;
    margin: 0;
    padding: 0 0.75rem 0.25rem;
    background: transparent; /* фон берём у родителя-секции */
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-4px);
    transition: max-height 0.25s ease, opacity 0.2s ease, transform 0.2s ease, padding 0.2s ease;
}
.menu-item-1 .dropdown-section.is-open > .dropdown-content,
.menu-item-2 .dropdown-section.is-open > .dropdown-content{
    max-height: 600px; /* достаточно для контента */
    opacity: 1;
    transform: translateY(0);
}

.menu-item-1 .dropdown-content li,
.menu-item-2 .dropdown-content li{
    margin: 0;
    padding: 0 0.25rem 0.75rem;
    font-size: 1rem;
    font-weight: 200;
    text-transform: capitalize;
    background: transparent;
    color: #ffffff;
}

.menu-item-1 .dropdown-content li.series a{
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.menu-item-1 .dropdown-content .menu-mini-icon{
    width: 16px;
    height: 16px;
    object-fit: contain;
}

.menu-item-1 .menu-dropdown-list li.divider{
    height: 1px;
    padding: 0;
    margin: 8px 0;
    background: #ffffff33;
}

.menu-item-1 .dropdown-content a,
.menu-item-2 .dropdown-content a{
    color: #ffffff;
    text-decoration: none;
    display: block;
}

.menu-item-1 .dropdown-content a:hover,
.menu-item-2 .dropdown-content a:hover{
    color: #1a1a1a;
}

.menu-item-1 .dropdown-section.link-only{ background: #fff; }
.menu-item-1 .dropdown-section.link-only .dropdown-header-link{
    display: block; color: #1a1a1a; text-decoration: none; font-weight: 700; text-transform: uppercase; padding: 14px 16px;
}

/* Стрелочки только для верхних пунктов меню в шапке */
.header-navbar > .menu-item-2 > span::after,
.header-navbar > .menu-item-3 > span::after,
.header-navbar > .menu-item-4 > span::after{
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-left: 10px;
    border-right: 2px solid #ffffff;
    border-top: 2px solid #ffffff;
    transform: translateY(0.06em) rotate(135deg); /* стрелка вниз, легкая центровка */
    transform-origin: 50% 50%;
    transition: transform 0.3s ease;
}

.header-navbar > .menu-item-2:hover > span::after,
.header-navbar > .menu-item-3:hover > span::after,
.header-navbar > .menu-item-4:hover > span::after{
    transform: translateY(0.35em) rotate(225deg) scaleY(-1);
}

/* Выравнивание текста верхних пунктов меню */
.header-navbar > .menu-item-2 > span,
.header-navbar > .menu-item-3 > span,
.header-navbar > .menu-item-4 > span{
    display: inline-flex;
    align-items: stretch;
}

.menu-item-1{
    display: flex;
    gap: 0.5rem;
    align-items: center;
    position: relative;
}
.menu-item-2{ position: relative; }
.menu-item-3{ position: relative; }
.menu-item-4{ position: relative; }


.schet {
    color: #FFFFFF;
    opacity: 1 !important;
    background-color: #FF5A00;
    transition: all 0.2s;
     display: inline-flex;
     align-items: center;
     align-self: stretch;
     gap: 0.5rem;
     padding: 0.75rem 1rem;
     border-radius: 0;
     text-decoration: none;
     letter-spacing: 0.02rem;
     box-shadow: 0 6px 14px rgb(38 19 9 / 60%);
     z-index: 9;
 }
 
 .schet:hover {
     background-color: #FF6A1A;
     box-shadow: 0 8px 18px rgba(255, 90, 0, 0.35);
 }
 
 .schet:active {
     box-shadow: 0 4px 10px rgba(255, 90, 0, 0.2);
 }

/* Реализованные объекты: список с миниатюрами */
.menu-item-3 .realized-list{ list-style: none; margin: 0; padding: 0.5rem; min-width: 360px; }
.menu-item-3 .realized-list li{ margin: 0; padding: 0.35rem 0.35rem; }
.menu-item-3 .realized-item{ display: flex; align-items: center; gap: 12px; text-decoration: none; color: #000000; }
.menu-item-3 .realized-title{ flex: 1 1 auto; max-width: 220px; }
.menu-item-3 .realized-thumb{ width: 96px; height: 64px; object-fit: cover; border-radius: 2px; }
.menu-item-3 .realized-item:hover{ color: #1a1a1a; filter: brightness(0.95); }
.menu-item-3 .realized-all{ padding-top: 6px; border-top: 1px solid #e9e9e9; margin-top: 6px; }
.menu-item-3 .realized-all a{ display: block; text-decoration: none; color: #000000; font-weight: 700; }
.menu-item-3 .realized-all a:hover{ color: #ff5a00; }

/* Реализованные объекты — раскладка как на скрине */
.menu-item-3 .menu-dropdown{ min-width: 700px; width: auto; }
.menu-item-3 .realized-grid{ display: grid; grid-template-columns: 1fr 275px; gap: 24px; padding: 16px; }

.menu-item-3 .realized-main{ display: flex; flex-direction: column;}
.menu-item-3 .realized-main-title{ font-weight: 600; font-size: 1rem; letter-spacing: 0.02em; color: #1d2231; margin-bottom: 1rem; }
.menu-item-3 .realized-main-img{ display: block; border: 1px solid #e5e5e5; }
.menu-item-3 .realized-main-img img{ width: 100%; height: auto; display: block; }
.menu-item-3 .realized-date{ margin-top: 12px; color: #333333; font-size: 0.75rem; font-weight: 500; }

.menu-item-3 .realized-side-title{ color: #7a7a7a; font-weight: 500; margin-bottom: 8px; text-transform: capitalize; font-size: 0.875rem; }
.menu-item-3 .realized-side-item{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-decoration: none;
    color: #000000;
    padding: 8px 0;
    gap: 1rem;
}

.social-side ul li{
    filter: unset;
}

.menu-item-3 .realized-side-item img{ width: 120px; height: 80px; object-fit: cover; border: 1px solid #e5e5e5; }
.menu-item-3 .realized-side-text{ display: flex; flex-direction: column; gap: 6px; padding-right: 16px; width: 50%;text-wrap: balance;}
.menu-item-3 .realized-side-name{ font-weight: 600; letter-spacing: 0.02em;}
.menu-item-3 .realized-side-date{ color: #1d2231; font-size: 0.75rem; }
.menu-item-3 .realized-sep{ height: 4px; width: 64px; background: #ff5a00; margin: 6px 0 10px; }

.menu-item-3 .realized-more{ display: inline-flex; align-items: center; gap: 8px; color: #1d2231; text-decoration: none; font-size: 1rem; font-weight: 600; margin-top: 8px; }
.menu-item-3 .realized-more .chev{ width: 8px; height: 8px; border-right: 2px solid #000; border-top: 2px solid #000; transform: rotate(45deg); }
.menu-item-3 .realized-more:hover{ color: #ff5a00; }
.menu-item-3 .realized-more:hover .chev{ border-color: #ff5a00; }

/* Ховер-цвет для заголовков (оранжевый) */
.menu-item-3 .realized-main:hover .realized-main-title{ color: #ff5a00; }
.menu-item-3 .realized-side-item:hover .realized-side-name{ color: #ff5a00; }

/* Контакты: карточка */
.menu-item-4 .contacts-dropdown{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 1rem;
}
.menu-item-4 .contact-phone{ font-weight: 700; color: #1d2231; }
.menu-item-4 .contact-section-title{
    color: #1d2231;
    text-transform: uppercase;
    font-weight: 500;
    font-size: 0.8125rem;
    letter-spacing: 0.02em;
    margin: 0.5rem 0 0.875rem;
}


.social-title{
    text-align: center;
}

.menu-item-4 .contact-email{ color: #1d2231; font-weight: 700; }
.menu-item-4 .contact-row{ display: block; width: 100%; box-sizing: border-box; text-decoration: none; color: #1d2231; padding: 0.25rem 0.375rem; transition: background-color 0.2s ease, color 0.2s ease;    padding: 1rem; }
.menu-item-4 .contact-row:hover{ background: #FF5A00; color: #ffffff; }
.menu-item-4 .contact-row:hover .contact-section-title,
.menu-item-4 .contact-row:hover .contact-email,
.menu-item-4 .contact-row:hover .contact-phone,
.menu-item-4 .contact-row:hover .contact-address{ color: #ffffff; }
.menu-item-4 .contact-address{ color: #1d2231; font-weight: 700; padding: 0.25rem 0.375rem; border-radius: 4px; transition: background-color 0.2s ease, color 0.2s ease; }
.menu-item-4 .contact-phone a:hover{ background: #FF5A00; color: #ffffff; }
.menu-item-4 .contact-address:hover{ background: #FF5A00; color: #ffffff; }

/* Соцсети */
.menu-item-4 .social-side ul{ list-style: none; margin: 8px 0 0; padding: 0; display: flex; gap: 12px;}
.menu-item-4 .social-side li{ width: 22px; height: 22px; }
.menu-item-4 .social-side li a{ display: block; width: 100%; height: 100%; background-size: contain; background-position: center; background-repeat: no-repeat; }
.menu-item-4 .social-side li.vk a{ background-image: url(/style/icon/vk-social-logotype.png); }
.menu-item-4 .social-side li.yt a{ background-image: url(/style/icon/youtube-symbol.png); }
.menu-item-4 .social-side li.rutube a{ background-image: url(/style/icon/rutube-icon.png); }
.menu-item-4 .social-side li.telegram a{ background-image: url(/style/icon/telegrm-icon.png); }
.menu-item-4 .social-side li.whatsapp a{ background-image: url(/style/icon/whatsapp2-symbol.png); }

.menu-item-4 .social-header-slide{
    padding-top: 0 !important;
    margin-top: 0 !important;
}
div.container.sales-container{
    display: none;
}

/* Кнопка "наверх" */
/* Мобильная навигация - скрыта на десктопе */
.navbar-mobile{
    display: none;
}

.back-to-top{ position: fixed; right: 10%; bottom: 10%; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #FF5A00; color: #ffffff; cursor: pointer; box-shadow: 0 10px 24px rgba(0,0,0,0.35); display: inline-flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.2s ease, transform 0.2s ease, background-color 0.2s ease; z-index: 1002; }
.back-to-top::before{ content: ''; width: 12px; height: 12px; border-right: 2px solid currentColor; border-top: 2px solid currentColor; transform: rotate(-45deg) translateY(1px); }
.back-to-top.is-visible{ opacity: 1; pointer-events: auto; }
.back-to-top:hover{ background: #FF6A1A; transform: translateY(-2px); }

/* Promo banner redesign (template/2/5 only) */
.promo-banner{
    position: fixed;
    transform: translate(0%, 100%);
    z-index: 1003;
    max-width: 55rem;
    width: calc(100vw - 40px);
    height: 16rem;
    color: #fff;
    overflow: hidden;
    border-radius: 10px;
    transition: height 0.125s ease, width 0.125s ease, max-width 0.125s ease, transform 0.125s ease, left 0.125s ease, right 0.125s ease, top 0.125s ease;
}
.promo-banner.is-collapsed{
    width: 7rem;
    width: 7rem;
    transform: translate(0%, 100%);
}
.promo-collapsed{
    display: none;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
    height: 50px;
    background: #ff7a1f;
    border-radius: 10px;
    cursor: pointer;
    gap: 12px;
    opacity: 0;
    transition: opacity 0.2s ease;
}
.promo-banner.is-collapsed .promo-collapsed{
    display: flex;
    opacity: 1;
}
.promo-banner.is-collapsed .promo-close{
    opacity: 0;
    pointer-events: none;
}
.promo-close{
    position: absolute;
    right: 12px;
    top: 12px;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: none;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease;
    z-index: 10;
}
.promo-collapsed-text{
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    color: #fff;
    letter-spacing: 0.02em;
}
.promo-collapsed-arrow{
    display: inline-block;
    width: 8px;
    height: 8px;
    position: relative;
}
.promo-collapsed-arrow::before{
    content: '';
    position: absolute;
    top: 2px;
    right: 0;
    width: 8px;
    height: 2px;
    background: #fff;
    transform: rotate(45deg);
    transform-origin: right center;
}
.promo-collapsed-arrow::after{
    content: '';
    position: absolute;
    bottom: 4px;
    right: 0;
    width: 8px;
    height: 2px;
    background: #fff;
    transform: rotate(-45deg);
    transform-origin: right center;
}
.promo-inner{
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 0;
    opacity: 1;
    transform: translateX(0);
    /* transition: opacity 0.2s ease, transform 0.2s ease; */
}
.promo-banner.is-collapsed .promo-inner{
    opacity: 0;
    pointer-events: none;
    transform: translateX(-100%);
}
.promo-top{
    display: flex;
    flex-direction: column;
    flex: 0 0 60%;
    height: 60%;
    align-items: stretch;
    padding: 1.5rem;
    background: linear-gradient(95deg, #ff7a1f 0%, #ff5a00 65%, #ff6a10 100%);
}
.promo-bottom{
    flex: 0 0 40%;
    display: flex;
    padding: 0 1.5rem;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    background-color: #fff;
}
.promo-left{flex:1 1 auto;}
.promo-right{    
    height: 240px;
}
.promo-title{
    position: relative;
    font-weight: 600;
    font-size: 1.85rem;
    line-height: 1;
    margin: 0 0 0.5rem;
}
.promo-sub{
    position: relative;
    font-size: 1.5rem;
    font-weight: 500;
    opacity: .98;
}
.promo-form{
    display: flex;
    align-items: center;
    position: relative;
    gap: 16px;
    z-index: 2;
    justify-content: center;
}
.promo-input{
    flex: 0 0 240px;
    max-width: 10rem;
    padding: 1rem;
    background: #fff;
    border: 1px solid #e3e3e3;
    color: #1d2231;
    font-size: 1rem;
    font-weight: 400;
}
.promo-input::placeholder{
    color: #999;
    opacity: 1;
    font-weight: 400;
}
.promo-input::-webkit-input-placeholder{
    color: #999;
    opacity: 1;
    font-weight: 400;
}
.promo-input::-moz-placeholder{
    color: #999;
    opacity: 1;
    font-weight: 400;
}
.promo-input:-ms-input-placeholder{
    color: #999;
    opacity: 1;
    font-weight: 400;
} 
.promo-actions{
    display: flex;
    gap: 12px;
    z-index: 2;
    flex: 1;
    justify-content: space-between;
}
.promo-btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ff7a1f;
    color: #fff;
    text-decoration: none;
    padding: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .02em;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .25);
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: inherit;
} 
.promo-btn:hover{background:#e54900e8; transition: background-color 0.2s ease;}
.promo-btn:disabled{
    opacity: 0.6;
    cursor: not-allowed;
}
.promo-btn--light{background:#ff7a1f;color:#fff;}
.promo-btn--light:hover{background:#e54900e8; transition: background-color 0.2s ease;}
.promo-btn--light .promo-arrow::before{background:#fff;}
.promo-btn--light .promo-arrow::after{background:#fff;}
.promo-arrow{display:inline-block;width:8px;height:8px;margin-left:8px;vertical-align:middle;position:relative;}
.promo-arrow::before{content:'';position:absolute;top:2px;right:0;width:8px;height:2px;background:#1d2231;transform:rotate(45deg);transform-origin:right center;}
.promo-arrow::after{content:'';position:absolute;bottom:4px;right:0;width:8px;height:2px;background:#1d2231;transform:rotate(-45deg);transform-origin:right center;}
.promo-close::before{
    content: '';
    position: absolute;
    width: 20px;
    height: 1px;
    background: #ffffffbb;
    transform: rotate(45deg);
}
.promo-close::after{
    content: '';
    position: absolute;
    width: 20px;
    height: 1px;
    background: #ffffffbb;
    transform: rotate(-45deg);
}

.promo-close:hover::before,
.promo-close:hover::after{
    background: #ffffff;
}

/* Overlapping cards (placeholders) */
.promo-card{position:absolute;display:block;background:#eaeff4;border-radius:6px;box-shadow:0 14px 28px rgba(0,0,0,.25);} 
.promo-card--1{
    right: 22rem;
    top: 5.5rem;
    width:12rem;
    height:8rem;
    transform:rotate(-16deg);
} 
.promo-card--2{
    right: 12rem;
    top: 5.5rem;
    width:12rem;
    height:8rem;
    transform:rotate(-16deg);
} 
.promo-card--3{
    right: 2rem;
    top: 5.5rem;
    width:12rem;
    height:8rem;
    transform:rotate(-16deg);
} 

/* Сообщения для promo-banner */
#promo-message{
    display: none;
    text-align: center;
    font-size: 0.875rem;
    font-weight: 600;
    color: rgb(37, 44, 61);
    border-radius: 4px;
    z-index: 99;
    position: absolute;
    bottom: 0.25rem;
}

#promo-message.is-visible{
    display: block;
}

#promo-message.is-success{
    color: rgb(37, 44, 61);
}

#promo-message.is-error{
    color: rgb(37, 44, 61);
}

/* Адаптивные стили для промо-баннера */

/* Планшеты (768px - 1024px) */
@media screen and (max-width: 1024px) and (min-width: 768px) {
    .header-navbar-static{
        gap: 1rem;
        font-size: 0.9375rem;
    }
    
    .header-navbar-static-item{
        padding: 0.375rem 0;
        font-size: 0.875rem;
    }
    
    .header-navbar-static-item .phone-call .phone-number{
        font-size: 0.875rem;
    }
    
    .header-main{
        padding: 0;
        background: none;
        backdrop-filter: none;
    }
    
    .header-navbar{
        font-size: 0.9375rem;
    }
    
    .menu-header{
        padding: 0.75rem;
    }
    
    .schet{
        padding: 0.625rem 0.875rem;
        font-size: 0.9375rem;
    }
    
    /* Адаптация dropdown меню для планшетов */
    .menu-item-1 .menu-dropdown,
    .menu-item-2 .menu-dropdown,
    .menu-item-3 .menu-dropdown,
    .menu-item-4 .menu-dropdown{
        min-width: 320px;
    }
    
    .menu-item-3 .menu-dropdown{
        min-width: 600px;
    }
    
    .promo-banner{
        max-width: calc(100vw - 30px);
        width: calc(100vw - 30px);
    }
    
    .promo-title{
        font-size: 1.75rem;
    }
    
    .promo-sub{
        font-size: 1.25rem;
    }
    
    .promo-input{
        flex: 0 0 180px;
        max-width: 180px;
        padding: 0.875rem;
        font-size: 0.9375rem;
    }
    
    .promo-btn{
        padding: 0.875rem;
        font-size: 0.9375rem;
        white-space: nowrap;
    }
    
    .promo-card--1{
        right: 16rem;
        width: 10rem;
        height: 7rem;
    }
    
    .promo-card--2{
        right: 9rem;
        width: 10rem;
        height: 7rem;
    }
    
    .promo-card--3{
        right: 2rem;
        width: 10rem;
        height: 7rem;
    }
}

/* Мобильные устройства (до 767px) */
@media screen and (max-width: 767px) {

    .a3d-place-slick .main-slider{
        width: 95%;
        margin: 0 auto;
    }

    body{
        padding-top: 150px;
    }

    .header-navbar-static-item .phone-call{
        display: flex;
        flex-direction: row;
        gap: 0.5rem;
        align-items: center;
    }
    /* Скрываем десктопную версию на мобильных */
    .header-navbar-static-desktop{
        display: none;
    }
    
    /* Показываем мобильную структуру */
    .header-navbar-static-left,
    .header-navbar-static-right{
        display: flex;
    }
    
    /* Мобильная версия header-navbar-static */
    .header-navbar-static{
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0.75rem 1rem;
        width: 100%;
        max-width: 100%;
        margin: 0;
        gap: 1rem;
    }
    
    .header-navbar-static-left{
        display: flex;
        align-items: center;
    }
    
    .header-navbar-static-logo{
        display: flex;
        align-items: center;
        gap: 0.5rem;
        text-decoration: none;
        color: #fff;
    }
    
    .header-navbar-static-logo img{
        height: 2.5rem;
        width: auto;
    }
    
    .header-navbar-static-logo-text{
        font-size: 0.875rem;
        font-weight: 400;
        text-transform: lowercase;
        color: #fff;
        font-family: sans-serif;
    }
    
    .header-navbar-static-right{
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        gap: 0.5rem;
    }
    
    .header-navbar-static-social{
        display: flex;
        align-items: center;
    }
    
    .header-navbar-static-social-list{
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
        gap: 0.75rem;
        align-items: center;
    }
    
    .header-navbar-static-social-list li{
        width: 20px;
        height: 20px;
        -webkit-filter: grayscale(1) brightness(100);
        filter: grayscale(1) brightness(100);
    }
    
    .header-navbar-static-social-list li a{
        display: block;
        width: 100%;
        height: 100%;
        background-size: contain;
        background-position: center;
        background-repeat: no-repeat;
    }
    
    .header-navbar-static-social-list li.vk a{
        background-image: url(/style/icon/vk-social-logotype.png);
    }
    
    .header-navbar-static-social-list li.yt a{
        background-image: url(/style/icon/youtube-symbol.png);
    }
    
    .header-navbar-static-social-list li.rutube a{
        background-image: url(/style/icon/rutube-icon.png);
    }
    
    .header-navbar-static-social-list li.telegram a{
        background-image: url(/style/icon/telegrm-icon.png);
    }
    
    .header-navbar-static-social-list li.whatsapp a{
        background-image: url(/style/icon/whatsapp2-symbol.png);
    }
    
    .header-navbar-static-contact{
        display: flex;
        flex-direction: row;
        align-items: flex-end;
        gap: 1rem;
    }
    
    .header-navbar-static-email,
    .header-navbar-static-phone{
        color: #fff;
        text-decoration: none;
        font-size: 0.75rem;
        letter-spacing: 0.025rem;
        font-weight: 700;
        white-space: nowrap;
        font-family: sans-serif;
    }
    
    .header-navbar-static-email{
        text-transform: uppercase;
    }
    
    .header-navbar-static-item{
        padding: 0.25rem 0;
        font-size: 0.75rem;
        letter-spacing: 0.01rem;
    }
    
    .navbar-item-phone{
        padding: 0.85rem;
    }
    
    .header-main{
        padding: 0;
        background: none;
        backdrop-filter: none;
    }

    .menu-btn{
        display: none;
    }
    
    .h-container .header-navbar{
        display: none;
    }
    
    /* Мобильная навигация */
    .navbar-mobile{
        display: flex;
        align-items: center;
        gap: 0;
        width: 100%;
        background-color: #FF5A00;
        border-top: 1px solid #000;
        border-bottom: 1px solid #000;
    }
    
    .navbar-mobile-menu{
        width: 60px;
        height: 60px;
        background-color: #FF5A00;
        border: none;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        cursor: pointer;
        padding: 0;
    }
    
    .navbar-mobile-menu span{
        width: 20px;
        height: 2px;
        background-color: #fff;
        display: block;
    }
    
    .navbar-mobile-call{
        flex: 1;
        display: flex;
        align-items: center;
        gap: 10px;
        background-color: #FF5A00;
        color: #fff;
        text-decoration: none;
        font-weight: 700;
        font-size: 0.75rem;
        text-transform: uppercase;
    }
    
    .navbar-mobile-phone-icon{
        flex-shrink: 0;
        width: 20px;
        height: 20px;
    }
    
    .navbar-mobile-call-text{
        display: flex;
        flex-direction: column;
        line-height: 1.2;
        font-size: 0.875rem;
        font-weight: 700;
        letter-spacing: 0.025rem;
    }
    
    .navbar-mobile-calc{
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        padding: 10px;
        background-color: #fff;
        color: #FF5A00;
        text-decoration: none;
        font-family: 'Roboto';
        font-weight: 800;
        font-size: 0.875rem;
        text-transform: uppercase;
        border: 2px solid #FF5A00;
        line-height: 1.2;
        min-width: 120px;
    }
    
    .menu-icon{
        padding: 0 0.25rem;
    }
    
    .menu-icon img{
        max-width: 80px;
        height: auto;
    }
    
    .menu-header{
        padding: 0.625rem 0.5rem;
        font-size: 0.8125rem;
    }
    
    .menu-header .expand-menu{
        width: 2rem;
        height: 2rem;
        font-size: 1.5rem;
    }
    
    .schet{
        padding: 0.5rem 0.75rem;
        font-size: 0.8125rem;
        flex-shrink: 0;
    }
    
    /* Адаптация dropdown меню для мобильных */
    .menu-item-2 .menu-dropdown{
        left: auto;
        right: 0;
        min-width: calc(100vw - 40px);
        max-width: calc(100vw - 40px);
        width: calc(100vw - 40px);
    }
    
    /* Сооружения, Реализованные объекты, Контакты - выравнивание от правого края экрана */
    .menu-item-1 .menu-dropdown,
    .menu-item-3 .menu-dropdown,
    .menu-item-4 .menu-dropdown{
        position: absolute !important;
        left: auto !important;
        right: calc(100% - 100vw) !important;
        top: 100% !important;
        min-width: calc(85vw) !important;
        max-width: calc(85vw) !important;
        width: calc(85vw) !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    /* Переопределяем базовые правила для hover состояния */
    .menu-item-1:hover .menu-dropdown,
    .menu-item-3:hover .menu-dropdown,
    .menu-item-4:hover .menu-dropdown{
        display: block !important;
        opacity: 1 !important;
        left: auto !important;
        right: calc(100% - 85vw) !important;
        transform: translateY(0) !important;
    }

    .menu-item-2 .menu-dropdown{
        position: absolute !important;
        right: auto !important;
        left: calc(100% - 100vw) !important;
        top: 100% !important;
        min-width: calc(85vw) !important;
        max-width: calc(85vw) !important;
        width: calc(85vw) !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .menu-item-2:hover .menu-dropdown{
        display: block !important;
        opacity: 1 !important;
        right: auto !important;
        left: calc(100% - 85vw) !important;
        transform: translateY(0) !important;
    }

    .menu-item-4 .menu-dropdown{
        min-width: calc(45vw) !important;
        max-width: calc(45vw) !important;
        width: calc(45vw) !important;
    }

    .menu-item-4:hover .menu-dropdown{
        right: calc(100% - 45vw) !important;
    }

    .menu-item-1 .menu-dropdown{
        min-width: calc(65vw) !important;
        max-width: calc(65vw) !important;
        width: calc(65vw) !important;
    }

    .menu-item-1:hover .menu-dropdown{
        right: calc(100% - 65vw) !important;
    }
    
    .menu-item-3 .realized-grid{
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .menu-item-3 .realized-side{
        margin-top: 16px;
    }

    .floating-toggle{
        display: none;
    }
    .floating-menu{
        display: none !important;
    }
    
    .promo-banner{
        height: auto;
        min-height: auto;
        transform: translate(0%, 50%);
    }
    
    .promo-banner.is-collapsed{
        width: 2.5rem;
        transform: translate(0%, 20%);
    }
    
    .promo-top{
        flex: 0 0 auto;
        padding: 1rem;
        min-height: 6rem;
    }
    
    .promo-bottom{
        flex: 0 0 auto;
        padding: 1rem;
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .promo-right{
        display: flex;
        height: auto;
        justify-content: center;
    }

    .promo-cards{
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: center;
        width: 100%;
    }

    .promo-card{
        position: relative;
        width: 33.333%;
        height: 5rem;
        border-radius: 0;
    }
    
    .promo-card img{
        border-radius: 0 !important;
    }

    .promo-card--1, 
    .promo-card--2,
    .promo-card--3{
        right: inherit;
        top: auto;
        transform: unset;
    }


    
    .promo-title{
        font-size: 1.375rem;
        line-height: 1.3;
        margin: 0 0 0.5rem;
    }
    
    .promo-sub{
        font-size: 1rem;
    }
    
    .promo-close{
        width: 30px;
        height: 30px;
        right: 8px;
        top: 8px;
    }
    
    .promo-close::before,
    .promo-close::after{
        width: 16px;
    }
    
    .promo-form{
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
        align-items: stretch;
    }
    
    .promo-input{
        flex: 1 1 auto;
        width: 100%;
        max-width: 100%;
        padding: 0.875rem;
        font-size: 1rem;
    }
    
    .promo-actions{
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
        align-items: stretch;
    }
    
    .promo-btn{
        width: 100%;
        padding: 0.875rem;
        font-size: 0.9375rem;
    }
    
    .promo-collapsed{
        padding: 0 0.75rem;
        height: 44px;
        justify-content: center;
    }
    
    .promo-collapsed-text{
        font-size: 0;
        position: relative;
    }
    
    .promo-collapsed-text::before{
        content: "%";
        font-size: 1.5rem;
        font-weight: 700;
        text-transform: uppercase;
        color: #fff;
        letter-spacing: 0.02em;
    }
    
    .promo-collapsed-arrow{
        display: none;
    }
    
    #promo-message{
        position: static;
        margin-top: 0.5rem;
        font-size: 0.8125rem;
    }
}

/* Очень маленькие мобильные устройства (до 480px) */
@media screen and (max-width: 480px) {
    .header-navbar-static{
        gap: 0.375rem;
        font-size: 0.75rem;
        padding: 0.5rem;
    }

    .floating-menu{
        display: none;
    }

    .header-navbar-static.is-hidden{
        padding: 0;
        font-size: 0;
    }
    
    .header-navbar-static-item{
        padding: 0.1875rem 0;
        font-size: 0.6875rem;
    }
    
    .header-navbar-static-item .btn_geo{
        gap: 0.25rem;
    }
    
    .header-navbar-static-item .btn_geo img{
        width: 0.5rem;
        height: 0.5rem;
    }
    
    .navbar-item-phone{
        padding: 0.25rem;
    }
    
    .header-navbar-static-item .phone-call .phone-text{
        font-size: 0.625rem;
        gap: 0.25rem;
        color: white;
    }
    
    .header-navbar-static-item .phone-call .phone-number{
        font-size: 0.75rem;
        letter-spacing: 0.02rem;
    }

    
    .h-container .header-navbar{
        width: calc(100% - 16px);
        gap: 0.125rem;
    }
    
    .header-navbar{
        font-size: 0.75rem;
    }
    
    .menu-icon img{
        max-width: 80px;
    }
    
    .menu-header{
        padding: 0.5rem 0.375rem;
        font-size: 0.75rem;
    }
    
    .menu-header .expand-menu{
        width: 1.75rem;
        height: 1.75rem;
        font-size: 1.25rem;
    }
    
    .schet{
        padding: 0.4375rem 0.625rem;
        font-size: 0.75rem;
    }
    
    /* Адаптация dropdown меню для очень маленьких экранов */
    .menu-item-2 .menu-dropdown{
        min-width: calc(100vw - 32px);
        max-width: calc(100vw - 32px);
        width: calc(100vw - 32px);
    }
    
    /* Сооружения, Реализованные объекты, Контакты - выравнивание от правого края экрана */
    .menu-item-1 .menu-dropdown,
    .menu-item-3 .menu-dropdown,
    .menu-item-4 .menu-dropdown{
        position: absolute !important;
        left: auto !important;
        right: calc(50% - 50vw + 16px) !important;
        top: 100% !important;
        min-width: calc(100vw - 32px) !important;
        max-width: calc(100vw - 32px) !important;
        width: calc(100vw - 32px) !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    /* Переопределяем базовые правила для hover состояния на маленьких экранах */
    .menu-item-1:hover .menu-dropdown,
    .menu-item-3:hover .menu-dropdown,
    .menu-item-4:hover .menu-dropdown{
        display: block !important;
        opacity: 1 !important;
        left: auto !important;
        right: calc(50% - 50vw + 16px) !important;
        transform: translateY(0) !important;
    }
    
    .promo-banner{
        max-width: calc(100vw - 16px);
        width: calc(100vw - 16px);
    }
    
    .promo-top{
        padding: 0;
        min-height: 5.5rem;
    }

    .promo-left{
        padding: 0.875rem 0.875rem 0;
    }
    
    .promo-bottom{
        padding: 0.875rem;
        gap: 0.875rem;
    }
    
    .promo-title{
        font-size: 1.125rem;
        margin: 0 0 0.375rem;
    }
    
    .promo-sub{
        /* font-size: 0.875rem;
        font-weight: 600;
        position: absolute;
        right: 2.5rem;
        top: 2.25rem;
        padding: 0.25rem 0.5rem;
        background: #252c3d;
        border-radius: 0.5rem; */
        display: none;
    }
    
    .promo-input{
        padding: 0.75rem;
        font-size: 0.9375rem;
    }
    
    .promo-btn{
        padding: 0.75rem;
        font-size: 0.875rem;
        font-weight: 500;
    }
    
    .promo-close{
        width: 28px;
        height: 28px;
        right: 6px;
        top: 6px;
    }
    
    .promo-close::before,
    .promo-close::after{
        width: 14px;
    }
}