/* ============================================================
   百鲸咨询 v2 —— 现场笔记风
   原则：无框架 / 无 JS / 单 CSS ~9KB；移动优先；事实单元化
   ============================================================ */
:root {
  --paper: #F6F3EC;
  --paper-2: #FCFAF5;
  --ink: #161B1D;
  --ink-2: #3E4745;
  --muted: #717873;
  --line: #DBD5C6;
  --line-2: #C9C2B0;
  --teal: #14604D;
  --teal-ink: #0D4235;
  --teal-soft: #E8F0EB;
  --rust: #A8431D;
  --rust-soft: #F4E6DD;
  --gold: #A5894C;
  --sans: "PingFang SC", "Hiragino Sans GB", "Source Han Sans SC", "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Consolas, "Courier New", monospace;
  --serif: Georgia, "Times New Roman", "Songti SC", "Source Han Serif SC", serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }

.wrap { max-width: 1060px; margin: 0 auto; padding: 0 22px; }
.narrow { max-width: 760px; }

/* ---------- 顶栏（吸顶，不随页面滚走） ---------- */
.topbar {
  position: -webkit-sticky; position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(252, 250, 245, .95);
  -webkit-backdrop-filter: saturate(150%) blur(10px);
  backdrop-filter: saturate(150%) blur(10px);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .topbar { background: var(--paper-2); }
}
.topbar-in {
  display: flex; align-items: center; justify-content: space-between;
  height: 58px;
}
.brand img { height: 30px; width: auto; }
.topnav { display: flex; gap: 4px; font-size: 13.5px; }
.topnav a {
  text-decoration: none; color: var(--ink-2);
  padding: 7px 10px; border-radius: 6px;
}
.topnav a:hover { background: var(--teal-soft); color: var(--teal-ink); }
.topnav .nav-hot { color: var(--rust); font-weight: 600; }
.topnav .nav-hot:hover { background: var(--rust-soft); color: var(--rust); }
@media (max-width: 560px) {
  .topnav { font-size: 12.5px; }
  .topnav a { padding: 7px 6px; }
}

/* ---------- 文本基元 ---------- */
.kicker {
  font-family: var(--mono); font-size: 12px; letter-spacing: .18em;
  color: var(--gold); text-transform: uppercase; margin-bottom: 14px;
}
h1 {
  font-size: clamp(32px, 6vw, 62px);
  line-height: 1.14; letter-spacing: .005em; font-weight: 800;
  text-wrap: balance;
}
h2 {
  font-size: clamp(24px, 3.6vw, 38px);
  line-height: 1.26; font-weight: 750; letter-spacing: .01em;
  text-wrap: balance;
}
h3 { font-size: 18.5px; font-weight: 700; line-height: 1.5; }
p { color: var(--ink-2); text-wrap: pretty; }
.lead { font-size: 17.5px; color: var(--ink-2); max-width: 40em; }
/* 重点词：记号笔下划线（不用色块，避免模板感） */
.u { position: relative; display: inline-block; white-space: nowrap; }
.u::after {
  content: ""; position: absolute; left: -3px; right: -3px; bottom: .04em; height: .32em;
  background: linear-gradient(92deg, rgba(20,96,77,.26), rgba(20,96,77,.10));
  transform: skewX(-9deg) rotate(-.5deg); border-radius: 1px; z-index: -1;
}

/* ---------- 服务规格带（数据表式，建立"可核验"的秩序感） ---------- */
.specband { border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); background: var(--paper-2); }
.spec { display: grid; grid-template-columns: repeat(4, 1fr); }
.spec > div { padding: 15px 20px 14px; border-right: 1px solid var(--line); }
.spec > div:first-child { padding-left: 0; }
.spec > div:last-child { border-right: none; padding-right: 0; }
.spec dt {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em;
  color: var(--gold); margin-bottom: 3px;
}
.spec dd { font-size: 14.5px; font-weight: 700; color: var(--ink); line-height: 1.5; }
@media (max-width: 760px) {
  .spec { grid-template-columns: 1fr 1fr; }
  .spec > div { padding: 13px 16px; }
  .spec > div:first-child { padding-left: 16px; }
  .spec > div:nth-child(2) { border-right: none; padding-right: 0; }
  .spec > div:nth-child(1), .spec > div:nth-child(2) { border-bottom: 1px solid var(--line); }
  .spec > div:nth-child(3) { padding-left: 16px; }
}

/* ---------- 首屏 ---------- */
.hero { padding: clamp(40px, 7vh, 72px) 0 clamp(36px, 6vh, 60px); }
.hero-in { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.hero .kicker { margin-bottom: 18px; }
.hero-svc {
  margin-top: 22px; font-size: clamp(16px, 2vw, 19px); font-weight: 700; color: var(--ink);
}
.hero-geo { margin-top: 6px; font-family: var(--mono); font-size: 13px; color: var(--muted); }
.hero-note { margin-top: 26px; max-width: 34em; }
@media (max-width: 760px) {
  .hero-in { grid-template-columns: 1fr; gap: 28px; }
}

/* ---------- 二维码"图章" ---------- */
.stamp {
  background: #fff; border: 1px solid var(--line-2); border-radius: 10px;
  padding: 14px; text-align: center; max-width: 232px;
  box-shadow: 0 2px 0 var(--line-2);
  transform: rotate(-1.2deg);
}
.stamp img { width: 100%; height: auto; border-radius: 4px; }
.stamp figcaption {
  margin-top: 10px; font-size: 13.5px; font-weight: 600; color: var(--ink);
  line-height: 1.55;
}
.stamp figcaption small { display: block; font-weight: 400; color: var(--muted); font-size: 12px; }
.hero-stamp { margin-left: auto; }
@media (max-width: 760px) {
  .hero-stamp { margin: 0; transform: none; display: grid; grid-template-columns: 118px 1fr; gap: 4px 16px; align-items: center; max-width: none; padding: 12px; }
  .hero-stamp img { width: 118px; }
  .hero-stamp figcaption { text-align: left; font-size: 15px; }
}

/* ---------- 章节头 ---------- */
.sec { padding: clamp(52px, 9vh, 92px) 0; border-top: 1px solid var(--line); }
.sec-alt { background: var(--paper-2); }
.sec-head { display: flex; align-items: flex-start; gap: 20px; margin-bottom: 34px; }
@media (max-width: 640px) { .sec-head { display: block; } .sec-head p { margin-top: 10px; } }
.sec-head .no {
  font-family: var(--serif); font-size: 30px; line-height: 1; font-weight: 700;
  color: var(--gold); opacity: .8; flex: none; width: 1.4em; padding-top: 2px;
}
.sec-head h2 { max-width: 22em; }
.sec-head p { margin-top: 10px; }

/* ---------- 对号入座场景 ---------- */
.scenes { list-style: none; }
.scenes li { border-top: 1px solid var(--line); }
.scenes li:last-child { border-bottom: 1px solid var(--line); }
.scenes a {
  display: flex; align-items: baseline; justify-content: space-between; gap: 18px;
  padding: 30px 6px; text-decoration: none;
  transition: background .2s;
}
.scenes a:hover { background: rgba(20, 96, 77, .05); }
.scenes .idx {
  font-family: var(--serif); font-size: 19px; font-weight: 700; color: var(--gold);
  flex: none; width: 1.8em;
}
.scenes .q { flex: 1; font-size: clamp(21px, 3vw, 30px); font-weight: 700; color: var(--ink); line-height: 1.4; }
.scenes .go {
  flex: none; font-size: 13.5px; color: var(--teal); font-weight: 600; white-space: nowrap;
  transition: transform .25s;
}
.scenes a:hover .go { transform: translateX(4px); }
@media (max-width: 640px) {
  .scenes a { flex-wrap: wrap; }
  .scenes .go { width: 100%; padding-left: 2em; }
}

/* ---------- 证据 ---------- */
.evidence { position: relative; }
.facts {
  display: flex; flex-wrap: wrap; gap: 0;
  border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line-2);
}
.facts > div { flex: 1 1 130px; padding: 22px 24px 20px; border-right: 1px solid var(--line); }
.facts > div:first-child { padding-left: 0; }
.facts > div:last-child { border-right: none; }
.facts b {
  display: block; font-family: var(--serif); font-size: clamp(44px, 7.4vw, 76px);
  font-weight: 700; color: var(--ink); line-height: .95; letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}
.facts span { display: block; margin-top: 12px; font-size: 13px; color: var(--muted); }
/* 诊断记录印章 */
.stamp-note {
  position: absolute; top: -6px; right: 0; transform: rotate(2.2deg);
  border: 1px solid rgba(168, 67, 29, .55); border-radius: 2px;
  color: var(--rust); font-family: var(--mono); font-size: 10.5px;
  letter-spacing: .12em; line-height: 1.9; text-align: center;
  padding: 7px 12px; background: rgba(246, 243, 236, .6);
}
@media (max-width: 900px) { .stamp-note { display: none; } }
.evidence blockquote {
  margin: 34px 0 12px; padding-left: 24px;
  border-left: 3px solid var(--gold);
  font-size: clamp(22px, 3.4vw, 36px);
  line-height: 1.5; font-weight: 750; color: var(--ink); max-width: 24em;
  text-wrap: pretty;
}
.evidence .src { font-family: var(--mono); font-size: 12.5px; color: var(--muted); letter-spacing: .04em; }
.evidence .textlink { display: inline-block; margin-top: 24px; font-weight: 600; color: var(--teal); text-decoration: none; border-bottom: 1px solid var(--teal); padding-bottom: 2px; }

/* ---------- 翻车实录列表 ---------- */
.log { list-style: none; }
.log li { border-top: 1px solid var(--line); }
.log li:last-child { border-bottom: 1px solid var(--line); }
.log a {
  display: grid; grid-template-columns: 3.2em 1fr auto;
  grid-template-areas: "no t go" "no meta go"; gap: 6px 18px;
  padding: 24px 6px; text-decoration: none; transition: background .2s;
}
.log a:hover { background: var(--rust-soft); }
.log .no2 { grid-area: no; font-family: var(--mono); font-size: 13px; color: var(--gold); padding-top: 4px; }
.log .t { grid-area: t; font-size: clamp(17px, 2.2vw, 21px); font-weight: 700; color: var(--ink); line-height: 1.5; }
.log .meta { grid-area: meta; align-self: end; font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: .06em; }
.log .go { grid-area: go; align-self: center; color: var(--rust); font-weight: 600; font-size: 13.5px; white-space: nowrap; }
/* 尚未发布正文的条目 */
.log-row { display: grid; grid-template-columns: 3.2em 1fr auto; grid-template-areas: "no t go" "no meta go"; gap: 6px 18px; padding: 24px 6px; }
@media (max-width: 640px) {
  .log-row { grid-template-columns: 1fr auto; grid-template-areas: "t go" "meta go"; }
  .log-row .no2 { display: none; }
}
.log .static { cursor: default; }
.log .static:hover { background: transparent; }
.log .static .t { color: var(--ink-2); }
.log .go.pending { color: var(--muted); font-weight: 400; font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; }
@media (max-width: 640px) {
  .log a { grid-template-columns: 1fr auto; grid-template-areas: "t go" "meta go"; }
  .log .no2 { display: none; }
}

/* ---------- 事实单元 ---------- */
.facts-dl { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line-2); }
.facts-dl > div { background: #fff; padding: 16px 20px 14px; }
.facts-dl dt { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: .1em; margin-bottom: 4px; }
.facts-dl dd { font-weight: 700; color: var(--ink); font-size: 15.5px; }
@media (max-width: 640px) { .facts-dl { grid-template-columns: 1fr; } }

/* ---------- 服务页：一天对照 ---------- */
.day { margin-top: 34px; border: 1px solid var(--line-2); background: #fff; }
.day > h3 {
  padding: 14px 20px; border-bottom: 1px solid var(--line);
  background: var(--teal-soft); color: var(--teal-ink);
}
.day-row { display: grid; grid-template-columns: 64px 1fr; gap: 14px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.day-row:last-child { border-bottom: none; }
.day-row time { font-family: var(--mono); font-size: 13px; color: var(--muted); padding-top: 3px; }
.day-row .now { font-size: 15px; color: var(--muted); }
.day-row .now::before { content: "现在 "; font-family: var(--mono); font-size: 11px; color: var(--rust); letter-spacing: .1em; }
.day-row .new { font-size: 15.5px; color: var(--ink); font-weight: 600; margin-top: 4px; }
.day-row .new::before { content: "改后 "; font-family: var(--mono); font-size: 11px; color: var(--teal); letter-spacing: .1em; }

/* ---------- 服务页：三类动作 ---------- */
.cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 8px; }
@media (max-width: 760px) { .cats { grid-template-columns: 1fr; } }
.cat { border: 1px solid var(--line-2); background: #fff; padding: 22px 20px 18px; }
.cat .tag {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .08em;
  padding: 3px 10px; border-radius: 3px; margin-bottom: 12px;
}
.cat .t1 { background: var(--teal-soft); color: var(--teal-ink); }
.cat .t2 { background: #EDF1F4; color: #23536B; }
.cat .t3 { background: var(--rust-soft); color: var(--rust); }
.cat p { font-size: 15px; }
.cat .who { margin-top: 12px; font-weight: 700; color: var(--ink); font-size: 15.5px; }

/* 一天示意条 */
.daybar { margin-top: 26px; }
.daybar .bar { display: flex; height: 34px; border: 1px solid var(--line-2); }
.daybar .b1 { background: var(--teal-soft); flex: 42; border-right: 1px dashed #fff; }
.daybar .b2 { background: #D8E4EC; flex: 33; border-right: 1px dashed #fff; }
.daybar .b3 { background: var(--rust-soft); flex: 25; }
.daybar .cap { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11.5px; color: var(--muted); margin-top: 6px; }
.daybar .legend { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 12px; font-size: 13px; color: var(--ink-2); }
.daybar .legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 6px; }

/* ---------- 步骤 ---------- */
.steps { list-style: none; counter-reset: st; margin-top: 8px; }
.steps li {
  counter-increment: st; display: grid; grid-template-columns: 64px 1fr; gap: 18px;
  padding: 24px 4px; border-top: 1px solid var(--line);
}
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps li::before {
  content: "0" counter(st); font-family: var(--mono); font-size: 22px;
  color: var(--gold); font-weight: 700; line-height: 1.3;
}
.steps h3 { margin-bottom: 6px; }
.steps p { font-size: 15.5px; }

/* ---------- 判断标准 ---------- */
.check { list-style: none; margin-top: 8px; }
.check li {
  display: flex; gap: 14px; padding: 16px 4px; border-top: 1px solid var(--line);
  font-size: clamp(16.5px, 2vw, 19px); font-weight: 600; color: var(--ink);
}
.check li:last-child { border-bottom: 1px solid var(--line); }
.check li::before { content: "✓"; color: var(--teal); font-weight: 800; flex: none; }
.check .foot-note { font-size: 13px; color: var(--muted); font-weight: 400; display: block; }

/* ---------- 大引言 ---------- */
.pull {
  border-left: 3px solid var(--teal); padding: 6px 0 6px 22px;
  font-size: clamp(20px, 3vw, 28px); font-weight: 750; line-height: 1.55;
  color: var(--ink); max-width: 26em;
}

/* ---------- 客户原话 ---------- */
.voices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
@media (max-width: 820px) { .voices { grid-template-columns: 1fr; gap: 0; } }
.voice { border-top: 2px solid var(--ink); padding: 18px 0 26px; position: relative; }
@media (max-width: 820px) {
  .voice { border-top: 1px solid var(--line); padding: 20px 0 22px; }
  .voice:first-child { border-top: 2px solid var(--ink); }
}
.voice .qmark {
  font-family: var(--serif); font-size: 46px; line-height: 1;
  color: var(--gold); display: block; height: 26px; margin-bottom: 4px;
}
.voice q {
  display: block; quotes: none; font-size: 18.5px; line-height: 1.72;
  font-weight: 600; color: var(--ink);
}
.voice .who { margin-top: 14px; font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: .04em; }
.voice .act { margin-top: 9px; }
.voice .act span {
  display: inline-block; font-size: 11.5px; font-family: var(--mono);
  color: var(--teal-ink); background: var(--teal-soft);
  padding: 3px 9px; border-radius: 3px; letter-spacing: .04em;
}
.voices-note {
  margin-top: 22px; padding-top: 16px; border-top: 1px dashed var(--line-2);
  font-size: 13px; color: var(--muted);
}

/* ---------- 转化区 ---------- */
.cta { border-top: 1px solid var(--line); background: var(--teal-ink); color: #fff; position: relative; overflow: hidden; }
.cta::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.9), rgba(0,0,0,.15));
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.9), rgba(0,0,0,.15));
}
.cta .wrap { position: relative; z-index: 1; }
.cta .kicker { color: #C9B37E; }
.cta-in {
  display: grid; grid-template-columns: 1fr auto; gap: 36px; align-items: center;
  padding-top: clamp(52px, 9vh, 86px); padding-bottom: clamp(52px, 9vh, 86px);
}
.cta h2 { color: #fff; font-size: clamp(26px, 4vw, 42px); max-width: 18em; line-height: 1.3; }
.cta .cta-note { color: rgba(255,255,255,.72); margin-top: 18px; max-width: 32em; font-size: 16px; }
.cta .stamp { transform: rotate(1.2deg); max-width: 224px; box-shadow: 0 24px 50px -28px rgba(0,0,0,.8); }
.cta .stamp figcaption { color: var(--ink); }
@media (max-width: 760px) {
  .cta-in { grid-template-columns: 1fr; gap: 28px; justify-items: start; }
  .cta .stamp { display: grid; grid-template-columns: 118px 1fr; gap: 4px 16px; align-items: center; max-width: none; }
  .cta .stamp img { width: 118px; }
  .cta .stamp figcaption { text-align: left; }
}

/* ---------- 页脚 ---------- */
.foot { background: var(--teal-ink); color: rgba(255,255,255,.5); border-top: 1px solid rgba(255,255,255,.12); }
.foot-in {
  display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between;
  padding-top: 18px; padding-bottom: 26px; font-size: 12.5px;
}
.foot a { color: rgba(255,255,255,.6); text-decoration: none; }

/* ---------- 文章页 ---------- */
.article { padding: clamp(36px, 7vh, 64px) 0; }
.art-meta { font-family: var(--mono); font-size: 12.5px; color: var(--muted); letter-spacing: .08em; margin: 18px 0 8px; }
.article h2 { margin: 40px 0 14px; font-size: clamp(20px, 2.8vw, 26px); }
.article p { margin-bottom: 16px; }
.article .back { display: inline-block; margin-bottom: 30px; font-size: 13.5px; color: var(--muted); text-decoration: none; }
.article .back:hover { color: var(--teal); }
.art-cta {
  margin-top: 48px; border: 1px solid var(--line-2); background: #fff;
  padding: 26px 24px; display: flex; gap: 20px; align-items: center; flex-wrap: wrap;
}
.art-cta .stamp { flex: none; width: 128px; padding: 8px; transform: none; }
.art-cta .stamp img { width: 100%; }
.art-cta .stamp figcaption { display: none; }
.art-cta h3 { font-size: 19px; margin-bottom: 6px; }
.art-cta p { font-size: 14.5px; }
.art-cta > div { flex: 1 1 220px; }

/* 正文排版：历史文章页（/article/*.html）由 build.mjs 注入富文本 HTML */
.art-body { margin-top: 26px; color: var(--ink-2); }
.art-body h3 { margin: 30px 0 12px; color: var(--ink); }
.art-body ul, .art-body ol { margin: 0 0 18px; padding-left: 1.25em; }
.art-body li { margin-bottom: 8px; line-height: 1.85; }
.art-body a { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
.art-body strong, .art-body b { color: var(--ink); font-weight: 700; }
.art-body img { width: 100%; height: auto; margin: 24px 0; border: 1px solid var(--line); border-radius: 3px; }
.art-body blockquote {
  margin: 24px 0; padding: 6px 0 6px 20px; border-left: 2px solid var(--gold);
  font-family: var(--serif); font-size: 17.5px; color: var(--ink); line-height: 1.75;
}
.art-body blockquote p { margin-bottom: 8px; }
.art-body table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 14.5px; }
.art-body th, .art-body td { border: 1px solid var(--line); padding: 9px 12px; text-align: left; vertical-align: top; }
.art-body th { background: var(--paper-2); color: var(--ink); font-weight: 700; }
.art-body hr { margin: 34px 0; border: none; border-top: 1px solid var(--line); }
.art-body code { font-family: var(--mono); font-size: .92em; background: var(--paper-2); padding: 1px 5px; border: 1px solid var(--line); }
@media (max-width: 560px) {
  .art-body table { display: block; overflow-x: auto; }
}

/* FAQ */
.faq { margin-top: 10px; }
.faq details { border-top: 1px solid var(--line); padding: 14px 4px; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { font-weight: 700; cursor: pointer; font-size: 16px; color: var(--ink); }
.faq details p { margin-top: 10px; font-size: 15px; }

/* ============================================================
   预约诊断：按钮 / 抽屉 / 表单
   ============================================================ */
.hero-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 30px; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: inherit; font-size: 15.5px; font-weight: 700;
  padding: 13px 22px; border-radius: 4px; border: 1px solid transparent;
  text-decoration: none; cursor: pointer; line-height: 1.2;
  transition: background .2s, color .2s, border-color .2s, transform .15s, box-shadow .2s;
}
.btn .arw { transition: transform .2s; font-weight: 400; }
.btn:hover .arw { transform: translateX(4px); }
.btn-dark {
  background: var(--ink); color: var(--paper-2);
  box-shadow: 0 10px 22px -14px rgba(2, 10, 20, .8);
}
.btn-dark:hover { background: var(--teal-ink); transform: translateY(-1px); box-shadow: 0 14px 26px -14px rgba(2, 10, 20, .85); }
.btn-dark:active { transform: translateY(1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink); background: #fff; }
.btn-light { background: #fff; color: var(--teal-ink); }
.btn-light:hover { background: var(--teal-soft); }
.btn .min { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; font-weight: 400; opacity: .55; }
.cta .btn-light { margin-top: 24px; }

/* 抽屉 / 弹窗 */
.bk-overlay {
  position: fixed; inset: 0; z-index: 90;
  display: none; align-items: center; justify-content: center;
  background: rgba(15, 26, 24, .58); padding: 24px;
}
.bk-overlay.on { display: flex; }
.bk-card {
  background: var(--paper-2); width: 100%; max-width: 560px;
  max-height: 92vh; overflow-y: auto;
  border: 1px solid var(--line-2); border-radius: 14px;
  box-shadow: 0 30px 70px -30px rgba(10, 24, 20, .55);
  animation: bkIn .26s cubic-bezier(.22,.61,.36,1);
}
@keyframes bkIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.bk-head {
  position: relative; padding: 26px 26px 20px;
  border-bottom: 1px solid var(--line); background: #fff;
}
.bk-head .kicker { margin-bottom: 10px; }
.bk-head h2 { font-size: 22px; line-height: 1.4; padding-right: 34px; }
.bk-head p { font-size: 14px; margin-top: 8px; color: var(--muted); }
.bk-close {
  position: absolute; top: 16px; right: 16px; width: 34px; height: 34px;
  border: 1px solid var(--line); background: transparent; border-radius: 50%;
  color: var(--muted); font-size: 17px; cursor: pointer; line-height: 1;
}
.bk-close:hover { background: var(--paper); color: var(--ink); }
.bk-facts {
  display: flex; flex-wrap: wrap; gap: 6px 18px;
  padding: 12px 26px; border-bottom: 1px solid var(--line);
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; color: var(--teal-ink);
  background: var(--teal-soft);
}
.bk-body { padding: 22px 26px 26px; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .f-row { grid-template-columns: 1fr; } }
.f-field { margin-bottom: 14px; }
.f-field label {
  display: block; font-size: 12.5px; font-weight: 600; color: var(--ink-2);
  margin-bottom: 6px; letter-spacing: .02em;
}
.f-field label .req { color: var(--rust); }
.f-field input, .f-field select, .f-field textarea {
  width: 100%; font-family: inherit; font-size: 15.5px; color: var(--ink);
  background: #fff; border: 1px solid var(--line-2); border-radius: 7px;
  padding: 11px 12px; line-height: 1.5;
  transition: border-color .15s, box-shadow .15s;
}
.f-field input:focus, .f-field select:focus, .f-field textarea:focus {
  outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(20, 96, 77, .12);
}
.f-field textarea { min-height: 62px; resize: vertical; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.chip {
  font-family: inherit; font-size: 13px; color: var(--ink-2);
  background: #fff; border: 1px solid var(--line-2); border-radius: 999px;
  padding: 6px 13px; cursor: pointer; transition: all .15s;
}
.chip:hover { border-color: var(--teal); color: var(--teal-ink); }
.chip.on { background: var(--teal); border-color: var(--teal); color: #fff; }
.bk-submit { width: 100%; justify-content: center; margin-top: 6px; padding: 14px; font-size: 16px; }
.bk-submit[disabled] { opacity: .65; cursor: default; }
.bk-note { font-size: 12px; color: var(--muted); margin-top: 12px; display: flex; gap: 7px; align-items: flex-start; }
.bk-err { color: var(--rust); font-size: 13px; margin-top: 10px; display: none; }
.bk-err.on { display: block; }
.bk-alt {
  margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line-2);
  display: flex; align-items: center; gap: 14px; font-size: 13px; color: var(--muted);
}
.bk-alt img { width: 78px; height: 78px; flex: none; border-radius: 4px; }
.bk-done { display: none; text-align: left; padding: 30px 26px 30px; }
.bk-done.on { display: block; }
.bk-done .ok {
  width: 46px; height: 46px; border-radius: 50%; background: var(--teal-soft);
  color: var(--teal-ink); display: flex; align-items: center; justify-content: center;
  font-size: 21px; margin-bottom: 16px;
}
.bk-done h3 { font-size: 21px; margin-bottom: 8px; }
.bk-done p { font-size: 14.5px; margin-bottom: 6px; }
.bk-done .bk-alt { border-top: none; padding-top: 6px; margin-top: 6px; }
@media (max-width: 640px) {
  .bk-overlay { padding: 0; align-items: flex-end; }
  .bk-card { max-width: none; border-radius: 16px 16px 0 0; max-height: 94vh; border-bottom: none; }
  .bk-head { padding: 22px 20px 16px; }
  .bk-facts { padding: 10px 20px; }
  .bk-body { padding: 18px 20px calc(20px + env(safe-area-inset-bottom, 0px)); }
  .bk-done { padding: 26px 20px calc(26px + env(safe-area-inset-bottom, 0px)); }
}

/* 移动端底部常驻预约条 */
.mbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: none; gap: 10px; padding: 9px 14px calc(9px + env(safe-area-inset-bottom, 0px));
  background: rgba(252, 250, 245, .97); border-top: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.mbar .btn { flex: 1; justify-content: center; padding: 12px 10px; font-size: 15px; }
.mbar .btn-ghost { flex: 0 0 auto; padding: 12px 14px; }
@media (max-width: 767px) {
  .mbar { display: flex; }
  body { padding-bottom: 70px; }
}
