/* ============================================================
   潍坊新天地实验仪器有限公司官网 — 全站共享样式
   Palette: Business Blue — cue: B2B 企业官网 / 科学仪器行业 / 正式机构形象
   ============================================================ */

/* === Font faces === */
@font-face {
  font-family: 'InstrumentSans';
  src: url('./fonts/InstrumentSans-Regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'InstrumentSans';
  src: url('./fonts/InstrumentSans-Bold.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'GeistMono';
  src: url('./fonts/GeistMono-Regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}

/* === Color tokens (Business Blue, remapped) === */
:root {
  /* Page tokens */
  --page-bg: #FFFFFF;
  --page-surface: #F6F8FA;
  --page-surface-muted: #EDF1F5;
  --page-text: #1F2328;
  --page-text-secondary: #3D444D;
  --page-text-muted: #59636E;
  --page-text-disabled: #8C959F;
  --page-border: #D1D9E0;
  --page-brand: #0969DA;
  --page-brand-hover: #0757BA;
  --page-brand-active: #054DA3;
  --page-brand-soft: #EAF2FC;
  --page-brand-soft-strong: #D3E4F8;
  --page-brand-text: #05306B;
  --page-deep: #0A2540;
  --page-deep-rgb: 10 37 64;
  --page-deep-text: #B9CFE4;
  --page-deep-muted: #7FA3C4;

  /* Backward-compatible aliases */
  --bg: #FFFFFF;
  --bg2: #F6F8FA;
  --rule: #D1D9E0;
  --ink: #1F2328;
  --muted: #59636E;
  --text-secondary: #3D444D;
  --text-disabled: #8C959F;
  --accent: #0969DA;
  --accent-hover: #0757BA;
  --accent-active: #054DA3;
  --accent-soft: #EAF2FC;
  --accent2: #06B6D4;

  /* Chart tokens (concrete, Business Blue series) */
  --chart-series-1: #0969DA;
  --chart-series-2: #8250DF;
  --chart-series-3: #06B6D4;
  --chart-series-4: #BF3989;
  --chart-other: #D1D9E0;
  --chart-accent: #0969DA;
  --chart-accent-2: #06B6D4;
  --chart-positive: #1A7F37;
  --chart-warning: #9A6700;
  --chart-negative: #CF222E;
  --chart-grid: rgba(31, 35, 40, 0.12);
  --chart-axis: #59636E;
  --chart-label: #59636E;
  --chart-tooltip-bg: #FFFFFF;

  /* Semantic tokens */
  --success: #1A7F37;
  --info: #0969DA;
  --reminder: #BC4C00;
  --warning: #9A6700;
  --danger: #CF222E;
  --positive: #1A7F37;
  --negative: #CF222E;
}

/* === Structural variables === */
:root {
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-pill: 999px;
  --font-sans: 'InstrumentSans', 'PingFang SC', 'Microsoft YaHei', 'Noto Sans CJK SC', sans-serif;
  --font-mono: 'GeistMono', 'SFMono-Regular', Consolas, monospace;
  --max: 1120px;
}

/* === Base === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.75;
  color: var(--page-text);
  background: var(--page-bg);
  -webkit-font-smoothing: antialiased;
}
img, svg, canvas { max-width: 100%; height: auto; display: block; }
a { color: var(--page-brand); text-decoration: none; }
a:hover { color: var(--page-brand-hover); text-decoration: underline; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--page-brand);
  outline-offset: 2px;
}
h1, h2, h3, h4 { line-height: 1.3; font-weight: 700; color: var(--page-text); }
h2 { font-size: 26px; }
h3 { font-size: 18px; }
h4 { font-size: 15px; }
p { color: var(--page-text-secondary); }
ul, ol { padding-left: 1.4em; color: var(--page-text-secondary); }
li + li { margin-top: 4px; }
.container { width: calc(100% - 2rem); max-width: var(--max); margin-inline: auto; }
.mono { font-family: var(--font-mono); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}
/* Anchor jump offset for sticky header */
section[id], article[id], .lib__group[id] { scroll-margin-top: 84px; }

/* === Utility bar === */
.utilitybar {
  background: var(--page-deep);
  color: var(--page-deep-text);
  font-size: 12.5px;
  line-height: 1.6;
}
.utilitybar__inner {
  display: flex; flex-wrap: wrap; gap: 4px 24px;
  align-items: center; justify-content: space-between;
  padding-block: 7px;
}
.utilitybar__item { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.utilitybar__item svg { width: 13px; height: 13px; flex: none; }
.utilitybar a { color: #FFFFFF; font-weight: 600; }
.utilitybar a:hover { color: var(--page-brand-soft-strong); text-decoration: none; }

/* === Site header / nav === */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--page-border);
}
.site-header__inner {
  display: flex; align-items: center; gap: var(--space-5);
  padding-block: 12px;
}
.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand:hover { text-decoration: none; }
.brand__mark {
  width: 40px; height: 40px; flex: none;
  display: grid; place-items: center;
  background: var(--page-brand);
  border-radius: var(--radius-md);
  color: #fff;
}
.brand__mark svg { width: 24px; height: 24px; }
.brand__name { font-size: 17px; font-weight: 700; color: var(--page-text); line-height: 1.25; }
.brand__sub { font-size: 11px; color: var(--page-text-muted); letter-spacing: 0.04em; }
.site-nav { margin-left: auto; }
.site-nav ul { display: flex; gap: 4px; list-style: none; padding: 0; }
.site-nav li + li { margin-top: 0; }
.site-nav a {
  display: block; padding: 8px 14px; border-radius: var(--radius-md);
  color: var(--page-text-secondary); font-weight: 600; font-size: 14px;
}
.site-nav a:hover { color: var(--page-brand); background: var(--page-brand-soft); text-decoration: none; }
.site-nav a[aria-current="page"] { color: var(--page-brand); background: var(--page-brand-soft); }
.header-cta {
  flex: none;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 18px; border-radius: var(--radius-md);
  background: var(--page-brand); color: #fff; font-weight: 700; font-size: 14px;
}
.header-cta:hover { background: var(--page-brand-hover); color: #fff; text-decoration: none; }
.header-cta svg { width: 15px; height: 15px; }

/* === Hero (home, stage + media) === */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--page-deep);
}
.hero__media {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: 32% 42%;
  pointer-events: none;
  transform: scaleX(-1);
}
.hero__scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(2px);
}
.hero__inner {
  position: relative; z-index: 2;
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
  max-width: 620px;
}
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13.5px; font-weight: 700; letter-spacing: 0.03em;
  color: var(--page-brand);
  padding: 8px 16px;
  background: var(--page-brand-soft);
  border: 1px solid var(--page-brand-light);
  border-radius: var(--radius-pill);
  margin-bottom: var(--space-4);
}
.hero h1 {
  color: #0A2540;
  font-size: clamp(30px, 4.6vw, 44px);
  line-height: 1.22;
  letter-spacing: -0.01em;
}
.hero__summary {
  margin-top: var(--space-4);
  font-size: 16px; line-height: 1.8;
  color: #3B5570;
  font-weight: 500;
  max-width: 60ch;
}
.hero__summary strong { color: #0A2540; font-weight: 700; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: var(--space-6); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: var(--radius-md);
  font-weight: 700; font-size: 15px; line-height: 1.4;
  border: 1px solid transparent; cursor: pointer;
}
.btn svg { width: 16px; height: 16px; }
.btn--primary { background: var(--page-brand); color: #fff; }
.btn--primary:hover { background: var(--page-brand-hover); color: #fff; text-decoration: none; }
.btn--ghost { background: transparent; color: var(--page-brand); border-color: var(--page-brand); }
.btn--ghost:hover { background: var(--page-brand-soft); color: var(--page-brand); text-decoration: none; }
.btn--outline { background: #fff; color: var(--page-brand); border-color: var(--page-brand); }
.btn--outline:hover { background: var(--page-brand-soft); text-decoration: none; }
.hero__trust {
  display: flex; flex-wrap: wrap; gap: 8px 28px;
  margin-top: var(--space-6); padding: 0; list-style: none;
}
.hero__trust li {
  display: inline-flex; align-items: center; gap: 7px;
  color: #3B5570; font-size: 14.5px; font-weight: 600; margin-top: 0;
}
.hero__trust svg { width: 16px; height: 16px; color: var(--page-brand); flex: none; }

/* === Page intro (sub pages, contained) === */
.page-intro {
  background: var(--page-brand-soft);
  border-bottom: 1px solid var(--page-brand-soft-strong);
}
.page-intro__inner { padding-block: clamp(2.5rem, 6vw, 4rem); max-width: 860px; }
.page-intro__crumb { font-size: 12.5px; color: var(--page-text-muted); margin-bottom: 10px; }
.page-intro__crumb a { color: var(--page-text-muted); }
.page-intro h1 { font-size: clamp(26px, 3.6vw, 36px); color: var(--page-brand-text); }
.page-intro__summary { margin-top: var(--space-3); font-size: 15.5px; color: var(--page-text-secondary); max-width: 68ch; }

/* === Sections === */
.section { padding-block: var(--space-8); }
.section--surface { background: var(--page-surface); }
.section--tight { padding-block: var(--space-7); }
.section__head { max-width: 780px; margin-bottom: var(--space-6); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__kicker {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 0.06em;
  color: var(--page-brand); margin-bottom: 8px;
}
.section__head p { margin-top: 10px; font-size: 15px; }
.section__more { margin-top: var(--space-5); }

/* === Metrics strip === */
.metrics {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-4);
}
.metric {
  background: var(--page-bg); border: 1px solid var(--page-border);
  border-radius: var(--radius-lg); padding: var(--space-5);
}
.metric__value {
  font-size: 32px; font-weight: 700; color: var(--page-brand);
  line-height: 1.15; font-variant-numeric: tabular-nums;
}
.metric__value small { font-size: 16px; font-weight: 700; }
.metric__label { margin-top: 6px; font-size: 13.5px; font-weight: 600; color: var(--page-text); }
.metric__note { margin-top: 2px; font-size: 12.5px; color: var(--page-text-muted); }

/* === Pain points === */
.pain-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-4); }
.pain-card {
  background: var(--page-bg); border: 1px solid var(--page-border);
  border-radius: var(--radius-lg); padding: var(--space-5);
}
.pain-card__title { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; }
.pain-card__title svg { width: 20px; height: 20px; flex: none; color: var(--page-text-muted); margin-top: 2px; }
.pain-card__desc { margin-top: 8px; font-size: 13.5px; color: var(--page-text-muted); }
.pain-card__solve {
  margin-top: var(--space-4); padding-top: var(--space-3);
  border-top: 1px dashed var(--page-border);
  display: flex; gap: 10px; align-items: flex-start;
}
.pain-card__solve svg { width: 18px; height: 18px; flex: none; color: var(--page-brand); margin-top: 2px; }
.pain-card__solve p { font-size: 13.5px; color: var(--page-text); }
.pain-card__solve strong { color: var(--page-brand); }

/* === Category cards (products) === */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
.cat-card {
  display: flex; flex-direction: column;
  background: var(--page-bg); border: 1px solid var(--page-border);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: border-color 0.15s ease;
}
.cat-card:hover { border-color: var(--page-brand); text-decoration: none; }
.cat-card__img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; background: var(--page-surface-muted); }
.cat-card__body { padding: var(--space-4) var(--space-5) var(--space-5); display: flex; flex-direction: column; flex: 1; }
.cat-card__name { font-size: 17px; font-weight: 700; color: var(--page-text); }
.cat-card__desc { margin-top: 6px; font-size: 13px; color: var(--page-text-muted); }
.cat-card__list { margin-top: 10px; padding: 0; list-style: none; }
.cat-card__list li {
  font-size: 13px; color: var(--page-text-secondary); margin-top: 3px;
  padding-left: 14px; position: relative;
}
.cat-card__list li::before {
  content: ""; position: absolute; left: 0; top: 0.72em;
  width: 5px; height: 5px; border-radius: 50%; background: var(--page-brand);
}
.cat-card__link { margin-top: auto; padding-top: var(--space-3); font-size: 13.5px; font-weight: 700; color: var(--page-brand); }

/* === Scene rows (solutions) === */
.scene {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--space-5);
  align-items: center;
}
.scene + .scene { margin-top: var(--space-7); padding-top: var(--space-7); border-top: 1px solid var(--page-border); }
.scene__media { grid-column: span 5; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--page-border); }
.scene__media img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.scene__body { grid-column: span 7; }
.scene--flip .scene__media { order: 2; }
.scene--flip .scene__body { order: 1; }
.scene__tag {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 0.04em;
  color: var(--page-brand); background: var(--page-brand-soft);
  padding: 4px 10px; border-radius: var(--radius-pill); margin-bottom: 10px;
}
.scene__title { font-size: 20px; }
.scene__desc { margin-top: 8px; font-size: 14px; }
.scene__points { margin-top: var(--space-3); padding: 0; list-style: none; }
.scene__points li { display: flex; gap: 8px; font-size: 13.5px; margin-top: 6px; color: var(--page-text-secondary); }
.scene__points svg { width: 15px; height: 15px; flex: none; color: var(--page-brand); margin-top: 4px; }
.scene__link { display: inline-block; margin-top: var(--space-4); font-weight: 700; font-size: 14px; }

/* === How we work (合作方式卡片) === */
.how-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-4); }
.how-card {
  background: #fff; border: 1px solid var(--page-border);
  border-radius: var(--radius-lg); padding: var(--space-6);
  position: relative;
}
.how-card__num {
  display: block; font-size: 13px; font-weight: 700;
  color: var(--page-brand); letter-spacing: 0.08em;
  margin-bottom: var(--space-3);
}
.how-card h3 { font-size: 18px; color: var(--page-text); }
.how-card p {
  margin-top: var(--space-3);
  font-size: 14.5px; color: var(--page-text-secondary);
  line-height: 1.8;
}

/* === Feature list (why us) === */
.feature-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
.feature-list li {
  background: #fff;
  border: 1px solid var(--page-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  display: grid; grid-template-columns: 44px 1fr; gap: var(--space-4);
  margin-top: 0;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.feature-list li:hover {
  border-color: var(--page-brand-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(10, 37, 64, 0.06);
}
.feature-list__icon {
  width: 44px; height: 44px; border-radius: var(--radius-md);
  background: var(--page-brand-soft); color: var(--page-brand);
  display: grid; place-items: center; flex: none;
}
.feature-list__icon svg { width: 22px; height: 22px; }
.feature-list h3 { font-size: 16px; color: var(--page-text); }
.feature-list p { margin-top: 6px; font-size: 13.5px; color: var(--page-text-secondary); line-height: 1.7; }

/* 方案落地区块：加宽容器，图标上置，文字占满卡片宽度 */
.section--wide .container {
  max-width: 1600px;
}
.section--wide .feature-list li {
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.section--wide .feature-list__icon {
  width: 48px; height: 48px;
}
.section--wide .feature-list__icon svg {
  width: 24px; height: 24px;
}
.section--wide .feature-list h3 {
  font-size: 17px;
}
.section--wide .feature-list p {
  font-size: 14.5px;
  line-height: 1.8;
  margin-top: 0;
}

/* === Case cards === */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
.case-card {
  background: var(--page-bg); border: 1px solid var(--page-border);
  border-radius: var(--radius-lg); padding: var(--space-5);
  display: flex; flex-direction: column; gap: var(--space-3);
}
.case-card__tag {
  align-self: flex-start; font-size: 12px; font-weight: 700;
  color: var(--page-brand-text); background: var(--page-brand-soft);
  padding: 3px 10px; border-radius: var(--radius-pill);
}
.case-card h3 { font-size: 16px; }
.case-card dl { display: grid; gap: 8px; font-size: 13px; }
.case-card dt { font-weight: 700; color: var(--page-text-muted); font-size: 12.5px; }
.case-card dd { color: var(--page-text-secondary); }
.case-card__note { margin-top: auto; font-size: 12px; color: var(--page-text-disabled); }

/* === Guide cards === */
.guide-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-4); }
.guide-card {
  display: flex; flex-direction: column; gap: 8px;
  background: var(--page-bg); border: 1px solid var(--page-border);
  border-radius: var(--radius-lg); padding: var(--space-5);
}
a.guide-card:hover { border-color: var(--page-brand); text-decoration: none; }
.guide-card__meta { display: flex; gap: 10px; align-items: center; font-size: 12px; color: var(--page-text-muted); }
.guide-card__cat {
  font-weight: 700; color: var(--page-brand-text); background: var(--page-brand-soft);
  padding: 2px 9px; border-radius: var(--radius-pill);
}
.guide-card h3 { font-size: 16px; color: var(--page-text); }
.guide-card p { font-size: 13px; color: var(--page-text-muted); }
.guide-card__more { margin-top: auto; font-size: 13px; font-weight: 700; color: var(--page-brand); }

/* === Steps (process) === */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--space-4); list-style: none; padding: 0; counter-reset: step; }
.steps li { position: relative; margin-top: 0; padding-top: var(--space-4); }
.steps li::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--page-brand); color: #fff;
  font-weight: 700; font-size: 15px; margin-bottom: 10px;
}
.steps li::after {
  content: ""; position: absolute; top: 17px; left: 44px; right: -6px;
  border-top: 2px dashed var(--page-brand-soft-strong);
}
.steps li:last-child::after { display: none; }
.steps h4 { font-size: 15px; }
.steps p { margin-top: 4px; font-size: 12.5px; color: var(--page-text-muted); }

/* === Tables === */
.table-wrap { width: 100%; overflow-x: auto; border: 1px solid var(--page-border); border-radius: var(--radius-lg); }
table { width: 100%; border-collapse: collapse; background: var(--page-bg); font-size: 13.5px; }
caption {
  caption-side: top; text-align: left;
  font-weight: 700; font-size: 15px; color: var(--page-text);
  padding: var(--space-3) var(--space-4); background: var(--page-surface);
  border-bottom: 1px solid var(--page-border);
}
th, td {
  padding: 10px var(--space-4); border-bottom: 1px solid var(--page-border);
  text-align: left; vertical-align: top; overflow-wrap: anywhere;
}
thead th { background: var(--page-surface); font-size: 12.5px; color: var(--page-text-muted); font-weight: 700; white-space: nowrap; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: var(--page-surface); }
td .mono { font-size: 12.5px; color: var(--page-text-secondary); }

/* === CTA band === */
.cta-band {
  background: linear-gradient(115deg, var(--page-deep) 0%, var(--page-deep) 55%, var(--page-brand-active) 135%);
  border-radius: var(--radius-lg);
  color: #fff;
  padding: var(--space-7);
  display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--space-7);
  align-items: center;
}
.cta-band h2 { color: #fff; font-size: clamp(22px, 3vw, 30px); text-shadow: 0 1px 8px rgba(6, 24, 44, 0.45); }
.cta-band p { color: #E4EEF8; margin-top: 10px; font-size: 14.5px; text-shadow: 0 1px 6px rgba(6, 24, 44, 0.4); }
.cta-band__contact { display: flex; flex-wrap: wrap; gap: 10px 14px; margin-top: var(--space-5); }
.cta-band__contact a {
  display: inline-flex; align-items: center; gap: 8px;
  color: #fff; font-weight: 700; font-size: 16px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: var(--radius-pill);
  padding: 9px 16px;
}
.cta-band__contact a:hover { background: rgba(255, 255, 255, 0.26); color: #fff; text-decoration: none; }
.cta-band__contact svg { width: 17px; height: 17px; }
.quote-form {
  background: #fff; border-radius: var(--radius-lg);
  padding: var(--space-5);
  display: grid; gap: var(--space-3);
}
.quote-form__title { font-size: 16px; font-weight: 700; color: var(--page-text); }
.quote-form label { font-size: 12.5px; font-weight: 600; color: var(--page-text-secondary); display: grid; gap: 5px; }
.quote-form input, .quote-form textarea {
  font: inherit; font-size: 14px; color: var(--page-text);
  padding: 10px 12px; border: 1px solid var(--page-border); border-radius: var(--radius-md);
  background: var(--page-bg); width: 100%;
}
.quote-form input::placeholder, .quote-form textarea::placeholder { color: var(--page-text-disabled); }
.quote-form textarea { min-height: 84px; resize: vertical; }
.quote-form .btn { width: 100%; }
.quote-form__note { font-size: 12px; color: var(--page-text-muted); text-align: center; }

/* === Callout === */
.callout {
  background: var(--page-brand-soft); border: 1px solid var(--page-brand-soft-strong);
  border-radius: var(--radius-lg); padding: var(--space-4) var(--space-5);
  display: flex; gap: 12px; align-items: flex-start;
}
.callout svg { width: 18px; height: 18px; flex: none; color: var(--page-brand); margin-top: 3px; }
.callout p { font-size: 13.5px; color: var(--page-brand-text); }

/* === Article (guide detail) === */
.article { max-width: 800px; }
.article h2 { font-size: 21px; margin-top: var(--space-7); }
.article h3 { font-size: 16.5px; margin-top: var(--space-6); }
.article p, .article ul, .article ol { margin-top: var(--space-3); font-size: 14.5px; }
.article .table-wrap { margin-top: var(--space-4); }
.article__meta { display: flex; gap: 14px; font-size: 12.5px; color: var(--page-text-muted); margin-top: var(--space-3); }

/* === Two-col text block === */
.split { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--space-6); align-items: center; }
.split__media { grid-column: span 5; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--page-border); }
.split__media img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; }
.split__body { grid-column: span 7; }
.split--flip .split__media { order: 2; }
.split--flip .split__body { order: 1; }

/* === Timeline === */
.timeline { list-style: none; padding: 0; }
.timeline li {
  position: relative; margin-top: 0;
  padding: 0 0 var(--space-5) 28px;
  border-left: 2px solid var(--page-brand-soft-strong);
}
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: -7px; top: 6px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--page-brand); border: 2px solid #fff;
}
.timeline h4 { font-size: 15px; }
.timeline p { margin-top: 3px; font-size: 13px; color: var(--page-text-muted); }

/* === Contact cards === */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
.contact-card {
  background: var(--page-bg); border: 1px solid var(--page-border);
  border-radius: var(--radius-lg); padding: var(--space-5);
  display: flex; gap: 14px; align-items: flex-start;
}
.contact-card__icon {
  width: 42px; height: 42px; flex: none; border-radius: var(--radius-md);
  background: var(--page-brand-soft); color: var(--page-brand);
  display: grid; place-items: center;
}
.contact-card__icon svg { width: 21px; height: 21px; }
.contact-card h3 { font-size: 14px; color: var(--page-text-muted); font-weight: 600; }
.contact-card p { font-size: 15.5px; font-weight: 700; color: var(--page-text); margin-top: 3px; }
.contact-card small { display: block; font-size: 12.5px; color: var(--page-text-muted); margin-top: 3px; font-weight: 400; }

/* === Footer === */
.site-footer { background: var(--page-deep); color: var(--page-deep-text); margin-top: var(--space-8); }
.site-footer__main {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: var(--space-6);
  padding-block: var(--space-7);
}
.site-footer h2, .site-footer h3 { color: #fff; font-size: 14.5px; margin-bottom: var(--space-3); }
.site-footer p, .site-footer li { font-size: 13px; color: var(--page-deep-text); }
.site-footer ul { list-style: none; padding: 0; }
.site-footer li + li { margin-top: 7px; }
.site-footer a { color: var(--page-deep-text); }
.site-footer a:hover { color: #fff; }
.footer-brand__name { font-size: 17px; font-weight: 700; color: #fff; }
.footer-brand__sub { font-size: 11.5px; color: var(--page-deep-muted); letter-spacing: 0.04em; margin-top: 2px; }
.footer-brand__desc { margin-top: var(--space-3); max-width: 34ch; }
.footer-contact li { display: flex; gap: 8px; align-items: flex-start; }
.footer-contact svg { width: 14px; height: 14px; flex: none; margin-top: 4px; color: var(--page-deep-muted); }
.site-footer__bar {
  border-top: 1px solid rgba(185, 207, 228, 0.18);
  padding-block: var(--space-4);
  display: flex; flex-wrap: wrap; gap: 6px 24px; justify-content: space-between;
  font-size: 12.5px; color: var(--page-deep-muted);
}

/* === Responsive === */
@media (max-width: 1020px) {
  .cat-grid, .case-grid, .contact-grid, .feature-list { grid-template-columns: repeat(2, 1fr); }
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .steps li::after { display: none; }
  .cta-band { grid-template-columns: 1fr; gap: var(--space-6); padding: var(--space-6); }
  .site-footer__main { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 14px; }
  .how-grid { grid-template-columns: 1fr; }
  .how-card { padding: var(--space-5); }
  .utilitybar__inner { justify-content: center; text-align: center; }
  .utilitybar__item--hide-m { display: none; }
  .site-header__inner { flex-wrap: wrap; gap: var(--space-3); padding-block: 10px; }
  .site-nav { order: 3; width: 100%; margin-left: 0; overflow-x: auto; }
  .site-nav ul { gap: 2px; }
  .site-nav a { padding: 7px 11px; font-size: 13.5px; white-space: nowrap; }
  .header-cta { margin-left: auto; padding: 8px 14px; font-size: 13px; }
  .hero__inner { padding-block: 3.5rem; }
  .hero__media { object-position: 72% 50%; }
  .hero__scrim {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(1px);
  }
  .section { padding-block: var(--space-7); }
  .pain-grid, .cat-grid, .guide-grid, .case-grid, .contact-grid, .feature-list { grid-template-columns: 1fr; }
  .metrics { grid-template-columns: repeat(2, 1fr); gap: var(--space-3); }
  .metric { padding: var(--space-4); }
  .metric__value { font-size: 26px; }
  .scene, .split { grid-template-columns: 1fr; gap: var(--space-4); }
  .scene__media, .scene__body, .split__media, .split__body { grid-column: auto; }
  .scene--flip .scene__media, .split--flip .split__media { order: 0; }
  .steps { grid-template-columns: 1fr; gap: var(--space-3); }
  .steps li { padding-top: 0; padding-left: 46px; }
  .steps li::before { position: absolute; left: 0; top: 0; }
  .cta-band { padding: var(--space-5); }
  .feature-list li { grid-template-columns: 38px 1fr; gap: var(--space-3); }
  .feature-list__icon { width: 38px; height: 38px; }
  .site-footer__main { grid-template-columns: 1fr; gap: var(--space-5); padding-block: var(--space-6); }
  thead th, td { padding: 8px 10px; }
}

/* === Motion & print === */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print, (forced-colors: active) {
  .utilitybar, .site-header, .hero__media, .hero__scrim, .cta-band, .site-footer { display: none !important; }
  .hero { background: #fff; }
  .hero h1, .hero__summary, .hero__trust li { color: #000; }
  .section { padding-block: 18px; }
}

/* === Guides: full articles === */
.article .article__title { font-size: 26px; line-height: 1.3; letter-spacing: -0.01em; margin-top: 0; }
.article .article__title + .article__meta { margin-top: var(--space-3); }
.article + .article { margin-top: var(--space-8); padding-top: var(--space-7); border-top: 1px solid var(--page-border); }
.article > p:first-of-type { font-size: 15px; }
.article ul li, .article ol li { margin-top: 6px; }
.article ul li::marker { color: var(--page-brand); }

/* 单篇文章页 */
.article--single { max-width: 760px; margin: 0 auto; }
.article--single .article__title { font-size: clamp(26px, 3.5vw, 34px); line-height: 1.3; font-weight: 800; color: var(--page-text); }
.article-crumb {
  max-width: 760px; margin: 0 auto var(--space-5);
  display: flex; align-items: center; gap: 12px;
  font-size: 13.5px;
}
.article-crumb a { color: var(--page-text-secondary); }
.article-crumb a:hover { color: var(--page-brand); text-decoration: none; }
.article-crumb__cat {
  font-size: 12px; font-weight: 700; color: var(--page-brand);
  background: var(--page-brand-soft); padding: 3px 10px;
  border-radius: var(--radius-pill);
}
.related-posts {
  max-width: 100%; margin-top: var(--space-9); padding-top: var(--space-7);
  border-top: 1px solid var(--page-border);
}
.related-posts__title {
  font-size: 18px; font-weight: 700; margin-bottom: var(--space-4);
  color: var(--page-text);
}

/* 文章内 CTA 框 */
.article-cta-box {
  margin-top: var(--space-7);
  padding: var(--space-5) var(--space-5);
  background: var(--page-brand-soft);
  border: 1px solid var(--page-brand-light);
  border-radius: var(--radius-md);
  display: flex; gap: var(--space-4); align-items: flex-start;
}
.article-cta-box__icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  background: var(--page-brand);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.article-cta-box__icon svg { width: 22px; height: 22px; }
.article-cta-box h3 { font-size: 17px; font-weight: 700; margin: 0 0 6px; color: var(--page-text); }
.article-cta-box p { margin: 0; font-size: 14px; color: var(--page-text-secondary); line-height: 1.7; }

/* === Guides: library index === */
.lib { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-4); margin-top: var(--space-6); }
.lib__group { border: 1px solid var(--page-border); border-radius: var(--radius-md); background: #fff; padding: var(--space-5); }
.lib__group > h3 { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-3); font-size: 15.5px; }
.lib__group > h3 span { font-size: 12px; font-weight: 500; color: var(--page-text-muted); white-space: nowrap; }
.lib__list { list-style: none; margin: var(--space-2) 0 0; padding: 0; }
.lib__item { padding: var(--space-3) 0; border-top: 1px solid var(--page-border); }
.lib__item:first-child { border-top: 0; }
.lib__item strong { display: block; font-size: 14px; font-weight: 600; line-height: 1.5; }
.lib__item p { margin: 4px 0 0; font-size: 12.5px; line-height: 1.65; color: var(--page-text-muted); }
.lib__note { margin-top: var(--space-5); font-size: 13px; line-height: 1.7; color: var(--page-text-muted); }

/* 系列导航（采购实务专栏） */
.series-nav { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.series-nav a {
  display: inline-flex; align-items: center;
  padding: 9px 20px; border-radius: var(--radius-pill);
  border: 1px solid var(--page-border); background: #fff;
  font-size: 14.5px; font-weight: 600; color: var(--page-text-secondary);
  transition: 0.2s;
}
.series-nav a:hover { border-color: var(--page-brand); color: var(--page-brand); text-decoration: none; }

/* ===== 博客式文章卡片（马良点睛风格） ===== */
.insights-page {
  background: linear-gradient(180deg, var(--page-brand-soft) 0, #fff 280px);
}
.insights-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.insights-head h1 {
  font-size: clamp(30px, 4.2vw, 42px);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--page-text);
}
.insights-head .insights-sub {
  font-size: 17px;
  color: var(--page-text-secondary);
  margin-top: 14px;
  line-height: 1.7;
}
.series-section {
  margin-bottom: 56px;
  scroll-margin-top: 96px;
}
.series-section:last-child {
  margin-bottom: 0;
}
.series-head {
  margin-bottom: 20px;
}
.series-head h2 {
  font-size: 25px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--page-text);
}
.series-head p {
  font-size: 14.5px;
  color: var(--page-text-secondary);
}
.post-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.post-card {
  background: #fff;
  border: 1px solid var(--page-border);
  border-radius: var(--radius-md);
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: 0.2s;
  cursor: pointer;
}
.post-card:hover {
  border-color: var(--page-brand);
  box-shadow: 0 8px 22px rgba(9, 105, 218, 0.12);
  transform: translateY(-3px);
  text-decoration: none;
}
.post-card h3 {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--page-text);
  line-height: 1.45;
}
.post-card .post-card__excerpt {
  font-size: 13.5px;
  color: var(--page-text-secondary);
  line-height: 1.65;
  flex: 1;
}
.post-card .post-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}
.post-card .post-card__tags span {
  font-size: 11.5px;
  color: var(--page-brand);
  background: var(--page-brand-soft);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-weight: 600;
}

@media (max-width: 900px) {
  .lib { grid-template-columns: 1fr; }
  .article .article__title { font-size: 22px; }
  .post-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .post-cards { grid-template-columns: 1fr; }
  .insights-head h1 { font-size: 26px; }
  .insights-head .insights-sub { font-size: 15px; }
}

/* === QR contact card (replaces quote form) === */
.qr-card {
  background: linear-gradient(155deg, #0F3460 0%, #0A2540 55%, #091B30 100%);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  display: grid; grid-template-columns: auto 1fr; gap: var(--space-5); align-items: center;
  box-shadow: 0 8px 32px rgba(10, 37, 64, 0.2);
}
.qr-card__img {
  width: 168px; height: 168px; object-fit: cover;
  border-radius: var(--radius-md);
  border: 4px solid #fff;
  background: #fff;
  display: block;
}
.qr-card__body { display: grid; gap: 10px; align-content: center; }
.qr-card__title { font-size: 18px; font-weight: 700; color: #FFFFFF; line-height: 1.4; }
.qr-card__text { font-size: 13.5px; color: #C8D8E8; line-height: 1.65; margin: 0; }
.qr-card__text .qr-card__note {
  display: block;
  margin-top: 3px;
  color: #8FA9C4;
  font-size: 12.5px;
}

/* === Brand wall === */
.brand-wall { display: grid; gap: var(--space-4); margin-top: var(--space-6); }
.brand-wall__group {
  border: 1px solid var(--page-border); border-radius: var(--radius-md);
  background: #fff; padding: var(--space-4) var(--space-5);
}
.brand-wall__group > h3 {
  display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-3);
  font-size: 14.5px; color: var(--page-brand-text);
}
.brand-wall__group > h3 span { font-size: 12px; font-weight: 500; color: var(--page-text-muted); white-space: nowrap; }
.brand-wall__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--space-3); }
.brand-wall__tags span {
  padding: 5px 13px; background: var(--page-surface);
  border: 1px solid var(--page-border); border-radius: var(--radius-pill);
  font-size: 13px; color: var(--page-text); white-space: nowrap;
}

/* === Credential evidence wall === */
.cred-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); margin-top: var(--space-6); }
.cred {
  border: 1px solid var(--page-border); border-radius: var(--radius-md);
  background: #fff; overflow: hidden; margin: 0;
  display: grid; grid-template-rows: 210px auto;
}
.cred img { width: 100%; height: 100%; object-fit: contain; background: #fff; padding: 10px; display: block; }
.cred figcaption {
  padding: 10px var(--space-3) 12px; border-top: 1px solid var(--page-border);
  font-size: 12.5px; line-height: 1.55; color: var(--page-text-secondary);
}
.cred figcaption strong { display: block; font-size: 13px; color: var(--page-text); }

/* === Qualification checklist === */
.qual-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3);
  list-style: none; padding: 0; margin: var(--space-5) 0 0;
}
.qual-grid li {
  display: flex; gap: 9px; align-items: flex-start;
  padding: 11px 13px; background: #fff;
  border: 1px solid var(--page-border); border-radius: var(--radius-md);
  font-size: 13.5px; line-height: 1.5; color: var(--page-text); margin-top: 0;
}
.qual-grid svg { width: 16px; height: 16px; flex: none; color: var(--page-brand); margin-top: 2px; }
.qual-grid small { display: block; font-size: 12px; color: var(--page-text-muted); }

@media (max-width: 1020px) {
  .cred-grid { grid-template-columns: repeat(2, 1fr); }
  .qual-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .qr-card { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .qr-card__img { width: 156px; height: 156px; }
  .qr-card__body { justify-items: center; }
  .cred-grid { grid-template-columns: 1fr; }
  .cred { grid-template-rows: 240px auto; }
  .qual-grid { grid-template-columns: 1fr; }
}

/* === Contact card with QR image === */
.contact-card__qr {
  width: 64px; height: 64px; flex: none;
  border-radius: var(--radius-md); border: 1px solid var(--page-border);
  object-fit: cover; display: block;
}

/* === Brand logo & certificate wall === */
.brand__logo { display: block; height: 48px; width: auto; }
.footer-brand__logo {
  display: block; height: 56px; width: auto;
  background: #fff; border-radius: var(--radius-md);
  padding: 8px 14px; margin-bottom: var(--space-3);
}
.cred-grid--four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1020px) {
  .cred-grid--four { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .brand__logo { height: 40px; }
  .cred-grid--four { grid-template-columns: 1fr; }
  .cred-grid--four .cred { grid-template-rows: 260px auto; }
}
