/* =========================
   HEADER
========================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--color-header-bg);
  border-bottom: 1px solid var(--color-border-strong);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
}

.header-inner {
  min-height: clamp(82px, 12vw, 140px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--color-text-strong);
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo {
  width: clamp(64px, 8vw, 120px);
  height: clamp(64px, 8vw, 120px);
  object-fit: contain;
  flex-shrink: 0;
}

.brand-text {
  font-size: clamp(1rem, 1vw + 0.8rem, 1.35rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.main-nav {
  margin-left: auto;
}

.nav-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  margin: 0;
  padding: 0;
}

.nav-list li {
  list-style: none;
}

.nav-list a,
.nav-current {
  position: relative;
  display: inline-block;
  padding: 6px 0;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
}

.nav-list a::after,
.nav-current::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-green), var(--color-sky));
  transition: width 0.25s ease;
}

.nav-list a::after {
  width: 0;
}

.nav-list a:hover,
.nav-list a:focus-visible,
.nav-current {
  color: var(--color-green);
}

.nav-list a:hover::after,
.nav-list a:focus-visible::after,
.nav-current::after {
  width: 100%;
}

.header-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  color: #1877f2;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  box-shadow: 0 8px 18px rgba(24, 39, 48, 0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.header-social-link svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.header-social-link:hover,
.header-social-link:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(24, 39, 48, 0.16);
}

.menu-toggle {
  display: none;
  margin-left: auto;
  padding: 8px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  margin: 5px 0;
  border-radius: var(--radius-pill);
  background: var(--color-text-strong);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
