/* =========================================================
   扬州华正建筑工程质量检测有限公司 · 官网首页
   品牌色取自 logo：黄 #FFC61F / 深灰 #343434 / 浅灰 #DDDAD5
   纯 CSS，零依赖
   ========================================================= */
:root {
  --ink: #343434;
  --ink-2: #1E1E1E;
  --muted: #6F6B64;
  --yellow: #FFC61F;
  --yellow-deep: #E9AF00;
  --paper: #FFFFFF;
  --stone: #F5F3EF;
  --stone-2: #EDEAE3;
  --line: #E2DED6;
  --white: #FFFFFF;

  --font: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, "SFMono-Regular", "JetBrains Mono", Menlo, Consolas, monospace;

  --container: 1200px;
  --pad: 28px;
  --radius: 4px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --header-h: 76px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 { color: var(--ink-2); line-height: 1.18; font-weight: 800; letter-spacing: -.02em; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul, ol { list-style: none; }
small { font-size: .82em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--pad); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: var(--radius); font-weight: 700; font-size: 15px;
  border: 1.5px solid transparent; cursor: pointer; white-space: nowrap;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn-solid { background: var(--ink); color: #fff; }
.btn-solid:hover { background: var(--yellow); color: var(--ink); transform: translateY(-2px); }
.btn-yellow { background: var(--yellow); color: var(--ink); box-shadow: 0 8px 20px rgba(255, 198, 31, .3); }
.btn-yellow:hover { background: var(--ink); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(52,52,52,.25); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }
.btn.full { width: 100%; }

/* ---------- 顶部资质条 ---------- */
.topbar {
  background: var(--ink-2); color: #cfcbc4; font-size: 12.5px; letter-spacing: .02em;
  overflow: hidden; height: 36px; display: flex; align-items: center;
  font-family: var(--mono);
}
.topbar-track {
  display: flex; align-items: center; gap: 18px; white-space: nowrap;
  animation: marquee 38s linear infinite; will-change: transform;
}
.topbar-track span { display: inline-flex; gap: 6px; }
.topbar-track b { color: var(--yellow); font-weight: 600; }
.topbar-track i { color: var(--yellow); font-style: normal; font-size: 8px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- 导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--line); backdrop-filter: blur(10px);
  transition: box-shadow .3s var(--ease), height .3s var(--ease);
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(52,52,52,.08); }
.nav-inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.brand { display: flex; align-items: center; flex: none; }
.brand-logo { height: 42px; width: auto; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a {
  position: relative; font-size: 15px; font-weight: 600; color: var(--ink); padding: 6px 0;
  transition: color .2s var(--ease);
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--yellow); transition: width .28s var(--ease);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--ink-2); }
.nav-cta { padding: 10px 22px; font-size: 14px; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2.5px; background: var(--ink); border-radius: 1px; transition: transform .3s var(--ease), opacity .3s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; padding: 84px 0 72px; background: var(--stone);
  border-bottom: 1px solid var(--line); overflow: hidden;
}
.hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(52,52,52,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(52,52,52,.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(90deg, transparent, #000 30%, #000 100%);
}
.hero::before {
  content: ""; position: absolute; top: -120px; right: -160px; width: 480px; height: 480px;
  background: var(--yellow); border-radius: 50%; opacity: .14; filter: blur(2px);
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono);
  font-size: 12.5px; letter-spacing: .14em; color: var(--ink); font-weight: 600;
  text-transform: uppercase; margin-bottom: 22px;
}
.eyebrow .sq { width: 10px; height: 10px; background: var(--yellow); display: inline-block; }
.hero h1 { font-size: clamp(38px, 5.4vw, 68px); letter-spacing: -.03em; }
.hero-sub { margin: 24px 0 32px; font-size: 16.5px; color: var(--muted); max-width: 540px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-stats { display: flex; gap: 40px; margin-top: 52px; flex-wrap: wrap; padding-top: 26px; border-top: 1px solid var(--line); }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats dt { font-size: 32px; font-weight: 800; color: var(--ink-2); line-height: 1; letter-spacing: -.02em; }
.hero-stats dd { font-size: 13px; color: var(--muted); margin-top: 8px; }

/* hero 能力面板 */
.hero-panel-wrap { position: relative; }
.hero-panel {
  background: var(--ink-2); color: #EDEAE3; border-radius: var(--radius);
  padding: 26px 26px 18px; box-shadow: 0 24px 60px rgba(30,30,30,.28);
  position: relative; z-index: 1;
}
.panel-head { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,.12); }
.panel-label { font-size: 15px; font-weight: 700; color: #fff; }
.panel-en { font-family: var(--mono); font-size: 10.5px; letter-spacing: .18em; color: var(--yellow); }
.bars { display: grid; gap: 13px; padding: 20px 0 16px; }
.bars li { display: grid; grid-template-columns: 116px 1fr 34px; align-items: center; gap: 12px; font-size: 12.5px; }
.bar-name { color: #BDB9B1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar { height: 5px; background: rgba(255,255,255,.09); border-radius: 3px; overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; background: var(--yellow); border-radius: 3px; transition: width 1.1s var(--ease); }
.bars.play .bar i { width: var(--w); }
.bars li em { font-family: var(--mono); font-style: normal; font-size: 11px; color: var(--yellow); text-align: right; }
.panel-foot { display: flex; align-items: center; gap: 8px; font-size: 11px; color: #8C8880; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.1); }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 3px rgba(255,198,31,.2); }

.badge-cma {
  position: absolute; bottom: -26px; right: -18px; z-index: 2;
  background: var(--yellow); color: var(--ink); padding: 14px 18px; border-radius: var(--radius);
  display: flex; flex-direction: column; gap: 2px; box-shadow: 0 14px 30px rgba(255,198,31,.35);
  transform: rotate(2deg);
}
.badge-cma strong { font-size: 22px; letter-spacing: .04em; line-height: 1; }
.badge-cma span { font-family: var(--mono); font-size: 10px; line-height: 1.35; }
.badge-since {
  position: absolute; left: -18px; bottom: -26px; z-index: 0;
  font-family: var(--mono); font-size: 11px; letter-spacing: .3em; color: var(--muted);
  writing-mode: vertical-rl; transform: rotate(180deg);
}

.scroll-hint {
  position: absolute; right: 32px; bottom: 26px; display: flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 10px; letter-spacing: .22em; color: var(--muted);
}
.scroll-hint span { width: 1px; height: 26px; background: var(--ink); position: relative; overflow: hidden; }
.scroll-hint span::after { content: ""; position: absolute; top: -26px; left: 0; width: 1px; height: 26px; background: var(--yellow); animation: scan 1.8s infinite; }
@keyframes scan { 0% { top: -26px; } 100% { top: 26px; } }

/* ---------- 通用 Section ---------- */
.section { padding: 104px 0; }
.section-stone { background: var(--stone); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-dark { background: var(--ink-2); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .sec-desc, .section-dark p { color: #B6B2AA; }

.section-head { max-width: 760px; margin-bottom: 60px; }
.sec-no {
  font-family: var(--mono); font-size: 12px; letter-spacing: .16em; color: var(--muted);
  text-transform: uppercase; margin-bottom: 18px; display: flex; align-items: center; gap: 10px;
}
.sec-no span { background: var(--yellow); color: var(--ink); padding: 2px 7px; font-weight: 700; letter-spacing: .05em; }
.sec-no.light { color: #8C8880; }
.section-head h2 { font-size: clamp(28px, 3.8vw, 48px); }
.sec-desc { margin-top: 20px; font-size: 16px; color: var(--muted); max-width: 640px; }
.section-head.light .sec-no { color: #8C8880; }

/* ---------- 01 业务卡片 ---------- */
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-card {
  padding: 34px 28px 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--paper); position: relative; transition: background .3s var(--ease), transform .3s var(--ease);
  min-height: 230px; display: flex; flex-direction: column;
}
.service-card::before {
  content: ""; position: absolute; left: 0; top: 0; width: 0; height: 3px; background: var(--yellow);
  transition: width .35s var(--ease);
}
.service-card:hover { background: var(--stone); }
.service-card:hover::before { width: 100%; }
.s-idx { font-family: var(--mono); font-size: 12px; color: var(--yellow-deep); font-weight: 700; letter-spacing: .06em; margin-bottom: 20px; }
.service-card h3 { font-size: 18.5px; margin-bottom: 12px; }
.service-card p { font-size: 14px; color: var(--muted); line-height: 1.7; }
.service-card .s-tags { margin-top: auto; padding-top: 18px; display: flex; flex-wrap: wrap; gap: 6px; }
.s-tags span { font-size: 11px; color: var(--muted); border: 1px solid var(--line); padding: 3px 8px; border-radius: 2px; }
.service-card:hover .s-tags span { border-color: #D2CDC2; }

/* ---------- 02 特色鉴定 ---------- */
.special-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: start; }
.special-head { position: sticky; top: 110px; }
.special-head h2 { font-size: clamp(28px, 3.6vw, 44px); }
.link-arrow { display: inline-block; margin-top: 28px; font-weight: 700; color: var(--ink); border-bottom: 2px solid var(--yellow); padding-bottom: 3px; transition: gap .2s, border-color .2s; }
.link-arrow:hover { border-color: var(--ink); }

.special-list { border-top: 1px solid var(--line); }
.special-list li {
  display: grid; grid-template-columns: 54px 1fr auto; align-items: center; gap: 20px;
  padding: 22px 4px; border-bottom: 1px solid var(--line); cursor: default;
  transition: padding-left .3s var(--ease), background .3s var(--ease);
}
.special-list li:hover { padding-left: 16px; background: rgba(255,198,31,.08); }
.sp-no { font-family: var(--mono); font-size: 12px; color: var(--yellow-deep); font-weight: 700; }
.sp-name { font-size: 19px; font-weight: 700; color: var(--ink-2); }
.sp-desc { font-size: 13.5px; color: var(--muted); text-align: right; max-width: 300px; }

/* ---------- 03 资质 ---------- */
.cert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.12); }
.cert {
  background: var(--ink-2); padding: 30px 28px; display: flex; flex-direction: column; gap: 6px;
  transition: background .3s var(--ease);
}
.cert:hover { background: #262626; }
.cert-k { font-family: var(--mono); font-size: 13px; color: var(--yellow); letter-spacing: .1em; margin-bottom: 10px; }
.cert strong { color: #fff; font-size: 17px; }
.cert small { color: #8C8880; font-family: var(--mono); font-size: 11.5px; }

.honor-band { margin-top: 56px; padding-top: 40px; border-top: 1px solid rgba(255,255,255,.14); display: grid; grid-template-columns: 160px 1fr; gap: 32px; }
.section-dark .honor-title, .honor-title { font-family: var(--mono); font-size: 12px; letter-spacing: .18em; color: var(--yellow); text-transform: uppercase; }
.honor-list { display: grid; gap: 14px; }
.honor-list li { display: grid; grid-template-columns: 110px 1fr; gap: 16px; align-items: baseline; font-size: 14.5px; padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.07); }
.honor-list li:last-child { border-bottom: 0; }
.honor-list p { color: #B6B2AA; margin: 0; }
.honor-list span { font-family: var(--mono); font-size: 12px; color: #7C786F; }
.honor-list b { color: var(--yellow); font-weight: 700; }

/* ---------- 04 案例 ---------- */
.case-list { border-top: 1px solid var(--line); }
.case-row {
  display: grid; grid-template-columns: 40px 1fr 180px 100px; align-items: center; gap: 24px;
  padding: 22px 4px; border-bottom: 1px solid var(--line); transition: background .3s var(--ease), padding-left .3s var(--ease);
}
.case-row:hover { background: var(--stone); padding-left: 16px; }
.c-idx { font-family: var(--mono); font-size: 12px; color: #B5B0A6; }
.c-name { font-size: 19px; font-weight: 700; color: var(--ink-2); }
.c-cat { font-size: 12.5px; color: var(--muted); text-align: right; }
.c-year { font-family: var(--mono); font-size: 13px; color: var(--yellow-deep); text-align: right; }

/* ---------- 05 关于 ---------- */
.about-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; }
.about-head { position: sticky; top: 110px; }
.about-head h2 { font-size: clamp(28px, 3.6vw, 46px); }
.timeline { border-left: 2px solid var(--line); padding-left: 34px; display: grid; gap: 36px; }
.timeline li { position: relative; display: grid; grid-template-columns: 90px 1fr; gap: 20px; }
.timeline li::before {
  content: ""; position: absolute; left: -41px; top: 8px; width: 12px; height: 12px;
  background: var(--paper); border: 2px solid var(--ink); border-radius: 50%;
  transition: background .3s var(--ease);
}
.timeline li:hover::before { background: var(--yellow); border-color: var(--yellow); }
.t-year { font-family: var(--mono); font-size: 18px; font-weight: 700; color: var(--ink-2); }
.timeline h3 { font-size: 17px; margin-bottom: 6px; }
.timeline p { font-size: 14px; color: var(--muted); }

/* ---------- 06 联系 ---------- */
.contact { padding-bottom: 96px; }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact h2 { font-size: clamp(30px, 3.8vw, 46px); }
.contact-lead { margin-top: 18px; max-width: 440px; }
.contact-info { margin-top: 40px; display: grid; gap: 22px; }
.contact-info li { display: grid; grid-template-columns: 64px 1fr; gap: 16px; font-size: 15px; color: #D8D4CC; }
.ci-k { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; color: var(--yellow); padding-top: 4px; }
.contact-info small { color: #8C8880; }

.contact-form { background: var(--paper); padding: 34px; border-radius: var(--radius); box-shadow: 0 30px 70px rgba(0,0,0,.3); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13px; font-weight: 700; color: var(--ink); margin-bottom: 7px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 3px;
  font: inherit; font-size: 14.5px; color: var(--ink); background: #fff;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease); resize: vertical;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--yellow); box-shadow: 0 0 0 3px rgba(255,198,31,.25); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-tip { margin-top: 12px; font-size: 13.5px; font-weight: 600; min-height: 20px; }
.form-tip.ok { color: #1F8A4C; }
.form-tip.err { color: #D2413A; }

/* ---------- 页脚 ---------- */
.site-footer { background: #161616; color: #A8A49C; padding-top: 52px; }
.footer-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand { display: flex; align-items: center; gap: 18px; }
.footer-logo { height: 44px; width: auto; background: #fff; padding: 6px 8px; border-radius: 3px; }
.footer-brand p { font-size: 14px; }
.footer-brand small { color: #6F6B64; }
.footer-nav { display: flex; gap: 24px; flex-wrap: wrap; align-items: center; }
.footer-nav a { font-size: 14px; transition: color .2s var(--ease); }
.footer-nav a:hover { color: var(--yellow); }
.footer-bottom { padding: 20px 0; display: flex; flex-direction: column; gap: 4px; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-bottom small { color: #6F6B64; font-size: 12px; }
.footer-contact { font-size: 14px; line-height: 1.9; }
.footer-contact .fc-title { color: #fff; font-weight: 600; margin-bottom: 4px; }
.footer-contact a { color: var(--yellow); text-decoration: none; }
.footer-contact a:hover { text-decoration: underline; }
.footer-contact .fc-addr { color: #6F6B64; font-size: 13px; }

/* ---------- 滚动揭示 ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .75s var(--ease), transform .75s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 1100px) {
  .nav-links { gap: 18px; }
  .brand-logo { height: 38px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .case-row { grid-template-columns: 32px 1fr 140px; }
  .c-year { display: none; }
}
@media (max-width: 940px) {
  :root { --header-h: 68px; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; margin-left: auto; }
  .nav-links.open {
    display: flex; flex-direction: column; gap: 0; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; padding: 8px 28px 20px; border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 40px rgba(52,52,52,.1);
  }
  .nav-links.open a { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .nav-links.open a::after { display: none; }
  .hero-inner { grid-template-columns: 1fr; gap: 56px; }
  .hero-panel-wrap { max-width: 520px; }
  .special-layout, .about-layout, .contact-inner { grid-template-columns: 1fr; gap: 40px; }
  .special-head, .about-head { position: static; }
  .section { padding: 72px 0; }
  .honor-band { grid-template-columns: 1fr; gap: 18px; }
  .badge-since { display: none; }
}
@media (max-width: 620px) {
  :root { --pad: 18px; }
  .service-grid { grid-template-columns: 1fr; }
  .cert-grid { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 56px; }
  .hero::before { width: 300px; height: 300px; top: -100px; right: -130px; opacity: .1; }
  .hero h1 { font-size: clamp(34px, 10vw, 46px); }
  .hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 18px; }
  .hero-stats dt { font-size: 26px; }
  .hero-stats dd { font-size: 12px; }
  .bars li { grid-template-columns: 92px 1fr 30px; font-size: 11.5px; }
  .hero-panel-wrap { display: flex; flex-direction: column; }
  .badge-cma {
    position: static; order: -1; align-self: flex-start;
    flex-direction: row; align-items: center; gap: 12px;
    padding: 10px 16px; margin-bottom: 14px; transform: none;
    box-shadow: 0 8px 20px rgba(255,198,31,.3);
  }
  .badge-cma strong { font-size: 20px; }
  .case-row { grid-template-columns: 28px 1fr; gap: 14px; }
  .c-cat { display: none; }
  .special-list li { grid-template-columns: 40px 1fr; }
  .sp-desc { display: none; }
  .timeline li { grid-template-columns: 68px 1fr; gap: 12px; }
  .field-row { grid-template-columns: 1fr; }
  .scroll-hint { display: none; }
  .contact-form { padding: 24px; }
  .footer-bottom .container { flex-direction: column; }
}

/* 尊重减少动效偏好 */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
  .bars .bar i { width: var(--w); }
}

/* ---------- 07 新闻动态 ---------- */
.about-main { display: block; }
.about-intro { font-size: 15.5px; color: var(--muted); line-height: 1.9; max-width: 640px; margin-bottom: 40px; }

.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.news-card {
  display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.news-card:hover { transform: translateY(-6px); box-shadow: 0 22px 50px rgba(52,52,52,.14); border-color: #D2CDC2; }
.nc-cover {
  height: 184px; background: linear-gradient(135deg, var(--ink-2), #2c2c2c);
  background-size: cover; background-position: center; display: flex; align-items: flex-end;
}
.nc-cover-ph { padding: 14px 16px; font-family: var(--mono); font-size: 12px; letter-spacing: .14em; color: var(--yellow); }
.nc-body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.nc-date { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: .04em; }
.nc-title { font-size: 18px; line-height: 1.32; }
.news-card:hover .nc-title { color: var(--ink-2); }
.nc-summary { font-size: 14px; color: var(--muted); line-height: 1.65; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.nc-more { margin-top: auto; font-size: 13.5px; font-weight: 700; color: var(--ink); }
.news-card:hover .nc-more { color: var(--yellow-deep); }
.news-empty { color: var(--muted); font-size: 15px; padding: 30px 0; }
.news-more { margin-top: 44px; }

@media (max-width: 1100px) {
  .news-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .news-grid { grid-template-columns: 1fr; }
  .news-card:hover { transform: none; }
}

/* ---------- 新闻详情 ---------- */
.news-article { max-width: 820px; margin: 0 auto; }
.na-cover { height: 360px; background: linear-gradient(135deg, var(--ink-2), #2c2c2c); background-size: cover; background-position: center; border-radius: var(--radius); margin-bottom: 32px; }
.na-date { font-family: var(--mono); font-size: 13px; color: var(--yellow-deep); letter-spacing: .04em; margin-bottom: 12px; }
.na-title { font-size: clamp(26px, 4vw, 40px); line-height: 1.25; margin-bottom: 14px; }
.na-author { font-size: 14px; color: var(--muted); margin-bottom: 28px; }
.na-content { font-size: 16.5px; color: #3A3A3A; line-height: 1.95; word-break: break-word; }
.news-back { margin-top: 48px; text-align: center; }

/* ---------- 资料下载页 ---------- */
.dl-jump {
  display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 56px;
  padding-bottom: 26px; border-bottom: 1px solid var(--line);
}
.dl-jump a {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 10px 16px; border: 1px solid var(--line); border-radius: 2px;
  font-size: 14px; font-weight: 600; color: var(--ink); background: var(--paper);
  transition: border-color .25s var(--ease), background .25s var(--ease), transform .25s var(--ease);
}
.dl-jump a span { font-family: var(--mono); font-size: 11px; color: var(--yellow-deep); font-weight: 700; }
.dl-jump a:hover { border-color: var(--yellow); background: rgba(255,198,31,.1); transform: translateY(-2px); }

.dl-sections { display: grid; gap: 64px; }
.dl-loading, .dl-empty-line { color: var(--muted); font-size: 15px; }

.dl-block { scroll-margin-top: calc(var(--header-h) + 20px); }
.dl-block-head {
  display: grid; grid-template-columns: 64px 1fr; gap: 18px; align-items: start;
  padding-bottom: 20px; border-bottom: 2px solid var(--ink);
}
.dl-no {
  font-family: var(--mono); font-size: 13px; font-weight: 700; color: var(--yellow-deep);
  padding-top: 4px; letter-spacing: .06em;
}
.dl-block-head h3 { font-size: 24px; margin-bottom: 8px; }
.dl-block-head p { font-size: 14px; color: var(--muted); line-height: 1.7; max-width: 720px; }

.dl-list { list-style: none; }
.dl-item {
  display: grid; grid-template-columns: 62px 1fr auto; gap: 20px; align-items: center;
  padding: 22px 4px; border-bottom: 1px solid var(--line);
  transition: background .25s var(--ease), padding-left .25s var(--ease);
}
.dl-item:hover { background: rgba(255,198,31,.07); padding-left: 14px; }
.dl-type {
  font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .05em;
  color: var(--ink); background: var(--stone-2); border-radius: 2px;
  padding: 8px 0; text-align: center;
}
.dl-item:hover .dl-type { background: var(--yellow); }
.dl-main h4 { font-size: 17px; font-weight: 700; color: var(--ink-2); margin-bottom: 6px; }
.dl-desc { font-size: 13.5px; color: var(--muted); line-height: 1.65; margin-bottom: 6px; }
.dl-meta { font-family: var(--mono); font-size: 11.5px; color: #9A958C; letter-spacing: .03em; }
.dl-btn {
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  padding: 10px 20px; border: 1px solid var(--ink); border-radius: var(--radius);
  font-size: 13.5px; font-weight: 700; color: var(--ink);
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.dl-btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.dl-btn span { font-family: var(--mono); }

.dl-empty {
  padding: 30px 4px; border-bottom: 1px solid var(--line);
  color: var(--muted); font-size: 14px; line-height: 1.9;
}
.dl-empty strong { color: var(--ink); }
.dl-empty a { color: var(--ink); border-bottom: 1px solid var(--yellow); }

.dl-help {
  margin-top: 72px; padding: 34px 32px; background: var(--stone);
  border-left: 4px solid var(--yellow);
  display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between;
}
.dl-help h3 { font-size: 19px; margin-bottom: 10px; }
.dl-help p { font-size: 14px; color: var(--muted); line-height: 1.8; }
.dl-help a { color: var(--ink); border-bottom: 1px solid var(--yellow); }

@media (max-width: 720px) {
  .dl-item { grid-template-columns: 52px 1fr; gap: 14px 12px; }
  .dl-btn { grid-column: 2; justify-self: start; }
  .dl-item:hover { padding-left: 4px; }
  .dl-block-head { grid-template-columns: 1fr; gap: 6px; }
  .dl-help { padding: 26px 20px; }
}
