/* =====================================================
   CW-HEADER — новая шапка каталога проектов
   ===================================================== */

/* Скрываем старые блоки шапки */
header .header-block { display: none !important; }

/* Новая шапка */
.cw-header {
    background: #fff;
    border-bottom: 1px solid #eee;
    height: 76px;
    position: sticky;
    top: 0;
    z-index: 200;
    display: flex !important;
    align-items: center;
}

.cw-header__inner {
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 25px;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 20px;
    box-sizing: border-box;
}

/* Лого */
.cw-header__logo { flex-shrink: 0; display: block; }
.cw-header__logo img { height: 70px; width: auto; display: block; }

/* Навигация */
.cw-header__nav { flex: 1; min-width: 0; }
.cw-header__nav .navMenu {
    display: flex !important;
    gap: 0 !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    justify-content: center !important;
    flex-wrap: nowrap !important;
}
.cw-header__nav .navMenu__item { list-style: none; }
.cw-header__nav .navMenu__link {
    font-size: 14px !important;
    color: #666 !important;
    letter-spacing: .1px !important;
    transition: color .2s !important;
    white-space: nowrap !important;
    text-decoration: none !important;
    padding: 6px 9px !important;
    border-radius: 6px !important;
    display: block !important;
    font-weight: 400 !important;
    text-transform: none!important;
}
.cw-header__nav .navMenu__link:hover {
    color: #2b2b2b !important;
    font-weight: 500 !important;
}
.cw-header__nav .navMenu__link.active {
    color: #2b2b2b !important;
    font-weight: 600 !important;
}

/* Контакты */
.cw-header__contacts {
    display: flex !important;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

/* Соцсети */
.cw-header__soc { display: flex; gap: 6px; }
.cw-header__soc-btn {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity .2s;
    flex-shrink: 0;
}
.cw-header__soc-btn:hover { opacity: .82; }
.cw-header__soc-btn--max {
    background: linear-gradient(135deg, #44ccff 0%, #5533ee 60%, #9933dd 100%);
}
.cw-header__soc-btn--tg { background: #2aabee; }

/* Телефон */
.cw-header__tel {
    font-size: 14px;
    font-weight: 600;
    color: #2b2b2b;
    white-space: nowrap;
    text-decoration: none;
    transition: color .18s;
}
.cw-header__tel:hover { color: #f6b73e; }

/* Кнопка «Заказать звонок» */
.cw-header__call {
    background: #ffdb72 !important;
    border: none !important;
    padding: 8px 14px !important;
    border-radius: 8px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #2b2b2b !important;
    cursor: pointer !important;
    white-space: nowrap !important;
    transition: background .18s !important;
    font-family: inherit !important;
    letter-spacing: .3px !important;
    text-decoration: none !important;
    display: inline-block !important;
}
.cw-header__call:hover {
    background: #f6b73e !important;
    color: #2b2b2b !important;
}

/* Бургер внутри новой шапки */
.cw-header .toggle-menu-mobile { cursor: pointer; }

/* Десктоп — показываем навигацию и контакты до 1200px */
@media (max-width: 1199px) {
    .cw-header__nav { display: none !important; }
    .cw-header__contacts { display: none !important; }
}

/* Мобилка — скрываем d-lg-none/d-none через bootstrap перебиваем */
@media (min-width: 1200px) {
    .cw-header .d-lg-none { display: none !important; }
    .cw-header .d-none { display: flex !important; }
    .cw-header .d-md-none { display: none !important; }
}

@media (max-width: 1199px) {
    .cw-header .d-none.d-md-block { display: none !important; }
    .cw-header .d-none.cw-header__nav { display: none !important; }
    .cw-header .d-lg-none { display: block !important; }
    .cw-header .top-nav__cantactsModal { display: flex !important; }
}

/* ===== END CW-HEADER ===== */


/* Мобильные кнопки вместе */
.cw-header__mobile-btns {
    display: none;
    align-items: center;
    gap: 10px;
}

@media (max-width: 1199px) {
    .cw-header__mobile-btns { display: flex !important; }
}