/* ==========================================================================
   示例装饰 · 装修行业模板设计系统
   风格：暖调编辑感 —— 米纸底色 + 墨色字 + 赭红强调 + 衬线点缀 + 大图叙事
   ========================================================================== */

/* --------------------------------------------------------------- 设计令牌 */
:root {
  --ink:        #1C1917;
  --ink-2:      #57534E;
  --ink-3:      #8C8378;
  --paper:      #FBF8F4;
  --paper-2:    #F4EDE4;
  --paper-3:    #EDE4D8;
  --card:       #FFFFFF;
  --accent:     #B4552D;
  --accent-2:   #93421F;
  --accent-soft:#F6E7DC;
  --green:      #2F5D50;
  --green-soft: #E2EDE8;
  --line:       rgba(28, 25, 23, .10);
  --line-2:     rgba(28, 25, 23, .16);
  --radius-s:   10px;
  --radius:     18px;
  --radius-l:   28px;
  --shadow-1:   0 1px 2px rgba(28,25,23,.04), 0 6px 16px -8px rgba(28,25,23,.10);
  --shadow-2:   0 1px 2px rgba(28,25,23,.04), 0 14px 34px -14px rgba(28,25,23,.16), 0 40px 64px -40px rgba(28,25,23,.20);
  --shadow-3:   0 2px 6px rgba(28,25,23,.06), 0 24px 48px -16px rgba(28,25,23,.20);
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "HarmonyOS Sans SC",
          "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", Roboto, Helvetica, Arial, sans-serif;
  --serif: "Songti SC", "Source Han Serif SC", "Noto Serif CJK SC", "STSong", "SimSun", Georgia, "Times New Roman", serif;
  --maxw: 1180px;
  --wide: 1360px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* --------------------------------------------------------------- 基础 */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.28; letter-spacing: -.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.wrap-wide { max-width: var(--wide); }
.section { padding: 104px 0; }
.section-tight { padding: 72px 0; }
.section-paper2 { background: var(--paper-2); }
.section-ink { background: var(--ink); color: #F5F1EB; }
.section-ink .section-desc, .section-ink .eyebrow { color: rgba(245,241,235,.66); }
.section-ink .eyebrow { color: #E4A97F; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 12px; font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; opacity: .55; }
.section-title { font-size: clamp(28px, 3.4vw, 44px); max-width: 19em; }
.section-title em { font-style: normal; color: var(--accent); }
.section-desc { margin-top: 18px; color: var(--ink-2); font-size: 17px; max-width: 44em; }
.section-head { margin-bottom: 54px; }
.section-head.center { text-align: center; }
.section-head.center .section-title, .section-head.center .section-desc { margin-left: auto; margin-right: auto; }
.section-head.center .eyebrow { justify-content: center; }

.serif { font-family: var(--serif); }
.num { font-family: var(--serif); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }

/* --------------------------------------------------------------- 按钮 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 26px; border-radius: 999px; border: 1px solid transparent;
  font-size: 15px; font-weight: 600; cursor: pointer;
  transition: transform .28s var(--ease), background .28s var(--ease), color .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 10px 24px -12px rgba(180,85,45,.9); }
.btn-primary:hover { background: var(--accent-2); transform: translateY(-2px); box-shadow: 0 16px 32px -14px rgba(180,85,45,.95); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #322C26; transform: translateY(-2px); }
.btn-ghost { background: transparent; border-color: var(--line-2); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); background: rgba(28,25,23,.03); transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.btn-ghost-light { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.26); color: #F5F1EB; }
.btn-ghost-light:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.5); transform: translateY(-2px); }
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-block { width: 100%; }
.btn .ico { width: 16px; height: 16px; flex: none; }

/* ------------------------------------------------- 演示站提示条（模板专用） */
.demo-bar {
  background: #FBF1E3;
  color: #4A3B31;
  font-size: 13.5px; line-height: 1.65;
  border-bottom: 1px solid rgba(180,85,45,.3);
}
.demo-bar-inner { display: flex; align-items: flex-start; gap: 12px; padding: 10px 0; }
.demo-bar p { margin: 0; flex: 1; min-width: 0; }
.demo-bar strong { color: var(--accent); font-weight: 700; }
.demo-badge {
  flex: none; margin-top: 2px;
  background: var(--accent); color: #fff;
  font-size: 11.5px; font-weight: 700; letter-spacing: .08em;
  padding: 3px 10px; border-radius: 999px; white-space: nowrap;
}

/* --------------------------------------------------------------- 顶栏 */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(251,248,244,.86);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 1px 24px -12px rgba(28,25,23,.22); }
.header-inner { display: flex; align-items: center; gap: 28px; height: 76px; }
.logo { display: flex; align-items: center; gap: 11px; flex: none; }
.logo-mark { width: 38px; height: 38px; flex: none; }
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-name { font-size: 17px; font-weight: 700; letter-spacing: .02em; }
.logo-sub { font-size: 10.5px; letter-spacing: .22em; color: var(--ink-3); text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-link {
  padding: 9px 15px; border-radius: 999px; font-size: 14.5px; color: var(--ink-2);
  transition: color .25s var(--ease), background .25s var(--ease);
}
.nav-link:hover { color: var(--ink); background: rgba(28,25,23,.05); }
.nav-link.is-active { color: var(--accent); background: var(--accent-soft); font-weight: 600; }
.header-actions { display: flex; align-items: center; gap: 12px; flex: none; }
.header-phone { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; }
.header-phone .ico { width: 16px; height: 16px; color: var(--accent); }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; align-items: center; justify-content: center; }
.burger span { display: block; width: 18px; height: 1.5px; background: var(--ink); position: relative; transition: .3s var(--ease); }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; width: 18px; height: 1.5px; background: var(--ink); transition: .3s var(--ease); }
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
.burger.is-open span { background: transparent; }
.burger.is-open span::before { top: 0; transform: rotate(45deg); }
.burger.is-open span::after { top: 0; transform: rotate(-45deg); }

/* --------------------------------------------------------------- 抽屉 */
.overlay { position: fixed; inset: 0; background: rgba(28,25,23,.42); opacity: 0; pointer-events: none; transition: opacity .35s var(--ease); z-index: 80; backdrop-filter: blur(2px); }
.overlay.is-on { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(360px, 88vw); z-index: 90;
  background: var(--paper); box-shadow: -24px 0 60px -30px rgba(28,25,23,.5);
  transform: translateX(102%); transition: transform .42s var(--ease);
  padding: 26px 26px 40px; display: flex; flex-direction: column; gap: 6px; overflow-y: auto;
}
.drawer.is-open { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.drawer-close { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: 18px; line-height: 1; }
.drawer-link { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 17px; font-weight: 500; }
.drawer-cta { margin-top: 26px; }

/* --------------------------------------------------------------- Hero */
.hero { position: relative; padding: 84px 0 0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 60px; align-items: center; }
.hero-title { font-size: clamp(38px, 5vw, 62px); line-height: 1.12; letter-spacing: -.025em; }
.hero-title em { font-style: normal; font-family: var(--serif); color: var(--accent); white-space: nowrap; }
.hero-desc { margin-top: 26px; font-size: 18px; color: var(--ink-2); max-width: 34em; }
.hero-actions { margin-top: 38px; display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-note { margin-top: 18px; font-size: 13.5px; color: var(--ink-3); display: flex; align-items: center; gap: 8px; }
.hero-note .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.hero-media { position: relative; }
.hero-media img { border-radius: var(--radius-l); box-shadow: var(--shadow-3); aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.hero-badge {
  position: absolute; left: -26px; bottom: 32px; background: #fff; border-radius: 16px;
  padding: 16px 20px; box-shadow: var(--shadow-2); display: flex; align-items: center; gap: 13px; max-width: 260px;
}
.hero-badge .num { font-size: 27px; font-weight: 700; color: var(--accent); line-height: 1; }
.hero-badge p { font-size: 12.5px; color: var(--ink-2); line-height: 1.5; }
.hero-trust { margin-top: 46px; padding-top: 30px; border-top: 1px solid var(--line); display: flex; gap: 44px; flex-wrap: wrap; }
.hero-trust div strong { display: block; font-family: var(--serif); font-size: 30px; line-height: 1.1; font-weight: 700; }
.hero-trust div span { font-size: 13px; color: var(--ink-3); }

/* --------------------------------------------------------------- 通用卡片 */
.grid { display: grid; gap: 26px; }
.col-2 { grid-template-columns: repeat(2, 1fr); }
.col-3 { grid-template-columns: repeat(3, 1fr); }
.col-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-1); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: var(--line-2); }
.card-pad { padding: 30px; }

/* 承诺卡 */
.promise { position: relative; padding: 32px 28px 30px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.promise::after { content: ""; position: absolute; inset: auto -30px -46px auto; width: 120px; height: 120px; border-radius: 50%; background: var(--accent-soft); opacity: .55; }
.promise-no { font-family: var(--serif); font-size: 13px; letter-spacing: .2em; color: var(--accent); }
.promise h3 { margin: 16px 0 12px; font-size: 21px; }
.promise p { color: var(--ink-2); font-size: 15px; position: relative; z-index: 1; }
.promise-tag { display: inline-block; margin-top: 18px; font-size: 12px; padding: 5px 11px; border-radius: 999px; background: var(--green-soft); color: var(--green); font-weight: 600; position: relative; z-index: 1; }

/* 服务卡 */
.service-card { display: flex; flex-direction: column; overflow: hidden; }
.service-card img { aspect-ratio: 4/3; object-fit: cover; width: 100%; transition: transform .6s var(--ease); }
.service-card:hover img { transform: scale(1.05); }
.service-body { padding: 26px 26px 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.service-no { font-family: var(--serif); font-size: 12.5px; letter-spacing: .18em; color: var(--ink-3); }
.service-card h3 { font-size: 20px; }
.service-card p { color: var(--ink-2); font-size: 15px; flex: 1; }
.service-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 6px; border-top: 1px solid var(--line); margin-top: 6px; }
.service-price { font-size: 13.5px; color: var(--ink-3); }
.service-price b { color: var(--accent); font-weight: 700; font-size: 15px; }
.service-link { font-size: 14px; color: var(--accent); font-weight: 600; display: inline-flex; align-items: center; gap: 5px; }
.service-link .ico { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.service-link:hover .ico { transform: translateX(3px); }

/* 案例卡 */
.case-card { overflow: hidden; }
.case-card .case-media { position: relative; overflow: hidden; }
.case-card img { aspect-ratio: 4/3; object-fit: cover; width: 100%; transition: transform .7s var(--ease); }
.case-card:hover img { transform: scale(1.06); }
.case-tags { position: absolute; left: 14px; top: 14px; display: flex; gap: 7px; flex-wrap: wrap; }
.tag { font-size: 11.5px; padding: 5px 11px; border-radius: 999px; background: rgba(255,255,255,.94); color: var(--ink); font-weight: 600; box-shadow: 0 2px 8px rgba(28,25,23,.12); }
.tag-dark { background: rgba(28,25,23,.82); color: #fff; }
.case-body { padding: 24px 24px 26px; }
.case-body h3 { font-size: 19px; }
.case-body p { margin-top: 10px; color: varink; color: var(--ink-2); font-size: 14.5px; }
.case-meta { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.case-meta div span { display: block; font-size: 11.5px; color: var(--ink-3); letter-spacing: .04em; }
.case-meta div b { font-size: 14.5px; font-weight: 600; }

/* 工艺卡 */
.craft-card { overflow: hidden; }
.craft-card img { aspect-ratio: 5/4; object-fit: cover; width: 100%; }
.craft-body { padding: 24px; }
.craft-body h3 { font-size: 18px; }
.craft-body p { margin-top: 10px; color: var(--ink-2); font-size: 14.5px; }
.craft-list { margin-top: 16px; display: flex; flex-direction: column; gap: 7px; }
.craft-list li { font-size: 13.5px; color: var(--ink-2); padding-left: 18px; position: relative; }
.craft-list li::before { content: ""; position: absolute; left: 0; top: 10px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* 价格卡 */
.price-card { position: relative; padding: 34px 30px; display: flex; flex-direction: column; gap: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.price-card.is-featured { border-color: var(--ink); box-shadow: var(--shadow-2); }
.price-flag { position: absolute; top: -12px; left: 30px; background: var(--ink); color: #fff; font-size: 11.5px; padding: 5px 12px; border-radius: 999px; letter-spacing: .06em; }
.price-card h3 { font-size: 21px; }
.price-sub { color: var(--ink-3); font-size: 14px; }
.price-num { font-family: var(--serif); font-size: 44px; line-height: 1; font-weight: 700; }
.price-num small { font-size: 15px; font-family: var(--sans); font-weight: 500; color: var(--ink-3); margin-left: 6px; }
.price-features { display: flex; flex-direction: column; gap: 10px; flex: 1; }
.price-features li { font-size: 14.5px; color: var(--ink-2); padding-left: 26px; position: relative; }
.price-features li::before {
  content: ""; position: absolute; left: 0; top: 6px; width: 15px; height: 15px; border-radius: 50%;
  background: var(--accent-soft); box-shadow: inset 0 0 0 1px rgba(180,85,45,.28);
}
.price-features li::after {
  content: ""; position: absolute; left: 4.5px; top: 10px; width: 6px; height: 3px;
  border-left: 1.6px solid var(--accent); border-bottom: 1.6px solid var(--accent);
  transform: rotate(-45deg);
}

/* 事实卡（速览事实） */
.facts { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 30px; box-shadow: var(--shadow-1); }
.facts-title { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 18px; }
.facts dl { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 30px; margin: 0; }
.facts div { display: flex; flex-direction: column; gap: 3px; }
.facts dt { font-size: 12.5px; color: var(--ink-3); }
.facts dd { margin: 0; font-size: 15px; font-weight: 600; }

/* 数据带 */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.stats div { text-align: center; padding: 8px 12px; position: relative; }
.stats div + div::before { content: ""; position: absolute; left: 0; top: 12%; height: 76%; width: 1px; background: var(--line); }
.section-ink .stats div + div::before { background: rgba(255,255,255,.16); }
.stats strong { display: block; font-family: var(--serif); font-size: clamp(34px, 4vw, 48px); line-height: 1; font-weight: 700; }
.stats strong em { font-style: normal; font-size: .45em; margin-left: 4px; color: var(--accent); }
.section-ink .stats strong em { color: #E4A97F; }
.stats span { display: block; margin-top: 12px; font-size: 14px; color: var(--ink-3); }
.section-ink .stats span { color: rgba(245,241,235,.62); }

/* 流程 */
.process { display: grid; gap: 0; grid-template-columns: repeat(6, 1fr); }
.process-step { position: relative; padding: 0 18px; }
.process-step + .process-step { border-left: 1px solid var(--line); }
.section-ink .process-step + .process-step { border-color: rgba(255,255,255,.14); }
.process-no { font-family: var(--serif); font-size: 40px; line-height: 1; color: var(--accent); opacity: .5; }
.process-step h4 { margin: 16px 0 8px; font-size: 16.5px; }
.process-step p { font-size: 13.5px; color: var(--ink-2); }
.section-ink .process-step p { color: rgba(245,241,235,.6); }
.process-time { display: inline-block; margin-top: 14px; font-size: 12px; padding: 4px 10px; border-radius: 999px; background: var(--paper-2); color: var(--ink-2); }
.section-ink .process-time { background: rgba(255,255,255,.1); color: rgba(245,241,235,.8); }

/* 评价 */
.testimonial { padding: 32px 30px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; gap: 18px; }
.testimonial .quote { font-size: 16px; line-height: 1.85; color: var(--ink); flex: 1; }
.testimonial .quote::before { content: "“"; font-family: var(--serif); font-size: 44px; color: var(--accent); line-height: 0; vertical-align: -14px; margin-right: 4px; }
.testimonial-foot { display: flex; align-items: center; gap: 13px; padding-top: 18px; border-top: 1px solid var(--line); }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; flex: none; }
.testimonial-foot b { display: block; font-size: 14.5px; }
.testimonial-foot span { font-size: 12.5px; color: var(--ink-3); }
.stars { color: var(--accent); font-size: 13px; letter-spacing: 2px; }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.acc-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-s); overflow: hidden; transition: border-color .3s var(--ease), box-shadow .3s var(--ease); }
.acc-item.is-open { border-color: var(--line-2); box-shadow: var(--shadow-1); }
.acc-trigger {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 22px 58px 22px 24px; font-size: 16.5px; font-weight: 600; position: relative;
}
.acc-trigger::after {
  content: ""; position: absolute; right: 24px; top: 50%; width: 11px; height: 11px;
  border-right: 1.8px solid var(--accent); border-bottom: 1.8px solid var(--accent);
  transform: translateY(-70%) rotate(45deg); transition: transform .32s var(--ease);
}
.acc-item.is-open .acc-trigger::after { transform: translateY(-20%) rotate(-135deg); }
.acc-panel { height: 0; overflow: hidden; transition: height .34s var(--ease); }
.acc-panel > div { padding: 0 24px 24px; color: var(--ink-2); font-size: 15px; }
.acc-link { display: inline-flex; align-items: center; gap: 5px; margin-top: 12px; font-size: 14px; color: var(--accent); font-weight: 600; }
.acc-link .ico { width: 14px; height: 14px; }
.faq-group + .faq-group { margin-top: 48px; }
.faq-group-title { font-size: 22px; margin-bottom: 18px; padding-left: 14px; border-left: 3px solid var(--accent); display: flex; align-items: center; gap: 10px; }
.faq-group-title .no { font-family: var(--serif); font-size: 13px; color: var(--accent); letter-spacing: .12em; }

/* 筛选条 */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.filter-label { font-size: 13.5px; color: var(--ink-3); margin-right: 6px; }
.filter-btn {
  padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff;
  font-size: 14px; cursor: pointer; color: var(--ink-2); transition: all .26s var(--ease);
}
.filter-btn:hover { border-color: var(--ink-3); color: var(--ink); }
.filter-btn.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.filter-count { font-size: 13px; color: var(--ink-3); margin-left: auto; }
.is-hidden { display: none !important; }

/* 表格 */
.spec-table { width: 100%; border-collapse: collapse; font-size: 14.5px; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-1); }
.spec-table th, .spec-table td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); }
.spec-table thead th { background: var(--ink); color: #fff; font-weight: 600; font-size: 14px; }
.spec-table tbody tr:last-child td { border-bottom: 0; }
.spec-table tbody tr:hover { background: var(--paper-2); }
.spec-table td b { font-weight: 600; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* 表单 */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); padding: 38px; box-shadow: var(--shadow-2); }
.form-row { display: grid; gap: 18px; margin-bottom: 18px; grid-template-columns: repeat(2, 1fr); }
.field { display: flex; flex-direction: column; gap: 7px; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.field label i { color: var(--accent); font-style: normal; }
.input, .select, .textarea {
  width: 100%; padding: 13px 15px; border: 1px solid var(--line-2); border-radius: var(--radius-s);
  background: #fff; font-size: 15px; transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(180,85,45,.13); }
.textarea { min-height: 118px; resize: vertical; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%238C8378' stroke-width='1.6' d='M1 1.5 6 6.5l5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.radio-row { display: flex; flex-wrap: wrap; gap: 10px; }
.radio-chip { position: relative; }
.radio-chip input { position: absolute; opacity: 0; pointer-events: none; }
.radio-chip span { display: block; padding: 10px 18px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 14px; cursor: pointer; transition: all .25s var(--ease); }
.radio-chip input:checked + span { background: var(--accent); border-color: var(--accent); color: #fff; }
.radio-chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.form-status { margin-top: 16px; font-size: 14px; padding: 12px 16px; border-radius: var(--radius-s); background: var(--paper-2); color: var(--ink-2); white-space: pre-line; }
.form-status.is-error { background: #FBEBE7; color: #9A3412; }
.form-status.is-ok { background: var(--green-soft); color: var(--green); }
.form-success { padding: 40px 30px; text-align: center; background: var(--green-soft); border-radius: var(--radius-l); }
.form-success .ico { width: 46px; height: 46px; color: var(--green); margin: 0 auto 18px; }
.form-success h3 { font-size: 22px; margin-bottom: 10px; }
.form-success p { color: var(--ink-2); }

/* CTA 带 */
.cta-band { position: relative; overflow: hidden; background: var(--ink); color: #F5F1EB; }
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 80% at 80% 20%, rgba(180,85,45,.36), transparent 70%);
}
.cta-inner { position: relative; display: grid; grid-template-columns: 1.25fr .75fr; gap: 48px; align-items: center; padding: 74px 0; }
.cta-inner h2 { font-size: clamp(28px, 3.4vw, 40px); }
.cta-inner p { margin-top: 16px; color: rgba(245,241,235,.7); max-width: 40em; }
.cta-actions { display: flex; flex-direction: column; gap: 14px; }
.cta-phone { display: flex; align-items: center; gap: 14px; padding: 16px 20px; border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius); background: rgba(255,255,255,.05); }
.cta-phone .ico { width: 22px; height: 22px; color: #E4A97F; flex: none; }
.cta-phone b { display: block; font-family: var(--serif); font-size: 21px; }
.cta-phone span { font-size: 12.5px; color: rgba(245,241,235,.6); }

/* 页脚 */
.site-footer { background: #171412; color: rgba(245,241,235,.7); padding: 72px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 46px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand .logo-name { color: #F5F1EB; }
.footer-brand p { margin-top: 18px; font-size: 14px; line-height: 1.85; max-width: 34em; }
.footer-contact { margin-top: 22px; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer-contact span { display: flex; align-items: flex-start; gap: 9px; }
.footer-contact .ico { width: 16px; height: 16px; flex: none; margin-top: 4px; color: #E4A97F; }
.footer-col h3 { color: #F5F1EB; font-size: 14px; margin-bottom: 18px; letter-spacing: .04em; }
.footer-col a { display: block; font-size: 14px; padding: 6px 0; transition: color .25s var(--ease); }
.footer-col a:hover { color: #E4A97F; }
.footer-bottom { padding-top: 26px; display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; font-size: 13px; color: rgba(245,241,235,.5); }
.footer-bottom a:hover { color: #E4A97F; }
.footer-facts { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }

/* 返回顶部 */
.backtop {
  position: fixed; right: 24px; bottom: 24px; width: 46px; height: 46px; border-radius: 50%;
  background: var(--ink); color: #fff; border: 0; cursor: pointer; z-index: 50;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transform: translateY(10px);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.backtop.is-on { opacity: 1; pointer-events: auto; transform: none; }
.backtop .ico { width: 18px; height: 18px; }

/* 页头横幅（内页） */
.page-hero { position: relative; padding: 76px 0 70px; background: var(--paper-2); overflow: hidden; }
.page-hero::after {
  content: ""; position: absolute; right: -120px; top: -140px; width: 460px; height: 460px;
  border-radius: 50%; background: radial-gradient(circle, rgba(180,85,45,.14), transparent 68%);
}
.page-hero-inner { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 50px; align-items: center; }
.page-hero h1 { font-size: clamp(32px, 4.2vw, 50px); }
.page-hero p { margin-top: 20px; font-size: 17px; color: var(--ink-2); max-width: 38em; }
.page-hero img { border-radius: var(--radius-l); box-shadow: var(--shadow-2); aspect-ratio: 3/2; object-fit: cover; width: 100%; }
.breadcrumb { display: flex; align-items: center; gap: 9px; font-size: 13px; color: var(--ink-3); margin-bottom: 20px; }
.breadcrumb a:hover { color: var(--accent); }

/* 进场动画：仅在 JS 可用时才隐藏初始状态，避免脚本失败时内容整片不可见 */
html.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--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; }
[data-delay="1"] { transition-delay: .08s; }
[data-delay="2"] { transition-delay: .16s; }
[data-delay="3"] { transition-delay: .24s; }
[data-delay="4"] { transition-delay: .32s; }
[data-delay="5"] { transition-delay: .4s; }

/* --------------------------------------------------------------- 响应式 */
@media (max-width: 1180px) {
  .process { grid-template-columns: repeat(3, 1fr); row-gap: 34px; }
  .process-step:nth-child(4) { border-left: 0; }
  .process-step:nth-child(n+4) { padding-left: 0; }
}
@media (max-width: 1024px) {
  .section { padding: 84px 0; }
  .hero-grid, .page-hero-inner, .cta-inner { grid-template-columns: 1fr; gap: 44px; }
  .hero-media img { aspect-ratio: 16/11; }
  .hero-badge { left: 16px; bottom: 16px; }
  .col-4 { grid-template-columns: repeat(2, 1fr); }
  .col-3 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 34px 20px; }
  .stats div:nth-child(odd)::before { display: none; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 38px; }
  .cta-actions { flex-direction: row; flex-wrap: wrap; }
}
@media (max-width: 900px) {
  .nav { display: none; }
  .burger { display: flex; }
  .header-phone span { display: none; }
}
@media (max-width: 768px) {
  .wrap { padding: 0 20px; }
  .section { padding: 68px 0; }
  .section-tight { padding: 52px 0; }
  .col-2, .col-3, .col-4 { grid-template-columns: 1fr; }
  /* 窄屏下横向进场位移会把整宽栅格子项推出视口（实测 6px 横向溢出），
     这里改成纵向位移：保留进场动效，同时杜绝横向溢出 */
  html.js [data-reveal="left"], html.js [data-reveal="right"] { transform: translateY(22px); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .process-step:nth-child(odd) { border-left: 0; padding-left: 0; }
  .process-step:nth-child(even) { border-left: 1px solid var(--line); }
  .form-row { grid-template-columns: 1fr; }
  .form-card { padding: 26px 22px; }
  .facts dl { grid-template-columns: 1fr; }
  .hero { padding-top: 54px; }
  .hero-trust { gap: 26px; }
  .hero-trust div strong { font-size: 25px; }
  .footer-grid { grid-template-columns: 1fr; }
  .section-head { margin-bottom: 36px; }
  .cta-inner { padding: 54px 0; }
}
@media (max-width: 520px) {
  .btn { padding: 13px 22px; font-size: 14.5px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .case-meta { grid-template-columns: repeat(2, 1fr); }
  .backtop { right: 16px; bottom: 16px; }
  .logo-sub { display: none; }
  /* 窄屏顶栏收紧：微信入口收起，只留主 CTA 与汉堡按钮，避免 390px 下横向溢出 */
  .header-inner { gap: 14px; }
  .header-phone { display: none; }
  .header-actions { gap: 10px; }
}

/* 模板成交入口：页脚「模板定制咨询」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(--accent); 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(--accent); 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; }
}
