/* Единая верхняя панель: закреплена сверху на всех страницах */
.kl-topbar{position:sticky;top:0;z-index:1000;display:flex;align-items:center;gap:clamp(12px,2.2vw,28px);padding:12px clamp(16px,4vw,40px);background:#17181a;color:#f4f1ea;box-shadow:0 1px 0 rgba(212,187,138,.22);box-sizing:border-box;width:100%}
.kl-topbar *{box-sizing:border-box}
.kl-topbar__brand{font-family:'Cormorant Garamond',Georgia,serif;font-size:19px;line-height:1.2;color:#f4f1ea;text-decoration:none;margin-right:auto;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.kl-topbar__brand img{display:block;height:56px;width:auto;max-width:none}
.kl-topbar__link{color:rgba(244,241,234,.82);font-family:Inter,system-ui,sans-serif;font-size:14px;text-decoration:none;white-space:nowrap;transition:color .2s}
.kl-topbar__link:hover,.kl-topbar__link:focus-visible{color:#d4bb8a}
.kl-topbar__cta{display:inline-block;background:#d4bb8a;color:#17181a;font-family:Inter,system-ui,sans-serif;font-size:14px;font-weight:500;padding:9px 18px;border-radius:999px;text-decoration:none;white-space:nowrap;transition:background .2s}
.kl-topbar__cta:hover,.kl-topbar__cta:focus-visible{background:#efe2c2}
@media (max-width:560px){
  .kl-topbar{flex-wrap:nowrap;gap:8px;padding:10px 12px}
  .kl-topbar__brand{flex:0 1 112px;margin-right:0;font-size:15px;line-height:1.15;white-space:normal;overflow:visible;text-overflow:clip}
  .kl-topbar__brand img{height:40px}
  .kl-topbar__link{font-size:12.5px;order:1}
  .kl-topbar__link[href="/kalkulyator"]{margin-left:auto}
  .kl-topbar__link[href="/blog/"]{margin-right:4px}
  .kl-topbar__cta{order:2;font-size:12.5px;padding:8px 12px}
}
