/* 关于页沿用全站原有顶栏，盖过 v2 的全局 a / button 重置 */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: #0064cc;
  color: #fff;
  padding: 8px 14px;
  z-index: 1000;
}
.skip-link:focus { left: 12px; top: 12px; }
.topbar {
  --ink: #152033;
  --ink-soft: #445466;
  --muted: #7a8796;
  --surface: #ffffff;
  --line: #e6edf5;
  --teal: #0064cc;
  --teal-deep: #0e43a4;
  --max: 1080px;
  position: sticky;
  top: 0;
  z-index: 80;
  backdrop-filter: blur(14px);
  background: rgba(245, 247, 250, 0.92);
  border-bottom: 1px solid var(--line);
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}
.topbar .container {
  width: min(100% - 32px, 1360px);
  margin-inline: auto;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  flex-wrap: nowrap;
}
.topbar .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  flex-shrink: 1;
  min-width: 0;
}
.topbar .brand-logo {
  height: 36px;
  width: auto;
  max-width: 136px;
  object-fit: contain;
  object-position: left center;
  display: block;
  flex-shrink: 0;
}
.topbar .brand-tag {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.04em;
  font-weight: 400;
  white-space: nowrap;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.topbar .nav {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 2px;
}
.topbar .nav > a {
  white-space: nowrap;
  flex-shrink: 0;
}
.topbar .nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 9px;
  border-radius: 6px;
  letter-spacing: 0;
  line-height: 1.4;
}
.topbar .nav a:hover,
.topbar .nav a[aria-current="page"] {
  color: var(--ink);
  background: transparent;
}
.topbar .nav a[aria-current="page"] { color: var(--teal); }
.topbar .lang-switch {
  position: relative;
  margin-left: 8px;
}
.topbar .lang-switch summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 26px;
  padding: 0 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1;
}
.topbar .lang-switch summary::-webkit-details-marker { display: none; }
.topbar .lang-switch summary::after {
  content: "";
  border: 4px solid transparent;
  border-top-color: currentColor;
  transform: translateY(2px);
}
.topbar .lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  z-index: 70;
  min-width: 92px;
  padding: 4px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.topbar .nav .lang-menu a {
  display: block;
  padding: 6px 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0;
}
.topbar .nav .lang-menu a[aria-current="true"] { color: var(--teal); font-weight: 600; }
.topbar .nav-cta {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 10px;
  margin-left: 8px;
}
.topbar .nav-cta a { white-space: nowrap; }
.topbar .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
}
.topbar .nav a.btn-primary,
.topbar .nav a.btn-primary:hover,
.topbar .nav a.btn-primary[aria-current="page"] {
  background: var(--teal);
  color: #fff;
  border-color: transparent;
}
.topbar .nav a.btn-primary:hover { background: var(--teal-deep); }
.topbar .btn-link-tel {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  padding: 8px 4px;
}
.topbar .btn-link-tel:hover { color: var(--teal); }
.topbar .menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  cursor: pointer;
  padding: 0;
}
.topbar .menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}
@media (max-width: 760px) {
  .topbar .lang-switch { margin: 8px 0; }
  .topbar .lang-menu { position: static; min-width: 0; }
  .topbar .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }
  .topbar .nav-panel {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 68px;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    padding: 12px 20px 20px;
  }
  .topbar .nav-panel.open { display: block; }
  .topbar .nav { flex-direction: column; align-items: stretch; }
  .topbar .nav-cta { margin: 8px 0 0; flex-direction: column; align-items: stretch; }
}
