/* ============================================================================
 * style.css — 高端简约工业风（机械设备厂 B2B）
 * 设计原则：稳定、克制、留白充足、无抖动动画；钢蓝主色 + 黄铜点缀。
 * ==========================================================================*/

:root {
  --bg: #ffffff;
  --bg-soft: #f4f5f6;
  --ink: #17191c;
  --ink-2: #62666d;
  --line: #e1e3e6;
  --primary: #d52b1e;
  --primary-ink: #202327;
  --primary-soft: #fff0ed;
  --accent: #f2a900;
  --ok: #1f7a4d;
  --warn: #8a5a00;
  --radius: 10px;
  --radius-lg: 16px;
  --maxw: 1180px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei",
    "PingFang SC", Roboto, Helvetica, Arial, sans-serif;
  --shadow: 0 1px 2px rgba(20, 40, 58, 0.04), 0 8px 24px rgba(20, 40, 58, 0.06);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

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

img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--accent); }

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

.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;
}

/* ---------- 文字元素 ---------- */
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 12px;
}
.section__title {
  font-size: clamp(24px, 3.2vw, 38px);
  line-height: 1.2;
  margin: 0 0 14px;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.section__lead {
  font-size: 17px;
  color: var(--ink-2);
  max-width: 720px;
  margin: 0 0 32px;
}
.section__note { color: var(--ink-2); margin-top: 18px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 22px; border-radius: var(--radius);
  font-size: 15px; font-weight: 600; cursor: pointer;
  border: 1px solid transparent; transition: background .18s ease, color .18s ease, border-color .18s ease;
  text-align: center; line-height: 1.2;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-ink); color: #fff; }
.btn-ghost { background: transparent; color: var(--primary); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }

/* ---------- 头部 / 导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.9);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex; align-items: center; gap: 20px;
  height: 66px; position: relative;
}
.brand {
  font-weight: 800; font-size: 17px; color: var(--ink);
  letter-spacing: -0.01em; white-space: nowrap;
}
.brand--footer { font-size: 18px; }
.nav { flex: 1; }
.nav__list {
  display: flex; gap: 4px; list-style: none; margin: 0; padding: 0;
  flex-wrap: wrap;
}
.nav__list a {
  display: inline-block; padding: 8px 12px; border-radius: 8px;
  color: var(--ink-2); font-size: 14px; font-weight: 600;
}
.nav__list a:hover { color: var(--primary); background: var(--primary-soft); }
.nav__list a.is-active { color: var(--primary); background: var(--primary-soft); }

/* 移动端菜单按钮（桌面端隐藏） */
.nav-toggle {
  display: none; align-items: center; justify-content: center;
  margin-left: auto; width: 40px; height: 40px; padding: 0;
  border: 1px solid var(--line); border-radius: 8px;
  background: #fff; color: var(--primary); cursor: pointer;
}
.nav-toggle:hover { border-color: var(--primary); }
.nav-toggle__icon { display: inline-flex; }

.site-header__tools { display: flex; align-items: center; gap: 12px; }
.lang select {
  appearance: none; border: 1px solid var(--line); background: #fff;
  border-radius: 8px; padding: 8px 30px 8px 12px; font-size: 13px; font-weight: 600;
  color: var(--ink); cursor: pointer;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'><path d='M2 4l4 4 4-4' stroke='%235b6573' stroke-width='1.5' fill='none'/></svg>");
  background-repeat: no-repeat; background-position: right 10px center;
}
.pay-mount { display: inline-flex; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero__bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, #eef3f7 0%, #ffffff 70%),
    repeating-linear-gradient(0deg, rgba(31,58,82,0.045) 0 1px, transparent 1px 46px),
    repeating-linear-gradient(90deg, rgba(31,58,82,0.045) 0 1px, transparent 1px 46px);
  background-blend-mode: normal;
}
.hero--generator { min-height: 650px; display: flex; align-items: center; background: #1c2024; }
.hero--generator .hero__bg {
  background:
    linear-gradient(90deg, rgba(16,18,21,.96) 0%, rgba(16,18,21,.88) 42%, rgba(16,18,21,.28) 72%, rgba(16,18,21,.08) 100%),
    url("../images/hero-factory-v2.webp") center / cover no-repeat;
}
.hero--generator .hero__inner { max-width: var(--maxw); width: 100%; padding-top: 110px; padding-bottom: 110px; }
.hero--generator .hero__title { color: #fff; max-width: 720px; }
.hero--generator .hero__tagline { color: #fff; max-width: 700px; }
.hero--generator .hero__sub { color: #d5d7da; max-width: 620px; }
.hero--generator .trust { color: #c8cbd0; }
.hero--generator .btn-ghost { color: #fff; border-color: rgba(255,255,255,.45); background: rgba(255,255,255,.06); }
.hero--generator .btn-ghost:hover { background: #fff; color: var(--ink); }
.hero__inner { position: relative; padding: 92px 24px 84px; max-width: 880px; }
.hero__title {
  font-size: clamp(34px, 6vw, 64px); line-height: 1.05; margin: 0 0 16px;
  font-weight: 800; letter-spacing: -0.02em; color: var(--ink);
}
.hero__tagline { font-size: clamp(18px, 2.4vw, 24px); font-weight: 600; color: var(--primary-ink); margin: 0 0 14px; }
.hero__sub { font-size: 17px; color: var(--ink-2); margin: 0 0 30px; max-width: 640px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }
.trust { margin-top: 28px; font-size: 14px; color: var(--ink-2); }

/* ---------- 区块 ---------- */
.section { padding: 76px 0; }
.section--soft { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* 统计 */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 8px;
}
.stat { padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.stat__value { font-size: 26px; font-weight: 800; color: var(--primary); letter-spacing: -0.01em; }
.stat__label { font-size: 13px; color: var(--ink-2); margin-top: 4px; }

/* 卡片网格 */
.grid { display: grid; gap: 20px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 26px; transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.card:hover { border-color: #cdd8e2; transform: translateY(-2px); box-shadow: var(--shadow); }
.card__title { margin: 0 0 10px; font-size: 18px; font-weight: 700; color: var(--ink); }
.card__desc { margin: 0; color: var(--ink-2); font-size: 15px; }

/* 认证徽章 */
.badges { display: flex; gap: 12px; flex-wrap: wrap; margin: 8px 0 0; }
.badge {
  display: inline-flex; align-items: center; padding: 9px 16px;
  border: 1px solid var(--primary); color: var(--primary);
  border-radius: 999px; font-size: 13px; font-weight: 700; background: var(--primary-soft);
}

/* 清单 */
.checklist { margin: 8px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; max-width: 720px; }
.checklist li { position: relative; padding-left: 30px; color: var(--ink); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 18px; height: 18px;
  border-radius: 50%; background: var(--primary-soft);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'><path d='M2.5 6.5l2.2 2.2 4.8-5' stroke='%231f3a52' stroke-width='1.6' fill='none'/></svg>");
  background-repeat: no-repeat; background-position: center;
}

/* ---------- 询盘表单 ---------- */
.form { margin-top: 22px; display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field > span { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.field input, .field textarea, .field select {
  width: 100%; padding: 11px 13px; border: 1px solid var(--line); border-radius: var(--radius);
  font: inherit; color: var(--ink); background: #fff; transition: border-color .18s ease, box-shadow .18s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft);
}
.field textarea { resize: vertical; }
.form__row--3 { grid-template-columns: repeat(3, 1fr); }
.btn:disabled { opacity: .65; cursor: wait; }
.form__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 4px; }
.form__status { margin: 4px 0 0; font-size: 14px; font-weight: 600; }
.form__status--ok { color: var(--ok); }
.form__status--warn { color: var(--warn); }
.form__privacy { font-size: 12px; color: var(--ink-2); margin: 6px 0 0; }

/* 联系兜底（优雅降级展示） */
.contact-fallback {
  margin-top: 22px; padding: 18px 20px; border: 1px dashed var(--line);
  border-radius: var(--radius); background: #fff;
}
.contact-fallback__title { font-weight: 700; margin: 0 0 8px; color: var(--ink); }
.contact-fallback__list { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; color: var(--ink-2); font-size: 14px; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--primary-ink); color: #cdd8e2; margin-top: 0; }
.site-footer__inner {
  display: grid; grid-template-columns: 2fr 1fr 1.4fr; gap: 32px; padding: 56px 24px 36px;
}
.site-footer__tag { color: #9fb0c0; font-size: 14px; margin: 12px 0 0; max-width: 360px; }
.site-footer h4 { color: #fff; font-size: 14px; margin: 0 0 14px; text-transform: uppercase; letter-spacing: 0.08em; }
.site-footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer__links a { color: #cdd8e2; font-size: 14px; }
.site-footer__links a:hover { color: #fff; }
.site-footer__bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 18px 24px; border-top: 1px solid rgba(255,255,255,0.12); font-size: 13px; color: #9fb0c0;
}
.site-footer__legal a { color: #cdd8e2; }

/* ---------- 优雅降级横幅 ---------- */
#degradation-banner {
  position: fixed; left: 50%; transform: translateX(-50%); bottom: 20px; z-index: 100;
  background: var(--primary-ink); color: #fff; padding: 12px 20px; border-radius: 999px;
  font-size: 14px; box-shadow: var(--shadow); max-width: 90vw;
}

/* ---------- 子页页头（多级页面统一视觉） ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--primary-ink) 0%, #34393f 75%, var(--primary) 160%);
  color: #fff; padding: 64px 0 56px; border-bottom: 1px solid var(--line);
}
.page-hero .eyebrow { color: var(--accent); }
.page-hero__title { font-size: clamp(28px, 4vw, 46px); line-height: 1.12; margin: 0 0 12px; font-weight: 800; letter-spacing: -0.02em; }
.page-hero__lead { font-size: 17px; color: #cdd8e2; max-width: 760px; margin: 0; }
.page-body { padding: 56px 24px; }

/* 区块内小标题（页面正文用） */
.block-title { font-size: clamp(22px, 2.6vw, 30px); margin: 28px 0 14px; font-weight: 700; }
.block-subtitle { font-size: 19px; margin: 30px 0 12px; font-weight: 700; color: var(--primary); }

/* ---------- 面包屑 ---------- */
.breadcrumb { background: var(--bg-soft); border-bottom: 1px solid var(--line); font-size: 13px; }
.breadcrumb .container { padding-top: 12px; padding-bottom: 12px; }
.breadcrumb__youare { color: var(--ink-2); margin-right: 8px; }
.breadcrumb ol { list-style: none; display: inline-flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; align-items: center; }
.breadcrumb li { color: var(--ink-2); }
.breadcrumb li a { color: var(--ink-2); }
.breadcrumb li a:hover { color: var(--primary); }
.breadcrumb li[aria-current="page"] { color: var(--primary); font-weight: 600; }
.breadcrumb__sep { color: var(--line); margin: 0 2px; }

/* ---------- 首页区块卡片（引导跳转） ---------- */
.teaser-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
.teaser {
  display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 26px; transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease; color: var(--ink);
}
.teaser:hover { border-color: #cdd8e2; transform: translateY(-2px); box-shadow: var(--shadow); color: var(--ink); }
.teaser__title { margin: 0 0 10px; font-size: 18px; font-weight: 700; }
.teaser__desc { margin: 0 0 16px; color: var(--ink-2); font-size: 14px; }
.teaser__more { font-size: 14px; font-weight: 700; color: var(--primary); }

/* 两列网格（关于页 why 等） */
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.feature__title { margin: 0 0 8px; font-size: 16px; font-weight: 700; color: var(--primary); }
.feature__desc { margin: 0; color: var(--ink-2); font-size: 14px; }
.split-feature { display: grid; grid-template-columns: 1.15fr .85fr; gap: 44px; align-items: center; }
.factory-feature {
  width: 100%; height: auto; aspect-ratio: 8 / 5; object-fit: contain; object-position: center;
  display: block; border-radius: var(--radius-lg); box-shadow: 0 18px 55px rgba(23,36,48,.18);
}

/* ---------- 新闻 / 视频 / 广告内容中心 ---------- */
.news-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.news-filter { padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--primary); font-weight: 700; cursor: pointer; }
.news-filter:hover, .news-filter.is-active { background: var(--primary); border-color: var(--primary); color: #fff; }
.news-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px; }
.news-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-sm); }
.news-card[hidden] { display: none; }
.news-card__image { display: block; aspect-ratio: 8 / 5; overflow: hidden; background: var(--bg-soft); }
.news-card__image img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s ease; }
.news-card:hover .news-card__image img { transform: scale(1.025); }
.news-card__body { padding: 22px; }
.news-card__meta, .news-detail__meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; color: var(--ink-2); font-size: 13px; }
.news-badge { display: inline-flex; padding: 5px 10px; border-radius: 999px; background: var(--bg-soft); color: var(--primary); font-weight: 800; }
.news-card__title { margin: 13px 0 9px; font-size: 21px; line-height: 1.3; }
.news-card__title a { color: var(--primary-ink); }
.news-card__body p { color: var(--ink-2); }
.news-detail__media { width: 100%; aspect-ratio: 8 / 5; object-fit: cover; border-radius: var(--radius-lg); margin-bottom: 22px; background: #101820; }
.news-detail__meta { margin-bottom: 22px; }

/* Arabic right-to-left layout without mirroring media or technical numbers. */
html[dir="rtl"] body { direction: rtl; }
html[dir="rtl"] .site-header__inner, html[dir="rtl"] .nav__list, html[dir="rtl"] .hero__cta,
html[dir="rtl"] .share-bar, html[dir="rtl"] .news-card__meta, html[dir="rtl"] .news-detail__meta { flex-direction: row-reverse; }
html[dir="rtl"] .spec-table th, html[dir="rtl"] .spec-table td, html[dir="rtl"] .pager__link--next { text-align: right; }
html[dir="rtl"] .steps { padding-left: 0; padding-right: 22px; }

/* 步骤列表（品质页 QC 流程） */
.steps { margin: 8px 0 0; padding-left: 22px; display: grid; gap: 10px; max-width: 720px; color: var(--ink); }
.steps li { padding-left: 4px; }

/* ---------- 产品详情（多级：列表 → 详情） ---------- */
.product-detail { display: grid; grid-template-columns: 1.7fr 1fr; gap: 36px; align-items: start; }
.product-detail__lead { font-size: 17px; color: var(--ink-2); margin: 0 0 8px; }
.product-detail__aside {
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px;
  position: sticky; top: 86px;
}
.product-detail__note { color: var(--ink-2); font-size: 14px; margin: 14px 0 0; }
.spec-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); margin: 0 0 16px; }
.spec-table { width: 100%; border-collapse: collapse; background: #fff; }
.spec-table th, .spec-table td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); font-size: 14px; }
.spec-table th { width: 31%; color: var(--primary-ink); background: var(--bg-soft); font-weight: 700; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.product-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.btn-whatsapp { background: #1f9d61; border-color: #1f9d61; color: #fff; }
.btn-whatsapp:hover { background: #177a4b; border-color: #177a4b; color: #fff; }
.product-card .card__link { display: inline-block; margin-top: 14px; font-size: 14px; font-weight: 700; color: var(--primary); }

/* ---------- CTA 引流条 ---------- */
.cta-banner { background: linear-gradient(160deg, var(--accent) 0%, #8c6220 100%); color: #fff; margin-top: 0; }
.cta-banner__inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 44px 24px; flex-wrap: wrap; }
.cta-banner__text { max-width: 720px; }
.cta-banner__title { font-size: clamp(22px, 3vw, 32px); margin: 6px 0 8px; font-weight: 800; letter-spacing: -0.01em; }
.cta-banner__desc { margin: 0; color: rgba(255,255,255,0.92); font-size: 15px; }
.eyebrow--light { color: rgba(255,255,255,0.85); }
.btn--invert { background: #fff; color: var(--primary-ink); }
.btn--invert:hover { background: #f0f3f6; color: var(--primary-ink); }

/* ---------- 社媒入口（header / footer / contact） ---------- */
.social-row { list-style: none; display: flex; gap: 10px; margin: 0; padding: 0; align-items: center; }
.social-link {
  display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px;
  border-radius: 50%; border: 1px solid var(--line); color: var(--primary); background: #fff;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.social-link:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.site-header__social { display: flex; }
.site-footer__social { margin-top: 16px; }
.site-footer__social .social-link { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.18); color: #cdd8e2; }
.site-footer__social .social-link:hover { background: #fff; color: var(--primary); }

/* ---------- 分享条（引流：转发到社媒/WhatsApp/邮件） ---------- */
.share-bar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 22px 0; border-top: 1px solid var(--line); margin-top: 28px; }
.share-bar__label { font-size: 14px; font-weight: 700; color: var(--ink-2); }
.share-bar__list { list-style: none; display: flex; gap: 10px; margin: 0; padding: 0; flex-wrap: wrap; }
.share-btn {
  display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--ink-2); font-size: 13px; font-weight: 600; background: #fff;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.share-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.share-btn svg { width: 16px; height: 16px; }

/* ---------- 相关页（站内互链，引流） ---------- */
.related-links { list-style: none; display: flex; gap: 12px; flex-wrap: wrap; margin: 18px 0 0; padding: 0; }
.related-links a {
  display: inline-block; padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px;
  color: var(--primary); font-size: 14px; font-weight: 600; background: #fff;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.related-links a:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ---------- 联系页社媒块 ---------- */
.contact-social { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }
.contact-direct { margin: 22px 0; padding: 22px; background: #f1f8f4; border: 1px solid #cce8d8; border-radius: var(--radius); }
.contact-direct h3 { margin: 0 0 8px; }
.contact-direct p { margin: 0 0 14px; }
.whatsapp-float { position: fixed; right: 22px; bottom: 22px; z-index: 50; display: inline-flex; align-items: center; gap: 8px; padding: 12px 16px; border-radius: 999px; background: #1f9d61; color: #fff; font-weight: 800; box-shadow: 0 12px 35px rgba(0,0,0,.24); }
.whatsapp-float:hover { background: #177a4b; color: #fff; transform: translateY(-1px); }

/* ---------- 产品配图（有图出图，无图显示中性占位，不出现破图） ---------- */
.thumb {
  width: 100%; aspect-ratio: 8 / 5; border-radius: var(--radius);
  overflow: hidden; background: var(--bg-soft);
  border: 1px solid var(--line); margin-bottom: 16px;
  display: flex; align-items: center; justify-content: center;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb--empty { color: #c6d0da; }
.product-detail__main .thumb { aspect-ratio: 16 / 7; }

/* 产品上下篇（站内互链，降低跳出） */
.pager {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line);
}
.pager__link { font-size: 14px; font-weight: 700; color: var(--primary); max-width: 46%; }
.pager__link--next { text-align: right; }

/* ---------- 表单蜜罐（防垃圾机器人，对用户不可见） ---------- */
.field--hp {
  position: absolute; left: -9999px; width: 1px; height: 1px;
  overflow: hidden; opacity: 0; pointer-events: none;
}

/* ---------- 无障碍：跳转链接 + 键盘焦点可见 ---------- */
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--primary); color: #fff; padding: 10px 16px;
  border-radius: 8px; font-size: 14px; font-weight: 600;
  transition: top .16s ease;
}
.skip-link:focus { top: 12px; color: #fff; }
a:focus-visible, button:focus-visible, select:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px;
}

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--2 { grid-template-columns: 1fr; }
  .teaser-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .product-detail { grid-template-columns: 1fr; }
  .split-feature { grid-template-columns: 1fr; }
  .product-detail__aside { position: static; }
  .site-footer__inner { grid-template-columns: 1fr 1fr; }
  .news-grid { grid-template-columns: 1fr; }

  /* 移动端：导航改为可展开抽屉（此前直接 display:none 导致手机端无法导航） */
  .nav-toggle { display: inline-flex; }
  .nav {
    flex: none; position: absolute; top: 66px; left: 0; right: 0; z-index: 40;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    max-height: 0; overflow: hidden; transition: max-height .22s ease;
  }
  .nav.is-open { max-height: 70vh; overflow-y: auto; }
  .nav__list { flex-direction: column; gap: 0; flex-wrap: nowrap; padding: 8px 24px 16px; }
  .nav__list a { display: block; padding: 13px 0; font-size: 16px; border-radius: 0; border-bottom: 1px solid var(--line); }
  .nav__list li:last-child a { border-bottom: 0; }
  .site-header__social { display: none; }
}
@media (max-width: 640px) {
  .section { padding: 54px 0; }
  .page-body { padding: 40px 24px; }
  .hero__inner { padding: 64px 24px 56px; }
  .grid--3, .grid--2, .teaser-grid { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .site-footer__inner { grid-template-columns: 1fr; }
  .whatsapp-float span { display: none; }
  .whatsapp-float { right: 14px; bottom: 14px; padding: 13px; }
  .cta-banner__inner { flex-direction: column; align-items: flex-start; }
}
