/* hheader, mmenu - цена за минимизацию переопределения */
.hheader,
.hheader *,
.mobile-mmenu,
.mobile-mmenu * {
    font-family: Manrope, sans-serif !important;
    box-sizing: border-box;
}

.hheader {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 100;
}

.hheader__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 100px;
    max-width: 100% !important;
}

.hheader__logo {
    flex-shrink: 0;
    line-height: 0;
    display: inline-block;
    text-decoration: none;
}
.hheader__logo-img {
    display: block;
    width: 151px;
    height: 57px;
    object-fit: contain;
}

.hheader__nav {
    flex: 1;
    display: flex;
    justify-content: center;
}
.hheader__mmenu {
    display: flex;
    list-style: none;
    gap: 32px;
    margin: 0;
    padding: 0;
}

.hheader__mmenu ul {
}

.hheader__mmenu-item {
    position: relative;
    list-style: none;
    margin-top: 0 !important;
}
.hheader__mmenu-item > a {
    font-size: 16px !important;
    font-weight: 500;
    color: #1f2937;
    text-decoration: none;
    padding: 8px 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
    white-space: nowrap;
}

.hheader__mmenu-item > a:hover {
    color: #88A2B3 !important;/*#88A2B3*/
    text-decoration: none !important;
}

.hheader__mmenu-item--has-submmenu > a::after {
    content: url("https://bim-info.ru/upload/main/icons/ar_bot.svg");
    height: 6px;
    width: 12px;
    display: inline-block;
    line-height: 0.3;
    transition: none;
}

.hheader__submmenu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    min-width: 180px;
    list-style: none;
    padding: 12px 0;
    margin: 8px 0 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
    z-index: 150;
    border-bottom: 1px solid black;
    border-left: 1px solid black;
}
.hheader__mmenu-item--has-submmenu:hover .hheader__submmenu {
    opacity: 1;
    visibility: visible;
}
.hheader__submmenu li {
    list-style: none;
    margin: 0 !important;
}
.hheader__submmenu li a {
    display: block;
    padding: 6px 20px;
    font-size: 16px !important;
    color: #374151;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    outline:none !important;
}
.hheader__submmenu li a:hover {
    background: #f3f4f6;
    color: #88A2B3 !important; /* #2563eb; */
}
.hheader__submmenu li a:focus,
.hheader__mmenu a:focus,
{
    outline:none !important;
    outline-color: transparent !important;
}
a {
    -webkit-tap-highlight-color: transparent !important;
    outline: none !important;
}
a:focus,
{
    outline:none !important;
    outline-color: transparent !important;
}
.hheader__phone {
    font-size: 18px !important;
    line-height: 125%;
    font-weight: 500;
    color: #1e293b !important;
    text-decoration: none;
    white-space: nowrap;
    width: 170px !important;
}
.hheader__phone:hover {
    color: #88A2B3 !important;
    text-decoration: none;
}

.hheader__button {
    background: #169FB2;
    border: none;
    border-radius: 3px;
    padding: 10px 24px;
    font-size: 16px !important;
    font-weight: 600;
    color: white;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}
.hheader__button:hover {
    background: #54C8D9;
    color: white;
    text-decoration: none;
}

.hheader__burger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 22px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 110;
}
.hheader__burger span {
    width: 100%;
    height: 2.5px;
    background-color: #1f2937;
    border-radius: 2px;
}

/* ========== МОБИЛЬНОЕ МЕНЮ (OVERLAY) ========== */
.mobile-mmenu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    z-index: 1000;
    display: none;
    flex-direction: column;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.mobile-mmenu--open {
    display: flex;
    opacity: 1;
}
.mobile-mmenu__inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 20px 20px 32px 20px !important;
    margin: 0 !important;
    overflow-y: auto;
    position: relative;
}
.mobile-mmenu__hheader {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 0 40px 0 !important;
}
.mobile-mmenu__logo {
    flex-shrink: 0;
    line-height: 0;
}
.mobile-mmenu__logo-img {
    width: 81px;
    height: 30px;
    object-fit: contain;
}
.mobile-mmenu__close {
    background: transparent;
    border: none;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    color: #1f2937;
    padding: 8px 0 8px 8px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.mobile-mmenu__nav {
    flex: 1;
}
.mobile-mmenu__list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0;
    padding: 0;
}
.mobile-mmenu__list .mobile-mmenu__item {
    list-style: none;
    border-bottom: none;
    padding-bottom: 0;
}
.mobile-mmenu__item {
    position: relative;
}
.mobile-mmenu__item > a {
    font-size: 18px;
    color: #111827;
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
}


.mobile-mmenu__chevron {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
    width: 12px;
    height: 6px;
}
.mobile-mmenu__chevron img {
    width: 12px;
    height: 6px;
    display: block;
}
.mobile-mmenu__chevron--rotated {
    transform: rotate(180deg);
}
.mobile-mmenu__submmenu {
    list-style: none;
    margin-top: 16px;
    margin-left: 20px;
    display: none;
    flex-direction: column;
    gap: 6px;
    padding: 0;
}
.mobile-mmenu__submmenu--open {
    display: flex;
}
.mobile-mmenu__submmenu li {
    list-style: none;
}
.mobile-mmenu__submmenu li a {
    font-size: 18px;
    color: #4b5563;
    text-decoration: none;
    padding: 6px 0 6px 6px;
    display: block;
}

.mobile-mmenu__footer {
    margin-top: auto;
    padding-top: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}
.mobile-mmenu__button {
    background: #169FB2;
    border: none;
    border-radius: 3px;
    padding: 14px 20px;
    font-size: 18px;
    font-weight: 500;
    color: white;
    cursor: pointer;
    width: 100%;
    text-align: center;
}
.mobile-mmenu__phone, .mobile-mmenu__email {
    font-size: 18px;
    font-weight: 500;
    text-decoration: none;
    color: #1f2937 !important;
    display: inline-block;
}
.mobile-mmenu__socials {
    display: flex;
    gap: 8px !important;
    justify-content: center;
    margin-top: 8px;
}
.mobile-mmenu__social-icon {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    color: #1f2937;
    transition: background 0.2s;
}

/* ========== МЕДИАЗАПРОСЫ ========== */
@media (max-width: 1023px) {
    .hheader__container {
        padding: 12px 16px;
        justify-content: flex-start;
    }
    .hheader__nav,
    .hheader__button {
        display: none;
    }
    .hheader__burger {
        display: flex;
    }
    .hheader__phone {
        margin-left: auto;
        margin-right: 16px;
    }
}

@media (min-width: 1024px) and (max-width: 1399px) {
    .hheader__container {
        padding: 20px 30px;
    }
    .hheader__mmenu {
        gap: 16px;
    }
}

@media (max-width: 767px) {
    .hheader__logo-img {
        width: 81px;
        height: 30px;
    }
    .hheader__phone {
        font-size: 14px !important;
        line-height: 120%;
        margin-right: 12px;
    }
    .mobile-mmenu__inner {
        padding: 16px 20px 28px;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .hheader__logo-img {
        width: 151px;
        height: 57px;
    }
    .hheader__phone {
        font-size: 18px !important;
        line-height: 125%;
        margin-right: 16px;
    }
    .mobile-mmenu__logo-img {
        width: 120px;
        height: auto;
    }
}

@media (min-width: 1024px) {
    .hheader__burger {
        display: none !important;
    }
    .mobile-mmenu {
        display: none !important;
    }
    .hheader__phone {
        margin-right: 0;
    }
    .hheader__nav {
        flex: 0 0 auto;
        margin-left: auto;
        margin-right: 20px;
        justify-content: flex-end;
    }
}

@media (width < 1180px) {
    .hheader__button {
        display: none;
    }
}

/* Дополнительная изоляция: отключаем влияние сторонних стилей на списки и кнопки */
.hheader ul, .hheader ol, .mobile-mmenu ul, .mobile-mmenu ol {
    margin: 0;
    padding: 0;
    list-style: none;
}
.hheader button, .mobile-mmenu button {
    font-family: inherit;
}


@media screen and (min-width: 300px) and (max-width: 600px) {
    #main_banner .social-icons_block {
        padding-bottom: 0 !important;
        padding-top: 0 !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }
    #main_banner .social-icons_block a{
        padding-bottom: 0 !important;
        padding-top: 0 !important;
        margin-top: 0 !important;
        margin-bottom: 20px !important;
    }

    #main_banner{
        min-height: -moz-calc(100vh - 50px) !important;
        min-height: calc(100vh - 50px) !important;
        height: -moz-calc(100vh - 50px) !important;
        height: calc(100vh - 50px) !important;
    }
}


@media screen and (min-width: 601px) and (max-width: 3600px) {
    #main_banner{
        min-height: -moz-calc(100vh - 90px) !important;
        min-height: calc(100vh - 90px) !important;
        height: -moz-calc(100vh - 90px) !important;
        height: calc(100vh - 90px) !important;
    }
}

.SmartCaptcha-Shield.SmartCaptcha-Shield_position_bottom {
    bottom: 6px !important;
}