.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(248, 246, 242, 0.94);
  border-bottom: 1px solid rgba(7, 24, 45, 0.08);
  box-shadow: 0 8px 30px rgba(7, 24, 45, 0.06);
  backdrop-filter: blur(16px);
}

.site-header__inner {
  width: min(1240px, 100%);
  min-height: 88px;
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  width: auto;
  height: 62px;
  object-fit: contain;
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 30px;
}

.primary-nav a,
.mobile-nav a {
  position: relative;
  color: #07182d;
  font-family: "Lato", Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.7;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.35s ease;
}

.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: #c89b3c;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

.primary-nav a:hover,
.primary-nav a:focus-visible,
.primary-nav a.is-active,
.mobile-nav a.is-active {
  color: #c89b3c;
}

.primary-nav a:hover::after,
.primary-nav a:focus-visible::after,
.primary-nav a.is-active::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(7, 24, 45, 0.12);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  color: #07182d;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 19px;
  height: 2px;
  margin: 5px auto;
  border-radius: 999px;
  background: currentColor;
}

.mobile-nav {
  display: none;
}

@media (max-width: 980px) {
  body {
    padding-top: 78px;
  }

  .site-header__inner {
    min-height: 78px;
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .brand img {
    height: 56px;
  }

  .primary-nav {
    display: none;
  }

  .nav-toggle {
    display: inline-block;
    justify-self: end;
  }

  .mobile-nav {
    display: grid;
    position: fixed;
    top: 78px;
    right: 0;
    z-index: 99;
    width: min(360px, 88vw);
    max-height: calc(100vh - 78px);
    overflow: hidden;
    padding: 8px 28px 24px;
    gap: 4px;
    background: rgba(248, 246, 242, 0.98);
    border-left: 1px solid rgba(200, 155, 60, 0.16);
    border-bottom: 1px solid rgba(7, 24, 45, 0.08);
    box-shadow: -18px 28px 60px rgba(7, 24, 45, 0.12);
    backdrop-filter: blur(16px);
    visibility: hidden;
    opacity: 0;
    transform: translateX(18px);
    pointer-events: none;
    transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s ease;
  }

  .site-header.is-open .mobile-nav {
    visibility: visible;
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
  }

  .mobile-nav a {
    padding: 13px 0;
  }
}
