/* Крупное меню с индивидуальным выделением пунктов. */
.header .nav { gap: 4px; }
.header .nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 14px;
  border-radius: 13px;
  color: #302139;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -.025em;
  transition: color .18s ease, background-color .18s ease, box-shadow .18s ease;
}
.header .nav a:hover, .header .nav a:focus-visible {
  color: var(--accent-700);
  background: #e9ddef;
  box-shadow: inset 0 -2px 0 #b789c7;
}
.header .nav a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.header .nav a.is-active { color: var(--accent-700); background: #ede4f2; font-weight: 600; }
.header .nav a.is-active::after { left: 14px; right: 14px; bottom: 6px; height: 2px; }
@media (max-width:1240px) and (min-width:1051px) {
  .header--unified .header__inner { gap: 14px; }
  .header--unified .header__wing { gap: 12px; }
  .header .nav a { padding-inline: 9px; }
}
@media (prefers-reduced-motion:reduce) { .header .nav a { transition: none; } }
