/* ============================================================
   江和软件（海南）科技有限公司 · 官网样式
   设计方向：江雾白 × 墨蓝 × 江水青 —— 编辑式中文排版（令牌名沿用模板）
   ============================================================ */

/* ---------- 1. 设计令牌 ---------- */
:root {
  --ink: #0D1B26;          /* 墨蓝（江底） */
  --ink-2: #152939;
  --ink-3: #213C51;
  --paper: #F4F7F6;        /* 江雾白 */
  --paper-2: #EAF0EE;
  --white: #FFFFFF;
  --text: #22303A;
  --muted: #64726F;
  --red: #1E7F8C;          /* 江水青（主强调，变量名沿用模板） */
  --red-deep: #135F6B;      /* 深江青 */
  --gold: #C5A353;         /* 潮金 */
  --line: #D9E1DE;
  --line-ink: rgba(244, 247, 246, 0.16);

  --font-serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", SimSun, serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "Cascadia Mono", Consolas, "Courier New", monospace;

  --shadow-card: 0 2px 6px rgba(13, 27, 38, 0.05), 0 16px 40px rgba(13, 27, 38, 0.08);
  --radius: 2px;
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- 2. 基础 ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
  background: var(--paper);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
::selection { background: var(--red); color: var(--paper); }

.container { width: min(1200px, 92%); margin: 0 auto; }
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--ink); color: var(--paper); padding: 10px 18px;
  font-size: 14px; transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

/* 眉标 / 编号 / 标题体系 */
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.22em;
  color: var(--red); text-transform: uppercase;
}
.kicker::before { content: ""; width: 26px; height: 1px; background: var(--red); }
.h-display {
  font-family: var(--font-serif); font-weight: 700;
  font-size: clamp(28px, 4vw, 44px); line-height: 1.3; color: var(--ink);
}
.section { padding: clamp(64px, 8vw, 110px) 0; }
.section--ink { background: var(--ink); color: var(--paper); }
.section--ink .h-display { color: var(--paper); }
.section--paper2 { background: var(--paper-2); }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head .h-display { margin: 14px 0 16px; }
.section-head p { color: var(--muted); }
.section-head--onink p { color: rgba(244, 247, 246, 0.72); }
.section-head--row {
  max-width: none; display: flex; align-items: flex-end;
  justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.section-head--row > div { max-width: 640px; }
.more-link {
  display: inline-flex; align-items: center; gap: 8px; flex: none;
  font-size: 14px; letter-spacing: 0.08em; color: var(--red);
  padding-bottom: 6px; border-bottom: 1px solid currentColor;
  transition: gap 0.25s var(--ease), color 0.2s;
}
.more-link:hover { gap: 14px; color: var(--red-deep); }
.section--ink .more-link { color: var(--gold); }
.section--ink .more-link:hover { color: var(--paper); }

/* 按钮 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 34px; font-size: 15px; letter-spacing: 0.12em;
  background: var(--red); color: #fff; border-radius: var(--radius);
  transition: background 0.2s, transform 0.2s var(--ease), box-shadow 0.2s;
}
.btn:hover { background: var(--red-deep); box-shadow: 0 10px 26px rgba(30, 127, 140, 0.32); }
.btn:active { transform: translateY(1px); }
.btn--ghost {
  background: transparent; color: var(--paper);
  box-shadow: inset 0 0 0 1px rgba(244, 247, 246, 0.45);
}
.btn--ghost:hover { background: rgba(244, 247, 246, 0.1); box-shadow: inset 0 0 0 1px var(--paper); }
.btn--ink { background: var(--ink); }
.btn--ink:hover { background: var(--ink-3); box-shadow: 0 10px 26px rgba(13, 27, 38, 0.3); }
.btn--sm { padding: 10px 24px; font-size: 14px; }
.btn:focus-visible, .more-link:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* 月亮母题 */
.moon {
  position: relative; border-radius: 50%;
  background: radial-gradient(circle at 38% 34%, #FFF7E6 0%, #F3E2B8 42%, #D9BC7E 100%);
  box-shadow: 0 0 60px rgba(243, 226, 184, 0.35), 0 0 140px rgba(243, 226, 184, 0.18);
}
.moon::after {
  content: ""; position: absolute; inset: 12%; border-radius: 50%;
  background:
    radial-gradient(circle at 62% 58%, rgba(197, 163, 83, 0.16) 0 9%, transparent 10%),
    radial-gradient(circle at 30% 66%, rgba(197, 163, 83, 0.12) 0 6%, transparent 7%),
    radial-gradient(circle at 55% 26%, rgba(197, 163, 83, 0.1) 0 5%, transparent 6%);
}

/* ---------- 3. 顶部 ---------- */
.topbar {
  background: var(--ink); color: rgba(244, 247, 246, 0.78);
  font-size: 12.5px; letter-spacing: 0.04em;
}
.topbar .container { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; }
.topbar span { display: inline-flex; align-items: center; gap: 6px; }
.topbar .dot { width: 5px; height: 5px; background: var(--gold); border-radius: 50%; }
@media (max-width: 640px) { .topbar .topbar-hide { display: none; } }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(244, 247, 246, 0.96);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(13, 27, 38, 0.08); }
.nav { display: flex; align-items: center; gap: 8px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.brand .brand-mark { width: 40px; height: 40px; flex: none; }
.brand .brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand .brand-cn { font-family: var(--font-serif); font-size: 21px; font-weight: 700; letter-spacing: 0.14em; color: var(--ink); }
.brand .brand-en { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.3em; color: var(--muted); }

.nav-menu { display: flex; align-items: center; height: 100%; }
.nav-menu > li { position: relative; height: 100%; display: flex; }
.nav-menu > li > a {
  display: flex; align-items: center; padding: 0 18px; font-size: 15px;
  letter-spacing: 0.1em; color: var(--text); position: relative;
  transition: color 0.2s;
}
.nav-menu > li > a::after {
  content: ""; position: absolute; left: 50%; bottom: 0; width: 0; height: 3px;
  background: var(--red); transform: translateX(-50%); transition: width 0.25s var(--ease);
}
.nav-menu > li > a:hover, .nav-menu > li.is-active > a { color: var(--red); }
.nav-menu > li > a:hover::after, .nav-menu > li.is-active > a::after { width: 26px; }
.nav-menu .caret { width: 9px; height: 9px; margin-left: 6px; flex: none;
  background: currentColor; clip-path: polygon(50% 72%, 0 18%, 100% 18%); opacity: 0.7; }

.dropdown {
  position: absolute; top: calc(100% + 1px); left: 50%; transform: translate(-50%, 8px);
  min-width: 188px; background: var(--white); border: 1px solid var(--line);
  box-shadow: var(--shadow-card); padding: 10px 0; border-radius: var(--radius);
  opacity: 0; visibility: hidden; transition: opacity 0.2s, transform 0.2s var(--ease), visibility 0.2s;
}
.nav-menu > li:hover .dropdown,
.nav-menu > li:focus-within .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dropdown a {
  display: block; padding: 9px 22px; font-size: 14px; color: var(--text);
  transition: background 0.15s, color 0.15s, padding-left 0.2s;
}
.dropdown a:hover { background: var(--paper-2); color: var(--red); padding-left: 27px; }

.nav-cta { margin-left: 14px; }
.nav-toggle { display: none; }

/* 移动端抽屉 */
@media (max-width: 1024px) {
  .nav-menu, .nav-cta { display: none; }
  .nav-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; padding: 10px; margin-right: -10px;
  }
  .nav-toggle span { display: block; height: 2px; width: 100%; background: var(--ink); transition: transform 0.25s var(--ease), opacity 0.2s; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
.drawer {
  position: fixed; inset: 0; z-index: 99; background: var(--ink); color: var(--paper);
  padding: calc(var(--header-h) + 24px) 6% 40px; overflow-y: auto;
  transform: translateY(-8px); opacity: 0; visibility: hidden;
  transition: opacity 0.25s, transform 0.25s var(--ease), visibility 0.25s;
}
.drawer.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.drawer-group { border-bottom: 1px solid var(--line-ink); }
.drawer-group > a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 17px 0; font-size: 18px; letter-spacing: 0.12em; font-family: var(--font-serif);
}
.drawer-group > a .arrow { width: 10px; height: 10px; border-right: 1.5px solid var(--gold); border-top: 1.5px solid var(--gold); transform: rotate(45deg); transition: transform 0.25s; }
.drawer-sub { display: none; padding-bottom: 14px; }
.drawer-group.is-open .arrow { transform: rotate(135deg); }
.drawer-sub a { display: block; padding: 9px 0 9px 16px; font-size: 14.5px; color: rgba(244, 247, 246, 0.72); position: relative; }
.drawer-sub a::before { content: "·"; position: absolute; left: 0; color: var(--red); }
.drawer-cta { margin-top: 28px; }

/* ---------- 4. 首页 Hero 轮播 ---------- */
.hero { position: relative; background: var(--ink); color: var(--paper); overflow: hidden; }
.hero-slide {
  position: relative; min-height: min(660px, calc(100vh - var(--header-h) - 34px));
  display: flex; align-items: center;
  opacity: 0; visibility: hidden; position: absolute; inset: 0;
  transition: opacity 0.7s var(--ease), visibility 0.7s;
}
.hero-slide.is-active { opacity: 1; visibility: visible; position: relative; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg--stars {
  background-image:
    radial-gradient(1.5px 1.5px at 12% 28%, rgba(247,244,237,0.55) 50%, transparent 51%),
    radial-gradient(1px 1px at 32% 62%, rgba(247,244,237,0.4) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 58% 18%, rgba(247,244,237,0.5) 50%, transparent 51%),
    radial-gradient(1px 1px at 76% 44%, rgba(247,244,237,0.35) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 88% 70%, rgba(247,244,237,0.45) 50%, transparent 51%),
    radial-gradient(1px 1px at 68% 82%, rgba(247,244,237,0.3) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 22% 80%, rgba(247,244,237,0.4) 50%, transparent 51%);
}
.hero-moon {
  position: absolute; right: 8%; top: 14%; width: clamp(180px, 24vw, 340px); aspect-ratio: 1;
  opacity: 0.9;
}
.hero-char {
  position: absolute; right: 4%; bottom: -6%;
  font-family: var(--font-serif); font-size: clamp(220px, 30vw, 420px); line-height: 1;
  color: rgba(244, 247, 246, 0.045); user-select: none; pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; padding: clamp(56px, 9vw, 96px) 0; }
.hero-kicker {
  font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.34em;
  color: var(--gold); margin-bottom: 22px;
}
.hero-title {
  font-family: var(--font-serif); font-weight: 700;
  font-size: clamp(34px, 5.4vw, 62px); line-height: 1.24; letter-spacing: 0.02em;
  max-width: 14em;
}
.hero-title em { font-style: normal; color: transparent; background: linear-gradient(105deg, #E8C887, #C5A353); -webkit-background-clip: text; background-clip: text; }
.hero-desc { margin: 22px 0 36px; max-width: 34em; color: rgba(244, 247, 246, 0.82); }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-ctrl {
  position: absolute; left: 0; right: 0; bottom: 30px; z-index: 5;
  display: flex; align-items: center; gap: 22px;
}
.hero-dots { display: flex; gap: 10px; }
.hero-dot { width: 34px; height: 3px; background: rgba(244, 247, 246, 0.25); position: relative; overflow: hidden; }
.hero-dot.is-active { background: rgba(244, 247, 246, 0.25); }
.hero-dot.is-active::after {
  content: ""; position: absolute; inset: 0; background: var(--gold);
  transform-origin: left; animation: dotFill 6s linear forwards;
}
@keyframes dotFill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero-arrows { margin-left: auto; display: flex; gap: 10px; }
.hero-arrow {
  width: 44px; height: 44px; display: grid; place-items: center;
  border: 1px solid rgba(244, 247, 246, 0.3); color: var(--paper);
  transition: background 0.2s, border-color 0.2s;
}
.hero-arrow:hover { background: rgba(244, 247, 246, 0.12); border-color: var(--paper); }
.hero-arrow svg { width: 18px; height: 18px; }

/* ---------- 5. 数据带 ---------- */
.stats { background: var(--ink-2); color: var(--paper); }
.stats .container { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 44px 28px; text-align: center; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 26%; bottom: 26%; width: 1px; background: var(--line-ink); }
.stat-num {
  font-family: var(--font-serif); font-size: clamp(34px, 4vw, 48px); font-weight: 700;
  color: var(--paper); line-height: 1.15;
}
.stat-num small { font-size: 0.5em; color: var(--gold); margin-left: 2px; }
.stat-label { margin-top: 8px; font-size: 13.5px; letter-spacing: 0.14em; color: rgba(244, 247, 246, 0.66); }
@media (max-width: 768px) {
  .stats .container { grid-template-columns: 1fr 1fr; }
  .stat { padding: 30px 14px; }
  .stat:nth-child(3)::before { display: none; }
}

/* ---------- 6. 业务索引（编辑式编号行） ---------- */
.service-index { border-top: 1px solid var(--line); }
.service-row {
  display: grid; grid-template-columns: 84px 1fr auto; align-items: center; gap: clamp(16px, 3vw, 44px);
  padding: 26px 8px; border-bottom: 1px solid var(--line);
  transition: background 0.25s, padding-left 0.25s var(--ease);
}
.service-row:hover { background: var(--white); padding-left: 20px; }
.service-no {
  font-family: var(--font-mono); font-size: 14px; color: var(--gold);
  letter-spacing: 0.1em;
}
.service-body h3 {
  font-family: var(--font-serif); font-size: clamp(19px, 2.2vw, 24px);
  color: var(--ink); letter-spacing: 0.04em; margin-bottom: 4px;
  display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap;
}
.service-body h3 .en { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.22em; color: var(--muted); font-weight: 400; }
.service-body p { font-size: 14.5px; color: var(--muted); max-width: 46em; }
.service-go {
  width: 46px; height: 46px; flex: none; display: grid; place-items: center;
  border: 1px solid var(--line); color: var(--ink); border-radius: 50%;
  transition: all 0.25s var(--ease);
}
.service-row:hover .service-go { background: var(--red); border-color: var(--red); color: #fff; transform: rotate(-45deg); }
.service-go svg { width: 17px; height: 17px; }
@media (max-width: 640px) {
  .service-row { grid-template-columns: 44px 1fr; }
  .service-go { display: none; }
}

/* ---------- 7. 案例卡片 ---------- */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.case-card {
  background: var(--white); border: 1px solid var(--line); text-align: left;
  display: flex; flex-direction: column; width: 100%;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.case-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); }
.case-cover { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.case-cover svg, .case-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.case-card:hover .case-cover svg, .case-card:hover .case-cover img { transform: scale(1.045); }
.case-tag {
  position: absolute; left: 14px; top: 14px; z-index: 2;
  background: rgba(13, 27, 38, 0.82); color: var(--paper);
  font-size: 11.5px; letter-spacing: 0.14em; padding: 4px 12px; backdrop-filter: blur(4px);
}
.case-body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.case-title { font-family: var(--font-serif); font-size: 19px; color: var(--ink); line-height: 1.45; }
.case-meta { font-size: 13px; color: var(--muted); display: flex; gap: 14px; flex-wrap: wrap; margin-top: auto; }
.case-meta b { color: var(--red); font-family: var(--font-serif); font-size: 15px; font-weight: 700; }
@media (max-width: 960px) { .case-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .case-grid { grid-template-columns: 1fr; } }

/* 案例筛选条 */
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 40px; }
.filter-btn {
  padding: 9px 22px; font-size: 14px; letter-spacing: 0.1em;
  border: 1px solid var(--line); color: var(--text); background: transparent;
  transition: all 0.2s;
}
.filter-btn:hover { border-color: var(--red); color: var(--red); }
.filter-btn[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.case-card.is-hidden { display: none; }

/* 案例弹窗 */
dialog.case-dialog {
  border: 0; padding: 0; background: var(--white);
  width: min(860px, 92vw); max-height: 86vh; border-radius: 4px;
  box-shadow: 0 30px 90px rgba(13, 27, 38, 0.4);
}
dialog.case-dialog::backdrop { background: rgba(13, 27, 38, 0.62); backdrop-filter: blur(3px); }
.case-dialog-inner { display: flex; flex-direction: column; max-height: 86vh; }
.case-dialog-cover { height: 240px; flex: none; overflow: hidden; position: relative; }
.case-dialog-cover svg, .case-dialog-cover img { width: 100%; height: 100%; object-fit: cover; }
.case-dialog-body { padding: 30px clamp(22px, 4vw, 44px) 38px; overflow-y: auto; }
.case-dialog-body h3 { font-family: var(--font-serif); font-size: 26px; color: var(--ink); margin-bottom: 4px; }
.case-dialog-body .case-dialog-sub { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.18em; color: var(--red); margin-bottom: 18px; }
.case-dialog-body h4 { font-family: var(--font-serif); font-size: 16px; color: var(--ink); margin: 20px 0 8px; display: flex; align-items: center; gap: 8px; }
.case-dialog-body h4::before { content: ""; width: 8px; height: 8px; background: var(--red); }
.case-dialog-body p { font-size: 14.5px; color: var(--text); }
.case-dialog-close {
  position: absolute; right: 14px; top: 14px; z-index: 3;
  width: 40px; height: 40px; display: grid; place-items: center;
  background: rgba(13, 27, 38, 0.55); color: #fff; backdrop-filter: blur(4px);
}
.case-dialog-close:hover { background: var(--red); }
.case-dialog-close svg { width: 16px; height: 16px; }
.case-kv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 18px 0 6px; }
.case-kv div { background: var(--paper-2); padding: 14px 16px; }
.case-kv dt { font-size: 12px; color: var(--muted); letter-spacing: 0.1em; margin-bottom: 4px; }
.case-kv dd { font-family: var(--font-serif); font-size: 19px; color: var(--ink); font-weight: 700; }
@media (max-width: 560px) { .case-kv { grid-template-columns: 1fr; } }

/* ---------- 8. 新闻列表 ---------- */
.news-feature {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: center;
  padding: 34px 0; border-top: 1px solid var(--line-ink); border-bottom: 1px solid var(--line-ink);
}
.news-feature .nf-date { font-family: var(--font-mono); font-size: 13px; color: var(--gold); letter-spacing: 0.2em; }
.news-feature h3 { font-family: var(--font-serif); font-size: clamp(22px, 2.6vw, 30px); line-height: 1.5; margin: 12px 0; transition: color 0.2s; }
.news-feature a:hover h3 { color: var(--gold); }
.news-feature p { color: rgba(244, 247, 246, 0.66); font-size: 14.5px; }
.news-feature .nf-art { aspect-ratio: 16 / 10; overflow: hidden; }
@media (max-width: 860px) { .news-feature { grid-template-columns: 1fr; } }

.news-list-item {
  display: grid; grid-template-columns: 108px 1fr auto; gap: 24px; align-items: center;
  padding: 26px 6px; border-bottom: 1px solid var(--line);
  transition: background 0.2s, padding-left 0.25s var(--ease);
}
a.news-list-item:hover { background: var(--white); padding-left: 16px; }
.news-list-item .nl-date { font-family: var(--font-mono); color: var(--muted); font-size: 13px; line-height: 1.7; }
.news-list-item .nl-date b { display: block; font-family: var(--font-serif); font-size: 26px; color: var(--ink); font-weight: 700; }
.news-list-item h3 { font-family: var(--font-serif); font-size: 19px; color: var(--ink); line-height: 1.5; margin-bottom: 6px; transition: color 0.2s; }
a.news-list-item:hover h3 { color: var(--red); }
.news-list-item p { font-size: 13.5px; color: var(--muted); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.nl-cat { font-size: 12px; letter-spacing: 0.12em; color: var(--red); white-space: nowrap; padding: 4px 12px; border: 1px solid currentColor; align-self: center; }
.news-list-item.is-pending { opacity: 0.62; }
.news-list-item.is-pending .nl-cat { color: var(--muted); }
@media (max-width: 640px) {
  .news-list-item { grid-template-columns: 64px 1fr; }
  .nl-cat { display: none; }
  .news-list-item .nl-date b { font-size: 19px; }
}

/* 新闻 Tabs（新闻中心页） */
.news-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; border-bottom: 1px solid var(--line); padding-bottom: 14px; }
.news-tab {
  padding: 8px 20px; font-size: 14px; letter-spacing: 0.1em;
  color: var(--text); position: relative; transition: color 0.2s;
}
.news-tab[aria-selected="true"] { color: var(--red); }
.news-tab[aria-selected="true"]::after { content: ""; position: absolute; left: 50%; bottom: -15px; transform: translateX(-50%); width: 26px; height: 3px; background: var(--red); }
.news-tab:hover { color: var(--red); }

/* ---------- 9. 合作伙伴 ---------- */
.partner-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-ink); border: 1px solid var(--line-ink); }
.partner-cell {
  background: var(--ink); padding: 30px 14px; text-align: center;
  font-family: var(--font-serif); font-size: 17px; letter-spacing: 0.14em;
  color: rgba(244, 247, 246, 0.8); position: relative; transition: color 0.25s, background 0.25s;
}
.partner-cell small { display: block; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.26em; color: var(--gold); margin-top: 6px; opacity: 0.85; }
.partner-cell:hover { color: var(--paper); background: var(--ink-2); }
@media (max-width: 768px) { .partner-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- 10. CTA 横幅 ---------- */
.cta-band { position: relative; background: var(--ink); color: var(--paper); overflow: hidden; }
.cta-band .container { position: relative; z-index: 2; padding: clamp(64px, 8vw, 100px) 0; display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta-band .moon { position: absolute; right: -60px; top: -80px; width: 320px; aspect-ratio: 1; opacity: 0.16; }
.cta-band h2 { font-family: var(--font-serif); font-size: clamp(26px, 3.6vw, 40px); line-height: 1.4; }
.cta-band h2 em { font-style: normal; color: var(--gold); }
.cta-band p { color: rgba(244, 247, 246, 0.7); margin-top: 10px; }

/* ---------- 11. 子页头部 ---------- */
.page-hero {
  position: relative; background: var(--ink); color: var(--paper);
  padding: clamp(56px, 7vw, 90px) 0; overflow: hidden;
}
.page-hero .hero-char { font-size: clamp(160px, 22vw, 300px); bottom: -22%; }
.page-hero h1 { font-family: var(--font-serif); font-size: clamp(30px, 4.4vw, 46px); font-weight: 700; letter-spacing: 0.06em; margin: 14px 0 10px; }
.page-hero .ph-en { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.34em; color: var(--gold); }
.page-hero p { max-width: 40em; color: rgba(244, 247, 246, 0.72); margin-top: 8px; }
.breadcrumb { font-size: 13px; color: rgba(244, 247, 246, 0.55); margin-top: 26px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .sep { opacity: 0.5; }
.breadcrumb [aria-current="page"] { color: var(--paper); }

/* ---------- 12. 关于页 ---------- */
.about-intro { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.about-intro .lead { font-family: var(--font-serif); font-size: clamp(19px, 2vw, 23px); line-height: 1.9; color: var(--ink); margin-bottom: 18px; }
.about-intro .body-text p { color: var(--text); margin-bottom: 14px; text-align: justify; }
.about-facts { border-left: 2px solid var(--red); padding-left: 26px; display: flex; flex-direction: column; gap: 22px; }
.about-facts .af-item b { display: block; font-family: var(--font-serif); font-size: 30px; color: var(--ink); line-height: 1.3; }
.about-facts .af-item b i { font-style: normal; color: var(--red); font-size: 0.55em; vertical-align: 0.4em; }
.about-facts .af-item span { font-size: 13.5px; color: var(--muted); letter-spacing: 0.06em; }
@media (max-width: 860px) { .about-intro { grid-template-columns: 1fr; } }

/* 时间线 */
.timeline { position: relative; padding-left: 0; }
.timeline::before { content: ""; position: absolute; left: 90px; top: 8px; bottom: 8px; width: 1px; background: var(--line); }
.tl-item { position: relative; display: grid; grid-template-columns: 90px 1fr; gap: 44px; padding: 26px 0; }
.tl-year { font-family: var(--font-serif); font-size: 24px; font-weight: 700; color: var(--ink); text-align: right; }
.tl-item::after {
  content: ""; position: absolute; left: 86px; top: 38px; width: 9px; height: 9px;
  background: var(--paper); border: 2px solid var(--red); border-radius: 50%;
  transition: background 0.2s;
}
.tl-item:hover::after { background: var(--red); }
.tl-body h3 { font-family: var(--font-serif); font-size: 19px; color: var(--ink); margin-bottom: 6px; }
.tl-body p { font-size: 14.5px; color: var(--muted); max-width: 44em; }
@media (max-width: 640px) {
  .timeline::before { left: 6px; }
  .tl-item { grid-template-columns: 1fr; gap: 8px; padding-left: 28px; }
  .tl-item::after { left: 2px; top: 10px; }
  .tl-year { text-align: left; }
}

/* 文化 */
.culture-rows { display: flex; flex-direction: column; border-top: 1px solid var(--line-ink); }
.culture-row { display: grid; grid-template-columns: 200px 1fr; gap: 32px; padding: 34px 0; border-bottom: 1px solid var(--line-ink); }
.culture-row h3 { font-family: var(--font-serif); font-size: 24px; color: var(--gold); letter-spacing: 0.2em; }
.culture-row h3 small { display: block; font-family: var(--font-mono); font-size: 11px; color: rgba(244, 247, 246, 0.5); letter-spacing: 0.26em; margin-top: 8px; }
.culture-row p { color: rgba(244, 247, 246, 0.82); font-size: 16px; line-height: 2; max-width: 40em; }
.values-line { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 18px; }
.values-line span { border: 1px solid var(--line-ink); padding: 8px 20px; font-size: 14px; letter-spacing: 0.12em; color: var(--paper); }
.values-line span b { color: var(--gold); margin-right: 6px; font-family: var(--font-serif); }
@media (max-width: 640px) { .culture-row { grid-template-columns: 1fr; gap: 12px; } }

/* 团队 */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.team-card { background: var(--white); border: 1px solid var(--line); padding: 30px 24px; text-align: center; transition: transform 0.3s var(--ease), box-shadow 0.3s; }
.team-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-card); }
.team-avatar {
  width: 92px; height: 92px; margin: 0 auto 18px; border-radius: 50%;
  display: grid; place-items: center; font-family: var(--font-serif);
  font-size: 34px; font-weight: 700; color: var(--paper);
  background: radial-gradient(circle at 34% 30%, #2E3D63, var(--ink));
  border: 2px solid var(--gold);
}
.team-card h3 { font-family: var(--font-serif); font-size: 19px; color: var(--ink); }
.team-role { font-size: 12.5px; letter-spacing: 0.16em; color: var(--red); margin: 6px 0 12px; }
.team-card p { font-size: 13px; color: var(--muted); }
@media (max-width: 960px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .team-grid { grid-template-columns: 1fr; } }

/* 组织架构 */
.org-chart { overflow-x: auto; padding: 10px 0 20px; }
.org-svg { min-width: 820px; margin: 0 auto; }

/* 荣誉 */
.honor-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.honor-card { border: 1px solid var(--line); background: var(--white); padding: 28px 26px; position: relative; }
.honor-card::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 3px; background: linear-gradient(90deg, var(--red) 0 34%, var(--gold) 34% 100%); }
.honor-card h3 { font-family: var(--font-serif); font-size: 17.5px; color: var(--ink); line-height: 1.6; }
.honor-card span { display: block; margin-top: 10px; font-family: var(--font-mono); font-size: 12px; color: var(--muted); letter-spacing: 0.14em; }
@media (max-width: 860px) { .honor-grid { grid-template-columns: 1fr; } }

/* ---------- 13. 业务页 ---------- */
.biz-block {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 64px);
  padding: clamp(36px, 4.5vw, 56px) 0; border-top: 1px solid var(--line);
}
.biz-block:nth-child(even) { direction: rtl; }
.biz-block > * { direction: ltr; }
.biz-no { font-family: var(--font-mono); font-size: clamp(48px, 6vw, 84px); font-weight: 700; color: transparent; -webkit-text-stroke: 1px var(--gold); line-height: 1; }
.biz-block h2 { font-family: var(--font-serif); font-size: clamp(23px, 2.6vw, 32px); color: var(--ink); margin: 14px 0 12px; }
.biz-block .biz-desc { color: var(--muted); margin-bottom: 20px; }
.biz-list li {
  display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line);
  font-size: 14.5px;
}
.biz-list li::before { content: "○"; color: var(--red); font-size: 12px; line-height: 2.2; }
.biz-visual {
  border: 1px solid var(--line); background: var(--white); min-height: 320px;
  display: grid; place-items: center; position: relative; overflow: hidden;
}
.biz-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.biz-visual .biz-visual-label {
  position: absolute; left: 16px; bottom: 12px; font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.22em; color: var(--paper);
  background: rgba(15,22,38,0.6); padding: 4px 10px; z-index: 2;
}
@media (max-width: 860px) { .biz-block { grid-template-columns: 1fr; } .biz-visual { min-height: 240px; } }

/* 服务流程 */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; counter-reset: step; }
.step { position: relative; padding: 0 18px; text-align: center; }
.step .step-no {
  width: 54px; height: 54px; margin: 0 auto 16px; display: grid; place-items: center;
  border: 1px solid var(--line-ink); color: var(--gold); font-family: var(--font-serif);
  font-size: 20px; transform: rotate(45deg); transition: all 0.3s var(--ease);
}
.step .step-no span { transform: rotate(-45deg); }
.step:hover .step-no { background: var(--red); border-color: var(--red); color: #fff; }
.step h3 { font-family: var(--font-serif); font-size: 17px; color: var(--paper); margin-bottom: 8px; }
.step p { font-size: 12.5px; color: rgba(244, 247, 246, 0.6); line-height: 1.7; }
.step:not(:last-child)::after { content: ""; position: absolute; top: 27px; left: calc(50% + 34px); width: calc(100% - 68px); height: 1px; background: var(--line-ink); }
@media (max-width: 900px) {
  .steps { grid-template-columns: repeat(2, 1fr); gap: 30px 12px; }
  .step:not(:last-child)::after { display: none; }
}

/* ---------- 14. 招聘页 ---------- */
.job-list { border-top: 1px solid var(--line); }
.job-item { border-bottom: 1px solid var(--line); background: var(--white); }
.job-item summary {
  display: grid; grid-template-columns: 1fr auto auto; gap: 18px; align-items: center;
  padding: 24px 18px; cursor: pointer; list-style: none; transition: background 0.2s;
}
.job-item summary::-webkit-details-marker { display: none; }
.job-item summary:hover { background: var(--paper-2); }
.job-item summary h3 { font-family: var(--font-serif); font-size: 19px; color: var(--ink); }
.job-item summary .job-sub { font-size: 13px; color: var(--muted); margin-top: 2px; }
.job-tag { font-size: 12px; color: var(--red); border: 1px solid currentColor; padding: 3px 10px; letter-spacing: 0.1em; white-space: nowrap; }
.job-plus { width: 34px; height: 34px; display: grid; place-items: center; color: var(--ink); transition: transform 0.3s var(--ease); }
.job-item[open] .job-plus { transform: rotate(45deg); color: var(--red); }
.job-detail { padding: 6px 18px 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.job-detail h4 { font-family: var(--font-serif); font-size: 15px; color: var(--ink); margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.job-detail h4::before { content: ""; width: 7px; height: 7px; background: var(--red); }
.job-detail li { font-size: 14px; color: var(--text); padding: 5px 0 5px 14px; position: relative; }
.job-detail li::before { content: "·"; position: absolute; left: 0; color: var(--red); }
@media (max-width: 700px) {
  .job-item summary { grid-template-columns: 1fr auto; }
  .job-tag { display: none; }
  .job-detail { grid-template-columns: 1fr; }
}
.welfare-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-ink); border: 1px solid var(--line-ink); }
.welfare-cell { background: var(--ink); padding: 28px 22px; }
.welfare-cell b { display: block; font-family: var(--font-serif); font-size: 17px; color: var(--paper); margin-bottom: 8px; }
.welfare-cell p { font-size: 13px; color: rgba(244, 247, 246, 0.62); }
@media (max-width: 860px) { .welfare-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- 15. 联系页 ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.contact-card { background: var(--white); border: 1px solid var(--line); padding: 30px 24px; transition: transform 0.3s var(--ease), box-shadow 0.3s; }
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.contact-card .cc-icon { width: 44px; height: 44px; display: grid; place-items: center; background: var(--ink); color: var(--gold); margin-bottom: 18px; }
.contact-card .cc-icon svg { width: 20px; height: 20px; }
.contact-card h3 { font-family: var(--font-serif); font-size: 17px; color: var(--ink); margin-bottom: 8px; letter-spacing: 0.1em; }
.contact-card p, .contact-card a { font-size: 14.5px; color: var(--muted); line-height: 1.9; word-break: break-all; }
.contact-card a:hover { color: var(--red); }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-split { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 72px); }
.contact-form { background: var(--white); border: 1px solid var(--line); padding: clamp(26px, 4vw, 44px); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13.5px; letter-spacing: 0.1em; color: var(--ink); margin-bottom: 8px; }
.field label b { color: var(--red); margin-left: 3px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; font: inherit; font-size: 14.5px;
  border: 1px solid var(--line); background: var(--paper); color: var(--text);
  transition: border-color 0.2s, background 0.2s; border-radius: 0;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--red); background: var(--white);
}
.field .field-error { display: none; font-size: 12.5px; color: var(--red); margin-top: 6px; }
.field.is-invalid input, .field.is-invalid textarea, .field.is-invalid select { border-color: var(--red); }
.field.is-invalid .field-error { display: block; }
.form-note { font-size: 12.5px; color: var(--muted); margin-top: 14px; line-height: 1.8; }
@media (max-width: 700px) { .form-row { grid-template-columns: 1fr; } }
@media (max-width: 860px) { .contact-split { grid-template-columns: 1fr; } }

.qr-placeholder {
  width: 148px; height: 148px; border: 1px dashed var(--line-ink);
  display: grid; place-items: center; text-align: center;
  font-size: 12px; color: rgba(244, 247, 246, 0.55); line-height: 1.8; padding: 12px;
}

/* ---------- 16. 文章页 ---------- */
.article-wrap { max-width: 800px; margin: 0 auto; }
.article-head { text-align: center; padding-bottom: 30px; border-bottom: 1px solid var(--line); margin-bottom: 36px; }
.article-head .meta { font-family: var(--font-mono); font-size: 12.5px; color: var(--muted); letter-spacing: 0.18em; margin-bottom: 18px; }
.article-head .meta span { color: var(--red); }
.article-head h1 { font-family: var(--font-serif); font-size: clamp(24px, 3.4vw, 34px); line-height: 1.55; color: var(--ink); }
.article-body p { margin-bottom: 20px; text-align: justify; font-size: 16px; }
.article-body h2 { font-family: var(--font-serif); font-size: 22px; color: var(--ink); margin: 40px 0 18px; padding-left: 14px; border-left: 4px solid var(--red); }
.article-body blockquote {
  margin: 26px 0; padding: 18px 26px; background: var(--paper-2);
  border-left: 3px solid var(--gold); font-family: var(--font-serif);
  color: var(--ink); font-size: 16.5px; line-height: 1.9;
}
.article-nav { display: flex; justify-content: space-between; gap: 20px; margin-top: 54px; padding-top: 26px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.article-nav a { font-size: 14px; color: var(--muted); max-width: 46%; transition: color 0.2s; }
.article-nav a:hover { color: var(--red); }
.article-nav a b { display: block; font-size: 12px; letter-spacing: 0.16em; color: var(--gold); margin-bottom: 4px; font-family: var(--font-mono); font-weight: 400; }

/* ---------- 17. 法律页 ---------- */
.legal-toc { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; }
.legal-toc a { display: block; padding: 9px 0 9px 16px; font-size: 14px; color: var(--muted); border-left: 2px solid var(--line); transition: all 0.2s; }
.legal-toc a:hover, .legal-toc a.is-current { color: var(--red); border-color: var(--red); }
.legal-split { display: grid; grid-template-columns: 200px 1fr; gap: clamp(28px, 4vw, 60px); align-items: start; }
@media (max-width: 860px) { .legal-split { grid-template-columns: 1fr; } .legal-toc { position: static; display: flex; gap: 18px; overflow-x: auto; border-bottom: 1px solid var(--line); padding-bottom: 10px; } .legal-toc a { border-left: 0; padding: 0; white-space: nowrap; } }
.legal-block h2 { font-family: var(--font-serif); font-size: 24px; color: var(--ink); margin: 44px 0 16px; scroll-margin-top: calc(var(--header-h) + 20px); }
.legal-block h2:first-child { margin-top: 0; }
.legal-block p, .legal-block li { font-size: 14.5px; color: var(--text); margin-bottom: 10px; line-height: 2; }
.legal-block ol { padding-left: 22px; list-style: cjk-ideographic; }
.legal-block li::marker { color: var(--red); }

/* ---------- 18. 404 ---------- */
.nf-wrap { min-height: 68vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 80px 0; position: relative; overflow: hidden; }
.nf-wrap .moon { width: 150px; aspect-ratio: 1; margin-bottom: 34px; }
.nf-code { font-family: var(--font-mono); font-size: clamp(60px, 10vw, 110px); font-weight: 700; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--gold); }
.nf-wrap h1 { font-family: var(--font-serif); font-size: clamp(20px, 3vw, 28px); color: var(--paper); margin: 18px 0 10px; }
.nf-wrap p { color: rgba(244, 247, 246, 0.65); margin-bottom: 30px; }

/* ---------- 19. 页脚 ---------- */
.site-footer { background: var(--ink); color: rgba(244, 247, 246, 0.72); font-size: 14px; }
.footer-main { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: clamp(28px, 4vw, 56px); padding: clamp(48px, 6vw, 76px) 0 46px; }
.footer-brand .brand-cn { font-family: var(--font-serif); font-size: 22px; letter-spacing: 0.16em; color: var(--paper); }
.footer-brand .brand-en { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.3em; color: var(--gold); margin: 6px 0 16px; }
.footer-brand p { font-size: 13.5px; line-height: 2; max-width: 26em; }
.footer-col h3 {
  font-family: var(--font-serif); font-size: 16px; color: var(--paper);
  letter-spacing: 0.18em; margin-bottom: 20px; position: relative; padding-bottom: 12px;
}
.footer-col h3::after { content: ""; position: absolute; left: 0; bottom: 0; width: 22px; height: 2px; background: var(--red); }
.footer-col li { margin-bottom: 11px; }
.footer-col a { transition: color 0.2s, padding-left 0.2s; }
.footer-col a:hover { color: var(--gold); padding-left: 5px; }
.footer-contact li { display: flex; gap: 10px; align-items: baseline; margin-bottom: 12px; font-size: 13.5px; }
.footer-contact .fc-label { color: var(--gold); flex: none; font-size: 12.5px; letter-spacing: 0.1em; }
.footer-qr { display: flex; gap: 18px; margin-top: 6px; }
.footer-bottom { border-top: 1px solid var(--line-ink); padding: 20px 0 26px; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 12.5px; color: rgba(244, 247, 246, 0.5); }
.footer-bottom a:hover { color: var(--gold); }
.footer-bottom .fb-links { display: flex; gap: 18px; flex-wrap: wrap; }
@media (max-width: 960px) { .footer-main { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-main { grid-template-columns: 1fr; } }

/* ---------- 20. 回到顶部 ---------- */
.to-top {
  position: fixed; right: 26px; bottom: 30px; z-index: 90;
  width: 46px; height: 46px; display: grid; place-items: center;
  background: var(--ink); color: var(--paper); box-shadow: var(--shadow-card);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: all 0.3s var(--ease);
}
.to-top.is-show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--red); }
.to-top svg { width: 17px; height: 17px; }

/* ---------- 21. 进场动效 ---------- */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
[data-reveal="left"] { transform: translateX(-30px); }
[data-reveal="right"] { transform: translateX(30px); }
[data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; } }

/* 小屏通用 */
@media (max-width: 480px) {
  .container { width: 90%; }
  .hero-actions .btn { width: 100%; }
}
