﻿html { scroll-padding-top: calc(var(--site-header-height, 92px) + 12px); }
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 92px;
  padding: 8px 6%;
  border-bottom: 2px solid #c8202e;
  background: #fff;
  color: #171718;
  font-family: 'DM Sans', sans-serif;
}
.site-header * { box-sizing: border-box; }
.site-header a { color: inherit; text-decoration: none; }
.site-header a:focus-visible, .site-menu-toggle:focus-visible { outline: 3px solid #f4af28; outline-offset: 4px; }
.site-brand { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; min-width: 0; }
.site-brand-title { font: 700 19px/1.1 Oswald, sans-serif; letter-spacing: .03em; }
.site-brand-title b { color: #c8202e; }
.site-brand-title small { display: block; margin-top: 5px; font: 700 9px 'DM Sans', sans-serif; letter-spacing: .15em; }
.site-logo { width: 63px; flex: 0 0 63px; display: flex; flex-direction: column; align-items: center; color: #161616; line-height: 1; }
.site-logo-ring { width: 54px; height: 54px; display: grid; justify-items: center; align-items: start; border: 1px solid #161616; border-radius: 50%; }
.site-logo-mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #c40012; color: white; font: 700 30px/1 serif; }
.site-logo-name { margin-top: 2px; font: 700 12px/1 Oswald, sans-serif; letter-spacing: -.04em; }
.site-logo-jka { display: flex; align-items: center; gap: 3px; font: 700 7px/1 'DM Sans', sans-serif; }
.site-logo-jka::before, .site-logo-jka::after { content: ''; width: 9px; height: 1px; background: #161616; }
.site-nav { display: flex; align-items: center; justify-content: center; gap: clamp(12px, 1.65vw, 25px); min-width: 0; font-size: 13px; font-weight: 700; }
.site-nav a, .site-contact { flex: 0 0 auto; white-space: nowrap; }
.site-contact { padding: 10px 0; border-bottom: 2px solid #c8202e; font-size: 13px; font-weight: 700; }
.site-nav .site-nav-contact, .site-menu-toggle { display: none; }
@media (max-width: 1100px) {
  .site-header { flex-wrap: wrap; gap: 0 15px; padding: 8px 6% 0; }
  .site-nav { order: 3; flex: 0 0 100%; justify-content: flex-start; gap: 24px; overflow-x: auto; padding: 13px 0; }
  .site-header.is-enhanced { flex-wrap: nowrap; min-height: 74px; padding: 6px 5%; }
  .site-header.is-enhanced .site-menu-toggle:not([hidden]) { display: inline-flex; align-items: center; justify-content: center; order: 3; min-width: 64px; min-height: 44px; padding: 8px; border: 1px solid #c8202e; background: #fff; color: #a91d2a; font: 700 13px 'DM Sans', sans-serif; cursor: pointer; }
  .site-header.is-enhanced .site-nav { position: absolute; top: 100%; left: 0; right: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; max-height: min(65vh, 420px); overflow: auto; padding: 8px 5%; border-bottom: 1px solid #d4d2cd; background: #fff; box-shadow: 0 8px 16px rgba(0,0,0,.12); }
  .site-header.is-enhanced .site-nav a { display: block; padding: 13px 8px; white-space: normal; }
  .site-header.is-enhanced .site-menu-toggle[aria-expanded="false"] + .site-nav { display: none; }
  .site-header.is-enhanced .site-nav .site-nav-contact { display: block; }
}
@media (max-width: 750px) {
  .site-logo { transform: scale(.78); margin: -7px -7px; }
  .site-brand-title { font-size: 15px; }
  .site-brand-title small { font-size: 8px; }
}
@media (max-width: 480px) {
  .site-header.is-enhanced .site-contact { display: none; }
  .site-header.is-enhanced { min-height: 68px; }
}
