/* 预约演示页（contact.html）与感谢页（thank-you.html）：浅色首屏 + 白色卡片；价值在前、流程在后；无角标、无第二人称。
   表单为 Tally 嵌入（官方 embed.js，高度随内容自动变化），提交后由 scripts/runtime/contact.js 跳转 thank-you.html。 */

body.booking-page { background: #fff; }
.bk-shell { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
/* subpage-system 给每个 section 加了顶部分隔线；这页靠留白分段 */
main.bk-page > section { border-top: 0; }

/* ---------- 首屏 ---------- */
.bk-hero { padding: 136px 0 88px; background: linear-gradient(180deg, #eef3fc 0%, #f7f9fe 58%, #fff 100%); }
.bk-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(400px, 480px);
  grid-template-areas: "head form" "points form" "trust form";
  grid-template-rows: auto auto 1fr;
  column-gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.bk-head { grid-area: head; }
.bk-points { grid-area: points; }
.bk-trust { grid-area: trust; }
.bk-form { grid-area: form; }

.bk-hero h1 { margin: 24px 0 0; color: #101828; font-size: 56px; font-weight: 700; line-height: 1.14; letter-spacing: -.03em; word-break: keep-all; overflow-wrap: anywhere; }
.bk-hero h1 span { display: block; }
p.bk-lead { max-width: 560px; margin: 22px 0 0; color: #475467; font-size: 18px; line-height: 1.75; }

.bk-points { display: grid; gap: 20px; max-width: 560px; margin: 40px 0 0; padding: 0; list-style: none; }
.bk-points li { position: relative; padding-left: 36px; }
.bk-points li::before {
  content: ''; position: absolute; left: 0; top: 1px; width: 24px; height: 24px; border-radius: 50%;
  background: #e8eeff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233157ff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.bk-points b { display: block; color: #101828; font-size: 16px; font-weight: 600; line-height: 1.5; }
.bk-points span { display: block; margin-top: 4px; color: #667085; font-size: 15px; line-height: 1.65; }

.bk-trust { max-width: 560px; margin-top: 44px; padding-top: 28px; border-top: 1px solid #e3e9f5; }
p.bk-trust-title { margin: 0 0 18px; color: #475467; font-size: 15px; }
.bk-trust-title b { margin-right: 6px; color: #101828; font-size: 20px; font-weight: 700; }
/* 6 个 logo 固定 3×2，任何宽度都不会剩一个单独换行 */
.bk-logos { display: grid; grid-template-columns: repeat(3, max-content); align-items: center; gap: 18px clamp(16px, 5vw, 44px); }
/* 与客户案例页同一套裁边 logo，--logo-h 按长宽比给出视觉等大的高度 */
.bk-logos img { width: auto; height: calc(var(--logo-h, 22px) * .8); max-width: 110px; object-fit: contain; filter: grayscale(1); opacity: .72; }

/* ---------- 表单卡片 ---------- */
.bk-form { padding: 32px 30px 22px; border: 1px solid #e3e9f5; border-radius: 24px; background: #fff; box-shadow: 0 28px 64px -28px rgba(16, 24, 40, .22); scroll-margin-top: 16px; } /* html 已有 scroll-padding-top（导航高度），这里只留一点间距，避免叠加 */
.bk-form h2 { margin: 0; color: #101828; font-size: 28px; font-weight: 600; line-height: 1.3; letter-spacing: -.02em; }
.bk-tally { margin: 14px -8px 0; }
.bk-tally iframe { display: block; width: 100%; border: 0; }
.bk-tally noscript a { color: #3157ff; }
p.bk-privacy { margin: 10px 0 0; color: #667085; font-size: 13px; line-height: 1.6; text-align: center; }
.bk-privacy a { color: #475467; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }

/* ---------- 通用区块 ---------- */
.bk-section { padding: 104px 0; }
.bk-hero + .bk-section { padding-top: 40px; }
.bk-section + .bk-section { padding-top: 0; }
.bk-section-head { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.bk-section-head h2 { margin: 0; color: #101828; font-size: 48px; font-weight: 600; line-height: 1.15; letter-spacing: -.03em; }
p.bk-section-lead { margin: 14px 0 0; color: #667085; font-size: 18px; line-height: 1.7; }

/* 演示后可以拿到 */
.bk-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.bk-cards article { padding: 28px 28px 30px; border: 1px solid #e3e9f5; border-radius: 20px; background: #f7f9fe; }
.bk-icon { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #dfe6f3; border-radius: 12px; background: #fff; }
.bk-icon img { width: 22px; height: 22px; }
.bk-cards h3 { margin: 20px 0 8px; color: #101828; font-size: 20px; font-weight: 600; line-height: 1.4; }
p.bk-card-text { margin: 0; color: #667085; font-size: 15px; line-height: 1.7; }

/* 常见问题：与 Live Chat 等产品页的 FAQ 一致（左标题、右列表、只有底边线） */
.bk-faq-grid { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1fr); gap: 82px; align-items: start; }
.bk-faq-grid .bk-section-head { margin: 0; text-align: left; }
.bk-section-head.bk-faq-head h2 { font-size: clamp(30px, 2.8vw, 40px); font-weight: 700; line-height: 1.15; }
.bk-faq-head h2 span { display: block; margin-bottom: 6px; color: #667085; font-size: 15px; font-weight: 400; letter-spacing: 0; }
.bk-faq-list details { border-bottom: 1px solid #dfe6f3; }
.bk-faq-list summary { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 25px 0; color: #111827; font-size: 17px; font-weight: 600; line-height: 1.5; list-style: none; cursor: pointer; }
.bk-faq-list summary::-webkit-details-marker { display: none; }
.bk-faq-list summary::after { content: '+'; flex: none; color: #3157ff; font-size: 22px; font-weight: 400; line-height: 1; }
.bk-faq-list details[open] summary::after { content: '−'; }
.bk-faq-list summary:focus-visible { outline: 2px solid #3157ff; outline-offset: 4px; border-radius: 6px; }
p.bk-faq-answer { margin: -10px 0 25px; color: #636b78; font-size: 15px; line-height: 1.8; }
.bk-faq-answer a { color: #3157ff; text-decoration: underline; text-underline-offset: 3px; white-space: normal; }

/* ---------- 响应式 ---------- */
@media (max-width: 1199px) {
  .bk-hero { padding-top: 124px; }
}

@media (max-width: 1050px) {
  .bk-hero h1 { font-size: 44px; }
  .bk-section-head h2 { font-size: 38px; }
  p.bk-lead, p.bk-section-lead { font-size: 17px; }
  .bk-form h2 { font-size: 26px; }
  .bk-cards h3 { font-size: 19px; }
  .bk-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(360px, 420px); column-gap: 40px; }
}

@media (max-width: 860px) {
  .bk-hero-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "form" "points" "trust"; grid-template-rows: none; row-gap: 32px; }
  .bk-form { width: 100%; max-width: 600px; }
  .bk-points { margin-top: 8px; }
  .bk-trust { margin-top: 0; }
  .bk-cards { grid-template-columns: minmax(0, 1fr); }
  .bk-faq-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}

@media (max-width: 760px) {
  .bk-shell { width: calc(100% - 40px); }
  .bk-hero { padding: 104px 0 56px; }
  .bk-hero + .bk-section { padding-top: 24px; }
  .bk-hero h1 { margin-top: 12px; font-size: 34px; }
  p.bk-lead { margin-top: 16px; font-size: 16px; }
  .bk-form { padding: 24px 18px 16px; border-radius: 20px; }
  .bk-form h2 { font-size: 22px; }
  .bk-tally { margin: 10px -6px 0; }
  .bk-logos { row-gap: 14px; }
  .bk-logos img { height: calc(var(--logo-h, 22px) * .72); }
  .bk-section { padding: 72px 0; }
  .bk-section-head { margin-bottom: 32px; text-align: left; }
  .bk-section-head h2 { font-size: 30px; }
  p.bk-section-lead { font-size: 16px; }
  .bk-cards h3 { font-size: 18px; }
}

/* 320 宽度：首屏标题每行 9 个字，34px 放不下会从词中间断开 */
@media (max-width: 360px) {
  .bk-hero h1 { font-size: 30px; }
}

/* ---------- 感谢页（thank-you.html） ---------- */
.bk-thanks { display: grid; align-items: center; min-height: calc(100vh - 76px); padding: 64px 0 96px; background: linear-gradient(180deg, #eef3fc 0%, #f7f9fe 58%, #fff 100%); }
.bk-thanks-card { width: min(640px, 100%); margin: 0 auto; padding: 48px 48px 40px; border: 1px solid #e3e9f5; border-radius: 24px; background: #fff; box-shadow: 0 28px 64px -28px rgba(16, 24, 40, .22); text-align: center; }
.bk-thanks-mark { display: block; width: 56px; height: 56px; margin: 0 auto 24px; border-radius: 50%; background: #3157ff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 26px no-repeat; box-shadow: 0 0 0 8px #e8eeff; }
.bk-thanks-card h1 { margin: 0; color: #101828; font-size: 48px; font-weight: 600; line-height: 1.15; letter-spacing: -.03em; }
p.bk-thanks-lead { max-width: 520px; margin: 14px auto 0; color: #475467; font-size: 18px; line-height: 1.7; }
.bk-thanks-qr { display: flex; align-items: center; gap: 18px; margin-top: 32px; padding: 16px 20px; border: 1px solid #e3e9f5; border-radius: 16px; background: #f7f9fe; text-align: left; }
.bk-thanks-qr img { flex: none; width: 112px; height: 112px; border-radius: 8px; background: #fff; }
p.bk-thanks-qr-text { margin: 0; }
.bk-thanks-qr-text b { display: block; color: #101828; font-size: 15px; font-weight: 600; line-height: 1.6; }
.bk-thanks-qr-text span { display: block; margin-top: 2px; color: #667085; font-size: 15px; line-height: 1.65; }
/* 按钮与产品页 voice-btn 一致：高 52、圆角 8、主色 #4466fa */
.bk-thanks-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.bk-thanks-actions a { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border: 1px solid #cfd3da; border-radius: 8px; color: #111318; background: #fff; font-size: 15px; font-weight: 600; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.bk-thanks-actions a:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(16, 24, 40, .12); }
.bk-thanks-actions a.bk-btn-primary { border-color: #4466fa; color: #fff; background: #4466fa; box-shadow: 0 6px 16px rgba(76, 111, 255, .2); }
.bk-thanks-actions a:focus-visible { outline: 2px solid #3157ff; outline-offset: 3px; }

@media (max-width: 1050px) {
  .bk-thanks-card h1 { font-size: 38px; }
  p.bk-thanks-lead { font-size: 17px; }
}

@media (max-width: 760px) {
  .bk-thanks { align-items: start; min-height: calc(100vh - 62px); padding: 28px 0 56px; }
  .bk-thanks-card { padding: 36px 20px 28px; border-radius: 20px; }
  .bk-thanks-mark { width: 48px; height: 48px; margin-bottom: 20px; background-size: 22px; box-shadow: 0 0 0 6px #e8eeff; }
  .bk-thanks-card h1 { font-size: 30px; }
  p.bk-thanks-lead { font-size: 16px; }
  .bk-thanks-qr { gap: 14px; padding: 14px; }
  .bk-thanks-qr img { width: 88px; height: 88px; }
  .bk-thanks-actions a { flex: 1 1 0; min-height: 48px; padding: 0 12px; }
}
