/* ─────────────────────────────────────────────────────────────
   BK Wireless — Chrome stylesheet (header, footer, bottom bar)
   Paired with: bk-header.html, bk-footer.html, bk-bottom-bar.html
   Does NOT define design tokens — those land in bk-design-tokens.css (W1.B1)
   ───────────────────────────────────────────────────────────── */

/* Local fallback tokens — bk-design-tokens.css will override these in W1.B1 */
:root {
  --bk-red:        #c41e3a;
  --bk-red-dark:   #a01629;
  --bk-black:      #0A0A0A;
  --bk-charcoal:   #1a1a1a;
  --bk-offwhite:   #fafafa;
  --bk-text:       #111111;
  --bk-text-mute:  #666666;
  --bk-border:     #2a2a2a;
  --bk-border-light:#e5e5e5;
  --bk-font-display:'Bebas Neue', system-ui, sans-serif;
  --bk-font-body:   'Inter', system-ui, sans-serif;
}

/* ═══════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════ */

.bkw-header {
  position: sticky; top: 0; z-index: 1000;
  background: var(--bk-black);
  border-bottom: 1px solid var(--bk-border);
}
.bkw-header-inner {
  max-width: 1240px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 20px; min-height: 64px; gap: 16px;
}
.bkw-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: #fff;
  flex-shrink: 0;
}
.bkw-logo img { display: block; height: 36px; width: auto; }
.bkw-logo-text {
  font-family: var(--bk-font-display);
  font-size: 22px; letter-spacing: 1.5px;
  color: #fff;
}
.bkw-nav-toggle {
  display: none;
  background: transparent; border: 1px solid var(--bk-border);
  color: #fff; width: 40px; height: 40px;
  border-radius: 4px; cursor: pointer;
  align-items: center; justify-content: center;
}
.bkw-nav-toggle:hover { border-color: var(--bk-red); }

.bkw-nav-list {
  display: flex; align-items: center; gap: 4px;
  list-style: none; margin: 0; padding: 0;
}
.bkw-nav-list > li > a {
  display: inline-flex; align-items: center; gap: 4px;
  color: #f5f5f5;
  font-family: var(--bk-font-body);
  font-size: 14px; font-weight: 500;
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 4px;
  transition: color .15s ease, background .15s ease;
}
.bkw-nav-list > li > a:hover { color: #fff; background: rgba(255,255,255,.06); }
.bkw-nav-has-sub { position: relative; }
.bkw-chevron { opacity: .7; }

.bkw-dropdown {
  position: absolute; top: 100%; left: 0;
  background: var(--bk-charcoal);
  border: 1px solid var(--bk-border);
  border-radius: 4px;
  min-width: 220px; padding: 8px 0;
  box-shadow: 0 8px 24px rgba(0,0,0,.4);
  display: none;
  z-index: 1001;
}
.bkw-nav-has-sub:hover .bkw-dropdown,
.bkw-nav-has-sub:focus-within .bkw-dropdown { display: block; }
.bkw-dropdown a {
  display: flex; align-items: center; gap: 10px;
  color: #e5e5e5;
  font-size: 14px;
  text-decoration: none;
  padding: 10px 16px;
  transition: background .12s ease, color .12s ease;
}
.bkw-dropdown a:hover { background: rgba(196,30,58,.15); color: #fff; }
.bkw-dropdown a svg { opacity: .7; flex-shrink: 0; }

.bkw-nav-call-wrap { margin-left: 8px; }
.bkw-nav-call {
  background: var(--bk-red);
  color: #fff !important;
  padding: 10px 16px !important;
  border-radius: 4px;
  font-weight: 600 !important;
  display: inline-flex; align-items: center; gap: 8px;
}
.bkw-nav-call:hover { background: var(--bk-red-dark) !important; }

/* Mobile nav */
@media (max-width: 1023px) {
  .bkw-nav-toggle { display: inline-flex; }
  .bkw-nav-list {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bk-black);
    border-bottom: 1px solid var(--bk-border);
    padding: 8px 0;
  }
  .bkw-nav-list.bkw-open { display: flex; }
  .bkw-nav-list > li > a {
    padding: 14px 20px;
    border-radius: 0;
    font-size: 15px;
  }
  .bkw-nav-has-sub .bkw-dropdown {
    position: static; display: none;
    border: none; background: rgba(255,255,255,.03);
    box-shadow: none; padding: 0;
  }
  .bkw-nav-has-sub.bkw-open .bkw-dropdown { display: block; }
  .bkw-nav-call-wrap { margin: 8px 20px 4px; }
  .bkw-nav-call { width: 100%; justify-content: center; }
}

/* ═══════════════════════════════════════════
   STICKY BOTTOM BAR
   ═══════════════════════════════════════════ */

.bkw-bottom-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 999;
  background: var(--bk-black);
  border-top: 1px solid var(--bk-border);
  display: flex;
}
.bkw-bottom-bar a {
  flex: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px;
  padding: 10px 6px;
  color: #f0f0f0;
  text-decoration: none;
  font-family: var(--bk-font-body);
  font-size: 11px; font-weight: 500;
  letter-spacing: .3px;
  border-right: 1px solid var(--bk-border);
  transition: background .15s ease, color .15s ease;
}
.bkw-bottom-bar a:last-child { border-right: 0; }
.bkw-bottom-bar a:hover { background: var(--bk-charcoal); color: #fff; }
.bkw-bottom-bar a.bkw-bb-call { background: var(--bk-red); color: #fff; }
.bkw-bottom-bar a.bkw-bb-call:hover { background: var(--bk-red-dark); }
.bkw-bb-icon { display: block; }
.bkw-bb-label { font-size: 11px; line-height: 1; }

/* Body clearance for fixed bottom bar */
body { padding-bottom: 64px; }
@media (min-width: 769px) {
  .bkw-bottom-bar a { padding: 12px 10px; }
  .bkw-bb-label { font-size: 12px; }
  body { padding-bottom: 68px; }
}

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */

.bkw-footer {
  background: var(--bk-charcoal);
  color: #e5e5e5;
  font-family: var(--bk-font-body);
  font-size: 14px;
  line-height: 1.6;
  border-top: 1px solid var(--bk-border);
}
.bkw-footer-inner {
  max-width: 1240px; margin: 0 auto;
  padding: 64px 24px 24px;
}
.bkw-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--bk-border);
}
.bkw-footer-col h4.bkw-footer-h {
  font-family: var(--bk-font-body);
  font-size: 13px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1.5px;
  color: #fff;
  margin: 0 0 16px;
}
.bkw-footer-logo {
  display: flex; align-items: center; gap: 10px;
  color: #fff; text-decoration: none;
  margin-bottom: 16px;
}
.bkw-footer-logo img { display: block; height: 32px; width: auto; }
.bkw-footer-logo span {
  font-family: var(--bk-font-display);
  font-size: 18px; letter-spacing: 1.5px;
}
.bkw-footer-tag {
  color: #aaa; font-size: 13px;
  margin: 0 0 16px;
}
.bkw-footer-addr {
  font-style: normal;
  color: #d0d0d0;
  font-size: 14px; line-height: 1.7;
}
.bkw-footer-addr a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,.2);
}
.bkw-footer-addr a:hover { border-color: var(--bk-red); }

.bkw-footer-hours,
.bkw-footer-nav {
  list-style: none; margin: 0; padding: 0;
}
.bkw-footer-hours li {
  display: flex; justify-content: space-between;
  padding: 4px 0;
  color: #c5c5c5;
}
.bkw-footer-hours li span:first-child { color: #aaa; }
.bkw-footer-nav li { padding: 4px 0; }
.bkw-footer-nav a {
  color: #c5c5c5;
  text-decoration: none;
  transition: color .12s ease;
}
.bkw-footer-nav a:hover { color: #fff; }

.bkw-footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
  padding-top: 24px;
}
.bkw-footer-copy {
  color: #888; font-size: 13px; margin: 0;
}
.bkw-footer-legal {
  list-style: none; margin: 0; padding: 0;
  display: flex; gap: 24px;
}
.bkw-footer-legal a {
  color: #aaa; font-size: 13px;
  text-decoration: none;
}
.bkw-footer-legal a:hover { color: #fff; }

@media (max-width: 1023px) {
  .bkw-footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; padding-bottom: 32px; }
}
@media (max-width: 599px) {
  .bkw-footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .bkw-footer-inner { padding: 48px 20px 20px; }
  .bkw-footer-bottom { flex-direction: column; align-items: flex-start; }
}
