/* HEADER */
.af-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 44px;
  z-index: 9999;
  background: rgba(251, 251, 253, 0.78);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.af-header__inner {
  max-width: 980px;
  height: 44px;
  margin: 0 auto;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.af-logo {
  display: flex;
  align-items: center;
  line-height: 0;
  text-decoration: none;
}

.af-logo img {
  height: 18px;
  width: auto;
  display: block;
}

.af-menu {
  display: flex;
  align-items: center;
  gap: 38px;
  margin-left: auto;
  margin-right: 26px;
}

.af-menu a,
.af-search-link,
.af-mobile-nav a {
  font-family: "Geist", "Inter", "Helvetica Neue", Arial, sans-serif;
}

.af-menu a {
  font-size: 12px;
  font-weight: 500;
  color: #424245;
  text-decoration: none;
  opacity: 0.86;
}

.af-menu a:hover {
  opacity: 1;
}

.af-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.af-search-link {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  text-decoration: none;
  color: #1d1d1f;
  font-size: 13px;
}

.af-search-link:hover {
  background: rgba(0, 0, 0, 0.05);
}

.af-menu-toggle {
  display: none;
  width: 34px;
  height: 34px;
  border: 0;
  background: #f5f7fb;
  border-radius: 10px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
}

.af-menu-toggle span {
  width: 17px;
  height: 2px;
  background: #111;
  border-radius: 999px;
}

.af-mobile-menu {
  position: fixed;
  top: 44px;
  left: 0;
  width: 100%;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(0,0,0,0.05);
  padding: 22px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all .25s ease;
  z-index: 9998;
}

.af-mobile-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.af-mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.af-mobile-nav a {
  font-size: 16px;
  font-weight: 600;
  color: #111;
  text-decoration: none;
}

.af-mobile-cta {
  margin-top: 8px;
  background: #0071e3;
  color: #fff !important;
  padding: 14px 18px;
  border-radius: 14px;
  text-align: center;
}

/* MOBILE */
@media (max-width: 980px) {
  .af-menu {
    display: none !important;
  }

  .af-menu-toggle {
    display: flex !important;
  }

  .af-header__inner {
    max-width: 100%;
    padding: 0 18px;
  }

  .af-logo img {
    height: 21px;
  }
}