/* ============================================================
   言上法律团队官网 · 设计系统
   风格：暖白纸感 · 墨蓝主色 · 衬线标题 · 细线分隔 · 克制动效
   ============================================================ */

:root {
  --paper: #fdfcfb;
  --paper-soft: #f7f5f2;
  --paper-deep: #f1eee9;
  --ink: #1c2532;
  --ink-soft: #455266;
  --ink-mute: #7b8595;
  --navy: #0e2a47;
  --navy-deep: #0a1f36;
  /* 品牌标识色：取自左上角 Logo 主色，印章、重点标识统一用它 */
  --brand: #111b65;
  --seal-font: "Baoli SC", "STBaoliSC", "Baoli TC", STKaiti, KaiTi, "Kaiti SC", "Noto Serif SC", serif;
  --gold: #a5834b;
  --gold-soft: #c2a878;
  --line: #e6e1d8;
  --line-soft: #eeeae2;
  --serif: "Noto Serif SC", "Songti SC", "SimSun", serif;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  --shadow-sm: 0 1px 2px rgba(28, 37, 50, .04), 0 2px 12px rgba(28, 37, 50, .05);
  --shadow-md: 0 4px 14px rgba(28, 37, 50, .07), 0 12px 36px rgba(28, 37, 50, .08);
  --radius: 14px;
  --wrap: 1180px;
}

@media (prefers-reduced-motion: reduce) {
  .research-carousel-card,
  .research-carousel-arrow,
  .research-carousel-dots button { transition-duration: 1ms !important; }
}

/* iOS WKWebView 兼容：窄屏下回退到 overflow-x: hidden，避免 clip 导致 body 整体无法下拉；
* 桌面端保留 clip 防止建立滚动容器、维持 research.html 工具栏 sticky 吸顶 */
@media (max-width: 760px) {
  html, body { overflow-x: hidden !important; }
}

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

/* scroll-padding-top：锚点跳转时避开 sticky 导航（72px）+ 留白 */
html { scroll-behavior: smooth; scroll-padding-top: 92px; -webkit-text-size-adjust: 100%; overflow-x: clip; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.8;
  font-size: 16px;
  letter-spacing: .01em;
  /* clip 而非 hidden：同样裁掉横向溢出，但不会生成滚动容器，否则专题工具栏的 sticky 吸顶会失效 */
  overflow-x: clip;
  /* 顶部导航脱离文档流后，为页面内容预留固定高度，避免首屏被遮挡 */
  padding-top: 73px;
}

::selection { background: rgba(14, 42, 71, .12); }

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

/* ---------- 版式 ---------- */

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
.section { padding: 112px 0; }
.section-tight { padding: 76px 0; }
.section-soft { background: var(--paper-soft); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: 12.5px;
  letter-spacing: .42em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--gold-soft); }

.sec-head { margin-bottom: 58px; }
.sec-head h2 {
  font-family: var(--serif);
  font-size: clamp(26px, 3.4vw, 36px);
  font-weight: 600;
  color: var(--ink);
  margin-top: 14px;
  line-height: 1.4;
}
.sec-head p { color: var(--ink-soft); margin-top: 16px; max-width: 640px; font-size: 15.5px; }
.sec-head.split { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.sec-head.center { text-align: center; }
.sec-head.center h2 { margin-left: auto; margin-right: auto; }
.sec-head.center .eyebrow::after { content: ""; width: 28px; height: 1px; background: var(--gold-soft); }

/* 居中双行标题：英文 eyebrow + 主标题（带水印字）+ 副标题 */
.sec-head.center.stacked { margin-bottom: 66px; }
.sec-head.center.stacked::before {
  content: "";
  display: block;
  width: 7px; height: 7px;
  margin: 0 auto 20px;
  background: var(--gold);
  opacity: .9;
  transform: rotate(45deg);
}
.sec-head.center.stacked .eyebrow { font-size: 11.5px; letter-spacing: .36em; }
.sec-head.center.stacked .sh-title { position: relative; margin-top: 14px; }
.sec-head.center.stacked .sh-mark {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--serif);
  font-size: 96px; font-weight: 700; line-height: 1;
  color: rgba(165, 131, 75, .085);
  pointer-events: none;
  user-select: none;
}
.sec-head.center.stacked .sh-main {
  position: relative; z-index: 1;
  font-family: var(--serif);
  font-size: clamp(28px, 3.8vw, 40px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.45;
  letter-spacing: .08em;
}
.sec-head.center.stacked .sh-sub {
  position: relative;
  margin: 18px auto 0;
  padding-top: 18px;
  max-width: 760px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink-soft);
  letter-spacing: .04em;
  text-align: center;
}
.sec-head.center.stacked .sh-sub::before {
  content: "";
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 44px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.accent { color: var(--gold); }

/* ---------- 顶部导航 ---------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(253, 252, 251, .86);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow .3s ease;
}
.site-header.scrolled { box-shadow: 0 1px 18px rgba(28, 37, 50, .06); }

.nav-bar { display: flex; align-items: center; justify-content: space-between; height: 72px; }

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  flex: 0 0 auto;
  min-width: max-content;
}
.brand img {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  object-fit: cover;
}
.brand > span {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1;
}
.brand-name {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--navy);
  white-space: nowrap;
}
.brand-sub {
  display: block;
  margin-top: 6px;
  font-size: 8px;
  line-height: 1;
  letter-spacing: .16em;
  color: var(--ink-mute);
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-links { display: flex; align-items: center; gap: 14px; }
.nav-links a {
  position: relative;
  padding: 8px 9px;
  font-size: 14.5px;
  color: var(--ink-soft);
  border-radius: 8px;
  white-space: nowrap;
  transition: color .2s ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 2px;
  height: 1.5px;
  background: var(--gold);
  width: 0;
  transition: width .35s cubic-bezier(.16, 1, .3, 1);
}
.nav-links a:hover { color: var(--navy); }
.nav-links a.active { color: var(--navy); font-weight: 600; }
.nav-links a.active::after, .nav-links a:hover::after { width: 100%; }

/* 主导航下拉：关于言上 → 团队简介 / 业务领域 / 合作客户 / 客户评价 / 团队负责人 */
.nav-dropdown { position: relative; }
.nav-drop-toggle { display: inline-flex; align-items: center; gap: 5px; }
.nav-caret { width: 13px; height: 13px; flex-shrink: 0; opacity: .65; transition: transform .25s ease; }
.nav-dropdown:hover .nav-caret, .nav-dropdown:focus-within .nav-caret { transform: rotate(180deg); }
.nav-sub {
  position: absolute;
  top: 100%; left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 152px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
  z-index: 200;
}
/* 与触发项之间的透明桥接，避免鼠标移动时菜单消失 */
.nav-sub::before { content: ""; position: absolute; top: -10px; left: 0; right: 0; height: 10px; }
.nav-dropdown:hover .nav-sub, .nav-dropdown:focus-within .nav-sub {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-sub a {
  display: block;
  padding: 9px 15px;
  font-size: 14px; color: var(--ink-soft);
  border-radius: 8px; white-space: nowrap;
  transition: background .2s ease, color .2s ease;
}
.nav-sub a::after { display: none; }
.nav-sub a:hover { background: var(--paper-soft); color: var(--navy); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 22px;
  border: 1px solid var(--navy);
  color: var(--navy);
  font-size: 14px;
  border-radius: 999px;
  transition: all .25s ease;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--navy); color: #fff; }

.nav-toggle { display: none; border: none; background: none; cursor: pointer; padding: 8px; }
.nav-toggle svg { width: 24px; height: 24px; stroke: var(--ink); }
/* 移动端子菜单展开按钮由 JS 注入：桌面端（hover 下拉）必须整体隐藏，
   否则无 width/height 的 SVG 会以默认 300x150 渲染，在导航项后画出巨大折线 */
.nav-drop-expand { display: none; }

/* 中等宽度的过渡布局：品牌与导航之间保留明确呼吸感，
   同时压缩导航项本身，避免在 1025–1200px 区间首尾贴住。 */
@media (max-width: 1200px) {
  .nav-bar { column-gap: 18px; }
  .nav-links { gap: 8px; }
  .nav-links a { padding-inline: 7px; font-size: 14px; }
  .nav-cta { padding-inline: 18px; }
}

/* ---------- Hero ---------- */

.hero { position: relative; overflow: hidden; padding: 112px 0 96px; }
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(14, 42, 71, .05), transparent 60%),
    radial-gradient(600px 380px at -5% 110%, rgba(165, 131, 75, .07), transparent 60%);
  pointer-events: none;
}
.hero-grid {
  position: absolute; inset: 0;
  /* 三层叠加：细密点阵（纸面的颗粒质感）+ 疏朗网格（结构感），疏密对比出层次 */
  background-image:
    radial-gradient(circle at 1px 1px, rgba(17, 27, 101, .06) 1px, transparent 1.6px),
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 20px 20px, 72px 72px, 72px 72px;
  opacity: .5;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%);
  pointer-events: none;
}

.hero-body { position: relative; }

/* 并排两卡时，荣誉格改 5 列 × 2 行：行数减半、卡片更紧凑，
   「团队经验」四项等分填充后高度也更协调 */
.hero-panels .hh-grid { grid-template-columns: repeat(5, 1fr); }
/* 团队经验 / 荣誉奖项：上下排列（经验一行、奖项两行） */
.hero-panels {
  display: block;
  margin-top: 40px;
}
/* 团队介绍之下的「关于言上」文字链 */
.hero-foot {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 30px;
}
/* 数据卡之下的「更多荣誉」文字链 */
.hero-more {
  display: flex;
  justify-content: center;
  margin-top: 26px;
}
/* inline-link 自带 margin-top: 28px，此处由容器统一控制间距，避免叠加 */
.hero-foot .inline-link,
.hero-more .inline-link { margin-top: 0; }
/* ── Hero 通栏标题区 ──────────────────────────────────────────
   品牌名「言上法律团队」为 hero 唯一主角：最大字号 + 宽字距居中，
   上方英文识别带补白压重，下方金线菱形过渡，服务理念居中收束；
   三层纵向递进，主次分明
   ────────────────────────────────────────────────────────── */
.hero-head { text-align: center; margin-bottom: 48px; }
/* ── Hero 题头：克制的三层对称构图 ────────────────────────────
   题记小字极宽字距 → 品牌名巨字 → 服务理念，
   层级靠字号与字距拉开，装饰只保留一条渐隐细线；
   两处短语均不用标点，改由留白断句，避免标点体例打架
   ────────────────────────────────────────────────────────── */
.hero-head { text-align: center; margin-bottom: 48px; }

/* 英文识别带：小字、超宽字距，托起中文主标题而不抢视觉重量
   （题记位现为品牌英文名，样式直接启用） */
.hero-eyebrow {
  display: block;
  margin: 0 0 24px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .46em;
  color: var(--gold);
  opacity: .92;
}
.hero-slogan {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(38px, 7.2vw, 84px);
  font-weight: 700;
  line-height: 1.26;
  letter-spacing: .19em;
  color: var(--navy);
}
/* 主副之间的呼吸线：渐隐细笔，长度短、无端点装饰，只起分隔与留白作用 */
.hero-rule {
  display: block;
  width: clamp(48px, 9vw, 80px);
  height: 1px;
  margin: 30px auto 28px;
  background: linear-gradient(90deg, rgba(165, 131, 75, 0), rgba(165, 131, 75, .6), rgba(165, 131, 75, 0));
}
.hero-creed {
  display: flex; align-items: center; justify-content: center; gap: clamp(14px, 2.4vw, 26px);
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(16px, 2.4vw, 25px);
  font-weight: 500;
  letter-spacing: .34em;
  line-height: 1.6;
  color: var(--ink-soft);
}
/* 两侧横线：由外向内渐隐的金色细线，托住服务理念，视觉更均衡；
   内侧各收一枚小菱形端点，避免线头虚散 */
.hero-creed i {
  position: relative;
  flex: 0 0 auto;
  width: clamp(28px, 7vw, 88px);
  height: 1px;
  background: linear-gradient(90deg, rgba(165, 131, 75, 0), rgba(165, 131, 75, .55));
}
.hero-creed i::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 4px; height: 4px;
  background: var(--gold);
  transform: translateY(-50%) rotate(45deg);
}
.hero-creed i:first-child::after { right: 0; }
.hero-creed i:last-child::after { left: 0; }
.hero-creed i:last-child {
  background: linear-gradient(90deg, rgba(165, 131, 75, .55), rgba(165, 131, 75, 0));
}
/* 「深度」「温度」金色聚焦：主标语收为纯品牌名后，金色记忆点下移至服务理念 */
.hero-creed em { font-style: normal; font-weight: 600; color: var(--gold); }

/* 团队简介：单栏通栏，两段自然上下承接 */
.hero-desc {
  display: block;
  margin-top: 0;
  font-size: 15px;
  line-height: 1.95;
  color: var(--ink-soft);
  text-align: justify;
}
.hero-desc p + p { margin-top: 14px; }
.hero-desc b { color: var(--ink); font-weight: 600; }
.hero-desc a { color: var(--gold); border-bottom: 1px solid var(--gold-soft); }
.hero-desc a:hover { color: var(--navy); border-bottom-color: var(--navy); }
/* 左列改为纵向 flex：按钮与印章推至底部，与右列卡片底部齐平 */
.hero-main { display: flex; flex-direction: column; }
.hero-actions { display: flex; gap: 18px; margin-top: 0; flex-wrap: wrap; justify-content: center; }
.hero-actions .btn { min-width: 198px; justify-content: center; }


/* Hero 右侧：数字滚动卡片 */
.hero-stats,
.hero-honors {
  position: relative;
  background: rgba(255, 255, 255, .84);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 1px 2px rgba(28, 37, 50, .04), 0 18px 48px rgba(28, 37, 50, .07);
  overflow: hidden;
}
.hero-stats { padding: 30px 30px 18px; }
.hs-head { margin-bottom: 16px; text-align: center; }
.hs-head .eyebrow { font-size: 11.5px; letter-spacing: .34em; }
.hs-head h2 { font-family: var(--serif); font-size: 21px; font-weight: 700; color: var(--navy); margin-top: 10px; }

.hs-list { display: grid; grid-template-columns: repeat(4, 1fr); }
.hs-item {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: 11px;
  min-height: 108px;
  padding: 22px 12px;
}
/* 四项一行：虚线只出现在相邻两项之间，末项不画 */
.hs-item:not(:last-child) { border-right: 1px dashed var(--line-soft); }
.hs-num {
  font-family: var(--serif);
  font-size: 34px; font-weight: 700; line-height: 1;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
  letter-spacing: -.01em;
}
.hs-num small { font-size: 15px; font-weight: 600; color: var(--gold); margin-left: 3px; }
.hs-label { font-size: 12.5px; line-height: 1.6; color: var(--ink-soft); }
.hs-label b { color: var(--ink); font-weight: 600; }

/* Hero 右侧：荣誉卡片 */
.hero-honors {
  margin-top: 18px;
  padding: 30px 28px 30px;
  display: flex; flex-direction: column;
}
.hh-head { margin-bottom: 16px; text-align: center; }
.hh-head .eyebrow { font-size: 11.5px; letter-spacing: .34em; }
.hh-head h2 { font-family: var(--serif); font-size: 21px; font-weight: 700; line-height: 1.4; color: var(--navy); margin-top: 10px; }
/* grid-auto-rows: 1fr —— 卡片被拉高时，荣誉格等分增高（内容居中），而非把间距拉散 */
.hh-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px;
  flex: 1; grid-auto-rows: 1fr;
}
.hh-cell {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: 9px;
  min-height: 102px;
  padding: 15px 10px;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 9px;
  transition: all .25s ease;
}
.hh-cell:hover { border-color: var(--gold-soft); box-shadow: var(--shadow-sm); }
.hh-cell strong { font-family: var(--serif); font-size: 30px; font-weight: 700; line-height: 1; color: var(--navy); font-variant-numeric: tabular-nums; }
.hh-cell strong .hs-count { font-size: 30px; }
.hh-cell strong small { font-size: 15px; font-weight: 600; color: var(--gold); margin-left: 3px; }
.hh-cell > span { font-size: 12.5px; line-height: 1.55; color: var(--ink-soft); }
.hh-more {
  display: inline-flex; align-items: center; gap: 7px;
  align-self: center;
  margin-top: 16px;
  font-size: 13px; font-weight: 600; color: var(--navy);
  border-bottom: 1.5px solid var(--gold-soft);
  padding-bottom: 3px;
  transition: gap .25s ease;
}
.hh-more:hover { gap: 12px; }
.hh-more svg { width: 14px; height: 14px; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 34px;
  border-radius: 999px;
  font-size: 15.5px;
  transition: all .25s ease;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn svg { width: 17px; height: 17px; }
.btn-primary { background: var(--navy); color: #fff; box-shadow: 0 6px 20px rgba(14, 42, 71, .22); }
.btn-primary:hover { background: var(--navy-deep); transform: translateY(-2px); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: rgba(253, 252, 251, .7); }
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); transform: translateY(-2px); }

/* ---------- 数据统计带 ---------- */

.stats-band {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: var(--paper);
}
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-cell { padding: 44px 20px; text-align: center; position: relative; }
.stat-cell + .stat-cell::before {
  content: ""; position: absolute; left: 0; top: 28%; bottom: 28%;
  width: 1px; background: var(--line-soft);
}
.stat-num { font-family: var(--serif); font-size: 44px; font-weight: 700; color: var(--navy); line-height: 1.1; }
.stat-num small { font-size: 17px; font-weight: 600; color: var(--gold); margin-left: 2px; }
.stat-label { font-size: 14px; color: var(--ink-soft); margin-top: 10px; }
.stat-label b { color: var(--ink); font-weight: 600; }

/* ---------- 客户矩阵 ---------- */

.client-matrix-group { margin-bottom: 56px; }
.client-matrix-group:last-child { margin-bottom: 0; }
.cmg-label { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.cmg-label span { font-family: var(--serif); font-size: 18px; font-weight: 700; color: var(--navy); }
.cmg-label::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.client-logo-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.client-logo-grid li {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  aspect-ratio: 1 / 1;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 24px 14px;
  gap: 14px;
  transition: all .3s ease;
}
.client-logo-grid li:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); border-color: var(--line); }
.client-logo-grid img {
  max-width: 70%; max-height: 48%; object-fit: contain;
  transition: transform .35s cubic-bezier(.16, 1, .3, 1), filter .35s ease;
  transform-origin: center;
}
.client-logo-grid li:hover img,
.client-logo-grid li:focus-within img {
  transform: scale(1.06);
  filter: saturate(1.08) drop-shadow(0 6px 8px rgba(14, 42, 71, .1));
}
.client-logo-grid span { font-size: 13.5px; color: var(--ink); text-align: center; }
.client-logo-grid .no-logo {
  width: 64px; height: 64px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--paper-soft);
  border: 1px solid var(--line);
  font-family: var(--serif); font-size: 20px; font-weight: 700; color: var(--gold);
}

/* 团队页合作客户：39 家客户，6 列更紧凑 */
.client-matrix.six .client-logo-grid { grid-template-columns: repeat(6, 1fr); gap: 14px; }
.client-matrix.six .client-logo-grid li { padding: 18px 10px; gap: 10px; }
.client-matrix.six .client-logo-grid img { max-width: 76%; max-height: 52%; }
.client-matrix.six .client-logo-grid span { font-size: 12.5px; }
.client-matrix.six .client-logo-grid .no-logo { width: 52px; height: 52px; font-size: 17px; }

.client-groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.client-group {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 30px 28px;
  transition: box-shadow .3s ease;
}
.client-group:hover { box-shadow: var(--shadow-sm); }
.client-group-label {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--serif); font-size: 17px; font-weight: 700; color: var(--navy);
  margin-bottom: 18px;
}
.client-group-label::after { content: ""; flex: 1; height: 1px; background: var(--line-soft); }
.client-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.client-tags span {
  font-size: 13.5px;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 5px 14px;
  border-radius: 999px;
  transition: all .2s ease;
}
.client-tags span:hover { border-color: var(--gold-soft); color: var(--navy); }

/* ---------- 客户评价 ---------- */

.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.testimonial {
  position: relative;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 34px 30px 28px;
  display: flex; flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease;
}
.testimonial:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.testimonial .quote-mark {
  font-family: var(--serif);
  font-size: 54px; line-height: 1;
  color: var(--gold-soft);
  height: 34px;
}
.testimonial p { font-size: 14.5px; color: var(--ink-soft); text-align: justify; flex: 1; }
.testimonial footer { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line-soft); }
.testimonial footer strong { display: block; font-family: var(--serif); font-size: 16px; color: var(--ink); }
.testimonial footer span { font-size: 13px; color: var(--ink-mute); }

/* ---------- 业务领域卡片 ---------- */

.practice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.practice-card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px 19px;
  transition: border-color .25s ease, background .25s ease;
}
.practice-card:hover { border-color: var(--gold); background: #fff; }
.practice-card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.practice-icon {
  width: 34px; height: 34px;
  border-radius: 8px;
  background: var(--paper-soft);
  display: grid; place-items: center;
  color: var(--navy);
}
.practice-icon svg { width: 16px; height: 16px; }
.practice-num { font-family: var(--serif); font-size: 11px; color: var(--gold); letter-spacing: .12em; }
.practice-card h3 { font-family: var(--serif); font-size: 14.5px; font-weight: 700; color: var(--navy); margin-bottom: 7px; }
.practice-card > p { font-size: 12px; line-height: 1.6; color: var(--ink-soft); text-align: justify; }
.practice-card ul { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.practice-card ul li {
  font-size: 12.5px; color: var(--ink-mute);
  border: 1px solid var(--line-soft); background: var(--paper);
  padding: 4px 12px; border-radius: 999px;
}

/* ---------- 研究成果 · Framer Video Carousel 同款 3D 轮播 ---------- */
.sr-only {
  position: absolute !important; width: 1px !important; height: 1px !important;
  padding: 0 !important; margin: -1px !important; overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important;
}
.research-carousel {
  position: relative; width: 100%; height: clamp(570px, 62vw, 720px);
  overflow: hidden; perspective: 1000px; touch-action: pan-y;
  user-select: none; -webkit-user-select: none; outline: none;
}
.research-carousel:focus-visible { outline: 1px solid rgba(180, 137, 65, .65); outline-offset: 5px; }
.research-carousel-stage { position: absolute; inset: 0; transform-style: preserve-3d; }
.research-carousel-card {
  --carousel-x: 0px; --carousel-z: 0px; --carousel-rotate: 0deg;
  --carousel-scale: 1; --carousel-blur: 0px;
  position: absolute; top: 50%; left: 50%; width: clamp(250px, 29vw, 390px);
  aspect-ratio: 1031 / 1457; margin: 0; overflow: hidden;
  background: #fff; border: 1px solid rgba(225, 217, 204, .9); border-radius: 16px;
  box-shadow: 0 18px 40px rgba(14, 43, 70, .09); opacity: 0;
  filter: blur(var(--carousel-blur));
  translate: -50% -50%;
  transform: translateX(var(--carousel-x)) translateZ(var(--carousel-z)) rotateY(var(--carousel-rotate)) scale(var(--carousel-scale));
  transform-style: preserve-3d; transform-origin: center; backface-visibility: hidden;
  will-change: transform, filter, opacity; pointer-events: none;
  transition: transform 520ms cubic-bezier(.22, 1, .36, 1), filter 440ms ease, opacity 440ms ease, box-shadow 320ms ease;
}
.research-carousel-card.is-active {
  pointer-events: auto; cursor: grab; box-shadow: 0 28px 65px rgba(14, 43, 70, .18);
}
.research-carousel:not(.is-dragging) .research-carousel-card.is-active:hover {
  transform: translateX(var(--carousel-x)) translateZ(var(--carousel-z)) rotateY(var(--carousel-rotate)) scale(1.03);
}
.research-carousel.is-dragging,
.research-carousel.is-dragging .research-carousel-card.is-active { cursor: grabbing; }
.research-carousel.is-dragging .research-carousel-card { transition: none; }
.research-carousel-card img {
  display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; pointer-events: none;
}
.research-carousel-arrow {
  position: absolute; z-index: 20; top: 50%; display: grid; place-items: center;
  width: 46px; height: 46px; padding: 0; border: 1px solid rgba(14, 43, 70, .1);
  border-radius: 999px; color: var(--navy); background: rgba(255, 255, 255, .9);
  box-shadow: 0 8px 25px rgba(14, 43, 70, .13); backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px); transform: translateY(-50%); cursor: pointer;
  transition: color .25s ease, background .25s ease, transform .25s ease;
}
.research-carousel-arrow:hover { color: #fff; background: var(--navy); transform: translateY(-50%) scale(1.06); }
.research-carousel-arrow:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.research-carousel-arrow svg { width: 21px; height: 21px; }
.research-carousel-prev { left: clamp(10px, 3vw, 42px); }
.research-carousel-next { right: clamp(10px, 3vw, 42px); }
.research-carousel-dots {
  position: absolute; z-index: 20; left: 50%; bottom: 14px; display: flex;
  align-items: center; gap: 8px; padding: 10px 13px; border: 1px solid rgba(14, 43, 70, .08);
  border-radius: 999px; background: rgba(255, 255, 255, .86);
  box-shadow: 0 6px 22px rgba(14, 43, 70, .1); backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px); transform: translateX(-50%);
}
.research-carousel-dots button {
  width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px;
  background: rgba(14, 43, 70, .28); cursor: pointer;
  transition: width .28s ease, background .28s ease, transform .28s ease;
}
.research-carousel-dots button:hover { transform: scale(1.2); }
.research-carousel-dots button.active { width: 24px; background: var(--navy); }
.research-carousel-dots button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ---------- 荣誉数字墙 ---------- */

.honor-wall { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; }
.honor-cell { background: #fff; padding: 34px 26px; text-align: center; }
.honor-cell strong { display: block; font-family: var(--serif); font-size: 38px; font-weight: 700; color: var(--navy); line-height: 1.15; }
.honor-cell strong small { font-size: 16px; color: var(--gold); font-weight: 600; }
.honor-cell span { display: block; font-size: 13.5px; color: var(--ink-soft); margin-top: 8px; line-height: 1.6; }

.honor-wall.five { grid-template-columns: repeat(5, 1fr); }
.honor-wall.five .honor-cell { padding: 30px 18px; }
.honor-wall .honor-total { background: linear-gradient(170deg, #fff, var(--paper-soft)); box-shadow: inset 0 0 0 1px var(--gold-soft); }
.honor-wall .honor-total strong { color: var(--gold); }

/* ---------- 负责人介绍 ---------- */

/* 两列 × 两行网格：照片 | 个人简介 / 名片 | 个人荣誉
   两列均 stretch 等高：照片与名片自动撑满对应行高，左右完全齐平 */
.leader-top {
  display: grid;
  grid-template-columns: 360px 1fr;
  align-items: stretch;
}
.leader-figure {
  grid-column: 1; grid-row: 1;
  padding-bottom: 20px;
  display: flex; flex-direction: column;
}
.leader-intro {
  grid-column: 2; grid-row: 1;
  padding: 0 0 34px 56px;
  border-left: 1px solid var(--line-soft);
}
.leader-card { grid-column: 1; grid-row: 2; }
.leader-honors {
  position: relative;
  grid-column: 2; grid-row: 2;
  padding: 34px 0 0 56px;
  border-left: 1px solid var(--line-soft);
}
/* 与上方个人简介的分隔线：金色起笔 44px 后转细线 */
.leader-honors::before {
  content: "";
  position: absolute; top: 0; left: 56px; right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--gold) 0, var(--gold) 44px, var(--line-soft) 44px, var(--line-soft));
}
.leader-figure { position: relative; }
.leader-frame {
  position: relative;
  flex: 1;
  min-height: 420px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, var(--paper-soft), var(--paper-deep));
}
.leader-frame img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.leader-caption {
  position: absolute; left: 16px; right: 16px; bottom: 16px;
  background: rgba(10, 31, 54, .82);
  backdrop-filter: blur(8px);
  color: #fff;
  border-radius: 10px;
  padding: 14px 20px;
}
.leader-caption strong { display: block; font-family: var(--serif); font-size: 19px; letter-spacing: .06em; }
.leader-caption span { font-size: 12.5px; opacity: .85; }

.leader-card {
  position: relative;
  display: flex; flex-direction: column; justify-content: center;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  padding: 24px 26px;
  text-align: center;
}
/* 顶部金色短横线：与个人荣誉方格的装饰线同属一套设计语言 */
.leader-card::before {
  content: "";
  position: absolute; top: 26px; left: 50%; transform: translateX(-50%);
  width: 36px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.leader-card .lc-name {
  display: block;
  font-family: var(--serif); font-size: 21px; font-weight: 700;
  color: var(--navy); letter-spacing: .18em;
  margin-bottom: 12px;
}
.leader-card .lc-line { display: block; font-size: 13px; color: var(--ink-soft); line-height: 1.92; }
.leader-card .lc-line.lc-nowrap { white-space: nowrap; font-size: 12px; letter-spacing: -.01em; }
.leader-card .lc-sep { color: var(--gold-soft); margin: 0 7px; font-weight: 400; }
.leader-card .lc-mail {
  display: block;
  margin-top: 12px; padding-top: 12px;
  border-top: 1px dashed var(--line-soft);
  font-size: 13px; color: var(--ink-soft);
}
.leader-card .lc-mail a { color: var(--navy); font-weight: 600; }
.leader-card .lc-mail a:hover { color: var(--gold); }

.leader-body h3 { font-family: var(--serif); font-size: 28px; font-weight: 700; color: var(--navy); }
.leader-role { color: var(--ink-mute); font-size: 14.5px; margin: 6px 0 20px; }
.leader-credo { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.leader-credo span {
  font-size: 13px; color: var(--navy);
  background: rgba(14, 42, 71, .05);
  border: 1px solid rgba(14, 42, 71, .1);
  padding: 5px 14px; border-radius: 999px;
}
.leader-bio { font-size: 15.5px; color: var(--ink-soft); text-align: justify; }
.leader-bio p + p { margin-top: 16px; }
.leader-bio b { color: var(--ink); }
.leader-bio a { color: var(--gold); border-bottom: 1px solid var(--gold-soft); }
.leader-bio a:hover { color: var(--navy); border-bottom-color: var(--navy); }

/* 主要职务区块移除后，只剩「查看团队介绍」，间距相应收窄使其上移 */
.leader-blocks { margin-top: 34px; }
/* 团队页：社会职务区块直接接在 leader-top 之后（无 leader-blocks 包裹） */
.leader-top + .leader-block { margin-top: 56px; }
.leader-block { position: relative; }
.leader-block .leader-honors-title:first-child { margin-top: 0; }
.leader-block + .leader-block { margin-top: 48px; }
.leader-honors-title { font-family: var(--serif); font-size: 16px; font-weight: 700; color: var(--ink); margin: 30px 0 14px; }
.leader-honors-title.first { margin-top: 0; }

/* 个人荣誉：与「主要职务」同款扁平方框网格（3 行 × 3 列，独立卡片 + 间距） */
.leader-honor-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.leader-honor-grid li {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  min-height: 76px;
  padding: 22px 14px 14px;
  font-size: 12.5px; line-height: 1.7; color: var(--ink-soft);
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  transition: border-color .28s ease, box-shadow .28s ease, color .28s ease;
}
/* 顶部金色短横线：与主要职务的 .lrb-role::before 呼应 */
.leader-honor-grid li::before {
  content: "";
  position: absolute; top: 13px; left: 50%; transform: translateX(-50%);
  width: 18px; height: 1px;
  background: var(--gold-soft);
  transition: width .28s ease, background .28s ease;
}
.leader-honor-grid li:hover {
  border-color: var(--gold-soft);
  box-shadow: var(--shadow-sm);
  color: var(--ink);
}
.leader-honor-grid li:hover::before { width: 34px; background: var(--gold); }

/* 社会职务：4 列 × 7 行扁平方框，左侧金色编号（与个人荣誉同一套卡片语言） */
.role-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.role-grid li {
  display: flex; align-items: center; gap: 11px;
  min-height: 76px;
  padding: 14px 18px;
  font-size: 13px; line-height: 1.65; color: var(--ink-soft);
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  transition: border-color .28s ease, box-shadow .28s ease;
}
.role-grid li i {
  flex-shrink: 0;
  font-family: var(--serif); font-style: normal;
  font-size: 12px; letter-spacing: .1em;
  color: var(--gold);
}
.role-grid li:hover { border-color: var(--gold-soft); box-shadow: var(--shadow-sm); }

.leader-role-boxes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.leader-role-boxes li {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: 8px;
  min-height: 84px;
  padding: 14px 14px;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  transition: all .25s ease;
}
.leader-role-boxes li:hover { border-color: var(--gold-soft); box-shadow: var(--shadow-sm); }
.leader-role-boxes .lrb-org { font-size: 12.5px; line-height: 1.65; color: var(--ink-soft); }
.leader-role-boxes .lrb-role {
  position: relative;
  font-family: var(--serif); font-size: 13.5px; font-weight: 700; color: var(--gold);
  padding-top: 9px;
}
.leader-role-boxes .lrb-role::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 18px; height: 1px; background: var(--gold-soft);
}

.inline-link {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 28px;
  font-size: 15px; font-weight: 600; color: var(--navy);
  border-bottom: 1.5px solid var(--gold-soft);
  padding-bottom: 3px;
  transition: gap .25s ease;
}
.inline-link:hover { gap: 14px; }
.inline-link svg { width: 16px; height: 16px; }

/* ---------- 案例卡片 ---------- */

.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case-card {
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}
.case-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.case-visual {
  position: relative;
  aspect-ratio: 16/9;
  background: linear-gradient(150deg, var(--navy) 0%, #16395e 55%, #1d4874 100%);
  display: grid; place-items: center;
  overflow: hidden;
}
.case-visual::after {
  content: "";
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 36px 36px;
}
.case-visual .case-glyph { position: relative; z-index: 2; font-family: var(--serif); color: rgba(255,255,255,.9); }
.case-visual .case-glyph .glyph-title { font-size: 21px; font-weight: 700; letter-spacing: .12em; }
.case-visual .case-glyph .glyph-sub { font-size: 11px; letter-spacing: .32em; color: var(--gold-soft); margin-top: 6px; text-align: center; }
.case-number {
  position: absolute; top: 14px; right: 18px; z-index: 2;
  font-family: var(--serif); font-size: 15px; color: rgba(255,255,255,.55); letter-spacing: .15em;
}
.case-content { padding: 26px 28px 24px; flex: 1; display: flex; flex-direction: column; }
.case-tag { font-size: 12.5px; color: var(--gold); letter-spacing: .06em; }
.case-content h3 { font-family: var(--serif); font-size: 19px; font-weight: 700; color: var(--navy); margin: 10px 0 10px; }
.case-content > p { font-size: 14px; color: var(--ink-soft); flex: 1; text-align: justify; }
.case-content footer { display: flex; align-items: center; justify-content: space-between; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line-soft); }
.case-content footer strong { font-size: 13.5px; color: var(--ink); }
.case-content footer .more { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--navy); font-weight: 600; }
.case-content footer .more svg { width: 15px; height: 15px; }

/* ---------- 行业 × 专业 ---------- */

.focus-label { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.focus-label span { font-family: var(--serif); font-size: 19px; font-weight: 700; color: var(--navy); }
.focus-label em { font-style: normal; font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--ink-mute); }
.focus-label::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.focus-group + .focus-group { margin-top: 40px; }

.practice-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.practice-chip {
  text-align: center;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 24px 14px;
  transition: all .3s ease;
}
.practice-chip:hover { border-color: var(--gold-soft); transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.practice-chip .pc-num { display: block; font-family: var(--serif); font-size: 12.5px; letter-spacing: .2em; color: var(--gold); margin-bottom: 8px; }
.practice-chip strong { font-family: var(--serif); font-size: 16.5px; font-weight: 700; color: var(--navy); }

.focus-practice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.practice-item {
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 28px 26px 24px;
  transition: all .3s ease;
}
.practice-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line); }
.practice-item .pi-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.practice-item .pc-num { font-family: var(--serif); font-size: 13px; letter-spacing: .18em; color: var(--gold); }
.practice-item h3 { font-family: var(--serif); font-size: 18.5px; font-weight: 700; color: var(--navy); line-height: 1.5; }
.practice-item p { font-size: 14px; line-height: 1.85; color: var(--ink-soft); text-align: justify; flex: 1; }
.practice-item .pi-tags {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 18px; padding-top: 16px;
  border-top: 1px dashed var(--line-soft);
}
.practice-item .pi-tags li {
  font-size: 12.5px; color: var(--navy);
  background: var(--paper-soft);
  border: 1px solid var(--line-soft);
  padding: 4px 12px; border-radius: 999px;
}

/* ---------- 行业聚焦 ---------- */

.industry-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.industry-card {
  text-align: center;
  border: 1px solid var(--line-soft);
  background: #fff;
  border-radius: var(--radius);
  padding: 36px 16px 30px;
  transition: all .3s ease;
}
.industry-card:hover { border-color: var(--gold-soft); transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.industry-card .industry-icon {
  width: 52px; height: 52px; margin: 0 auto 16px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid; place-items: center;
  color: var(--navy);
  background: var(--paper-soft);
}
.industry-card .industry-icon svg { width: 24px; height: 24px; }
.industry-card strong { display: block; font-family: var(--serif); font-size: 18px; color: var(--navy); }
.industry-card span { display: block; font-size: 11px; letter-spacing: .22em; color: var(--ink-mute); text-transform: uppercase; margin-top: 4px; }

/* ---------- CTA ---------- */

.cta-band {
  position: relative;
  color: #ffffff;
  overflow: hidden;
  background:
    radial-gradient(
      ellipse 46% 64% at 90% 0%,
      rgba(29,75,124,.22) 0%,
      rgba(20,59,102,.11) 44%,
      rgba(8,20,38,0) 76%
    ),
    linear-gradient(118deg, #081426 0%, #0a1930 60%, #0b1b33 100%);
}
.cta-band::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.017) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.017) 1px, transparent 1px);
  background-size: 96px 96px;
}
.cta-band::after {
  content: "";
  position: absolute; right: -140px; top: -200px;
  width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(178,139,82,.105), transparent 68%);
}
.cta-inner { position: relative; z-index: 2; text-align: center; padding: 96px 0; }
.cta-inner .eyebrow { color: #b28b52; }
.cta-inner h2 { font-family: var(--serif); font-size: clamp(28px, 4vw, 42px); font-weight: 700; margin: 18px 0 16px; }
/* 「复杂」「专业」成对强调：同为品牌浅金，形成对仗而非单点跳色 */
.cta-inner h2 em { font-style: normal; color: #b28b52; }
.cta-inner p { color: rgba(235,239,242,.74); max-width: 560px; margin: 0 auto 40px; }
.cta-inner p.cta-copy { max-width: 620px; line-height: 2; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
/* CTA 区块下邮箱/电话两按钮等宽对齐：保证两个胶囊视觉重量一致；移动端折叠为单列 */
.cta-band .cta-actions .btn { min-width: 296px; justify-content: center; }
.cta-band .btn-primary { background: #b28b52; color: #ffffff; box-shadow: 0 8px 26px rgba(54,40,21,.34); }
.cta-band .btn-primary:hover { background: #c09a61; }
.cta-band .btn-ghost { border-color: rgba(226,233,238,.34); color: #ffffff; background: rgba(255,255,255,.012); }
.cta-band .btn-ghost:hover { border-color: rgba(255,255,255,.76); background: rgba(255,255,255,.05); }

/* ---------- 页脚 ---------- */

.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.78); }
.footer-main {
  display: grid;
  /* 末列（联系方式）需容纳「广州市天河区体育西路维多利广场 A 座 45-47 层」单行显示（文本约 307px + 图标 27px），
     fr 由 1.35 提到 1.85、min 提到 320px 以留出约 30px 渲染余量；品牌列相应由 1.55 下调到 1.4 */
  grid-template-columns: minmax(260px, 1.4fr) minmax(120px, .7fr) minmax(120px, .7fr) minmax(320px, 1.85fr);
  align-items: start;
  gap: clamp(36px, 4vw, 68px);
  padding: 56px 0 40px;
}
/* 页脚品牌区：与页眉品牌区同一范式 ——
   图标在左，中文名与英文名两行纵列在右，整体垂直居中；
   尺寸、字距、行距均取页眉 .brand 的设定，仅颜色因深底反相为白 */
.footer-brand {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 13px;
  align-items: center;
}
.footer-brand img { width: 36px; margin-bottom: 0; }
.footer-mark {
  grid-column: 1; grid-row: 1 / span 2;
  display: block;
  align-self: center;
  margin-bottom: 0;
}
.footer-mark img { width: 36px; margin-bottom: 0; }
.footer-brand .brand-name {
  grid-column: 2; grid-row: 1;
  margin: 0;
  font-size: 19px;
  line-height: 1;
  letter-spacing: .06em;
  color: #fff;
}
.footer-brand .brand-sub {
  grid-column: 2; grid-row: 2;
  margin-top: 6px;
  font-size: 8px;
  line-height: 1;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .45);
}
/* 服务理念跨两列另起一行，保持在品牌区下方 */
.footer-brand .brand-slogan { grid-column: 1 / -1; grid-row: 3; margin-top: 15px; }
/* 品牌 slogan：专业有深度 · 服务有温度 */
.brand-slogan { margin-top: 15px; }
.bs-main {
  display: inline-flex; align-items: center; gap: 11px;
  font-family: var(--serif); font-size: 15px; font-weight: 600;
  letter-spacing: .16em; color: rgba(255,255,255,.88);
}
.bs-main i {
  width: 5px; height: 5px; flex-shrink: 0;
  background: var(--gold);
  transform: rotate(45deg);
}
.bs-en {
  margin-top: 9px;
  font-size: 9.5px; letter-spacing: .22em;
  color: rgba(255,255,255,.32);
  text-transform: uppercase;
}
.footer-col h4 { font-family: var(--serif); font-size: 15.5px; color: #fff; letter-spacing: .1em; margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul a { font-size: 14px; color: rgba(255,255,255,.62); transition: color .2s ease; }
.footer-col ul a:hover { color: var(--gold-soft); }
.footer-contact li { display: flex; gap: 11px; font-size: 14px; color: rgba(255,255,255,.68); margin-bottom: 11px; line-height: 1.65; }
.footer-contact li:last-child { margin-bottom: 0; }
.footer-contact svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 3px; stroke: var(--gold-soft); }
/* 字段名（联系地址 / 联系邮箱 / 联系电话）：与联系页对齐的三段式结构 */
.footer-contact em {
  display: none;
  font-style: normal;
  font-size: 11.5px; letter-spacing: .14em;
  color: var(--gold-soft); opacity: .82;
  margin-bottom: 2px;
}
.footer-contact a { transition: color .2s ease; }
.footer-contact a:hover { color: var(--gold-soft); }

/* 扫码联系我们：与上层共用横向秩序，降低二维码墙的视觉重量 */
.footer-wechat {
  display: grid;
  grid-template-columns: minmax(220px, .8fr) minmax(0, 2.2fr);
  align-items: center;
  gap: clamp(36px, 5vw, 72px);
  padding: 32px 0 34px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.fw-head { max-width: 300px; }
.fw-head .eyebrow { font-size: 10px; letter-spacing: .28em; color: var(--gold-soft); }
.fw-head .eyebrow::before { background: var(--gold-soft); opacity: .55; }
.fw-head h4 {
  font-family: var(--serif); font-size: 17px; font-weight: 700;
  color: #fff; letter-spacing: .1em;
  margin: 10px 0 0;
}
.fw-head p { font-size: 13px; color: rgba(255,255,255,.5); line-height: 1.8; }

.fw-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 24px);
  width: 100%;
}
.fw-list li { display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 0; }
.fw-qr {
  width: 92px; height: 92px;
  padding: 6px;
  background: #fff;
  border-radius: 8px;
  transition: transform .3s ease, box-shadow .3s ease;
}
.fw-qr img { width: 100%; height: 100%; object-fit: contain; }
.fw-list li:first-child .fw-qr { box-shadow: 0 0 0 1px rgba(196,155,87,.72); }
.fw-list li:hover .fw-qr { transform: translateY(-3px); box-shadow: 0 8px 22px rgba(0,0,0,.28); }
.fw-list li span { font-size: 12.5px; color: rgba(255,255,255,.66); letter-spacing: .02em; text-align: center; transition: color .25s ease; }
.fw-list li:hover span { color: var(--gold-soft); }

.footer-base { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: rgba(255,255,255,.4); }

/* ---------- 内页 Hero ---------- */

.page-hero {
  position: relative;
  padding: 84px 0 64px;
  border-bottom: 1px solid var(--line-soft);
  background:
    radial-gradient(700px 300px at 90% -30%, rgba(14, 42, 71, .05), transparent 60%),
    var(--paper-soft);
  overflow: hidden;
}
.page-hero .wrap { position: relative; z-index: 2; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-mute); margin-bottom: 18px; }
.breadcrumb a:hover { color: var(--navy); }
.page-hero h1 { font-family: var(--serif); font-size: clamp(30px, 4vw, 44px); font-weight: 700; color: var(--navy); }
.page-hero .page-hero-desc { color: var(--ink-soft); max-width: 680px; margin-top: 14px; font-size: 15.5px; }

/* 内页 slogan 过渡区：专业有深度、服务有温度（全站统一深海军蓝底） */
.page-hero-slogan {
  position: relative;
  padding: 88px 0 0;
  text-align: center;
  border-bottom: none;
  color: #ffffff;
  background:
    radial-gradient(ellipse 46% 64% at 90% 0%, rgba(29,75,124,.2), rgba(20,59,102,.08) 44%, rgba(8,20,38,0) 76%),
    linear-gradient(118deg, #081426 0%, #0a1930 60%, #0b1b33 100%);
}
.page-hero-slogan::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.017) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.017) 1px, transparent 1px);
  background-size: 96px 96px;
  pointer-events: none;
}
.page-hero-slogan::after {
  content: "";
  position: absolute; right: -140px; top: -200px;
  width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(178,139,82,.105), transparent 68%);
  pointer-events: none;
}
.page-hero-slogan .phs-title { color: #ffffff; }
/* 标签栏保持原有浅色横条，不随上方标语区换色 */
.phs-nav-band {
  margin-top: 68px;
  position: relative;
  z-index: 2;
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.phs-nav-band .wrap { padding-top: 22px; padding-bottom: 22px; }
.three-pillars { margin-top: 48px; }
/* 「一体化资源统筹」内嵌于团队简介正文：与上方简介形成一个整体
   —— 文案精简后（三框 78/74/89 字，最长由 187 字降至 89 字），字号可回调至接近正文
      （正文 .prose 为 15.5px，此处 13.5px）以统一阅读节奏，同时总高仍低于改动前。
   （选择器限定 .three-pillars，不影响隆安律所页等处的 .practice-card） */
.three-pillars .sec-head.center.stacked { margin-bottom: 20px; }
.three-pillars .sec-head.center.stacked::before { width: 5px; height: 5px; margin: 0 auto 12px; }
.three-pillars .sec-head.center.stacked .eyebrow { font-size: 10.5px; letter-spacing: .28em; }
.three-pillars .sec-head.center.stacked .sh-title { margin-top: 8px; }
.three-pillars .sec-head.center.stacked .sh-mark { font-size: 54px; }
.three-pillars .sec-head.center.stacked .sh-main { font-size: clamp(19px, 2.2vw, 23px); line-height: 1.4; }
.three-pillars .sec-head.center.stacked .sh-sub {
  margin: 10px auto 0; padding-top: 10px;
  font-size: 13px; line-height: 1.6; max-width: 680px;
}
.three-pillars .sec-head.center.stacked .sh-sub::before { width: 32px; }
.three-pillars .practice-grid { gap: 16px; }
.three-pillars .practice-card { padding: 16px 18px; border-radius: 8px; }
.three-pillars .practice-card-top { margin-bottom: 10px; }
.three-pillars .practice-icon { width: 30px; height: 30px; border-radius: 8px; }
.three-pillars .practice-icon svg { width: 14px; height: 14px; }
.three-pillars .practice-num { font-size: 10.5px; }
.three-pillars .practice-card h3 { font-size: 14.5px; margin-bottom: 6px; }
.three-pillars .practice-card > p { font-size: 13.5px; line-height: 1.65; }
.phs {
  position: relative;
  display: flex; flex-direction: column; align-items: center;
}

.phs-eyebrow {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; gap: 12px;
  margin-bottom: 26px;
  font-size: 11px; letter-spacing: .4em; text-transform: uppercase;
  color: var(--gold);
}
.phs-eyebrow span { color: var(--gold-soft); }

.phs-title {
  position: relative; z-index: 1;
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(30px, 5vw, 56px); line-height: 1.4;
  letter-spacing: .06em; color: var(--navy);
}
.phs-title span { display: inline; }
.phs-title em {
  font-style: normal;
  background: linear-gradient(118deg, #9a6e2e 0%, #cda35e 46%, #a5834b 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* 中心「言」徽章分隔线，点睛设计感 */
.phs-rule {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  width: min(300px, 72%); margin: 30px 0 24px;
}
.phs-rule-line { height: 1px; flex: 1; background: linear-gradient(90deg, transparent, var(--gold-soft)); }
.phs-rule-line:last-child { background: linear-gradient(90deg, var(--gold-soft), transparent); }
.phs-rule-mark {
  flex-shrink: 0;
  width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--serif); font-size: 15px; font-weight: 700;
  color: #fff; background: var(--navy);
  box-shadow: 0 0 0 4px rgba(165,131,75,.18);
}

.phs-lead {
  position: relative; z-index: 1;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(15px, 1.8vw, 18px); font-weight: 600;
  letter-spacing: .18em; color: var(--ink-soft);
}
.page-hero-slogan .phs-lead {
  color: rgba(255, 255, 255, .9);
  text-shadow: 0 1px 10px rgba(3, 12, 25, .28);
}
/* 文章详情页没有下方导航带，补足上下留白让 slogan 在横幅内保持居中 */
.page-hero-slogan:has(+ .article-detail) {
  padding: 72px 0;
}
.phs-en {
  position: relative; z-index: 1;
  margin-top: 14px;
  font-size: 10.5px; letter-spacing: .34em;
  text-transform: uppercase; color: var(--ink-mute);
}

/* 页面内锚点标签栏：作为与标语清晰区分的独立横条板块 */
.phs-nav {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 10px 40px;
}
.phs-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: var(--serif);
  font-size: 17px; letter-spacing: .12em;
  color: var(--ink-soft);
  white-space: nowrap;
  padding: 7px 0;
  cursor: pointer;
  transition: color .2s ease;
}
.phs-nav a::before,
.phs-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: var(--gold);
  transform-origin: center;
  transition: transform .2s ease, opacity .2s ease;
}
.phs-nav a::after {
  bottom: 0;
  opacity: .24;
}
.phs-nav a::before {
  top: 0;
  opacity: 0;
  transform: scaleX(0);
}
.phs-nav a:hover,
.phs-nav a:focus-visible {
  color: var(--navy);
}
.phs-nav a:hover::before,
.phs-nav a:focus-visible::before {
  opacity: 1;
  transform: scaleX(1);
}
.phs-nav a:hover::after,
.phs-nav a:focus-visible::after { opacity: 1; }
.phs-nav a:focus-visible {
  outline: 2px solid rgba(165, 131, 75, .35);
  outline-offset: 4px;
}

/* ---------- 文章版式 ---------- */

.prose { max-width: 860px; }
.prose h3 {
  font-family: var(--serif);
  font-size: 21px; font-weight: 700; color: var(--navy);
  margin: 44px 0 16px;
  display: flex; align-items: center; gap: 12px;
}
.prose h3::before { content: ""; width: 4px; height: 20px; background: var(--gold); border-radius: 2px; }
.prose h4 { font-family: var(--serif); font-size: 17px; font-weight: 700; color: var(--ink); margin: 28px 0 12px; }
.prose p { font-size: 15.5px; color: var(--ink-soft); text-align: justify; margin-bottom: 14px; }
.prose b, .prose strong { color: var(--ink); }

/* 正文中的核心段落：高亮引言块（金色左边框 + 淡金底 + 墨蓝加粗关键词） */
.prose-highlight {
  margin: 20px 0 22px;
  padding: 24px 28px 24px 32px;
  background: linear-gradient(135deg, rgba(165, 131, 75, .055), rgba(165, 131, 75, .015));
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: 10px;
}
.prose-highlight p {
  margin-bottom: 0;
  font-size: 15.5px; line-height: 1.95;
  color: var(--ink);
  text-align: justify;
}
.prose-highlight b { color: var(--navy); font-weight: 700; }

/* 团队简介：内容块水平居中（.prose 也被 case-pokemon / longan 使用，故用修饰类而非改基类） */
.prose.prose-center { margin: 0 auto; max-width: none; }

/* 团队简介：四个板块小标题 —— 金色序号徽章 + 衬线标题 + 右侧延伸线 */
.prose h3.prose-step {
  display: flex; align-items: center; gap: 14px;
  margin: 46px 0 18px;
  font-size: 21px;
}
.prose h3.prose-step:first-of-type { margin-top: 0; }
.prose h3.prose-step::before { display: none; }
.prose h3.prose-step i {
  flex-shrink: 0;
  font-family: var(--serif); font-style: normal;
  font-size: 14px; font-weight: 700; letter-spacing: .06em;
  color: var(--gold);
  padding: 4px 10px;
  border: 1px solid var(--gold-soft);
  border-radius: 7px;
  background: rgba(165, 131, 75, .06);
}
.prose h3.prose-step span {
  font-family: var(--serif); font-size: 21px; font-weight: 700; color: var(--navy);
}
.prose h3.prose-step::after {
  content: ""; flex: 1; height: 1px; margin-left: 4px;
  background: linear-gradient(90deg, var(--line), transparent);
}

/* ---------- 编号列表（社会职务等） ---------- */

.num-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; }
.num-list li {
  display: flex; align-items: baseline; gap: 14px;
  padding: 12px 4px;
  border-bottom: 1px dashed var(--line-soft);
  font-size: 14.5px; color: var(--ink-soft);
}
.num-list li i { font-style: normal; font-family: var(--serif); color: var(--gold); font-size: 13px; min-width: 24px; }

/* ---------- 荣誉列表 ---------- */

.honor-rank { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 64px; }
.honor-rank-item {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  background: #fff; border: 1px solid var(--line-soft); border-radius: 12px;
  padding: 18px 22px;
}
.honor-rank-item span { font-size: 14px; color: var(--ink-soft); line-height: 1.6; }
.honor-rank-item strong { font-family: var(--serif); font-size: 24px; color: var(--navy); white-space: nowrap; }
.honor-rank-item strong small { font-size: 13px; color: var(--gold); }

.award-list li {
  display: flex; align-items: center; gap: 18px;
  padding: 15px 6px;
  border-bottom: 1px solid var(--line-soft);
  transition: background .2s ease;
}
.award-list li:hover { background: var(--paper-soft); }
.award-list .award-year {
  font-family: var(--serif); font-size: 13.5px; color: var(--gold);
  min-width: 52px; letter-spacing: .05em;
}
.award-list .award-name { font-size: 15px; color: var(--ink); flex: 1; }
.award-list .award-org { font-size: 13px; color: var(--ink-mute); }
.award-list .award-type {
  font-size: 11.5px; color: var(--navy);
  background: rgba(14, 42, 71, .06);
  border: 1px solid rgba(14, 42, 71, .12);
  padding: 3px 10px; border-radius: 999px; white-space: nowrap;
}

/* ---------- 业务领域大区块 ---------- */

.practice-block {
  display: grid; grid-template-columns: 340px 1fr; gap: 64px;
  padding: 72px 0;
  border-bottom: 1px solid var(--line-soft);
}
.practice-block:first-of-type { border-top: 1px solid var(--line-soft); }
.practice-block-head { position: relative; }
.practice-block-head .pb-num { font-family: var(--serif); font-size: 60px; font-weight: 700; color: var(--paper-deep); line-height: 1; -webkit-text-stroke: 1px var(--line); }
.practice-block-head h3 { font-family: var(--serif); font-size: 26px; font-weight: 700; color: var(--navy); margin-top: -22px; position: relative; }
.practice-block-head .pb-en { font-size: 11.5px; letter-spacing: .3em; color: var(--ink-mute); text-transform: uppercase; margin-top: 8px; }
.practice-block-body p { font-size: 15.5px; color: var(--ink-soft); text-align: justify; }
.service-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.service-tags span {
  font-size: 13.5px; color: var(--navy);
  background: #fff; border: 1px solid var(--line);
  padding: 7px 18px; border-radius: 999px;
  transition: all .2s ease;
}
.service-tags span:hover { border-color: var(--gold-soft); box-shadow: var(--shadow-sm); }
.pb-highlight {
  margin-top: 26px;
  background: var(--paper-soft);
  border-left: 3px solid var(--gold);
  border-radius: 0 10px 10px 0;
  padding: 16px 22px;
  font-size: 14px; color: var(--ink-soft);
}
.pb-highlight b { color: var(--navy); }

/* ---------- 案例列表 ---------- */

/* 典型案例：左侧标签栏 + 右侧案例列表（左右结构，便于浏览与点选） */
/* 03 典型案例：单列布局 —— 顶部水平标签条 + 下方案例方框网格（取代原左右两列侧栏式） */
.case-shell { display: block; }
.case-side { width: 100%; margin-bottom: 32px; }

/* 顶部水平标签条（含"事项类型"小标 + 全部/争议解决/网络游戏 3 个胶囊按钮） */
.cs-bar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
  padding: 16px 22px;
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.case-side .cs-head {
  font-family: var(--serif); font-size: 15px; font-weight: 700;
  color: var(--navy); letter-spacing: .08em;
  padding-right: 12px; margin-right: 6px;
  border-right: 2px solid var(--gold);
}
.cs-pill {
  display: inline-flex; align-items: center;
  padding: 8px 22px;
  font-family: inherit; font-size: 13.5px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  cursor: pointer;
  transition: color .18s ease, border-color .18s ease, background .18s ease;
}
.cs-pill:hover { border-color: var(--navy); color: var(--navy); }
.cs-pill.active { background: var(--navy); border-color: var(--navy); color: #fff; }

/* 案例方框网格：桌面 3 列、≤1100px 2 列、手机单列；保留原有 case-card/.case-item 边框/序号胶囊/标签样式 */
.case-main .case-list {
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.case-main .case-item { padding: 24px 26px; gap: 18px; }
.case-main .case-item h3 { font-size: 17.5px; }
/* 典型案例预览不显示标题上方的分类小字，保留编号、标题与标签 */
#case-cases .ci-cat { display: none; }

/* 案例详情模态弹窗（点击方框触发；3 部分：案件名称 / 基本案情 / 典型意义） */
.case-modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 24px; }
.case-modal[hidden] { display: none !important; }
.case-modal-backdrop { position: absolute; inset: 0; background: rgba(15, 32, 60, .55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.case-modal-card { position: relative; width: min(820px, 100%); max-height: calc(100vh - 48px); background: #fff; border-radius: 14px; box-shadow: 0 24px 60px rgba(0,0,0,.25); display: flex; flex-direction: column; overflow: hidden; }
.case-modal-close { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border: none; border-radius: 50%; background: var(--paper-soft); color: var(--ink); font-size: 22px; line-height: 1; cursor: pointer; transition: background .2s ease; z-index: 2; }
.case-modal-close:hover { background: var(--gold-soft); color: #fff; }
.case-modal-body { padding: 36px 40px 28px; overflow-y: auto; }
.case-modal-tag { display: inline-block; font-size: 12.5px; font-weight: 600; letter-spacing: .12em; color: var(--gold); padding: 4px 12px; border: 1px solid var(--gold-soft); border-radius: 4px; background: rgba(165, 131, 75, .06); margin-bottom: 16px; }
.case-modal-title { font-family: var(--serif); font-size: 22px; font-weight: 700; color: var(--navy); line-height: 1.45; margin: 0 0 14px; }
.case-modal-tags { display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 24px; list-style: none; }
.case-modal-tags li { padding: 4px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper-soft); color: var(--ink-soft); font-size: 12px; line-height: 1.3; }
.case-modal-section { margin-top: 18px; padding-top: 18px; border-top: 1px dashed var(--line); }
.case-modal-section h3 { font-family: var(--serif); font-size: 16px; font-weight: 700; color: var(--navy); letter-spacing: .04em; margin: 0 0 10px; }
.case-modal-section h3::before { content: ""; display: inline-block; width: 18px; height: 2px; background: var(--gold); vertical-align: middle; margin-right: 8px; }
.case-modal-prose p { font-size: 14.5px; line-height: 1.85; color: var(--ink-soft); margin: 0 0 8px; text-align: justify; }
.case-modal-prose { color: var(--ink-mute); }

body.modal-open { overflow: hidden; }

@media (max-width: 600px) {
  .case-modal { padding: 16px; }
  .case-modal-body { padding: 28px 22px 24px; }
  .case-modal-title { font-size: 18px; }
}

.case-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.case-item {
  display: flex; gap: 20px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 26px 28px;
  transition: all .3s ease;
}
.case-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--line); }
.case-item .ci-index {
  font-family: var(--serif); font-size: 15px; color: var(--gold);
  border: 1px solid var(--line);
  border-radius: 10px;
  min-width: 46px; height: 46px;
  display: grid; place-items: center;
  background: var(--paper-soft);
}
.case-item .ci-body { flex: 1; }
.case-item .ci-cat { font-size: 12px; color: var(--gold); letter-spacing: .05em; }
.case-item h3 { font-family: var(--serif); font-size: 17.5px; font-weight: 700; color: var(--navy); margin: 6px 0 4px; line-height: 1.5; }
.case-item p { font-size: 13.5px; color: var(--ink-soft); }
.case-item .ci-tags {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin: 14px 0 0; padding: 0;
  list-style: none;
}
.case-item .ci-tags li {
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper-soft);
  color: var(--ink-soft);
  font-size: 12px; line-height: 1.3;
}
.case-item .ci-tags li:first-child { color: var(--gold); border-color: var(--gold-soft); }
.case-item .ci-more { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--navy); font-weight: 600; margin-top: 10px; }
.case-item .ci-more svg { width: 14px; height: 14px; }

/* 筛选无结果时的提示 */
.case-empty {
  margin-top: 24px;
  padding: 30px 24px;
  text-align: center;
  font-size: 14.5px; color: var(--ink-mute);
  background: var(--paper-soft);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}
.case-empty[hidden] { display: none; }

/* 研究页、典型案例分页：旧版网站的纯数字导航，不使用胶囊或厚重按钮 */
.ys-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 44px;
  padding-top: 26px;
  border-top: 1px solid var(--line-soft);
}
.ys-pagination[hidden] { display: none; }
.ys-page-list { display: inline-flex; align-items: center; gap: 3px; }
.ys-pagination button {
  appearance: none;
  min-width: 34px;
  height: 34px;
  padding: 0 8px;
  border: 0;
  border-bottom: 1px solid transparent;
  background: transparent;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}
.ys-pagination button:hover:not(:disabled),
.ys-pagination button:focus-visible {
  color: var(--navy);
  border-bottom-color: var(--gold-soft);
  outline: none;
}
.ys-pagination button[aria-current="page"] {
  color: var(--navy);
  border-bottom-color: var(--gold);
  font-weight: 700;
}
.ys-pagination button:disabled { color: var(--ink-mute); opacity: .42; cursor: default; }
.ys-page-ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 34px;
  color: var(--ink-mute);
  font-family: var(--serif);
  font-size: 14px;
}
.ys-page-hidden { display: none !important; }

/* 动态页分页：收在列表内部，不额外拉开大段留白。 */
.dyn-block .ys-pagination {
  margin: 0 28px;
  padding: 20px 0 24px;
}
#team-dynamics,
#salon { scroll-margin-top: 76px; }

/* ---------- 案例详情 ---------- */
/* 注：旧版深色 hero（navy 渐变+白字）已废弃，统一使用文件末尾「案例详情页」浅色版。 */

.result-card {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 26px 30px;
  box-shadow: var(--shadow-sm);
}
.result-card h4 { font-family: var(--serif); font-size: 15px; color: var(--gold); letter-spacing: .1em; margin-bottom: 10px; }
.result-card p { font-family: var(--serif); font-size: 20px; font-weight: 700; color: var(--navy); line-height: 1.6; }

/* ---------- 联系页 ---------- */

/* 左右等高对仗：等宽两栏 + 左列 flex 使底部卡片沉底，与右侧严格平齐 */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: stretch; }
.contact-main { display: flex; flex-direction: column; min-width: 0; }
.contact-main .sec-head { flex-shrink: 0; }
.contact-main .contact-owner { margin-top: auto; }

/* 联系页改版：右侧取消咨询表单，改为「扫码联系 + 来函须知」 */
.contact-aside { display: grid; grid-template-rows: auto auto 1fr; gap: 22px; align-content: stretch; }
.contact-aside > .result-card { display: flex; flex-direction: column; }
.contact-aside > .result-card:last-child { justify-content: flex-end; }
.qr-card .cq-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 6px 0 16px;
}
.qr-card .cq-list li { display: flex; flex-direction: column; align-items: center; gap: 9px; min-width: 0; }
.cq-img {
  width: 100%; max-width: 116px; aspect-ratio: 1;
  padding: 6px; background: #fff;
  border: 1px solid var(--line-soft); border-radius: 10px;
  display: grid; place-items: center;
  transition: transform .3s ease, box-shadow .3s ease;
}
.qr-card .cq-list li:hover .cq-img { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.cq-img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.qr-card .cq-list span { font-size: 12.5px; color: var(--ink-soft); text-align: center; line-height: 1.5; }
.qr-card .cq-tip,
.result-card .cq-tip { font-size: 13px; color: var(--ink-mute); line-height: 1.8; }
.result-card .rc-plain { font-size: 15px; font-weight: 400; color: var(--ink-soft); line-height: 1.9; }
.result-card .rc-plain a { color: var(--navy); font-weight: 600; }
.result-card .rc-plain a:hover { color: var(--gold); }
/* 联系页卡片正文：防止 .result-card p（serif 20px bold navy）覆盖 cq-tip / rc-plain 等辅助文案 */
.result-card h4 + p, .qr-card h4 + p, .result-card > .rc-plain, .result-card > .cq-tip { font-family: var(--sans); font-size: 15px; font-weight: 400; color: var(--ink-soft); line-height: 1.9; }
@media (max-width: 520px) {
  .qr-card .cq-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- 招聘页 · 岗位手风琴 ---------- */

.job-list { display: grid; gap: 14px; }
.job-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .3s ease, box-shadow .3s ease;
}
.job-item:hover { border-color: rgba(165, 131, 75, .34); }
.job-item[open] { border-color: rgba(165, 131, 75, .46); box-shadow: var(--shadow-sm); }
.job-head {
  display: flex; align-items: center; gap: 18px;
  padding: 22px 26px; cursor: pointer; list-style: none;
}
.job-head::-webkit-details-marker { display: none; }
.job-head::marker { content: ""; }
.jh-left { flex: 1; min-width: 0; }
.jh-title { font-family: var(--serif); font-size: 19px; font-weight: 600; color: var(--navy); line-height: 1.5; }
.jh-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 9px; font-size: 13.5px; color: var(--ink-mute); }
.jh-meta span { display: inline-flex; align-items: center; gap: 7px; }
.jh-meta span::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--gold-soft); flex: none; }
.jh-toggle {
  flex: none; width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid var(--line); display: grid; place-items: center;
  color: var(--gold);
  transition: transform .3s ease, background .3s ease, border-color .3s ease;
}
.jh-toggle svg { width: 16px; height: 16px; }
.job-item[open] .jh-toggle { transform: rotate(180deg); background: rgba(165, 131, 75, .1); border-color: rgba(165, 131, 75, .4); }
.job-body { padding: 0 26px 26px; }
.job-body h5 { font-size: 14px; font-weight: 600; color: var(--navy); margin: 20px 0 10px; letter-spacing: .04em; }
.job-body ul { display: grid; gap: 7px; }
.job-body li { position: relative; padding-left: 18px; font-size: 15px; color: var(--ink-soft); line-height: 1.85; }
.job-body li::before {
  content: ""; position: absolute; left: 2px; top: 13px;
  width: 5px; height: 5px; border-radius: 1px; background: var(--gold-soft);
}
.job-foot {
  margin-top: 22px; padding-top: 16px; border-top: 1px dashed var(--line);
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; justify-content: space-between;
}
.job-note { font-size: 13px; color: var(--ink-mute); }
.job-apply { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 600; color: var(--navy); }
.job-apply:hover { color: var(--gold); }
.job-apply svg { transition: transform .3s ease; }
.job-apply:hover svg { transform: translateX(3px); }

/* ---------- 招聘页 · 启事抬头（标题 +「长期有效」+ 开场白） ---------- */

.jg-notice { max-width: 860px; margin: 0 auto; text-align: center; }
.jg-notice h2 {
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 34px); font-weight: 700;
  color: var(--navy); line-height: 1.5; letter-spacing: .04em;
}
.jg-notice-tag {
  display: inline-block; margin-top: 14px;
  font-size: 13px; font-weight: 600; letter-spacing: .12em;
  color: var(--gold); background: rgba(165, 131, 75, .09);
  border: 1px solid var(--gold-soft); border-radius: 999px;
  padding: 5px 16px;
}
.jg-notice p {
  margin-top: 22px;
  font-size: 15.5px; line-height: 2; color: var(--ink-soft);
  text-align: justify;
}
.jg-notice p b { color: var(--navy); font-weight: 700; }

/* ---------- 招聘页 · 海报式主标（与有肝胆人共事） ---------- */

/* 上下细金线 + 中央小金点：电影海报标题的经典三件套 */
.jg-motto {
  position: relative;
  text-align: center;
  padding: 30px 0 36px;
  margin-bottom: 28px;
}
.jg-motto::before,
.jg-motto::after {
  content: "";
  position: absolute; left: 50%; transform: translateX(-50%);
  width: 96px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-soft) 30%, var(--gold-soft) 70%, transparent);
}
.jg-motto::before { top: 0; }
.jg-motto::after { bottom: 0; }
/* 主标前的金点（位于两线之间、与主标顶端对齐） */
.jg-notice .jg-motto-text::before {
  content: ""; display: block;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold);
  margin: 0 auto 22px;
  box-shadow: 0 0 0 4px rgba(165, 131, 75, .08);
}
/* 书法体主标：Ma Shan Zheng 毛笔楷书 + 七字错位旋转 + 烫金渐变 + 多层阴影 */
.jg-notice .jg-motto-text {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline;
  margin: 0;
  font-family: "Ma Shan Zheng", "Noto Serif SC", var(--serif);
  font-size: clamp(54px, 9vw, 108px);
  font-weight: 400;
  letter-spacing: .12em;
  line-height: 1.2;
  text-align: center;
  background: linear-gradient(180deg, #f0d599 0%, #c8a55e 38%, #6a4e1a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  /* 多层投影：浅描边 + 深色立体投影 + 远景弥散 */
  filter: drop-shadow(0 1px 0 rgba(106, 78, 26, .55))
          drop-shadow(0 3px 0 rgba(106, 78, 26, .35))
          drop-shadow(0 8px 20px rgba(14, 42, 71, .2));
}
/* 七字逐一错位：模拟书法行笔的高低错落、龙飞凤舞的飘逸 */
.jg-notice .jg-motto-text .ch {
  display: inline-block;
  transform-origin: 50% 85%;
  transition: transform .35s ease;
}
.jg-notice .jg-motto-text .ch:nth-child(1) { transform: rotate(-3deg)  translateY(2px)  scale(1.02); }
.jg-notice .jg-motto-text .ch:nth-child(2) { transform: rotate(2.5deg) translateY(-4px) scale(0.98); }
.jg-notice .jg-motto-text .ch:nth-child(3) { transform: rotate(-1.2deg) translateY(1px)  scale(1.03); }
.jg-notice .jg-motto-text .ch:nth-child(4) { transform: rotate(3deg)   translateY(-3px) scale(0.97); }
.jg-notice .jg-motto-text .ch:nth-child(5) { transform: rotate(-2.2deg) translateY(3px)  scale(1.02); }
.jg-notice .jg-motto-text .ch:nth-child(6) { transform: rotate(1.5deg) translateY(-2px) scale(0.99); }
.jg-notice .jg-motto-text .ch:nth-child(7) { transform: rotate(-2.5deg) translateY(1px)  scale(1.04); }
/* 鼠标悬停：所有字轻微摆动收正 */
.jg-notice .jg-motto-text:hover .ch { animation: motto-sway 2.2s ease-in-out infinite; }
.jg-notice .jg-motto-text:hover .ch:nth-child(1) { animation-delay: .00s; }
.jg-notice .jg-motto-text:hover .ch:nth-child(2) { animation-delay: .10s; }
.jg-notice .jg-motto-text:hover .ch:nth-child(3) { animation-delay: .20s; }
.jg-notice .jg-motto-text:hover .ch:nth-child(4) { animation-delay: .30s; }
.jg-notice .jg-motto-text:hover .ch:nth-child(5) { animation-delay: .40s; }
.jg-notice .jg-motto-text:hover .ch:nth-child(6) { animation-delay: .50s; }
.jg-notice .jg-motto-text:hover .ch:nth-child(7) { animation-delay: .60s; }
@keyframes motto-sway {
  0%, 100% { transform: rotate(0deg) translateY(0) scale(1); }
  50%      { transform: rotate(0.6deg) translateY(-2px) scale(1.02); }
}

/* 移动端降级：烫金效果依赖 background-clip:text + 多层 filter，iOS/WKWebView 上该组合
   渲染不稳定时整行文字会完全消失（text-fill 为透明），故窄屏改用实心金色 + 单层文字阴影。
   同时把字号收至一行可容纳七字，避免挤成 5+2 的不均衡断行。 */
@media (max-width: 760px) {
  .jg-notice .jg-motto-text {
    font-size: clamp(34px, 10.4vw, 56px);
    letter-spacing: .06em;
    background: none;
    -webkit-background-clip: border-box;
    background-clip: border-box;
    -webkit-text-fill-color: var(--gold);
    color: var(--gold);
    filter: none;
    text-shadow: 0 1px 0 rgba(106, 78, 26, .3);
  }
}

@media (max-width: 480px) {
  .jg-motto { padding: 22px 0 28px; margin-bottom: 22px; }
  .jg-motto::before, .jg-motto::after { width: 64px; }
  .jg-notice .jg-motto-text .ch:nth-child(n) { transform: none; }
  .jg-notice .jg-motto-text:hover .ch { animation: none; }
}

/* ---------- 招聘页 · 加入我们的必要条件（三框对称） ---------- */

/* 三框统一为全宽单列堆叠，节奏一致；通过左侧装饰色条 + 序号模块 + 「为什么这是必要条件」标签
   共同构建三块的对称结构与视觉重量。 */
.jc-grid { display: grid; grid-template-columns: 1fr; gap: 20px; max-width: 920px; margin: 0 auto; }
.jc-card {
  position: relative;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 36px 30px 44px;  /* 左侧多留 8px 给装饰色条 */
  transition: transform .3s ease, box-shadow .3s ease;
}
.jc-card::before {
  /* 左侧细金色竖线：跨卡片统一高度，3 块节奏完全对齐 */
  content: ""; position: absolute; left: 0; top: 28px; bottom: 28px;
  width: 3px; background: var(--gold);
  border-radius: 0 2px 2px 0;
}
.jc-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.jc-head { display: flex; align-items: flex-start; gap: 16px; }
.jc-num {
  flex: none; margin-top: 3px;
  font-family: var(--serif); font-size: 14px; font-weight: 700; letter-spacing: .06em;
  color: #fff; background: var(--navy);
  padding: 5px 11px; border-radius: 6px; min-width: 32px; text-align: center;
}
.jc-head h3 {
  font-family: var(--serif); font-size: 20px; font-weight: 700;
  color: var(--navy); line-height: 1.55; letter-spacing: .02em;
}
.jc-why {
  margin-top: 24px; padding-top: 20px;
  border-top: 1px dashed var(--line);
  display: grid; gap: 12px;
}
.jc-label {
  display: inline-block; margin-bottom: 2px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .14em;
  color: var(--gold); padding: 4px 11px;
  border: 1px solid var(--gold-soft); border-radius: 4px;
  background: rgba(165, 131, 75, .06);
  width: max-content;
}
.jc-why p {
  font-size: 15px; line-height: 1.95; color: var(--ink-soft);
  text-align: justify; margin: 0;
}
.jc-why b,
.jc-why strong { color: var(--navy); font-weight: 700; }
.jc-note {
  max-width: 920px; margin: 36px auto 0;
  font-size: 14px; line-height: 1.9; color: var(--ink-mute); text-align: center;
}

@media (max-width: 760px) {
  .jc-card { padding: 26px 22px 24px 30px; }
  .jc-card::before { top: 22px; bottom: 22px; }
}

/* ---------- 招聘页 · 客户名单 ---------- */

.jg-clients { margin-top: 46px; text-align: center; }
.jg-clients h4 {
  font-family: var(--serif); font-size: 16px; font-weight: 600;
  color: var(--navy); letter-spacing: .06em;
}
.jg-clients h4::after {
  content: ""; display: block; width: 40px; height: 1px;
  margin: 12px auto 0; background: var(--gold-soft);
}

/* ---------- 招聘页 · 居中引言 ---------- */

.jg-lead {
  max-width: 840px; margin: 0 auto 40px;
  font-family: var(--serif);
  font-size: clamp(16px, 1.9vw, 20px);
  font-weight: 600; line-height: 2;
  color: var(--ink); text-align: center;
}
/* 团队氛围引言：主+中+副三行垂直堆叠，居中对称（无 br/破折号） */
.jg-lead-stack { display: block; }
.jg-lead-main {
  display: block;
  font-size: clamp(19px, 2.2vw, 25px);
  font-weight: 700; color: var(--navy);
  letter-spacing: .04em; line-height: 1.8;
  margin-bottom: 8px;
}
.jg-lead-mid {
  display: block;
  font-family: var(--serif);
  font-size: clamp(15px, 1.6vw, 17px);
  font-weight: 600; color: var(--ink);
  letter-spacing: .04em; line-height: 1.8;
  margin: 4px 0 12px;
}
.jg-lead-sub {
  display: block;
  font-size: clamp(14px, 1.4vw, 15.5px);
  font-weight: 400; color: var(--ink-mute);
  letter-spacing: .14em; line-height: 1.8;
}
.jg-lead-closer { /* 收束语，居中、单行、强调 */
  display: block;
  font-family: var(--serif);
  font-size: clamp(16px, 1.8vw, 19px);
  font-weight: 600; color: var(--navy);
  letter-spacing: .04em;
}

/* ---------- 招聘页 · 流程步骤 ---------- */

.flow-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.flow-step {
  position: relative; padding: 26px 22px 24px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .3s ease, box-shadow .3s ease;
}
.flow-step:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.flow-step::after {
  content: ""; position: absolute; right: -14px; top: 44px;
  width: 8px; height: 8px;
  border-right: 1px solid var(--gold-soft); border-top: 1px solid var(--gold-soft);
  transform: rotate(45deg);
}
/* 每行末尾（3 的倍数）去掉箭头：3 列布局下第 3 / 6 步是行末 */
.flow-step:nth-child(3n)::after { display: none; }
.fs-num { font-family: var(--serif); font-size: 26px; font-weight: 700; color: var(--gold); line-height: 1; }
.fs-title { margin-top: 12px; font-size: 16px; font-weight: 600; color: var(--navy); }
.fs-desc { margin-top: 8px; font-size: 14px; color: var(--ink-soft); line-height: 1.8; }

/* 1024px 以下仍 3 列（避免 2×3 让行末箭头错乱），仅在更窄屏折叠成 2 列 */
@media (max-width: 760px) {
  .flow-grid { grid-template-columns: repeat(2, 1fr); }
  .flow-step::after { display: none; }
}
@media (max-width: 480px) {
  .flow-grid { grid-template-columns: 1fr; }
}

/* ---------- 招聘页 · 年会视频占位 ---------- */

.jg-video-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; max-width: 960px; margin: 0 auto; }
.jg-video {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  transition: box-shadow .3s ease;
}
.jg-video:hover { box-shadow: var(--shadow-sm); }
.jg-video-link { display: block; text-decoration: none; color: inherit; transition: transform .25s ease; }
.jg-video-link:hover { transform: translateY(-2px); }
.jg-video-link:hover .jg-video { box-shadow: var(--shadow-sm); }
.jg-video-link:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: var(--radius); }
.jv-frame {
  position: relative; aspect-ratio: 16 / 9;
  display: grid; place-items: center;
  background: var(--paper-soft);
  border-bottom: 1px dashed var(--line);
}
/* 内层虚线框：明确提示此处为待插入视频的占位区域 */
.jv-frame::before {
  content: ""; position: absolute; inset: 14px;
  border: 1px dashed rgba(165, 131, 75, .48); border-radius: 8px;
}
.jv-play {
  position: relative; width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(165, 131, 75, .12); color: var(--gold);
}
.jv-play svg { width: 24px; height: 24px; margin-left: 3px; }
.jv-badge {
  position: absolute; top: 26px; left: 28px;
  font-size: 12px; font-weight: 600; letter-spacing: .08em;
  color: var(--gold); background: rgba(255, 255, 255, .92);
  border: 1px solid var(--gold-soft); border-radius: 999px;
  padding: 3px 12px;
}
/* 已上传封面：图片铺满 16:9 框，撤掉虚线占位；播放按钮改为悬浮玻璃态 */
.jv-frame.has-cover { background: none; border-bottom: 1px solid var(--line); }
.jv-frame.has-cover::before { display: none; }
.jv-frame.has-cover img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.jv-frame.has-cover .jv-play {
  background: rgba(255, 255, 255, .88);
  color: var(--gold);
  box-shadow: 0 6px 22px rgba(28, 37, 50, .24);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  transition: transform .25s ease, background .25s ease;
}
.jg-video-link:hover .has-cover .jv-play { transform: scale(1.08); background: #fff; }
.jv-frame.has-cover .jv-badge { top: 14px; left: 14px; }
.jg-video figcaption { padding: 18px 22px 20px; display: grid; gap: 5px; }
.jg-video figcaption strong { font-family: var(--serif); font-size: 16.5px; color: var(--navy); }
.jg-video figcaption span { font-size: 13px; color: var(--ink-mute); line-height: 1.7; }

@media (max-width: 760px) {
  .jg-video-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .flow-grid { grid-template-columns: 1fr; }
  .job-head { padding: 20px; gap: 12px; }
  .job-body { padding: 0 20px 22px; }
  .jh-title { font-size: 17px; }
}

.contact-list li { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line-soft); }
.contact-list .cl-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  border-radius: 12px;
  background: var(--paper-soft); border: 1px solid var(--line-soft);
  display: grid; place-items: center;
  color: var(--navy);
}
.contact-list .cl-icon svg { width: 20px; height: 20px; }
.contact-list h4 { font-family: var(--serif); font-size: 15.5px; color: var(--ink); margin-bottom: 4px; }
.contact-list p { font-size: 14.5px; color: var(--ink-soft); }
.contact-list a:hover { color: var(--navy); }

.contact-form { background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow-sm); }
.contact-form h3 { font-family: var(--serif); font-size: 21px; color: var(--navy); margin-bottom: 8px; }
.contact-form > p { font-size: 14px; color: var(--ink-mute); margin-bottom: 26px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13.5px; color: var(--ink); font-weight: 600; margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%;
  font-family: inherit; font-size: 14.5px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(14, 42, 71, .08); }
.field textarea { resize: vertical; min-height: 120px; }

/* ---------- 言上动态 ---------- */

/* 板块卡片容器：彩色标题条 + 白底内容区，标题区与下方列表内容形成区分 */
.dyn-block {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
/* 板块头部横条：序号 + 标题 + 查看全部 */
.dyn-bar {
  display: flex; align-items: center; gap: 16px;
  padding: 15px 24px;
  background: linear-gradient(90deg, var(--navy), #163a63);
  border: none;
}
.dyn-bar .db-no {
  font-family: var(--serif); font-size: 20px; font-weight: 700;
  letter-spacing: .06em; color: var(--gold);
}
.dyn-bar .db-title {
  font-family: var(--serif); font-size: clamp(20px, 2.4vw, 25px); font-weight: 700;
  color: #fff; letter-spacing: .06em;
}
.dyn-bar .db-all {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13.5px; color: rgba(255, 255, 255, .78);
  white-space: nowrap;
  transition: color .25s ease;
}
.dyn-bar .db-all svg { width: 15px; height: 15px; transition: transform .25s ease; }
.dyn-bar .db-all:hover { color: var(--gold); }
.dyn-bar .db-all:hover svg { transform: translateX(4px); }

/* 内容行：日期 | 分类 + 标题 | 箭头（所有条目样式统一，无头条/次要之分） */
.dyn-rows { padding: 8px 28px 18px; }
.dyn-row {
  display: grid;
  grid-template-columns: 6.5rem 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line-soft);
  transition: background .25s ease, padding-left .25s ease;
}
.dyn-row:last-child { border-bottom: none; }
.dyn-row:hover { background: rgba(165, 131, 75, .045); padding-left: 14px; }
.dyn-row time {
  font-size: 13px; color: var(--ink-mute);
  font-variant-numeric: tabular-nums; letter-spacing: .02em;
}
.dyn-row .dr-main { min-width: 0; }
.dyn-row .dr-cat {
  display: inline-block;
  margin-bottom: 7px;
  font-size: 11.5px; letter-spacing: .08em; color: var(--gold);
  border: 1px solid var(--gold-soft);
  padding: 2px 9px; border-radius: 999px;
}
.dyn-row h3 {
  font-family: var(--serif); font-size: 17px; font-weight: 700;
  line-height: 1.65; color: var(--navy);
  transition: color .25s ease;
}
.dyn-row:hover h3 { color: var(--gold); }
.dyn-row .dr-arrow { display: inline-flex; }
.dyn-row .dr-arrow svg {
  width: 18px; height: 18px; stroke: var(--gold-soft);
  transition: transform .25s ease, stroke .25s ease;
}
.dyn-row:hover .dr-arrow svg { transform: translateX(4px); stroke: var(--gold); }

/* ---------- 滚动显现 ---------- */

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.65,.3,1), transform .7s cubic-bezier(.2,.65,.3,1); }
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .1s; }
.reveal-d2 { transition-delay: .2s; }
.reveal-d3 { transition-delay: .3s; }

/* ---------- 响应式 ---------- */

@media (max-width: 1024px) {
  /* 平板宽度仍保留桌面导航，但收紧单项内边距，避免咨询按钮被挤出视口 */
  .nav-links { gap: 4px; }
  .nav-links a { padding-inline: 5px; font-size: 13.5px; }
  .nav-cta { padding-inline: 15px; font-size: 13.5px; }
  .hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .hero-stats { padding: 28px 26px 10px; }
  .hero-honors { padding: 26px 24px 22px; }
  .hh-grid { grid-template-columns: repeat(3, 1fr); }
  .hl-mark { font-size: 30px; right: 0; gap: 18px; }
  .leader-top { grid-template-columns: 300px 1fr; }
  .leader-intro { padding-left: 36px; }
  .leader-honors { padding-left: 36px; }
  .leader-honors::before { left: 36px; }
  .leader-blocks { margin-top: 30px; }
  .practice-grid { grid-template-columns: repeat(2, 1fr); }
  .research-carousel { height: clamp(560px, 74vw, 680px); }
  .testimonial-grid { grid-template-columns: 1fr; }
  .client-groups { grid-template-columns: 1fr; }
  .client-logo-grid { grid-template-columns: repeat(3, 1fr); }
  .client-matrix.six .client-logo-grid { grid-template-columns: repeat(4, 1fr); }
  .case-grid { grid-template-columns: 1fr; }
  .industry-row { grid-template-columns: repeat(3, 1fr); }
  .practice-row { grid-template-columns: repeat(3, 1fr); }
  .focus-practice-grid { grid-template-columns: repeat(2, 1fr); }
  .leader-honor-grid { grid-template-columns: repeat(2, 1fr); }
  .role-grid { grid-template-columns: repeat(3, 1fr); }
  .leader-role-boxes { grid-template-columns: repeat(2, 1fr); }
  .honor-wall.five { grid-template-columns: repeat(3, 1fr); }
  .honor-rank { grid-template-columns: repeat(2, 1fr); }
  .case-list { grid-template-columns: 1fr; }
  .practice-block { grid-template-columns: 1fr; gap: 24px; }
  .dyn-row { grid-template-columns: 5.8rem 1fr auto; gap: 16px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-wechat { grid-template-columns: 1fr; gap: 24px; }
  .fw-head { max-width: none; }
  .fw-list { max-width: 620px; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .stat-cell:nth-child(3)::before { display: none; }
}

@media (max-width: 760px) {
  .wrap { padding: 0 20px; }
  .section { padding: 78px 0; }
  .section-tight { padding: 58px 0; }
  .page-hero-slogan { padding: 50px 0 44px; }
  .page-hero-slogan:has(+ .article-detail) { padding: 50px 0 52px; }
  .phs-eyebrow { letter-spacing: .28em; margin-bottom: 20px; }
  .phs-lead { letter-spacing: .12em; }
  .phs-rule { width: 78%; margin: 24px 0 20px; }
  .nav-links {
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 20px calc(20px + env(safe-area-inset-bottom, 0px));
    gap: 2px;
    display: none;
    box-shadow: var(--shadow-md);
    /* 菜单高于可视区时自身滚动（fixed 元素不受页面滚动影响，必须显式限高） */
    max-height: calc(100vh - 72px);
    max-height: calc(100dvh - 72px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 10px; }
  .nav-links a::after { display: none; }
  /* 移动端：子菜单全部常驻平铺展开（与首页一致的展示方式，所有页面统一），
     菜单整体限高，超出部分在菜单内上下滑动 */
  .nav-sub {
    position: static; transform: none;
    opacity: 1; visibility: visible; pointer-events: auto;
    min-width: 0; padding: 0 0 4px 14px;
    background: transparent; border: none; box-shadow: none;
  }
  .nav-dropdown:hover .nav-sub, .nav-dropdown:focus-within .nav-sub { transform: none; }
  .nav-sub::before { display: none; }
  .nav-sub a { padding: 10px; white-space: normal; }
  .nav-caret { display: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: block; }
  /* 领导人卡片内非换行行：窄屏允许换行，避免长职务文本撑出横向溢出 */
  .leader-card .lc-line.lc-nowrap { white-space: normal; }
  .brand { gap: 10px; }
  .brand img { width: 32px; height: 32px; flex-basis: 32px; }
  .brand-name { font-size: 17px; letter-spacing: .02em; }
  /* 页脚品牌行：窄屏与页眉同步 —— 图标 32px、中文 17px、英文同样隐藏 */
  .footer-brand .brand-name { font-size: 17px; letter-spacing: .02em; }
  .footer-brand img, .footer-mark img { width: 32px; height: 32px; }
  /* 英文隐藏后，图标只占第一行，与中文垂直居中；理念行顺移到第二行 */
  .footer-mark { grid-row: 1; }
  .footer-brand .brand-slogan { grid-row: 2; }
  .brand-sub { display: none !important; }
  .hero { padding: 64px 0 58px; }
  /* 品牌名：六字短标题，手机端按视口放大为唯一视觉主体，单行不折行 */
  .hero-head { margin-bottom: 30px; }
  .hero-eyebrow { margin-bottom: 16px; font-size: 10.5px; letter-spacing: .3em; }
  .hero-rule { margin: 24px auto 22px; }
  .hero-eyebrow { margin-bottom: 16px; font-size: 10.5px; letter-spacing: .28em; }
  .hero-slogan { font-size: clamp(34px, 11vw, 46px); letter-spacing: .15em; }
  .hero-rule { width: 72px; margin: 20px auto 18px; }
  .hero-creed { gap: 10px; font-size: 15.5px; letter-spacing: .2em; }
  .hero-creed i { width: clamp(18px, 5vw, 60px); }
  .hero-desc { font-size: 14px; line-height: 1.88; }
  .hero-desc p + p { margin-top: 12px; }
  /* 数据两组：窄屏本来就是上下堆叠，四项改 2×2 保证可读宽度 */
  .hero-panels { margin-top: 30px; }
  .hs-list { grid-template-columns: repeat(2, 1fr); }
  /* 2×2 布局下恢复虚线：仅左列有竖线、第一行有横线 */
  .hs-item:nth-child(even) { border-right: none; }
  .hs-item:nth-child(1), .hs-item:nth-child(2) { border-bottom: 1px dashed var(--line-soft); }
  .hero-foot { margin-top: 26px; }
  .hero-more { margin-top: 22px; }
  /* 按钮各占一行全宽 */
  .hero-actions { margin-top: 0; gap: 12px; }
  .hero-actions .btn { flex: 1 1 100%; min-width: 0; }
  /* 移动端：CTA 两按钮自动撑满单列，弱化 min-width 保持视觉平衡 */
  .cta-band .cta-actions { gap: 12px; }
  .cta-band .cta-actions .btn { min-width: 0; flex: 1 1 100%; }
  .hero-stats { padding: 24px 20px 8px; }
  .hero-honors { padding: 24px 20px 20px; }
  .hh-grid, .hero-panels .hh-grid { grid-template-columns: repeat(2, 1fr); }

  .hs-item { padding: 16px 6px; }
  .hs-num { font-size: 29px; }
  .leader-top { grid-template-columns: 1fr; }
  .leader-figure { grid-column: 1; grid-row: 1; }
  .leader-card { grid-column: 1; grid-row: 2; padding-top: 36px; }
  .leader-card::before { top: 16px; }
  .leader-intro { grid-column: 1; grid-row: 3; padding: 0 0 26px; border-left: none; }
  .leader-honors { grid-column: 1; grid-row: 4; padding: 26px 0 0; border-left: none; }
  .leader-honors::before { left: 0; }
  .leader-frame { flex: none; min-height: 0; }
  .leader-frame img { aspect-ratio: 3/4; height: auto; }
  .leader-blocks { margin-top: 24px; }
  .practice-grid { grid-template-columns: 1fr; }
  .research-carousel { height: 520px; }
  .research-carousel-card { width: min(68vw, 292px); border-radius: 12px; }
  .research-carousel-arrow { width: 40px; height: 40px; }
  .research-carousel-prev { left: 4px; }
  .research-carousel-next { right: 4px; }
  .industry-row { grid-template-columns: repeat(2, 1fr); }
  .practice-row { grid-template-columns: repeat(2, 1fr); }
  .focus-practice-grid { grid-template-columns: 1fr; }
  .honor-wall { grid-template-columns: repeat(2, 1fr); }
  .honor-wall.five { grid-template-columns: repeat(2, 1fr); }
  /* 合作客户：手机端统一 logo 视觉基准。
     原规则 max-width:70% + max-height:48% 两个百分比并行，宽幅 logo（腾讯 7.4:1）被压到高仅 13px、
     方形 logo 却有 57px，视觉大小相差 4 倍以上。改为「宽度放宽到满格 + 统一高度上限」，
     让各类 logo 高度基本齐平，仅极宽 logo 因自身比例受限而偏扁（属正常）。 */
  .client-logo-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .client-logo-grid li { padding: 16px 10px; gap: 10px; }
  .client-logo-grid img { max-width: 100%; max-height: 52px; }
  .client-matrix.six .client-logo-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .client-matrix.six .client-logo-grid li { padding: 12px 8px; gap: 7px; }
  .client-matrix.six .client-logo-grid img { max-width: 100%; max-height: 40px; }
  .num-list { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-wechat { grid-template-columns: 1fr; align-items: start; gap: 24px; padding: 26px 0 28px; }
  .fw-head { max-width: none; }
  .fw-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 16px; max-width: 360px; }
  .fw-qr { width: 84px; height: 84px; }
  .leader-honor-grid { grid-template-columns: 1fr; gap: 9px; }
  .leader-honor-grid li { min-height: 64px; padding: 20px 12px 13px; }
  .leader-honor-grid li::before { top: 11px; }
  .prose h3.prose-step { margin: 34px 0 14px; gap: 11px; }
  .prose h3.prose-step span { font-size: 19px; }
  .prose h3.prose-step i { font-size: 13px; padding: 3px 8px; }
  .prose-highlight { padding: 20px 20px 20px 22px; }
  .dyn-bar { flex-wrap: wrap; gap: 10px 14px; padding: 16px 18px; }
  .dyn-bar .db-all { margin-left: 0; width: 100%; }
  .dyn-rows { padding: 8px 18px 16px; }
  .dyn-row {
    grid-template-columns: 1fr auto;
    gap: 6px 14px;
    padding: 24px 0;
  }
  .dyn-row time { grid-column: 1 / -1; font-size: 12px; }
  .dyn-row h3 { font-size: 15.5px; }
  .dyn-row:hover { padding-left: 4px; background: transparent; }
  /* 典型案例：窄屏折叠为上下，标签改横向胶囊 */
  .case-main .case-list { grid-template-columns: 1fr; gap: 18px; }
  .ys-pagination { gap: 2px; margin-top: 32px; padding-top: 20px; }
  .ys-page-list { gap: 0; }
  .ys-pagination button { min-width: 44px; height: 44px; padding-inline: 6px; }
  .ys-page-ellipsis { min-width: 18px; height: 44px; }
  .cs-bar { padding: 12px 16px; gap: 8px; }
  .case-side .cs-head {
    width: 100%; padding: 0 0 8px; margin: 0 0 4px;
    border-right: none; border-bottom: 1px dashed var(--line);
  }
  .cs-pill { padding: 7px 14px; font-size: 13px; }
  .role-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .role-grid li { min-height: 68px; padding: 12px 14px; font-size: 12.5px; gap: 9px; }
  .leader-role-boxes { grid-template-columns: 1fr; }
  .honor-rank { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr; }
  .stat-cell::before { display: none !important; }
  .award-list .award-org { display: none; }
  .contact-form { padding: 28px 22px; }
}

/* ---------- 内容来源回链 ---------- */

.source-link {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 20px;
  font-size: 13px; color: var(--ink-mute);
  border: 1px solid var(--line);
  background: #fff;
  padding: 6px 15px; border-radius: 999px;
  transition: all .2s ease;
}
.source-link:hover { color: var(--navy); border-color: var(--gold-soft); }
.source-link svg { width: 13px; height: 13px; }

.source-note {
  display: flex; align-items: center; gap: 10px;
  margin-top: 40px; padding-top: 20px;
  border-top: 1px dashed var(--line);
  font-size: 13px; color: var(--ink-mute);
}
.source-note a { display: inline-flex; align-items: center; gap: 6px; color: var(--navy); }
.source-note a:hover { color: var(--gold); }
.source-note svg { width: 13px; height: 13px; }

/* ---------- 服务客户分区 ---------- */

.client-region {
  display: flex; gap: 14px; align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line-soft);
}
.client-region strong {
  font-family: var(--serif); font-size: 15px; color: var(--navy);
  min-width: 92px; flex-shrink: 0;
}
.client-region span { font-size: 14.5px; color: var(--ink-soft); line-height: 1.9; }

/* ============================================================
   longan.html —— 品牌页（隆安 · 言上）左右对照结构
   左栏 隆安（浅底 + 红色方块 Logo），右栏 言上（深蓝底 + 蓝色 Logo）
   两栏等高压、底部统计表对齐，形成红蓝镜像对比
   ============================================================ */
.lg-compare {
  background: var(--paper);
  padding: clamp(2.6rem, 5vh, 4.4rem) 0 clamp(3rem, 6vh, 5rem);
}
.lg-compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto auto;
  gap: clamp(1.2rem, 3vw, 2.4rem);
  align-items: stretch;
}
.lg-col {
  grid-row: 1 / 4;
  display: grid;
  grid-template-rows: subgrid;
  grid-template-columns: 1fr;
  border-radius: 16px;
  padding: clamp(1.8rem, 3.2vw, 3rem);
}
.lg-col--longan {
  grid-column: 1;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 1.2rem 2.6rem rgba(14, 42, 71, .06);
}
.lg-col--yanshang {
  grid-column: 2;
  background: var(--navy);
  color: #f7f9ff;
}
/* 头部：Logo + 标题 / slogan */
.lg-col-head {
  display: flex;
  align-items: center;
  gap: clamp(.9rem, 1.8vw, 1.4rem);
  padding-bottom: clamp(1.1rem, 2vh, 1.6rem);
  border-bottom: 1px solid rgba(165, 131, 75, .35);
}
.lg-col--yanshang .lg-col-head { border-bottom-color: rgba(247, 249, 255, .18); }
.lg-col-logo {
  width: clamp(3.6rem, 5.5vw, 5rem);
  height: auto;
  flex: none;
  border-radius: 6px;
}
.lg-col-titles { display: flex; flex-direction: column; gap: .2rem; }
.lg-col-sub {
  font-family: var(--sans);
  font-size: clamp(.68rem, .95vw, .82rem);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0;
  line-height: 1.4;
}
.lg-col--yanshang .lg-col-sub { color: var(--gold-soft); }
.lg-col-title {
  font-family: var(--serif);
  margin: 0;
  font-size: clamp(1.9rem, 3.4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: .02em;
}
.lg-col--yanshang .lg-col-title { color: #fff; }
.lg-col-slogan {
  font-family: var(--serif);
  margin: .35rem 0 0;
  font-size: clamp(.98rem, 1.5vw, 1.2rem);
  font-weight: 600;
  letter-spacing: .06em;
}
.lg-col--yanshang .lg-col-slogan { color: rgba(247, 249, 255, .92); }
/* 正文 */
.lg-col-body { margin-top: clamp(1.3rem, 2.4vh, 1.9rem); }
.lg-col-body p {
  font-family: var(--serif);
  color: var(--ink-soft);
  font-size: clamp(.94rem, 1.05vw, 1.02rem);
  line-height: 1.85;
  margin: 0 0 1rem;
  text-align: justify;
}
.lg-col--yanshang .lg-col-body p { color: rgba(247, 249, 255, .82); }
.lg-col-body b { color: var(--navy); font-weight: 700; }
.lg-col--yanshang .lg-col-body b { color: var(--gold-soft); }
/* 底部：统计 + 链接（与右栏锁进同一行轨道，链接沉底对齐） */
.lg-col-foot {
  display: flex;
  flex-direction: column;
  padding-top: clamp(1.3rem, 2.4vh, 1.9rem);
}
/* 隆安栏统计：年份 / 办公室 / 人数 排成两排（2×2） */
.lg-col-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1rem, 2.2vh, 1.6rem) clamp(1.4rem, 3vw, 2.8rem);
  padding-top: clamp(1.1rem, 2vh, 1.6rem);
  border-top: 1px solid rgba(165, 131, 75, .35);
}
.lg-col--yanshang .lg-col-stats { border-top-color: rgba(247, 249, 255, .18); }
.lg-col-stats .stat-cell { text-align: left; }
.lg-col-stats .stat-num {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}
.lg-col--yanshang .lg-col-stats .stat-num { color: #fff; }
.lg-col-stats .stat-label {
  font-size: clamp(.66rem, .85vw, .78rem);
  color: var(--ink-mute);
  margin-top: .3rem;
  letter-spacing: .03em;
}
.lg-col--yanshang .lg-col-stats .stat-label { color: rgba(247, 249, 255, .65); }
/* 隆安官网链接（沉到脚栏底部，与右栏链接同级对齐） */
.lg-col-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-top: auto;
  padding-top: clamp(1.1rem, 2vh, 1.5rem);
  font-family: var(--serif);
  font-size: .92rem;
  letter-spacing: .03em;
  color: var(--navy);
  border-bottom: 1px solid var(--navy);
  padding-bottom: .2rem;
  transition: all .2s ease;
}
.lg-col-link svg { width: 1rem; height: 1rem; transition: transform .25s; }
.lg-col-link:hover { color: var(--gold); border-bottom-color: var(--gold); }
.lg-col-link:hover svg { transform: translate(2px, -2px); }

/* 言上深色栏脚：移植「一体化资源统筹」三方框，扁平化、与左侧隆安统计对齐 */
.lg-col--yanshang .lg-three {
  border-top: 1px solid rgba(247, 249, 255, .16);
  padding-top: clamp(1.1rem, 2vh, 1.6rem);
  margin-top: 0; /* 覆盖全局 .three-pillars 的 34px 上边距 */
}
/* 三方框：单列横向卡片（图标+编号在左，标题+说明在右），更宽更扁、按比例压缩 */
.lg-col--yanshang .lg-three .practice-grid { grid-template-columns: 1fr; gap: 7px; }
.lg-col--yanshang .lg-three .practice-card {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas: "badge title" "badge desc";
  column-gap: 10px;
  align-items: center;
  padding: 14px 12px;
  min-height: 99px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(247, 249, 255, .12);
  box-shadow: none;
  border-radius: 6px;
}
.lg-col--yanshang .lg-three .practice-card:hover { background: rgba(255, 255, 255, .09); border-color: var(--gold-soft); }
.lg-col--yanshang .lg-three .practice-card-top {
  grid-area: badge;
  flex-direction: column;
  gap: 3px;
  margin-bottom: 0;
}
.lg-col--yanshang .lg-three .practice-icon {
  width: 24px; height: 24px;
  color: var(--gold-soft);
}
.lg-col--yanshang .lg-three .practice-icon svg { width: 12px; height: 12px; }
.lg-col--yanshang .lg-three .practice-num { font-size: 8px; color: var(--gold-soft); }
.lg-col--yanshang .lg-three .practice-card h3 { grid-area: title; color: #fff; font-size: 12px; margin-bottom: 3px; }
.lg-col--yanshang .lg-three .practice-card > p {
  grid-area: desc;
  color: rgba(247, 249, 255, .72);
  font-size: 11px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
/* 言上官网链接（深色栏适配，与隆安栏链接对称） */
.lg-col--yanshang .lg-col-link { color: #fff; border-bottom-color: rgba(247, 249, 255, .5); }
.lg-col--yanshang .lg-col-link:hover { color: var(--gold-soft); border-bottom-color: var(--gold-soft); }
.lg-col--yanshang .lg-col-link svg { width: 1rem; height: 1rem; transition: transform .25s; }

@media (max-width: 900px) {
  .lg-compare-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  /* 左右两栏改为上下堆叠：取消子网格与跨列/跨行，避免第二栏落入隐式列导致横向溢出/重叠 */
  .lg-col {
    grid-column: 1 / -1;
    grid-row: auto;
    grid-template-rows: auto;
    display: block;
  }
}
@media (max-width: 640px) {
  .lg-col-logo { width: clamp(3rem, 14vw, 4.2rem); }
  .lg-col-title { font-size: clamp(1.7rem, 7vw, 2.3rem); }
  .lg-col-stats { gap: .8rem 1.4rem; }
  .lg-col--yanshang .lg-three .practice-grid { grid-template-columns: 1fr; }
}

/* ---------- 荣誉 / 研究板块 ---------- */
/* 说明：原「标签切换栏」.honor-tabs / .honor-tab 已随荣誉页、研究页改为单页纵向排布而停用，
   相关样式与 main.js 中的切换逻辑均已移除，改由 .phs-nav-band 锚点导航（全站统一）+ 板块纵向堆叠。 */

.honor-panel { animation: honorFade .32s ease; }
.honor-panel[hidden] { display: none; }
@keyframes honorFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* 荣誉页改为单页纵向排布：7 个板块全部同时呈现，鼠标滚动连续浏览
   （面板 02–07 自带 .wrap，嵌套在外层 .wrap 内会二次缩进，故中和其内边距与最大宽度，
     使其与直接使用外层 wrap 的面板 01 左右对齐） */
.honors-section .honor-panel > .wrap { max-width: none; padding: 0; }
.honors-section .honor-panel + .honor-panel { margin-top: 90px; }

.honor-overview-note {
  max-width: 760px; margin: 36px auto 0; text-align: center;
  font-size: 15.5px; line-height: 1.9; color: var(--ink-soft);
}
.honor-sub-title {
  font-family: var(--serif); font-size: 19px; color: var(--navy); margin: 0 0 22px;
}
.honor-stats {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: var(--paper);
}
/* 荣誉总览 6 项统计：3 列 × 2 行（默认 .stats-row 为 4 列，6 格会排成 4+2 断行）
   注意：.stats-row.honor-stats 特异性高于通用 .stats-row，会盖掉窄屏规则，
   故下方两个断点必须同步声明，否则窄屏会被锁死在 3 列。 */
.stats-row.honor-stats { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1024px) {
  .stats-row.honor-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .stats-row.honor-stats { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  /* 荣誉页单页排布：窄屏收紧板块间距 */
  .honors-section .honor-panel + .honor-panel { margin-top: 64px; }
}

/* ---------- 合作客户二级页 ---------- */

.clients-directory {
  background: var(--paper);
}
.clients-directory-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .82fr);
  align-items: end;
  gap: clamp(36px, 8vw, 120px);
  padding-bottom: 84px;
}
.clients-directory-intro h2 {
  margin-top: 14px;
  font-family: var(--serif);
  font-size: clamp(30px, 4.2vw, 48px);
  line-height: 1.2;
  color: var(--navy);
  letter-spacing: .06em;
}
.clients-directory-intro > p {
  max-width: 520px;
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.95;
}
.clients-category + .clients-category { margin-top: 96px; }
.clients-category-heading {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: end;
  gap: 16px;
  margin-bottom: 30px;
}
.clients-category-index {
  padding-bottom: 4px;
  font-family: var(--serif);
  font-size: 14px;
  letter-spacing: .12em;
  color: var(--gold);
}
.clients-category-heading p {
  margin-bottom: 8px;
  font-size: 11px;
  letter-spacing: .3em;
  color: var(--gold);
  text-transform: uppercase;
}
.clients-category-heading h3 {
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.2;
  color: var(--navy);
}
.clients-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}
.clients-grid li { min-width: 0; }
.clients-card {
  position: relative;
  display: flex;
  min-height: 182px;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px 16px 20px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: #fff;
  color: var(--navy);
  text-align: center;
  transition: transform .3s cubic-bezier(.16, 1, .3, 1), border-color .3s ease, box-shadow .3s ease;
}
.clients-card::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 50%;
  width: 20px;
  height: 1px;
  background: var(--gold-soft);
  transform: translateX(-50%);
  transition: width .3s ease, background .3s ease;
}
.clients-card:hover,
.clients-card:focus-visible {
  border-color: var(--gold-soft);
  box-shadow: var(--shadow-sm);
  transform: translateY(-4px);
  outline: none;
}
.clients-card:hover::before,
.clients-card:focus-visible::before {
  width: 36px;
  background: var(--gold);
}
.clients-card-logo {
  position: relative;
  display: block;
  width: min(100%, 148px);
  height: 78px;
  margin-top: 8px;
}
.clients-card-logo img {
  width: 100%; height: 100%; object-fit: contain;
  transition: transform .35s cubic-bezier(.16, 1, .3, 1), filter .35s ease;
  transform-origin: center;
}
.clients-card:hover .clients-card-logo img,
.clients-card:focus-visible .clients-card-logo img {
  transform: scale(1.08);
  filter: saturate(1.1) drop-shadow(0 7px 9px rgba(14, 42, 71, .11));
}
.clients-card-name {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-height: 2.9em;
  align-items: center;
  justify-content: flex-end;
  font-family: var(--serif);
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink);
}
.clients-card-name span {
  font-family: var(--sans);
  font-size: 10px;
  line-height: 1.25;
  letter-spacing: .04em;
  color: var(--ink-mute);
}

@media (max-width: 1024px) {
  .clients-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .clients-directory-intro { gap: 42px; }
}

@media (max-width: 760px) {
  .clients-directory-intro {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-bottom: 58px;
  }
  .clients-directory-intro > p { max-width: 640px; }
  .clients-category + .clients-category { margin-top: 72px; }
  .clients-category-heading { margin-bottom: 22px; }
  .clients-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .clients-card { min-height: 150px; padding: 22px 10px 16px; gap: 12px; border-radius: 10px; }
  .clients-card-logo { height: 58px; }
  .clients-card-name { font-size: 13px; }
}

/* 全站不显示迁移遗留的“原站详情”外链 */
.article-source,
.case-source { display: none !important; }

/* Keep the source article's circular portrait centered after normalizing images to block layout. */
.article-body img[src*="b403ad9452683440b6ca7f2d1c69f111397deaf76946e01cebd2cd0cdddb355a"] {
  margin-left: auto !important;
  margin-right: auto !important;
}

/* 修复“游心寓目”四篇正文迁移缺图页面的本地图片展示。 */
.activity-image-repair {
  display: grid;
  gap: 24px;
  margin: 24px auto 0;
}
.activity-image-repair img {
  display: block;
  width: 100%;
  max-width: 1080px;
  height: auto !important;
  margin: 0 auto;
}

/* ---------- 言上研究页：获奖论文 / 研究成果 / 原创文章 / 它山之石 居中 ---------- */
#research-papers .sec-head p,
#research-achievements .sec-head p,
#research-articles .sec-head p,
#research-others .sec-head p {
  margin-left: auto;
  margin-right: auto;
}

#research-papers .honor-rank-item {
  justify-content: center;
  text-align: center;
  gap: 16px;
}

/* ---------- 研究页：分类标签栏（文章上方）+ 3 列文章网格 ---------- */
.rs-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0 auto 34px;
  max-width: 1000px;
}
.rs-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 15px;
  font-family: inherit;
  font-size: 13.5px;
  line-height: 1.2;
  color: var(--navy);
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  cursor: pointer;
  transition: all .16s ease;
}
.rs-tag:hover { border-color: var(--gold); color: var(--gold); }
.rs-tag i {
  font-style: normal;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--gold);
  background: rgba(139, 105, 20, .1);
  border-radius: 999px;
  padding: 1px 7px;
  min-width: 22px;
  text-align: center;
}
.rs-tag.active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
  font-weight: 600;
}
.rs-tag.active i { background: rgba(255, 255, 255, .22); color: #fff; }
.rs-tag.is-empty { opacity: .45; }

/* 3 列网格：卡片改为纵向排布，等高对齐 */
.rs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}
.rs-grid .case-item {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 20px 20px 18px;
}
.rs-grid .case-item .ci-index {
  min-width: 0;
  height: auto;
  padding: 0;
  margin-bottom: 8px;
  border: 0;
  background: none;
  font-size: 12.5px;
  letter-spacing: .08em;
  text-align: left;
  place-items: start;
}
.rs-grid .case-item h3 {
  font-size: 16px;
  margin: 6px 0 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rs-grid .case-item p {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.7;
}
.rs-grid .case-item .ci-more { margin-top: auto; padding-top: 12px; }

@media (max-width: 1024px) {
  .rs-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .rs-grid { grid-template-columns: 1fr; }
  .rs-filter { gap: 8px; margin-bottom: 26px; }
  .rs-tag { padding: 7px 13px; font-size: 13px; }
}

/* ---------- 研究专题：横向滚动的课件封面墙 ---------- */
.topic-scroller {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  scroll-behavior: smooth;
  padding: 4px 4px 18px;
  -webkit-overflow-scrolling: touch;
}
.topic-scroller::-webkit-scrollbar { height: 8px; }
.topic-scroller::-webkit-scrollbar-track { background: var(--paper-soft); border-radius: 999px; }
.topic-scroller::-webkit-scrollbar-thumb { background: rgba(26, 54, 93, .25); border-radius: 999px; }
.topic-scroller::-webkit-scrollbar-thumb:hover { background: rgba(26, 54, 93, .45); }

.topic-card {
  flex: 0 0 auto;
  width: 288px;
  margin: 0;
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all .3s ease;
}
.topic-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--line);
}

.topic-cover {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--paper-soft);
}
.topic-cover img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* 尚无课件封面时的占位样式：拿到封面图后把 .is-placeholder 换成 <img> 即可 */
.topic-cover.is-placeholder {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 6px;
  background: linear-gradient(150deg, #1a365d 0%, #2c5282 52%, #8b6914 135%);
  color: rgba(255, 255, 255, .92);
}
.topic-no {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 600;
  letter-spacing: .04em;
}
.topic-hint { font-size: 11.5px; letter-spacing: .18em; opacity: .72; }

.topic-card figcaption { padding: 14px 16px 16px; }
.topic-cat { font-size: 12px; color: var(--gold); letter-spacing: .05em; }
.topic-card figcaption h3 {
  font-family: var(--serif);
  font-size: 15.5px;
  font-weight: 700;
  color: var(--navy);
  margin: 5px 0 0;
  line-height: 1.5;
}

@media (max-width: 640px) {
  .topic-card { width: 244px; }
  .topic-scroller { gap: 14px; }
}

/* 研究专题：卡片平铺 + 左右平移滑动（无重叠遮挡） */
.topic-rail { position: relative; }
.topic-rail-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 4px 4px 18px;
  -webkit-overflow-scrolling: touch;
}
.topic-rail-track::-webkit-scrollbar { height: 6px; }
.topic-rail-track::-webkit-scrollbar-track { background: var(--paper-soft); border-radius: 999px; }
.topic-rail-track::-webkit-scrollbar-thumb { background: rgba(26, 54, 93, .25); border-radius: 999px; }
.topic-rail-track::-webkit-scrollbar-thumb:hover { background: rgba(26, 54, 93, .45); }

.topic-slide {
  position: relative; /* 标题叠加层的定位基准：缺省时会锚定到整个轨道 */
  flex: 0 0 auto;
  width: calc((100% - 40px) / 3);
  margin: 0;
  scroll-snap-align: start;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.topic-slide:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--line);
}

.rail-arrow {
  position: absolute;
  z-index: 6;
  top: 50%;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(14, 43, 70, .1);
  border-radius: 999px;
  color: var(--navy);
  background: rgba(255, 255, 255, .95);
  box-shadow: 0 8px 25px rgba(14, 43, 70, .13);
  transform: translateY(-50%);
  cursor: pointer;
  transition: all .22s ease;
}
.rail-arrow:hover { color: #fff; background: var(--navy); transform: translateY(-50%) scale(1.06); }
.rail-arrow:disabled { opacity: .3; cursor: default; transform: translateY(-50%); }
.rail-arrow:disabled:hover { color: var(--navy); background: rgba(255, 255, 255, .95); transform: translateY(-50%); }
.rail-arrow svg { width: 20px; height: 20px; }
.rail-prev { left: -18px; }
.rail-next { right: -18px; }

/* 专题标题叠在封面底部 */
.topic-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 16px 13px;
  background: linear-gradient(to top, rgba(12, 26, 44, .92) 0%, rgba(12, 26, 44, .68) 46%, rgba(12, 26, 44, 0) 100%);
  color: #fff;
}
.topic-cap .topic-cat { font-size: 11.5px; letter-spacing: .1em; color: #e8c86a; }
.topic-cap h3 {
  margin: 4px 0 0;
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
  color: #fff;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 1024px) {
  .topic-slide { width: calc((100% - 20px) / 2); }
}
@media (max-width: 640px) {
  .topic-slide { width: 84%; }
  .rail-arrow { width: 36px; height: 36px; }
  .rail-prev { left: 2px; }
  .rail-next { right: 2px; }
  .topic-cap { padding: 20px 12px 10px; }
  .topic-cap h3 { font-size: 13.5px; }
}

/* 研究专题：右上角「展开全部 / 收起」切换 */
.rail-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin: 0 0 12px;
  min-height: 34px;
}
.rail-count {
  font-size: 12.5px;
  letter-spacing: .04em;
  color: var(--ink-mute);
}
.rail-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--navy);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .03em;
  cursor: pointer;
  transition: border-color .25s ease, color .25s ease, box-shadow .25s ease;
}
.rail-toggle:hover {
  border-color: var(--gold);
  color: var(--gold);
  box-shadow: var(--shadow-sm);
}
.rail-toggle svg { width: 15px; height: 15px; }
.rail-toggle .ico-collapse { display: none; }
.topic-rail.is-expanded .rail-toggle .ico-expand { display: none; }
.topic-rail.is-expanded .rail-toggle .ico-collapse { display: block; }

/* 展开态：轨道换行成网格，一屏看全该专题所有课件 */
.topic-rail.is-expanded .topic-rail-track {
  flex-wrap: wrap;
  overflow: visible;
  scroll-snap-type: none;
  padding: 4px 4px 4px;
}
.topic-rail.is-expanded .rail-arrow { display: none; }

/* 展开态工具栏吸顶：卡片多时轨道很长，「收起」按钮始终停留在视口内 */
.topic-rail.is-expanded .rail-tools {
  position: sticky;
  top: 72px;
  z-index: 20;
  margin: 0 0 12px;
  padding: 10px 0;
  background: rgba(253, 252, 251, .94);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
}
@media (max-width: 1024px) {
  .topic-rail.is-expanded .topic-slide { width: calc((100% - 20px) / 2); }
}
@media (max-width: 640px) {
  .topic-rail.is-expanded .topic-slide { width: 100%; }
}

/* 研究专题：标签改为方框网格（仅作用于专题标签栏，不影响原创文章标签） */
#topicFilter {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  gap: 10px;
  max-width: 1000px;
}
#topicFilter .rs-tag {
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  min-height: 60px;
  padding: 12px 10px;
  border-radius: 8px;
  text-align: center;
}
#topicFilter .rs-tag i {
  min-width: 0;
  padding: 0;
  background: none;
  font-size: 11.5px;
  font-weight: 600;
}
#topicFilter .rs-tag.active i { background: none; }


/* ============================================================
   典型案例：横向标签筛选 + 3 列方框（cases.html）
   ============================================================ */
.case-shell {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
  margin-top: 56px;
}

.case-side {
  background: linear-gradient(180deg, var(--paper, #f8f8f6) 0%, #fff 100%);
  border: 1px solid var(--line, #e8e4dc);
  border-radius: 14px;
  padding: 22px 24px 18px;
  position: relative;
}
.case-side::before {
  content: "";
  position: absolute;
  left: 0; top: 18px; bottom: 18px;
  width: 3px;
  background: linear-gradient(180deg, var(--gold, #8b6914) 0%, transparent 100%);
  border-radius: 0 3px 3px 0;
}
.cs-head {
  font-family: var(--serif, "Noto Serif SC", "Songti SC", serif);
  font-size: 15px;
  font-weight: 600;
  color: var(--navy, #1a365d);
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: .04em;
}
.cs-head::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--line, #e8e4dc) 0%, transparent 100%);
}
.cs-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
}
.cs-pill {
  appearance: none;
  -webkit-appearance: none;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--navy, #1a365d);
  background: #fff;
  border: 1px solid var(--line, #e8e4dc);
  border-radius: 999px;
  padding: 8px 16px;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
  white-space: nowrap;
  letter-spacing: .02em;
}
.cs-pill:hover {
  border-color: var(--gold, #8b6914);
  color: var(--gold, #8b6914);
  transform: translateY(-1px);
}
.cs-pill.active {
  background: var(--navy, #1a365d);
  color: #fff;
  border-color: var(--navy, #1a365d);
  box-shadow: 0 4px 12px rgba(26, 54, 93, .18);
}

.case-main {
  min-width: 0;
}
.case-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.case-item {
  display: flex;
  align-items: stretch;
  gap: 18px;
  padding: 22px 22px 24px;
  background: #fff;
  border: 1px solid var(--line, #e8e4dc);
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: border-color .22s ease, box-shadow .22s ease, transform .22s ease;
  position: relative;
  overflow: hidden;
}
.case-item::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold, #8b6914) 0%, transparent 80%);
  opacity: 0;
  transition: opacity .22s ease;
}
.case-item:hover {
  border-color: var(--gold, #8b6914);
  box-shadow: 0 12px 28px rgba(26, 54, 93, .10);
  transform: translateY(-3px);
}
.case-item:hover::before { opacity: 1; }

.ci-index {
  font-family: var(--serif, "Noto Serif SC", "Songti SC", serif);
  font-size: 30px;
  font-weight: 600;
  color: var(--gold, #8b6914);
  line-height: 1;
  flex-shrink: 0;
  letter-spacing: -.02em;
  padding-top: 2px;
}
.ci-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ci-cat {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--gold, #8b6914);
  letter-spacing: .14em;
  text-transform: none;
  display: inline-block;
  padding: 2px 0;
  border-bottom: 1px solid currentColor;
  align-self: flex-start;
  line-height: 1.4;
}
.ci-body h3 {
  font-family: var(--serif, "Noto Serif SC", "Songti SC", serif);
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink, #1a1a1a);
  line-height: 1.5;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ci-tags {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.ci-tags li {
  font-size: 11.5px;
  color: var(--navy, #1a365d);
  background: rgba(26, 54, 93, .06);
  border-radius: 4px;
  padding: 2px 8px;
  letter-spacing: .02em;
}
.ci-more {
  font-size: 12.5px;
  color: var(--gold, #8b6914);
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 500;
}
.ci-more svg { width: 14px; height: 14px; }

.case-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 0;
  color: var(--mute, #7a7a7a);
  font-size: 14px;
}

/* 中屏：案例方框变 2 列 */
@media (max-width: 1080px) {
  .case-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ============================================================
   案例详情页（content/cases/case-XX.html）
   ============================================================ */
.breadcrumb {
  max-width: var(--wrap, 1200px);
  margin: 32px auto 0;
  padding: 0 24px;
  font-size: 13px;
  color: var(--mute, #7a7a7a);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.breadcrumb a {
  color: var(--mute, #7a7a7a);
  text-decoration: none;
  transition: color .18s ease;
}
.breadcrumb a:hover { color: var(--gold, #8b6914); }
.bc-sep { color: var(--line, #e8e4dc); font-size: 14px; }
.breadcrumb [aria-current="page"] {
  color: var(--navy, #1a365d);
  font-weight: 500;
  max-width: 60ch;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.case-detail-hero {
  background: linear-gradient(180deg, var(--paper, #f8f8f6) 0%, #fff 100%);
  padding: 56px 0 48px;
  border-bottom: 1px solid var(--line, #e8e4dc);
  position: relative;
}
.case-detail-hero::after {
  content: "";
  position: absolute;
  left: 50%; bottom: -1px;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: var(--gold, #8b6914);
}
.case-detail-hero .wrap { max-width: 920px; }
.case-tag {
  display: inline-block;
  font-family: var(--serif, "Noto Serif SC", "Songti SC", serif);
  font-size: 13px;
  font-weight: 600;
  color: var(--gold, #8b6914);
  letter-spacing: .14em;
  padding: 4px 0;
  border-bottom: 1px solid currentColor;
  margin-bottom: 22px;
}
.case-detail-hero h1 {
  font-family: var(--serif, "Noto Serif SC", "Songti SC", serif);
  font-size: 34px;
  font-weight: 600;
  color: var(--navy, #1a365d);
  line-height: 1.45;
  margin: 0 0 26px;
  letter-spacing: .01em;
}
.cd-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  padding-top: 18px;
  border-top: 1px dashed var(--line, #e8e4dc);
  font-size: 13px;
  color: var(--mute, #7a7a7a);
}
.cd-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.cd-meta svg { width: 16px; height: 16px; color: var(--gold, #8b6914); }

.case-detail-body { max-width: 920px; }
.case-article {
  padding: 64px 0 24px;
}
.case-article-section {
  margin-bottom: 60px;
  scroll-margin-top: 90px;
}
.case-article-section h2 {
  font-family: var(--serif, "Noto Serif SC", "Songti SC", serif);
  font-size: 24px;
  font-weight: 600;
  color: var(--navy, #1a365d);
  margin: 0 0 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line, #e8e4dc);
  display: flex;
  align-items: baseline;
  gap: 14px;
  position: relative;
}
.case-article-section h2::after {
  content: "";
  position: absolute;
  left: 0; bottom: -1px;
  width: 56px;
  height: 2px;
  background: var(--gold, #8b6914);
}
.case-num {
  font-family: var(--serif, "Noto Serif SC", "Songti SC", serif);
  font-size: 16px;
  font-weight: 600;
  color: var(--gold, #8b6914);
  letter-spacing: .04em;
  font-feature-settings: "tnum";
}
.case-prose {
  font-size: 15.5px;
  line-height: 1.95;
  color: var(--ink, #1a1a1a);
  text-align: justify;
}
.case-prose p {
  margin: 0 0 18px;
}
.case-prose p:last-child { margin-bottom: 0; }
.case-prose strong {
  color: var(--navy, #1a365d);
  font-weight: 700;
}

.case-back-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 28px 0 8px;
  margin-top: 24px;
  border-top: 1px solid var(--line, #e8e4dc);
}
.case-back-link {
  font-size: 14px;
  color: var(--navy, #1a365d);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 500;
  transition: color .18s ease, gap .18s ease;
}
.case-back-link:hover {
  color: var(--gold, #8b6914);
  gap: 8px;
}
.case-back-seq {
  font-size: 12.5px;
  color: var(--mute, #7a7a7a);
  letter-spacing: .08em;
}

/* 详情页窄屏调整 */
@media (max-width: 760px) {
  .breadcrumb { margin-top: 22px; padding: 0 20px; font-size: 12.5px; }
  .breadcrumb [aria-current="page"] { max-width: 22ch; }
  .case-detail-hero { padding: 40px 0 36px; }
  .case-detail-hero h1 { font-size: 24px; line-height: 1.5; }
  .case-detail-hero .wrap { padding: 0 20px; }
  .cd-meta { gap: 10px 18px; font-size: 12.5px; }
  .case-detail-body { padding: 0 20px; }
  .case-article { padding: 40px 0 12px; }
  .case-article-section { margin-bottom: 44px; }
  .case-article-section h2 { font-size: 20px; gap: 10px; }
  .case-prose { font-size: 15px; line-height: 1.85; }
  .case-back-row { padding: 22px 0 4px; }
}

/* 案例方框窄屏：横向标签栏已支持 wrap，case-item 改单列 */
@media (max-width: 760px) {
  .case-shell { margin-top: 36px; gap: 22px; }
  .case-side { padding: 18px 18px 16px; }
  .case-list { grid-template-columns: 1fr; gap: 18px; }
  .case-item { padding: 18px 18px 20px; gap: 14px; }
  .ci-index { font-size: 26px; }
  .ci-body h3 { font-size: 15px; -webkit-line-clamp: 4; }
}
