/* 预约演示页（book-demo.html / en/book-demo.html）专用样式
 *
 * 为什么单独一个文件、而不并进 main.css：
 *   这套 .bd-* 只有预约页用到。并进 main.css 的话，改这里一行就要给 1100+ 个页面换
 *   资源指纹；而独立文件只在两个页面被引用，指纹是同一个 ?v=（见 scripts/_stamp_assets.js），
 *   缓存失效范围也就是这两个页面。
 *
 * 为什么不做两份（中文页 / 英文页各内联一段）：
 *   两份一模一样的内联 <style> 是「改一处忘另一处」的标准现场 —— 改完中文页看起来对了，
 *   英文页还是旧间距。所以这里只留一份，两个页面都 <link> 它。
 *   依赖的 --text-muted / --accent-soft / --radius 等变量由 css/main.css 定义。
 */

.bd-wrap { padding: clamp(2rem, 5vw, 3.5rem) 0 3rem; }
.bd-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
@media (max-width: 900px) { .bd-grid { grid-template-columns: 1fr; } }
.bd-copy h1 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); line-height: 1.25; margin: .4rem 0 .8rem; }
.bd-copy > p { color: var(--text-muted); margin: 0 0 1.5rem; }
.bd-steps { display: grid; gap: .85rem; margin: 0 0 1.5rem; }
.bd-step { display: grid; grid-template-columns: 2rem 1fr; gap: .75rem; align-items: start; }
.bd-step span { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--accent-soft); color: var(--primary-dark); font-weight: 700; font-size: .85rem; }
.bd-step strong { display: block; font-size: .98rem; }
.bd-step small { color: var(--text-muted); font-size: .88rem; }
.bd-promise { border-left: 3px solid var(--accent); background: var(--accent-soft); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: .9rem 1rem; color: #6b4a08; font-size: .9rem; }
.bd-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(1.25rem, 3vw, 1.75rem); }
.bd-card h2 { font-size: 1.15rem; margin: 0 0 .25rem; }
.bd-card > p.bd-hint { color: var(--text-muted); font-size: .88rem; margin: 0 0 1.2rem; }
.bd-row { display: grid; gap: .35rem; margin-bottom: .95rem; }
.bd-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
@media (max-width: 520px) { .bd-row-2 { grid-template-columns: 1fr; } }
.bd-row label, .bd-row-2 label { font-size: .86rem; font-weight: 600; }
.bd-req { color: #b3261e; margin-left: .15rem; }
.bd-opt { color: var(--text-muted); font-weight: 400; }
.bd-card input[type="text"], .bd-card input[type="tel"], .bd-card input[type="email"],
.bd-card select, .bd-card textarea {
  width: 100%; font: inherit; font-size: .95rem; color: var(--text);
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: .62rem .72rem; min-height: 2.6rem;
}
.bd-card input:focus, .bd-card select:focus, .bd-card textarea:focus {
  outline: 2px solid rgba(13, 92, 99, .35); outline-offset: 1px; border-color: var(--primary);
}
.bd-card textarea { min-height: 5.2rem; resize: vertical; }
.bd-consent { display: grid; grid-template-columns: 1.05rem 1fr; gap: .55rem; align-items: start; font-size: .84rem; color: var(--text-muted); margin: .2rem 0 1rem; }
.bd-consent input { width: 1.05rem; height: 1.05rem; margin: .18rem 0 0; }
.bd-submit { width: 100%; }
.bd-submit[disabled] { opacity: .65; cursor: progress; }
.bd-status { margin-top: .85rem; font-size: .88rem; border-radius: var(--radius-sm); padding: .7rem .8rem; }
.bd-status[data-kind="success"] { background: #e8f5ec; color: #1b5e20; }
.bd-status[data-kind="error"] { background: #fdecea; color: #b3261e; }
.bd-status[data-kind="info"] { background: var(--accent-soft); color: #6b4a08; }
.bd-errors { margin: 0 0 1rem; background: #fdecea; color: #b3261e; border-radius: var(--radius-sm); padding: .7rem .9rem; font-size: .88rem; }
.bd-errors ul { list-style: disc; padding-left: 1.1rem; }
.bd-errors li + li { margin-top: .25rem; }
.bd-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.bd-alt { margin-top: 1.1rem; padding-top: 1rem; border-top: 1px dashed var(--border); font-size: .86rem; color: var(--text-muted); }
.bd-alt a { color: var(--primary); font-weight: 600; }
.bd-picked { font-weight: 700; color: var(--primary); }
.bd-faq { margin-top: 2.5rem; }
.bd-faq details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: .85rem 1rem; margin-bottom: .6rem; }
.bd-faq summary { cursor: pointer; font-weight: 600; }
.bd-faq p { margin: .6rem 0 0; color: var(--text-muted); font-size: .9rem; }
