/* Header — sticky, logo, nav, ghost CTA */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(8, 17, 29, 0.82);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.site-header__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-header__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.site-header__logo-img {
  display: block;
  height: 62px;
  width: auto;
  max-width: min(200px, 42vw);
  object-fit: contain;
}

.site-header__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: clamp(12px, 1.8vw, 28px);
}

.site-header__nav a {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  white-space: nowrap;
  transition: color 250ms var(--ease);
}

.site-header__nav a:hover {
  color: var(--orange);
}

.site-header__cta {
  flex-shrink: 0;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--orange);
  text-decoration: none;
  border: 1.5px solid var(--orange);
  background: transparent;
  transition: background 250ms var(--ease), color 250ms var(--ease), box-shadow 250ms var(--ease);
}

.site-header__cta:hover {
  background: rgba(255, 119, 0, 0.12);
  box-shadow: 0 0 24px rgba(255, 119, 0, 0.25);
}

.site-header__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 6px;
  border: none;
  background: transparent;
  cursor: pointer;
}

.site-header__burger span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: transform 250ms var(--ease), opacity 250ms var(--ease);
}

.site-header.is-open .site-header__burger span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.is-open .site-header__burger span:nth-child(2) {
  opacity: 0;
}

.site-header.is-open .site-header__burger span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 1100px) {
  .site-header__nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    background: rgba(8, 17, 29, 0.96);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 350ms var(--ease), opacity 350ms var(--ease);
  }

  .site-header.is-open .site-header__nav {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-header__nav a {
    font-size: 0.85rem;
  }

  .site-header__cta {
    display: none;
  }

  .site-header__burger {
    display: flex;
    margin-left: auto;
  }
}

@media (max-width: 640px) {
  .site-header__inner {
    padding: 0 18px;
  }

  .site-header__logo-img {
    height: 62px;
  }
}
