:root {
  --bjc-green: #66b64b;
  --header-height: 88px;
  --text: #222;
  --border: #e9e9e9;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.1);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid var(--border);
}

.site-header__inner {
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.site-header__brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #111;
}

.site-header__logo {
  font-weight: 900;
  font-size: 48px;
  line-height: 1;
  letter-spacing: -1px;
}

.site-header__nav {
  display: flex;
  align-items: center;
  gap: 24px;
  flex: 1;
}

.nav-item {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-link {
  color: var(--text);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  padding: 10px 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-bottom: 2px solid transparent;
}

.nav-link:hover {
  color: var(--bjc-green);
}

.nav-item--dropdown:hover > .nav-link,
.nav-item--dropdown:focus-within > .nav-link {
  color: var(--bjc-green);
  border-bottom-color: var(--bjc-green);
}

.nav-caret {
  font-size: 12px;
  transform: translateY(1px);
  color: inherit;
}

.dropdown {
  position: absolute;
  left: 0;
  top: 100%;
  width: 360px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: none;
}

.dropdown__bar {
  height: 3px;
  background: var(--bjc-green);
  width: 100%;
}

.dropdown__list {
  list-style: none;
  padding: 10px 0;
  margin: 0;
}

.dropdown__link {
  display: block;
  padding: 12px 20px;
  font-size: 18px;
  color: #111;
  text-decoration: none;
}

.dropdown__link:hover {
  background: #f6f6f6;
  color: #111;
}

.nav-item--dropdown:hover > .dropdown,
.nav-item--dropdown:focus-within > .dropdown {
  display: block;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.icon-btn {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #111;
}

.icon-btn svg {
  width: 26px;
  height: 26px;
  fill: #111;
  opacity: 0.9;
}

.lang-btn {
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.flag {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  overflow: hidden;
  display: inline-flex;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15);
}

.flag__svg {
  width: 100%;
  height: 100%;
  display: block;
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.burger__lines {
  width: 28px;
  height: 18px;
  display: block;
  position: relative;
}

.burger__lines::before,
.burger__lines::after,
.burger__lines {
  background: transparent;
}

.burger__lines::before,
.burger__lines::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 999px;
  background: var(--bjc-green);
}

.burger__lines::before {
  top: 0;
}
.burger__lines::after {
  bottom: 0;
}

.burger__lines {
  position: relative;
}

.burger__lines span {
  display: none;
}

.burger__lines::marker {
  content: "";
}

.burger__lines::before {
  box-shadow: 0 7.5px 0 var(--bjc-green);
}

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 999;
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: min(360px, 88vw);
  background: #fff;
  border-right: 1px solid var(--border);
  box-shadow: var(--shadow);
  z-index: 1000;
  transform: translateX(-105%);
  transition: transform 0.22s ease;
  display: flex;
  flex-direction: column;
}

.mobile-menu.is-open {
  transform: translateX(0);
}

.mobile-menu__header {
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  border-bottom: 1px solid var(--border);
}

.mobile-menu__title {
  font-size: 16px;
  font-weight: 600;
  color: #111;
}

.mobile-menu__close {
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  line-height: 1;
  color: #111;
}

.mobile-menu__content {
  padding: 14px 16px 18px;
  overflow: auto;
}

.mobile-link {
  display: block;
  padding: 12px 10px;
  border-radius: 10px;
  text-decoration: none;
  color: #111;
  font-size: 16px;
}

.mobile-link:hover {
  background: #f5f5f5;
}

.mobile-link--top {
  margin-top: 10px;
}

.mobile-accordion {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  margin-bottom: 12px;
}

.mobile-accordion__summary {
  list-style: none;
  cursor: pointer;
  padding: 12px 12px;
  font-size: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-accordion__summary::-webkit-details-marker {
  display: none;
}

.mobile-accordion__summary::after {
  content: "▾";
  font-size: 14px;
  color: #111;
  transform: translateY(1px);
}

.mobile-accordion[open] .mobile-accordion__summary::after {
  transform: rotate(180deg) translateY(-1px);
}

.mobile-accordion__panel {
  padding: 8px 6px 10px;
  border-top: 1px solid var(--border);
  background: #fafafa;
}

.mobile-accordion__panel .mobile-link {
  padding: 10px 10px;
  font-size: 15px;
}

@media (max-width: 1024px) {
  .site-header__nav {
    gap: 18px;
  }
  .nav-link {
    font-size: 15px;
  }
  .dropdown {
    width: 330px;
  }
  .dropdown__link {
    font-size: 17px;
  }
}

@media (max-width: 768px) {
  .site-header__nav {
    display: none;
  }

  .burger {
    display: inline-flex;
    margin-left: 6px;
  }

  .site-header__inner {
    gap: 12px;
  }

  .site-header__logo {
    font-size: 44px;
  }
}
