/* ================================================================
   bn-nav / bn-menu — clean rebuild (no Tailwind dependency)
   Scoped selectors only; no !important needed.
   ================================================================ */

:root {
  --bn-navy: #0e1830;
  --bn-navy-92: rgba(14, 24, 48, 0.92);
  --bn-navy-98: rgba(14, 24, 48, 0.985);
  --bn-gold: #d4af37;
  --bn-gold-light: #e8cf7a;
}

/* ---------- Header shell ---------------------------------------- */
.bn-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background-color: transparent;
  transition:
    background-color 0.35s ease,
    backdrop-filter 0.35s ease,
    box-shadow 0.35s ease;
}
.bn-nav[data-scrolled="true"],
.bn-nav[data-menu-open="true"] {
  background-color: var(--bn-navy-92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.05),
    0 8px 28px rgba(0, 0, 0, 0.22);
}

.bn-nav__inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.25rem;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: height 0.35s ease;
}
@media (min-width: 1024px) {
  .bn-nav__inner {
    padding: 0 2rem;
    height: 92px;
  }
  .bn-nav[data-scrolled="true"] .bn-nav__inner {
    height: 76px;
  }
}

/* ---------- Brand ----------------------------------------------- */
.bn-nav__brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}
.bn-nav__brand img {
  display: block;
  height: 34px;
  width: auto;
  transition: height 0.35s ease;
}
@media (min-width: 1024px) {
  .bn-nav__brand img { height: 42px; }
  .bn-nav[data-scrolled="true"] .bn-nav__brand img { height: 34px; }
}

/* ---------- Desktop nav ----------------------------------------- */
.bn-nav__desktop {
  display: none;
}
@media (min-width: 1024px) {
  .bn-nav__desktop {
    display: flex;
    align-items: center;
    gap: 1.5rem;
  }
}
.bn-nav__link {
  position: relative;
  font-size: 15px;
  font-weight: 350;
  letter-spacing: 0.035em;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  padding: 6px 2px;
  transition: color 0.25s ease;
}
.bn-nav__link:hover { color: #fff; }
.bn-nav__link::after {
  content: "";
  position: absolute;
  left: 50%;
  right: 50%;
  bottom: -4px;
  height: 1.5px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(212, 175, 55, 0.95),
    transparent
  );
  transition: left 0.3s ease, right 0.3s ease;
}
.bn-nav__link:hover::after,
.bn-nav__link[aria-current="page"]::after {
  left: 0;
  right: 0;
}
.bn-nav__link[aria-current="page"] {
  color: var(--bn-gold-light);
}

.bn-nav__sep {
  display: inline-block;
  width: 1px;
  height: 20px;
  background: rgba(255, 255, 255, 0.12);
  margin: 0 0.25rem;
}

.bn-nav__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.05em;
  transition:
    background-color 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease;
}
.bn-nav__cta--ghost {
  padding: 0.55rem 1.1rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 350;
}
.bn-nav__cta--ghost:hover { color: var(--bn-gold-light); }
.bn-nav__cta--primary {
  padding: 0.7rem 1.5rem;
  background-color: var(--bn-gold);
  color: #fff;
  font-weight: 500;
}
.bn-nav__cta--primary:hover { background-color: var(--bn-gold-light); }

/* ---------- Language switcher (far right, separated) ----------- */
.bn-nav__lang {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 0.5rem;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  line-height: 1;
  transition:
    color 0.25s ease,
    border-color 0.25s ease,
    background-color 0.25s ease;
}
.bn-nav__lang:hover,
.bn-nav__lang:focus-visible {
  color: var(--bn-gold-light);
  border-color: rgba(212, 175, 55, 0.45);
  background-color: rgba(212, 175, 55, 0.06);
  outline: none;
}

/* ---------- Download page — booklet cover mockup --------------- */
.dl-booklet {
  position: relative;
  max-width: 360px;
  margin: 0 auto;
  filter: drop-shadow(0 30px 40px rgba(14, 24, 48, 0.25))
          drop-shadow(0 10px 18px rgba(14, 24, 48, 0.18));
  isolation: isolate;
}
.dl-booklet__cover {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 1px 3px 3px 1px;
  position: relative;
  z-index: 3;
  box-shadow:
    0 0 0 1px rgba(14, 24, 48, 0.08),
    inset 6px 0 10px -4px rgba(0, 0, 0, 0.25);
}
.dl-booklet::before,
.dl-booklet::after {
  content: "";
  position: absolute;
  top: 2px;
  bottom: 2px;
  left: 0.5%;
  right: 0.5%;
  background: #f4f1ea;
  border-radius: 1px 3px 3px 1px;
  z-index: 1;
  box-shadow: 0 0 0 1px rgba(14, 24, 48, 0.06);
}
.dl-booklet::before {
  transform: translate(5px, 5px);
  z-index: 1;
}
.dl-booklet::after {
  transform: translate(3px, 3px);
  background: #ffffff;
  z-index: 2;
}
.dl-booklet__pages {
  position: absolute;
  top: 3%;
  bottom: 3%;
  right: -4px;
  width: 6px;
  background: linear-gradient(
    to right,
    rgba(14, 24, 48, 0.15),
    rgba(255, 255, 255, 0.9) 40%,
    rgba(220, 215, 200, 0.9) 70%,
    rgba(180, 170, 140, 0.6)
  );
  border-radius: 0 2px 2px 0;
  z-index: 2;
  box-shadow: 1px 0 2px rgba(14, 24, 48, 0.18);
}
.dl-booklet__spine {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 18px;
  z-index: 4;
  pointer-events: none;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.22),
    rgba(0, 0, 0, 0.04) 60%,
    transparent
  );
  border-radius: 1px 0 0 1px;
}
.dl-booklet__label {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(14, 24, 48, 0.45);
}
@media (max-width: 640px) {
  .dl-booklet {
    max-width: 260px;
  }
}

/* ---------- Mobile toggle --------------------------------------- */
.bn-nav__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 44px;
  padding: 0 16px 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.08);
  color: #fff;
  font: inherit;
  cursor: pointer;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}
.bn-nav__toggle:hover,
.bn-nav__toggle:focus-visible {
  background-color: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.3);
  outline: none;
}
.bn-nav[data-menu-open="true"] .bn-nav__toggle {
  background-color: rgba(212, 175, 55, 0.16);
  border-color: rgba(212, 175, 55, 0.5);
}
@media (min-width: 1024px) {
  .bn-nav__toggle { display: none; }
}

.bn-nav__toggle-icon {
  position: relative;
  display: block;
  width: 20px;
  height: 14px;
  flex-shrink: 0;
}
.bn-nav__toggle-icon > span {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition:
    transform 0.3s ease,
    opacity 0.2s ease,
    top 0.3s ease;
}
.bn-nav__toggle-icon > span:nth-child(1) { top: 0; }
.bn-nav__toggle-icon > span:nth-child(2) { top: 6px; }
.bn-nav__toggle-icon > span:nth-child(3) { top: 12px; }
.bn-nav[data-menu-open="true"] .bn-nav__toggle-icon > span:nth-child(1) {
  top: 6px;
  transform: rotate(45deg);
}
.bn-nav[data-menu-open="true"] .bn-nav__toggle-icon > span:nth-child(2) {
  opacity: 0;
}
.bn-nav[data-menu-open="true"] .bn-nav__toggle-icon > span:nth-child(3) {
  top: 6px;
  transform: rotate(-45deg);
}

.bn-nav__toggle-label {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1;
  pointer-events: none;
}

/* ================================================================
   Mobile overlay menu
   ================================================================ */
.bn-menu {
  position: fixed;
  inset: 0;
  z-index: 60;
  background-color: var(--bn-navy-98);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  transition:
    opacity 0.28s ease,
    visibility 0s linear 0.28s;
}
.bn-menu.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition:
    opacity 0.28s ease,
    visibility 0s linear 0s;
}
@media (min-width: 1024px) {
  .bn-menu,
  .bn-menu.is-open {
    display: none;
  }
}

.bn-menu__panel {
  min-height: 100%;
  padding: 22px 20px 140px;
  display: flex;
  flex-direction: column;
}
.bn-menu__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding: 0 4px;
}
.bn-menu__title {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.28em;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
}
.bn-menu__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 18px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}
.bn-menu__close:hover,
.bn-menu__close:active {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.3);
}
.bn-menu__close-x {
  font-size: 20px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.85);
}

.bn-menu__nav {
  display: flex;
  flex-direction: column;
  max-width: 480px;
  width: 100%;
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.bn-menu__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  padding: 20px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  font-size: 18px;
  font-weight: 400;
  position: relative;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.bn-menu__link:active,
.bn-menu__link:hover {
  background-color: rgba(255, 255, 255, 0.03);
}
.bn-menu__link[aria-current="page"] {
  color: var(--bn-gold-light);
  background-color: rgba(212, 175, 55, 0.08);
}
.bn-menu__link[aria-current="page"]::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--bn-gold);
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.6);
  transform: translateY(-50%);
}
.bn-menu__chev {
  font-size: 22px;
  font-weight: 300;
  line-height: 1;
  color: rgba(255, 255, 255, 0.35);
}
.bn-menu__link[aria-current="page"] .bn-menu__chev {
  color: var(--bn-gold);
}

.bn-menu__ctas {
  max-width: 480px;
  width: 100%;
  margin: 28px auto 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.bn-menu__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 14px 18px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-decoration: none;
  border-radius: 2px;
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease;
}
.bn-menu__cta--ghost {
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: var(--bn-gold-light);
}
.bn-menu__cta--ghost:active,
.bn-menu__cta--ghost:hover {
  background-color: rgba(212, 175, 55, 0.1);
}
.bn-menu__cta--primary {
  background-color: var(--bn-gold);
  color: #fff;
}
.bn-menu__cta--primary:active,
.bn-menu__cta--primary:hover {
  background-color: var(--bn-gold-light);
}

/* ---------- Body lock when menu open ---------------------------- */
body.bn-menu-open {
  overflow: hidden;
}

/* ================================================================
   Legacy bottom CTA bar (separate element — kept from prior version)
   ================================================================ */
body > div.fixed.bottom-0.left-0.right-0.z-40.lg\:hidden {
  translate: 0 0 !important;
  transform: translateY(0) !important;
  --tw-translate-y: 0 !important;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.35);
}
body > div.fixed.bottom-0.left-0.right-0.z-40.lg\:hidden a {
  padding-top: 16px !important;
  padding-bottom: 16px !important;
  font-size: 14px !important;
  min-height: 54px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.05em;
}
@media (max-width: 1023px) {
  main { padding-bottom: 4px; }
  footer.bg-navy { padding-bottom: 72px !important; }
}
