.header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(28px, 3.7vw, 64px) var(--content-inset) 0;
}

.header__logo img,
.footer__logo img {
  width: auto;
  height: 48px;
  object-fit: contain;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.2vw, 39px);
}

.header__link {
  color: var(--color-white);
  font-size: 19px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
}

.header__link--jobs {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.header__count {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  background: url("../assets/icons/jobs-badge.svg") center / contain no-repeat;
  color: var(--color-ink);
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
}

.header__toggle {
  display: none;
  border: 0;
  border-radius: 999px;
  background: var(--color-yellow);
  color: var(--color-ink);
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 10px 16px;
  text-transform: uppercase;
}

@media (max-width: 860px) {
  .header__toggle {
    display: inline-flex;
  }

  .header__nav {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    right: var(--page-pad);
    left: var(--page-pad);
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 22px;
    border-radius: 18px;
    background: rgba(20, 37, 92, 0.96);
  }

  .header__nav.is-open {
    display: flex;
  }
}
