.promo-strip {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  height: var(--promo-h);
  background: var(--bg-promo);
  color: var(--text-on-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  text-align: center;
  padding: 0 12px;
}

.promo-strip a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  top: var(--promo-h);
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: var(--bg-white);
  box-shadow: var(--shadow-header);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  height: var(--header-h);
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  flex-shrink: 0;
  color: var(--text);
}

.logo__row {
  display: flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
}

.logo__row:hover {
  text-decoration: none;
}

.logo img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 6px;
}

.logo__name {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #444;
}

.btn-header {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 10px 18px;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  border-radius: var(--radius-btn);
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.btn-header:hover {
  filter: brightness(0.95);
  text-decoration: none;
  color: #fff;
}

.nav-main {
  display: flex;
  align-items: center;
  gap: 4px 18px;
  flex: 1;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 14px;
}

.nav-main > a,
.nav-dropdown > summary {
  color: var(--text);
  text-decoration: none;
  cursor: pointer;
  list-style: none;
}

.nav-main > a:hover,
.nav-dropdown > summary:hover {
  color: var(--accent);
  text-decoration: none;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown > summary {
  display: inline;
}

.nav-dropdown > summary::-webkit-details-marker {
  display: none;
}

.nav-dropdown[open] > summary {
  color: var(--accent);
}

.nav-dropdown__menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  padding: 8px 0;
  z-index: 20;
}

.nav-dropdown__menu a {
  display: block;
  padding: 8px 16px;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
}

.nav-dropdown__menu a:hover {
  background: var(--bg-gray);
  color: var(--accent);
}

.header-contacts {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  font-size: 13px;
  flex-shrink: 0;
}

.header-contacts a {
  color: var(--text);
  text-decoration: none;
}

.header-contacts a:hover {
  color: var(--accent);
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: var(--radius-btn);
  font-size: 20px;
  cursor: pointer;
}

@media (max-width: 1024px) {
  .nav-toggle {
    display: grid;
    place-items: center;
    margin-left: auto;
  }

  .nav-main,
  .header-contacts {
    display: none;
  }

  .site-header.is-open .nav-main {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: #fff;
    padding: 16px;
    box-shadow: var(--shadow-header);
    gap: 12px;
  }

  .site-header.is-open .header-contacts {
    display: flex;
    position: absolute;
    top: calc(var(--header-h) + 220px);
    left: 0;
    right: 0;
    align-items: flex-start;
    background: #fff;
    padding: 0 16px 16px;
  }

  .nav-dropdown__menu {
    position: static;
    box-shadow: none;
    border: none;
    padding-left: 12px;
  }

  .logo .btn-header {
    display: none;
  }
}
