/* ── Glowing Border Animation ── */
@property --border-angle {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}

@keyframes border-glow-spin {
  from { --border-angle: 0deg; }
  to   { --border-angle: 360deg; }
}

.glow-border {
  position: relative;
}

.glow-border::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: conic-gradient(
    from var(--border-angle),
    transparent 0%,
    transparent 35%,
    rgba(255, 255, 255, 0.12) 40%,
    rgba(255, 255, 255, 0.25) 45%,
    rgba(255, 255, 255, 0.12) 50%,
    transparent 55%,
    transparent 100%
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 0;
  animation: border-glow-spin 9s linear infinite;
  opacity: 0.6;
}

.glow-border:hover::before {
  animation-duration: 6s;
}

/* Speed variation — each card's glow trails slightly differently */
.glow-border:nth-child(odd)::before  { animation-duration: 10s; }
.glow-border:nth-child(even)::before { animation-duration: 8s; }
.glow-border:nth-child(3n)::before   { animation-duration: 11s; }
.glow-border:nth-child(5n+1)::before { animation-duration: 9.2s; }

.glow-border:hover::before {
  animation-duration: 6s !important;
}
/* Keep card content above the glow */
.glow-border > * {
  position: relative;
  z-index: 1;
}

/* ── Nav ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(4, 8, 26, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.nav-inner {
  max-width: var(--max-width); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px; height: 52px;
}
.nav-logo img { height: 26px; display: block; }
.nav-hamburger { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 28px; height: 28px; background: none; border: none; cursor: pointer; padding: 0; z-index: 110; }
.nav-hamburger span { display: block; width: 100%; height: 2px; background: var(--paper); border-radius: 2px; transition: all 0.3s ease; transform-origin: center; }
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-links { display: flex; gap: 24px; list-style: none; perspective: 600px; }
.nav-links li { perspective: 600px; }
.nav-links a {
  color: var(--silver); text-decoration: none;
  font-size: 13px; font-weight: 500;
  display: inline-block;
  padding: 4px 0;
  transition: color 0.2s, transform 0.25s cubic-bezier(0.22, 0.61, 0.36, 1);
  transform-style: preserve-3d;
}
.nav-links a:hover { color: var(--paper); }
.nav-cta {
  background: var(--brand-blue); color: var(--paper);
  padding: 7px 18px; border-radius: var(--radius-pill);
  font-size: 12px; font-weight: 500; text-decoration: none;
  transition: opacity 0.2s;
  display: inline-flex; align-items: center;
}
.nav-cta:hover { opacity: 0.85; }
.nav-cta-mobile { display: none; }

/* ── Nav Dropdown ─ */
.nav-dropdown {
  position: relative;
}
.nav-dropdown-trigger {
  color: var(--silver);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 0;
  user-select: none;
  transition: color 0.2s;
}
.nav-dropdown-trigger:hover { color: var(--paper); }
.nav-links a.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.nav-dropdown-trigger .nav-arrow {
  font-size: 10px;
  transition: transform 0.2s ease;
}
.nav-dropdown:hover .nav-arrow {
  transform: rotate(180deg);
}
.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 140px;
  background: rgba(12, 16, 40, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 8px 0;
  margin-top: 8px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  z-index: 200;
}
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}
.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.nav-dropdown-menu a {
  display: block;
  padding: 10px 20px;
  font-size: 13px;
  color: var(--silver);
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}
.nav-dropdown-menu a:hover {
  color: var(--paper);
  background: rgba(255, 255, 255, 0.06);
}

/* ── Scroll Reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
/* Hero gets a slower reveal */
.hero.reveal {
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
              transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}
/* Stagger children within a revealed container */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
/* 延迟采用自动生成方式——从第 1 个开始，每个间隔 0.05s */
.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0.00s; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.06s; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.12s; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.18s; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.24s; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 0.30s; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(7) { transition-delay: 0.36s; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(8) { transition-delay: 0.42s; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(9) { transition-delay: 0.48s; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(10) { transition-delay: 0.54s; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(n+11) { transition-delay: 0.60s; opacity: 1; transform: translateY(0); }

/* ── Back to Top ── */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 24px;
  z-index: 90;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.60);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  transition: opacity 0.4s ease, transform 0.4s ease, background 0.3s, border-color 0.3s, color 0.3s;
}
.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.back-to-top:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(3, 43, 171, 0.40);
  color: var(--brand-blue);
}
@media (max-width: 768px) {
  .back-to-top { bottom: 20px; right: 14px; width: 38px; height: 38px; font-size: 18px; }
}

/* ── Sections ── */
.section {
  max-width: var(--max-width); margin: 0 auto;
  padding: 0 48px var(--section-gap);
}
.section-label {
  font-size: 10px; font-weight: 600; color: var(--electric);
  letter-spacing: 0.05em; text-transform: uppercase;
  margin-bottom: 8px;
}
.section h2 {
  font-family: 'RuiZiZongYi', 'Inter Tight', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-size: 42px; font-weight: 500;
  line-height: 1.05; letter-spacing: -0.04em;
  color: var(--paper); margin-bottom: 16px;
}
.section p {
  font-size: 14px; color: var(--bone); line-height: 1.7;
  max-width: 680px;
}

/* ── Footer ── */
.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(4, 8, 26, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 48px 48px 24px;
}
.footer-content {
  max-width: var(--max-width);
  margin: 0 auto;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 2fr 1.5fr;
  gap: 48px;
  margin-bottom: 40px;
}
.footer-brand .footer-logo {
  height: 32px;
  margin-bottom: 12px;
  display: block;
}
.footer-brand-desc {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.50);
  line-height: 1.6;
  margin: 0 0 16px;
}
.footer-cert-list {
  display: flex;
  flex-wrap: wrap;
  column-gap: 4px;
}
.footer-cert-title {
  font-size: 11px;
  font-weight: 400;
  color: var(--paper);
}
.footer-cert-link {
  font-size: 11px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.50);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-cert-link:hover {
  color: var(--electric);
}
.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.footer-col h4 {
  font-size: 13px;
  font-weight: 600;
  color: var(--paper);
  margin: 0 0 12px;
}
.footer-col a {
  display: block;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.50);
  text-decoration: none;
  margin-bottom: 8px;
  transition: color 0.2s;
}
.footer-col a:hover {
  color: var(--paper);
}
.footer-contact h4 {
  font-size: 13px;
  font-weight: 600;
  color: var(--paper);
  margin: 0 0 12px;
}
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.50);
  margin-bottom: 8px;
}
.footer-contact-item a {
  color: rgba(255, 255, 255, 0.50);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-contact-item a:hover {
  color: var(--paper);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom-left {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.40);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 16px;
}
.footer-bottom-left .footer-icp {
  display: inline-block;
  margin-top: 0;
}
.footer-icp {
  display: inline-block;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.40);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-icp:hover {
  color: rgba(255, 255, 255, 0.75);
}
.footer-bottom-slogan {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
}
.footer-bottom-right {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
}

/* Copyright Lightbox Grid */
.copyright-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 600px;
  margin: 0 auto;
}
.copyright-grid img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.03);
}

/* Footer 响应式 */
@media (max-width: 768px) {
  .footer { padding: 32px 24px 20px; }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-nav {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 768px) {
  .modal-panel { width: calc(100vw - 32px); max-height: 90vh; }
  .modal-panel--wide { width: calc(100vw - 24px); }
  .modal-header-img { height: 140px; }
  .em-flow-row { grid-template-columns: 1fr; }
  .em-stats-row { grid-template-columns: 1fr; }
  .em-platform-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .em-platform-item { padding: 8px; }
  .em-platform-item span { font-size: 10px; }
  .em-advantages-grid { grid-template-columns: 1fr; }
  .em-cases-row { grid-template-columns: 1fr; }
  .client-group-items { grid-template-columns: repeat(2, 1fr); }
  .em-section { padding: 0 16px; }
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .nav-inner { padding: 0 24px; height: 46px; }
  .nav-hamburger { display: flex; }
  .nav-links {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; right: -100%;
    width: 280px; height: 100vh;
    background: rgba(8, 14, 50, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: 72px 32px 32px;
    gap: 8px;
    transition: right 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
    z-index: 105;
    overflow-y: auto;
    border-left: 1px solid rgba(255, 255, 255, 0.10);
  }
  .nav-links.open { right: 0; }
  .nav-links .nav-dropdown { position: static; }
  .nav-links .nav-dropdown-menu {
    position: static; transform: none; opacity: 1; visibility: visible;
    pointer-events: auto; background: transparent; border: none;
    padding: 0 0 0 16px; margin-top: 0; min-width: auto;
    display: none;
  }
  .nav-links .nav-dropdown.open .nav-dropdown-menu { display: block; }
  .nav-links .nav-dropdown-trigger {
    display: flex; align-items: center; justify-content: space-between;
    width: 100%; padding: 12px 0; font-size: 15px; color: rgba(255,255,255,0.85);
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .nav-links .nav-dropdown-menu a { font-size: 14px; padding: 10px 0; color: rgba(255,255,255,0.65); }
  .nav-links > li > a { font-size: 15px; padding: 12px 0; color: rgba(255,255,255,0.85); display: block; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .nav-cta { display: none; }
  .nav-cta-mobile { display: block !important; }
  #navMobileCta { margin-top: 16px; display: block !important; text-align: center; }

  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-visual { max-width: 400px; margin: 0 auto; }
  .services-grid { grid-template-columns: 1fr; }
  .services-grid-4 { grid-template-columns: 1fr 1fr; }
  .team-group-2 { grid-template-columns: 1fr; }
  .team-group-4 { grid-template-columns: repeat(2, 1fr); }
  .equip-list { grid-template-columns: repeat(2, 1fr); }
  .contact-card { flex-direction: column; }
  .contact-info, .contact-form { width: 100%; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer { padding: 32px 24px 20px; }
  .footer-nav { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .section { padding: 0 24px 48px; }
  .section h2 { font-size: 32px; }
}

@media (max-width: 480px) {
  .services-grid-4 { grid-template-columns: 1fr; }
  .team-group-4 { grid-template-columns: 1fr; }
  .equip-list { grid-template-columns: 1fr; }
  .section { padding: 0 20px 40px; }
  .section h2 { font-size: 26px; }
  .footer-nav { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .footer { padding: 32px 16px 20px; }
  .section p { font-size: 13px; }
}

/* ── Modal ── */
.modal-overlay {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.35s ease;
}
.modal-overlay.open { opacity: 1; pointer-events: auto; }
.modal-panel {
  background: rgba(11, 17, 53, 0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  max-width: 800px; width: 760px; max-height: 85vh;
  overflow-y: auto;
  transform: translateY(30px) scale(0.96);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  padding: 0;
}
.modal-overlay.open .modal-panel { transform: translateY(0) scale(1); }
.modal-panel::-webkit-scrollbar { width: 4px; }
.modal-panel::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 4px; }
.modal-header-img {
  width: 100%; aspect-ratio: 16/9;
  background-size: cover; background-position: center;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  position: relative;
}
.modal-header-img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(11, 17, 53, 0.96) 100%);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.modal-close {
  position: absolute; top: 16px; right: 16px; z-index: 10;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.20);
  color: var(--paper); font-size: 18px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, border-color 0.2s;
}
.modal-close:hover { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.35); }
.modal-body { padding: 32px 36px 36px; }
.modal-body h2 {
  font-family: 'RuiZiZongYi', 'Inter Tight', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-size: 28px; font-weight: 500; letter-spacing: 0.02em; margin-bottom: 6px;
}
.modal-body .modal-subtitle { font-size: 13px; color: var(--electric); margin-bottom: 20px; font-weight: 500; }
.modal-body p { font-size: 13px; color: rgba(255, 255, 255, 0.65); line-height: 1.8; margin-bottom: 16px; }
.modal-stats-row { display: flex; gap: 32px; margin: 24px 0; flex-wrap: wrap; }
.modal-stat { text-align: center; }
.modal-stat-num { font-family: var(--font-display); font-size: 36px; font-weight: 500; color: var(--electric); line-height: 1; }
.modal-stat-label { font-size: 11px; color: rgba(255,255,255,0.50); margin-top: 4px; }
.modal-client-grid { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.modal-client-tag { white-space: nowrap;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius-pill); padding: 8px 14px;
  font-size: 12px; text-align: center; color: var(--bone);
  transition: background 0.2s, border-color 0.2s;
}
.modal-client-tag:hover { background: rgba(255,255,255,0.10); border-color: rgba(255,255,255,0.20); }

@media (max-width: 768px) {
  .modal-body { padding: 24px 20px 28px; }
  .modal-body h2 { font-size: 22px; }
  .modal-stat-num { font-size: 26px; }
  .modal-panel { width: calc(100vw - 32px); }
  .lightbox-content { overflow: visible; }
  .modal-client-grid { gap: 4px; }
  .modal-client-tag { font-size: 10px; padding: 6px 10px; }
}

@media (max-width: 480px) {
  .modal-panel { width: calc(100vw - 24px); max-height: 88vh; }
  .modal-body { padding: 20px 16px 24px; }
  .modal-body h2 { font-size: 20px; }
  .modal-stat-num { font-size: 24px; }
}

/* ═══ 移动端重构覆盖（追加） ═══ */
/* 注：单列网格布局（services-grid-4 / team-group-4 等）统一放到 pages.css 末尾覆盖，
   以免被后加载的 pages.css 基础规则顶掉。 */

/* 移动端：合作咨询放入侧边栏（桌面隐藏，保证 PC 完全不变） */
.nav-mobile-cta { display: none; }
@media (max-width: 768px) {
  .nav-mobile-cta { display: block; margin-top: 16px; }
  .nav-links .nav-mobile-cta a {
    display: block;
    text-align: center;
    background: var(--brand-blue);
    color: var(--paper);
    border-radius: var(--radius-pill);
    padding: 12px 0;
    font-size: 15px;
    font-weight: 500;
    border-bottom: none;
  }
}

/* 移动端导航：丝滑展开 + 菜单项交错入场 + 下拉平滑 */
@media (max-width: 768px) {
  /* 面板改用 transform 滑动（GPU 加速，比 right 更顺滑） */
  .nav-links {
    right: 0;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
    will-change: transform;
  }
  .nav-links.open { transform: translateX(0); }

  /* 顶部菜单项逐条交错入场 */
  .nav-links > li {
    opacity: 0;
    transform: translateX(18px);
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
  }
  .nav-links.open > li {
    opacity: 1;
    transform: translateX(0);
  }
  .nav-links.open > li:nth-child(1) { transition-delay: 0.05s; }
  .nav-links.open > li:nth-child(2) { transition-delay: 0.10s; }
  .nav-links.open > li:nth-child(3) { transition-delay: 0.15s; }
  .nav-links.open > li:nth-child(4) { transition-delay: 0.20s; }
  .nav-links.open > li:nth-child(5) { transition-delay: 0.25s; }
  .nav-links.open > li:nth-child(6) { transition-delay: 0.30s; }

  /* 下拉子菜单平滑展开（替代原来的 display 硬切换） */
  .nav-links .nav-dropdown-menu {
    display: block;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.35s ease, opacity 0.3s ease;
  }
  .nav-links .nav-dropdown.open .nav-dropdown-menu {
    max-height: 320px;
    opacity: 1;
  }
  .nav-links .nav-dropdown.open > .nav-dropdown-trigger .nav-arrow {
    transform: rotate(180deg);
  }

  /* 菜单打开时锁定背景滚动 */
  body.nav-open { overflow: hidden; }
}