.gw-header {
  position: sticky;
  top: 0;
  z-index: 50;
}

.gw-header-inner {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.gw-logo {
  display: inline-flex;
  align-items: center;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.gw-header-left {
  display: flex;
  align-items: center;
}

.gw-header-center {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.gw-header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.gw-search {
  max-width: 290px;
  width: 100%;
}

.gw-search input {
  min-width: 0;
}

.search-bar-button {
  position: relative;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
  text-transform: none;
}

.search-bar-button:hover {
  background: rgba(96, 165, 250, 0.1);
}

.search-bar-button:focus-visible {
  outline: 2px solid var(--color-primary-soft);
  outline-offset: 1px;
}

.search-bar-icon {
  position: relative;
  display: block;
  flex: none;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(148, 163, 184, 0.85);
  border-radius: 50%;
}

.search-bar-icon::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 2px;
  right: -5px;
  bottom: -2px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.85);
  transform: rotate(45deg);
  transform-origin: left center;
}

.gw-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.gw-nav-link {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--color-text-muted);
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
}

.gw-nav-link.is-active {
  color: var(--color-primary-soft);
  border-bottom-color: var(--color-primary-soft);
}

.gw-nav-link:hover {
  color: var(--color-primary);
}

a.btn-primary,
a.btn-primary:hover,
a.btn-primary:focus-visible,
a.btn-primary:active {
  color: #020617;
}

.newsletter-form-home {
  align-items: flex-end;
}

.newsletter-form-home .form-field {
  flex: 1 1 220px;
  margin-bottom: 0;
}

.newsletter-form-home .btn-primary {
  align-self: flex-end;
  height: 40px;
}

.newsletter-form-home .newsletter-legal {
  flex: 1 0 100%;
  margin: 0;
}

.gw-nav-toggle {
  margin-left: 8px;
}

.gw-nav-mobile-wrapper {
  display: none;
  border-bottom: 1px solid var(--color-border);
  background: rgba(8, 11, 16, 0.99);
  backdrop-filter: blur(20px);
}

.gw-nav-mobile {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.gw-nav-link-mobile {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--color-text-muted);
  padding: 6px 2px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.gw-nav-link-mobile:last-child {
  border-bottom: none;
}

.gw-nav-link-mobile.is-active {
  color: var(--color-primary-soft);
}

.gw-nav-link-mobile:hover {
  color: var(--color-primary);
}

.gw-nav-mobile-open .gw-nav-mobile-wrapper {
  display: block;
}

.gw-nav-mobile-open .gw-nav-toggle span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

.gw-nav-mobile-open .gw-nav-toggle span:nth-child(2) {
  opacity: 0;
}

.gw-nav-mobile-open .gw-nav-toggle span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

@media (max-width: 960px) {
  .gw-header-center {
    display: none;
  }

  .gw-search {
    max-width: 220px;
  }
}

@media (max-width: 720px) {
  .gw-search {
    display: none;
  }

  .gw-header-right {
    gap: 8px;
  }
}

@media (max-width: 600px) {
  .newsletter-form-home .form-field,
  .newsletter-form-home .btn-primary {
    flex-basis: 100%;
    width: 100%;
  }
}
