/* ===== HEADER — AnareusCZ (Light + Lime) ===== */
/* Изменено ТОЛЬКО: цвета/фоны/тени/ховеры. Структура/размеры/медиа/позиционирование — без изменений. */

.site-header{
  /* palette */
  --accent:      #B9EF40;                 /* lime */
  --accent-2:    #9FE93A;                 /* lime-2 */
  --accentGlow:  rgba(185,239,64,0.32);
  --accentGlow2: rgba(185,239,64,0.18);

  position: relative;
  top: 0;
  z-index: 40;

  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  background: linear-gradient(
    180deg,
    rgba(243,245,240,0.92),
    rgba(243,245,240,0.86),
    rgba(243,245,240,0.68),
    transparent
  );

  border-bottom: 1px solid rgba(13,20,15,0.12);

  box-shadow:
    0 1px 0 rgba(255,255,255,0.75),
    0 18px 40px rgba(13,20,15,0.10);
}

.site-header .container{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

/* ===== LOGO ===== */
.logo{
  font: 900 22px/1 "Plus Jakarta Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0.16em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;

  background: linear-gradient(100deg, rgba(13,20,15,0.92), var(--accent) 55%, rgba(13,20,15,0.84));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;

  filter: drop-shadow(0 12px 22px rgba(13,20,15,0.10)) drop-shadow(0 0 22px rgba(185,239,64,0.14));
}

/* ===== NAVIGATION ===== */
.nav{
  display: flex;
  gap: 20px;
  align-items: center;
}

.nav a,
.header__nav > ul a{
  position: relative;
  color: rgba(13,20,15,0.72);
  text-decoration: none;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.10em;
  padding: 6px 10px;
  text-transform: uppercase;
  transition: color 0.25s ease, transform 0.18s ease, text-shadow 0.25s ease;
}

/* ===== PREMIUM PILL HOVER (instead of neon pulse) ===== */
.nav a::before,
.header__nav > ul a::before{
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;

  background: linear-gradient(
    90deg,
    rgba(185,239,64,0.10) 0%,
    rgba(185,239,64,0.26) 50%,
    rgba(185,239,64,0.10) 100%
  );
  background-size: 160% 100%;

  opacity: 0;
  filter: blur(0px);
  transform: scale(0.94);
  transition: opacity 0.28s ease, transform 0.28s ease, background-position 0.6s ease;
  z-index: -1;
}

.nav a:hover,
.header__nav > ul a:hover{
  color: rgba(13,20,15,0.92);
  text-shadow: none;
  transform: translateY(-1px);
}

.nav a:hover::before,
.header__nav > ul a:hover::before{
  opacity: 1;
  transform: scale(1);
  background-position: 100% 0;
}

/* ===== Electric pulse animation (kept but neutralized visually) ===== */
@keyframes neonPulse{
  0%{
    background-position: 220% 0;
    opacity: 0.72;
  }
  50%{
    background-position: 110% 0;
    opacity: 1;
  }
  100%{
    background-position: -220% 0;
    opacity: 0.72;
  }
}

/* ===== BURGER BUTTON ===== */
.burger{
  display: none;
  position: relative;
  width: 46px;
  height: 46px;
  border-radius: 14px;

  border: 1px solid rgba(13,20,15,0.14);
  background: rgba(255,255,255,0.70);

  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  z-index: 100;

  box-shadow:
    0 14px 34px rgba(13,20,15,0.12),
    0 0 0 6px rgba(185,239,64,0.00);
}

.burger::before,
.burger::after{
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 2px;
  border-radius: 2px;

  background: rgba(13,20,15,0.92);
  box-shadow: none;

  transition: all 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.burger::before{ top: 16px; }
.burger::after{ bottom: 16px; }

.burger .icon-left{
  position: absolute;
  left: 50%;
  top: 50%;
  width: 22px;
  height: 2px;
  transform: translate(-50%, -50%);
  border-radius: 2px;

  background: rgba(13,20,15,0.92);
  box-shadow: none;

  transition: all 0.3s ease;
}

.burger .icon-right{ display: none; }

.burger:hover{
  border-color: rgba(13,20,15,0.20);
  background: rgba(255,255,255,0.92);

  box-shadow:
    0 18px 44px rgba(13,20,15,0.14),
    0 0 0 6px rgba(185,239,64,0.18);

  transform: translateY(-1px);
}

/* OPEN STATE */
.burger.open{
  border-color: rgba(13,20,15,0.22);
  background: rgba(255,255,255,0.92);
}

.burger.open::before{
  top: 50%;
  transform: translateX(-50%) rotate(45deg);
}

.burger.open::after{
  top: 50%;
  bottom: auto;
  transform: translateX(-50%) rotate(-45deg);
}

.burger.open .icon-left{
  opacity: 0;
  transform: translate(-50%, -50%) scale(0);
}

/* ===== MOBILE MENU ===== */
.mobile__menu{ display: none; }

.header__nav > ul{
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: center;
  margin-inline: auto;
}

/* ===== MOBILE (off-canvas) ===== */
@media (max-width: 1024px){
  .nav{ display: none; }
  .burger{ display: flex; }

  .header__nav{
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100dvh;

    background:
      radial-gradient(900px 520px at 20% 0%, rgba(185,239,64,0.22), transparent 58%),
      radial-gradient(900px 520px at 80% 100%, rgba(185,239,64,0.14), transparent 62%),
      rgba(243,245,240,0.96);

    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);

    z-index: 50;
    transform: translateX(-120%);
    transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
    display: flex;
    flex-direction: column;
  }

  .header__nav > ul{

    margin-left: 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
    justify-content: center;
    height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
  }

  .header__nav > ul a{
    font-size: 18px;
    color: rgba(13,20,15,0.92);
  }

  .site-header .accent-btn {
    display: none;
  }

  .header__nav > a{
    display: inline-block !important;
    margin: auto 24px 40px;
    max-width: 90%;
    text-align: center;

    color: rgba(13,20,15,0.92) !important;
    background: linear-gradient(180deg, var(--accent), var(--accent-2));
    border-radius: 999px;
    padding: 12px 18px;
    font-weight: 900;
    border: 1px solid rgba(13,20,15,0.10);

    box-shadow:
      0 22px 60px rgba(185,239,64,0.30),
      0 18px 44px rgba(13,20,15,0.12);
  }

  .navOpen{ transform: translateX(0%); }
}

/* ===== ACCESSIBILITY ===== */
.header__nav > ul a:focus-visible,
.burger:focus-visible{
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.mobile__menu{ display: block; }

@media (prefers-reduced-motion: reduce){
  .burger,
  .burger *{ transition: none !important; }
  .header__nav{ transition: none !important; }
}
