.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: linear-gradient(180deg, #6e8619 0%, #617614 100%);
  border-top: 5px solid #3b2d0d;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.site-header .container {
  width: min(1480px, 96vw);
  margin: 0 auto;
  position: relative;
}

.nav-wrap {
  display: none;
}

.site-brand-mobile {
  display: none;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-brand-mobile img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.65);
  background: #111;
}

.site-nav {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) auto minmax(0, 1.2fr);
  align-items: center;
  gap: 14px;
  padding: 12px 0;
}

.nav-group {
  min-height: 72px;
  background: linear-gradient(90deg, rgba(53, 69, 9, 0.9) 0%, rgba(17, 25, 5, 0.94) 50%, rgba(53, 69, 9, 0.9) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 10px 22px;
  border-radius: 999px;
  overflow: visible;
}

.nav-group a {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.1;
  padding: 10px 4px;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}

.nav-group a:hover,
.nav-group a.active {
  border-bottom-color: #fff;
}

.nav-contact-trigger {
  border: 1px solid rgba(242, 214, 152, 0.55);
  border-radius: 999px;
  padding: 11px 18px;
  background: linear-gradient(135deg, #e4c47a 0%, #c8963f 100%);
  color: #241805;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.1;
  white-space: nowrap;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.nav-contact-trigger:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.24);
  background: linear-gradient(135deg, #ebcf8b 0%, #d1a24a 100%);
}

.logo-badge {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 4px solid #d7dbcb;
  background: radial-gradient(circle at 34% 30%, #1f1f1f, #070707 68%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}

.logo-badge img {
  width: 82%;
  height: auto;
  object-fit: contain;
  position: relative;
  z-index: 2;
}

.logo-badge::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 2px solid #6a7f1c;
  border-radius: 50%;
}

.menu-btn {
  display: none;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  background: rgba(17, 25, 5, 0.86);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-direction: column;
}

.menu-btn span {
  width: 20px;
  height: 2px;
  background: #fff;
  border-radius: 999px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-btn.is-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-btn.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-btn.is-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 1280px) {
  .site-header .container {
    width: min(1260px, 96vw);
  }

  .site-nav {
    gap: 12px;
  }

  .nav-group {
    gap: 10px;
    padding: 10px 16px;
  }

  .nav-group a {
    font-size: 15px;
  }

  .nav-contact-trigger {
    padding: 10px 16px;
    font-size: 14px;
  }

  .logo-badge {
    width: 90px;
    height: 90px;
  }
}

@media (max-width: 1100px) {
  .site-header .container {
    width: min(1120px, 92vw);
  }

  .nav-wrap {
    display: flex;
    min-height: 62px;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
  }

  .site-brand-mobile {
    display: inline-flex;
  }

  .menu-btn {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% - 2px);
    right: 0;
    left: auto;
    transform: none;
    width: min(420px, 92vw);
    display: none;
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 18px;
    background: rgba(24, 33, 5, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  }

  .site-nav.open {
    display: grid;
  }

  .nav-group {
    min-height: auto;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 2px;
    border-radius: 18px;
    padding: 12px;
    background: rgba(103, 127, 22, 0.18);
  }

  .nav-group a,
  .nav-contact-trigger {
    width: 100%;
    text-align: left;
    padding: 12px 10px;
    border-bottom: 0;
    border-radius: 12px;
    font-size: 18px;
    box-shadow: none;
  }

  .nav-group a {
    color: #fff;
    background: transparent;
    font-weight: 700;
  }

  .nav-group a:hover,
  .nav-group a.active {
    background: rgba(255, 255, 255, 0.08);
  }

  .nav-contact-trigger {
    margin-top: 6px;
    text-align: center;
  }

  .logo-badge {
    width: 96px;
    height: 96px;
    margin: 0 auto;
    order: -1;
  }
}

@media (max-width: 640px) {
  .nav-wrap {
    min-height: 58px;
  }

  .site-brand-mobile span {
    font-size: 0.84rem;
  }

  .site-nav {
    top: calc(100% - 2px);
    width: min(100%, 92vw);
    padding: 14px;
  }

  .logo-badge {
    width: 88px;
    height: 88px;
  }
}
