.site-header, .site-header * { box-sizing: border-box; letter-spacing: 0; }
.site-header,
.account-body .account-header.site-header {
  position: sticky; top: 0; z-index: 60; isolation: isolate;
  display: block; width: 100%; height: 76px; min-height: 76px;
  margin: 0; padding: 0; border: 0; background: #e8f1f9;
  color: #17253e; font-family: Inter, sans-serif;
}
.site-header::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: #e8f1f9; box-shadow: 0 0 0 100vmax #e8f1f9;
  clip-path: inset(0 -100vmax);
  border-bottom: 1px solid #e8edf3;
}
.site-header .site-header__inner {
  width: calc(100% - 80px); max-width: none; height: 100%; margin: 0 auto;
  display: flex; align-items: center; gap: 40px;
}
.site-header a { color: inherit; text-decoration: none; }
.site-header .site-header__brand {
  display: inline-flex; align-items: center; gap: 9px; flex-shrink: 0;
  font-family: Onest, Inter, sans-serif; font-size: 28px; font-weight: 800; line-height: 1;
}
.site-header__brand img { display: block; width: 32px; height: 40px; object-fit: contain; }
.site-header .site-header__menu { display: flex; align-items: center; gap: 28px; flex: 1; min-width: 0; }
.site-header .site-header__nav { display: flex; align-items: center; gap: 28px; margin: 0; }
.site-header .site-header__nav a,
.account-body .site-header #header-chat {
  display: inline-flex; align-items: center; min-height: 44px; padding: 8px 0;
  font-size: 14px; font-weight: 500; white-space: nowrap; line-height: 1.4;
}
.site-header .site-header__nav a:hover,
.site-header .site-header__nav a[aria-current] { color: #2864f0; }
.site-header .site-header__nav a[aria-current] { box-shadow: inset 0 -2px #2864f0; }
.site-header .site-header__auth {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  margin-left: auto; min-width: 140px; min-height: 44px; padding: 10px 16px;
  border-radius: 6px; background: #2864f0; color: #fff; font-size: 14px; font-weight: 600;
}
.site-header .site-header__auth:hover { background: #2055ce; }
.site-header a:focus-visible, .site-header button:focus-visible { outline: 3px solid #2864f0; outline-offset: 4px; }
.site-header .site-header__toggle { display: none; }
.site-header .site-notifications{position:relative;margin-left:auto;flex-shrink:0}
.site-header .site-notifications+.site-header__auth{margin-left:0}
.site-header .notification-bell{position:relative;display:grid;place-items:center;width:44px;height:44px;padding:10px;border:0;border-radius:6px;background:transparent;color:#17253e;cursor:pointer}
.site-header .notification-bell:hover{background:#edf3ff}
.notification-bell svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.notification-count{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;padding:0 4px;border-radius:10px;background:#d9364e;color:white;font-size:11px;line-height:1;margin-left:auto}
.notification-count[hidden],.notification-panel[hidden]{display:none!important}
.notification-bell .notification-count{position:absolute;right:0;top:0}
.site-header .notification-panel{position:absolute;right:0;top:52px;width:360px;max-width:calc(100vw - 24px);max-height:70dvh;overflow:auto;padding:16px;background:white;border:1px solid #dbe3ee;border-radius:8px;box-shadow:0 12px 36px #17253e25;color:#17253e;font-size:14px;line-height:1.5;z-index:100}
.notification-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.site-header .notification-heading button{padding:6px;border:0;background:none;color:#2864f0;font-size:12px;cursor:pointer}
.site-header .notification-item{display:flex;flex-direction:column;gap:4px;padding:12px 10px;border-top:1px solid #edf0f5;white-space:normal}
.notification-item span{color:#62738b;font-size:13px}.notification-item.is-unread{background:#edf3ff}
@media(max-width:800px){.site-header .notification-panel{position:fixed;top:68px;right:12px}.site-header .site-notifications{margin-left:auto}.site-header .site-notifications+.site-header__toggle{margin-left:0}}
.account-body .site-header #header-chat { margin: 0; }
.account-body .account-layout:has(> .site-header) { grid-template-rows: 76px 1fr auto; }
.account-body .site-header .site-header__inner { width: calc(100vw - 80px); position: relative; left: 50%; transform: translateX(-50%); margin: 0; }
.object-page > .site-header + main { padding-top: 28px; }
.public-profile-body .tourism-footer--contacts { display: grid; grid-template-columns: 2fr 1fr; }
@media (max-width: 1000px) {
  .site-header .site-header__inner { gap: 24px; }
  .site-header .site-header__nav { gap: 18px; }
  .site-header .site-header__menu { gap: 18px; }
}
@media (max-width: 800px) {
  .site-header, .account-body .account-header.site-header { height: 64px; min-height: 64px; flex-shrink: 0; }
  .site-header .site-header__inner { width: calc(100% - 40px); justify-content: space-between; }
  .site-header .site-header__brand { font-size: 25px; }
  .site-header .site-header__brand img { width: 28px; height: 36px; }
  .site-header .site-header__toggle {
    display: grid; place-items: center; width: 44px; height: 44px; min-width: 44px;
    margin: 0; padding: 10px; border: 1px solid #d8e1ed; border-radius: 6px;
    background: #fff; color: #17253e; cursor: pointer;
  }
  .site-header__toggle svg { display: block; width: 22px; height: 22px; }
  .site-header .site-header__menu {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    padding: 12px; background: #fff; border-bottom: 1px solid #d8e1ed;
    box-shadow: 0 10px 18px #17253e14; max-height: calc(100dvh - 64px); overflow-y: auto;
  }
  .site-header[data-menu-open] .site-header__menu { display: flex; flex-direction: column; align-items: stretch; gap: 12px; }
  .site-header .site-header__nav { flex-direction: column; align-items: stretch; gap: 4px; }
  .site-header .site-header__nav a, .account-body .site-header #header-chat { padding: 12px; font-size: 14px; }
  .site-header .site-header__nav a[aria-current] { box-shadow: none; background: #eef3ff; border-radius: 4px; }
  .site-header .site-header__auth { margin: 0; width: 100%; }
  .account-body .account-layout:has(> .site-header) { grid-template-rows: 64px 1fr auto; }
  .account-body .site-header .site-header__inner { width: calc(100% - 40px); }
  .account-body .site-header .site-header__menu { left: -20px; right: -20px; }
}
@media (max-width: 700px) {
  .site-header .site-header__inner { width: calc(100% - 24px); }
  .account-body .site-header .site-header__inner { width: calc(100% - 24px); }
  .account-body .site-header .site-header__menu { left: 0; right: 0; }
  .public-profile-body .tourism-footer--contacts { grid-template-columns: 1fr; }
}
