/* ============================================================
   绿启未来工坊 · 站点样式（火土暖色版）
   配色逻辑：
     火（橙红）= 行动 → CTA、按钮、强调
     土（米黄驼棕）= 财/信任 → 价格、保证、信任条
     金（白浅灰）= 专业 → 留白、边框、正文
     木（绿）= 仅 Logo 点缀
   自包含：不依赖任何外部 CSS / 字体 / 图片
   ============================================================ */

/* ---------- 1. 变量与重置 ---------- */
:root {
  /* 金 · 专业：正文与留白 */
  --ink: #333333;
  --ink-2: #4f4642;
  --ink-3: #7b6f68;
  --ink-4: #a89c93;

  /* 背景：暖米白 */
  --bg: #fdf8f2;
  --bg-soft: #f8f0e6;
  --bg-warm: #f2e6d6;

  /* 火 · 行动 */
  --fire: #c0392b;
  --fire-dark: #a32e22;
  --wine: #8c1f28;
  --wine-dark: #6e1620;

  /* 土 · 财与信任 */
  --earth: #b07b4f;
  --earth-dark: #8f5f38;
  --earth-soft: #e8c99b;
  --earth-pale: #f6e9d8;

  /* 深色区（火）：页脚、内训块 */
  --deep: #4a1418;
  --deep-2: #5e1b20;
  --on-deep: #f7ede4;
  --on-deep-2: #d9c3b4;

  /* 线：浅驼 */
  --line: #e4d3c4;
  --line-2: #efe3d6;
  --line-dark: rgba(247, 237, 228, .16);

  /* 木：仅 Logo 点缀 */
  --leaf: #356e4c;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(74, 20, 24, .04), 0 8px 24px rgba(74, 20, 24, .06);
  --shadow-lg: 0 2px 4px rgba(74, 20, 24, .05), 0 18px 48px rgba(74, 20, 24, .10);

  --maxw: 1120px;
  --maxw-narrow: 760px;
  --pad: clamp(20px, 5vw, 48px);

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
          "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC",
          "Noto Sans CJK SC", sans-serif;
  --font-num: ui-monospace, "SF Mono", "Cascadia Mono", Consolas, monospace;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.3em; }
li { margin: .35em 0; }
strong { font-weight: 600; }
::selection { background: var(--earth-soft); color: var(--wine-dark); }

:focus-visible {
  outline: 2px solid var(--fire);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- 2. 布局 ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
}
.wrap-wide { max-width: 1280px; }
.narrow { max-width: var(--maxw-narrow); }

.section { padding: clamp(56px, 8vw, 96px) 0; }
.section--soft { background: var(--bg-soft); }
.section--deep {
  background: var(--deep);
  color: var(--on-deep);
}
.section--tight { padding: clamp(36px, 5vw, 56px) 0; }
.section--flush-top { padding-top: 0; }

.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }

/* ---------- 3. 头部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(253, 248, 242, .94);
  backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 66px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 650;
  letter-spacing: -.01em;
  white-space: nowrap;
  color: var(--wine);
}
.brand-mark {
  width: 26px; height: 26px;
  border-radius: 7px;
  background: var(--leaf);
  color: #fff;
  display: grid; place-items: center;
  font-size: 11px; font-weight: 700;
  font-family: var(--font-num);
  flex: none;
  letter-spacing: -.5px;
}
.brand-sub { color: var(--ink-3); font-weight: 400; font-size: 13px; }

.nav-pill {
  margin-left: 6px;
  font-size: 12.5px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--earth-soft);
  background: var(--earth-pale);
  color: var(--earth-dark);
  font-weight: 600;
  white-space: nowrap;
  transition: background .16s, color .16s;
}
.nav-pill:hover { background: var(--earth-soft); color: var(--wine); }

.nav { margin-left: auto; }
.nav ul {
  display: flex; gap: 2px;
  list-style: none; margin: 0; padding: 0;
}
.nav a {
  display: block;
  padding: 8px 11px;
  border-radius: 7px;
  font-size: 14.5px;
  color: var(--ink-2);
  transition: background .16s, color .16s;
  white-space: nowrap;
}
.nav a:hover { background: var(--earth-pale); color: var(--wine); }
.nav a[aria-current="page"] { color: var(--fire); font-weight: 600; }

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 40px; height: 40px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 18px; height: 1.6px;
  margin: 5px auto;
  background: var(--wine);
  transition: transform .2s, opacity .2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }

/* ---------- 4. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .12s, box-shadow .18s, background .18s, color .18s, border-color .18s;
  font-family: inherit;
}
.btn:active { transform: translateY(1px); }

/* 火：全站最亮的一个元素 */
.btn-primary {
  background: var(--fire);
  color: #fff;
  box-shadow: 0 6px 18px rgba(192, 57, 43, .26);
}
.btn-primary:hover { background: var(--fire-dark); box-shadow: 0 10px 26px rgba(192, 57, 43, .34); }

.btn-ghost {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--earth); color: var(--wine); }

.btn-sm { padding: 9px 15px; font-size: 14px; border-radius: 8px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- 5. Hero（暖米白 + 火土光晕） ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 480px at 84% -12%, rgba(192, 57, 43, .10), transparent 62%),
    radial-gradient(760px 460px at 6% 8%, rgba(176, 123, 79, .14), transparent 60%),
    var(--bg);
  color: var(--ink);
  padding: clamp(64px, 9vw, 112px) 0 clamp(56px, 8vw, 96px);
  border-bottom: 1px solid var(--line);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.eyebrow {
  display: inline-block;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--earth-dark);
  margin: 0 0 18px;
}

.h1 {
  font-size: clamp(34px, 5.4vw, 60px);
  line-height: 1.12;
  letter-spacing: -.025em;
  font-weight: 700;
  margin: 0 0 22px;
  color: var(--wine);
}
.h1 em {
  font-style: normal;
  color: var(--fire);
}
.lead {
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.8;
  color: var(--ink-2);
  margin: 0 0 30px;
  max-width: 34em;
}

.hero-trust {
  margin: 26px 0 0;
  font-size: 13.5px;
  color: var(--ink-3);
  line-height: 1.9;
}
.hero-trust strong { color: var(--wine); font-weight: 600; }

/* hero 右侧：深酒红「章」（火），无图片 */
.hero-art {
  position: relative;
  aspect-ratio: 4 / 3.4;
  border-radius: 18px;
  border: 1px solid rgba(232, 201, 155, .26);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .01)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .045) 0 1px, transparent 1px 28px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .045) 0 1px, transparent 1px 28px),
    linear-gradient(160deg, var(--deep-2), var(--deep));
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  padding: clamp(18px, 3vw, 30px);
  box-shadow: var(--shadow-lg);
}
.hero-art::after {
  content: "";
  position: absolute;
  inset: auto -20% -42% -20%;
  height: 70%;
  background: radial-gradient(closest-side, rgba(192, 57, 43, .42), transparent);
  filter: blur(10px);
  pointer-events: none;
}
.art-label {
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #c9a88f;
  position: relative; z-index: 1;
}
.art-num {
  font-family: var(--font-num);
  font-size: clamp(46px, 7vw, 74px);
  line-height: 1;
  letter-spacing: -.04em;
  color: var(--on-deep);
  position: relative; z-index: 1;
}
.art-num small { font-size: .32em; color: var(--earth-soft); letter-spacing: .04em; }
.art-list {
  position: relative; z-index: 1;
  display: grid; gap: 10px;
  width: max-content;
  font-size: 13.5px;
  color: var(--on-deep-2);
}
.art-list span { display: flex; align-items: baseline; gap: 8px; }
.art-list b {
  font-family: var(--font-num);
  color: var(--earth-soft);
  font-weight: 600;
  min-width: 2.6em;
}

/* ---------- 6. 区块标题 ---------- */
.sec-head { margin-bottom: clamp(28px, 4vw, 44px); max-width: 42em; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head .eyebrow { color: var(--earth-dark); margin-bottom: 12px; }
.h2 {
  font-size: clamp(25px, 3.4vw, 36px);
  line-height: 1.24;
  letter-spacing: -.02em;
  font-weight: 700;
  margin: 0 0 14px;
  color: var(--wine);
}
.sec-head p { color: var(--ink-3); margin: 0; font-size: 16.5px; line-height: 1.85; }
.section--deep .h2 { color: var(--on-deep); }
.section--deep .sec-head p { color: var(--on-deep-2); }
.section--deep .eyebrow { color: var(--earth-soft); }

/* ---------- 7. 卡片 ---------- */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow .2s, transform .2s, border-color .2s;
}
a.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
  border-color: var(--earth);
}
.card h3 {
  font-size: 18px;
  margin: 0;
  line-height: 1.45;
  letter-spacing: -.01em;
  color: var(--ink);
}
.card p { margin: 0; font-size: 15px; color: var(--ink-3); line-height: 1.8; }
.card .go {
  margin-top: auto;
  padding-top: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--fire);
}
.card--accent {
  background: linear-gradient(180deg, #fff, var(--earth-pale));
  border-color: var(--earth-soft);
}
.card--deep {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(232, 201, 155, .24);
  color: var(--on-deep);
}
.card--deep h3 { color: var(--on-deep); }
.card--deep p { color: var(--on-deep-2); }
.card--deep .card-no { color: var(--earth-soft); }

.card-no {
  font-family: var(--font-num);
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--earth-dark);
  text-transform: uppercase;
}
.card-price {
  font-size: 15px;
  font-weight: 650;
  color: var(--earth-dark);
  margin: 2px 0 0;
}

/* ---------- 8. 梯级 / 步骤 ---------- */
.steps { display: grid; gap: 0; }
.step {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 0 24px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step-no {
  font-family: var(--font-num);
  font-size: 22px;
  font-weight: 600;
  color: var(--earth);
  letter-spacing: -.02em;
  padding-top: 2px;
}
.step-body h3 { font-size: 19px; margin: 0 0 8px; line-height: 1.45; color: var(--ink); }
.step-body p { margin: 0 0 .6em; color: var(--ink-2); font-size: 15.5px; }

/* 产物 = 土（信任/交付） */
.step-body .take {
  display: block;
  font-size: 14.5px;
  color: #6b4a2e;
  background: var(--earth-pale);
  border-left: 2px solid var(--earth);
  padding: 8px 12px;
  border-radius: 0 6px 6px 0;
  margin-top: 10px;
}
.step-meta {
  font-size: 13.5px;
  color: var(--ink-4);
  margin: 0 0 8px;
  font-family: var(--font-num);
  letter-spacing: .02em;
}

/* ---------- 9. 表格 ---------- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  -webkit-overflow-scrolling: touch;
}
table.price {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  min-width: 560px;
}
table.price th, table.price td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line-2);
  vertical-align: top;
}
table.price th {
  font-size: 12.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--earth-dark);
  font-weight: 600;
  background: var(--bg-soft);
  white-space: nowrap;
}
table.price tr:last-child td { border-bottom: 0; }
table.price tr:hover td { background: #fdfaf5; }

/* 价格 = 土，要显眼 */
table.price td.num {
  font-family: var(--font-num);
  white-space: nowrap;
  font-weight: 700;
  font-size: 1.04em;
  color: var(--earth-dark);
}

/* ---------- 10. 常见问题（原生 details） ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 4px 0;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 34px 16px 0;
  position: relative;
  font-weight: 600;
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px; top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 300;
  color: var(--earth);
  transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details > p, .faq details > div {
  margin: 0 0 18px;
  color: var(--ink-2);
  font-size: 15.5px;
  line-height: 1.85;
  padding-right: 24px;
}

/* ---------- 11. 表单 / 诊断 ---------- */
.q-block {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 22px 18px;
  margin-bottom: 16px;
  background: #fff;
}
.q-block h3 {
  font-size: 16.5px;
  margin: 0 0 14px;
  line-height: 1.5;
  color: var(--ink);
}
.q-block label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 8px;
  font-size: 15.2px;
  color: var(--ink-2);
  cursor: pointer;
  transition: background .15s;
}
.q-block label:hover { background: var(--earth-pale); }
.q-block input[type="radio"] {
  margin: 5px 0 0;
  accent-color: var(--fire);
  flex: none;
}

/* 结果 = 土（信任） */
.result {
  border: 1px solid var(--earth-soft);
  background: linear-gradient(180deg, #fff, var(--earth-pale));
  border-radius: var(--radius);
  padding: 26px 24px;
  margin-top: 24px;
}
.result h3 { margin: 0 0 12px; font-size: 19px; color: var(--wine); }
.result p { color: var(--ink-2); font-size: 15.5px; }
.result ul { color: var(--ink-2); font-size: 15px; }
.copy-tip {
  display: none;
  margin-top: 12px;
  font-size: 14px;
  color: var(--earth-dark);
  font-weight: 600;
}

/* ---------- 12. 提示块 / 标签 / 时间线 ---------- */
.callout {
  border: 1px solid var(--line);
  border-left: 3px solid var(--fire);
  background: #fff;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 20px 22px;
  font-size: 15.5px;
  color: var(--ink-2);
}
.callout--soft { background: var(--bg-soft); }
.callout h3 { margin: 0 0 8px; font-size: 17px; color: var(--wine); }

.badge {
  display: inline-block;
  font-size: 12.5px;
  letter-spacing: .04em;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--earth-pale);
  color: #7a4a28;
  border: 1px solid var(--earth-soft);
  vertical-align: middle;
}
.tag {
  display: inline-block;
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 5px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  color: var(--ink-3);
  font-family: var(--font-num);
}

.timeline { border-left: 1px solid var(--line); padding-left: 26px; display: grid; gap: 26px; }
.tl-item { position: relative; }
.tl-item::before {
  content: "";
  position: absolute;
  left: -31.5px; top: 8px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--fire);
  box-shadow: 0 0 0 4px var(--bg-soft);
}
.tl-item h3 { font-size: 17px; margin: 0 0 6px; color: var(--ink); }
.tl-item p { margin: 0; color: var(--ink-2); font-size: 15px; }

/* 数据条：数字用火，标签用土 */
.stat-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.stat { background: #fff; padding: 22px 18px; }
.stat b {
  display: block;
  font-family: var(--font-num);
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.1;
  letter-spacing: -.03em;
  color: var(--fire);
}
.stat span { display: block; margin-top: 6px; font-size: 13.5px; color: var(--ink-3); line-height: 1.6; }

/* 勾选项 = 土 */
.check-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.check-item {
  display: flex; gap: 10px;
  font-size: 15.2px; color: var(--ink-2);
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}
.check-item::before { content: "✓"; color: var(--earth); font-weight: 700; flex: none; }
.check-item.no::before { content: "×"; color: var(--fire); }

/* ---------- 13. 面包屑 ---------- */
.crumb {
  font-size: 13.5px;
  color: var(--ink-4);
  padding: 18px 0 0;
}
.crumb a:hover { color: var(--wine); }
.crumb span { margin: 0 6px; }

/* ---------- 14. 页脚（深酒红 · 火） ---------- */
.site-footer {
  background: var(--deep);
  color: #c9b6a8;
  padding: 56px 0 40px;
  font-size: 14px;
  line-height: 1.9;
}
.site-footer a { color: #e9d8c9; }
.site-footer a:hover { color: #fff; }
.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(0, .9fr));
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line-dark);
}
.footer-brand { color: #fff; font-weight: 650; font-size: 16px; margin-bottom: 8px; }
.footer-col h4 {
  font-size: 12.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #a58a79;
  margin: 0 0 10px;
  font-weight: 600;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin: 4px 0; }
.footer-bottom {
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: space-between;
  font-size: 13px;
  color: #a58a79;
}
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 16px; }

/* ---------- 15. 动效 ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- 16. 响应式 ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; aspect-ratio: 16 / 8; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav { display: none; }
  .nav-toggle { display: block; }
  .nav-pill { display: none; }
  .nav.open {
    display: block;
    position: absolute;
    left: 0; right: 0; top: 100%;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 10px var(--pad) 18px;
  }
  .nav.open ul { flex-direction: column; gap: 0; }
  .nav.open a { padding: 12px 6px; font-size: 16px; border-bottom: 1px solid var(--line-2); border-radius: 0; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .check-grid { grid-template-columns: 1fr; }
  .step { grid-template-columns: 56px minmax(0, 1fr); gap: 0 16px; }
  .step-no { font-size: 17px; }
  .footer-top { grid-template-columns: 1fr; gap: 24px; }
  .brand-sub { display: none; }
  table.price { font-size: 14px; }
  table.price th, table.price td { padding: 12px 12px; }
}
