/* AltarMala 落地页 v2.0 覆盖样式（加载于主样式之后） */

/* ---- U1：移动端 hero 图限高，保证首屏露出主 CTA ---- */
@media (max-width: 767px) {
  .hero .product-img { max-height: 40vh; width: auto; max-width: 100%; display: block; margin: 0 auto; }
}

/* ---- U2：表单区统一品牌暖色（暖米底 + 深棕文字 + 琥珀金 CTA，深绿仅点缀） ---- */
.form-section { background: linear-gradient(180deg, #f6ecdb 0%, #f0e2c9 100%) !important; }
.form-left h2, .form-left p { color: #3b2f22 !important; }
.form-left .trust-list .trust-item { color: #5a4a33 !important; }
.form-card { background: #fffdf8 !important; border: 1px solid #e6d9bf !important; box-shadow: 0 8px 24px rgba(59, 47, 34, .08) !important; }
.form-card h3, .form-card label { color: #3b2f22 !important; }
.form-card .price-tag { background: #c9a45c !important; color: #fff !important; }
.form-card input[type="text"], .form-card input[type="tel"], .form-card input[type="date"], .form-card select {
  background: #fff !important; border: 1px solid #e0d5c2 !important; color: #2a2a2a !important;
}
.form-card .form-submit { background: #c9a45c !important; color: #fff !important; }
.form-card .form-submit:hover { background: #b8924a !important; }
.form-card .hint, .form-card .form-lunar-note, .form-card .field-hint { color: #8a7a63 !important; }
.form-card .form-error { color: #b0432f !important; }
.form-card .form-privacy, .form-card .form-privacy a { color: #8a7a63 !important; }
.form-card .form-success h3 { color: #3b2f22 !important; }

/* ---- U3：移动端 sticky 底部 CTA 条 ---- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: none; align-items: center; justify-content: center;
  height: 52px; background: #c9a45c; color: #fff; font-weight: 600;
  font-size: 15px; text-decoration: none; box-shadow: 0 -2px 12px rgba(0, 0, 0, .14);
}
.sticky-cta.show { display: flex; }
body.sticky-visible .wa-fab { bottom: 66px; }
@media (min-width: 961px) { .sticky-cta { display: none !important; } }

/* ---- U5：案例卡「顾问分析」要点行 ---- */
.case-card .advisor-note {
  margin-top: 10px; padding: 8px 10px; background: #faf3e6;
  border-left: 3px solid #c9a45c; font-size: 13px; color: #6b5a3e; border-radius: 6px;
}

/* ---- 生辰档案示例卡（表单区上方） ---- */
.energy-section { padding: 8px 0 0; }
.energy-card-wrap {
  display: grid; gap: 16px; align-items: center; background: #fff;
  border: 1px solid var(--line); border-radius: 16px; padding: 20px; box-shadow: var(--shadow);
}
@media (min-width: 768px) { .energy-card-wrap { grid-template-columns: 1.1fr .9fr; } }
.energy-card-wrap img { border-radius: 12px; width: 100%; height: auto; }
.energy-caption h3 { font-size: 1.2rem; margin-bottom: 6px; color: var(--brown, #3b2f22); }
.energy-caption p { color: var(--text-muted, #888); font-size: 14px; margin: 0; }

/* ---- 鉴定卡 / 五行晶石阵列（为什么选择我们区） ---- */
.why-verify { display: grid; gap: 16px; margin-top: 24px; }
@media (min-width: 768px) { .why-verify { grid-template-columns: 1fr 1fr; } }
.why-verify img { width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line); }

/* ---- 轻量测算卡（fa） ---- */
.reading-section { padding: 24px 0; }
.reading-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px; box-shadow: var(--shadow); }
.reading-card h2 { font-size: 1.3rem; margin-bottom: 6px; }
.reading-card .reading-sub { color: var(--text-muted); font-size: 14px; margin: 0 0 18px; }
.radio-row { display: flex; gap: 18px; flex-wrap: wrap; }
.radio { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; }

/* ---- 表单小字提示（C3） ---- */
.field-hint { font-size: 12px; color: #8a7a63; margin: 6px 0 0; }

/* ---- 说明页表格 / 引言 ---- */
.legal-table { width: 100%; border-collapse: collapse; margin: 6px 0 14px; font-size: 14px; }
.legal-table th, .legal-table td { border: 1px solid var(--border, #e0d8cc); padding: 8px 10px; text-align: left; }
.legal-table th { background: #faf3e6; }
.legal-lead { color: var(--text-muted, #888); margin-bottom: 18px; }

/* ---- 五行测算结果页（fa） ---- */
.reading-result-page .legal-wrap { max-width: 720px; }
.donut-wrap { display: flex; flex-direction: column; align-items: center; margin: 12px 0 8px; }
#wx-donut { width: min(280px, 70vw); height: auto; }
.wx-legend { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 10px; }
.wx-legend span { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: var(--text-muted, #888); }
.wx-legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.wx-note { font-size: 15px; text-align: center; margin: 6px 0 4px; }
.wx-recs { list-style: none; padding: 0; margin: 8px 0; }
.wx-recs li { background: #faf3e6; border-left: 3px solid #c9a45c; padding: 10px 12px; border-radius: 8px; margin-bottom: 8px; font-size: 14px; }
.wx-nohour { color: var(--text-muted, #888); font-size: 12px; }
.result-ctas { display: grid; gap: 10px; margin-top: 18px; }
.result-ctas .btn { width: 100%; }
.result-fullnote { font-size: 13px; color: var(--text-muted, #888); text-align: center; margin: 8px 0 0; }
.result-disclaimer { font-size: 12px; color: var(--text-muted, #888); text-align: center; margin: 6px 0 0; }
.wx-empty { text-align: center; color: var(--text-muted, #888); padding: 24px 0; }

/* 生命数字区块（fa 结果页） */
.wx-sec-title { color: var(--brown, #3b2f22) !important; margin-top: 22px !important; }
.wx-nl { margin-top: 8px; }
.wx-nl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (min-width: 560px) { .wx-nl-grid { grid-template-columns: repeat(3, 1fr); } }
.nl-main {
  grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr; gap: 4px 14px;
  align-items: center; background: linear-gradient(135deg, #fbf4e6, #f6ead2);
  border: 1px solid #e6d9bf; border-radius: 12px; padding: 14px 16px;
}
.nl-num {
  grid-row: span 3; font-size: 44px; font-weight: 700; color: #8a6a2f;
  font-family: Georgia, serif; line-height: 1;
}
.nl-tag { font-weight: 700; color: #3b2f22; font-size: 15px; }
.nl-trait { color: #6b5a3e; font-size: 13px; }
.nl-lab { color: #a0906f; font-size: 11px; letter-spacing: .05em; }
.nl-chip { background: #fff; border: 1px solid var(--line, #e0d8cc); border-radius: 10px; padding: 10px 12px; display: grid; gap: 2px; }
.nl-v { font-size: 20px; font-weight: 700; color: #3b2f22; }
.nl-v2 { font-size: 13px; font-weight: 600; color: #3b2f22; }
.nl-l { font-size: 11px; color: #a0906f; letter-spacing: .04em; }
.nl-wide { grid-column: 1 / -1; }
