/* ==============================
   Header Base
============================== */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 9999;

  background: linear-gradient(180deg, #0d0e0f 0%, #070707 100%);
  border-bottom: 1px solid rgba(246, 189, 59, 0.16);

  box-shadow: none;
  backdrop-filter: blur(12px);
}

/* ==============================
   Header Container
============================== */

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

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

/* ==============================
   Logo
============================== */

.site-header__logo {
  flex: 0 0 auto;

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

  max-width: 180px;
  max-height: 48px;

  color: #ffe18a;
  font-size: 24px;
  font-weight: 950;
  letter-spacing: -0.04em;
  text-decoration: none;
}

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

/* ==============================
   Navigation
============================== */

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

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

  margin: 0;
  padding: 0;

  list-style: none;
}

.site-header__menu a {
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;

  transition: 0.2s ease;
}

.site-header__menu a::after {
  display: none;
}

.site-header__menu a:hover {
  color: #ffe18a;
}

/* ==============================
   Buttons
============================== */

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

.site-header__btn {
  min-width: 118px;
  min-height: 38px;
  padding: 0 18px;

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

  border-radius: 12px;

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

  transition: 0.2s ease;
}

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

.site-header__btn--ghost {
  color: #ffe18a;
  background: transparent;
  border: 1px solid rgba(246, 189, 59, 0.28);
}

.site-header__btn--ghost:hover {
  background: rgba(246, 189, 59, 0.07);
  border-color: rgba(246, 189, 59, 0.46);
}

.site-header__btn--primary {
  color: #120d05;
  background: linear-gradient(135deg, #ffe18a 0%, #f6bd3b 100%);
  border: 1px solid rgba(255, 230, 145, 0.62);

  box-shadow:
    0 10px 26px rgba(246, 189, 59, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.site-header__btn--primary:hover {
  box-shadow:
    0 14px 34px rgba(246, 189, 59, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.54);
}

/* ==============================
   Burger
============================== */

.site-header__burger {
  display: none;

  width: 40px;
  height: 40px;
  padding: 0;

  border: 1px solid rgba(246, 189, 59, 0.24);
  border-radius: 12px;

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

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

  display: block;

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

  transition: 0.22s 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
============================== */

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

  background: linear-gradient(180deg, rgba(13, 14, 15, 0.98), rgba(7, 7, 7, 0.99));

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

  transition: 0.22s ease;
}

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

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

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

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

  margin: 0;
  padding: 0;

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

.mobile-menu__list a {
  color: #f8f8f8;
  font-size: 30px;
  font-weight: 900;
  text-decoration: none;
  transition: 0.22s ease;
}

.mobile-menu__list a:hover {
  color: #ffe18a;
}

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

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

/* ==============================
   Responsive
============================== */

@media (max-width: 900px) {
  .site-header__container {
    height: 72px;
    gap: 10px;
  }

  .site-header__nav {
    display: none;
  }

  .site-header__actions {
    margin-left: auto;
    gap: 8px;
  }

  .site-header__burger {
    display: block;
    flex: 0 0 40px;
  }
    .mobile-menu__actions {
    display: none;
  }
}

@media (max-width: 560px) {
  .site-header__container {
    height: 64px;
    padding: 0 12px;
  }

  .site-header__logo {
    max-width: 110px;
    font-size: 18px;
    overflow: hidden;
  }

  .site-header__logo img {
    max-width: 110px;
    max-height: 32px;
  }

  .site-header__btn {
    min-width: auto;
    min-height: 36px;
    padding: 0 10px;
    border-radius: 12px;
    font-size: 11px;
  }

  .site-header__burger {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

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


  .mobile-menu__list a {
    font-size: 30px;
  }
}
