.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-height);
  width: 100%;
  background: #fff;
  border-bottom: 1px solid rgba(14, 28, 61, 0.08);
}
.site-header__inner {
  max-width: var(--container-max-width);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}
.site-header__logo-link { display: block; flex-shrink: 0; text-decoration: none; }
.site-header__logo { display: block; width: 126px; height: auto; max-height: 47px; object-fit: contain; }
.site-header__menu { display: flex; align-items: center; justify-content: flex-end; gap: 26px; margin-left: auto; }
.site-header__nav { min-width: 0; }
.site-header__list { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px 19px; padding: 0; margin: 0; list-style: none; }
.site-header__item { position: relative; }
.site-header__link {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 5px 0;
  border: 0;
  color: #151515;
  background: transparent;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s;
}
.site-header__link:hover, .site-header__dropdown[open] > .site-header__link { color: #d23b49; }
.site-header__dropdown { position: relative; }
.site-header__link--summary { cursor: pointer; list-style: none; }
.site-header__link--summary::-webkit-details-marker { display: none; }
.site-header__link--summary::after { content: ''; width: 5px; height: 5px; margin-left: 7px; transform: translateY(-2px) rotate(45deg); border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; }
.site-header__sublist {
  position: absolute;
  top: calc(100% + 5px);
  left: -12px;
  z-index: 60;
  min-width: 190px;
  padding: 9px;
  margin: 0;
  border: 1px solid #e9e9ed;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(14, 20, 40, 0.13);
  list-style: none;
}
.site-header__sublink { display: block; padding: 9px 11px; color: #1a1a1a; border-radius: 6px; font-size: 14px; font-weight: 500; line-height: 1.3; text-decoration: none; }
.site-header__sublink:hover { color: var(--brand-blue); background: #f1f3fa; }
.site-header__menu-checkbox, .site-header__menu-button { display: none; }
@media (max-width: 1100px) {
  .site-header__inner { gap: 20px; }
  .site-header__menu { gap: 16px; }
  .site-header__list { gap: 6px 12px; }
  .site-header__link { font-size: 14px; }
}
@media (max-width: 820px) {
  .site-header__inner { position: relative; }
  .site-header__logo { width: 116px; }
  .site-header__menu-checkbox {
    display: block;
    position: absolute;
    right: 0;
    width: 42px;
    height: 42px;
    opacity: 0;
    z-index: 3;
    cursor: pointer;
  }
  .site-header__menu-button {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e1e4eb;
    border-radius: 9px;
    position: relative;
    margin-left: auto;
    pointer-events: none;
  }
  .site-header__menu-button span,
  .site-header__menu-button span::before,
  .site-header__menu-button span::after {
    display: block;
    width: 19px;
    height: 2px;
    background: var(--brand-blue);
    border-radius: 2px;
    content: '';
    transition: transform .2s;
  }
  .site-header__menu-button span::before { transform: translateY(-6px); }
  .site-header__menu-button span::after { transform: translateY(4px); }
  .site-header__menu-checkbox:checked + .site-header__menu-button span { background: transparent; }
  .site-header__menu-checkbox:checked + .site-header__menu-button span::before { transform: translateY(0) rotate(45deg); }
  .site-header__menu-checkbox:checked + .site-header__menu-button span::after { transform: translateY(-2px) rotate(-45deg); }
  .site-header__menu-checkbox:focus-visible + .site-header__menu-button { outline: 3px solid #597cf0; outline-offset: 3px; }
  .site-header__menu {
    display: none;
    position: absolute;
    top: calc(100% + 1px);
    right: calc(-1 * var(--container-padding));
    left: calc(-1 * var(--container-padding));
    z-index: 52;
    margin: 0;
    padding: 15px var(--container-padding) 22px;
    background: #fff;
    border-bottom: 1px solid #e7e8ec;
    box-shadow: 0 14px 22px rgba(0, 0, 0, .08);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .site-header__menu-checkbox:checked ~ .site-header__menu { display: flex; }
  .site-header__list { flex-direction: column; align-items: stretch; gap: 0; }
  .site-header__link { display: flex; width: 100%; min-height: 42px; padding: 12px 0; font-size: 16px; }
  .site-header__sublist { position: static; box-shadow: none; margin-bottom: 6px; min-width: 0; }
}
