@charset "utf-8";
/* ==========================================================================
   建纬（昆明）律师事务所 官网全局样式 v3
   主色调：蓝色渐变 #1747c8 → #3d7bff（辅深蓝 #0a2463）｜搭配浅蓝白渐变（非纯色背景）
   头部：导航与页面背景一体化（透明深色衔接，滚动后毛玻璃加深），文字白色，logo 图片
   背景：hero/内页头部深蓝光带（参考图2）；浅色面板浅蓝流体光晕（参考图1）
   字体：Noto Sans SC 等版权免费无衬线商务字体
   适配：电脑端 / 平板 / 手机端自适应；导航单行不换行；主标语两排式不折行
   ========================================================================== */

/* ---------- 1. 设计变量 ---------- */
:root {
  --blue: #1747c8;
  --blue-bright: #3d7bff;
  --blue-deep: #0a2463;
  --blue-050: #eef3fe;
  --blue-100: #dfe8fb;

  /* 兼容旧页面内联样式的历史别名 */
  --navy: #0a2463;
  --navy-800: #081d52;
  --navy-900: #061640;
  --navy-050: #eef3fe;

  --line: #e3e8f2;
  --line-soft: #edf1f8;
  --ink: #101828;
  --body: #3d4a5c;
  --muted: #6b7a90;
  --bg: #ffffff;
  --bg-soft: #f6f8fc;
  --bg-mist: #eef2f9;

  --grad: linear-gradient(120deg, #050f2e 0%, #0a2463 38%, #123a9e 70%, #1d51c9 100%);
  --grad-soft: linear-gradient(135deg, #f3f7ff 0%, #ffffff 55%, #eef3fe 100%);
  --grad-line: linear-gradient(90deg, #1747c8, #3d7bff);

  --radius: 10px;
  --radius-lg: 14px;
  --maxw: 1240px;
  --sect: 112px;

  --font-sans: "Noto Sans SC", "Source Han Sans SC", "Source Han Sans CN",
    "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Hiragino Sans GB",
    "WenQuanYi Micro Hei", Arial, sans-serif;

  --shadow-sm: 0 1px 2px rgba(10, 36, 99, .06);
  --shadow: 0 10px 30px rgba(10, 36, 99, .09);
  --shadow-lg: 0 22px 50px rgba(10, 36, 99, .13);
  --shadow-glow: 0 10px 26px rgba(23, 71, 200, .28);
  --ease: cubic-bezier(.25, .6, .3, 1);
}

/* ---------- 2. 基础重置 ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 112px;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.85;
  color: var(--body);
  /* 底色为纯白，由各 .section 的白/浅灰色带形成交叉过渡，模块边界清晰 */
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; border: 0; display: block; }

a { color: var(--blue); text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--blue-bright); }

h1, h2, h3, h4, h5 {
  margin: 0 0 .6em;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .01em;
}
h1 { font-size: 34px; }
h2 { font-size: 30px; }
h3 { font-size: 20px; }
h4 { font-size: 17px; }
p { margin: 0 0 1em; }

ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
li { margin-bottom: .4em; }

hr { border: 0; border-top: 1px solid var(--line); margin: 32px 0; }

strong { color: var(--ink); font-weight: 700; }

::selection { background: var(--blue); color: #fff; }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

/* 无障碍：跳转到主内容 */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--blue-deep); color: #fff; padding: 10px 18px;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- 3. 布局工具类 ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: var(--sect) 0; }
.section--tight { padding: calc(var(--sect) * .6) 0; }
/* 板块背景色带：白 / 浅灰交叉过渡，边界柔和，模块可辨识但不突兀 */
.section--white { background: #ffffff; }
.section--soft { background: linear-gradient(180deg, #ffffff 0%, #f2f6fc 34%, #eef3fa 68%, #f5f8fd 100%); }
.section--mist { background: linear-gradient(180deg, #eef3fb 0%, #e9eff8 50%, #eff4fb 100%); }
.section--navy { background: var(--grad); color: rgba(255, 255, 255, .88); }
.section--navy h2, .section--navy h3, .section--navy h4 { color: #fff; }
.section--num { padding: 0; }

/* 相邻色带之间的极淡描边，让分界清晰但不生硬 */
.section--soft { border-top: 1px solid rgba(23, 71, 200, .06); border-bottom: 1px solid rgba(23, 71, 200, .06); }
.section--mist { border-top: 1px solid rgba(23, 71, 200, .05); border-bottom: 1px solid rgba(23, 71, 200, .05); }
/* 白底卡片的柔和投影（提升交叉底上的层次） */
.card, .svc-card { box-shadow: 0 2px 10px rgba(15, 40, 90, .045); }
.card:hover, .svc-card:hover { box-shadow: 0 16px 36px rgba(15, 40, 90, .12); }

.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.text-center { text-align: center; }

/* ---------- 4. 标题组 ---------- */
.sec-head { max-width: 780px; margin-bottom: 48px; }
.sec-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head .eyebrow {
  display: inline-block;
  font-size: 13px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
  font-weight: 700;
}
.sec-head h2 { margin-bottom: .5em; }
.sec-head .lead { font-size: 16.5px; color: var(--muted); margin: 0; }
.section--navy .sec-head .eyebrow { color: #9db8ee; }
.section--navy .sec-head .lead { color: rgba(255, 255, 255, .74); }

.title-rule {
  width: 46px; height: 3px; border-radius: 2px;
  background: var(--grad-line);
  margin: 0 0 20px;
}
.sec-head--center .title-rule { margin-left: auto; margin-right: auto; }

/* 板块标题行：标题 + 更多链接 */
.row-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 24px; margin-bottom: 44px;
}
.row-head .sec-head { margin-bottom: 0; }
.more-link {
  flex: 0 0 auto; font-size: 15px; font-weight: 700; color: var(--blue);
  display: inline-flex; align-items: center; gap: 6px; padding-bottom: 6px;
}
.more-link::after { content: "→"; transition: transform .25s var(--ease); }
.more-link:hover { color: var(--blue-bright); }
.more-link:hover::after { transform: translateX(4px); }

/* ---------- 5. 顶部信息条（已移除：导航与页面背景一体化） ---------- */

/* ---------- 6. 页头与导航（深色一体化：透明衔接背景，滚动后加深毛玻璃；白字单行不换行） ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: transparent;
  transition: background .35s var(--ease), box-shadow .35s var(--ease);
}
/* 顶部轻压暗渐变，保证白字在任何页面顶部都可读 */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(5, 15, 46, .52), rgba(5, 15, 46, .2) 62%, rgba(5, 15, 46, 0));
  pointer-events: none;
  transition: opacity .35s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(6, 18, 52, .84);
  -webkit-backdrop-filter: saturate(170%) blur(14px);
  backdrop-filter: saturate(170%) blur(14px);
  box-shadow: 0 10px 30px rgba(4, 12, 38, .28);
}
.site-header.is-scrolled::before { opacity: 0; }

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; min-height: 80px;
  flex-wrap: nowrap;
}
.brand { display: flex; align-items: center; gap: 11px; flex: 0 0 auto; }
.brand__logo { height: 44px; width: auto; display: block; }
.brand__logo--footer { height: 40px; }

.nav {
  display: flex; align-items: center; gap: 2px;
  flex: 1 1 auto; justify-content: flex-end;
  min-width: 0; white-space: nowrap; flex-wrap: nowrap;
}
.nav a {
  display: block; padding: 10px 11px; font-size: 15px;
  color: rgba(255, 255, 255, .88);
  border-radius: var(--radius); position: relative; white-space: nowrap;
}
.nav a:hover { color: #fff; }
.nav a::after {
  content: ""; position: absolute; left: 11px; right: 11px; bottom: 4px;
  height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, #7ea6ff, #d5e4ff);
  transform: scaleX(0); transform-origin: left;
  transition: transform .28s var(--ease);
}
.nav a:hover::after { transform: scaleX(1); }
.nav a.is-active { color: #fff; font-weight: 700; }
.nav a.is-active::after { transform: scaleX(1); }

.header-cta { display: flex; align-items: center; gap: 14px; flex: 0 0 auto; flex-wrap: nowrap; }
.header-tel { font-size: 13px; color: rgba(255, 255, 255, .62); line-height: 1.3; text-align: right; white-space: nowrap; }
.header-tel strong { display: block; font-size: 16px; color: #fff; letter-spacing: .01em; }

/* 汉堡按钮 */
.nav-toggle {
  display: none; width: 44px; height: 44px;
  border: 1px solid rgba(255, 255, 255, .38);
  background: rgba(255, 255, 255, .08); border-radius: var(--radius); cursor: pointer; padding: 0;
  align-items: center; justify-content: center;
}
.nav-toggle span {
  display: block; width: 20px; height: 2px; background: #fff;
  position: relative; transition: background .2s var(--ease);
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 20px; height: 2px;
  background: #fff; transition: transform .25s var(--ease);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- 7. 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 30px; font-size: 15px; font-weight: 700;
  border-radius: var(--radius); border: 1px solid transparent;
  cursor: pointer; transition: all .28s var(--ease); line-height: 1.4;
  font-family: inherit; white-space: nowrap;
}
.btn--primary {
  background: linear-gradient(120deg, #1747c8, #2f63e6);
  color: #fff; box-shadow: var(--shadow-glow);
}
.btn--primary:hover { background: linear-gradient(120deg, #1d51c9, #3d7bff); color: #fff; transform: translateY(-2px); box-shadow: 0 14px 32px rgba(23, 71, 200, .34); }
.btn--ghost { background: transparent; color: var(--blue); border-color: rgba(23, 71, 200, .38); }
.btn--ghost:hover { background: var(--blue-050); color: var(--blue); border-color: var(--blue); }
.btn--light { background: #fff; color: var(--blue-deep); }
.btn--light:hover { background: var(--blue-050); color: var(--blue-deep); transform: translateY(-2px); }
.btn--line-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .5); }
.btn--line-light:hover { background: rgba(255, 255, 255, .12); color: #fff; border-color: #fff; }
.btn--block { width: 100%; }
.btn--sm { padding: 9px 20px; font-size: 14px; }

/* ---------- 8. 首屏 Banner（深蓝渐变纯色 + 单行主标语） ---------- */
.hero {
  position: relative;
  background: var(--grad);
  background-size: 280% 280%;
  animation: gradPan 16s ease infinite;
  color: #fff;
  overflow: hidden;
}
/* 背景：--grad 深蓝渐变（16s 缓慢平移）+ 底部流光光带（.hero__aurora，参考建纬总所横幅） */
/* Banner 流光光带：大曲率渐变曲线 + SVG 高斯模糊，置于文字层之下，随视口拉伸不变形 */
.hero__aurora {
  position: absolute; left: -2%; bottom: -14%; z-index: 1;
  width: 104%; height: 74%;
  pointer-events: none;
  animation: auroraDrift 18s ease-in-out infinite alternate;
}
@keyframes auroraDrift {
  from { transform: translateX(-1%); }
  to { transform: translateX(1.2%); }
}

@keyframes gradPan {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes cue {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(9px); opacity: .35; }
}

/* 水平内边距必须与 .wrap 保持一致：banner 文字左缘对齐顶部 logo（此前 0 覆盖导致文字贴视口边） */
.hero__inner { position: relative; z-index: 2; padding: 128px 24px 158px; }
.hero__kicker {
  font-size: 13.5px; letter-spacing: .3em; color: #9db8ee;
  margin: 0 0 26px; font-weight: 600;
}
/* 主标语：单行横排（超前 务实 至诚 优质｜律所名），永不折行，按视口平滑缩放字号 */
.hero__slogan {
  display: flex; flex-wrap: nowrap; align-items: baseline; gap: .26em;
  white-space: nowrap;
  font-size: clamp(13px, 3.85vw, 46px);
  font-weight: 800; letter-spacing: .04em;
  margin: 0 0 22px; line-height: 1.3;
  max-width: none;
}
.hero__slogan .s {
  background: linear-gradient(92deg, #ffffff 20%, #bcd2ff 90%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.hero__slogan .sep { color: rgba(255, 255, 255, .55); font-weight: 400; }
.hero__slogan .n { color: rgba(255, 255, 255, .94); font-size: .62em; font-weight: 700; letter-spacing: .08em; }

.hero__sub {
  font-size: 18px; letter-spacing: .06em; color: rgba(255, 255, 255, .85);
  margin: 0 0 40px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.scroll-cue {
  position: absolute; left: 50%; bottom: 30px; z-index: 2;
  width: 2px; height: 46px; overflow: hidden;
}
.scroll-cue span {
  position: absolute; left: 0; top: 0; width: 2px; height: 100%;
  background: linear-gradient(180deg, transparent, #ffffff);
  animation: cue 1.8s ease-in-out infinite;
}

/* 内页头图（深蓝光带背景，顶部为固定导航预留空间） */
.page-hero {
  background: var(--grad);
  color: #fff; padding: 132px 0 68px; position: relative; overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; left: -15%; bottom: -170px;
  width: 130%; height: 320px; border-radius: 50%;
  background:
    radial-gradient(55% 100% at 30% 100%, rgba(46, 108, 255, .42), transparent 64%),
    radial-gradient(40% 80% at 70% 100%, rgba(110, 86, 255, .26), transparent 60%);
  pointer-events: none;
}
.page-hero::after {
  content: ""; position: absolute; right: -80px; top: -60px;
  width: 340px; height: 340px; border-radius: 50%;
  background: radial-gradient(circle, rgba(90, 140, 255, .3), transparent 65%);
}
.page-hero h1 { color: #fff; font-size: 34px; margin-bottom: 12px; position: relative; z-index: 1; }
.page-hero p { color: rgba(255, 255, 255, .8); max-width: 820px; margin: 0; font-size: 16px; position: relative; z-index: 1; }
.page-hero .breadcrumb { position: relative; z-index: 1; }

.breadcrumb { font-size: 13px; color: rgba(255, 255, 255, .68); margin-bottom: 16px; }
.breadcrumb a { color: rgba(255, 255, 255, .82); }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }
.breadcrumb span { margin: 0 8px; color: rgba(255, 255, 255, .4); }

/* ---------- 9. 大数字带（参考中伦风格） ---------- */
.num-band {
  position: relative; z-index: 5;
  margin-top: -74px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 46px 28px 42px;
}
.num { text-align: center; padding: 4px 12px; }
.num__val {
  font-size: clamp(36px, 3.6vw, 54px); font-weight: 800; line-height: 1.15;
  font-variant-numeric: tabular-nums; letter-spacing: .01em;
}
.num__val span {
  background: var(--grad-line);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.num__val em {
  font-style: normal; font-size: .42em; font-weight: 800; margin-left: 4px;
  background: var(--grad-line);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.num__label { font-size: 14.5px; color: var(--muted); margin-top: 10px; line-height: 1.6; }

/* ---------- 10. 卡片 ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px 28px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--blue-100); }
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15px; margin-bottom: 16px; }
.card__icon {
  width: 44px; height: 44px; border-radius: var(--radius);
  background: var(--blue-050); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 700; margin-bottom: 18px; flex: 0 0 44px;
}
.card__more { margin-top: auto; font-size: 14px; font-weight: 700; color: var(--blue); }
.card__more::after { content: " →"; transition: margin .25s var(--ease); display: inline-block; }
.card:hover .card__more::after { margin-left: 4px; }

/* ---------- 荣誉资质卡片 ---------- */
/* 中文主标题项：与普通卡片一致 */
.card--honor h3 { line-height: 1.45; }
.card--honor p { margin-bottom: 0; line-height: 1.75; }
/* 英文主标题项（Chambers and Partners / Asian Legal Business）：
   英文名为主标题，获奖具体项目置于下方，字号适当缩小 */
.card--honor-en h3.honor__en {
  font-size: 17px; line-height: 1.4; margin-bottom: 12px;
  letter-spacing: .2px; font-family: Georgia, "Times New Roman", Arial, sans-serif;
}
.card--honor-en p.honor__detail {
  font-size: 13px; line-height: 1.8; color: var(--muted); margin-bottom: 0;
}

/* ---------- 专业委员会卡片（仅序号 + 名称，无业务说明） ---------- */
.card--committee { padding: 24px 22px; justify-content: center; min-height: 112px; }
.card--committee h3 { font-size: 16.5px; line-height: 1.5; margin-bottom: 0; }

/* 可点击卡片（整块链接） */
a.card { color: inherit; }
a.card:hover { color: inherit; }

/* 智库文章卡片（首页精简版：标签 + 标题 + 日期） */
.card--post h3 { font-size: 17px; line-height: 1.65; margin: 12px 0 14px; }
.card__date { margin-top: auto; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }

/* 业务卡片（详情页版） */
.card--practice { padding: 32px 30px; }
.card--practice .no {
  font-size: 13px; font-weight: 700; color: var(--blue);
  letter-spacing: .16em; margin-bottom: 12px;
}

/* ---------- 11. 专业领域视觉卡片（可点击，参考建纬总所） ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc-grid--2 { grid-template-columns: repeat(2, 1fr); }

/* 8+2 分组：核心业务 / 特色业务 */
.svc-group + .svc-group { margin-top: 46px; }
.svc-group__head {
  display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap;
  margin-bottom: 20px; padding-bottom: 12px;
  border-bottom: 1px solid rgba(23, 71, 200, .12);
}
.svc-group__label {
  font-size: 17px; font-weight: 800; color: var(--ink);
  letter-spacing: .06em; position: relative; padding-left: 14px;
}
.svc-group__label::before {
  content: ''; position: absolute; left: 0; top: .28em;
  width: 4px; height: .82em; border-radius: 2px; background: var(--grad-line);
}
.svc-group__lead { font-size: 14px; color: var(--muted); }

.svc-card {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  min-height: 178px; padding: 28px 26px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  color: inherit;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.svc-card::before {
  content: ""; position: absolute; inset: 0;
  background: var(--grad);
  opacity: 0; transition: opacity .32s var(--ease);
}
.svc-card > * { position: relative; z-index: 1; }
.svc-card:hover { transform: translateY(-6px); border-color: transparent; box-shadow: var(--shadow-lg); color: inherit; }
.svc-card:hover::before { opacity: 1; }
.svc-card .no {
  font-size: 13px; font-weight: 800; letter-spacing: .22em;
  background: var(--grad-line);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  transition: color .3s var(--ease);
}
.svc-card h3 { font-size: 21px; margin: 14px 0 8px; color: var(--ink); transition: color .3s var(--ease); }
.svc-card p { font-size: 14.5px; color: var(--muted); margin: 0; line-height: 1.8; transition: color .3s var(--ease); }
.svc-card__more {
  margin-top: auto; padding-top: 16px;
  font-size: 14px; font-weight: 700; color: var(--blue);
  display: inline-flex; align-items: center; gap: 7px;
  transition: color .3s var(--ease);
}
.svc-card__more i { font-style: normal; transition: transform .3s var(--ease); }
.svc-card:hover .no { background: none; -webkit-text-fill-color: rgba(255, 255, 255, .72); color: rgba(255, 255, 255, .72); }
.svc-card:hover h3 { color: #fff; }
.svc-card:hover p { color: rgba(255, 255, 255, .82); }
.svc-card:hover .svc-card__more { color: #fff; }
.svc-card:hover .svc-card__more i { transform: translateX(5px); }

.svc-card--lg { min-height: 208px; padding: 34px 32px; }
.svc-card--lg h3 { font-size: 23px; }

/* ---------- 12. 优势条（仅标题，五列） ---------- */
.adv-strip {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 1px; background: var(--line); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden;
}
.adv {
  background: #fff; padding: 30px 22px 28px;
  transition: background .3s var(--ease);
}
.adv:hover { background: var(--blue-050); }
.adv__no {
  display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .2em;
  background: var(--grad-line);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.adv h3 { font-size: 18px; margin: 12px 0 0; }

/* ---------- 13. 关于面板（参考图1：浅蓝流体光晕 + 大标语 + 大留白） ---------- */
.panel {
  position: relative; overflow: hidden;
  background:
    radial-gradient(46% 68% at 16% 24%, rgba(125, 175, 255, .38), transparent 60%),
    radial-gradient(36% 52% at 74% 8%, rgba(150, 228, 255, .26), transparent 58%),
    radial-gradient(48% 62% at 90% 80%, rgba(84, 120, 255, .24), transparent 62%),
    radial-gradient(40% 56% at 42% 98%, rgba(180, 140, 255, .13), transparent 58%),
    linear-gradient(155deg, #e9f1ff 0%, #f7faff 46%, #e7effe 100%);
  border: 1px solid rgba(160, 190, 245, .55);
  border-radius: var(--radius-lg);
  padding: 68px 64px;
}
.panel::after {
  content: ""; position: absolute; right: -140px; bottom: -180px;
  width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(61, 123, 255, .18), transparent 65%);
  pointer-events: none;
}
.panel__grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.35fr 1fr; gap: 60px; align-items: center;
}
.panel__slogan {
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 800; letter-spacing: .14em; line-height: 1.35;
  margin: 14px 0 18px;
  background: var(--grad-line);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.panel__text { font-size: 17px; color: var(--body); margin-bottom: 30px; }
.panel__points { list-style: none; margin: 0; padding: 0; }
.panel__points li {
  display: flex; align-items: baseline; gap: 18px;
  padding: 16px 2px; border-bottom: 1px solid var(--blue-100);
  font-size: 15.5px; color: var(--body); line-height: 1.7;
}
.panel__points li:last-child { border-bottom: 0; }
.panel__points b {
  flex: 0 0 auto; min-width: 76px;
  font-size: 30px; font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums;
  background: var(--grad-line);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- 14. 滚动浮现动效 ---------- */
.js .reveal {
  opacity: 0; transform: translateY(26px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- 15. 数据条（about / branch 页沿用） ---------- */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden;
}
.stats__item { background: #fff; padding: 30px 24px; text-align: center; }
.stats__num { font-size: 34px; font-weight: 800; color: var(--blue-deep); line-height: 1.2; letter-spacing: .01em; }
.stats__num small { font-size: 15px; font-weight: 700; margin-left: 2px; }
.stats__label { font-size: 14px; color: var(--muted); margin-top: 6px; }

/* ---------- 16. 列表（新闻 / 文章 / 动态） ---------- */
.list { border-top: 1px solid var(--line); }
.list__item {
  display: flex; align-items: flex-start; gap: 28px;
  padding: 24px 4px; border-bottom: 1px solid var(--line);
  transition: background .25s var(--ease), padding-left .25s var(--ease);
}
.list__item:hover { background: #fff; padding-left: 14px; }
.list__date {
  flex: 0 0 88px; font-size: 13px; color: var(--muted); line-height: 1.5;
  padding-top: 4px; font-variant-numeric: tabular-nums; white-space: nowrap;
}
.list__date b { display: block; font-size: 22px; color: var(--blue); font-weight: 800; }
/* 列表序号（按时间倒序：最新为 1） */
.list__no {
  flex: 0 0 46px; font-size: 15px; font-weight: 800; color: var(--blue);
  letter-spacing: .04em; font-variant-numeric: tabular-nums;
  padding-top: 3px; line-height: 1.5;
}
.list__no i { font-style: normal; font-size: 11px; color: var(--muted); font-weight: 600; margin-left: 1px; }
.list__body { flex: 1 1 auto; min-width: 0; }
.list__body h3 { font-size: 17px; margin-bottom: 6px; }
.list__body h3 a { color: var(--ink); }
.list__body h3 a:hover { color: var(--blue); }
.list__body p { margin: 0; font-size: 14px; color: var(--muted); }
.list__tag {
  display: inline-block; font-size: 12px; color: var(--blue);
  background: var(--blue-050); padding: 2px 10px; border-radius: 3px; margin-bottom: 8px;
  white-space: nowrap;
}

/* 紧凑动态列表（首页：序号 + 日期 + 标题 + 标签） */
.list--compact .list__item { align-items: center; gap: 20px; }
.list--compact .list__date { flex: 0 0 104px; font-size: 14px; padding-top: 0; }
.list--compact .list__no { flex: 0 0 42px; padding-top: 0; }
.list--compact .list__body h3 { margin-bottom: 0; }
.list--compact .list__tag { margin-bottom: 0; flex: 0 0 auto; order: 3; }

/* ---------- 17. FAQ 问答模块 ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); background: transparent; }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 46px 22px 0;
  position: relative; font-size: 17px; font-weight: 700; color: var(--ink);
  transition: color .25s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--blue); }
.faq summary::after {
  content: ""; position: absolute; right: 8px; top: 30px;
  width: 11px; height: 11px; border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue);
  transform: rotate(45deg); transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg); top: 34px; }
.faq .faq__a { padding: 0 40px 24px 0; color: var(--body); font-size: 15.5px; }
.faq .faq__a p:last-child { margin-bottom: 0; }

/* AI 可直接摘录的答案块 */
.answer {
  background: var(--bg-soft); border-left: 3px solid var(--blue);
  padding: 20px 24px; border-radius: 0 var(--radius) var(--radius) 0;
  margin: 0 0 20px; font-size: 15.5px;
}
.answer p:last-child { margin-bottom: 0; }
.answer strong { color: var(--blue-deep); }

/* ---------- 18. 地域覆盖 ---------- */
.areas { display: flex; flex-wrap: wrap; gap: 10px; }
.areas--center { justify-content: center; }
.areas span {
  display: inline-block; padding: 7px 16px; font-size: 14px;
  border: 1px solid var(--line); border-radius: 4px; color: var(--body);
  background: #fff; transition: all .25s var(--ease); white-space: nowrap;
}
.areas span:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-050); }

/* ---------- 19. 团队成员卡片 ---------- */
.lawyer {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px 26px; text-align: center; display: flex; flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.lawyer:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--blue-100); }
.lawyer__avatar {
  width: 88px; height: 88px; border-radius: 50%; margin: 0 auto 18px;
  background: var(--grad);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 28px; font-weight: 700; letter-spacing: .04em; flex: 0 0 88px;
  overflow: hidden; position: relative;
}
/* 人物照片头像（等比裁剪填充圆形） */
.lawyer__photo {
  width: 88px; height: 88px; border-radius: 50%; margin: 0 auto 18px;
  overflow: hidden; flex: 0 0 88px; position: relative;
  background: var(--blue-050);
  border: 2px solid rgba(23, 71, 200, .16);
  box-shadow: 0 8px 22px rgba(10, 36, 99, .14);
}
.lawyer__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; display: block; }
a.lawyer:hover .lawyer__photo { border-color: rgba(23, 71, 200, .4); }
.lawyer h3 { margin-bottom: 4px; font-size: 18px; }
.lawyer .role { font-size: 13px; color: var(--blue); font-weight: 700; margin-bottom: 12px; letter-spacing: .04em; }
.lawyer .desc { font-size: 14px; color: var(--muted); text-align: left; margin-bottom: 18px; }
.lawyer .card__more { text-align: center; }
a.lawyer { color: inherit; }
a.lawyer:hover { color: inherit; }

/* 团队页横向人物卡（单人版式） */
.lawyer--wide {
  display: flex; align-items: center; gap: 44px;
  text-align: left; padding: 44px 48px;
}
.lawyer--wide .lawyer__avatar,
.lawyer--wide .lawyer__photo { margin: 0; width: 148px; height: 148px; flex: 0 0 148px; font-size: 34px; }
.lawyer--wide .lawyer__photo img { object-position: center 18%; }
.lawyer--wide h3 { font-size: 24px; margin-bottom: 4px; }
.lawyer--wide .desc { margin: 14px 0 22px; font-size: 15px; line-height: 1.9; }

/* ---------- 20. 表格（NAP / 信息表） ---------- */
.info-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.info-table th, .info-table td {
  padding: 16px 18px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top;
}
.info-table th { width: 152px; color: var(--ink); font-weight: 700; background: var(--bg-soft); white-space: nowrap; }
.info-table tr:last-child th, .info-table tr:last-child td { border-bottom: 0; }

/* ---------- 21. 表单 ---------- */
.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 14px; font-weight: 700; color: var(--ink); }
.field .req { color: #c0392b; margin-left: 2px; }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: 15px; color: var(--ink);
  padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
  width: 100%;
}
.field textarea { resize: vertical; min-height: 130px; line-height: 1.8; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(23, 71, 200, .12);
}
.form__note { font-size: 13px; color: var(--muted); }
.form-msg {
  display: none; padding: 14px 18px; border-radius: var(--radius);
  background: var(--blue-050); color: var(--blue-deep); font-size: 14.5px; font-weight: 700;
}
.form-msg.is-show { display: block; }

/* ---------- 22. 地图占位 ---------- */
.map-box {
  border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  background: var(--bg-mist); min-height: 300px; position: relative;
  display: flex; align-items: center; justify-content: center; text-align: center;
}
.map-box__inner { padding: 40px 24px; color: var(--muted); font-size: 14px; line-height: 1.9; }
.map-box__inner strong { display: block; font-size: 17px; color: var(--blue-deep); margin-bottom: 8px; }

/* ---------- 23. 正文排版（详情页） ---------- */
.article { max-width: 860px; }
.article h2 { font-size: 24px; margin: 40px 0 16px; }
.article h3 { font-size: 19px; margin: 30px 0 12px; }
.article p { font-size: 16.5px; line-height: 2; color: var(--body); }
.article ul, .article ol { font-size: 16.5px; line-height: 2; }
.article-meta {
  font-size: 14px; color: var(--muted); padding-bottom: 20px; margin-bottom: 28px;
  border-bottom: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 24px;
}
.article-cta {
  margin-top: 48px; padding: 32px; background: var(--grad-soft);
  border-radius: var(--radius-lg); border: 1px solid var(--blue-100);
}
.article-cta h3 { margin-bottom: 8px; }
.article-cta p { color: var(--muted); font-size: 15px; }

/* ---------- 24. 侧栏 ---------- */
.layout-side { display: grid; grid-template-columns: 240px 1fr; gap: 48px; align-items: start; }
.side-nav { position: sticky; top: 104px; border-left: 2px solid var(--line); }
.side-nav a {
  display: block; padding: 11px 18px; font-size: 15px; color: var(--body);
  border-left: 2px solid transparent; margin-left: -2px;
}
.side-nav a:hover { color: var(--blue); background: var(--bg-soft); }
.side-nav a.is-active { color: var(--blue); font-weight: 700; border-left-color: var(--blue); background: var(--blue-050); }

/* ---------- 25. 机构网络 ---------- */
.city-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.city-grid span {
  padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius);
  font-size: 14.5px; text-align: center; background: #fff; color: var(--body);
}
.city-grid span.is-km { background: var(--grad-line); color: #fff; border-color: transparent; font-weight: 700; }

/* ---------- 26. 页脚 ---------- */
.site-footer { background: linear-gradient(180deg, #071a4e, #050f2e); color: rgba(255, 255, 255, .62); font-size: 14px; padding: 64px 0 0; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 48px; }
.site-footer h4 {
  color: #fff; font-size: 15px; letter-spacing: .06em; margin-bottom: 20px; font-weight: 700;
}
.site-footer a { color: rgba(255, 255, 255, .68); }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; line-height: 1.75; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer-brand .brand__logo { height: 44px; }
.footer-desc { line-height: 1.9; margin-bottom: 18px; }
.footer-nap b { color: rgba(255, 255, 255, .9); font-weight: 700; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12); padding: 22px 0;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 13px; color: rgba(255, 255, 255, .5);
}
.footer-bottom a { color: rgba(255, 255, 255, .62); }

/* 返回顶部 */
.to-top {
  position: fixed; right: 24px; bottom: 32px; z-index: 90;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--grad-line); color: #fff; border: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-glow); opacity: 0; visibility: hidden;
  transition: all .3s var(--ease); font-size: 17px;
}
.to-top.is-show { opacity: 1; visibility: visible; }
.to-top:hover { transform: translateY(-3px); }

/* ---------- 27. 响应式 ---------- */
/* ≤1320：压缩导航内边距与字号，保证 8 项菜单始终单行 */
@media (max-width: 1320px) {
  .nav a { padding: 10px 8px; font-size: 14px; }
  .brand__logo { height: 40px; }
  .header-tel { display: none; }
  .header-inner { gap: 12px; }
}

/* ≤1140：隐藏头部咨询按钮，仅保留导航（仍然单行） */
@media (max-width: 1140px) {
  .header-cta .btn { display: none; }
}

@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .city-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: repeat(2, 1fr); gap: 34px; }
  .layout-side { grid-template-columns: 1fr; gap: 32px; }
  .side-nav { position: static; border-left: 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; }
  .side-nav a { border-left: 0; border-bottom: 2px solid transparent; margin-left: 0; }
  .side-nav a.is-active { border-bottom-color: var(--blue); }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-grid--2 { grid-template-columns: repeat(2, 1fr); }
  .adv-strip { grid-template-columns: repeat(3, 1fr); }
  .panel { padding: 52px 44px; }
  .panel__grid { grid-template-columns: 1fr; gap: 36px; }
}

/* ≤1024：切换为汉堡菜单（折叠式，深色面板，不属于两行横排） */
@media (max-width: 1024px) {
  .nav-toggle { display: flex; }

  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(7, 20, 56, .97);
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    box-shadow: 0 18px 40px rgba(4, 12, 38, .35);
    padding: 8px 16px 18px;
    display: none; white-space: normal;
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 13px 8px; border-bottom: 1px solid rgba(255, 255, 255, .1); border-radius: 0; font-size: 16px; color: #fff; }
  .nav a:last-child { border-bottom: 0; }
  .nav a::after { display: none; }
  .nav a.is-active { background: rgba(255, 255, 255, .12); }
}

@media (max-width: 900px) {
  :root { --sect: 68px; }
  html { scroll-padding-top: 96px; }

  .hero__inner { padding: 96px 24px 120px; }
  .hero__kicker { margin-bottom: 20px; }
  .hero__sub { font-size: 16px; white-space: normal; }
  /* 平板区间：单行标语按视口平滑收缩，避免与小屏断点之间出现字号断层 */
  .hero__slogan { font-size: clamp(14px, 3.4vw, 32px); gap: .2em; }
  .page-hero { padding: 108px 0 48px; }
  .page-hero h1 { font-size: 26px; }

  .num-band { grid-template-columns: repeat(2, 1fr); gap: 22px 8px; margin-top: -56px; padding: 36px 20px 32px; }

  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .svc-grid, .svc-grid--2 { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .city-grid { grid-template-columns: repeat(2, 1fr); }
  .info-table th { width: 108px; padding: 13px 12px; }
  .info-table td { padding: 13px 12px; }
  .list__item { gap: 16px; flex-direction: column; }
  .list__no { flex: none; padding-top: 0; }
  .list__date { flex: none; display: flex; align-items: baseline; gap: 8px; padding-top: 0; }
  .list__date b { font-size: 17px; }
  .list--compact .list__item { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 12px; }
  .list--compact .list__date { flex: 0 0 auto; }
  .list--compact .list__no { flex: 0 0 auto; }
  .to-top { right: 16px; bottom: 20px; }
  .row-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .sec-head { margin-bottom: 36px; }
  .lawyer--wide { flex-direction: column; text-align: center; padding: 36px 26px; gap: 20px; }
  .lawyer--wide .desc { text-align: left; }
  .lawyer--wide .hero__actions { justify-content: center; }
}

@media (max-width: 640px) {
  .adv-strip { grid-template-columns: repeat(2, 1fr); }
  .adv:nth-child(5) { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .wrap { padding: 0 18px; }
  h1 { font-size: 26px; }
  h2 { font-size: 23px; }
  .hero__inner { padding: 76px 18px 104px; }
  .hero__aurora { height: 58%; opacity: .85; }
  /* 主标语：小屏单行仍不折行（靠 clamp 平滑过渡，避免断点跳变） */
  .hero__slogan { font-size: clamp(13px, 3.4vw, 19px); letter-spacing: .01em; gap: .16em; }
  .hero__slogan .n { font-size: .68em; letter-spacing: .04em; }
  .hero__kicker { letter-spacing: .2em; }
  .hero__actions .btn, .grid .btn--block-sm { width: 100%; }
  .footer-top { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .card, .svc-card { padding: 24px 20px; }
  .svc-group__head { margin-bottom: 16px; }
  .svc-group + .svc-group { margin-top: 34px; }
  .panel { padding: 40px 24px; }
  .brand__logo { height: 34px; }
  .num-band { grid-template-columns: repeat(2, 1fr); }
  .svc-card--lg { min-height: 0; }
  .lawyer--wide .lawyer__avatar,
  .lawyer--wide .lawyer__photo { width: 108px; height: 108px; flex-basis: 108px; }
}

/* ---------- 28. 动效偏好与打印 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero { animation: none; }
  .hero__aurora { animation: none; }
  .scroll-cue span { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

@media print {
  .site-header, .to-top, .hero__actions, .scroll-cue, .site-footer, .hero__aurora { display: none; }
  .hero, .page-hero { background: #0a2463 !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  body { background: #fff; }
}
