/*
Theme Name: Sudda OnePage
Theme URI: https://sudda.cn
Author: 连云港速哒哒供应链有限公司
Description: 速哒哒企业官网单页主题。现代单页设计：锚点导航、Hero、核心业务、产品矩阵、数据优势、合作流程、关于与联系。纯原生 CSS/JS，无外部依赖，移动端自适应。
Version: 2.1.3
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sudda-onepage
Tags: one-column, custom-menu, responsive
*/

/* ============ 基础 ============ */
:root {
  --brand: #ff6a00;
  --brand-deep: #e85d00;
  --brand-soft: #fff3e9;
  --ink: #18202b;
  --ink-2: #3a4453;
  --muted: #6b7684;
  --line: #eceef2;
  --bg: #ffffff;
  --bg-soft: #f7f8fa;
  --radius: 16px;
  --shadow: 0 6px 24px rgba(24, 32, 43, .07);
  --shadow-lg: 0 16px 48px rgba(24, 32, 43, .12);
  --maxw: 1140px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ============ 顶部导航 ============ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: 0 2px 18px rgba(24, 32, 43, .08); }
.nav-bar {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 22px; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 12px; flex: none;
  background: linear-gradient(135deg, var(--brand), #ffb066);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 18px;
  box-shadow: 0 4px 12px rgba(255, 106, 0, .35);
}
.brand small { font-size: 11px; font-weight: 500; color: var(--muted); display: block; letter-spacing: 2px; }
.nav-links { display: flex; gap: 6px; }
.nav-links a {
  padding: 8px 16px; border-radius: 10px; font-size: 15px; color: var(--ink-2);
  transition: .2s;
}
.nav-links a:hover { color: var(--brand); background: var(--brand-soft); }
.nav-cta {
  background: linear-gradient(135deg, var(--brand), #ff8f33); color: #fff !important;
  padding: 9px 22px !important; border-radius: 999px; font-weight: 600;
  box-shadow: 0 4px 14px rgba(255, 106, 0, .35);
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(255, 106, 0, .45); background: linear-gradient(135deg, var(--brand), #ff8f33) !important; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2.5px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: .3s; }

/* ============ Hero ============ */
.hero {
  position: relative;
  padding: 150px 0 90px;
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(255, 143, 51, .14), transparent 60%),
    radial-gradient(700px 380px at -10% 110%, rgba(255, 106, 0, .08), transparent 55%),
    linear-gradient(180deg, #fffaf5 0%, #ffffff 100%);
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--brand-soft); color: var(--brand-deep);
  font-size: 13px; font-weight: 600; padding: 6px 14px; border-radius: 999px;
  margin-bottom: 22px;
}
.hero-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .5; transform: scale(.75); } }
.hero h1 {
  font-size: clamp(34px, 5.2vw, 56px); line-height: 1.22; font-weight: 800; letter-spacing: -.5px;
}
.hero h1 em { font-style: normal; color: var(--brand); position: relative; }
.hero-sub { margin: 20px 0 34px; font-size: 17px; color: var(--muted); max-width: 520px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 30px; border-radius: 999px; font-size: 15px; font-weight: 600;
  transition: .25s; cursor: pointer; border: 0;
}
.btn-primary {
  background: linear-gradient(135deg, var(--brand), #ff8f33); color: #fff;
  box-shadow: 0 8px 22px rgba(255, 106, 0, .38);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(255, 106, 0, .48); }
.btn-ghost { background: #fff; color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }

/* Hero 插画 */
.hero-art { position: relative; }
.hero-art svg { width: 100%; height: auto; filter: drop-shadow(0 18px 36px rgba(255, 106, 0, .18)); }
.float-chip {
  position: absolute; background: #fff; border-radius: 14px; padding: 10px 16px;
  box-shadow: var(--shadow-lg); font-size: 13px; font-weight: 600;
  display: flex; align-items: center; gap: 8px; animation: floaty 4s ease-in-out infinite;
}
.float-chip .dot { width: 9px; height: 9px; border-radius: 50%; }
.chip-1 { top: 8%; left: -4%; animation-delay: 0s; }
.chip-2 { bottom: 18%; right: -2%; animation-delay: 1.4s; }
.chip-3 { bottom: -4%; left: 12%; animation-delay: 2.6s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ============ 数据条 ============ */
.stats {
  background: linear-gradient(120deg, #20242e, #2c3242);
  color: #fff; padding: 44px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.stats-grid > div {
  padding: 28px 16px;
  border-left: 1px solid rgba(255,255,255,.12);
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.stats-grid > div:nth-child(3n+1) { border-left: none; }
.stats-grid > div:nth-child(n+4) { border-bottom: none; }
.stats-grid > div:nth-child(4) {
  grid-column: 1 / -1;
  border-left: none;
  border-top: 1px solid rgba(255,255,255,.12);
}
.stat-num { font-size: 38px; font-weight: 800; color: var(--brand); }
.stat-num small { font-size: 18px; display: inline-block; vertical-align: super; transform: translateY(-2px); margin-left: 2px; }
.stat-label { font-size: 14px; color: rgba(255, 255, 255, .72); margin-top: 4px; }

/* ============ 通用 Section ============ */
.section { padding: 96px 0; }
.section.alt { background: var(--bg-soft); }
.sec-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.sec-tag {
  display: inline-block; color: var(--brand); font-size: 13px; font-weight: 700;
  letter-spacing: 3px; margin-bottom: 12px; text-transform: uppercase;
}
.sec-head h2 { font-size: clamp(26px, 3.6vw, 38px); font-weight: 800; letter-spacing: -.4px; }
.sec-head p { color: var(--muted); margin-top: 14px; font-size: 16px; }

/* ============ 业务卡片 ============ */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 36px 30px; transition: .3s; position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card::after {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
  background: linear-gradient(90deg, var(--brand), #ffb066);
  opacity: 0; transition: .3s;
}
.card:hover::after { opacity: 1; }
.card-icon {
  width: 58px; height: 58px; border-radius: 16px; font-size: 26px;
  background: var(--brand-soft); display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.card h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15px; }
.card ul { margin-top: 16px; }
.card li { font-size: 14px; color: var(--ink-2); padding: 5px 0 5px 24px; position: relative; }
.card li::before { content: "✓"; position: absolute; left: 0; color: var(--brand); font-weight: 700; }

/* ============ 产品矩阵 ============ */
.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.product {
  background: #fff; border-radius: var(--radius); padding: 32px 24px;
  border: 1px solid var(--line); transition: .3s; text-align: center;
}
.product:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.product-icon {
  width: 66px; height: 66px; margin: 0 auto 18px; border-radius: 20px;
  display: flex; align-items: center; justify-content: center; font-size: 30px;
  background: linear-gradient(135deg, var(--brand-soft), #ffe4cd);
}
.product h3 { font-size: 18px; font-weight: 700; }
.product .en { font-size: 11px; color: var(--brand); letter-spacing: 2px; font-weight: 700; margin: 4px 0 10px; }
.product p { font-size: 14px; color: var(--muted); }

/* ============ 优势 ============ */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 24px; }
.why { text-align: left; }
.why-num {
  font-size: 46px; font-weight: 800; line-height: 1;
  background: linear-gradient(135deg, var(--brand), #ffb066);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.why h3 { font-size: 18px; font-weight: 700; margin: 12px 0 8px; }
.why p { font-size: 14px; color: var(--muted); }

/* ============ 流程 ============ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 24px; position: relative;
}
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-size: 42px; font-weight: 800; color: var(--brand-soft);
  position: absolute; top: 14px; right: 18px; line-height: 1;
  -webkit-text-stroke: 1.5px var(--brand);
}
.step h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--muted); }

/* ============ 关于 + 联系 ============ */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.about-text h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; margin-bottom: 18px; }
.about-text p { color: var(--muted); font-size: 15px; margin-bottom: 14px; }
.about-points { margin-top: 22px; display: grid; gap: 12px; }
.about-points li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--ink-2); }
.about-points .ico { flex: none; width: 24px; height: 24px; border-radius: 8px; background: var(--brand-soft); color: var(--brand); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800; margin-top: 2px; }

.contact-card {
  background: linear-gradient(140deg, #20242e, #323a4e); color: #fff;
  border-radius: 20px; padding: 42px 36px; box-shadow: var(--shadow-lg);
}
.contact-card h3 { font-size: 22px; font-weight: 800; margin-bottom: 26px; }
.contact-item { display: flex; gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.contact-item:last-of-type { border-bottom: 0; }
.contact-item .ci { flex: none; width: 42px; height: 42px; border-radius: 12px; background: rgba(255, 106, 0, .18); display: flex; align-items: center; justify-content: center; font-size: 18px; }
.contact-item b { display: block; font-size: 13px; color: rgba(255, 255, 255, .6); font-weight: 500; }
.contact-item span { font-size: 15px; font-weight: 600; }

/* ============ 页脚 ============ */
.site-footer { background: #141821; color: rgba(255, 255, 255, .55); padding: 40px 0; font-size: 13.5px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; font-size: 13.5px; }
.footer-links a { color: rgba(255, 255, 255, .75); transition: .15s; }
.footer-links a:hover { color: var(--brand); }
.footer-inner a { color: rgba(255, 255, 255, .75); }
.footer-inner a:hover { color: var(--brand); }

/* ============ 动画 ============ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: .1s; } .d2 { transition-delay: .2s; } .d3 { transition-delay: .3s; }

/* ============ 响应式 ============ */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-art { max-width: 460px; margin: 0 auto; }
  .cards-3, .products, .why-grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    max-width: 640px;
    margin: 0 auto;
  }
  .stats-grid > div { padding: 24px 12px; }
  .stats-grid > div:nth-child(4) { grid-column: 1 / -1; }
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .hero { padding: 120px 0 64px; }
  .cards-3, .products, .why-grid, .steps { grid-template-columns: 1fr; }
  .nav-links {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    background: #fff; flex-direction: column; padding: 12px 20px 20px;
    box-shadow: 0 12px 30px rgba(24, 32, 43, .12); gap: 2px;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .nav-cta { display: none; }
  .nav-links .nav-cta-mobile { display: block; text-align: center; }
  .float-chip { display: none; }
}

/* ============ 常见问题 FAQ ============ */
.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.faq {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  overflow: hidden; transition: .25s;
}
.faq[open] { border-color: rgba(255, 106, 0, .45); box-shadow: var(--shadow); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 24px;
  font-weight: 700; font-size: 16px;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq .faq-arrow { color: var(--brand); transition: .3s; flex: none; font-size: 14px; }
.faq[open] .faq-arrow { transform: rotate(180deg); }
.faq-body { padding: 0 24px 20px; color: var(--muted); font-size: 15px; }

/* ============ 新闻动态 ============ */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.news-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; display: flex; flex-direction: column; transition: .3s;
}
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.news-card time { font-size: 13px; color: var(--brand); font-weight: 700; letter-spacing: 1px; }
.news-card h3 { font-size: 18px; font-weight: 700; margin: 10px 0; line-height: 1.5; }
.news-card p { font-size: 14px; color: var(--muted); flex: 1; }
.news-more { margin-top: 14px; font-size: 14px; font-weight: 600; color: var(--brand); }

/* ============ 留言表单 ============ */
.msg-banner {
  max-width: 720px; margin: 0 auto 28px; padding: 14px 22px; border-radius: 12px;
  font-size: 15px; font-weight: 600; text-align: center;
}
.msg-banner.ok { background: #e8f8ef; color: #1e8e5a; border: 1px solid #bfe9d2; }
.msg-banner.err { background: #fdeeee; color: #c0392b; border: 1px solid #f5cfd0; }
.msg-form-card {
  margin-top: 28px; background: #fff; border: 1px solid var(--line);
  border-radius: 20px; padding: 38px 36px; box-shadow: var(--shadow);
  max-width: 760px; margin-left: auto; margin-right: auto;
}
.msg-form-card h3 { font-size: 22px; font-weight: 800; }
.msg-hint { color: var(--muted); font-size: 14px; margin: 6px 0 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: 12px 16px; border: 1.5px solid var(--line);
  border-radius: 12px; font-size: 15px; font-family: inherit;
  color: var(--ink); background: #fff; transition: .2s;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(255, 106, 0, .12);
}
.form-field textarea { resize: vertical; }
.sudda-hp { position: absolute; left: -9999px; opacity: 0; }

/* ============ 回到顶部 ============ */
.back-top {
  position: fixed; right: 26px; bottom: 30px; width: 48px; height: 48px;
  border-radius: 14px; border: 0; cursor: pointer;
  background: linear-gradient(135deg, var(--brand), #ff8f33); color: #fff;
  font-size: 20px; box-shadow: 0 8px 22px rgba(255, 106, 0, .4);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: .3s; z-index: 90;
}
.back-top.show { opacity: 1; visibility: visible; transform: none; }
.back-top:hover { transform: translateY(-3px); }

/* ============ 文章页 ============ */
.single-wrap { max-width: 800px; margin: 0 auto; padding: 120px 24px 80px; }
.back-link { display: inline-block; margin-bottom: 24px; color: var(--brand); font-weight: 600; font-size: 14px; }
.single-wrap h1 { font-size: clamp(26px, 4vw, 36px); font-weight: 800; line-height: 1.35; }
.single-meta { color: var(--muted); font-size: 14px; margin: 12px 0 28px; }
.single-content { font-size: 16px; color: var(--ink-2); }
.single-content p { margin-bottom: 16px; }
.single-content h2 { margin: 28px 0 12px; font-size: 22px; color: var(--ink); }
.single-content ul, .single-content ol { margin: 0 0 16px 20px; list-style: disc; }
.single-content img { border-radius: 12px; margin: 16px 0; }

/* ============ 404 ============ */
.err-wrap {
  min-height: 70vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  padding: 120px 24px 60px;
}
.err-code {
  font-size: 96px; font-weight: 800; line-height: 1;
  background: linear-gradient(135deg, var(--brand), #ffb066);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

/* ============ 新组件响应式 ============ */
@media (max-width: 960px) {
  .news-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .msg-form-card { padding: 28px 22px; }
  .faq summary { padding: 16px 18px; font-size: 15px; }
  .faq-body { padding: 0 18px 16px; }
}

/* ============ v1.2.0 内页通用（页面/归档/搜索/文章） ============ */
.page-main { min-height: 60vh; }
.page-hero {
  padding: 128px 0 56px;
  background:
    radial-gradient(900px 300px at 85% -40%, rgba(255, 106, 0, .10), transparent 70%),
    linear-gradient(180deg, var(--brand-soft), #fff);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { font-size: clamp(26px, 4vw, 38px); font-weight: 800; line-height: 1.3; }
.page-hero-desc { color: var(--muted); font-size: 15px; margin-top: 10px; }
.crumbs { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.crumbs a:hover { color: var(--brand); }
.crumbs span { opacity: .5; }
.crumbs em { font-style: normal; color: var(--ink-2); font-weight: 600; max-width: 420px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.single-wrap-page { max-width: 800px; }

/* 归档列表 */
.archive-grid { margin-bottom: 36px; }

/* 分页 */
.pagination-wrap { margin: 12px 0 8px; }
.pagination-wrap .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pagination-wrap .page-numbers {
  min-width: 40px; height: 40px; padding: 0 14px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--line); border-radius: 12px;
  font-size: 14px; font-weight: 600; color: var(--ink-2);
  background: #fff; transition: .2s;
}
.pagination-wrap .page-numbers:hover { border-color: var(--brand); color: var(--brand); }
.pagination-wrap .page-numbers.current {
  background: linear-gradient(135deg, var(--brand), #ff8f33);
  border-color: transparent; color: #fff;
}
.pagination-wrap .page-numbers.dots { border: 0; background: none; }

/* 空状态 */
.empty-tip { text-align: center; padding: 60px 24px; color: var(--muted); }
.empty-ico { font-size: 52px; margin-bottom: 14px; }
.empty-tip .btn { margin-top: 18px; }

/* 搜索表单 */
.search-form { display: flex; gap: 10px; max-width: 520px; margin: 18px 0 0; }
.search-form input[type="search"] {
  flex: 1; padding: 12px 18px; border: 1.5px solid var(--line);
  border-radius: 12px; font-size: 15px; font-family: inherit; color: var(--ink);
}
.search-form input[type="search"]:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(255, 106, 0, .12); }

/* 文章页补充 */
.post-tags { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.post-tags a {
  font-size: 13px; padding: 5px 14px; border-radius: 999px;
  background: var(--bg-soft); border: 1px solid var(--line);
  color: var(--ink-2); transition: .2s;
}
.post-tags a:hover { border-color: var(--brand); color: var(--brand); }
.post-nav { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; }
.post-nav-item {
  flex: 1; min-width: 240px; border: 1px solid var(--line); border-radius: 14px;
  padding: 16px 20px; background: #fff; transition: .2s;
}
.post-nav-item:hover { border-color: var(--brand); box-shadow: var(--shadow); }
.post-nav-item small { color: var(--muted); font-size: 12px; display: block; margin-bottom: 4px; }
.post-nav-item b { font-size: 15px; line-height: 1.5; display: block; }
.post-nav-item.right { text-align: right; }
.post-cta {
  margin-top: 40px; text-align: center; border-radius: 20px;
  background: linear-gradient(135deg, var(--brand-soft), #fff7f0);
  border: 1px solid #ffe0c7; padding: 36px 24px;
}
.post-cta p { color: var(--ink-2); font-weight: 600; margin-bottom: 16px; }

/* 评论 */
.comments-area { margin-top: 40px; }
.comments-title { font-size: 20px; font-weight: 800; margin-bottom: 16px; }
.comment-list { margin: 0 0 24px; }
.comment-list .comment { border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; margin-bottom: 12px; background: #fff; }
.comment-list .children { margin-left: 20px; margin-top: 12px; }
.no-comments { color: var(--muted); font-size: 14px; }

/* 空白全宽页模板 */
body.blank-page .blank-main { min-height: 100vh; }

/* v1.2.0 内页响应式 */
@media (max-width: 640px) {
  .page-hero { padding: 110px 0 40px; }
  .post-nav { flex-direction: column; }
  .search-form { flex-direction: column; }
  .crumbs em { max-width: 180px; }
}

/* ============================================================
   v1.3.0 制度文档页 template-doc
   ============================================================ */
.doc-hero {
  padding: 108px 0 44px;
  background: linear-gradient(180deg, #f6f8fb 0%, #fff 100%);
  border-bottom: 1px solid var(--line);
}
.doc-hero h1 { font-size: clamp(26px, 4vw, 36px); font-weight: 800; margin: 10px 0 14px; line-height: 1.3; }
.doc-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 700; color: var(--brand);
  background: var(--brand-soft); border: 1px solid #ffd9b8;
  padding: 5px 14px; border-radius: 999px;
}
.doc-meta { color: var(--muted); font-size: 14px; }
.doc-meta-sep { margin: 0 10px; color: var(--line); }
.doc-print {
  margin-top: 16px; cursor: pointer; font-family: inherit; font-size: 13px; font-weight: 600;
  padding: 8px 18px; border-radius: 999px; border: 1.5px solid var(--line);
  background: #fff; color: var(--ink-2); transition: .2s;
}
.doc-print:hover { border-color: var(--brand); color: var(--brand); }
.doc-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 36px; align-items: start; }
.doc-content {
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  padding: 40px 44px; box-shadow: 0 2px 14px rgba(24, 32, 43, .04);
}
.doc-body { font-size: 16px; line-height: 2; color: var(--ink-2); }
.doc-body p { margin: 0 0 1.2em; text-align: justify; }
.doc-body h2, .doc-body h3, .doc-body h4 { color: var(--ink); font-weight: 800; margin: 1.6em 0 .7em; line-height: 1.4; }
.doc-body h2 { font-size: 21px; border-left: 4px solid var(--brand); padding-left: 12px; }
.doc-body h3 { font-size: 18px; }
.doc-body ul, .doc-body ol { padding-left: 1.6em; margin: 0 0 1.2em; }
.doc-body li { margin-bottom: .5em; }
.doc-body table { width: 100%; border-collapse: collapse; margin: 1.2em 0; font-size: 14.5px; }
.doc-body td, .doc-body th { border: 1px solid var(--line); padding: 9px 12px; }
.doc-body strong { color: var(--ink); }
.doc-footer-note { margin-top: 32px; padding-top: 18px; border-top: 1px dashed var(--line); color: var(--muted); font-size: 13px; }
.doc-side { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 18px; }
.doc-side-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.doc-side-card h4 { font-size: 15px; font-weight: 800; margin-bottom: 12px; color: var(--ink); }
.doc-related { list-style: none; margin: 0; padding: 0; }
.doc-related li { padding: 7px 0; border-bottom: 1px dashed var(--line); }
.doc-related li:last-child { border-bottom: 0; }
.doc-related a { font-size: 13.5px; color: var(--ink-2); line-height: 1.6; transition: .15s; }
.doc-related a:hover { color: var(--brand); }
.doc-side-contact p { font-size: 13.5px; color: var(--muted); margin-bottom: 14px; line-height: 1.7; }

/* 打印样式：制度文档打印时只留正文 */
@media print {
  .site-header, .site-footer, .doc-side, .doc-print, .back-top, .crumbs { display: none !important; }
  .doc-hero { padding: 0; background: none; }
  .doc-content { border: 0; box-shadow: none; padding: 0; }
  .doc-layout { grid-template-columns: 1fr; }
}

/* ============================================================
   v1.3.0 产品介绍页 template-product
   ============================================================ */
.prod-hero {
  padding: 108px 0 52px;
  background: linear-gradient(135deg, #fff6ee 0%, #f4f7fb 60%, #fff 100%);
  border-bottom: 1px solid var(--line);
}
.prod-hero-inner { display: flex; align-items: center; gap: 48px; }
.prod-hero-text { flex: 1; min-width: 0; }
.prod-hero-thumb { flex: 0 0 320px; text-align: center; }
.prod-hero-thumb img { max-width: 100%; height: auto; border-radius: 18px; box-shadow: 0 18px 50px rgba(24, 32, 43, .16); }
.prod-hero h1 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; margin: 12px 0 14px; line-height: 1.25; }
.prod-intro { color: var(--ink-2); font-size: 16.5px; line-height: 1.9; margin-bottom: 22px; max-width: 560px; }
.prod-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 13px 28px; border-radius: 999px; font-size: 15px; font-weight: 700;
  border: 1.5px solid var(--line); color: var(--ink); background: #fff; transition: .2s;
}
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.prod-meta { color: var(--muted); font-size: 13px; }
.prod-h2 {
  font-size: 22px; font-weight: 800; margin: 0 0 22px; color: var(--ink);
  display: flex; align-items: center; gap: 12px;
}
.prod-h2::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.prod-content { margin-bottom: 44px; }
.prod-body {
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  padding: 36px 40px; font-size: 15.5px; line-height: 2; color: var(--ink-2);
  box-shadow: 0 2px 14px rgba(24, 32, 43, .04);
}
.prod-body p { margin: 0 0 1.1em; }
.prod-body strong { color: var(--ink); }
/* v1.3.1 正文大图：整幅展示、圆角描边、懒加载，点击灯箱放大（JS 在模板内） */
.prod-body img {
  display: block; max-width: 100%; height: auto; margin: 22px auto;
  border-radius: 14px; border: 1px solid var(--line);
  box-shadow: 0 6px 22px rgba(24, 32, 43, .06);
}
.prod-body table { width: 100%; border-collapse: collapse; margin: 1.2em 0; font-size: 14px; }
.prod-body td, .prod-body th { border: 1px solid var(--line); padding: 8px 12px; }
.prod-related { margin-bottom: 10px; }
.prod-related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.prod-related-card {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 22px; display: flex; flex-direction: column; gap: 8px; transition: .2s;
}
.prod-related-card:hover { border-color: var(--brand); box-shadow: var(--shadow); transform: translateY(-2px); }
.prod-related-card b { font-size: 16px; color: var(--ink); }
.prod-related-card span { font-size: 13.5px; color: var(--muted); line-height: 1.7; flex: 1; }
.prod-related-card em { font-style: normal; font-size: 13px; font-weight: 700; color: var(--brand); }

/* ============================================================
   v1.3.2 产品页应用截图：默认幻灯片轮播 + 列表网格双模式切换
   ============================================================ */
.prod-shots { margin: 0 0 44px; }
.prod-shots-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 4px; }
.prod-shots-head .prod-h2 { margin-bottom: 0; }
.shots-mode {
  display: inline-flex; border: 1px solid var(--line); border-radius: 11px;
  overflow: hidden; background: #fff; box-shadow: 0 2px 8px rgba(24, 32, 43, .05);
}
.shots-mode-btn {
  border: 0; background: transparent; padding: 8px 15px; font-size: 13px; font-weight: 600;
  color: var(--muted); cursor: pointer; transition: .2s;
  display: inline-flex; align-items: center; gap: 6px; line-height: 1;
}
.shots-mode-btn svg { width: 14px; height: 14px; }
.shots-mode-btn.mode-active { background: var(--brand); color: #fff; }
.shots-mode-btn:not(.mode-active):hover { color: var(--ink); background: var(--brand-soft); }
.prod-shots-tip { color: var(--muted); font-size: 13px; margin: 6px 0 18px; }

/* 幻灯片模式：视口 + 轨道 + 箭头 + 圆点 */
.shots-slide { position: relative; }
.shots-viewport { overflow: hidden; border-radius: 18px; }
.shots-runner { display: flex; transition: transform .45s ease; }
.shots-item { flex: 0 0 33.3333%; padding: 0 8px; box-sizing: border-box; }
.shots-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line); background: #fff; color: var(--ink);
  font-size: 22px; line-height: 1; cursor: pointer;
  box-shadow: 0 6px 18px rgba(24, 32, 43, .14); transition: .2s;
  display: flex; align-items: center; justify-content: center;
}
.shots-arrow:hover { border-color: var(--brand); color: var(--brand); }
.shots-prev { left: -12px; }
.shots-next { right: -12px; }
.shots-dots { display: flex; justify-content: center; gap: 8px; margin-top: 16px; }
.shots-dot {
  width: 8px; height: 8px; border-radius: 4px; border: 0; padding: 0;
  background: #d4dae2; cursor: pointer; transition: .25s;
}
.shots-dot.on { background: var(--brand); width: 22px; }

/* 列表模式（网格墙，默认隐藏） */
.prod-shots-track { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; }
.shots-slide.is-hidden, .prod-shots-track.is-hidden { display: none; }

/* v1.4.0 自定义 Logo（外观→自定义→站点身份上传，替代 Emoji 品牌） */
.custom-logo-link { display: flex; align-items: center; }
.custom-logo { height: 42px; width: auto; display: block; }
.prod-shot {
  display: block; position: relative; border-radius: 18px; overflow: hidden;
  border: 1px solid var(--line); background: #fff; padding: 0;
  box-shadow: 0 8px 24px rgba(24, 32, 43, .08); transition: .25s;
}
.prod-shot img { width: 100%; height: auto; display: block; }
.prod-shot:hover {
  transform: translateY(-5px); border-color: rgba(255, 106, 0, .45);
  box-shadow: 0 14px 36px rgba(255, 106, 0, .16);
}
/* 灯箱遮罩 */
.sudda-zoom {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(15, 20, 26, .92);
  display: flex; align-items: center; justify-content: center;
  cursor: zoom-out;
}
.sudda-zoom img { max-width: 92%; max-height: 92%; border-radius: 10px; }

/* ============================================================
   v1.3.0 图文展示页 template-gallery
   ============================================================ */
.gal-banner { margin-top: 68px; background: #f4f6fa; border-bottom: 1px solid var(--line); }
.gal-banner img { display: block; width: 100%; max-height: 420px; object-fit: cover; }
.gal-crumbs { margin-bottom: 22px; }
.gal-head { text-align: center; margin-bottom: 34px; }
.gal-head .prod-badge { margin-bottom: 12px; }
.gal-head h1 { font-size: clamp(24px, 3.5vw, 34px); font-weight: 800; margin: 10px 0 12px; }
.gal-content { max-width: 860px; margin: 0 auto; }
.gal-body { font-size: 15.5px; line-height: 1.95; color: var(--ink-2); }
.gal-body img {
  display: inline-block; max-width: 100%; height: auto; margin: 10px;
  border-radius: 14px; border: 1px solid var(--line); background: #fff; padding: 6px;
  box-shadow: 0 6px 22px rgba(24, 32, 43, .07); vertical-align: top;
}
.gal-body figure { margin: 0 0 1.4em; text-align: center; }
.gal-body p { margin: 0 0 1.2em; text-align: center; }
/* WP 原生相册网格化 */
.gal-body .gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gal-body .gallery .gallery-item { margin: 0; width: auto; }
.gal-body .gallery img { width: 100%; margin: 0; }
.gal-related { margin-top: 48px; }
.gal-related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.gal-related-card {
  background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  padding: 0; transition: .2s; display: flex; flex-direction: column;
}
.gal-related-card:hover { border-color: var(--brand); box-shadow: var(--shadow); transform: translateY(-2px); }
.gal-related-card img { width: 100%; height: 150px; object-fit: cover; display: block; }
.gal-related-ph {
  height: 150px; display: flex; align-items: center; justify-content: center;
  background: var(--brand-soft); font-size: 40px;
}
.gal-related-card b { padding: 13px 16px; font-size: 14.5px; color: var(--ink); }

/* v1.3.0 模板响应式 */
@media (max-width: 960px) {
  .doc-layout { grid-template-columns: 1fr; }
  .doc-side { position: static; }
  .prod-hero-inner { flex-direction: column; gap: 28px; }
  .prod-hero-thumb { flex: none; width: 100%; }
  .shots-item { flex-basis: 50%; }
}
@media (max-width: 640px) {
  .doc-hero { padding: 96px 0 32px; }
  .prod-hero { padding: 96px 0 36px; }
  .doc-content { padding: 26px 20px; }
  .prod-body { padding: 24px 18px; }
  .gal-body .gallery { grid-template-columns: repeat(2, 1fr); }
  .gal-body img { max-width: calc(100% - 20px); }
  .prod-shots-track { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .prod-shot { border-radius: 12px; }
  .shots-item { flex-basis: 100%; padding: 0 2px; }
  .shots-arrow { width: 34px; height: 34px; font-size: 18px; }
  .shots-prev { left: 4px; }
  .shots-next { right: 4px; }
  .shots-mode-btn { padding: 7px 12px; }
  .custom-logo { height: 34px; }
}

/* ============================================================
   v1.5.0 移动端全面适配（手机浏览器 + 微信公众号内打开）
   —— 触摸优化 / iOS安全区 / 微信适配 / 合理布局断点 / 排版间距
   ============================================================ */

/* —— 全局触摸优化 —— */
* { -webkit-tap-highlight-color: transparent; }
a, button, summary, .prod-shot, .shots-mode-btn, .shots-arrow, .back-top, .nav-toggle {
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
}

/* —— iOS 安全区适配（刘海屏 / 底部 Home 指示条）—— */
@supports (padding: env(safe-area-inset-top)) {
  .site-header { padding-top: env(safe-area-inset-top); }
  .back-top { bottom: calc(20px + env(safe-area-inset-bottom)); }
  .site-footer { padding-bottom: calc(40px + env(safe-area-inset-bottom)); }
}

/* —— 微信公众号内打开适配 —— */
/* 微信 iOS WKWebView 与 Android X5 内核已知问题修正 */
body { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
img { -webkit-user-drag: none; }
/* 微信 font boosting 修正（大号文字被自动放大） */
.hero h1, .sec-head h2, .stat-num, .err-code, .why-num, .contact-card h3 {
  max-height: 999px;
}

/* ===================================================
   640px 平板/大屏手机：保持 2 列合理布局
   原有 640px 全部塌缩为 1 列过于激进，修正为保持 2 列
   =================================================== */
@media (max-width: 640px) {
  /* 网格保持 2 列（4 项布局在手机上 2 列更合理） */
  .products { grid-template-columns: repeat(2, 1fr) !important; gap: 14px; }
  .why-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 24px 16px; }
  .steps { grid-template-columns: repeat(2, 1fr) !important; gap: 14px; }
  .news-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 14px; }
  .prod-related-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 12px; }
  .gal-related-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 12px; }
  .prod-shots-track { grid-template-columns: repeat(2, 1fr) !important; gap: 10px; }

  /* 移动端导航面板：平滑动画替代 display 切换 */
  .nav-links {
    display: flex !important;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity .28s ease, transform .28s ease, visibility .28s;
    pointer-events: none;
    max-height: calc(100vh - 68px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .nav-links.open {
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
  }

  /* 汉堡按钮 → × 关闭动画 */
  .nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

  /* 导航项加大触摸区域 */
  .nav-links a { padding: 12px 16px; border-radius: 10px; font-size: 16px; }

  /* 数据条 2 列间距压缩 */
  .stats { padding: 32px 0; }
  .stat-num { font-size: 32px; }
  .stat-num small { font-size: 16px; display: inline-block; vertical-align: super; transform: translateY(-2px); margin-left: 2px; }
  .stat-label { font-size: 12.5px; }

  /* 产品矩阵卡片间距压缩 */
  .product { padding: 24px 16px; }
  .product-icon { width: 54px; height: 54px; font-size: 26px; }

  /* 联系卡片缩减内边距 */
  .contact-card { padding: 28px 22px; }
  .contact-card h3 { font-size: 20px; margin-bottom: 20px; }

  /* 留言表单缩减 */
  .msg-form-card { padding: 24px 18px; }

  /* Section 间距压缩 */
  .section { padding: 56px 0; }

  /* Hero 区缩减 */
  .hero { padding: 112px 0 52px; }
  .hero-sub { font-size: 15.5px; max-width: 100%; }

  /* 回到顶部按钮 */
  .back-top { right: 18px; bottom: 22px; }

  /* 页脚居中 */
  .footer-inner { justify-content: center; text-align: center; }

  /* FAQ 排版 */
  .faq summary { padding: 16px 18px; font-size: 15px; }
  .faq-body { font-size: 14.5px; }

  /* 产品/制度页间距 */
  .prod-hero { padding: 96px 0 32px; }
  .prod-body { padding: 22px 16px; }
  .doc-content { padding: 24px 18px; }
}

/* ===================================================
   480px 小屏手机：最终单列塌缩 + 全面间距优化
   =================================================== */
@media (max-width: 480px) {
  .wrap { padding: 0 16px; }

  /* 全部网格 → 单列 */
  .cards-3, .products, .why-grid, .steps, .news-grid { grid-template-columns: 1fr !important; }
  .prod-related-grid, .gal-related-grid { grid-template-columns: 1fr !important; }
  .gal-body .gallery { grid-template-columns: repeat(2, 1fr) !important; }
  .prod-shots-track { grid-template-columns: repeat(2, 1fr) !important; }

  /* Section 间距进一步压缩 */
  .section { padding: 44px 0; }
  .sec-head { margin-bottom: 32px; }

  /* Hero */
  .hero { padding: 100px 0 40px; }
  .hero h1 { font-size: 28px; }
  .hero-sub { font-size: 15px; margin: 12px 0 20px; }
  .hero-actions { gap: 10px; }
  .btn { padding: 11px 22px; font-size: 14px; }
  .hero-badge { font-size: 12px; padding: 5px 12px; margin-bottom: 16px; }

  /* 数据条 */
  .stats { padding: 24px 0; }
  .stat-num { font-size: 26px; }
  .stat-num small { font-size: 13px; display: inline-block; vertical-align: super; transform: translateY(-2px); margin-left: 2px; }
  .stat-label { font-size: 12px; }

  /* 卡片 */
  .card { padding: 22px 18px; }
  .card-icon { width: 46px; height: 46px; font-size: 20px; }
  .card h3 { font-size: 17px; }
  .card p { font-size: 14px; }
  .card li { font-size: 13px; }

  /* 产品 */
  .product { padding: 20px 16px; }
  .product-icon { width: 50px; height: 50px; font-size: 24px; }
  .product h3 { font-size: 16px; }

  /* 优势 */
  .why-num { font-size: 34px; }
  .why h3 { font-size: 16px; }
  .why p { font-size: 13px; }

  /* 流程 */
  .step { padding: 20px 16px; }
  .step::before { font-size: 32px; top: 10px; right: 14px; }
  .step h3 { font-size: 15px; }
  .step p { font-size: 13px; }

  /* 新闻 */
  .news-card { padding: 18px 16px; }
  .news-card h3 { font-size: 15px; }
  .news-card p { font-size: 13px; }

  /* 联系卡片 */
  .contact-card { padding: 22px 18px; border-radius: 16px; }
  .contact-card h3 { font-size: 18px; margin-bottom: 16px; }
  .contact-item { gap: 12px; padding: 10px 0; }
  .contact-item .ci { width: 36px; height: 36px; font-size: 16px; border-radius: 10px; }
  .contact-item span { font-size: 14px; }
  .contact-item b { font-size: 12px; }

  /* 留言表单 */
  .msg-form-card { padding: 20px 14px; border-radius: 16px; }
  .msg-form-card h3 { font-size: 18px; }
  .form-field input, .form-field select, .form-field textarea { padding: 10px 14px; font-size: 14px; }

  /* 页脚 */
  .footer-inner { flex-direction: column; gap: 10px; }
  .footer-links { justify-content: center; gap: 14px; font-size: 13px; }
  .site-footer { padding: 28px 0; font-size: 12.5px; }

  /* FAQ */
  .faq summary { padding: 14px 16px; font-size: 14.5px; }
  .faq-body { padding: 0 16px 14px; font-size: 14px; }

  /* 回到顶部 */
  .back-top { right: 14px; bottom: 18px; width: 40px; height: 40px; font-size: 17px; border-radius: 12px; }

  /* 文章页 */
  .single-wrap { padding: 100px 16px 60px; }
  .page-hero { padding: 96px 0 28px; }
  .single-content { font-size: 15px; }
  .single-content h2 { font-size: 19px; }

  /* 产品页 */
  .prod-hero { padding: 88px 0 28px; }
  .prod-hero h1 { font-size: 24px; }
  .prod-intro { font-size: 15px; }
  .prod-body { padding: 20px 14px; font-size: 15px; }
  .prod-h2 { font-size: 19px; }

  /* 制度页 */
  .doc-hero { padding: 88px 0 28px; }
  .doc-hero h1 { font-size: 24px; }
  .doc-content { padding: 22px 16px; }
  .doc-body { font-size: 15px; }
  .doc-body h2 { font-size: 18px; }
  .doc-body td, .doc-body th { padding: 7px 9px; font-size: 13px; }

  /* 图文页 */
  .gal-banner img { max-height: 280px; }
  .gal-body img { max-width: calc(100% - 12px); margin: 6px; }

  /* 404 */
  .err-code { font-size: 72px; }

  /* 品牌标识稍小 */
  .brand { font-size: 19px; }
  .brand-mark { width: 34px; height: 34px; font-size: 16px; }
  .custom-logo { height: 30px; }

  /* 导航高度微调 */
  .nav-bar { height: 60px; }
  .nav-links { top: 60px; }

  /* 截图箭头 */
  .shots-arrow { width: 32px; height: 32px; font-size: 16px; }
  .shots-prev { left: 2px; }
  .shots-next { right: 2px; }

  /* CTA 区 */
  .post-cta { padding: 24px 18px; border-radius: 16px; }
}

/* —— 360px 超小屏（iPhone SE / 折叠屏）—— */
@media (max-width: 360px) {
  .wrap { padding: 0 12px; }
  .hero h1 { font-size: 25px; }
  .stat-num { font-size: 22px; }
  .btn { padding: 10px 18px; font-size: 13px; }
  .faq summary { font-size: 14px; }
}

/* —— 低端设备动画减弱：尊重用户系统偏好 —— */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* —— 横屏适配（手机横屏 / 平板）—— */
@media (max-width: 960px) and (orientation: landscape) and (max-height: 500px) {
  .hero { padding: 90px 0 40px; }
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; }
  .hero-art { max-width: 300px; }
  .section { padding: 48px 0; }
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ============================================================
   v2.1.0 移动端重新设计 —— 高端 App 体验
   大字渐变 / 深色质感卡片 / 垂直时间线 / Bento 网格 / 玻璃导航
   底部 Tab 导航栏不变
   ============================================================ */

/* —— 底部 Tab 导航栏（默认隐藏，移动端显示）—— */
.mobile-tabbar { display: none; }

@media (max-width: 768px) {

  /* ===== 全局 ===== */
  body.has-tabbar { padding-bottom: 62px; }
  .wrap { padding: 0 20px; }
  * { -webkit-tap-highlight-color: transparent; }
  a, button, summary { -webkit-tap-highlight-color: transparent; -webkit-touch-callout: none; }

  /* ===== 顶部导航简化（只留 Logo） ===== */
  .nav-bar { height: 56px; }
  .nav-toggle { display: none !important; }
  .nav-links { display: none !important; }
  .site-header {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding-top: env(safe-area-inset-top);
    box-shadow: 0 1px 0 rgba(0, 0, 0, .04);
  }
  .brand { font-size: 20px; }
  .brand-mark { width: 34px; height: 34px; font-size: 16px; border-radius: 10px; }
  .custom-logo { height: 34px; }

  /* ===== 底部 Tab 导航栏（保持不变） ===== */
  .mobile-tabbar {
    display: flex;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 200;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-top: 1px solid rgba(236, 238, 242, 0.8);
    padding: 5px 0 calc(5px + env(safe-area-inset-bottom));
    box-shadow: 0 -6px 28px rgba(24, 32, 43, 0.06);
  }
  .tab-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 6px 2px;
    color: #9ba3ad;
    font-size: 10px;
    font-weight: 600;
    transition: color 0.25s;
    position: relative;
    text-decoration: none;
  }
  .tab-item svg { width: 22px; height: 22px; transition: transform 0.25s; }
  .tab-item.active { color: var(--brand); }
  .tab-item.active svg { transform: scale(1.08); }
  .tab-item.active::before {
    content: '';
    position: absolute;
    top: 0; left: 50%; transform: translateX(-50%);
    width: 22px; height: 3px;
    border-radius: 0 0 3px 3px;
    background: linear-gradient(90deg, var(--brand), #ff8f33);
  }

  /* ===== Hero 重设计 ===== */
  .hero {
    padding: 72px 0 40px;
    background:
      radial-gradient(circle at 25% 15%, rgba(255, 106, 0, 0.14), transparent 55%),
      radial-gradient(circle at 85% 50%, rgba(255, 143, 51, 0.07), transparent 45%),
      linear-gradient(165deg, #fff8f3 0%, #fffaf6 40%, #ffffff 100%);
    position: relative;
    overflow: hidden;
  }
  .hero::after {
    content: '';
    position: absolute;
    top: -40px; right: -60px;
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(255, 106, 0, 0.08), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
  }
  .hero-grid { display: block; position: relative; z-index: 1; }
  .hero-art { display: none; }
  .float-chip { display: none; }
  .hero-badge {
    font-size: 12px; padding: 6px 14px; margin-bottom: 16px;
    background: linear-gradient(135deg, rgba(255, 106, 0, 0.08), rgba(255, 143, 51, 0.04));
    border: 1px solid rgba(255, 106, 0, 0.12);
    border-radius: 999px;
  }
  .hero h1 {
    font-size: 34px; line-height: 1.18; font-weight: 900;
    letter-spacing: -0.5px; max-height: 999px;
  }
  .hero h1 em {
    background: linear-gradient(135deg, #ff6a00, #ff8f33);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  .hero-sub {
    font-size: 15px; line-height: 1.7; color: var(--ink-2);
    margin: 14px 0 24px; max-width: 100%;
  }
  .hero-actions { gap: 12px; flex-wrap: wrap; }
  .btn {
    padding: 13px 26px; font-size: 14.5px; border-radius: 14px;
  }
  .btn-primary {
    background: linear-gradient(135deg, #ff6a00, #ff8f33);
    box-shadow: 0 8px 24px rgba(255, 106, 0, 0.28);
  }
  .btn-ghost {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    border: 1.5px solid var(--line);
  }

  /* ===== 数据条 —— 九宫格轻量卡片（3 列 + 细分割线） ===== */
  .stats {
    background: linear-gradient(180deg, #ffffff 0%, #f5f6f8 100%);
    padding: 24px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }
  .stats-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 0;
    padding: 0 20px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.05);
  }
  .stats-grid > div {
    padding: 18px 6px 16px;
    background: transparent;
    border-radius: 0;
    border: none;
    border-left: 1px solid var(--line);
    box-shadow: none;
    text-align: center;
  }
  .stats-grid > div:first-child { border-left: none; }
  .stats-grid > div:nth-child(4) {
    grid-column: 1 / -1;
    border-left: none;
    border-top: 1px solid var(--line);
    padding: 15px 6px 17px;
  }
  .stat-num { font-size: 27px; color: var(--brand); max-height: 999px; }
  .stat-num small {
    font-size: 14px;
    display: inline-block;
    vertical-align: super;
    transform: translateY(-2px);
    margin-left: 2px;
  }
  .stat-label { font-size: 11.5px; color: #7a8699; margin-top: 3px; }

  /* ===== Section 间距与标题 ===== */
  .section { padding: 48px 0 !important; }
  .sec-head { margin-bottom: 32px !important; max-width: 100%; }
  .sec-tag {
    font-size: 11px; letter-spacing: 2px; margin-bottom: 8px;
    padding: 4px 12px; background: var(--brand-soft); border-radius: 999px;
  }
  .sec-head h2 { font-size: 26px; font-weight: 900; max-height: 999px; }
  .sec-head p { font-size: 14px; margin-top: 10px; color: var(--muted); }

  /* ===== 业务卡片 —— 全宽 + 左侧渐变条 ===== */
  .cards-3 { grid-template-columns: 1fr !important; gap: 16px; }
  .card {
    padding: 24px 20px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid var(--line);
    position: relative;
    overflow: hidden;
  }
  .card::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--brand), #ff8f33);
    border-radius: 0 4px 4px 0;
    opacity: 1;
  }
  .card::after { display: none; }
  .card:hover::after { display: none; }
  .card-icon {
    width: 52px; height: 52px; border-radius: 16px; font-size: 24px;
    background: linear-gradient(135deg, var(--brand-soft), #ffe4cd);
    margin-bottom: 16px;
  }
  .card h3 { font-size: 18px; }
  .card p { font-size: 14px; }
  .card li { font-size: 13.5px; padding: 5px 0 5px 22px; }

  /* ===== 产品矩阵 —— 横滑渐变卡片 ===== */
  .products {
    display: flex !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 12px;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
    grid-template-columns: none !important;
  }
  .products::-webkit-scrollbar { display: none; }
  .product {
    flex: 0 0 72%;
    scroll-snap-align: center;
    padding: 28px 20px;
    border-radius: 20px;
    background: linear-gradient(145deg, #ffffff 0%, #fafbfd 100%);
    border: 1px solid var(--line);
  }
  .product-icon {
    width: 60px; height: 60px; font-size: 28px; border-radius: 20px;
    background: linear-gradient(135deg, var(--brand-soft), #ffe4cd);
  }
  .product h3 { font-size: 18px; }

  /* ===== 优势 —— Bento 网格（首项全宽渐变） ===== */
  .why-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px;
  }
  .why {
    padding: 22px 18px;
    border-radius: 18px;
    position: relative;
    overflow: hidden;
  }
  .why:nth-child(1) {
    grid-column: span 2;
    background: linear-gradient(135deg, #ff6a00 0%, #ff8f33 100%);
  }
  .why:nth-child(1) .why-num {
    -webkit-text-fill-color: #fff;
    color: #fff;
    font-size: 44px;
  }
  .why:nth-child(1) h3 { color: #fff; }
  .why:nth-child(1) p { color: rgba(255, 255, 255, 0.85); }
  .why:nth-child(2),
  .why:nth-child(3),
  .why:nth-child(4) {
    background: #fff;
    border: 1px solid var(--line);
  }
  .why-num { font-size: 36px; max-height: 999px; }
  .why h3 { font-size: 15px; margin: 8px 0 6px; }
  .why p { font-size: 12.5px; }

  /* ===== 流程 —— 垂直时间线 ===== */
  .steps {
    display: block !important;
    grid-template-columns: none !important;
    gap: 0;
    position: relative;
    padding-left: 28px;
  }
  .steps::before {
    content: '';
    position: absolute;
    left: 14px; top: 12px; bottom: 12px;
    width: 2px;
    background: linear-gradient(180deg, var(--brand), #ffd9b8);
    border-radius: 1px;
  }
  .step {
    margin-bottom: 20px;
    padding: 20px 18px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid var(--line);
    position: relative;
  }
  .step:last-child { margin-bottom: 0; }
  .step::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    left: -28px; top: 16px;
    width: 30px; height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand), #ff8f33);
    color: #fff;
    font-size: 15px; font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    -webkit-text-stroke: 0;
    box-shadow: 0 4px 12px rgba(255, 106, 0, 0.25);
    z-index: 1;
  }
  .step h3 { font-size: 16px; margin-bottom: 6px; }
  .step p { font-size: 13px; }

  /* ===== FAQ ===== */
  .faq-list { gap: 10px; }
  .faq { border-radius: 14px; }
  .faq summary { padding: 16px 18px; font-size: 15px; }
  .faq-body { padding: 0 18px 16px; font-size: 14px; }

  /* ===== 新闻 —— 横滑卡片 ===== */
  .news-grid {
    display: flex !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 12px;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
    grid-template-columns: none !important;
  }
  .news-grid::-webkit-scrollbar { display: none; }
  .news-card { flex: 0 0 80%; scroll-snap-align: center; padding: 22px 20px; border-radius: 18px; }
  .news-card h3 { font-size: 16px; }

  /* ===== 关于 + 联系 ===== */
  .about-grid { grid-template-columns: 1fr !important; gap: 24px; }
  .about-text h2 { font-size: 24px; }
  .about-text p { font-size: 14.5px; }

  .contact-card {
    border-radius: 24px;
    padding: 28px 24px;
    background: linear-gradient(145deg, #1e2433 0%, #2a3142 100%);
  }
  .contact-card h3 { font-size: 20px; margin-bottom: 20px; max-height: 999px; }
  .contact-item { gap: 12px; padding: 12px 0; }
  .contact-item .ci { width: 38px; height: 38px; font-size: 16px; border-radius: 11px; }
  .contact-item span { font-size: 14px; }
  .contact-item b { font-size: 12px; }
  .contact-card .btn {
    margin-top: 20px;
    padding: 14px;
    font-size: 15px;
    border-radius: 14px;
    width: 100%;
    justify-content: center;
  }

  /* ===== 留言表单 ===== */
  .msg-form-card { padding: 24px 18px; border-radius: 20px; }
  .msg-form-card h3 { font-size: 20px; }
  .form-row { grid-template-columns: 1fr !important; }
  .form-field input, .form-field select, .form-field textarea {
    padding: 12px 14px; font-size: 14px; border-radius: 12px;
  }

  /* ===== 页脚 ===== */
  .site-footer {
    padding: 24px 0;
    font-size: 12.5px;
    padding-bottom: calc(24px + env(safe-area-inset-bottom));
  }
  .footer-inner { flex-direction: column; gap: 8px; text-align: center; }
  .footer-links { justify-content: center; gap: 12px; font-size: 12.5px; flex-wrap: wrap; }

  /* ===== 回到顶部隐藏（底部 Tab 替代） ===== */
  .back-top { display: none !important; }

  /* ===== 文章/页面页 ===== */
  .single-wrap { padding: 80px 16px 60px; }
  .page-hero { padding: 80px 0 28px; }
  .single-content { font-size: 15px; }
  .single-content h2 { font-size: 19px; }
  .post-nav { flex-direction: column; }
  .search-form { flex-direction: column; }
  .crumbs em { max-width: 180px; }

  /* ===== 产品页 ===== */
  .prod-hero { padding: 80px 0 28px; }
  .prod-hero h1 { font-size: 23px; }
  .prod-hero-inner { flex-direction: column; gap: 20px; }
  .prod-hero-thumb { flex: none; width: 100%; }
  .prod-body { padding: 22px 16px; font-size: 15px; border-radius: 18px; }
  .prod-h2 { font-size: 19px; }

  /* ===== 制度页 ===== */
  .doc-layout { grid-template-columns: 1fr; }
  .doc-side { position: static; }
  .doc-hero { padding: 80px 0 28px; }
  .doc-content { padding: 22px 16px; border-radius: 18px; }
  .doc-body { font-size: 15px; }

  /* ===== 截图 ===== */
  .shots-item { flex-basis: 100%; padding: 0 2px; }
  .shots-arrow { width: 32px; height: 32px; font-size: 16px; }
  .shots-prev { left: 2px; }
  .shots-next { right: 2px; }
  .prod-shots-track { grid-template-columns: repeat(2, 1fr) !important; gap: 8px; }
  .shots-mode-btn { padding: 7px 12px; }

  /* ===== 图文页 ===== */
  .gal-body .gallery { grid-template-columns: repeat(2, 1fr) !important; }
  .gal-body img { max-width: calc(100% - 12px); margin: 6px; }
  .gal-related-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 12px; }
  .prod-related-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 12px; }

  /* ===== 404 ===== */
  .err-code { font-size: 64px; max-height: 999px; }

  /* —— 微信 font boosting 修正 —— */
  .hero h1, .sec-head h2, .stat-num, .err-code, .why-num, .contact-card h3 {
    max-height: 999px;
  }
  body { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
  img { -webkit-user-drag: none; }
}

/* ===== 480px 小屏手机 ===== */
@media (max-width: 480px) {
  .wrap { padding: 0 16px; }
  .hero { padding: 64px 0 32px; }
  .hero h1 { font-size: 28px; }
  .hero-sub { font-size: 14px; margin: 10px 0 20px; }
  .hero-badge { font-size: 11px; padding: 4px 10px; margin-bottom: 12px; }
  .btn { padding: 11px 22px; font-size: 13px; border-radius: 12px; }
  .section { padding: 40px 0 !important; }
  .sec-head { margin-bottom: 28px !important; }
  .sec-head h2 { font-size: 23px; }
  .sec-tag { font-size: 10px; }
  .stats { padding: 18px 0; }
  .stats-grid { padding: 0 16px; }
  .stats-grid > div { padding: 15px 4px 13px; }
  .stats-grid > div:nth-child(4) { padding: 13px 4px 15px; }
  .stat-num { font-size: 23px; }
  .stat-num small { font-size: 12px; }
  .stat-label { font-size: 11px; }
  .card { padding: 20px 16px; border-radius: 18px; }
  .card-icon { width: 46px; height: 46px; font-size: 20px; border-radius: 14px; }
  .card h3 { font-size: 16px; }
  .card p { font-size: 13.5px; }
  .card li { font-size: 13px; }
  .product { flex-basis: 76%; padding: 22px 16px; }
  .product-icon { width: 52px; height: 52px; font-size: 24px; }
  .product h3 { font-size: 16px; }
  .why { padding: 18px 14px; border-radius: 16px; }
  .why:nth-child(1) .why-num { font-size: 38px; }
  .why-num { font-size: 30px; }
  .why h3 { font-size: 14px; }
  .why p { font-size: 12px; }
  .step { padding: 18px 14px; border-radius: 16px; }
  .step::before { width: 26px; height: 26px; font-size: 13px; left: -24px; }
  .step h3 { font-size: 15px; }
  .step p { font-size: 12.5px; }
  .faq summary { padding: 14px 16px; font-size: 14.5px; }
  .faq-body { padding: 0 16px 14px; font-size: 13.5px; }
  .news-card { flex-basis: 82%; padding: 20px 18px; }
  .news-card h3 { font-size: 15px; }
  .news-card p { font-size: 12.5px; }
  .contact-card { padding: 24px 20px; border-radius: 20px; }
  .contact-card h3 { font-size: 18px; }
  .msg-form-card { padding: 20px 14px; border-radius: 18px; }
  .msg-form-card h3 { font-size: 18px; }
  .form-field input, .form-field select, .form-field textarea { padding: 10px 12px; font-size: 14px; border-radius: 10px; }
  .site-footer { padding: 20px 0; font-size: 12px; padding-bottom: calc(20px + env(safe-area-inset-bottom)); }
  .footer-links { gap: 10px; font-size: 12px; }
  .single-wrap { padding: 76px 14px 50px; }
  .page-hero { padding: 76px 0 24px; }
  .prod-hero { padding: 76px 0 24px; }
  .prod-hero h1 { font-size: 21px; }
  .prod-body { padding: 20px 14px; }
  .doc-hero { padding: 76px 0 24px; }
  .doc-content { padding: 20px 14px; }
  .err-code { font-size: 52px; }
  .brand { font-size: 18px; }
  .brand-mark { width: 32px; height: 32px; font-size: 15px; }
  .nav-bar { height: 52px; }
  .gal-body img { max-width: calc(100% - 8px); margin: 4px; }
  .tab-item { font-size: 9.5px; }
  .tab-item svg { width: 20px; height: 20px; }
  body.has-tabbar { padding-bottom: 56px; }
  .post-cta { padding: 22px 16px; border-radius: 16px; }
}

/* ===== 360px 超小屏 ===== */
@media (max-width: 360px) {
  .wrap { padding: 0 12px; }
  .hero h1 { font-size: 25px; }
  .hero-sub { font-size: 13.5px; }
  .btn { padding: 9px 16px; font-size: 12px; }
  .section { padding: 36px 0 !important; }
  .sec-head h2 { font-size: 21px; }
  .stat-num { font-size: 20px; }
  .stats-grid > div { padding: 13px 3px 11px; }
  .stats-grid > div:nth-child(4) { padding: 11px 3px 13px; }
  .faq summary { font-size: 14px; }
  .tab-item { font-size: 9px; }
  .tab-item svg { width: 18px; height: 18px; }
}

/* ===== 动画减弱 ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ===== 横屏适配（手机横屏） ===== */
@media (max-width: 960px) and (orientation: landscape) and (max-height: 500px) {
  .hero { padding: 68px 0 30px; }
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 20px; align-items: center; }
  .hero-art { display: block; max-width: 260px; }
  .section { padding: 40px 0; }
  .stats-grid { display: grid !important; grid-template-columns: repeat(3, 1fr) !important; gap: 0; padding: 0 20px; }
  .stats-grid > div:nth-child(4) { grid-column: 1 / -1; border-left: none; border-top: 1px solid rgba(255,255,255,.12); }
}

/* ============================================================
   v2.1.1 PC 端强制隐藏底部菜单
   PC 微信内置浏览器 / 缩小窗口等 ≤768px 场景不再显示移动端 Tab 栏
   仅带鼠标 + 精确指针的设备（真 PC）生效，手机触摸设备不受影响
   ============================================================ */
@media (hover: hover) and (pointer: fine) {
  .mobile-tabbar { display: none !important; }
  body.has-tabbar { padding-bottom: 0 !important; }
}
