/* ==================== 00. HEADER (COMPACT, NO BOTTOM LINE, TRANSPARENT -> DARKENED ON SCROLL) ==================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 120;
  height: 68px;
  display: flex;
  align-items: center;
  background-color: transparent;
  border-bottom: 0;
  transition: background-color 0.3s var(--ease), backdrop-filter 0.3s var(--ease), -webkit-backdrop-filter 0.3s var(--ease);
}

.site-header.scrolled {
  background-color: rgba(9, 9, 10, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brands {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
}

.brand-logo-derzhava,
.brand-logo-smith {
  width: 36px;
  height: 36px;
  object-fit: contain;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.45));
}

.brand-name {
  line-height: 1.14;
}

.brand-name b {
  display: block;
  font-family: var(--font-serif);
  font-size: 15.5px;
  letter-spacing: 0.11em;
  font-weight: 600;
  color: var(--ivory);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.65);
}

.brand-name small {
  display: block;
  color: var(--gold);
  letter-spacing: 0.18em;
  font-size: 9px;
  margin-top: 2px;
  text-transform: uppercase;
  font-weight: 600;
}

.cross {
  font-family: var(--font-serif);
  font-size: 19px;
  color: var(--gold);
  opacity: 0.9;
  padding: 0 2px;
}

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

.nav-link {
  color: #e5dfd7;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  position: relative;
  padding: 6px 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.75);
  transition: color 0.25s var(--ease);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s var(--ease);
}

@media (hover: hover) {
  .nav-link:hover {
    color: var(--gold2);
  }
  .nav-link:hover::after {
    width: 100%;
  }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.nav-cta {
  padding: 10px 18px;
  border: 1px solid rgba(200, 169, 110, 0.65);
  background: rgba(11, 11, 12, 0.35);
  backdrop-filter: blur(8px);
  color: var(--gold2);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}

@media (hover: hover) {
  .nav-cta:hover {
    background: #c8a96e;
    border-color: #c8a96e;
    color: #17130f;
  }
}

.burger {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
}

.burger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--ivory);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.burger.active span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

.mobile-drawer {
  position: fixed;
  inset: 68px 0 0 0;
  background: rgba(11, 11, 12, 0.98);
  backdrop-filter: blur(24px);
  z-index: 99;
  padding: 40px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-y: auto;
  overscroll-behavior: contain;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-12px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}

.mobile-drawer.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.mobile-drawer-links {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mobile-drawer-links a {
  font-family: var(--font-serif);
  font-size: 32px;
  color: var(--ivory);
  border-bottom: 1px solid var(--line-subtle);
  padding-bottom: 14px;
}

@media (max-width: 1080px) {
  .nav {
    display: none;
  }
  .burger {
    display: flex;
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 640px) {
  .site-header {
    height: 64px;
  }
  .header-inner {
    gap: 10px;
  }
  .brands {
    gap: 8px;
    min-width: 0;
  }
  .brand {
    gap: 7px;
  }
  .brand-logo-derzhava,
  .brand-logo-smith {
    width: 28px;
    height: 28px;
  }
  .brand-name b {
    font-size: 13px;
    letter-spacing: 0.08em;
  }
  .cross {
    font-size: 15px;
    padding: 0 1px;
  }
  .brand-name small,
  .header-actions .nav-cta {
    display: none;
  }
  .mobile-drawer {
    inset: 64px 0 0 0;
    padding: 24px 20px max(24px, env(safe-area-inset-bottom));
    gap: 24px;
  }
  .mobile-drawer-links {
    gap: 4px;
  }
  .mobile-drawer-links a {
    font-size: clamp(22px, 5.8vw, 25px);
    line-height: 1.25;
    padding: 12px 0;
    min-height: 48px;
    display: flex;
    align-items: center;
  }
}
