/* ============================================================
   页面版式：按 WEB排版示意图 实现
   背景样式在 bg.css（并在 style.css 之后加载）
   ============================================================ */

:root {
  --ink: #6b4a2a;
  --ink-strong: #3a2a1e;
  --nav: #8a5a3c;
  --title: #825023;

  --green: #557200;
  --green-note: #6f882f;
  --green-deep: #2f6b2a;

  --pink-soft: #b8697b;
  --pink: #c14365;
  --pink-text: #ad7887;

  --teal: #079383;
  --orange: #c86002;
  --fees-green: #6f9700;
  --contact-pink: #b75066;

  --serif: "Source Han Serif SC", "Source Han Serif", "Noto Serif CJK SC",
    "Noto Serif SC", "思源宋体", "Source Han Serif CN", "Songti SC",
    Georgia, "Times New Roman", serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  position: relative;
  margin: 0;
  min-height: 100svh;
  background: #f8efe2;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 300;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

section[id] {
  scroll-margin-top: 24px;
}

/* ---------- 顶部导航 ---------- */
.site-header {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  padding: 34px 24px 0;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(26px, 7vw, 100px);
}

.site-nav a {
  color: var(--nav);
  font-size: clamp(18px, 1.8vw, 26px);
  font-weight: 700;
  letter-spacing: .01em;
  text-decoration: none;
  transition: color .2s ease;
}

.site-nav a:hover {
  color: #5f3a22;
}

/* ---------- 内容容器 ---------- */
.page {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px 92px;
  min-height: 320svh;
}

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 200px;
  gap: 40px;
  align-items: start;
  padding-top: 80px;
}

.hero-main {
  text-align: center;
}

.hero-title {
  margin: 0;
  color: var(--title);
  font-size: clamp(28px, 3.05vw, 44px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -.005em;
}

.hero-sub {
  margin: 20px auto 0;
  color: var(--green);
  font-size: clamp(19px, 1.95vw, 28px);
  font-weight: 700;
  line-height: 1.36;
}

.hero-sub span {
  display: block;
}

.fit {
  padding-top: 66px;
  text-align: left;
  transform: translate(100px, 0);
}

.fit h2 {
  margin: 0 0 20px;
  color: #6d882c;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.35;
}

.fit ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.fit li {
  margin: 0 0 12px;
  color: #66492f;
  font-size: 16px;
  line-height: 1.45;
}

/* ---------- How It Works ---------- */
.how {
  margin-top: -160px;
  padding-top: 40px;
  text-align: center;
  transform: translateX(-120px);
}

.how h2 {
  margin: 0 0 26px;
  color: var(--pink-soft);
  font-size: clamp(24px, 2vw, 28px);
  font-weight: 700;
  letter-spacing: .01em;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 980px;
  margin: 0 auto;
}

.step h3 {
  margin: 0 0 6px;
  color: var(--pink-soft);
  font-size: 22px;
  font-weight: 700;
}

/* 带序号的操作步骤列表：编号 1-5 跨栏连续 */
.step-list {
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--pink-text);
  font-size: 18px;
  line-height: 1.35;
}

.step-num {
  display: inline-block;
  min-width: 1.1em;
  margin-right: .35em;
  color: var(--pink-soft);
  font-weight: 700;
}

/* ---------- 通用版块标题 ---------- */
.section-title {
  margin: 0;
  text-align: center;
  font-weight: 900;
  line-height: 1.2;
}

/* ---------- Services ---------- */
.services {
  padding-top: 140px;
}

.services .section-title {
  margin-bottom: 74px;
  color: var(--orange);
  font-size: clamp(30px, 2.6vw, 36px);
  letter-spacing: .14em;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 84px;
}

.type {
  margin: 0 0 18px;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.2;
}

.type--a {
  color: var(--pink);
}

.type--b {
  color: var(--teal);
}

.two-col h4 {
  margin: 0 0 16px;
  color: var(--ink-strong);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
}

.two-col p {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.55;
}

.benefits {
  max-width: 620px;
  margin: 54px auto 0;
  color: var(--green-deep);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.55;
  text-align: left;
}

.benefits p {
  margin: 0;
}

/* ---------- Fees ---------- */
.fees {
  padding-top: 145px;
}

.fees .section-title {
  margin-bottom: 78px;
  color: var(--fees-green);
  font-size: clamp(30px, 2.6vw, 36px);
  letter-spacing: .18em;
}

.fee {
  margin-top: 28px;
}

.fee p {
  margin: 0 0 6px;
  font-size: 18px;
  line-height: 1.52;
}

.fee strong {
  color: var(--ink-strong);
}

.fee-no {
  font-weight: 700;
}

.fee--a .fee-no {
  color: var(--pink);
}

.fee--b .fee-no {
  color: var(--teal);
}

.fee .price {
  color: var(--green-deep);
  font-size: 17px;
  font-weight: 700;
}

/* ---------- Contact ---------- */
.contact {
  padding-top: 132px;
  text-align: center;
}

.contact .section-title {
  margin-bottom: 56px;
  color: var(--contact-pink);
  font-size: clamp(36px, 3vw, 44px);
  letter-spacing: .24em;
}

.wechat-icon {
  width: 92px;
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(10px 16px 10px rgba(0, 0, 0, .4));
}

.contact-line {
  margin: 26px 0 34px;
  color: #518300;
  font-size: clamp(24px, 2.1vw, 30px);
  font-weight: 700;
}

.contact-line strong {
  color: inherit;
  font-size: 1.2em;
  font-weight: 700;
}

.wechat-id {
  color: #383838;
  font-family: "Source Han Sans SC", "Source Han Sans", "Noto Sans CJK SC",
    "Noto Sans SC", "思源黑体", "Microsoft YaHei", sans-serif;
  font-weight: 900;
}

.cards {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 26px;
}

.card {
  height: auto;
  filter: drop-shadow(14px 20px 12px rgba(0, 0, 0, .4));
}

.card--chat {
  width: 304px;
}

.card--id {
  width: 358px;
}

.cta {
  margin: 44px 0 0;
  color: #538500;
  font-size: clamp(22px, 1.9vw, 26px);
  font-weight: 700;
  line-height: 1.4;
}

.cta-sub {
  color: inherit;
}

.cta-main {
  font-size: 0.85em;
}

/* ---------- 窄屏 ---------- */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 6px;
    padding-top: 56px;
  }

  .fit {
    padding-top: 34px;
    transform: none;
  }

  .how {
    margin-top: 0;
    padding-top: 44px;
    transform: none;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .two-col {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .services {
    padding-top: 96px;
  }

  .fees {
    padding-top: 104px;
  }

  .contact {
    padding-top: 110px;
  }

  .services .section-title,
  .fees .section-title {
    margin-bottom: 46px;
  }

  .benefits {
    font-size: 19px;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 16px;
  }

  .site-nav {
    gap: 16px 22px;
  }

  .hero-title {
    font-size: clamp(28px, 8vw, 36px);
  }

  .card--chat {
    width: 78vw;
  }

  .card--id {
    width: 86vw;
  }

  .type {
    font-size: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
