/* БЛОК: header — стили только этого блока, включая свои брейкпоинты */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #e2e8f0;
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}
.header__logo { font-weight: 800; font-size: 20px; color: var(--color-secondary); }
.header__nav { display: none; }
.header__nav-list { display: flex; gap: 28px; }
.header__nav-list a { font-weight: 500; color: var(--color-text-muted); transition: color var(--transition); }
.header__nav-list a:hover { color: var(--color-primary); }
.header__actions { display: flex; align-items: center; gap: 12px; }
.header__phone { display: none; font-weight: 600; font-size: 14px; }
.header__cta { display: none; padding: 10px 18px; font-size: 14px; }

.header__burger {
  width: 40px; height: 40px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 5px; background: none; border: none; cursor: pointer;
}
.header__burger span { width: 22px; height: 2px; background: var(--color-secondary); transition: var(--transition); }
.header__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.header__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.header__nav-list.is-open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%; left: 0; right: 0;
  background: #fff;
  padding: 20px;
  gap: 16px;
  box-shadow: var(--shadow-md);
  border-bottom: 1px solid #e2e8f0;
}

@media (min-width: 768px) {
  .header__nav { display: block; }
  .header__nav-list { display: flex; }
  .header__phone { display: inline-block; }
  .header__cta { display: inline-flex; }
  .header__burger { display: none; }
}
