.menu-toggle{display:none}
.mobile-actions{display:none}
.menu-backdrop{position:fixed;inset:0;z-index:49;background:rgba(10,30,43,.32)}
.menu-backdrop[hidden]{display:none}
header a:focus-visible,.menu-toggle:focus-visible{outline:3px solid var(--primary);outline-offset:4px}
section[id]{scroll-margin-top:88px}
.form-grid>*{min-width:0}
.form-grid input,.form-grid select,.form-grid textarea{min-width:0;max-width:100%}
@media(max-width:980px){
  header{box-shadow:0 4px 24px rgba(14,42,59,.05)}
  header .nav{position:relative;height:auto;min-height:76px;flex-wrap:wrap;gap:0 12px}
  header .logo{max-width:calc(100% - 252px);margin:14px 0}
  header .mobile-actions{display:flex;align-items:center;gap:8px}
  header .mobile-contact{font-size:13px;padding:10px 12px;min-height:44px;white-space:nowrap;border-radius:12px;box-shadow:0 3px 9px rgba(23,121,165,.15)}
  header .logo img{height:auto;max-height:32px;width:auto}
  header .menu-toggle{position:relative;display:inline-flex;align-items:center;gap:9px;min-height:44px;padding:8px 12px;background:#F2F6F8;border:1px solid #E4ECF0;border-radius:12px;color:var(--navy);font-family:inherit;font-size:15px;font-weight:600;cursor:pointer}
  .menu-toggle svg{width:20px;height:20px;transition:transform 260ms cubic-bezier(.2,.8,.2,1),opacity 180ms ease}
  .menu-toggle::before,.menu-toggle::after{content:"";position:absolute;left:12px;top:50%;width:18px;height:2px;border-radius:2px;background:currentColor;opacity:0;transform:rotate(0);transition:transform 260ms cubic-bezier(.2,.8,.2,1),opacity 180ms ease}
  .menu-toggle[aria-expanded="true"]{background:var(--navy);color:#fff;border-color:var(--navy)}
  .menu-toggle[aria-expanded="true"] svg{opacity:0;transform:rotate(90deg) scale(.7)}
  .menu-toggle[aria-expanded="true"]::before{opacity:1;transform:rotate(45deg)}
  .menu-toggle[aria-expanded="true"]::after{opacity:1;transform:rotate(-45deg)}
  .menu-toggle[hidden]{display:none}
  header #main-navigation{position:absolute;top:calc(100% + 10px);left:12px;right:12px;width:auto;padding:14px;max-height:calc(100dvh - 108px);overflow-y:auto;overscroll-behavior:contain;background:#fff;border:1px solid #E4ECF0;border-radius:20px;box-shadow:0 24px 60px rgba(8,28,42,.18),0 4px 12px rgba(8,28,42,.06);transform-origin:top center}
  header #main-navigation[hidden]{display:none}
  header #main-navigation ul{display:flex;flex-direction:column;align-items:stretch;gap:5px}
  header #main-navigation ul li{display:block}
  header #main-navigation a{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 16px;min-height:56px;border-radius:12px;font-size:1.04rem;font-weight:600;color:var(--navy);letter-spacing:-.2px}
  header #main-navigation a::after{content:"";width:7px;height:7px;border-top:1.5px solid currentColor;border-right:1.5px solid currentColor;transform:rotate(45deg);opacity:.35;flex-shrink:0}
  header #main-navigation a:hover{background:#F4F8FA}
  header #main-navigation a[aria-current="page"]{background:var(--primary-light);color:var(--primary-dark)}
  header #main-navigation a[aria-current="page"]::after{opacity:1}
  header #main-navigation .nav-cta{display:none}
  header #main-navigation .btn{text-align:center;color:#fff}
  header #main-navigation .btn:hover{background:#11628A}
}
@media(max-width:600px){
  header .logo{max-width:calc(100% - 194px)}
  header .menu-toggle{padding:10px;min-width:44px;justify-content:center}
  .menu-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
}
@media(max-width:360px){
  header .logo{max-width:100%;margin-bottom:8px}
  header .mobile-actions{width:100%;justify-content:space-between;padding-bottom:12px}
  header #main-navigation{max-height:calc(100dvh - 154px)}
  section[id]{scroll-margin-top:136px}
}
@media(prefers-reduced-motion:reduce){
  .menu-toggle svg,.menu-toggle::before,.menu-toggle::after{transition:none}
}
