/* ============ 佳人医疗美容 H5 · 白 + 玫瑰金轻奢风 ============ */
:root {
  --gold: #b76e79;
  --gold-dark: #9d5a64;
  --gold-soft: #dcb0b4;
  --bg: #faf7f5;
  --card: #ffffff;
  --ink: #3b3338;
  --muted: #9d9298;
  --line: #eee0dc;
  --radius: 14px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--bg); }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
.page { max-width: 480px; margin: 0 auto; min-height: 100vh; }

/* ---- 品牌区 ---- */
.brand { padding: 40px 24px 26px; text-align: center; position: relative; }
.brand::before {
  content: ""; position: absolute; top: 16px; left: 50%; transform: translateX(-50%);
  width: 1px; height: 14px; background: var(--gold-soft);
}
.brand-est { font-size: 11px; letter-spacing: 2px; color: var(--muted); margin-bottom: 14px; }
.brand-name {
  font-family: "Songti SC", "Noto Serif SC", "STSong", serif;
  font-size: 30px; font-weight: 600; letter-spacing: 3px; color: var(--gold-dark); line-height: 1.25;
}
.brand-name span {
  display: block; font-family: "Didot", Georgia, serif; font-size: 14px;
  letter-spacing: 9px; margin-top: 8px; color: var(--ink); font-weight: 400;
}
.brand-slogan {
  margin-top: 16px; font-size: 13px; color: var(--muted); letter-spacing: 1px;
  display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap;
}
.brand-slogan::before, .brand-slogan::after {
  content: ""; width: 22px; height: 1px; background: var(--gold-soft);
}

/* ---- 诊所实景 ---- */
.scene { padding: 0 20px; }
.scene-card {
  position: relative; margin: 0; border-radius: 18px; overflow: hidden;
  box-shadow: 0 10px 30px rgba(183, 110, 121, .14);
  border: 1px solid rgba(220, 176, 180, .45);
}
.scene-card img { display: block; width: 100%; height: auto; }
.scene-card figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 34px 18px 14px;
  background: linear-gradient(180deg, rgba(59, 51, 56, 0) 0%, rgba(59, 51, 56, .62) 100%);
  color: #fff; font-size: 14px; letter-spacing: 2px; font-weight: 500;
}

/* ---- 数字背书（4 格）---- */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); margin: 22px 16px 0;
  background: var(--card); border-radius: var(--radius); padding: 16px 0;
  box-shadow: 0 6px 24px rgba(183, 110, 121, .08);
}
.stats > div { text-align: center; position: relative; }
.stats > div + div::before {
  content: ""; position: absolute; left: 0; top: 15%; height: 70%; width: 1px; background: var(--line);
}
.stats b {
  display: block; font-family: "Didot", Georgia, serif; font-size: 21px;
  color: var(--gold); font-weight: 500; line-height: 1.35;
}
.stats b sup { font-size: 10px; }
.stats i { font-style: normal; font-size: 10px; color: var(--muted); letter-spacing: 0; }

/* ---- 理念 ---- */
.intro { padding: 24px 28px 6px; }
.intro p { font-size: 13.5px; color: #6f666c; text-align: justify; }

/* ---- 项目 chips ---- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 16px 28px 0; justify-content: center; }
.chips span {
  font-size: 12px; color: var(--gold-dark); padding: 5px 14px;
  border: 1px solid var(--gold-soft); border-radius: 999px; background: #fff;
}

/* ---- 表单卡 ---- */
.form-card {
  margin: 28px 20px 26px; background: var(--card); border-radius: 18px;
  padding: 32px 24px 28px; box-shadow: 0 10px 40px rgba(183, 110, 121, .10);
  position: relative;
}
.form-card::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 46px; height: 3px; border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-soft));
}
.form-card h2 {
  text-align: center; font-family: "Songti SC", "Noto Serif SC", serif;
  font-size: 21px; letter-spacing: 3px; font-weight: 600;
}
.form-tip { text-align: center; font-size: 12px; color: var(--muted); margin: 8px 0 22px; }

.field { margin-bottom: 16px; }
.field label { display: block; font-size: 12.5px; color: #6f666c; margin-bottom: 7px; letter-spacing: 1px; }
.field label em { font-style: normal; font-size: 11px; color: var(--gold); }
.field input, .field select {
  width: 100%; height: 46px; border: 1px solid var(--line); border-radius: 10px;
  padding: 0 14px; font-size: 16px; color: var(--ink); background: #fdfbf9;
  appearance: none; -webkit-appearance: none; outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus {
  border-color: var(--gold); box-shadow: 0 0 0 3px rgba(183, 110, 121, .12);
}
.field input::placeholder { color: #c4b8bd; }
.field select {
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='10'%20height='6'%20viewBox='0%200%2010%206'%3E%3Cpath%20d='M1%201l4%204%204-4'%20stroke='%23b76e79'%20stroke-width='1.5'%20fill='none'%20stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}

.agree {
  display: flex; gap: 8px; align-items: flex-start;
  font-size: 12px; color: var(--muted); margin: 4px 0 6px; line-height: 1.5;
}
.agree input { margin-top: 3px; accent-color: var(--gold); flex: none; }
.agree a { color: var(--gold-dark); text-decoration: underline; }

.err { min-height: 18px; font-size: 12px; color: #c0564f; text-align: center; }

#submitBtn {
  width: 100%; height: 50px; border: none; border-radius: 12px; cursor: pointer;
  font-size: 16px; letter-spacing: 6px; color: #fff; font-weight: 500;
  background: linear-gradient(135deg, #c98992, var(--gold) 55%, var(--gold-dark));
  box-shadow: 0 8px 20px rgba(183, 110, 121, .35);
}
#submitBtn:active { transform: scale(.98); }
#submitBtn:disabled { opacity: .7; }

/* ---- 成功态 ---- */
.success { text-align: center; padding: 18px 0 6px; }
.success-icon {
  width: 58px; height: 58px; margin: 0 auto 14px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #fff; font-size: 26px; line-height: 58px;
}
.success h3 { font-size: 18px; letter-spacing: 2px; margin-bottom: 6px; }
.success p { font-size: 13px; color: var(--muted); }

.hidden { display: none !important; }

/* ---- 页脚 ---- */
footer { padding: 8px 28px 26px; text-align: center; }
footer p { font-size: 11px; color: #b3a8ad; line-height: 1.9; }
footer a { color: var(--gold-dark); }

/* ---- 隐私政策页 ---- */
.policy { padding: 10px 28px 30px; }
.policy h3 { font-size: 14px; color: var(--gold-dark); margin: 18px 0 6px; }
.policy p { font-size: 13px; color: #6f666c; text-align: justify; }
.policy-date { margin-top: 20px; font-size: 12px !important; color: var(--muted) !important; text-align: center !important; }
