/* ==========================================================================
   Nav: transparent over the hero, solid once scrolled (.is-stuck).
   Links collapse into a drawer under 900px. Phone quick bar on small screens.
   ========================================================================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: transparent; transition: background-color .25s ease, box-shadow .25s ease;
}
.nav.is-stuck, .nav.is-open {
  background: rgba(11, 13, 16, .88);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
}
.nav__row { display: flex; align-items: center; gap: var(--sp-2); min-height: 64px; }

.brand {
  display: grid; line-height: .9; text-decoration: none;
  font-family: var(--f-display); font-weight: 800; text-transform: uppercase;
  font-size: 1.15rem; letter-spacing: .01em;
}
.brand__a { color: var(--bone); }
.brand__b { color: var(--orange); }

.nav__links { display: none; gap: var(--sp-3); margin-left: var(--sp-4); }
.nav__links a { text-decoration: none; color: var(--bone-dim); font-size: var(--text-2); font-weight: 600; }
.nav__links a:hover { color: var(--bone); }

.nav__cta { margin-left: auto; display: flex; align-items: center; gap: var(--sp-2); }
.nav__phone { display: none; text-decoration: none; color: var(--bone); font-weight: 600; font-size: var(--text-2); }
.nav__cta .btn { min-height: 40px; padding: 0 16px; }

.nav__burger {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 0 10px; border: 0; background: transparent; cursor: pointer;
}
.nav__burger span { display: block; height: 2px; background: var(--bone); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.nav.is-open .nav__burger span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav.is-open .nav__burger span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.drawer {
  display: flex; flex-direction: column; gap: 4px;
  padding: var(--sp-1) var(--gutter) var(--sp-3);
  border-top: 1px solid var(--line);
}
.drawer[hidden] { display: none; }
.drawer a { padding: 12px 4px; text-decoration: none; color: var(--bone); font-weight: 600; border-bottom: 1px solid var(--line); }
.drawer .btn { margin-top: var(--sp-2); border-bottom: 0; color: var(--ink); }
.drawer .drawer__call { color: var(--bone-dim); border-bottom: 0; }

.quickbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 49;
  display: flex; gap: var(--sp-2);
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgba(11, 13, 16, .94);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 -1px 0 var(--line);
  transform: translateY(100%); visibility: hidden;
  transition: transform .25s, visibility 0s .25s;
}
.quickbar.is-visible { transform: translateY(0); visibility: visible; transition: transform .25s, visibility 0s 0s; }
.quickbar .btn { flex: 1; }
.quickbar a.fact--pending { display: none; }

@media (prefers-reduced-motion: reduce) {
  .nav, .nav__burger span, .quickbar, .quickbar.is-visible { transition: none; }
}

@media (min-width: 900px) {
  .nav__links { display: flex; }
  .nav__phone { display: inline; }
  .nav__burger { display: none; }
  .drawer { display: none !important; }
  .quickbar { display: none; }
}
