/* ==========================================================================
   SA-20/SA-20M 压力容器钢板通用要求技术档案
   设计基调：Astryx · Iron Graphite（石墨冷灰 / 细线框 / 衬线标题）
   品牌色：主 #FF6100  辅助 #007175  点缀 #F7D260
   ========================================================================== */

:root {
  --ink: #191c20;
  --ink-2: #3a3f45;
  --muted: #6b7178;
  --paper: #f2f3f2;
  --paper-2: #e7eae8;
  --line: #d9dee0;
  --line-2: #bfc8cb;
  --primary: #ff6100;
  --primary-2: #e65500;
  --teal: #007175;
  --gold: #f7d260;
  --white: #fff;
  --radius: 3px;
  --shadow: 0 10px 30px rgba(25, 28, 32, .12);
  --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-head: "Noto Serif SC", "Songti SC", "SimSun", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.75;
  font-size: 15.5px;
  -webkit-text-size-adjust: 100%;
}
img { max-width: 100%; display: block; }
a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--primary-2); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.3; margin: 0 0 .6em; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ---------- 顶部工具条 ---------- */
.util { border-bottom: 1px solid var(--line); background: var(--paper-2); font-size: 12.5px; color: var(--muted); }
.util-in { display: flex; justify-content: space-between; align-items: center; min-height: 34px; gap: 16px; }
.u-left, .u-right { display: flex; align-items: center; gap: 12px; }
.u-left i { width: 3px; height: 3px; border-radius: 50%; background: var(--line-2); display: inline-block; }
.util a { color: var(--ink-2); font-weight: 600; }
.util a:hover { color: var(--primary-2); }
@media (max-width: 760px) { .u-hide { display: none; } }

/* ---------- 导航 ---------- */
.nav { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 60; }
.nav-in { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand-mark { width: 44px; height: 44px; border: 1px solid var(--ink); display: grid; grid-template-rows: 1fr 1fr; text-align: center; font-family: var(--font-head); }
.bm-top { border-bottom: 1px solid var(--ink); font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.bm-bot { font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; background: var(--primary); color: #fff; border-color: var(--primary); }
.brand-txt strong { display: block; font-family: var(--font-head); font-size: 16.5px; }
.brand-txt em { display: block; font-style: normal; font-size: 11.5px; color: var(--muted); letter-spacing: .04em; }
.menu { display: flex; gap: 4px; margin-left: auto; }
.mi { position: relative; }
.mi > a, .mi > button {
  display: inline-flex; flex-direction: column; align-items: flex-start; gap: 1px;
  background: none; border: 0; cursor: pointer; font-family: var(--font-body);
  padding: 10px 13px; color: var(--ink); font-size: 14px; line-height: 1.25;
}
.mi > a small, .mi > button small { font-size: 10px; letter-spacing: .08em; color: var(--muted); text-transform: uppercase; }
.mi > a:hover, .mi > button:hover, .mi.on > a { color: var(--primary-2); }
.mi.on > a::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 2px; height: 2px; background: var(--primary); }
.dropdown {
  position: absolute; top: 100%; left: 0; min-width: 220px; background: var(--white);
  border: 1px solid var(--line); box-shadow: var(--shadow); padding: 8px 0; display: none; z-index: 70;
}
.mi:hover .dropdown, .mi:focus-within .dropdown, .dropdown.open { display: block; }
.dropdown a { display: flex; justify-content: space-between; gap: 16px; padding: 10px 18px; color: var(--ink-2); font-size: 13.5px; }
.dropdown a span { font-size: 10px; color: var(--muted); letter-spacing: .06em; }
.dropdown a:hover { background: var(--paper); color: var(--primary-2); }
.nav-act { display: flex; align-items: center; gap: 10px; }
.burger { display: none; background: none; border: 1px solid var(--line); width: 40px; height: 40px; border-radius: var(--radius); cursor: pointer; flex-direction: column; gap: 5px; align-items: center; justify-content: center; }
.burger span { width: 18px; height: 2px; background: var(--ink); }

.btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: var(--radius); font-size: 14px; font-weight: 600; border: 1px solid transparent; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-2); color: #fff; }
.btn-secondary { background: transparent; border-color: var(--line-2); color: var(--ink); }
.btn-secondary:hover { border-color: var(--teal); color: var(--teal); }

@media (max-width: 1020px) {
  .menu { position: fixed; inset: 72px 0 auto 0; background: var(--white); border-bottom: 1px solid var(--line); flex-direction: column; padding: 12px 24px 20px; display: none; gap: 0; }
  .menu.open { display: flex; }
  .mi > a, .mi > button { width: 100%; align-items: flex-start; }
  .dropdown { position: static; box-shadow: none; border: 0; border-left: 2px solid var(--line-2); margin: 0 0 6px 12px; display: none; }
  .burger { display: inline-flex; }
}

/* ---------- 页头 Banner（360px） ---------- */
.page-banner { position: relative; height: 360px; overflow: hidden; background: var(--ink); }
.page-banner img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.pb-shade { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(18,21,25,.86) 0%, rgba(18,21,25,.58) 48%, rgba(18,21,25,.28) 100%); }
.banner-in { position: relative; height: 100%; display: flex; align-items: center; }
.banner-txt { max-width: 700px; color: #fff; }
.banner-txt .kicker, .sec-en, .kw-k, .cb-k, .cl-k, .m-k, .s-k {
  font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin: 0 0 10px; font-weight: 600;
}
.banner-txt .kicker { display: inline-flex; align-items: center; gap: 8px; }
.banner-txt .kicker i { width: 18px; height: 2px; background: var(--gold); display: inline-block; }
.banner-txt h1 { font-size: clamp(28px, 4.2vw, 44px); color: #fff; margin: 0 0 10px; }
.ben { font-family: var(--font-head); font-style: italic; color: var(--gold); margin: 0 0 10px; font-size: 15px; }
.blead { color: rgba(255,255,255,.85); margin: 0; max-width: 560px; }
.banner-no { position: absolute; right: 24px; bottom: 18px; color: rgba(255,255,255,.55); font-size: 12px; letter-spacing: .1em; }
@media (max-width: 760px) { .page-banner { height: 300px; } .banner-no { display: none; } }

/* ---------- 面包屑 ---------- */
.crumbwrap { border-bottom: 1px solid var(--line); background: var(--white); }
.crumb-in { display: flex; justify-content: space-between; align-items: center; min-height: 46px; gap: 16px; }
.crumb-in ol { list-style: none; display: flex; gap: 8px; margin: 0; padding: 0; font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.crumb-in li + li::before { content: "/"; margin-right: 8px; color: var(--line-2); }
.crumb-in a { color: var(--ink-2); }
.crumb-tag { font-size: 11.5px; color: var(--muted); letter-spacing: .06em; white-space: nowrap; }
@media (max-width: 760px) { .crumb-tag { display: none; } }

/* ---------- 通用区块 ---------- */
.section { padding: 64px 0; }
.section--paper { background: var(--paper); }
.section--ink { background: #20242a; color: #eef0f1; }
.section--ink .table-note, .section--ink .muted { color: rgba(238,240,241,.7); }
.section-head { display: flex; gap: 22px; margin-bottom: 34px; }
.sec-num { font-family: var(--font-head); font-size: 15px; color: var(--primary); border: 1px solid var(--line-2); border-radius: var(--radius); width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; flex: none; }
.section--ink .sec-num { border-color: rgba(255,255,255,.25); }
.sec-main h2 { font-size: clamp(22px, 2.6vw, 29px); }
.sec-lead { color: var(--muted); margin: 0; max-width: 640px; }
.section--ink .sec-lead { color: rgba(238,240,241,.75); }

.lead-p { font-size: 16.5px; color: var(--ink-2); max-width: 760px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
@media (max-width: 820px) { .two-col { grid-template-columns: 1fr; } }

/* ---------- 卡片 ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.card h3 { font-size: 18px; }
.card .c-en { font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.card p { margin: 0; color: var(--ink-2); font-size: 14px; }
.card .card-cta { margin-top: auto; padding-top: 12px; font-weight: 600; font-size: 13.5px; }
@media (max-width: 900px) { .card-grid { grid-template-columns: 1fr; } }

.grade-card { border-top: 3px solid var(--primary); }
.grade-card .g-tag { font-family: var(--font-head); font-size: 26px; color: var(--ink); }
.grade-card dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: 13.5px; }
.grade-card dt { color: var(--muted); }
.grade-card dd { margin: 0; }

/* ---------- 表格 ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.data-table { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 640px; }
.data-table caption { text-align: left; padding: 14px 18px; font-weight: 600; font-family: var(--font-head); border-bottom: 1px solid var(--line); background: var(--paper); }
.data-table th, .data-table td { padding: 11px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; color: var(--ink); }
.data-table th { background: var(--paper-2); font-weight: 600; white-space: nowrap; }
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table td b { color: var(--ink); }
.data-table--dark { background: #262b31; color: #eee; border-color: rgba(255,255,255,.12); }
.data-table--dark caption { background: #2f353c; color: #fff; border-color: rgba(255,255,255,.12); }
.data-table--dark th { background: #2f353c; color: var(--gold); }
.data-table--dark td, .data-table--dark th { border-color: rgba(255,255,255,.12); }
.data-table--dark td b { color: #fff; }
.table-note { font-size: 12.5px; color: var(--muted); margin: 14px 0 0; }
.section--ink .table-note { color: rgba(238,240,241,.65); }

/* ---------- 图片与图文 ---------- */
.figure { margin: 30px 0; }
.figure img { border-radius: var(--radius); border: 1px solid var(--line); width: 100%; }
.figure figcaption { font-size: 13px; color: var(--muted); margin-top: 10px; }
.figure figcaption span { display: block; font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; }
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 36px; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.callout { border-left: 3px solid var(--primary); background: var(--paper-2); padding: 18px 22px; margin: 26px 0; border-radius: 0 var(--radius) var(--radius) 0; }
.callout b { font-family: var(--font-head); }
.callout p { margin: 6px 0 0; color: var(--ink-2); }

.check-list ul, .bullet-list { margin: 0; padding-left: 20px; }
.check-list li, .bullet-list li { margin: 8px 0; }

/* ---------- 集群 / 误区 / 方法 ---------- */
.cluster-grid, .myth-grid, .method-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cluster, .myth, .method { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: var(--white); }
.cluster span, .method p { font-size: 12.5px; color: var(--muted); }
@media (max-width: 860px) { .cluster-grid, .myth-grid, .method-grid { grid-template-columns: 1fr; } }

/* 深色区块内白色卡片/面板文字复位为深色，避免继承浅色正文 */
.section--ink .cluster, .section--ink .myth, .section--ink .method,
.section--ink .card, .section--ink .faq, .section--ink .callout { color: var(--ink); }
.section--ink .cluster h3, .section--ink .myth h3, .section--ink .method h3,
.section--ink .card h3, .section--ink .faq summary { color: var(--ink); }
.section--ink .cluster p, .section--ink .myth p, .section--ink .method p,
.section--ink .card p, .section--ink .faq details > div { color: var(--ink-2); }
.section--ink .cluster span, .section--ink .card .c-en, .section--ink .method .m-k { color: var(--muted); }
.section--ink .callout b { color: var(--ink); }

/* ---------- FAQ ---------- */
.faq details { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); margin-bottom: 12px; }
.faq summary { cursor: pointer; padding: 16px 20px; font-weight: 600; display: flex; gap: 14px; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary span { color: var(--primary); font-family: var(--font-head); }
.faq details > div { padding: 0 20px 18px 50px; color: var(--ink-2); }

/* ---------- 关键词链接区 ---------- */
.kw-band { background: var(--ink); color: #eef0f1; padding: 54px 0; }
.kw-in { display: grid; grid-template-columns: 260px 1fr; gap: 30px; align-items: start; }
.kw-head h2 { color: #fff; font-size: 22px; }
.kw-list { display: flex; flex-wrap: wrap; gap: 12px; }
.kw-link { display: inline-flex; align-items: center; gap: 10px; border: 1px solid rgba(255,255,255,.22); border-radius: var(--radius); padding: 10px 16px; color: #eef0f1; font-size: 13.5px; }
.kw-link span { font-size: 11px; color: var(--gold); }
.kw-link em { font-style: normal; color: var(--gold); }
.kw-link:hover { border-color: var(--primary); color: #fff; background: rgba(255,97,0,.12); }
@media (max-width: 820px) { .kw-in { grid-template-columns: 1fr; } }

/* ---------- 询价条 ---------- */
.contact-band { background: var(--primary); color: #fff; padding: 48px 0; }
.contact-in { display: flex; justify-content: space-between; align-items: center; gap: 26px; flex-wrap: wrap; }
.contact-in h2 { font-size: 22px; color: #fff; margin: 6px 0; }
.contact-in p { margin: 0; color: rgba(255,255,255,.9); max-width: 560px; }
.contact-act { display: flex; gap: 12px; flex-wrap: wrap; }
.contact-act .btn { background: #fff; color: var(--ink); }
.contact-act .btn.ghost { background: transparent; border-color: rgba(255,255,255,.6); color: #fff; }

/* ---------- 页脚 ---------- */
.foot { background: #14171b; color: #c7cdd1; padding: 54px 0 0; font-size: 13px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 30px; padding-bottom: 36px; }
.foot h4 { color: #fff; font-size: 14px; margin-bottom: 14px; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin: 8px 0; }
.foot a { color: #c7cdd1; }
.foot a:hover { color: var(--gold); }
.f-brand { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
.f-brand strong { color: #fff; display: block; font-family: var(--font-head); }
.f-brand em { font-style: normal; font-size: 11.5px; color: var(--muted); }
.f-main p { color: #99a1a7; }
.foot-contact { border-top: 1px solid rgba(255,255,255,.12); padding: 20px 0; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.foot-contact a { color: var(--gold); font-weight: 600; }
.foot-contact i { color: rgba(255,255,255,.3); }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 16px 0 26px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 12px; color: #7d858b; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }

/* ---------- 首页要素 ---------- */
.fact-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.fact { background: var(--white); padding: 22px; }
.fact b { display: block; font-family: var(--font-head); font-size: 22px; color: var(--teal); }
.fact span { font-size: 12.5px; color: var(--muted); }
@media (max-width: 820px) { .fact-strip { grid-template-columns: 1fr 1fr; } }

.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.mosaic img { border-radius: var(--radius); height: 170px; object-fit: cover; width: 100%; }
@media (max-width: 820px) { .mosaic { grid-template-columns: 1fr 1fr; } }

.link-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.link-row a { border: 1px solid var(--line-2); padding: 8px 14px; border-radius: var(--radius); font-size: 13px; }
.inline-cta { margin-top: 22px; font-weight: 600; }

.source-list { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 820px) { .source-list { grid-template-columns: 1fr; } }
.source { border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: 20px; }
.source h3 { color: #fff; font-size: 16px; }
.source p { margin: 6px 0 0; color: rgba(238,240,241,.75); font-size: 13.5px; }

/* 线性图标 */
.ico { width: 22px; height: 22px; stroke: var(--primary); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.icon-row { display: flex; gap: 18px; flex-wrap: wrap; margin: 18px 0; }
.icon-item { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ink-2); }
