.topbar {
  background: var(--ink);
  color: rgba(255,255,255,0.75);
  font-size: 0.78rem;
  padding: 8px 0;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.topbar-phone {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--signal-bright);
  font-weight: 600;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  transition: color 0.15s;
}
.topbar-phone:hover { color: var(--cyan); }

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 250, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  animation: headerIn 0.5s ease-out both;
}
@keyframes headerIn {
  from { opacity: 0; transform: translateY(-80px); }
  to { opacity: 1; transform: translateY(0); }
}
.header[data-scrolled="true"] {
  border-bottom-color: var(--steel-dark);
  box-shadow: 0 4px 24px rgba(6,16,42,0.07);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--ink);
  flex-shrink: 0;
  letter-spacing: -0.03em;
}
.brand-mark {
  width: 34px; height: 34px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--signal) 0%, var(--cyan) 100%);
  display: flex; align-items: center; justify-content: center;
  color: white;
  box-shadow: 0 4px 12px rgba(26,86,219,0.3);
}
.brand-name {
  background: linear-gradient(135deg, var(--ink) 0%, var(--signal) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav-desktop { display: flex; gap: 36px; flex: 1; justify-content: center; }
.nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--muted);
  padding: 6px 2px;
  position: relative;
  transition: color 0.15s ease;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: linear-gradient(90deg, var(--signal), var(--cyan));
  transition: width 0.22s ease;
  border-radius: 2px;
}
.nav-link:hover { color: var(--ink); }
.nav-link.active { color: var(--signal); }
.nav-link.active::after { width: 100%; }

.header-phone {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.88rem; font-weight: 600; color: var(--ink);
  padding: 9px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--steel-dark);
  flex-shrink: 0;
  transition: all 0.18s ease;
}
.header-phone:hover {
  border-color: var(--signal-bright);
  color: var(--signal);
  box-shadow: 0 4px 14px var(--signal-glow);
}

.nav-toggle { display: none; background: none; border: none; color: var(--ink); padding: 6px; }
.nav-mobile {
  display: flex; flex-direction: column; overflow: hidden;
  border-top: 1px solid var(--steel-dark); background: var(--white);
  max-height: 0;
  opacity: 0;
  transition: max-height 0.25s ease, opacity 0.25s ease, border-top-color 0.25s ease;
}
.nav-mobile.open {
  max-height: 400px;
  opacity: 1;
}
.nav-mobile-link {
  padding: 16px 24px; font-weight: 600;
  border-bottom: 1px solid var(--steel);
  display: flex; align-items: center; gap: 8px;
  transition: color 0.15s, background 0.15s;
}
.nav-mobile-link:hover { background: var(--steel); color: var(--signal); }
.nav-mobile-phone { color: var(--signal); }

@media (max-width: 880px) {
  .nav-desktop, .header-phone { display: none; }
  .nav-toggle { display: flex; }
}

@media (max-width: 768px) {
.topbar {
display: none;
}
}
