/* ============================================================
   潍坊五恒系统专题站 · 全站样式
   设计调性：工程商 / 数据说话 / 深墨底 + 暖铜点缀
   ============================================================ */

/* ---------- 1. 设计变量 ---------- */
:root {
  --ink: #13171c;
  --ink-2: #1c222a;
  --ink-3: #2a323c;
  --paper: #f7f5f1;
  --paper-2: #efece5;
  --paper-3: #e4e0d7;
  --copper: #a8764a;
  --copper-lt: #c9a57c;
  --sage: #4c6b66;
  --text: #22282f;
  --text-2: #5b636d;
  --text-3: #8a9199;
  --line: rgba(19, 23, 28, 0.12);
  --line-d: rgba(247, 245, 241, 0.16);

  --max: 1180px;
  --max-narrow: 820px;
  --r: 4px;
  --r-lg: 8px;

  --shadow-sm: 0 1px 2px rgba(19, 23, 28, 0.06);
  --shadow: 0 4px 24px -8px rgba(19, 23, 28, 0.16);
  --shadow-lg: 0 24px 64px -24px rgba(19, 23, 28, 0.28);

  --ff: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC",
    system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ff-num: "DIN Alternate", "Barlow", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* ---------- 2. Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  font-family: var(--ff);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3,
h4,
p,
figure,
blockquote,
ul,
ol,
dl {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 3px;
}

::selection {
  background: var(--copper);
  color: #fff;
}

/* ---------- 3. 版式 ---------- */
.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: 24px;
}

.wrap-narrow {
  max-width: var(--max-narrow);
}

h1 {
  font-size: clamp(2rem, 4.6vw, 3.25rem);
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.5rem, 2.8vw, 2.125rem);
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -0.015em;
}

h3 {
  font-size: clamp(1.0625rem, 1.6vw, 1.1875rem);
  font-weight: 600;
  line-height: 1.5;
}

h4 {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.6;
}

p {
  color: var(--text-2);
}

.lead {
  font-size: clamp(1.0625rem, 1.6vw, 1.1875rem);
  line-height: 1.8;
  color: var(--text-2);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--copper);
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

.num {
  font-family: var(--ff-num);
  font-variant-numeric: tabular-nums;
}

/* ---------- 4. 头部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 245, 241, 0.92);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.site-header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 1px 20px -8px rgba(19, 23, 28, 0.18);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-mark {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.brand-name {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--ink);
}

.brand-sub {
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  color: var(--text-3);
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav-links a {
  display: block;
  padding: 8px 12px;
  font-size: 0.875rem;
  color: var(--text-2);
  border-radius: var(--r);
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover {
  color: var(--ink);
  background: var(--paper-2);
}

.nav-links a[aria-current="page"] {
  color: var(--ink);
  font-weight: 600;
  background: var(--paper-3);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 12px;
  padding: 10px 18px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--paper);
  background: var(--ink);
  border-radius: var(--r);
  white-space: nowrap;
  transition: background 0.2s, transform 0.2s;
}

.nav-cta:hover {
  background: var(--ink-3);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--r);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.nav-toggle span {
  position: relative;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.25s, opacity 0.25s;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.25s;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] span {
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span::before {
  transform: translateY(6px) rotate(-90deg);
}

.nav-toggle[aria-expanded="true"] span::after {
  opacity: 0;
}

/* ---------- 5. Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
  padding: clamp(64px, 9vw, 120px) 0 clamp(56px, 7vw, 96px);
}

.hero--page {
  padding: clamp(48px, 6vw, 80px) 0 clamp(40px, 5vw, 64px);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      ellipse 70% 60% at 78% 12%,
      rgba(168, 118, 74, 0.22),
      transparent 62%
    ),
    radial-gradient(ellipse 50% 50% at 10% 92%, rgba(76, 107, 102, 0.24), transparent 60%);
  pointer-events: none;
}

.hero .wrap {
  position: relative;
  z-index: 1;
}

.hero h1 {
  color: var(--paper);
  max-width: 20em;
}

.hero p {
  color: rgba(247, 245, 241, 0.72);
}

.hero .lead {
  color: rgba(247, 245, 241, 0.76);
  max-width: 42em;
  margin-top: 20px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  margin-bottom: 24px;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--copper-lt);
  border: 1px solid rgba(201, 165, 124, 0.4);
  border-radius: 100px;
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--copper-lt);
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

/* ---------- 6. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  font-size: 0.9375rem;
  font-weight: 500;
  border: 1px solid transparent;
  border-radius: var(--r);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--copper);
  color: #fff;
}

.btn--primary:hover {
  background: #956742;
}

.btn--dark {
  background: var(--ink);
  color: var(--paper);
}

.btn--dark:hover {
  background: var(--ink-3);
}

.btn--ghost {
  border-color: rgba(247, 245, 241, 0.32);
  color: var(--paper);
}

.btn--ghost:hover {
  border-color: var(--paper);
  background: rgba(247, 245, 241, 0.08);
}

.btn--line {
  border-color: var(--line);
  color: var(--ink);
}

.btn--line:hover {
  border-color: var(--ink);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--copper);
}

.link-arrow svg {
  transition: transform 0.25s;
}

.link-arrow:hover svg {
  transform: translateX(4px);
}

/* ---------- 7. 区块 ---------- */
.section {
  padding: clamp(56px, 8vw, 104px) 0;
}

.section--tight {
  padding: clamp(40px, 5vw, 64px) 0;
}

.section--paper-2 {
  background: var(--paper-2);
}

.section--ink {
  background: var(--ink);
  color: var(--paper);
}

.section--ink p {
  color: rgba(247, 245, 241, 0.72);
}

.section--ink h2,
.section--ink h3 {
  color: var(--paper);
}

.section-head {
  max-width: 46em;
  margin-bottom: clamp(32px, 4vw, 52px);
}

.section-head .lead {
  margin-top: 16px;
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

/* ---------- 8. 数据条 ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-d);
  border: 1px solid var(--line-d);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.stat {
  padding: 28px 24px;
  background: rgba(247, 245, 241, 0.03);
}

.stat-value {
  font-family: var(--ff-num);
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  font-weight: 600;
  line-height: 1.1;
  color: var(--paper);
  letter-spacing: -0.02em;
}

.stat-value small {
  font-size: 0.5em;
  font-weight: 400;
  color: var(--copper-lt);
  margin-left: 4px;
}

.stat-label {
  margin-top: 8px;
  font-size: 0.8125rem;
  color: rgba(247, 245, 241, 0.6);
  line-height: 1.6;
}

/* ---------- 9. 卡片 ---------- */
.grid {
  display: grid;
  gap: 20px;
}

.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 {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}

.card:hover {
  border-color: rgba(168, 118, 74, 0.5);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.card-num {
  font-family: var(--ff-num);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--copper);
}

.card h3 {
  margin-top: 12px;
}

.card p {
  margin-top: 10px;
  font-size: 0.9375rem;
}

.card-list {
  margin-top: 16px;
  display: grid;
  gap: 8px;
}

.card-list li {
  position: relative;
  padding-left: 18px;
  font-size: 0.875rem;
  color: var(--text-2);
  line-height: 1.65;
}

.card-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 1px;
  background: var(--copper);
}

.card--ink {
  background: var(--ink-2);
  border-color: rgba(247, 245, 241, 0.1);
}

.card--ink h3 {
  color: var(--paper);
}

.card--ink p,
.card--ink li {
  color: rgba(247, 245, 241, 0.7);
}

.card--plain {
  background: transparent;
}

.card--plain:hover {
  box-shadow: none;
  transform: none;
}

/* ---------- 10. 表格 ---------- */
.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #fff;
  -webkit-overflow-scrolling: touch;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  min-width: 620px;
}

caption {
  caption-side: top;
  padding: 16px 20px 12px;
  font-size: 0.8125rem;
  color: var(--text-3);
  text-align: left;
}

th,
td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  line-height: 1.65;
}

thead th {
  background: var(--paper-2);
  font-weight: 600;
  color: var(--ink);
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

tbody tr:last-child td {
  border-bottom: 0;
}

tbody tr:hover {
  background: rgba(168, 118, 74, 0.04);
}

td strong {
  color: var(--ink);
}

.t-good {
  color: #3d6b4f;
  font-weight: 600;
}

.t-mid {
  color: #8a6d2f;
  font-weight: 600;
}

.t-bad {
  color: #91463a;
  font-weight: 600;
}

/* ---------- 11. 参数定义列表 ---------- */
.spec-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.spec-list > div {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.spec-list dt {
  font-size: 0.875rem;
  color: var(--text-3);
}

.spec-list dd {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text);
}

.section--ink .spec-list,
.section--ink .spec-list > div {
  border-color: var(--line-d);
}

.section--ink .spec-list dt {
  color: rgba(247, 245, 241, 0.55);
}

.section--ink .spec-list dd {
  color: var(--paper);
}

/* ---------- 12. FAQ 手风琴 ---------- */
.faq-group + .faq-group {
  margin-top: 40px;
}

.faq-group-title {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--copper);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 8px;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-q {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 20px 0;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.6;
  transition: color 0.2s;
}

.faq-q:hover {
  color: var(--copper);
}

.faq-icon {
  position: relative;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 3px;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 1.5px;
  background: var(--copper);
  transform: translate(-50%, -50%);
  transition: transform 0.3s;
}

.faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item.is-open .faq-icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}

.faq-item.is-open .faq-a {
  grid-template-rows: 1fr;
}

.faq-a > div {
  overflow: hidden;
}

.faq-a p {
  padding: 0 40px 22px 0;
  font-size: 0.9375rem;
  line-height: 1.8;
}

.faq-a p + p {
  padding-top: 0;
  margin-top: -10px;
}

/* ---------- 13. 步骤流程 ---------- */
.steps {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.step {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.step-idx {
  font-family: var(--ff-num);
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  color: var(--copper);
  padding-top: 4px;
}

.step-body h3 {
  margin-bottom: 8px;
}

.step-body p {
  font-size: 0.9375rem;
  max-width: 60em;
}

.step-body .card-list {
  margin-top: 12px;
}

/* ---------- 14. 详情块（案例） ---------- */
.case {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  padding: 36px 0;
  border-top: 1px solid var(--line);
}

.case-meta {
  display: grid;
  gap: 0;
  align-content: start;
  font-size: 0.875rem;
  background: var(--paper-2);
  border-radius: var(--r-lg);
  padding: 4px 20px;
}

.case-meta div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.case-meta div:last-child {
  border-bottom: 0;
}

.case-meta dt {
  color: var(--text-3);
  flex-shrink: 0;
}

.case-meta dd {
  margin: 0;
  text-align: right;
  color: var(--ink);
  font-weight: 500;
}

.case h3 {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}

.case h3 small {
  font-family: var(--ff-num);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--copper);
  font-weight: 500;
}

.case > div > p {
  margin-top: 12px;
  font-size: 0.9375rem;
}

.case-problem {
  margin-top: 20px;
  padding: 18px 20px;
  background: #fff;
  border-left: 2px solid var(--copper);
  border-radius: 0 var(--r) var(--r) 0;
  font-size: 0.9375rem;
}

.case-problem strong {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--copper);
  margin-bottom: 6px;
}

/* ---------- 15. CTA ---------- */
.cta {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
  padding: clamp(48px, 6vw, 80px) 0;
}

.cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 82% 50%, rgba(168, 118, 74, 0.2), transparent 65%);
  pointer-events: none;
}

.cta .wrap {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
}

.cta h2 {
  color: var(--paper);
}

.cta p {
  margin-top: 12px;
  color: rgba(247, 245, 241, 0.7);
  max-width: 40em;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- 16. 表单 ---------- */
.form {
  display: grid;
  gap: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--ink);
}

.field label .req {
  color: var(--copper);
  margin-left: 2px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 0.9375rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--copper);
  box-shadow: 0 0 0 3px rgba(168, 118, 74, 0.14);
}

.field .hint {
  font-size: 0.75rem;
  color: var(--text-3);
}

.field .error {
  font-size: 0.75rem;
  color: #a44a3c;
  display: none;
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: #a44a3c;
}

.field.has-error .error {
  display: block;
}

.form-note {
  font-size: 0.75rem;
  color: var(--text-3);
  line-height: 1.7;
}

.form-status {
  display: none;
  padding: 14px 18px;
  font-size: 0.875rem;
  border-radius: var(--r);
  background: rgba(76, 107, 102, 0.1);
  color: #2f5450;
  border: 1px solid rgba(76, 107, 102, 0.28);
}

.form-status.is-visible {
  display: block;
}

/* ---------- 17. 信息块 ---------- */
.info-block {
  display: grid;
  gap: 20px;
  align-content: start;
}

.info-item {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.info-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.info-label {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 6px;
}

.info-value {
  font-size: 1.0625rem;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.6;
}

.info-value a:hover {
  color: var(--copper);
}

.info-desc {
  margin-top: 4px;
  font-size: 0.8125rem;
  color: var(--text-3);
}

/* ---------- 18. 提示条 ---------- */
.notice {
  display: flex;
  gap: 14px;
  padding: 18px 20px;
  background: rgba(168, 118, 74, 0.07);
  border: 1px solid rgba(168, 118, 74, 0.2);
  border-radius: var(--r);
  font-size: 0.875rem;
  line-height: 1.75;
  color: var(--text-2);
}

.notice svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--copper);
}

.notice strong {
  color: var(--ink);
}

/* ---------- 19. 面包屑 ---------- */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 20px 0;
  font-size: 0.8125rem;
  color: var(--text-3);
}

.crumbs a:hover {
  color: var(--copper);
}

.crumbs span[aria-current] {
  color: var(--text-2);
}

/* ---------- 20. 页脚 ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(247, 245, 241, 0.7);
  padding: clamp(48px, 6vw, 72px) 0 32px;
  font-size: 0.875rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line-d);
}

.footer-brand .brand-name {
  color: var(--paper);
}

.footer-brand p {
  margin-top: 16px;
  color: rgba(247, 245, 241, 0.55);
  font-size: 0.8125rem;
  line-height: 1.8;
  max-width: 30em;
}

.footer-col h3 {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--copper-lt);
  margin-bottom: 16px;
  font-weight: 600;
}

.footer-col ul {
  display: grid;
  gap: 10px;
}

.footer-col a {
  color: rgba(247, 245, 241, 0.65);
  font-size: 0.8125rem;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--paper);
}

.footer-col li {
  color: rgba(247, 245, 241, 0.65);
  font-size: 0.8125rem;
  line-height: 1.7;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  font-size: 0.75rem;
  color: rgba(247, 245, 241, 0.42);
}

.footer-bottom p {
  color: inherit;
  margin: 0;
}

.footer-bottom a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.footer-bottom a:hover,
.footer-bottom a:focus-visible {
  color: var(--paper, #f7f5f1);
  border-bottom-color: currentColor;
}

/* ---------- 20.5 环境指标面板（Hero 右侧） ---------- */
.panel {
  position: relative;
  padding: 24px;
  background: rgba(247, 245, 241, 0.045);
  border: 1px solid rgba(247, 245, 241, 0.14);
  border-radius: var(--r-lg);
  backdrop-filter: blur(4px);
}

.panel::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(140deg, rgba(201, 165, 124, 0.28), transparent 42%);
  -webkit-mask: linear-gradient(#000, #000) content-box, linear-gradient(#000, #000);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  padding: 1px;
  pointer-events: none;
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 16px;
  margin-bottom: 4px;
  border-bottom: 1px solid rgba(247, 245, 241, 0.12);
}

.panel-title {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: rgba(247, 245, 241, 0.55);
}

.panel-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  color: var(--copper-lt);
}

.panel-live::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #7fbf9a;
  box-shadow: 0 0 0 3px rgba(127, 191, 154, 0.16);
}

.panel-list {
  display: grid;
  gap: 2px;
}

.panel-row {
  display: grid;
  grid-template-columns: 4.5em 1fr;
  align-items: baseline;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(247, 245, 241, 0.07);
}

.panel-row:last-child {
  border-bottom: 0;
  padding-bottom: 4px;
}

.panel-k {
  font-size: 0.8125rem;
  color: rgba(247, 245, 241, 0.6);
}

.panel-main {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.panel-v {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--paper);
  letter-spacing: -0.01em;
}

.panel-v small {
  font-size: 0.6875rem;
  font-weight: 400;
  color: rgba(247, 245, 241, 0.5);
  margin-left: 3px;
}

.bar {
  flex: 1;
  height: 2px;
  background: rgba(247, 245, 241, 0.12);
  border-radius: 2px;
  overflow: hidden;
  align-self: center;
  max-width: 90px;
}

.bar i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, rgba(168, 118, 74, 0.5), var(--copper-lt));
  border-radius: 2px;
}

.panel-foot {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(247, 245, 241, 0.12);
  font-size: 0.6875rem;
  line-height: 1.7;
  color: rgba(247, 245, 241, 0.42);
}

/* ---------- 20.6 对比速览 ---------- */
.vs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.vs-col {
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}

.vs-col--hero {
  border-color: rgba(168, 118, 74, 0.55);
  box-shadow: 0 18px 48px -28px rgba(168, 118, 74, 0.55);
}

.vs-tag {
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  color: var(--text-3);
  margin-bottom: 6px;
}

.vs-col--hero .vs-tag {
  color: var(--copper);
}

.vs-col h3 {
  font-size: 1.0625rem;
  margin-bottom: 14px;
}

.vs-list {
  display: grid;
  gap: 10px;
  margin-top: auto;
}

.vs-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.8125rem;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
  color: var(--text-2);
}

.vs-list li:first-child {
  border-top: 0;
  padding-top: 0;
}

.vs-list b {
  color: var(--ink);
  font-weight: 600;
  white-space: nowrap;
}

@media (max-width: 860px) {
  .vs {
    grid-template-columns: 1fr;
  }
}

/* ---------- 21. 工具类 ---------- */
/* 防御：栅格子项默认 min-width:auto 会被长内容撑破，统一归零 */
.hero-grid > *,
.grid > *,
.vs > *,
.stats > *,
.form-row > * {
  min-width: 0;
}

.panel-v,
.case-meta dd,
td {
  overflow-wrap: anywhere;
}

.table-scroll {
  max-width: 100%;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.mt-0 { margin-top: 0; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; }
.mt-48 { margin-top: 48px; }
.mb-0 { margin-bottom: 0; }

/* 渐进增强：无 JS 时内容完全可见；JS 可用时才做淡入动画 */
.reveal {
  opacity: 1;
  transform: none;
}

html.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

html.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  html.js .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---------- 22. 响应式 ---------- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .case {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 860px) {
  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 24px 24px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
  }

  .nav-links.is-open {
    transform: none;
    opacity: 1;
    visibility: visible;
  }

  .nav-links a {
    padding: 14px 0;
    font-size: 0.9375rem;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }

  .nav-cta {
    margin: 16px 0 0;
    justify-content: center;
  }

  .nav-toggle {
    display: flex;
  }

  .grid--2,
  .grid--3,
  .grid--4 {
    grid-template-columns: 1fr;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta .wrap {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .spec-list > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .step {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .step-idx {
    padding-top: 0;
  }
}

@media (max-width: 560px) {
  .wrap {
    padding-inline: 18px;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .card {
    padding: 22px;
  }

  .hero-actions .btn {
    width: 100%;
  }
}

/* ---------- 23. 打印 ---------- */
@media print {
  .site-header,
  .cta,
  .nav-toggle,
  .hero-actions {
    display: none;
  }

  body {
    background: #fff;
    color: #000;
    font-size: 11pt;
  }

  .section {
    padding: 24px 0;
    break-inside: avoid;
  }

  a::after {
    content: " (" attr(href) ")";
    font-size: 9pt;
    color: #666;
  }
}
