html {
  scroll-padding-top: 76px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
  padding-inline: max(clamp(20px, 3.2vw, 44px), calc((100% - 1190px) / 2));
  background: #fffffff5;
  border-bottom: 1px solid #dfe3e8;
  backdrop-filter: blur(14px);
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.8vw, 30px);
  color: #151925;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
}

.site-header nav a:not(.header-contact):is(:hover, :focus-visible) {
  color: #132bb8;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.header-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 7px 13px;
  border-radius: 7px;
  background: #2448ff;
  color: #fff;
}

.header-contact:is(:hover, :focus-visible) {
  background: #132bb8;
}

.menu-toggle {
  display: none;
}

@media (max-width: 800px) {
  html {
    scroll-padding-top: 68px;
  }

  .site-header {
    min-height: 64px;
  }

  .menu-toggle {
    display: block;
    min-height: 40px;
    padding: 6px 11px;
    border: 1px solid #dfe3e8;
    border-radius: 6px;
    background: #fff;
    color: #151925;
    font: inherit;
    font-size: 14px;
  }

  .site-header nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px 20px 16px;
    background: #fff;
    box-shadow: 0 14px 20px #14182315;
  }

  .site-header nav.open {
    display: flex;
  }

  .site-header nav a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 8px 12px;
  }
}
