/*
 * Site header — replaces the Elementor header template (elementor-4217).
 * Markup is injected into every page by scripts/inject-site-header.py.
 */
.bk-header {
  --bk-navy: #16163f;
  --bk-navy-2: #23235a;
  --bk-gold: #d3be90;
  --bk-gold-dark: #b89d63;
  --bk-text: #1f1f3a;
  --bk-muted: #6b6b85;
  --bk-line: #ececf3;
  position: sticky;
  top: 0;
  z-index: 9990;
  direction: rtl;
  font-family: "Assistant", "Heebo", Arial, sans-serif;
  background: #fff;
  box-shadow: 0 1px 0 var(--bk-line);
  transition: box-shadow .25s ease;
}
.bk-header.is-scrolled { box-shadow: 0 6px 24px rgba(22, 22, 63, .10); }
.bk-header *, .bk-header *::before, .bk-header *::after { box-sizing: border-box; }
.bk-header a { text-decoration: none; }
.admin-bar .bk-header { top: 32px; }

/* ---- thin utility strip ---- */
.bk-strip { background: var(--bk-navy); color: rgba(255, 255, 255, .78); font-size: 13px; }
.bk-strip__in {
  max-width: 1240px; margin: 0 auto; padding: 0 24px; height: 34px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.bk-strip__info, .bk-strip__social { display: flex; align-items: center; gap: 22px; }
.bk-strip a { color: inherit; display: inline-flex; align-items: center; gap: 7px; transition: color .2s; }
.bk-strip a:hover { color: var(--bk-gold); }
.bk-strip svg { width: 14px; height: 14px; fill: var(--bk-gold); flex: none; }
.bk-strip__social svg { fill: currentColor; width: 15px; height: 15px; }

/* ---- main bar ---- */
.bk-bar__in {
  max-width: 1240px; margin: 0 auto; padding: 0 24px; height: 78px;
  display: flex; align-items: center; gap: 28px;
  transition: height .25s ease;
}
.bk-header.is-scrolled .bk-bar__in { height: 66px; }
.bk-logo { flex: none; display: block; line-height: 0; }
.bk-logo img { height: 60px; width: auto; transition: height .25s ease; }
.bk-header.is-scrolled .bk-logo img { height: 52px; }

.bk-nav { flex: 1; display: flex; justify-content: center; }
.bk-nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.bk-nav__item { position: relative; }
.bk-nav__link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-radius: 8px;
  font-size: 16.5px; font-weight: 600; color: var(--bk-text); white-space: nowrap;
  background: none; border: 0; cursor: pointer; font-family: inherit; line-height: 1.2;
  transition: color .2s, background .2s;
}
.bk-nav__link:hover, .bk-nav__item:focus-within > .bk-nav__link { color: var(--bk-navy); background: #f5f3ee; }
.bk-nav__link.is-active { color: var(--bk-navy); }
.bk-nav__link.is-active::after {
  content: ""; position: absolute; inset-inline: 14px; bottom: 2px; height: 2px;
  background: var(--bk-gold); border-radius: 2px;
}
.bk-nav__item > .bk-nav__link { position: relative; }
/* the theme styles every [type=button] as a gold pill — undo that here */
.bk-header button.bk-nav__link, .bk-header button.bk-nav__link:hover, .bk-header button.bk-nav__link:focus {
  background: none; color: var(--bk-text); border: 0; box-shadow: none; padding: 10px 14px;
  font-size: 16.5px; font-weight: 600; text-transform: none; letter-spacing: normal; border-radius: 8px;
}
.bk-header button.bk-nav__link:hover, .bk-header .bk-nav__item:focus-within > button.bk-nav__link,
.bk-header .bk-nav__item.is-open > button.bk-nav__link { background: #f5f3ee; color: var(--bk-navy); }
.bk-header button.bk-nav__link.is-active { color: var(--bk-navy); }
.bk-header button.bk-burger, .bk-header button.bk-burger:hover, .bk-header button.bk-burger:focus { background: #f5f3ee; padding: 0; border: 0; box-shadow: none; }
.bk-drawer button.bk-drawer__close, .bk-drawer button.bk-drawer__close:hover { background: #f5f3ee; color: #16163f; padding: 0; border: 0; font-size: 26px; }
.bk-caret { width: 10px; height: 10px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .2s; opacity: .6; }
.bk-nav__item:hover .bk-caret, .bk-nav__item.is-open .bk-caret { transform: rotate(180deg); }

.bk-drop {
  position: absolute; top: calc(100% + 8px); right: 0; min-width: 270px;
  background: #fff; border-radius: 14px; padding: 8px;
  box-shadow: 0 18px 50px rgba(22, 22, 63, .16), 0 0 0 1px var(--bk-line);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
}
.bk-drop::before { content: ""; position: absolute; inset: -10px 0 auto; height: 10px; }
.bk-nav__item:hover > .bk-drop, .bk-nav__item:focus-within > .bk-drop, .bk-nav__item.is-open > .bk-drop {
  opacity: 1; visibility: visible; transform: none; transition-delay: 0s;
}
.bk-drop a {
  display: block; padding: 10px 14px; border-radius: 9px; color: var(--bk-text); font-size: 15.5px; font-weight: 500;
  transition: background .15s, color .15s;
}
.bk-drop a small { display: block; color: var(--bk-muted); font-size: 13px; font-weight: 400; margin-top: 1px; }
.bk-drop a:hover { background: #f5f3ee; color: var(--bk-navy); }
.bk-drop hr { border: 0; border-top: 1px solid var(--bk-line); margin: 6px 8px; }
.bk-drop .bk-drop__all { color: var(--bk-gold-dark); font-weight: 600; }

.bk-actions { flex: none; display: flex; align-items: center; gap: 10px; }
.bk-phone {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 12px;
  color: var(--bk-navy); font-weight: 700; font-size: 16px; direction: ltr; border-radius: 10px;
  transition: background .2s;
}
.bk-phone:hover { background: #f5f3ee; color: var(--bk-navy); }
.bk-phone svg { width: 17px; height: 17px; fill: var(--bk-gold-dark); }
.bk-cta {
  display: inline-flex; align-items: center; padding: 11px 20px; border-radius: 10px;
  background: var(--bk-navy); color: #fff !important; font-weight: 700; font-size: 15.5px; white-space: nowrap;
  box-shadow: 0 6px 16px rgba(22, 22, 63, .22);
  transition: background .2s, transform .2s, box-shadow .2s;
}
.bk-cta:hover { background: var(--bk-navy-2); transform: translateY(-1px); box-shadow: 0 10px 22px rgba(22, 22, 63, .28); }

.bk-burger {
  display: none; width: 44px; height: 44px; border: 0; border-radius: 10px; background: #f5f3ee;
  align-items: center; justify-content: center; cursor: pointer; padding: 0;
}
.bk-burger span, .bk-burger span::before, .bk-burger span::after {
  display: block; width: 20px; height: 2px; background: var(--bk-navy); border-radius: 2px; position: relative; content: "";
}
.bk-burger span::before { position: absolute; top: -6px; }
.bk-burger span::after { position: absolute; top: 6px; }

/* ---- mobile drawer ---- */
.bk-drawer { position: fixed; inset: 0; z-index: 9999; visibility: hidden; direction: rtl; font-family: "Assistant", Arial, sans-serif; }
.bk-drawer.is-open { visibility: visible; }
.bk-drawer__scrim { position: absolute; inset: 0; background: rgba(15, 15, 40, .5); opacity: 0; transition: opacity .25s; }
.bk-drawer.is-open .bk-drawer__scrim { opacity: 1; }
.bk-drawer__panel {
  position: absolute; top: 0; bottom: 0; right: 0; width: min(88vw, 380px); background: #fff;
  transform: translateX(100%); transition: transform .3s cubic-bezier(.2, .8, .2, 1);
  display: flex; flex-direction: column; overflow-y: auto;
}
.bk-drawer.is-open .bk-drawer__panel { transform: none; }
.bk-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid #ececf3; }
.bk-drawer__head img { height: 42px; width: auto; }
.bk-drawer__close { width: 40px; height: 40px; border: 0; background: #f5f3ee; border-radius: 10px; font-size: 24px; line-height: 1; color: #16163f; cursor: pointer; }
.bk-drawer__nav { padding: 10px 12px; flex: 1; }
.bk-drawer__nav a, .bk-drawer__nav summary {
  display: flex; align-items: center; justify-content: space-between; padding: 13px 12px; border-radius: 10px;
  color: #1f1f3a; font-size: 17px; font-weight: 600; text-decoration: none; cursor: pointer; list-style: none;
}
.bk-drawer__nav summary::-webkit-details-marker { display: none; }
.bk-drawer__nav a:hover, .bk-drawer__nav summary:hover { background: #f5f3ee; }
.bk-drawer__nav a.is-active { color: #b89d63; }
.bk-drawer__nav details[open] summary .bk-caret { transform: rotate(180deg); }
.bk-drawer__sub { padding: 0 14px 6px 0; border-right: 2px solid #d3be90; margin: 0 12px 8px 0; }
.bk-drawer__sub a { font-size: 15.5px; font-weight: 500; padding: 9px 12px; }
.bk-drawer__foot { padding: 16px 18px 24px; border-top: 1px solid #ececf3; display: grid; gap: 10px; }
.bk-drawer__foot .bk-cta, .bk-drawer__foot .bk-phone { justify-content: center; }
.bk-drawer__foot .bk-phone { background: #f5f3ee; }
.bk-drawer__info { font-size: 14px; color: #6b6b85; text-align: center; line-height: 1.7; }
.bk-drawer__info a { color: inherit; text-decoration: none; }
html.bk-lock, html.bk-lock body { overflow: hidden; }

/* ---- responsive ---- */
@media (max-width: 1180px) {
  .bk-nav__link, .bk-header button.bk-nav__link { padding: 10px 9px; font-size: 15.5px; }
  .bk-bar__in { gap: 16px; }
  .bk-phone span { display: none; }
}
@media (max-width: 1024px) {
  .bk-strip, .bk-nav, .bk-actions .bk-phone { display: none; }
  .bk-burger { display: inline-flex; }
  .bk-bar__in { height: 68px; padding: 0 16px; justify-content: space-between; }
  .bk-header.is-scrolled .bk-bar__in { height: 62px; }
  .bk-logo img { height: 50px; }
  .bk-header.is-scrolled .bk-logo img { height: 46px; }
  .bk-cta { padding: 10px 14px; font-size: 14.5px; }
}
@media (max-width: 420px) {
  .bk-actions .bk-cta { display: none; }
  .bk-actions .bk-call-icon { display: inline-flex; }
}
.bk-call-icon {
  display: none; width: 44px; height: 44px; border-radius: 10px; background: #16163f; align-items: center; justify-content: center;
}
.bk-call-icon svg { width: 18px; height: 18px; fill: #d3be90; }
@media (prefers-reduced-motion: reduce) {
  .bk-header *, .bk-drawer * { transition: none !important; }
}
