/* Jade Life Agency · 淑萍 Soo Ping landing page
   配色：象牙白 + 香槟米 + 金线，翡翠绿只用于文字和标题，不做背景。 */

:root {
  --jade: #1F5E2E;           /* 标题、重点文字 */
  --jade-dark: #143F1F;
  --ink: #2E2B25;            /* 正文：暖炭灰 */
  --muted: #5B5448;          /* 次要文字（米白底对比度 > 7:1） */
  --gold: #C9A24A;           /* 只用于线条、图标描边 */
  --gold-text: #8A6A1F;      /* 金色文字 */
  --ivory: #FBF7EE;          /* 页面底色 */
  --white: #FFFFFF;
  --champagne: #F4EAD5;      /* 交替区块底色 */
  --sand: #EADBB9;           /* 最深的暖色，只用于细节 */
  --line: #E7DCC3;
  --lotus: #E58AA0;
  --wa: #25D366;
  --wa-text: #0B2E17;
  --radius: 6px;
  --shadow: 0 14px 36px rgba(92, 70, 24, .10);
  --sans: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  --serif: "Noto Serif SC", "Songti SC", "SimSun", serif;
  --header-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.75;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--jade); }
p { margin: 0 0 1em; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--jade);
  line-height: 1.35;
  margin: 0 0 .5em;
  letter-spacing: .04em;
}
h1 { font-size: clamp(1.75rem, 7.4vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 4.4vw, 2.2rem); }
h3 { font-size: 1.22rem; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .wrap { padding: 0 32px; } }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--white); color: var(--jade); padding: 8px 16px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--jade); outline-offset: 3px; border-radius: 4px; }

.icon { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.nowrap { white-space: nowrap; }

/* 小标签：金色细字，放在 H2 上方 */
.eyebrow {
  display: inline-block; font-size: 14px; font-weight: 700; letter-spacing: .28em;
  color: var(--gold-text); margin-bottom: 8px;
}

/* 分隔：金线 + 菱形 */
.divider { width: 120px; height: 1px; border: 0; background: var(--gold); margin: 0 0 28px; position: relative; overflow: visible; }
.divider::after {
  content: ""; position: absolute; left: 50%; top: -4px; width: 8px; height: 8px;
  background: var(--gold); transform: translateX(-50%) rotate(45deg);
}
.center { text-align: center; }
.center .divider { margin-left: auto; margin-right: auto; }
.lead { font-size: 1.06rem; color: var(--muted); max-width: 46em; }
.center .lead { margin-left: auto; margin-right: auto; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.center .cta-row { justify-content: center; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 10px 26px; border-radius: 4px; border: 1.5px solid transparent;
  font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.3; letter-spacing: .05em;
  text-decoration: none; text-align: center; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn .icon { width: 20px; height: 20px; }
.btn-wa { background: var(--wa); color: var(--wa-text); border-color: var(--wa); box-shadow: 0 8px 20px rgba(37, 211, 102, .28); }
.btn-wa:hover { background: #2EE074; }
.btn-outline { background: var(--white); color: var(--jade); border-color: var(--gold); }
.btn-outline:hover { background: var(--champagne); }
.btn-sm { min-height: 44px; padding: 8px 16px; font-size: .95rem; letter-spacing: .02em; }

/* ---------- 顶部栏 ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--line); box-shadow: 0 2px 12px rgba(92, 70, 24, .05); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); min-width: 0; min-height: 44px; }
.brand img { width: 40px; height: 40px; flex: none; }
.brand-text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 15px; }
.brand-text strong { color: var(--jade); font-family: var(--serif); font-size: 16px; letter-spacing: .04em; }
.brand-title { color: var(--gold-text); }
@media (max-width: 420px) {
  .brand-title { display: none; }
  .site-header .btn-sm { padding: 8px 14px; font-size: .9rem; }
}

/* ---------- 区块 ---------- */
section { padding: 60px 0; }
@media (min-width: 768px) { section { padding: 88px 0; } }
.section-alt { background: var(--white); }
.section-champagne { background: var(--champagne); }

/* ---------- 首屏 ---------- */
.hero { padding: 0 0 56px; background: var(--ivory); }
.hero-grid { display: grid; gap: 0; }
/* 封面：两张园区照片。大图 + 右下角白框小图 */
.hero-photo { margin: 0 -16px 56px; position: relative; }
.hero-photo .cover-main { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.hero-photo .cover-inset {
  position: absolute; right: 16px; bottom: -36px; width: 34%; height: auto; aspect-ratio: 8 / 9; object-fit: cover;
  border: 5px solid var(--white); outline: 1px solid var(--gold); box-shadow: var(--shadow);
}
.hero-text { padding-top: 4px; }
.subtitle {
  font-family: var(--serif); font-weight: 600; color: var(--gold-text);
  font-size: clamp(1.1rem, 3.4vw, 1.4rem); line-height: 1.5; margin: 0 0 18px;
}
.price-line { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; font-weight: 700; color: var(--jade); }
.price-line span { background: var(--white); border: 1px solid var(--gold); padding: 4px 12px; font-size: .95rem; letter-spacing: .02em; }
.hero-note { color: var(--muted); margin: 0; }
.hero .cta-row .btn { flex: 1 1 220px; }
@media (min-width: 560px) { .hero .cta-row .btn { flex: 0 1 auto; } }
.trust { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.trust li { display: flex; align-items: center; gap: 6px; font-size: .95rem; }
.trust .icon { width: 20px; height: 20px; color: var(--gold-text); }

/* 名片（取代人像照） */
.name-card {
  margin-top: 32px; background: var(--white); border: 1px solid var(--gold); border-radius: 2px;
  outline: 1px solid var(--line); outline-offset: 6px;
  padding: 20px 22px; display: flex; gap: 16px; align-items: center; box-shadow: var(--shadow);
}
.name-card img { width: 64px; height: 64px; flex: none; }
.name-card .profile-name { font-family: var(--serif); font-weight: 600; font-size: 1.35rem; color: var(--jade); margin: 0; letter-spacing: .06em; }
.name-card .profile-role { margin: 0 0 4px; color: var(--muted); font-size: 15px; line-height: 1.55; }
.name-card .profile-phone { margin: 0; font-weight: 700; color: var(--ink); white-space: nowrap; }
@media (max-width: 420px) {
  .name-card { padding: 16px; gap: 12px; }
  .name-card img { width: 52px; height: 52px; }
  .name-card .profile-phone { font-size: 15px; }
}
.name-card .profile-phone a { text-decoration: none; display: inline-block; padding: 6px 2px; }

@media (min-width: 768px) {
  .hero-photo { margin: 0 -32px 72px; }
  .hero-photo .cover-inset { right: 32px; bottom: -48px; width: 28%; }
}
@media (min-width: 960px) {
  .hero { padding: 64px 0 96px; }
  .hero-grid { grid-template-columns: 1fr 1.1fr; column-gap: 56px; align-items: center; }
  .hero-text { grid-column: 1; grid-row: 1 / span 2; padding-top: 0; }
  .hero-photo { grid-column: 2; grid-row: 1 / span 2; margin: 0 0 40px 0; }
  .hero-photo::before {   /* 白色内框 */
    content: ""; position: absolute; inset: 14px; border: 1px solid rgba(255, 255, 255, .85); pointer-events: none; z-index: 1;
  }
  .hero-photo .cover-main { aspect-ratio: 4 / 3; border-radius: 2px; box-shadow: var(--shadow); }
  .hero-photo .cover-inset { right: auto; left: -48px; bottom: -40px; width: 36%; z-index: 2; }
  .hero-photo::before { bottom: 14px; }
  .hero h1 { font-size: clamp(2.2rem, 3.6vw, 2.9rem); }
  .name-card { margin-top: 32px; width: min(460px, 100%); }
}

/* ---------- 你是否也在想 ---------- */
.concerns { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 12px; }
@media (min-width: 768px) { .concerns { grid-template-columns: 1fr 1fr; } }
.concerns li {
  background: var(--ivory); border: 1px solid var(--line); border-left: 3px solid var(--gold);
  padding: 16px 20px; font-family: var(--serif); font-weight: 600; color: var(--jade); font-size: 1.05rem;
}

/* ---------- 三种规划方式 ---------- */
.cards { display: grid; gap: 20px; margin-top: 8px; }
@media (min-width: 768px) { .cards-3 { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--white); border: 1px solid var(--line); border-radius: 2px; overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.card-img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.card-art {
  aspect-ratio: 3 / 2; display: flex; align-items: center; justify-content: center;
  background: var(--champagne); color: var(--gold-text); position: relative;
}
.card-art::before { content: ""; position: absolute; inset: 12px; border: 1px solid var(--gold); }
.card-art .icon { width: 72px; height: 72px; stroke-width: 1.4; }
.card-body { padding: 22px 24px 26px; border-top: 3px solid var(--gold); }
.card h3 { margin-bottom: .35em; }
.card p { margin: 0; }

/* ---------- 价格表 ---------- */
.price-grid { display: grid; gap: 0 28px; }
@media (min-width: 900px) { .price-grid { grid-template-columns: 1fr 1fr; align-items: start; } }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 0 24px; background: var(--white); border: 1px solid var(--sand); border-radius: 2px; box-shadow: var(--shadow); }
table { width: 100%; border-collapse: collapse; min-width: 280px; }
caption { text-align: left; font-family: var(--serif); font-weight: 600; font-size: 1.1rem; color: var(--jade); padding: 16px 20px 8px; }
th, td { padding: 14px 20px; text-align: left; border-top: 1px solid var(--line); }
thead th { background: var(--champagne); color: var(--gold-text); font-size: .95rem; letter-spacing: .12em; border-top: 0; border-bottom: 1px solid var(--gold); }
td:last-child, th:last-child { text-align: right; white-space: nowrap; }
tbody td:last-child { font-family: var(--serif); font-weight: 600; font-size: 1.12rem; color: var(--jade); }
.disclaimer { font-size: 15px; color: var(--muted); background: var(--ivory); border: 1px solid var(--line); border-left: 3px solid var(--gold); padding: 14px 18px; margin: 0; }

/* ---------- 优惠（只在有效期内由 JS 插入） ---------- */
.promo-box { background: var(--white); border: 1px solid var(--gold); outline: 1px solid var(--line); outline-offset: 6px; padding: 30px 26px; max-width: 760px; margin: 0 auto; }
.promo-box .label { display: inline-block; font-size: 14px; font-weight: 700; color: var(--gold-text); letter-spacing: .2em; margin-bottom: 6px; }
.promo-meta { font-size: 15px; color: var(--muted); margin: 0; }

/* ---------- 园区 ---------- */
.gallery { display: grid; gap: 16px; margin: 8px 0 24px; }
@media (min-width: 640px) { .gallery { grid-template-columns: 1fr 1fr; } }
.gallery figure { margin: 0; position: relative; overflow: hidden; border-radius: 2px; box-shadow: var(--shadow); }
.gallery img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.gallery figcaption {
  position: absolute; left: 12px; bottom: 10px; font-size: 14px; color: var(--ink);
  background: rgba(255, 255, 255, .92); padding: 2px 10px; border-radius: 2px; letter-spacing: .06em;
}
.loc-grid { list-style: none; padding: 0; display: grid; gap: 12px; grid-template-columns: 1fr; margin: 0 0 24px; }
@media (min-width: 560px) { .loc-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .loc-grid { grid-template-columns: repeat(3, 1fr); } }
.loc { display: flex; gap: 12px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: 2px; padding: 16px 18px; }
.loc .icon { color: var(--gold-text); width: 22px; height: 22px; }
.loc h3 { font-size: 1.05rem; margin: 0; letter-spacing: .02em; }
.loc .tag { display: inline-block; margin-top: 2px; font-size: 14px; color: var(--gold-text); border: 1px solid var(--gold); border-radius: 2px; padding: 0 8px; }

/* ---------- 为什么找淑萍 ---------- */
.why { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
@media (min-width: 768px) { .why { grid-template-columns: 1fr 1fr; } }
.why li { display: flex; gap: 14px; align-items: flex-start; background: var(--white); border: 1px solid var(--line); border-radius: 2px; padding: 18px 20px; }
.why .icon { color: var(--gold-text); margin-top: 4px; }
.why strong { color: var(--jade); font-family: var(--serif); }

/* ---------- 购买流程 ---------- */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; gap: 12px; max-width: 760px; }
.steps li {
  counter-increment: step; position: relative; padding: 14px 18px 14px 70px; min-height: 62px;
  background: var(--white); border: 1px solid var(--line); border-radius: 2px; display: flex; align-items: center;
}
.steps li::before {
  content: counter(step); position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--gold); background: var(--champagne);
  display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-weight: 600; color: var(--gold-text);
}

/* ---------- 付款 ---------- */
.pay { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; max-width: 760px; }
.pay li { display: flex; gap: 10px; align-items: flex-start; background: var(--ivory); border: 1px solid var(--line); border-radius: 2px; padding: 12px 16px; }
.pay .icon { color: var(--gold-text); margin-top: 4px; width: 20px; height: 20px; }

/* ---------- FAQ ---------- */
.faq { max-width: 840px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 2px; margin-bottom: 10px; }
.faq details[open] { border-left: 3px solid var(--gold); }
.faq summary { list-style: none; cursor: pointer; padding: 16px 52px 16px 20px; position: relative; font-weight: 700; color: var(--jade-dark); min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 9px; height: 9px;
  border-right: 2px solid var(--gold-text); border-bottom: 2px solid var(--gold-text);
  transform: translateY(-70%) rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { margin: 0; padding: 0 20px 18px; }

/* ---------- 最后呼吁 ---------- */
.final { text-align: center; background: var(--champagne); position: relative; }
.final::before { content: ""; position: absolute; inset: 14px; border: 1px solid var(--gold); pointer-events: none; }
.final .btn { font-size: 1.05rem; }
@media (max-width: 767px) {
  .final > .wrap { padding-left: 28px; padding-right: 28px; }
  .final .btn { padding-left: 14px; padding-right: 14px; }
}

/* ---------- 页尾 ---------- */
.site-footer { background: var(--white); border-top: 1px solid var(--gold); padding: 40px 0 112px; font-size: 15px; color: var(--muted); }
@media (min-width: 900px) { .site-footer { padding-bottom: 48px; } }
.site-footer img { width: 72px; height: 72px; margin-bottom: 12px; }
.site-footer p { margin: 0 0 10px; }
.site-footer .org { color: var(--jade); font-weight: 700; }
.site-footer a { display: inline-block; padding: 10px 0; }

/* ---------- 浮动 WhatsApp ---------- */
.float-wa {
  position: fixed; right: 16px; bottom: 16px; z-index: 60; width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; background: var(--wa); color: var(--wa-text);
  box-shadow: 0 8px 22px rgba(11, 46, 23, .25); transition: opacity .25s ease, transform .25s ease;
}
.float-wa .icon { width: 28px; height: 28px; }
.js .float-wa:not(.show) { opacity: 0; transform: translateY(12px); pointer-events: none; visibility: hidden; }

/* ---------- 隐私声明等简单页面 ---------- */
.doc { max-width: 760px; padding: 40px 16px 64px; margin: 0 auto; }
.doc h2 { font-size: 1.3rem; margin-top: 1.6em; }
.doc ul { padding-left: 1.3em; }
.doc li { margin-bottom: .4em; }
