/* ==========================================================================
   示例咖啡 · 精品咖啡 / 茶饮行业模板样式表
   ------------------------------------------------------------------------
   视觉方向：深棕 #3B241A + 焦糖 #C9884B + 奶油 #F3EADA
             衬线大标题 · 直角描边卡片 · 胶片颗粒 · 错落网格
   零外链资源，字体全部使用系统栈；断点 1440 / 1280 / 1024 / 768 / 430 / 390
   ========================================================================== */

/* ── 1. 变量与基础 ───────────────────────────────────────────── */
:root {
  --brown-900: #1B120D;
  --brown-800: #241611;
  --brown-700: #3B241A;
  --brown-600: #4C2E20;
  --brown-500: #5E3B29;
  --caramel: #C9884B;
  --caramel-lt: #E0A96D;
  --cream: #F3EADA;
  --paper: #FAF5EC;
  --ink: #241611;
  --ink-soft: #4A342A;
  --line: #D9C7AE;
  --line-dark: rgba(243, 234, 218, .20);
  --shadow: 5px 5px 0 rgba(36, 22, 17, .18);
  --shadow-dark: 5px 5px 0 rgba(0, 0, 0, .28);
  --serif: "Songti SC", "Source Han Serif SC", "Noto Serif CJK SC", "STSong", Georgia, "Times New Roman", serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  --wrap: 1180px;
  --radius: 2px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.8;
  overflow-x: hidden;
  overflow-wrap: break-word;
}

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

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: .01em;
  margin: 0 0 .5em;
}

h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.55rem, 2.8vw, 2.3rem); }
h3 { font-size: clamp(1.12rem, 1.5vw, 1.35rem); }
h4 { font-size: 1.02rem; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.mono { font-family: var(--mono); letter-spacing: .04em; }

::selection { background: var(--caramel); color: var(--brown-900); }

:focus-visible {
  outline: 2px solid var(--caramel);
  outline-offset: 3px;
}

/* ── 2. 容器与区块 ───────────────────────────────────────────── */
.wrap {
  width: min(var(--wrap), 100% - 48px);
  margin-inline: auto;
}

.section { padding: 92px 0; position: relative; }
.section-cream { background: var(--cream); }
.section-dark {
  background: var(--brown-800);
  color: var(--cream);
}
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: var(--cream); }
.section-dark .note, .section-dark .section-desc { color: rgba(243, 234, 218, .78); }
.section-dark .card { background: rgba(243, 234, 218, .04); border-color: var(--line-dark); color: var(--cream); }
.section-dark .tag { border-color: rgba(201, 136, 75, .55); color: var(--caramel-lt); }
.section-dark .price-num { color: var(--caramel-lt); }
.section-dark .btn-ghost { border-color: rgba(243, 234, 218, .38); color: var(--cream); }
.section-dark .btn-ghost:hover { background: rgba(243, 234, 218, .12); }

/* 胶片颗粒：深色区块的极淡噪点，用 radial-gradient 拼，不引外链图片 */
.section-dark::after,
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(rgba(243, 234, 218, .055) .6px, transparent .7px),
    radial-gradient(rgba(0, 0, 0, .05) .6px, transparent .7px);
  background-size: 4px 4px, 7px 7px;
  background-position: 0 0, 2px 3px;
  opacity: .8;
}

.section-head { max-width: 760px; margin-bottom: 44px; }
.section-title { margin-bottom: .35em; }
.section-desc { color: var(--ink-soft); margin: 0; }
.section-foot { margin: 34px 0 0; }

.eyebrow {
  font-family: var(--mono);
  font-size: .78rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--caramel);
  margin: 0 0 14px;
}

.kicker {
  font-family: var(--mono);
  font-size: .76rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--brown-500);
  margin: 0 0 10px;
  display: inline-block;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--caramel);
}
.section-dark .kicker { color: var(--caramel-lt); }

.note {
  font-size: .86rem;
  color: var(--ink-soft);
  border-left: 2px solid var(--caramel);
  padding-left: 12px;
  margin: 18px 0 0;
}
.note-end { margin: 40px 0 0; }

.lead { font-size: 1.06rem; color: var(--ink-soft); }

.divider {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 40px 0;
}

/* ── 3. 演示站横幅 ───────────────────────────────────────────── */
.demo-bar {
  background: var(--brown-900);
  color: var(--cream);
  font-size: .8rem;
  line-height: 1.6;
  border-bottom: 1px solid rgba(201, 136, 75, .35);
}
.demo-bar-inner {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 10px 0;
}
.demo-bar p { margin: 0; color: rgba(243, 234, 218, .84); }
.demo-bar strong { color: var(--caramel-lt); }
.demo-badge {
  flex: 0 0 auto;
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .12em;
  color: var(--brown-900);
  background: var(--caramel);
  padding: 2px 8px;
  border-radius: var(--radius);
  margin-top: 2px;
}

/* ── 4. 顶栏 ─────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(250, 245, 236, .92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(140%) blur(6px);
}
.site-header.is-scrolled { background: var(--paper); box-shadow: 0 6px 24px rgba(36, 22, 17, .08); }

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 74px;
}

.logo { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.logo-mark { width: 38px; height: 38px; border-radius: var(--radius); }
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-name { font-family: var(--serif); font-size: 1.18rem; font-weight: 700; letter-spacing: .06em; }
.logo-sub {
  font-family: var(--mono);
  font-size: .66rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--brown-500);
}

.nav { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.nav-link {
  font-size: .93rem;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  color: var(--ink-soft);
  transition: color .25s ease, border-color .25s ease;
}
.nav-link:hover { color: var(--brown-700); border-bottom-color: var(--caramel); }
.nav-link.is-active { color: var(--brown-700); border-bottom-color: var(--caramel); font-weight: 700; }

.header-actions { display: flex; align-items: center; gap: 14px; flex: 0 0 auto; }
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .86rem;
  color: var(--ink-soft);
  font-family: var(--mono);
}
.header-phone:hover { color: var(--brown-700); }
.ico { width: 18px; height: 18px; flex: 0 0 auto; }

.burger {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: var(--radius);
  cursor: pointer;
  position: relative;
}
.burger span,
.burger span::before,
.burger span::after {
  content: "";
  position: absolute;
  left: 11px;
  width: 20px;
  height: 1.6px;
  background: var(--brown-700);
  transition: transform .3s ease, opacity .3s ease;
}
.burger span { top: 20px; }
.burger span::before { left: 0; top: -6px; }
.burger span::after { left: 0; top: 6px; }

/* ── 5. 抽屉与遮罩 ───────────────────────────────────────────── */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(27, 18, 13, .55);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
  z-index: 70;
}
.overlay.is-on { opacity: 1; visibility: visible; }

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(320px, 86vw);
  background: var(--brown-800);
  color: var(--cream);
  z-index: 80;
  transform: translateX(100%);
  transition: transform .32s cubic-bezier(.4, 0, .2, 1);
  overflow-y: auto;
  padding: 22px 22px 30px;
  border-left: 1px solid var(--line-dark);
}
.drawer.is-open { transform: translateX(0); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.drawer-head .logo-name { color: var(--cream); }
.drawer-close {
  width: 38px;
  height: 38px;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--cream);
  background: transparent;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  cursor: pointer;
}
.drawer .nav-link {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-dark);
  color: rgba(243, 234, 218, .84);
  font-family: var(--serif);
  font-size: 1.05rem;
}
.drawer .nav-link.is-active { color: var(--caramel-lt); border-bottom-color: var(--caramel); }
.drawer-cta { display: grid; gap: 10px; margin-top: 26px; }
body.is-locked { overflow: hidden; }

/* ── 6. 按钮 ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--sans);
  font-size: .94rem;
  font-weight: 700;
  letter-spacing: .04em;
  cursor: pointer;
  transition: background .25s ease, color .25s ease, border-color .25s ease, transform .25s ease, box-shadow .25s ease;
  text-align: center;
}
.btn-primary {
  background: var(--caramel);
  color: var(--brown-900);
  border-color: var(--caramel);
  box-shadow: 4px 4px 0 rgba(27, 18, 13, .35);
}
.btn-primary:hover { background: var(--caramel-lt); border-color: var(--caramel-lt); transform: translate(-2px, -2px); box-shadow: 6px 6px 0 rgba(27, 18, 13, .35); }
.btn-ghost {
  background: transparent;
  color: var(--brown-700);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--caramel); background: rgba(201, 136, 75, .12); }
.btn-sm { padding: 9px 16px; font-size: .86rem; }
.btn-lg { padding: 15px 32px; font-size: 1rem; }
.btn-block { display: flex; width: 100%; }

/* ── 7. 首屏 ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  background: var(--brown-700);
  color: var(--cream);
  padding: 84px 0 78px;
  overflow: hidden;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}
.hero-copy { position: relative; z-index: 1; }
.hero-title {
  color: var(--cream);
  font-size: clamp(2.2rem, 4.8vw, 3.7rem);
  line-height: 1.2;
  margin-bottom: .45em;
}
.hero-desc {
  font-size: 1.04rem;
  color: rgba(243, 234, 218, .82);
  max-width: 34em;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero .note { color: rgba(243, 234, 218, .72); }
.hero .btn-ghost { border-color: rgba(243, 234, 218, .4); color: var(--cream); }
.hero .btn-ghost:hover { background: rgba(243, 234, 218, .12); border-color: var(--caramel-lt); }
.hero-media { margin: 0; position: relative; }
.hero-media img {
  width: 100%;
  aspect-ratio: 14 / 9;
  object-fit: cover;
  border: 1px solid rgba(243, 234, 218, .22);
  box-shadow: var(--shadow-dark);
}
.media-cap {
  font-family: var(--mono);
  font-size: .74rem;
  letter-spacing: .12em;
  color: rgba(243, 234, 218, .62);
  margin-top: 10px;
}
.hero-page .hero-media img { aspect-ratio: 3 / 2; }

/* 通用媒体块：图片、题图与引用插图共用 */
.media { margin: 0; }
.media img { width: 100%; }

/* ── 8. 速览事实条 ───────────────────────────────────────────── */
.facts-strip {
  background: var(--brown-900);
  color: var(--cream);
  border-bottom: 1px solid var(--line-dark);
}
.facts {
  list-style: none;
  margin: 0;
  padding: 22px 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.fact { display: flex; flex-direction: column; gap: 4px; border-left: 1px solid var(--line-dark); padding-left: 16px; }
.fact-k { font-family: var(--mono); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--caramel-lt); }
.fact-v { font-family: var(--serif); font-size: 1.12rem; }

/* ── 9. 卡片与网格 ───────────────────────────────────────────── */
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card-img-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  background: repeating-linear-gradient(45deg, #F0E4D0, #F0E4D0 10px, #E7D8BF 10px, #E7D8BF 20px);
  color: var(--brown-500);
  font-size: .78rem;
  letter-spacing: .2em;
}
.card-body { padding: 24px 22px 26px; display: flex; flex-direction: column; flex: 1; }
.card-title { margin-bottom: .35em; }
.card-summary { color: var(--brown-600); font-size: .96rem; margin-bottom: .6em; }
.card-desc { color: var(--ink-soft); font-size: .92rem; }

.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; padding: 0; }
.tag {
  font-family: var(--mono);
  font-size: .74rem;
  letter-spacing: .06em;
  border: 1px solid var(--line);
  color: var(--brown-500);
  padding: 3px 9px;
  border-radius: var(--radius);
}

.price { display: flex; align-items: baseline; gap: 10px; margin: 16px 0 0; flex-wrap: wrap; }
.price-num { font-family: var(--serif); font-size: 1.34rem; font-weight: 700; color: var(--brown-700); }
.price-note { font-size: .76rem; color: var(--brown-500); font-family: var(--mono); }
.price-sub { font-size: .9rem; color: var(--brown-500); margin: 0 0 .2em; }
.price-note-line { margin-top: auto; padding-top: 16px; font-size: .84rem; }

.feature {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
  background: #fff;
  position: relative;
}
.section-dark .feature { background: rgba(243, 234, 218, .04); border-color: var(--line-dark); }
.feature-num {
  font-family: var(--mono);
  font-size: 1.6rem;
  color: var(--caramel);
  display: block;
  margin-bottom: 6px;
  line-height: 1;
}
.feature-title { margin-bottom: .4em; }
.feature-desc { color: var(--ink-soft); font-size: .94rem; margin: 0; }
.section-dark .feature-desc { color: rgba(243, 234, 218, .78); }
.feature-row { background: transparent; }
.feature-list { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; }
.feature-item {
  position: relative;
  padding-left: 20px;
  font-size: .93rem;
  color: var(--ink-soft);
}
.feature-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 9px;
  height: 1.5px;
  background: var(--caramel);
}

/* ── 10. 双栏 split ──────────────────────────────────────────── */
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: start; }
.split-main { min-width: 0; }
.split-side { min-width: 0; }

.plain-list { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 14px; }
.plain-item {
  border-left: 2px solid var(--caramel);
  padding: 2px 0 2px 14px;
  display: flex;
  flex-direction: column;
}
.plain-title { font-family: var(--serif); font-size: 1.08rem; }
.plain-desc { font-size: .92rem; color: var(--ink-soft); }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stats-compact { grid-template-columns: repeat(2, 1fr); gap: 18px; }
.stat { border-top: 1px solid var(--line); padding-top: 12px; }
.stat-num { font-family: var(--serif); font-size: 1.9rem; font-weight: 700; color: var(--brown-700); margin: 0; line-height: 1.1; }
.stat-unit { font-size: .9rem; color: var(--caramel); margin-left: 4px; }
.stat-label { font-size: .82rem; color: var(--ink-soft); margin: 4px 0 0; line-height: 1.6; }
.section-dark .stat { border-top-color: var(--line-dark); }
.section-dark .stat-num { color: var(--cream); }
.section-dark .stat-label { color: rgba(243, 234, 218, .72); }

.side-title {
  font-family: var(--serif);
  font-size: 1.2rem;
  padding-bottom: 12px;
  margin: 0 0 18px;
  border-bottom: 1px solid var(--line);
}

/* ── 11. 豆单列表 ────────────────────────────────────────────── */
.bean-list { list-style: none; margin: 0; padding: 0; }
.bean-row {
  display: grid;
  grid-template-columns: 150px 1fr auto;
  gap: 18px;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-dark);
}
.bean-row:first-child { border-top: 1px solid var(--line-dark); }
.bean-origin { font-family: var(--mono); font-size: .8rem; letter-spacing: .1em; color: var(--caramel-lt); }
.bean-name { font-family: var(--serif); font-size: 1.2rem; }
.bean-note { font-size: .9rem; color: rgba(243, 234, 218, .76); text-align: right; }

/* ── 12. 菜单 ────────────────────────────────────────────────── */
.filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 16px 0;
  margin-bottom: 28px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.chip {
  font-family: var(--mono);
  font-size: .82rem;
  letter-spacing: .08em;
  padding: 8px 16px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink-soft);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.chip:hover { border-color: var(--caramel); color: var(--brown-700); }
.chip.is-active { background: var(--brown-700); border-color: var(--brown-700); color: var(--cream); }
.filter-count { margin-left: auto; font-size: .84rem; color: var(--ink-soft); font-family: var(--mono); }

.menu-list { list-style: none; margin: 0; padding: 0; }
.menu-row {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 22px 22px 20px;
  margin-bottom: 16px;
  transition: box-shadow .25s ease, transform .25s ease;
}
.menu-row:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.menu-row-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.menu-name { margin: 0; font-size: 1.3rem; }
.menu-row .price { margin: 0; }
.menu-summary { color: var(--brown-600); margin: 6px 0 0; font-size: .96rem; }
.menu-desc { color: var(--ink-soft); font-size: .92rem; margin: 8px 0 0; }
.menu-row-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 6px; }
.menu-row-foot .tags { margin: 12px 0 0; }
.menu-meta { font-size: .78rem; color: var(--brown-500); white-space: nowrap; }
.is-hidden { display: none !important; }

/* ── 13. 豆卡规格表 ──────────────────────────────────────────── */
.spec { margin: 16px 0 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.spec-row {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 12px;
  padding: 7px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.spec dt { font-size: .76rem; letter-spacing: .1em; color: var(--brown-500); text-transform: uppercase; }
.spec dd { margin: 0; font-size: .92rem; }
.spec-inline { margin-top: 18px; }

/* ── 14. 门店卡 ──────────────────────────────────────────────── */
.store-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

/* ── 15. 流程步骤 ────────────────────────────────────────────── */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.steps-3 { grid-template-columns: repeat(3, 1fr); }
.step {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 24px 22px;
  position: relative;
}
.steps:not(.steps-3) .step { display: grid; grid-template-columns: 64px 1fr; gap: 18px; align-items: start; }
.step-head { display: flex; align-items: center; gap: 12px; }
.steps:not(.steps-3) .step-head { grid-column: 1; flex-direction: column; align-items: flex-start; gap: 6px; }
.steps:not(.steps-3) .step-desc,
.steps:not(.steps-3) .step-note { grid-column: 2; }
.step-num {
  font-family: var(--mono);
  font-size: 1.05rem;
  color: var(--caramel);
  border: 1px solid var(--caramel);
  border-radius: var(--radius);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.step-title { margin: 0; font-size: 1.18rem; }
.step-desc { color: var(--ink-soft); font-size: .94rem; margin: 10px 0 0; }
.step-note { font-size: .78rem; color: var(--brown-500); margin: 10px 0 0; }
.steps-3 .step-desc { margin-top: 12px; }

/* ── 16. 订阅卡 ──────────────────────────────────────────────── */
.price-card { background: #fff; }
.price-card .price-num { font-size: 1.6rem; }

/* 卡片修饰类：继承 .card 的全部样式，留作定制钩子 */
.drink-card, .pick-card, .bean-card, .store-card { display: flex; flex-direction: column; }
.tier-card { justify-content: space-between; }
.tier-card .card-title { font-size: 1.32rem; }

/* ── 17. 问答手风琴 ──────────────────────────────────────────── */
.accordion { display: grid; gap: 34px; }
.acc-group { display: grid; gap: 12px; }
.acc-group-title {
  font-size: 1.25rem;
  padding-bottom: 10px;
  margin: 0 0 14px;
  border-bottom: 1px solid var(--line);
}
.acc-list { display: grid; gap: 10px; }
.acc-item { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; }
.acc-head { margin: 0; font-family: var(--serif); font-size: 1rem; }
.acc-trigger {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-family: var(--serif);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--ink);
  padding: 16px 46px 16px 18px;
  position: relative;
}
.acc-trigger::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--mono);
  font-size: 1.2rem;
  color: var(--caramel);
  line-height: 1;
}
.acc-item.is-open .acc-trigger::after { content: "−"; }
.acc-panel { height: 0; overflow: hidden; transition: height .3s ease; }
.acc-panel-inner { padding: 0 18px 18px; color: var(--ink-soft); font-size: .94rem; }

/* ── 18. 首页问答速览 ────────────────────────────────────────── */
.qa-list { display: grid; gap: 16px; }
.qa-item { border-left: 2px solid var(--caramel); padding-left: 16px; }
.qa-q { font-size: 1.1rem; margin-bottom: .3em; }
.qa-a { color: var(--ink-soft); font-size: .94rem; margin: 0; }

/* ── 19. 联系渠道与表单 ──────────────────────────────────────── */
.channel-card .channel-value {
  font-size: 1.05rem;
  color: var(--brown-700);
  margin: 4px 0 12px;
  word-break: break-all;
}

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  box-shadow: var(--shadow);
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: .86rem; font-weight: 700; letter-spacing: .04em; }
.field label i { color: var(--caramel); font-style: normal; }
.input, .select, .textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: .95rem;
  transition: border-color .25s ease, background .25s ease;
}
.input:focus, .select:focus, .textarea:focus { border-color: var(--caramel); background: #fff; outline: none; }
.textarea { resize: vertical; min-height: 110px; line-height: 1.7; }
[data-invalid] { border-color: #A4402A !important; background: #FBEDEA !important; }
.form-status { grid-column: 1 / -1; font-size: .82rem; color: var(--ink-soft); margin: 0; }
.form-status.is-error { color: #A4402A; }
.form-status.is-ok { color: #2E6B46; }
.form-status.is-pending { color: var(--brown-500); }
.form-success {
  border: 1px solid #2E6B46;
  background: #F1F8F3;
  border-radius: var(--radius);
  padding: 20px 22px;
  margin-top: 16px;
}
.form-success h3 { margin-bottom: .3em; font-size: 1.1rem; }
.form-success p { margin: 0; font-size: .92rem; color: var(--ink-soft); }

/* ── 20. CTA 带 ──────────────────────────────────────────────── */
.cta-band {
  background: var(--brown-900);
  color: var(--cream);
  padding: 64px 0;
  border-top: 1px solid var(--line-dark);
}
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 36px; flex-wrap: wrap; }
.cta-title { color: var(--cream); margin-bottom: .3em; }
.cta-desc { color: rgba(243, 234, 218, .8); margin: 0; max-width: 42em; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.cta-band .btn-ghost { border-color: rgba(243, 234, 218, .4); color: var(--cream); }
.cta-band .btn-ghost:hover { background: rgba(243, 234, 218, .12); }

/* ── 21. 404 ─────────────────────────────────────────────────── */
.section-404 { background: var(--brown-700); color: var(--cream); }
.section-404 h1 { color: var(--cream); }
.section-404 .hero-desc { color: rgba(243, 234, 218, .82); }
.notfound { display: grid; grid-template-columns: .95fr 1.05fr; gap: 52px; align-items: center; }
.notfound-copy { min-width: 0; }
.notfound-media img { width: 100%; aspect-ratio: 12 / 7; object-fit: cover; border: 1px solid var(--line-dark); box-shadow: var(--shadow-dark); }
.link-list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.link-card {
  display: block;
  border: 1px solid rgba(243, 234, 218, .3);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-family: var(--serif);
  font-size: 1rem;
  transition: border-color .25s ease, background .25s ease;
}
.link-card:hover { border-color: var(--caramel-lt); background: rgba(243, 234, 218, .08); }

/* ── 22. 页脚 ─────────────────────────────────────────────────── */
.site-footer {
  background: var(--brown-900);
  color: rgba(243, 234, 218, .78);
  padding: 60px 0 26px;
  border-top: 1px solid var(--line-dark);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 44px;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line-dark);
}
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand .logo-name { color: var(--cream); }
.footer-brand .logo-sub { color: var(--caramel-lt); }
.footer-brand p { font-size: .9rem; line-height: 1.8; }
.footer-contact { display: flex; flex-direction: column; gap: 8px; margin-top: 18px; font-size: .9rem; }
.footer-contact span { display: inline-flex; align-items: center; gap: 8px; }
.footer-contact a:hover { color: var(--caramel-lt); }
.footer-col h3 { font-size: 1rem; color: var(--cream); margin-bottom: 14px; }
.footer-col a { display: block; font-size: .9rem; padding: 5px 0; color: rgba(243, 234, 218, .74); }
.footer-col a:hover { color: var(--caramel-lt); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding-top: 22px;
  font-size: .82rem;
  color: rgba(243, 234, 218, .6);
}
.footer-bottom span:last-child { max-width: 62ch; }

/* ── 23. 返回顶部 ────────────────────────────────────────────── */
.backtop {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brown-700);
  color: var(--cream);
  border: 1px solid var(--caramel);
  border-radius: var(--radius);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .3s ease, visibility .3s ease, transform .3s ease;
  z-index: 50;
}
.backtop.is-on { opacity: 1; visibility: visible; transform: translateY(0); }
.backtop:hover { background: var(--brown-600); }

/* ── 24. 进场动画（JS 失效时内容不会永久空白） ───────────────── */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
}
html.js [data-reveal="left"] { transform: translateX(-26px); }
html.js [data-reveal="right"] { transform: translateX(26px); }
html.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* ── 25. 响应式 ──────────────────────────────────────────────── */
@media (max-width: 1280px) {
  .wrap { width: min(var(--wrap), 100% - 40px); }
  .section { padding: 78px 0; }
  .hero { padding: 72px 0 68px; }
  .hero-inner { gap: 44px; }
  .nav { gap: 18px; }
  .nav-link { font-size: .9rem; }
  .bean-row { grid-template-columns: 130px 1fr auto; }
}

@media (max-width: 1024px) {
  .nav { display: none; }
  .burger { display: block; }
  .header-inner { min-height: 66px; }
  .hero-inner { grid-template-columns: 1fr; gap: 34px; }
  .hero-media img { aspect-ratio: 16 / 9; }
  .split { grid-template-columns: 1fr; gap: 34px; }
  .grid-3, .store-grid { grid-template-columns: repeat(2, 1fr); }
  .facts { grid-template-columns: repeat(2, 1fr); gap: 16px 20px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .notfound { grid-template-columns: 1fr; gap: 30px; }
  .steps-3 { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 62px 0; }
  .hero { padding: 54px 0 52px; }
  .hero-title { font-size: clamp(1.9rem, 7.4vw, 2.5rem); }
  .hero-desc { font-size: .98rem; }
  .grid-2, .grid-3, .store-grid { grid-template-columns: 1fr; }
  .bean-row { grid-template-columns: 1fr; gap: 4px; }
  .bean-note { text-align: left; }
  .form-card { grid-template-columns: 1fr; }
  .link-list { grid-template-columns: 1fr; }
  .filter-count { margin-left: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .menu-row-foot { align-items: flex-start; }
  .cta-band { padding: 48px 0; }
  .cta-band-inner { flex-direction: column; align-items: flex-start; }
  .steps:not(.steps-3) .step { grid-template-columns: 1fr; }
  .steps:not(.steps-3) .step-desc,
  .steps:not(.steps-3) .step-note { grid-column: 1; }
}

@media (max-width: 520px) {
  .wrap { width: calc(100% - 32px); }
  .logo-sub { display: none; }
  .logo-name { font-size: 1.08rem; }
  .header-actions { gap: 8px; }
  .header-actions .btn-sm { padding: 8px 12px; font-size: .8rem; }
  .header-phone { display: none; }
  .demo-bar-inner { flex-direction: column; gap: 6px; }
}

@media (max-width: 430px) {
  .section { padding: 52px 0; }
  .hero { padding: 44px 0 44px; }
  .hero-actions .btn { width: 100%; }
  .facts { grid-template-columns: 1fr; }
  .fact { padding-left: 12px; }
  .stats { grid-template-columns: 1fr; }
  .stats-compact { grid-template-columns: 1fr; }
  .menu-row { padding: 18px 16px 16px; }
  .menu-row-head { flex-direction: column; align-items: flex-start; gap: 6px; }
  .card-body { padding: 20px 18px 22px; }
  .spec-row { grid-template-columns: 78px 1fr; gap: 8px; }
  .filter { gap: 8px; }
  .chip { padding: 7px 12px; font-size: .78rem; }
  .btn { padding: 11px 18px; font-size: .9rem; }
  .btn-lg { padding: 13px 22px; font-size: .95rem; }
  .backtop { right: 14px; bottom: 14px; width: 42px; height: 42px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}

@media (max-width: 390px) {
  .wrap { width: calc(100% - 28px); }
  .hero-title { font-size: 1.78rem; }
  .section-title { font-size: 1.42rem; }
  .btn { width: 100%; }
  .header-actions .btn-sm { width: auto; }
  .cta-actions { width: 100%; }
  .cta-actions .btn { width: 100%; }
  .spec-row { grid-template-columns: 1fr; gap: 2px; }
  .spec dt { letter-spacing: .06em; }
  .bean-name { font-size: 1.08rem; }
  .link-list { gap: 10px; }
}

/* ── 26. 动效偏好 ────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    transition-delay: 0s !important;
  }
  html.js [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* 模板成交入口：页脚「模板定制咨询」CTA（scripts/dev/apply-vendor-cta.js 注入） */
.footer-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 32px;
  margin: 26px 0 22px;
  padding: 22px 26px;
  border: 1px solid rgba(127, 127, 127, .28);
  border-radius: 14px;
  background: rgba(127, 127, 127, .07);
}
.footer-cta-copy { flex: 1 1 420px; min-width: 0; }
.footer-cta-eyebrow {
  margin: 0 0 6px;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  opacity: .68;
}
.footer-cta-title { margin: 0 0 8px; font-size: clamp(17px, 2.2vw, 22px); line-height: 1.4; }
.footer-cta-desc { margin: 0; font-size: 14px; line-height: 1.8; opacity: .78; }
.footer-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.footer-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: opacity .18s ease, transform .18s ease;
}
.footer-cta-btn-primary { background: var(--caramel); color: #FFFFFF; }
.footer-cta-btn-ghost { border-color: currentColor; color: inherit; }
.footer-cta-btn:hover { opacity: .88; transform: translateY(-1px); }
.footer-cta-btn:focus-visible { outline: 2px solid var(--caramel); outline-offset: 3px; }
@media (max-width: 768px) {
  .footer-cta { padding: 20px 18px; margin: 22px 0 18px; }
  .footer-cta-actions { width: 100%; }
  .footer-cta-btn { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) {
  .footer-cta-btn { transition: none; }
  .footer-cta-btn:hover { transform: none; }
}
