/* ==========================================================================
   Astryx Design System · "Verdigris Patina"（铜绿工业主题）
   ASME SA-724/SA-724M 淬火回火碳锰硅压力容器钢板专题站点
   品牌固定色：主色 #FF6100 / 辅助 #007175 / 点缀 #f7d260
   组件：AppShell / Card / Table / List / Grid / Badge / Stat / 线性图标
   ========================================================================== */

:root {
  --brand: #FF6100;
  --brand-dark: #D94F00;
  --secondary: #007175;
  --secondary-dark: #005A5E;
  --accent: #f7d260;

  --bg: #F2F5F3;
  --surface: #FFFFFF;
  --surface-2: #E7EDE9;
  --border: #D3DED8;
  --text: #1B2521;
  --text-muted: #53615A;
  --head: #17241F;

  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 10px 30px rgba(23, 36, 31, 0.10);
  --shadow-sm: 0 4px 14px rgba(23, 36, 31, 0.08);
  --container: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Noto Sans SC", "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  font-size: 15.5px;
}

img { max-width: 100%; display: block; }
a { color: var(--secondary); text-decoration: none; }
a:hover { color: var(--brand); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }

/* ---------- 顶部联系条 ---------- */
.topbar {
  background: var(--head);
  color: #DCE5E0;
  font-size: 13px;
}
.topbar .container {
  display: flex; justify-content: space-between; align-items: center;
  min-height: 36px; flex-wrap: wrap; gap: 6px;
}
.topbar a { color: var(--accent); }
.topbar .tb-lang { opacity: .85; }

/* ---------- 头部导航 ---------- */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 100;
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 68px; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 10px;
  background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 15px; letter-spacing: .5px;
}
.brand-name { font-size: 17px; font-weight: 700; color: var(--head); line-height: 1.3; }
.brand-name small { display: block; font-size: 11.5px; color: var(--text-muted); font-weight: 400; }

.nav-list { display: flex; gap: 4px; list-style: none; flex-wrap: wrap; }
.nav-list a {
  display: block; padding: 9px 13px; border-radius: var(--radius-sm);
  color: var(--text); font-size: 14.5px; font-weight: 500;
}
.nav-list a:hover { background: var(--surface-2); color: var(--brand); }
.nav-list a.active { color: var(--brand); background: rgba(255, 97, 0, .08); }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--border);
  border-radius: 8px; padding: 8px 10px; cursor: pointer; color: var(--head);
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--head); margin: 4px 0; }

/* ---------- Banner（高度 360px，各栏目图片不重复） ---------- */
.banner {
  position: relative; height: 360px; overflow: hidden;
  display: flex; align-items: center;
}
.banner img.banner-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
.banner::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(100deg, rgba(23, 36, 31, .86) 0%, rgba(23, 36, 31, .55) 55%, rgba(23, 36, 31, .25) 100%);
}
.banner-content { position: relative; z-index: 2; color: #fff; max-width: 760px; }
.banner-content .crumb {
  font-size: 13px; letter-spacing: .06em; color: var(--accent); margin-bottom: 10px;
}
.banner-content h1 { font-size: 32px; font-weight: 800; line-height: 1.3; margin-bottom: 10px; }
.banner-content .subtitle { font-size: 16.5px; color: #E4ECE7; }
.banner-content .subtitle-en { font-size: 13.5px; color: #B9C8C0; margin-top: 4px; }

/* ---------- 面包屑 ---------- */
.crumbs { padding: 14px 0 0; font-size: 13px; color: var(--text-muted); }
.crumbs a { color: var(--text-muted); }
.crumbs a:hover { color: var(--brand); }

/* ---------- 页面主体 ---------- */
.page { padding: 34px 0 10px; }
.section { margin-bottom: 34px; }
.section-title {
  font-size: 22px; font-weight: 700; color: var(--head);
  padding-left: 14px; border-left: 4px solid var(--brand); margin-bottom: 16px;
}
.section-title .en { display: block; font-size: 13px; color: var(--text-muted); font-weight: 400; }
.lead { font-size: 16px; color: var(--text); margin-bottom: 14px; }
.text-muted { color: var(--text-muted); }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm);
}
.card h3 { font-size: 16.5px; color: var(--head); margin-bottom: 8px; }
.card h3 .en { color: var(--text-muted); font-size: 12.5px; font-weight: 400; }
.card p { color: var(--text-muted); font-size: 14.5px; }

.icon-badge {
  width: 44px; height: 44px; border-radius: 11px; margin-bottom: 12px;
  background: var(--surface-2); display: flex; align-items: center; justify-content: center;
}
.icon-badge svg { width: 24px; height: 24px; stroke: var(--secondary); fill: none; stroke-width: 1.8; }

/* 数据卡片 */
.stat-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; text-align: center; }
.stat-card .num { font-size: 26px; font-weight: 700; color: var(--secondary); }
.stat-card .label { font-size: 13px; color: var(--text-muted); margin-top: 4px; }

/* ---------- 表格 ---------- */
.table-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 560px; }
caption { text-align: left; font-size: 13px; color: var(--text-muted); padding: 10px 14px 0; }
th, td { padding: 11px 13px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: middle; }
thead th { background: var(--surface-2); color: var(--head); font-weight: 600; white-space: nowrap; }
tbody tr:hover { background: rgba(0, 113, 117, .05); }
td.num, th.num { text-align: center; }
.table-note { font-size: 12.5px; color: var(--text-muted); margin-top: 8px; }

/* ---------- 双语段落 ---------- */
.bilingual { display: grid; gap: 6px; }
.bilingual .zh { font-size: 15px; }
.bilingual .en { font-size: 13px; color: var(--text-muted); }

/* ---------- 提示条 ---------- */
.note-box {
  background: var(--surface-2); border-left: 4px solid var(--secondary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: 14px 18px; margin: 16px 0;
  font-size: 14px; color: var(--text);
}
.note-box.warn { border-left-color: var(--brand); background: rgba(255, 97, 0, .07); }

/* ---------- 图库 ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery figure {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
}
.gallery img { height: 210px; width: 100%; object-fit: cover; }
.gallery figcaption { padding: 10px 13px; font-size: 13px; color: var(--text-muted); }

/* ---------- 关键词 ---------- */
.keywords {
  margin: 30px 0 10px; padding: 18px 20px; background: var(--surface);
  border: 1px dashed var(--border); border-radius: var(--radius);
}
.keywords h3 { font-size: 14.5px; color: var(--head); margin-bottom: 10px; }
.keyword-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; }
.keyword-list a {
  display: inline-block; padding: 6px 13px; border-radius: 999px; font-size: 13px;
  background: var(--surface-2); color: var(--secondary); border: 1px solid var(--border);
}
.keyword-list a:hover { background: var(--brand); color: #fff; border-color: var(--brand); }

/* ---------- 企业列表 ---------- */
.company-item { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--border); }
.company-item:last-child { border-bottom: none; }
.company-item .rank {
  flex: 0 0 34px; height: 34px; border-radius: 50%; background: var(--secondary); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px;
}
.company-item h3 { font-size: 16px; }
.company-item .region { font-size: 13px; color: var(--secondary); margin-left: 8px; }
.company-item p { font-size: 14px; color: var(--text-muted); margin-top: 4px; }
.tag { display: inline-block; font-size: 12px; color: var(--secondary); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 1px 8px; margin-left: 6px; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--head); color: #C9D6CF; margin-top: 40px; padding: 34px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 26px; margin-bottom: 22px; }
.site-footer h4 { color: #fff; font-size: 15px; margin-bottom: 12px; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 8px; font-size: 13.5px; }
.site-footer a { color: #C9D6CF; }
.site-footer a:hover { color: var(--accent); }
.footer-contact { font-size: 14px; line-height: 2; }
.footer-contact strong { color: var(--accent); }
.footer-contact-line {
  background: rgba(255,97,0,.12); border: 1px solid rgba(255,97,0,.35);
  border-radius: var(--radius-sm); padding: 12px 16px; margin-top: 12px; color: #ffe9d9; font-size: 14.5px;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.14); padding-top: 16px;
  font-size: 12.5px; color: #8FA39A; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
}

/* ---------- CTA ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--secondary), var(--secondary-dark));
  border-radius: var(--radius); padding: 28px 30px; color: #fff;
  display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap;
}
.cta-band h2 { font-size: 20px; margin-bottom: 6px; }
.cta-band p { color: #DDE9E5; font-size: 14px; }
.btn {
  display: inline-block; padding: 11px 22px; border-radius: var(--radius-sm);
  background: var(--brand); color: #fff; font-weight: 600; font-size: 14.5px;
}
.btn:hover { background: var(--brand-dark); color: #fff; }

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  .grid-3, .grid-4, .gallery { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--surface);
    border-bottom: 1px solid var(--border); display: none; }
  .nav.open { display: block; }
  .nav-list { flex-direction: column; padding: 10px 16px; }
  .banner { height: 300px; }
  .banner-content h1 { font-size: 25px; }
  .grid-3, .grid-2, .grid-4, .gallery, .footer-grid { grid-template-columns: 1fr; }
  .topbar .container { justify-content: center; }
}
