/* =============================================================================
 *  嘉瑞精密 Kerry Precise — 站点样式
 *  完全自包含：不依赖任何 CDN（Tailwind / Google Fonts / Font Awesome 均已移除）
 *  改主题只需改下面 :root 里的变量。
 * ========================================================================== */

/* ----------------------------------------------------------- 设计变量 --- */
:root {
  --brand: #c0191f;
  --brand-dark: #98121a;
  --brand-soft: #fdecec;
  --ink: #0f172a;
  --ink-2: #334155;
  --body: #475569;
  --muted: #64748b;
  --line: #e2e8f0;
  --line-2: #cbd5e1;
  --bg: #ffffff;
  --surface: #f8fafc;
  --surface-2: #f1f5f9;
  --dark: #0f172a;
  --dark-2: #1e293b;

  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06);
  --shadow: 0 6px 20px rgba(15, 23, 42, .08);
  --shadow-lg: 0 18px 40px rgba(15, 23, 42, .12);

  --nav-h: 68px;
  --top-h: 34px;
  --wrap: 1200px;

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC",
    sans-serif;
  --font-num: "SF Mono", ui-monospace, Menlo, Consolas, "Courier New", monospace;
}

/* -------------------------------------------------------------- Reset --- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
img { height: auto; display: block; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font: inherit; color: inherit; }
table { border-collapse: collapse; width: 100%; }
strong { color: var(--ink); font-weight: 600; }

/* 键盘可达性：保留且强化焦点指示 */
:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 2px;
  border-radius: 4px;
}

.u-sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--brand); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 8px;
  font-weight: 600; transition: top .2s;
}
.skip-link:focus { top: 0; text-decoration: none; }

/* ------------------------------------------------------------ Layout --- */
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap--narrow { max-width: 860px; }
.section { padding: 72px 0; }
.section--tight { padding: 48px 0; }
.section--surface { background: var(--surface); }
.section--dark { background: var(--dark); color: #cbd5e1; }
.section--brand { background: var(--brand); color: #fff; }

.sec-head { margin-bottom: 36px; }
.sec-head--center { text-align: center; max-width: 720px; margin-inline: auto; }
.sec-head h2 {
  font-size: clamp(26px, 3.2vw, 34px);
  line-height: 1.25; color: var(--ink); font-weight: 800; letter-spacing: -.01em;
}
.sec-head p { margin-top: 10px; color: var(--muted); font-size: 16px; }
.sec-head .eyebrow {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--brand); margin-bottom: 10px;
}

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

/* ------------------------------------------------------------ 顶栏 --- */
.tp { background: var(--dark); color: #94a3b8; font-size: 13px; height: var(--top-h); }
.tp .wrap { display: flex; align-items: center; justify-content: space-between; height: var(--top-h); }
.tp a { color: #cbd5e1; }
.tp ul { display: flex; gap: 20px; }
.tp .lang { display: flex; gap: 8px; align-items: center; }
.tp .lang button {
  background: none; border: 0; cursor: pointer; color: #94a3b8;
  font-size: 13px; padding: 2px 4px;
}
.tp .lang button.is-active { color: #fff; font-weight: 700; }
.tp .lang span { color: #475569; }

/* ------------------------------------------------------------ 导航 --- */
.hd {
  position: sticky; top: 0; z-index: 100; background: #fff;
  border-bottom: 1px solid var(--line); transition: box-shadow .2s;
}
.hd.is-stuck { box-shadow: var(--shadow-sm); }
.hd__bar { display: flex; align-items: center; height: var(--nav-h); gap: 24px; }

.brand { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.brand:hover { text-decoration: none; }
.brand__mark {
  width: 38px; height: 38px; border-radius: 8px; background: var(--brand);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 15px; letter-spacing: -.5px; flex: 0 0 auto;
}
/* 真实品牌 logo（书法体「嘉瑞」横幅） */
.brand__logo { display: block; flex: 0 0 auto; }
.brand__logo picture, .brand__logo img { display: block; }
.brand__logo img { width: 60px; height: 30px; object-fit: contain; object-position: left center; }
.brand__txt { display: flex; flex-direction: column; line-height: 1.15; }
.brand__txt b { color: var(--ink); font-size: 15px; letter-spacing: .04em; }
.brand__txt span { color: var(--muted); font-size: 12px; }

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a {
  color: var(--ink-2); font-weight: 600; font-size: 15px;
  padding: 8px 12px; border-radius: 8px; transition: background .15s, color .15s;
}
.nav a:hover { background: var(--surface-2); color: var(--brand); text-decoration: none; }
.nav a.is-active { color: var(--brand); }

.burger {
  display: none; margin-left: auto; width: 42px; height: 42px;
  border: 1px solid var(--line); background: #fff; border-radius: 8px; cursor: pointer;
  align-items: center; justify-content: center;
}
.burger span { display: block; width: 18px; height: 2px; background: var(--ink); position: relative; }
.burger span::before, .burger span::after {
  content: ''; position: absolute; left: 0; width: 18px; height: 2px; background: var(--ink);
}
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }

.mnav { display: none; border-top: 1px solid var(--line); background: #fff; }
.mnav.is-open { display: block; }
.mnav ul { padding: 8px 0 16px; }
.mnav a {
  display: block; padding: 12px 24px; color: var(--ink-2); font-weight: 600;
  border-bottom: 1px solid var(--surface-2);
}
.mnav a:hover { background: var(--surface); text-decoration: none; }

/* ------------------------------------------------------------ 按钮 --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: var(--radius); font-weight: 700; font-size: 15px;
  border: 1px solid transparent; cursor: pointer; transition: transform .15s, background .15s, color .15s;
  text-align: center;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-dark); color: #fff; }
.btn--ghost { border-color: var(--line-2); color: var(--ink); background: #fff; }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn--light { background: #fff; color: var(--brand); }
.btn--light:hover { background: #fff; color: var(--brand-dark); }
.btn--outline-light { border-color: rgba(255, 255, 255, .6); color: #fff; }
.btn--sm { padding: 8px 14px; font-size: 14px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.arrow { display: inline-block; transition: transform .15s; }
a:hover .arrow { transform: translateX(3px); }

/* ------------------------------------------------------------ Hero --- */
.hero {
  background: linear-gradient(115deg, #fff 0%, #fff 46%, var(--brand-soft) 100%);
  border-bottom: 1px solid var(--line); overflow: hidden;
}
.hero__in {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px;
  align-items: center; padding: 64px 24px;
}
.eyebrow-tag {
  display: inline-block; background: var(--brand); color: #fff; font-size: 12px;
  font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 4px;
}
.hero h1 {
  margin-top: 16px; font-size: clamp(30px, 4.4vw, 46px); line-height: 1.16;
  color: var(--ink); font-weight: 800; letter-spacing: -.02em;
}
.hero h1 .accent { color: var(--brand); display: block; }
.hero p { margin-top: 18px; font-size: 17px; color: var(--ink-2); max-width: 46ch; }
.hero .btn-row { margin-top: 28px; }
.hero__note { margin-top: 20px; font-size: 14px; color: var(--muted); }

.hero__fig { position: relative; }
.hero__fig img {
  width: 100%; border-radius: var(--radius-lg); border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}
.stats {
  display: flex; gap: 28px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 16px 22px; box-shadow: var(--shadow);
  margin-top: -28px; position: relative; z-index: 2; width: fit-content; margin-left: auto; margin-right: auto;
}
.stats div span {
  display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .08em;
  color: var(--muted); font-weight: 600;
}
.stats div b {
  font-size: 20px; color: var(--ink); font-weight: 800;
  font-family: var(--font-num); letter-spacing: -.02em;
}

/* ------------------------------------------------------------ 卡片 --- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column;
  transition: box-shadow .18s, transform .18s, border-color .18s;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: var(--line-2); }
.card__media { background: var(--surface-2); aspect-ratio: 4 / 3; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.card__media img, .card__media picture { width: 100%; height: 100%; object-fit: contain; }
.card__body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card__body h3 { font-size: 17px; color: var(--ink); font-weight: 700; line-height: 1.4; }
.card__body h3 a { color: inherit; }
.card__body h3 a:hover { color: var(--brand); text-decoration: none; }
.card__meta { font-size: 13px; color: var(--muted); font-family: var(--font-num); }
.card__text { font-size: 14px; color: var(--body); }
.card__foot { margin-top: auto; padding-top: 8px; }

.badge {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; padding: 3px 8px; border-radius: 4px;
  background: var(--brand-soft); color: var(--brand-dark);
}
.badge--new { background: #fef3c7; color: #92400e; }
.badge--coming { background: var(--surface-2); color: var(--muted); }
.badge--soft { background: var(--surface-2); color: var(--ink-2); }

/* 解决方案卡 */
.sol-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 24px; display: flex; flex-direction: column; gap: 12px; height: 100%;
  transition: box-shadow .18s, transform .18s, border-color .18s;
}
.sol-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: var(--line-2); }
.sol-card h3 { font-size: 18px; color: var(--ink); font-weight: 700; }
.sol-card p { font-size: 14px; }
.sol-card .foot { margin-top: auto; padding-top: 6px; }
.sol-ico {
  width: 42px; height: 42px; border-radius: 10px; background: var(--brand-soft);
  display: flex; align-items: center; justify-content: center; color: var(--brand);
}

/* 优势条目 */
.adv { display: flex; gap: 14px; align-items: flex-start; }
.adv__n {
  flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%;
  background: var(--brand); color: #fff; display: flex; align-items: center;
  justify-content: center; font-weight: 800; font-size: 14px;
}
.adv h3 { font-size: 17px; color: var(--ink); font-weight: 700; }
.adv p { font-size: 14px; margin-top: 4px; }

/* 案例卡 */
.case { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; }
.case h3 { font-size: 17px; color: var(--ink); font-weight: 700; margin-top: 12px; }
.case p { font-size: 14px; margin-top: 8px; }

/* 新闻卡 */
.post { display: flex; gap: 18px; align-items: flex-start; }
.post__date {
  flex: 0 0 auto; width: 62px; text-align: center; background: var(--surface);
  border: 1px solid var(--line); border-radius: 8px; padding: 8px 0;
}
.post__date b { display: block; font-size: 22px; color: var(--ink); line-height: 1; font-family: var(--font-num); }
.post__date span { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.post h3 { font-size: 17px; color: var(--ink); font-weight: 700; line-height: 1.45; }
.post p { font-size: 14px; margin-top: 6px; }

/* ------------------------------------------------------------ CTA --- */
.cta { background: var(--dark); color: #cbd5e1; }
.cta__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta h2 { color: #fff; font-size: clamp(24px, 3vw, 30px); font-weight: 800; }
.cta p { margin-top: 8px; }

/* ------------------------------------------------- 面包屑 / 页头 --- */
.crumb { padding: 14px 0; border-bottom: 1px solid var(--line); background: var(--surface); font-size: 13px; }
.crumb ol { display: flex; flex-wrap: wrap; gap: 8px; color: var(--muted); }
.crumb a { color: var(--muted); }
.crumb a:hover { color: var(--brand); }
.crumb li + li::before { content: '/'; margin-right: 8px; color: var(--line-2); }

.page-head { background: linear-gradient(115deg, #fff 0%, #fff 46%, var(--brand-soft) 100%); border-bottom: 1px solid var(--line); }
.page-head__in { padding: 40px 24px; }
.page-head h1 { font-size: clamp(28px, 3.6vw, 38px); color: var(--ink); font-weight: 800; letter-spacing: -.02em; }
.page-head p { margin-top: 10px; color: var(--ink-2); max-width: 62ch; }

/* ------------------------------------------------------------ 筛选 --- */
.filters {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
  padding: 20px 0; border-bottom: 1px solid var(--line); margin-bottom: 32px;
}
.filters > span { font-size: 13px; color: var(--muted); font-weight: 600; margin-right: 4px; }
.chip {
  border: 1px solid var(--line-2); background: #fff; border-radius: 999px;
  padding: 7px 16px; font-size: 14px; font-weight: 600; color: var(--ink-2); cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.chip:hover { border-color: var(--brand); color: var(--brand); }
.chip.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }
.result-count { margin-left: auto; font-size: 13px; color: var(--muted); }
.empty { padding: 60px 0; text-align: center; color: var(--muted); }

/* ------------------------------------------------------------ 详情页 --- */
.detail { display: grid; grid-template-columns: 1.6fr 1fr; gap: 48px; padding: 48px 0 72px; align-items: start; }
.detail__main h2 { font-size: 22px; color: var(--ink); font-weight: 800; margin: 40px 0 16px; scroll-margin-top: 130px; }
.detail__main h3 { font-size: 17px; color: var(--ink); font-weight: 700; margin-bottom: 6px; }
.detail__main p + p { margin-top: 12px; }
.detail__lead { font-size: 17px; color: var(--ink-2); }

.spec-group { margin-bottom: 24px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.spec-group > h4 {
  background: var(--surface); padding: 10px 16px; font-size: 13px; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase; color: var(--ink-2);
  border-bottom: 1px solid var(--line);
}
.spec-group table { font-size: 14px; }
.spec-group th, .spec-group td { text-align: left; padding: 10px 16px; border-bottom: 1px solid var(--line); }
.spec-group tr:last-child th, .spec-group tr:last-child td { border-bottom: 0; }
.spec-group th { width: 40%; font-weight: 600; color: var(--ink-2); }
.spec-group td { color: var(--ink); }
.spec-group td.tbd { color: var(--line-2); }

.feat-list { display: grid; gap: 18px; }
.feat { border-left: 3px solid var(--brand); padding-left: 16px; }
.feat p { margin-top: 6px; font-size: 15px; }

.ticks { display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.ticks li::before {
  content: ''; flex: 0 0 auto; width: 8px; height: 8px; margin-top: 9px;
  border-radius: 50%; background: var(--brand);
}

.steps { counter-reset: s; display: grid; gap: 16px; }
.steps li { counter-increment: s; display: flex; gap: 14px; align-items: flex-start; }
.steps li::before {
  content: counter(s); flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%;
  background: var(--brand-soft); color: var(--brand-dark); font-weight: 800; font-size: 13px;
  display: flex; align-items: center; justify-content: center;
}

/* 侧栏 */
.side { position: sticky; top: 120px; display: grid; gap: 20px; }
.side__box { border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; overflow: hidden; }
.side__box > h4 {
  background: var(--dark); color: #fff; padding: 12px 18px; font-size: 14px; font-weight: 700;
  letter-spacing: .02em;
}
.side__box .inner { padding: 18px; display: grid; gap: 14px; }
.side__box img { width: 100%; border-radius: var(--radius); border: 1px solid var(--line); }

.kv { display: grid; gap: 8px; font-size: 14px; }
.kv div { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px dashed var(--line); padding-bottom: 6px; }
.kv div:last-child { border-bottom: 0; }
.kv span { color: var(--muted); }
.kv b { color: var(--ink); font-weight: 600; text-align: right; }

.mini-list { display: grid; gap: 10px; }
.mini {
  display: flex; gap: 12px; align-items: center; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 10px; background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.mini:hover { border-color: var(--brand); box-shadow: var(--shadow-sm); text-decoration: none; }
.mini img { width: 56px; height: 56px; object-fit: cover; border-radius: 6px; flex: 0 0 auto; background: var(--surface-2); }
.mini b { display: block; font-size: 14px; color: var(--ink); }
.mini span { font-size: 12px; color: var(--muted); }

.dl { display: grid; gap: 10px; }
.dl a, .dl .dl-off {
  display: flex; align-items: center; gap: 10px; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: var(--radius); font-size: 14px;
  background: #fff; transition: border-color .15s, background .15s;
}
.dl a:hover { border-color: var(--brand); background: var(--brand-soft); text-decoration: none; }
.dl .dl-off { color: var(--muted); border-style: dashed; }
.dl .ico {
  width: 30px; height: 30px; flex: 0 0 auto; border-radius: 6px; background: var(--brand-soft);
  color: var(--brand); display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 800;
}
.dl .ico--off { background: var(--surface-2); color: var(--muted); }
.dl .go { margin-left: auto; font-size: 12px; font-weight: 700; }

/* 图库 */
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 24px; }
.gallery img { border-radius: var(--radius); border: 1px solid var(--line); }
.gallery img:first-child { grid-column: 1 / -1; }

/* ------------------------------------------------------------ 表单 --- */
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink); }
.field label .req { color: var(--brand); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 15px; padding: 11px 12px; border: 1px solid var(--line-2);
  border-radius: var(--radius); background: #fff; color: var(--ink); width: 100%;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--brand); outline: 3px solid rgba(192, 25, 31, .18); outline-offset: 0;
}
.field .hint { font-size: 12px; color: var(--muted); }
.form-msg { font-size: 14px; padding: 10px 14px; border-radius: var(--radius); }
.form-msg--ok { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.form-msg--err { background: var(--brand-soft); color: var(--brand-dark); border: 1px solid #fecaca; }

.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; padding: 48px 0 72px; align-items: start; }

/* ------------------------------------------------------------ 页脚 --- */
.ft { background: var(--dark); color: #94a3b8; padding: 52px 0 24px; font-size: 14px; }
.ft__cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.ft h4 { color: #fff; font-size: 14px; font-weight: 700; margin-bottom: 12px; letter-spacing: .02em; }
.ft ul { display: grid; gap: 8px; }
.ft a { color: #94a3b8; }
.ft a:hover { color: #fff; }
.ft .ft-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.ft .ft-brand b { color: #fff; font-size: 16px; letter-spacing: .05em; }
.ft .ft-brand .m {
  display: block; flex: 0 0 auto;
}
.ft .ft-brand .m picture, .ft .ft-brand .m img { display: block; }
.ft .ft-brand .m img { width: 56px; height: 28px; object-fit: contain; object-position: left center; }
.ft__bottom {
  margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--dark-2);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px;
}
.ft__bottom p { color: #64748b; }

/* 回到顶部 */
.totop {
  position: fixed; right: 20px; bottom: 20px; width: 44px; height: 44px; border-radius: 50%;
  background: var(--brand); color: #fff; border: 0; cursor: pointer; z-index: 90;
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow);
  opacity: 0; pointer-events: none; transition: opacity .2s;
}
.totop.is-on { opacity: 1; pointer-events: auto; }

/* --------------------------------------------- 整卡可点（单一链接） --- */
.card, .sol-card { position: relative; }
.card__link::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.card a:not(.card__link), .card .dl a { position: relative; z-index: 2; }

/* --------------------------------------------------------- 产品详情页 --- */
.pd-hero { background: linear-gradient(115deg, #fff 0%, #fff 46%, var(--brand-soft) 100%); border-bottom: 1px solid var(--line); }
.pd-hero__in {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
  padding: 36px 24px; max-width: var(--wrap); margin: 0 auto;
}
.pd-hero__media img {
  width: 100%; border-radius: var(--radius-lg); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.pd-hero__txt h1 { font-size: clamp(25px, 3.2vw, 34px); line-height: 1.2; color: var(--ink); font-weight: 800; letter-spacing: -.02em; }
.pd-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.pd-model { font-family: var(--font-num); color: var(--brand); font-weight: 700; font-size: 15px; margin-top: 6px; }
.pd-tagline { font-size: 16px; color: var(--ink-2); margin-top: 10px; }
.pd-hl { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.pd-hl li {
  background: #fff; border: 1px solid var(--line); border-radius: 8px;
  padding: 6px 12px; font-size: 13px; font-weight: 600; color: var(--ink);
}
.pd-block { margin-bottom: 4px; }
.detail__main > .pd-block:last-child { margin-bottom: 0; }

/* ---------------------------------------------------------- 正文排版 --- */
.post-body { font-size: 15px; }
.post-body p + p { margin-top: 12px; }
.post-body h3 { font-size: 16px; color: var(--ink); font-weight: 700; margin: 18px 0 8px; }
.post-body ul { list-style: disc; padding-left: 20px; margin-top: 8px; }
.post-body li { margin-bottom: 6px; }
.post-body strong { color: var(--ink); }
.post__meta { font-size: 12px; color: var(--muted); }

/* ------------------------------------------------------------ 响应式 --- */
@media (max-width: 1080px) {
  .detail { grid-template-columns: 1fr; gap: 32px; }
  .side { position: static; grid-template-columns: 1fr 1fr; display: grid; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .nav { display: none; }
  .burger { display: flex; }
  .hero__in { grid-template-columns: 1fr; gap: 28px; padding: 40px 24px; }
  .pd-hero__in { grid-template-columns: 1fr; gap: 24px; padding: 28px 24px; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .ft__cols { grid-template-columns: 1fr 1fr; }
  .tp { display: none; }
  .section { padding: 52px 0; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .side { grid-template-columns: 1fr; }
  .ft__cols { grid-template-columns: 1fr; gap: 24px; }
  .stats { flex-wrap: wrap; gap: 16px 24px; }
  .gallery { grid-template-columns: 1fr; }
  .btn-row .btn { width: 100%; }
  .post { flex-direction: column; gap: 10px; }
  .post__date { width: 100%; text-align: left; padding: 8px 12px; display: flex; gap: 8px; align-items: baseline; }
}

/* 尊重减少动效偏好 */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
