/* 陪诊 H5 —— 手机端公共样式 */
:root {
  --brand: #0e7c86;
  --brand-dark: #0a5f68;
  --brand-light: #e7f4f5;
  --ink: #1b2b30;
  --ink-2: #5b6b70;
  --ink-3: #8a979b;
  --line: #e6ecee;
  --bg: #f5f8f8;
  --card: #ffffff;
  --warn: #b26b00;
  --warn-bg: #fff6e6;
  --radius: 16px;
  --shadow: 0 4px 20px rgba(14, 124, 134, 0.08);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--bg); color: var(--ink);
  font-size: 15px; line-height: 1.6;
  padding-bottom: 88px;
}
a { color: var(--brand); text-decoration: none; }
.wrap { max-width: 520px; margin: 0 auto; padding: 0 16px; }

/* 顶部（参考图：深青色 + logo + 中英文标题） */
.topbar {
  background: linear-gradient(135deg, #0f7a84, #0a5b64);
  color: #fff; padding: 26px 16px 30px;
}
.topbar .wrap { padding: 0 4px; }
.topbar-inner { display: flex; align-items: center; gap: 14px; }
.top-logo { width: 68px; height: 68px; object-fit: contain; flex: none; }
.top-titles { min-width: 0; }
.brand-line { display: flex; align-items: center; gap: 8px; font-size: 13px; opacity: .92; }
.brand-dot { width: 8px; height: 8px; border-radius: 50%; background: #9fe3c4; }
.topbar h1 { font-size: 22px; margin: 6px 0 2px; font-weight: 700; letter-spacing: .5px; }
.topbar p, .topbar .top-en { margin: 0; font-size: 13px; opacity: .9; line-height: 1.6; }
.topbar .top-en { font-size: 12px; letter-spacing: 1px; opacity: .72; }

/* 品牌卡（logo + 沪上陪诊 + 三段式副标题） */
.brand-card {
  display: flex; align-items: center; gap: 14px;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 16px; margin-top: 16px;
}
.brand-card img { width: 58px; height: 58px; object-fit: contain; flex: none; }
.brand-card .brand-cn { font-size: 24px; font-weight: 700; color: var(--brand-dark); letter-spacing: 2px; }
.brand-card .brand-slogan { font-size: 12px; color: var(--ink-2); margin-top: 2px; }

/* 首页二维码卡 */
.qr-card { display: flex; align-items: center; gap: 14px; }
.qr-card img { width: 120px; height: auto; border-radius: 8px; flex: none; }
.qr-card .qr-text b { font-size: 14px; color: var(--ink); }
.qr-card .qr-text p { font-size: 12px; color: var(--ink-2); margin: 4px 0 0; line-height: 1.6; }

/* 分区标题 */
.section { margin-top: 22px; }
.section-title { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 700; margin: 0 0 12px; }
.section-title .bar { width: 4px; height: 16px; border-radius: 2px; background: var(--brand); }
.section-sub { font-size: 12px; color: var(--ink-3); font-weight: 400; margin-left: auto; }

/* 公告 */
.notice {
  background: var(--warn-bg); color: var(--warn); border-radius: 12px;
  padding: 10px 12px; font-size: 12px; line-height: 1.6; margin-top: 14px;
}

/* 套餐卡片 */
.pkg-card {
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 16px; margin-bottom: 12px; display: block; color: var(--ink);
  transition: transform .12s;
}
.pkg-card:active { transform: scale(.985); }
.pkg-head { display: flex; align-items: flex-start; gap: 10px; }
.pkg-stage {
  flex: none; font-size: 11px; color: var(--brand); background: var(--brand-light);
  border-radius: 6px; padding: 3px 8px; font-weight: 600; margin-top: 2px;
}
.pkg-name { font-size: 17px; font-weight: 700; }
.pkg-sub { font-size: 12px; color: var(--ink-2); margin-top: 2px; }
.pkg-desc { font-size: 13px; color: var(--ink-2); margin: 10px 0; }
.pkg-foot { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 10px; }
.pkg-price { font-size: 15px; font-weight: 700; color: var(--brand); }
.pkg-price small { font-size: 12px; font-weight: 400; color: var(--ink-3); }
.pkg-go { font-size: 13px; color: var(--brand); }

/* 通用卡片 */
.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px; margin-bottom: 12px; }
.card h3 { margin: 0 0 10px; font-size: 15px; }
.feature-list { list-style: none; margin: 0; padding: 0; }
.feature-list li { position: relative; padding-left: 20px; margin-bottom: 8px; font-size: 14px; color: var(--ink-2); }
.feature-list li::before { content: ''; position: absolute; left: 2px; top: 9px; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }
.meta-row { display: flex; font-size: 13px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.meta-row:last-child { border-bottom: none; }
.meta-key { color: var(--ink-3); width: 92px; flex: none; }
.meta-val { color: var(--ink); flex: 1; }

/* 表单 */
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 7px; }
.field label .req { color: #d0453b; }
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 10px;
  padding: 11px 12px; font-size: 15px; font-family: inherit; background: #fff; color: var(--ink);
  outline: none;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand); }
.field textarea { min-height: 76px; resize: vertical; }
.hint { font-size: 12px; color: var(--ink-3); margin-top: 5px; }
.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.check-item {
  display: flex; align-items: center; gap: 6px; font-size: 13px;
  border: 1px solid var(--line); border-radius: 10px; padding: 9px 10px; background: #fff;
}
.check-item input { width: 16px; height: 16px; accent-color: var(--brand); flex: none; }
.agreement { display: flex; align-items: flex-start; gap: 8px; font-size: 12px; color: var(--ink-2); margin: 6px 0 0; }
.agreement input { margin-top: 3px; accent-color: var(--brand); }

/* 按钮 */
.btn {
  display: block; width: 100%; border: none; border-radius: 12px;
  padding: 14px; font-size: 16px; font-weight: 700; font-family: inherit;
  background: var(--brand); color: #fff; text-align: center; cursor: pointer;
}
.btn:active { background: var(--brand-dark); }
.btn.block { margin-top: 8px; }
.btn.ghost { background: #fff; color: var(--brand); border: 1px solid var(--brand); }
.btn.small { width: auto; display: inline-block; padding: 8px 18px; font-size: 14px; }
.btn[disabled] { opacity: .5; }

/* 底部客服悬浮按钮 */
.kf-fab {
  position: fixed; right: 18px; bottom: 22px; z-index: 50;
  background: var(--brand); color: #fff; border: none; border-radius: 999px;
  padding: 12px 18px; font-size: 14px; font-weight: 600; font-family: inherit;
  box-shadow: 0 6px 18px rgba(14,124,134,.32); cursor: pointer;
}
.kf-fab:active { background: var(--brand-dark); }

/* 状态标签 */
.status { display: inline-block; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--brand-light); color: var(--brand); }
.status.done { background: #eaf7ee; color: #27813f; }
.status.cancel { background: #f2f3f4; color: #8a979b; }

/* 步骤条 */
.steps { display: flex; align-items: center; margin: 4px 0 2px; }
.step { flex: 1; text-align: center; font-size: 11px; color: var(--ink-3); position: relative; }
.step .dot { width: 22px; height: 22px; border-radius: 50%; background: var(--line); color: #fff; display: flex; align-items: center; justify-content: center; margin: 0 auto 5px; font-size: 12px; }
.step.on { color: var(--brand); font-weight: 600; }
.step.on .dot { background: var(--brand); }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--line); padding: 12px 0; }
.faq-item:last-child { border-bottom: none; }
.faq-q { font-size: 14px; font-weight: 600; display: flex; gap: 6px; }
.faq-a { font-size: 13px; color: var(--ink-2); margin-top: 6px; padding-left: 18px; }

/* 列表项 */
.order-item { display: block; background: #fff; border-radius: 12px; padding: 14px; margin-bottom: 10px; color: var(--ink); box-shadow: var(--shadow); }
.order-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.order-no { font-size: 12px; color: var(--ink-3); }
.order-title { font-size: 16px; font-weight: 700; }
.order-meta { font-size: 12px; color: var(--ink-2); margin-top: 4px; }

/* 提示条 */
.tip { background: var(--brand-light); color: var(--brand-dark); border-radius: 10px; padding: 10px 12px; font-size: 12px; line-height: 1.6; margin-bottom: 14px; }
.empty { text-align: center; color: var(--ink-3); padding: 40px 0; font-size: 14px; }
.code-box { background: #fff; border: 1px dashed var(--brand); border-radius: 12px; padding: 14px; font-size: 13px; color: var(--ink); word-break: break-all; margin: 10px 0; }

/* 底部 Tab 栏 */
.bottom-tabs {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: #fff; border-top: 1px solid var(--line);
  display: flex; max-width: 520px; margin: 0 auto;
  padding: 6px 0 calc(6px + env(safe-area-inset-bottom));
}
.tab-item {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px;
  font-size: 11px; color: var(--ink-3); text-decoration: none;
}
.tab-item.on { color: var(--brand); font-weight: 600; }
.tab-ico { width: 22px; height: 22px; display: block; border-radius: 5px; background: var(--line); position: relative; }
.tab-item.on .tab-ico { background: var(--brand-light); }
.tab-ico::before { content: ''; position: absolute; inset: 5px; border: 2px solid var(--ink-3); border-radius: 3px; }
.tab-item.on .tab-ico::before { border-color: var(--brand); }
.ico-home::before { border-radius: 3px 3px 6px 6px; }
.ico-orders::before { border-radius: 2px; border-width: 2px 2px 0 0; height: 8px; }
.ico-service::before { border-radius: 50%; }
.ico-me::before { border-radius: 50%; }
.kf-fab { bottom: 76px; }
body:has(.bottom-tabs) { padding-bottom: 96px; }

/* 关于我们 */
.about-card p { font-size: 14px; color: var(--ink-2); line-height: 1.9; margin: 0 0 10px; }
.about-card p:last-child { margin-bottom: 0; }
.about-card p::before { content: ''; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--brand); vertical-align: middle; margin-right: 8px; }
/* 底部须知小字 */
.foot-note { font-size: 11px; color: var(--ink-3); line-height: 1.7; text-align: center; margin: 24px 4px 8px; }
.foot-note a { color: var(--ink-3); text-decoration: underline; }
/* 价格行（VIP民宿） */
.price-row { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; font-size: 14px; border-bottom: 1px solid var(--line); }
.price-row:last-child { border-bottom: none; }
