/* BM014C_HEADER — Header and navigation refinement */

.bm-site-header {
    background: #fff;
    border-bottom: 1px solid #e5ebe7;
}

.bm-header-inner {
    min-height: 90px;
    gap: 24px;
}

.bm-logo {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.bm-logo img {
    display: block;
    width: 150px;
    max-height: 86px;
    height: auto;
    object-fit: contain;
}

.bm-navigation {
    gap: clamp(14px, 1.6vw, 25px);
}

.bm-navigation a {
    font-size: 14px;
    white-space: nowrap;
    transition: color .2s ease;
}

.bm-navigation .bm-nav-quote {
    padding: 12px 20px;
    color: #fff;
    border-radius: 6px;
}

.bm-navigation .bm-nav-quote:hover {
    background: #005b2a;
    color: #fff;
}

.bm-navigation a:focus-visible,
.bm-menu-toggle:focus-visible,
.bm-logo:focus-visible {
    outline: 3px solid #39a65c;
    outline-offset: 4px;
}

@media (max-width: 1000px) {

    .bm-header-inner {
        min-height: 82px;
    }

    .bm-logo img {
        width: 135px;
        max-height: 76px;
    }

    .bm-menu-toggle {
        width: 46px;
        height: 46px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 5px;
        border-radius: 6px;
        border: 1px solid #dce7df;
    }

    .bm-menu-toggle:hover {
        background: #f0f7f2;
    }

    .bm-navigation {
        padding: 12px 5% 20px;
        border-bottom: 3px solid #008b3d;
        gap: 0;
    }

    .bm-navigation a {
        display: block;
        width: 100%;
        font-size: 15px;
        padding: 15px 12px;
        border-bottom: 1px solid #edf0ee;
        white-space: normal;
    }

    .bm-navigation a:hover,
    .bm-navigation a:focus-visible {
        background: #f1f8f3;
    }

    .bm-navigation .bm-nav-quote {
        display: block;
        width: 100%;
        text-align: center;
        margin-top: 14px;
        padding: 15px 20px;
    }

    .bm-menu-toggle[aria-expanded="true"] {
        background: #f0f7f2;
        border-color: #008b3d;
    }
}

@media (max-width: 700px) {

    .bm-header-inner {
        min-height: 72px;
    }

    .bm-logo img {
        width: 120px;
        max-height: 66px;
    }

    .bm-navigation {
        max-height: calc(100dvh - 72px);
        overflow-y: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bm-navigation a {
        transition: none;
    }
}
