/* ============================================================
   site-b · 墨白软件 · 红黑宋体杂志编辑风 设计系统
   画布纸白 #faf8f4 / 墨黑 #141414 / 朱红 #c8102e
   标题：系统宋体栈 / 正文：系统黑体栈
   全站类名统一 b- 前缀，0 圆角，实线分隔
   ============================================================ */

/* ---------- 设计变量 ---------- */
:root {
  --b-paper: #faf8f4; --b-ink: #141414; --b-red: #c8102e; --b-gray: #6f6a63;
  --b-soft: #efeae1; --b-white: #ffffff;
  --b-serif: 'Songti SC', 'STSong', 'SimSun', 'Noto Serif SC', serif;
  --b-sans: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Hiragino Sans GB',
    'Microsoft YaHei', 'Segoe UI', sans-serif;
  --b-thin: 1px solid var(--b-ink); --b-thick: 3px solid var(--b-ink);
  --b-wrap: 1180px; --b-red-line: 1px solid var(--b-red);
}

/* ---------- 基础重置 ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
  background: var(--b-paper); color: var(--b-ink); font-family: var(--b-sans);
  font-size: 16px; line-height: 1.75; -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; transition: color 0.15s ease; }

ul, ol { list-style: none; }

button { font-family: inherit; cursor: pointer; }

::selection { background: var(--b-red); color: var(--b-white); }

/* ---------- 版心 ---------- */
.b-container { max-width: var(--b-wrap); margin: 0 auto; padding: 0 24px; }

.b-main { min-height: 55vh; padding: 40px 0 72px; }

/* ---------- 图标 ---------- */
.b-ico { vertical-align: -0.22em; flex-shrink: 0; }

/* ============================================================
   报头 MASTHEAD
   ============================================================ */
.b-masthead { background: var(--b-paper); }

/* 顶部细条：日期 / 刊线 / 邮箱，上下双细线 */
.b-topbar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  max-width: var(--b-wrap); margin: 0 auto; padding: 8px 24px;
  border-top: 1px solid var(--b-ink); border-bottom: 1px solid var(--b-ink);
  font-size: 12px; letter-spacing: 0.08em; color: var(--b-gray);
}

.b-topbar-date { font-family: var(--b-serif); color: var(--b-ink); }

.b-topbar-brandline {
  font-family: var(--b-serif); letter-spacing: 0.35em; text-transform: uppercase; color: var(--b-ink);
}

.b-topbar-mail { color: var(--b-gray); }
.b-topbar-mail:hover { color: var(--b-red); }

/* 主导航行：衬线 LOGO + 菜单，底部 1px + 3px 双黑线 */
.b-navwrap {
  max-width: var(--b-wrap); margin: 0 auto; padding: 0 24px;
  border-bottom: 1px solid var(--b-ink);
}

.b-navwrap::after {
  content: ''; display: block; height: 3px; background: var(--b-ink); margin-top: 0;
}

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

.b-logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

.b-logo-mark {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; background: var(--b-red); color: var(--b-white);
  font-family: var(--b-serif); font-size: 26px; font-weight: 700; line-height: 1;
}

.b-logo-text {
  display: flex; flex-direction: column; font-family: var(--b-serif);
  font-size: 24px; font-weight: 700; letter-spacing: 0.14em; line-height: 1.15;
}

.b-logo-text small {
  font-family: var(--b-serif); font-size: 10px; font-weight: 400;
  letter-spacing: 0.3em; color: var(--b-gray);
}

.b-menu { display: flex; align-items: stretch; height: 100%; }
.b-menu li { display: flex; }

.b-menu-link {
  position: relative; display: flex; align-items: center; padding: 0 22px;
  font-family: var(--b-serif); font-size: 17px; font-weight: 600;
  letter-spacing: 0.2em; color: var(--b-ink);
}

.b-menu-link:hover { color: var(--b-red); }
.b-menu-link.is-active { color: var(--b-ink); }

.b-menu-link.is-active::after {
  content: ''; position: absolute; left: 14px; right: 14px; bottom: 0;
  height: 4px; background: var(--b-red);
}

/* 汉堡按钮（移动端显示） */
.b-burger {
  display: none; align-items: center; justify-content: center;
  width: 44px; height: 44px; background: transparent; border: var(--b-thin); color: var(--b-ink);
}

.b-burger .b-burger-close { display: none; }
.b-burger.is-open .b-burger-open { display: none; }
.b-burger.is-open .b-burger-close { display: inline-flex; }

/* 移动端抽屉 */
.b-drawer {
  display: none; flex-direction: column; border-bottom: var(--b-thick); background: var(--b-paper);
}

.b-drawer.is-open { display: flex; }

.b-drawer-link {
  padding: 15px 24px; border-top: 1px solid var(--b-soft);
  font-family: var(--b-serif); font-size: 17px; font-weight: 600; letter-spacing: 0.2em;
}

.b-drawer-link.is-active { color: var(--b-red); }

.b-drawer-contact {
  padding: 14px 24px 18px; border-top: 1px solid var(--b-soft);
  font-family: var(--b-serif); font-size: 14px; color: var(--b-gray);
}

/* ============================================================
   按钮（直角 0 圆角）
   ============================================================ */
.b-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 30px; border: 2px solid var(--b-ink); border-radius: 0;
  font-family: var(--b-serif); font-size: 16px; font-weight: 700;
  letter-spacing: 0.14em; line-height: 1;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.b-btn-primary { background: var(--b-ink); border-color: var(--b-ink); color: var(--b-white); }

.b-btn-primary:hover { background: var(--b-red); border-color: var(--b-red); color: var(--b-white); }

.b-btn-ghost { background: transparent; color: var(--b-ink); }

.b-btn-ghost:hover { background: var(--b-ink); color: var(--b-white); }

.b-btn-block { width: 100%; }

.b-btn[disabled] { opacity: 0.4; pointer-events: none; }

/* ============================================================
   章节眉「第X章 · XXX」+ 黑粗线
   ============================================================ */
.b-sec { margin-top: 64px; }

.b-sec-head {
  display: flex; align-items: baseline; gap: 16px;
  border-bottom: var(--b-thick); padding-bottom: 10px; margin-bottom: 28px;
}

.b-sec-head span {
  font-family: var(--b-serif); font-size: 22px; font-weight: 700; letter-spacing: 0.16em;
}

.b-sec-head::before {
  content: ''; display: inline-block; width: 14px; height: 14px;
  background: var(--b-red); align-self: center; flex-shrink: 0;
}

.b-sec-head::after { content: ''; flex: 1; }

/* ============================================================
   首页 · 杂志封面 HERO
   ============================================================ */
.b-hero {
  position: relative; display: grid; grid-template-columns: 7fr 5fr;
  gap: 48px; align-items: end; padding: 56px 0 0;
}

.b-hero-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--b-serif); font-size: 14px; font-weight: 600;
  letter-spacing: 0.3em; color: var(--b-red); margin-bottom: 22px;
}

.b-hero-kicker::before { content: ''; width: 34px; height: 4px; background: var(--b-red); }

.b-hero-title {
  font-family: var(--b-serif); font-size: 58px; font-weight: 900;
  line-height: 1.28; letter-spacing: 0.04em;
}

.b-hero-title em { font-style: normal; box-shadow: inset 0 -0.34em 0 0 rgba(200, 16, 46, 0.28); }

.b-hero-accent { display: block; width: 84px; height: 8px; background: var(--b-red); margin: 26px 0; }

.b-hero-lead { font-size: 17px; color: var(--b-gray); max-width: 34em; }

.b-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; padding-bottom: 8px; }

/* 封面照片：黑白 + 图注 */
.b-hero-media { position: relative; border: var(--b-thin); background: var(--b-ink); }

.b-hero-img {
  width: 100%; height: 460px; object-fit: cover; filter: grayscale(1) contrast(1.05);
}

.b-hero-caption {
  display: flex; justify-content: space-between; padding: 8px 2px;
  font-size: 12px; letter-spacing: 0.14em; color: var(--b-gray);
  background: var(--b-paper); border-top: var(--b-thin);
}

/* 竖排装饰文字 */
.b-vertical {
  position: absolute; top: 0; left: -46px; writing-mode: vertical-rl;
  font-family: var(--b-serif); font-size: 14px; letter-spacing: 0.5em;
  color: var(--b-ink); border-left: var(--b-thin); padding-left: 10px; height: 320px;
}

.b-vertical i { font-style: normal; color: var(--b-red); }

/* ---------- 统计带（黑底衬线大数字） ---------- */
.b-stats { margin-top: 56px; background: var(--b-ink); color: var(--b-white); }

.b-stats-inner {
  max-width: var(--b-wrap); margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: repeat(4, 1fr);
}

.b-stat {
  padding: 30px 20px; border-left: 1px solid rgba(250, 248, 244, 0.22); text-align: center;
}

.b-stat:first-child { border-left: none; }

.b-stat-num { font-family: var(--b-serif); font-size: 40px; font-weight: 900; line-height: 1.1; }

.b-stat-num i { font-style: normal; color: var(--b-red); }

.b-stat-label {
  margin-top: 6px; font-size: 13px; letter-spacing: 0.3em; color: rgba(250, 248, 244, 0.72);
}

/* ============================================================
   目录点线列表（书页目录式）
   ============================================================ */
.b-toc { border-top: var(--b-thin); }

.b-toc-item {
  display: flex; align-items: baseline; gap: 14px; padding: 20px 6px;
  border-bottom: 1px solid var(--b-ink); transition: background 0.15s ease;
}

.b-toc-item:hover { background: rgba(200, 16, 46, 0.05); }

.b-toc-no {
  font-family: var(--b-serif); font-size: 15px; font-weight: 700;
  color: var(--b-gray); min-width: 2.4em;
}

.b-toc-name {
  font-family: var(--b-serif); font-size: 21px; font-weight: 700; letter-spacing: 0.08em;
}

.b-toc-tag {
  font-size: 12px; color: var(--b-red); border: var(--b-red-line);
  padding: 1px 8px; letter-spacing: 0.12em; white-space: nowrap;
}

.b-toc-dots { flex: 1; min-width: 40px; border-bottom: 2px dotted var(--b-ink); transform: translateY(-5px); }

.b-toc-price {
  font-family: var(--b-serif); font-size: 22px; font-weight: 900; white-space: nowrap;
}

.b-toc-price small { font-size: 13px; font-weight: 400; color: var(--b-gray); }

.b-toc-arrow { color: var(--b-ink); transition: transform 0.15s ease, color 0.15s ease; }

.b-toc-item:hover .b-toc-name,
.b-toc-item:hover .b-toc-price,
.b-toc-item:hover .b-toc-arrow { color: var(--b-red); }

.b-toc-item:hover .b-toc-arrow { transform: translateX(4px); }

.b-toc-blurb { width: 100%; margin-top: -8px; font-size: 14px; color: var(--b-gray); }

/* ============================================================
   工作方法 · 黑粗框步骤
   ============================================================ */
.b-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.b-step {
  position: relative; border: var(--b-thick); padding: 26px 22px 24px;
  background: var(--b-paper); transition: background 0.15s ease, color 0.15s ease;
}

.b-step:hover { background: var(--b-ink); color: var(--b-paper); }

.b-step-no {
  font-family: var(--b-serif); font-size: 44px; font-weight: 900; line-height: 1; color: var(--b-red);
}

.b-step-h {
  font-family: var(--b-serif); font-size: 20px; font-weight: 700; letter-spacing: 0.14em;
  margin: 14px 0 10px; padding-bottom: 10px; border-bottom: 1px solid currentColor;
}

.b-step p { font-size: 14.5px; line-height: 1.8; color: var(--b-gray); }

.b-step:hover p { color: rgba(250, 248, 244, 0.78); }

/* ============================================================
   观点区 · 大引号衬线引言
   ============================================================ */
.b-view {
  display: grid; grid-template-columns: 5fr 7fr; gap: 48px; align-items: start;
}

.b-view-media { position: relative; border: var(--b-thin); }

.b-view-media img {
  width: 100%; height: 520px; object-fit: cover; filter: grayscale(1) contrast(1.05);
}

.b-view-media figcaption {
  padding: 8px 2px; font-size: 12px; letter-spacing: 0.14em; color: var(--b-gray);
  border-top: var(--b-thin); background: var(--b-paper);
}

.b-view-corner {
  position: absolute; top: -10px; right: -10px; width: 46px; height: 46px; background: var(--b-red);
}

.b-quotes { display: flex; flex-direction: column; }

.b-quote { padding: 26px 0 30px; border-bottom: 1px solid var(--b-ink); }

.b-quote:first-child { padding-top: 6px; }

.b-quote-mark {
  display: block; font-family: var(--b-serif); font-size: 64px; font-weight: 900;
  line-height: 0.6; color: var(--b-red);
}

.b-quote-text {
  font-family: var(--b-serif); font-size: 23px; font-weight: 700;
  line-height: 1.6; letter-spacing: 0.04em; margin-top: 14px;
}

.b-quote-src {
  display: block; margin-top: 12px; font-size: 13px; letter-spacing: 0.16em; color: var(--b-gray);
}

/* ============================================================
   FAQ 折叠
   ============================================================ */
.b-faq { border-top: var(--b-thin); }

.b-faq details { border-bottom: 1px solid var(--b-ink); }

.b-faq summary {
  display: flex; align-items: center; gap: 14px; padding: 18px 6px;
  cursor: pointer; font-family: var(--b-serif); font-size: 17.5px; font-weight: 700;
  letter-spacing: 0.05em; list-style: none;
}

.b-faq summary::-webkit-details-marker { display: none; }

.b-faq summary::before {
  content: 'Q'; font-family: var(--b-serif); font-size: 15px; font-weight: 900;
  color: var(--b-white); background: var(--b-ink); width: 26px; height: 26px;
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
}

.b-faq summary::after {
  content: '+'; margin-left: auto; font-family: var(--b-serif); font-size: 24px;
  font-weight: 400; color: var(--b-red); transition: transform 0.15s ease;
}

.b-faq details[open] summary::after { content: '−'; }

.b-faq summary:hover { color: var(--b-red); }

.b-faq-a { padding: 0 46px 20px; font-size: 15px; color: var(--b-gray); }

.b-faq-a::before {
  content: 'A'; font-family: var(--b-serif); font-weight: 900;
  color: var(--b-red); margin-right: 10px;
}

/* ============================================================
   黑底 CTA
   ============================================================ */
.b-cta { margin-top: 72px; background: var(--b-ink); color: var(--b-white); padding: 56px 0; }

.b-cta-inner {
  max-width: var(--b-wrap); margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}

.b-cta-kicker { font-size: 13px; letter-spacing: 0.3em; color: var(--b-red); margin-bottom: 12px; }

.b-cta-title {
  font-family: var(--b-serif); font-size: 32px; font-weight: 900;
  letter-spacing: 0.06em; line-height: 1.4;
}

.b-cta-title i { font-style: normal; color: var(--b-red); }

.b-cta-sub { margin-top: 10px; color: rgba(250, 248, 244, 0.7); font-size: 14.5px; }

.b-cta-btns { display: flex; gap: 14px; flex-wrap: wrap; }

.b-cta .b-btn-primary { background: var(--b-red); border-color: var(--b-red); }

.b-cta .b-btn-primary:hover { background: var(--b-white); border-color: var(--b-white); color: var(--b-ink); }

.b-cta .b-btn-ghost { border-color: var(--b-white); color: var(--b-white); }

.b-cta .b-btn-ghost:hover { background: var(--b-white); color: var(--b-ink); }

/* ============================================================
   面包屑
   ============================================================ */
.b-crumb {
  display: flex; align-items: center; gap: 10px; font-size: 13px;
  letter-spacing: 0.1em; color: var(--b-gray); margin-bottom: 30px;
}

.b-crumb a:hover { color: var(--b-red); }

.b-crumb-sep { color: var(--b-ink); }

.b-crumb-cur { color: var(--b-ink); font-family: var(--b-serif); font-weight: 700; }

/* ============================================================
   服务详情页（buyN）
   ============================================================ */
.b-buy {
  display: grid; grid-template-columns: 1fr 340px; gap: 48px; align-items: start;
}

.b-issue {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--b-serif); font-size: 14px; font-weight: 600;
  letter-spacing: 0.28em; color: var(--b-red);
}

.b-issue::after { content: ''; width: 60px; height: 3px; background: var(--b-red); }

.b-buy-title {
  font-family: var(--b-serif); font-size: 46px; font-weight: 900;
  letter-spacing: 0.05em; line-height: 1.3; margin: 14px 0 6px;
}

.b-buy-blurb {
  font-size: 17px; color: var(--b-gray); border-left: 4px solid var(--b-red);
  padding-left: 16px; margin-top: 16px;
}

/* 编号列表 points */
.b-points { counter-reset: bpt; }

.b-point {
  display: flex; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--b-ink);
}

.b-point:last-child { border-bottom: none; }

.b-point-no {
  font-family: var(--b-serif); font-size: 30px; font-weight: 900;
  line-height: 1.2; color: var(--b-red); min-width: 46px;
}

.b-point-h {
  font-family: var(--b-serif); font-size: 19px; font-weight: 700;
  letter-spacing: 0.1em; margin-bottom: 6px;
}

.b-point-body p { font-size: 15px; color: var(--b-gray); }

/* 场景网格 */
.b-scenes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }

.b-scene {
  display: flex; align-items: center; gap: 8px; border: var(--b-thin);
  padding: 12px 14px; font-size: 14.5px; font-weight: 500; background: var(--b-white);
}

.b-scene .b-ico { color: var(--b-red); }

/* 技术实现段与标签组 */
.b-tech {
  font-size: 15.5px; line-height: 2; color: #3c3a36; background: var(--b-white);
  border: var(--b-thin); border-left: 6px solid var(--b-ink); padding: 22px 26px;
}

.b-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

.b-tag {
  font-size: 12.5px; letter-spacing: 0.1em; border: var(--b-red-line);
  color: var(--b-red); padding: 4px 12px;
}

/* 右侧价格卡 */
.b-buy-side { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 20px; }

.b-pricecard { border: var(--b-thick); background: var(--b-paper); padding: 26px 24px; }

.b-pricecard-label { font-size: 13px; letter-spacing: 0.3em; color: var(--b-gray); }

.b-pricecard-num {
  font-family: var(--b-serif); font-size: 52px; font-weight: 900; line-height: 1.15; margin: 8px 0 2px;
}

.b-pricecard-num em { font-style: normal; font-size: 26px; color: var(--b-red); margin-right: 2px; }

.b-pricecard-num small { font-size: 16px; font-weight: 400; color: var(--b-gray); }

.b-pricecard-note {
  font-size: 13px; color: var(--b-gray); padding-bottom: 18px;
  margin-bottom: 18px; border-bottom: 1px dashed var(--b-ink);
}

.b-pricecard .b-btn + .b-btn { margin-top: 12px; }

.b-sidecard { border: var(--b-thin); background: var(--b-white); padding: 20px 22px; }

.b-sidecard-h {
  font-family: var(--b-serif); font-size: 15px; font-weight: 700; letter-spacing: 0.22em;
  padding-bottom: 10px; margin-bottom: 12px; border-bottom: 3px solid var(--b-ink);
  display: flex; align-items: center; gap: 8px;
}

.b-sidecard-h::before { content: ''; width: 8px; height: 8px; background: var(--b-red); }

.b-sidecard-tel {
  display: flex; align-items: center; gap: 10px; font-family: var(--b-serif);
  font-size: 22px; font-weight: 900; letter-spacing: 0.04em;
}

.b-sidecard-tel:hover { color: var(--b-red); }

.b-sidecard-tel .b-ico { color: var(--b-red); }

.b-sidecard-note { margin-top: 10px; font-size: 13px; color: var(--b-gray); line-height: 1.9; }

.b-minitoc li { border-bottom: 1px dotted var(--b-ink); }
.b-minitoc li:last-child { border-bottom: none; }

.b-minitoc a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 2px; font-family: var(--b-serif); font-size: 15px; font-weight: 600;
}

.b-minitoc a::after { content: '→'; color: var(--b-ink); font-family: var(--b-sans); }

.b-minitoc a:hover { color: var(--b-red); }
.b-minitoc a:hover::after { color: var(--b-red); }

/* ============================================================
   服务总目录页 services.php
   ============================================================ */
.b-page-head { padding: 10px 0 8px; }

.b-page-kicker {
  font-family: var(--b-serif); font-size: 14px; font-weight: 600;
  letter-spacing: 0.3em; color: var(--b-red);
}

.b-page-title {
  font-family: var(--b-serif); font-size: 44px; font-weight: 900;
  letter-spacing: 0.05em; line-height: 1.3; margin-top: 12px;
}

.b-page-lead { max-width: 42em; margin-top: 16px; font-size: 16.5px; color: var(--b-gray); }

.b-svc-list { border-top: var(--b-thick); margin-top: 36px; }

.b-svc-item {
  display: grid; grid-template-columns: 90px 1fr 220px auto; gap: 26px;
  align-items: center; padding: 28px 6px; border-bottom: var(--b-thin);
  transition: background 0.15s ease;
}

.b-svc-item:hover { background: rgba(200, 16, 46, 0.045); }

.b-svc-idx {
  font-family: var(--b-serif); font-size: 34px; font-weight: 900; color: var(--b-ink);
}

.b-svc-item:hover .b-svc-idx { color: var(--b-red); }

.b-svc-name {
  font-family: var(--b-serif); font-size: 24px; font-weight: 700; letter-spacing: 0.08em;
}

.b-svc-name small {
  margin-left: 12px; font-size: 12px; font-family: var(--b-sans); font-weight: 400;
  color: var(--b-red); border: var(--b-red-line); padding: 2px 8px;
  vertical-align: 3px; letter-spacing: 0.12em;
}

.b-svc-blurb { margin-top: 8px; font-size: 14px; color: var(--b-gray); max-width: 40em; }

.b-svc-price {
  font-family: var(--b-serif); font-size: 26px; font-weight: 900; text-align: right; white-space: nowrap;
}

.b-svc-price small {
  display: block; font-size: 12px; font-weight: 400; letter-spacing: 0.2em; color: var(--b-gray);
}

.b-svc-go {
  display: inline-flex; align-items: center; gap: 6px; font-family: var(--b-serif);
  font-size: 15px; font-weight: 700; letter-spacing: 0.14em; border: var(--b-thin);
  padding: 10px 18px; white-space: nowrap; transition: background 0.15s ease, color 0.15s ease;
}

.b-svc-item:hover .b-svc-go { background: var(--b-ink); color: var(--b-white); }

/* ============================================================
   关于页 about.php
   ============================================================ */
.b-prose {
  max-width: 44em; font-size: 16.5px; line-height: 2.05; color: #2c2a26;
}

.b-drop::first-letter {
  float: left; font-family: var(--b-serif); font-size: 64px; font-weight: 900;
  line-height: 0.9; padding: 6px 12px 0 0; color: var(--b-red);
}

.b-pullquote {
  border-top: var(--b-thick); border-bottom: var(--b-thick); padding: 30px 8px;
  margin: 40px 0; font-family: var(--b-serif); font-size: 26px; font-weight: 900;
  line-height: 1.65; letter-spacing: 0.04em; text-align: center;
}

.b-pullquote i { font-style: normal; color: var(--b-red); }

.b-about-media { border: var(--b-thin); margin: 40px 0; position: relative; }

.b-about-media img {
  width: 100%; height: 480px; object-fit: cover; filter: grayscale(1) contrast(1.05);
}

.b-about-media figcaption {
  padding: 8px 2px; font-size: 12px; letter-spacing: 0.14em;
  color: var(--b-gray); border-top: var(--b-thin);
}

/* 里程碑年表 */
.b-timeline { border-top: var(--b-thick); }

.b-tl-item {
  display: grid; grid-template-columns: 130px 1fr; gap: 30px;
  padding: 24px 6px; border-bottom: 1px solid var(--b-ink);
}

.b-tl-year {
  font-family: var(--b-serif); font-size: 30px; font-weight: 900; line-height: 1.2; color: var(--b-red);
}

.b-tl-body h3 {
  font-family: var(--b-serif); font-size: 18px; font-weight: 700;
  letter-spacing: 0.1em; margin-bottom: 6px;
}

.b-tl-body p { font-size: 14.5px; color: var(--b-gray); }

/* ============================================================
   表单（联系 / 订单）
   ============================================================ */
.b-form { border: var(--b-thick); background: var(--b-white); padding: 30px 30px 34px; }

.b-form-title {
  font-family: var(--b-serif); font-size: 22px; font-weight: 900; letter-spacing: 0.1em;
  padding-bottom: 14px; margin-bottom: 24px; border-bottom: var(--b-thin);
  display: flex; align-items: center; gap: 10px;
}

.b-form-title::before { content: ''; width: 12px; height: 12px; background: var(--b-red); }

.b-field { margin-bottom: 18px; }

.b-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.b-label {
  display: block; font-family: var(--b-serif); font-size: 15px;
  font-weight: 700; letter-spacing: 0.1em; margin-bottom: 8px;
}

.b-req { color: var(--b-red); margin-left: 4px; }

.b-input, .b-select, .b-textarea {
  width: 100%; border: var(--b-thin); border-radius: 0; background: var(--b-paper);
  padding: 12px 14px; font-family: var(--b-sans); font-size: 15px; color: var(--b-ink);
  outline: none; transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.b-input:focus, .b-select:focus, .b-textarea:focus {
  border-color: var(--b-red); box-shadow: 3px 3px 0 0 rgba(200, 16, 46, 0.22);
}

.b-textarea { min-height: 130px; resize: vertical; }

.b-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23141414' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 16px;
  padding-right: 38px;
}

.b-form-note { font-size: 12.5px; color: var(--b-gray); margin-top: -8px; margin-bottom: 18px; }

.b-form-actions {
  margin-top: 24px; padding-top: 20px; border-top: 1px dashed var(--b-ink);
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
}

/* 联系信息卡 */
.b-infocard {
  border: var(--b-thin); background: var(--b-ink); color: var(--b-white); padding: 28px 26px;
}

.b-infocard-h {
  font-family: var(--b-serif); font-size: 20px; font-weight: 900; letter-spacing: 0.14em;
  padding-bottom: 14px; margin-bottom: 18px; border-bottom: 3px solid var(--b-red);
}

.b-info-row {
  display: flex; gap: 14px; padding: 13px 0; border-bottom: 1px solid rgba(250, 248, 244, 0.16);
  font-size: 14.5px; align-items: flex-start;
}

.b-info-row:last-child { border-bottom: none; }

.b-info-row .b-ico { color: var(--b-red); margin-top: 3px; }

.b-info-row b {
  display: block; font-family: var(--b-serif); font-size: 13px;
  letter-spacing: 0.24em; color: rgba(250, 248, 244, 0.6); margin-bottom: 2px;
}

.b-info-row a:hover { color: var(--b-red); }

/* ============================================================
   订单页 order.php
   ============================================================ */
.b-order {
  display: grid; grid-template-columns: 380px 1fr; gap: 40px; align-items: start;
}

.b-summary { border: var(--b-thick); background: var(--b-white); }

.b-summary-head {
  background: var(--b-ink); color: var(--b-white); font-family: var(--b-serif);
  font-size: 15px; font-weight: 700; letter-spacing: 0.26em;
  padding: 12px 22px; display: flex; align-items: center; gap: 10px;
}

.b-summary-head::before { content: ''; width: 8px; height: 8px; background: var(--b-red); }

.b-summary-body { padding: 24px 22px; }

.b-summary-name {
  font-family: var(--b-serif); font-size: 28px; font-weight: 900; letter-spacing: 0.06em;
}

.b-summary-price {
  font-family: var(--b-serif); font-size: 40px; font-weight: 900; color: var(--b-red); margin: 10px 0 4px;
}

.b-summary-price small { font-size: 14px; font-weight: 400; color: var(--b-gray); letter-spacing: 0.1em; }

.b-summary-list { margin-top: 18px; border-top: 1px dashed var(--b-ink); padding-top: 16px; }

.b-summary-list li {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 7px 0; font-size: 13.5px; color: var(--b-gray);
}

.b-summary-list li i { font-style: normal; color: var(--b-ink); }

.b-summary-foot {
  margin-top: 16px; font-size: 12.5px; line-height: 1.9;
  color: var(--b-gray); border-top: var(--b-thin); padding-top: 14px;
}

/* ============================================================
   支付确认页 pay.php
   ============================================================ */
.b-alert {
  display: flex; align-items: center; gap: 12px; border: 2px solid var(--b-red);
  background: rgba(200, 16, 46, 0.06); color: var(--b-red);
  padding: 14px 18px; font-size: 14.5px; font-weight: 500; margin-bottom: 28px;
}

.b-alert .b-ico { flex-shrink: 0; }

.b-paygrid {
  display: grid; grid-template-columns: 1fr 380px; gap: 40px; align-items: start;
}

.b-ordercard { border: var(--b-thick); background: var(--b-white); }

.b-ordercard-head {
  background: var(--b-ink); color: var(--b-white); padding: 12px 24px;
  font-family: var(--b-serif); font-size: 15px; font-weight: 700;
  letter-spacing: 0.26em; display: flex; align-items: center; gap: 10px;
}

.b-ordercard-head::before { content: ''; width: 8px; height: 8px; background: var(--b-red); }

.b-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }

.b-table th, .b-table td {
  text-align: left; padding: 12px 24px; border-bottom: 1px solid var(--b-soft); vertical-align: top;
}

.b-table th {
  width: 7em; font-family: var(--b-serif); font-weight: 700;
  letter-spacing: 0.14em; color: var(--b-gray); white-space: nowrap;
}

.b-table tr:last-child td { border-bottom: none; }

.b-table .b-strong {
  font-family: var(--b-serif); font-size: 20px; font-weight: 900; color: var(--b-red);
}

.b-payopts { margin-top: 30px; }

.b-payopt {
  display: flex; align-items: center; gap: 16px; border: 2px solid var(--b-ink);
  background: var(--b-white); padding: 18px 20px; margin-bottom: 14px;
  cursor: pointer; user-select: none; transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.b-payopt:hover { box-shadow: 4px 4px 0 0 rgba(20, 20, 20, 0.18); }

.b-payopt.is-selected { border-color: var(--b-red); box-shadow: 4px 4px 0 0 rgba(200, 16, 46, 0.3); }

.b-payopt.is-disabled { opacity: 0.45; cursor: not-allowed; }

.b-payopt-ico {
  display: flex; align-items: center; justify-content: center; width: 44px; height: 44px;
  border: var(--b-thin); color: var(--b-ink); flex-shrink: 0;
}

.b-payopt.is-selected .b-payopt-ico { background: var(--b-red); border-color: var(--b-red); color: var(--b-white); }

.b-payopt-name {
  font-family: var(--b-serif); font-size: 17px; font-weight: 700; letter-spacing: 0.08em;
}

.b-payopt-desc { font-size: 12.5px; color: var(--b-gray); margin-top: 2px; }

.b-payopt-flag {
  margin-left: auto; font-size: 12px; letter-spacing: 0.14em;
  color: var(--b-red); border: var(--b-red-line); padding: 3px 10px; white-space: nowrap;
}

.b-payopt-radio {
  width: 18px; height: 18px; border: 2px solid var(--b-ink);
  border-radius: 50%; position: relative; flex-shrink: 0;
}

.b-payopt.is-selected .b-payopt-radio { border-color: var(--b-red); }

.b-payopt.is-selected .b-payopt-radio::after {
  content: ''; position: absolute; inset: 3px; border-radius: 50%; background: var(--b-red);
}

.b-payhint {
  display: none; border: 1px dashed var(--b-ink); background: var(--b-paper);
  padding: 14px 18px; font-size: 13.5px; color: var(--b-gray); margin-bottom: 14px;
}

.b-payhint.is-show { display: block; }

.b-pay-submit { margin-top: 24px; }

.b-notice { margin-top: 40px; border-top: var(--b-thin); padding-top: 22px; }

.b-notice-h {
  font-family: var(--b-serif); font-size: 16px; font-weight: 700; letter-spacing: 0.2em;
  margin-bottom: 12px; display: flex; align-items: center; gap: 8px;
}

.b-notice-h::before { content: ''; width: 8px; height: 8px; background: var(--b-red); }

.b-notice li {
  position: relative; padding: 5px 0 5px 22px; font-size: 13.5px; color: var(--b-gray);
}

.b-notice li::before {
  content: ''; position: absolute; left: 2px; top: 14px; width: 8px; height: 2px; background: var(--b-red);
}

/* ============================================================
   提交成功页 contact_submit.php
   ============================================================ */
.b-success {
  max-width: 640px; margin: 0 auto; border: var(--b-thick);
  background: var(--b-white); padding: 44px 40px; text-align: center;
}

.b-success-ico {
  display: inline-flex; align-items: center; justify-content: center; width: 72px; height: 72px;
  background: var(--b-red); color: var(--b-white); margin-bottom: 20px;
}

.b-success-title {
  font-family: var(--b-serif); font-size: 30px; font-weight: 900; letter-spacing: 0.1em;
}

.b-success-sub { margin-top: 10px; color: var(--b-gray); font-size: 15px; }

.b-receipt {
  margin: 28px 0; border-top: 1px dashed var(--b-ink); border-bottom: 1px dashed var(--b-ink);
  padding: 6px 0; text-align: left;
}

.b-receipt li {
  display: flex; justify-content: space-between; gap: 20px; padding: 10px 4px;
  font-size: 14px; border-bottom: 1px dotted var(--b-soft);
}

.b-receipt li:last-child { border-bottom: none; }

.b-receipt li i {
  font-style: normal; color: var(--b-gray); letter-spacing: 0.18em; font-size: 13px; white-space: nowrap;
}

.b-receipt li b { font-weight: 600; text-align: right; }

.b-success-btns { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* ============================================================
   页脚 FOOTER
   ============================================================ */
.b-foot { margin-top: 80px; background: var(--b-ink); color: var(--b-paper); }

.b-foot-inner { max-width: var(--b-wrap); margin: 0 auto; padding: 52px 24px 28px; }

.b-foot-brandrow {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
  flex-wrap: wrap; padding-bottom: 26px; border-bottom: 1px solid rgba(250, 248, 244, 0.2);
}

.b-foot-brand {
  display: flex; align-items: center; gap: 12px; font-family: var(--b-serif);
  font-size: 26px; font-weight: 900; letter-spacing: 0.16em;
}

.b-foot-brand small {
  font-size: 11px; font-weight: 400; letter-spacing: 0.32em; color: rgba(250, 248, 244, 0.55);
}

.b-foot-block { width: 18px; height: 18px; background: var(--b-red); flex-shrink: 0; }

.b-foot-slogan {
  font-family: var(--b-serif); font-size: 15px; letter-spacing: 0.2em; color: rgba(250, 248, 244, 0.7);
}

.b-foot-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; padding: 30px 0;
}

.b-foot-h {
  font-family: var(--b-serif); font-size: 14px; font-weight: 700;
  letter-spacing: 0.3em; color: var(--b-red); margin-bottom: 12px;
}

.b-foot-col p {
  font-size: 13.5px; line-height: 2; color: rgba(250, 248, 244, 0.78);
}

.b-foot-col a:hover { color: var(--b-red); }

.b-foot-copy {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  border-top: 1px solid rgba(250, 248, 244, 0.2); padding-top: 22px;
  font-size: 12.5px; color: rgba(250, 248, 244, 0.55);
}

.b-foot-icp:hover { color: var(--b-red); }

/* ============================================================
   响应式 · 1024px
   ============================================================ */
@media (max-width: 1024px) {
  .b-hero { grid-template-columns: 1fr; gap: 36px; padding-top: 40px; }
  .b-hero-title { font-size: 46px; }
  .b-hero-img { height: 360px; }
  .b-vertical { display: none; }
  .b-stats-inner { grid-template-columns: repeat(2, 1fr); }
  .b-stat:nth-child(odd) { border-left: none; }
  .b-stat:nth-child(n+3) { border-top: 1px solid rgba(250, 248, 244, 0.22); }
  .b-view { grid-template-columns: 1fr; gap: 32px; }
  .b-view-media img { height: 380px; }
  .b-steps { grid-template-columns: repeat(2, 1fr); }
  .b-buy { grid-template-columns: 1fr; gap: 36px; }
  .b-buy-side { position: static; flex-direction: row; flex-wrap: wrap; }
  .b-buy-side > * { flex: 1 1 280px; }
  .b-buy-title { font-size: 36px; }
  .b-svc-item { grid-template-columns: 60px 1fr; gap: 14px; }
  .b-svc-price { grid-column: 2; text-align: left; }
  .b-svc-price small { display: inline; margin-left: 8px; }
  .b-svc-go { grid-column: 2; justify-self: start; }
  .b-order { grid-template-columns: 1fr; gap: 32px; }
  .b-paygrid { grid-template-columns: 1fr; gap: 32px; }
  .b-page-title { font-size: 36px; }
  .b-about-media img { height: 360px; }
  .b-menu { display: none; }
  .b-burger { display: inline-flex; }
  .b-drawer { display: none; }
  .b-drawer.is-open { display: flex; }
}

/* ============================================================
   响应式 · 720px
   ============================================================ */
@media (max-width: 720px) {
  body { font-size: 15px; }
  .b-container { padding: 0 18px; }
  .b-topbar { padding: 7px 18px; }
  .b-topbar-mail { display: none; }
  .b-topbar-brandline { letter-spacing: 0.18em; font-size: 11px; }
  .b-nav { height: 62px; }
  .b-logo-text { font-size: 20px; }
  .b-logo-mark { width: 38px; height: 38px; font-size: 22px; }
  .b-main { padding: 28px 0 56px; }
  .b-hero { padding-top: 28px; }
  .b-hero-title { font-size: 34px; line-height: 1.35; }
  .b-hero-accent { margin: 20px 0; }
  .b-hero-img { height: 250px; }
  .b-stats-inner { grid-template-columns: repeat(2, 1fr); }
  .b-stat { padding: 20px 12px; }
  .b-stat-num { font-size: 30px; }
  .b-stat-label { letter-spacing: 0.18em; }
  .b-sec { margin-top: 44px; }
  .b-sec-head span { font-size: 19px; }
  .b-steps { grid-template-columns: 1fr; gap: 14px; }
  .b-toc-item { flex-wrap: wrap; gap: 8px; padding: 16px 4px; }
  .b-toc-dots { display: none; }
  .b-toc-name { font-size: 18px; }
  .b-toc-price { font-size: 19px; }
  .b-toc-no { min-width: auto; }
  .b-toc-blurb { margin-top: 2px; }
  .b-quote-text { font-size: 19px; }
  .b-quote-mark { font-size: 48px; }
  .b-view-media img { height: 260px; }
  .b-cta { padding: 44px 0; }
  .b-cta-title { font-size: 24px; }
  .b-cta-inner { flex-direction: column; align-items: flex-start; }
  .b-buy-title { font-size: 28px; }
  .b-points .b-point { gap: 14px; padding: 18px 0; }
  .b-point-no { font-size: 24px; min-width: 34px; }
  .b-scenes { grid-template-columns: 1fr 1fr; gap: 10px; }
  .b-scene { font-size: 13px; padding: 10px 12px; }
  .b-tech { padding: 18px; font-size: 14.5px; }
  .b-buy-side { flex-direction: column; }
  .b-pricecard-num { font-size: 42px; }
  .b-form { padding: 22px 18px 26px; }
  .b-field-row { grid-template-columns: 1fr; gap: 0; }
  .b-form-actions .b-btn { width: 100%; }
  .b-page-title { font-size: 28px; }
  .b-page-lead { font-size: 15px; }
  .b-svc-name { font-size: 20px; }
  .b-svc-name small { display: inline-block; margin-left: 0; margin-top: 6px; }
  .b-tl-item { grid-template-columns: 84px 1fr; gap: 16px; padding: 20px 2px; }
  .b-tl-year { font-size: 22px; }
  .b-pullquote { font-size: 20px; padding: 22px 4px; }
  .b-prose { font-size: 15.5px; }
  .b-about-media img { height: 230px; }
  .b-table th, .b-table td { padding: 10px 14px; font-size: 13.5px; }
  .b-table th { width: 5.4em; }
  .b-ordercard-head, .b-summary-head { letter-spacing: 0.14em; font-size: 13.5px; }
  .b-payopt { padding: 14px 16px; gap: 12px; }
  .b-payopt-ico { width: 38px; height: 38px; }
  .b-payopt-flag { display: none; }
  .b-success { padding: 32px 20px; }
  .b-success-title { font-size: 24px; }
  .b-foot-grid { grid-template-columns: 1fr; gap: 22px; padding: 24px 0; }
  .b-foot-brandrow { flex-direction: column; align-items: flex-start; gap: 12px; }
  .b-foot-inner { padding: 40px 18px 24px; }
  .b-foot-copy { flex-direction: column; align-items: flex-start; gap: 8px; }
  .b-crumb { margin-bottom: 22px; flex-wrap: wrap; }
}

/* ---------- 打印 ---------- */
@media print {
  .b-masthead, .b-foot, .b-cta, .b-buy-side { display: none; }
  body { background: #fff; }
}
