:root {
  --hed-bg: #232323;
  --hed-txt: #b8b8b8;
  --hed-acc: #ccff00;
  --hed-rad: 20px;
}

.heder {
  padding: 16px var(--site-side) 0;
}

.heder__bar {
  max-width: var(--site-max);
  margin: 0 auto;
  min-height: 64px;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--hed-bg);
  border-radius: var(--hed-rad);
}

.heder__nav {
  display: flex;
  align-items: center;
  gap: 56px;
}

.heder__lnk {
  color: var(--hed-txt);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.heder__lnk:hover,
.heder__lnk.is-active {
  color: var(--hed-acc);
}

.heder__logo,
.heder__logo-mob {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.heder__logo-mob {
  display: none;
}

.hed-logo {
  display: block;
  width: 48px;
  height: auto;
  object-fit: contain;
}

.heder__burg {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.heder__burg span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.heder__ovrl {
  position: fixed;
  inset: 0;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.heder__ovrl.is-opn {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.heder__mob {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  background: #cccbcb;
  transform: translateY(-12px);
  transition: transform 0.3s ease;
}

.heder__ovrl.is-opn .heder__mob {
  transform: translateY(0);
}

body.menu-opn .heder__burg span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

body.menu-opn .heder__burg span:nth-child(2) {
  opacity: 0;
}

body.menu-opn .heder__burg span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.heder__mob-hdr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  padding: 14px 18px;
  background: var(--hed-bg);
}

.heder__mob-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.heder__mob-brand .hed-logo {
  width: 44px;
}

.hed-mob-txt {
  display: block;
  width: 130px;
  height: auto;
}

.heder__cls {
  border: none;
  background: transparent;
  color: #ffffff;
  font-size: 36px;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
}

.heder__mob-body {
  flex: 1;
  padding: 28px 22px 16px;
  overflow-y: auto;
}

.heder__mob-ttl {
  margin: 0 0 22px;
  padding-bottom: 10px;
  border-bottom: 5px solid #1a1a1a;
  max-width: 85%;
  font-size: 24px;
  font-weight: 900;
  text-transform: uppercase;
  color: #1a1a1a;
  letter-spacing: 0.02em;
}

.heder__mob-lst {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.heder__mob-lst a {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 20px;
  font-weight: 800;
  text-transform: uppercase;
  color: #1a1a1a;
  letter-spacing: 0.02em;
}

.heder__mob-lst a::before {
  content: '';
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #1a1a1a;
  flex-shrink: 0;
}

.heder__mob-lst a.is-active {
  color: #e85d3b;
}

.heder__mob-lst li:has(a[hidden]) {
  display: none;
}

.heder__mob-sep {
  margin-top: 32px;
  height: 3px;
  background: rgba(0, 0, 0, 0.12);
  border-radius: 2px;
}

#hed-mob-fut {
  flex-shrink: 0;
}

body.menu-opn {
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .heder__ovrl,
  .heder__mob,
  .heder__burg span {
    transition: none;
  }
}

@media (max-width: 811px) {
  .heder {
    padding: 16px 14px 0;
  }

  .heder__bar {
    justify-content: space-between;
    max-width: 100%;
    padding: 0 20px;
    border-radius: 20px;
  }

  .heder__logo-mob {
    display: flex;
  }

  .heder__nav {
    display: none;
  }

  .heder__burg {
    display: flex;
  }
}

@media (max-width: 811px) and (orientation: landscape) {
  .heder {
    padding: 12px 14px 0;
  }

  .heder__bar {
    min-height: 56px;
    padding: 0 24px;
  }

  .hed-logo {
    width: 42px;
  }

  .heder__mob-body {
    padding: 20px 14px 12px;
  }

  .heder__mob-ttl {
    font-size: 20px;
    margin-bottom: 16px;
  }

  .heder__mob-lst {
    gap: 16px;
  }

  .heder__mob-lst a {
    font-size: 17px;
  }
}
