.lg-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(14, 14, 16, 0.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  color: #f9f5ef;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.lg-header__inner {
  max-width: 1200px;
  margin-inline: auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.lg-header__brand {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
}

.lg-header__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: inherit;
}

.lg-header__logo-mark {
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 0%, #ffe9b3 0, #f4c266 38%, #b17b32 80%, #18151a 100%);
  box-shadow: 0 0 12px rgba(244, 194, 102, 0.75);
}

.lg-header__logo-text {
  font-family: "Playfair Display", "Times New Roman", serif;
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}

.lg-header__nav {
  flex: 0 1 auto;
}

.lg-header__nav-list {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.lg-header__nav-link {
  position: relative;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(248, 244, 234, 0.86);
  padding-block: 0.3rem;
}

.lg-header__nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.3rem;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #f4c266, #e7a94f);
  transition: width 0.18s ease-out;
}

.lg-header__nav-link:hover::after,
.lg-header__nav-link:focus-visible::after {
  width: 100%;
}

.lg-header__nav-link:hover,
.lg-header__nav-link:focus-visible {
  color: #ffffff;
}

.lg-header__nav-item--highlight .lg-header__nav-link {
  color: #f4c266;
}

.lg-header__nav-item--highlight .lg-header__nav-link::after {
  background: linear-gradient(90deg, #ffd894, #f4c266);
}

.lg-header__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lg-header__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(244, 194, 102, 0.7);
  background: radial-gradient(circle at 30% 0%, rgba(244, 194, 102, 0.18) 0, rgba(60, 50, 34, 0.9) 55%, rgba(14, 14, 16, 0.96) 100%);
  color: #fdf7ea;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.18s ease-out, transform 0.16s ease-out, box-shadow 0.16s ease-out;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.45);
}

.lg-header__cta:hover,
.lg-header__cta:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.55);
  background: radial-gradient(circle at 30% 0%, rgba(255, 221, 158, 0.4) 0, rgba(80, 61, 35, 1) 60%, rgba(14, 14, 16, 1) 100%);
}

.lg-header__icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(248, 244, 234, 0.9);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.18s ease-out, color 0.18s ease-out, transform 0.16s ease-out, box-shadow 0.16s ease-out;
}

.lg-header__icon-link:hover,
.lg-header__icon-link:focus-visible {
  background: rgba(244, 194, 102, 0.1);
  color: #ffe9b3;
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px rgba(244, 194, 102, 0.4);
}

.lg-header__toggle {
  display: none;
  position: relative;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(14, 14, 16, 0.9);
  padding: 0;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.lg-header__toggle-bar {
  width: 1.2rem;
  height: 2px;
  border-radius: 999px;
  background: #fdf7ea;
  display: block;
  transition: transform 0.18s ease-out, opacity 0.18s ease-out, translate 0.18s ease-out;
}

.lg-header__toggle-bar + .lg-header__toggle-bar {
  margin-top: 0.2rem;
}

.lg-header__toggle[aria-expanded="true"] .lg-header__toggle-bar:nth-child(1) {
  transform: rotate(45deg) translate(3px, 3px);
}

.lg-header__toggle[aria-expanded="true"] .lg-header__toggle-bar:nth-child(2) {
  opacity: 0;
}

.lg-header__toggle[aria-expanded="true"] .lg-header__toggle-bar:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -4px);
}

.lg-header__toggle:focus-visible,
.lg-header__cta:focus-visible,
.lg-header__nav-link:focus-visible,
.lg-header__icon-link:focus-visible {
  outline: 2px solid #f4c266;
  outline-offset: 3px;
}

@media (max-width: 768px) {
  .lg-header__inner {
    padding-block: 0.6rem;
  }

  .lg-header__toggle {
    display: inline-flex;
    flex-direction: column;
  }

  .lg-header__nav {
    position: absolute;
    inset-inline: 0;
    top: 100%;
    background: rgba(10, 10, 12, 0.98);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transform-origin: top;
    transform: scaleY(0.9);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.16s ease-out, transform 0.16s ease-out;
  }

  .lg-header__nav-list {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.75rem 1.25rem 1rem;
    gap: 0.4rem;
  }

  .lg-header__nav-link {
    padding-block: 0.45rem;
    font-size: 0.95rem;
  }

  .lg-header__nav--open {
    opacity: 1;
    transform: scaleY(1);
    pointer-events: auto;
  }

  .lg-header__actions {
    gap: 0.4rem;
  }

  .lg-header__cta {
    padding-inline: 0.7rem;
  }

  .lg-header__icon-link {
    width: 2rem;
    height: 2rem;
  }
}

@media (max-width: 540px) {
  .lg-header__logo-text {
    font-size: 1rem;
  }

  .lg-header__inner {
    gap: 0.6rem;
  }

  .lg-header__actions {
    display: none;
  }
}

@media (min-width: 1024px) {
  .lg-header__inner {
    padding-inline: 2rem;
  }

  .lg-header__nav-list {
    gap: 2rem;
  }
}
