:root {
  --cream: #faf7f2;
  --sand: #efe6d8;
  --wood: #8b5e3c;
  --wood-dark: #6e4a2e;
  --sage: #6b7f5e;
  --ink: #2b2420;
  --ink-2: #6a5f55;
  --line: #e4d9c8;
  --serif: "Songti SC", "Noto Serif SC", "Source Han Serif SC", "STSong", "SimSun", serif;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--sans); background: var(--cream); color: var(--ink); line-height: 1.75; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
svg { display: block; width: 100%; height: 100%; }
button, input, select { font: inherit; color: inherit; }
[hidden] { display: none !important; }
h1, h2 { text-wrap: balance; }

.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; }
section[id] { scroll-margin-top: 68px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 0 24px;
  border-radius: 8px; background: var(--wood); color: var(--cream); font-weight: 600; font-size: 15px;
  border: 1px solid var(--wood); cursor: pointer; transition: background .2s, transform .15s; white-space: nowrap;
}
.btn:hover { background: var(--wood-dark); border-color: var(--wood-dark); }
.btn:active { transform: scale(.97); }
.btn-line { background: transparent; color: var(--wood); }
.btn-line:hover { background: var(--sand); color: var(--wood-dark); }
.btn-sm { height: 36px; padding: 0 14px; font-size: 14px; }
.btn-full { width: 100%; }
.kicker { font-size: 13px; letter-spacing: .14em; color: var(--sage); font-weight: 600; }
.kicker-light { color: #b9c9ab; }

/* 顶栏 */
.header { position: sticky; top: 0; z-index: 50; background: rgba(250, 247, 242, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { height: 60px; display: flex; align-items: center; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-weight: 700; font-size: 20px; margin-right: auto; }
.brand-mark { width: 32px; height: 32px; border-radius: 7px; background: var(--wood); padding: 6px; }
.brand-mark path { fill: none; stroke: var(--cream); stroke-width: 3; stroke-linejoin: round; }
.menu-btn { width: 40px; height: 40px; display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 0 9px; background: none; border: 0; cursor: pointer; }
.menu-btn span { height: 2px; background: var(--ink); border-radius: 1px; transition: transform .25s; }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.nav {
  position: absolute; top: 60px; left: 0; right: 0; display: flex; flex-direction: column;
  background: var(--cream); border-bottom: 1px solid var(--line); padding: 8px 20px 16px;
  transform: translateY(-8px); opacity: 0; visibility: hidden; transition: all .2s;
}
.nav.open { transform: none; opacity: 1; visibility: visible; }
.nav a { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.nav a:last-child { border-bottom: 0; }

/* 首屏 */
.hero { padding: 44px 0 56px; background: linear-gradient(180deg, var(--cream), #f5eee3); }
.hero-inner { display: grid; gap: 36px; }
.hero h1 { font-family: var(--serif); font-size: 36px; line-height: 1.35; margin: 12px 0 16px; }
.hero-sub { color: var(--ink-2); font-size: 16px; max-width: 480px; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-btns .btn { flex: 1 1 150px; }
.hero-art { position: relative; }
.hero-art img { display: block; width: 100%; height: auto; aspect-ratio: 6 / 5; object-fit: cover; border-radius: 24px; box-shadow: 0 20px 50px rgba(110, 74, 46, .15); }
.hero-badge {
  position: absolute; left: -6px; bottom: 22px; background: #fff; border-radius: 14px; padding: 10px 16px;
  box-shadow: 0 10px 30px rgba(43, 36, 32, .14); display: flex; align-items: baseline; gap: 8px;
}
.hero-badge strong { font-family: var(--serif); font-size: 24px; color: var(--wood); }
.hero-badge span { font-size: 13px; color: var(--ink-2); }

/* 数据条 */
.stats { background: var(--wood); color: var(--cream); }
.stats-inner { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 12px; padding-top: 28px; padding-bottom: 28px; text-align: center; }
.stats strong { display: block; font-family: var(--serif); font-size: 30px; line-height: 1.2; }
.stats span { font-size: 13px; opacity: .8; }

/* 区块 */
.section { padding: 68px 0; }
.section-tint { background: var(--sand); }
.head { margin-bottom: 32px; }
.head h2 { font-family: var(--serif); font-size: 26px; line-height: 1.4; margin-top: 8px; }

/* 产品 */
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.product { background: #fff; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); transition: transform .25s, box-shadow .25s; }
.product:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(110, 74, 46, .12); }
.product-art { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.product h3 { font-size: 16px; padding: 12px 14px 2px; }
.product p { font-size: 13px; color: var(--ink-2); padding: 0 14px 16px; line-height: 1.6; }

/* 优势 */
.why-grid { display: grid; gap: 14px; }
.why { background: var(--cream); border-radius: 14px; padding: 20px; display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; }
.why-icon { display: block; grid-row: span 2; width: 44px; height: 44px; border-radius: 12px; background: #fff; color: var(--wood); padding: 10px; }
.why-icon svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.why h3 { font-size: 17px; }
.why p { font-size: 14px; color: var(--ink-2); }

.flow { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 36px; }
.flow li { background: var(--wood); color: var(--cream); border-radius: 14px; padding: 16px; display: flex; flex-direction: column; }
.flow span { font-family: var(--serif); font-size: 13px; opacity: .6; }
.flow strong { font-size: 17px; margin-top: 2px; }
.flow small { font-size: 13px; opacity: .8; }

/* 案例 */
.case-grid { display: grid; gap: 22px; }
.case { background: #fff; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); }
.case-art { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.case figcaption { padding: 14px 18px 18px; }
.case h3 { font-size: 17px; }
.case p { font-size: 13px; color: var(--ink-2); }

/* 预约 */
.section-dark { background: var(--ink); color: var(--cream); }
.book { display: grid; gap: 32px; }
.book-text h2 { font-family: var(--serif); font-size: 26px; line-height: 1.45; margin: 8px 0 12px; }
.book-text > p { color: #cbbfb2; font-size: 15px; }
.book-points { list-style: none; margin-top: 18px; display: grid; gap: 8px; font-size: 15px; }
.book-points li::before { content: "✓"; color: #b9c9ab; font-weight: 700; margin-right: 10px; }
.book-form { background: var(--cream); color: var(--ink); border-radius: 18px; padding: 24px 20px; }
.form-body { display: grid; gap: 14px; }
.book-form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.book-form input, .book-form select {
  height: 46px; padding: 0 14px; border: 1px solid var(--line); border-radius: 8px; background: #fff;
  font-size: 16px; font-weight: 400; outline: none; transition: border-color .2s, box-shadow .2s; width: 100%;
}
.book-form input:focus, .book-form select:focus { border-color: var(--wood); box-shadow: 0 0 0 3px rgba(139, 94, 60, .15); }
.book-form input.invalid { border-color: #c0392b; }
.form-error { min-height: 1em; font-size: 13px; color: #c0392b; margin: -4px 0 -6px; }
.form-note { font-size: 12px; color: #a3978a; text-align: center; }
.form-done { text-align: center; padding: 28px 8px; }
.done-icon { display: block; width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 50%; background: var(--sage); padding: 14px; }
.done-icon svg { fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.form-done h3 { font-family: var(--serif); font-size: 22px; }
.form-done p { color: var(--ink-2); font-size: 14px; margin-top: 6px; }

/* 页脚 */
.footer { background: #231d1a; color: #a3978a; font-size: 13px; padding: 32px 0; }
.footer-inner { display: grid; gap: 16px; }
.footer strong { color: var(--cream); font-family: var(--serif); font-size: 16px; }
.demo-note { font-size: 12px; opacity: .8; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

@media (min-width: 720px) {
  .wrap { padding: 0 36px; }
  .hero { padding: 80px 0 96px; }
  .hero-inner { grid-template-columns: 1.05fr 1fr; align-items: center; gap: 56px; }
  .hero h1 { font-size: 48px; }
  .hero-btns .btn { flex: none; }
  .stats-inner { grid-template-columns: repeat(4, 1fr); padding-top: 36px; padding-bottom: 36px; }
  .stats strong { font-size: 38px; }
  .section { padding: 96px 0; }
  .head { text-align: center; margin-bottom: 44px; }
  .head h2 { font-size: 34px; }
  .product-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .product h3 { font-size: 17px; padding: 16px 18px 4px; }
  .product p { font-size: 14px; padding: 0 18px 20px; }
  .why-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .flow { grid-template-columns: repeat(4, 1fr); }
  .case-grid { grid-template-columns: repeat(3, 1fr); }
  .book { grid-template-columns: 1fr 1fr; align-items: center; gap: 56px; }
  .book-text h2 { font-size: 34px; }
  .book-form { padding: 32px; }
  .footer-inner { grid-template-columns: 1fr auto; align-items: end; }
}

@media (min-width: 900px) {
  .menu-btn { display: none; }
  .nav { position: static; flex-direction: row; gap: 28px; padding: 0; background: none; border: 0; transform: none; opacity: 1; visibility: visible; margin-right: 20px; }
  .nav a { padding: 0; border: 0; font-size: 15px; color: var(--ink-2); }
  .nav a:hover { color: var(--wood); }
  .why-grid { grid-template-columns: repeat(4, 1fr); }
  .why { display: block; }
  .why-icon { margin-bottom: 14px; }
}
