/* ============================================================
   上海雄岚官网 · 内页与矩阵页样式
   ============================================================ */

/* ---------- 导航：二级 / 巨型菜单 ---------- */
.nav-menu { flex: 1; display: flex; justify-content: center; }
.nav-links > li { position: relative; }
.nav-links > li > a i {
  font-style: normal; font-size: 9px; opacity: 0.5; margin-left: 4px;
  display: inline-block; transition: transform 0.25s ease;
}
.nav-links > li.open-sub > a i,
.nav-links > li:hover > a i { transform: rotate(180deg); opacity: 0.9; }

/* 巨型菜单的定位上下文改到 .nav-inner（见 main.css）：
   相对菜单项居中会让 1160px 宽的面板从视口左侧溢出被裁掉 */
.nav-links > li.nav-mega { position: static; }

.sub-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 0 0 14px 14px;
  box-shadow: 0 26px 60px rgba(28, 28, 28, 0.16);
  padding: 20px 22px;
  min-width: 240px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 130;
  /* 不设 overflow-y:auto：滚动容器会被合成器提升为独立图层，
     在 sticky 头部内逃逸绘制顺序，导致面板被首屏内容穿透。
     极矮视口的兜底见下方 @media (max-height)。 */
}
.nav-links > li:hover > .sub-menu,
.nav-links > li.open-sub > .sub-menu,
.nav-links > li:focus-within > .sub-menu,
.sub-menu:hover {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* 巨型菜单：以导航条为基准居中展开，宽度受视口约束，永不溢出 */
.sub-menu.mega {
  width: min(1160px, calc(100vw - 40px));
  padding: 24px 28px 18px;
  border-radius: 0 0 16px 16px;
}

.mm-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px 26px;
  align-items: start;
}
.mm-col { display: flex; flex-direction: column; min-width: 0; }
.mm-cat {
  display: flex; align-items: baseline; gap: 7px;
  font-weight: 700; font-size: 13.5px; letter-spacing: 0.03em;
  color: var(--ink);
  padding: 0 0 7px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 8px;
}
.mm-cat em { font-style: normal; font-size: 10px; letter-spacing: 0.12em; color: var(--gold); }
.mm-cat:hover { color: var(--gold-deep); }
.mm-cat.active { color: var(--gold-deep); }
.mm-col a:not(.mm-cat) {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--ink-soft);
  letter-spacing: 0.01em;
  padding: 3px 0;
  min-width: 0;
}
.mm-col a:not(.mm-cat):hover { color: var(--gold-deep); }
.mm-col a.active:not(.mm-cat) { color: var(--gold-deep); font-weight: 600; }
/* 「查看全部」只在移动端手风琴里出现，桌面端列首已是指向该品类总览的链接 */
.mm-all { display: none; }

/* 第 8 格：填充 4×2 栅格右下角，避免第二行出现空洞 */
.mm-extra {
  background: var(--paper);
  border-radius: 10px;
  padding: 13px 15px 11px;
}
.mm-extra .mm-cat { border-bottom: 0; padding-bottom: 4px; margin-bottom: 5px; }

.mm-list { display: grid; grid-template-columns: repeat(2, minmax(170px, 1fr)); gap: 1px 24px; }
.mm-list a { font-size: 13px; color: var(--ink-soft); padding: 5px 0; letter-spacing: 0.02em; }
.mm-list a:hover { color: var(--gold-deep); }
.mm-list a.active { color: var(--gold-deep); font-weight: 600; }

.mm-foot {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}
.mm-foot a { font-size: 12.5px; color: var(--gold-deep); letter-spacing: 0.02em; }

/* 服务城市工具条 */
.nav-tools { border-top: 1px solid var(--line); background: rgba(243, 239, 231, 0.7); font-size: 12px; }
.nav-tools .container { display: flex; align-items: center; gap: 14px; padding: 7px 24px; }
.nt-cta { color: var(--gold-deep); font-weight: 600; white-space: nowrap; flex-shrink: 0; }
.nt-cta.ghost { font-weight: 400; color: var(--ink-soft); }
.nt-cta.ghost:hover { color: var(--gold-deep); }
.nt-sep { width: 1px; height: 12px; background: var(--line); flex-shrink: 0; }
.nt-label { color: var(--muted); white-space: nowrap; flex-shrink: 0; }
.nt-cities {
  display: flex; align-items: center; gap: 12px;
  color: var(--muted); white-space: nowrap;
  flex: 1 1 auto; min-width: 0;
  overflow-x: auto; overflow-y: hidden;
  scrollbar-width: none; -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}
.nt-cities::-webkit-scrollbar { display: none; }
.nt-cities a { color: var(--muted); flex-shrink: 0; }
.nt-cities a:hover { color: var(--ink); }
.nt-cities a.active { color: var(--gold-deep); font-weight: 600; }

/* ---------- 面包屑 ---------- */
.crumbs { background: var(--paper-2); border-bottom: 1px solid var(--line); font-size: 12.5px; }
.crumbs .container { padding: 12px 24px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; color: var(--muted); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--gold-deep); }
.crumbs i { font-style: normal; opacity: 0.5; }
.cb-now { color: var(--ink); }

/* ---------- 页头 ---------- */
.page-head.sub { padding: 66px 0 54px; }
.page-head.narrow { padding: 62px 0 50px; }
.ph-cat { display: block; font-size: 12px; letter-spacing: 0.28em; color: var(--gold); margin-bottom: 10px; }
.page-head { background-size: cover; background-position: center; }

/* ---------- 子页高端调性：页头深棕金 → 案例区米金，统一过渡 ---------- */
.page-head.sub + .section { position: relative; background: linear-gradient(180deg, #f4efe4 0%, var(--paper) 460px); padding-top: 84px; }
.page-head.sub + .section::before { content: ""; position: absolute; left: 0; right: 0; top: -96px; height: 96px; background: linear-gradient(180deg, #1c1c1c 0%, rgba(28,28,28,.55) 34%, rgba(28,28,28,0) 100%); pointer-events: none; }
.page-head.sub + .section::after { content: ""; position: absolute; left: 0; right: 0; top: -96px; height: 96px; background: radial-gradient(ellipse 62% 150% at 50% 0%, rgba(176,141,87,.30), transparent 72%); pointer-events: none; }
.page-head.sub + .section .quick-facts { border-top: 3px solid var(--gold); }
.page-head.sub + .section .var-card.vk-wide { border-color: #e7ddc9; box-shadow: 0 6px 22px rgba(147,116,74,.07); }
.page-head.sub + .section .var-card.vk-wide:hover { box-shadow: 0 14px 34px rgba(147,116,74,.15); transform: translateY(-2px); }
.page-head.sub + .section .vc-pic { border-color: #e7ddc9; background: var(--gold-soft); }
.page-head.sub + .section .plain-callout { background: var(--gold-soft); border-color: #e4d5bb; }

/* ---------- 通用排版 ---------- */
.prose { max-width: 860px; margin: 0 auto; }
.prose p { color: var(--ink-soft); margin-bottom: 16px; font-size: 15px; }
.h2-sec {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.06em;
  margin: 54px 0 22px;
  padding-left: 14px;
  border-left: 3px solid var(--gold);
}
.h3-sub { font-family: var(--serif); font-size: 17px; font-weight: 600; margin-bottom: 12px; }
.lead { color: var(--ink-soft); margin-bottom: 12px; }
.section.tight { padding: 56px 0; }

/* ---------- 卡片网格 ---------- */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.mini-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px;
}
.mini-card h4 { font-size: 15px; font-weight: 600; margin-bottom: 8px; letter-spacing: 0.03em; }
.mini-card p { font-size: 13.5px; color: var(--muted); }
.mc-num { display: block; font-family: var(--serif); color: var(--gold); font-size: 13px; letter-spacing: 0.16em; margin-bottom: 8px; }

/* ---------- 子分类卡片 ---------- */
.sub-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.sub-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px 22px 18px;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}
.sub-card:hover { border-color: var(--gold); box-shadow: var(--shadow); transform: translateY(-3px); }
.sub-card h3 { font-family: var(--serif); font-size: 17px; font-weight: 600; margin-bottom: 8px; letter-spacing: 0.03em; }
.sub-card p { font-size: 13px; color: var(--muted); flex: 1; }
.sub-go { display: inline-block; margin-top: 14px; font-size: 12.5px; color: var(--gold-deep); }

/* ---------- 参数表 ---------- */
.two-col { display: grid; grid-template-columns: 1.7fr 1fr; gap: 48px; align-items: start; }
.two-col.tight { gap: 40px; margin-top: 10px; }
.spec-box { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 26px; box-shadow: var(--shadow); }
.spec-box h3 { font-family: var(--serif); font-size: 17px; font-weight: 600; margin-bottom: 14px; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 13px; margin-bottom: 20px; }
.spec-table th, .spec-table td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { color: var(--muted); font-weight: 400; width: 88px; white-space: nowrap; }
.spec-table td { color: var(--ink); }
.spec-table.wide th { width: auto; font-weight: 600; color: var(--ink-soft); background: var(--paper-2); }
.table-wrap { overflow-x: auto; }

/* ---------- 标签 / 清单 ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  font-size: 13px;
  color: var(--gold-deep);
  background: var(--gold-soft);
  padding: 6px 16px;
  border-radius: 999px;
}
.check-list { list-style: none; }
.check-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  font-size: 14px;
  color: var(--ink-soft);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 2px; top: 9px;
  width: 7px; height: 7px;
  border: 2px solid var(--gold);
  border-radius: 50%;
}
.check-list.big li { font-size: 14.5px; color: var(--ink); }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 10px; max-width: 900px; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 20px;
}
.faq-item summary {
  cursor: pointer;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  list-style: none;
  position: relative;
  padding-right: 26px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0; top: -2px;
  font-size: 18px;
  color: var(--gold);
  transition: transform 0.2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-a { margin-top: 10px; font-size: 13.5px; color: var(--ink-soft); line-height: 1.8; }

/* ---------- 内链组 ---------- */
.link-groups { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.lg-col h4 { font-size: 13.5px; font-weight: 600; letter-spacing: 0.1em; margin-bottom: 12px; color: var(--ink); }
.lg-col ul { list-style: none; }
.lg-col li { margin-bottom: 8px; }
.lg-col a { font-size: 13px; color: var(--muted); }
.lg-col a:hover { color: var(--gold-deep); }

/* ---------- CTA ---------- */
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- 场景页 ---------- */
.pain-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pain-item { background: var(--white); border: 1px solid var(--line); border-left: 3px solid #c98a7a; border-radius: 10px; padding: 18px 20px; }
.pain-item span { font-family: var(--serif); font-size: 12px; color: #c98a7a; letter-spacing: 0.16em; }
.pain-item p { font-size: 13.5px; color: var(--ink-soft); margin-top: 6px; }
.rec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.rec-grid.wide { grid-template-columns: repeat(4, 1fr); }
.rec-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px;
  transition: all 0.25s ease;
  display: flex; flex-direction: column;
}
.rec-card:hover { border-color: var(--gold); box-shadow: var(--shadow); transform: translateY(-3px); }
.rec-card h4 { font-size: 15.5px; font-weight: 600; margin-bottom: 8px; }
.rec-card p { font-size: 13px; color: var(--muted); flex: 1; }
.rec-card ul { margin: 10px 0 0 16px; }
.rec-card ul li { font-size: 12.5px; color: var(--muted); margin-bottom: 4px; }

/* ---------- 城市 ---------- */
.city-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.city-card { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 20px; transition: all 0.25s ease; }
.city-card:hover { border-color: var(--gold); box-shadow: var(--shadow); }
.city-card h4 { font-family: var(--serif); font-size: 19px; font-weight: 600; margin-bottom: 8px; display: flex; justify-content: space-between; align-items: baseline; }
.city-card h4 span { font-family: var(--sans); font-size: 11px; color: var(--gold-deep); background: var(--gold-soft); padding: 2px 10px; border-radius: 999px; font-weight: 400; }
.city-card p { font-size: 12.5px; color: var(--muted); margin-bottom: 10px; }
.city-card ul { margin-left: 16px; }
.city-card ul li { font-size: 12.5px; color: var(--muted); }

/* ---------- 百科 ---------- */
.wiki-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.wiki-card { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 22px; transition: all 0.25s ease; display: flex; flex-direction: column; }
.wiki-card:hover { border-color: var(--gold); box-shadow: var(--shadow); transform: translateY(-3px); }
.wk-series { font-size: 11.5px; color: var(--gold-deep); letter-spacing: 0.16em; margin-bottom: 8px; }
.wiki-card h3 { font-family: var(--serif); font-size: 16.5px; font-weight: 600; line-height: 1.5; margin-bottom: 10px; }
.wiki-card p { font-size: 13px; color: var(--muted); flex: 1; }
.article { max-width: 780px; }
.article h2 { font-family: var(--serif); font-size: 21px; font-weight: 600; margin: 40px 0 14px; letter-spacing: 0.04em; }
.article p { font-size: 15.5px; line-height: 1.95; }
.article-tags { margin-top: 34px; display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- 产业链 ---------- */
.chain-flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.chain-node { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 20px; }
.chain-node::after {
  content: "→";
  position: absolute;
  right: -12px; top: 50%;
  transform: translateY(-50%);
  color: var(--gold);
  font-size: 14px;
}
.chain-node:nth-child(4n)::after { display: none; }
.cn-num { font-family: var(--serif); font-size: 13px; color: var(--gold); letter-spacing: 0.14em; }
.chain-node h4 { font-size: 15px; font-weight: 600; margin: 6px 0 6px; }
.chain-node p { font-size: 12.5px; color: var(--muted); }

/* ---------- 服务总览 hub ---------- */
.cat-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.cat-strip a { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 16px 18px; transition: all 0.22s; }
.cat-strip a:hover { border-color: var(--gold); }
.cat-strip b { display: block; font-family: var(--serif); font-size: 16px; font-weight: 600; }
.cat-strip span { font-size: 12px; color: var(--muted); }
.hub-cat { padding: 34px 0; border-bottom: 1px solid var(--line); }
.hub-cat:last-child { border-bottom: none; }
.hub-cat-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 20px; flex-wrap: wrap; }
.hub-cat-head h2 { font-family: var(--serif); font-size: 26px; font-weight: 600; letter-spacing: 0.06em; }
.hub-cat-head p { color: var(--muted); font-size: 13.5px; margin-top: 6px; }
.hub-en { font-size: 11.5px; letter-spacing: 0.3em; color: var(--gold); }
.hub-sub-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.hub-sub-list a { display: flex; flex-direction: column; gap: 3px; padding: 12px 14px; background: var(--paper); border-radius: 9px; border: 1px solid transparent; transition: all 0.2s; }
.hub-sub-list a:hover { background: var(--white); border-color: var(--gold); }
.hub-sub-list b { font-size: 13.5px; font-weight: 600; }
.hub-sub-list span { font-size: 11.5px; color: var(--muted); }

/* ---------- 页脚链路枢纽 ---------- */
.footer-hub { border-top: 1px solid rgba(255, 255, 255, 0.08); padding: 30px 0 18px; }
.footer-hub h4 { color: rgba(255, 255, 255, 0.85); font-size: 12.5px; letter-spacing: 0.2em; margin-bottom: 10px; }
.footer-hub h4:not(:first-child) { margin-top: 20px; }
.hub-tags { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.hub-tags a { font-size: 12px; color: rgba(255, 255, 255, 0.55); }
.hub-tags a:hover { color: var(--white); }

/* ---------- 首页服务网络 ---------- */
.net-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.net-block { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 22px; }
.net-block h4 { font-size: 13.5px; font-weight: 600; letter-spacing: 0.1em; margin-bottom: 12px; }
.net-block .hub-tags a { color: var(--muted); }
.net-block .hub-tags a:hover { color: var(--gold-deep); }

/* ---------- 全站地图 ---------- */
.sitemap-wrap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.sitemap-group { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 20px; }
.sitemap-group h3 { font-size: 14px; font-weight: 600; margin-bottom: 12px; }
.sitemap-group ul { list-style: none; max-height: 420px; overflow: auto; }
.sitemap-group li { margin-bottom: 5px; }
.sitemap-group a { font-size: 12px; color: var(--muted); word-break: break-all; }
.sitemap-group a:hover { color: var(--gold-deep); }

/* ---------- 需求单生成器 ---------- */
.qz-wrap { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; align-items: start; }
.qz-step { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 26px; margin-bottom: 18px; }
.qz-step h3 { font-family: var(--serif); font-size: 17px; font-weight: 600; margin-bottom: 6px; }
.qz-step .hint { font-size: 12.5px; color: var(--muted); margin-bottom: 16px; }
.qz-opts { display: flex; flex-wrap: wrap; gap: 10px; }
.qz-opt { position: relative; }
.qz-opt input { position: absolute; opacity: 0; pointer-events: none; }
.qz-opt span {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.18s;
  background: var(--paper);
}
.qz-opt input:checked + span { background: var(--gold); border-color: var(--gold); color: var(--white); }
.qz-summary { position: sticky; top: 130px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 26px; box-shadow: var(--shadow); }
.qz-summary h3 { font-family: var(--serif); font-size: 17px; font-weight: 600; margin-bottom: 14px; }
.qz-summary ul { list-style: none; font-size: 13px; color: var(--ink-soft); }
.qz-summary ul li { padding: 7px 0; border-bottom: 1px dashed var(--line); display: flex; justify-content: space-between; gap: 12px; }
.qz-summary ul li b { font-weight: 600; color: var(--ink); text-align: right; }

/* ---------- 三级分类 / 应用示例 ---------- */
.sec-note { font-size: 13px; color: var(--muted); margin: -8px 0 18px; letter-spacing: 0.02em; }
.var-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 20px; }
.var-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 18px 16px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.var-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.vc-num { position: absolute; top: 15px; right: 16px; font-size: 11px; letter-spacing: 0.12em; color: var(--gold); }
.var-card h4 { font-family: var(--serif); font-size: 15.5px; font-weight: 600; margin-bottom: 8px; padding-right: 26px; }
.var-card p { font-size: 13px; line-height: 1.65; color: var(--ink-soft); margin-bottom: 12px; }
.vc-spec { display: block; font-size: 11.5px; color: var(--muted); border-top: 1px dashed var(--line); padding-top: 9px; letter-spacing: 0.02em; line-height: 1.6; }

/* 每种做法一行：左侧实拍图，右侧做法说明 + 规格/参考价，细节收进折叠 */
.vk-list { display: grid; gap: 14px; }
.var-card.vk-wide { padding: 16px 18px; display: grid; grid-template-columns: 208px minmax(0, 1fr); gap: 18px; align-items: start; }
.vk-wide:hover { transform: none; box-shadow: none; }
.vc-pic { position: relative; margin: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--paper-2); }
.vc-pic img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.vc-zoom { position: absolute; right: 8px; bottom: 8px; font-size: 10.5px; color: var(--white); background: rgba(0, 0, 0, 0.55); border-radius: 999px; padding: 3px 9px; pointer-events: none; }
.vc-info { min-width: 0; }
.var-card .vc-info h4 { font-family: var(--serif); font-size: 16px; font-weight: 600; margin-bottom: 7px; padding-right: 30px; }
.var-card .vc-info > p { font-size: 13px; line-height: 1.7; color: var(--ink-soft); margin-bottom: 10px; }
.vc-facts { display: flex; flex-wrap: wrap; gap: 8px; }
.vc-facts span { font-size: 11.5px; color: var(--ink-soft); background: var(--paper-2); border-radius: 7px; padding: 5px 10px; }
.vc-facts i { font-style: normal; color: var(--muted); margin-right: 6px; }
/* 子页速览：三张实拍 + 一眼看懂的造价与工期 */
.quick { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(258px, 0.65fr); gap: 16px; margin: 4px 0 26px; }
.quick-shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.qs-item { margin: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--white); }
.qs-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; cursor: zoom-in; }
.qs-item figcaption { padding: 7px 10px; font-size: 11.5px; color: var(--muted); }
.quick-facts { display: flex; flex-direction: column; gap: 9px; padding: 16px 18px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.qf-title { font-family: var(--serif); font-size: 15px; color: var(--ink); }
.quick-facts > span { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; font-size: 13px; color: var(--ink-soft); border-bottom: 1px dashed var(--line); padding-bottom: 8px; }
.quick-facts > span:last-of-type { border-bottom: 0; }
.quick-facts i { font-style: normal; color: var(--muted); }
.quick-facts em { font-style: normal; font-weight: 600; color: var(--gold-deep); }
.quick-cta { margin-top: auto; display: grid; gap: 8px; padding-top: 6px; }
/* 了解工艺：默认收起，只想速览的客户不必翻 */
.know { margin: 26px 0 10px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
.know > summary { cursor: pointer; list-style: none; padding: 16px 18px; font-size: 14px; font-weight: 600; color: var(--ink); display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.know > summary::-webkit-details-marker { display: none; }
.know > summary::before { content: "+"; color: var(--gold-deep); font-weight: 700; font-size: 15px; }
.know[open] > summary::before { content: "\2013"; }
.know[open] > summary { border-bottom: 1px dashed var(--line); }
.know-body { padding: 18px; }
.know-body .h2-sec { font-size: 17px; }
.vc-cases { margin-top: 12px; border-top: 1px dashed var(--line); padding-top: 10px; }
.vc-cases > summary { cursor: pointer; font-size: 13px; font-weight: 600; color: var(--ink); display: flex; align-items: center; gap: 10px; list-style: none; }
.vc-cases > summary::-webkit-details-marker { display: none; }
.vc-cases > summary::before { content: "+"; color: var(--gold); font-size: 14px; line-height: 1; }
.vc-cases[open] > summary::before { content: "\2013"; }
.vc-hint { font-size: 11.5px; font-weight: 400; color: var(--muted); }
.vc-list { list-style: none; margin: 12px 0 2px; }
.vc-item { border-bottom: 1px dashed var(--line); }
.vc-item:last-child { border-bottom: 0; }
.vc-case > summary {
  cursor: pointer; list-style: none; display: grid;
  grid-template-columns: 96px minmax(0, 1fr) auto; align-items: center; gap: 14px;
  padding: 11px 10px; border-radius: 10px; transition: background 0.2s ease;
}
.vc-case > summary::-webkit-details-marker { display: none; }
.vc-case > summary:hover { background: var(--paper-2); }
.vc-thumb { display: block; width: 96px; aspect-ratio: 3 / 2; border-radius: 8px; overflow: hidden; background: var(--paper-2); }
.vc-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vc-ct { min-width: 0; }
.vc-ct b { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.vc-spec2 { display: inline-block; font-size: 11.5px; color: var(--gold-deep); background: var(--gold-soft); border-radius: 999px; padding: 2px 9px; }
.vc-desc1 { display: block; font-size: 12.5px; line-height: 1.7; color: var(--ink-soft); margin-top: 6px; }
.vc-open { font-size: 12px; font-weight: 600; color: var(--gold-deep); white-space: nowrap; }
.vc-case[open] > summary { background: var(--paper-2); }
.vc-case[open] .vc-open { visibility: hidden; }
.vc-panel { padding: 4px 4px 16px; }
.vc-arch { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 12px; }
.vc-arch span { font-size: 12px; color: var(--ink-soft); background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 6px 11px; }
.vc-arch i { font-style: normal; color: var(--muted); margin-right: 6px; }
.vc-lead { font-size: 12.5px; line-height: 1.75; color: var(--ink-soft); margin-bottom: 12px; }
.vc-gal { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.vc-shot { margin: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--white); }
.vc-shot img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.vc-shot figcaption { padding: 7px 9px 8px; font-size: 11.5px; line-height: 1.5; color: var(--muted); }
.vc-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 16px; }
.vc-nodes h5 { font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.vc-nodes ol, .vc-nodes ul { margin: 0; padding-left: 0; list-style: none; }
.vc-nodes li { position: relative; font-size: 12.5px; line-height: 1.7; color: var(--ink-soft); padding-left: 20px; margin-bottom: 6px; }
.vc-nodes ol { counter-reset: vcn; }
.vc-nodes ol li::before { counter-increment: vcn; content: counter(vcn); position: absolute; left: 0; top: 1px; width: 15px; height: 15px; border-radius: 50%; background: var(--gold-soft); color: var(--gold-deep); font-size: 10px; line-height: 15px; text-align: center; }
.vc-nodes ul li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--gold-deep); font-size: 11px; }
.vc-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.vc-cta .btn { padding: 9px 16px; font-size: 12.5px; }
@media (max-width: 900px) { .vc-gal { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px) {
  .vc-cases > summary { font-size: 12.5px; flex-wrap: wrap; }
  .vc-case > summary { grid-template-columns: 76px minmax(0, 1fr); gap: 11px; padding: 10px 6px; }
  .vc-thumb { width: 76px; }
  .vc-open { display: none; }
  .vc-two { grid-template-columns: 1fr; gap: 14px; }
  .vc-gal { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* 落地案例内的 5 个真实施工现场：编号、档案、进度、过程图、最终效果、交付结果 */
.sc-wrap { margin-top: 2px; }
.sc-title { font-size: 13.5px; font-weight: 600; color: var(--ink); margin: 16px 0 11px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.sc-title em { font-style: normal; font-size: 11.5px; font-weight: 400; color: var(--muted); }
.sc-list { display: grid; gap: 14px; }
.sc-card { border: 1px solid var(--line); border-radius: 12px; background: var(--white); overflow: hidden; }
.sc-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 11px 14px 10px; background: var(--paper-2); border-bottom: 1px dashed var(--line); }
.sc-code { font-size: 11.5px; letter-spacing: 0.05em; color: var(--gold-deep); background: var(--gold-soft); border-radius: 6px; padding: 3px 8px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.sc-head h6 { flex: 1; min-width: 0; margin: 0; font-size: 13.5px; font-weight: 600; color: var(--ink); }
.sc-state { font-size: 11px; color: var(--gold-deep); background: var(--gold-soft); border-radius: 999px; padding: 3px 10px; }
.sc-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 12px 14px 0; }
.sc-meta span { font-size: 12px; color: var(--ink-soft); background: var(--paper-2); border-radius: 8px; padding: 7px 10px; }
.sc-meta i { font-style: normal; color: var(--muted); margin-right: 6px; }
.sc-meta em { font-style: normal; font-size: 11px; color: var(--gold-deep); margin-left: 5px; }
.sc-prog { display: flex; align-items: center; gap: 10px; padding: 12px 14px 0; }
.sc-bar { flex: 1; height: 7px; border-radius: 999px; background: var(--paper-2); overflow: hidden; }
.sc-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--gold-deep)); }
.sc-prog span { font-size: 11.5px; color: var(--muted); white-space: nowrap; }
.sc-stages { list-style: none; margin: 12px 14px 0; padding: 0; }
.sc-stage { display: grid; grid-template-columns: 26px minmax(0, 1fr) 138px; gap: 11px; align-items: start; padding: 11px 0; border-top: 1px dashed var(--line); }
.sc-stage:first-child { border-top: 0; }
.sc-stage.no-shot { grid-template-columns: 26px minmax(0, 1fr); }
.sc-sno { height: 22px; line-height: 22px; text-align: center; font-size: 11px; font-weight: 700; color: var(--gold-deep); background: var(--gold-soft); border-radius: 6px; }
.sc-sbody b { display: block; font-size: 12.8px; font-weight: 600; color: var(--ink); }
.sc-sbody em { font-style: normal; font-size: 11px; color: var(--muted); margin-left: 7px; }
.sc-work { display: block; font-size: 12px; line-height: 1.7; color: var(--ink-soft); margin-top: 4px; }
.sc-chk { display: block; font-size: 11.5px; line-height: 1.6; color: var(--muted); margin-top: 5px; padding-left: 10px; border-left: 2px solid var(--gold-soft); }
.sc-simg { margin: 0; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--paper-2); }
.sc-simg img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.sc-simg figcaption { font-size: 10.5px; color: var(--muted); text-align: center; padding: 3px 0 4px; background: var(--white); }
/* 完工效果：大图置顶 */
.sc-hero { position: relative; margin: 0; background: var(--paper-2); }
.sc-hero img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.sc-herotag { position: absolute; left: 12px; top: 12px; font-size: 11.5px; color: var(--white); background: rgba(0, 0, 0, 0.55); border-radius: 999px; padding: 4px 12px; backdrop-filter: blur(2px); }
.sc-hero figcaption { padding: 8px 14px 9px; font-size: 11.5px; color: var(--muted); background: var(--white); border-bottom: 1px dashed var(--line); }
.sc-fnote { padding: 12px 14px 0; }
.sc-fnote h6 { font-size: 12.5px; font-weight: 600; color: var(--gold-deep); margin-bottom: 7px; }
.sc-fnote ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; }
.sc-fnote li { position: relative; padding-left: 15px; font-size: 12.5px; line-height: 1.75; color: var(--ink-soft); }
.sc-fnote li::before { content: ""; position: absolute; left: 3px; top: 8px; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }
.sc-fgal { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 12px 14px 0; }
.sc-shot { margin: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--white); }
.sc-shot img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.sc-shot figcaption { padding: 6px 9px 7px; font-size: 11px; line-height: 1.5; color: var(--muted); }
/* 施工过程：默认折叠，客户想看再展开 */
.sc-proc { margin: 14px 14px 0; border: 1px solid var(--line); border-radius: 10px; background: var(--paper-2); }
.sc-proc > summary { cursor: pointer; list-style: none; padding: 10px 13px; font-size: 12.5px; font-weight: 600; color: var(--ink); display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.sc-proc > summary::-webkit-details-marker { display: none; }
.sc-proc > summary::before { content: "+"; color: var(--gold-deep); font-size: 14px; line-height: 1; }
.sc-proc[open] > summary::before { content: "\2013"; }
.sc-proc > summary em { font-style: normal; font-weight: 400; font-size: 11.5px; color: var(--muted); margin-left: auto; }
.sc-proc[open] > summary { border-bottom: 1px dashed var(--line); }
/* 落地案例展开后的吸顶返回条：随时能收起回到列表 */
.vc-back {
  position: sticky;
  top: 74px;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  padding: 8px 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}
.vc-backbtn {
  flex: none;
  padding: 7px 14px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--gold-deep);
  background: var(--gold-soft);
  border: 1px solid rgba(184, 148, 74, 0.35);
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.18s;
}
.vc-backbtn:hover { background: rgba(184, 148, 74, 0.24); }
.vc-crumb { min-width: 0; font-size: 11.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* 工地切换器：一次只看一个工地，避免 5 张长卡纵向铺开 */
.sc-tabs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin-bottom: 12px; }
.sc-tab {
  display: block;
  padding: 0;
  overflow: hidden;
  text-align: left;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 0.18s, box-shadow 0.18s, transform 0.18s;
}
.sc-tab img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; background: var(--paper-2); }
.sc-tab b { display: block; padding: 6px 8px 0; font-size: 11.5px; font-weight: 600; color: var(--ink); line-height: 1.45; }
.sc-tab em { display: block; padding: 2px 8px 7px; font-style: normal; font-size: 10.5px; color: var(--gold-deep); }
.sc-tab:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08); }
.sc-tab.is-on { border-color: var(--gold); box-shadow: 0 0 0 2px var(--gold-soft); }
.sc-card[hidden] { display: none; }
.sc-card figure img, .vc-thumb img, [data-lightbox] { cursor: zoom-in; }
.sc-zoom { position: absolute; right: 12px; top: 12px; font-size: 11px; color: var(--white); background: rgba(0, 0, 0, 0.55); border-radius: 999px; padding: 4px 10px; backdrop-filter: blur(2px); pointer-events: none; }
.sc-result { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 12px 14px 14px; }
.sc-result span { font-size: 11.5px; color: var(--ink-soft); background: var(--paper-2); border-radius: 8px; padding: 7px 10px; }
.sc-result i { font-style: normal; color: var(--muted); margin-right: 6px; }
@media (max-width: 900px) {
  .sc-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sc-result { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sc-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .vc-back { top: 62px; }
}
@media (max-width: 720px) {
  .sc-stage, .sc-stage.no-shot { grid-template-columns: 24px minmax(0, 1fr); }
  .sc-simg { grid-column: 2; max-width: 240px; }
  .sc-meta { grid-template-columns: 1fr; }
  .sc-fgal { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sc-result { grid-template-columns: 1fr; }
  /* 手机上横向滑动选工地，一次露两个半，比挤成 2 列更好点 */
  .sc-tabs {
    display: flex;
    grid-template-columns: none;
    gap: 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
  }
  .sc-tab { flex: 0 0 46%; scroll-snap-align: start; }
  .vc-crumb { display: none; }
  /* 做法卡与速览区在窄屏改单列，图在上 */
  .var-card.vk-wide { grid-template-columns: 1fr; gap: 12px; padding: 14px; }
  .vc-pic img { aspect-ratio: 16 / 9; }
  .quick { grid-template-columns: 1fr; gap: 14px; }
  .quick-shots { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
  .qs-item figcaption { padding: 5px 7px; font-size: 10.5px; }
  .know-body { padding: 14px; }
}

.case-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.case-shot { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.case-shot img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.case-shot figcaption { padding: 13px 15px 15px; }
.case-shot b { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.case-shot span { display: block; font-size: 12px; color: var(--muted); line-height: 1.6; }

/* 大分类总览页：子卡内的三级分类预览标签 */
.sub-vs { display: flex; flex-wrap: wrap; gap: 5px; margin: 10px 0 12px; }
.sub-vs span { font-size: 11px; color: var(--ink-soft); background: var(--paper-2); border: 1px solid var(--line); border-radius: 999px; padding: 2px 9px; }
.sub-vs span.more { color: var(--gold-deep); border-color: var(--gold-soft); background: var(--gold-soft); }

/* ---------- 案例库 ---------- */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.case-card { background: var(--white); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; }
.case-media { aspect-ratio: 4 / 3; background: var(--paper-2); overflow: hidden; cursor: pointer; }
.case-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.case-card:hover .case-media img { transform: scale(1.05); }
.case-body { padding: 20px 22px 22px; flex: 1; display: flex; flex-direction: column; }
.case-body h4 { font-family: var(--serif); font-size: 17px; font-weight: 600; margin-bottom: 6px; }
.case-meta { font-size: 12px; color: var(--muted); margin-bottom: 10px; display: flex; gap: 12px; flex-wrap: wrap; }
.case-body p { font-size: 13px; color: var(--ink-soft); flex: 1; }
.case-tag { display: inline-block; margin-top: 12px; font-size: 12px; color: var(--gold-deep); background: var(--gold-soft); padding: 3px 12px; border-radius: 999px; align-self: flex-start; }

/* 案例库 v2：筛选 + 痛点标注 + 案例卡底链 */
.case-filter { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px 14px; margin: 22px 0 26px; }
.cf-row { display: flex; align-items: flex-start; gap: 14px; padding: 7px 0; }
.cf-row + .cf-row { border-top: 1px dashed var(--line); }
.cf-label { flex: 0 0 auto; font-size: 13px; color: var(--muted); padding: 5px 2px; }
.cf-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cf-chip { border: 1px solid var(--line); background: var(--paper-2); color: var(--ink-soft); font-size: 13px; padding: 5px 14px; border-radius: 999px; cursor: pointer; transition: all 0.15s; }
.cf-chip:hover { border-color: var(--gold); color: var(--gold-deep); }
.cf-chip.on { background: var(--gold-soft); border-color: var(--gold); color: var(--gold-deep); font-weight: 600; }
.cf-result { font-size: 13px; color: var(--muted); padding-top: 10px; border-top: 1px solid var(--line); margin-top: 6px; }
.cf-result span:first-child { color: var(--gold-deep); font-weight: 600; }
/* 案例库「一眼看懂」引导区 */
.cl-glance { background: linear-gradient(135deg, var(--gold-soft), #fff); border: 1px solid var(--gold); border-radius: 16px; padding: 22px 26px; margin: 22px 0 26px; }
.cl-gstats { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.cl-gstats span { font-size: 13.5px; color: var(--ink-soft); }
.cl-gstats b { font-family: var(--serif); font-size: 26px; color: var(--gold-deep); margin-right: 6px; vertical-align: -2px; }
.cl-glead { font-size: 14px; color: var(--ink); margin: 14px 0 16px; line-height: 1.7; }
.cl-glead b { color: var(--gold-deep); }
.cl-gbtns { display: flex; gap: 12px; flex-wrap: wrap; }
/* 案例库品类分组（折叠门面） */
.cg { margin-top: 22px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--white); }
.cg[style*="none"] { display: none; }
.cg-sum { display: flex; align-items: center; gap: 16px; padding: 14px 18px; cursor: pointer; list-style: none; }
.cg-sum::-webkit-details-marker { display: none; }
.cg-sum:hover { background: var(--paper-2); }
.cg-cover { flex: 0 0 76px; width: 76px; height: 56px; border-radius: 9px; overflow: hidden; background: var(--paper-2); }
.cg-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cg-info { flex: 1; min-width: 0; }
.cg-title { font-family: var(--serif); font-size: 19px; font-weight: 600; margin: 0; display: block; }
.cg-count { font-size: 12.5px; font-weight: 400; color: var(--muted); }
.cg-go { flex: 0 0 auto; font-size: 13px; color: var(--gold-deep); display: flex; align-items: center; gap: 5px; white-space: nowrap; }
.cg-ar { font-style: normal; transition: transform 0.2s; }
.cg[open] .cg-ar { transform: rotate(180deg); }
.cg .case-grid { padding: 6px 18px 20px; }
.cf-hint { font-size: 13.5px; color: var(--ink-soft); background: var(--gold-soft); border: 1px solid var(--gold); border-radius: 10px; padding: 9px 14px; margin-bottom: 10px; line-height: 1.7; }
.cf-hint b { color: var(--gold-deep); }
.cf-clear { margin-left: 8px; border: 1px solid var(--gold); background: transparent; color: var(--gold-deep); font-size: 12.5px; padding: 3px 12px; border-radius: 999px; cursor: pointer; }
.cf-clear:hover { background: var(--gold-deep); color: #fff; }
.case-pain { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.case-pain b { font-size: 12px; color: #a05a2c; background: #faf0e4; padding: 3px 10px; border-radius: 999px; }
.case-pain span { font-size: 12px; color: var(--ink-soft); background: var(--paper-2); padding: 3px 10px; border-radius: 999px; }
.case-foot { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line); display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.case-foot .case-tag { margin-top: 0; }
.case-foot a { font-size: 13px; color: var(--gold-deep); white-space: nowrap; border-bottom: 1px dashed var(--gold-deep); }

/* ---------- 响应式 ---------- */
@media (max-width: 1100px) {
  .grid-4, .hub-sub-list, .city-grid, .pain-grid, .rec-grid.wide { grid-template-columns: repeat(3, 1fr); }
  .cat-strip { grid-template-columns: repeat(3, 1fr); }
  .sitemap-wrap { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .var-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .mm-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 22px; }
  .two-col, .qz-wrap { grid-template-columns: 1fr; }
  .sub-grid, .wiki-grid, .case-grid, .rec-grid { grid-template-columns: repeat(2, 1fr); }
  .link-groups { grid-template-columns: repeat(2, 1fr); }
  .net-grid { grid-template-columns: 1fr; }
  .grid-4, .pain-grid, .hub-sub-list, .city-grid, .rec-grid.wide { grid-template-columns: repeat(2, 1fr); }
  .chain-flow { grid-template-columns: repeat(2, 1fr); }
  .qz-summary { position: static; }
}
@media (max-width: 720px) {
  /* 这里不能写 display:none —— .nav-links 是 .nav-menu 的子元素，
     父级一旦隐藏，子元素即使加上 .open 也不会有布局盒，移动端菜单永远打不开。
     让它占住中段空间把汉堡按钮顶到右侧即可（内部 ul 由 main.css 隐藏）。 */
  .nav-menu { flex: 1 1 auto; }
  .nav-links.open { display: block; max-height: calc(100vh - 74px); overflow: auto; overscroll-behavior: contain; }

  /* 移动端：子菜单改为手风琴——默认折叠，点一级项展开，避免整屏铺开的链接墙 */
  .nav-links > li { position: static; border-bottom: 1px solid var(--line); }
  .nav-links > li:last-child { border-bottom: 0; }
  .nav-links > li > a {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 0; font-size: 15px; letter-spacing: 0.06em;
  }
  .nav-links > li > a::after { display: none; }
  .nav-links > li > a i { font-size: 11px; margin-left: 8px; }

  .sub-menu, .sub-menu.mega {
    position: static;
    width: auto; min-width: 0; max-height: none;
    transform: none;
    opacity: 1; visibility: visible;
    background: transparent;
    box-shadow: none; border: 0; border-radius: 0;
    padding: 0 0 14px 2px;
    overflow: visible;
    display: none;
  }
  /* 关键：展开态选择器特异性高于上面这条，必须一起覆盖，
     否则 translateX(-50%) 仍然生效，会把整个面板左移半个宽度造成溢出 */
  .nav-links > li.open-sub > .sub-menu,
  .nav-links > li:hover > .sub-menu,
  .nav-links > li:focus-within > .sub-menu,
  .sub-menu:hover { transform: none; }

  .nav-links > li.open-sub > .sub-menu { display: block; }

  /* 手风琴里每个品类只铺 4 个子类，其余走「查看全部」，
     否则展开一项就是 3000+px 的链接墙（链接本身仍保留在 HTML 中供爬虫抓取） */
  .mm-col a.mm-all { display: block; color: var(--gold-deep); font-weight: 600; }
  .mm-col a:not(.mm-all):nth-of-type(n+6) { display: none; }

  .mm-grid { grid-template-columns: 1fr; gap: 14px 0; }
  .mm-col a:not(.mm-cat) { font-size: 13px; padding: 5px 0; }
  .mm-extra { background: transparent; padding: 0; }
  .mm-list { grid-template-columns: 1fr 1fr; gap: 1px 16px; }
  .mm-list a { font-size: 13px; padding: 6px 0; }
  .mm-foot { flex-direction: column; gap: 8px; margin-top: 12px; }

  .nav-tools .container { padding: 7px 16px; gap: 10px; }
  /* 手机上只留两个转化入口：4 个不换行的按钮在 390px 下会把页面撑宽 59px，
     导致整页可左右横滑、全屏放大图的右侧翻页箭头被推出视口 */
  .nav-tools { overflow: hidden; }
  .nav-tools .container > .nt-cta:nth-of-type(1),
  .nav-tools .container > .nt-cta:nth-of-type(3) { display: none; }
  .nt-label { display: none; }
  .nt-cities { flex: 1 1 auto; min-width: 0; overflow-x: auto; }

  .grid-4, .sub-grid, .wiki-grid, .case-grid, .rec-grid, .rev-grid, .hub-sub-list, .city-grid, .pain-grid, .link-groups, .chain-flow, .sitemap-wrap, .cat-strip, .rec-grid.wide { grid-template-columns: 1fr; }
  .var-grid { grid-template-columns: 1fr; }
  .case-strip { grid-template-columns: 1fr; }
  .h2-sec { font-size: 19px; margin-top: 40px; }
  .footer-hub h4 { letter-spacing: 0.14em; }
}

/* ---------- 案例管理页（my-cases.html） ---------- */
.gate-card {
  max-width: 620px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 34px 36px;
  box-shadow: var(--shadow);
}
.gate-card h3 { font-size: 19px; margin-bottom: 12px; }
.gate-card p { font-size: 14px; color: var(--ink-soft); line-height: 1.9; }
.gate-actions { margin-top: 22px; display: flex; gap: 12px; flex-wrap: wrap; }

.mg-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  background: var(--gold-soft);
  border-radius: 14px;
  padding: 18px 22px;
}
.mg-stat { display: flex; align-items: baseline; gap: 8px; color: var(--gold-deep); }
.mg-stat strong { font-size: 26px; font-weight: 700; line-height: 1; }
.mg-stat span { font-size: 13.5px; }
.mg-stat em { font-size: 12.5px; font-style: normal; color: var(--muted); margin-left: 6px; }
.mg-bar-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.mg-form { margin-top: 26px; }
.mg-form-title { font-size: 17px; margin-bottom: 6px; }
.mg-form-actions { margin-top: 22px; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.mg-tip { font-size: 12.5px; color: var(--muted); }
.mg-check { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ink-soft); font-weight: 400; }
.mg-check input { width: auto; margin: 0; flex: 0 0 auto; }

.mg-list { display: flex; flex-direction: column; gap: 14px; }
.mg-empty { color: var(--muted); font-size: 13.5px; }
.mg-row {
  display: grid;
  grid-template-columns: 168px 1fr auto;
  gap: 20px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 18px;
}
.mg-thumb {
  width: 168px; height: 112px;
  border-radius: 10px;
  overflow: hidden;
  background: linear-gradient(135deg, #f3efe7, #e9e4da);
  cursor: zoom-in;
  flex: 0 0 auto;
}
.mg-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mg-noimg { display: flex; align-items: center; justify-content: center; height: 100%; color: #857f74; font-size: 12.5px; }
.mg-info { min-width: 0; }
.mg-info h4 { font-size: 15.5px; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.mg-info p { font-size: 13px; color: var(--ink-soft); line-height: 1.75; margin-top: 8px; }
.mg-status { font-size: 11.5px; font-weight: 600; padding: 2px 9px; border-radius: 20px; letter-spacing: 0.06em; }
.mg-status.on { background: #eaf5ec; color: #2f7a44; }
.mg-status.off { background: #f0efe9; color: #857f74; }
.mg-ops { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.mg-danger { color: #a5433a; border-color: #e6cdc9; }
.mg-danger:hover { background: #fbf0ee; color: #8f3a32; }

.mg-help { margin-top: 46px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 24px 28px; }
.mg-help h4 { font-size: 15px; margin-bottom: 12px; }
.mg-help .check-list li { font-size: 13px; }

@media (max-width: 720px) {
  .gate-card { padding: 26px 22px; }
  .mg-row { grid-template-columns: 1fr; }
  .mg-thumb { width: 100%; height: 190px; }
  .mg-ops { justify-content: flex-start; }
  .mg-bar { padding: 16px; }
}

/* ---------- 导航搜索框（桌面常驻 / 移动端菜单顶部） ---------- */
.nav-search { display: flex; align-items: center; gap: 0; border: 1px solid var(--line); border-radius: 999px; background: var(--white); overflow: hidden; }
.nav-search input { border: 0; outline: none; background: transparent; font-size: 12.5px; color: var(--ink); padding: 8px 4px 8px 14px; width: 148px; }
.nav-search input::placeholder { color: var(--muted); }
.nav-search button { border: 0; background: transparent; color: var(--gold-deep); padding: 7px 12px 7px 6px; cursor: pointer; display: flex; align-items: center; }
.nav-search button svg { width: 16px; height: 16px; }
.nav-search input:focus { box-shadow: none; }
.nav-search.d-only { margin-right: 10px; flex-shrink: 0; }
.nav-search.m-only, .m-search-li { display: none; }
.m-search-li { padding: 10px 0 4px; border-bottom: 1px solid var(--line); }
.m-search-li .nav-search { width: 100%; }
.m-search-li .nav-search input { width: 100%; flex: 1; }

/* 巨型菜单：品类定位语 */
.mm-tag { display: block; font-size: 11.5px; color: var(--muted); letter-spacing: 0.02em; padding: 0 0 6px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }

/* ---------- 站内搜索页 ---------- */
.sch-box { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 22px 24px 18px; box-shadow: 0 10px 30px rgba(28,28,28,.06); }
.sch-form { display: flex; align-items: center; gap: 10px; border: 1.5px solid var(--gold); border-radius: 999px; padding: 6px 8px 6px 18px; background: #fff; }
.sch-form:focus-within { box-shadow: 0 0 0 4px rgba(176,141,87,.14); }
.sch-ico { width: 19px; height: 19px; color: var(--gold-deep); flex-shrink: 0; }
.sch-form input { flex: 1; border: 0; outline: none; font-size: 15.5px; color: var(--ink); background: transparent; min-width: 0; }
.sch-form .btn { flex-shrink: 0; }
.sch-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.sch-chip { border: 1px solid var(--line); background: var(--paper); color: var(--ink-soft); border-radius: 999px; padding: 5px 14px; font-size: 13px; cursor: pointer; transition: all .15s; }
.sch-chip:hover { border-color: var(--gold); color: var(--gold-deep); }
.sch-chip.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.sch-hot { margin-top: 12px; font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 14px; }
.sch-hot a { color: var(--ink-soft); }
.sch-hot a:hover { color: var(--gold-deep); }
.sch-count { margin-top: 18px; font-size: 13.5px; color: var(--muted); }
.sch-results { margin-top: 8px; }
.sch-group { margin-top: 26px; }
.sch-group h3 { font-size: 16px; color: var(--ink); display: flex; align-items: baseline; gap: 10px; border-bottom: 2px solid var(--ink); padding-bottom: 8px; }
.sch-group h3 span { font-size: 12.5px; font-weight: 400; color: var(--muted); }
.sch-list { display: flex; flex-direction: column; }
.sch-item { display: flex; align-items: center; gap: 14px; padding: 13px 6px; border-bottom: 1px solid var(--line); transition: background .15s; }
.sch-item:hover { background: rgba(176,141,87,.05); }
.sch-tag { flex-shrink: 0; font-size: 11.5px; color: var(--gold-deep); border: 1px solid rgba(176,141,87,.45); border-radius: 4px; padding: 2px 8px; letter-spacing: .06em; }
.sch-t { flex: 1; font-size: 15px; color: var(--ink); }
.sch-t em { font-style: normal; font-size: 12.5px; color: var(--muted); margin-left: 10px; }
.sch-t mark { background: rgba(176,141,87,.22); color: var(--gold-deep); padding: 0 1px; }
.sch-go { color: var(--muted); flex-shrink: 0; transition: transform .15s; }
.sch-item:hover .sch-go { transform: translateX(3px); color: var(--gold-deep); }
.sch-more { font-size: 12.5px; color: var(--muted); padding: 10px 6px; }
.sch-empty { margin-top: 36px; text-align: center; color: var(--ink-soft); line-height: 2; }
.sch-empty .btn { margin-top: 10px; }

@media (max-width: 1220px) {
  /* 中等宽度下导航空间不足以同时容纳菜单与搜索框，搜索交给菜单内与搜索页 */
  .nav-search.d-only { display: none; }
}
@media (max-width: 720px) {
  .m-search-li { display: block; }
  .sch-box { padding: 16px 14px 14px; border-radius: 12px; }
  .sch-item { flex-wrap: wrap; gap: 8px 10px; padding: 12px 2px; }
  .sch-t { flex-basis: 100%; order: 3; }
}

/* 极矮桌面视口（如 1280×600）：允许面板内部滚动，接受极小概率的合成穿透 */
@media (max-height: 620px) and (min-width: 721px) {
  .sub-menu { max-height: calc(100vh - 130px); overflow-y: auto; }
}

/* ============================================================
   子页升级：痛点共鸣区 / 场景方案包 / 服务流程时间线 / 吸底咨询条
   ============================================================ */
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pain-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; }
.pain-q { padding: 18px 20px 14px; background: #f7efe9; }
.pq-tag { display: inline-block; font-size: 11px; letter-spacing: .14em; color: #a4442a; font-weight: 600; margin-bottom: 8px; }
.pain-q p { font-size: 14px; font-weight: 600; color: var(--ink); line-height: 1.6; }
.pain-fix { padding: 14px 20px 18px; border-top: 1px dashed var(--line); flex: 1; }
.pain-fix b { display: block; font-size: 12px; color: var(--gold-deep); letter-spacing: .1em; margin-bottom: 6px; }
.pain-fix p { font-size: 13px; color: var(--ink-soft); line-height: 1.7; }

.pkg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pkg-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 22px; transition: box-shadow .2s, transform .2s; }
.pkg-card:hover { box-shadow: 0 10px 30px rgba(28,28,28,.08); transform: translateY(-2px); }
.pkg-card h3 { font-family: var(--serif); font-size: 16.5px; font-weight: 600; color: var(--ink); }
.pkg-fit { font-size: 12.5px; color: var(--muted); margin: 6px 0 14px; }
.pkg-items { list-style: none; margin: 0 0 16px; padding: 0; flex: 1; }
.pkg-items li { position: relative; padding-left: 18px; font-size: 13px; color: var(--ink-soft); line-height: 1.7; margin-bottom: 6px; }
.pkg-items li::before { content: ""; position: absolute; left: 0; top: 8px; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.pkg-meta { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 0; border-top: 1px solid var(--line); margin-bottom: 12px; }
.pkg-price { font-size: 17px; font-weight: 600; color: var(--gold-deep); }
.pkg-days { font-size: 12px; color: var(--muted); }

.steps-line { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 15px; }
.step-head { display: flex; gap: 10px; margin-bottom: 10px; }
.step-n { font-family: var(--serif); font-size: 20px; color: var(--gold); font-weight: 600; line-height: 1; }
.step-tt h4 { font-size: 14px; font-weight: 600; color: var(--ink); }
.step-when { display: block; font-size: 11px; color: var(--muted); margin-top: 3px; }
.step p { font-size: 12.5px; color: var(--ink-soft); line-height: 1.65; }

.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 880; background: rgba(250,248,244,.98); border-top: 1px solid var(--line); transform: translateY(100%); transition: transform .3s ease; }
.sticky-cta.show { transform: translateY(0); }
.sc-inner { max-width: 1200px; margin: 0 auto; padding: 10px 24px; display: flex; align-items: center; gap: 16px; }
.sc-inner p { flex: 1; font-size: 13.5px; color: var(--ink-soft); margin: 0; }
.sc-inner .btn { flex-shrink: 0; }
.sc-close { background: none; border: none; font-size: 20px; color: var(--muted); cursor: pointer; line-height: 1; padding: 6px 2px 6px 10px; }
.sc-close:hover { color: var(--ink); }
body.sc-open { padding-bottom: 64px; }

@media (max-width: 1100px) {
  .steps-line { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .pain-grid { grid-template-columns: 1fr; }
  .pkg-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .steps-line { grid-template-columns: 1fr 1fr; }
  .sc-inner { flex-wrap: wrap; gap: 8px 12px; padding: 10px 16px; }
  .sc-inner p { flex-basis: 100%; font-size: 12.5px; }
  .sc-inner .btn { flex: 1; text-align: center; }
  .sc-close { position: absolute; top: -30px; right: 8px; background: rgba(250,248,244,.9); border: 1px solid var(--line); border-radius: 50%; width: 26px; height: 26px; padding: 0; }
}

/* ============================================================
   定制订单：AI 定制页 / 进度查询页 / 商家后台
   ============================================================ */
.od-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 34px; align-items: start; }
.od-side { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 130px; }
.od-side-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; }
.od-side-card h4 { font-family: var(--serif); font-size: 15.5px; margin-bottom: 10px; color: var(--ink); }
.od-side-card .check-list li { font-size: 13px; }

.od-upload { display: flex; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.od-file { display: inline-flex; align-items: center; gap: 8px; border: 1px dashed var(--gold); color: var(--gold-deep); background: rgba(176,141,87,.06); border-radius: 10px; padding: 14px 20px; font-size: 13.5px; cursor: pointer; }
.od-file:hover { background: rgba(176,141,87,.12); }
.od-thumbs { display: flex; gap: 10px; flex-wrap: wrap; }
.od-thumb { position: relative; width: 84px; height: 84px; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); background: #f5f2ec; }
.od-thumb img { width: 100%; height: 100%; object-fit: cover; }
.od-thumb-x { position: absolute; top: 2px; right: 4px; color: #fff; background: rgba(0,0,0,.45); border-radius: 50%; width: 18px; height: 18px; line-height: 17px; text-align: center; font-size: 13px; cursor: pointer; }

.od-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 8px 0 4px; }
.od-tip { font-size: 13px; color: var(--muted); }

.od-plan { margin-top: 26px; border: 1px solid var(--line); border-radius: 14px; background: #fff; overflow: hidden; }
.od-plan-head { padding: 18px 22px; border-bottom: 1px solid var(--line); background: var(--gold-soft); }
.od-plan-head h3 { font-family: var(--serif); font-size: 17px; color: var(--ink); }
.od-code { font-size: 12px; color: var(--gold-deep); font-weight: 400; margin-left: 8px; letter-spacing: .06em; }
.od-plan-tip { display: block; font-size: 12px; color: var(--muted); margin-top: 6px; }
.od-plan-body { padding: 20px 22px; font-size: 14px; color: var(--ink-soft); line-height: 1.85; }
.od-plan-body h4 { font-family: var(--serif); font-size: 15.5px; color: var(--ink); margin: 18px 0 8px; }
.od-plan-body h4:first-child { margin-top: 0; }
.od-plan-body ul { margin: 6px 0 12px; padding-left: 20px; }
.od-plan-body li { margin-bottom: 5px; }
.od-plan-body code { background: var(--gold-soft); padding: 1px 5px; border-radius: 4px; font-size: 13px; }
.od-credit { font-size: 13px; color: var(--muted); }
.od-err { color: #a4442a; font-size: 13.5px; }
.od-plan-foot { padding: 16px 22px; border-top: 1px solid var(--line); display: flex; gap: 12px; flex-wrap: wrap; }

.od-order { margin-top: 26px; border: 1px solid var(--line); border-radius: 14px; background: #fff; padding: 22px; }
.od-order h3 { font-family: var(--serif); font-size: 17px; margin-bottom: 14px; color: var(--ink); }
.od-pay { background: #fbf7f0; border-left: 3px solid var(--gold); border-radius: 8px; padding: 14px 16px; margin: 16px 0; }
.od-pay b { display: block; font-size: 13px; color: var(--gold-deep); margin-bottom: 6px; }
.od-pay p { font-size: 13px; color: var(--ink-soft); line-height: 1.75; }

.od-done { margin-top: 26px; border: 1px solid var(--line); border-radius: 14px; background: #fff; padding: 26px; text-align: center; }
.od-done h3 { font-family: var(--serif); font-size: 18px; color: var(--ink); }
.od-done-sub { font-size: 13px; color: var(--muted); margin-top: 8px; }
.od-done-no { font-family: var(--serif); font-size: 26px; letter-spacing: .06em; color: var(--gold-deep); margin: 16px 0; word-break: break-all; }
.od-done-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- 进度查询 ---------- */
.ot-query { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: end; }
.ot-query .form-grid { margin-bottom: 0; }
.ot-query .form-msg { grid-column: 1 / -1; }
.ot-result { margin-top: 26px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 24px; }
.ot-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.ot-head h3 { font-family: var(--serif); font-size: 19px; color: var(--ink); }
.ot-sub { font-size: 13px; color: var(--muted); margin-top: 6px; }
.ot-status { font-size: 12.5px; border-radius: 999px; padding: 5px 14px; border: 1px solid currentColor; white-space: nowrap; color: var(--gold-deep); background: var(--gold-soft); }
.ot-status[data-st="deposit_paid"], .ot-status[data-st="design_lock"] { color: #1a5c8a; background: #eaf3fa; }
.ot-status[data-st="producing"], .ot-status[data-st="installing"] { color: #8a5a12; background: #fdf3e3; }
.ot-status[data-st="delivered"], .ot-status[data-st="completed"] { color: #2c6b45; background: #eaf5ee; }
.ot-status[data-st="canceled"] { color: var(--muted); background: #f2f0ec; }
.ot-client { font-size: 13.5px; color: var(--ink-soft); margin-top: 14px; background: #fbf7f0; border-radius: 8px; padding: 12px 14px; }
.ot-line { display: flex; flex-wrap: wrap; gap: 6px; margin: 22px 0 8px; }
.ot-node { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); padding-right: 14px; position: relative; }
.ot-node .ot-dot { width: 9px; height: 9px; border-radius: 50%; background: #ddd8cf; flex-shrink: 0; }
.ot-node.done { color: var(--ink-soft); }
.ot-node.done .ot-dot { background: var(--gold); }
.ot-node.now { color: var(--gold-deep); font-weight: 600; }
.ot-node.now .ot-dot { background: var(--gold-deep); box-shadow: 0 0 0 4px rgba(176,141,87,.2); }
.ot-h4 { font-family: var(--serif); font-size: 15.5px; margin: 24px 0 12px; color: var(--ink); }
.ot-ev { border-top: 1px solid var(--line); padding: 14px 0; }
.ot-ev-head { display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.ot-ev-st { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.ot-ev-time { font-size: 12px; color: var(--muted); }
.ot-ev-note { font-size: 13.5px; color: var(--ink-soft); line-height: 1.75; margin-top: 6px; }
.ot-ev-imgs { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.ot-ev-imgs img { width: 108px; height: 108px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); background: #f5f2ec; }
.ot-foot { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.ot-mine { margin-top: 34px; }
.ot-mine h3 { font-family: var(--serif); font-size: 18px; color: var(--ink); margin-bottom: 8px; }
.ot-mine-list { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.ot-mini { display: flex; gap: 14px; align-items: baseline; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 12px 16px; flex-wrap: wrap; }
.ot-mini:hover { border-color: var(--gold); }
.ot-mini-t { flex: 1; font-size: 14.5px; color: var(--ink); min-width: 160px; }
.ot-mini-s { font-size: 12.5px; color: var(--gold-deep); }
.ot-mini-d { font-size: 12px; color: var(--muted); }
.ot-help { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.ot-help-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; }
.ot-help-card h4 { font-size: 14.5px; color: var(--ink); margin-bottom: 8px; }
.ot-help-card p { font-size: 13px; color: var(--ink-soft); line-height: 1.75; }
.ot-help-card .btn { margin-top: 12px; }

/* ---------- 商家后台 ---------- */
.ad-gate { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 26px; max-width: 620px; }
.ad-gate h3 { font-family: var(--serif); font-size: 18px; color: var(--ink); margin-bottom: 8px; }
.ad-gate-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: 16px; }
.ad-code-row { display: flex; gap: 10px; flex-wrap: wrap; }
.ad-code-row input { min-width: 220px; }
.ad-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.ad-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.ad-bar-right { display: flex; align-items: center; gap: 12px; }
.ad-count { font-size: 13px; color: var(--muted); }
.ad-list { display: flex; flex-direction: column; gap: 10px; }
.ad-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.ad-card.open { border-color: var(--gold); }
.ad-card-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 18px; cursor: pointer; }
.ad-card-main { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ad-card-main b { font-size: 15px; color: var(--ink); }
.ad-card-sub { font-size: 12.5px; color: var(--muted); word-break: break-all; }
.ad-card.static { padding: 14px 18px; }
.ad-panel { border-top: 1px solid var(--line); padding: 18px; background: #fdfcfa; }
.ad-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.ad-panel-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 16px; }
.ad-evs { margin-top: 20px; border-top: 1px dashed var(--line); padding-top: 14px; }
.ad-evs h5 { font-size: 13.5px; color: var(--ink); margin-bottom: 10px; }
.ad-ev { padding: 10px 0; border-bottom: 1px dashed var(--line); }
.ad-ev:last-child { border-bottom: none; }
.ad-ev-st { font-size: 13px; font-weight: 600; color: var(--ink); margin-right: 10px; }
.ad-ev-t { font-size: 12px; color: var(--muted); }
.ad-ev p { font-size: 13px; color: var(--ink-soft); margin-top: 6px; }
.ad-files { display: block; font-size: 12.5px; color: var(--gold-deep); margin-top: 6px; }
.ad-h3 { font-family: var(--serif); font-size: 17px; color: var(--ink); margin: 34px 0 14px; }

@media (max-width: 1000px) {
  .od-layout { grid-template-columns: 1fr; }
  .od-side { position: static; flex-direction: row; flex-wrap: wrap; }
  .od-side-card { flex: 1 1 240px; }
  .ot-help { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .ot-query { grid-template-columns: 1fr; }
  .ad-form { grid-template-columns: 1fr; }
  .ot-ev-imgs img { width: 84px; height: 84px; }
  .od-done-no { font-size: 21px; }
}
.pkg-ask { display: block; text-align: center; font-size: 12.5px; color: var(--muted); margin-top: 10px; }
.pkg-ask:hover { color: var(--gold-deep); }

/* ============================================================
   外行友好层：白话注脚 / 术语悬浮 / 选型向导 / 白话词典
   ============================================================ */
.plain-callout { position: relative; background: var(--gold-soft); border-left: 3px solid var(--gold); border-radius: 8px; padding: 14px 18px; margin: 0 0 22px; }
.plain-callout .pc-label { display: inline-block; font-size: 11px; letter-spacing: .16em; color: var(--gold-deep); font-weight: 600; margin-bottom: 6px; }
.plain-callout p { font-size: 14px; color: var(--ink); line-height: 1.75; margin: 0; }
.plain-callout .pc-more { display: inline-block; margin-top: 8px; font-size: 12.5px; color: var(--gold-deep); }
.plain-callout .pc-more:hover { text-decoration: underline; }

.sub-plain { font-size: 12.5px; color: var(--gold-deep) !important; line-height: 1.6; flex: none !important; margin-bottom: 6px; }
.sub-card p:not(.sub-plain) { flex: 1; }

/* 城市×品类页：细分卡顶部缩略图（图片撑满卡片上沿，hover 轻微推近） */
.sub-card .sub-thumb { display: block; margin: -22px -22px 14px; aspect-ratio: 16 / 9; overflow: hidden; background: var(--paper-2); border-radius: 11px 11px 0 0; }
.sub-card .sub-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .45s ease; }
.sub-card:hover .sub-thumb img { transform: scale(1.05); }

/* 术语悬浮 */
.xterm { border-bottom: 1px dashed var(--gold); cursor: help; }
.xterm-pop { position: fixed; z-index: 1200; max-width: 300px; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 12px 34px rgba(28,28,28,.16); padding: 12px 14px; opacity: 0; visibility: hidden; transition: opacity .16s ease; }
.xterm-pop.on { opacity: 1; visibility: visible; }
.xterm-pop b { display: block; font-size: 13px; color: var(--gold-deep); margin-bottom: 5px; }
.xterm-pop p { font-size: 12.5px; color: var(--ink-soft); line-height: 1.7; margin: 0; }
.xterm-pop .xt-more { font-size: 12px; color: var(--muted); margin-top: 6px; }

/* 首页流程：客户视角 */
.steps-flow .step { padding-top: 34px; }
.step-badge { position: absolute; top: 0; left: 50%; transform: translateX(-50%); font-size: 11px; letter-spacing: .1em; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.step.is-you .step-badge { color: #fff; background: var(--gold-deep); }
.step.is-us .step-badge { color: var(--muted); background: #f2efe9; border: 1px solid var(--line); }
.steps-flow .step.is-you .step-ico { color: var(--gold-deep); }
.flow-help { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 40px; }
.flow-help > span { font-size: 13.5px; color: var(--muted); }
.hero-plain { font-size: 13.5px; color: rgba(255,255,255,.82); margin-top: 12px; }
.hero-plain a { color: #fff; border-bottom: 1px solid rgba(255,255,255,.5); }

/* ---------- 选型向导 ---------- */
.gd-app { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 26px 28px; }
.gd-bar { height: 6px; border-radius: 999px; background: #efece6; overflow: hidden; }
.gd-fill { height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, var(--gold), var(--gold-deep)); transition: width .3s ease; }
.gd-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin: 12px 0 22px; font-size: 12.5px; color: var(--muted); }
.gd-q { font-family: var(--serif); font-size: 21px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.gd-hint { font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.gd-opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.gd-opt { text-align: left; background: #fdfcfa; border: 1px solid var(--line); border-radius: 10px; padding: 15px 17px; cursor: pointer; transition: border-color .18s, transform .18s, box-shadow .18s; font-family: inherit; }
.gd-opt:hover { border-color: var(--gold); transform: translateY(-2px); box-shadow: 0 8px 22px rgba(28,28,28,.07); }
.gd-opt b { display: block; font-size: 15px; font-weight: 600; color: var(--ink); }
.gd-opt span { display: block; font-size: 12.5px; color: var(--muted); margin-top: 5px; line-height: 1.6; }
.gd-actions { display: flex; gap: 12px; margin-top: 22px; }
.gd-noscript { font-size: 13.5px; color: var(--ink-soft); }
.gd-dictlink { text-align: center; font-size: 13px; color: var(--muted); margin-top: 28px; }

.gd-result { margin-top: 6px; }
.gd-rtop h2 { font-family: var(--serif); font-size: 22px; color: var(--ink); }
.gd-rsub { font-size: 13.5px; color: var(--muted); margin-top: 8px; }
.gd-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 22px; }
.gd-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 20px; transition: border-color .18s, transform .18s, box-shadow .18s; }
.gd-card:hover { border-color: var(--gold); transform: translateY(-3px); box-shadow: 0 12px 30px rgba(28,28,28,.08); }
.gd-card h3 { font-family: var(--serif); font-size: 16.5px; color: var(--ink); margin-bottom: 8px; }
.gd-plain { font-size: 13.5px; color: var(--ink-soft); line-height: 1.75; }
.gd-why { font-size: 12.5px; color: var(--gold-deep); line-height: 1.7; margin-top: 12px; padding-left: 12px; border-left: 2px solid var(--gold-soft); flex: 1; }
.gd-cat { font-size: 12px; color: var(--muted); margin-top: 14px; }
.gd-rest { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 18px; font-size: 13px; color: var(--muted); }
.gd-mini { font-size: 12.5px; color: var(--gold-deep); border: 1px solid var(--line); border-radius: 999px; padding: 5px 13px; }
.gd-mini:hover { border-color: var(--gold); background: var(--gold-soft); }
.gd-budget { background: var(--gold-soft); border-radius: 10px; padding: 16px 18px; margin-top: 22px; }
.gd-budget b { display: block; font-size: 13px; color: var(--gold-deep); margin-bottom: 6px; }
.gd-budget p { font-size: 13.5px; color: var(--ink-soft); line-height: 1.75; margin: 0; }
.gd-next { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }

/* ---------- 白话词典 ---------- */
.dt-tools { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 16px; }
.dt-tools input { flex: 1; min-width: 200px; max-width: 420px; padding: 11px 15px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font-size: 14px; font-family: inherit; color: var(--ink); }
.dt-tools input:focus { outline: none; border-color: var(--gold); }
.dt-jump { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.dt-jump a { font-size: 12.5px; color: var(--ink-soft); border: 1px solid var(--line); border-radius: 999px; padding: 5px 13px; background: #fff; }
.dt-jump a:hover { border-color: var(--gold); color: var(--gold-deep); background: var(--gold-soft); }
.dt-group { margin-bottom: 34px; scroll-margin-top: 150px; }
.dt-gh { font-family: var(--serif); font-size: 19px; color: var(--ink); padding-bottom: 10px; border-bottom: 1px solid var(--line); margin-bottom: 18px; display: flex; align-items: baseline; gap: 10px; }
.dt-gh em { font-style: normal; font-size: 12px; color: var(--muted); font-family: var(--sans, inherit); }
.dt-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.dt-item { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 16px 18px; }
.dt-item h3 { font-family: var(--serif); font-size: 16px; color: var(--gold-deep); margin-bottom: 8px; }
.dt-plain { font-size: 13.5px; color: var(--ink); line-height: 1.7; }
.dt-more { font-size: 12.5px; color: var(--muted); line-height: 1.7; margin-top: 8px; }
.dt-empty { font-size: 14px; color: var(--muted); text-align: center; padding: 30px 0; }

@media (max-width: 900px) {
  .gd-cards { grid-template-columns: 1fr; }
  .dt-list { grid-template-columns: 1fr; }
  .gd-opts { grid-template-columns: 1fr; }
  .steps-flow .step { padding-top: 32px; }
}
@media (max-width: 720px) {
  .gd-app { padding: 20px 18px; }
  .gd-q { font-size: 18.5px; }
  .flow-help { flex-direction: column; }
}

/* ============================================================
   全站 AI 顾问（客户侧悬浮问答）
   ============================================================ */
.ai-fab { position: fixed; right: 22px; bottom: 24px; z-index: 890; display: inline-flex; align-items: center; gap: 9px; padding: 11px 18px 11px 12px; border: none; border-radius: 999px; background: var(--gold-deep); color: #fff; font-family: inherit; font-size: 13.5px; font-weight: 600; letter-spacing: .02em; cursor: pointer; box-shadow: 0 10px 26px rgba(28,28,28,.22); transition: transform .18s ease, box-shadow .18s ease; }
.ai-fab:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(28,28,28,.28); }
.ai-fab.hide { opacity: 0; visibility: hidden; transform: translateY(10px); pointer-events: none; }
.ai-fab-ico { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(255,255,255,.22); font-size: 11.5px; font-weight: 700; letter-spacing: .04em; }
body.sc-open .ai-fab { bottom: 84px; }

.ai-panel { position: fixed; right: 22px; bottom: 24px; z-index: 895; width: 384px; max-width: calc(100vw - 32px); height: 560px; max-height: calc(100vh - 60px); display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 24px 60px rgba(28,28,28,.24); opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity .2s ease, transform .2s ease, visibility .2s; }
.ai-panel.open { opacity: 1; visibility: visible; transform: translateY(0); }

.ai-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 15px 16px 13px; border-bottom: 1px solid var(--line); background: var(--gold-soft); border-radius: 16px 16px 0 0; }
.ai-head-l b { display: block; font-family: var(--serif); font-size: 15.5px; color: var(--ink); }
.ai-head-l span { display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--muted); margin-top: 4px; }
.ai-live { width: 6px; height: 6px; border-radius: 50%; background: #2c6b45; box-shadow: 0 0 0 3px rgba(44,107,69,.16); }
.ai-x { background: none; border: none; font-size: 21px; line-height: 1; color: var(--muted); cursor: pointer; padding: 0 2px; }
.ai-x:hover { color: var(--ink); }

.ai-body { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; -webkit-overflow-scrolling: touch; }
.ai-msg { max-width: 88%; font-size: 13.5px; line-height: 1.75; border-radius: 12px; padding: 10px 13px; word-break: break-word; }
.ai-msg b { font-weight: 600; }
.ai-bot { align-self: flex-start; background: #f7f5f1; color: var(--ink-soft); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.ai-user { align-self: flex-end; background: var(--gold-deep); color: #fff; border-bottom-right-radius: 4px; }
.ai-staff { align-self: flex-start; background: #eef4ee; color: var(--ink-soft); border: 1px solid #cfe0cf; border-bottom-left-radius: 4px; }
.ai-staff-name { display: block; font-size: 11.5px; color: #3d7a45; letter-spacing: .04em; margin-bottom: 3px; }
.ai-fab.has-msg::after { content: ""; position: absolute; top: 6px; right: 8px; width: 10px; height: 10px; border-radius: 50%; background: #e5484d; border: 2px solid #fff; }
.ai-dim { color: var(--muted); font-size: 12.5px; }
.ai-linkrow { display: flex; gap: 12px; margin-top: 8px; }
.ai-linkrow a { color: var(--gold-deep); font-size: 12.5px; border-bottom: 1px solid var(--gold); }

.ai-typing { display: inline-flex; gap: 4px; align-items: center; }
.ai-typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); display: inline-block; animation: aiBlink 1.1s infinite ease-in-out; }
.ai-typing i:nth-child(2) { animation-delay: .18s; }
.ai-typing i:nth-child(3) { animation-delay: .36s; }
@keyframes aiBlink { 0%, 80%, 100% { opacity: .28; } 40% { opacity: 1; } }

.ai-acts { display: flex; gap: 8px; flex-wrap: wrap; align-self: flex-start; }
.ai-acts a { font-size: 12.5px; color: var(--gold-deep); border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; background: #fff; }
.ai-acts a:hover { border-color: var(--gold); background: var(--gold-soft); }

/* ---------- AI 工具台（面板内多工具） ---------- */
.ai-tabs { display: flex; gap: 6px; padding: 10px 16px 0; background: #fff; }
.ai-tab { flex: 1; border: 1px solid var(--line); background: #fff; color: var(--muted); font-size: 12.5px; padding: 7px 8px; border-radius: 8px; cursor: pointer; font-family: inherit; }
.ai-tab:hover { border-color: var(--gold); color: var(--ink); }
.ai-tab.on { background: var(--gold-soft); border-color: var(--gold); color: var(--ink); font-weight: 600; }
.ai-pane { display: none; flex: 1; min-height: 0; }
.ai-pane.on { display: flex; flex-direction: column; }
.ai-tools-scroll { flex: 1; overflow-y: auto; padding: 12px 14px 16px; -webkit-overflow-scrolling: touch; }
.ai-tools-head { padding: 4px 2px 12px; }
.ai-tools-head b { display: block; font-family: var(--serif); font-size: 14.5px; color: var(--ink); }
.ai-tools-head span { display: block; font-size: 11.5px; color: var(--muted); margin-top: 4px; line-height: 1.6; }
.ai-tgrp { margin-bottom: 14px; }
.ai-tgrp-h { font-size: 11.5px; letter-spacing: 0.12em; color: var(--gold-deep); margin: 0 2px 8px; }
.ai-tgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ai-tool { text-align: left; border: 1px solid var(--line); background: #fff; border-radius: 11px; padding: 11px; cursor: pointer; font-family: inherit; display: flex; flex-direction: column; gap: 4px; transition: border-color .15s, background .15s, transform .15s; }
.ai-tool:hover { border-color: var(--gold); background: var(--gold-soft); transform: translateY(-1px); }
.ai-tool-ico { width: 26px; height: 26px; border-radius: 8px; background: var(--gold-soft); color: var(--gold-deep); display: flex; align-items: center; justify-content: center; font-size: 14px; }
.ai-tool-n { font-size: 13px; font-weight: 600; color: var(--ink); }
.ai-tool-d { font-size: 11px; color: var(--muted); line-height: 1.5; }
.ai-thead { padding: 2px 2px 12px; border-bottom: 1px dashed var(--line); margin-bottom: 12px; }
.ai-back { background: none; border: none; color: var(--gold-deep); font-size: 12px; padding: 0; cursor: pointer; font-family: inherit; }
.ai-thead b { display: block; font-family: var(--serif); font-size: 15px; color: var(--ink); margin-top: 6px; }
.ai-thead span { display: block; font-size: 11.5px; color: var(--muted); margin-top: 5px; line-height: 1.6; }
.ai-f { display: block; margin-bottom: 11px; }
.ai-f-l { display: block; font-size: 12px; color: var(--ink-soft); margin-bottom: 5px; }
.ai-f input, .ai-f select, .ai-f textarea { width: 100%; border: 1px solid var(--line); border-radius: 9px; padding: 9px 11px; font-size: 13px; font-family: inherit; color: var(--ink); background: #fff; box-sizing: border-box; }
.ai-f input:focus, .ai-f select:focus, .ai-f textarea:focus { outline: none; border-color: var(--gold); }
.ai-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ai-chip { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 5px 11px; font-size: 12px; color: var(--ink-soft); cursor: pointer; font-family: inherit; }
.ai-chip.on { background: var(--gold-deep); border-color: var(--gold-deep); color: #fff; }
.ai-run { width: 100%; margin-top: 6px; }
.ai-fnote { font-size: 11px; color: var(--muted); margin: 9px 0 0; line-height: 1.6; }
.ai-out-h { display: flex; align-items: center; gap: 9px; padding-bottom: 10px; border-bottom: 1px dashed var(--line); margin-bottom: 12px; }
.ai-out-h b { font-family: var(--serif); font-size: 14.5px; color: var(--ink); }
.ai-out-b { font-size: 13.5px; line-height: 1.8; color: var(--ink-soft); }
.ai-h { display: block; font-size: 13.5px; color: var(--ink); margin: 10px 0 4px; }
.ai-ul, .ai-ol { margin: 6px 0; padding-left: 20px; }
.ai-ul li, .ai-ol li { margin-bottom: 5px; }
.ai-tbwrap { overflow-x: auto; margin: 10px 0; -webkit-overflow-scrolling: touch; }
.ai-tb { border-collapse: collapse; width: 100%; font-size: 12px; min-width: 340px; }
.ai-tb th, .ai-tb td { border: 1px solid var(--line); padding: 7px 9px; text-align: left; vertical-align: top; }
.ai-tb th { background: var(--gold-soft); color: var(--ink); font-weight: 600; white-space: nowrap; }
.ai-acts-out { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line); }
.ai-tools-empty { padding: 20px 6px; font-size: 12.5px; color: var(--muted); }
@media (max-width: 720px) { .ai-tgrid { grid-template-columns: 1fr; } }

/* ---------- 管理后台：在线咨询面板 ---------- */
.ct-grid { display: grid; grid-template-columns: 340px 1fr; gap: 16px; align-items: start; }
.ct-threads { display: flex; flex-direction: column; gap: 8px; max-height: 520px; overflow-y: auto; }
.ct-thread { padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; transition: border-color .15s; }
.ct-thread:hover { border-color: var(--gold); }
.ct-thread.open { border-color: var(--gold-deep); background: var(--gold-soft); }
.ct-thread b { display: block; font-size: 13.5px; margin-bottom: 3px; }
.ct-badge { font-style: normal; background: #e5484d; color: #fff; border-radius: 999px; font-size: 11px; padding: 1px 8px; }
.ct-convo { border: 1px solid var(--line); border-radius: 12px; background: #faf9f6; padding: 14px; min-height: 320px; display: flex; flex-direction: column; }
.ct-msgs { flex: 1; max-height: 430px; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; padding-right: 4px; }
.ct-msg { max-width: 80%; padding: 9px 12px; border-radius: 10px; font-size: 13.5px; line-height: 1.6; word-break: break-word; }
.ct-msg i { display: block; font-style: normal; font-size: 11px; opacity: .65; margin-bottom: 2px; }
.ct-u { align-self: flex-start; background: #f1efe9; border: 1px solid var(--line); border-bottom-left-radius: 3px; }
.ct-s { align-self: flex-end; background: var(--gold-deep); color: #fff; border-bottom-right-radius: 3px; }
.ct-s i { opacity: .8; }
.ct-in { display: flex; gap: 8px; margin-top: 12px; }
.ct-in input { flex: 1; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; font-family: inherit; font-size: 13.5px; }
.ct-in input:focus { outline: none; border-color: var(--gold); }
/* 客服话术库：分类标签 + 话术条（点击填入输入框，可改后发送） */
.ct-canned { margin-top: 10px; border-top: 1px dashed var(--line); padding-top: 10px; }
.ct-canned-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; }
.ct-canned-tab { border: 1px solid var(--line); background: #fff; border-radius: 999px; font-size: 12px; padding: 4px 11px; cursor: pointer; font-family: inherit; color: inherit; transition: all .15s; }
.ct-canned-tab:hover { border-color: var(--gold); }
.ct-canned-tab.on { background: var(--gold-deep); border-color: var(--gold-deep); color: #fff; }
.ct-canned-list { display: flex; flex-direction: column; gap: 5px; max-height: 148px; overflow-y: auto; }
.ct-canned-item { text-align: left; border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: 7px 10px; font-size: 12.5px; line-height: 1.55; cursor: pointer; font-family: inherit; color: inherit; transition: border-color .15s; }
.ct-canned-item:hover { border-color: var(--gold); background: var(--gold-soft); }
.ct-canned-item b { color: var(--gold-deep); margin-right: 6px; font-weight: 600; }
/* 新咨询提醒：列表头部提示条 */
.ct-alert { display: none; align-items: center; gap: 8px; background: #fdf0e3; border: 1px solid #e8c99a; color: #8a5a1e; border-radius: 8px; padding: 8px 12px; font-size: 13px; margin-bottom: 10px; cursor: pointer; }
.ct-alert.show { display: flex; }
.ct-alert .dot { width: 8px; height: 8px; border-radius: 50%; background: #e5484d; animation: ctPulse 1.2s infinite; }
@keyframes ctPulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }

/* ---------- 后台工作台：顶栏 / 统计 / Tab ---------- */
.admin-topbar { background: #171a20; border-bottom: 3px solid var(--gold); }
.admin-topbar-in { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; gap: 16px; }
.admin-topbar .brand-sub { color: rgba(255,255,255,.55); font-size: 12px; letter-spacing: 2px; }
.admin-topbar .brand-name { color: #fff; }
.admin-topnav { display: flex; align-items: center; gap: 16px; }
.admin-link { color: rgba(255,255,255,.75); font-size: 13.5px; }
.admin-link:hover { color: var(--gold); }
.admin-topbar .user-chip { color: #d3b98a; font-size: 13px; margin-right: 4px; }
.admin-topbar .link-plain { color: rgba(255,255,255,.7); font-size: 13px; cursor: pointer; margin-left: 10px; }
.admin-topbar .link-plain:hover { color: var(--gold); }
.admin-foot { background: #171a20; color: rgba(255,255,255,.5); font-size: 12.5px; padding: 16px 0; margin-top: 40px; }
.admin-foot-in { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.admin-foot a { color: rgba(255,255,255,.65); }
.admin-foot a:hover { color: var(--gold); }
/* 统计卡片行 */
.ad-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 18px; }
.ad-stat { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.ad-stat b { display: block; font-size: 26px; line-height: 1.2; color: var(--ink); }
.ad-stat b.hot { color: #e5484d; }
.ad-stat span { display: block; margin-top: 4px; font-size: 12.5px; color: var(--ink-soft); }
/* Tab 导航 */
.ad-tabs { display: flex; gap: 6px; border-bottom: 2px solid var(--line); margin-bottom: 18px; overflow-x: auto; }
.ad-tab { position: relative; border: none; background: none; font-family: inherit; font-size: 14.5px; font-weight: 600; color: var(--ink-soft); padding: 11px 18px 13px; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -2px; white-space: nowrap; display: flex; align-items: center; gap: 7px; }
.ad-tab:hover { color: var(--ink); }
.ad-tab.active { color: var(--gold-deep); border-bottom-color: var(--gold-deep); }
.ad-tab-badge { font-style: normal; background: #e5484d; color: #fff; border-radius: 999px; font-size: 11px; font-weight: 500; padding: 1px 7px; line-height: 1.5; }
.ad-tab-badge.plain { background: var(--line); color: var(--ink-soft); }
.ad-panel { animation: adFade .18s ease; }
@keyframes adFade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@media (max-width: 960px) { .ad-stats { grid-template-columns: repeat(2, 1fr); } }
/* AI 对话留痕：紧凑折叠卡片 */
.ad-chat { padding: 12px 16px; cursor: pointer; }
.ad-chat .ad-chat-row { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.ad-chat .ad-chat-q { font-size: 14px; font-weight: 600; color: var(--ink); flex: 1; min-width: 200px; }
.ad-chat .ad-chat-meta { font-size: 12px; color: var(--ink-soft); white-space: nowrap; }
.ad-chat .ad-chat-cv { color: #2c6b45; font-size: 12px; }
.ad-chat .ad-chat-a { font-size: 13px; color: var(--ink-soft); line-height: 1.7; margin-top: 8px; background: #faf8f4; border-radius: 8px; padding: 10px 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ad-chat.open .ad-chat-a { display: block; }
.ad-chat .ad-chat-more { font-size: 12px; color: var(--gold-deep); margin-top: 6px; display: inline-block; }
@media (max-width: 960px) { .ct-grid { grid-template-columns: 1fr; } .ct-threads { max-height: 260px; } }

.ai-quick { display: flex; gap: 7px; flex-wrap: wrap; padding: 0 16px 10px; }
.ai-q { font-size: 12.5px; color: var(--ink-soft); background: #fdfcfa; border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; cursor: pointer; font-family: inherit; text-align: left; }
.ai-q:hover { border-color: var(--gold); color: var(--gold-deep); background: var(--gold-soft); }

.ai-in { display: flex; gap: 8px; align-items: center; padding: 12px 16px 8px; border-top: 1px solid var(--line); }
.ai-in input { flex: 1; min-width: 0; padding: 11px 13px; border: 1px solid var(--line); border-radius: 10px; font-size: 13.5px; font-family: inherit; color: var(--ink); background: #fff; }
.ai-in input:focus { outline: none; border-color: var(--gold); }
.ai-in .btn[disabled] { opacity: .55; cursor: default; }
.ai-note { font-size: 11.5px; color: var(--muted); line-height: 1.6; padding: 0 16px 13px; margin: 0; }

@media (max-width: 720px) {
  .ai-fab { right: 14px; bottom: 80px; padding: 10px 15px 10px 11px; font-size: 13px; }
  body.sc-open .ai-fab { bottom: 84px; }
  .ai-panel { right: 10px; left: 10px; bottom: 10px; width: auto; max-width: none; height: auto; top: 10px; max-height: calc(100vh - 20px); border-radius: 14px; }
  .ai-head { border-radius: 14px 14px 0 0; }
  .ai-msg { max-width: 94%; }
}

/* ---------- 商家后台：AI 跟进草稿 ---------- */
.ad-ai { margin-top: 20px; border: 1px solid var(--line); border-radius: 12px; background: linear-gradient(180deg, #fdfbf7, #fff); overflow: hidden; }
.ad-ai-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; flex-wrap: wrap; padding: 14px 16px; border-bottom: 1px solid var(--line); background: var(--gold-soft); }
.ad-ai-head b { display: block; font-family: var(--serif); font-size: 15px; color: var(--ink); }
.ad-ai-head span { display: block; font-size: 12px; color: var(--muted); margin-top: 4px; max-width: 460px; line-height: 1.6; }
.ad-ai-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.ad-ai-out { padding: 14px 16px; font-size: 13px; color: var(--ink-soft); line-height: 1.8; white-space: pre-wrap; word-break: break-word; min-height: 20px; }
.ad-ai-out:empty::before { content: "点「生成草稿」，AI 会读这一单的信息，给出客户画像、跟进要点、可直接复制的微信话术与风险提醒。"; color: var(--muted); }

/* ---------- 商家后台：AI 对话留痕 ---------- */
.ad-chat { padding: 14px 18px; }
.ad-chat-q { font-size: 14.5px; color: var(--ink); font-weight: 600; line-height: 1.6; }
.ad-chat-a { font-size: 13px; color: var(--ink-soft); line-height: 1.75; margin-top: 8px; background: #faf8f4; border-radius: 8px; padding: 10px 12px; }
.ad-chat-cv { color: #2c6b45; }

@media (max-width: 720px) {
  .ad-ai-head { flex-direction: column; }
  .ad-ai-head span { max-width: none; }
}

/* ---------- 子页：同品类实拍墙（20 例不同分类） ---------- */
.gal-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 18px; }
.gal-item { position: relative; display: block; border-radius: 10px; overflow: hidden; background: #eee; aspect-ratio: 4 / 3; }
.gal-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.gal-item:hover img { transform: scale(1.05); }
.gal-item span { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px 8px 7px; font-size: 12px; color: #fff; background: linear-gradient(180deg, transparent, rgba(0,0,0,.62)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 960px) { .gal-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 720px) { .gal-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; } }

/* ---------- 子页：底部固定转化条 ---------- */
.sub-sticky-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 910;
  background: #fff; border-top: 1px solid var(--line);
  box-shadow: 0 -4px 20px rgba(28,24,20,0.08);
  transform: translateY(110%); transition: transform 0.35s ease;
}
.sub-sticky-bar.show { transform: translateY(0); }
.sub-sticky-bar .ss-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 12px 24px; max-width: var(--maxw); margin: 0 auto;
}
.ss-info { line-height: 1.35; }
.ss-info b { display: block; font-size: 15px; color: var(--ink); font-weight: 600; }
.ss-info span { font-size: 13px; color: var(--gold-dark); }
.ss-actions { display: flex; align-items: center; gap: 10px; }
.ss-actions .btn { padding: 10px 18px; font-size: 13px; }
.ss-close {
  width: 28px; height: 28px; border: none; background: transparent;
  color: var(--muted); font-size: 20px; line-height: 1; cursor: pointer;
}
@media (max-width: 720px) {
  .sub-sticky-bar .ss-inner { padding: 10px 14px; flex-wrap: wrap; }
  .ss-info { flex: 1 1 100%; }
  .ss-info b { font-size: 14px; }
  .ss-actions { flex: 1 1 100%; }
  .ss-actions .btn { flex: 1; padding: 10px 8px; text-align: center; }
  .ss-close { position: absolute; right: 8px; top: 8px; }
}

/* ---------- 首页 AI 顾问台工具区 ---------- */
.xl-aihub { background: #1c1c1c; color: #f3ece1; position: relative; overflow: hidden; }
.xl-aihub::before { content: ""; position: absolute; inset: -30% 20% auto -10%; height: 520px; background: radial-gradient(closest-side, rgba(176,141,87,.30), rgba(176,141,87,0) 70%); pointer-events: none; }
.xl-aihub .sec-eyebrow { color: #c9a870; }
.xl-aihub .sec-title { color: #f5efe6; }
.xl-aihub .sec-desc { color: rgba(243,236,225,.72); }
.xl-aihub .container { position: relative; z-index: 1; }

/* 工具条：分组筛选 + 搜索（2026-10-08 重排） */
.aihub-bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
  padding-bottom: 20px; margin-bottom: 22px;
  border-bottom: 1px solid rgba(176,141,87,.22);
}
.aihub-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.aihub-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px; border-radius: 999px;
  border: 1px solid rgba(176,141,87,.28); background: transparent;
  color: rgba(243,236,225,.7); font: inherit; font-size: 13px;
  cursor: pointer; transition: border-color .18s, background .18s, color .18s;
}
.aihub-chip i { font-style: normal; font-size: 11px; opacity: .55; }
.aihub-chip:hover { border-color: rgba(176,141,87,.6); color: #f5efe6; }
.aihub-chip.is-on {
  background: linear-gradient(135deg,#d9bb84,#b08d57);
  border-color: #b08d57; color: #1c1c1c; font-weight: 600;
}
.aihub-chip.is-on i { opacity: .7; }
.aihub-search {
  display: flex; align-items: center; gap: 9px;
  padding: 8px 16px; border-radius: 999px;
  border: 1px solid rgba(176,141,87,.28); background: rgba(255,255,255,.04);
  min-width: 246px; transition: border-color .18s, background .18s;
}
.aihub-search:focus-within { border-color: rgba(176,141,87,.75); background: rgba(176,141,87,.10); }
.aihub-search svg { width: 15px; height: 15px; color: rgba(243,236,225,.5); flex-shrink: 0; }
.aihub-search input {
  flex: 1; min-width: 0; background: none; border: none; outline: none;
  color: #f5efe6; font: inherit; font-size: 13px;
}
.aihub-search input::placeholder { color: rgba(243,236,225,.4); }
.aihub-search input::-webkit-search-cancel-button { filter: invert(.6); cursor: pointer; }

/* 统一紧凑网格：所有工具同处一个网格，分组靠右上角徽标区分 */
.aihub-wrap {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(196px, 1fr));
  gap: 12px;
}
.aihub-card {
  position: relative;
  display: flex; flex-direction: column; align-items: flex-start; gap: 7px;
  text-align: left; min-height: 118px;
  padding: 15px 15px 30px; border: 1px solid rgba(176,141,87,.26); border-radius: 12px;
  background: rgba(255,255,255,.035); color: inherit; cursor: pointer;
  transition: border-color .18s, background .18s, transform .18s;
}
.aihub-card:hover { border-color: rgba(176,141,87,.7); background: rgba(176,141,87,.12); transform: translateY(-2px); }
.aihub-ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 9px;
  background: rgba(176,141,87,.18); color: #d9bb84; font-size: 14px; line-height: 1;
}
.aihub-n { font-size: 14px; color: #f5efe6; font-weight: 500; letter-spacing: .02em; }
.aihub-d {
  font-size: 11.5px; line-height: 1.6; color: rgba(243,236,225,.6);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.aihub-tag {
  position: absolute; left: 15px; bottom: 12px;
  font-size: 10.5px; letter-spacing: .1em; color: #c9a870;
  opacity: .72; pointer-events: none;
}
.aihub-card.is-hidden { display: none; }
.aihub-empty {
  grid-column: 1 / -1; margin: 8px 0 0;
  font-size: 13px; color: rgba(243,236,225,.6);
}
.aihub-empty a { color: #d9bb84; text-decoration: underline; text-underline-offset: 3px; }

.aihub-foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 26px; padding-top: 22px; border-top: 1px solid rgba(176,141,87,.22); }
.aihub-foot span { font-size: 12.5px; color: rgba(243,236,225,.55); }

@media (max-width: 720px) {
  .aihub-bar { gap: 12px; padding-bottom: 16px; margin-bottom: 18px; }
  .aihub-chips { gap: 7px; }
  .aihub-chip { padding: 6px 12px; font-size: 12.5px; }
  .aihub-search { min-width: 0; flex: 1; }
  .aihub-wrap { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .aihub-card { min-height: 112px; padding: 13px 13px 28px; }
  .aihub-n { font-size: 13.5px; }
  .aihub-d { font-size: 11px; }
  .aihub-foot { flex-direction: column; align-items: stretch; gap: 10px; }
  .aihub-foot .btn { width: 100%; text-align: center; }
}
@media (max-width: 340px) { .aihub-wrap { grid-template-columns: 1fr; } }

/* ---------- GEO · 服务方实体事实条（生成式引擎可读的实体信号，紧跟 page-head） ---------- */
.geo-abs { background: var(--paper-2); border-bottom: 1px solid var(--line); }
.geo-abs-in { display: flex; align-items: center; gap: 10px 20px; flex-wrap: wrap; padding: 11px 0 12px; }
.geo-abs-badge {
  flex: none; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--gold-deep); border: 1px solid rgba(176,141,87,.45); border-radius: 999px;
  padding: 3px 10px; background: rgba(176,141,87,.09); white-space: nowrap;
}
.geo-abs-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 0; padding: 0; }
.geo-abs-facts li { position: relative; font-size: 12.5px; line-height: 1.6; color: var(--ink-soft); padding-right: 18px; }
.geo-abs-facts li::after { content: ""; position: absolute; right: 0; top: 50%; width: 3px; height: 3px; border-radius: 50%; background: rgba(176,141,87,.55); transform: translateY(-50%); }
.geo-abs-facts li:last-child { padding-right: 0; }
.geo-abs-facts li:last-child::after { display: none; }
@media (max-width: 720px) {
  .geo-abs-in { gap: 7px 12px; padding: 10px 0; }
  .geo-abs-facts { gap: 2px 12px; }
  .geo-abs-facts li { font-size: 11.5px; padding-right: 12px; }
}
.site-footer .footer-ai a { color: rgba(243, 236, 225, .52); font-size: 12px; }
.site-footer .footer-ai a:hover { color: #d9bb84; }

/* ---------- 英语站 · 询盘表单（en/contact.html） ---------- */
.enq-form {
  margin-top: 20px; padding: 26px 26px 22px; border: 1px solid var(--line);
  border-radius: 16px; background: var(--paper-2);
}
.enq-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 20px; }
.enq-f { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.enq-f-wide { margin-top: 14px; }
.enq-f > span { font-size: 12.5px; letter-spacing: .02em; color: var(--ink-soft); }
.enq-f > span b { color: var(--gold-deep); font-weight: 600; }
.enq-f input, .enq-f select, .enq-f textarea {
  width: 100%; box-sizing: border-box; font: inherit; font-size: 14px; color: var(--ink);
  background: #fff; border: 1px solid rgba(28,28,28,.16); border-radius: 9px;
  padding: 10px 12px; outline: none; transition: border-color .18s, box-shadow .18s;
}
.enq-f textarea { resize: vertical; line-height: 1.7; }
.enq-f input:focus, .enq-f select:focus, .enq-f textarea:focus {
  border-color: var(--gold); box-shadow: 0 0 0 3px rgba(176,141,87,.14);
}
.enq-f input::placeholder, .enq-f textarea::placeholder { color: #b3aca0; }
.enq-hint { margin: 14px 0 0; font-size: 12px; line-height: 1.75; color: #8b857a; }
.enq-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 18px; }
.enq-msg { margin: 14px 0 0; font-size: 13.5px; line-height: 1.7; min-height: 1px; }
.enq-msg.is-ok { color: #2f6b45; }
.enq-msg.is-err { color: #a8452f; }
@media (max-width: 720px) {
  .enq-form { padding: 20px 16px 18px; }
  .enq-grid { grid-template-columns: 1fr; gap: 12px; }
  .enq-actions .btn { width: 100%; text-align: center; }
}
