/* 湖北中金氟化工有限公司 官网样式 */
:root {
  --brand: #0d5ba9;
  --brand-dark: #093f78;
  --brand-soft: #eaf2fb;
  --accent: #12b3a0;
  --accent-soft: #e6f7f5;
  --ink: #14202e;
  --ink-2: #33465c;
  --muted: #6b7c8f;
  --line: #e5eaf0;
  --line-2: #f0f3f7;
  --bg: #ffffff;
  --soft: #f6f9fc;
  --danger: #d64545;
  --ok: #1f9d63;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(20, 32, 46, .04), 0 8px 24px rgba(20, 32, 46, .06);
  --shadow-lg: 0 12px 40px rgba(13, 91, 169, .12);
  --maxw: 1200px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-size: 15px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -.01em; line-height: 1.35; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 860px; }

/* ============ Header ============ */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; gap: 32px;
  height: 72px;
}
.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo-mark {
  width: 38px; height: 38px; border-radius: 10px;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: 15px; letter-spacing: -1px;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-text b { font-size: 16px; letter-spacing: .02em; }
.logo-text span { font-size: 11px; color: var(--muted); letter-spacing: .12em; }

.nav { display: flex; gap: 4px; flex: 1; }
.nav a {
  padding: 8px 14px; border-radius: var(--radius-sm);
  font-size: 15px; color: var(--ink-2); font-weight: 500;
  transition: background .18s, color .18s;
}
.nav a:hover { background: var(--soft); color: var(--brand); }
.nav a.active { color: var(--brand); background: var(--brand-soft); font-weight: 600; }

/* ---------- 导航：技术专题下拉菜单 ---------- */
.nav-drop { position: relative; }
.nav-drop-toggle {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border: none; border-radius: var(--radius-sm);
  background: none; cursor: pointer;
  font-family: inherit; font-size: 15px; color: var(--ink-2); font-weight: 500;
  transition: background .18s, color .18s;
}
.nav-drop-toggle:hover { background: var(--soft); color: var(--brand); }
.nav-drop-toggle.active { color: var(--brand); background: var(--brand-soft); font-weight: 600; }
.nav-drop-toggle .caret {
  width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent;
  border-top: 5px solid currentColor; transition: transform .18s;
}
.nav-drop:hover .nav-drop-toggle .caret,
.nav-drop:focus-within .nav-drop-toggle .caret { transform: rotate(180deg); }
.nav-drop-menu {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 216px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow); padding: 8px;
  display: none; flex-direction: column; gap: 2px; z-index: 80;
}
.nav-drop:hover .nav-drop-menu,
.nav-drop:focus-within .nav-drop-menu { display: flex; }
.nav-drop-menu a {
  padding: 9px 12px; border-radius: 8px; font-size: 14px; color: var(--ink-2);
  white-space: nowrap; transition: background .18s, color .18s;
}
.nav-drop-menu a:hover { background: var(--soft); color: var(--brand); }
.nav-drop-menu a.active { color: var(--brand); background: var(--brand-soft); font-weight: 600; }
@media (max-width: 760px) {
  .nav-drop { width: 100%; }
  .nav-drop-toggle { width: 100%; justify-content: space-between; padding: 12px 10px; }
  .nav-drop-menu {
    position: static; min-width: 0; display: flex; box-shadow: none;
    border: none; border-left: 2px solid var(--line); border-radius: 0;
    padding: 2px 0 6px 10px; margin: 2px 0 4px;
  }
  .nav-drop-menu a { padding: 10px 10px; }
}

.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.user-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 999px; background: var(--soft);
  font-size: 13px; color: var(--ink-2); max-width: 210px;
}
.user-chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.user-chip .mail { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: var(--radius-sm); width: 40px; height: 36px; cursor: pointer; }
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--ink-2); margin: 3px auto; }

/* ============ Buttons ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; padding: 0 20px; border-radius: var(--radius-sm);
  border: 1px solid transparent; font-size: 15px; font-weight: 600;
  cursor: pointer; transition: all .18s; white-space: nowrap;
  font-family: inherit;
}
.btn-sm { height: 34px; padding: 0 14px; font-size: 13.5px; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { filter: brightness(.94); }
.btn-outline { border-color: var(--line); color: var(--ink-2); background: #fff; }
.btn-outline:hover { border-color: var(--brand); color: var(--brand); }
.btn-ghost { color: var(--brand); background: var(--brand-soft); }
.btn-ghost:hover { background: #dceaf9; }
.btn-white { background: #fff; color: var(--brand); }
.btn-white:hover { background: #f2f7fd; }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn-block { width: 100%; }

/* ============ Skip link ============ */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--brand); color: #fff; padding: 10px 18px; border-radius: 0 0 8px 0; font-size: 14px;
}
.skip-link:focus { left: 0; }

.post-image {
  width: 100%; height: auto; border-radius: var(--radius);
  border: 1px solid var(--line); margin-bottom: 22px; background: var(--soft);
}

/* ============ FAQ（GEO 友好：答案可直接被引用） ============ */
.faq-list { display: grid; gap: 12px; }
.faq-item {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; overflow: hidden;
}
.faq-item summary {
  cursor: pointer; padding: 18px 22px; font-size: 16px; font-weight: 600;
  list-style: none; display: flex; align-items: flex-start; gap: 12px; line-height: 1.6;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before {
  content: "+"; flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%;
  background: var(--brand-soft); color: var(--brand); font-weight: 700;
  display: flex; align-items: center; justify-content: center; font-size: 16px; margin-top: 2px;
}
.faq-item[open] summary::before { content: "\2212"; }
.faq-item[open] summary { color: var(--brand); }
.faq-answer { padding: 0 22px 20px 56px; }
.faq-answer p { color: var(--ink-2); font-size: 14.5px; }

/* 列表类小块 */
.doc-sum { font-size: 13.5px; color: var(--muted); margin-top: 6px; }
.news-date { color: var(--muted); font-size: 12.5px; margin-top: 14px; }
#home-news .card .sum { color: var(--muted); font-size: 14px; }
#home-news .card h3 { font-size: 16.5px; margin: 12px 0 8px; }

/* ============ Hero ============ */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #0a4a8c 0%, #0d5ba9 45%, #0f7f88 100%);
  color: #fff;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 12% 18%, rgba(255,255,255,.14) 0, transparent 42%),
    radial-gradient(circle at 88% 78%, rgba(18,179,160,.35) 0, transparent 46%);
  pointer-events: none;
}
.hero-grid-svg { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .16; pointer-events: none; }
.hero-inner { position: relative; z-index: 2; padding: 96px 24px 88px; }
.hero h1 { font-size: 44px; line-height: 1.28; margin-bottom: 20px; letter-spacing: -.02em; }
.hero .lead { font-size: 17px; color: rgba(255,255,255,.86); max-width: 640px; }
.hero-actions { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.hero-tags { display: flex; gap: 10px; margin-top: 26px; flex-wrap: wrap; }
.hero-tags span {
  font-size: 13px; padding: 5px 12px; border-radius: 999px;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22);
}

.hero-stats {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255,255,255,.18);
}
.hero-stats div { padding: 26px 24px; border-left: 1px solid rgba(255,255,255,.14); }
.hero-stats div:first-child { border-left: none; }
.hero-stats b { display: block; font-size: 30px; font-weight: 700; letter-spacing: -.02em; }
.hero-stats small { font-size: 13px; color: rgba(255,255,255,.75); }

/* ============ Sections ============ */
.section { padding: 84px 0; }
.section-soft { background: var(--soft); }
.section-head { margin-bottom: 44px; }
.section-head.center { text-align: center; }
.section-head .eyebrow {
  display: inline-block; font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent); font-weight: 700; margin-bottom: 12px;
}
.section-head h2 { font-size: 32px; margin-bottom: 12px; }
.section-head p { color: var(--muted); font-size: 15.5px; max-width: 680px; }
.section-head.center p { margin: 0 auto; }

/* ============ Cards ============ */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card-hover:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #d7e3f0; }

.feature-card .ico {
  width: 46px; height: 46px; border-radius: 12px; display: flex;
  align-items: center; justify-content: center; margin-bottom: 16px;
  background: var(--brand-soft); color: var(--brand);
}
.feature-card h3 { font-size: 17px; margin-bottom: 8px; }
.feature-card p { color: var(--muted); font-size: 14.5px; }

/* product card */
.product-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; cursor: pointer; }
.product-visual {
  height: 168px; background: linear-gradient(160deg, var(--brand-soft), #fff 70%);
  display: flex; align-items: center; justify-content: center;
  border-bottom: 1px solid var(--line-2);
}
.product-visual svg { height: 130px; }
.product-body { padding: 20px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.product-body .cat { font-size: 12px; color: var(--accent); font-weight: 700; letter-spacing: .06em; }
.product-body h3 { font-size: 17px; margin: 6px 0 8px; }
.product-body .sum { color: var(--muted); font-size: 14px; flex: 1; }
.product-body .more { margin-top: 14px; font-size: 13.5px; color: var(--brand); font-weight: 600; }

/* doc row */
.doc-item {
  display: flex; align-items: center; gap: 18px; padding: 18px 22px;
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
  transition: border-color .18s, box-shadow .18s;
}
.doc-item:hover { border-color: #d7e3f0; box-shadow: var(--shadow); }
.doc-ico {
  width: 44px; height: 44px; border-radius: 10px; flex-shrink: 0;
  background: var(--accent-soft); color: var(--accent);
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 12px;
}
.doc-main { flex: 1; min-width: 0; }
.doc-main h4 { font-size: 15.5px; margin-bottom: 3px; }
.doc-main .meta { font-size: 13px; color: var(--muted); display: flex; gap: 14px; flex-wrap: wrap; }
.doc-actions { display: flex; gap: 8px; flex-shrink: 0; }

/* ============ Filters ============ */
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 26px; }
.filter-btn {
  padding: 7px 16px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; font-size: 14px; color: var(--ink-2); cursor: pointer;
  font-family: inherit; transition: all .16s;
}
.filter-btn:hover { border-color: var(--brand); color: var(--brand); }
.filter-btn.active { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 600; }

/* ============ Timeline ============ */
.timeline { position: relative; padding-left: 28px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.timeline li { position: relative; padding-bottom: 26px; }
.timeline li::before {
  content: ""; position: absolute; left: -28px; top: 7px;
  width: 16px; height: 16px; border-radius: 50%; background: #fff;
  border: 3px solid var(--brand);
}
.timeline .year { font-size: 13px; color: var(--accent); font-weight: 700; letter-spacing: .06em; }
.timeline h4 { font-size: 16px; margin: 2px 0 4px; }
.timeline p { color: var(--muted); font-size: 14.5px; }

/* ============ Info list ============ */
.info-list li {
  display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px dashed var(--line);
}
.info-list li:last-child { border-bottom: none; }
.info-list .k { width: 92px; flex-shrink: 0; color: var(--muted); font-size: 14px; }
.info-list .v { flex: 1; font-size: 15px; }

.contact-card {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 30px;
  background: #fff; box-shadow: var(--shadow);
}
.contact-card h3 { font-size: 20px; margin-bottom: 6px; }
.contact-card .sub { color: var(--muted); font-size: 14px; margin-bottom: 20px; }
.contact-big { font-size: 26px; font-weight: 700; color: var(--brand); letter-spacing: -.01em; }

/* ============ Forms ============ */
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13.5px; color: var(--ink-2); font-weight: 600; margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; height: 44px; padding: 0 14px; border: 1px solid var(--line);
  border-radius: var(--radius-sm); font-size: 15px; font-family: inherit;
  color: var(--ink); background: #fff; transition: border-color .16s, box-shadow .16s;
}
.field textarea { height: auto; min-height: 108px; padding: 12px 14px; resize: vertical; line-height: 1.7; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(13,91,169,.1);
}
.field .hint { font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.inline-field { display: flex; gap: 10px; }
.inline-field input { flex: 1; }
/* 行内下拉按内容撑宽（如 P-T 查询的「温度（℃）→ 压力」），避免文字被截断 */
.inline-field select { flex: 0 0 auto; width: auto; min-width: 150px; }

/* ============ Auth ============ */
.auth-wrap { min-height: calc(100vh - 72px - 260px); display: flex; align-items: center; padding: 60px 0 90px; }
.auth-box { max-width: 440px; margin: 0 auto; width: 100%; }
.auth-card {
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: 34px; box-shadow: var(--shadow);
}
.auth-card h2 { font-size: 24px; margin-bottom: 6px; }
.auth-card .sub { color: var(--muted); font-size: 14px; margin-bottom: 24px; }
.tabs { display: flex; gap: 4px; background: var(--soft); padding: 4px; border-radius: 10px; margin-bottom: 24px; }
.tabs button {
  flex: 1; height: 36px; border: none; background: transparent; border-radius: 8px;
  font-size: 14px; font-weight: 600; color: var(--muted); cursor: pointer; font-family: inherit;
  transition: all .16s;
}
.tabs button.active { background: #fff; color: var(--brand); box-shadow: 0 1px 3px rgba(20,32,46,.08); }
.auth-foot { text-align: center; margin-top: 20px; font-size: 13.5px; color: var(--muted); }
.auth-foot a { color: var(--brand); font-weight: 600; }

/* 微信扫码登录 */
.wx-login { margin-bottom: 4px; }
.wx-login h2 { margin-bottom: 6px; }
.wx-login .sub { margin-bottom: 18px; }
.btn-wechat {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  background: #07c160; border: 1px solid #07c160; color: #fff;
  height: 46px; font-size: 15.5px; font-weight: 600; border-radius: 10px;
  cursor: pointer; font-family: inherit; transition: background .16s, border-color .16s, opacity .16s;
}
.btn-wechat:hover { background: #06ad56; border-color: #06ad56; }
.btn-wechat:disabled { opacity: .68; cursor: default; }
.wx-tip { font-size: 12.5px; color: var(--muted); margin-top: 10px; text-align: center; line-height: 1.6; }
.auth-divider {
  display: flex; align-items: center; gap: 12px;
  margin: 22px 0 18px; color: var(--muted); font-size: 12.5px;
}
.auth-divider::before, .auth-divider::after {
  content: ''; flex: 1; height: 1px; background: var(--line);
}
.auth-divider span { flex: 0 0 auto; }

/* ============ Member ============ */
.member-head {
  background: linear-gradient(135deg, #0d5ba9, #0f7f88); color: #fff;
  border-radius: var(--radius); padding: 32px; display: flex;
  align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.member-head h2 { font-size: 24px; margin-bottom: 4px; }
.member-head p { color: rgba(255,255,255,.82); font-size: 14px; }
.avatar {
  width: 56px; height: 56px; border-radius: 50%; background: rgba(255,255,255,.18);
  display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 700;
}

.file-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.file-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.file-thumb {
  height: 132px; background: var(--soft); display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: 13px; border-bottom: 1px solid var(--line-2); overflow: hidden;
}
.file-thumb img { width: 100%; height: 100%; object-fit: cover; }
.file-body { padding: 14px 16px 16px; }
.file-body .nm { font-size: 14px; font-weight: 600; word-break: break-all; line-height: 1.5; }
.file-body .mt { font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.file-body .ops { display: flex; gap: 8px; margin-top: 12px; }

/* ============ Table ============ */
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th {
  text-align: left; font-size: 12.5px; color: var(--muted); font-weight: 600;
  padding: 12px 14px; border-bottom: 1px solid var(--line); white-space: nowrap;
}
.table td { padding: 14px; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.table tr:last-child td { border-bottom: none; }

.badge {
  display: inline-block; padding: 3px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 600; background: var(--brand-soft); color: var(--brand);
}
.badge-ok { background: #e6f6ee; color: var(--ok); }
.badge-warn { background: #fdf3e3; color: #b7791f; }

/* ============ States ============ */
.empty {
  text-align: center; padding: 56px 20px; color: var(--muted);
  border: 1px dashed var(--line); border-radius: var(--radius); background: #fff;
}
.empty .big { font-size: 15px; color: var(--ink-2); margin-bottom: 6px; font-weight: 600; }
.skeleton {
  background: linear-gradient(90deg, #f2f5f8 25%, #e9eef4 37%, #f2f5f8 63%);
  background-size: 400% 100%; animation: shimmer 1.3s ease-in-out infinite;
  border-radius: var(--radius-sm);
}
@keyframes shimmer { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }

.alert { padding: 12px 16px; border-radius: var(--radius-sm); font-size: 14px; margin-bottom: 18px; }
.alert-err { background: #fdeded; color: var(--danger); border: 1px solid #f8dada; }
.alert-ok { background: #eaf7f0; color: #17784c; border: 1px solid #cdebdd; }
.alert-info { background: var(--brand-soft); color: var(--brand-dark); border: 1px solid #d5e5f7; }

/* ============ Modal ============ */
.modal-mask {
  position: fixed; inset: 0; background: rgba(14, 26, 40, .5); z-index: 100;
  display: flex; align-items: center; justify-content: center; padding: 24px;
  backdrop-filter: blur(2px);
}
.modal {
  background: #fff; border-radius: 18px; max-width: 660px; width: 100%;
  max-height: 86vh; overflow: auto; box-shadow: var(--shadow-lg);
}
.modal-head {
  padding: 24px 28px; border-bottom: 1px solid var(--line);
  display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
  position: sticky; top: 0; background: #fff; z-index: 2;
}
.modal-head h3 { font-size: 20px; }
.modal-head .cat { font-size: 12.5px; color: var(--accent); font-weight: 700; }
.modal-close {
  border: none; background: var(--soft); width: 32px; height: 32px; border-radius: 50%;
  cursor: pointer; color: var(--muted); font-size: 18px; line-height: 1; flex-shrink: 0;
}
.modal-close:hover { background: var(--line); }
.modal-body { padding: 24px 28px 28px; }
.modal-body h4 { font-size: 14px; color: var(--muted); margin: 22px 0 8px; letter-spacing: .04em; }
.modal-body p { color: var(--ink-2); font-size: 14.5px; }
.spec-list li { padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 14.5px; color: var(--ink-2); }
.spec-list li:last-child { border-bottom: none; }

/* ============ Toast ============ */
.toast-wrap { position: fixed; top: 88px; right: 24px; z-index: 200; display: flex; flex-direction: column; gap: 10px; }
.toast {
  background: #14202e; color: #fff; padding: 12px 18px; border-radius: 10px;
  font-size: 14px; box-shadow: var(--shadow-lg); animation: slidein .22s ease;
  max-width: 340px;
}
.toast.ok { background: #17784c; }
.toast.err { background: #c0392b; }
@keyframes slidein { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: none; } }

/* ============ CTA band ============ */
.cta-band {
  background: linear-gradient(120deg, #0d5ba9, #0f7f88); color: #fff;
  border-radius: 20px; padding: 56px 48px; display: flex;
  align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.cta-band h2 { font-size: 28px; margin-bottom: 8px; }
.cta-band p { color: rgba(255,255,255,.85); font-size: 15px; }

/* ============ 技术规格书（TDS） ============ */
.doc-meta {
  display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 22px;
  font-size: 13px; color: rgba(255,255,255,.75);
}
.doc-meta b { color: #fff; font-weight: 600; }
.spec-doc { max-width: 920px; }
.spec-doc h2 {
  font-size: 22px; margin: 48px 0 16px; padding-bottom: 10px;
  border-bottom: 2px solid var(--brand); scroll-margin-top: 90px;
}
.spec-doc h2:first-child { margin-top: 0; }
.spec-doc h3 { font-size: 16.5px; margin: 28px 0 10px; color: var(--brand); }
.spec-doc p { color: var(--ink-2); font-size: 15px; margin-bottom: 14px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.table-wrap .table th { background: var(--soft); color: var(--ink-2); white-space: nowrap; }
.table-wrap .table td:first-child { color: var(--ink-2); font-weight: 600; white-space: nowrap; }
.doc-note { font-size: 13.5px !important; color: var(--muted) !important; margin-top: 12px !important; }
.doc-sign { font-size: 13px !important; color: var(--muted) !important; margin-top: 28px !important; padding-top: 16px; border-top: 1px dashed var(--line); }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

@media print {
  .site-header, .site-footer, .cta-band, .nav-toggle, .crumb { display: none !important; }
  body { background: #fff; }
  .page-hero { background: #fff !important; color: #000 !important; padding: 0 0 16px; }
  .page-hero h1, .page-hero p, .doc-meta, .doc-meta b { color: #000 !important; }
  .spec-doc h2 { border-bottom: 1px solid #999; page-break-after: avoid; }
  .table-wrap { border: none; page-break-inside: auto; }
  .table tr { page-break-inside: avoid; }
  .faq-item { page-break-inside: avoid; }
  .faq-item[open] .faq-answer, .faq-answer { display: block !important; }
}

/* ============ Footer ============ */
.site-footer { background: #0e1a28; color: #9fb0c2; padding: 64px 0 28px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1.2fr; gap: 36px; }
.footer-grid h4 { color: #fff; font-size: 14.5px; margin-bottom: 16px; font-weight: 600; }
.footer-grid li { font-size: 13.5px; padding: 5px 0; }
.footer-grid a:hover { color: #fff; }
.footer-brand p { font-size: 13.5px; line-height: 1.9; margin-top: 14px; max-width: 300px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); margin-top: 44px; padding-top: 22px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px;
}

/* ============ Page hero (inner) ============ */
.page-hero {
  background: linear-gradient(135deg, #0a4a8c, #0f7f88); color: #fff; padding: 68px 0 60px;
}
.page-hero h1 { font-size: 34px; margin-bottom: 10px; }
.page-hero p { color: rgba(255,255,255,.85); font-size: 15.5px; max-width: 640px; }
.crumb { font-size: 13px; color: rgba(255,255,255,.7); margin-bottom: 14px; }
.crumb a:hover { color: #fff; }

/* ============ Product detail page ============ */
a.card, a.product-card { color: inherit; text-decoration: none; }
.detail-grid { display: grid; grid-template-columns: 1.7fr 1fr; gap: 32px; align-items: start; }
.detail-main h2 { font-size: 19.5px; margin: 36px 0 12px; }
.detail-main h2:first-child { margin-top: 0; }
.detail-main p { color: var(--ink-2); font-size: 15px; line-height: 1.95; }
.detail-aside { position: sticky; top: 92px; display: flex; flex-direction: column; gap: 18px; }
.pd-visual {
  background: linear-gradient(160deg, var(--brand-soft), #fff 70%);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 0 20px; text-align: center;
}
.pd-visual .pd-model { font-size: 22px; font-weight: 700; color: var(--brand); margin-top: 8px; }
.pd-visual .pd-cat { font-size: 12.5px; color: var(--accent); font-weight: 700; letter-spacing: .06em; margin-top: 4px; }
.pd-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.pd-card h3 { font-size: 15px; margin-bottom: 10px; }
.pd-card .spec-list li a { color: var(--brand); }
.pd-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.pd-actions .btn { justify-content: center; }
.spec-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 28px; }
.spec-grid li { padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 14.5px; color: var(--ink-2); }
.app-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.app-list li {
  display: flex; gap: 8px; align-items: flex-start; background: var(--soft);
  border-radius: 10px; padding: 12px 14px; font-size: 14.5px; color: var(--ink-2);
}
.app-list li::before { content: "\2713"; color: var(--accent); font-weight: 700; }
.note {
  background: var(--brand-soft); border-left: 3px solid var(--brand);
  border-radius: 0 10px 10px 0; padding: 14px 18px;
  font-size: 14px; color: var(--ink-2); margin-top: 16px; line-height: 1.85;
}
@media (max-width: 980px) {
  .detail-grid { grid-template-columns: 1fr; }
  .detail-aside { position: static; }
}
@media (max-width: 760px) {
  .spec-grid, .app-list { grid-template-columns: 1fr; }
}

/* ============ Responsive ============ */
@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-stats div:nth-child(3) { border-left: none; }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 72px; left: 0; right: 0; background: #fff;
    flex-direction: column; padding: 10px 16px 18px; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow); display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 10px; }
  .header-inner { gap: 12px; justify-content: space-between; }
  .header-actions .hide-sm { display: none; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero h1 { font-size: 30px; }
  .hero-inner { padding: 62px 24px 56px; }
  .section { padding: 56px 0; }
  .section-head h2 { font-size: 25px; }
  .page-hero h1 { font-size: 26px; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 36px 26px; }
  .cta-band h2 { font-size: 22px; }
  .field-row { grid-template-columns: 1fr; }
  .doc-item { flex-wrap: wrap; }
  .doc-actions { width: 100%; }
  .tree-list { grid-template-columns: 1fr; }
}

/* ---------- 文档中心：标准文档库（SDS / TDS 矩阵） ---------- */
.doc-matrix { display: grid; gap: 8px; }
.dm-row {
  display: grid;
  grid-template-columns: minmax(180px, 1.4fr) minmax(120px, .8fr) minmax(120px, .9fr) minmax(92px, .62fr) minmax(92px, .62fr);
  gap: 10px; align-items: center;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--line-2);
}
.dm-row:hover { border-color: var(--brand); background: var(--brand-soft); }
.dm-model { display: flex; flex-direction: column; gap: 2px; text-decoration: none; color: inherit; min-width: 0; }
.dm-model strong { font-size: 15px; color: var(--brand-dark); letter-spacing: .01em; }
.dm-model span { font-size: 12px; color: var(--muted); }
.dm-badge {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 7px 10px; border-radius: 7px;
  font-size: 12.5px; font-weight: 600; text-decoration: none;
  border: 1px solid transparent; white-space: nowrap;
}
.dm-tds { background: #fff; color: var(--brand-dark); border-color: #b9d2ee; }
.dm-tds:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
.dm-sds { background: #fff; color: #a8541f; border-color: #f0cfb4; }
.dm-dl { background: #fff; color: #4b5a6a; border-color: #d5dde5; }
.dm-dl:hover { background: #4b5a6a; color: #fff; border-color: #4b5a6a; }
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 860px) { .benefit-grid { grid-template-columns: 1fr; } }
@media (max-width: 980px) {
  .dm-row { grid-template-columns: minmax(140px, 1.2fr) 1fr 1fr; }
}
@media (max-width: 560px) {
  .dm-row { grid-template-columns: 1fr 1fr; }
}
.dm-sds:hover { background: #c2621f; color: #fff; border-color: #c2621f; }
@media (max-width: 720px) {
  .dm-row { grid-template-columns: 1fr 1fr; }
  .dm-model { grid-column: 1 / -1; }
}

/* ---------- 制冷剂选型指南页 ---------- */
.guide-h {
  font-size: 19px; color: var(--brand-dark); font-weight: 700;
  margin: 34px 0 14px; padding-bottom: 8px;
  border-bottom: 2px solid var(--brand-soft);
}
.guide-h:first-of-type { margin-top: 8px; }
.guide-item {
  margin: 0 0 18px; padding: 16px 18px;
  background: var(--line-2); border-left: 3px solid var(--brand);
  border-radius: 0 10px 10px 0;
}
.guide-item h4 {
  font-size: 15.5px; color: var(--brand-dark); font-weight: 700;
  margin: 0 0 6px;
}
.guide-item p { margin: 0; font-size: 14.5px; line-height: 1.85; color: #37474f; }
.container.narrow .guide-item p { text-align: justify; }

/* ============ 专题页交叉链接卡片 ============ */
.topic-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.topic-card { display: block; padding: 22px 24px; }
.topic-card h3 { font-size: 17px; margin: 0 0 8px; color: var(--brand-dark); font-weight: 700; }
.topic-card p { margin: 0 0 10px; font-size: 14px; line-height: 1.8; color: var(--ink-2); }
@media (max-width: 720px) {
  .topic-grid { grid-template-columns: 1fr; }
}

/* ============ 新闻列表 / 文章卡片 ============ */
a.news-card-link {
  display: flex; flex-direction: column; color: inherit; text-decoration: none;
}
a.news-card-link h3 { font-size: 17px; margin: 12px 0 8px; line-height: 1.5; }
a.news-card-link .sum { color: var(--muted); font-size: 14px; line-height: 1.8; flex: 1; }
a.news-card-link .more { margin-top: 14px; font-size: 13.5px; color: var(--brand); font-weight: 600; }
a.news-card-link:hover .more { text-decoration: underline; }

/* ============ 文章详情页正文 ============ */
.article-body ul.spec-list { margin: 0 0 16px; }
.article-body ul.spec-list li { padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 14.5px; color: var(--ink-2); }
.article-body .table-wrap { margin: 4px 0 20px; }
.article-body h2 { font-size: 21px; }
.article-body p { text-align: justify; }
.article-body .doc-note { text-align: left; }

/* ============ 应用领域 ============ */
.app-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.app-card { display: flex; flex-direction: column; }
.app-card h3 { font-size: 17px; margin: 12px 0 8px; }
.app-card p { color: var(--muted); font-size: 14px; line-height: 1.8; flex: 1; }
.app-card .more { margin-top: 14px; font-size: 13.5px; color: var(--brand); font-weight: 600; }
.app-card:hover .more { text-decoration: underline; }
@media (max-width: 980px) { .app-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .app-grid { grid-template-columns: 1fr; } }

.lead-p {
  font-size: 16.5px; line-height: 1.95; color: var(--ink-2);
  margin-bottom: 8px; text-align: justify;
}

/* ============ 在线工具 ============ */
.tool-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 32px; margin-bottom: 34px;
  box-shadow: var(--shadow);
}
.tool-intro { color: var(--muted); font-size: 14.5px; line-height: 1.8; margin-bottom: 18px; }
.tool-panel {
  background: var(--soft); border: 1px solid var(--line-2);
  border-radius: 12px; padding: 22px 24px; margin-bottom: 22px;
}
.tool-panel .filters { margin-bottom: 18px; }
.tool-sub {
  font-size: 16px; color: var(--brand-dark); font-weight: 700;
  margin: 26px 0 14px; padding-bottom: 8px; border-bottom: 2px solid var(--brand-soft);
}
/* 静态 P-T 对照表折叠：默认只显示标题，点击展开（无 JS 也可用，内容仍在 HTML 源文中） */
details.pt-toggle { margin: 0 0 8px; }
details.pt-toggle > summary {
  cursor: pointer; list-style: none; position: relative;
  padding-right: 24px; user-select: none;
}
details.pt-toggle > summary::-webkit-details-marker { display: none; }
details.pt-toggle > summary::after {
  content: '▸'; position: absolute; right: 4px; top: 26px;
  color: var(--brand); font-size: 13px; transition: transform .15s;
}
details.pt-toggle[open] > summary::after { content: '▾'; }
details.pt-toggle > .table-wrap { margin-top: 4px; }
.pt-out {
  margin-top: 16px; padding: 16px 20px; border-radius: 12px;
  background: var(--brand-soft); border: 1px dashed #b9d2ee;
  font-size: 15px; line-height: 1.9; color: var(--brand-dark);
}
.pt-out b { color: var(--brand); }
.pt-out-all { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.pt-out-all span { font-size: 13px; color: var(--ink-2); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 3px 12px; }

/* 工具页交叉链接卡（相关在线工具） */
a.tool-card-link { display: flex; flex-direction: column; }
a.tool-card-link h3 { font-size: 17px; margin: 12px 0 8px; line-height: 1.5; }
a.tool-card-link p { color: var(--muted); font-size: 14px; line-height: 1.8; flex: 1; }
a.tool-card-link .more { margin-top: 14px; font-size: 13.5px; color: var(--brand); font-weight: 600; }
a.tool-card-link:hover .more { text-decoration: underline; }
a.tool-card-current { opacity: .55; pointer-events: none; }
@media (max-width: 760px) {
  .tool-card { padding: 22px 18px; }
  details.pt-toggle > summary::after { top: 24px; }
}

/*@MEMBER_LOGIN_OFF@*/
/* 会员登录/注册暂未开放：由 set_member_login.py 同步，请勿手工修改 */
a[href^="login.html"], a[href^="/login.html"],
#inq-login, #pd-gal-tip, #upload-panel { display: none !important; }
.auth-card .tabs,
.auth-card form,
.auth-card .wx-login,
.auth-card .wx-off-head,
.auth-card .auth-divider,
.auth-card .auth-foot,
.auth-card .alert { display: none !important; }
.member-off-notice { display: block !important; }
/*/@MEMBER_LOGIN_OFF@*/
