.lfb-header {
    --lfb-accent: #96c11f;
    position: relative;
    z-index: 30;
    flex: none;
    height: 76px;
    display: grid;
    grid-template-columns: minmax(215px, 1fr) auto minmax(215px, 1fr);
    align-items: center;
    gap: clamp(14px, 2vw, 32px);
    padding: 0 clamp(24px, 4vw, 62px);
    border-bottom: 1px solid #e7e7e7;
    background: #fff;
    color: #202428;
    font: 700 12px/1.3 Inter, system-ui, sans-serif;
}

.lfb-header a { color: inherit; text-decoration: none; }
.lfb-header :focus-visible { outline: 2px solid #557018; outline-offset: 3px; }
.lfb-logo { display: block; width: 215px; max-width: 100%; }
.lfb-logo img { display: block; width: 100%; height: auto; }
.lfb-nav { display: flex; align-items: center; gap: clamp(18px, 2.25vw, 42px); height: 100%; white-space: nowrap; }
.lfb-nav a { position: relative; display: flex; align-items: center; height: 100%; }
.lfb-nav a::after { position: absolute; inset: auto 0 18px; height: 3px; border-radius: 99px; background: var(--lfb-accent); content: ''; opacity: 0; }
.lfb-nav a:hover::after, .lfb-nav a[aria-current]::after { opacity: 1; }
.lfb-header-actions { display: flex; align-items: center; gap: 12px; justify-self: end; }
.lfb-phone { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 38px; padding-inline: 12px; border: 1px solid #a5a9ac; border-radius: 8px; white-space: nowrap; }
.lfb-header svg { display: block; width: 17px; height: 17px; flex: none; }
.lfb-header details { position: relative; }
.lfb-header summary { display: flex; align-items: center; justify-content: center; gap: 5px; min-height: 44px; list-style: none; cursor: pointer; }
.lfb-header summary::-webkit-details-marker { display: none; }
.lfb-header details:not([open]) > .lfb-nav-panel { display: none; }
.lfb-nav-panel { position: absolute; inset: calc(100% + 7px) 0 auto auto; display: grid; width: max-content; max-width: min(290px, calc(100vw - 30px)); padding: 8px; border: 1px solid #e3e5e6; border-radius: 10px; background: #fff; box-shadow: 0 14px 32px #20242822; }
.lfb-nav-panel a { display: flex; align-items: center; gap: 2px; padding: 8px 12px; min-height: 44px; border-radius: 6px; }
.lfb-nav-panel a:hover, .lfb-nav-panel a[aria-current] { background: #f0f6de; }
.lfb-menu { display: none; }

@media (max-width: 1150px) {
    .lfb-header { grid-template-columns: minmax(190px, 1fr) auto minmax(190px, 1fr); padding-inline: 24px; }
    .lfb-logo { width: 190px; }
    .lfb-nav { gap: 14px; }
}

@media (max-width: 930px) {
    .lfb-header { height: 68px; grid-template-columns: minmax(0, 1fr) auto; }
    .lfb-nav { display: none; }
    .lfb-menu { display: block; }
    .lfb-menu summary { width: 44px; border: 1px solid #d8dadd; border-radius: 8px; }
    .lfb-menu summary svg { width: 22px; height: 22px; }
}

@media (max-width: 560px) {
    .lfb-header { height: 64px; padding-inline: 15px; gap: 8px; }
    .lfb-logo { width: 172px; }
    .lfb-header-actions { gap: 6px; }
    .lfb-phone { width: 44px; min-height: 44px; padding: 0; }
    .lfb-phone span { display: none; }
    .lfb-language summary { min-width: 42px; }
}

@media (min-width: 931px) and (max-height: 740px) {
    .lfb-header { height: clamp(56px, 9.4dvh, 68px); }
    .lfb-nav a::after { bottom: 12px; }
}
