body {
  background-color: #fffdf6;
}

.site-header {
  background: #4e5b30;
  border-radius: 8px;
  box-shadow: 0 1px 12px rgba(0, 0, 0, 1);
  font-family: 'Comfortaa', sans-serif;
}

.custom-logo {
  max-height: 50px;
  width: auto;
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* LOGO */
.logo {
  color: #fff;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
}

/* MENU */
.menu {
  display: flex;
  gap: 40px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu a {
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.95;
}

.menu a:hover {
  opacity: 0.7;
}

.current-menu-item > a {
  opacity: 1;
}
/* BURGER */
.burger {
  width: 40px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;

  display: none;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.burger span {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}

.burger span {
  transition: transform 0.3s ease, opacity 0.2s ease;
}

/* PERFECT CLOSE ICON */
.burger.is-active span {
  opacity: 0;
}

.burger.is-active::before,
.burger.is-active::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}

.burger.is-active::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.burger.is-active::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* MOBILE */
@media (max-width: 768px) {
  .header-inner {
    height: auto;
    flex-direction: column;
    align-items: flex-start;
    padding: 8px 24px;
    position: relative;
  }

  .burger {
    display: flex;
    position: absolute;

    top: 24px;
    right: 24px;

    transform: none;
  }

  .main-nav {
    width: 100%;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.2s ease;
  }

  .main-nav.is-open {
    max-height: 500px; /* достаточно под меню */
    opacity: 1;
  }

  .menu {
    flex-direction: column;
    gap: 24px;
    padding: 24px 0 32px;
  }
}
