site-header {
  display: block;
  position: sticky;
  top: 0;
  z-index: 1200;
}

.site-header {
  background: #ffffff;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
}

.site-header__inner {
  max-width: 1400px;
  margin: 0 auto;
  min-height: 70px;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-header__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.site-header__logo img {
  height: 50px;
  width: auto;
  object-fit: contain;
}

.site-header__desktop-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-header__link,
.site-header__contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 10px;
  padding: 12px 18px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.45px;
  transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.site-header__link {
  color: #334155;
  background: transparent;
}

.site-header__link:hover {
  color: #ffffff;
  background: #007bff;
  transform: translateY(-1px);
}

.site-header__link.is-active {
  color: #0052cc;
  background: rgba(0, 123, 255, 0.1);
}

.site-header__contact-btn {
  color: #ffffff;
  background: #007bff;
}

.site-header__contact-btn:hover {
  background: #005ec7;
  transform: translateY(-1px);
}

.site-header__contact-btn.is-active {
  background: #0052cc;
}

.site-header__toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(15, 23, 42, 0.15);
  border-radius: 12px;
  background: #ffffff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  transition: background-color 0.22s ease, border-color 0.22s ease;
}

.site-header__toggle span {
  width: 20px;
  height: 2px;
  background: #1e293b;
  border-radius: 999px;
  transition: transform 0.24s ease, opacity 0.24s ease;
}

.site-header[data-state="open"] .site-header__toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header[data-state="open"] .site-header__toggle span:nth-child(2) {
  opacity: 0;
}

.site-header[data-state="open"] .site-header__toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.site-header__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(2px);
}

.site-header__mobile-panel {
  position: fixed;
  top: 70px;
  right: 0;
  width: min(86vw, 340px);
  height: calc(100vh - 70px);
  background: #f8fbff;
  border-left: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: -12px 0 34px rgba(15, 23, 42, 0.2);
  transform: translateX(105%);
  transition: transform 0.26s ease;
  z-index: 1201;
  overflow-y: auto;
}

.site-header[data-state="open"] .site-header__mobile-panel {
  transform: translateX(0);
}

.site-header__mobile-links {
  display: flex;
  flex-direction: column;
  padding: 22px 18px 28px;
  gap: 8px;
}

.site-header__mobile-link,
.site-header__mobile-contact {
  text-decoration: none;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  color: #1e293b;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.1);
}

.site-header__mobile-link.is-active {
  color: #0052cc;
  border-color: rgba(0, 82, 204, 0.4);
  background: rgba(0, 123, 255, 0.1);
}

.site-header__mobile-contact {
  margin-top: 8px;
  text-align: center;
  color: #ffffff;
  background: #007bff;
  border-color: #007bff;
}

.site-header__mobile-contact.is-active {
  background: #0052cc;
  border-color: #0052cc;
}

body.site-menu-open {
  overflow: hidden;
}

@media (max-width: 920px) {
  .site-header__inner {
    padding: 0 20px;
  }

  .site-header__desktop-links {
    gap: 8px;
  }

  .site-header__link,
  .site-header__contact-btn {
    padding: 10px 14px;
    font-size: 14px;
    letter-spacing: 0.3px;
  }
}

@media (max-width: 768px) {
  .site-header__inner {
    min-height: 68px;
  }

  .site-header__logo img {
    height: 40px;
  }

  .site-header__desktop-links {
    display: none;
  }

  .site-header__toggle {
    display: inline-flex;
  }

  .site-header__toggle:focus-visible,
  .site-header__mobile-link:focus-visible,
  .site-header__mobile-contact:focus-visible {
    outline: 3px solid rgba(0, 123, 255, 0.35);
    outline-offset: 2px;
  }
}
