/* ============================================
   HEADER — Top bar, sticky nav, hamburger,
   and mobile drawer. Shared across all pages.
   ============================================ */

/* ── TOP BAR ────────────────────────────────── */
.top-bar {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
  font-size: 0.82rem;
  padding: 9px 0;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.top-bar a { color: rgba(255,255,255,0.85); transition: color 0.2s; }
.top-bar a:hover { color: var(--saffron); }
.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
/* Also support .tb-left / .tb-right shorthand used in some pages */
.tb-left  { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.tb-right { display: flex; align-items: center; gap: 16px; }
.top-bar-item,
.tb-item { display: flex; align-items: center; gap: 6px; }
.top-bar-item svg,
.tb-item svg { width: 14px; height: 14px; color: var(--saffron); }

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(232,135,58,0.15);
  border: 1px solid rgba(232,135,58,0.3);
  color: var(--saffron);
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}
.live-dot {
  width: 6px; height: 6px;
  background: var(--saffron);
  border-radius: 50%;
  animation: pulse-dot 1.5s ease infinite;
  display: inline-block;
}

/* ── STICKY HEADER ──────────────────────────── */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 16px rgba(13,27,42,0.06);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}

/* ── LOGO ───────────────────────────────────── */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.logo-icon {
  width: 44px; height: 44px;
  background: var(--navy);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.logo-icon::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 40%;
  background: var(--saffron);
  clip-path: polygon(0 100%, 50% 0, 100% 100%);
}
.logo-icon svg { width: 24px; height: 24px; color: white; position: relative; z-index: 1; }
.logo-text { display: flex; flex-direction: column; }
.logo-name {
  font-family: var(--ff-head);
  font-weight: 900;
  font-size: 1rem;
  color: var(--navy);
  line-height: 1;
}
.logo-sub {
  font-size: 0.65rem;
  color: var(--muted);
  letter-spacing: 0.05em;
  font-weight: 500;
  text-transform: uppercase;
  margin-top: 2px;
}

/* ── DESKTOP NAV ────────────────────────────── */
nav { display: flex; gap: 4px; }
nav a {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  transition: all 0.2s;
}
nav a:hover         { background: var(--cream); color: var(--navy); }
nav a.active        { color: var(--saffron); font-weight: 600; }

.nav-cta { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

.tg-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 18px;
  background: #229ED9;
  color: white;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 0.2s;
  flex-shrink: 0;
}
.tg-btn:hover { background: #1a8bbf; transform: translateY(-1px); }
.tg-btn svg   { width: 18px; height: 18px; }

/* ── HAMBURGER ──────────────────────────────── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px; height: 42px;
  background: transparent;
  border: 1.5px solid rgba(13,27,42,.15);
  border-radius: 8px;
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
  transition: border-color .2s;
}
.hamburger:hover { border-color: var(--saffron); }
.hamburger span {
  display: block;
  width: 20px; height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all .28s ease;
  transform-origin: center;
}
body.menu-open .hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.menu-open .hamburger span:nth-child(2) { opacity: 0; transform: scaleX(0); }
body.menu-open .hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── MOBILE DRAWER ──────────────────────────── */
.mob-nav {
  position: fixed; inset: 0; z-index: 9999;
  display: none; pointer-events: none;
}
body.menu-open .mob-nav { display: block; pointer-events: all; }

.mob-overlay {
  position: absolute; inset: 0;
  background: rgba(13,27,42,.55);
  backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px);
  animation: mobOvIn .25s ease forwards;
}
@keyframes mobOvIn { from { opacity: 0; } to { opacity: 1; } }

.mob-drawer {
  position: absolute; top: 0; right: 0;
  width: min(320px, 88vw); height: 100%;
  background: #fff;
  box-shadow: -8px 0 48px rgba(13,27,42,.2);
  display: flex; flex-direction: column; overflow-y: auto;
  animation: mobDrIn .3s cubic-bezier(.4,0,.2,1) forwards;
}
@keyframes mobDrIn { from { transform: translateX(100%); } to { transform: translateX(0); } }

.mob-top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 18px; border-bottom: 1px solid rgba(13,27,42,.08); flex-shrink: 0;
}
.mob-logo-wrap { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.mob-logo-ico {
  width: 36px; height: 36px; background: var(--navy); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden; flex-shrink: 0;
}
.mob-logo-ico::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 40%;
  background: var(--saffron); clip-path: polygon(0 100%, 50% 0, 100% 100%);
}
.mob-logo-ico svg { width: 18px; height: 18px; color: #fff; position: relative; z-index: 1; }
.mob-logo-name { font-family: var(--ff-head); font-weight: 900; font-size: .9rem; color: var(--navy); line-height: 1.1; }
.mob-logo-sub  { font-size: .6rem; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }

.mob-close-btn {
  width: 36px; height: 36px; background: rgba(13,27,42,.06); border: none;
  border-radius: 8px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: background .2s;
}
.mob-close-btn:hover { background: rgba(13,27,42,.12); }
.mob-close-btn svg { width: 18px; height: 18px; }

.mob-nav-links {
  padding: 10px; display: flex; flex-direction: column; gap: 2px; flex: 1;
}
.mob-nav-links a {
  display: flex; align-items: center; gap: 11px;
  padding: 13px 14px; border-radius: 10px;
  font-size: .95rem; font-weight: 500; color: var(--text);
  text-decoration: none; transition: all .15s;
}
.mob-nav-links a:hover,
.mob-nav-links a.mob-active { background: rgba(232,135,58,.09); color: var(--saffron); }
.mob-nav-links a.mob-active { font-weight: 700; }
.mob-nav-links a svg { width: 18px; height: 18px; flex-shrink: 0; stroke: var(--saffron); }
.mob-nav-sep { height: 1px; background: rgba(13,27,42,.07); margin: 6px 0; }

.mob-foot {
  padding: 14px 18px 32px; border-top: 1px solid rgba(13,27,42,.07);
  display: flex; flex-direction: column; gap: 10px; flex-shrink: 0;
}
.mob-tg-link {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px; background: #229ED9; color: #fff;
  border-radius: 10px; font-weight: 700; font-size: .92rem; text-decoration: none;
  transition: background .2s;
}
.mob-tg-link:hover { background: #1a8cc0; }
.mob-tg-link svg { width: 20px; height: 20px; flex-shrink: 0; }
.mob-cta-link {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 16px; background: rgba(232,135,58,.1); color: var(--saffron);
  border-radius: 10px; font-weight: 600; font-size: .9rem; text-decoration: none;
  transition: background .2s; line-height: 1;
}
.mob-cta-link:hover { background: rgba(232,135,58,.18); }
.mob-cta-link svg { width: 18px; height: 18px; flex-shrink: 0; stroke: var(--saffron); fill: none; }
.mob-hours { text-align: center; font-size: .7rem; color: var(--muted); padding-top: 2px; }

/* ── RESPONSIVE ─────────────────────────────── */
@media (max-width: 860px) {
  .hamburger          { display: flex !important; }
  header nav          { display: none !important; }
  header .nav-cta     { display: none !important; }
  .top-bar-left,
  .tb-left            { display: none !important; }
}

/* ── MOBILE STICKY CTA BAR ───────────────────── */
.spb-mob-cta{position:fixed;bottom:0;left:0;right:0;display:none;align-items:stretch;z-index:200;background:#fff;border-top:1px solid rgba(13,27,42,.1);box-shadow:0 -4px 24px rgba(13,27,42,.12);transform:translateY(100%);transition:transform .35s cubic-bezier(.4,0,.2,1)}
.spb-mob-cta.visible{transform:translateY(0)}
.spb-mob-cta__tg{flex:1;display:flex;align-items:center;justify-content:center;gap:8px;padding:14px 10px;background:#229ED9;color:#fff;font-weight:700;font-size:.875rem;font-family:'Golos Text',sans-serif;text-decoration:none;transition:background .2s}
.spb-mob-cta__tg:hover{background:#1a8bbf}
.spb-mob-cta__btn{flex:2;display:flex;align-items:center;justify-content:center;gap:8px;padding:14px 14px;background:#E8873A;color:#fff;font-weight:700;font-size:.875rem;font-family:'Golos Text',sans-serif;text-decoration:none;transition:background .2s}
.spb-mob-cta__btn:hover{background:#F5A05A}
.spb-mob-cta__tg:focus-visible,.spb-mob-cta__btn:focus-visible{outline:2px solid #fff;outline-offset:-3px}
@media(max-width:860px){.spb-mob-cta{display:flex}}
/* Bottom padding so content doesn't hide behind the bar */
@media(max-width:860px){body.spb-cta-visible{padding-bottom:56px}}
