/* ===== Шапка и меню ===== */
/* На главной — прозрачная, на остальных — сразу тёмная */
body:not(.home) header {
  background: rgba(17, 24, 39, .92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 2px 16px rgba(0,0,0,.2);
}

/* На главной скролл-эффект */
body.home header.scrolled {
  background: rgba(17, 24, 39, .92);
  ...
}

header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 40px;
  background: linear-gradient(180deg, rgba(0,0,0,.55), transparent);
  transition: background .3s, box-shadow .3s;
}
header.scrolled {
  background: rgba(17, 24, 39, .92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 2px 16px rgba(0,0,0,.2);
}
.logo {
  color: #fff; font-size: 22px; font-weight: 800;
  letter-spacing: 1px;
  text-shadow: 0 1px 4px rgba(0,0,0,.5);
  white-space: nowrap;
}
.logo span { color: #ffb703; }
nav ul { display: flex; gap: 26px; list-style: none; }
nav a {
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  text-shadow: 0 1px 3px rgba(0,0,0,.5);
  transition: color .2s;
}
nav a:hover, nav a[aria-current="page"] { color: #ffb703; }

/* Бургер */
.burger {
  display: none;
  width: 40px; height: 40px;
  background: none; border: none; cursor: pointer;
  flex-direction: column; justify-content: center; gap: 5px;
  padding: 8px;
}
.burger span {
  display: block; height: 2px; background: #fff;
  border-radius: 2px; transition: transform .3s, opacity .3s;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Адаптив шапки */
@media (max-width: 820px) {
  header { padding: 14px 20px; }
  .burger { display: flex; }
  nav {
    position: fixed; top: 0; right: 0; bottom: 0;
    width: min(280px, 80vw);
    background: rgba(17, 24, 39, .98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 90px 32px 32px;
    transform: translateX(100%);
    transition: transform .3s ease;
    z-index: 90;
  }
  nav.open { transform: translateX(0); }
  nav ul { flex-direction: column; gap: 4px; }
  nav a {
    display: block; font-size: 18px; padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
}

/* Планшет: чуть уменьшаем, чтобы меню влезало */
@media (max-width: 1000px) and (min-width: 821px) {
  nav a { font-size: 18px; }
}