/* ==========================================================================
   安文强律师 · 官方网站
   设计基调：稳重专业 —— 藏青主色 / 衬线标题 / 朱红点缀
   ========================================================================== */

/* ---------- 1. 设计变量 ---------- */
:root {
  /* 主色系：藏青 / 深蓝 */
  --navy-900: #0b1f3a;
  --navy-800: #10294a;
  --navy-700: #16345c;
  --navy-600: #1e4272;
  --navy-500: #2a558f;
  --navy-100: #e7edf6;
  --navy-50:  #f4f7fb;

  /* 点缀色：朱红（用于重点、CTA 悬停、装饰线） */
  --accent:      #9b2226;
  --accent-soft: #c1433f;

  /* 中性色 */
  --ink:      #1a1f28;
  --ink-soft: #4a5568;
  --ink-mute: #7a8699;
  --line:     #e2e7ef;
  --bg:       #ffffff;
  --bg-alt:   #f7f9fc;

  /* 排版 */
  --font-serif: "Noto Serif SC", "Songti SC", "SimSun", Georgia, serif;
  --font-sans:  "Noto Sans SC", "PingFang SC", "Microsoft YaHei", -apple-system, sans-serif;

  /* 尺寸 */
  --wrap: 1180px;
  --radius: 4px;
  --shadow-sm: 0 1px 3px rgba(11, 31, 58, .06);
  --shadow-md: 0 4px 20px rgba(11, 31, 58, .08);
  --shadow-lg: 0 12px 40px rgba(11, 31, 58, .12);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--navy-600); text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--accent); }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.35;
  color: var(--navy-900);
  margin: 0 0 .6em;
  letter-spacing: .01em;
}

h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
h2 { font-size: clamp(1.5rem, 2.8vw, 2.05rem); }
h3 { font-size: clamp(1.12rem, 1.8vw, 1.35rem); }
p  { margin: 0 0 1.1em; }

ul { margin: 0 0 1.1em; padding-left: 1.3em; }
li { margin-bottom: .4em; }

/* ---------- 3. 布局容器 ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 88px 0; }
.section--tight { padding: 60px 0; }
.section--alt { background: var(--bg-alt); }
.section--navy { background: var(--navy-900); color: #dfe7f2; }
.section--navy h2, .section--navy h3 { color: #fff; }

/* ---------- 4. 区块标题 ---------- */
.sec-head { margin-bottom: 48px; max-width: 760px; }
.sec-head--center { margin-left: auto; margin-right: auto; text-align: center; }

.sec-eyebrow {
  display: inline-block;
  font-size: .78rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 12px;
}

.sec-head h2 { margin-bottom: .35em; }

.sec-head h2::after {
  content: "";
  display: block;
  width: 52px;
  height: 3px;
  background: var(--accent);
  margin-top: 18px;
}

.sec-head--center h2::after { margin-left: auto; margin-right: auto; }

.sec-desc { color: var(--ink-soft); font-size: 1.02rem; margin: 0; }

/* ---------- 5. 顶部导航 ---------- */
.topbar {
  background: var(--navy-900);
  color: rgba(255, 255, 255, .72);
  font-size: .84rem;
  padding: 7px 0;
}

.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.topbar a { color: rgba(255, 255, 255, .82); }
.topbar a:hover { color: #fff; }
.topbar-items { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }
.topbar-items span { display: inline-flex; align-items: center; gap: 6px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s var(--ease);
}

.site-header.is-stuck { box-shadow: var(--shadow-md); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 24px;
}

.brand { display: flex; align-items: center; gap: 13px; }

.brand-mark {
  width: 44px; height: 44px;
  flex: 0 0 44px;
  border-radius: 3px;
  background: linear-gradient(145deg, var(--navy-700), var(--navy-900));
  color: #fff;
  font-family: var(--font-serif);
  font-size: 1.3rem;
  display: flex; align-items: center; justify-content: center;
  letter-spacing: .02em;
}

.brand-text strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.16rem;
  color: var(--navy-900);
  line-height: 1.25;
  letter-spacing: .06em;
}

.brand-text small {
  display: block;
  font-size: .72rem;
  color: var(--ink-mute);
  letter-spacing: .12em;
}

.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }

.nav-links > li { position: relative; margin: 0; }

.nav-links > li > a {
  display: block;
  padding: 10px 15px;
  font-size: .94rem;
  color: var(--ink);
  border-radius: 3px;
  white-space: nowrap;
}

.nav-links > li > a:hover,
.nav-links > li.active > a { color: var(--navy-700); background: var(--navy-50); }

.nav-links > li.active > a { color: var(--accent); font-weight: 600; }

/* 下拉 */
.nav-drop {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 208px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 7px;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all .22s var(--ease);
}

.nav-links > li:hover .nav-drop { opacity: 1; visibility: visible; transform: translateY(0); }

.nav-drop li { margin: 0; }

.nav-drop a {
  display: block;
  padding: 9px 13px;
  font-size: .9rem;
  color: var(--ink-soft);
  border-radius: 3px;
}

.nav-drop a:hover { background: var(--navy-50); color: var(--navy-700); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  background: var(--navy-800);
  color: #fff !important;
  border-radius: 3px;
  font-size: .9rem;
  font-weight: 500;
  white-space: nowrap;
  transition: background .25s var(--ease);
}

.nav-cta:hover { background: var(--accent); color: #fff; }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 3px;
  cursor: pointer;
  padding: 0;
  position: relative;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 18px; height: 2px;
  background: var(--navy-800);
  transform: translate(-50%, -50%);
  transition: all .25s var(--ease);
}

.nav-toggle span::before { top: -6px; transform: translate(-50%, 0); }
.nav-toggle span::after  { top: 6px;  transform: translate(-50%, 0); }

.nav-toggle.is-open span { background: transparent; }
.nav-toggle.is-open span::before { top: 0; transform: translate(-50%, 0) rotate(45deg); }
.nav-toggle.is-open span::after  { top: 0; transform: translate(-50%, 0) rotate(-45deg); }

/* ---------- 6. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 30px;
  font-size: .95rem;
  font-weight: 500;
  border-radius: 3px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .25s var(--ease);
  font-family: var(--font-sans);
}

.btn--primary { background: var(--navy-800); color: #fff; }
.btn--primary:hover { background: var(--accent); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-soft); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn--ghost { background: transparent; color: var(--navy-800); border-color: rgba(255, 255, 255, .45); }
.btn--ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; }

.btn--outline { background: transparent; color: var(--navy-800); border-color: var(--navy-700); }
.btn--outline:hover { background: var(--navy-800); color: #fff; }

.btn--sm { padding: 10px 20px; font-size: .88rem; }

.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- 7. 首页 Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 55%, var(--navy-600) 100%);
  color: #e8eff8;
  overflow: hidden;
  padding: 96px 0 104px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 82% 18%, rgba(155, 34, 38, .28), transparent 46%),
    radial-gradient(circle at 8% 88%, rgba(42, 85, 143, .42), transparent 50%);
  pointer-events: none;
}

.hero::after {
  content: "法";
  position: absolute;
  right: 4%;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-serif);
  font-size: 26rem;
  line-height: 1;
  color: rgba(255, 255, 255, .035);
  pointer-events: none;
  user-select: none;
}

.hero .wrap { position: relative; z-index: 2; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .82rem;
  letter-spacing: .18em;
  color: #b9cbe4;
  margin-bottom: 22px;
  text-transform: uppercase;
}

.hero-eyebrow::before {
  content: "";
  width: 34px; height: 2px;
  background: var(--accent-soft);
}

.hero h1 {
  color: #fff;
  font-size: clamp(2rem, 4.4vw, 3.15rem);
  line-height: 1.28;
  margin-bottom: 22px;
  letter-spacing: .02em;
}

.hero h1 em {
  font-style: normal;
  color: #f0c9c6;
  position: relative;
}

.hero-lead {
  font-size: 1.06rem;
  color: #c3d3e6;
  max-width: 560px;
  margin-bottom: 32px;
  line-height: 1.9;
}

.hero-stats {
  display: flex;
  gap: 42px;
  margin-top: 44px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, .13);
  flex-wrap: wrap;
}

.hero-stat strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 2rem;
  color: #fff;
  line-height: 1.1;
  white-space: nowrap;
}

.hero-stat strong span { letter-spacing: -.01em; }

.hero-stat span { font-size: .84rem; color: #9fb4cf; letter-spacing: .04em; }

/* 名片卡 */
.hero-card {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 5px;
  padding: 34px 32px;
  backdrop-filter: blur(6px);
}

.hero-card h3 { color: #fff; font-size: 1.2rem; margin-bottom: 20px; }

.hero-card-list { list-style: none; padding: 0; margin: 0 0 26px; }

.hero-card-list li {
  display: flex;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, .12);
  font-size: .92rem;
  color: #ccdbec;
  margin: 0;
}

.hero-card-list li:last-child { border-bottom: 0; }

.hero-card-list b {
  flex: 0 0 74px;
  color: #8fa7c4;
  font-weight: 400;
  font-size: .87rem;
}

/* ---------- 8. 卡片网格 ---------- */
.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); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  transition: all .3s var(--ease);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 0; height: 3px;
  background: var(--accent);
  transition: width .4s var(--ease);
}

.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card:hover::before { width: 100%; }

.card-icon {
  width: 50px; height: 50px;
  border-radius: 3px;
  background: var(--navy-50);
  color: var(--navy-700);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  transition: all .3s var(--ease);
}

.card:hover .card-icon { background: var(--navy-800); color: #fff; }

.card h3 { font-size: 1.12rem; margin-bottom: 12px; }

.card p { color: var(--ink-soft); font-size: .93rem; margin-bottom: 16px; line-height: 1.85; }
.card p:last-child { margin-bottom: 0; }

.card-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 16px; }

.tag {
  font-size: .76rem;
  padding: 3px 10px;
  background: var(--navy-50);
  color: var(--navy-600);
  border-radius: 2px;
  letter-spacing: .03em;
}

.card-link {
  font-size: .88rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.card-link::after { content: "→"; transition: transform .25s var(--ease); }
.card-link:hover::after { transform: translateX(4px); }

/* ---------- 9. 优势条（数字/图标横向） ---------- */
.feature-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}

.feature-item {
  padding: 32px 26px;
  border-right: 1px solid var(--line);
  text-align: left;
}

.feature-item:last-child { border-right: 0; }

.feature-item .num {
  font-family: var(--font-serif);
  font-size: 1.9rem;
  color: var(--accent);
  line-height: 1.2;
  margin-bottom: 6px;
}

.feature-item h4 { font-size: 1rem; margin-bottom: 6px; font-family: var(--font-sans); font-weight: 600; }
.feature-item p { font-size: .87rem; color: var(--ink-mute); margin: 0; line-height: 1.7; }

/* ---------- 10. 案例列表 ---------- */
.case-list { display: grid; gap: 18px; }

.case-item {
  display: grid;
  grid-template-columns: 132px 1fr auto;
  gap: 26px;
  align-items: center;
  padding: 26px 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 3px solid var(--navy-600);
  border-radius: var(--radius);
  transition: all .3s var(--ease);
}

.case-item:hover {
  border-left-color: var(--accent);
  box-shadow: var(--shadow-md);
  transform: translateX(3px);
}

.case-type {
  font-size: .78rem;
  letter-spacing: .1em;
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
}

.case-body h3 { font-size: 1.05rem; margin-bottom: 7px; }
.case-body p { font-size: .89rem; color: var(--ink-soft); margin: 0; line-height: 1.75; }

.case-result {
  font-size: .82rem;
  padding: 6px 14px;
  background: #eef4ec;
  color: #2f6b3a;
  border-radius: 2px;
  white-space: nowrap;
  font-weight: 500;
}

/* ---------- 11. 文章列表 ---------- */
.article-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  transition: all .3s var(--ease);
  height: 100%;
}

.article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.article-meta {
  display: flex;
  gap: 14px;
  font-size: .79rem;
  color: var(--ink-mute);
  margin-bottom: 13px;
  align-items: center;
}

.article-cat { color: var(--accent); font-weight: 600; letter-spacing: .04em; }

.article-card h3 { font-size: 1.09rem; margin-bottom: 11px; line-height: 1.5; }
.article-card h3 a { color: var(--navy-900); }
.article-card h3 a:hover { color: var(--accent); }

.article-card p { font-size: .89rem; color: var(--ink-soft); line-height: 1.8; flex: 1; }

.article-more { font-size: .85rem; font-weight: 500; }

/* ---------- 12. CTA 区 ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--navy-900), var(--navy-600));
  color: #fff;
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  right: -60px; top: -60px;
  width: 320px; height: 320px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 50%;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.cta-inner h2 { color: #fff; margin-bottom: .3em; font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.cta-inner p { color: #bfd0e4; margin: 0; font-size: .98rem; }

/* ---------- 13. 页头（内页） ---------- */
.page-head {
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  color: #d9e4f1;
  padding: 74px 0 64px;
  position: relative;
  overflow: hidden;
}

.page-head::after {
  content: "";
  position: absolute;
  right: 6%; bottom: -70px;
  width: 260px; height: 260px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 50%;
}

.page-head h1 { color: #fff; margin-bottom: 12px; }

.page-head p { color: #b6c8dd; margin: 0; max-width: 640px; }

.breadcrumb {
  font-size: .83rem;
  color: #93aac6;
  margin-bottom: 18px;
  position: relative;
  z-index: 2;
}

.breadcrumb a { color: #b6c8dd; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { margin: 0 8px; opacity: .5; }

/* ---------- 14. 律师简介页 ---------- */
.profile-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 60px;
  align-items: start;
}

.profile-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 0 30px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 100px;
}

.profile-photo {
  aspect-ratio: 3 / 4;
  background: linear-gradient(150deg, var(--navy-100), var(--navy-50));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy-500);
  font-family: var(--font-serif);
  font-size: 3.4rem;
  border-bottom: 3px solid var(--accent);
  overflow: hidden;
}

.profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* ---------- 13.1 照片展示框 ---------- */
.photo-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  background: var(--navy-50);
}

.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.photo-frame figcaption {
  font-size: .82rem;
  color: var(--ink-mute);
  padding: 12px 18px;
  background: #fff;
  border-top: 1px solid var(--line);
  text-align: center;
  letter-spacing: .04em;
}

.team-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 52px;
  align-items: center;
}

.team-photo-wrap { aspect-ratio: 3 / 2; }

.team-points { list-style: none; padding: 0; margin: 24px 0 30px; }

.team-points li {
  position: relative;
  padding: 10px 0 10px 30px;
  border-bottom: 1px dashed var(--line);
  font-size: .94rem;
  color: var(--ink-soft);
  margin: 0;
}

.team-points li:last-child { border-bottom: 0; }

.team-points li::before {
  content: "";
  position: absolute;
  left: 4px; top: 18px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.team-points li strong { color: var(--navy-800); font-weight: 600; }

@media (max-width: 860px) {
  .team-grid { grid-template-columns: 1fr; gap: 32px; }
}

.profile-info { padding: 26px 26px 0; }

.profile-info h3 { margin-bottom: 4px; font-size: 1.35rem; letter-spacing: .06em; }

.profile-title {
  font-size: .86rem;
  color: var(--accent);
  letter-spacing: .06em;
  margin-bottom: 20px;
  font-weight: 500;
}

.profile-facts { list-style: none; padding: 0; margin: 0; font-size: .88rem; }

.profile-facts li {
  padding: 9px 0;
  border-bottom: 1px dashed var(--line);
  color: var(--ink-soft);
  margin: 0;
  display: flex;
  gap: 10px;
}

.profile-facts li:last-child { border-bottom: 0; }
.profile-facts b { flex: 0 0 66px; font-weight: 400; color: var(--ink-mute); font-size: .84rem; }

/* 正文排版 */
.prose { font-size: 1rem; color: var(--ink-soft); }
.prose h2 { margin-top: 44px; margin-bottom: .5em; font-size: 1.42rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 32px; font-size: 1.14rem; color: var(--navy-800); }
.prose p { line-height: 1.95; }
.prose ul, .prose ol { color: var(--ink-soft); }
.prose strong { color: var(--navy-800); font-weight: 600; }

.prose blockquote {
  margin: 26px 0;
  padding: 20px 26px;
  background: var(--navy-50);
  border-left: 3px solid var(--navy-600);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--ink-soft);
  font-size: .96rem;
}

.prose blockquote p:last-child { margin-bottom: 0; }

/* 时间轴 */
.timeline { list-style: none; padding: 0; margin: 30px 0; position: relative; }

.timeline::before {
  content: "";
  position: absolute;
  left: 7px; top: 8px; bottom: 8px;
  width: 1px;
  background: var(--line);
}

.timeline li {
  position: relative;
  padding: 0 0 26px 34px;
  margin: 0;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: 2px; top: 9px;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--navy-600);
}

.timeline li:last-child { padding-bottom: 0; }

.timeline .tl-date {
  font-size: .8rem;
  color: var(--accent);
  letter-spacing: .05em;
  font-weight: 600;
  display: block;
  margin-bottom: 3px;
}

.timeline .tl-text { font-size: .94rem; color: var(--ink-soft); line-height: 1.8; }
.timeline .tl-text strong { color: var(--navy-800); }

/* 荣誉列表 */
.honor-list { display: grid; gap: 14px; }

.honor-item {
  display: flex;
  gap: 16px;
  padding: 20px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  align-items: flex-start;
}

.honor-badge {
  flex: 0 0 40px;
  height: 40px;
  border-radius: 3px;
  background: var(--navy-50);
  color: var(--navy-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
}

.honor-item h4 { font-size: .98rem; margin-bottom: 4px; font-family: var(--font-sans); font-weight: 600; }
.honor-item p { font-size: .86rem; color: var(--ink-mute); margin: 0; line-height: 1.7; }

/* ---------- 15. 联系方式 ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }

.contact-list { list-style: none; padding: 0; margin: 0 0 32px; }

.contact-list li {
  display: flex;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  margin: 0;
  align-items: flex-start;
}

.contact-ico {
  flex: 0 0 42px;
  height: 42px;
  border-radius: 3px;
  background: var(--navy-50);
  color: var(--navy-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
}

.contact-list h4 {
  font-size: .84rem;
  color: var(--ink-mute);
  font-weight: 400;
  margin-bottom: 3px;
  font-family: var(--font-sans);
  letter-spacing: .04em;
}

.contact-list p { margin: 0; font-size: 1rem; color: var(--navy-900); font-weight: 500; }
.contact-list p small { display: block; font-size: .84rem; color: var(--ink-mute); font-weight: 400; margin-top: 2px; }

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 38px 36px;
  box-shadow: var(--shadow-sm);
}

.form-row { margin-bottom: 20px; }

.form-row label {
  display: block;
  font-size: .86rem;
  color: var(--ink-soft);
  margin-bottom: 7px;
  font-weight: 500;
}

.form-row label .req { color: var(--accent); }

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 12px 15px;
  font-size: .94rem;
  font-family: var(--font-sans);
  color: var(--ink);
  background: #fbfcfe;
  border: 1px solid var(--line);
  border-radius: 3px;
  transition: all .2s var(--ease);
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--navy-600);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(30, 66, 114, .1);
}

.form-row textarea { resize: vertical; min-height: 116px; }

.form-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.form-note { font-size: .8rem; color: var(--ink-mute); margin: 16px 0 0; line-height: 1.7; }

.form-alert {
  display: none;
  padding: 13px 17px;
  border-radius: 3px;
  font-size: .89rem;
  margin-bottom: 20px;
  background: #eef4ec;
  color: #2f6b3a;
  border: 1px solid #cfe2cb;
}

.form-alert.show { display: block; }

/* 地图占位 */
.map-box {
  margin-top: 26px;
  aspect-ratio: 16 / 8;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    repeating-linear-gradient(45deg, #f7f9fc 0 12px, #fff 12px 24px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--ink-mute);
  font-size: .88rem;
  text-align: center;
  padding: 20px;
}

.map-box strong { color: var(--navy-800); font-size: .98rem; }

/* ---------- 16. 联系方式浮层（右侧固定） ---------- */
.quick-contact {
  position: fixed;
  right: 22px;
  bottom: 26px;
  z-index: 80;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.qc-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--navy-800);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  transition: all .25s var(--ease);
  font-size: 1.15rem;
  position: relative;
}

.qc-btn:hover { background: var(--accent); transform: scale(1.07); color: #fff; }

.qc-btn::after {
  content: attr(data-label);
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  background: var(--navy-900);
  color: #fff;
  font-size: .8rem;
  padding: 6px 13px;
  border-radius: 3px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all .22s var(--ease);
  pointer-events: none;
}

.qc-btn:hover::after { opacity: 1; visibility: visible; transform: translateY(-50%) translateX(0); }

/* ---------- 17. 页脚 ---------- */
.site-footer {
  background: var(--navy-900);
  color: #93aac6;
  padding: 66px 0 0;
  font-size: .9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 44px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.site-footer .brand-text strong { color: #fff; }
.site-footer .brand-text small { color: #6d8299; }
.site-footer .brand-mark { background: rgba(255, 255, 255, .08); }

.footer-about { margin-top: 20px; line-height: 1.85; font-size: .87rem; color: #8fa4bd; max-width: 320px; }

.site-footer h4 {
  color: #fff;
  font-size: .96rem;
  margin-bottom: 20px;
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: .04em;
}

.footer-links { list-style: none; padding: 0; margin: 0; }

.footer-links li { margin-bottom: 11px; }
.footer-links a { color: #93aac6; font-size: .88rem; }
.footer-links a:hover { color: #fff; }

.footer-contact { list-style: none; padding: 0; margin: 0; }

.footer-contact li {
  margin-bottom: 13px;
  line-height: 1.7;
  color: #93aac6;
  display: flex;
  gap: 10px;
  font-size: .88rem;
}

.footer-contact b { color: #6d8299; font-weight: 400; flex: 0 0 auto; }

.footer-bottom {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: .82rem;
  color: #6d8299;
}

.footer-bottom .icp { flex: 1 0 100%; }

.footer-bottom a { color: #8fa4bd; }
.footer-bottom a:hover { color: #fff; }

/* ---------- 18. 滚动入场动画 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}

.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 19. 其他工具类 ---------- */
.mb-0 { margin-bottom: 0; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.text-center { text-align: center; }

.notice-bar {
  background: #fdf6f5;
  border: 1px solid #f0d9d7;
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 16px 22px;
  font-size: .88rem;
  color: #7a3b3a;
  line-height: 1.8;
  margin: 0 0 32px;
}

.notice-bar strong { color: var(--accent); }

/* ---------- 20. 响应式 ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero::after { font-size: 18rem; right: -3%; opacity: .6; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .feature-row { grid-template-columns: repeat(2, 1fr); }
  .feature-item:nth-child(2) { border-right: 0; }
  .feature-item:nth-child(1), .feature-item:nth-child(2) { border-bottom: 1px solid var(--line); }
  .profile-grid { grid-template-columns: 1fr; gap: 40px; }
  .profile-card { position: static; max-width: 380px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 36px; }
}

@media (max-width: 860px) {
  .topbar { display: none; }
  .nav { height: 66px; }
  .nav-toggle { display: block; }
  .nav-cta { display: none; }

  .nav-links {
    position: fixed;
    top: 66px;
    left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 20px 26px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    max-height: calc(100vh - 66px);
    overflow-y: auto;
    transform: translateY(-110%);
    transition: transform .32s var(--ease);
    z-index: 89;
  }

  .nav-links.is-open { transform: translateY(0); }

  .nav-links > li > a { padding: 14px 6px; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 1rem; }

  .nav-drop {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    border-radius: 0;
    padding: 0 0 0 16px;
    min-width: 0;
  }

  .nav-drop a { padding: 11px 6px; border-bottom: 1px solid var(--line); }

  .grid--2, .grid--3 { grid-template-columns: 1fr; }
  .section { padding: 62px 0; }
  .hero { padding: 68px 0 76px; }
  .case-item { grid-template-columns: 1fr; gap: 14px; }
  .case-result { justify-self: start; }
  .form-2col { grid-template-columns: 1fr; }
  .quick-contact { right: 14px; bottom: 16px; }
  .qc-btn { width: 48px; height: 48px; }
}

@media (max-width: 560px) {
  .grid--4, .feature-row { grid-template-columns: 1fr; }
  .feature-item { border-right: 0; border-bottom: 1px solid var(--line); }
  .feature-item:last-child { border-bottom: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 26px; }
  .hero-stat strong { font-size: 1.6rem; }
  .form-card { padding: 28px 22px; }
  .card { padding: 28px 24px; }
  .hero::after { display: none; }
}

/* ---------- 案例分类：收尾提示（暗示更多案例） ---------- */
.case-more-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: -30px;
}

.case-more-hint .hint-line {
  flex: 0 0 72px;
  height: 1px;
  background: var(--line);
}

.case-more-hint .hint-badge {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed var(--accent);
  border-radius: 50%;
  color: var(--accent);
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1;
  flex: none;
}

.case-more-hint p {
  margin: 0;
  font-size: .85rem;
  color: var(--ink-mute);
  letter-spacing: .06em;
}
