/* ==========================================================================
   XX律师事务所 多页面模板样式
   Design System Manifest v3.0（庄重版）
   --------------------------------------------------------------------------
   方向：藏蓝 × 古金（严谨 · 专业 · 敬畏）
   设计主张：法律不容亵渎。以深藏蓝传达权威与冷静，以古金细线表达
   克制与庄严，以冷纸白保持理性阅读。深色保留在页脚 + 联系 CTA 区
   （收尾压场），深色 Hero 以藏蓝渐变营造庄重仪式感。

   配色：
     --navy-950  #0B1B2B  最深藏蓝（页脚/深色区）
     --navy-900  #12304A  主藏蓝（标题/深色区）
     --navy-800  #1B4266  次藏蓝（hover）
     --navy-700  #24567F  亮藏蓝（深色区点缀）
     --navy-100  #E8EEF3  浅藏蓝底（交替区块）
     --gold      #A8873C  古金（强调）
     --gold-light #C9AE6D 亮金（深色区文字）
     --gold-dark #6E5527  暗金（小字/标签/编号）
     --paper     #F5F6F8  冷纸白（页面主背景）
     --paper-deep #EAEDF1 冷灰（交替区块）
     --ink       #1E2A33  墨蓝黑正文
     --ink-soft  #4E5D6B  次级文字
     --line      #D5DCE3  冷灰分隔线
   字体：
     --font-display : 'Noto Serif SC'（中文标题，宋体衬线，庄重）
     --font-serif-en: 'Cinzel'（英文点缀，罗马铭文风格，肃穆）
     --font-body    : 'Noto Sans SC'（正文）
   间距：--space-* 8px 基准（8/12/16/24/32/48/64/96）
   圆角：卡片 4px、按钮 999px（胶囊）、印章圆形
   签名元素：细古金线、01-06 编号、天平印章、罗马大写字距
   ========================================================================== */

/* ==================== 设计令牌 ==================== */
:root {
  --navy-900: #12304A;
  --navy-800: #1B4266;
  --navy-700: #24567F;
  --navy-100: #E8EEF3;
  --gold: #A8873C;
  --gold-light: #C9AE6D;
  --gold-dark: #6E5527;
  --paper: #F5F6F8;
  --paper-deep: #EAEDF1;
  --ink: #1E2A33;
  --ink-soft: #4E5D6B;
  --line: #D5DCE3;

  --font-display: 'Noto Serif SC', 'Songti SC', 'SimSun', serif;
  --font-serif-en: 'Cinzel', 'Georgia', 'Times New Roman', serif;
  --font-body: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;

  --space-1: 8px;
  --space-2: 12px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 32px;
  --space-6: 48px;
  --space-7: 64px;
  --space-8: 96px;

  --radius-card: 2px;
  --radius-pill: 999px;
  --shadow-card: 0 2px 8px rgba(18, 48, 74, 0.06), 0 12px 32px rgba(18, 48, 74, 0.07);
  --shadow-lift: 0 8px 24px rgba(18, 48, 74, 0.14);
  --container: 1200px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ==================== Reset ==================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; background: none; border: none; }
input, select, textarea { font-family: inherit; font-size: 1rem; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-4);
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ==================== 按钮 ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.06em;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  transition: all 0.25s var(--ease);
  min-height: 48px;
}

.btn-gold {
  background: linear-gradient(135deg, #8A6D2E 0%, #6E5527 100%);
  color: #fff;
  box-shadow: 0 4px 14px rgba(110, 85, 39, 0.35);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(110, 85, 39, 0.45); background: linear-gradient(135deg, #9A7B34 0%, #8A6D2E 100%); }
.btn-gold:active { transform: translateY(0); box-shadow: 0 2px 8px rgba(110, 85, 39, 0.3); }

.btn-ghost {
  border-color: rgba(201, 174, 109, 0.6);
  color: var(--gold-light);
}
.btn-ghost:hover { border-color: var(--gold-light); background: rgba(201, 174, 109, 0.12); color: #fff; }
.btn-ghost:active { background: rgba(201, 174, 109, 0.2); }

/* 浅色背景用的描边按钮（藏蓝描边+藏蓝字） */
.btn-outline {
  border-color: var(--navy-800);
  color: var(--navy-900);
}
.btn-outline:hover { border-color: var(--navy-900); background: rgba(18, 48, 74, 0.06); }
.btn-outline:active { background: rgba(18, 48, 74, 0.12); }

.btn-sm { padding: 10px 22px; min-height: 42px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-light {
  background: #fff;
  color: var(--navy-900);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18); color: var(--navy-800); }

/* ==================== 顶部导航（深藏蓝 · 庄重） ==================== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(11, 27, 43, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 174, 109, 0.28);
  transition: box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3); background: rgba(9, 21, 34, 0.98); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  height: 84px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.brand-seal {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  background: rgba(201, 174, 109, 0.08);
}
.brand-seal svg { width: 26px; height: 26px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.3; }
.brand-text strong {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.08em;
}
.brand-text em {
  font-family: var(--font-serif-en);
  font-size: 12px;
  letter-spacing: 0.32em;
  color: var(--gold-light);
  text-transform: uppercase;
}

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  position: relative;
  padding: 10px 18px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.04em;
  transition: color 0.25s var(--ease);
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 18px; right: 18px; bottom: 4px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.main-nav a:hover, .main-nav a.active { color: var(--gold-light); }
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: var(--space-3); flex-shrink: 0; }
.header-tel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--gold-light);
  letter-spacing: 0.04em;
  transition: color 0.25s var(--ease);
}
.header-tel svg { width: 18px; height: 18px; }
.header-tel:hover { color: #fff; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px; height: 44px;
  padding: 10px;
  border-radius: 6px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--gold-light);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* 移动端抽屉（深藏蓝） */
.mobile-nav {
  position: fixed;
  top: 84px; left: 0; right: 0;
  z-index: 99;
  background: #0B1B2B;
  border-bottom: 1px solid rgba(201, 174, 109, 0.28);
  padding: var(--space-4);
  transform: translateY(-16px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.35);
}
.mobile-nav.open { transform: translateY(0); opacity: 1; visibility: visible; }
.mobile-nav nav { display: flex; flex-direction: column; gap: 4px; }
.mobile-nav a:not(.btn) {
  padding: 14px 8px;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.mobile-nav a:hover, .mobile-nav a.active { color: var(--gold-light); }
.mobile-nav .btn { margin-top: var(--space-3); }

/* ==================== 内页横幅（深藏蓝 · 庄重） ==================== */
.page-hero {
  position: relative;
  padding: 168px 0 64px;
  background: linear-gradient(160deg, #0B1B2B 0%, var(--navy-900) 70%, #1B4266 100%);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  right: -80px; top: -80px;
  width: 360px; height: 360px;
  border: 1px solid rgba(201, 174, 109, 0.25);
  border-radius: 50%;
}
.page-hero::after {
  content: '';
  position: absolute;
  right: -16px; top: -16px;
  width: 240px; height: 240px;
  border: 1px solid rgba(201, 174, 109, 0.15);
  border-radius: 50%;
}
.page-hero-inner { position: relative; }
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.12em;
  margin-bottom: var(--space-2);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}
.page-hero .page-hero-en {
  font-family: var(--font-serif-en);
  font-size: 14px;
  letter-spacing: 0.34em;
  color: var(--gold-light);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: var(--space-3);
}
.page-hero .page-hero-en::before { content: ''; width: 36px; height: 1px; background: var(--gold); }
.page-hero p.desc { color: rgba(255, 255, 255, 0.82); max-width: 640px; }

.breadcrumb { color: rgba(255, 255, 255, 0.75); }
.breadcrumb a { color: var(--gold-light); transition: color 0.2s var(--ease); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span.sep { color: rgba(255, 255, 255, 0.4); }
.breadcrumb .current { color: rgba(255, 255, 255, 0.85); }

/* ==================== 区块通用 ==================== */
.section { padding: var(--space-8) 0; }
.section-tight { padding: var(--space-6) 0; }

.section-head { text-align: center; margin-bottom: var(--space-6); }
.section-head-left { text-align: left; }
.section-en {
  font-family: var(--font-serif-en);
  font-size: 14px;
  letter-spacing: 0.34em;
  color: var(--gold-dark);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}
.section-en::before, .section-en::after { content: ''; width: 36px; height: 1px; background: var(--gold); }
.section-head-left .section-en::before { display: none; }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 700;
  color: var(--navy-900);
  letter-spacing: 0.1em;
}
.section-title::after {
  content: '';
  display: block;
  width: 64px; height: 2px;
  background: linear-gradient(90deg, var(--gold), rgba(168, 135, 60, 0.2));
  margin-top: 14px;
}
.section-head:not(.section-head-left) .section-title::after { margin-left: auto; margin-right: auto; }
.section-desc {
  margin-top: 18px;
  color: var(--ink-soft);
  font-size: 16px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.section-head-left .section-desc { margin-left: 0; }

/* 深色CTA区（浅色站中的压场区块） */
.section-dark { background: linear-gradient(160deg, #0B1B2B, var(--navy-900)); }
.section-dark .section-en { color: var(--gold-light); }
.section-dark .section-title { color: #fff; }
.section-dark .section-desc { color: rgba(255, 255, 255, 0.78); }

/* ==================== Hero（深藏蓝 · 庄重） ==================== */
.hero {
  position: relative;
  padding: 184px 0 96px;
  background: linear-gradient(160deg, #0B1B2B 0%, var(--navy-900) 60%, #1B4266 100%);
  overflow: hidden;
}
.hero-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201, 174, 109, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 174, 109, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 70% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 30%, transparent 75%);
}
.hero::after {
  content: '';
  position: absolute;
  right: -120px; top: -120px;
  width: 520px; height: 520px;
  border: 1px solid rgba(201, 174, 109, 0.22);
  border-radius: 50%;
  pointer-events: none;
}
.hero::before {
  content: '';
  position: absolute;
  right: -40px; top: -40px;
  width: 360px; height: 360px;
  border: 1px solid rgba(201, 174, 109, 0.14);
  border-radius: 50%;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: var(--space-7);
  align-items: center;
}

.hero-eyebrow {
  font-family: var(--font-serif-en);
  font-size: 15px;
  letter-spacing: 0.28em;
  color: var(--gold-light);
  text-transform: uppercase;
  margin-bottom: var(--space-4);
  display: flex;
  align-items: center;
  gap: 16px;
}
.hero-eyebrow::before { content: ''; width: 48px; height: 1px; background: var(--gold); }

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(38px, 5vw, 60px);
  font-weight: 700;
  line-height: 1.28;
  color: #fff;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-4);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}
.hero-title::after {
  content: '';
  display: block;
  width: 72px; height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin-top: var(--space-4);
}

.hero-sub {
  font-size: 17px;
  line-height: 2;
  color: rgba(255, 255, 255, 0.82);
  max-width: 560px;
  margin-bottom: var(--space-5);
}

.hero-actions { display: flex; gap: var(--space-3); flex-wrap: wrap; }

.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.stat {
  background: rgba(11, 27, 43, 0.55);
  border: 1px solid rgba(201, 174, 109, 0.35);
  border-radius: var(--radius-card);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: center;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.stat:hover { transform: translateY(-4px); border-color: rgba(201, 174, 109, 0.6); background: rgba(11, 27, 43, 0.72); }
.stat-num {
  font-family: var(--font-serif-en);
  font-size: 42px;
  font-weight: 600;
  line-height: 1;
  color: var(--gold-light);
}
.stat-num b { font-weight: 600; }
.stat-label { font-size: 13px; letter-spacing: 0.14em; color: rgba(255, 255, 255, 0.78); }

/* ==================== 法律服务产品（列表/首页卡片） ==================== */
.products { background: var(--paper); }
.products-alt { background: var(--paper-deep); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}

.product-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: var(--space-5) var(--space-4) var(--space-4);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
  overflow: hidden;
}
.product-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), transparent 70%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); border-color: rgba(168, 135, 60, 0.55); }
.product-card:hover::before { transform: scaleX(1); }

.product-no {
  font-family: var(--font-serif-en);
  font-size: 42px;
  font-weight: 500;
  line-height: 1;
  color: var(--gold-dark);
  margin-bottom: var(--space-3);
}
.product-name {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  color: var(--navy-900);
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}
.product-brief { font-size: 14px; color: var(--ink-soft); margin-bottom: var(--space-3); }
.product-list {
  border-top: 1px solid var(--line);
  padding-top: var(--space-3);
  margin-bottom: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.product-list li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  color: var(--ink);
  line-height: 1.6;
}
.product-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 8px; height: 8px;
  border: 1.5px solid var(--gold);
  transform: rotate(45deg);
}
.product-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--navy-900);
  transition: color 0.25s var(--ease), gap 0.25s var(--ease);
}
.product-link svg { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.product-link:hover { color: var(--gold-dark); gap: 10px; }
.product-link:hover svg { transform: translateX(2px); }

/* ==================== 律所简介 ==================== */
.about { background: var(--paper-deep); }
.about-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--space-7);
  align-items: start;
}
.about-para {
  margin-bottom: var(--space-3);
  color: var(--ink);
  line-height: 2;
  font-size: 15.5px;
}
.about-points {
  margin-top: var(--space-5);
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.point {
  display: flex;
  gap: var(--space-3);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--line);
}
.point-no {
  font-family: var(--font-serif-en);
  font-size: 20px;
  color: var(--gold-dark);
  flex-shrink: 0;
  padding-top: 4px;
  min-width: 36px;
}
.point-body h4 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--navy-900);
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}
.point-body p { font-size: 14px; color: var(--ink-soft); line-height: 1.7; }

.about-aside { position: sticky; top: 108px; }
.about-card {
  background: linear-gradient(160deg, #0B1B2B, var(--navy-900));
  border: 1px solid rgba(168, 135, 60, 0.45);
  border-radius: var(--radius-card);
  padding: var(--space-6) var(--space-5);
  text-align: center;
  box-shadow: var(--shadow-lift);
}
.about-card svg {
  width: 64px; height: 64px;
  margin: 0 auto var(--space-4);
  color: var(--gold-light);
}
.about-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.24em;
  margin-bottom: var(--space-3);
}
.about-card p { font-size: 14px; color: rgba(255, 255, 255, 0.78); line-height: 1.9; }

/* ==================== 服务流程（浅色版） ==================== */
.process { background: var(--paper); }
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
}
.process-step {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius-card);
  padding: var(--space-5) var(--space-4);
  box-shadow: var(--shadow-card);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.process-step:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.step-no {
  font-family: var(--font-serif-en);
  font-size: 40px;
  font-weight: 500;
  color: var(--gold-dark);
  line-height: 1;
  display: block;
  margin-bottom: var(--space-3);
}
.process-step h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--navy-900);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}
.process-step p { font-size: 13.5px; color: var(--ink-soft); line-height: 1.8; }

/* ==================== 行业覆盖 ==================== */
.industries { background: var(--paper-deep); }
.industry-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}
.industry-list li {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius-card);
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.industry-list li:hover { transform: translateX(6px); box-shadow: var(--shadow-card); border-left-color: var(--navy-800); }
.industry-list span {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--navy-900);
  letter-spacing: 0.06em;
}
.industry-list em { font-style: normal; font-size: 13.5px; color: var(--ink-soft); }

/* ==================== FAQ ==================== */
.faq { background: var(--paper); }
.faq-container {
  display: grid;
  grid-template-columns: 0.9fr 1.4fr;
  gap: var(--space-6);
  align-items: start;
}
.faq-list { display: flex; flex-direction: column; gap: var(--space-2); }

.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.faq-item:hover { border-color: rgba(168, 135, 60, 0.55); }
.faq-item[open] { border-color: rgba(168, 135, 60, 0.7); box-shadow: var(--shadow-card); }

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: 18px var(--space-4);
  cursor: pointer;
  font-size: 15.5px;
  font-weight: 500;
  color: var(--ink);
  list-style: none;
  transition: color 0.25s var(--ease);
  min-height: 56px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--navy-800); }
.faq-item summary svg {
  width: 18px; height: 18px;
  color: var(--gold-dark);
  flex-shrink: 0;
  transition: transform 0.3s var(--ease);
}
.faq-item[open] summary svg { transform: rotate(180deg); }
.faq-body { padding: 0 var(--space-4) var(--space-4); }
.faq-body p {
  padding-top: var(--space-2);
  border-top: 1px solid var(--line);
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.9;
}

/* ==================== 联系咨询（深色收尾区） ==================== */
.contact { background: linear-gradient(160deg, #0B1B2B, var(--navy-900)); }
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: var(--space-7);
  align-items: start;
}
.contact .section-en { color: var(--gold-light); }
.contact .section-title { color: #fff; }
.contact-desc { color: rgba(255, 255, 255, 0.78); margin-bottom: var(--space-4); line-height: 1.9; }

.contact-tel {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: 0.06em;
  margin-bottom: var(--space-4);
  transition: color 0.25s var(--ease);
}
.contact-tel svg { width: 26px; height: 26px; }
.contact-tel:hover { color: #fff; }

.contact-meta { display: flex; flex-direction: column; gap: var(--space-2); }
.contact-meta li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.82);
}
.contact-meta svg { width: 18px; height: 18px; color: var(--gold-light); flex-shrink: 0; margin-top: 4px; }

.contact-form {
  background: #fff;
  border-radius: var(--radius-card);
  padding: var(--space-5);
  box-shadow: var(--shadow-lift);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label { font-size: 13.5px; font-weight: 500; color: var(--ink); letter-spacing: 0.03em; }
.form-field label span { color: var(--gold-dark); }

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--paper);
  color: var(--ink);
  font-size: 14.5px;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}
.form-field input::placeholder, .form-field textarea::placeholder { color: #7E8A96; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(168, 135, 60, 0.18);
}
.form-field input[aria-invalid="true"], .form-field textarea[aria-invalid="true"] {
  border-color: #B3543F;
  box-shadow: 0 0 0 3px rgba(179, 84, 63, 0.15);
}
.form-field .field-error { font-size: 12.5px; color: #B3543F; display: none; }
.form-field.has-error .field-error { display: block; }

.form-tip { font-size: 12.5px; color: var(--ink-soft); text-align: center; }
.form-success {
  background: rgba(29, 122, 95, 0.08);
  border: 1px solid rgba(29, 122, 95, 0.3);
  color: var(--navy-900);
  padding: 12px 14px;
  border-radius: var(--radius-card);
  font-size: 14px;
  text-align: center;
}

/* ==================== 产品详情页 ==================== */
.detail { background: var(--paper); }
.detail-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: var(--space-6);
  align-items: start;
}
.detail-main { min-width: 0; }

.detail-block {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: var(--space-5);
  margin-bottom: var(--space-4);
  box-shadow: var(--shadow-card);
}
.detail-block h2 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--navy-900);
  letter-spacing: 0.06em;
  margin-bottom: var(--space-3);
  padding-left: 14px;
  border-left: 3px solid var(--gold);
}
.detail-block p { color: var(--ink); line-height: 2; margin-bottom: var(--space-2); }
.detail-block p:last-child { margin-bottom: 0; }

.detail-list { display: flex; flex-direction: column; gap: var(--space-3); }
.detail-list li {
  position: relative;
  padding-left: 24px;
  color: var(--ink);
  line-height: 1.8;
}
.detail-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 11px;
  width: 10px; height: 10px;
  border: 1.5px solid var(--gold);
  transform: rotate(45deg);
}
.detail-list strong { color: var(--navy-900); font-weight: 600; }

/* 侧边栏 */
.detail-side { position: sticky; top: 108px; display: flex; flex-direction: column; gap: var(--space-4); }
.side-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: var(--space-4);
  box-shadow: var(--shadow-card);
}
.side-card h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--navy-900);
  letter-spacing: 0.06em;
  margin-bottom: var(--space-3);
  padding-left: 12px;
  border-left: 3px solid var(--gold);
}
.side-list { display: flex; flex-direction: column; }
.side-list a {
  padding: 11px 4px;
  font-size: 14.5px;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.25s var(--ease), padding-left 0.25s var(--ease);
}
.side-list a:last-child { border-bottom: none; }
.side-list a:hover, .side-list a.active { color: var(--navy-800); padding-left: 8px; }
.side-list a svg { width: 14px; height: 14px; color: var(--gold-dark); flex-shrink: 0; }
.side-card.cta-card {
  background: linear-gradient(160deg, #0B1B2B, var(--navy-900));
  border-color: rgba(168, 135, 60, 0.45);
  text-align: center;
}
.side-card.cta-card h3 { color: #fff; border-left-color: var(--gold-light); }
.side-card.cta-card p { color: rgba(255, 255, 255, 0.78); font-size: 14px; margin-bottom: var(--space-3); }
.side-card.cta-card .tel {
  display: block;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: var(--space-3);
}
.side-card.cta-card .tel:hover { color: #fff; }

/* 流程步骤（详情页内联版） */
.process-inline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-2);
  margin-top: var(--space-3);
}
.process-inline .pi-step {
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: var(--space-3) var(--space-2);
  text-align: center;
  background: var(--paper);
}
.process-inline .pi-no {
  font-family: var(--font-serif-en);
  font-size: 22px;
  color: var(--gold-dark);
  display: block;
  margin-bottom: 6px;
}
.process-inline .pi-name { font-size: 14px; font-weight: 500; color: var(--navy-900); }

/* ==================== 文章详情页 ==================== */
.article-meta {
  font-size: 13.5px;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--line);
  margin-bottom: var(--space-4);
}
.article-body p {
  font-size: 15.5px;
  line-height: 2.1;
  color: var(--ink);
  margin-bottom: var(--space-3);
  text-align: justify;
}

/* ==================== 团队成员 ==================== */
.team-list { background: var(--paper); }
.member-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
}
.member-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: var(--space-4);
  display: flex;
  gap: var(--space-4);
  box-shadow: var(--shadow-card);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.member-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: rgba(168, 135, 60, 0.55); }
.member-avatar {
  width: 76px; height: 76px;
  flex-shrink: 0;
  border-radius: 50%;
  background: linear-gradient(160deg, #0B1B2B, var(--navy-900));
  border: 2px solid var(--gold);
  color: var(--gold-light);
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.member-info { min-width: 0; }
.member-info h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  color: var(--navy-900);
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}
.member-info h3 span {
  display: inline-block;
  margin-left: 8px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--gold-dark);
  border: 1px solid var(--gold);
  border-radius: var(--radius-pill);
  padding: 2px 10px;
  vertical-align: middle;
}
.member-domain { font-size: 13.5px; color: var(--gold-dark); letter-spacing: 0.06em; margin-bottom: 8px; }
.member-desc { font-size: 14px; color: var(--ink-soft); line-height: 1.8; }

/* ==================== 案例解析 ==================== */
.case-list { background: var(--paper); }
.case-item {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius-card);
  padding: var(--space-4) var(--space-5);
  margin-bottom: var(--space-3);
  box-shadow: var(--shadow-card);
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: var(--space-4);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.case-item:hover { transform: translateX(6px); box-shadow: var(--shadow-lift); }
.case-no {
  font-family: var(--font-serif-en);
  font-size: 40px;
  font-weight: 500;
  color: var(--gold-dark);
  line-height: 1;
  padding-top: 6px;
}
.case-main h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--navy-900);
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}
.case-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.case-tags span {
  font-size: 12px;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 2px 12px;
  background: var(--paper);
}
.case-main p { font-size: 14px; color: var(--ink-soft); line-height: 1.9; }
.case-result {
  margin-top: 10px;
  font-size: 14px;
  color: var(--navy-900);
  font-weight: 500;
}
.case-result strong { color: var(--gold-dark); font-weight: 600; }

/* ==================== 新闻资讯 ==================== */
.news-list { background: var(--paper); }
.news-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: var(--space-4) var(--space-5);
  margin-bottom: var(--space-3);
  box-shadow: var(--shadow-card);
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: var(--space-4);
  align-items: start;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.news-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: rgba(168, 135, 60, 0.55); }
.news-date {
  text-align: center;
  border-right: 1px solid var(--line);
  padding-right: var(--space-4);
}
.news-date .d {
  font-family: var(--font-serif-en);
  font-size: 36px;
  font-weight: 600;
  line-height: 1;
  color: var(--navy-900);
  display: block;
}
.news-date .m {
  font-size: 12px;
  color: var(--ink-soft);
  letter-spacing: 0.1em;
  display: block;
  margin-top: 4px;
}
.news-main h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.03em;
  margin-bottom: 8px;
  transition: color 0.25s var(--ease);
}
.news-item:hover .news-main h3 { color: var(--navy-800); }
.news-main p { font-size: 14px; color: var(--ink-soft); line-height: 1.9; }

/* ==================== 页脚（深墨绿收尾） ==================== */
.site-footer { background: #0B1B2B; color: rgba(255, 255, 255, 0.7); }
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: var(--space-6);
  padding-top: var(--space-7);
  padding-bottom: var(--space-6);
  align-items: start;
}
.footer-brand .brand-text strong { color: #fff; }
.footer-brand .brand-text em { color: var(--gold-light); }
.footer-brand .brand-seal { border-color: var(--gold-light); color: var(--gold-light); background: rgba(214, 188, 133, 0.08); }
.footer-brand p { font-size: 14px; margin-top: var(--space-3); color: rgba(255, 255, 255, 0.6); }

.footer-nav { display: flex; flex-direction: column; gap: 4px; }
.footer-nav .fn-title {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--gold-light);
  margin-bottom: 8px;
}
.footer-nav a {
  padding: 8px 0;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.25s var(--ease), padding-left 0.25s var(--ease);
}
.footer-nav a:hover { color: var(--gold-light); padding-left: 8px; }

.footer-contact { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer-contact .fn-title {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--gold-light);
  margin-bottom: 4px;
}
.footer-contact a { color: var(--gold-light); }
.footer-contact a:hover { color: #fff; }

.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); padding: 18px 0; }
.footer-bottom p { font-size: 13px; color: rgba(255, 255, 255, 0.5); text-align: center; }

/* ==================== 返回顶部 ==================== */
.back-top {
  position: fixed;
  right: 24px; bottom: 24px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--navy-900);
  border: 1px solid rgba(168, 135, 60, 0.55);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s, background 0.25s var(--ease);
  z-index: 90;
  box-shadow: var(--shadow-lift);
}
.back-top svg { width: 20px; height: 20px; }
.back-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top:hover { background: var(--navy-800); color: var(--gold-light); }

/* ==================== 滚动渐入（JS 可用时才隐藏初始态） ==================== */
.reveal { opacity: 1; transform: none; }
.js-enabled .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.js-enabled .reveal.visible { opacity: 1; transform: translateY(0); }

/* ==================== 响应式 ==================== */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr; gap: var(--space-6); }
  .hero-stats { max-width: 560px; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .industry-list { grid-template-columns: repeat(2, 1fr); }
  .contact-inner, .faq-container { grid-template-columns: 1fr; gap: var(--space-6); }
  .about-inner { grid-template-columns: 1fr; gap: var(--space-6); }
  .about-aside { position: static; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .detail-layout { grid-template-columns: 1fr; }
  .detail-side { position: static; }
  .process-inline { grid-template-columns: repeat(2, 1fr); }
  .member-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .main-nav { display: none; }
  .header-tel span { display: none; }
  .header-tel { font-size: 0; }
  .header-tel svg { width: 22px; height: 22px; }
  .nav-toggle { display: flex; }
  .header-inner { height: 72px; }
  .mobile-nav { top: 72px; }
  html { scroll-padding-top: 76px; }

  .hero { padding: 140px 0 64px; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .stat-num { font-size: 34px; }

  .page-hero { padding: 132px 0 48px; }

  .section { padding: var(--space-6) 0; }
  .product-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .industry-list { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: var(--space-5); }
  .hero-actions .btn { flex: 1; }
  .contact-tel { font-size: 26px; }
  .process-inline { grid-template-columns: 1fr; }
  .member-grid { grid-template-columns: 1fr; }
  .case-item { grid-template-columns: 1fr; gap: var(--space-2); }
  .news-item { grid-template-columns: 1fr; gap: var(--space-3); }
  .news-date { border-right: none; border-bottom: 1px solid var(--line); padding-right: 0; padding-bottom: var(--space-2); text-align: left; }
  .news-date .d, .news-date .m { display: inline; }
  .news-date .d { font-size: 22px; margin-right: 8px; }
}

/* ==================== 减少动效偏好 ==================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .js-enabled .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   EyouCMS 扩展（dingtai 定制）
   - 二级导航下拉（PC）
   - 移动端子菜单
   - 咨询弹窗
   ========================================================================== */

/* ---- PC 二级导航下拉 ---- */
.main-nav .nav-item { position: relative; }
.main-nav .nav-item > a { display: inline-flex; align-items: center; gap: 6px; }
.main-nav .nav-drop {
  position: absolute;
  top: 100%; left: 50%;
  min-width: 200px;
  background: #0B1B2B;
  border: 1px solid rgba(201, 174, 109, 0.35);
  border-top: 2px solid var(--gold);
  box-shadow: var(--shadow-lift);
  padding: 6px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(10px);
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease), visibility 0.28s;
  z-index: 60;
}
.main-nav .nav-item:hover .nav-drop,
.main-nav .nav-item:focus-within .nav-drop { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.main-nav .nav-drop a {
  display: block;
  padding: 10px 20px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  white-space: nowrap;
  letter-spacing: 0.04em;
  transition: color 0.25s var(--ease), background 0.25s var(--ease), padding-left 0.25s var(--ease);
}
.main-nav .nav-drop a::after { display: none; }
.main-nav .nav-drop a:hover,
.main-nav .nav-drop a.active { color: var(--gold-light); background: rgba(201, 174, 109, 0.08); padding-left: 26px; }
.main-nav .nav-drop a.active { color: var(--gold-light); }

/* ---- 移动端子菜单 ---- */
.mobile-nav .m-sub { display: flex; flex-direction: column; padding: 2px 0 6px 18px; }
.mobile-nav .m-sub a {
  padding: 10px 8px;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.68);
  border-bottom: 1px dashed rgba(255, 255, 255, 0.07);
}
.mobile-nav .m-sub a:hover,
.mobile-nav .m-sub a.active { color: var(--gold-light); }
.mobile-nav .btn { margin-top: var(--space-3); }

/* ---- 咨询弹窗 ---- */
.modal-mask {
  position: fixed; inset: 0;
  z-index: 200;
  background: rgba(11, 27, 43, 0.72);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.modal-mask.show { display: flex; }
.modal-box {
  width: 100%;
  max-width: 460px;
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-lift);
  overflow: hidden;
  animation: modalIn 0.3s var(--ease);
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(16px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.modal-head {
  background: linear-gradient(160deg, #0B1B2B, var(--navy-900));
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}
.modal-head h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.1em;
}
.modal-head p { font-size: 12.5px; color: rgba(255, 255, 255, 0.68); margin-top: 5px; }
.modal-close {
  flex-shrink: 0;
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(201, 174, 109, 0.35);
  border-radius: var(--radius-card);
  transition: all 0.25s var(--ease);
}
.modal-close:hover { color: var(--gold-light); border-color: var(--gold); }
.modal-body { padding: var(--space-5); display: flex; flex-direction: column; gap: var(--space-3); }

/* ---- 内容正文排版（article-body 富文本兜底） ---- */
.article-body img { margin: var(--space-3) auto; }
.article-body h2, .article-body h3 {
  font-family: var(--font-display);
  color: var(--navy-900);
  margin: var(--space-4) 0 var(--space-2);
  padding-left: 12px;
  border-left: 3px solid var(--gold);
}
.article-body ul { list-style: none; padding-left: 0; }
.article-body ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  line-height: 1.9;
}
.article-body ul li::before {
  content: '';
  position: absolute; left: 0; top: 12px;
  width: 8px; height: 8px;
  border: 1.5px solid var(--gold);
  transform: rotate(45deg);
}
.article-body a { color: var(--gold-dark); text-decoration: underline; }
.article-body a:hover { color: var(--navy-800); }

/* ---- 分页（EyouCMS 列表页） ---- */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: var(--space-6); }
.pagination a, .pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px; height: 40px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  transition: all 0.25s var(--ease);
}
.pagination a:hover { border-color: var(--gold); color: var(--gold-dark); }
.pagination .current { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }

/* ---- 内页 CTA（深色收尾） ---- */
.cta {
  background: linear-gradient(160deg, #0B1B2B, var(--navy-900));
  text-align: center;
  padding: var(--space-7) 0;
}
.cta h2 {
  font-family: var(--font-display);
  color: #fff;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.cta > .container > p { color: rgba(255, 255, 255, 0.75); margin-bottom: var(--space-4); }
.cta-actions { display: flex; gap: var(--space-3); justify-content: center; flex-wrap: wrap; align-items: center; }
.cta-tel {
  font-family: var(--font-display);
  color: var(--gold-light);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: color 0.25s var(--ease);
}
.cta-tel:hover { color: #fff; }
.cta-tel svg { width: 22px; height: 22px; }

/* ---- 分类快捷条（pill） ---- */
.cat-pills-wrap { background: var(--paper-deep); border-bottom: 1px solid var(--line); }
.cat-pills-wrap .container { padding: var(--space-3) var(--space-4); display: flex; flex-wrap: wrap; gap: 10px; }
.cat-pills-wrap a {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  border: 1px solid rgba(168, 135, 60, 0.5);
  border-radius: var(--radius-pill);
  color: var(--gold-dark);
  font-size: 14px;
  letter-spacing: 0.04em;
  transition: all 0.25s var(--ease);
}
.cat-pills-wrap a:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.cat-pills-wrap a.active { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }

/* ---- 侧栏排名列表 ---- */
.side-rank { display: flex; flex-direction: column; }
.side-rank a {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 4px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink);
  transition: color 0.25s var(--ease);
}
.side-rank a:last-child { border-bottom: none; }
.side-rank a:hover { color: var(--navy-800); }
.side-rank .rk {
  font-family: var(--font-serif-en);
  color: var(--gold-dark);
  font-size: 15px;
  flex-shrink: 0;
  line-height: 1.6;
  min-width: 22px;
}

/* ---- 图集律师卡（圆形头像版） ---- */
.member-grid { align-items: stretch; }
.member-card { align-items: center; gap: var(--space-4); }
.member-avatar { width: 88px; height: 88px; font-size: 30px; }
.member-card .member-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: none; }
.member-avatar.has-img { background: var(--navy-900); }
.member-avatar.has-img img { display: block; }

/* ---- 案例/资讯列表卡 hover 链接色 ---- */
.case-item { cursor: pointer; }
.case-item h3 a:hover { color: var(--gold-dark); }

/* ---- 首页业务卡图片（lists 页 arclist 产品卡） ---- */
.product-thumb {
  height: 200px;
  background: linear-gradient(160deg, #0B1B2B, var(--navy-900));
  overflow: hidden;
  margin: -16px -16px 0;
}
.product-thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-thumb .thumb-fallback {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif-en);
  font-size: 64px;
  color: rgba(201, 174, 109, 0.35);
}

/* ---- 导航全分辨率适配（dingtai 定制） ---- */
.main-nav { flex-wrap: nowrap; }
.main-nav .nav-item { flex-shrink: 0; }
.main-nav .nav-item > a { white-space: nowrap; flex-shrink: 0; }

/* 中屏（1024–1199px）：压缩导航 + 电话图标化 */
@media (max-width: 1199px) and (min-width: 1024px) {
  .header-inner { gap: 12px; }
  .brand-seal { width: 40px; height: 40px; }
  .brand-seal svg { width: 22px; height: 22px; }
  .brand-text strong { font-size: 17px; letter-spacing: 0.04em; }
  .main-nav a { padding: 10px 12px; font-size: 14px; }
  .header-tel span { display: none; }
  .header-tel { font-size: 0; }
  .header-tel svg { width: 20px; height: 20px; }
  .header-actions .btn-sm { padding: 8px 16px; min-height: 38px; font-size: 13px; }
}

/* 窄屏（≤1023px）：收起为汉堡菜单，移动端导航展开式 */
@media (max-width: 1023px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .header-tel span { display: none; }
  .header-tel { font-size: 0; }
  .header-tel svg { width: 22px; height: 22px; }
  .header-inner { height: 72px; }
  .mobile-nav { top: 72px; }
  /* 手机端导航栏：只保留品牌名称（左）与菜单按钮（右），隐藏电话/免费咨询 */
  .header-tel, .header-actions .btn-sm { display: none; }
}

/* ---- 上下篇模块（独立行式 · 上一篇/下一篇 两行） ---- */
.pn-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
}
.pn-row:last-child { border-bottom: none; }
.pn-label {
  flex-shrink: 0;
  font-family: var(--font-serif-en);
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--gold-dark);
  min-width: 60px;
}
.pn-title {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.6;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 0.25s var(--ease);
}
.pn-title:hover { color: var(--navy-800); }
.pn-none { color: var(--ink-soft); font-size: 14px; }
.pn-row a + .pn-none { display: none; }

/* ===== 手机端：同一行文字与模块尽量居中显示（dingtai 定制） ===== */
@media (max-width: 768px) {
  /* 页头横幅 */
  .page-hero-inner, .page-hero p.desc { text-align: center; }
  .page-hero-en { justify-content: center; }
  .page-hero-en::before { display: none; }
  .breadcrumb { justify-content: center; text-align: center; }

  /* Hero */
  .hero-content, .hero-actions { text-align: center; justify-content: center; }
  .hero-eyebrow { justify-content: center; }
  .hero-eyebrow::before { display: none; }
  .hero-title::after { margin: 24px auto 0; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .stat { text-align: center; }

  /* 区块标题居中（含 section-head-left） */
  .section-head, .section-head-left { text-align: center; }
  .section-head-left .section-en::before { display: inline-block; }
  .section-head-left .section-title::after { margin: 14px auto 0; }
  .section-head-left .section-desc { margin-left: auto; margin-right: auto; }

  /* 卡片/模块内文字居中 */
  .product-card, .product-card .product-link,
  .process-step,
  .industry-list li,
  .member-card, .member-info,
  .case-item, .case-main,
  .news-item, .news-main,
  .about-text, .about-points, .point,
  .faq-item summary,
  .side-card, .side-card h3, .side-list a,
  .contact-info, .contact-tel, .contact-meta,
  .footer-brand, .footer-nav, .footer-contact { text-align: center; }

  /* 短标签/链接居中 */
  .product-link { justify-content: center; }
  .contact-tel, .contact-meta li { justify-content: center; }
  .member-card { align-items: center; }
  .news-date { text-align: center; }
  .footer-brand .brand { justify-content: center; }
  .footer-nav a { justify-content: center; }

  /* 长内容保持左对齐（可读性） */
  .product-list, .detail-list,
  .about-para, .article-body,
  .case-main p, .news-main p,
  .member-desc, .pn-title, .faq-body,
  .contact-form, .form-field, .contact-desc { text-align: left; }

  /* 栅格/行模块水平居中 */
  .process-steps, .product-grid, .member-grid, .industry-list,
  .cta-actions, .pagination, .form-row { justify-content: center; }

  /* 按钮居中 */
  .btn { justify-content: center; }

  /* 页脚 */
  .footer-inner { justify-content: center; }
}

/* ===== 手机端：同一行文字与模块尽量居中显示（dingtai 定制） ===== */
@media (max-width: 768px) {
  /* 页头横幅 */
  .page-hero-inner, .page-hero p.desc { text-align: center; }
  .page-hero-en { justify-content: center; }
  .page-hero-en::before { display: none; }
  .breadcrumb { justify-content: center; text-align: center; }

  /* Hero */
  .hero-content, .hero-actions { text-align: center; justify-content: center; }
  .hero-eyebrow { justify-content: center; }
  .hero-eyebrow::before { display: none; }
  .hero-title::after { margin: 24px auto 0; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .stat { text-align: center; }

  /* 区块标题居中（含 section-head-left） */
  .section-head, .section-head-left { text-align: center; }
  .section-head-left .section-en::before { display: inline-block; }
  .section-head-left .section-title::after { margin: 14px auto 0; }
  .section-head-left .section-desc { margin-left: auto; margin-right: auto; }

  /* 卡片/模块内文字居中 */
  .product-card, .product-card .product-link,
  .process-step,
  .industry-list li,
  .member-card, .member-info,
  .case-item, .case-main,
  .news-item, .news-main,
  .about-text, .about-points, .point,
  .faq-item summary,
  .side-card, .side-card h3, .side-list a,
  .contact-info, .contact-tel, .contact-meta,
  .footer-brand, .footer-nav, .footer-contact { text-align: center; }

  /* 短标签/链接居中 */
  .product-link { justify-content: center; }
  .contact-tel, .contact-meta li { justify-content: center; }
  .member-card { align-items: center; }
  .news-date { text-align: center; }
  .footer-brand .brand { justify-content: center; }
  .footer-nav a { justify-content: center; }

  /* 长内容保持左对齐（可读性） */
  .product-list, .detail-list,
  .about-para, .article-body,
  .case-main p, .news-main p,
  .member-desc, .pn-title, .faq-body,
  .contact-form, .form-field, .contact-desc { text-align: left; }

  /* 栅格/行模块水平居中 */
  .process-steps, .product-grid, .member-grid, .industry-list,
  .cta-actions, .pagination, .form-row { justify-content: center; }

  /* 按钮居中 */
  .btn { justify-content: center; }

  /* 页脚 */
  .footer-inner { justify-content: center; }
}

/* 手机端补充居中（律所核心数据 / 服务列表 / 简介要点 / 联系描述） */
@media (max-width: 768px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr) !important; text-align: center; }
  .hero-stats .stat-num, .hero-stats .stat-label { text-align: center; }
  .product-list { text-align: center; }
  .product-list li {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 0;
  }
  .product-list li::before { position: static; margin-right: 8px; }
  .about-points .point { justify-content: center; }
  .about-points .point-body { text-align: center; }
  .contact-desc { text-align: center; }
}

/* 手机端补充居中（律所核心数据 / 服务列表 / 简介要点 / 联系描述） */
@media (max-width: 768px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr) !important; text-align: center; }
  .hero-stats .stat-num, .hero-stats .stat-label { text-align: center; }
  .product-list { text-align: center; }
  .product-list li {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 0;
  }
  .product-list li::before { position: static; margin-right: 8px; }
  .about-points .point { justify-content: center; }
  .about-points .point-body { text-align: center; }
  .contact-desc { text-align: center; }
}

/* 手机端调整（律所核心数据隐藏 / about-points 恢复整体左对齐） */
@media (max-width: 768px) {
  .hero-stats { display: none !important; }
  .about-text, .about-points, .point, .point-body { text-align: left; }
  .about-points .point { justify-content: flex-start; }
  .about-points .point-no { text-align: left; }
}

/* 手机端调整（律所核心数据隐藏 / about-points 恢复整体左对齐） */
@media (max-width: 768px) {
  .hero-stats { display: none !important; }
  .about-text, .about-points, .point, .point-body { text-align: left; }
  .about-points .point { justify-content: flex-start; }
  .about-points .point-no { text-align: left; }
}

/* 手机端：about-points h4 左对齐 + 了解更多按钮居中 */
@media (max-width: 768px) {
  .point-body h4 { text-align: left; }
  .about-btn { text-align: center; }
  .about-btn .btn { justify-content: center; }
}

/* 手机端：团队信息/案例/资讯列表文字左对齐（覆盖居中规则） */
@media (max-width: 768px) {
  .member-info, .member-info h3, .member-info h3 span,
  .member-info p, .member-info a { text-align: left; }
  .member-card { align-items: flex-start; }
  .member-info .product-link { justify-content: flex-start; }
  .case-main, .case-main h3, .case-main p,
  .case-main .case-tags, .case-main a { text-align: left; }
  .case-main .case-tags { justify-content: flex-start; }
  .news-main, .news-main h3, .news-main p,
  .news-main a { text-align: left; }
}

/* 手机端：隐藏案例编号 case-no 与新闻日期 news-date */
@media (max-width: 768px) {
  .case-no { display: none; }
  .news-date { display: none; }
}

/* ---- 律师头像：默认图兜底 + litpic 优先（覆盖旧 has-img 方案） ---- */
.member-avatar { position: relative; overflow: hidden; }
.member-avatar > img {
  display: block !important;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

/* ---- 律师头像：默认图兜底 + litpic 优先（覆盖旧 has-img 方案） ---- */
.member-avatar { position: relative; overflow: hidden; }
.member-avatar > img {
  display: block !important;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

/* 手机端：律师内页信息区模块（大头像+基本信息）居中 */
@media (max-width: 768px) {
  .lawyer-head { justify-content: center; text-align: center; }
  .lawyer-head > div { margin-left: auto; margin-right: auto; }
  .lawyer-info h1, .lawyer-info p, .lawyer-info ul { text-align: center; }
  .lawyer-info li { justify-content: center; }
  .lawyer-info .btn { display: inline-flex; }
}

/* 手机端二级菜单：默认收起，点击一级展开（.open） */
.mobile-nav .m-sub { display: none; }
.mobile-nav .m-sub.open { display: flex; }
