/* Единая шапка прототипа. Подключается всеми страницами. */
.kmh{position:sticky;top:0;z-index:100;background:rgba(15,13,46,.94);backdrop-filter:blur(12px);border-bottom:1px solid rgba(244,228,161,.12)}
.kmh-in{max-width:1320px;margin:0 auto;padding:0 clamp(20px,4vw,56px);display:flex;align-items:center;justify-content:space-between;gap:20px;height:76px}
.kmh-logo{display:flex;align-items:center;gap:12px;text-decoration:none;color:#f4f1e8;flex:none}
.kmh-mark{width:42px;height:42px;border-radius:13px;background:linear-gradient(135deg,#F4E4A1,#D4AF37);display:grid;place-items:center;box-shadow:0 6px 18px rgba(212,175,55,.28)}
.kmh-mark svg{width:24px;height:24px}
.kmh-txt b{display:block;font-family:Unbounded,sans-serif;font-weight:700;font-size:18px;line-height:1.1;background:linear-gradient(100deg,#f5f7fb 20%,#F4E4A1 55%,#D4AF37 90%);-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent}
.kmh-txt small{display:block;font-size:12px;color:#D4AF37;font-weight:500;margin-top:3px;opacity:.9}
.kmh-nav{display:flex;align-items:center;gap:28px;font:600 15px/1 Manrope,system-ui,sans-serif;color:#B8B8D0}
.kmh-nav a{text-decoration:none;color:#B8B8D0;transition:color .2s;white-space:nowrap}
.kmh-nav a:hover{color:#F4E4A1}
.kmh-nav a[aria-current="page"]{color:#F4E4A1}
.kmh-burger{display:none;width:44px;height:44px;border-radius:12px;border:1px solid rgba(244,241,232,.2);background:none;color:#f4f1e8;cursor:pointer;place-items:center}
.kmh-burger svg{width:22px;height:22px}
@media(max-width:900px){.kmh-nav{display:none}.kmh-burger{display:grid}}
/* мобильная панель */
.kmh-panel{position:fixed;inset:0;z-index:200;display:none;background:rgba(10,9,28,.97);backdrop-filter:blur(8px);padding:18px;overflow-y:auto}
.kmh-panel.on{display:block}
.kmh-panel-in{max-width:520px;margin:0 auto;display:flex;flex-direction:column;gap:10px}
.kmh-panel-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:6px}
.kmh-panel-title{font:700 13px/1 Manrope,sans-serif;letter-spacing:.14em;text-transform:uppercase;color:#B8B8D0}
.kmh-close{width:44px;height:44px;display:grid;place-items:center;border-radius:12px;border:1px solid rgba(244,241,232,.2);color:#f4f1e8;background:none;font-size:22px;cursor:pointer}
.kmh-panel a{display:flex;align-items:center;min-height:52px;padding:0 18px;border-radius:14px;border:1px solid rgba(244,228,161,.18);background:rgba(255,255,255,.04);color:#F4E4A1;text-decoration:none;font:600 16px/1 Manrope,sans-serif}
.kmh-panel a:hover{border-color:#D4AF37;color:#F4E4A1;background:rgba(212,175,55,.10)}

/* Длинное имя пункта меню: на средних экранах сжимаем, чтобы не было прокрутки вбок */
@media(max-width:1200px){
  .kmh-nav{gap:16px!important;font-size:13.5px!important}
}
@media(min-width:901px) and (max-width:1100px){
  .kmh-nav{gap:11px!important;font-size:12.5px!important}
}
