.hero-header {
  position: sticky;
  top: 0px;
  left: 0px;
  right: 0px;
  width: auto;
  padding: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0) 13.56%, rgba(0, 0, 0, 0.6) 84.01%);
  z-index: 9999;
}

.legal-header {
  position: relative;
  flex: 0 0 auto;
}

.nav-bar {
  width: 100%;
  height: 98px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 32px;
  padding: 24px 40px;
  box-sizing: border-box;
  margin-bottom: 51px;
  z-index: 100;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-bar a {
  color: white;
  text-decoration: none;
  font-size: 20px;
  font-weight: 400;
  font-family: "Fira Code", monospace;
  position: relative;
  transition: color 0.2s ease;
}

.nav-bar a:hover {
  color: #3dcfb6;
}

.logo {
  width: 48px;
  height: auto;
  object-fit: contain;
  margin-left: auto;
  flex-shrink: 0;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.logo:hover {
  content: url("../assets/logo/logo_hover.png");
}

.burger-button {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 14px;
  padding: 10px 9px;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
  backdrop-filter: blur(5px);
  z-index: 101;
}

.burger-button span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: #3dcfb6;
  border-radius: 999px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* RESPONSIVE MEDIA QUERIES */
@media (max-width: 1200px) {
  .nav-bar {
    gap: 24px;
    padding: 20px 32px;
  }

  .nav-bar a {
    font-size: 18px;
  }
}

@media (max-width: 900px) {
  .nav-bar {
    z-index: 1000;
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    padding: 16px 20px;
    box-sizing: border-box;
    justify-content: space-between;
    gap: 10px;
  }

  .burger-button {
    z-index: 1002;
    display: block;
    position: relative;
    top: auto;
    right: auto;
    order: 2;
    margin-left: 0;
  }

  .nav-links {
    z-index: 1001;
    position: fixed;
    top: 88px;
    right: 16px;
    width: min(60vw, 246px);
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    min-height: 246px;
    padding: 30px 20px 24px;
    border: 1px solid #3dcfb6;
    border-radius: 34px;
    background: linear-gradient(120deg, #1c1c1c 8%, #0e5a4f 100%);
    box-sizing: border-box;
    box-shadow: 0 20px 44px rgba(0, 0, 0, 0.45);
  }

  body.nav-menu-open .nav-links {
    display: flex;
  }

  .nav-links a {
    width: 100%;
    text-align: center;
    font-size: 18px;
    line-height: 1.2;
    letter-spacing: 0.02em;
  }

  .nav-links a.is-active {
    color: #3dcfb6;
  }

  .nav-links a.is-active::after {
    content: "";
    display: block;
    width: 6px;
    height: 6px;
    margin: 6px auto 0;
    border-radius: 50%;
    background: #caf7f0;
  }

  .nav-links .lang-switch {
    margin-top: 2px;
    align-self: center;
    order: 5;
  }

  .logo {
    order: 1;
    width: 48px;
    height: auto;
    margin-left: 0;
  }

  .legal-header {
    min-height: 124px;
  }
}

@media (max-width: 700px) {
  .nav-bar {
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    padding: 14px 16px;
    justify-content: space-between;
  }

  .burger-button {
    top: auto;
    right: auto;
    width: 48px;
    height: 48px;
  }

  .nav-links {
    top: 82px;
    right: 12px;
    width: min(64vw, 236px);
    min-height: 224px;
    padding: 26px 16px 20px;
    gap: 14px;
  }

  .nav-links a {
    font-size: 16px;
    line-height: 1.2;
  }

  .logo {
    width: 35px;
    height: auto;
    margin-left: 0;
  }

  .legal-header {
    min-height: 136px;
  }
}

@media (max-width: 420px) {
  .nav-bar {
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    padding: 12px 16px;
    align-items: center;
  }

  .logo {
    width: 36px;
    margin-left: 0;
  }

  .burger-button {
    top: auto;
    right: auto;
    width: 40px;
    height: 40px;
    padding: 8px;
  }

  .legal-header {
    min-height: 124px;
  }
}