:root {
  --bg: #f3f1ec;
  --surface: #ffffff;
  --surface-2: #f6f4ef;
  --ink: #1b2030;
  --text: #242a38;
  --text-soft: #5a6273;
  --text-mute: #8b92a1;
  --border: #e7e2d8;
  --gold: #b8923f;
  /* 亮金：用在深色渐变（chips 高亮 / 侧栏高亮 / 转化条）上的文字与点缀 */
  --gold2: #e6c97a;
  --gold-soft: #f4ecd9;
  --accent: #1f2a44;
  --pro: #15803d;
  --pro-bg: #e9f7ee;
  --con: #c0392b;
  --con-bg: #fdecea;
  --shadow: 0 1px 2px rgba(27, 32, 48, 0.05), 0 8px 24px rgba(27, 32, 48, 0.08);
  --radius: 14px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.65;
}

/* Header */
.site-header {
  background: linear-gradient(135deg, #141a28 0%, #1f2a44 60%, #2a2138 100%);
  color: #fff;
  padding: 24px 0 0;
  box-shadow: var(--shadow);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 15px; }
.brand-mark {
  width: 50px; height: 50px;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--gold) 0%, #e6c97a 100%);
  color: #1b2030;
  display: grid; place-items: center;
  font-size: 24px; font-weight: 800;
  box-shadow: 0 4px 14px rgba(184, 146, 63, 0.4);
}
.brand-text h1 { margin: 0; font-size: 22px; letter-spacing: 0.6px; font-weight: 800; }
.brand-text p { margin: 3px 0 0; font-size: 13px; color: #c9cfdc; }
.header-meta { text-align: right; font-size: 12.5px; color: #c9cfdc; line-height: 1.7; }
.header-meta .owner { display: block; font-weight: 600; color: #fff; }
.ima-badge {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 6px;
  padding: 3px 11px;
  border-radius: 999px;
  background: rgba(184, 146, 63, 0.18);
  border: 1px solid rgba(184, 146, 63, 0.5);
  color: #e6c97a;
  font-size: 12px;
}
.ima-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #5fd08a; }

.share-note {
  max-width: 1200px;
  margin: 16px auto 0;
  padding: 10px 24px 16px;
  font-size: 12.5px;
  color: #aeb4c2;
}

/* Share bar */
.share-bar {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.share-bar .label { font-size: 13px; color: #c9cfdc; }
.btn-share {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 18px;
  border: 1px solid rgba(184, 146, 63, 0.55);
  background: rgba(184, 146, 63, 0.16);
  color: #e6c97a;
  border-radius: 10px;
  font-size: 13.5px; font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}
.btn-share:hover { background: rgba(184, 146, 63, 0.28); }
.btn-share.copied { background: #5fd08a; border-color: #5fd08a; color: #10261a; }
/* 复制按钮的隐藏别名：各页 JS 用的 id 不同（copyLinkBtn / btnCopy），
   视觉上只留一个，另一个仅作 id 占位，防止某页脚本绑到 null */
.btn-share.btn-alias {
  position: absolute; width: 1px; height: 1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Container */
.container { max-width: 1200px; margin: 0 auto; padding: 24px; }

/* Toolbar */
.toolbar {
  display: flex; flex-direction: column; gap: 14px;
  margin-bottom: 16px;
}
.search-wrap input {
  width: 100%;
  padding: 13px 16px;
  font-size: 15px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
  outline: none;
  box-shadow: var(--shadow);
}
.search-wrap input:focus { border-color: var(--gold); }
.cat-chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chip {
  padding: 7px 15px;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 999px;
  font-size: 13.5px;
  color: var(--text-soft);
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}
.chip:hover { border-color: var(--gold); color: var(--gold); }
.chip.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  font-weight: 600;
}

.result-bar { font-size: 13px; color: var(--text-mute); margin: 4px 2px 12px; }

/* 整站搜索面板（首页） */
.ss-panel {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: 14px 16px 16px;
  margin-bottom: 18px;
  max-height: 62vh;
  overflow-y: auto;
}
.ss-head {
  display: flex; align-items: center; gap: 12px;
  font-size: 13.5px; color: var(--text-soft);
  padding-bottom: 10px; margin-bottom: 12px;
  border-bottom: 1px dashed var(--border);
}
.ss-head b { color: var(--gold); font-size: 16px; }
.ss-mat-hint { color: var(--text-mute); font-size: 12.5px; }
.ss-close {
  margin-left: auto; border: 1px solid var(--border); background: var(--surface-2);
  color: var(--text-soft); font-size: 12.5px; padding: 3px 11px; border-radius: 999px;
  cursor: pointer; font-family: inherit;
}
.ss-close:hover { border-color: var(--gold); color: var(--gold); }
.ss-group { margin-bottom: 14px; }
.ss-group:last-child { margin-bottom: 0; }
.ss-group h4 {
  margin: 0 0 8px; font-size: 13px; font-weight: 700; color: var(--ink);
  display: flex; align-items: center; gap: 7px;
}
.ss-group h4 em {
  font-style: normal; font-size: 11.5px; font-weight: 600;
  color: var(--text-mute); background: var(--surface-2);
  border-radius: 999px; padding: 1px 8px;
}
.ss-item {
  display: block; padding: 9px 11px; border-radius: 10px;
  border: 1px solid transparent; text-decoration: none; color: inherit;
}
.ss-item:hover { background: var(--surface-2); border-color: var(--border); }
.ss-t { display: block; font-size: 14px; font-weight: 600; color: var(--ink); }
.ss-item:hover .ss-t { color: var(--gold); }
.ss-d {
  display: block; font-size: 12.5px; color: var(--text-mute); margin-top: 2px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.ss-more { font-size: 12px; color: var(--text-mute); margin: 6px 2px 0; }

/* Grid + cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(236px, 1fr));
  gap: 18px;
}
.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  display: flex; flex-direction: column;
}
.card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--cat-color, #b8923f);
  z-index: 2;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(27, 32, 48, 0.14); }
.card-img {
  height: 150px;
  width: 100%;
  object-fit: cover;
  display: block;
  background: var(--surface-2);
}
.card-img.svg { object-fit: contain; padding: 0; }
.card-body { padding: 14px 15px 16px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.card-cat {
  align-self: flex-start;
  font-size: 11.5px;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--gold-soft);
  color: #8a6a1f;
  font-weight: 600;
}
.card-name { font-size: 16.5px; font-weight: 700; margin: 0; color: var(--ink); }
.card-alias { font-size: 12px; color: var(--text-mute); margin: 0; }
.card-tag { font-size: 12.5px; color: var(--text-soft); margin: 2px 0 0; }

.empty-hint { text-align: center; color: var(--text-mute); padding: 40px 0; }

/* Footer */
.site-footer {
  max-width: 1200px;
  margin: 34px auto 0;
  padding: 20px 24px 42px;
  color: var(--text-mute);
  font-size: 12.5px;
  border-top: 1px solid var(--border);
  text-align: center;
}
.site-footer .links { margin-top: 8px; }
.site-footer a { color: var(--gold); text-decoration: none; }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 50; display: flex; align-items: center; justify-content: center; padding: 18px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(15, 23, 42, 0.58); backdrop-filter: blur(2px); }
.modal-panel {
  position: relative;
  background: var(--surface);
  border-radius: 18px;
  max-width: 880px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 70px rgba(2, 6, 23, 0.45);
}
.modal-close {
  position: absolute; top: 12px; right: 14px;
  width: 34px; height: 34px;
  border: none; border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  color: #1f2933; font-size: 22px; line-height: 1;
  cursor: pointer; z-index: 2;
}
.modal-close:hover { background: #fff; }
.detail-body { padding: 0; }

.detail-hero { position: relative; }
.detail-hero img { width: 100%; height: 320px; object-fit: cover; display: block; background: var(--surface-2); }
.detail-hero img.svg { object-fit: contain; }
/* 厂家资料图（型号表 / 色卡）：整张完整显示，不裁切 */
.detail-hero img.sheet { height: auto; max-height: 80vh; object-fit: contain; }
.detail-thumbs {
  display: flex; gap: 9px; padding: 12px 26px 2px;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
}
.detail-thumbs .dt {
  flex: 0 0 auto; width: 112px; padding: 0; margin: 0;
  border: 1px solid var(--border); border-radius: 10px;
  background: var(--surface); cursor: pointer; overflow: hidden;
  font-family: inherit; text-align: left;
}
.detail-thumbs .dt img { display: block; width: 100%; height: 68px; object-fit: cover; }
.detail-thumbs .dt span {
  display: block; padding: 5px 7px 7px;
  font-size: 11px; line-height: 1.3; color: var(--text-mute);
}
.detail-thumbs .dt.on { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); }
.detail-thumbs .dt.on span { color: var(--ink); font-weight: 600; }

/* 图片放大（lightbox.js）：全屏查看，方便看资料图上的型号小字 */
.lb {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(10, 13, 20, 0.93);
  display: flex; align-items: center; justify-content: center;
  padding: 28px 20px 54px;
  cursor: zoom-out;
}
.lb[hidden] { display: none; }
.lb-img {
  max-width: 100%; max-height: 84vh;
  object-fit: contain; border-radius: 6px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5);
  cursor: default; background: #fff;
}
.lb-x {
  position: absolute; top: 14px; right: 18px;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.12); color: #fff;
  font-size: 22px; line-height: 1; cursor: pointer;
}
.lb-x:hover { background: rgba(255, 255, 255, 0.22); }
.lb-cap {
  position: absolute; left: 0; right: 0; bottom: 16px;
  margin: 0; text-align: center;
  color: rgba(255, 255, 255, 0.82); font-size: 13px;
  padding: 0 24px;
}
.realphoto-flag {
  position: absolute; left: 14px; bottom: 14px;
  background: rgba(21, 128, 61, 0.92); color: #fff;
  font-size: 12px; padding: 4px 11px; border-radius: 999px;
}
.placeholder-flag {
  position: absolute; left: 14px; bottom: 14px;
  background: rgba(27, 32, 48, 0.8); color: #fff;
  font-size: 12px; padding: 4px 11px; border-radius: 999px;
}

.detail-content { padding: 22px 26px 28px; }
.detail-title { font-size: 24px; margin: 0 0 4px; font-weight: 800; color: var(--ink); }
.detail-alias { color: var(--text-mute); font-size: 13px; margin: 0 0 6px; }
.detail-tagline { color: var(--text-soft); font-size: 14.5px; margin: 0 0 18px; }

.pc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 18px; }
.pc-box { border-radius: 12px; padding: 14px 15px; }
.pc-box.pro { background: var(--pro-bg); }
.pc-box.con { background: var(--con-bg); }
.pc-box h4 { margin: 0 0 8px; font-size: 14px; }
.pc-box.pro h4 { color: var(--pro); }
.pc-box.con h4 { color: var(--con); }
.pc-box ul { margin: 0; padding-left: 18px; }
.pc-box li { font-size: 13.5px; margin-bottom: 5px; }

.meta-list { display: grid; gap: 12px; margin-bottom: 16px; }
.meta-row { display: grid; grid-template-columns: 84px 1fr; gap: 10px; align-items: start; }
.meta-row .k { font-size: 13px; font-weight: 700; color: var(--text-soft); padding-top: 1px; }
.meta-row .v { font-size: 13.5px; color: var(--text); }
.tags { display: flex; flex-wrap: wrap; gap: 7px; }
.tag { font-size: 12.5px; padding: 3px 10px; border-radius: 999px; background: var(--surface-2); color: var(--text-soft); }

.tip-box {
  background: var(--gold-soft);
  border: 1px solid #e6d4a8;
  border-radius: 12px;
  padding: 13px 15px;
  font-size: 13.5px;
  color: #6b521f;
  margin-bottom: 18px;
}
.tip-box b { color: #8a6a1f; }

.slot-box {
  border: 2px dashed #cdbf9e;
  border-radius: 12px;
  padding: 16px;
  background: var(--surface-2);
  font-size: 13px;
  color: var(--text-soft);
}
.slot-box code { background: #ece6d8; padding: 2px 6px; border-radius: 5px; font-size: 12px; color: #4a3d1f; }

@media (max-width: 620px) {
  .pc-grid { grid-template-columns: 1fr; }
  .detail-hero img { height: 220px; }
  .header-meta { text-align: left; }
  .share-bar { padding: 0 16px 16px; }
}

/* ========== 案例页 ========== */
.nav-link {
  display: inline-block;
  color: #e6c97a;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  padding: 5px 13px;
  border: 1px solid rgba(184, 146, 63, 0.5);
  border-radius: 999px;
  margin-bottom: 6px;
}
.nav-link:hover { background: rgba(184, 146, 63, 0.18); }

.case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 22px;
}
.case-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  display: flex; flex-direction: column;
}
.case-card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(27, 32, 48, 0.14); }

.case-cover {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
  background: var(--surface-2);
}
.case-cover-empty {
  background: linear-gradient(135deg, #1f2a44 0%, #2a2138 70%, #4a3a28 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
}
.case-cover-empty .scene-big { color: #e6c97a; font-size: 21px; font-weight: 800; letter-spacing: 1px; }
.case-cover-empty .empty-note { color: #aeb4c2; font-size: 12px; }

.case-body { padding: 15px 17px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.case-topline { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.case-status { font-size: 11.5px; color: var(--pro); background: var(--pro-bg); padding: 2px 9px; border-radius: 999px; font-weight: 600; }
.case-title { font-size: 17.5px; font-weight: 800; margin: 0; color: var(--ink); }
.case-summary {
  font-size: 13px; color: var(--text-soft); margin: 0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.case-mats { display: flex; flex-wrap: wrap; gap: 7px; }
.case-mat-tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; padding: 3px 10px;
  border-radius: 999px; background: var(--surface-2);
  color: var(--text-soft); text-decoration: none;
  border: 1px solid var(--border);
}
.case-mat-tag:hover { border-color: var(--gold); color: var(--gold); }
.case-mat-tag .dot { width: 7px; height: 7px; border-radius: 50%; }
.case-foot { font-size: 12px; color: var(--text-mute); margin-top: auto; padding-top: 4px; border-top: 1px dashed var(--border); }

/* 详情 */
.case-panel { max-width: 920px; }
.case-detail .detail-title { margin-top: 8px; }

.case-gallery { margin-top: 6px; }
.case-hero-wrap { position: relative; border-radius: 12px; overflow: hidden; }
.case-hero { width: 100%; height: 400px; object-fit: cover; display: block; background: var(--surface-2); }
.case-caption { font-size: 12.5px; color: var(--text-mute); margin: 8px 2px 10px; }
.case-thumbs { display: flex; gap: 9px; flex-wrap: wrap; }
.case-thumb {
  width: 92px; height: 64px; object-fit: cover;
  border-radius: 8px; cursor: pointer;
  border: 2px solid transparent; opacity: 0.72;
  transition: all 0.12s ease;
}
.case-thumb:hover { opacity: 1; }
.case-thumb.active { border-color: var(--gold); opacity: 1; }

.case-cta {
  margin-top: 6px;
  padding: 13px 16px;
  border-radius: 12px;
  background: var(--gold-soft);
  border: 1px solid #e6d4a8;
  font-size: 13.5px; color: #6b521f;
}
.case-cta a { color: #8a6a1f; font-weight: 700; text-decoration: none; margin-left: 6px; }
.case-cta a:hover { text-decoration: underline; }

/* 详情弹层内分享按钮（材料/案例通用） */
.btn-detail-share {
  display: inline-flex; align-items: center; gap: 7px;
  margin-top: 4px;
  padding: 10px 20px;
  border: 1px solid var(--gold);
  background: var(--gold-soft);
  color: #8a6a1f;
  border-radius: 10px;
  font-size: 13.5px; font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}
.btn-detail-share:hover { background: #efe0ba; }
.btn-detail-share.copied { background: #5fd08a; border-color: #5fd08a; color: #10261a; }

/* 案例卡片上的独立分享按钮 */
.case-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.btn-card-share {
  flex: none;
  padding: 4px 12px;
  border: 1px solid var(--gold);
  background: var(--gold-soft);
  color: #8a6a1f;
  border-radius: 999px;
  font-size: 12px; font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}
.btn-card-share:hover { background: #efe0ba; }
.btn-card-share.copied { background: #5fd08a; border-color: #5fd08a; color: #10261a; }

/* 顶部选项卡（材料库 | 项目案例） */
.site-tabs {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  gap: 4px;
}
.site-tabs .tab {
  padding: 11px 26px;
  font-size: 14.5px; font-weight: 700;
  color: #c9cfdc;
  text-decoration: none;
  border-radius: 10px 10px 0 0;
  border: 1px solid transparent;
  border-bottom: none;
  transition: all 0.15s ease;
}
.site-tabs .tab:hover { color: #e6c97a; }
.site-tabs .tab.active {
  background: var(--bg);
  color: var(--ink);
  border-color: var(--border);
}

/* ---------- 多级下拉导航 ---------- */
.site-tabs .tab-item { position: relative; }
.site-tabs .tab .caret { font-size: 10px; margin-left: 4px; opacity: .85; vertical-align: middle; }
.site-tabs .tab-menu {
  position: absolute; top: 100%; left: 0; min-width: 210px;
  margin-top: 0; padding: 6px;
  background: #1b2030; border: 1px solid rgba(255,255,255,.10); border-top: none;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 18px 40px rgba(0,0,0,.45);
  display: none; flex-direction: column; gap: 2px; z-index: 1500;
}
.site-tabs .has-menu:hover > .tab-menu,
.site-tabs .has-menu.open > .tab-menu { display: flex; }
.site-tabs .has-menu.last > .tab-menu { left: auto; right: 0; }
.site-tabs .tab-menu-item,
.site-tabs .tab-sub {
  display: block; padding: 9px 14px; color: #c9cfdc;
  text-decoration: none; border-radius: 8px; font-size: 14px; white-space: nowrap;
}
.site-tabs .tab-menu-item:hover,
.site-tabs .tab-sub:hover { background: #2a3350; color: #e6c97a; }
.site-tabs .tab-menu-item.active,
.site-tabs .tab-sub.active { color: #e6c97a; background: #2a3350; }
/* 三级子菜单：向右展开 */
.site-tabs .tab-menu-item.has-submenu { position: relative; }
.site-tabs .tab-menu-item.has-submenu > .tab-sub .caret { float: right; margin-left: 12px; }
.site-tabs .tab-submenu {
  position: absolute; left: 100%; top: -6px; min-width: 160px;
  padding: 6px; background: #1b2030; border: 1px solid rgba(255,255,255,.10);
  border-radius: 12px; box-shadow: 0 18px 40px rgba(0,0,0,.45);
  display: none; flex-direction: column; gap: 2px; z-index: 1600;
}
.site-tabs .tab-menu-item.has-submenu:hover > .tab-submenu,
.site-tabs .tab-menu-item.has-submenu.open > .tab-submenu { display: flex; }
@media (max-width: 620px) {
  .site-tabs { flex-wrap: wrap; gap: 2px; padding: 0 12px; }
  .site-tabs .tab { padding: 9px 14px; font-size: 13px; }
  .site-tabs .tab-menu { min-width: 180px; }
}

@media (max-width: 620px) {
  .case-hero { height: 240px; }
  .case-cover { height: 180px; }
  .case-thumb { width: 72px; height: 52px; }
}

/* ---------- 二维码分享条（share.js） ---------- */
.share-sheet { position: fixed; inset: 0; z-index: 9000; display: flex; align-items: center; justify-content: center; }
.share-sheet[hidden] { display: none; }
.share-sheet-backdrop { position: absolute; inset: 0; background: rgba(12, 16, 26, 0.72); }
.share-sheet-panel {
  position: relative;
  width: min(420px, 92vw);
  max-height: 90vh;
  overflow-y: auto;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px 22px 18px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  text-align: center;
}
.share-sheet-close {
  position: absolute; top: 10px; right: 12px;
  width: 30px; height: 30px; line-height: 1;
  border: none; background: transparent; color: var(--text-mute);
  font-size: 22px; cursor: pointer;
}
.share-sheet-title { margin: 0 24px 14px; font-size: 16px; color: var(--ink); line-height: 1.5; }
.share-qr-wrap {
  display: inline-block; padding: 10px;
  background: #ffffff; border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}
.share-qr-wrap img { display: block; width: 220px; height: 220px; }
.share-qr-tip { margin: 12px 0 10px; font-size: 12.5px; color: var(--text-mute); line-height: 1.6; }
.share-url {
  width: 100%; box-sizing: border-box;
  font-size: 12px; padding: 8px 10px;
  border: 1px solid var(--border); border-radius: 8px;
  background: var(--bg-soft, #f6f3ec); color: var(--ink);
}
.share-actions { display: flex; gap: 8px; margin-top: 14px; }
.share-btn {
  flex: 1;
  padding: 10px 8px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--ink);
  border-radius: 10px;
  font-size: 13.5px; font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}
.share-btn:hover { border-color: var(--gold); color: #8a6a1f; }
.share-btn.primary { background: var(--gold-soft); border-color: var(--gold); color: #8a6a1f; }
.share-btn.primary.copied { background: #5fd08a; border-color: #5fd08a; color: #10261a; }
.share-wx-tip {
  margin: 10px 0 0; font-size: 12px; line-height: 1.6;
  color: var(--text-mute); text-align: left;
  border-top: 1px dashed var(--border); padding-top: 10px;
}

/* ---------- 企业介绍页（company.html / 单文件 #/about） ---------- */
.co-hero {
  position: relative;
  border-radius: 20px;
  padding: 40px 36px 34px;
  background: linear-gradient(135deg, #141a28 0%, #1f2a44 58%, #2a2138 100%);
  color: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.co-hero::after {
  content: "";
  position: absolute; right: -60px; top: -60px;
  width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(184, 146, 63, 0.35) 0%, rgba(184, 146, 63, 0) 70%);
}
.co-eyebrow {
  display: inline-block;
  margin: 0 0 12px;
  font-size: 12.5px;
  padding: 4px 13px;
  border-radius: 999px;
  background: rgba(184, 146, 63, 0.18);
  border: 1px solid rgba(184, 146, 63, 0.5);
  color: #e6c97a;
}
.co-hero-title { margin: 0; font-size: 34px; letter-spacing: 2px; font-weight: 800; }
.co-hero-slogan { margin: 8px 0 0; font-size: 17px; color: #e6c97a; letter-spacing: 1px; font-weight: 700; }
.co-hero-slogan-sub { margin: 4px 0 0; font-size: 13.5px; color: #c9cfdc; letter-spacing: 3px; }
.co-hero-lead {
  margin: 16px 0 0; max-width: 700px;
  font-size: 14.5px; line-height: 1.85; color: #d7dbe4;
  position: relative; z-index: 1;
}
.co-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; position: relative; z-index: 1; }
.co-cta {
  padding: 11px 22px;
  border: 1px solid rgba(184, 146, 63, 0.55);
  background: rgba(184, 146, 63, 0.14);
  color: #e6c97a;
  border-radius: 10px;
  font-size: 14px; font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.15s ease;
}
.co-cta:hover { background: rgba(184, 146, 63, 0.28); }
.co-cta.primary { background: linear-gradient(135deg, var(--gold) 0%, #e6c97a 100%); border-color: transparent; color: #1b2030; }
.co-cta.primary:hover { filter: brightness(1.06); }
.co-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 12px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  position: relative; z-index: 1;
}
.co-stat b { display: block; font-size: 26px; color: #e6c97a; font-weight: 800; letter-spacing: 1px; }
.co-stat span { font-size: 12.5px; color: #aeb4c2; }

.co-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 26px 28px;
  margin-top: 20px;
  box-shadow: var(--shadow);
}
.co-h3 { margin: 0; font-size: 21px; font-weight: 800; color: var(--ink); }
.co-h3::after { content: ""; display: block; width: 34px; height: 3px; margin-top: 10px; border-radius: 2px; background: var(--gold); }
.co-sub { margin: 14px 0 0; font-size: 13.5px; color: var(--text-mute); }
.co-p { margin: 14px 0 0; font-size: 14.5px; line-height: 1.9; color: var(--text); }
.co-region { margin: 18px 0 0; padding-left: 12px; border-left: 3px solid var(--gold); font-size: 13.5px; color: var(--text-soft); }
.co-sub-label { margin: 20px 0 10px; font-size: 13px; font-weight: 700; color: var(--text-soft); }
.co-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.co-tag {
  font-size: 12.5px; padding: 4px 12px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-soft);
}
.co-tags.small .co-tag { font-size: 12px; padding: 3px 10px; }

.co-svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(268px, 1fr)); gap: 16px; margin-top: 20px; }
.co-svc {
  padding: 18px 18px 16px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface-2);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.co-svc:hover { transform: translateY(-3px); border-color: #dccfa8; box-shadow: 0 12px 30px rgba(27, 32, 48, 0.1); }
.co-svc-icon {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  margin-bottom: 12px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--gold) 0%, #e6c97a 100%);
  color: #1b2030; font-size: 20px; font-weight: 800;
}
.co-svc-name { margin: 0 0 8px; font-size: 17px; font-weight: 800; color: var(--ink); }
.co-svc-desc { margin: 0 0 12px; font-size: 13.5px; line-height: 1.8; color: var(--text-soft); }

.co-cap-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; margin-top: 20px; }
.co-cap { padding: 14px 16px; border-radius: 12px; background: var(--surface-2); border-left: 3px solid var(--gold); }
.co-cap h4 { margin: 0 0 6px; font-size: 15px; color: var(--ink); }
.co-cap p { margin: 0; font-size: 13px; line-height: 1.75; color: var(--text-soft); }

.co-steps { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 12px; }
.co-step {
  display: grid; grid-template-columns: 46px 1fr; gap: 14px; align-items: start;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--surface-2);
  border: 1px solid var(--border);
}
.co-step-no {
  display: grid; place-items: center;
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--accent); color: #e6c97a;
  font-size: 14px; font-weight: 800; letter-spacing: 0.5px;
}
.co-step-body b { display: block; margin-bottom: 3px; font-size: 15px; color: var(--ink); }
.co-step-body p { margin: 0; font-size: 13.5px; line-height: 1.75; color: var(--text-soft); }

.co-case-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(268px, 1fr)); gap: 16px; margin-top: 20px; }
.co-case {
  padding: 18px;
  border-radius: 14px;
  background: linear-gradient(180deg, #1f2a44 0%, #2a2138 130%);
  color: #fff;
  cursor: pointer;
  transition: transform 0.15s ease;
}
.co-case:hover { transform: translateY(-3px); }
.co-case-scene {
  display: inline-block; margin-bottom: 10px;
  font-size: 11.5px; padding: 2px 10px; border-radius: 999px;
  background: rgba(184, 146, 63, 0.2);
  border: 1px solid rgba(184, 146, 63, 0.5);
  color: #e6c97a;
}
.co-case h4 { margin: 0 0 8px; font-size: 16px; color: #fff; }
.co-case p { margin: 0 0 12px; font-size: 13px; line-height: 1.75; color: #c9cfdc; }
.co-case-more { font-size: 12.5px; color: #e6c97a; font-weight: 700; }

.co-promise { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.co-promise li {
  position: relative;
  padding: 13px 16px 13px 42px;
  border-radius: 12px;
  background: var(--gold-soft);
  border: 1px solid #e6d4a8;
  font-size: 13.5px; font-weight: 600; color: #6b521f;
}
.co-promise li::before { content: "\2713"; position: absolute; left: 16px; top: 12px; color: var(--gold); font-weight: 800; }

.co-contact-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; margin-top: 20px; }
.co-contact-row {
  display: flex; align-items: baseline; gap: 10px;
  padding: 13px 16px;
  border-radius: 12px;
  background: var(--surface-2);
  border: 1px solid var(--border);
}
.co-contact-row .k { flex: none; font-size: 12.5px; font-weight: 700; color: var(--text-soft); }
.co-contact-row .v { font-size: 14.5px; font-weight: 600; color: var(--ink); }
.co-todo { color: var(--text-mute); font-weight: 500; text-decoration: underline dotted; }
.co-contact-note { margin: 14px 0 0; font-size: 12.5px; color: var(--text-mute); }
.co-more { margin-top: 18px; }

@media (max-width: 620px) {
  .co-hero { padding: 28px 20px 26px; border-radius: 16px; }
  .co-hero-title { font-size: 26px; }
  .co-hero-slogan { font-size: 15px; }
  .co-hero-slogan-sub { letter-spacing: 2px; }
  .co-section { padding: 20px 18px; border-radius: 14px; }
  .co-h3 { font-size: 19px; }
  .co-step { grid-template-columns: 38px 1fr; gap: 11px; padding: 12px 13px; }
  .co-stat b { font-size: 22px; }
}

/* ---------- 文字版速览（SEO：让爬虫读到 JS 渲染的内容） ---------- */
.seo-text {
  margin: 26px 0 0;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  overflow: hidden;
}
.seo-text > summary {
  cursor: pointer;
  padding: 14px 18px;
  font-size: 13.5px; font-weight: 700;
  color: var(--text-soft);
  background: var(--surface-2);
  list-style: none;
}
.seo-text > summary::-webkit-details-marker { display: none; }
.seo-text > summary::before { content: "＋"; margin-right: 8px; color: var(--gold); font-weight: 800; }
.seo-text[open] > summary::before { content: "－"; }
.seo-text-body { padding: 18px; display: grid; gap: 20px; }
.seo-cat h3 {
  margin: 0 0 10px;
  padding-left: 10px;
  border-left: 3px solid var(--gold);
  font-size: 15px; color: var(--ink);
}
.seo-mat { padding: 12px 0; border-top: 1px dashed var(--border); }
.seo-cat .seo-mat:first-of-type { border-top: none; }
.seo-mat h3 { margin: 0 0 6px; font-size: 16px; color: var(--ink); }
.seo-mat h4 { margin: 0 0 6px; font-size: 14.5px; color: var(--ink); }
.seo-mat p { margin: 0 0 5px; font-size: 13px; line-height: 1.8; color: var(--text-soft); }
.seo-mat b { color: var(--text); }


/* ---------- 分享条内的清单文本域 ---------- */
.share-hint { margin: 8px 0 6px; font-size: 12.5px; color: var(--text-soft); text-align: left; }
.share-textarea {
  width: 100%; box-sizing: border-box;
  min-height: 110px; resize: vertical;
  font-size: 12px; line-height: 1.7;
  font-family: ui-monospace, Menlo, Consolas, monospace;
  padding: 9px 10px; margin-bottom: 8px;
  border: 1px solid var(--border); border-radius: 8px;
  background: #f6f3ec; color: var(--ink);
  white-space: pre;
}

/* ========== 门头招牌样册（signage.html / 单文件 #/signage） ========== */
.picked-bar {
  float: right;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-picked {
  padding: 5px 14px;
  border: 1px solid var(--gold);
  background: var(--gold-soft);
  color: #8a6a1f;
  border-radius: 999px;
  font-size: 12.5px; font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}
.btn-picked:hover:not(:disabled) { background: #efe0ba; }
.btn-picked:disabled { opacity: 0.42; cursor: not-allowed; }
.btn-picked.ghost { background: transparent; border-color: var(--border); color: var(--text-mute); }
.btn-picked.ghost:hover:not(:disabled) { border-color: var(--gold); color: var(--gold); }

.cat-chips .chip em {
  font-style: normal; opacity: 0.62;
  font-size: 11.5px; margin-left: 3px;
}

/* 每行 4 张 */
.sg-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  clear: both;
}
.sg-card {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.sg-card:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(27, 32, 48, 0.14); }
.sg-card.picked { border-color: var(--gold); box-shadow: 0 0 0 2px rgba(184, 146, 63, 0.32), var(--shadow); }

.sg-thumb-wrap { position: relative; cursor: zoom-in; background: var(--surface-2); }
.sg-thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  background: var(--surface-2);
}
.sg-code {
  position: absolute; left: 8px; top: 8px;
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(20, 26, 40, 0.78);
  color: #e6c97a;
  font-size: 11.5px; font-weight: 700;
  font-family: ui-monospace, Menlo, Consolas, monospace;
  letter-spacing: 0.4px;
}
.sg-pick {
  position: absolute; right: 8px; top: 8px;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.9);
  color: #33404f;
  font-size: 11.5px; font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}
.sg-pick:hover { background: #fff; border-color: var(--gold); color: #8a6a1f; }
.sg-pick.on { background: var(--gold); border-color: var(--gold); color: #1b2030; }
.sg-zoom {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 5px 10px;
  background: linear-gradient(180deg, rgba(20, 26, 40, 0) 0%, rgba(20, 26, 40, 0.72) 100%);
  color: #fff; font-size: 11.5px; text-align: right;
  opacity: 0; transition: opacity 0.15s ease;
  pointer-events: none;
}
.sg-thumb-wrap:hover .sg-zoom { opacity: 1; }

.sg-cap {
  padding: 9px 11px 11px;
  display: flex; flex-direction: column; gap: 4px;
}
.sg-name {
  font-size: 13.5px; font-weight: 700; color: var(--ink);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.sg-name.unnamed { color: var(--text-mute); font-weight: 600; font-family: ui-monospace, Menlo, Consolas, monospace; }
.sg-style { font-size: 11.5px; color: var(--text-mute); }

/* 门头工艺（12 种常用做法） */
.craft {
  margin: 34px 0 10px;
  padding: 26px 22px 24px;
  background: linear-gradient(180deg, #fbf9f5 0%, #f6f3ec 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.craft-title {
  margin: 0 0 9px;
  padding-left: 13px;
  position: relative;
  font-size: 20px;
  line-height: 1.4;
  color: var(--ink);
}
.craft-title::before {
  content: "";
  position: absolute; left: 0; top: 4px; bottom: 4px;
  width: 4px; border-radius: 2px;
  background: linear-gradient(180deg, var(--gold) 0%, var(--gold2) 100%);
}
.craft-lead {
  margin: 0 0 20px;
  font-size: 13.5px;
  line-height: 1.72;
  color: var(--text-soft);
}
.craft-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.craft-card {
  margin: 0;
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.craft-card:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(27, 32, 48, 0.14); }
.craft-img { position: relative; cursor: zoom-in; background: var(--surface-2); }
.craft-img img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  background: var(--surface-2);
}
.craft-no {
  position: absolute; left: 8px; top: 8px;
  min-width: 26px; text-align: center;
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(20, 26, 40, 0.78);
  color: #e6c97a;
  font-size: 11.5px; font-weight: 700;
  font-family: ui-monospace, Menlo, Consolas, monospace;
  letter-spacing: 0.4px;
}
.craft-card figcaption {
  flex: 1;
  padding: 11px 12px 13px;
  display: flex; flex-direction: column; gap: 6px;
}
.craft-card figcaption h3 { margin: 0; font-size: 14.5px; color: var(--ink); line-height: 1.45; }
.craft-card figcaption p { margin: 0; font-size: 12.5px; line-height: 1.66; color: var(--text-soft); }
.craft-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.craft-tags span {
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 11px; font-weight: 600;
  color: #8a6a1f;
  background: var(--gold-soft);
  border: 1px solid rgba(184, 146, 63, 0.28);
}
@media (max-width: 940px) { .craft-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px) { .craft-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) {
  .craft { padding: 20px 14px; }
  .craft-grid { grid-template-columns: 1fr; gap: 13px; }
}

/* 实拍案例库：分组快捷导航 + 锚点偏移 */
.gal-nav {
  display: flex; flex-wrap: wrap; gap: 9px;
  margin: 0 0 20px; padding: 14px 16px;
  background: #fff; border: 1px solid var(--border); border-radius: 12px;
}
.gal-nav a {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px; border-radius: 999px;
  background: var(--surface-2); border: 1px solid var(--border);
  font-size: 13px; color: var(--ink); text-decoration: none;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.gal-nav a:hover { border-color: var(--gold); color: var(--gold); background: #fff; }
.gal-nav a b { color: var(--gold); font-size: 12px; font-weight: 700; }
.gal-n {
  margin-left: 9px; padding: 2px 9px; border-radius: 999px;
  background: var(--surface-2); border: 1px solid var(--border);
  font-size: 12px; font-weight: 600; color: var(--text-mute);
  vertical-align: middle;
}
.craft[id] { scroll-margin-top: 96px; }

/* 分页 */
.sg-pager {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 6px; margin: 24px 0 6px;
}
.pg-btn {
  min-width: 38px;
  padding: 7px 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-soft);
  border-radius: 9px;
  font-size: 13px; font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}
.pg-btn:hover:not(:disabled) { border-color: var(--gold); color: var(--gold); }
.pg-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.pg-btn.active { background: var(--accent); border-color: var(--accent); color: #fff; }
.pg-gap { color: var(--text-mute); padding: 0 2px; }
.pg-jump { font-size: 12.5px; color: var(--text-mute); margin-left: 8px; }
.pg-jump input {
  width: 62px; padding: 6px 8px;
  border: 1px solid var(--border); border-radius: 8px;
  font-size: 13px; text-align: center;
  background: var(--surface); color: var(--text);
}

/* 大图预览 */
.sg-panel { max-width: 1080px; background: #10141f; }
.sg-detail { display: block; }
.sg-viewer {
  position: relative;
  background: #0b0f18;
  display: flex; align-items: center; justify-content: center;
  min-height: 260px;
}
.sg-big {
  max-width: 100%;
  max-height: 62vh;
  object-fit: contain;
  display: block;
}
.sg-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 46px; height: 72px;
  border: none; border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff; font-size: 34px; line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease;
}
.sg-nav:hover:not(:disabled) { background: rgba(184, 146, 63, 0.5); }
.sg-nav:disabled { opacity: 0.18; cursor: not-allowed; }
.sg-nav.prev { left: 10px; }
.sg-nav.next { right: 10px; }

.sg-detail-body { padding: 20px 24px 26px; background: var(--surface); }
.sg-detail-top { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.sg-code-big {
  padding: 3px 12px; border-radius: 999px;
  background: var(--gold-soft); color: #8a6a1f;
  font-size: 12.5px; font-weight: 800;
  font-family: ui-monospace, Menlo, Consolas, monospace;
  letter-spacing: 0.5px;
}
.sg-style-big {
  padding: 3px 11px; border-radius: 999px;
  background: var(--surface-2); border: 1px solid var(--border);
  color: var(--text-soft); font-size: 12px;
}
.sg-size { font-size: 12px; color: var(--text-mute); margin-left: auto; }
.sg-detail-title { margin: 12px 0 4px; font-size: 23px; font-weight: 800; color: var(--ink); }
.sg-detail-sub { margin: 0 0 16px; font-size: 12.5px; color: var(--text-mute); }

.sg-form { display: grid; grid-template-columns: 2fr 1fr; gap: 12px; margin-bottom: 16px; }
.sg-field { display: flex; flex-direction: column; gap: 6px; }
.sg-field > span { font-size: 12.5px; font-weight: 700; color: var(--text-soft); }
.sg-field input, .sg-field select {
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  background: var(--surface);
  color: var(--text);
  outline: none;
}
.sg-field input:focus, .sg-field select:focus { border-color: var(--gold); }

.sg-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 4px; }
.sg-btn {
  padding: 10px 20px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  border-radius: 10px;
  font-size: 13.5px; font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.15s ease;
}
.sg-btn:hover { border-color: var(--gold); color: #8a6a1f; }
.sg-btn.primary { background: linear-gradient(135deg, var(--gold) 0%, #e6c97a 100%); border-color: transparent; color: #1b2030; }
.sg-btn.primary:hover { filter: brightness(1.06); color: #1b2030; }

.sg-cta {
  margin-top: 16px;
  padding: 13px 16px;
  border-radius: 12px;
  background: var(--gold-soft);
  border: 1px solid #e6d4a8;
  font-size: 13.5px; color: #6b521f;
}
.sg-cta a { color: #8a6a1f; font-weight: 700; text-decoration: none; margin-left: 6px; }
.sg-cta a:hover { text-decoration: underline; }

@media (max-width: 960px) {
  .sg-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .sg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
  .sg-form { grid-template-columns: 1fr; }
  .sg-detail-body { padding: 16px 14px 20px; }
  .sg-detail-title { font-size: 19px; }
  .sg-big { max-height: 48vh; }
  .sg-nav { width: 38px; height: 60px; font-size: 26px; }
  .picked-bar { float: none; display: flex; margin-top: 8px; }
  .sg-size { margin-left: 0; width: 100%; }
  .pg-jump { width: 100%; text-align: center; margin: 6px 0 0; }
}

/* ===== 企业介绍页 · 顶部条 + 主导航 + 分类宫格（版式参考 gzcmgg） ===== */
.co-topbar {
  background: #0d1220;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 12.5px;
}
.co-topbar-inner {
  max-width: 1180px; margin: 0 auto; padding: 0 20px;
  height: 38px; line-height: 38px;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
}
.co-topbar-links { display: flex; gap: 16px; flex-wrap: wrap; }
.co-topbar-links a { color: #8b93a5; text-decoration: none; transition: color 0.15s; }
.co-topbar-links a:hover { color: var(--gold); }
.co-topbar-hot { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.co-topbar-hot .tel-main {
  color: var(--gold); font-family: Arial, sans-serif; font-size: 16px; font-weight: 800;
  text-decoration: none; letter-spacing: 0.5px;
}
.co-topbar-hot .tel-sub { color: #c3cad8; font-family: Arial, sans-serif; font-size: 13.5px; text-decoration: none; }
.co-topbar-hot .tel-note { font-size: 12px; color: #6d7484; }

.co-nav {
  background: #141a28;
  border-bottom: 2px solid var(--gold);
}
.co-nav-inner {
  max-width: 1180px; margin: 0 auto; padding: 0 20px;
  display: flex; align-items: center; flex-wrap: wrap; gap: 4px; min-height: 50px;
}
.co-nav-item { position: relative; }
.co-nav-a {
  display: block; padding: 0 18px; height: 50px; line-height: 50px;
  color: #dde2ec; text-decoration: none; font-size: 14.5px; font-weight: 600;
  transition: all 0.15s;
}
.co-nav-item.has-sub .co-nav-a { padding-right: 26px; }
.co-nav-item.has-sub .co-nav-a::after {
  content: ""; position: absolute; right: 15px; top: 24px;
  width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent;
  border-top: 5px solid #8b93a5;
  pointer-events: none;
}
.co-nav-item.has-sub:hover .co-nav-a { color: var(--gold); }
.co-nav-item:hover .co-submenu { display: block; }
.co-submenu {
  display: none; position: absolute; top: 50px; left: 0; z-index: 30;
  min-width: 148px; padding: 6px 0;
  background: #1b2233; border: 1px solid rgba(255, 255, 255, 0.09);
  border-top: 2px solid var(--gold); border-radius: 0 0 8px 8px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.4);
}
.co-submenu a {
  display: block; padding: 8px 16px; color: #c8cfdd; text-decoration: none; font-size: 13.5px;
}
.co-submenu a:hover { background: rgba(184, 146, 63, 0.14); color: var(--gold); }

.co-cats { margin-top: 22px; }
.co-cat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px; margin-top: 18px;
}
.co-cat {
  display: flex; flex-direction: column; gap: 5px;
  padding: 18px 16px 16px;
  background: #f7f8fb; border: 1px solid #e6e9f0; border-radius: 10px;
  text-decoration: none; color: #1f2534;
  transition: all 0.16s ease;
}
.co-cat:hover {
  background: #fff; border-color: var(--gold);
  transform: translateY(-2px); box-shadow: 0 8px 20px rgba(20, 26, 40, 0.1);
}
.co-cat-icon {
  width: 34px; height: 34px; line-height: 33px; text-align: center;
  border-radius: 9px;
  background: linear-gradient(135deg, #2a2138 0%, #141a28 100%);
  color: var(--gold); font-size: 16px; font-weight: 700;
}
.co-cat-name { font-size: 15px; font-weight: 700; color: #1f2534; margin-top: 3px; }
.co-cat-desc { font-size: 12.5px; color: #7b8395; line-height: 1.6; }

.co-disclaimer {
  margin-top: 26px; padding: 14px 16px;
  background: #f5f6f9; border-left: 3px solid #c9cfdc; border-radius: 0 8px 8px 0;
}
.co-disclaimer p { margin: 0; font-size: 12.5px; line-height: 1.8; color: #78808f; }

@media (max-width: 1100px) { .co-cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px) {
  .co-cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .co-topbar-inner { height: auto; padding: 8px 14px; line-height: 1.8; flex-direction: column; align-items: flex-start; }
  .co-nav-inner { padding: 0 12px; overflow-x: auto; flex-wrap: nowrap; }
  .co-nav-a { padding: 0 12px; height: 46px; line-height: 46px; font-size: 14px; }
  .co-nav-item.has-sub .co-nav-a::after { display: none; }
  .co-submenu { top: 46px; }
}
@media (max-width: 520px) { .co-cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; } }

/* ============================================================
   产品分类 / 项目案例 —— 标准企业站内页版式
   结构：内页 banner + 面包屑 → 左内容（chips + 4 列栅格）→ 右侧栏
   ============================================================ */

/* ---------- 内页 banner ---------- */
.pg-banner {
  background: linear-gradient(135deg, #141a28 0%, #2a2138 100%);
  padding: 34px 20px 30px;
  border-bottom: 2px solid var(--gold);
}
.pg-banner-inner { max-width: 1180px; margin: 0 auto; }
.pg-banner h1 {
  margin: 0; font-size: 27px; letter-spacing: 2px; color: #fff; font-weight: 800;
}
.pg-banner h1::after {
  content: ""; display: block; width: 46px; height: 3px; margin-top: 12px;
  background: var(--gold); border-radius: 2px;
}
.pg-crumb { margin: 12px 0 0; font-size: 13px; color: #9aa3b5; }
.pg-crumb a { color: #9aa3b5; text-decoration: none; }
.pg-crumb a:hover { color: var(--gold2); }
.pg-crumb span { color: var(--gold2); }
.pg-banner-lead {
  margin: 14px 0 0; max-width: 760px;
  font-size: 14px; line-height: 1.85; color: #c3cad8;
}

/* ---------- 两栏骨架 ---------- */
.pg-body { display: block; }
.pg-wrap {
  max-width: 1180px; margin: 0 auto; padding: 26px 20px 60px;
  display: grid; grid-template-columns: minmax(0, 1fr) 268px; gap: 26px;
  align-items: start;
}
.pg-main { min-width: 0; }
/* 总览页（产品分类 / 项目案例）：一屏看全分类，用满宽，不放右侧栏 */
.pg-wrap-wide { grid-template-columns: minmax(0, 1fr); }

/* ---------- 分类快速切换 chips ---------- */
.pg-chips {
  display: flex; flex-wrap: wrap; gap: 8px;
  padding: 12px 14px; background: #f5f6f9;
  border: 1px solid #e6e9f0; border-radius: 10px;
}
.pg-chip {
  padding: 7px 14px; border-radius: 20px; font-size: 13.5px;
  color: #4a5265; text-decoration: none; background: #fff;
  border: 1px solid #e0e4ec; transition: all 0.15s;
}
.pg-chip:hover { border-color: var(--gold); color: #8a6a1f; }
.pg-chip.on {
  background: linear-gradient(135deg, #2a2138, #141a28);
  color: var(--gold2); border-color: transparent; font-weight: 700;
}

.pg-lead {
  margin: 18px 0 0; padding: 14px 16px;
  background: var(--gold-soft); border: 1px solid #e6d4a8; border-radius: 9px;
  font-size: 14px; line-height: 1.85; color: #6b521f;
}

/* ---------- 区块 ---------- */
.pg-sec { margin-top: 28px; }
.pg-sec-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  padding-bottom: 10px; margin-bottom: 18px;
  border-bottom: 1px solid #e6e9f0;
}
.pg-sec-head h2 {
  margin: 0; font-size: 19px; font-weight: 800; color: #1f2534; letter-spacing: 1px;
  position: relative; padding-left: 13px;
}
.pg-sec-head h2::before {
  content: ""; position: absolute; left: 0; top: 5px; bottom: 5px; width: 4px;
  border-radius: 2px; background: var(--gold);
}
.pg-count { font-size: 13px; color: #8b93a5; }
.pg-more { font-size: 13px; color: #8a6a1f; text-decoration: none; font-weight: 600; }
.pg-more:hover { text-decoration: underline; }

/* ---------- 条目栅格（每行 4 列） ---------- */
.pg-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.pg-card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid #e6e9f0; border-radius: 11px;
  overflow: hidden; transition: all 0.18s ease;
}
.pg-card:hover {
  border-color: var(--gold); transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(20, 26, 40, 0.1);
}
.pg-card-img {
  display: block; position: relative; aspect-ratio: 4 / 3; overflow: hidden;
  background: #eef0f5;
}
.pg-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.3s; }
.pg-card:hover .pg-card-img img { transform: scale(1.05); }
.pg-card-img.placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px;
  background: linear-gradient(135deg, #f2f4f8 0%, #e8ebf2 100%);
}
.pg-card-img.placeholder span {
  width: 42px; height: 42px; line-height: 41px; text-align: center;
  border-radius: 11px; background: linear-gradient(135deg, #2a2138, #141a28);
  color: var(--gold); font-size: 19px; font-weight: 700;
}
.pg-card-img.placeholder em { font-size: 11.5px; color: #9aa3b5; font-style: normal; }
.pg-card-body { padding: 13px 14px 15px; flex: 1; }
.pg-card-body h3 {
  margin: 0 0 6px; font-size: 15px; font-weight: 700; color: #1f2534;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.pg-card-body p {
  margin: 0; font-size: 12.8px; line-height: 1.72; color: #7b8395;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.pg-card-more { display: inline-block; margin-top: 9px; font-size: 12.5px; color: #8a6a1f; font-weight: 600; }

/* ---------- 总览页分类宫格 ---------- */
.pg-catgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.pg-catcard {
  position: relative; display: flex; flex-direction: column; gap: 6px;
  padding: 20px 18px 18px;
  background: #fff; border: 1px solid #e6e9f0; border-radius: 12px;
  text-decoration: none; color: #1f2534; transition: all 0.18s ease;
}
.pg-catcard:hover {
  border-color: var(--gold); transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(20, 26, 40, 0.1);
}
.pg-catcard-icon {
  width: 40px; height: 40px; line-height: 39px; text-align: center;
  border-radius: 11px; background: linear-gradient(135deg, #2a2138, #141a28);
  color: var(--gold); font-size: 18px; font-weight: 700;
}
.pg-catcard b { font-size: 16px; font-weight: 800; margin-top: 4px; }
.pg-catcard em { font-size: 12.5px; color: #7b8395; font-style: normal; line-height: 1.65; }
.pg-catcard-n {
  position: absolute; right: 16px; top: 20px;
  font-size: 12px; color: #a8b0c0;
}

/* ---------- 关联材料 ---------- */
.pg-mats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.pg-mat {
  display: flex; flex-direction: column; gap: 4px;
  padding: 15px 15px 14px; border-radius: 10px;
  background: #f7f8fb; border: 1px solid #e6e9f0;
  text-decoration: none; color: #1f2534; transition: all 0.16s;
}
.pg-mat:hover { background: #fff; border-color: var(--gold); }
.pg-mat b { font-size: 14.5px; font-weight: 700; }
.pg-mat span { font-size: 12.5px; color: #7b8395; line-height: 1.6; }

/* ---------- FAQ ---------- */
.pg-faq { display: grid; gap: 9px; }
.pg-faq details {
  background: #f7f8fb; border: 1px solid #e6e9f0; border-radius: 9px;
  padding: 13px 15px; transition: border-color 0.15s;
}
.pg-faq details[open] { background: #fff; border-color: var(--gold); }
.pg-faq summary {
  cursor: pointer; font-size: 14.5px; font-weight: 700; color: #1f2534;
  list-style: none; position: relative; padding-right: 22px;
}
.pg-faq summary::-webkit-details-marker { display: none; }
.pg-faq summary::after {
  content: "+"; position: absolute; right: 0; top: -1px;
  font-size: 18px; color: var(--gold); font-weight: 400;
}
.pg-faq details[open] summary::after { content: "−"; }
.pg-faq p { margin: 10px 0 0; font-size: 13.5px; line-height: 1.85; color: #626a7d; }

/* ---------- 空态 ---------- */
.pg-empty {
  padding: 46px 26px; text-align: center;
  background: #f9fafc; border: 1px dashed #d8dde8; border-radius: 12px;
}
.pg-empty-icon {
  width: 54px; height: 54px; line-height: 53px; margin: 0 auto 14px;
  border-radius: 14px; background: linear-gradient(135deg, #2a2138, #141a28);
  color: var(--gold); font-size: 23px; font-weight: 700;
}
.pg-empty h3 { margin: 0 0 9px; font-size: 17px; color: #1f2534; font-weight: 700; }
.pg-empty p { margin: 0 0 18px; font-size: 13.5px; line-height: 1.9; color: #7b8395; }

/* ---------- 底部转化条 ---------- */
.pg-cta {
  margin-top: 30px; padding: 22px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: linear-gradient(135deg, #141a28 0%, #2a2138 100%);
  border-radius: 13px;
}
.pg-cta b { display: block; font-size: 16.5px; color: #fff; letter-spacing: 1px; }
.pg-cta span { display: block; margin-top: 5px; font-size: 13px; color: #aeb4c2; }
.btn-solid {
  padding: 11px 24px; border-radius: 9px; border: none; cursor: pointer;
  background: linear-gradient(135deg, var(--gold), #e6c97a);
  color: #1b2030; font-size: 14px; font-weight: 700; font-family: inherit;
  white-space: nowrap; transition: filter 0.15s;
}
.btn-solid:hover { filter: brightness(1.07); }

/* ---------- 右侧栏 ---------- */
.pg-side { position: sticky; top: 16px; display: grid; gap: 16px; }
.side-box {
  background: #fff; border: 1px solid #e6e9f0; border-radius: 11px;
  padding: 15px 16px 16px;
}
.side-t {
  margin: 0 0 12px; font-size: 15px; font-weight: 800; color: #1f2534;
  padding-bottom: 9px; border-bottom: 1px solid #eef0f5; letter-spacing: 1px;
}
.side-menu { list-style: none; margin: 0; padding: 0; }
.side-menu li { display: flex; align-items: center; }
.side-menu a {
  flex: 1; padding: 8px 10px; font-size: 13.5px; color: #4a5265;
  text-decoration: none; border-radius: 7px; transition: all 0.14s;
}
.side-menu a:hover { background: #f5f6f9; color: #8a6a1f; }
.side-menu li.on a {
  background: linear-gradient(135deg, #2a2138, #141a28);
  color: var(--gold2); font-weight: 700;
}
.side-menu .n { font-size: 11.5px; color: #a8b0c0; padding-right: 6px; }
.side-menu li.on .n { color: var(--gold2); }

.side-contact { background: linear-gradient(135deg, #1b2233 0%, #141a28 100%); border-color: transparent; }
.side-contact .side-t { color: #fff; border-color: rgba(255, 255, 255, 0.12); }
.side-tel {
  display: block; font-family: Arial, sans-serif; font-size: 20px; font-weight: 800;
  color: var(--gold2); text-decoration: none; letter-spacing: 0.5px; margin-top: 4px;
}
.side-telnote { display: block; font-size: 12px; color: #8b93a5; margin-top: 2px; }
.side-addr { margin: 12px 0 0; font-size: 12.5px; line-height: 1.75; color: #9aa3b5; }
.side-btn {
  width: 100%; margin-top: 14px; padding: 10px; border-radius: 8px; cursor: pointer;
  background: rgba(184, 146, 63, 0.16); border: 1px solid rgba(184, 146, 63, 0.5);
  color: #e6c97a; font-size: 13px; font-weight: 700; font-family: inherit;
  transition: all 0.15s;
}
.side-btn:hover { background: rgba(184, 146, 63, 0.3); }
.side-hot { list-style: none; margin: 0; padding: 0; }
.side-hot li {
  padding: 8px 0; font-size: 13.5px; color: #4a5265;
  border-bottom: 1px dashed #eef0f5;
}
.side-hot li:last-child { border-bottom: none; }
.side-hot span { font-size: 12px; color: #a8b0c0; }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .pg-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pg-catgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pg-wrap { grid-template-columns: minmax(0, 1fr) 232px; gap: 20px; }
}
@media (max-width: 900px) {
  .pg-wrap { grid-template-columns: minmax(0, 1fr); }
  .pg-side { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pg-catgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pg-mats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .pg-banner { padding: 22px 14px 20px; }
  .pg-banner h1 { font-size: 21px; }
  .pg-wrap { padding: 16px 13px 46px; }
  .pg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
  .pg-catgrid { grid-template-columns: repeat(1, minmax(0, 1fr)); }
  .pg-mats { grid-template-columns: repeat(1, minmax(0, 1fr)); }
  .pg-side { grid-template-columns: repeat(1, minmax(0, 1fr)); }
  .pg-cta { flex-direction: column; align-items: flex-start; }
  .pg-card-body { padding: 11px 11px 13px; }
  .pg-card-body h3 { font-size: 14px; }
}
