/* ============================================================
   售电公司官网 - 主样式表
   配色：品牌深蓝 / 科技青 / 警示橙
   ============================================================ */

:root {
  --brand:        #0B4DA2;
  --brand-deep:   #062F66;
  --brand-light:  #E8F0FC;
  --accent:       #00A99D;
  --accent-light: #E4F6F4;
  --warn:         #F5821F;
  --ink:          #1A2233;
  --ink-2:        #4A5568;
  --ink-3:        #7A8699;
  --line:         #E3E8F0;
  --bg:           #FFFFFF;
  --bg-soft:      #F5F8FC;
  --radius:       14px;
  --shadow-sm:    0 2px 8px rgba(11, 77, 162, .06);
  --shadow:       0 8px 28px rgba(11, 77, 162, .10);
  --shadow-lg:    0 18px 48px rgba(6, 47, 102, .14);
  --nav-h:        72px;
  --maxw:         1200px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB",
               "Source Han Sans SC", "Noto Sans CJK SC", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

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

/* ---------- 顶部信息条 ---------- */
.topbar {
  background: var(--brand-deep);
  color: rgba(255,255,255,.82);
  font-size: 13px;
  height: 38px;
  display: flex;
  align-items: center;
}
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.topbar span { display: inline-flex; align-items: center; gap: 6px; }
.topbar .sep { opacity: .35; margin: 0 8px; }
.topbar a:hover { color: #fff; }

/* ---------- 导航 ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  height: var(--nav-h);
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s;
}
.nav.scrolled { box-shadow: var(--shadow-sm); }
.nav .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo-mark {
  width: 44px; height: 44px;
  display: grid; place-items: center; flex-shrink: 0;
}
.logo-mark img { display: block; width: 100%; height: 100%; object-fit: contain; }
.logo-text strong { display: block; font-size: 18px; letter-spacing: .5px; line-height: 1.25; color: var(--brand-deep); }
.logo-text small { display: block; font-size: 11px; letter-spacing: 2px; color: var(--ink-3); text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 8px 14px; border-radius: 8px; font-size: 15px;
  color: var(--ink-2); transition: all .2s; position: relative;
}
.nav-links a:hover { color: var(--brand); background: var(--brand-light); }
.nav-links a.active { color: var(--brand); font-weight: 600; }
.nav-links a.active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px;
  height: 2px; background: var(--brand); border-radius: 2px;
}

.nav-cta { display: flex; align-items: center; gap: 10px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: 10px; font-size: 15px; font-weight: 500;
  border: 1px solid transparent; cursor: pointer; transition: all .22s;
  white-space: nowrap;
}
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 18px rgba(11,77,162,.24); }
.btn-primary:hover { background: #0A4188; transform: translateY(-2px); box-shadow: 0 10px 26px rgba(11,77,162,.32); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-light { background: #fff; color: var(--brand); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-sm { padding: 8px 16px; font-size: 14px; }
.btn-lg { padding: 15px 32px; font-size: 16px; }

.burger { display: none; width: 42px; height: 42px; border: 1px solid var(--line);
  border-radius: 10px; background: #fff; cursor: pointer; padding: 11px; }
.burger span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s; }
.burger span + span { margin-top: 5px; }
.nav.open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.open .burger span:nth-child(2) { opacity: 0; }
.nav.open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1200px 500px at 78% -10%, rgba(0,169,157,.20), transparent 60%),
    linear-gradient(160deg, #062F66 0%, #0B4DA2 55%, #1260C4 100%);
  color: #fff; padding: 96px 0 0;
}
.hero::before {
  content: ""; position: absolute; inset: 0; opacity: .16;
  background-image:
    linear-gradient(rgba(255,255,255,.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.5) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.9), transparent 75%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,.9), transparent 75%);
}
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22);
  padding: 7px 16px; border-radius: 999px; font-size: 13px; margin-bottom: 22px;
}
.hero-tag i { width: 7px; height: 7px; border-radius: 50%; background: #4ADE9F; box-shadow: 0 0 0 4px rgba(74,222,159,.25); }
.hero h1 { font-size: clamp(30px, 4vw, 46px); line-height: 1.28; font-weight: 700; letter-spacing: -.5px; }
.hero h1 em { font-style: normal; color: #7FE6DC; }
.hero p.lead { margin-top: 20px; font-size: 17px; color: rgba(255,255,255,.82); max-width: 560px; }
.hero-actions { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-note { margin-top: 22px; font-size: 13px; color: rgba(255,255,255,.6); }

/* Hero 数据卡 */
.hero-card {
  background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.18);
  border-radius: 18px; padding: 26px; backdrop-filter: blur(8px);
}
.hero-card h3 { font-size: 15px; font-weight: 600; color: rgba(255,255,255,.75); letter-spacing: 1px; }
.hero-card .big { font-size: 46px; font-weight: 700; line-height: 1.1; margin: 6px 0 2px; }
.hero-card .big small { font-size: 16px; font-weight: 400; opacity: .7; margin-left: 4px; }
.hero-card .sub { font-size: 13px; color: rgba(255,255,255,.65); }
.hero-mini { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 22px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.15); }
.hero-mini div span { display: block; font-size: 24px; font-weight: 700; }
.hero-mini div label { display: block; font-size: 12px; color: rgba(255,255,255,.6); }
.spark { margin-top: 20px; }

/* ---------- 数据条 ---------- */
.stats { background: #fff; padding: 0; position: relative; z-index: 2; margin-top: -46px; }
.stats-inner {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden; border: 1px solid var(--line);
}
.stat { padding: 30px 24px; text-align: center; position: relative; }
.stat + .stat::before {
  content: ""; position: absolute; left: 0; top: 24%; bottom: 24%; width: 1px; background: var(--line);
}
.stat b { display: block; font-size: 34px; font-weight: 700; color: var(--brand); line-height: 1.2; }
.stat b sub { font-size: 15px; font-weight: 500; color: var(--ink-2); bottom: 0; margin-left: 2px; }
.stat label { display: block; font-size: 14px; color: var(--ink-3); margin-top: 4px; }

/* ---------- 通用 Section ---------- */
section { padding: 88px 0; }
section.soft { background: var(--bg-soft); }
.sec-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.sec-head .eyebrow {
  display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: 2px;
  color: var(--accent); background: var(--accent-light);
  padding: 5px 14px; border-radius: 999px; margin-bottom: 16px;
}
.sec-head h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 700; color: var(--brand-deep); line-height: 1.4; }
.sec-head p { margin-top: 14px; color: var(--ink-2); font-size: 16px; }
.sec-head.left { margin-left: 0; text-align: left; }

/* ---------- 业务卡片 ---------- */
.grid { display: grid; gap: 24px; }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; transition: all .28s; position: relative; overflow: hidden;
}
.card::after {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--brand), var(--accent)); transition: width .35s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card:hover::after { width: 100%; }
.card .ic {
  width: 52px; height: 52px; border-radius: 13px; background: var(--brand-light);
  display: grid; place-items: center; margin-bottom: 18px; color: var(--brand);
}
.card .ic svg { width: 26px; height: 26px; }
.card h3 { font-size: 19px; font-weight: 600; color: var(--brand-deep); margin-bottom: 10px; }
.card p { color: var(--ink-2); font-size: 15px; }
.card ul { margin-top: 16px; display: grid; gap: 8px; }
.card ul li { font-size: 14px; color: var(--ink-2); padding-left: 20px; position: relative; }
.card ul li::before {
  content: ""; position: absolute; left: 4px; top: 11px; width: 6px; height: 6px;
  border-radius: 50%; background: var(--accent);
}
.card .more { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px;
  font-size: 14px; color: var(--brand); font-weight: 500; }
.card .more:hover { gap: 10px; }

/* ---------- 流程 ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 8px; }
.step { text-align: center; padding: 0 18px; position: relative; }
.step .num {
  width: 54px; height: 54px; margin: 0 auto 16px; border-radius: 50%;
  background: #fff; border: 2px solid var(--brand-light);
  display: grid; place-items: center; font-size: 19px; font-weight: 700; color: var(--brand);
  position: relative; z-index: 1;
}
.step:not(:last-child)::before {
  content: ""; position: absolute; top: 26px; left: 60%; right: -40%;
  height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 12px);
}
.step h4 { font-size: 17px; font-weight: 600; color: var(--brand-deep); margin-bottom: 6px; }
.step p { font-size: 14px; color: var(--ink-2); }

/* ---------- 优势 ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.reverse > div:first-child { order: 2; }
.visual {
  background: linear-gradient(150deg, var(--brand-deep), #1260C4);
  border-radius: 20px; padding: 34px; color: #fff; position: relative; overflow: hidden;
}
.visual::before {
  content: ""; position: absolute; width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,169,157,.45), transparent 65%);
  right: -110px; top: -110px;
}
.visual h4 { font-size: 18px; margin-bottom: 20px; position: relative; }
.visual .row { display: flex; justify-content: space-between; padding: 13px 0;
  border-bottom: 1px dashed rgba(255,255,255,.18); font-size: 14px; position: relative; }
.visual .row:last-child { border-bottom: 0; }
.visual .row span:last-child { font-weight: 600; color: #7FE6DC; }
.bars { display: grid; gap: 16px; margin-top: 22px; position: relative; }
.bar label { font-size: 13px; display: flex; justify-content: space-between; margin-bottom: 6px; color: rgba(255,255,255,.85); }
.bar .track { height: 8px; background: rgba(255,255,255,.15); border-radius: 99px; overflow: hidden; }
.bar .fill { height: 100%; border-radius: 99px; background: linear-gradient(90deg, #7FE6DC, #00A99D); width: 0; transition: width 1.1s cubic-bezier(.2,.8,.2,1); }

.feature-list { display: grid; gap: 22px; margin-top: 26px; }
.feature { display: flex; gap: 16px; }
.feature .dot {
  width: 34px; height: 34px; border-radius: 10px; background: var(--accent-light);
  color: var(--accent); display: grid; place-items: center; flex-shrink: 0; font-size: 15px; font-weight: 700;
}
.feature h4 { font-size: 16px; font-weight: 600; color: var(--brand-deep); margin-bottom: 3px; }
.feature p { font-size: 14px; color: var(--ink-2); }

/* ---------- 案例 ---------- */
.case {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: all .28s;
}
.case:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.case-top { padding: 26px 26px 20px; border-bottom: 1px dashed var(--line); }
.case-top .tag {
  display: inline-block; font-size: 12px; padding: 3px 10px; border-radius: 6px;
  background: var(--brand-light); color: var(--brand); margin-bottom: 12px;
}
.case-top h3 { font-size: 18px; font-weight: 600; color: var(--brand-deep); }
.case-top p { font-size: 14px; color: var(--ink-3); margin-top: 4px; }
.case-body { padding: 22px 26px 26px; }
.case-body .kv { display: flex; justify-content: space-between; padding: 9px 0; font-size: 14px; }
.case-body .kv span:first-child { color: var(--ink-3); }
.case-body .kv span:last-child { font-weight: 600; color: var(--ink); }
.case-body .quote { margin-top: 14px; padding: 14px 16px; background: var(--bg-soft);
  border-left: 3px solid var(--accent); border-radius: 0 8px 8px 0; font-size: 14px; color: var(--ink-2); }

/* ---------- 新闻列表 ---------- */
.news-item {
  display: grid; grid-template-columns: 92px 1fr auto; gap: 24px; align-items: center;
  padding: 24px 4px; border-bottom: 1px solid var(--line); transition: all .2s;
}
.news-item:hover { background: var(--bg-soft); padding-left: 14px; }
.news-date { text-align: center; border-right: 1px solid var(--line); padding-right: 20px; }
.news-date b { display: block; font-size: 26px; font-weight: 700; color: var(--brand); line-height: 1.1; }
.news-date small { font-size: 12px; color: var(--ink-3); }
.news-item h3 { font-size: 17px; font-weight: 500; color: var(--ink); }
.news-item:hover h3 { color: var(--brand); }
.news-item p { font-size: 14px; color: var(--ink-3); margin-top: 3px; }
.news-item .arrow { color: var(--ink-3); font-size: 20px; transition: transform .2s; }
.news-item:hover .arrow { transform: translateX(5px); color: var(--brand); }
.news-item.soon { cursor: default; }
.news-item.soon:hover { background: transparent; padding-left: 4px; }
.news-item.soon:hover h3 { color: var(--ink); }
.soon-tag { justify-self: end; align-self: center; font-size: 12px; color: #fff;
  background: var(--ink-3, #9aa7b8); padding: 4px 12px; border-radius: 999px; white-space: nowrap; }

/* ---------- 资质 ---------- */
.certs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cert {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 18px;
  text-align: center; background: #fff; transition: all .25s;
}
.cert:hover { border-color: var(--accent); box-shadow: var(--shadow-sm); }
.cert svg { width: 34px; height: 34px; margin: 0 auto 12px; color: var(--brand); }
.cert b { display: block; font-size: 15px; color: var(--brand-deep); }
.cert small { display: block; font-size: 12px; color: var(--ink-3); margin-top: 3px; }

/* ---------- 时间轴 ---------- */
.timeline { position: relative; padding-left: 34px; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.tl-item { position: relative; padding-bottom: 30px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ""; position: absolute; left: -31px; top: 7px; width: 12px; height: 12px;
  border-radius: 50%; background: #fff; border: 3px solid var(--brand);
}
.tl-item time { font-size: 13px; font-weight: 600; color: var(--accent); letter-spacing: 1px; }
.tl-item h4 { font-size: 17px; margin: 3px 0 5px; color: var(--brand-deep); }
.tl-item p { font-size: 14px; color: var(--ink-2); }

/* ---------- CTA 横幅 ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--brand-deep) 0%, var(--brand) 60%, var(--accent) 160%);
  color: #fff; padding: 64px 0; position: relative; overflow: hidden;
}
.cta-band::after {
  content: ""; position: absolute; right: -80px; bottom: -140px; width: 380px; height: 380px;
  border-radius: 50%; border: 40px solid rgba(255,255,255,.06);
}
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; position: relative; z-index: 1; }
.cta-band h2 { font-size: clamp(22px, 3vw, 32px); font-weight: 700; }
.cta-band p { color: rgba(255,255,255,.8); margin-top: 8px; }

/* ---------- 表单 ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 500; color: var(--ink); }
.field label i { color: var(--warn); font-style: normal; }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: 15px; color: var(--ink);
  padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px;
  background: #fff; transition: all .2s; width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(11,77,162,.10);
}
.field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 13px; color: var(--ink-3); margin-top: 14px; }
.form-ok {
  display: none; margin-top: 18px; padding: 14px 18px; border-radius: 10px;
  background: var(--accent-light); border: 1px solid rgba(0,169,157,.3);
  color: #08786F; font-size: 14px;
}

/* ---------- 联系信息 ---------- */
.contact-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.contact-line { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px dashed var(--line); }
.contact-line:last-child { border-bottom: 0; }
.contact-line .ic { width: 40px; height: 40px; border-radius: 10px; background: var(--brand-light);
  color: var(--brand); display: grid; place-items: center; flex-shrink: 0; }
.contact-line .ic svg { width: 19px; height: 19px; }
.contact-line label { display: block; font-size: 13px; color: var(--ink-3); }
.contact-line strong { display: block; font-size: 16px; color: var(--ink); font-weight: 600; }

/* ---------- 表格 ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 620px; }
thead th { background: var(--brand-light); color: var(--brand-deep); font-weight: 600;
  text-align: left; padding: 15px 20px; white-space: nowrap; }
tbody td { padding: 15px 20px; border-top: 1px solid var(--line); color: var(--ink-2); }
tbody tr:hover { background: var(--bg-soft); }
tbody td:first-child { color: var(--ink); font-weight: 500; }

/* ---------- 页脚 ---------- */
.footer { background: var(--brand-deep); color: rgba(255,255,255,.72); padding: 60px 0 0; font-size: 14px; }
.footer .fgrid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 44px; }
.footer h4 { color: #fff; font-size: 16px; margin-bottom: 18px; font-weight: 600; }
.footer li { padding: 6px 0; }
.footer li a:hover { color: #7FE6DC; }
.footer .logo-text strong { color: #fff; }
.footer .logo-text small { color: rgba(255,255,255,.5); }
.footer p.desc { margin-top: 16px; font-size: 14px; line-height: 1.9; max-width: 320px; }
/* 页脚深色底改用浅色版 LOGO（logo-mark-light.png），无需额外底色 */
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 20px 0; font-size: 13px; }
.footer-bottom .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-bottom a:hover { color: #7FE6DC; }

/* ---------- 页面内页头 ---------- */
.pagehead {
  background: linear-gradient(160deg, var(--brand-deep), var(--brand));
  color: #fff; padding: 62px 0 66px; position: relative; overflow: hidden;
}
.pagehead::before {
  content: ""; position: absolute; inset: 0; opacity: .12;
  background-image: linear-gradient(90deg, rgba(255,255,255,.6) 1px, transparent 1px);
  background-size: 60px 60px;
}
.pagehead .wrap { position: relative; }
.pagehead h1 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 700; }
.pagehead p { margin-top: 10px; color: rgba(255,255,255,.78); max-width: 640px; }
.crumb { font-size: 13px; color: rgba(255,255,255,.6); margin-bottom: 14px; }
.crumb a:hover { color: #7FE6DC; }

/* ---------- 滚动动画 ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding-top: 68px; }
  .g-4, .certs, .steps { grid-template-columns: repeat(2, 1fr); }
  .g-3 { grid-template-columns: repeat(2, 1fr); }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3)::before, .stat:nth-child(3) { }
  .stat:nth-child(3)::before { display: none; }
  .stat:nth-child(3), .stat:nth-child(4) { border-top: 1px solid var(--line); }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split.reverse > div:first-child { order: 0; }
  .footer .fgrid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .step:not(:last-child)::before { display: none; }
}
@media (max-width: 760px) {
  section { padding: 60px 0; }
  .topbar { display: none; }
  .burger { display: block; }
  .nav-cta .btn { display: none; }
  .nav-links {
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 0; padding: 10px 16px 18px;
    box-shadow: var(--shadow); display: none;
  }
  .nav.open .nav-links { display: flex; }
  .nav-links a { padding: 13px 8px; border-radius: 8px; }
  .nav-links a.active::after { display: none; }
  .g-3, .g-2, .g-4, .certs, .steps, .form-grid { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: 1fr 1fr; }
  .news-item { grid-template-columns: 70px 1fr; gap: 16px; }
  .news-item .arrow { display: none; }
  .news-item .soon-tag { display: none; }
  .footer .fgrid { grid-template-columns: 1fr; gap: 28px; }
  .cta-band .wrap { flex-direction: column; align-items: flex-start; }
}

/* ---------- 联系页 · 高德地图（官方嵌入，免密钥） ---------- */
.map-card {
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; background: #fff; box-shadow: var(--shadow-sm);
}
.amap-frame { display: block; width: 100%; height: 420px; border: 0; background: var(--bg-soft); }
.map-foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap; padding: 18px 22px; border-top: 1px solid var(--line);
}
.map-addr { display: flex; align-items: flex-start; gap: 10px; min-width: 0; }
.map-addr svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--brand); margin-top: 2px; }
.map-addr strong { display: block; font-size: 15px; font-weight: 600; color: var(--brand-deep); }
.map-addr span { display: block; font-size: 13px; color: var(--ink-3); line-height: 1.7; margin-top: 3px; }
.map-acts { display: flex; gap: 10px; flex-wrap: wrap; }

@media (max-width: 760px) {
  .amap-frame { height: 300px; }
  .map-foot { padding: 16px; gap: 14px; }
  .map-acts { width: 100%; }
  .map-acts .btn { flex: 1; }
}

/* ---------- 联系页 · 微信咨询卡片 ---------- */
.wx-card {
  display: flex; gap: 24px; align-items: flex-start;
  margin-top: 24px; padding: 26px;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
.wx-qr {
  flex-shrink: 0; width: 200px; height: 200px; padding: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
}
.wx-qr img { display: block; width: 100%; height: 100%; object-fit: contain; }
.wx-body { min-width: 0; }
.wx-body h3 {
  display: flex; align-items: center; gap: 8px;
  font-size: 18px; color: var(--brand-deep); margin-bottom: 8px;
}
.wx-body h3 svg { width: 22px; height: 22px; color: #07C160; flex-shrink: 0; }
.wx-body > p { font-size: 14px; color: var(--ink-3); }
.wx-id {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  margin: 16px 0 12px; padding: 12px 16px;
  background: var(--bg-soft); border: 1px dashed var(--line); border-radius: 10px;
}
.wx-id span { font-size: 13px; color: var(--ink-3); }
.wx-id strong { font-size: 18px; color: var(--brand-deep); font-weight: 600; letter-spacing: .5px; }
.wx-hint {
  font-size: 13px; color: var(--brand); background: var(--brand-light);
  padding: 10px 14px; border-radius: 8px;
}
.wx-hint b { color: var(--brand-deep); }

@media (max-width: 760px) {
  .wx-card { flex-direction: column; align-items: center; text-align: center; padding: 22px; gap: 18px; }
  .wx-qr { width: 220px; height: 220px; }
  .wx-body h3 { justify-content: center; }
  .wx-id { justify-content: center; width: 100%; }
}

/* ---------- 全站 · 微信咨询悬浮入口 ---------- */
.fab {
  position: fixed; right: 24px; bottom: 24px; z-index: 900;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 18px; border: 0; cursor: pointer; font-family: inherit;
  background: #07C160; color: #fff; font-size: 15px; font-weight: 600;
  border-radius: 999px; box-shadow: 0 8px 24px rgba(7, 193, 96, .35);
  transition: transform .2s, box-shadow .2s;
}
.fab svg { width: 22px; height: 22px; flex-shrink: 0; }
.fab:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(7, 193, 96, .45); }
.fab:active { transform: translateY(0); }
.fab:focus-visible { outline: 3px solid rgba(7, 193, 96, .45); outline-offset: 3px; }

@media (max-width: 760px) {
  .fab {
    right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    padding: 12px 16px; font-size: 14px;
  }
}
@media (max-width: 420px) {
  /* 窄屏只留图标，避免遮挡正文 */
  .fab { padding: 14px; border-radius: 50%; }
  .fab span { display: none; }
}

/* ---------- 全站 · 微信二维码浮层 ---------- */
.wx-modal { position: fixed; inset: 0; z-index: 1000; display: none; }
.wx-modal.is-open { display: flex; align-items: center; justify-content: center; padding: 20px; }
.wx-modal-mask { position: absolute; inset: 0; background: rgba(6, 26, 51, .58); }
.wx-modal-box {
  position: relative; width: 100%; max-width: 380px; max-height: 92vh; overflow-y: auto;
  background: #fff; border-radius: 18px; padding: 30px 28px 26px;
  text-align: center; box-shadow: var(--shadow-lg);
  animation: wxPop .22s ease-out;
}
@keyframes wxPop {
  from { opacity: 0; transform: translateY(14px) scale(.97); }
  to   { opacity: 1; transform: none; }
}
.wx-modal-x {
  position: absolute; top: 12px; right: 14px; width: 32px; height: 32px;
  border: 0; background: transparent; cursor: pointer; border-radius: 8px;
  font-size: 26px; line-height: 1; color: var(--ink-3);
}
.wx-modal-x:hover { color: var(--ink); background: var(--bg-soft); }
.wx-modal-box h3 { font-size: 19px; color: var(--brand-deep); }
.wx-modal-sub { font-size: 13px; color: var(--ink-3); margin-top: 6px; }
.wx-modal-qr {
  width: 240px; height: 240px; margin: 18px auto 14px;
  border: 1px solid var(--line); border-radius: 12px; object-fit: contain;
}
.wx-modal-id { font-size: 13px; color: var(--ink-3); }
.wx-modal-id strong { font-size: 17px; color: var(--brand-deep); font-weight: 600; letter-spacing: .5px; margin-left: 4px; }
.wx-modal-acts { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 18px; }
.wx-modal-hint {
  margin-top: 14px; font-size: 13px; color: var(--brand);
  background: var(--brand-light); padding: 9px 12px; border-radius: 8px;
}
.wx-modal-hint b { color: var(--brand-deep); }

/* 带 hidden 属性的元素一律不显示（避免被 display 规则覆盖） */
[hidden] { display: none !important; }

@media (max-width: 420px) {
  .wx-modal-box { padding: 26px 20px 22px; }
  .wx-modal-qr { width: 200px; height: 200px; }
  .wx-modal-acts .btn { flex: 1; }
}

/* ---------- 表单蜜罐字段（真人不可见，自动化脚本常会填） ---------- */
.hp-field {
  position: absolute; left: -9999px; top: auto;
  width: 1px; height: 1px; overflow: hidden;
}

/* ---------- 无障碍：尊重系统「减少动态效果」偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
  .bar .fill { transition: none !important; }
}
