/* ==========================================================================
   Sophia Law — 个人品牌网站样式表
   风格：严肃、简洁、可信赖
   ========================================================================== */

/* ---------- 设计变量 ---------- */
:root {
  /* 色彩 */
  --navy:        #12233f;   /* 主色：深藏蓝 */
  --navy-deep:   #0b1729;   /* 更深 */
  --navy-soft:   #1d3457;
  --gold:        #b08d4f;   /* 点缀：克制的香槟金 */
  --gold-soft:   #c9a969;
  --ink:         #1c2431;   /* 正文深色 */
  --ink-2:       #4a5568;   /* 次要文字 */
  --ink-3:       #7b8492;   /* 辅助文字 */
  --line:        #e4e7ec;   /* 分隔线 */
  --line-soft:   #eef0f3;
  --paper:       #ffffff;
  --paper-2:     #f7f8fa;   /* 浅灰背景 */
  --paper-3:     #fbfbfc;
  --white:       #ffffff;

  /* 字体 */
  --font-serif: "Noto Serif SC", "Songti SC", "SimSun", Georgia, "Times New Roman", serif;
  --font-sans:  "Noto Sans SC", "PingFang SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* 尺寸 */
  --maxw:       1160px;
  --radius:     4px;
  --header-h:   76px;
  --shadow-sm:  0 2px 12px rgba(18, 35, 63, .06);
  --shadow-md:  0 12px 36px rgba(18, 35, 63, .10);

  /* 动效 */
  --ease:       cubic-bezier(.22, .61, .36, 1);
}

/* ---------- 基础重置 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.3; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }

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

/* ---------- 布局容器 ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 96px 0; }
.section--tight { padding: 72px 0; }
.section--paper { background: var(--paper-2); }
.section--navy { background: var(--navy); color: #fff; }

/* ---------- 通用标题 ---------- */
.eyebrow {
  display: inline-block;
  font-size: 13px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 42px);
  color: var(--navy);
  letter-spacing: .01em;
}
.section-title--light { color: #fff; }
.section-sub {
  color: var(--ink-2);
  font-size: 16px;
  margin-top: 16px;
  max-width: 640px;
}
.section-sub--light { color: rgba(255,255,255,.7); }
.section-head { margin-bottom: 52px; }
.section-head--center { text-align: center; }
.section-head--center .section-sub { margin-left: auto; margin-right: auto; }

/* 分隔金线 */
.gold-rule {
  width: 48px; height: 3px;
  background: var(--gold);
  margin: 20px 0 0;
}
.gold-rule--center { margin-left: auto; margin-right: auto; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .03em;
  cursor: pointer;
  transition: all .28s var(--ease);
  white-space: nowrap;
}
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-soft); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: var(--gold-soft); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn-outline-light:hover { background: #fff; color: var(--navy); }
.btn-lg { min-height: 56px; padding: 0 36px; font-size: 16px; }
.btn .arrow { transition: transform .28s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* 文字链接 */
.text-link {
  color: var(--navy);
  font-weight: 600;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 3px;
  transition: color .25s var(--ease), gap .25s var(--ease);
}
.text-link:hover { color: var(--gold); gap: 14px; }

/* ==========================================================================
   顶部导航
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow .3s var(--ease);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 42px; height: 42px;
  border: 1.5px solid var(--navy);
  display: grid; place-items: center;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 20px;
  color: var(--navy);
  position: relative;
  flex: none;
}
.brand-mark::after {
  content: ""; position: absolute;
  left: 50%; bottom: 5px; transform: translateX(-50%);
  width: 16px; height: 2px; background: var(--gold);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name { display: block; font-family: var(--font-serif); font-size: 19px; font-weight: 700; color: var(--navy); }
.brand-sub { display: block; font-size: 10px; letter-spacing: .22em; color: var(--ink-3); text-transform: uppercase; }

.main-nav { display: flex; align-items: center; gap: 34px; }
.main-nav a {
  font-size: 15px;
  color: var(--ink-2);
  position: relative;
  padding: 6px 0;
  transition: color .25s var(--ease);
}
.main-nav a::after {
  content: ""; position: absolute;
  left: 0; bottom: 0; width: 0; height: 2px;
  background: var(--gold); transition: width .28s var(--ease);
}
.main-nav a:hover { color: var(--navy); }
.main-nav a.active { color: var(--navy); font-weight: 600; }
.main-nav a.active::after { width: 100%; }
.header-cta { display: inline-flex; align-items: center; }
.header-cta .btn { min-height: 42px; padding: 0 20px; font-size: 14px; }

/* 汉堡按钮 */
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: var(--radius);
  cursor: pointer;
  position: relative;
}
.nav-toggle span {
  position: absolute; left: 12px; right: 12px; height: 2px;
  background: var(--navy); transition: all .3s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 28px; }
.nav-toggle.open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ==========================================================================
   Hero 区域
   ========================================================================== */
.hero {
  position: relative;
  background: var(--navy);
  color: #fff;
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%);
}
.hero::after {
  content: ""; position: absolute;
  right: -160px; top: -160px;
  width: 620px; height: 620px;
  border: 1px solid rgba(176,141,79,.22);
  border-radius: 50%;
}
.hero-inner {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 60px;
  align-items: center;
  min-height: 560px;
  padding: 80px 0;
}
.hero-copy { max-width: 660px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; letter-spacing: .14em;
  color: var(--gold-soft);
  border: 1px solid rgba(176,141,79,.4);
  padding: 7px 16px; border-radius: 40px;
  margin-bottom: 28px;
}
.hero-badge .dot { width: 6px; height: 6px; background: var(--gold); border-radius: 50%; }
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(36px, 5.4vw, 62px);
  line-height: 1.28;
  font-weight: 600;
  letter-spacing: .01em;
}
.hero-title .accent { color: var(--gold-soft); }
.hero-sub {
  margin-top: 24px;
  font-size: 17px;
  line-height: 1.9;
  color: rgba(255,255,255,.76);
  max-width: 560px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 38px; }
.hero .btn-outline-light { border-color: rgba(255,255,255,.35); }
.hero-meta {
  display: flex; flex-wrap: wrap; gap: 28px;
  margin-top: 46px; padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.hero-meta div { display: flex; flex-direction: column; }
.hero-meta .num { font-family: var(--font-serif); font-size: 26px; color: #fff; font-weight: 600; }
.hero-meta .lbl { font-size: 12px; color: rgba(255,255,255,.55); letter-spacing: .08em; }

/* Hero 右侧视觉块 */
.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-card {
  position: relative; z-index: 2;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(6px);
  padding: 34px 32px;
  width: 100%; max-width: 340px;
  border-radius: 6px;
}
.hero-card .quote-mark { font-family: var(--font-serif); font-size: 56px; color: var(--gold); line-height: .6; }
.hero-card p {
  font-family: var(--font-serif);
  font-size: 18px; line-height: 1.9; color: #fff; margin-top: 14px;
}
.hero-card .sig { margin-top: 22px; display: flex; align-items: center; gap: 12px; }
.hero-card .sig-line { width: 28px; height: 1px; background: var(--gold); }
.hero-card .sig-name { font-size: 13px; color: rgba(255,255,255,.65); letter-spacing: .05em; }

/* ==========================================================================
   数据证明区
   ========================================================================== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper);
}
.stat-item { padding: 44px 28px; text-align: center; border-right: 1px solid var(--line); }
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: var(--font-serif);
  font-size: clamp(40px, 5vw, 56px);
  font-weight: 600;
  color: var(--navy);
  line-height: 1;
}
.stat-num .suffix { color: var(--gold); font-size: .6em; margin-left: 2px; }
.stat-label { margin-top: 14px; color: var(--ink-2); font-size: 14px; letter-spacing: .04em; }

/* ==========================================================================
   卡片通用
   ========================================================================== */
.card-grid { display: grid; gap: 24px; }
.card-grid--4 { grid-template-columns: repeat(4, 1fr); }
.card-grid--3 { grid-template-columns: repeat(3, 1fr); }
.card-grid--2 { grid-template-columns: repeat(2, 1fr); }

/* 产品卡片 */
.product-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 32px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--gold); }
.product-icon {
  width: 52px; height: 52px;
  border: 1px solid var(--line);
  color: var(--navy);
  display: grid; place-items: center;
  border-radius: var(--radius);
  margin-bottom: 24px;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.product-card:hover .product-icon { background: var(--navy); color: #fff; border-color: var(--navy); }
.product-icon svg { width: 26px; height: 26px; }
.product-card h3 { font-family: var(--font-serif); font-size: 21px; color: var(--navy); }
.product-card .desc { color: var(--ink-2); font-size: 14.5px; line-height: 1.85; margin-top: 14px; flex: 1; }
.product-card .price { margin-top: 22px; font-size: 13px; color: var(--gold); font-weight: 600; }
.product-card .foot { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line-soft); }

/* 关于预览 */
.about-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.about-figure {
  position: relative;
  background: var(--navy);
  border-radius: var(--radius);
  aspect-ratio: 4/5;
  display: grid; place-items: center;
  overflow: hidden;
}
.about-figure::before {
  content: ""; position: absolute;
  width: 78%; height: 78%;
  border: 1px solid rgba(176,141,79,.4);
  border-radius: 50%;
}
.about-figure .monogram {
  font-family: var(--font-serif);
  font-size: 96px; color: var(--gold-soft); z-index: 1;
}
.about-figure .fig-caption {
  position: absolute; bottom: 24px; left: 28px;
  color: rgba(255,255,255,.55); font-size: 12px; letter-spacing: .16em;
}

/* 人物照片版本 */
.about-figure--photo { background: var(--navy-soft); }
.about-figure--photo::before { display: none; }
.about-figure--photo img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 22%;
}
.about-figure--photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(9,19,36,.82) 0%, rgba(9,19,36,.18) 34%, transparent 58%);
}
.about-figure--photo .fig-caption {
  z-index: 2; color: #fff;
  letter-spacing: .18em;
  padding-right: 20px;
}
.about-figure--photo .fig-caption::before {
  content: ""; display: block;
  width: 32px; height: 2px; background: var(--gold);
  margin-bottom: 12px;
}

/* 小型头像（联系页等） */
.portrait-avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 20%;
  border: 2px solid var(--gold);
  flex: none;
}
.info-person {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 24px; padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.info-person-name {
  font-family: var(--font-serif); font-size: 18px;
  font-weight: 600; color: var(--navy);
}
.info-person-role { font-size: 12.5px; color: var(--ink-3); margin-top: 3px; }
.about-copy .lead {
  font-family: var(--font-serif);
  font-size: 22px; line-height: 1.8; color: var(--navy);
}
.about-copy p.body { color: var(--ink-2); margin-top: 20px; font-size: 15.5px; line-height: 1.95; }
.about-points { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 24px; margin: 28px 0 32px; }
.about-points li { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; color: var(--ink); }
.about-points li::before { content: "—"; color: var(--gold); font-weight: 700; flex: none; }

/* 文章卡片 */
.article-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.article-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.article-thumb {
  height: 160px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 100%);
  position: relative; display: grid; place-items: center;
  overflow: hidden;
}
.article-thumb::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 14px 14px;
}
.article-thumb .tag-big { font-family: var(--font-serif); font-size: 40px; color: rgba(255,255,255,.14); z-index: 1; }
.article-thumb.alt1 { background: linear-gradient(135deg, #2c3e50 0%, #4a6178 100%); }
.article-thumb.alt2 { background: linear-gradient(135deg, #3a3226 0%, #6b5a3e 100%); }
.article-body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.article-meta { display: flex; align-items: center; gap: 12px; font-size: 12px; color: var(--ink-3); }
.article-cat { color: var(--gold); font-weight: 600; letter-spacing: .06em; }
.article-body h3 { font-family: var(--font-serif); font-size: 19px; color: var(--navy); margin-top: 14px; line-height: 1.5; }
.article-body .excerpt { color: var(--ink-2); font-size: 14px; line-height: 1.8; margin-top: 12px; flex: 1; }
.article-body .readmore { margin-top: 20px; font-size: 13px; color: var(--navy); font-weight: 600; display: inline-flex; gap: 6px; align-items: center; }
.article-card:hover .readmore { color: var(--gold); }

/* ==========================================================================
   内页页头
   ========================================================================== */
.page-hero {
  background: var(--navy);
  color: #fff;
  padding: 84px 0 72px;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute;
  right: -80px; bottom: -180px;
  width: 460px; height: 460px;
  border: 1px solid rgba(176,141,79,.2); border-radius: 50%;
}
.page-hero-inner { position: relative; z-index: 1; }
.page-hero .eyebrow { color: var(--gold-soft); }
.page-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 600; letter-spacing: .02em;
}
.page-hero p { margin-top: 18px; color: rgba(255,255,255,.72); font-size: 16px; max-width: 620px; }
.breadcrumb { margin-top: 26px; font-size: 13px; color: rgba(255,255,255,.5); }
.breadcrumb a:hover { color: var(--gold-soft); }
.breadcrumb span { margin: 0 8px; }

/* ==========================================================================
   关于页：故事 / 时间线 / 成就
   ========================================================================== */
.story-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.story-text p { color: var(--ink-2); font-size: 15.5px; line-height: 2; margin-bottom: 20px; }
.story-text p.lead {
  font-family: var(--font-serif);
  font-size: 21px; color: var(--navy); line-height: 1.85;
}
.story-quote {
  background: var(--paper-2);
  border-left: 3px solid var(--gold);
  padding: 30px 32px;
  margin-top: 28px;
}
.story-quote p { font-family: var(--font-serif); font-size: 19px; color: var(--navy); line-height: 1.8; }
.story-quote cite { display: block; margin-top: 14px; font-style: normal; font-size: 13px; color: var(--ink-3); }

.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 8px; }
.value-item { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.value-item .vnum { font-family: var(--font-serif); font-size: 26px; color: var(--gold); }
.value-item h4 { font-family: var(--font-serif); font-size: 18px; color: var(--navy); margin: 8px 0 10px; }
.value-item p { font-size: 14px; color: var(--ink-2); line-height: 1.8; }

/* 时间线 */
.timeline { position: relative; margin-top: 8px; padding-left: 36px; }
.timeline::before {
  content: ""; position: absolute; left: 9px; top: 6px; bottom: 6px;
  width: 2px; background: var(--line);
}
.timeline-item { position: relative; padding-bottom: 38px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: ""; position: absolute; left: -33px; top: 6px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--paper); border: 3px solid var(--gold);
  z-index: 1;
}
.timeline-year { font-family: var(--font-serif); font-size: 18px; color: var(--navy); font-weight: 600; }
.timeline-item h4 { font-size: 16px; margin: 6px 0 8px; color: var(--ink); }
.timeline-item p { font-size: 14px; color: var(--ink-2); line-height: 1.8; }

/* 成就列表 */
.achievement-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; }
.achievement-list li {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 22px 0; border-bottom: 1px solid var(--line);
}
.achievement-list li .icon {
  flex: none; width: 40px; height: 40px; border-radius: 50%;
  background: var(--paper-2); color: var(--gold);
  display: grid; place-items: center;
}
.achievement-list li .icon svg { width: 20px; height: 20px; }
.achievement-list li h4 { font-size: 15.5px; color: var(--navy); }
.achievement-list li p { font-size: 13px; color: var(--ink-3); margin-top: 4px; }

/* ==========================================================================
   产品页
   ========================================================================== */
.service-list { display: flex; flex-direction: column; gap: 24px; }
.service-item {
  display: grid; grid-template-columns: 88px 1fr 250px;
  gap: 28px; align-items: start;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 32px;
  transition: box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.service-item:hover { box-shadow: var(--shadow-sm); border-color: var(--gold); }
.service-index { font-family: var(--font-serif); font-size: 34px; color: var(--line); font-weight: 600; line-height: 1; }
.service-main h3 { font-family: var(--font-serif); font-size: 23px; color: var(--navy); }
.service-main .desc { color: var(--ink-2); font-size: 14.5px; line-height: 1.9; margin-top: 12px; }
.service-main .features { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.service-main .features span {
  font-size: 12.5px; color: var(--navy); background: var(--paper-2);
  border: 1px solid var(--line); padding: 5px 12px; border-radius: 30px;
}
.service-side { border-left: 1px solid var(--line); padding-left: 28px; }
.service-side .price-label { font-size: 12px; color: var(--ink-3); letter-spacing: .08em; }
.service-side .price { font-family: var(--font-serif); font-size: 24px; color: var(--gold); font-weight: 600; margin-top: 6px; }
.service-side .price small { font-size: 13px; color: var(--ink-3); font-family: var(--font-sans); font-weight: 400; }
.service-side .btn { margin-top: 20px; width: 100%; min-height: 44px; font-size: 14px; }

/* 服务流程 */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.process-step { text-align: center; position: relative; padding: 0 12px; }
.process-step:not(:last-child)::after {
  content: ""; position: absolute; top: 27px; left: calc(50% + 34px); right: calc(-50% + 34px);
  height: 1px; background: var(--line);
}
.process-step .step-num {
  width: 54px; height: 54px; margin: 0 auto 18px;
  border: 1px solid var(--gold); color: var(--gold);
  border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-serif); font-size: 20px;
  background: var(--paper); position: relative; z-index: 1;
}
.process-step h4 { font-family: var(--font-serif); font-size: 17px; color: var(--navy); }
.process-step p { font-size: 13px; color: var(--ink-2); margin-top: 8px; line-height: 1.7; }

/* FAQ */
.faq-list { max-width: 860px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; text-align: left; background: transparent; border: none;
  padding: 22px 44px 22px 0; cursor: pointer;
  font-family: var(--font-serif); font-size: 17px; color: var(--navy);
  position: relative;
}
.faq-q::after {
  content: "+"; position: absolute; right: 8px; top: 20px;
  font-size: 24px; color: var(--gold); font-family: var(--font-sans); font-weight: 300;
  transition: transform .3s var(--ease);
}
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq-item.open .faq-a { max-height: 400px; }
.faq-a p { padding: 0 44px 24px 0; color: var(--ink-2); font-size: 14.5px; line-height: 1.9; }

/* ==========================================================================
   知识库页
   ========================================================================== */
.filter-bar {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-bottom: 40px; justify-content: center;
}
.filter-btn {
  border: 1px solid var(--line); background: var(--paper);
  color: var(--ink-2); padding: 9px 22px; border-radius: 30px;
  font-size: 14px; cursor: pointer; transition: all .25s var(--ease);
}
.filter-btn:hover { border-color: var(--navy); color: var(--navy); }
.filter-btn.active { background: var(--navy); border-color: var(--navy); color: #fff; }

/* 特色文章横幅 */
.feature-post {
  display: grid; grid-template-columns: 1.1fr .9fr;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; margin-bottom: 48px;
}
.feature-post .fp-visual {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 100%);
  min-height: 300px; display: grid; place-items: center; position: relative; overflow: hidden;
}
.feature-post .fp-visual::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 16px 16px;
}
.feature-post .fp-visual .mark { font-family: var(--font-serif); font-size: 90px; color: rgba(255,255,255,.12); z-index: 1; }
.feature-post .fp-body { padding: 46px 44px; display: flex; flex-direction: column; justify-content: center; }
.feature-post .fp-badge { font-size: 12px; color: var(--gold); font-weight: 600; letter-spacing: .1em; }
.feature-post h2 { font-family: var(--font-serif); font-size: 27px; color: var(--navy); margin-top: 14px; line-height: 1.5; }
.feature-post p { color: var(--ink-2); font-size: 14.5px; line-height: 1.85; margin-top: 16px; }
.feature-post .fp-meta { margin-top: 22px; font-size: 12px; color: var(--ink-3); }
.feature-post .text-link { margin-top: 22px; align-self: flex-start; }

/* ==========================================================================
   联系页
   ========================================================================== */
.contact-layout { display: grid; grid-template-columns: 1.35fr .65fr; gap: 56px; align-items: start; }
.form-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 44px 44px 48px;
  box-shadow: var(--shadow-sm);
}
.form-card h2 { font-family: var(--font-serif); font-size: 25px; color: var(--navy); }
.form-card .form-intro { color: var(--ink-2); font-size: 14px; margin-top: 10px; margin-bottom: 32px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 22px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 9px; }
.form-group label .req { color: var(--gold); margin-left: 3px; }
.form-control {
  width: 100%; min-height: 50px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 15px;
  background: var(--paper-3);
  font-size: 15px;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
}
.form-control:focus {
  outline: none; border-color: var(--navy); background: #fff;
  box-shadow: 0 0 0 3px rgba(18,35,63,.07);
}
.form-control::placeholder { color: var(--ink-3); }
textarea.form-control { min-height: 140px; resize: vertical; line-height: 1.7; }
select.form-control { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%237b8492' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 15px center; padding-right: 40px; }
.field-error { color: #b4232c; font-size: 12.5px; margin-top: 6px; display: none; }
.form-group.invalid .form-control { border-color: #b4232c; background: #fffafa; }
.form-group.invalid .field-error { display: block; }
.form-actions { margin-top: 8px; }
.form-actions .btn { width: 100%; }
.form-note { font-size: 12px; color: var(--ink-3); margin-top: 16px; text-align: center; }

/* 提交反馈 */
.form-message {
  display: none;
  margin-top: 20px;
  padding: 16px 18px;
  border-radius: var(--radius);
  font-size: 14px;
  line-height: 1.7;
}
.form-message.success { display: block; background: #eef7f0; border: 1px solid #bfe0c6; color: #1f6b36; }
.form-message.error { display: block; background: #fdf0f0; border: 1px solid #e8c0c0; color: #a11f27; }
.form-message strong { display: block; margin-bottom: 2px; }

/* 联系信息侧栏 */
.contact-info { display: flex; flex-direction: column; gap: 20px; }
.info-card {
  background: var(--paper-2); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px;
}
.info-card h3 { font-family: var(--font-serif); font-size: 18px; color: var(--navy); margin-bottom: 18px; }
.info-line { display: flex; gap: 14px; margin-bottom: 16px; }
.info-line:last-child { margin-bottom: 0; }
.info-line .ico { flex: none; width: 38px; height: 38px; border-radius: 50%; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; color: var(--gold); }
.info-line .ico svg { width: 18px; height: 18px; }
.info-line .txt .lbl { font-size: 12px; color: var(--ink-3); }
.info-line .txt .val { font-size: 14.5px; color: var(--ink); margin-top: 2px; word-break: break-all; }
.info-card.dark { background: var(--navy); border-color: var(--navy); color: #fff; }
.info-card.dark h3 { color: #fff; }
.info-card.dark p { font-size: 14px; color: rgba(255,255,255,.72); line-height: 1.9; }
.info-card.dark .hours { margin-top: 16px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.14); font-size: 13px; color: rgba(255,255,255,.6); }

/* ==========================================================================
   CTA 横幅 & 页脚
   ========================================================================== */
.cta-band { background: var(--navy-deep); color: #fff; padding: 72px 0; text-align: center; position: relative; overflow: hidden; }
.cta-band::before {
  content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  width: 700px; height: 700px; border: 1px solid rgba(176,141,79,.12); border-radius: 50%;
}
.cta-inner { position: relative; z-index: 1; }
.cta-band h2 { font-family: var(--font-serif); font-size: clamp(28px, 4vw, 40px); font-weight: 600; }
.cta-band p { color: rgba(255,255,255,.7); margin-top: 14px; font-size: 16px; }
.cta-band .btn { margin-top: 30px; }

.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.6); padding: 56px 0 28px; border-top: 1px solid rgba(255,255,255,.08); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-sub { color: rgba(255,255,255,.4); }
.footer-brand p { font-size: 13.5px; margin-top: 18px; line-height: 1.9; max-width: 280px; }
.footer-col h4 { color: #fff; font-size: 14px; margin-bottom: 20px; letter-spacing: .05em; }
.footer-col a, .footer-col li { display: block; font-size: 13.5px; margin-bottom: 12px; transition: color .25s var(--ease); }
.footer-col a:hover { color: var(--gold-soft); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 12.5px; color: rgba(255,255,255,.4);
}
.footer-bottom a:hover { color: var(--gold-soft); }

/* 返回顶部 */
.back-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 90;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--navy); color: #fff; border: none; cursor: pointer;
  display: grid; place-items: center;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: all .3s var(--ease);
  box-shadow: var(--shadow-md);
}
.back-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top:hover { background: var(--gold); }
.back-top svg { width: 20px; height: 20px; }

/* 滚动显现动画 */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; min-height: auto; }
  .hero-visual { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .card-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .card-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .about-preview { gap: 40px; }
  .service-item { grid-template-columns: 60px 1fr; }
  .service-side { grid-column: 2; border-left: none; padding-left: 0; border-top: 1px solid var(--line); padding-top: 18px; }
  .service-side .btn { width: auto; }
  .process-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 20px; }
  .process-step:nth-child(2)::after { display: none; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-col:last-child { grid-column: 2 / -1; }
}

@media (max-width: 820px) {
  .main-nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 24px 20px;
    box-shadow: var(--shadow-md);
    transform-origin: top;
    transform: scaleY(0); opacity: 0; visibility: hidden;
    transition: transform .28s var(--ease), opacity .28s var(--ease), visibility .28s;
  }
  .main-nav.open { transform: scaleY(1); opacity: 1; visibility: visible; }
  .main-nav a { padding: 14px 0; border-bottom: 1px solid var(--line-soft); font-size: 16px; }
  .main-nav a::after { display: none; }
  .nav-toggle { display: block; }
  .header-cta { display: none; }
  .section { padding: 72px 0; }
  .story-layout { grid-template-columns: 1fr; gap: 40px; }
  .values-grid { grid-template-columns: 1fr; }
  .feature-post { grid-template-columns: 1fr; }
  .feature-post .fp-visual { min-height: 200px; }
  .contact-layout { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-col:last-child { grid-column: auto; }
}

@media (max-width: 600px) {
  .container { padding: 0 18px; }
  .section { padding: 60px 0; }
  .hero { padding-top: 0; }
  .hero-inner { padding: 64px 0; }
  .hero-title { font-size: 34px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .hero-meta { gap: 20px; }
  .hero-meta .num { font-size: 22px; }
  .card-grid--3, .card-grid--2, .achievement-list { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-item { padding: 32px 12px; }
  .stat-num { font-size: 38px; }
  .about-preview { grid-template-columns: 1fr; }
  .about-figure { aspect-ratio: 16/10; order: -1; }
  .about-points { grid-template-columns: 1fr; }
  .product-card { padding: 28px 24px; }
  .service-item { grid-template-columns: 1fr; gap: 12px; padding: 26px 22px; }
  .service-index { font-size: 26px; }
  .service-side { grid-column: 1; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .process-step::after { display: none !important; }
  .form-card { padding: 30px 22px 34px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .feature-post .fp-body { padding: 30px 24px; }
  .article-body { padding: 22px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-band { padding: 56px 0; }
}

@media (max-width: 380px) {
  .stats-grid { grid-template-columns: 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--line) !important; }
  .process-grid { grid-template-columns: 1fr; }
}
