:root {
  --navy: #0B3C5D;
  --navy-dark: #0A2E47;
  --topbar: #5E7E78;
  --green: #1D9E75;
  --green-dark: #17845F;
  --green-light: #E1F5EE;
  --green-text: #0F6E56;
  --amber: #8A5A00;
  --amber-bg: #FAEEDA;
  --ink: #1A1A1A;
  --text: #3A4653;
  --muted: #5F6B7A;
  --faint: #7A8794;
  --line: #E6EBF0;
  --line-soft: #F0F3F6;
  --bg-soft: #F2F7FA;
  --bg-grey: #F7F9FB;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: system-ui, -apple-system, "Segoe UI", "Microsoft YaHei", sans-serif;
  color: var(--ink); background: #fff; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* 顶栏 */
.topbar { background: var(--topbar); color: #fff; font-size: 13px; padding: 8px 0; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }

.topbar span { opacity: .85; }

/* 头部导航 */
header { position: sticky; top: 0; background: #fff; border-bottom: 1px solid var(--line); z-index: 10; }
nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: flex; align-items: baseline; gap: 10px; flex: none; }
.logo b { font-size: 24px; color: var(--navy); letter-spacing: -.5px; }
.logo i { font-style: normal; font-size: 12px; color: var(--muted); border-left: 1px solid #D8E0E8; padding-left: 10px; }
.menu { display: flex; gap: 11px; font-size: 12.5px; flex-wrap: nowrap; min-width: 0; flex: 1 1 auto; justify-content: center; }
.menu a { color: var(--text); padding: 4px 0; border-bottom: 2px solid transparent; white-space: nowrap; }
.menu a:hover, .menu a.active { color: var(--navy); border-bottom-color: var(--green); }
.nav-right { display: flex; align-items: center; gap: 12px; flex: none; }
.btn { background: var(--green); color: #fff; padding: 9px 20px; border-radius: 6px; font-size: 14px; font-weight: 500; border: none; cursor: pointer; display: inline-block; }
.btn:hover { background: var(--green-dark); }
.burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.burger span { display: block; width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: .2s; }

/* Hero */
.hero { background: linear-gradient(180deg, var(--bg-soft) 0%, #fff 100%); padding: 56px 0 44px; }
.tag { display: inline-block; font-size: 12px; color: var(--green-text); background: var(--green-light); padding: 5px 12px; border-radius: 20px; margin-bottom: 20px; }
h1 { font-size: 38px; line-height: 1.3; font-weight: 600; color: var(--navy); max-width: 760px; }
.sub { font-size: 16px; color: var(--muted); margin-top: 18px; max-width: 680px; }
.cta { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.cta .btn { padding: 12px 26px; font-size: 15px; }
.cta .btn2 { border: 1px solid #C9D6E0; color: var(--navy); padding: 12px 26px; border-radius: 6px; font-size: 15px; }
.cta .btn2:hover { border-color: var(--navy); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 24px; margin-top: 52px; padding-top: 32px; border-top: 1px solid var(--line); }
.stat b { display: block; font-size: 26px; color: var(--navy); font-weight: 600; }
.stat span { font-size: 13px; color: var(--faint); }

/* 区块通用 */
section { padding: 56px 0; }
.sec-head { margin-bottom: 28px; }
.sec-head h2 { font-size: 26px; font-weight: 600; color: var(--navy); }
.sec-head p { font-size: 15px; color: var(--muted); margin-top: 10px; max-width: 640px; }

/* 卡片 */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.card { border: 1px solid var(--line); border-radius: 10px; padding: 28px; background: #fff; transition: .2s; }
.card:hover { border-color: var(--green); box-shadow: 0 4px 16px rgba(11,60,93,.06); }
.card .ic { width: 38px; height: 38px; border-radius: 8px; background: var(--green-light); color: var(--green-text); display: flex; align-items: center; justify-content: center; font-size: 17px; font-weight: 600; margin-bottom: 16px; }
.card h3 { font-size: 17px; font-weight: 600; margin-bottom: 10px; }
.card h3 a:hover { color: var(--green); }
.card p { font-size: 14px; color: var(--muted); margin-bottom: 16px; }
.card ul { list-style: none; font-size: 13px; color: var(--text); }
.card li { padding: 5px 0 5px 16px; position: relative; }
.card li:before { content: ""; position: absolute; left: 0; top: 13px; width: 5px; height: 5px; border-radius: 50%; background: var(--green); }
.badge { display: inline-block; font-size: 11px; color: var(--amber); background: var(--amber-bg); padding: 3px 9px; border-radius: 4px; margin-left: 8px; vertical-align: middle; }
.badge-paid { color: var(--green-text); background: var(--green-light); }
.badge-free { color: var(--amber); background: var(--amber-bg); }
.more { display: inline-block; margin-top: 14px; font-size: 13px; color: var(--green); font-weight: 500; }
.more:hover { color: var(--green-dark); }
.case-result { color: var(--green-text); background: var(--green-light); padding: 8px 12px; border-radius: 6px; font-size: 13px; margin: 10px 0; }
.visual-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.visual { border-radius: 12px; padding: 32px 24px; color: #fff; background: linear-gradient(135deg, var(--navy) 0%, var(--green) 100%); min-height: 120px; display: flex; flex-direction: column; justify-content: center; }
.visual b { font-size: 36px; font-weight: 600; display: block; line-height: 1.1; }
.visual span { opacity: .85; font-size: 13px; margin-top: 6px; }

/* CBAM 深色区 */
.cbam { background: var(--navy); color: #fff; }
.cbam .sec-head h2 { color: #fff; }
.cbam .sec-head p { color: #B8CBD9; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.step { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 10px; padding: 26px; }
.step .n { font-size: 13px; color: #5DCAA5; font-weight: 600; letter-spacing: 1px; }
.step h4 { font-size: 17px; margin: 10px 0; font-weight: 600; }
.step p { font-size: 14px; color: #C3D4E0; }
.note { margin-top: 32px; padding: 20px 24px; background: rgba(29,158,117,.14); border-left: 3px solid var(--green); border-radius: 0 8px 8px 0; font-size: 14px; color: #D6E5EF; }

/* 产业情报 */
.intel { background: var(--bg-grey); }
.rows { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.row { background: #fff; padding: 24px; }
.row h4 { font-size: 15px; font-weight: 600; margin-bottom: 8px; }
.row p { font-size: 13px; color: var(--faint); }

/* 服务网络 */
.partners { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }
.p { border: 1px solid var(--line); border-radius: 8px; padding: 14px 20px; font-size: 14px; background: #fff; }
.p small { display: block; font-size: 12px; color: var(--faint); margin-top: 4px; }

/* CTA 带 */
.cta-band { background: var(--green-light); padding: 56px 0; text-align: center; }
.cta-band h2 { font-size: 24px; color: var(--navy); font-weight: 600; }
.cta-band p { font-size: 15px; color: var(--text); margin: 12px 0 24px; }

/* 会员名录：纯名称目录（暂不可点进二级页） */
.name-dir { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.name-cell {
  border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px;
  font-size: 14px; color: var(--text); background: #fff; cursor: default;
  transition: .15s; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.name-cell:hover { border-color: var(--green); background: var(--green-light); color: var(--green-text); }

/* 页脚 */
footer { background: var(--navy-dark); color: #9DB2C4; font-size: 13px; padding: 44px 0 28px; }
.fgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 28px; margin-bottom: 28px; }
.fgrid h5 { color: #fff; font-size: 14px; font-weight: 500; margin-bottom: 12px; }
.fgrid ul { list-style: none; }
.fgrid li { padding: 4px 0; }
.fgrid a:hover { color: #fff; }
.fbot { border-top: 1px solid rgba(255,255,255,.1); padding-top: 20px; font-size: 12px; color: #7A94A8; }

/* 页内横幅（子页） */
.page-hero { background: linear-gradient(180deg, var(--bg-soft) 0%, #fff 100%); padding: 48px 0 40px; }

/* 导航在 1080px 以下切换为汉堡菜单，避免 10 个栏目在中屏被挤到“注册”按钮上 */
@media (max-width: 1080px) {
  .burger { display: flex; }
  .menu { display: none; position: absolute; top: 68px; left: 0; right: 0; background: #fff; flex-direction: column; gap: 0; border-bottom: 1px solid var(--line); padding: 8px 24px 16px; }
  .menu.open { display: flex; }
  .menu a { padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
}
@media (max-width: 820px) {
  h1 { font-size: 28px; }
  section { padding: 52px 0; }
  .hero { padding: 52px 0 40px; }
}
@media (max-width: 600px) {
  .nav-right .btn { display: none; }
}

/* 列表与元信息 */
.list { border-top: 1px solid var(--line); }
.item { padding: 18px 4px; border-bottom: 1px solid var(--line); }
.item h4 { font-size: 16px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.meta { font-size: 13px; color: var(--faint); }
.row a { color: var(--navy); font-weight: 600; }
.row a:hover { color: var(--green); }

/* 表单 */
.form { display: flex; flex-direction: column; gap: 20px; }
.field label { display: block; font-size: 14px; color: var(--text); margin-bottom: 6px; font-weight: 500; }
.field label em { color: #d33; font-style: normal; }
.field input, .field textarea { width: 100%; padding: 10px 14px; border: 1px solid #C9D6E0; border-radius: 6px; font-size: 14px; font-family: inherit; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--green); }
.err { color: #d33; font-size: 13px; margin-top: 6px; }
.flash { background: var(--green-light); color: var(--green-text); padding: 12px 16px; border-radius: 6px; margin-top: 20px; font-size: 14px; }

/* 分页 */
.pager { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 32px; }
.pager a { color: var(--navy); font-weight: 600; padding: 8px 16px; border: 1px solid #C9D6E0; border-radius: 6px; }
.pager a:hover { border-color: var(--green); color: var(--green); }
.pager .cur { font-size: 14px; color: var(--muted); }

/* 装饰性视觉（占位图：后续可替换为真实照片/插图） */
.hero { position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; right: -80px; top: -80px; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle, rgba(29,158,117,.14) 0%, rgba(29,158,117,0) 70%); }
.hero::after { content: ""; position: absolute; right: 140px; bottom: -70px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(11,60,93,.10) 0%, rgba(11,60,93,0) 70%); }
.page-hero { position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; right: -60px; top: -60px; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(circle, rgba(29,158,117,.12) 0%, rgba(29,158,117,0) 70%); }

/* 时间线 */
.timeline { position: relative; padding-left: 4px; border-left: 2px solid var(--line); }
.timeline .item { position: relative; padding: 0 0 28px 28px; border-bottom: none; }
.timeline .item::before { content: ""; position: absolute; left: -9px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px var(--green-light); }
.timeline .item:last-child { padding-bottom: 0; }

/* 案例行业色块 */
.case-visual { height: 8px; border-radius: 4px; margin-bottom: 14px; background: linear-gradient(90deg, var(--green) 0%, var(--navy) 100%); }

/* ===== 第一屏：全国服务网络地图 + 重点行业动态 ===== */
.geo-hero {
  position: relative; padding: 40px 0 46px; border-bottom: 1px solid var(--line);
  background:
    radial-gradient(820px 400px at 84% -12%, rgba(29,158,117,.10), transparent 62%),
    radial-gradient(680px 360px at 4% 0%, rgba(11,60,93,.085), transparent 60%),
    linear-gradient(180deg, #F4F8FB 0%, #FFFFFF 82%);
}
.geo-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; margin-bottom: 20px; }
.geo-kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; letter-spacing: 1.4px; font-weight: 600; color: var(--green-text); }
.geo-kicker::before { content: ""; width: 22px; height: 2px; background: var(--green); }
.geo-title { font-size: 31px; line-height: 1.32; font-weight: 600; color: var(--navy); letter-spacing: -.4px; margin-top: 10px; max-width: 720px; }
.geo-sub { font-size: 14.5px; color: var(--muted); margin-top: 9px; max-width: 620px; }
.geo-kpis { display: flex; gap: 30px; padding-bottom: 4px; }
.geo-kpi b { display: block; font-size: 24px; line-height: 1.1; color: var(--navy); font-weight: 600; }
.geo-kpi span { font-size: 12px; color: var(--faint); }

.geo-grid { display: grid; grid-template-columns: minmax(0, 1.62fr) minmax(330px, .98fr); gap: 18px; }
.geo-mapcard { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 14px 40px rgba(11,60,93,.07); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.geo-map { width: 100%; height: clamp(480px, 60vh, 660px); }
.geo-map-legend {
  position: absolute; left: 16px; bottom: 14px; display: flex; align-items: center; gap: 4px;
  font-size: 11px; color: var(--muted); background: rgba(255,255,255,.88);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border: 1px solid var(--line); border-radius: 20px; padding: 5px 12px;
}
.geo-map-legend span { margin-right: 4px; }
.geo-map-legend b { width: 15px; height: 8px; display: inline-block; border-radius: 2px; }
.geo-map-legend em { font-style: normal; color: var(--faint); padding: 0 2px; }
.geo-map-legend i { font-style: normal; color: var(--faint); }
.geo-map-tip { position: absolute; right: 16px; bottom: 16px; font-size: 11px; color: var(--faint); letter-spacing: .3px; }

/* 右侧省份面板 */
.geo-panel {
  display: flex; flex-direction: column; min-height: 0;
  background: linear-gradient(180deg, #FFFFFF 0%, #F6FAFC 100%);
  border: 1px solid var(--line); border-radius: 14px; padding: 20px 20px 16px;
  box-shadow: 0 14px 40px rgba(11,60,93,.06);
}
.geo-panel.swap { animation: gpIn .26s ease; }
@keyframes gpIn { from { opacity: .25; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.gp-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.gp-head h2 { font-size: 21px; font-weight: 600; color: var(--navy); letter-spacing: -.3px; }
.gp-count { font-size: 13px; color: var(--muted); margin-top: 3px; }
.gp-count b { font-size: 17px; color: var(--green-text); font-weight: 600; }
.gp-badge { font-size: 11px; color: var(--green-text); background: var(--green-light); border-radius: 20px; padding: 4px 10px; white-space: nowrap; flex: none; }
.gp-types { display: flex; flex-wrap: wrap; gap: 6px; margin: 13px 0 10px; }
.gp-types span { font-size: 11.5px; color: var(--text); background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 3px 8px; }
.gp-list { flex: 1; overflow: auto; min-height: 120px; }
.gp-item { display: block; padding: 10px 0; border-bottom: 1px solid var(--line-soft); }
.gp-item:last-child { border-bottom: none; }
.gp-item b { display: block; font-size: 13.5px; font-weight: 500; color: var(--ink); line-height: 1.45; }
.gp-item:hover b { color: var(--green-dark); }
.gp-item .gp-type { display: inline-block; font-size: 11px; color: var(--muted); margin-top: 3px; }
.gp-item em { display: block; font-size: 11.5px; font-style: normal; color: var(--faint); margin-top: 2px; }
.gp-goto { margin-top: 12px; display: block; text-align: center; background: var(--green); color: #fff; border-radius: 8px; padding: 10px; font-size: 13px; font-weight: 500; }
.gp-goto:hover { background: var(--green-dark); }
.gp-empty { font-size: 13px; color: var(--muted); line-height: 1.9; padding: 26px 0; text-align: center; }

/* 快速直达 */
.geo-hot { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.geo-hot-label { font-size: 12px; color: var(--faint); margin-right: 2px; }
.geo-chip { font: inherit; font-size: 12.5px; color: var(--text); background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 5px 13px; cursor: pointer; transition: .18s; }
.geo-chip:hover { border-color: var(--green); color: var(--green-text); }
.geo-chip.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.geo-chip-link { margin-left: auto; font-size: 13px; color: var(--green); font-weight: 500; }
.geo-chip-link:hover { color: var(--green-dark); }

/* 重点行业动态 */
.geo-ind { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.gi-head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.gi-head h2 { font-size: 18px; font-weight: 600; color: var(--navy); }
.gi-head p { font-size: 13px; color: var(--muted); }
.gi-head a { margin-left: auto; font-size: 13px; color: var(--green); }
.gi-head a:hover { color: var(--green-dark); }
.gi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(236px, 1fr)); gap: 12px; }
.gi-card { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 13px 15px 9px; transition: .18s; }
.gi-card:hover { border-color: var(--green); box-shadow: 0 8px 22px rgba(11,60,93,.06); transform: translateY(-2px); }
.gi-name { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 7px; }
.gi-name a { font-size: 14.5px; font-weight: 600; color: var(--navy); }
.gi-name a:hover { color: var(--green); }
.gi-name span { font-size: 11px; color: var(--faint); }
.gi-card ul { list-style: none; }
.gi-card li { display: flex; align-items: flex-start; gap: 10px; padding: 7px 0; border-top: 1px dashed var(--line-soft); }
.gi-card li:first-child { border-top: none; }
.gi-card li a {
  flex: 1; font-size: 12.5px; line-height: 1.55; color: var(--text);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.gi-card li a:hover { color: var(--navy); }
.gi-card li em { font-style: normal; font-size: 11px; color: var(--faint); white-space: nowrap; padding-top: 1px; }
.gi-card li.gi-none { font-size: 12.5px; color: var(--faint); border-top: none; padding: 12px 0 10px; }

@media (max-width: 980px) {
  .geo-grid { grid-template-columns: 1fr; }
  .geo-map { height: 340px; }
  .geo-kpis { gap: 20px; }
  .geo-title { font-size: 24px; }
  .geo-head { gap: 16px; }
  .geo-chip-link { margin-left: 0; }
}
@media (max-width: 560px) {
  .geo-hero { padding: 28px 0 34px; }
  .geo-map { height: 290px; }
  .geo-map-tip { display: none; }
  .gi-grid { grid-template-columns: 1fr; }
}

/* ===== 右侧磨砂玻璃侧边工具栏（动态抽屉） ===== */
/* 收起态常驻的竖向把手：贴右缘，鼠标放上去抽屉向左拉出 */
.st-handle {
  position: fixed; right: 0; top: 50%; transform: translateY(-50%);
  z-index: 41; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  width: 28px; padding: 18px 0;
  background: rgba(11,60,93,.42);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  backdrop-filter: blur(12px) saturate(140%);
  border: 1px solid rgba(255,255,255,.22); border-right: none;
  border-radius: 14px 0 0 14px;
  box-shadow: -6px 10px 30px rgba(11,40,60,.22);
  color: #fff; writing-mode: vertical-rl; text-orientation: upright;
  font-size: 12px; letter-spacing: 3px; font-weight: 500;
  transition: background .2s, padding .2s;
}
.st-handle:hover { background: rgba(11,60,93,.6); }

.side-tool {
  position: fixed; right: 0; top: 50%; transform: translate(0, -50%);
  z-index: 42;
  display: flex; flex-direction: column; align-items: center; gap: 1px;
  width: 56px; padding: 9px 0;
  background: rgba(11,60,93,.42);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  backdrop-filter: blur(12px) saturate(140%);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(11,40,60,.22);
  transition: transform .3s cubic-bezier(.22,.61,.36,1), opacity .3s ease;
}
/* 收起：整条工具栏滑出屏幕右侧，仅留竖向把手 */
.side-tool.collapsed { transform: translate(64px, -50%); opacity: 0; pointer-events: none; }
.st-item {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  width: 100%; padding: 9px 0; cursor: pointer;
  background: none; border: none; text-decoration: none;
  color: #fff; transition: background .2s;
}
.st-item:hover { background: rgba(255,255,255,.14); }
.st-item svg {
  width: 20px; height: 20px; stroke: #fff; stroke-width: 1.8; fill: none;
  stroke-linecap: round; stroke-linejoin: round;
}
.st-item span { font-size: 9.5px; line-height: 1.15; text-align: center; letter-spacing: .3px; }
.st-item.st-top { margin-top: 3px; border-top: 1px solid rgba(255,255,255,.18); padding-top: 11px; }

@media (max-width: 768px) {
  .side-tool { display: none; }
  .st-handle { display: none; }
}

/* 第二屏品牌主张标题（原 h1 降级，保持视觉分量） */
.hero-title { font-size: 34px; line-height: 1.3; font-weight: 600; color: var(--navy); max-width: 760px; }

/* ===== AI 客服：移动端浮动入口 ===== */
.chat-fab {
  position: fixed; right: 18px; bottom: 18px; z-index: 45; display: none;
  align-items: center; gap: 8px; border: none; cursor: pointer;
  background: linear-gradient(135deg, var(--navy) 0%, var(--green) 100%);
  color: #fff; border-radius: 30px; padding: 12px 18px;
  font-size: 14px; font-weight: 500; font-family: inherit;
  box-shadow: 0 10px 28px rgba(11,60,93,.35);
}
.chat-fab svg { width: 20px; height: 20px; stroke: #fff; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 768px) { .chat-fab { display: flex; } }

/* ===== AI 客服：聊天窗口 ===== */
.chat-panel {
  position: fixed; right: 88px; bottom: 22px; z-index: 50;
  width: 360px; max-width: calc(100vw - 110px);
  height: 540px; max-height: calc(100vh - 44px);
  display: flex; flex-direction: column; overflow: hidden;
  background: rgba(255,255,255,.92);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid rgba(255,255,255,.55); border-radius: 16px;
  box-shadow: 0 20px 60px rgba(11,40,60,.28);
  opacity: 0; transform: translateY(16px) scale(.98); pointer-events: none;
  transition: opacity .22s ease, transform .22s ease;
}
.chat-panel.open { opacity: 1; transform: none; pointer-events: auto; }
.chat-head {
  display: flex; align-items: center; gap: 10px; padding: 14px 16px; color: #fff;
  background: linear-gradient(135deg, var(--navy) 0%, var(--green) 130%);
}
.chat-head .ai-ava { width: 34px; height: 34px; border-radius: 50%; flex: none; background: rgba(255,255,255,.18); display: flex; align-items: center; justify-content: center; }
.chat-head .ai-ava svg { width: 20px; height: 20px; stroke: #fff; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.chat-head .ai-meta b { font-size: 14.5px; font-weight: 600; display: block; }
.chat-head .ai-meta span { font-size: 11px; opacity: .85; }
.chat-head .chat-close { margin-left: auto; width: 30px; height: 30px; border: none; border-radius: 8px; cursor: pointer; font-size: 18px; line-height: 1; color: #fff; background: rgba(255,255,255,.16); }
.chat-head .chat-close:hover { background: rgba(255,255,255,.32); }
.chat-body { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 12px; background: rgba(247,249,251,.6); }
.msg { display: flex; gap: 8px; max-width: 88%; align-items: flex-end; }
.msg .m-ava { width: 26px; height: 26px; border-radius: 50%; flex: none; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 11px; }
.msg.user { align-self: flex-end; flex-direction: row-reverse; }
.msg.user .m-ava { background: var(--green); }
.msg .bubble { padding: 10px 13px; border-radius: 12px; font-size: 13.5px; line-height: 1.6; white-space: pre-wrap; word-break: break-word; }
.msg.bot .bubble { background: #fff; border: 1px solid var(--line); border-top-left-radius: 3px; color: var(--ink); }
.msg.user .bubble { background: var(--green); color: #fff; border-top-right-radius: 3px; }
.chat-chips { display: flex; flex-wrap: wrap; gap: 7px; padding: 0 16px 8px; background: rgba(247,249,251,.6); }
.chat-chip { font: inherit; font-size: 12px; color: var(--navy); background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 6px 12px; cursor: pointer; transition: .18s; }
.chat-chip:hover { border-color: var(--green); color: var(--green-text); }
.chat-foot { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); background: #fff; }
.chat-foot textarea { flex: 1; resize: none; height: 42px; max-height: 96px; border: 1px solid #C9D6E0; border-radius: 10px; padding: 10px 12px; font: inherit; font-size: 13.5px; font-family: inherit; }
.chat-foot textarea:focus { outline: none; border-color: var(--green); }
.chat-send { flex: none; width: 46px; border: none; border-radius: 10px; background: var(--green); color: #fff; cursor: pointer; font-size: 16px; }
.chat-send:hover { background: var(--green-dark); }
.chat-send:disabled { opacity: .5; cursor: default; }
.chat-typing { align-self: flex-start; display: flex; gap: 4px; padding: 12px 14px; background: #fff; border: 1px solid var(--line); border-radius: 12px; border-top-left-radius: 3px; }
.chat-typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--faint); animation: ctBlink 1.2s infinite; }
.chat-typing i:nth-child(2) { animation-delay: .2s; }
.chat-typing i:nth-child(3) { animation-delay: .4s; }
@keyframes ctBlink { 0%, 60%, 100% { opacity: .3; } 30% { opacity: 1; } }
@media (max-width: 768px) {
  .chat-panel { right: 14px; left: 14px; width: auto; max-width: none; bottom: 14px; height: 72vh; }
}

