/*
Theme Name: Ziling CN
Description: 上海紫菱包装中文官网主题（国内风格 · 简约 · 现代工厂）
Version: 1.0.0
*/

:root {
  --blue-900: #0A2E5C;
  --blue-800: #0C3D78;
  --blue-700: #0B57A4;
  --blue-600: #1170CF;
  --blue-500: #2E8BE8;
  --orange: #FF8A00;
  --orange-600: #F57C00;
  --ink: #1F2937;
  --ink-2: #5B6B7F;
  --ink-3: #8A99AB;
  --bg: #F4F7FB;
  --line: #E3EAF3;
  --white: #fff;
  --radius: 12px;
  --shadow: 0 6px 24px rgba(10, 46, 92, .08);
  --shadow-hover: 0 12px 32px rgba(10, 46, 92, .16);
  --wrap: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  font-size: 16px;
  line-height: 1.75;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-700); text-decoration: none; transition: color .2s; }
a:hover { color: var(--orange-600); }
ul { list-style: none; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- 顶栏 ---------- */
.topbar { background: var(--blue-900); color: rgba(255,255,255,.85); font-size: 13.5px; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 12px; flex-wrap: wrap; }
.tb-left { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.tb-left a { color: rgba(255,255,255,.92); display: inline-flex; align-items: center; gap: 5px; }
.tb-left a:hover { color: var(--orange); }
.tb-left svg { width: 14px; height: 14px; }

/* ---------- 导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 28px; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--blue-900); font-weight: 800; font-size: 21px; letter-spacing: .5px; flex-shrink: 0; }
.logo:hover { color: var(--blue-700); }
.logo img { height: 36px; width: auto; }
.logo small { display: block; font-size: 10.5px; font-weight: 500; color: var(--ink-3); letter-spacing: 2px; line-height: 1.2; }

nav.main { margin-left: auto; }
nav.main ul { display: flex; gap: 6px; }
nav.main a {
  display: block; padding: 8px 16px; font-size: 16px; font-weight: 500; color: var(--ink);
  border-radius: 8px;
}
nav.main a:hover { color: var(--blue-700); background: var(--bg); }
nav.main a[aria-current="page"] { color: var(--blue-700); font-weight: 700; position: relative; }
nav.main a[aria-current="page"]::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 2px; height: 3px;
  border-radius: 3px; background: var(--orange);
}

.nav-toggle { display: none; }

.header-cta { flex-shrink: 0; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 28px; border-radius: 8px; font-size: 16px; font-weight: 600;
  cursor: pointer; transition: all .2s; border: 2px solid transparent; line-height: 1.4;
}
.btn-primary { background: linear-gradient(135deg, var(--orange), var(--orange-600)); color: #fff; box-shadow: 0 4px 14px rgba(255,138,0,.35); }
.btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(255,138,0,.45); }
.btn-blue { background: linear-gradient(135deg, var(--blue-600), var(--blue-700)); color: #fff; box-shadow: 0 4px 14px rgba(17,112,207,.3); }
.btn-blue:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(17,112,207,.4); }
.btn-outline { border-color: var(--blue-700); color: var(--blue-700); background: transparent; }
.btn-outline:hover { background: var(--blue-700); color: #fff; }
.btn-light { background: #fff; color: var(--blue-700); }
.btn-light:hover { color: var(--orange-600); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,.2); }
.btn-ghost { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.15); color: #fff; }
.btn-sm { padding: 9px 20px; font-size: 15px; }

/* ---------- Banner（浅色 · 左文右图） ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(820px 380px at 88% -10%, rgba(255,138,0,.10), transparent 60%),
    radial-gradient(900px 420px at -8% 8%, rgba(17,112,207,.12), transparent 55%),
    linear-gradient(180deg, #F2F7FD 0%, #FBFDFF 100%);
}
.hero::after {
  content: ""; position: absolute; right: -140px; top: -140px; width: 460px; height: 460px;
  border-radius: 50%; border: 60px solid rgba(17,112,207,.06); pointer-events: none;
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.08fr .92fr; gap: 52px; align-items: center;
  padding: 66px 0 74px;
}
.hero .eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; letter-spacing: 1px; font-weight: 600;
  color: var(--blue-700); border: 1px solid #CBE1F7; border-radius: 100px;
  padding: 5px 18px; margin-bottom: 22px; background: rgba(255,255,255,.8);
}
.hero .eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.hero h1 { font-size: 42px; line-height: 1.32; font-weight: 800; letter-spacing: .5px; color: var(--blue-900); }
.hero h1 em { font-style: normal; color: var(--orange-600); }
.hero .sub { margin-top: 18px; font-size: 17px; color: var(--ink-2); line-height: 1.9; }
.hero-cta { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-note { margin-top: 26px; display: flex; gap: 24px; flex-wrap: wrap; font-size: 14.5px; color: var(--ink-2); }
.hero-note span { display: inline-flex; align-items: center; gap: 7px; }
.hero-note svg { width: 16px; height: 16px; color: var(--orange-600); }

.hero-visual { position: relative; }
.hero-visual .hv-main {
  border-radius: 18px; overflow: hidden; box-shadow: 0 24px 60px rgba(10,46,92,.22);
  border: 4px solid #fff;
}
.hero-visual .hv-main img { width: 100%; height: 380px; object-fit: cover; display: block; }
.hero-visual .hv-sub {
  position: absolute; left: -34px; bottom: -30px; width: 190px;
  border-radius: 12px; overflow: hidden; border: 4px solid #fff;
  box-shadow: 0 14px 34px rgba(10,46,92,.22);
}
.hero-visual .hv-sub img { width: 100%; height: 120px; object-fit: cover; display: block; }
.hero-visual .hv-chip {
  position: absolute; top: 18px; right: -14px;
  background: rgba(255,255,255,.94); border-radius: 12px; padding: 10px 16px;
  box-shadow: 0 10px 26px rgba(10,46,92,.18); font-size: 13.5px; color: var(--blue-900);
  font-weight: 600; display: flex; align-items: center; gap: 8px;
}
.hero-visual .hv-chip svg { width: 17px; height: 17px; color: var(--orange-600); flex-shrink: 0; }

/* ---------- 数据条（叠在 banner 下方） ---------- */
.stats { position: relative; z-index: 2; margin-top: -46px; }
.stats .wrap {
  background: linear-gradient(135deg, var(--blue-800), var(--blue-700)); color: #fff;
  border-radius: 16px; box-shadow: 0 16px 40px rgba(10,46,92,.25);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  padding: 30px 38px;
}
.stats .n { font-size: 36px; font-weight: 800; line-height: 1.2; }
.stats .n small { font-size: 18px; font-weight: 600; margin-left: 2px; color: #FFD9AE; }
.stats .l { font-size: 14px; color: rgba(255,255,255,.75); margin-top: 4px; }

/* ---------- 区块 ---------- */
section.block { padding: 76px 0; }
section.block.alt { background: var(--bg); }
.sec-head { max-width: 720px; margin-bottom: 44px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker {
  display: inline-block; font-size: 14px; font-weight: 700; letter-spacing: 3px;
  color: var(--orange-600); margin-bottom: 10px;
}
.kicker::after { content: ""; display: block; width: 34px; height: 3px; background: var(--orange); margin-top: 8px; border-radius: 2px; }
.sec-head.center .kicker::after { margin-left: auto; margin-right: auto; }
.sec-head h2 { font-size: 32px; font-weight: 800; color: var(--blue-900); line-height: 1.4; }
.sec-head p { margin-top: 14px; color: var(--ink-2); font-size: 16.5px; }

/* ---------- 产品卡片 ---------- */
.prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.prod {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: all .25s; display: flex; flex-direction: column;
}
.prod:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: transparent; }
.prod-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #0d1524; }
.prod-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.prod:hover .prod-media img { transform: scale(1.06); }
.prod-badge {
  position: absolute; top: 12px; left: 12px; background: rgba(255,138,0,.95); color: #fff;
  font-size: 12.5px; font-weight: 700; padding: 3px 12px; border-radius: 100px; letter-spacing: 1px;
}
.prod-body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.prod-body h3 { font-size: 19px; font-weight: 700; color: var(--blue-900); }
.prod-body p { margin-top: 10px; font-size: 14.5px; color: var(--ink-2); flex: 1; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.chip {
  font-size: 12.5px; color: var(--blue-700); background: #EAF3FC;
  padding: 2px 10px; border-radius: 100px; white-space: nowrap;
}
.prod-more { margin-top: 16px; font-weight: 600; font-size: 15px; display: inline-flex; align-items: center; gap: 4px; }

/* ---------- 产品中心总览：3 列卡片 ---------- */
/* 5 个产品系列 + 1 张咨询卡，两行排列刚好整齐 */
.prod-grid-3 { grid-template-columns: repeat(3, 1fr); }
.prod-grid-3 .prod-body p { flex: none; }
.prod-points { margin-top: 12px; list-style: none; font-size: 13.5px; color: var(--ink-3); }
.prod-points li { position: relative; padding-left: 16px; margin-top: 7px; line-height: 1.65; }
.prod-points li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 5px; height: 5px; border-radius: 50%; background: var(--orange);
}
.prod-consult {
  background: linear-gradient(150deg, var(--blue-800), var(--blue-700));
  border-radius: var(--radius); padding: 30px 26px; color: #fff;
  display: flex; flex-direction: column; justify-content: center;
}
.prod-consult h3 { font-size: 19px; font-weight: 700; color: #fff; }
.prod-consult p { margin-top: 12px; font-size: 14.5px; line-height: 1.85; color: rgba(255,255,255,.85); }
.prod-consult .btn { margin-top: 20px; align-self: flex-start; white-space: normal; text-align: left; }

/* ---------- 优势 ---------- */
.adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.adv {
  background: #fff; border-radius: var(--radius); padding: 30px 26px;
  border: 1px solid var(--line); transition: all .25s;
}
.adv:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.adv .ic {
  width: 54px; height: 54px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #EAF3FC, #DCEBFB); color: var(--blue-700); margin-bottom: 18px;
}
.adv .ic svg { width: 28px; height: 28px; }
.adv h3 { font-size: 18px; font-weight: 700; color: var(--blue-900); }
.adv p { margin-top: 10px; font-size: 14.5px; color: var(--ink-2); }

/* ---------- 应用领域 ---------- */
.ind-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.ind {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 12px; text-align: center; transition: all .25s;
}
.ind:hover { border-color: var(--blue-500); box-shadow: var(--shadow); transform: translateY(-4px); }
.ind .ic { width: 52px; height: 52px; margin: 0 auto 12px; color: var(--blue-700); }
.ind .ic svg { width: 100%; height: 100%; }
.ind h3 { font-size: 15.5px; font-weight: 600; color: var(--ink); }

/* ---------- 工厂实力 ---------- */
.factory .cols { display: grid; grid-template-columns: 1.05fr 1fr; gap: 52px; align-items: center; }
.factory-imgs { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 220px 220px; gap: 14px; }
.factory-imgs .im { border-radius: var(--radius); overflow: hidden; background: #0d1524; }
.factory-imgs .im.tall { grid-row: span 2; }
.factory-imgs img { width: 100%; height: 100%; object-fit: cover; }
.fact-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 28px 0 30px; }
.fstat { background: var(--bg); border-radius: var(--radius); padding: 18px 20px; border-left: 4px solid var(--orange); }
.fstat .n { font-size: 24px; font-weight: 800; color: var(--blue-900); }
.fstat .l { font-size: 13.5px; color: var(--ink-2); margin-top: 2px; }

/* ---------- 流程 ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; counter-reset: step; }
.step {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 20px; position: relative; transition: all .25s;
}
.step:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.step .dot {
  width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--blue-600), var(--blue-700));
  color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center;
  font-size: 17px; margin-bottom: 14px;
}
.step .dot::before { counter-increment: step; content: counter(step); }
.step h3 { font-size: 16.5px; font-weight: 700; color: var(--blue-900); }
.step p { margin-top: 8px; font-size: 13.8px; color: var(--ink-2); }
.process-note {
  margin-top: 30px; display: flex; justify-content: center; gap: 26px; flex-wrap: wrap;
  font-size: 14.5px; color: var(--ink-2);
}
.process-note span { display: inline-flex; align-items: center; gap: 7px; }
.process-note svg { width: 16px; height: 16px; color: var(--orange-600); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 860px; margin: 0 auto; }
.faq-list details {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  margin-bottom: 12px; overflow: hidden;
}
.faq-list summary {
  list-style: none; cursor: pointer; padding: 18px 56px 18px 22px;
  font-weight: 600; font-size: 16.5px; color: var(--blue-900); position: relative;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .pm {
  position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  width: 26px; height: 26px; border-radius: 50%; background: #EAF3FC; color: var(--blue-700);
  display: flex; align-items: center; justify-content: center; font-weight: 700; transition: all .2s;
}
.faq-list details[open] summary .pm { background: var(--orange); color: #fff; transform: translateY(-50%) rotate(45deg); }
.faq-list .ans { padding: 0 22px 20px; color: var(--ink-2); font-size: 15px; }

/* ---------- CTA 条 ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--blue-800), var(--blue-600));
  border-radius: 18px; color: #fff; padding: 46px 52px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.cta-band h2 { font-size: 26px; font-weight: 800; line-height: 1.45; }
.cta-band p { margin-top: 10px; color: rgba(255,255,255,.82); font-size: 15.5px; }
.cta-band .acts { display: flex; gap: 14px; flex-wrap: wrap; flex-shrink: 0; }

/* ---------- 内页头 ---------- */
.page-hero {
  background: linear-gradient(120deg, rgba(10,46,92,.94) 0%, rgba(12,61,120,.82) 55%, rgba(11,87,164,.55) 100%),
              url("./assets/img/banner-city.jpg") center/cover no-repeat;
  color: #fff; padding: 64px 0 58px;
}
/* WebP 优先：背景图同样走 WebP，体积约为 JPG 的六成 */
@supports (background-image: image-set(url("a.webp") type("image/webp"))) {
  .page-hero {
    background-image: linear-gradient(120deg, rgba(10,46,92,.94) 0%, rgba(12,61,120,.82) 55%, rgba(11,87,164,.55) 100%),
                      image-set(url("./assets/img/banner-city.webp") type("image/webp"),
                                url("./assets/img/banner-city.jpg") type("image/jpeg"));
  }
}
.crumbs { font-size: 13.5px; color: rgba(255,255,255,.7); margin-bottom: 14px; }
.crumbs a { color: rgba(255,255,255,.85); }
.crumbs i { margin: 0 8px; opacity: .5; font-style: normal; }
.page-hero h1 { font-size: 34px; font-weight: 800; }
.page-hero .lead { margin-top: 14px; max-width: 760px; color: rgba(255,255,255,.85); font-size: 16.5px; }

/* ---------- 产品族分块 ---------- */
.fam-block { padding: 64px 0; border-bottom: 1px solid var(--line); }
.fam-block:nth-child(odd) { background: var(--bg); }
.fam-block .cols { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.fam-tag {
  display: inline-block; font-size: 13px; font-weight: 700; color: var(--orange-600);
  background: rgba(255,138,0,.1); border: 1px solid rgba(255,138,0,.35);
  padding: 3px 14px; border-radius: 100px; margin-bottom: 12px;
}
.fam-block h2 { font-size: 26px; font-weight: 800; color: var(--blue-900); }
.fam-block h2 a { color: inherit; }
.fam-block .intro { margin-top: 14px; color: var(--ink-2); font-size: 15.5px; }
.spec { width: 100%; border-collapse: collapse; margin-top: 20px; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.spec th, .spec td { padding: 11px 16px; font-size: 14.5px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.spec tr:last-child th, .spec tr:last-child td { border-bottom: 0; }
.spec th { width: 130px; color: var(--blue-900); font-weight: 600; background: #F7FAFE; white-space: nowrap; }
.spec td { color: var(--ink-2); }
.spec-cap { margin-top: 22px; font-weight: 700; color: var(--ink); font-size: 15px; }
.fam-actions { margin-top: 24px; display: flex; gap: 12px; flex-wrap: wrap; }
.diagram { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.diagram img { width: 100%; }
.diagram-cap { margin-top: 10px; font-size: 13.5px; color: var(--ink-3); text-align: center; }
.fam-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 24px; }
.fam-photos .im { border-radius: 10px; overflow: hidden; background: #0d1524; aspect-ratio: 1; }
.fam-photos img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 对比表 ---------- */
.cmp-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow); background: #fff; }
.cmp { width: 100%; border-collapse: collapse; min-width: 720px; }
.cmp th, .cmp td { padding: 13px 18px; font-size: 14.5px; border-bottom: 1px solid var(--line); text-align: left; }
.cmp thead th { background: var(--blue-800); color: #fff; font-weight: 600; }
.cmp tbody th { color: var(--blue-900); background: #F7FAFE; white-space: nowrap; font-weight: 600; }
.cmp td { color: var(--ink-2); }
.cmp tbody tr:last-child th, .cmp tbody tr:last-child td { border-bottom: 0; }
.note-box {
  background: rgba(255,138,0,.07); border: 1px solid rgba(255,138,0,.3);
  border-radius: var(--radius); padding: 18px 22px; font-size: 15px; color: var(--ink);
}

/* ---------- 联系页 ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 44px; align-items: start; }
.info-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; margin-bottom: 18px; display: flex; gap: 16px; align-items: flex-start;
}
.info-card .ic { width: 46px; height: 46px; border-radius: 12px; background: #EAF3FC; color: var(--blue-700); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.info-card .ic svg { width: 24px; height: 24px; }
.info-card h3 { font-size: 16px; color: var(--blue-900); }
.info-card p { font-size: 14.5px; color: var(--ink-2); margin-top: 4px; }
.qr-card { text-align: center; }
.qr-card img { width: 132px; margin: 10px auto 0; border-radius: 8px; border: 1px solid var(--line); }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 36px; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14.5px; font-weight: 600; color: var(--ink); }
.field label i { color: #E5484D; font-style: normal; margin-left: 2px; }
.field input, .field select, .field textarea {
  border: 1.5px solid var(--line); border-radius: 8px; padding: 11px 14px;
  font-size: 15px; font-family: inherit; color: var(--ink); background: #FBFCFE; transition: border .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-500); background: #fff; }
.form-actions { margin-top: 22px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.form-note { margin-top: 16px; padding: 14px 18px; border-radius: 10px; font-size: 14.5px; display: none; }
.form-note.ok { display: block; background: #EAF7EE; color: #1B7A3D; border: 1px solid #BFE5CC; }
.form-note.err { display: block; background: #FDEEEC; color: #B42318; border: 1px solid #F5C6C0; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--blue-900); color: rgba(255,255,255,.75); margin-top: 0; }
.footer-main { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding: 58px 0 44px; }
.site-footer h4 { color: #fff; font-size: 16.5px; margin-bottom: 18px; font-weight: 600; }
.site-footer .f-logo { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-size: 20px; margin-bottom: 16px; }
.site-footer .f-logo img { height: 34px; }
.site-footer .about p { font-size: 14px; line-height: 1.9; }
.site-footer ul li { margin-bottom: 10px; font-size: 14.5px; }
.site-footer ul a { color: rgba(255,255,255,.75); }
.site-footer ul a:hover { color: var(--orange); }
.site-footer .contact-line { display: flex; gap: 10px; margin-bottom: 12px; font-size: 14.5px; align-items: flex-start; }
.site-footer .contact-line svg { width: 17px; height: 17px; color: var(--orange); flex-shrink: 0; margin-top: 4px; }
.footer-bar { border-top: 1px solid rgba(255,255,255,.12); padding: 18px 0; }
.footer-bar .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13.5px; color: rgba(255,255,255,.55); }
.footer-bar a { color: rgba(255,255,255,.55); }

/* ---------- 返回顶部 / 悬浮咨询 ---------- */
.float-consult {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  display: flex; flex-direction: column; gap: 10px;
}
.float-consult a {
  width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: var(--orange); color: #fff; box-shadow: 0 6px 18px rgba(255,138,0,.4); transition: transform .2s;
}
.float-consult a:hover { transform: scale(1.08); color: #fff; }
.float-consult svg { width: 24px; height: 24px; }
.float-consult .to-top { background: var(--blue-700); box-shadow: 0 6px 18px rgba(11,87,164,.35); }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .ind-grid { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .factory .cols, .fam-block .cols, .contact-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .stats .n { font-size: 30px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; padding: 48px 0 60px; }
  .hero h1 { font-size: 33px; }
  .hero-visual .hv-main img { height: 300px; }
  .hero-visual .hv-sub { display: none; }
  .hero-visual .hv-chip { right: 10px; }
}
@media (max-width: 768px) {
  .cta-band .acts { width: 100%; flex-direction: column; }
  .cta-band .acts .btn { width: 100%; white-space: normal; }
  .hero-cta .btn { white-space: normal; }
  .hero h1 { font-size: 29px; }
  .hero .sub { font-size: 16px; }
  .hero-visual .hv-main img { height: 210px; }
  .hero-visual .hv-main { border-width: 3px; }
  .site-header .wrap { height: 62px; gap: 14px; }
  .header-cta { display: none; }
  .nav-toggle {
    display: flex; flex-direction: column; gap: 5px; margin-left: auto;
    background: none; border: 0; cursor: pointer; padding: 8px;
  }
  .nav-toggle span { width: 22px; height: 2.5px; background: var(--blue-900); border-radius: 2px; transition: all .25s; }
  nav.main {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  nav.main.open { display: block; }
  nav.main ul { flex-direction: column; gap: 0; padding: 10px 20px; }
  nav.main a { padding: 13px 8px; border-bottom: 1px solid var(--line); border-radius: 0; }
  nav.main li:last-child a { border-bottom: 0; }
  nav.main a[aria-current="page"]::after { display: none; }
  .stats { margin-top: -30px; }
  .stats .wrap { grid-template-columns: repeat(2, 1fr); gap: 20px 12px; padding: 24px 22px; }
  .prod-grid, .adv-grid { grid-template-columns: 1fr; }
  .ind-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .sec-head h2 { font-size: 25px; }
  section.block { padding: 52px 0; }
  .cta-band { padding: 32px 26px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-card { padding: 26px 20px; }
  .footer-main { grid-template-columns: 1fr; gap: 30px; }
  .spec th { width: 100px; }
  .fam-photos { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================================================
   国庆装饰
   仅在 inc/national-day.php 判定的生效期内给 body 加 .zl-national-day。
   规则全部收敛在这段作用域下，其余时间零渲染开销。
   层级克制：顶部一条庆典横幅 + 导航底部一条红金细线，不动版式与按钮配色。
   ========================================================================== */
body.zl-national-day .zl-nd-bar {
  position: relative;
  background: linear-gradient(90deg, #A50E1A 0%, #D01021 22%, #DE2910 50%, #D01021 78%, #A50E1A 100%);
  color: #fff;
  font-size: 14.5px;
  line-height: 1.4;
  letter-spacing: .6px;
}
body.zl-national-day .zl-nd-bar::before {
  content: "";
  position: absolute; top: 0; right: 0; bottom: 0; left: 0;
  background: radial-gradient(60% 140% at 50% 0%, rgba(255, 222, 0, .18), transparent 70%);
  pointer-events: none;
}
body.zl-national-day .zl-nd-bar > .wrap {
  position: relative;
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px;
  min-height: 42px; padding-top: 8px; padding-bottom: 8px;
  text-align: center;
}
body.zl-national-day .zl-nd-text {
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(90, 8, 14, .5);
}
body.zl-national-day .zl-nd-span {
  font-size: 12.5px; letter-spacing: 1.4px;
  font-weight: 600; color: #FFDE59;
  padding: 1px 9px;
  border: 1px solid rgba(255, 222, 89, .55);
  border-radius: 999px;
}
body.zl-national-day .zl-nd-star {
  width: 15px; height: 15px; flex: none;
  fill: #FFDE59;
  filter: drop-shadow(0 1px 1px rgba(90, 8, 14, .45));
}
/* 吸顶导航底部的红金细线 */
body.zl-national-day .site-header::after {
  content: "";
  position: absolute; right: 0; bottom: -1px; left: 0;
  height: 2px;
  background: linear-gradient(90deg, #DE2910 0%, #FF8A00 48%, #FFDE59 100%);
  pointer-events: none;
}

@media (max-width: 768px) {
  body.zl-national-day .zl-nd-bar { font-size: 13px; }
  body.zl-national-day .zl-nd-bar > .wrap { min-height: 38px; gap: 8px; padding-top: 7px; padding-bottom: 7px; }
  body.zl-national-day .zl-nd-span { font-size: 11.5px; letter-spacing: 1px; }
  body.zl-national-day .zl-nd-star { width: 13px; height: 13px; }
}

/* ==========================================================================
   GEO 内容板块：文章详情页（single.php）与文章列表页（archive.php）
   只在文章页生效，不影响现有页面
   ========================================================================== */

/* ---------- 文章正文 ---------- */
.art-body { max-width: 820px; margin: 0 auto; color: var(--ink); font-size: 17px; line-height: 1.95; }
.art-body > * + * { margin-top: 18px; }
.art-body h2 {
  font-size: 25px; font-weight: 800; color: var(--blue-900);
  line-height: 1.5; margin-top: 46px; padding-left: 14px;
  border-left: 4px solid var(--orange);
}
.art-body h2:first-child { margin-top: 0; }
.art-body h3 { font-size: 19.5px; font-weight: 700; color: var(--blue-900); margin-top: 32px; }
.art-body p { color: var(--ink); }
.art-body strong { color: var(--blue-900); font-weight: 700; }
.art-body a { color: var(--blue-700); text-decoration: underline; text-underline-offset: 3px; }
.art-body a:hover { color: var(--orange-600); }
.art-body ul, .art-body ol { padding-left: 24px; }
.art-body ul { list-style: none; }
.art-body ul > li { position: relative; padding-left: 20px; margin-top: 8px; }
.art-body ul > li::before {
  content: ""; position: absolute; left: 2px; top: .74em;
  width: 7px; height: 7px; border-radius: 50%; background: var(--orange);
}
.art-body ol { list-style: decimal; }
.art-body ol > li { margin-top: 8px; padding-left: 6px; }
.art-body blockquote {
  border-left: 4px solid var(--line); background: var(--bg);
  padding: 16px 20px; border-radius: 0 8px 8px 0; color: var(--ink-2);
}
.art-body hr { border: 0; border-top: 1px solid var(--line); margin: 42px 0; }
.art-body img { border-radius: var(--radius); box-shadow: var(--shadow); }

/* 表格（对比表 / 规格表） */
.art-body table {
  width: 100%; border-collapse: collapse; margin-top: 22px;
  font-size: 15.5px; box-shadow: var(--shadow); border-radius: var(--radius); overflow: hidden;
}
.art-body thead th {
  background: var(--blue-900); color: #fff; font-weight: 700;
  padding: 12px 14px; text-align: left; font-size: 15px;
}
.art-body tbody th {
  background: var(--bg); color: var(--blue-900); font-weight: 700;
  text-align: left; padding: 12px 14px; width: 150px;
}
.art-body tbody td { padding: 12px 14px; border-top: 1px solid var(--line); color: var(--ink-2); }
.art-body tbody tr:nth-child(even) td { background: #FAFCFF; }

/* ---------- 文末 CTA ---------- */
.art-cta {
  max-width: 820px; margin: 52px auto 0;
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
  background: linear-gradient(120deg, var(--blue-900) 0%, var(--blue-700) 100%);
  color: #fff; padding: 28px 32px; border-radius: var(--radius);
}
.art-cta h3 { font-size: 19px; font-weight: 800; margin-bottom: 8px; }
.art-cta p { font-size: 15px; color: rgba(255,255,255,.85); }
.art-cta p b { color: #fff; }
.art-cta .btn { flex-shrink: 0; }
.art-back { max-width: 820px; margin: 24px auto 0; font-size: 15px; }

/* ---------- 文章列表 ---------- */
.art-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.art-card {
  display: block; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px; transition: .25s;
}
.art-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); border-color: rgba(11,87,164,.35); }
.art-card-meta { font-size: 13px; color: var(--ink-3); }
.art-card h2 { font-size: 19px; font-weight: 700; color: var(--blue-900); margin-top: 10px; line-height: 1.55; }
.art-card p { margin-top: 10px; color: var(--ink-2); font-size: 15px; }
.art-card-more { display: inline-block; margin-top: 14px; font-size: 14.5px; font-weight: 700; color: var(--blue-700); }
.art-card:hover .art-card-more { color: var(--orange-600); }
.art-empty { text-align: center; padding: 40px 0; }
.art-empty h2 { font-size: 24px; font-weight: 800; color: var(--blue-900); }
.art-empty p { margin-top: 12px; color: var(--ink-2); }

/* ---------- 分页 ---------- */
.art-pager { margin-top: 40px; }
.art-pager ul { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.art-pager .page-numbers {
  display: inline-block; padding: 8px 15px; border-radius: 8px;
  border: 1px solid var(--line); color: var(--blue-900); font-size: 15px;
}
.art-pager .page-numbers.current { background: var(--blue-700); border-color: var(--blue-700); color: #fff; font-weight: 700; }
.art-pager a.page-numbers:hover { border-color: var(--blue-700); color: var(--blue-700); }

@media (max-width: 768px) {
  .art-list { grid-template-columns: 1fr; }
  .art-body { font-size: 16.5px; }
  .art-body h2 { font-size: 21px; margin-top: 36px; }
  .art-body table { font-size: 14px; }
  .art-body tbody th { width: 92px; padding: 10px; }
  .art-body tbody td { padding: 10px; }
  .art-cta { flex-direction: column; align-items: flex-start; padding: 24px; gap: 18px; }
}
