.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #234182;
  padding: 16px 0;
}
.topbar-inner {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.topbar-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.topbar-logo img {
  height: 40px;
  display: block;
}
.topbar-lang {
  background: #3b5ea8;
  color: #fff;
  font-size: 15px;
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 6px;
  white-space: nowrap;
}
.topbar-lang:hover {
  background: #466cb8;
  color: #fff;
  text-decoration: none;
}
.topbar-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 36px;
}
.topbar-nav a {
  color: #fff;
  font-size: 15px;
  text-decoration: none;
  white-space: nowrap;
}
.topbar-nav a:hover {
  color: #fff;
  opacity: 0.85;
}
.topbar-nav a.topbar-login {
  background: #ef7f1a;
  border-radius: 6px;
  padding: 10px 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.topbar-nav a.topbar-login:hover {
  background: #d97113;
  opacity: 1;
}
.topbar-login svg {
  flex-shrink: 0;
}
.topbar-burger {
  display: none;
  margin-left: auto;
  background: none;
  border: 0;
  padding: 10px;
  cursor: pointer;
  line-height: 0;
}

@media (max-width: 960px) {
  .topbar-burger {
    display: block;
  }
  .topbar-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin: 0;
    padding: 8px 0 14px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #234182;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
  }
  .topbar-nav.open {
    display: flex;
  }
  .topbar-nav a {
    padding: 12px 16px;
  }
  .topbar-nav a.topbar-login {
    margin: 8px 16px 0;
    justify-content: center;
  }
}

/* отступ контента под фиксированную шапку (16 + 40 + 16 = 72px) */
body {
  padding-top: 88px;
}
@media print {
  .topbar {
    display: none;
  }
  body {
    padding-top: 0;
  }
}
