/* 燊林智能官网 · 栏目页样式（v2）
   与 site.css（原型抽取）配合使用，沿用同一套纸色底、墨青字、橙色点缀和通透卡片。
   只放栏目页需要、原型首页里没有的组件。 */

:root { --pg-card: rgba(255, 254, 250, .82); --pg-card-line: rgba(23, 58, 61, .1); }

/* ── 栏目页首屏 ── */
.pg-hero { position: relative; isolation: isolate; overflow: hidden; border-bottom: 1px solid #e3e5dd; }
.pg-hero::before {
  content: ""; position: absolute; z-index: -1; right: -12%; top: -40%; width: 62%; aspect-ratio: 1;
  border-radius: 50%; filter: blur(90px); background: radial-gradient(circle, rgba(240, 82, 29, .16), rgba(233, 166, 60, .08) 55%, transparent 70%);
}
.pg-hero-in { padding: 64px 0 76px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 12.5px; color: var(--muted); margin-bottom: 30px; }
.crumbs a:hover { color: var(--orange-ink); }
.crumbs span[aria-hidden] { color: #a4b1ab; }
.pg-hero h1 { font-size: clamp(36px, 4vw, 56px); line-height: 1.3; max-width: 900px; text-wrap: balance; }
.pg-lede { margin-top: 26px; max-width: 720px; font-size: 17px; color: var(--muted); line-height: 1.9; }
.pg-hero .text-link { margin-top: 30px; }

/* ── 通用段落 ── */
.pg-sec { padding-block: 96px; border-bottom: 1px solid #e8eae3; }
.pg-sec:last-of-type { border-bottom: 0; }
.pg-sec--tint { background: linear-gradient(180deg, rgba(255, 254, 250, .6), rgba(242, 239, 230, .5)); }
.pg-sec h2 { font-size: clamp(28px, 2.8vw, 40px); line-height: 1.38; max-width: 760px; text-wrap: balance; }
.pg-intro { margin-top: 20px; max-width: 700px; color: var(--muted); font-size: 15.5px; }
.pg-prose { max-width: 760px; }
.pg-prose p { margin-top: 18px; font-size: 16px; color: #2f4547; }
.pg-prose p:first-child { margin-top: 0; }
.pg-note { margin-top: 28px; max-width: 760px; padding: 16px 20px; border-left: 3px solid var(--orange); background: rgba(240, 82, 29, .05); border-radius: 0 10px 10px 0; font-size: 13.5px; color: var(--muted); line-height: 1.85; }

/* ── 卡片网格 ── */
.pg-grid { display: grid; gap: 18px; margin-top: 44px; }
.pg-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pg-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pg-card {
  position: relative; padding: 30px 28px 28px; border-radius: 18px;
  background: var(--pg-card); border: 1px solid var(--pg-card-line);
  box-shadow: 0 18px 42px -30px rgba(23, 58, 61, .28);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
a.pg-card:hover, .pg-card:has(a:hover) { transform: translateY(-3px); box-shadow: 0 26px 52px -28px rgba(240, 82, 29, .32); }
.pg-card .ordinal { display: block; margin-bottom: 16px; }
.pg-card h3 { font-size: 20px; }
.pg-card h3 small { display: block; margin-top: 4px; font-size: 12px; font-weight: 400; letter-spacing: .04em; color: var(--muted); }
.pg-card p { margin-top: 12px; font-size: 14.5px; color: var(--muted); }
.pg-card .text-link { margin-top: 18px; gap: 18px; }
.pg-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.pg-tags span { font-size: 12px; padding: 5px 11px; border-radius: 999px; border: 1px solid rgba(18, 99, 106, .22); color: var(--pine); background: rgba(18, 99, 106, .04); }

/* ── 产品体系页：每个产品一整段 ── */
.pd { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 56px; padding-block: 72px; border-top: 1px solid #e3e5dd; scroll-margin-top: 100px; }
.pd:first-of-type { border-top: 0; padding-top: 24px; }
.pd-head .ordinal { display: block; margin-bottom: 14px; }
.pd-head h2 { font-size: 30px; line-height: 1.4; }
.pd-head h2 small { display: block; font-size: 13px; font-weight: 500; letter-spacing: .06em; color: var(--muted); margin-top: 6px; }
.pd-head .pd-tagline { margin-top: 16px; font-size: 17px; font-weight: 650; color: var(--orange-ink); line-height: 1.6; }
.pd-body blockquote { margin: 0; padding: 22px 24px; border-radius: 16px; background: var(--pg-card); border: 1px solid var(--pg-card-line); font-size: 15.5px; line-height: 1.95; color: #2f4547; }
.pd-body h3 { margin-top: 30px; font-size: 14px; letter-spacing: .04em; color: var(--muted); font-weight: 600; }
.pd-list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 26px; }
.pd-list--long { grid-template-columns: 1fr; }
.pd-list li { position: relative; padding-left: 16px; font-size: 14.5px; line-height: 1.8; color: #2f4547; }
.pd-list li::before { content: ""; position: absolute; left: 0; top: .78em; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }
.pd-links { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 24px; }

/* 关系图：三层 */
.pg-layers { display: grid; gap: 14px; margin-top: 44px; max-width: 920px; }
.pg-layer { display: grid; grid-template-columns: 150px 1fr; gap: 22px; align-items: center; padding: 22px 26px; border-radius: 16px; background: var(--pg-card); border: 1px solid var(--pg-card-line); }
.pg-layer b { font-size: 15px; color: var(--orange-ink); }
.pg-layer span { font-size: 15px; }
.pg-layer:nth-child(2) { margin-left: 24px; }
.pg-layer:nth-child(3) { margin-left: 48px; border-color: rgba(240, 82, 29, .28); background: rgba(255, 246, 240, .8); }

/* 需求 → 产品 对照表 */
.pg-table { width: 100%; max-width: 920px; margin-top: 40px; border-collapse: collapse; font-size: 15px; }
.pg-table th, .pg-table td { text-align: left; padding: 16px 18px; border-bottom: 1px solid #e3e5dd; vertical-align: top; }
.pg-table thead th { font-size: 12.5px; letter-spacing: .06em; color: var(--muted); font-weight: 600; border-bottom-color: #cfd6c7; }
.pg-table td:last-child a { color: var(--orange-ink); font-weight: 600; }

/* 步骤（生态合作路径） */
.pg-steps { list-style: none; margin: 44px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: st; }
.pg-steps li { position: relative; padding: 26px 22px 24px; border-radius: 16px; background: var(--pg-card); border: 1px solid var(--pg-card-line); font-size: 15.5px; font-weight: 600; line-height: 1.6; }
.pg-steps li::before { counter-increment: st; content: counter(st, decimal-leading-zero); display: block; margin-bottom: 12px; font-family: Arial, sans-serif; font-size: 12px; font-weight: 400; color: var(--orange-ink); }
.pg-steps li + li::after { content: "→"; position: absolute; left: -15px; top: 26px; color: #a4b1ab; font-weight: 400; }

/* 定义列表（六项能力等） */
.pg-defs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; margin-top: 40px; }
.pg-defs > div { padding: 26px 0; border-top: 1px solid #e3e5dd; }
.pg-defs dt { font-size: 18px; font-weight: 650; }
.pg-defs dd { margin: 10px 0 0; font-size: 14.5px; line-height: 1.9; color: var(--muted); }

/* 六要素（判断信号……结果反馈） */
.pg-chain { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 30px; }
.pg-chain span { padding: 10px 16px; border-radius: 999px; background: var(--pg-card); border: 1px solid var(--pg-card-line); font-size: 14px; font-weight: 600; }
.pg-chain i { font-style: normal; color: var(--orange); }

/* 折叠补充说明 */
.pg-fold { margin-top: 26px; max-width: 760px; border-top: 1px solid #e3e5dd; }
.pg-fold summary { cursor: pointer; padding: 16px 0; font-size: 14.5px; font-weight: 600; color: var(--pine); list-style: none; }
.pg-fold summary::-webkit-details-marker { display: none; }
.pg-fold summary::before { content: "+ "; color: var(--orange); }
.pg-fold[open] summary::before { content: "− "; }
.pg-fold p { padding-bottom: 18px; font-size: 14.5px; color: var(--muted); }

/* 常见问题 */
.pg-faq { max-width: 860px; margin-top: 20px; }
.pg-faq details { border-bottom: 1px solid #e3e5dd; }
.pg-faq summary { cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 24px 0; font-size: 17px; font-weight: 600; list-style: none; }
.pg-faq summary::-webkit-details-marker { display: none; }
.pg-faq summary::after { content: "+"; font-size: 22px; font-weight: 300; color: var(--orange); }
.pg-faq details[open] summary::after { content: "−"; }
.pg-faq details p { padding: 0 0 26px; font-size: 15px; color: var(--muted); max-width: 760px; }

/* 实验室文章列表 */
.pg-articles { list-style: none; margin: 26px 0 0; padding: 0; }
.pg-articles li { border-top: 1px solid #e3e5dd; }
.pg-articles a { display: grid; grid-template-columns: 1fr auto; gap: 6px 30px; padding: 20px 0; }
.pg-articles a:hover h3 { color: var(--orange-ink); }
.pg-articles h3 { font-size: 18px; transition: color .2s; }
.pg-articles p { grid-column: 1; font-size: 14px; color: var(--muted); }
.pg-articles span { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-size: 20px; color: var(--orange-ink); }
.pg-dir { padding-top: 40px; }
.pg-dir + .pg-dir { margin-top: 20px; }
.pg-dir > h3 { font-size: 22px; }
.pg-dir > p { margin-top: 8px; font-size: 14.5px; color: var(--muted); max-width: 680px; }
.pg-dir .pg-empty { margin-top: 18px; font-size: 13.5px; color: #8a9893; }

/* 尚未开放的表单 —— 不放假表单，只说明 */
.pg-pending { margin-top: 36px; max-width: 760px; padding: 28px; border-radius: 18px; border: 1px dashed rgba(23, 58, 61, .28); background: rgba(255, 254, 250, .6); }
.pg-pending h3 { font-size: 18px; }
.pg-pending p { margin-top: 10px; font-size: 14.5px; color: var(--muted); }
.pg-pending ul { margin: 16px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.pg-pending li { font-size: 13px; padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--pg-card-line); }

/* 收尾句 */
.pg-close { padding-block: 84px; text-align: left; }
.pg-close p { display: flex; align-items: center; gap: 16px; font-size: clamp(22px, 2.4vw, 32px); font-weight: 650; letter-spacing: -.02em; }
.pg-close p::before { content: ""; flex: 0 0 10px; height: 24px; border-radius: 10px 10px 2px 2px; background: linear-gradient(180deg, #f0521d, #e9a63c); }

@media (max-width: 1000px) {
  .pd { grid-template-columns: 1fr; gap: 28px; }
  .pg-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pg-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pg-steps li:nth-child(3)::after { display: none; }
}
@media (max-width: 700px) {
  .pg-hero-in { padding: 44px 0 56px; }
  .pg-lede { font-size: 15px; }
  .pg-sec { padding-block: 64px; }
  .pg-grid--2, .pg-grid--3, .pg-defs, .pd-list { grid-template-columns: 1fr; }
  .pg-card { padding: 24px 22px; }
  .pg-steps { grid-template-columns: 1fr; }
  .pg-steps li::after { display: none; }
  .pg-layer { grid-template-columns: 1fr; gap: 6px; }
  .pg-layer:nth-child(2), .pg-layer:nth-child(3) { margin-left: 0; }
  .pg-table, .pg-table tbody, .pg-table tr, .pg-table td { display: block; width: 100%; }
  .pg-table thead { display: none; }
  .pg-table tr { padding: 14px 0; border-bottom: 1px solid #e3e5dd; }
  .pg-table td { padding: 4px 0; border: 0; }
  .pd-head h2 { font-size: 25px; }
  .pg-articles a { grid-template-columns: 1fr; }
  .pg-articles span { display: none; }
}
