/* ==========================================================
   司法便民平台官网 · 全局样式
   主色 #C8102E · 金 #D4AF37 · 纯静态站 · 响应式
   ========================================================== */

/* ---------- 变量与基础 ---------- */
:root {
  --red: #C8102E;
  --red-deep: #A30B24;
  --red-dark: #8E0E22;
  --red-grad: linear-gradient(135deg, #C8102E 0%, #8E0E22 100%);
  --gold: #D4AF37;
  --gold-light: #E8C766;
  --ink: #1A1A1A;
  --text: #555555;
  --text-light: #888888;
  --bg-red: #FBF2F4;
  --bg-gray: #F5F6F7;
  --border: #E8E8E8;
  --white: #FFFFFF;
  --shadow: 0 6px 24px rgba(0, 0, 0, .08);
  --shadow-hover: 0 14px 40px rgba(200, 16, 46, .14);
  --radius: 12px;
  --radius-sm: 8px;
  --container: 1200px;
  --font: "PingFang SC", "Microsoft YaHei", "Source Han Sans SC", "微软雅黑", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; transition: color .25s; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }

section { position: relative; }

/* 区块标题 */
.section { padding: 88px 0; }
.section--gray { background: var(--bg-gray); }
.section--red { background: var(--bg-red); }
.section--dark { background: #20242B; }

.section-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.section-tag {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 2px;
  color: var(--red);
  font-weight: 600;
  margin-bottom: 14px;
}
.section-title {
  font-size: 34px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.35;
}
.section-title .em { color: var(--red); }
.gold-line {
  width: 56px; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--red));
  border-radius: 2px;
  margin: 18px auto 0;
}
.section-sub { margin-top: 16px; font-size: 16px; color: var(--text); }
.section--dark .section-title { color: var(--white); }
.section--dark .section-tag { color: var(--gold-light); }
.section--dark .section-sub { color: #B7BCC4; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 32px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  border: 2px solid transparent;
  transition: all .25s;
  white-space: nowrap;
}
.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: var(--red-deep); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(200,16,46,.3); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,.7); }
.btn-outline:hover { background: rgba(255,255,255,.12); border-color: var(--white); }
.btn-white { background: var(--white); color: var(--red); }
.btn-white:hover { background: var(--gold-light); color: var(--red-deep); }
.btn-line { background: transparent; color: var(--red); border-color: var(--red); }
.btn-line:hover { background: var(--red); color: var(--white); }
.btn-lg { height: 54px; padding: 0 40px; font-size: 17px; }

/* ---------- 导航栏 ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s;
}
.header.scrolled { box-shadow: 0 6px 20px rgba(0,0,0,.08); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 56px; height: 56px; border-radius: 50%; object-fit: contain; }
.footer .brand img { width: 68px; height: 68px; }
.brand-text { line-height: 1.25; }
.brand-name { font-size: 20px; font-weight: 700; color: var(--ink); }
.brand-name span { color: var(--red); }
.brand-sub { font-size: 12px; color: var(--text-light); letter-spacing: 1px; }

.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-link {
  font-size: 16px; color: var(--ink); font-weight: 500;
  position: relative; padding: 28px 0;
}
.nav-link::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 3px; background: var(--red); border-radius: 2px;
  transition: width .3s;
}
.nav-link:hover, .nav-link.active { color: var(--red); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-hotline {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--red); font-weight: 700; font-size: 16px;
}
.nav-toggle { display: none; background: none; border: none; width: 40px; height: 40px; position: relative; z-index: 1001; }
.nav-toggle span {
  display: block; width: 24px; height: 2px; background: var(--ink);
  margin: 5px auto; transition: all .3s; border-radius: 2px;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero 首页首屏 ---------- */
.hero {
  position: relative;
  background: var(--red-grad);
  color: var(--white);
  padding: 168px 0 0;
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; top: -120px; right: -80px;
  width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(212,175,55,.22), transparent 65%);
}
.hero::after {
  content: ""; position: absolute; bottom: 60px; left: -100px;
  width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.08), transparent 60%);
}
.hero-inner { position: relative; z-index: 2; max-width: 860px; margin: 0 auto; text-align: center; padding-bottom: 96px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.35);
  padding: 8px 20px; border-radius: 40px; font-size: 14px; letter-spacing: 1px;
  margin-bottom: 28px;
}
.hero-title { font-size: 52px; font-weight: 800; line-height: 1.25; margin-bottom: 22px; }
.hero-title .gold { color: var(--gold-light); }
.hero-sub { font-size: 19px; line-height: 1.9; color: rgba(255,255,255,.92); max-width: 720px; margin: 0 auto 40px; }
.hero-actions { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; }
.hero-brand-line { margin-top: 46px; font-size: 13px; letter-spacing: 2px; color: rgba(255,255,255,.7); }

.hero-stats {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--white); color: var(--ink);
  border-radius: var(--radius) var(--radius) 0 0;
  box-shadow: 0 -12px 40px rgba(0,0,0,.1);
}
.stat { text-align: center; padding: 34px 16px; border-right: 1px solid var(--border); }
.stat:last-child { border-right: none; }
.stat-num { font-size: 40px; font-weight: 800; color: var(--red); line-height: 1.2; }
.stat-num .unit { font-size: 20px; font-weight: 600; color: var(--red); }
.stat-label { margin-top: 8px; font-size: 14px; color: var(--text); }

/* ---------- 价值主张四宫格 ---------- */
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.value-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 40px 28px;
  text-align: center; transition: all .3s;
  position: relative; overflow: hidden;
}
.value-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--red-grad); transform: scaleX(0); transition: transform .35s;
}
.value-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-6px); }
.value-card:hover::before { transform: scaleX(1); }
.value-icon {
  width: 76px; height: 76px; margin: 0 auto 22px; border-radius: 50%;
  background: var(--bg-red); display: flex; align-items: center; justify-content: center;
  color: var(--red);
}
.value-card h3 { font-size: 20px; color: var(--ink); margin-bottom: 12px; }
.value-card p { font-size: 14px; color: var(--text); }
.value-en { font-size: 12px; letter-spacing: 1px; color: var(--gold); font-weight: 600; margin-top: 14px; }

/* ---------- 产品矩阵 ---------- */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.product-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 34px 30px;
  transition: all .3s; display: flex; flex-direction: column;
}
.product-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-6px); border-color: transparent; }
.product-top { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.product-icon {
  width: 56px; height: 56px; flex-shrink: 0; border-radius: 12px;
  background: var(--red-grad); color: var(--white);
  display: flex; align-items: center; justify-content: center;
}
.product-card h3 { font-size: 20px; color: var(--ink); }
.product-card .en { font-size: 12px; color: var(--text-light); letter-spacing: 1px; }
.product-card p { font-size: 15px; color: var(--text); flex: 1; }
.card-link {
  margin-top: 22px; display: inline-flex; align-items: center; gap: 6px;
  color: var(--red); font-weight: 600; font-size: 15px;
}
.card-link:hover { gap: 10px; }

/* ---------- 数据区 ---------- */
.data-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.data-item { text-align: center; padding: 10px 0; }
.data-num { font-size: 46px; font-weight: 800; color: var(--white); line-height: 1.2; }
.data-num .unit { font-size: 22px; color: var(--gold-light); }
.data-label { margin-top: 10px; color: #B7BCC4; font-size: 15px; }
.data-divider { width: 60px; height: 2px; background: var(--gold); margin: 14px auto 0; }

/* ---------- 四端生态 ---------- */
.eco-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.eco-card {
  background: var(--white); border-radius: var(--radius);
  padding: 40px 28px; text-align: center; position: relative;
  border-top: 4px solid var(--gold); box-shadow: 0 4px 18px rgba(0,0,0,.05);
  transition: all .3s;
}
.eco-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.eco-code {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 1px;
  color: var(--red); background: var(--bg-red); border-radius: 30px; padding: 6px 16px; margin-bottom: 16px;
}
.eco-card h3 { font-size: 21px; color: var(--ink); margin-bottom: 10px; }
.eco-card p { font-size: 14px; color: var(--text); }

/* ---------- 案例 ---------- */
.case-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.case-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 40px; transition: all .3s;
}
.case-card:hover { box-shadow: var(--shadow); }
.case-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.case-head .icon { color: var(--red); }
.case-card h3 { font-size: 22px; color: var(--ink); }
.case-card p { font-size: 15px; color: var(--text); margin-bottom: 20px; }
.case-data { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.case-data .cd { text-align: center; background: var(--bg-gray); border-radius: var(--radius-sm); padding: 18px 8px; }
.case-data .cd-num { font-size: 26px; font-weight: 800; color: var(--red); }
.case-data .cd-label { font-size: 13px; color: var(--text); margin-top: 4px; }

/* ---------- CTA 横幅 ---------- */
.cta {
  background: var(--red-grad);
  text-align: center; padding: 76px 20px;
  position: relative; overflow: hidden;
}
.cta::before {
  content: ""; position: absolute; top: -60px; right: 10%;
  width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(212,175,55,.2), transparent 65%);
}
.cta h2 { color: var(--white); font-size: 34px; font-weight: 700; margin-bottom: 14px; }
.cta p { color: rgba(255,255,255,.9); font-size: 17px; margin-bottom: 32px; }
.cta .cta-hotline { margin-top: 18px; color: var(--gold-light); font-size: 20px; font-weight: 700; letter-spacing: 1px; }

/* ---------- 页脚 ---------- */
.footer { background: var(--red-dark); color: rgba(255,255,255,.85); }
.footer-main {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 40px;
  padding: 64px 0 48px;
}
.footer h4 { color: var(--white); font-size: 17px; margin-bottom: 20px; position: relative; padding-left: 14px; }
.footer h4::before { content: ""; position: absolute; left: 0; top: 8px; width: 4px; height: 16px; background: var(--gold); border-radius: 2px; }
.footer-brand p { font-size: 14px; margin-top: 16px; line-height: 1.9; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: 14px; color: rgba(255,255,255,.78); }
.footer-links a:hover { color: var(--gold-light); }
.footer-contact li { font-size: 14px; margin-bottom: 12px; display: flex; gap: 10px; align-items: flex-start; }
.footer-hotline { font-size: 26px; font-weight: 800; color: var(--gold-light); margin-top: 6px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.15);
  padding: 20px 0; text-align: center; font-size: 13px; color: rgba(255,255,255,.6);
}

/* ---------- 内页 Hero ---------- */
.page-hero {
  background: var(--red-grad); color: var(--white);
  padding: 148px 0 72px; text-align: center; position: relative; overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; bottom: -80px; left: 50%; transform: translateX(-50%);
  width: 620px; height: 620px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.08), transparent 60%);
}
.page-hero h1 { font-size: 44px; font-weight: 800; position: relative; z-index: 2; }
.page-hero p { font-size: 17px; color: rgba(255,255,255,.9); margin-top: 14px; position: relative; z-index: 2; }
.breadcrumb { position: relative; z-index: 2; margin-top: 18px; font-size: 14px; color: rgba(255,255,255,.75); }
.breadcrumb a { color: rgba(255,255,255,.85); }
.breadcrumb a:hover { color: var(--gold-light); }

/* ---------- 表格 ---------- */
.table-wrap { overflow-x: auto; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); }
.table { width: 100%; border-collapse: collapse; min-width: 760px; }
.table th, .table td { padding: 15px 18px; text-align: left; font-size: 14px; border-bottom: 1px solid var(--border); }
.table th { background: var(--red); color: var(--white); font-weight: 600; }
.table tr:last-child td { border-bottom: none; }
.table tbody tr:hover { background: var(--bg-red); }

/* ---------- 标签 / 徽章 ---------- */
.badge {
  display: inline-block; padding: 4px 12px; border-radius: 30px;
  font-size: 12px; font-weight: 600; border: 1px solid var(--gold); color: var(--red);
}

/* ---------- 通用特性列表 ---------- */
.feature-list li { position: relative; padding: 12px 0 12px 34px; font-size: 15px; border-bottom: 1px dashed var(--border); }
.feature-list li:last-child { border-bottom: none; }
.feature-list li::before {
  content: ""; position: absolute; left: 0; top: 20px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--red-grad); opacity: .14;
}
.feature-list li::after {
  content: ""; position: absolute; left: 7px; top: 25px;
  width: 4px; height: 8px; border: solid var(--red); border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.feature-list li b { color: var(--ink); }

/* ---------- 资讯 ---------- */
.news-filter { display: flex; justify-content: center; gap: 14px; margin-bottom: 44px; flex-wrap: wrap; }
.filter-btn {
  border: 1px solid var(--border); background: var(--white);
  padding: 10px 26px; border-radius: 30px; font-size: 15px; color: var(--text); transition: all .25s;
}
.filter-btn:hover { border-color: var(--red); color: var(--red); }
.filter-btn.active { background: var(--red); color: var(--white); border-color: var(--red); }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.news-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; transition: all .3s; display: flex; flex-direction: column;
}
.news-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-6px); }
.news-thumb { height: 180px; background: var(--red-grad); position: relative; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.9); }
.news-thumb::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.08); }
.news-thumb svg { width: 56px; height: 56px; }
.news-body { padding: 24px 24px 28px; display: flex; flex-direction: column; flex: 1; }
.news-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.news-meta .tag { background: var(--bg-red); color: var(--red); font-size: 12px; padding: 4px 12px; border-radius: 4px; font-weight: 600; }
.news-meta .date { font-size: 13px; color: var(--text-light); }
.news-card h3 { font-size: 18px; color: var(--ink); line-height: 1.5; margin-bottom: 10px; }
.news-card p { font-size: 14px; color: var(--text); flex: 1; }
.news-more { margin-top: 16px; color: var(--red); font-weight: 600; font-size: 14px; }

/* ---------- 表单 ---------- */
.form { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 44px; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form-group { display: flex; flex-direction: column; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: 14px; color: var(--ink); font-weight: 600; margin-bottom: 8px; }
.form-group label span { color: var(--red); }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 13px 16px; border: 1px solid var(--border);
  border-radius: 6px; font-size: 15px; font-family: inherit; color: var(--ink);
  background: var(--white); transition: border-color .25s, box-shadow .25s;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(200,16,46,.12);
}
.form-textarea { min-height: 130px; resize: vertical; }
.form-btn { margin-top: 26px; width: 100%; }
.form-tip { margin-top: 14px; font-size: 13px; color: var(--text-light); text-align: center; }
.form-ok {
  display: none; margin-top: 16px; padding: 14px 18px; border-radius: 6px;
  background: #EAF7EC; color: #2E7D32; font-size: 15px; text-align: center;
}

/* ---------- 关于 ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-copy h2 { font-size: 30px; color: var(--ink); margin-bottom: 20px; line-height: 1.4; }
.about-copy p { font-size: 15px; color: var(--text); margin-bottom: 16px; }
.about-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow); }
.partner-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.partner-item {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 24px 12px; text-align: center; font-size: 15px; color: var(--ink);
  transition: all .3s;
}
.partner-item:hover { border-color: var(--red); color: var(--red); box-shadow: var(--shadow); }
.partner-item .p-icon { color: var(--red); margin-bottom: 10px; }

/* ---------- 联系 ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; align-items: start; }
.contact-item {
  display: flex; gap: 18px; align-items: flex-start;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px 24px; margin-bottom: 18px; transition: all .3s;
}
.contact-item:hover { box-shadow: var(--shadow); }
.contact-icon {
  width: 52px; height: 52px; flex-shrink: 0; border-radius: 12px;
  background: var(--red-grad); color: var(--white);
  display: flex; align-items: center; justify-content: center;
}
.contact-item h4 { font-size: 16px; color: var(--ink); margin-bottom: 6px; }
.contact-item p { font-size: 14px; color: var(--text); }
.contact-item .big { font-size: 22px; font-weight: 800; color: var(--red); }

/* ---------- 产品 / 方案详情区块 ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.split.rev .split-visual { order: 2; }
.split-visual {
  background: var(--red-grad); border-radius: var(--radius);
  min-height: 260px; display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.92); position: relative; overflow: hidden;
}
.split-visual::after {
  content: ""; position: absolute; top: -50px; right: -50px;
  width: 200px; height: 200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(212,175,55,.25), transparent 65%);
}
.split-copy h3 { font-size: 26px; color: var(--ink); margin-bottom: 16px; }
.split-copy p { font-size: 15px; color: var(--text); margin-bottom: 12px; }

.mini-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.mini-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 24px 18px; text-align: center; transition: all .3s; }
.mini-card:hover { box-shadow: var(--shadow); border-color: transparent; }
.mini-card .m-icon { color: var(--red); margin-bottom: 10px; }
.mini-card h4 { font-size: 16px; color: var(--ink); }
.mini-card p { font-size: 13px; color: var(--text); margin-top: 6px; }

/* ---------- 浮窗 & 移动端条 ---------- */
.floating { position: fixed; right: 24px; bottom: 100px; z-index: 900; display: flex; flex-direction: column; gap: 12px; }
.back-top {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--white); border: 1px solid var(--border); color: var(--red);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow); opacity: 0; visibility: hidden; transition: all .3s;
}
.back-top.show { opacity: 1; visibility: visible; }
.back-top:hover { background: var(--red); color: var(--white); }
.mobile-bar {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 950;
  background: var(--white); border-top: 1px solid var(--border);
  grid-template-columns: 1fr 1fr; padding: 10px 16px; gap: 12px;
}
.mobile-bar .btn { height: 44px; font-size: 15px; }

/* ---------- 动画 ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s, transform .7s; }
.reveal.visible { opacity: 1; transform: none; }
.d1 { transition-delay: .1s; } .d2 { transition-delay: .2s; }
.d3 { transition-delay: .3s; } .d4 { transition-delay: .4s; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .value-grid, .eco-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .data-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .partner-grid { grid-template-columns: repeat(3, 1fr); }
  .mini-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; top: 0; right: -100%; width: 76%; max-width: 320px; height: 100vh;
    background: var(--white); flex-direction: column; align-items: flex-start;
    padding: 96px 34px 40px; gap: 6px; box-shadow: -10px 0 40px rgba(0,0,0,.12);
    transition: right .35s;
  }
  .nav-links.open { right: 0; }
  .nav-link { padding: 14px 0; width: 100%; font-size: 17px; border-bottom: 1px solid var(--bg-gray); }
  .nav-hotline { margin-top: 18px; }
  .section { padding: 60px 0; }
  .section-title { font-size: 26px; }
  .hero { padding: 140px 0 0; }
  .hero-title { font-size: 32px; }
  .hero-sub { font-size: 16px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .stat { border-bottom: 1px solid var(--border); }
  .stat:nth-child(odd) { border-right: none; }
  .value-grid, .eco-grid, .product-grid, .news-grid, .case-grid { grid-template-columns: 1fr; }
  .data-grid { grid-template-columns: repeat(2, 1fr); }
  .cta h2 { font-size: 26px; }
  .footer-main { grid-template-columns: 1fr; gap: 32px; }
  .about-grid, .split, .contact-grid, .form-grid { grid-template-columns: 1fr; }
  .form { padding: 28px 22px; }
  .page-hero h1 { font-size: 32px; }
  .mobile-bar { display: grid; }
  body { padding-bottom: 70px; }
  .floating { bottom: 84px; right: 16px; }
  .partner-grid { grid-template-columns: repeat(2, 1fr); }
  .case-data { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .case-data .cd-num { font-size: 20px; }
}

@media (max-width: 480px) {
  .brand-name { font-size: 18px; }
  .brand-sub { font-size: 11px; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .stat-num { font-size: 30px; }
}

/* ========== 浮动联系组件（常驻） ========== */
.float-contact { position: fixed; right: 24px; bottom: 24px; z-index: 9999; }
.float-contact__panel {
  width: 220px; background: #fff; border-radius: 14px;
  padding: 18px; text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.16);
}
.float-contact__qr {
  width: 160px; height: 160px; border-radius: 8px;
  display: block; margin: 0 auto 10px;
}
.float-contact__tip { font-size: 13px; color: var(--text); margin-bottom: 8px; }
.float-contact__tel {
  display: inline-block; font-size: 18px; font-weight: 700;
  color: var(--red); text-decoration: none; letter-spacing: 1px;
}
.float-contact__tel:hover { text-decoration: underline; }
@media (max-width: 768px) {
  .float-contact { right: 16px; bottom: 16px; }
  .float-contact__panel { width: 200px; padding: 14px; }
  .float-contact__qr { width: 150px; height: 150px; }
}
