:root {
  --bg: #fbf7f4;
  --surface: #ffffff;
  --ink: #2b2622;
  --ink-soft: #6b625b;
  --line: #ece3dc;
  --brand: #b23a48;        /* 余恋 · 玫红 */
  --brand-deep: #8c2f3c;
  --accent: #c98a3a;       /* 暖金 */
  --ok: #2e7d57;
  --radius: 16px;
  --shadow: 0 6px 24px rgba(120, 80, 60, 0.08);
  --maxw: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--brand-deep); text-decoration: none; }
img { max-width: 100%; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* —— 顶部导航 —— */
header.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(251, 247, 244, 0.88);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { font-weight: 800; font-size: 19px; letter-spacing: .5px; }
.brand .dot { color: var(--brand); }
.nav nav { display: flex; gap: 22px; font-size: 14px; }
.nav nav a { color: var(--ink-soft); }
.nav nav a:hover { color: var(--brand); }
.btn {
  display: inline-block; padding: 9px 18px; border-radius: 999px;
  background: var(--brand); color: #fff; font-weight: 600; font-size: 14px;
  transition: transform .12s ease, background .12s ease;
}
.btn:hover { background: var(--brand-deep); transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--brand-deep); border: 1px solid var(--brand); }

@media (max-width: 720px) {
  .nav nav { display: none; }
}

/* —— Hero —— */
.hero { padding: 72px 0 56px; text-align: center; }
.hero .tag {
  display: inline-block; padding: 5px 14px; border-radius: 999px;
  background: #f4e3d8; color: var(--brand-deep); font-size: 13px; font-weight: 600; margin-bottom: 18px;
}
.hero h1 { font-size: 40px; line-height: 1.25; margin: 0 0 14px; }
.hero h1 .hl { color: var(--brand); }
.hero p.lead { font-size: 17px; color: var(--ink-soft); max-width: 620px; margin: 0 auto 28px; }
.hero .cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* —— 通用区块 —— */
section.block { padding: 56px 0; }
section.block.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.eyebrow { color: var(--accent); font-weight: 700; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 10px; }
h2.title { font-size: 28px; margin: 0 0 14px; }
.lead-soft { color: var(--ink-soft); max-width: 720px; }

/* —— 卡片网格 —— */
.grid { display: grid; gap: 18px; margin-top: 28px; }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 820px) { .grid.cols-3, .grid.cols-2 { grid-template-columns: 1fr; } }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow);
}
.card h3 { margin: 0 0 8px; font-size: 18px; }
.card .ico { font-size: 26px; margin-bottom: 8px; display: block; }
.card p { margin: 0; color: var(--ink-soft); font-size: 14.5px; }

/* —— 关于品牌 —— */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 820px) { .about { grid-template-columns: 1fr; } }
.avatar {
  width: 100%; aspect-ratio: 1/1; border-radius: 24px;
  overflow: hidden; background: #f4e3d8;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow);
}
.avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* —— 合规提示条 —— */
.notice {
  margin: 28px 0 0; padding: 16px 18px; border-radius: 12px;
  background: #fdf3ee; border: 1px solid #f1d8cc; color: var(--brand-deep); font-size: 14px;
}
.notice b { color: var(--brand); }

/* —— 联系 —— */
.contact-box { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 24px; }
@media (max-width: 720px) { .contact-box { grid-template-columns: 1fr; } }
.contact-box .card { text-align: center; }
.contact-box .k { font-size: 13px; color: var(--ink-soft); }
.contact-box .v { font-weight: 700; font-size: 16px; color: var(--ink); word-break: break-all; }

/* —— 页脚 —— */
footer.site {
  background: #2b2622; color: #d9cfc8; padding: 40px 0 28px; font-size: 13.5px;
}
footer.site a { color: #e7b7a0; }
footer.site .cols { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
footer.site .beian { margin-top: 18px; padding-top: 16px; border-top: 1px solid #463e38; color: #b3a89f; line-height: 2; }
footer.site .beian a { margin-right: 14px; }
footer.site .copy { margin-top: 12px; color: #8c8178; }
footer.site .foot-contact { margin-top: 12px; color: #b3a89f; }
footer.site .foot-contact span { color: #e7b7a0; }
.ph { color: #e0a98f; font-style: italic; } /* 占位提示 */

/* —— 子页面（隐私/协议）通用 —— */
.doc { padding: 48px 0 64px; }
.doc h1 { font-size: 26px; margin: 0 0 6px; }
.doc .updated { color: var(--ink-soft); font-size: 13px; margin-bottom: 24px; }
.doc h2 { font-size: 19px; margin: 28px 0 8px; color: var(--brand-deep); }
.doc p, .doc li { color: var(--ink-soft); font-size: 15px; }
.doc ul { padding-left: 22px; }
.back { display: inline-block; margin-bottom: 18px; font-size: 14px; }

/* —— 服务卡片：价格与详情 —— */
.card.svc .svc-foot {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line);
}
.price { font-weight: 800; font-size: 19px; color: var(--brand); }
.price i { font-style: normal; font-size: 12px; font-weight: 500; color: var(--ink-soft); }
.detail-btn {
  padding: 6px 14px; border-radius: 999px; border: 1px solid var(--brand);
  background: #fff; color: var(--brand-deep); font-size: 13px; font-weight: 600; cursor: pointer;
}
.detail-btn:hover { background: var(--brand); color: #fff; }

/* —— 案例体验 —— */
.case-grid { display: grid; gap: 20px; margin-top: 28px; }
.case {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow);
}
.case h3 { margin: 0 0 6px; font-size: 18px; }
.case-note { color: var(--ink-soft); font-size: 14px; margin: 6px 0 12px; }
.case video {
  width: 100%; max-width: 560px; display: block; margin: 0 auto;
  border-radius: 12px; background: #000; box-shadow: var(--shadow);
}
.poster-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
@media (max-width: 720px) { .poster-row { grid-template-columns: repeat(2, 1fr); } }
.poster-row img {
  width: 100%; aspect-ratio: 9/16; object-fit: cover; border-radius: 10px;
  border: 1px solid var(--line); cursor: zoom-in;
}
.phone-shot {
  width: 100%; max-width: 300px; border-radius: 14px; border: 1px solid var(--line);
  display: block; cursor: zoom-in;
}
.case .steps { padding-left: 20px; color: var(--ink-soft); font-size: 14.5px; margin: 8px 0; }
.case .steps li { margin: 4px 0; }

/* —— PPT 生成示例（纯 CSS 版式） —— */
.slide-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 720px) { .slide-row { grid-template-columns: 1fr; } }
.slide {
  aspect-ratio: 16/9; border-radius: 10px; border: 1px solid var(--line);
  background: linear-gradient(160deg, #fffdfb, #f8ede4);
  padding: 14px 16px; box-shadow: var(--shadow); overflow: hidden;
}
.slide-tag {
  display: inline-block; font-size: 10px; letter-spacing: 2px; color: var(--accent);
  border: 1px solid #ecd9c2; border-radius: 999px; padding: 2px 8px; margin-bottom: 8px;
}
.slide-title { font-weight: 800; font-size: 16px; color: var(--brand-deep); }
.slide-sub { font-size: 11px; color: var(--ink-soft); margin-top: 6px; }
.slide-li { font-size: 12px; color: var(--ink); padding: 4px 0; border-bottom: 1px dashed var(--line); }
.slide-bars { display: flex; align-items: flex-end; gap: 8px; height: 60%; margin-top: 6px; }
.slide-bars span { flex: 1; background: linear-gradient(180deg, #d98b6a, #b23a48); border-radius: 4px 4px 0 0; }

/* —— 陪跑营海报 —— */
.camp-wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: 36px; align-items: center; }
@media (max-width: 820px) { .camp-wrap { grid-template-columns: 1fr; } }
.camp-poster img {
  width: 100%; border-radius: 14px; border: 1px solid var(--line);
  box-shadow: var(--shadow); cursor: zoom-in; display: block;
}
.camp-wrap .svc-foot { margin: 18px 0 0; }

/* —— 弹层 —— */
.modal {
  display: none; position: fixed; inset: 0; z-index: 50;
  background: rgba(43, 38, 34, 0.55); backdrop-filter: blur(3px);
  align-items: center; justify-content: center; padding: 20px;
}
.modal-box {
  background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow);
  max-width: 520px; width: 100%; max-height: 84vh; overflow-y: auto;
  padding: 26px 26px 22px; position: relative;
}
.modal-box h3 { margin: 0 0 4px; font-size: 20px; }
.modal-box .m-price { color: var(--brand); font-weight: 800; font-size: 22px; margin: 4px 0 10px; }
.modal-box .m-sec { font-size: 13px; font-weight: 700; color: var(--accent); margin: 14px 0 4px; letter-spacing: 1px; }
.modal-box ul { margin: 0; padding-left: 20px; color: var(--ink-soft); font-size: 14.5px; }
.modal-box p { color: var(--ink-soft); font-size: 14.5px; margin: 4px 0; }
.modal-box .btn { margin-top: 18px; }
.modal-x {
  position: absolute; top: 10px; right: 14px; border: none; background: none;
  font-size: 26px; color: var(--ink-soft); cursor: pointer; line-height: 1;
}
.modal-img { max-width: 92vw; max-height: 88vh; border-radius: 12px; box-shadow: var(--shadow); }

/* —— 弹层下单区 —— */
.buy-row { display: flex; align-items: center; gap: 14px; margin: 8px 0 4px; flex-wrap: wrap; }
.buy-row label { font-size: 14.5px; color: var(--ink); font-weight: 600; }
.buy-row input {
  width: 110px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px;
  font-size: 16px; font-weight: 700; color: var(--brand-deep); outline: none;
}
.buy-row input:focus { border-color: var(--brand); }
.buy-btn:disabled { opacity: .6; cursor: wait; }
.buy-tip { font-size: 12.5px; color: var(--ink-soft); margin-top: 8px; }

/* —— 案例区：媒体 + 文字双栏（缩小媒体占比） —— */
.case-duo {
  display: grid; grid-template-columns: 300px 1fr;
  gap: 26px; align-items: start; margin-top: 14px;
}
@media (max-width: 760px) { .case-duo { grid-template-columns: 1fr; } }
.case-media video,
.case-media img {
  width: 100%; display: block; border-radius: 12px; background: #000;
  box-shadow: var(--shadow);
}
.case-media img { background: #fff; }
.case .case-media video { max-width: 300px; }
.poster-shot { max-width: 300px; cursor: zoom-in; border: 1px solid var(--line); }
.phone-shot { max-width: 210px !important; }
.case .case-note { font-size: 13.5px; }
.case-cap { color: var(--ink-soft); font-size: 12.5px; margin: 8px 0 0; text-align: center; }
.case-text .case-k { font-size: 13px; font-weight: 700; color: var(--accent); letter-spacing: 1px; margin-bottom: 8px; }
.case-text ul { margin: 0; padding-left: 18px; color: var(--ink-soft); font-size: 14px; }
.case-text ul li { margin: 7px 0; }
.case-text ul li b { color: var(--ink); }

/* —— Native 扫码支付 —— */
.qr-wrap { text-align: center; margin-top: 14px; }
.qr-wrap #qr-img { display: inline-block; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); }
.qr-tip { font-size: 13px; color: var(--ink-soft); margin: 8px 0 0; }
.qr-ok { color: #1d7a3e; font-weight: 700; }

/* —— 手机微信支付链接 —— */
.wx-link { margin-top: 16px; border-top: 1px dashed var(--line); padding-top: 14px; }
.wx-link .qr-tip { margin-bottom: 8px; }
.copy-box { display: flex; gap: 8px; }
.copy-box input { flex: 1; min-width: 0; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; font-size: 12px; color: var(--ink-soft); }
.copy-box button { padding: 8px 14px; border: none; border-radius: 8px; background: var(--brand); color: #fff; font-weight: 600; font-size: 13px; cursor: pointer; white-space: nowrap; }
.wx-open { display: inline-block; margin-top: 10px; }
