.site-header {
  width: 100%;
  z-index: 1000;
  background: var(--gradient-header);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1440px;
  margin: 0 auto;
  padding: 20px var(--side-padding);
}
.topbar {
  padding: 4px;
  font-size: 14px;
  text-align: center;
  background: var(--color-primary-dark);
  font-weight: 600;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.site-logo .logo-img {
  max-height: 58px;
  width: auto;
}

.desktop-nav .nav-list {
  display: flex;
  align-items: center;
  gap: 32px;
}

.desktop-nav .nav-list li a {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  color: var(--color-white);
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.3s ease;
}

.desktop-nav .nav-list li.current-menu-item a,
.desktop-nav .nav-list li a:hover {
  border-bottom-color: var(--color-white);
}

.desktop-nav .nav-list li:last-child a {
  background: var(--gradient-primary);
  border-radius: var(--radius-btn);
  padding: 10px 32px;
  border-bottom: none;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 24px;
  position: relative;
  z-index: 1002;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--color-white);
  border-radius: 2px;
  position: absolute;
  left: 0;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}

.hamburger span:nth-child(1) {
  top: 0;
}
.hamburger span:nth-child(2) {
  top: 10px;
}
.hamburger span:nth-child(3) {
  top: 20px;
}

.hamburger.active span:nth-child(1) {
  top: 10px;
  transform: rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  top: 10px;
  transform: rotate(-45deg);
}

.mobile-nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
}

.mobile-nav-overlay.active {
  display: block;
}

.mobile-nav {
  position: fixed;
  top: 0;
  right: -300px;
  width: 300px;
  height: 100%;
  background: var(--color-primary-dark);
  z-index: 1001;
  padding: 100px 32px 32px;
  transition: right 0.3s ease;
  overflow-y: auto;
}

.mobile-nav.active {
  right: 0;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mobile-nav-list li a {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 18px;
  color: var(--color-white);
}

@media (max-width: 1023px) {
  .site-logo .logo-img {
    max-height: 40px;
  }
  .desktop-nav {
    display: none;
  }
  .topbar {
    font-size: 12px;
    padding: 2px;
  }
  .hamburger {
    display: block;
  }
}
