.pn-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(7, 20, 27, 0.88);
  border-bottom: 1px solid rgba(120, 210, 197, 0.18);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.pn-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  gap: var(--space-3);
}

.pn-header__brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--color-text-primary);
}

.pn-header__logo {
  height: 42px;
  width: auto;
  border-radius: 0;
  background: transparent;
}

.pn-header__brand-text {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  letter-spacing: -0.02em;
}

.pn-header__nav {
  display: flex;
  align-items: center;
}

.pn-header__close {
  display: none;
}

.pn-header__menu {
  display: flex;
  gap: clamp(0.8rem, 2vw, 1.7rem);
  align-items: center;
  margin: 0;
  padding: 0;
}

.pn-header__menu li {
  margin: 0;
}

.pn-header__menu a {
  position: relative;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  white-space: nowrap;
}

.pn-header__menu a:not(.pn-header__cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -8px;
  height: 1px;
  background: var(--color-accent-gold);
  transition: right 0.25s ease;
}

.pn-header__menu a:hover::after,
.pn-header__menu a[aria-current="page"]::after {
  right: 0;
}

.pn-header__menu a[aria-current="page"] {
  color: var(--color-text-primary);
}

.pn-header__cta {
  background: var(--color-accent-ruby);
  padding: 0.75rem 1rem;
  border-radius: 999px;
  color: #04120f !important;
}

.pn-header__cta:hover {
  background: var(--color-accent-ruby-light);
  transform: translateY(-2px);
}

.pn-header__toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  background: transparent;
  border: 1px solid rgba(120, 210, 197, 0.35);
  border-radius: 8px;
  padding: 0;
  cursor: pointer;
  z-index: 10001;
  position: relative;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}

.pn-header__toggle span {
  display: block;
  width: 21px;
  height: 2px;
  background: #fff;
  margin: 2.5px 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}

.pn-header__toggle.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.pn-header__toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.pn-header__toggle.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 1050px) {
  .pn-header.menu-open {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .pn-header__toggle {
    display: flex;
  }

  .pn-header__close {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    background: rgba(120, 210, 197, 0.1);
    border: 1px solid rgba(120, 210, 197, 0.3);
    border-radius: 50%;
    color: var(--color-text-primary, #fff);
    cursor: pointer;
    transition: all 0.25s ease;
    z-index: 10002;
  }

  .pn-header__close:hover,
  .pn-header__close:focus-visible {
    background: var(--color-accent-ruby, #ff4d6d);
    border-color: var(--color-accent-ruby, #ff4d6d);
    color: #04120f;
    transform: scale(1.08);
  }

  .pn-header__nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: rgba(7, 20, 27, 0.98);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 3rem 2rem;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, visibility 0.3s ease;
    z-index: 10000;
    overflow-y: auto;
  }

  .pn-header__nav.open,
  .pn-header__nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .pn-header__menu {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0;
    gap: 1.8rem;
    width: 100%;
  }

  .pn-header__menu a {
    font-size: 1.05rem;
    letter-spacing: 0.12em;
  }

  .pn-header__logo {
    height: 36px;
  }
}

ul {
  list-style: none !important;
}

.nav-toggle {
  flex-direction: column;
}

body.no-scroll {
  overflow: hidden !important;
  touch-action: none;
}
