.wm { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; padding: 0 clamp(20px, 4vw, 56px); background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; font-family: Manrope, system-ui, sans-serif; transition: border-color .3s; }
.wm.is-stuck { border-bottom-color: rgba(18, 20, 28, .1); }
.wm__logo { display: block; flex: none; }
.wm__logo img { display: block; width: auto; height: 30px; }
.wm__links { position: absolute; left: 50%; transform: translateX(-50%); display: flex; gap: 2px; }
.wm__links a { padding: 10px 13px; border-radius: 8px; color: #5A6070; font-size: 15px; font-weight: 700; text-decoration: none; white-space: nowrap; transition: color .2s, background .2s; }
.wm__links a:hover, .wm__links a[aria-current="page"] { color: #12141C; background: rgba(18, 20, 28, .06); }
.wm__cta { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 10px; background: #1F4FD8; color: #fff; font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap; transition: background .2s; }
.wm__cta:hover { background: #173FB0; }
.wm__burger, .wm-menu__close { display: none; position: relative; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: rgba(18, 20, 28, .06); cursor: pointer; }
.wm__burger span, .wm-menu__close span { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: #12141C; }
.wm__burger span:first-child { top: 18px; }
.wm__burger span:last-child { top: 25px; }
.wm a:focus-visible, .wm button:focus-visible, .wm-menu a:focus-visible, .wm-menu button:focus-visible { outline: 2px solid #1F4FD8; outline-offset: 3px; }

html:has(.wm-menu[open]) { overflow: hidden; }
.wm-menu { position: fixed; inset: 0; width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0; overflow-y: auto; background: #fff; color: #12141C; font-family: Manrope, system-ui, sans-serif; }
.wm-menu[open] { display: flex; flex-direction: column; animation: wmIn .25s ease-out; }
.wm-menu::backdrop { background: #fff; }
@keyframes wmIn { from { opacity: 0; } to { opacity: 1; } }
.wm-menu__top { display: flex; align-items: center; justify-content: space-between; height: 72px; padding: 0 clamp(20px, 4vw, 56px); }
.wm-menu__close { display: block; flex: none; }
.wm-menu__close span { top: 21px; }
.wm-menu__close span:first-child { transform: rotate(45deg); }
.wm-menu__close span:last-child { transform: rotate(-45deg); }
.wm-menu__links { display: grid; padding: 12px clamp(20px, 4vw, 56px) 24px; }
.wm-menu__links a { display: flex; align-items: center; justify-content: space-between; min-height: 64px; border-bottom: 1px solid rgba(18, 20, 28, .12); color: inherit; font-size: 24px; font-weight: 800; letter-spacing: -.03em; text-decoration: none; }
.wm-menu__links a:first-child { border-top: 1px solid rgba(18, 20, 28, .12); }
.wm-menu__links svg { flex: none; color: #8A909C; transition: transform .3s, color .2s; }
.wm-menu__links a:hover svg, .wm-menu__links a[aria-current="page"] svg { color: #1F4FD8; }
.wm-menu__links a:hover svg { transform: translateX(4px); }
.wm-menu__foot { display: grid; gap: 8px; margin-top: auto; padding: 12px clamp(20px, 4vw, 56px) max(22px, env(safe-area-inset-bottom, 0px)); }
.wm-menu__foot .wm__cta { justify-content: center; min-height: 54px; font-size: 16px; }
.wm-menu__mail { display: flex; align-items: center; justify-content: center; min-height: 44px; color: #5A6070; font-size: 15px; text-decoration: none; }

@media (max-width: 1180px) {
  .wm__links, .wm > .wm__cta { display: none; }
  .wm__burger { display: block; }
}
@media (prefers-reduced-motion: reduce) { .wm-menu[open] { animation: none; } }
