/* =========================================================
   小柴大用 企业官网 - 共享样式
   设计语言：克制高级 · 白底 + 深海军蓝 + 松石绿 + 暖金（serif 标题 + 金色 eyebrow 短线）
   ========================================================= */
:root {
  --bg: #ffffff;
  --soft: #f6f7f9;
  --navy: #0e2a47;          /* 深海军蓝：主色 */
  --navy-2: #1c3a5e;
  --navy-soft: #e9edf3;
  --green: #0d4a3e;         /* 松石绿：辅色，与 navy 同暗度 */
  --green-2: #0a3d33;
  --green-soft: #e2ede9;
  --green-bright: #1a6b5b;
  --gold: #b79a6b;          /* 暖金：点睛 */
  --gold-soft: #cdb488;
  --gold-soft-bg: #f5f0e6;
  --ink: #121417;
  --ink-2: #31363d;
  --muted: #656b73;
  --line: #e7e9ee;
  --line-strong: #d4d8de;
  --nav-h: 62px;
  --radius: 6px;
  --shadow-sm: 0 2px 10px rgba(14, 42, 71, .06);
  --shadow: 0 10px 30px rgba(14, 42, 71, .08);
  --shadow-lg: 0 20px 50px rgba(14, 42, 71, .12);
  --maxw: 1240px;
  --serif: "Source Han Serif SC","Noto Serif SC","Songti SC","STSong",Georgia,"Times New Roman",serif;
  --sans: "PingFang SC","Microsoft YaHei","Hiragino Sans GB","Helvetica Neue",Arial,sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.muted { color: var(--ink-2); }
.center { text-align: center; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 4px; font-weight: 600;
  font-size: 15px; cursor: pointer; border: 1px solid transparent;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
  white-space: nowrap; letter-spacing: 1px;
  font-family: var(--sans);
}
.btn:hover { transform: none; }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn-primary { background: var(--gold); color: #1a1a1a; border-color: var(--gold); }
.btn-primary:hover { background: var(--gold-soft); border-color: var(--gold-soft); }
/* WorkBuddy 业务按钮变松石绿（业务卡上使用） */
.btn-primary.btn-wb { background: var(--green); color: #fff; border-color: var(--green); }
.btn-primary.btn-wb:hover { background: var(--green-2); border-color: var(--green-2); }
.biz-card.wb .btn-primary { background: var(--green); border-color: var(--green); color: #fff; font-weight: 800; letter-spacing: 1.5px; }
.biz-card.wb .btn-primary:hover { background: var(--green-2); border-color: var(--green-2); }
.biz-card.xe .btn-primary { background: var(--navy); border-color: var(--navy); color: #fff; font-weight: 800; letter-spacing: 1.5px; }
.biz-card.xe .btn-primary:hover { background: var(--navy-2); border-color: var(--navy-2); }
.btn-accent { background: var(--gold); color: #1a1a1a; border-color: var(--gold); }
.btn-accent:hover { background: var(--gold-soft); border-color: var(--gold-soft); }
.btn-ghost { background: #fff; color: var(--navy); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); }
/* 深海军蓝填充按钮（用于与金色 btn-primary 并列的次要 CTA） */
.btn-navy { background: var(--navy); color: #fff; border-color: var(--navy); font-weight: 700; letter-spacing: 1.5px; }
.btn-navy:hover { background: var(--navy-2); border-color: var(--navy-2); }
/* 暖金描边白底（与 btn-navy 并列时去权重倾向，谁都不抢眼） */
.btn-gold-outline { background: #fff; color: var(--navy); border-color: var(--gold); font-weight: 700; letter-spacing: 1.5px; }
.btn-gold-outline:hover { background: rgba(183,154,107,.10); border-color: var(--gold); color: var(--navy); }
.btn-buy { position: relative; }
.btn-buy .soon {
  font-size: 11px; font-weight: 600; line-height: 1;
  background: rgba(255,255,255,.22); padding: 3px 7px; border-radius: 999px;
}

/* ---------- 顶部导航（白底克制） ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--nav-h);
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.nav {
  height: var(--nav-h); display: flex; align-items: center; justify-content: space-between;
  max-width: var(--maxw); margin: 0 auto; padding: 0 24px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--navy); font-size: 19px; font-family: var(--serif); letter-spacing: 1px; }
.brand .logo {
  width: 30px; height: 30px; border-radius: 4px;
  background: var(--gold);
  display: grid; place-items: center; color: #1a1a1a; font-weight: 800; font-size: 15px;
}
.brand .logo.alt { background: var(--navy); color: var(--gold); }
.brand .logo-mark { width: 30px; height: 30px; display: block; object-fit: contain; }
.brand .logo-mark-text { height: 22px; display: block; object-fit: contain; margin-left: 2px; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links a {
  padding: 8px 14px; font-size: 15px; font-weight: 500;
  color: var(--ink-2); transition: color .15s, background .15s;
  font-family: var(--sans);
}
.nav-links a:hover { color: var(--navy); }
.nav-links a.active { color: var(--navy); font-weight: 600; }
.nav-cta { margin-left: 8px; }
.menu-toggle {
  display: none; flex-direction: column; gap: 5px; background: none; border: 0;
  cursor: pointer; padding: 8px;
}
.menu-toggle span { width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: .2s; }
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 一屏首页 Hero（白底克制，serif 标题） ---------- */
.hero {
  background: var(--bg);
  position: relative; overflow: hidden; color: var(--ink);
  padding: 130px 0 100px;
  border-bottom: 1px solid var(--line);
}
.hero-bg { position: absolute; inset: 0; overflow: hidden; z-index: 0; pointer-events: none; }
.hero-bg .grid-lines {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(14,42,71,.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(14,42,71,.04) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 90%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 90%);
}

.hero-inner {
  position: relative; z-index: 1;
  width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: 1.22fr 1fr; gap: 64px; align-items: stretch;
}
/* 右侧 2 张卡：WorkBuddy 顶部锚定标题中线，小鹅通底部落在左侧 CTA 前 */
.hero-right { display: flex; min-height: 0; }
.biz-grid {
  display: flex; flex-direction: column;
  justify-content: space-between;
  gap: 0;
  width: 100%;
  height: 100%;
  padding-top: 106px;
  padding-bottom: 74px;
}
.biz-card { flex: 0 0 263px; min-height: 263px; }

/* eyebrow 金短线 + 字 */
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 13px; font-weight: 600; color: var(--gold);
  letter-spacing: 3px; text-transform: uppercase;
  margin-bottom: 28px;
  font-family: var(--sans);
}
.hero-eyebrow::before {
  content: ""; width: 32px; height: 2px; background: var(--gold); display: inline-block;
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(48px, 6.4vw, 84px); line-height: 1.14; letter-spacing: 1px;
  color: var(--ink); margin: 0 0 22px; font-weight: 600;
}
.hero h1 .grad {
  background: linear-gradient(120deg, var(--navy) 0%, var(--green) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .tagline {
  font-family: var(--serif);
  font-size: clamp(20px, 2.4vw, 28px); color: var(--navy);
  font-weight: 600; letter-spacing: 1px;
  margin-bottom: 28px;
}
.hero .lead {
  margin-top: 0; color: var(--ink-2); max-width: 100%;
  font-size: 17px; line-height: 2; font-weight: 400;
}
.hero .value {
  margin-top: 36px;
  font-family: var(--serif); font-size: 24px; line-height: 1.6;
  color: var(--navy); font-weight: 600; letter-spacing: .5px;
  padding-left: 16px; border-left: 3px solid var(--gold);
}

/* 5 个 pillar 用金短线分隔 */
.pillars {
  margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap;
}
.pillar {
  font-size: 16px; color: var(--ink-2); letter-spacing: 1px;
  padding: 0 24px; position: relative; font-weight: 500;
  font-family: var(--sans);
}
.pillar:first-child { padding-left: 0; }
.pillar:not(:first-child)::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 1px; height: 18px; background: var(--gold);
}
.pillar b { color: var(--navy); font-weight: 600; font-family: var(--serif); }

.hero-actions { margin-top: 40px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero .btn-ghost { background: #fff; color: var(--navy); border-color: var(--line-strong); }
.hero .btn-ghost:hover { border-color: var(--navy); color: var(--navy); }

/* hero 底部品牌行（跨整宽，让左右齐平） */
.hero-brand-strip {
  position: relative; z-index: 1;
  max-width: var(--maxw); margin: 56px auto 0; padding: 22px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  border-top: 1px solid var(--line);
  font-size: 15px; color: var(--ink-2);
  font-family: var(--sans); letter-spacing: .5px;
}
.hero-brand-strip .strip-text b { color: var(--navy); font-weight: 600; }
.hero-brand-strip .strip-link {
  color: var(--gold); font-weight: 600;
  border-bottom: 1px solid var(--gold); padding-bottom: 1px;
  letter-spacing: 1px; transition: color .15s, border-color .15s;
}
.hero-brand-strip .strip-link:hover { color: var(--navy); border-bottom-color: var(--navy); }

/* ceo 行：浅金底卡，克制 */
.hero .ceo {
  margin-top: 40px;
  font-size: 15px; color: var(--ink-2);
  font-family: var(--sans);
  letter-spacing: .5px;
}
.hero .ceo b { color: var(--navy); font-weight: 600; }
.ceo-link {
  color: var(--gold); font-weight: 600; margin-left: 8px;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 1px;
  transition: color .15s, border-color .15s;
}
.ceo-link:hover { color: var(--navy); border-bottom-color: var(--navy); }

/* 业务卡（白底克制） */
.biz-card {
  background: #fff; border: 1px solid var(--line);
  padding: 22px 30px 20px;
  position: relative; transition: border-color .2s, box-shadow .2s;
  display: flex; flex-direction: column; gap: 12px;
}
.biz-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow); }
.biz-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--gold);
}
.biz-card.wb::before { background: var(--green); }
.biz-card.xe::before { background: var(--navy); }

.biz-card .biz-top { display: flex; align-items: center; gap: 12px; }
.biz-card h3 {
  font-family: var(--serif); font-size: 21px; color: var(--ink);
  font-weight: 600; letter-spacing: 1px;
  line-height: 1.2;
}
.biz-card .biz-sub { font-size: 12px; color: var(--muted); letter-spacing: 1.5px; text-transform: uppercase; margin-top: 3px; }
.biz-card p { color: var(--ink-2); font-size: 14.5px; line-height: 1.7; }
.biz-card .biz-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; }
.biz-card .muted { color: var(--muted); font-size: 13.5px; }

/* footer LOGO 圆形 + 放大（与"小柴大用"字标比例协调；直径 ≈ 字标宽度的 90%，等比放大）
   居中策略：按 LOGO 墨色视觉重心对齐圆心（不是 bbox 中心，也不是 X-junction）。
   源 PNG 260×260：navy/green 加权视觉重心 (132.2, 181.0)，水平比画布中心偏右 2.2px、
   垂直偏下 51px（柴堆粗暗在下压住视觉，火苗虽在上但细）。
   64px 圆内：水平 +0.42px / 垂直 +9.80px；通过 translate(-0.77px, -4.5px) 联合补偿
   （水平同时补偿 nav/green stroke 与 bbox 双重偏右），4 个对照变体实测确认 LOGO 在 64px
   圆内视觉上完全居中（crosshair 与墨色视觉重心重合）。 */
.site-footer .brand .logo-mark,
.site-footer.slim .brand .logo-mark {
  background: #fff; padding: 7px; border-radius: 50%;
  width: 64px; height: 64px; object-fit: contain;
  display: block; transform: translate(-0.77px, -4.5px);
}
.site-footer .brand { align-items: center; gap: 16px; padding-top: 18px; margin-bottom: 18px; font-size: 26px; }

.biz-logo-img { width: 48px; height: 48px; object-fit: cover; border-radius: 4px; background: #fff; padding: 4px; border: 1px solid var(--line); }
.biz-card .biz-logo-img { width: 56px; height: 56px; }

/* ---------- 一屏首页：暗色玻璃导航（仅首页） ---------- */
/* ---------- 通用区块（白底克制，serif 标题） ---------- */
section.block { padding: 100px 0; border-bottom: 1px solid var(--line); }
section.block.soft { background: var(--soft); }
.section-head { max-width: 760px; margin: 0 auto 56px; }
.section-head .kicker {
  display: inline-flex; align-items: center; gap: 12px;
  color: var(--gold); font-weight: 600; font-size: 13px;
  letter-spacing: 3px; text-transform: uppercase;
  margin-bottom: 22px; font-family: var(--sans);
}
.section-head .kicker::before {
  content: ""; width: 32px; height: 2px; background: var(--gold); display: inline-block;
}
.section-head h2 {
  font-family: var(--serif);
  font-size: clamp(30px, 4.2vw, 48px); color: var(--ink);
  margin: 0 0 14px; letter-spacing: 1px; font-weight: 600; line-height: 1.25;
}
.section-head p { color: var(--ink-2); font-size: 17px; line-height: 1.85; }

/* 子页 Hero（白底 + 暖金 kicker） */
.subhero {
  background: var(--bg);
  color: var(--ink); padding: 120px 0 90px;
  position: relative; overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.subhero::after {
  content: ""; position: absolute; right: -120px; top: -120px;
  width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(13,74,62,.10), transparent 70%);
  pointer-events: none;
}
.subhero .wrap { position: relative; z-index: 1; }
.subhero .kicker {
  display: inline-flex; align-items: center; gap: 12px;
  color: var(--gold); font-weight: 600; letter-spacing: 3px; text-transform: uppercase;
  font-size: 13px; margin-bottom: 22px;
}
.subhero .kicker::before { content: ""; width: 32px; height: 2px; background: var(--gold); display: inline-block; }
.subhero h1 {
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 60px); margin: 0 0 18px;
  letter-spacing: 1px; color: var(--ink); font-weight: 600; line-height: 1.2;
}
.subhero p { color: var(--ink-2); max-width: 720px; font-size: 18px; line-height: 1.85; }
.subhero .agent-badge {
  display: inline-flex; flex-direction: column; align-items: flex-start; gap: 6px; margin-top: 22px;
  background: var(--gold-soft-bg); border: 1px solid var(--gold);
  padding: 12px 18px; font-weight: 600; font-size: 14px;
  color: var(--navy); letter-spacing: 1px;
}
.subhero .agent-badge b { color: var(--gold); }

/* 优势网格 */
.adv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.adv-card {
  background: #fff; border: 1px solid var(--line); padding: 32px 30px;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.adv-card:hover { border-color: var(--gold); box-shadow: var(--shadow); transform: translateY(-3px); }
.adv-card .ico {
  width: 48px; height: 48px; display: grid; place-items: center;
  background: var(--navy); color: var(--gold); font-weight: 600; font-size: 22px;
  font-family: var(--serif); margin-bottom: 18px; letter-spacing: 0;
}
.adv-card:nth-child(2n) .ico { background: var(--green); color: #fff; }
.adv-card h3 {
  font-family: var(--serif); font-size: 22px; color: var(--ink);
  margin-bottom: 10px; font-weight: 600; letter-spacing: 1px;
}
.adv-card p { color: var(--ink-2); font-size: 15px; line-height: 1.85; }

/* 服务列表 */
.svc-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 8px; }
.svc-item {
  display: flex; gap: 16px; align-items: flex-start; background: #fff;
  border: 1px solid var(--line); padding: 22px 24px;
  transition: border-color .2s;
}
.svc-item:hover { border-color: var(--gold); }
.svc-item .dot {
  flex: 0 0 auto; width: 32px; height: 32px;
  background: var(--navy); color: var(--gold);
  display: grid; place-items: center; font-weight: 600; font-size: 14px;
  font-family: var(--serif);
}
.svc-item:nth-child(2n) .dot { background: var(--green); color: #fff; }
.svc-item h4 {
  font-family: var(--serif); color: var(--ink); font-size: 18px;
  margin-bottom: 6px; font-weight: 600; letter-spacing: .5px;
}
.svc-item p { color: var(--ink-2); font-size: 14.5px; line-height: 1.8; }

/* 购买 CTA 条（深色高级感） */
.buy-bar {
  margin-top: 60px; background: var(--navy);
  padding: 60px; color: #fff; text-align: center; position: relative; overflow: hidden;
}
.buy-bar::before { content:""; position:absolute; left:-60px; bottom:-80px; width:300px; height:300px; border-radius:50%; background:radial-gradient(circle, rgba(13,74,62,.35), transparent 70%); }
.buy-bar::after { content:""; position:absolute; right:-60px; top:-80px; width:300px; height:300px; border-radius:50%; background:radial-gradient(circle, rgba(183,154,107,.25), transparent 70%); }
.buy-bar h3 {
  font-family: var(--serif); font-size: 32px; margin-bottom: 12px;
  position: relative; font-weight: 600; letter-spacing: 1px;
}
.buy-bar p { color: #c8d1db; margin-bottom: 28px; position: relative; font-size: 16px; }
.buy-bar .btn { position: relative; }

/* 案例/图集 */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 8px; }
.gallery .g-item { overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); }
.gallery .g-item img { width: 100%; height: 240px; object-fit: cover; transition: transform .35s; }
.gallery .g-item:hover img { transform: scale(1.06); }
.gallery .g-cap { padding: 14px 18px; font-size: 14px; color: var(--ink-2); line-height: 1.7; border-top: 1px solid var(--line); }
.gallery .g-cap b { color: var(--navy); font-family: var(--serif); font-weight: 600; letter-spacing: .5px; }

/* 故事 Hero（白底克制） */
.story-hero {
  background: var(--bg);
  color: var(--ink); padding: 120px 0 80px;
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.story-hero::after {
  content: ""; position: absolute; right: -60px; top: -60px;
  width: 280px; height: 280px; border-radius: 50%;
  background: radial-gradient(circle, rgba(13,74,62,.08), transparent 70%);
  pointer-events: none;
}
.story-hero .kicker {
  display: inline-flex; align-items: center; gap: 12px;
  color: var(--gold); font-weight: 600; letter-spacing: 3px; text-transform: uppercase;
  font-size: 13px; margin-bottom: 22px;
}
.story-hero .kicker::before { content: ""; width: 32px; height: 2px; background: var(--gold); display: inline-block; }
.story-hero h1 {
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 60px); margin: 0 0 18px;
  letter-spacing: 1px; color: var(--ink); font-weight: 600; line-height: 1.2;
}
.story-hero p { color: var(--ink-2); max-width: 720px; font-size: 18px; line-height: 1.85; }

/* 东极同学页：公众号同款图文排版 */
.article-story { background: #fff; padding: 80px 0 100px; }
.article-wrap { max-width: 720px; margin: 0 auto; padding: 0 22px; }
.article-lead { margin-bottom: 8px; }
.article-lead p { font-size: 17px; color: var(--ink); line-height: 1.95; }
.article-lead p + p { margin-top: 14px; }

.chapter { margin-top: 50px; }
.chapter-head {
  display: flex; align-items: baseline; gap: 14px; margin-bottom: 18px;
  border-left: 3px solid var(--gold); padding-left: 16px;
}
.chapter-num { font-size: 32px; font-weight: 600; color: var(--gold); line-height: 1; font-family: var(--serif); }
.chapter-title { font-family: var(--serif); font-size: clamp(22px, 3.4vw, 30px); color: var(--navy); line-height: 1.3; font-weight: 600; letter-spacing: 1px; }

.article-story p { font-size: 16.5px; color: #2a3340; line-height: 1.95; margin-top: 16px; text-align: justify; }
.article-story .chapter > p:first-of-type { margin-top: 0; }

.article-fig { margin: 28px 0; text-align: center; }
.article-fig img { width: 100%; border-radius: 4px; box-shadow: var(--shadow-sm); background: #f3f6fc; }

.story-group { margin-bottom: 50px; }
.story-group h3 {
  font-family: var(--serif); font-size: 22px; color: var(--navy); margin-bottom: 8px;
  display: flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: 1px;
}
.story-group h3 .tag { font-size: 12px; font-weight: 600; color: var(--gold); border: 1px solid var(--gold); padding: 3px 10px; letter-spacing: 1px; }
.story-group .grp-note { color: var(--ink-2); font-size: 14px; margin-bottom: 16px; }
.story-group .grp-note.todo { color: var(--accent); background: var(--wb-green-soft); border: 1px dashed var(--accent); padding: 10px 14px; border-radius: 12px; }

/* 资质证书 —— 外框等高、3:2 容器贴近证书比例、图片完整居中 */
.cert-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; max-width: 1080px; margin: 0 auto; align-items: stretch; }
.cert-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); background:#fff; display: flex; flex-direction: column; height: 100%; }
.cert-card .cert-img { aspect-ratio: 3 / 2; background:#fff; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.cert-card .cert-img.dark-bg { background: #162747; }
.cert-card .cert-img img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; display: block; }
.cert-card .cert-cap { padding: 16px; font-size: 14px; color: var(--ink-2); text-align:center; border-top: 1px solid var(--line); min-height: 64px; display: grid; place-items: center; flex: 1; }

/* 合伙人介绍 */
.partner-card {
  max-width: 980px; margin: 0 auto;
  background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); overflow: hidden;
}
.partner-head {
  display: flex; gap: 26px; padding: 32px;
  background: var(--navy); color: #fff; border-bottom: 3px solid var(--gold);
}
.partner-avatar {
  flex: 0 0 auto; width: 88px; height: 88px; border-radius: 50%;
  object-fit: cover;
  background: #fff;
  border: 3px solid var(--gold);
}
.partner-meta { display: flex; flex-direction: column; justify-content: center; }
.partner-meta h3 { font-family: var(--serif); font-size: 24px; font-weight: 600; margin-bottom: 4px; letter-spacing: 1px; }
.partner-meta .partner-en { font-size: 14px; color: #c8d1db; font-weight: 500; letter-spacing: 1px; }
.partner-meta .partner-role { font-size: 14px; color: var(--gold-soft); font-weight: 600; margin-top: 6px; letter-spacing: 1px; }
.partner-bio { padding: 30px 32px; }
.partner-bio p { font-size: 15.5px; color: var(--ink); line-height: 1.95; text-align: justify; margin-bottom: 16px; }
.partner-bio p:last-child { margin-bottom: 0; }
.partner-bio strong { color: var(--navy); font-weight: 700; }

@media (max-width: 720px) {
  .partner-head { flex-direction: column; align-items: center; text-align: center; padding: 26px 22px; }
  .partner-bio { padding: 24px 22px; }
}

/* 联系页 */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: start; }
.contact-info .ci { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-info .ci .ico { width: 42px; height: 42px; flex:0 0 auto; background: var(--navy); color: var(--gold); display:grid; place-items:center; font-weight:600; font-family: var(--serif); font-size: 16px; }
.contact-info .ci:nth-child(2) .ico { background: var(--green); color: #fff; }
.contact-info .ci .t { color: var(--ink-2); font-size: 13px; }
.contact-info .ci .v { color: var(--ink); font-weight: 600; font-size: 16px; }
.contact-form { background:#fff; border:1px solid var(--line); padding: 32px; box-shadow: var(--shadow-sm); }
.contact-form label { display:block; font-size: 14px; font-weight:600; color: var(--navy); margin: 14px 0 6px; }
.contact-form input, .contact-form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 4px;
  font-size: 15px; font-family: inherit; color: var(--ink); background: #fff;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--gold); background:#fff; }
.contact-form textarea { min-height: 120px; resize: vertical; }
.form-tip { margin-top: 14px; font-size: 14px; color: var(--green); display: none; }

/* 页脚（深 navy） */
.site-footer { background: var(--navy); color: #c8d1db; padding: 60px 0 28px; border-top: 3px solid var(--gold); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; }
.site-footer h4 { color:#fff; font-family: var(--serif); font-size: 16px; margin-bottom: 14px; letter-spacing: 1px; font-weight: 600; }
.site-footer a { color: #c8d1db; font-size: 14px; display:block; padding: 4px 0; }
.site-footer a:hover { color: var(--gold); }
.site-footer .brand { color:#fff; margin-bottom: 12px; font-family: var(--serif); }
.site-footer .desc { font-size: 14px; max-width: 320px; line-height: 1.8; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.10); margin-top: 40px; padding-top: 22px; font-size: 13px; color: #8fa3c4; text-align: center; letter-spacing: 1px; }

/* 返回顶部 */
.to-top {
  position: fixed; right: 22px; bottom: 22px; width: 46px; height: 46px; border-radius: 50%;
  background: var(--navy); color: var(--gold); border: 0; cursor: pointer; box-shadow: var(--shadow);
  font-size: 20px; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; z-index: 90;
}
.to-top.show { opacity: 1; pointer-events: auto; }
.to-top:hover { transform: translateY(-3px); background: var(--gold); color: var(--navy); }

/* 跨页连接条 */
.cross-nav { display:flex; gap:12px; flex-wrap:wrap; justify-content:center; margin-top: 8px; }

/* ---------- 响应式 ---------- */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 28px; }
  .biz-grid { height: auto; padding-top: 0; padding-bottom: 0; gap: 24px; }
  .biz-card { flex: 0 0 auto; min-height: 0; }
  .story-hero-grid { grid-template-columns: 1fr; }
  .bio-gallery { grid-template-columns: repeat(3, 1fr); }
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav-links {
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    background: #fff; flex-direction: column; align-items: stretch; gap: 0;
    padding: 10px 16px 20px; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow); transform: translateY(-120%); transition: transform .25s ease; z-index: 99;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 13px 14px; border-radius: 10px; }
  .nav-cta { margin: 10px 0 0; }
  .menu-toggle { display: flex; }
  .hero { min-height: auto; padding: 40px 0 56px; }
  .hero-inner { padding: 8px 20px 0; }
  .hero h1 { font-size: clamp(40px, 13vw, 60px); }
  .scroll-hint { display: none; }
  .story-portrait img { height: 240px; }
  .bio-gallery { grid-template-columns: repeat(2, 1fr); }
  .bio-gallery .g-item img { height: 140px; }
  .biz-card p { font-size: 14px; }
  .adv-grid { grid-template-columns: 1fr; }
  .svc-list { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .gallery .g-item img { height: 200px; }
  .cert-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .site-footer.slim .slim-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
  section.block { padding: 56px 0; }
  .buy-bar { padding: 28px 20px; }
}

/* ---------- 动态 / 公众号文章模块 ---------- */
.article-head { background: var(--bg); border-bottom: 1px solid var(--line); padding: 80px 0 40px; }
.article-head .kicker {
  display: inline-flex; align-items: center; gap: 12px;
  color: var(--gold); font-weight: 600; font-size: 13px;
  letter-spacing: 3px; text-transform: uppercase; margin-bottom: 18px;
}
.article-head .kicker::before { content: ""; width: 32px; height: 2px; background: var(--gold); display: inline-block; }
.article-head .ac-tag { display: inline-block; font-size: 12px; font-weight: 600; color: var(--gold); border: 1px solid var(--gold); padding: 3px 10px; letter-spacing: 1px; }
.article-head h1 { font-family: var(--serif); font-size: clamp(30px, 4.6vw, 50px); color: var(--ink); margin: 0 0 12px; letter-spacing: 1px; line-height: 1.2; font-weight: 600; }
.article-head .article-meta { color: var(--ink-2); font-size: 14px; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

.article-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.article-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: border-color .2s, box-shadow .2s, transform .2s;
  text-decoration: none; color: inherit;
}
.article-card:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: var(--shadow); }
.article-card .ac-cover { aspect-ratio: 16 / 9; overflow: hidden; background: var(--soft); }
.article-card .ac-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.article-card:hover .ac-cover img { transform: scale(1.04); }
.article-card .ac-cover.no-img { display: grid; place-items: center; color: var(--navy); font-weight: 600; font-size: 15px; font-family: var(--serif); }
.article-card .ac-body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.article-card .ac-meta { display: flex; gap: 10px; align-items: center; font-size: 13px; color: var(--ink-2); }
.article-card .ac-tag { font-size: 12px; font-weight: 600; color: var(--navy); border: 1px solid var(--navy); padding: 3px 10px; letter-spacing: 1px; }
.article-card .ac-tag.alt { color: var(--green); border-color: var(--green); }
.article-card h3 { font-family: var(--serif); font-size: 21px; color: var(--ink); line-height: 1.35; font-weight: 600; letter-spacing: .5px; }
.article-card .ac-excerpt { color: var(--ink-2); font-size: 14.5px; flex: 1; line-height: 1.8; }
.article-card .ac-more { margin-top: 4px; font-weight: 600; color: var(--gold); font-size: 14px; letter-spacing: 1px; }
.article-card.featured { grid-column: 1 / -1; flex-direction: row; border-color: var(--gold); }
.article-card.featured .ac-cover { flex: 0 0 46%; aspect-ratio: auto; }
.article-card.featured .ac-body { padding: 32px 36px; justify-content: center; }
.article-card.featured h3 { font-family: var(--serif); font-size: 28px; font-weight: 600; }

.empty-tip { color: var(--muted); text-align: center; padding: 40px 0; grid-column: 1 / -1; }

@media (max-width: 720px) {
  .article-list { grid-template-columns: 1fr; }
  .article-card.featured { flex-direction: column; }
  .article-card.featured .ac-cover { flex: auto; }
}

/* 联系页二维码 */
.qr-box { margin-top: 22px; background: #fff; border: 1px solid var(--line); padding: 18px; text-align: center; max-width: 260px; box-shadow: var(--shadow-sm); }
.qr-box img { width: 180px; height: 180px; object-fit: contain; margin: 0 auto 10px; border-radius: 4px; }
.qr-box p { font-size: 13px; color: var(--ink-2); margin-bottom: 12px; }

/* 极简页脚（移动端用） */
.site-footer.slim { padding: 22px 0; }
.site-footer.slim .slim-inner { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; justify-content: space-between; }
.site-footer.slim .brand { margin: 0; color: #fff; }
.site-footer.slim .slim-links { display: flex; gap: 18px; flex-wrap: wrap; }
.site-footer.slim .slim-links a { color: #c8d1db; font-size: 14px; font-weight: 500; }
.site-footer.slim .slim-links a:hover { color: var(--gold); }
.site-footer.slim .slim-copy { color: #8fa3c4; font-size: 13px; }

/* ---------- 备案栏（ICP + 公网安备） ----------
   挂在 .site-footer 内部、紧跟 .footer-bottom 之后；slim 页脚也能用。
   视觉：与 footer-bottom 同底色，间隔 16px，灰字 + hover 暖金。 */
.site-footer .beian-bar {
  display: flex; justify-content: center; align-items: center; gap: 18px;
  flex-wrap: wrap; padding: 14px 24px 4px; font-size: 12px; color: #97a4ba;
}
.site-footer .beian-bar .beian-item {
  display: inline-flex; align-items: center; gap: 6px;
  color: #97a4ba; text-decoration: none; letter-spacing: .5px;
}
.site-footer .beian-bar .beian-item:hover { color: var(--gold); }
.site-footer .beian-bar .beian-gongan img {
  height: 14px; width: auto; display: inline-block; vertical-align: middle;
}
@media (max-width: 720px) {
  .site-footer .beian-bar { gap: 14px 20px; padding: 14px 16px 4px; font-size: 12px; }
  .site-footer .beian-bar .beian-gongan img { height: 13px; }
}
