/* 手写毛笔字体（马善政楷书 · 免费可商用 · 已按本站字符集裁剪） */
@font-face {
  font-family: "MaShanZheng";
  src: url("../fonts/MaShanZheng.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
/* =====================================================
   新利堡消防 · 企业官网 设计系统
   风格：新中式 × 现代融合（朱砂红 / 鎏金 / 宣纸米白）
   ===================================================== */

/* ---------- 设计令牌 ---------- */
:root {
  --red: #B92831;
  --red-deep: #8F1F26;
  --red-soft: #F5E6E0;
  --ink: #1F2329;
  --ink-2: #2A2E33;
  --gold: #C9A05C;
  --gold-deep: #A0714F;
  --paper: #FAF6F0;
  --paper-2: #F3EDE2;
  --line: #E8E0D4;
  --text: #2A2E33;
  --text-2: #6B7076;
  --white: #FFFFFF;

  /* ★ 字体设置区：改这里即可更换全站字体 ★
     --font-num   数字（电话/年份/统计数字）——务必使用数字上下齐平的字体
     --font-kai   大标题书法字    --font-serif  章节标题
     --font-sans  正文            多个字体名用逗号分隔，浏览器按顺序回退 */
  --font-kai: "Kaiti SC", "KaiTi", "STKaiti", "BiauKai", "DFKai-SB", serif;
  --font-serif: "Songti SC", "Noto Serif CJK SC", "SimSun", "Source Han Serif SC", serif;
  --font-sans: "PingFang SC", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", sans-serif;
  --font-num: "Times New Roman", "Palatino Linotype", Georgia, serif;

  --shadow-1: 0 2px 10px rgba(31, 35, 41, .06);
  --shadow-2: 0 10px 30px rgba(31, 35, 41, .10);
  --shadow-gold: 0 6px 24px rgba(201, 160, 92, .35);
  --radius: 6px;
  --wrap: 1200px;
  --dur: .25s;
}

/* ---------- 基础 ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* 祥云底纹已移除，仅保留底色层次 */
.cloud-bg { background-color: var(--paper); }

/* ---------- 顶部信息条 ---------- */
.topbar { background: var(--red); color: rgba(255,255,255,.92); font-size: 13px; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; min-height: 34px; gap: 12px; }
.topbar .slogan { letter-spacing: .06em; }
.topbar .hotline { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.topbar svg { width: 14px; height: 14px; flex: none; }

/* ---------- 导航 ---------- */
.nav { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); transition: box-shadow var(--dur); }
.nav.scrolled { box-shadow: var(--shadow-2); }
.nav .wrap { display: flex; align-items: center; gap: 24px; height: 108px; }
.nav-sp { order: 0; flex: 1; }
.nav .brand { order: 1; }
.nav .brand img { height: 104px; width: auto; transform: translateY(6px); }
.nav .menu { display: flex; align-items: center; gap: 4px; margin-left: 0; order: 2; }
.nav .menu a {
  position: relative; display: block; padding: 8px 16px; font-size: 16px; color: var(--ink);
  transition: color var(--dur);
}
.nav .menu a::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 2px; height: 2px;
  background: linear-gradient(90deg, var(--red), var(--gold)); transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur);
}
.nav .menu a:hover, .nav .menu a.active { color: var(--red); }
.nav .menu a:hover::after, .nav .menu a.active::after { transform: scaleX(1); }
.lang-switch { display: flex; align-items: center; gap: 2px; font-size: 14px; border: 1px solid var(--line); border-radius: 999px; padding: 3px; background: var(--paper); order: 3; }
.lang-switch button { border: 0; background: transparent; padding: 3px 12px; border-radius: 999px; color: var(--text-2); transition: all var(--dur); }
.lang-switch button.on { background: var(--red); color: #fff; }
.nav-burger { display: none; border: 1px solid var(--line); background: transparent; width: 42px; height: 42px; border-radius: var(--radius); position: relative; }
.nav-burger span, .nav-burger span::before, .nav-burger span::after {
  content: ""; position: absolute; left: 10px; right: 10px; height: 2px; background: var(--ink); transition: all .3s;
}
.nav-burger span { top: 50%; }
.nav-burger span::before { top: -7px; }
.nav-burger span::after { top: 7px; }
.nav-burger.open span { background: transparent; }
.nav-burger.open span::before { top: 0; transform: rotate(45deg); }
.nav-burger.open span::after { top: 0; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(160deg, var(--paper) 0%, #F6EFE2 55%, #F1E6D4 100%); }
.hero .ink { position: absolute; right: 0; top: 0; bottom: 0; width: 52%; background-size: cover; background-position: center; opacity: .16; mask-image: linear-gradient(90deg, transparent, #000 40%); -webkit-mask-image: linear-gradient(90deg, transparent, #000 40%); }
.hero .wrap { position: relative; padding-top: 96px; padding-bottom: 110px; }
.hero .eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--gold-deep); font-size: 15px; letter-spacing: .28em; }
.hero .eyebrow::before { content: ""; width: 36px; height: 1px; background: var(--gold); }
.hero h1 {
  font-family: var(--font-kai); font-weight: 700; color: var(--ink);
  font-size: clamp(34px, 5vw, 58px); line-height: 1.28; margin: 18px 0 14px;
}
.hero h1 em { font-style: normal; color: var(--red); }
.hero .sub { max-width: 620px; color: var(--text-2); font-size: 17px; }
.hero .actions { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }

.hero .scroll-hint { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); color: var(--gold-deep); font-size: 12px; letter-spacing: .2em; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.hero .scroll-hint::after { content: ""; width: 1px; height: 28px; background: linear-gradient(var(--gold), transparent); animation: drip 1.6s ease-in-out infinite; }
@keyframes drip { 0% { transform: scaleY(0); transform-origin: top; } 55% { transform: scaleY(1); transform-origin: top; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- 子页头 ---------- */
.page-hero { position: relative; color: #fff; background: linear-gradient(120deg, var(--ink) 0%, #33231C 60%, var(--red-deep) 100%); overflow: hidden; }
.page-hero .wrap { position: relative; z-index: 1; padding-top: 64px; padding-bottom: 56px; }
.page-hero .crumb { font-size: 13px; color: rgba(255,255,255,.65); letter-spacing: .05em; }
.page-hero .crumb a:hover { color: var(--gold); }
.page-hero h1 { font-family: var(--font-kai); font-weight: 700; font-size: clamp(28px, 3.6vw, 42px); margin-top: 8px; }
.page-hero h1 small { display: block; font-family: Georgia, serif; font-size: 14px; letter-spacing: .3em; color: var(--gold); margin-top: 6px; text-transform: uppercase; }

/* ---------- 章节 ---------- */
.section { padding: 84px 0; }
.section.tight { padding: 60px 0; }
.sec-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.sec-head .en { display: inline-flex; align-items: center; gap: 14px; color: var(--gold-deep); font-size: 13px; letter-spacing: .3em; text-transform: uppercase; }
.sec-head .en::before, .sec-head .en::after { content: ""; width: 34px; height: 1px; background: var(--gold); }
.sec-head h2 { font-family: var(--font-serif); font-weight: 900; font-size: clamp(26px, 3.2vw, 36px); color: var(--ink); margin-top: 10px; }
.sec-head h2 i { font-style: normal; color: var(--red); }
.sec-head p { color: var(--text-2); margin-top: 12px; }
.sec-head.left { text-align: left; margin-left: 0; }
.sec-head.left .en::before { display: none; }

/* ---------- 按钮 ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 34px; border-radius: var(--radius); font-size: 16px; border: 1px solid transparent; transition: all var(--dur); cursor: pointer; }
.btn svg { width: 17px; height: 17px; }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 6px 18px rgba(185,40,49,.28); }
.btn-primary:hover { background: var(--red-deep); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(185,40,49,.34); }
.btn-ghost { border-color: var(--gold); color: var(--gold-deep); background: transparent; }
.btn-ghost:hover { background: rgba(201,160,92,.12); border-color: var(--gold-deep); transform: translateY(-2px); }
.btn-white { background: #fff; color: var(--red); }
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.btn-line { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-line:hover { background: rgba(255,255,255,.12); }

/* ---------- 数字墙 ---------- */
.stats { background: linear-gradient(120deg, var(--red) 0%, var(--red-deep) 100%); position: relative; overflow: hidden; }
.stats .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-top: 56px; padding-bottom: 56px; }
.stat { text-align: center; color: #fff; }
.stat .num { font-family: var(--font-num); font-size: clamp(36px, 4vw, 52px); font-weight: 700; line-height: 1.1; }
.stat .num small { font-size: .55em; margin-left: 2px; }
.stat .lab { margin-top: 8px; font-size: 15px; color: rgba(255,255,255,.85); letter-spacing: .12em; }
.stat + .stat { border-left: 1px solid rgba(255,255,255,.18); }

/* ---------- 关于摘要 ---------- */
.about-grid { display: grid; grid-template-columns: 1.62fr 1fr; gap: 36px; align-items: center; }
.about-grid .pic { position: relative; }
.about-grid .pic img { border-radius: var(--radius); box-shadow: var(--shadow-2); width: 100%; height: auto; display: block; }
.about-grid .team-carousel { position: relative; border-radius: var(--radius); box-shadow: var(--shadow-2); overflow: hidden; aspect-ratio: 2818 / 1536; }
.about-grid .team-carousel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; border-radius: 0; box-shadow: none; opacity: 0; transition: opacity .8s ease; }
.about-grid .team-carousel img.on { opacity: 1; }
/* 切换圆点：居中于轮播图下方 */
.team-dots { display: flex; justify-content: center; gap: 10px; margin-top: 14px; }
.team-dots .tdot { width: 8px; height: 8px; border-radius: 50%; border: 1px solid var(--red); background: transparent; cursor: pointer; padding: 0; transition: all var(--dur); }
.team-dots .tdot.on { background: var(--red); transform: scale(1.15); }
.team-dots .tdot:hover { background: rgba(185,40,49,.5); }
@media (prefers-reduced-motion: reduce) {
  .about-grid .team-carousel img { transition: none; }
}

.about-grid .txt h3 { font-family: var(--font-serif); font-weight: 900; font-size: 24px; color: var(--ink); margin: 6px 0 14px; }
.about-grid .txt p { color: var(--text-2); margin-bottom: 12px; text-align: justify; }
.about-grid .motto { display: inline-flex; align-items: center; gap: 12px; margin: 8px 0 18px; padding: 10px 18px; background: var(--red-soft); border-left: 3px solid var(--red); border-radius: 0 var(--radius) var(--radius) 0; color: var(--red-deep); font-family: var(--font-sans); font-size: 18px; letter-spacing: .2em; }

/* ---------- 业务六宫格 ---------- */
.biz-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.biz-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 28px 30px 34px; transition: all var(--dur); overflow: hidden; }
.biz-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--red), var(--gold)); transform: scaleX(0); transition: transform .35s; }
.biz-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); border-color: var(--gold); }
.biz-card:hover::before { transform: scaleX(1); }
.biz-card .ico { width: 54px; height: 54px; border-radius: 12px; background: var(--red-soft); color: var(--red); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.biz-card .ico svg { width: 27px; height: 27px; }
.biz-card .rule { position: absolute; left: 14px; top: 30px; bottom: 30px; width: 2px; background: linear-gradient(180deg, var(--gold), rgba(201,160,92,.12)); }
.biz-card .no { display: block; font-family: var(--font-num); font-size: 26px; font-weight: 700; line-height: 1; color: var(--gold-deep); margin-bottom: 14px; letter-spacing: .06em; }
.biz-card h3 { font-size: 19px; font-weight: 700; color: var(--ink); margin-bottom: 8px; font-family: var(--font-serif); }
.biz-card p { font-size: 14.5px; color: var(--text-2); }

/* ---------- 资质荣誉精选（榜书通栏） ---------- */
.qual-board { max-width: 1060px; margin: 0 auto; }
.qual-line { display: flex; align-items: baseline; gap: 30px; padding: 28px 12px; border-bottom: 1px solid rgba(201,160,92,.28); transition: padding-left .45s cubic-bezier(.32,.72,0,1); }
.qual-line:hover { padding-left: 36px; }
.qual-line .qno { font-family: var(--font-num); font-size: 15px; font-weight: 700; color: var(--gold-deep); letter-spacing: .2em; flex: none; }
.qual-line .qtt { flex: 1; }
.qual-line .qtt h3 { font-family: var(--font-serif); font-weight: 900; font-size: clamp(20px, 2.2vw, 27px); color: var(--ink); letter-spacing: .12em; }
.qual-line .qtt h3 b { color: var(--red); }
.qual-line .qtt p { font-size: 12.5px; color: var(--text-2); margin-top: 8px; letter-spacing: .02em; }
.qual-line .qend { width: 10px; height: 10px; background: var(--red); border-radius: 2px; transform: rotate(45deg); flex: none; opacity: .85; }
@media (max-width: 576px) {
  .qual-line { gap: 14px; padding: 22px 8px; }
  .qual-line .qend { display: none; }
}

/* ---------- 产品展示区（深色） ---------- */
.products-band { background: linear-gradient(150deg, #17191D 0%, #26221C 100%); color: #EDE6D8; position: relative; overflow: hidden; }
.products-band .sec-head .en { color: var(--gold); }
.products-band .sec-head h2 { color: #F5EFE3; }
.products-band .sec-head p { color: rgba(237,230,216,.65); }
.prod-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; position: relative; }
.prod-card { background: rgba(255,255,255,.045); border: 1px solid rgba(201,160,92,.25); border-radius: 10px; padding: 38px 34px; transition: all var(--dur); display: flex; flex-direction: column; }
.prod-card:hover { border-color: var(--gold); box-shadow: var(--shadow-gold); transform: translateY(-6px); background: rgba(255,255,255,.07); }
.prod-card .tag { align-self: center; font-size: 12px; letter-spacing: .2em; color: var(--gold); border: 1px solid rgba(201,160,92,.5); padding: 3px 12px; border-radius: 999px; margin-bottom: 18px; }
.prod-card h3 { font-family: var(--font-serif); font-size: 24px; font-weight: 700; color: #FFF; margin-bottom: 4px; text-align: center; }
.prod-card .sub { color: var(--gold); font-size: 14px; letter-spacing: .08em; margin-bottom: 16px; text-align: center; }
.prod-card p { color: rgba(237,230,216,.78); font-size: 15px; text-align: justify; }
.prod-card .pic { margin: 22px 0; border-radius: 8px; overflow: hidden; background: transparent; }
.prod-card .pic img { width: 100%; height: 250px; object-fit: contain; padding: 14px; }
.prod-card .feat { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; margin-top: 12px; justify-content: center; }
.prod-card .feat span { font-size: 13px; color: rgba(237,230,216,.9); background: rgba(201,160,92,.14); border: 1px solid rgba(201,160,92,.3); padding: 4px 12px; border-radius: 999px; }
.prod-card .more { margin-top: auto; align-self: center; }

/* ---------- 案例卡 ---------- */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case-card { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3/2; background: var(--paper-2); }
.case-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
/* 画册圆形版式照片：放大取景，让圆形照片铺满卡片（裁掉底纹/编号/压印文字） */
.case-card img.zoomed { transform: scale(1.62); }
.case-card:hover img.zoomed { transform: scale(1.68); }
.case-card:hover img { transform: scale(1.06); }
.case-card .meta { position: absolute; inset: auto 0 0 0; padding: 40px 20px 16px; background: linear-gradient(transparent, rgba(18,12,8,.82)); color: #fff; }
.case-card .meta .cat { font-size: 12px; color: var(--gold); letter-spacing: .15em; }
.case-card .meta h3 { font-size: 17px; font-weight: 600; margin-top: 2px; }
.case-card .meta p { font-size: 13px; color: rgba(255,255,255,.72); margin-top: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- 新闻 ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: all var(--dur); display: flex; flex-direction: column; }
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); border-color: var(--gold); }
.news-card .thumb { aspect-ratio: 16/9; overflow: hidden; background: var(--paper-2); }
.news-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.news-card:hover .thumb img { transform: scale(1.05); }
.news-card .body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.news-card .date { font-size: 13px; color: var(--gold-deep); font-family: var(--font-num); letter-spacing: .08em; }
.news-card h3 { font-size: 16.5px; font-weight: 700; color: var(--ink); margin: 6px 0 8px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-card p { font-size: 14px; color: var(--text-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- 新闻详情 ---------- */
.news-article { max-width: 800px; margin: 0 auto; }
.news-article .meta { display: flex; gap: 14px; align-items: center; font-size: 13.5px; color: var(--text-2); letter-spacing: .06em; margin-bottom: 22px; }
.news-article .meta b { color: var(--red); font-weight: 600; }
.news-article .cover { border-radius: 8px; overflow: hidden; box-shadow: var(--shadow-2); margin-bottom: 28px; }
.news-article .cover img { width: 100%; height: auto; display: block; }
.news-article p { font-size: 15.5px; line-height: 2.05; color: #33383E; text-align: justify; text-indent: 2em; margin-bottom: 18px; }
.news-article h3 { font-family: var(--font-serif); font-size: 20px; font-weight: 900; color: var(--ink); margin: 34px 0 16px; padding-left: 12px; border-left: 3px solid var(--red); line-height: 1.4; }
.news-nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); }
.news-nav a, .news-nav span { font-size: 14px; color: var(--text-2); transition: color var(--dur); max-width: 46%; }
.news-nav a:hover { color: var(--red); }
.news-nav a.next { margin-left: auto; text-align: right; }

/* ---------- 维保检测业绩清单 ---------- */
.mlist-head { max-width: 900px; margin: 56px auto 30px; text-align: center; }
.mlist-head .mlist-en { display: inline-flex; align-items: center; gap: 14px; color: var(--gold-deep); font-size: 12px; letter-spacing: .3em; text-transform: uppercase; }
.mlist-head .mlist-en::before, .mlist-head .mlist-en::after { content: ""; width: 30px; height: 1px; background: var(--gold); }
.mlist-head h3 { font-family: var(--font-serif); font-weight: 900; font-size: clamp(22px, 2.6vw, 28px); color: var(--ink); margin-top: 8px; }
.mlist-head h3 i { font-style: normal; color: var(--red); }
.mlist-head p { font-size: 13.5px; color: var(--text-2); margin-top: 10px; }
.mlist-wrap { max-width: 1060px; margin: 0 auto; max-height: 640px; overflow-y: auto; border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: var(--shadow-1); }
.mlist { width: 100%; border-collapse: collapse; font-size: 13.5px; table-layout: fixed; }
.mlist thead th { position: sticky; top: 0; z-index: 2; background: var(--red); color: #fff; font-weight: 600; padding: 12px 16px; text-align: left; letter-spacing: .06em; }
.mlist tbody td { padding: 10px 16px; border-bottom: 1px solid #F0EAE0; color: var(--text-2); line-height: 1.6; word-break: break-all; }
.mlist tbody tr:nth-child(even) { background: var(--paper); }
.mlist tbody tr:hover { background: var(--red-soft); }
.mlist tbody td:first-child { color: var(--gold-deep); font-family: var(--font-num); font-weight: 700; white-space: nowrap; }
.mlist tbody td:nth-child(2) { color: var(--ink); }
.mlist tbody td:last-child { font-family: var(--font-num); white-space: nowrap; text-align: right; }
.mlist .c1 { width: 56px; }
.mlist .c2 { width: 34%; }
.mlist .c3 { width: auto; }
.mlist .c4 { width: 104px; }
@media (max-width: 768px) {
  /* 手机端：表格改卡片式列表 */
  .mlist-wrap { max-height: none; overflow: visible; border: 0; box-shadow: none; background: transparent; border-radius: 0; }
  .mlist thead { display: none; }
  .mlist, .mlist tbody { display: block; }
  .mlist tbody tr { position: relative; display: block; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 13px 14px 12px; margin-bottom: 10px; }
  .mlist tbody tr:nth-child(even) { background: #fff; }
  .mlist tbody tr:hover { background: #fff; }
  .mlist tbody td { display: block; padding: 0; border-bottom: 0; word-break: break-all; }
  .mlist tbody td:first-child { display: inline-block; font-size: 11px; background: var(--red-soft); color: var(--red-deep); border-radius: 4px; padding: 2px 9px; }
  .mlist tbody td:nth-child(4) { position: absolute; right: 14px; top: 13px; font-size: 15px; font-weight: 700; color: var(--gold-deep); }
  .mlist tbody td:nth-child(4)::after { content: " M²"; font-size: 10px; font-weight: 400; opacity: .7; }
  .mlist tbody td:nth-child(2) { font-weight: 700; color: var(--ink); font-size: 14.5px; line-height: 1.5; margin: 9px 60px 5px 0; }
  .mlist tbody td:nth-child(3) { font-size: 12.5px; color: var(--text-2); line-height: 1.7; }
  .mlist tbody td:nth-child(3)::before { content: "地址："; color: var(--gold-deep); }
}
.news-card .more { margin-top: auto; padding-top: 14px; font-size: 14px; color: var(--red); }

/* ---------- CTA 横幅 ---------- */
.cta-band { position: relative; background: linear-gradient(120deg, var(--red-deep), var(--red)); color: #fff; overflow: hidden; }
.cta-band .wrap { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 28px; padding-top: 52px; padding-bottom: 52px; flex-wrap: wrap; }
.cta-band h2 { font-family: var(--font-kai); font-size: clamp(24px, 3vw, 34px); font-weight: 700; }
.cta-band p { color: rgba(255,255,255,.82); margin-top: 6px; }
.cta-band .tel { font-family: var(--font-num); font-size: clamp(22px, 2.6vw, 30px); font-weight: 700; display: flex; align-items: center; gap: 12px; }
.cta-band .tel svg { width: 30px; height: 30px; }

/* ---------- 页脚 ---------- */
.footer { background: var(--ink); color: rgba(255,255,255,.72); font-size: 14.5px; }
.footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.7fr; gap: 40px; padding: 64px 0 44px; }
.footer h4 { color: #fff; font-size: 17px; margin-bottom: 18px; font-family: var(--font-serif); letter-spacing: .06em; position: relative; padding-bottom: 10px; }
.footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 26px; height: 2px; background: var(--gold); }
.footer .brandline { text-align: center; transform: translateX(0) translateY(-88px); }
.footer .brandline img { height: 138px; margin: 0 auto 18px; display: block; transform: translateX(-2px) translateY(32px); }
.footer .brandline .en { font-size: 11.5px; color: rgba(255,255,255,.45); letter-spacing: .04em; }
.footer li { margin-bottom: 10px; }
.footer a:hover { color: var(--gold); }
.footer .contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer .contact li span { white-space: nowrap; }
.footer .contact svg { width: 16px; height: 16px; margin-top: 4px; color: var(--gold); flex: none; }
.footer .qr { display: flex; gap: 14px; margin-top: 14px; justify-content: center; }
.footer .qr .qbox { text-align: center; font-size: 12px; color: rgba(255,255,255,.55); }
.footer .qr .qbox .ph { width: 92px; height: 92px; border: 1px dashed rgba(255,255,255,.3); border-radius: 6px; display: flex; align-items: center; justify-content: center; margin-bottom: 6px; font-size: 12px; color: rgba(255,255,255,.4); background: rgba(255,255,255,.04); }
.footer .base { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0; font-size: 13px; color: rgba(255,255,255,.45); }
.footer .base .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }



/* 公众号二维码图视觉上移（文字位置不变） */
.footer .qr .ph img { transform: translateY(9px); }
/* ---------- 返回顶部 ---------- */
.backtop { position: fixed; right: 26px; bottom: 30px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--red); color: #fff; box-shadow: 0 8px 20px rgba(185,40,49,.35); opacity: 0; pointer-events: none; transform: translateY(14px); transition: all .3s; z-index: 90; display: flex; align-items: center; justify-content: center; }
.backtop.show { opacity: 1; pointer-events: auto; transform: none; }
.backtop:hover { background: var(--red-deep); }
.backtop svg { width: 20px; height: 20px; }

/* ---------- 滚动渐入 ---------- */
html.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
html.js .reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: .08s; } .d2 { transition-delay: .16s; } .d3 { transition-delay: .24s; } .d4 { transition-delay: .32s; } .d5 { transition-delay: .4s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  .hero .scroll-hint::after { animation: none; }
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

.cert-plain h3 { font-size: 15px; padding: 12px 4px 4px; color: var(--ink); font-weight: 600; }
.cert-grid .cert-plain { width: 100%; }
/* 无框证书：原图完整展示 */
.cert-plain { text-align: center; cursor: zoom-in; }
.cert-plain img { width: 100%; height: auto; border-radius: 6px; box-shadow: var(--shadow-1); }
/* ---------- 通用列表页（案例/新闻/资质） ---------- */
.filter-bar { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 40px; }
.filter-bar button { border: 1px solid var(--line); background: #fff; color: var(--text-2); padding: 8px 26px; border-radius: 999px; font-size: 15px; transition: all var(--dur); }
.filter-bar button:hover { border-color: var(--gold); color: var(--gold-deep); }
.filter-bar button.on { background: var(--red); border-color: var(--red); color: #fff; }

.cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.cert-grid-3 { grid-template-columns: repeat(3, 1fr); }
.cert-grid-2 { grid-template-columns: repeat(2, 1fr); }
.cert-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; transition: all var(--dur); cursor: zoom-in; }
.cert-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-2); border-color: var(--gold); }
.cert-item .ph { aspect-ratio: 100/139; overflow: hidden; border-radius: 4px; background: var(--paper-2); display: flex; }
.cert-item .ph img { width: 100%; height: 100%; object-fit: contain; }
.cert-item.landscape .ph { aspect-ratio: 3/2; display: flex; align-items: center; justify-content: center; background: #fff; }
.cert-item.landscape .ph img { object-fit: contain; }
.cert-item h3 { font-size: 15px; text-align: center; padding: 12px 4px 4px; color: var(--ink); font-weight: 600; }

.timeline { position: relative; max-width: 860px; margin: 0 auto; }
.timeline::before { content: ""; position: absolute; left: 130px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--gold), var(--line)); }
.tl-item { position: relative; padding: 0 0 38px 170px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item .year { position: absolute; left: 0; top: 0; width: 100px; text-align: right; font-family: var(--font-num); font-size: 24px; font-weight: 700; color: var(--red); line-height: 1.2; }
.tl-item .dot { position: absolute; left: 124px; top: 7px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--gold); }
.tl-item h3 { font-size: 17.5px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.tl-item p { color: var(--text-2); font-size: 15px; }

.org-chart { text-align: center; }
.org-node { display: inline-block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 34px; font-weight: 700; color: var(--ink); box-shadow: var(--shadow-1); }
.org-node.top { background: linear-gradient(120deg, var(--red), var(--red-deep)); color: #fff; border: 0; font-size: 18px; font-family: var(--font-serif); letter-spacing: .15em; }
.org-lv { display: inline-flex; justify-content: center; gap: 14px; flex-wrap: wrap; padding-top: 16px; position: relative; }
.org-lv::before { content: ""; position: absolute; top: 0; left: var(--bus-l, 0); right: var(--bus-r, 0); height: 2px; background: var(--gold); opacity: .6; }
.org-lv .ol-item { position: relative; }
.org-lv .ol-item::before { content: ""; position: absolute; left: 50%; top: -16px; width: 2px; height: 16px; background: var(--gold); opacity: .6; }
.org-lv .ol-item.shift1::before { left: calc(50% - 1px); }
.org-lv .org-node { padding: 10px 22px; font-weight: 500; font-size: 15px; transition: all var(--dur); min-width: 106px; text-align: center; }
.org-lv .org-node:hover { border-color: var(--gold); transform: translateY(-3px); }
.org-line { width: 2px; height: 26px; background: var(--gold); margin: 0 auto; opacity: .6; }
/* 手机版组织架构：紧凑层级网格（方案 D，桌面树形不受影响） */
@media (max-width: 768px) {
  .org-node.top { width: 150px; margin: 0 auto 16px; font-size: 15px; padding: 9px 0; letter-spacing: .12em; }
  .org-line { display: none; }
  .org-lv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; width: 100%; padding: 0 2px; }
  .org-lv::before, .org-lv .ol-item::before, .org-lv .ol-item.shift1::before { display: none; }
  .org-lv .ol-item { display: block; }
  .org-lv.vps { margin-bottom: 16px; }
  .org-lv.vps .org-node { display: block; width: 100%; padding: 9px 2px; font-size: 12.5px; background: #fff; border: 1px solid rgba(201,160,92,.5); box-shadow: none; }
  .org-lv.depts .org-node { display: block; width: 100%; padding: 9px 2px; font-size: 12.5px; background: var(--paper-2); box-shadow: none; }
}

/* ---------- 服务流程 ---------- */
.flow { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; counter-reset: step; }
.flow-item { text-align: center; position: relative; padding: 26px 10px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: all var(--dur); }
.flow-item:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: var(--shadow-1); }
.flow-item::before { counter-increment: step; content: "0" counter(step); display: block; font-family: var(--font-num); font-size: 26px; font-weight: 700; color: var(--gold); margin-bottom: 8px; }
.flow-item .ico { width: 44px; height: 44px; margin: 0 auto 10px; color: var(--red); }
.flow-item .ico svg { width: 100%; height: 100%; }
.flow-item h3 { font-size: 16px; font-weight: 700; color: var(--ink); }
.flow-item p { font-size: 13px; color: var(--text-2); margin-top: 4px; }

/* ---------- 联系页 ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; }
.info-list li { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px dashed var(--line); }
.info-list .ico { width: 46px; height: 46px; flex: none; border-radius: 12px; background: var(--red-soft); color: var(--red); display: flex; align-items: center; justify-content: center; }
.info-list .ico svg { width: 22px; height: 22px; }
.info-list h3 { font-size: 15px; color: var(--text-2); font-weight: 400; }
.info-list p { font-size: 16.5px; color: var(--ink); font-weight: 600; margin-top: 2px; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 34px; box-shadow: var(--shadow-1); }
.form-card h3 { font-family: var(--font-serif); font-size: 20px; color: var(--ink); margin-bottom: 20px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 14px; color: var(--text-2); margin-bottom: 6px; }
.field label b { color: var(--red); }
.field input, .field textarea, .field select {
  width: 100%; border: 1px solid var(--line); border-radius: var(--radius); padding: 11px 14px; font-size: 15px; font-family: inherit; color: var(--ink); background: var(--paper); transition: border var(--dur); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--gold); background: #fff; }
.field textarea { min-height: 110px; resize: vertical; }
.field .err { display: none; color: var(--red); font-size: 12.5px; margin-top: 4px; }
.field.invalid input, .field.invalid textarea { border-color: var(--red); }
.field.invalid .err { display: block; }
/* ---------- 高德地图（联系我们） ---------- */
.map-box { margin-top: 40px; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: var(--paper-2); position: relative; }
.map-box #amap { display: block; width: 100%; height: 420px; }
.map-box .map-fallback { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 12px; color: var(--text-2); background: var(--paper-2); padding: 20px; text-align: center; }
.map-box .map-fallback.hide { display: none; }
.map-box .map-fallback .pin { width: 46px; height: 46px; color: var(--red); }
.map-box .map-fallback .pin svg { width: 100%; height: 100%; }
@media (max-width: 768px) { .map-box #amap { height: 300px; } }

/* ---------- 灯箱 ---------- */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(15,14,12,.88); display: none; align-items: center; justify-content: center; padding: 40px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: min(1000px, 92vw); max-height: 86vh; border-radius: 8px; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.lightbox .close { position: absolute; top: 22px; right: 28px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); background: transparent; color: #fff; font-size: 22px; }
.lightbox .close:hover { background: rgba(255,255,255,.15); }

/* ---------- 图片位置标注模式（#imgmap） ---------- */
body.imgmap-on img { outline: 2px dashed var(--red); outline-offset: -2px; }
.imgmap-tag { position: absolute; z-index: 999; background: var(--red); color: #fff; font: 11px/1.6 Consolas, monospace; padding: 1px 7px; border-radius: 3px; pointer-events: none; white-space: nowrap; box-shadow: var(--shadow-1); }
.imgmap-tip { position: fixed; top: 0; left: 0; right: 0; z-index: 1200; background: var(--ink); color: #ffe9b8; font-size: 13px; padding: 9px 16px; text-align: center; box-shadow: var(--shadow-2); }



/* 图片说明小字（照片下居中） */
.pic-caption { text-align: center; margin-top: 14px; font-size: 14px; color: var(--text-2); letter-spacing: .08em; }

.cert-pair { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 900px; margin: 0 auto; width: 100%; }
/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .stats .wrap { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .biz-grid, .case-grid, .news-grid { grid-template-columns: repeat(2, 1fr); }
  .cert-grid { grid-template-columns: repeat(3, 1fr); }
  .prod-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .flow { grid-template-columns: repeat(3, 1fr); }
  .footer .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  /* 手机版：务本守信匾额图左移32px（桌面内联位移不受影响） */
  .about-grid .pic img[src*="honor-wuben"] { transform: translateX(-4px) !important; }
  .nav .menu {
    position: fixed; top: 74px; left: 0; right: 0; bottom: 0; z-index: 99;
    background: #fff; flex-direction: column; align-items: stretch; padding: 20px 24px; gap: 0;
    transform: translateX(100%); visibility: hidden; transition: transform .3s, visibility .3s; overflow-y: auto; margin-left: 0;
  }
  .nav .menu.open { transform: none; visibility: visible; }
  .nav .menu a { padding: 15px 8px; font-size: 17px; border-bottom: 1px solid var(--paper-2); }
  .nav .menu a::after { display: none; }
  .nav .wrap { height: 66px; }
  .nav-sp { display: none; }
  .nav .brand { order: 0; }
  .nav .brand img { height: 44px; }
  .nav .lang-switch { order: 2; margin: 0 0 0 auto; }
  .nav-burger {
    display: flex; align-items: center; gap: 8px;
    width: auto; height: 40px; padding: 0 4px; margin-left: 12px;
    border: 0; background: transparent; position: relative; order: 3;
  }
  .nav-burger span { position: relative; left: 0; right: auto; top: auto; width: 20px; height: 2px; }
  .nav-burger span::before, .nav-burger span::after { left: 0; right: 0; width: 20px; }
  .nav-burger span::before { top: -6px; }
  .nav-burger span::after { top: 6px; }
  .nav-burger::after { content: "菜单"; font-size: 13px; color: var(--ink); letter-spacing: .08em; }
  .nav-burger.open::after { content: "关闭"; }
  .menu-desktop-only { display: none !important; }
  /* 客户口碑（手机版：单列鎏金列表；桌面 4 列布局不受影响） */
  .koubei-grid { display: flex; flex-direction: column; gap: 12px; counter-reset: koubei; }
  .koubei-grid .biz-card { position: relative; text-align: left !important; padding: 14px 14px 14px 42px !important; counter-increment: koubei; }
  .koubei-grid .biz-card::before { content: ""; position: absolute; left: 16px; top: 16px; bottom: 16px; width: 2px; background: linear-gradient(180deg, var(--gold), rgba(201,160,92,.12)); }
  .koubei-grid .biz-card h3::before { content: "0" counter(koubei); display: block; font-family: var(--font-num); font-size: 13px; font-weight: 700; color: var(--gold-deep); letter-spacing: .15em; margin-bottom: 4px; }
  .koubei-grid .biz-card p { margin-top: 6px; line-height: 1.9; }
  .topbar .slogan { display: none; }
  .topbar .wrap { justify-content: center; }
  .section { padding: 56px 0; }
  .hero .wrap { padding-top: 64px; padding-bottom: 80px; }
  .hero .badge1988 { display: none; }
  .hero .ink { width: 100%; opacity: .1; }
  .timeline::before { left: 12px; }
  .tl-item { padding-left: 44px; }
  .tl-item .year { position: static; width: auto; text-align: left; display: block; margin-bottom: 2px; font-size: 20px; }
  .tl-item .dot { left: 6px; top: 8px; }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: 1fr; }
  .footer .cols { grid-template-columns: 1fr; gap: 30px; padding-top: 44px; }
}
@media (max-width: 576px) {
  .biz-grid, .case-grid, .news-grid { grid-template-columns: 1fr; }
  .stats .wrap { gap: 30px; }
  .cta-band .wrap { flex-direction: column; text-align: center; }
}
