p,
h1,
h2,
h3,
h4,
h5,
h6{
    margin: 0;
    padding: 0;
    font-weight: 400;
}
html{
    box-sizing: border-box;
    scroll-behavior: smooth;
    overflow-x: hidden;
}
*{outline:none;}
*,
*::before,
*::after{
    box-sizing: inherit;
}
body{
    overflow-x: hidden;
    font-family: 'Manrope', sans-serif;
}
a{
    text-decoration: none;
}
ul{
    list-style: none;
    padding: 0;
    margin: 0;
}
.btn{
    border: 2px solid #005DAC;
    background: #FFFFFF;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 600;
    font-size: 15px;
    color: #005DAC;
    position: relative;
    transition: all 0.3s;
}
.btn:hover{
    color: #fff !important;
    background: #005DAC;
}
.btnTwo{
    background: #005DAC;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 600;
    font-size: 15px;
    color: #FFFFFF;
    line-height: 28px;
    transition: all 0.3s;
}
.btnTwo:hover{
    background: #005095;
}
.btn.arrow::after{
    position: relative;
    content: "";
    background-image: url(../img/arrow_link.svg);
    background-size: cover;
    width: 16px;
    height: 14px;
    margin-left: 20px;
    display: block;
    transition: all 0.3s;
}
.btn.arrow:hover::after{
    background-image: url(../img/arrow_link2.svg);
}
.container{
    max-width: 1350px;
    margin: 0 auto;
    padding: 0 15px;
}
.header_top{
    padding: 30px 0 20px;
    border-bottom: 1px solid #F0F0F0;
}
.header_top-wrapper{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.header_top-left{
    display: flex;
    align-items: center;
}
.header_adres{
    font-size: 12px;
    line-height: 22px;
    color: #11172D;
    font-weight: 600;
    margin-right: 106px;
    position: relative;
    padding-left: 16px;
    cursor: default;
}
.header_adres::before{
    position: absolute;
    content: "";
    background-image: url(../img/map.svg);
    background-size: cover;
    width: 10px;
    height: 13px;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}
.header_top-menu{
    display: flex;
}
.header_top-menu a{
    font-size: 13px;
    color: #11172D;
    line-height: 26px;
    display: block;
    margin-right: 30px;
    transition: all 0.3s;
}
.header_top-menu a:hover{
    color: #005DAC;
}
.header_top-right{
    display: flex;
    align-items: center;
}
.header_search{
    display: flex;
    width: 135px;
    align-items: center;
    justify-content: space-between;
    margin-right: 50px;
}
.header_search-btn{
    width: 18px;
    height: 18px;
    cursor: pointer;
    border: none;
    background: none;
    background-image: url(../img/search.svg);
    background-size: cover;
    padding: 0;
}
.header_search-inp{
    width: 105px;
    background: none !important;
    border: none !important;
    font-size: 13px;
}
.header_btn{
    height: 38px;
    width: 185px;
    font-size: 13px!important;
    display: none !important;
}
.header_bot{
    padding-top: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.header_bot-left{
    display: flex;
    align-items: center;
}
.header_logo{
    display: flex;
    margin-right: 70px;
}
.menu{
    display: flex;
}
.menu a{
    font-weight: 600;
    font-size: 18px;
    color: #11172D;
    margin-right: 48px;
    line-height: 28px;
    transition: all 0.3s;
}
.menu a:hover{
    color: #005DAC;
}
.header_number{
    font-size: 24px;
    color: #11172D;
    line-height: 24px;
    position: relative;
    padding-left: 33px;
}
.header_number::before{
    position: absolute;
    content: "";
    background-image: url(../img/phone.svg);
    background-size: cover;
    width: 22px;
    height: 22px;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}
.header_top-menu a.mobile{
    display: none;
}
/* Подписи групп нужны только в мобильном меню — в верхней строке
   десктопа они выглядели бы как лишние пункты «Услуги», «Цены» и т.д. */
.header_top-menu .menu-group{
    display: none;
}
/* То же с кнопкой аудита: она лежит внутри списка меню ради мобильной
   раскладки. На десктопе её роль играет .header_audit-btn--desktop справа,
   а здесь скрываем именно <li> — у самой ссылки правило
   `.header_audit-btn--mobile { display: none }` проигрывает по весу
   селектору `.header_top-menu a { display: block }`, и кнопка вылезала
   второй красной плашкой в верхнюю строку. */
.header_top-menu .menu-audit{
    display: none;
}
.menu_burger{
    display: none;
}
.header_top .main_messages{
    display: none;
}

.header_audit-btn {
    height: 38px;
    padding: 0 14px;
    font-size: 13px;
    font-weight: 700;
    background: #F34441;
    color: #fff !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    white-space: nowrap;
    transition: background 0.3s;
    margin-right: 12px;
    line-height: 1;
}
.header_audit-btn:hover {
    background: #c62e2c;
    color: #fff !important;
    animation: none;
}
@keyframes auditPulse {
    0%   { box-shadow: 0 0 0 0 rgba(243,68,65,0.7); }
    70%  { box-shadow: 0 0 0 10px rgba(243,68,65,0); }
    100% { box-shadow: 0 0 0 0 rgba(243,68,65,0); }
}
.header_audit-btn {
    animation: auditPulse 1.8s ease-in-out infinite;
}
.header_audit-btn--mobile {
    display: none;
}
.header_audit-btn--desktop {
    display: inline-flex;
    height: 48px;
    padding: 0 28px;
    font-size: 16px;
    border-radius: 6px;
    margin-right: 32px;
}



@media(max-width:1350px){
    .header_top-menu li:last-child a{
        margin-right: 0;
    }
    .header_adres{
        margin-right: 50px;
    }
    .menu li:last-child a{
        margin-right: 0;
    }
    .menu a{
        margin-right: 30px;
    }
}
@media(max-width:1200px){
    .header_search{
        margin-right: 20px;
    }
    .header_adres{
        margin-right: 30px;
    }
    .header_top-menu a{
        margin-right: 30px;
    }
    .header_logo{
        margin-right: 40px;
    }
    .header_number {
        font-size: 20px;
    }
    .menu a {
        margin-right: 18px;
    }
}
@media(max-width:991.98px){
    .header_audit-btn--desktop {
        display: none !important;
    }
    .header_audit-btn--mobile {
        display: flex;
        width: calc(100% - 32px);
        max-width: 320px;
        height: 42px;
        border-radius: 10px;
        font-size: 14px;
        font-weight: 700;
        margin: 8px auto 6px;
        padding: 0 16px;
        order: -1;
        align-self: center;
    }

    .header_top-menu a.mobile{
        display: block;
    }
    .menu{
        display: none;
    }
    .header_adres{
        display: none;
    }
    .header_top{
        position: fixed;
        width: 100%;
        height: calc(100% - 101px);
        opacity: 0;
        top: 101px;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 40px;
        visibility: hidden;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        background: linear-gradient(180deg, #ffffff 0%, #f0f4f8 100%);
        border: none;
        transform: translateY(-15px);
    }
    .header_top.active{
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    .header_top-wrapper{
        flex-direction: column;
        padding-top: 10px;
    }
    .header_top-menu{
        flex-direction: column;
        text-align: left;
        align-items: stretch;
        margin-bottom: 10px;
        padding: 0 5px;
    }
    .header_top-menu li {
        border-bottom: 1px solid rgba(0, 93, 172, 0.08);
    }
    .header_top-menu li:last-child {
        border-bottom: none;
    }
    .header_top-menu a{
        margin-right: 0;
        margin-bottom: 0;
        font-size: 15px;
        font-weight: 600;
        color: #1a2540;
        padding: 9px 14px;
        border-radius: 10px;
        transition: all 0.25s ease;
        display: flex;
        align-items: center;
        position: relative;
    }
    .header_top-menu a::before {
        content: '';
        width: 4px;
        height: 4px;
        border-radius: 50%;
        background: #005DAC;
        margin-right: 10px;
        flex-shrink: 0;
        opacity: 0.4;
        transition: all 0.25s ease;
    }
    .header_top-menu a:hover,
    .header_top-menu a:active {
        background: rgba(0, 93, 172, 0.08);
        color: #005DAC;
        padding-left: 20px;
    }
    .header_top-menu a:hover::before,
    .header_top-menu a:active::before {
        opacity: 1;
        width: 6px;
        height: 6px;
        box-shadow: 0 0 8px rgba(0, 93, 172, 0.4);
    }
    .header_search{
        margin-right: 0;
        margin-bottom: 12px;
        width: 100%;
        max-width: 320px;
        background: #fff;
        border: 2px solid #e8edf3;
        border-radius: 10px;
        padding: 7px 14px;
        transition: border-color 0.3s ease, box-shadow 0.3s ease;
    }
    .header_search:focus-within {
        border-color: #005DAC;
        box-shadow: 0 0 0 3px rgba(0, 93, 172, 0.12);
    }
    .header_search-inp{
        width: calc(100% - 30px);
        font-size: 15px;
    }
    .header_top-right{
        flex-direction: column;
        align-items: center;
    }
    .header_top-right .header_btn {
        display: flex !important;
        width: 100%;
        max-width: 320px;
        height: 42px;
        border-radius: 10px;
        font-size: 14px;
        font-weight: 700;
        background: #005DAC;
        color: #fff;
        border: none;
        box-shadow: 0 4px 15px rgba(0, 93, 172, 0.3);
        transition: all 0.3s ease;
    }
    .header_top-right .header_btn:hover {
        background: #004a8a;
        box-shadow: 0 6px 20px rgba(0, 93, 172, 0.4);
        transform: translateY(-1px);
    }
    .header{
        position: fixed;
        z-index: 10;
        width: 100%;
        top: 0;
        right: 0;
        background-color: #fff;
        box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    }
    .header_bot{
        padding: 15px 0;
    }
    .header_logo{
        width: 140px;
    }
    .header_logo img{
        width: 100%;
        height: 100%;
    }
    .header_number{
        margin-right: 60px;
    }
    .header_bot{
        position: relative;
    }
    .menu_burger{
        display: block;
        width: 28px;
        height: 22px;
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        cursor: pointer;
    }
    .menu_burger::before{
        position: absolute;
        content: "";
        width: 100%;
        height: 2.5px;
        background-color: #005DAC;
        border-radius: 3px;
        top: 0;
        right: 0;
        transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .menu_burger.active::before{
        transform: rotate(45deg);
        top: 10px;
        background-color: #e74c3c;
    }
    .menu_burger::after{
        position: absolute;
        content: "";
        width: 60%;
        height: 2.5px;
        background-color: #005DAC;
        border-radius: 3px;
        bottom: 0;
        right: 0;
        transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .menu_burger.active::after{
        width: 100%;
        transform: rotate(-45deg);
        bottom: 10px;
        background-color: #e74c3c;
    }
    .menu_burger span{
        position: absolute;
        content: "";
        width: 80%;
        height: 2.5px;
        background-color: #005DAC;
        border-radius: 3px;
        top: 10px;
        right: 0;
        transition: all 0.25s ease;
    }
    .menu_burger.active span{
        transform: scale(0);
        opacity: 0;
    }
    .header_top .main_messages{
        display: flex;
        flex-direction: row;
        position: relative;
        transform: none;
        top: auto;
        bottom: auto;
        left: auto;
        margin-top: 25px;
        gap: 12px;
    }
    .header_top .main_messages .main_message {
        width: 44px;
        height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #fff;
        border-radius: 12px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
        transition: all 0.25s ease;
    }
    .header_top .main_messages .main_message:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }
    
}
@media (max-width: 767.98px){
    .header_logo{
        width: 120px;
        margin-right: 0;
    }
    .header_number{
        font-size: 0;
    }
    .header_top{
        top: 90px;
    }
    .site-content2{
		padding-top: 90px;
    }
    
}

@media(max-width:991.98px){
    .header_adres{
        display: block;
        order: 1;
        margin-right: 0;
        background: linear-gradient(135deg, #005DAC, #0074d9);
        color: #fff;
        padding: 6px 14px;
        border-radius: 8px;
        font-size: 12px;
        font-weight: 600;
        text-align: center;
    }
    .header_adres::before{
        filter: brightness(0) invert(1);
    }
    .header_top-menu{
        margin-bottom: 6px;
    }
    .header_top-left{
        flex-direction: column;
        align-items: center;
        margin-bottom: 12px;
    }
    /* Воздух между фикс-шапкой и первым блоком на страницах со скрытым entry-header
       (например, плашка-предупреждение на /prodvizhenie-sajtov-...-kejsy/). */
    .fraud-warning{
        margin-top: 40px !important;
    }
}

/* === Компактная липкая CTA-панель (десктоп, появляется при прокрутке) === */
.sticky-cta{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 2px 16px rgba(0,0,0,0.1);
    z-index: 999;
    transform: translateY(-100%);
    transition: transform 0.35s ease;
}
.sticky-cta.visible{ transform: translateY(0); }
.sticky-cta__inner{
    max-width: 1240px;
    margin: 0 auto;
    padding: 10px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.sticky-cta__brand{
    font-size: 18px;
    font-weight: 700;
    color: #11172D;
    text-decoration: none;
    white-space: nowrap;
}
.sticky-cta__brand-seo{ color: #005DAC; font-weight: 800; }
.sticky-cta__brand b{ color: #005DAC; }
.sticky-cta__right{ display: flex; align-items: center; gap: 22px; }
.sticky-cta__phone{
    font-size: 17px;
    font-weight: 700;
    color: #11172D;
    text-decoration: none;
    white-space: nowrap;
}
.sticky-cta__btn{
    background: #F34441;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    padding: 11px 26px;
    border-radius: 50px;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s, box-shadow 0.2s;
}
.sticky-cta__btn:hover{ background: #c62e2c; box-shadow: 0 6px 20px rgba(243,68,65,0.35); }
@media(max-width:991.98px){ .sticky-cta{ display: none !important; } }

/* ============================================================
   ВЕРХНЯЯ СТРОКА НА УЗКОМ ДЕСКТОПЕ (17.08.2026)
   На ширинах 992–1200 содержимое строки не помещалось: меню услуг
   занимает 749px, дальше кнопка аудита и поиск — правый край поиска
   уходил на 1220px при экране 1024, поле обрезалось.
   Ужимать шрифты и отступы бессмысленно: у шести пунктов меню
   margin-right 30px, сжатие до 12px даёт 108px из нужных ~200,
   и любое новое слово в меню снова ломает строку.
   Поэтому разрешаем перенос: услуги остаются наверху, кнопка
   с поиском уходят на вторую строку и прижимаются вправо.
   ============================================================ */
@media (min-width: 992px) and (max-width: 1200px) {
    .header_top-wrapper {
        flex-wrap: wrap;
        row-gap: 12px;
    }
    /* Селектор с родителем обязателен: в style.css (грузится позже этого файла)
       у .header_top-left стоит `flex: 1 1 auto; justify-content: center` с тем
       же весом, и одиночный класс ему проигрывал — перенос получался
       случайным, а меню уезжало в середину строки. */
    .header_top-wrapper .header_top-left {
        flex: 1 1 100%;
        justify-content: flex-start;
    }
    .header_top-wrapper .header_top-right {
        flex: 0 0 auto;
        margin-left: auto;
    }
    /* Отступ справа у поиска на второй строке не нужен — он крайний */
    .header_search {
        margin-right: 0;
    }
}

/* ============================================================
   ЗОНЫ НАЖАТИЯ НА СМАРТФОНЕ (17.08.2026)
   Кликабельные области были заметно меньше подушечки пальца:
   телефон в шапке 33×24, иконка поиска 16×18, бургер 28×22.
   Видимый размер не трогаем — расширяем область нажатия
   прозрачным ::after, отцентрованным по элементу.
   Размеры подобраны под соседей: телефон стоит в 32px от бургера,
   зоны 44px не пересекаются (телефон 261–305, бургер 324–368).
   ============================================================ */
.header_number,
.header_search-btn {
    position: relative;
}
.header_number::after,
.header_search-btn::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    /* только зона нажатия, на вид не влияет */
    background: transparent;
}
@media (min-width: 992px) {
    /* На десктопе курсором попадают точно — лишние зоны там ни к чему,
       а у поиска они перекрыли бы поле ввода. */
    .header_number::after,
    .header_search-btn::after {
        content: none;
    }
}

/* Бургер — особый случай: его ::after занят, это третья полоска (а в
   раскрытом виде — вторая линия крестика). Поэтому зону нажатия делаем
   не псевдоэлементом, а размером самого блока: 28×22 → 44×44.
   Полоски прижаты к правому краю (right: 0), так что по горизонтали
   рисунок не съезжает. По вертикали блок центрирован через
   translateY(-50%) — центр на месте, но полоски привязаны к краям
   (top/bottom), и их приходится сдвинуть на выросшие 11px с каждой
   стороны. Ширины переводим из процентов в пиксели: от 44px проценты
   дали бы полоски шире прежних (44/35/26 вместо 28/22/17). */
@media (max-width: 991.98px) {
    .menu_burger {
        width: 44px;
        height: 44px;
    }
    .menu_burger::before { top: 11px;    width: 28px; }
    .menu_burger span    { top: 21px;    width: 22px; }
    .menu_burger::after  { bottom: 11px; width: 17px; }
    .menu_burger.active::before { top: 21px; }
    .menu_burger.active::after  { bottom: 21px; width: 28px; }
}

/* ============================================================
   МОБИЛЬНОЕ МЕНЮ: всё на одном экране (17.08.2026)
   Было: 14 пунктов в один столбец, высота содержимого 964px при
   743px доступных — «Сотрудничество», поиск по сайту и кнопка
   консультации уходили под нижний край, посетитель их не видел
   и не догадывался прокручивать.
   Стало: три группы с подписями, внутри сетка в два столбца.
   Считанная высота ~700px — влезает целиком, прокрутка не нужна.
   ============================================================ */
@media (max-width: 991.98px) {
    .header_top-menu {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 6px;
        padding: 0 12px;
        margin-bottom: 12px;
    }
    /* Подпись группы занимает всю ширину сетки */
    .header_top-menu .menu-group {
        display: block;
        grid-column: 1 / -1;
        border-bottom: none;
        font-size: 11px;
        font-weight: 800;
        letter-spacing: 0.09em;
        text-transform: uppercase;
        color: #8792AB;
        padding: 8px 2px 2px;
    }
    /* Разделители между пунктами больше не нужны: пункты стали карточками */
    .header_top-menu li {
        border-bottom: none;
    }
    .header_top-menu a {
        min-height: 44px;
        padding: 8px 10px;
        font-size: 13.5px;
        line-height: 1.25;
        background: #fff;
        border: 1px solid #E4ECF5;
        border-radius: 10px;
        justify-content: flex-start;
        box-shadow: 0 1px 4px rgba(17, 23, 45, 0.04);
    }
    /* Точка-маркер в сетке лишняя — она съедала 14px ширины у каждого
       пункта, из-за чего длинные названия переносились в три строки. */
    .header_top-menu a::before {
        display: none;
    }
    .header_top-menu a:hover,
    .header_top-menu a:active {
        background: #EEF4FC;
        border-color: #005DAC;
        color: #005DAC;
        padding-left: 10px;
    }
}

/* На невысоких экранах (iPhone SE и подобные — под меню остаётся ~570px)
   сжимаем шаг: иначе последняя группа снова уходит за край. */
@media (max-width: 991.98px) and (max-height: 740px) {
    .header_top-menu {
        gap: 5px;
    }
    .header_top-menu .menu-group {
        font-size: 10.5px;
        padding: 5px 2px 1px;
    }
    .header_top-menu a {
        min-height: 38px;
        font-size: 13px;
        padding: 6px 9px;
    }
    .header_audit-btn--mobile {
        height: 38px;
        margin: 6px auto 4px;
    }
    .header_top-right .header_btn {
        height: 38px;
    }
    .header_search {
        margin-bottom: 8px;
        padding: 5px 12px;
    }
    .header_top {
        padding-bottom: 14px;
    }
}

/* Добор высоты, чтобы меню целиком уложилось в экран (17.08.2026).
   После перехода на сетку содержимое ушло с 964 до 803px при 717
   доступных. Дальше резать пункты нельзя — пострадают зоны нажатия,
   поэтому убираем то, что в меню не нужно:
     • иконки соцсетей — они продублированы в подвале сайта;
     • запас padding-bottom, он был рассчитан на длинный скролл.
   Итог ~700px: видно всё, от кнопки аудита до поиска и консультации. */
@media (max-width: 991.98px) {
    .header_top .main_messages {
        display: none;
    }
    .header_top {
        padding-bottom: 16px;
    }
    .header_top-wrapper .header_top-left {
        margin-bottom: 6px;
        /* Блок flex-элемент и по умолчанию сжимался по содержимому:
           сетка выходила 317px против 336px у кнопок. */
        width: 100%;
    }
}

/* Выравнивание меню по одной сетке (17.08.2026).
   Пункты занимают всю ширину за вычетом 24px, а кнопка аудита, поиск
   и «Получить консультацию» были зажаты в 320px — на 390px экране
   разница в 46px бросалась в глаза, блок выглядел как два разных меню.
   Плюс у .header_top оставался padding-top: 30px от десктопной строки —
   46px пустоты под шапкой, которых внизу как раз не хватало. */
@media (max-width: 991.98px) {
    .header_top {
        padding-top: 6px;
    }
    .header_top-wrapper .header_audit-btn--mobile,
    .header_top-wrapper .header_search,
    .header_top-right .header_btn {
        width: calc(100% - 24px);
        max-width: none;
    }
    .header_top-right {
        width: 100%;
    }
}

/* Низкие экраны (iPhone SE и подобные, под меню ~566px) — 17.08.2026.
   Даже со сжатым шагом содержимое выходило на 612px. Вместо того чтобы
   что-то прятать, ставим поиск и кнопку консультации в один ряд:
   освобождается ~46px, все 14 пунктов и оба действия остаются на месте. */
@media (max-width: 991.98px) and (max-height: 740px) {
    .header_top-right {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 6px;
        align-items: center;
        padding: 0 12px;
    }
    .header_top-wrapper .header_search,
    .header_top-right .header_btn {
        width: 100%;
        margin: 0;
    }
    /* В половину ширины надпись «Получить консультацию» не влезала в одну
       строку и вылезала за пределы кнопки — разрешаем перенос и растим
       высоту по содержимому. */
    .header_top-right .header_btn {
        height: auto;
        min-height: 38px;
        font-size: 12px;
        line-height: 1.15;
        padding: 6px 8px;
        text-align: center;
    }
    .header_top-menu a {
        min-height: 36px;
    }
    /* Подпись в поиске длинная, в половину ширины она обрезалась
       многоточием — на узкой раскладке хватит короткого слова. */
    .header_search-inp::placeholder {
        font-size: 13px;
    }
}

/* ============================================================
   МОБИЛЬНОЕ МЕНЮ: единое семейство кнопок (17.08.2026)
   Замечания владельца по первой версии:
     • кнопка чата (#cw-toggle, левый низ, 24px от края и 140px от
       низа) накрывала поле поиска — поднимаем открытое меню над
       виджетами, саму кнопку чата не трогаем;
     • пункты выглядели как поля ввода, а не как кнопки;
     • красная плашка «Бесплатный аудит сайта» на всю ширину
       читалась как заголовок для списка под ней;
     • подписи групп были слишком бледные.
   Решение: одна форма для всех — радиус 12, высота, жирность,
   стрелка справа. Различается только цвет: главное действие
   синей заливкой, обычные пункты белые, консультация — контурная.
   ============================================================ */
.header.menu-open {
    z-index: 1000001;
}

@media (max-width: 991.98px) {
    /* --- подпись группы: было 11px светло-серым, почти не читалось --- */
    .header_top-menu .menu-group {
        font-size: 13px;
        letter-spacing: 0.06em;
        color: #11172D;
        padding: 12px 2px 6px;
        display: flex;
        align-items: center;
        gap: 8px;
    }
    .header_top-menu .menu-group span {
        flex: 0 0 auto;
    }
    /* линия вправо от подписи — отделяет группы, не занимая высоты */
    .header_top-menu .menu-group::after {
        content: "";
        flex: 1 1 auto;
        height: 1px;
        background: linear-gradient(90deg, #C9DCF0, rgba(201, 220, 240, 0));
    }

    /* --- обычный пункт: кнопка, а не поле ввода --- */
    .header_top-menu a {
        background: #fff;
        border: 1.5px solid #D6E4F5;
        border-radius: 12px;
        font-weight: 700;
        color: #11172D;
        padding-right: 20px;
        box-shadow: 0 2px 0 #E7EFF9;
        position: relative;
    }
    /* стрелка — подсказка, что это переход, а не поле для ввода */
    .header_top-menu a::after {
        content: "›";
        position: absolute;
        right: 8px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 18px;
        line-height: 1;
        font-weight: 700;
        color: #9FB2CC;
    }
    .header_top-menu a:hover,
    .header_top-menu a:active {
        background: #005DAC;
        border-color: #005DAC;
        color: #fff;
        box-shadow: none;
        transform: translateY(1px);
        padding-left: 10px;
    }
    .header_top-menu a:hover::after,
    .header_top-menu a:active::after {
        color: #fff;
    }

    /* --- главное действие: та же форма, акцентный цвет --- */
    .header_top-wrapper .header_audit-btn--mobile {
        background: #005DAC;
        border: 1.5px solid #005DAC;
        border-radius: 12px;
        font-size: 14.5px;
        font-weight: 800;
        box-shadow: 0 2px 0 #003D72;
        /* пульсация на всю ширину экрана в меню только мешает */
        animation: none;
    }
    .header_top-wrapper .header_audit-btn--mobile:hover {
        background: #004a8a;
    }

    /* --- вторичное действие: контурная кнопка того же семейства --- */
    .header_top-right .header_btn {
        background: #fff !important;
        border: 1.5px solid #005DAC;
        border-radius: 12px;
        color: #005DAC !important;
        font-weight: 700;
        box-shadow: 0 2px 0 #E7EFF9;
    }
    .header_top-right .header_btn:hover {
        background: #005DAC !important;
        color: #fff !important;
        box-shadow: none;
    }

    /* --- поиск: тот же радиус и рамка, чтобы не выбивался --- */
    .header_top-wrapper .header_search {
        border-radius: 12px;
        border: 1.5px solid #D6E4F5;
    }
}

/* Компенсация высоты после укрупнения подписей (17.08.2026).
   Заголовки групп стали заметнее и забрали ~42px — возвращаем их
   за счёт шага сетки и нижнего отступа, чтобы меню по-прежнему
   умещалось в один экран без прокрутки. */
@media (max-width: 991.98px) {
    .header_top-menu {
        gap: 4px;
    }
    .header_top-menu .menu-group {
        padding: 9px 2px 4px;
    }
    .header_top-menu a {
        min-height: 38px;
    }
    .header_top {
        padding-bottom: 4px;
    }
}

/* Стрелка у длинных названий («Купить SEO статьи», «Сотрудничество»)
   подходила к тексту вплотную. Ширину колонки не увеличить — их две,
   поэтому чуть уменьшаем текст и поджимаем саму стрелку к краю. */
@media (max-width: 991.98px) {
    .header_top-menu a {
        font-size: 13px;
        padding-right: 22px;
    }
    .header_top-menu a::after {
        right: 6px;
        font-size: 16px;
    }
}

/* Низкие экраны с новым оформлением: подписи групп и рамки кнопок
   добавили высоты, содержимое стало 586px при 566 доступных.
   Уменьшаем шаг ещё на 20px — пункты остаются 34px, это по-прежнему
   крупнее исходных 28px строки текста. */
@media (max-width: 991.98px) and (max-height: 740px) {
    .header_top-menu a {
        min-height: 34px;
        font-size: 12.5px;
    }
    .header_top-menu .menu-group {
        padding: 6px 2px 3px;
        font-size: 12px;
    }
}

/* ============================================================
   МЕНЮ: все кнопки синие, аудит внутри группы «Услуги» (17.08.2026)
   По правкам владельца: кнопка аудита переехала в разметке под
   подпись «Услуги» (первым элементом сетки, во всю ширину), а
   остальные пункты выкрашены в тот же синий — раньше белые пункты
   рядом с цветной кнопкой выглядели как поля, а не как кнопки.
   ============================================================ */
@media (max-width: 991.98px) {
    /* кнопка аудита — первый элемент сетки на всю ширину */
    .header_top-menu .menu-audit {
        display: block;
        grid-column: 1 / -1;
        border-bottom: none;
    }
    .header_top-menu .menu-audit .header_audit-btn--mobile {
        display: flex;
        width: 100%;
        max-width: none;
        margin: 0 0 2px;
        height: auto;
        min-height: 42px;
        order: 0;
        align-self: stretch;
    }

    /* все пункты — синие, как главное действие */
    .header_top-menu a {
        background: #005DAC;
        border-color: #005DAC;
        color: #fff;
        box-shadow: 0 2px 0 #003D72;
    }
    .header_top-menu a::after {
        color: rgba(255, 255, 255, 0.75);
    }
    .header_top-menu a:hover,
    .header_top-menu a:active {
        background: #004a8a;
        border-color: #004a8a;
        color: #fff;
        box-shadow: none;
    }

    /* «Получить консультацию» — тот же синий */
    .header_top-right .header_btn {
        background: #005DAC !important;
        border-color: #005DAC;
        color: #fff !important;
        box-shadow: 0 2px 0 #003D72;
    }
    .header_top-right .header_btn:hover {
        background: #004a8a !important;
    }

    /* Поиск остаётся светлым: это поле для ввода, а не кнопка —
       синяя заливка здесь мешала бы понять, что сюда пишут. */
    .header_top-wrapper .header_search {
        background: #fff;
        border-color: #A9C8E6;
    }
}

/* ============================================================
   МЕНЮ: синими остаются только ободки (17.08.2026)
   Сплошная синяя заливка всех 14 пунктов оказалась слишком тяжёлой.
   Оставляем белые кнопки с синей рамкой и тёмным текстом; синим
   выделено только главное действие — «Бесплатный аудит сайта».
   ============================================================ */
@media (max-width: 991.98px) {
    .header_top-menu a {
        background: #fff;
        border-color: #005DAC;
        color: #11172D;
        box-shadow: 0 2px 0 #E3EDF8;
    }
    .header_top-menu a::after {
        color: #005DAC;
    }
    /* нажатие — заливка, чтобы палец видел отклик */
    .header_top-menu a:hover,
    .header_top-menu a:active {
        background: #005DAC;
        border-color: #005DAC;
        color: #fff;
        box-shadow: none;
    }
    .header_top-menu a:hover::after,
    .header_top-menu a:active::after {
        color: #fff;
    }

    /* главное действие оставляем залитым — оно одно на весь экран */
    .header_top-menu .menu-audit .header_audit-btn--mobile {
        background: #005DAC;
        border-color: #005DAC;
        color: #fff !important;
        box-shadow: 0 2px 0 #003D72;
    }

    /* вторичное действие — тоже контурное */
    .header_top-right .header_btn {
        background: #fff !important;
        border-color: #005DAC;
        color: #005DAC !important;
        box-shadow: 0 2px 0 #E3EDF8;
    }
    .header_top-right .header_btn:hover {
        background: #005DAC !important;
        color: #fff !important;
        box-shadow: none;
    }
}
