/* =====================================================================
   Bitnet — header & footer chrome
   Converted from BitnetNav.dc.html and BitnetFooter.dc.html. Inline
   styles have been lifted into classes so they can be overridden.
   ===================================================================== */

/* ---------------------------------------------------------------- header */

.bn-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.bn-header-inner {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 clamp(20px, 3vw, 28px);
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 26px);
  height: 120px;
}

.bn-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex: none;
  text-decoration: none;
}
.bn-brand img,
.bn-brand .custom-logo {
  height: 96px;
  width: auto;
  display: block;
}

.bn-worldtag {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 10.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
  border: 1px solid;
  border-radius: 999px;
  padding: 3px 9px;
}

.bn-nav {
  display: flex;
  gap: clamp(10px, 1.6vw, 22px);
  margin-left: 4px;
  align-items: center;
}

.bn-header-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 14px;
}

.bn-item {
  position: relative;
  display: flex;
  align-items: center;
  height: 120px;
}

.bn-top {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14.5px;
  color: var(--fg2);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: color var(--dur-base) var(--ease-standard),
              background var(--dur-base) var(--ease-standard);
  background: none;
  border: 0;
  padding: 9px 14px;
  border-radius: 999px;
  position: relative;
}
.bn-top:hover,
.bn-item:hover .bn-top { color: var(--azure-deep); background: var(--azure-50); }
.bn-top[data-current="1"] { color: var(--azure-deep); font-weight: 600; }
.bn-top[data-current="1"]::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 2px;
  height: 2px;
  border-radius: 999px;
  background: var(--azure);
}

.bn-panel {
  position: absolute;
  top: 110px;
  left: -6px;
  min-width: 288px;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(24px) saturate(1.5);
  -webkit-backdrop-filter: blur(24px) saturate(1.5);
  border: 1px solid rgba(255, 255, 255, .85);
  border-radius: 20px;
  box-shadow: 0 24px 54px rgba(40, 60, 77, .20), 0 2px 6px rgba(40, 60, 77, .06);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(.98);
  transition: opacity .22s var(--ease-out),
              transform .28s cubic-bezier(.2, .9, .3, 1),
              visibility .22s;
  z-index: 70;
}
.bn-panel.wide { min-width: 340px; }
.bn-item:hover .bn-panel,
.bn-item:focus-within .bn-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.bn-plink {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 14px;
  text-decoration: none;
  transition: background var(--dur-base), transform var(--dur-base) var(--ease-out);
}
.bn-plink:hover { background: var(--azure-50); transform: translateX(3px); }
.bn-plink .pi {
  width: 34px; height: 34px;
  border-radius: 11px;
  background: var(--azure-50);
  color: var(--azure-600);
  display: flex; align-items: center; justify-content: center;
  flex: none;
  transition: all var(--dur-base);
}
.bn-plink:hover .pi { background: var(--azure); color: #fff; }
.bn-plink .pi svg { width: 18px; height: 18px; }
.bn-plink .pt {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  color: var(--azure-deep);
  line-height: 1.2;
}
.bn-plink .pd {
  display: block;
  font-size: 12px;
  color: var(--fg3);
  margin-top: 2px;
  line-height: 1.35;
}

.bn-panel-head {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--fg3);
  padding: 8px 12px 4px;
}

.bn-panel-foot {
  display: block;
  padding: 10px 12px;
  margin-top: 4px;
  border-top: 1px solid var(--divider);
  font-size: 13px;
  font-weight: 600;
  color: var(--azure-600);
  text-decoration: none;
}
.bn-panel-foot:hover { color: var(--azure-700); }

.bn-world {
  display: inline-flex;
  background: var(--azure-deep);
  border: 1px solid var(--azure-deep);
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
}
.bn-world svg { width: 15px; height: 15px; }
.bn-world a {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12.5px;
  color: rgba(255, 255, 255, .72);
  padding: 7px 14px;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--dur-base) var(--ease-standard);
}
.bn-world a:hover { color: #fff; }
.bn-world a[data-on="1"] {
  background: #fff;
  color: var(--azure-deep);
  box-shadow: var(--shadow-sm);
}

.bn-phone {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13.5px;
  color: var(--azure-deep);
  text-decoration: none;
  white-space: nowrap;
}

.bn-cta {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  color: #fff;
  background: var(--azure);
  border-radius: var(--radius-md);
  padding: 10px 18px;
  text-decoration: none;
  box-shadow: var(--shadow-brand);
  white-space: nowrap;
  transition: background var(--dur-base);
}
.bn-cta:hover { background: var(--azure-500); color: #fff; }

.bn-burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-strong);
  background: #fff;
  cursor: pointer;
  color: var(--azure-deep);
  flex: none;
}
.bn-burger:hover { border-color: var(--azure); color: var(--azure); }
.bn-burger svg { width: 20px; height: 20px; }

/* ---------- mobile drawer ---------- */

.bn-drawer {
  display: none;
  position: fixed;
  left: 0; right: 0;
  top: 120px;
  bottom: 0;
  background: #fff;
  border-top: 1px solid var(--border);
  overflow-y: auto;
  z-index: 80;
  padding: 20px clamp(20px, 5vw, 28px) 40px;
}
.bn-drawer.open { display: block; }

.bn-dgroup {
  border-bottom: 1px solid var(--divider);
  padding: 6px 0 14px;
  margin-bottom: 8px;
}
.bn-dhead {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: var(--fg3);
  padding: 12px 2px 8px;
}
.bn-dlink {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 10px;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15.5px;
  color: var(--azure-deep);
  min-height: 44px;
}
.bn-dlink:hover { background: var(--azure-50); }
.bn-dlink svg { width: 18px; height: 18px; color: var(--azure-600); flex: none; }

.bn-dworld {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 4px 0 16px;
}
.bn-dworld a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-strong);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14.5px;
  color: var(--azure-deep);
  text-decoration: none;
}
.bn-dworld a[data-on="1"] {
  background: var(--azure);
  border-color: var(--azure);
  color: #fff;
}

@media (max-width: 1180px) { .bn-world { display: none; } }
@media (max-width: 1080px) { .bn-nav { gap: 14px !important; } .bn-top { font-size: 13.5px; } }
@media (max-width: 980px)  {
  .bn-nav { display: none !important; }
  .bn-burger { display: inline-flex; }
  .bn-header-inner { height: 96px; }
  .bn-item { height: 96px; }
  .bn-brand img, .bn-brand .custom-logo { height: 68px; }
  .bn-drawer { top: 96px; }
}
@media (min-width: 981px)  { .bn-drawer { display: none !important; } }
@media (max-width: 620px)  { .bn-phone { display: none; } }

/* ---------- booking modal ---------- */

.bn-book-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  align-items: center;
  justify-content: center;
  padding: 20px;
  display: none;
}
.bn-book-modal.open { display: flex; }
.bn-book-modal[hidden] { display: none; }

.bn-book-scrim {
  position: absolute;
  inset: 0;
  background: var(--scrim);
  backdrop-filter: blur(6px);
}
.bn-book-dialog {
  position: relative;
  background: #fff;
  border-radius: var(--radius-2xl);
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow: auto;
  box-shadow: var(--shadow-xl);
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.bn-book-aside {
  background: linear-gradient(158deg, #4a86bb, var(--azure));
  color: #fff;
  padding: 36px;
}
.bn-book-aside h3 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.6rem;
  color: #fff;
}
.bn-book-aside .eyebrow { color: #eaf3fb; margin-bottom: 12px; }
.bn-book-aside p { margin: 0; font-size: .92rem; line-height: 1.6; color: rgba(255, 255, 255, .9); }

.bn-book-body { padding: 36px; position: relative; }
.bn-book-body > button {
  position: absolute;
  top: 18px; right: 18px;
  background: var(--neutral-100);
  border: 0;
  width: 34px; height: 34px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 18px;
  color: var(--fg2);
}
.bn-book-frame {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 560px;
}
.bn-book-frame iframe { width: 100%; height: 560px; border: 0; display: block; }

@media (max-width: 760px) {
  .bn-book-dialog { grid-template-columns: 1fr; }
  .bn-book-aside { padding: 24px; }
  .bn-book-body { padding: 24px; }
}

/* ---------------------------------------------------------------- footer */

.bn-footer {
  background: var(--neutral-900);
  color: rgba(255, 255, 255, .7);
  padding: clamp(48px, 6vw, 64px) 0 36px;
}
.bn-footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 32px);
}

.bn-fgrid {
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr);
  gap: clamp(24px, 3vw, 40px);
}
@media (max-width: 1000px) { .bn-fgrid { grid-template-columns: 1fr 1fr 1fr; } }
@media (max-width: 680px)  { .bn-fgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px)  { .bn-fgrid { grid-template-columns: 1fr; } }

.bn-fbrand { display: flex; align-items: center; gap: 12px; }
.bn-fbrand img { width: 40px; height: 40px; object-fit: contain; }
.bn-fbrand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  color: #fff;
  line-height: 1.05;
}
.bn-fblurb {
  font-size: 13px;
  color: rgba(255, 255, 255, .55);
  margin: 16px 0 0;
  max-width: 26em;
  line-height: 1.55;
}
.bn-fcontact { display: flex; gap: 20px; margin-top: 20px; font-size: 13px; }

.bn-foot-a {
  font-size: 13.5px;
  color: rgba(255, 255, 255, .65);
  text-decoration: none;
  transition: color var(--dur-base);
}
.bn-foot-a:hover { color: #fff; }

.bn-colh {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #fff;
  margin: 0 0 16px;
}

.bn-fcol-links { display: flex; flex-direction: column; gap: 11px; }
.bn-fcol-links li { list-style: none; }
.bn-fcol-links a {
  font-size: 13.5px;
  color: rgba(255, 255, 255, .65);
  text-decoration: none;
  transition: color var(--dur-base);
}
.bn-fcol-links a:hover { color: #fff; }

.bn-soc { display: flex; gap: 12px; margin-top: 20px; }
.bn-soc a {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, .7);
  transition: all var(--dur-base);
}
.bn-soc a:hover { background: var(--azure); border-color: var(--azure); color: #fff; }
.bn-soc svg { width: 16px; height: 16px; fill: currentColor; }

.bn-fbottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: 12.5px;
  color: rgba(255, 255, 255, .5);
  flex-wrap: wrap;
  gap: 12px;
}
.bn-flegal { display: flex; gap: 18px; }
.bn-flegal li { list-style: none; }
