/* ============================================================
   云筑家装网 · 设计系统 site.css
   视觉语言：松绿 + 陶土 + 米纸底 · 编辑式大标题
   ============================================================ */
:root {
  --paper: #f6f4ee;
  --white: #fffefa;
  --ink: #18342d;
  --pine: #195244;
  --pine-dark: #103b31;
  --pine-soft: #2c6353;
  --muted: #6d7b75;
  --clay: #bf6846;
  --clay-dark: #9c4526;
  --sand: #e9e3d8;
  --sage: #e3ece6;
  --cream: #f0e9df;
  --line: rgba(24, 52, 45, .12);
  --line-strong: rgba(24, 52, 45, .2);
  --shadow: 0 18px 50px rgba(25, 53, 44, .09);
  --shadow-sm: 0 6px 20px rgba(25, 53, 44, .07);
  --radius: 20px;
  --serif: "STSong", "Songti SC", Georgia, serif;
  --sans: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --max: 1200px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); line-height: 1.7; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
h1, h2, h3, h4 { margin: 0; line-height: 1.25; font-weight: 750; letter-spacing: -.02em; }
p { margin: 0; }
.container { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }
.is-hidden { display: none !important; }
.muted { color: var(--muted); }
.clay { color: var(--clay); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* 顶部导航 */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(246,244,238,.93); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.nav-wrap { min-height: 74px; display: flex; align-items: center; gap: 26px; }
.brand { display: flex; align-items: center; gap: 11px; font-size: 17px; font-weight: 800; white-space: nowrap; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; background: var(--pine); color: #fff; border-radius: 11px; font-family: var(--serif); font-size: 21px; }
.brand small { display: block; margin-top: 2px; color: var(--muted); font-size: 8px; font-weight: 600; letter-spacing: .14em; }
.nav-links { display: flex; align-items: center; gap: 24px; margin-left: auto; font-size: 14px; color: #455b53; }
.nav-links a { position: relative; padding: 4px 0; }
.nav-links a:hover, .nav-links a.active { color: var(--pine); font-weight: 700; }
.nav-links a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--clay); border-radius: 2px; }
.nav-business { padding: 8px 15px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--pine); font-size: 12px; font-weight: 700; white-space: nowrap; }
.nav-business:hover { background: var(--pine); color: #fff; border-color: var(--pine); }
.nav-toggle { display: none; margin-left: auto; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); font-size: 18px; color: var(--pine); }

/* 档案进度条 / 溯源条 */
.profile-bar { background: var(--pine-dark); color: #fff; }
.profile-bar-inner { display: flex; align-items: center; gap: 16px; min-height: 44px; font-size: 12px; }
.pb-label { font-weight: 700; white-space: nowrap; }
.pb-label span { color: #d6a583; }
.pb-track { flex: 1; height: 6px; background: rgba(255,255,255,.16); border-radius: 99px; overflow: hidden; }
.pb-track i { display: block; height: 100%; width: 0; background: linear-gradient(90deg,#d6a583,#bf6846); border-radius: 99px; transition: width .5s ease; }
.pb-pct { color: #d6a583; font-weight: 800; white-space: nowrap; }
.pb-link { color: #fff; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.trace-bar { background: var(--cream); border-bottom: 1px solid rgba(191,104,70,.2); }
.trace-inner { display: flex; align-items: center; gap: 10px; min-height: 40px; font-size: 12px; color: #7c5b46; }
.trace-ico { width: 22px; height: 22px; display: grid; place-items: center; background: var(--clay); color: #fff; border-radius: 50%; font-size: 11px; font-weight: 800; flex: 0 0 auto; }
.trace-inner strong { color: #713c26; }
.trace-close { margin-left: auto; color: #9b7a63; cursor: pointer; font-size: 16px; line-height: 1; }

/* 按钮 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; padding: 12px 22px; border: 1px solid transparent; border-radius: 999px; font-weight: 700; font-size: 14px; transition: .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--pine); color: #fff; box-shadow: 0 9px 24px rgba(25,82,68,.18); }
.btn-primary:hover { background: var(--pine-dark); }
.btn-secondary { background: var(--white); border-color: var(--line-strong); color: var(--ink); }
.btn-secondary:hover { border-color: var(--pine); color: var(--pine); }
.btn-clay { background: var(--clay); color: #fff; }
.btn-clay:hover { background: var(--clay-dark); }
.btn-ghost { background: transparent; color: var(--pine); border-color: transparent; }
.btn-sm { min-height: 38px; padding: 8px 15px; font-size: 12px; }
.btn-lg { min-height: 52px; padding: 14px 28px; font-size: 15px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .6; cursor: wait; transform: none; }
.eyebrow { margin-bottom: 13px; color: var(--clay); font-size: 11px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.text-link { color: var(--pine); font-size: 13px; font-weight: 750; white-space: nowrap; }
.text-link:hover { color: var(--clay); }

/* Hero */
.hero { padding: 56px 0 48px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 56px; }
.hero h1 { margin: 0 0 22px; font-size: clamp(40px, 5vw, 64px); line-height: 1.14; letter-spacing: -.055em; font-weight: 800; }
.hero h1 em { color: var(--pine); font-style: normal; }
.lead { margin: 0 0 26px; color: var(--muted); font-size: 16px; line-height: 1.85; }
.search-bar { display: flex; align-items: center; gap: 8px; padding: 7px; margin: 26px 0 15px; background: var(--white); border: 1px solid var(--line); border-radius: 17px; box-shadow: var(--shadow); }
.search-bar input { min-width: 0; flex: 1; padding: 11px 13px; border: 0; outline: 0; color: var(--ink); background: transparent; }
.hero-note { display: flex; flex-wrap: wrap; gap: 15px; color: var(--muted); font-size: 12px; }
.hero-note span::before { content: "✓"; margin-right: 6px; color: var(--pine); font-weight: 800; }
.hero-visual { position: relative; }
.hero-visual > img { width: 100%; height: 530px; object-fit: cover; object-position: 62% center; border-radius: 30px; box-shadow: var(--shadow); }
.floating-card { position: absolute; left: -28px; bottom: 32px; width: 228px; padding: 17px; background: rgba(255,254,250,.95); border: 1px solid rgba(255,255,255,.7); border-radius: 18px; box-shadow: var(--shadow); backdrop-filter: blur(12px); }
.floating-card strong { display: block; margin: 6px 0; font-size: 20px; }
.floating-card p { color: var(--muted); font-size: 12px; line-height: 1.6; }
.live-dot { display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: #5b9273; box-shadow: 0 0 0 5px rgba(91,146,115,.13); }
.watermark-tag { position: absolute; left: 13px; bottom: 12px; padding: 6px 9px; background: rgba(10,25,21,.64); color: rgba(255,255,255,.92); border-radius: 6px; font-size: 9px; letter-spacing: .03em; }

/* 数据条 */
.stats-band { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 24px 26px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-family: var(--serif); font-size: 29px; font-weight: 500; }
.stat span { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; }

/* 区块 */
.section { padding: 68px 0; }
.section + .section { padding-top: 18px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 26px; }
.section-head h2 { margin: 0 0 8px; font-size: 33px; line-height: 1.25; letter-spacing: -.035em; }
.section-head p { color: var(--muted); font-size: 14px; line-height: 1.7; }

/* 三阶漏斗 */
.funnel-band { padding: 8px 0 24px; }
.funnel-wrap { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 28px; box-shadow: var(--shadow); }
.funnel-step { position: relative; padding: 6px 24px; border-right: 1px solid var(--line); }
.funnel-step:last-child { border-right: 0; }
.fs-num { display: inline-grid; place-items: center; width: 30px; height: 30px; margin-bottom: 11px; border-radius: 9px; font-size: 13px; font-weight: 800; }
.funnel-step:nth-child(1) .fs-num { background: var(--sage); color: var(--pine); }
.funnel-step:nth-child(2) .fs-num { background: #f6e7d8; color: #a8593a; }
.funnel-step:nth-child(3) .fs-num { background: #f5ded5; color: #9c4526; }
.funnel-step h3 { margin: 0 0 7px; font-size: 17px; }
.funnel-step p { color: var(--muted); font-size: 12px; line-height: 1.7; }
.fs-tag { display: inline-block; margin-top: 10px; padding: 4px 9px; background: var(--paper); border-radius: 6px; font-size: 10px; color: var(--muted); }
.funnel-step.active { background: linear-gradient(180deg, rgba(227,236,230,.35), transparent); border-radius: 14px; }

/* 工具卡 */
.tool-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.tool-card { position: relative; min-height: 248px; padding: 30px; border: 1px solid var(--line); border-radius: 25px; overflow: hidden; }
.tool-card.quote { background: var(--sage); }
.tool-card.design { background: #eee5da; }
.tool-card::after { content: ""; position: absolute; width: 190px; height: 190px; right: -40px; bottom: -70px; border: 1px solid rgba(25,82,68,.14); border-radius: 50%; box-shadow: 0 0 0 28px rgba(255,255,255,.12), 0 0 0 56px rgba(25,82,68,.05); }
.tool-number { color: var(--muted); font-family: var(--serif); font-size: 13px; }
.tool-card h3 { margin: 24px 0 10px; font-size: 26px; letter-spacing: -.03em; }
.tool-card p { max-width: 400px; margin: 0 0 22px; color: #596d64; font-size: 14px; line-height: 1.75; }
.tool-card .btn { position: relative; z-index: 1; }
.unlock-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: -6px 0 16px; position: relative; z-index: 1; }
.unlock-chips span { padding: 5px 10px; background: rgba(255,255,255,.7); border: 1px solid rgba(25,82,68,.12); border-radius: 7px; font-size: 10px; color: var(--pine); font-weight: 700; }

/* 内容/直播 */
.media-band { background: var(--white); }
.live-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 22px; }
.live-feature { position: relative; min-height: 340px; border-radius: 24px; overflow: hidden; background: var(--pine-dark); display: block; }
.live-feature img { width: 100%; height: 100%; object-fit: cover; opacity: .62; position: absolute; inset: 0; }
.lf-content { position: relative; z-index: 1; padding: 32px; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; }
.live-badge { align-self: flex-start; display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; background: var(--clay); border-radius: 999px; font-size: 11px; font-weight: 800; }
.live-feature h3 { margin: 14px 0 8px; font-size: 27px; letter-spacing: -.03em; }
.live-feature p { margin: 0 0 16px; color: rgba(255,255,255,.78); font-size: 13px; line-height: 1.7; }
.expert-list { display: flex; flex-direction: column; gap: 12px; }
.expert-card { display: flex; align-items: center; gap: 14px; padding: 16px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; }
.expert-avatar { width: 50px; height: 50px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; background: var(--pine); color: #fff; font-family: var(--serif); font-size: 18px; overflow: hidden; }
.expert-avatar img { width: 100%; height: 100%; object-fit: cover; }
.expert-card:nth-child(2) .expert-avatar { background: var(--clay-dark); }
.expert-card:nth-child(3) .expert-avatar { background: #75693d; }
.ex-main { flex: 1; min-width: 0; }
.expert-card h4 { margin: 0 0 3px; font-size: 14px; }
.expert-card p { color: var(--muted); font-size: 11px; line-height: 1.5; }
.expert-tip { margin-top: 6px; padding: 10px 14px; background: #f3ede3; color: #766352; border-radius: 10px; font-size: 11px; line-height: 1.6; }

/* 筛选 / 案例卡 */
.filter-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.chip { padding: 9px 15px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--muted); font-size: 12px; transition: .18s; }
.chip.active, .chip:hover { background: var(--pine); border-color: var(--pine); color: #fff; }
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 21px; }
.case-card { background: var(--white); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; transition: .25s ease; display: block; }
.case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.case-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand); }
.case-media img { width: 100%; height: 100%; object-fit: cover; transition: .5s ease; }
.case-card:hover .case-media img { transform: scale(1.035); }
.media-badge { position: absolute; left: 13px; top: 13px; padding: 7px 10px; background: rgba(17,53,44,.84); color: #fff; border-radius: 8px; font-size: 10px; font-weight: 700; backdrop-filter: blur(8px); }
.media-badge.ai { background: rgba(156,91,59,.88); }
.case-count { position: absolute; right: 12px; bottom: 12px; padding: 5px 9px; background: rgba(10,25,21,.62); color: #fff; border-radius: 7px; font-size: 10px; }
.case-body { padding: 17px; }
.case-title { margin: 0 0 8px; font-size: 16px; line-height: 1.45; }
.case-meta { display: flex; flex-wrap: wrap; gap: 7px; color: var(--muted); font-size: 11px; }
.case-meta span + span::before { content: "·"; margin-right: 7px; }
.case-company { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.case-company strong { color: var(--ink); font-size: 12px; }

/* 装企卡 */
.company-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 21px; }
.company-card { background: var(--white); border: 1px solid var(--line); border-radius: 21px; overflow: hidden; }
.company-cover { position: relative; aspect-ratio: 16 / 8.5; overflow: hidden; }
.company-cover img { width: 100%; height: 100%; object-fit: cover; }
.company-body { padding: 19px; }
.company-title { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.company-title h3 { margin: 0 0 5px; font-size: 18px; }
.company-title p { color: var(--muted); font-size: 11px; }
.verified { display: inline-flex; align-items: center; gap: 4px; padding: 5px 8px; background: var(--sage); color: var(--pine); border-radius: 6px; font-size: 10px; font-weight: 750; white-space: nowrap; }
.company-stats { display: grid; grid-template-columns: repeat(3, 1fr); margin: 16px 0; padding: 13px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.company-stats strong { display: block; font-size: 16px; }
.company-stats span { color: var(--muted); font-size: 10px; }
.company-actions { display: flex; gap: 8px; }
.company-actions .btn { flex: 1; }
.company-source { margin-top: 11px; padding: 9px 11px; background: #f6efe6; border-radius: 9px; font-size: 10px; color: #84654f; line-height: 1.6; }

/* 信任区 */
.trust-panel { padding: 38px; background: var(--pine-dark); color: #fff; border-radius: 28px; }
.trust-panel .section-head { margin-bottom: 28px; }
.trust-panel .section-head p { color: rgba(255,255,255,.65); }
.trust-panel .eyebrow { color: #d6a583; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.trust-item { padding-right: 18px; border-right: 1px solid rgba(255,255,255,.14); }
.trust-item:last-child { border-right: 0; }
.trust-item b { display: block; margin-bottom: 9px; color: #d6a583; font-family: var(--serif); font-size: 14px; }
.trust-item h3 { margin: 0 0 8px; font-size: 17px; }
.trust-item p { color: rgba(255,255,255,.65); font-size: 12px; line-height: 1.75; }

/* CTA & 页脚 */
.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 34px 38px; background: #e8dfd2; border-radius: 25px; }
.cta-band h2 { margin: 0 0 7px; font-size: 28px; }
.cta-band p { color: var(--muted); font-size: 13px; }
.site-footer { margin-top: 66px; padding: 34px 0 40px; border-top: 1px solid var(--line); }
.footer-wrap { display: flex; align-items: flex-start; justify-content: space-between; gap: 28px; color: var(--muted); font-size: 11px; flex-wrap: wrap; }
.footer-brand { max-width: 340px; }
.footer-brand strong { display: block; color: var(--ink); font-size: 14px; margin-bottom: 6px; }
.footer-brand .icp-line { display: block; margin-top: 6px; font-size: 10px; color: var(--muted); }
.footer-brand .icp-line a { color: var(--muted); border-bottom: 1px dotted currentColor; }
.footer-brand .icp-line a:hover { color: var(--pine); }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links a:hover { color: var(--pine); }

/* 内页通用 */
.page-hero { padding: 36px 0 22px; }
.breadcrumb { margin-bottom: 18px; color: var(--muted); font-size: 11px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.breadcrumb a:hover { color: var(--pine); }
.breadcrumb .sep { opacity: .5; }
.page-title { margin: 0 0 12px; font-size: 40px; letter-spacing: -.04em; }
.page-subtitle { max-width: 720px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.panel { padding: 25px; background: var(--white); border: 1px solid var(--line); border-radius: 22px; }
.panel + .panel { margin-top: 20px; }
.panel h2 { margin: 0 0 18px; font-size: 21px; }
.panel h3 { margin: 0 0 13px; font-size: 17px; }
.notice { padding: 13px 15px; background: #f3ede3; color: #766352; border-radius: 10px; font-size: 11px; line-height: 1.7; }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(290px, .65fr); gap: 24px; align-items: start; }
.sticky-side { position: sticky; top: 96px; }

/* 表单 */
.form-field { margin-bottom: 15px; }
.form-field label { display: block; margin-bottom: 7px; font-size: 12px; font-weight: 700; }
.form-field .req { color: var(--clay); }
.form-field input, .form-field select, .form-field textarea { width: 100%; padding: 12px 13px; border: 1px solid var(--line); outline: none; border-radius: 10px; background: var(--white); color: var(--ink); font-size: 13px; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--pine); box-shadow: 0 0 0 3px rgba(25,82,68,.08); }
.form-field textarea { min-height: 88px; resize: vertical; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.checkbox { display: flex; align-items: flex-start; gap: 8px; margin: 13px 0; color: var(--muted); font-size: 10px; line-height: 1.65; }
.checkbox input { margin-top: 2px; accent-color: var(--pine); }
.checkbox a, .inline-link { color: var(--pine); text-decoration: underline; text-underline-offset: 2px; }
.checkbox a:hover, .inline-link:hover { color: var(--clay); }
.form-note { margin: 11px 0 0; color: var(--muted); font-size: 10px; line-height: 1.65; }
.form-success { padding: 26px 14px; text-align: center; }
.success-icon { width: 48px; height: 48px; display: grid; place-items: center; margin: 0 auto 13px; background: var(--sage); color: var(--pine); border-radius: 50%; font-size: 22px; }
.form-success h3 { margin-bottom: 8px; }
.form-success p { color: var(--muted); font-size: 12px; line-height: 1.75; }

/* 报价页 */
.quote-layout { display: grid; grid-template-columns: .82fr 1.18fr; gap: 24px; align-items: start; }
.quote-form-panel { position: sticky; top: 96px; }
.result-placeholder { min-height: 420px; display: grid; place-items: center; text-align: center; background: rgba(255,254,250,.55); border: 1px dashed rgba(24,52,45,.22); border-radius: 22px; }
.result-placeholder div { max-width: 320px; }
.result-placeholder strong { display: block; margin: 15px 0 8px; font-size: 19px; }
.result-placeholder p { color: var(--muted); font-size: 12px; line-height: 1.7; }
.price-card { padding: 30px; background: var(--pine-dark); color: #fff; border-radius: 22px; }
.price-card .eyebrow { color: #d6a583; }
.price-label { color: rgba(255,255,255,.64); font-size: 12px; }
.price { margin: 10px 0 8px; font-family: var(--serif); font-size: 42px; letter-spacing: -.03em; }
.price small { font-family: inherit; font-size: 16px; }
.price-card > p { color: rgba(255,255,255,.6); font-size: 11px; line-height: 1.7; }
.price-breakdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 20px; }
.price-part { padding: 13px; background: rgba(255,255,255,.08); border-radius: 10px; }
.price-part span { display: block; margin-bottom: 6px; color: rgba(255,255,255,.55); font-size: 10px; }
.price-part strong { font-size: 13px; }
.unlock-box { margin-top: 20px; padding: 20px; border: 1px dashed rgba(191,104,70,.5); background: #fbf6f0; border-radius: 18px; }
.unlock-box h3 { color: #8f4a2e; margin-bottom: 12px; }
.unlock-list { display: grid; gap: 8px; margin: 12px 0 16px; }
.unlock-list div { display: flex; align-items: center; gap: 9px; font-size: 12px; color: #6b5446; }
.unlock-list div::before { content: "✓"; display: grid; place-items: center; width: 18px; height: 18px; flex: 0 0 auto; background: var(--clay); color: #fff; border-radius: 50%; font-size: 10px; }
.preview-thumbs { display: flex; gap: 8px; margin: 13px 0; }
.preview-thumbs img { width: 72px; height: 54px; object-fit: cover; border-radius: 8px; filter: blur(2px); opacity: .8; }
.mini-recommend { display: grid; grid-template-columns: 105px 1fr; gap: 14px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.mini-recommend img { width: 105px; height: 76px; object-fit: cover; border-radius: 10px; }
.mini-recommend strong { display: block; margin-bottom: 5px; font-size: 13px; }
.mini-recommend p { color: var(--muted); font-size: 11px; }

/* AI 设计页 */
.design-workspace { display: grid; grid-template-columns: .75fr 1.25fr; gap: 24px; align-items: start; }
.upload-box { display: grid; place-items: center; min-height: 148px; margin-bottom: 16px; padding: 20px; background: var(--paper); border: 1px dashed rgba(24,52,45,.25); border-radius: 14px; text-align: center; cursor: pointer; }
.upload-box strong { display: block; margin: 8px 0 4px; font-size: 14px; }
.upload-box span { color: var(--muted); font-size: 10px; }
.upload-icon { font-size: 26px; color: var(--pine); }
.ai-canvas { position: relative; min-height: 480px; overflow: hidden; border-radius: 24px; background: #e9e3d9; }
.ai-canvas > img { width: 100%; height: 480px; object-fit: cover; }
.ai-overlay { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(238,232,222,.76); backdrop-filter: blur(9px); text-align: center; padding: 20px; }
.ai-overlay strong { display: block; margin: 12px 0 7px; font-size: 20px; }
.ai-overlay p { max-width: 280px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.ai-toolbar { position: absolute; left: 16px; right: 16px; bottom: 16px; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 14px; background: rgba(255,254,250,.94); border-radius: 13px; backdrop-filter: blur(10px); }
.ai-toolbar span { color: var(--clay); font-size: 10px; font-weight: 750; }
.ai-toolbar small { color: var(--muted); font-size: 9px; }
.capability-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 14px; }
.cap-item { padding: 13px; background: var(--paper); border-radius: 11px; text-align: center; }
.cap-item b { display: block; margin-bottom: 4px; font-size: 13px; }
.cap-item span { color: var(--muted); font-size: 10px; }
.share-row { display: flex; gap: 9px; margin-top: 12px; }
.share-row .btn { flex: 1; }

/* 案例库 / 详情 */
.lib-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 20px; }
.lib-search { display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 14px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; min-width: 240px; }
.lib-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; padding: 6px 0; font-size: 13px; color: var(--ink); }
.lib-count { color: var(--muted); font-size: 12px; margin-left: auto; }
.lib-empty { grid-column: 1 / -1; padding: 60px 20px; text-align: center; color: var(--muted); }
.lib-more { display: flex; justify-content: center; margin-top: 30px; }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gallery figure { margin: 0; border-radius: 14px; overflow: hidden; background: var(--sand); cursor: zoom-in; }
.gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: .35s; }
.gallery figure:hover img { transform: scale(1.03); }
.gallery figure.wide { grid-column: span 2; }
.gallery figure.wide img { aspect-ratio: 8/3.9; }

.case-article-head { margin-bottom: 18px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.tag { padding: 5px 11px; background: var(--sage); color: var(--pine); border-radius: 7px; font-size: 11px; font-weight: 700; }
.tag.clay { background: #f6e7d8; color: #a8593a; }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table th, .spec-table td { text-align: left; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 12px; }
.spec-table th { color: var(--muted); font-weight: 600; width: 40%; }
.side-cta { padding: 22px; background: var(--pine-dark); color: #fff; border-radius: 20px; }
.side-cta h3 { margin-bottom: 8px; font-size: 18px; color: #fff; }
.side-cta p { color: rgba(255,255,255,.7); font-size: 12px; line-height: 1.7; margin-bottom: 16px; }

/* 风格专题 */
.style-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; padding: 30px 0 8px; }
.style-hero img { width: 100%; height: 320px; object-fit: cover; border-radius: 22px; box-shadow: var(--shadow); }
.style-hero h1 { font-size: 40px; letter-spacing: -.04em; margin-bottom: 12px; }
.style-hero p { color: var(--muted); font-size: 14px; line-height: 1.8; margin-bottom: 18px; }
.style-meta-row { display: flex; gap: 26px; margin: 18px 0; }
.style-meta-row div strong { display: block; font-family: var(--serif); font-size: 24px; }
.style-meta-row div span { color: var(--muted); font-size: 11px; }

/* 匹配机制 / 入驻 / 关于 */
.step-list { display: grid; gap: 16px; }
.step-item { display: grid; grid-template-columns: 52px 1fr; gap: 16px; padding: 20px; background: var(--white); border: 1px solid var(--line); border-radius: 18px; }
.step-item .si-num { width: 44px; height: 44px; display: grid; place-items: center; background: var(--sage); color: var(--pine); border-radius: 12px; font-family: var(--serif); font-size: 20px; }
.step-item h3 { margin: 0 0 6px; font-size: 16px; }
.step-item p { color: var(--muted); font-size: 12.5px; line-height: 1.75; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 14px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--clay); font-weight: 800; }
.faq details[open] summary::after { content: "–"; }
.faq p { margin-top: 10px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.value-card { padding: 22px; background: var(--white); border: 1px solid var(--line); border-radius: 18px; }
.value-card b { color: var(--clay); font-family: var(--serif); font-size: 13px; }
.value-card h3 { margin: 8px 0 8px; font-size: 16px; }
.value-card p { color: var(--muted); font-size: 12.5px; line-height: 1.75; }
.prose { max-width: 760px; }
.prose h2 { font-size: 24px; margin: 28px 0 12px; }
.prose h3 { font-size: 18px; margin: 20px 0 10px; }
.prose p { color: #3d4f48; font-size: 14px; line-height: 1.9; margin-bottom: 13px; }
.prose ul { color: #3d4f48; font-size: 14px; line-height: 1.9; padding-left: 20px; margin-bottom: 13px; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--pine); text-decoration: underline; text-underline-offset: 2px; }
.prose .updated { color: var(--muted); font-size: 12px; margin-bottom: 22px; }
.prose .lead-note { padding: 14px 16px; background: #f3ede3; color: #6b5446; border-radius: 10px; font-size: 13px; line-height: 1.8; margin-bottom: 22px; }
.toc-inline { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.toc-inline a { padding: 6px 12px; background: var(--white); border: 1px solid var(--line); border-radius: 999px; font-size: 12px; color: var(--muted); text-decoration: none; }
.toc-inline a:hover { border-color: var(--pine); color: var(--pine); }

/* 装企选择 */
.company-pick { display: grid; gap: 8px; margin: 6px 0 4px; }
.company-option { display: flex; align-items: flex-start; gap: 11px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; transition: .15s; }
.company-option:hover { border-color: var(--line-strong); }
.company-option:has(input:checked) { border-color: var(--pine); background: #f2f7f4; box-shadow: 0 0 0 1px var(--pine) inset; }
.company-option input { margin-top: 3px; accent-color: var(--pine); flex: 0 0 auto; }
.company-option .co-main { flex: 1; min-width: 0; }
.company-option strong { display: block; font-size: 13px; }
.company-option .co-sub { color: var(--muted); font-size: 11px; line-height: 1.5; }
.company-option .co-cases { color: var(--clay); font-size: 10px; font-weight: 700; white-space: nowrap; }
.company-pick-note { color: var(--muted); font-size: 10px; line-height: 1.6; margin-top: 6px; }

/* 线索看板 */
.admin-panel { max-width: 980px; }
.admin-bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; margin-bottom: 18px; }
.admin-bar .form-field { margin: 0; flex: 1; min-width: 220px; }
.admin-stat { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 22px; }
.admin-stat > div { padding: 14px 16px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; }
.admin-stat strong { display: block; font-family: var(--serif); font-size: 22px; }
.admin-stat span { color: var(--muted); font-size: 11px; }
.company-group { margin-bottom: 26px; }
.company-group > h2 { font-size: 18px; margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.company-group > h2 small { color: var(--muted); font-size: 12px; font-weight: 400; }
.lead-card { padding: 15px 17px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; margin-bottom: 11px; }
.lead-top { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.lead-name { font-size: 15px; font-weight: 700; }
.lead-phone { color: var(--pine); font-size: 14px; font-weight: 700; letter-spacing: .02em; }
.lead-meta { color: var(--muted); font-size: 11px; margin-top: 4px; }
.lead-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.lead-tag { padding: 4px 9px; background: var(--sage); color: var(--pine); border-radius: 6px; font-size: 10px; }
.status-pill { padding: 4px 10px; border-radius: 999px; font-size: 10px; font-weight: 700; white-space: nowrap; }
.status-pill.new { background: #f6e7d8; color: #a8593a; }
.status-pill.withdrawn { background: #ececec; color: #888; }
.admin-empty { padding: 50px 20px; text-align: center; color: var(--muted); }
.admin-gate { max-width: 420px; margin: 0 auto; }

/* 报价：真实引擎结果 */
.city-hint { margin-top: 7px; font-size: 11px; color: var(--muted); line-height: 1.5; }
.city-hint b { color: var(--pine); }
.quote-summary { padding: 28px; background: var(--pine-dark); color: #fff; border-radius: 22px; }
.quote-summary .eyebrow { color: #d6a583; }
.quote-main-num { margin: 8px 0 2px; font-family: var(--serif); font-size: 40px; letter-spacing: -.02em; }
.quote-main-num small { font-family: var(--sans); font-size: 14px; opacity: .7; }
.quote-sub { color: rgba(255,255,255,.6); font-size: 11px; }
.quote-total-row { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,.12); font-size: 13px; }
.quote-total-row span { color: rgba(255,255,255,.72); }
.quote-total-row:last-child { border-bottom: 0; }
.quote-total-row strong { font-size: 15px; }
.metric-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin-top: 15px; }
.metric-cell { padding: 11px; background: rgba(255,255,255,.08); border-radius: 10px; }
.metric-cell span { display: block; color: rgba(255,255,255,.55); font-size: 10px; margin-bottom: 4px; }
.metric-cell strong { font-size: 13px; }
.cat-list { display: grid; gap: 8px; margin-top: 4px; }
.cat-row { display: grid; grid-template-columns: 92px 1fr 78px; gap: 10px; align-items: center; font-size: 12px; }
.cat-row .cat-name { color: var(--muted); }
.cat-row .cat-val { text-align: right; font-weight: 700; white-space: nowrap; }
.cat-bar { height: 8px; background: var(--sand); border-radius: 99px; overflow: hidden; }
.cat-bar i { display: block; height: 100%; background: linear-gradient(90deg, #2c6353, #195244); border-radius: 99px; }
.check-list { display: grid; gap: 9px; margin-top: 4px; }
.check-item { display: flex; gap: 9px; font-size: 12.5px; line-height: 1.6; align-items: flex-start; }
.check-item .ci-ico { width: 19px; height: 19px; flex: 0 0 auto; border-radius: 50%; display: grid; place-items: center; font-size: 10px; font-weight: 800; margin-top: 1px; }
.ci-ok { background: var(--sage); color: var(--pine); }
.ci-warn { background: #f6e7d8; color: #a8593a; }
.ci-info { background: #e6eef7; color: #2f5d8a; }
.detail-table { width: 100%; border-collapse: collapse; font-size: 11px; }
.detail-table th, .detail-table td { padding: 6px 8px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.detail-table thead th { background: var(--sage); color: var(--pine); font-weight: 700; position: sticky; top: 0; }
.detail-table td.num { text-align: right; white-space: nowrap; }
.detail-table tr.cat-line td { background: #f3f7f5; font-weight: 700; color: var(--pine); }
.detail-scroll { max-height: 520px; overflow: auto; border: 1px solid var(--line); border-radius: 12px; }

/* 装企报价工作台（B 端内部） */
.bench-layout { display: grid; grid-template-columns: 320px 1fr; gap: 20px; align-items: start; }
.bench-side { position: sticky; top: 96px; }
.kpi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 16px; }
.kpi { padding: 15px 16px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; }
.kpi span { display: block; color: var(--muted); font-size: 11px; margin-bottom: 6px; }
.kpi strong { font-family: var(--serif); font-size: 21px; font-weight: 500; }
.kpi.good strong { color: var(--pine); }
.kpi.warn strong { color: var(--clay); }
.kpi.hero { background: var(--pine-dark); border-color: var(--pine-dark); }
.kpi.hero span { color: rgba(255,255,255,.6); }
.kpi.hero strong { color: #fff; }
.kpi small { display: block; margin-top: 4px; color: var(--muted); font-size: 10px; }
.view-tabs { display: inline-flex; gap: 5px; padding: 5px; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; margin-bottom: 14px; }
.view-tabs button { padding: 8px 16px; border: 0; background: transparent; border-radius: 999px; font-size: 12px; font-weight: 700; color: var(--muted); }
.view-tabs button.active { background: var(--pine); color: #fff; }
.bench-actions { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.bench-tip { margin-bottom: 14px; padding: 11px 14px; background: #f6e7d8; color: #8a4a2c; border-radius: 10px; font-size: 11px; line-height: 1.6; }
.bench-warn { margin-top: 12px; padding: 11px 14px; background: #fdecea; color: #8a2c22; border-radius: 10px; font-size: 12px; font-weight: 700; }
.bench-warn.is-hidden { display: none; }
@media (max-width: 1000px) {
  .bench-layout { grid-template-columns: 1fr; }
  .bench-side { position: static; }
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
}
@media print {
  .site-header, .profile-bar, .trace-bar, .site-footer, .bench-side, .bench-actions, .view-tabs { display: none !important; }
}

.bench-gate-overlay { position: fixed; inset: 0; z-index: 200; background: var(--paper); display: grid; place-items: center; padding: 24px; }
.bench-gate-overlay.is-hidden { display: none; }

/* 提示 */
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 100; max-width: calc(100% - 32px); padding: 13px 20px; transform: translate(-50%, 20px); background: var(--pine-dark); color: #fff; border-radius: 12px; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: .25s ease; font-size: 12px; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.lightbox { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 30px; background: rgba(9,22,18,.9); opacity: 0; pointer-events: none; transition: .25s; }
.lightbox.show { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: 92vw; max-height: 88vh; border-radius: 10px; }
.lightbox .lb-close { position: absolute; top: 22px; right: 26px; color: #fff; font-size: 32px; cursor: pointer; line-height: 1; }
.lightbox .lb-nav { position: absolute; top: 50%; transform: translateY(-50%); color: #fff; font-size: 38px; cursor: pointer; padding: 10px 16px; user-select: none; }
.lightbox .lb-prev { left: 10px; }
.lightbox .lb-next { right: 10px; }
.lightbox .lb-count { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.8); font-size: 12px; }

/* 响应式 */
@media (max-width: 1000px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open { display: flex; position: absolute; top: 74px; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 0; padding: 8px 24px 18px; background: var(--paper); border-bottom: 1px solid var(--line); }
  .nav-links.open a { padding: 11px 0; width: 100%; border-bottom: 1px solid var(--line); }
  .nav-business { display: none; }
  .hero-grid, .quote-layout, .design-workspace, .style-hero { grid-template-columns: 1fr; }
  .hero-visual > img { height: 420px; }
  .floating-card { left: 18px; }
  .case-grid, .company-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid, .value-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border-right: 0; }
  .detail-grid { grid-template-columns: 1fr; }
  .sticky-side, .quote-form-panel { position: static; }
  .funnel-wrap { grid-template-columns: 1fr; gap: 16px; }
  .funnel-step { border-right: 0; border-bottom: 1px solid var(--line); padding-bottom: 16px; }
  .funnel-step:last-child { border-bottom: 0; }
  .live-grid { grid-template-columns: 1fr; }
  .capability-row { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery figure.wide { grid-column: span 2; }
}
@media (max-width: 640px) {
  .container { width: min(100% - 32px, var(--max)); }
  .nav-wrap { min-height: 66px; }
  .brand { font-size: 15px; }
  .brand small { display: none; }
  .hero { padding-top: 36px; }
  .hero h1 { font-size: 38px; }
  .hero-grid { gap: 34px; }
  .search-bar { flex-direction: column; align-items: stretch; }
  .search-bar .btn { width: 100%; }
  .hero-visual > img { height: 350px; }
  .floating-card { bottom: 16px; width: 200px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .section { padding: 46px 0; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .section-head h2 { font-size: 27px; }
  .tool-grid, .case-grid, .company-grid, .value-grid { grid-template-columns: 1fr; }
  .trust-panel { padding: 26px; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item { padding: 0 0 16px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.14); }
  .cta-band, .footer-wrap { flex-direction: column; align-items: flex-start; }
  .cta-band { padding: 26px; }
  .cta-band h2 { font-size: 24px; }
  .cta-band .btn { width: 100%; }
  .page-title, .style-hero h1 { font-size: 31px; }
  .form-grid { grid-template-columns: 1fr; gap: 0; }
  .price { font-size: 33px; }
  .price-breakdown { grid-template-columns: 1fr 1fr; }
  .profile-bar-inner { flex-wrap: wrap; padding: 9px 0; gap: 9px; }
  .profile-bar-inner .pb-label { width: 100%; }
  .ai-canvas, .ai-canvas > img { min-height: 360px; height: 360px; }
  .capability-row { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 8px; }
  .gallery figure.wide { grid-column: span 2; }
  .style-hero img { height: 240px; }
  .lib-search { min-width: 100%; }
  .lib-count { margin-left: 0; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}

/* 施工节点时间线（智装租户案例） */
.timeline { display: flex; flex-direction: column; margin-top: 4px; }
.tl-item { position: relative; margin-left: 6px; padding: 10px 0 10px 18px; border-left: 2px solid var(--line); }
.tl-item:last-child { border-left-color: transparent; }
.tl-dot { position: absolute; left: -7px; top: 15px; width: 12px; height: 12px; border-radius: 50%; background: var(--line); border: 2px solid #fff; }
.tl-dot.done { background: var(--pine); }
.tl-body strong { display: block; font-size: 13px; color: var(--ink); }
.tl-body span { font-size: 11px; color: var(--muted); }
