.site-header {
  position: sticky;
  top: 0;
  z-index: 9999;
  padding: 24px 100px;
  will-change: transform;
  background: var(--background-color);
  backdrop-filter: saturate(120%) blur(4px);
  transform: translateY(0);
  transition: transform 0.25s ease, box-shadow 0.2s ease;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}
.site-header--hidden {
  transform: translateY(-100%);
}
.site-header--shadow {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.site-header__inner {
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
}

.brand__logo {
  display: block;
  width: 250px;
  height: 76px;
  max-width: none;
  object-fit: contain;
  flex-shrink: 0;
}

.nav {
  margin-left: auto;
  margin-right: 24px;
  display: flex;
  gap: 16px;
}

.nav a,
.nav button.nav-link {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: 500;
  font-size: var(--p-font-size);
  font-family: var(--secondary-font);
  position: relative;
  border: none;
  background: none;
  cursor: pointer;
}

.nav a::after,
.nav button.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}
.nav a:hover::after,
.nav a.is-active::after,
.nav button.nav-link:hover::after {
  transform: scaleX(1);
}
.cta1 {
  background: var(--secondary-color);
  color: var(--pure-white);
  text-decoration: none;
  font-weight: 500;
  font-size: var(--p-font-size);
  font-family: var(--secondary-font);
  padding: 16px 24px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}
.cta1:hover {
  background-color: #27337e;
  transform: translateY(-2px);
}

@media (max-width: 820px) {
  .nav {
    gap: 18px;
  }
  .brand__text strong {
    font-size: 16px;
  }
}
/* Hamburger Menu Button */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 32px;
  height: 32px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 10000;
  position: relative;
}

.menu-toggle__line {
  width: 100%;
  height: 3px;
  background-color: var(--secondary-color);
  border-radius: 3px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__line:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__line:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__line:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

@media (max-width: 1024px) {
  .nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--background-color);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 9998;
    padding: 80px 24px 24px;
  }

  .nav.is-open {
    transform: translateX(0);
  }

  .nav a {
    font-size: 1.5rem;
    width: 100%;
    text-align: center;
    padding: 12px 0;
  }

  .nav a::after {
    bottom: 4px;
  }

  .cta1 {
    display: none;
  }

  .menu-toggle {
    display: flex;
    margin-left: auto;
    position: relative;
    align-self: center;
    z-index: 10000;
  }

  .site-header__inner {
    justify-content: space-between;
    align-items: center;
  }

  .site-header {
    padding: 24px 20px;
  }

  .brand__logo {
    width: 180px;
    height: auto;
  }
}
@media (prefers-reduced-motion: reduce) {
  .site-header {
    transition: none;
  }
}
