
.hdr__drop { display: flex; align-items: center; }
.hdr__drop > a::before { content: ""; position: absolute; left: -24px; right: -24px; top: 100%; height: 48px; }
.mega {
  position: absolute; top: calc(100% - 10px); left: 50%; z-index: 120;
  width: min(1040px, calc(100vw - 2 * var(--gut, 24px)));
  transform: translate(-50%, 6px);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .2s, transform .25s var(--ease, ease), visibility 0s .25s;
}
.hdr__drop:hover .mega,
.hdr__drop:focus-within .mega {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0);
  transition: opacity .2s, transform .25s var(--ease, ease), visibility 0s;
}
.mega__in {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px;
  padding: 28px 32px 30px; border-radius: 18px;
  background: #fff; color: #002244;
  border: 1px solid rgba(0, 34, 68, .08);
  box-shadow: 0 24px 60px -24px rgba(0, 34, 68, .35);
}
.hdr .mega a { opacity: 1; padding: 0; }
.hdr .mega a::after { display: none; }
.mega__g {
  display: flex; align-items: baseline; gap: 10px; min-height: 36px; margin-bottom: 10px;
  padding-bottom: 10px !important; border-bottom: 1px solid rgba(0, 34, 68, .1);
  font-family: "IBM Plex Serif", Georgia, serif; font-size: 19px; font-weight: 400; color: #002244;
}
.mega__g i { font-style: normal; font-family: "IBM Plex Mono", monospace; font-size: 12px; color: #1A7A7A; }
.mega__g:hover { color: #1A7A7A; }
.mega ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.mega li a {
  display: block; padding: 6px 0 !important;
  font-size: 14px; font-weight: 400; line-height: 1.35; color: #2A4A6E;
  transition: color .15s;
}
.mega li a:hover, .mega li a:focus-visible { color: #1A7A7A; text-decoration: underline; text-underline-offset: 3px; }
.mega a:focus-visible { outline: 2px solid #1A7A7A; outline-offset: 2px; border-radius: 4px; }

@media (max-width: 1000px) { .mega { display: none; } }
@media (prefers-reduced-motion: reduce) { .mega, .hdr__drop:hover .mega, .hdr__drop:focus-within .mega { transition: none; } }

.hdr__nav > a, .hdr__drop > a { white-space: nowrap; }
@media (max-width: 1100px) { .hdr__nav { gap: 18px; } }
.hdr__nav > a[aria-current="page"] { opacity: 1; }
.hdr__nav > a[aria-current="page"]::after { transform: scaleX(1); }

.mega__t { margin: -4px 0 12px; font-size: 13px; line-height: 1.4; color: #5A7189; }
.mega__sec + .mega__sec { margin-top: 14px; }
.mega__h { margin: 0 0 6px; font-family: "IBM Plex Mono", monospace; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #1A7A7A; }
@media (max-width: 1240px) { .hdr__nav { gap: 16px; font-size: 14px; } }
@media (max-width: 1100px) { .hdr__nav { gap: 11px; font-size: 13.5px; } }
