.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;

  background: rgba(14, 22, 30, 0.94);
  border-bottom: 1px solid rgba(1, 164, 128, 0.14);
  backdrop-filter: blur(14px);
}

.site-header__container {
  width: 100%;
  max-width: 1180px;
  height: 72px;
  margin: 0 auto;
  padding: 0 20px;

  display: flex;
  align-items: center;
  gap: 28px;
}

.site-header__logo {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  max-width: 170px;
  max-height: 46px;

  color: #fff;
  font-size: 24px;
  font-weight: 900;
  text-decoration: none;
}

.site-header__logo img {
  display: block;
  max-width: 170px;
  max-height: 42px;
}

.site-header__nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.site-header__menu {
  display: flex;
  align-items: center;
  gap: 28px;

  margin: 0;
  padding: 0;
  list-style: none;
}

.site-header__menu a {
  position: relative;

  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;

  transition: color 0.2s ease;
}

.site-header__menu a:hover {
  color: var(--accent-2);
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-header__btn {
  position: relative;
  overflow: hidden;

  min-height: 40px;
  padding: 10px 18px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border-radius: 999px;

  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.site-header__btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;

  width: 80%;
  height: 100%;

  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);

  transform: skewX(-22deg);
}

.site-header__btn:hover::before {
  animation: header-btn-shine 0.65s ease;
}

.site-header__btn:hover {
  transform: translateY(-2px);
}

.site-header__btn--ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.site-header__btn--ghost:hover {
  border-color: rgba(1, 164, 128, 0.42);
  box-shadow: 0 0 18px rgba(1, 164, 128, 0.12);
}

.site-header__btn--primary {
  color: #fff;
  background: linear-gradient(180deg, var(--accent-2), var(--accent));
  border: 1px solid rgba(1, 164, 128, 0.55);
  box-shadow: 0 10px 22px rgba(1, 164, 128, 0.18);
}

.site-header__btn--primary:hover {
  background: linear-gradient(180deg, #05c69e, var(--accent));
  box-shadow: 0 14px 30px rgba(1, 164, 128, 0.24);
}

.site-header__burger {
  display: none;

  width: 42px;
  height: 42px;
  padding: 0;

  border: 0;
  border-radius: 12px;

  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.site-header__burger span {
  width: 18px;
  height: 2px;
  margin: 4px auto;

  display: block;

  background: #fff;
  border-radius: 10px;

  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

body.menu-open .site-header__burger span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

body.menu-open .site-header__burger span:nth-child(2) {
  opacity: 0;
}

body.menu-open .site-header__burger span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: 72px 0 0;
  z-index: 9998;

  background: rgba(14, 22, 30, 0.98);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition:
    opacity 0.2s ease,
    visibility 0.2s ease;
}

body.menu-open .mobile-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-menu__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 32px 20px;
}

.mobile-menu__list {
  display: grid;
  gap: 18px;

  margin: 0;
  padding: 0;
  list-style: none;
}

.mobile-menu__list a {
  color: #fff;
  font-size: 24px;
  font-weight: 900;
  text-decoration: none;
}

.mobile-menu__actions {
  margin-top: 32px;
  display: grid;
  gap: 12px;
}

.mobile-menu__actions .site-header__btn {
  width: 100%;
  min-height: 48px;
}

@keyframes header-btn-shine {
  from {
    left: -120%;
  }

  to {
    left: 140%;
  }
}

@media (max-width: 768px) {
  .site-header__container {
    height: 64px;
    padding: 0 10px;
    justify-content: flex-start;
    gap: 8px;
  }

  .site-header__logo {
    flex: 0 1 82px;
    max-width: 82px;
    font-size: 16px;
    overflow: hidden;
  }

  .site-header__logo img {
    max-width: 82px;
    max-height: 28px;
  }

  .site-header__nav {
    display: none;
  }

  .site-header__actions {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
  }

  .site-header__btn {
    min-height: 34px;
    padding: 7px 9px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0;
  }

  .site-header__burger {
    display: block;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
  }

  .mobile-menu {
    inset: 64px 0 0;
  }

  .mobile-menu__actions {
    display: none;
  }

  .mobile-menu__inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    width: 100%;
    height: calc(100vh - 64px);

    padding: 20px;
  }
  .mobile-menu__nav {
    width: 100%;
  }

  .mobile-menu__list {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 34px;

    margin: 0;
    padding: 0;

    list-style: none;
    text-align: center;
  }

  .mobile-menu__list a {
    display: inline-block;

    font-size: 30px;
    font-weight: 900;
    line-height: 1;
  }
}
