.site-header.mc-header {
  --mc-header-ink: #0c1b33;
  --mc-header-muted: #4d5f72;
  --mc-header-mint: #77d6ad;
  position: sticky;
  inset: 0 0 auto;
  z-index: 80;
  height: auto;
  color: var(--mc-header-ink);
  background: #f7fbff;
  border-bottom: 1px solid #d7e3f0;
}
.mc-header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(calc(100% - 48px), 1200px);
  min-height: 72px;
  margin-inline: auto;
}
.mc-header .mc-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  color: var(--mc-header-ink);
  text-decoration: none;
}
.mc-brand-mark {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  border: 2px solid var(--mc-header-ink);
  border-radius: 50% 50% 45% 55%;
  background: var(--mc-header-mint);
  transform: rotate(-7deg);
  font-size: .875rem;
  font-weight: 900;
}
.mc-brand-meta { display: grid; gap: 2px; line-height: 1.15; }
.mc-brand-meta strong { font-size: .88rem; }
.mc-brand-meta small { color: var(--mc-header-muted); font-size: .7rem; }

.mc-header nav {
  display: flex;
  align-items: center;
  gap: clamp(6px, 2.4vw, 30px);
  margin: 0;
}
.mc-header .mc-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 0 10px;
  border-radius: 8px;
  color: var(--mc-header-ink);
  font: 750 .92rem/1.3 Inter, "Segoe UI", Arial, sans-serif;
  text-decoration: none;
  white-space: nowrap;
}
.mc-header .mc-nav-link:hover, .mc-header .mc-nav-link[aria-current] {
  color: #164e9f;
  background: #e7f1fd;
}
.mc-header a:focus-visible, .mc-header summary:focus-visible {
  outline: 2px solid #1957b7;
  outline-offset: 3px;
}
.mc-services-menu { position: relative; margin: 0; }
.mc-header .mc-services-menu summary { cursor: pointer; list-style: none; }
.mc-services-menu summary::-webkit-details-marker { display: none; }
.mc-services-menu summary::after {
  content: "";
  display: block;
  width: 6px;
  height: 6px;
  margin-top: -3px;
  border: solid currentColor;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}
.mc-services-menu[open] summary {
  color: #164e9f;
  background: #e7f1fd;
}
.mc-services-menu[open] summary::after {
  margin-top: 3px;
  transform: rotate(225deg);
}
.mc-header .mc-service-links {
  box-sizing: border-box;
  position: absolute;
  top: calc(100% + 5px);
  right: 0;
  width: min(21rem, calc(100vw - 24px));
  margin: 0;
  padding: 7px;
  border: 1px solid #cfdfef;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 14px 36px #0c1b3329;
  list-style: none;
}
.mc-header .mc-service-links li { margin: 0; padding: 0; }
.mc-header .mc-service-links a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 9px 12px;
  border-radius: 8px;
  color: var(--mc-header-ink);
  font: 700 .88rem/1.35 Inter, "Segoe UI", Arial, sans-serif;
  text-decoration: none;
}
.mc-header .mc-service-links a:hover,
.mc-header .mc-service-links a[aria-current="page"] { background: #eaf3ff; }
.mc-header .mc-service-links li:last-child {
  margin-top: 3px;
  padding-top: 3px;
  border-top: 1px solid #d7e3f0;
}
.mc-header .mc-service-links li:last-child a { color: #164e9f; }

@media (max-width: 580px) {
  .mc-header-inner { width: calc(100% - 24px); min-height: 62px; gap: 8px; }
  .mc-brand-mark { width: 36px; height: 36px; }
  .mc-brand-meta small { display: none; }
  .mc-header nav { gap: 4px; }
  .mc-header .mc-nav-link { padding: 0 7px; font-size: .83rem; }
  .mc-services-menu { position: static; }
  .mc-header .mc-service-links { top: calc(100% - 1px); right: 0; width: min(21rem, 100%); }
}
@media (max-width: 385px) {
  .mc-brand-meta { display: none; }
}
