/* ==========================================================================
   栖境设计 · 方案 E「企业站」
   参照 yimisheji.com 的建站路线：固定白底导航 + 满幅 banner + 白底长页
   特征：全站纯灰阶（#fff / #222 / #666 / #eee），所有颜色由摄影提供；
        微软雅黑/苹方，1.8 行高，16px 正文，80px 段落节奏，卡片网格。
   ========================================================================== */

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: #333;
  background: #fff;
}
img { max-width: 100%; display: block; border: 0; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
button { font: inherit; cursor: pointer; }

:root {
  --ink: #222;
  --ink-2: #444;
  --ink-3: #666;
  --ink-4: #6b6b6b;
  --line: #e8e8e8;
  --line-2: #ddd;
  --bg-soft: #f9f9f9;
  --bg-softer: #f5f5f5;
  --white: #fff;
  --header-h: 80px;
  --wrap: 1200px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

.container { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- 固定导航 ---------- */
.header {
  position: fixed; top: 0; left: 0; width: 100%; height: var(--header-h);
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, .08);
  z-index: 9999;
}
.header .container { height: 100%; display: flex; justify-content: space-between; align-items: center; }
.logo { display: flex; align-items: baseline; gap: 10px; }
.logo strong { font-size: 24px; letter-spacing: .16em; font-weight: 700; color: var(--ink); }
.logo span { font-size: 11px; letter-spacing: .22em; color: var(--ink-4); text-transform: uppercase; }

.nav-list { display: flex; gap: 26px; }
.nav-list a {
  font-size: 15px; color: var(--ink-2); padding: 8px 0; position: relative;
  transition: color .2s;
}
.nav-list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px;
  background: var(--ink); transform: scaleX(0); transform-origin: right;
  transition: transform .3s var(--ease);
}
.nav-list a:hover, .nav-list a[aria-current="page"] { color: var(--ink); }
.nav-list a:hover::after, .nav-list a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }

.header-tel { display: flex; align-items: center; gap: 8px; font-size: 15px; color: var(--ink); }
.header-tel b { font-size: 19px; letter-spacing: .02em; font-weight: 700; }
.header-tel i { font-style: normal; font-size: 11px; color: var(--ink-4); letter-spacing: .1em; }

.menu-btn { display: none; width: 36px; height: 30px; flex-direction: column; justify-content: space-between; background: none; border: 0; padding: 0; }
.menu-btn span { display: block; width: 100%; height: 3px; background: var(--ink); border-radius: 2px; transition: transform .28s, opacity .2s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(13.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-13.5px) rotate(-45deg); }

/* 移动抽屉 */
.drawer {
  position: fixed; inset: var(--header-h) 0 auto 0; background: #fff; z-index: 9998;
  border-top: 1px solid var(--line); padding: 8px 20px 24px;
  transform: translateY(-8px); opacity: 0; visibility: hidden;
  transition: opacity .25s, transform .28s var(--ease), visibility .28s;
  max-height: calc(100vh - var(--header-h)); overflow: auto;
}
.drawer.open { transform: none; opacity: 1; visibility: visible; }
.drawer a { display: block; padding: 14px 0; font-size: 16px; color: var(--ink-2); border-bottom: 1px solid var(--line); }
.drawer a:last-child { border-bottom: 0; }
.drawer .drawer-tel { margin-top: 14px; font-size: 15px; color: var(--ink-4); }
.drawer .drawer-tel b { display: block; font-size: 22px; color: var(--ink); letter-spacing: .02em; }

/* ---------- 右侧悬浮快捷导航 ---------- */
.right-fixed-nav {
  position: fixed; right: 20px; top: 50%; transform: translateY(-50%);
  z-index: 998; display: flex; flex-direction: column; gap: 8px;
}
.r-nav-item {
  display: block; width: 90px; height: 38px; line-height: 38px; text-align: center;
  background: rgba(34, 34, 34, .85); color: #fff; font-size: 13px; letter-spacing: .04em;
  transition: background .25s, transform .25s var(--ease);
}
.r-nav-item:hover, .r-nav-item.on { background: var(--ink); transform: translateX(-5px); color: #fff; }

/* ---------- 右下角悬浮联系 ---------- */
.float-contact { position: fixed; right: 20px; bottom: 30px; z-index: 998; }
.contact-btn {
  width: 52px; height: 52px; display: flex; align-items: center; justify-content: center;
  background: var(--ink); color: #fff; border-radius: 50%; cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .22); font-size: 12px; letter-spacing: .1em;
  transition: background .25s, transform .25s var(--ease);
}
.contact-btn:hover, .float-contact:hover .contact-btn { background: var(--ink-2); transform: scale(1.05); }
.contact-panel {
  position: absolute; right: 0; bottom: 64px; width: 230px; background: #fff;
  box-shadow: 0 6px 28px rgba(0, 0, 0, .16); padding: 20px; border-radius: 2px;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .28s, transform .28s var(--ease), visibility .28s;
}
.float-contact:hover .contact-panel, .float-contact.open .contact-panel {
  opacity: 1; visibility: visible; transform: none;
}
.contact-box { padding-bottom: 15px; margin-bottom: 15px; border-bottom: 1px dashed var(--line); }
.contact-box:last-child { border: 0; margin-bottom: 0; padding-bottom: 0; }
.contact-box h4 { font-size: 12px; color: var(--ink-4); letter-spacing: .1em; margin-bottom: 8px; font-weight: 400; }
.contact-box p { font-size: 14px; color: var(--ink); line-height: 1.8; }
.contact-box .qr {
  width: 120px; height: 120px; margin: 4px auto 8px; background: var(--bg-softer);
  border: 1px solid var(--line); display: grid; place-items: center;
  font-size: 11px; color: var(--ink-4); letter-spacing: .06em; line-height: 1.6; text-align: center;
}

/* ---------- 首屏 banner ---------- */
.banner { width: 100%; position: relative; overflow: hidden; margin-top: var(--header-h); height: min(78vh, 760px); min-height: 520px; }
.banner-img { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; display: block; }
.banner-mask {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .46) 0%, rgba(0, 0, 0, .34) 45%, rgba(0, 0, 0, .52) 100%);
}
.banner-inner {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  max-width: var(--wrap); margin: 0 auto; padding: 0 20px;
}
.banner-copy { color: #fff; max-width: 860px; text-align: center; }
.banner-copy h1 {
  font-size: clamp(34px, 4.6vw, 62px); line-height: 1.22; font-weight: 700;
  letter-spacing: .04em; margin-bottom: 22px;
}
.banner-copy .banner-sub { font-size: clamp(14px, 1.3vw, 17px); color: rgba(255, 255, 255, .9); line-height: 1.9; }
.banner-stats {
  display: flex; gap: clamp(20px, 3vw, 46px); margin: 30px 0 34px; flex-wrap: wrap; justify-content: center;
}
.banner-stats div { display: flex; flex-direction: column; }
.banner-stats b { font-size: clamp(26px, 3vw, 40px); font-weight: 700; letter-spacing: .02em; line-height: 1.1; }
.banner-stats span { font-size: 12px; color: rgba(255, 255, 255, .72); letter-spacing: .08em; margin-top: 4px; }
.banner-btns { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 13px 30px;
  font-size: 15px; border: 1px solid transparent; transition: background .22s, color .22s, border-color .22s;
}
.btn-solid { background: #fff; color: var(--ink); }
.btn-solid:hover { background: var(--ink); color: #fff; }
.btn-ghost { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .14); border-color: #fff; }

/* ---------- 通用段落 ---------- */
.sec { padding: 80px 0; }
.sec-soft { background: var(--bg-soft); }
.sec-ink { background: var(--ink); color: #fff; }
.sec-head { text-align: center; margin-bottom: 52px; }
.sec-head h2 {
  font-size: clamp(24px, 2.6vw, 34px); font-weight: 700; letter-spacing: .1em;
  color: var(--ink); margin-bottom: 14px;
}
.sec-head p { font-size: 15px; color: var(--ink-3); }
.sec-ink .sec-head h2 { color: #fff; }
.sec-ink .sec-head p { color: rgba(255, 255, 255, .62); }
.sec-head-line { display: inline-block; width: 40px; height: 2px; background: var(--ink); margin-bottom: 20px; }
.sec-ink .sec-head-line { background: rgba(255, 255, 255, .8); }

/* ---------- 核心服务 4 卡 ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.svc-card {
  background: #fff; border: 1px solid var(--line); padding: 40px 26px 34px;
  transition: box-shadow .28s var(--ease), transform .28s var(--ease), border-color .28s;
}
.svc-card:hover { box-shadow: 0 14px 34px rgba(0, 0, 0, .09); transform: translateY(-4px); border-color: var(--line-2); }
.svc-icon {
  width: 56px; height: 56px; margin-bottom: 22px; display: flex; align-items: center; justify-content: center;
  background: var(--bg-softer); border-radius: 50%;
}
.svc-icon svg { width: 26px; height: 26px; stroke: var(--ink); fill: none; stroke-width: 1.5; }
.svc-card h3 { font-size: 19px; font-weight: 700; color: var(--ink); margin-bottom: 10px; letter-spacing: .04em; }
.svc-card p { font-size: 14px; color: var(--ink-3); line-height: 1.85; }
.svc-card .svc-meta { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 12px; color: var(--ink-4); letter-spacing: .06em; }

/* ---------- 服务优势 6 格 ---------- */
.adv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.adv-item { background: #fff; border: 1px solid var(--line); padding: 32px 28px; position: relative; }
.adv-item::before {
  content: ""; position: absolute; left: 0; top: 0; width: 3px; height: 0;
  background: var(--ink); transition: height .35s var(--ease);
}
.adv-item:hover::before { height: 100%; }
.adv-no { font-size: 12px; letter-spacing: .16em; color: var(--ink-4); margin-bottom: 14px; display: block; }
.adv-item h3 { font-size: 18px; font-weight: 700; color: var(--ink); margin-bottom: 10px; }
.adv-item p { font-size: 14px; color: var(--ink-3); line-height: 1.85; }
.adv-item b { color: var(--ink); font-weight: 700; }

/* ---------- 服务指南 4 工具 ---------- */
.tool-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tool-card {
  display: block; background: #fff; border: 1px solid var(--line); padding: 30px 24px;
  transition: border-color .25s, box-shadow .25s, transform .25s var(--ease);
}
.tool-card:hover { border-color: var(--ink); box-shadow: 0 10px 26px rgba(0, 0, 0, .07); transform: translateY(-3px); }
.tool-ico { font-size: 26px; margin-bottom: 16px; }
.tool-card h3 { font-size: 17px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.tool-card p { font-size: 13px; color: var(--ink-4); line-height: 1.8; margin-bottom: 14px; }
.tool-more { font-size: 13px; color: var(--ink); letter-spacing: .04em; }
.tool-card:hover .tool-more { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- 案例网格 ---------- */
.case-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px 20px; margin-bottom: 40px; }
.case-card { display: block; }
.case-thumb { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: var(--bg-softer); }
.case-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.case-card:hover .case-thumb img { transform: scale(1.06); }
.case-thumb::after {
  content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, 0);
  transition: background .3s;
}
.case-card:hover .case-thumb::after { background: rgba(0, 0, 0, .10); }
.case-tag {
  position: absolute; left: 0; top: 0; z-index: 2; background: rgba(0, 0, 0, .62); color: #fff;
  font-size: 11px; letter-spacing: .1em; padding: 5px 12px;
}
.case-info { padding: 16px 2px 0; }
.case-info h3 { font-size: 16px; font-weight: 700; color: var(--ink); margin-bottom: 6px; line-height: 1.5; }
.case-info h3 em { font-style: normal; color: var(--ink-4); font-weight: 400; font-size: 14px; }
.case-info p { font-size: 13px; color: var(--ink-4); line-height: 1.75; }
.case-info .case-designer { color: var(--ink-3); }
.more-wrap { text-align: center; }
.btn-line {
  display: inline-flex; align-items: center; gap: 10px; padding: 13px 42px;
  border: 1px solid var(--ink); color: var(--ink); font-size: 15px;
  transition: background .22s, color .22s;
}
.btn-line:hover { background: var(--ink); color: #fff; }

/* ---------- 团队 ---------- */
.team-banner { text-align: center; }
.team-banner img { width: 100%; max-width: 1100px; margin: 0 auto; aspect-ratio: 21 / 9; object-fit: cover; }
.team-banner .team-link {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 24px;
  font-size: 14px; color: var(--ink-3); border-bottom: 1px solid var(--line-2); padding-bottom: 3px;
  transition: color .2s, border-color .2s;
}
.team-banner .team-link:hover { color: var(--ink); border-color: var(--ink); }

/* ---------- 业主评价 ---------- */
.comment-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.comment-card {
  background: #fff; border: 1px solid var(--line); padding: 34px 30px 28px; position: relative;
}
.comment-quote {
  font-size: 40px; line-height: 1; color: var(--line-2); font-family: Georgia, serif;
  position: absolute; top: 18px; right: 24px;
}
.comment-card p { font-size: 15px; color: var(--ink-2); line-height: 1.95; margin-bottom: 20px; position: relative; z-index: 1; }
.comment-by { font-size: 13px; color: var(--ink-4); letter-spacing: .04em; }
.comment-by b { color: var(--ink); font-weight: 700; margin-right: 8px; }
.comment-stars { color: var(--ink); letter-spacing: .18em; font-size: 13px; margin-bottom: 14px; }

/* ---------- 新闻 ---------- */
.news-list { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--line); }
.news-item {
  display: grid; grid-template-columns: 130px 1fr 30px; gap: 30px; align-items: center;
  padding: 26px 4px; border-bottom: 1px solid var(--line);
  transition: background .22s, padding .22s;
}
.news-item:hover { background: var(--bg-soft); padding-left: 18px; padding-right: 18px; }
.news-date { font-size: 13px; color: var(--ink-4); letter-spacing: .06em; }
.news-item h3 { font-size: 17px; font-weight: 700; color: var(--ink); margin-bottom: 6px; transition: color .2s; }
.news-item p { font-size: 13px; color: var(--ink-4); line-height: 1.8; }
.news-arrow { font-size: 18px; color: var(--line-2); transition: color .2s, transform .25s var(--ease); }
.news-item:hover .news-arrow { color: var(--ink); transform: translateX(5px); }

/* ---------- 品牌介绍 ---------- */
.brand-text { max-width: 900px; margin: 0 auto; }
.brand-text h3 {
  font-size: 19px; font-weight: 700; color: var(--ink); margin: 0 0 14px;
  padding-left: 14px; border-left: 3px solid var(--ink); line-height: 1.4;
}
.brand-text p { font-size: 15px; color: var(--ink-3); line-height: 2.05; margin-bottom: 34px; }
.brand-text p:last-child { margin-bottom: 0; }
.brand-text p b { color: var(--ink); font-weight: 700; }
.brand-quote {
  margin: 40px 0; padding: 34px 40px; background: var(--bg-softer);
  font-size: 17px; color: var(--ink-2); line-height: 1.95; letter-spacing: .02em;
  border-left: 3px solid var(--ink);
}
.brand-cta { text-align: center; margin-top: 44px; }

/* ---------- 品牌矩阵 ---------- */
.matrix { display: grid; grid-template-columns: repeat(7, 1fr); gap: 14px; }
.matrix a {
  display: flex; align-items: center; justify-content: center;
  height: 62px; border: 1px solid var(--line); background: #fff;
  font-size: 13px; color: var(--ink-3); letter-spacing: .04em;
  transition: border-color .22s, color .22s, background .22s;
}
.matrix a:hover { border-color: var(--ink); color: var(--ink); background: var(--bg-soft); }

/* ---------- 合作流程 7 步 ---------- */
.process-list { display: grid; grid-template-columns: repeat(7, 1fr); gap: 15px; }
.process-item { position: relative; padding-top: 26px; }
.process-item::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--line);
}
.process-item::after {
  content: ""; position: absolute; top: -3px; left: 0; width: 8px; height: 8px; border-radius: 50%;
  background: var(--ink); transition: transform .25s var(--ease);
}
.process-item:hover::after { transform: scale(1.5); }
.process-no { font-size: 26px; font-weight: 700; color: #808080; line-height: 1; margin-bottom: 14px; letter-spacing: .02em; }
.process-item:hover .process-no { color: var(--ink-4); }
.process-item h3 { font-size: 16px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.process-item p { font-size: 13px; color: var(--ink-4); line-height: 1.8; }

/* ---------- 表单 ---------- */
.form-wrap { max-width: 760px; margin: 0 auto; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; color: var(--ink-2); letter-spacing: .04em; }
.field label i { color: var(--ink); font-style: normal; margin-left: 3px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; font: inherit; font-size: 15px; color: var(--ink);
  background: #fff; border: 1px solid var(--line-2); transition: border-color .2s, box-shadow .2s;
  border-radius: 0; -webkit-appearance: none; appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 15px center; padding-right: 40px;
}
.field textarea { resize: vertical; min-height: 118px; line-height: 1.8; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(34, 34, 34, .08);
}
.field .err { font-size: 12px; color: #b3261e; display: none; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #b3261e; }
.field.invalid .err { display: block; }
.form-actions { text-align: center; margin-top: 8px; }
.btn-submit {
  padding: 15px 60px; background: var(--ink); color: #fff; border: 1px solid var(--ink);
  font-size: 16px; letter-spacing: .08em; transition: background .22s, color .22s;
}
.btn-submit:hover { background: #fff; color: var(--ink); }
.btn-submit:disabled { background: var(--ink-4); border-color: var(--ink-4); cursor: default; color: #fff; }
.form-note { text-align: center; font-size: 12px; color: var(--ink-4); margin-top: 16px; line-height: 1.9; }

/* ---------- 页脚 ---------- */
.footer { background: var(--ink); color: #ccc; padding: 60px 0 20px; }
.footer-content { display: grid; grid-template-columns: 1fr 280px; gap: 40px; margin-bottom: 40px; }
.footer h3 { font-size: 15px; color: #fff; font-weight: 700; letter-spacing: .1em; margin-bottom: 20px; }
.footer-links { display: grid; grid-template-columns: repeat(3, auto); gap: 12px 40px; justify-content: start; }
.footer-links a { font-size: 14px; color: #ccc; transition: color .2s; }
.footer-links a:hover { color: #fff; }
.footer-info p { font-size: 14px; color: #ccc; line-height: 2; }
.footer-info p b { color: #fff; font-weight: 700; }
.footer-info .footer-tel { font-size: 24px; color: #fff; letter-spacing: .02em; margin: 6px 0 18px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 20px;
  display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
  font-size: 13px; color: #9a9a9a;
}
.footer-bottom a { transition: color .2s; }
.footer-bottom a:hover { color: #fff; }

/* ---------- 内页 banner ---------- */
.page-banner {
  margin-top: var(--header-h); background: var(--bg-softer);
  padding: 62px 0 56px; border-bottom: 1px solid var(--line);
}
.page-banner .crumb { font-size: 13px; color: var(--ink-4); margin-bottom: 18px; }
.page-banner .crumb a { transition: color .2s; }
.page-banner .crumb a:hover { color: var(--ink); }
.page-banner .crumb span { margin: 0 8px; color: var(--ink-4); }
.page-banner h1 { font-size: clamp(26px, 3.2vw, 38px); font-weight: 700; color: var(--ink); letter-spacing: .06em; margin-bottom: 12px; }
.page-banner p { font-size: 15px; color: var(--ink-3); }

/* ---------- 案例详情 ---------- */
.detail-hero { margin-top: var(--header-h); }
.detail-hero img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; }
.detail-head { padding: 54px 0 0; }
.detail-head h1 { font-size: clamp(26px, 3.4vw, 42px); font-weight: 700; color: var(--ink); letter-spacing: .04em; margin-bottom: 14px; }
.detail-head .detail-sub { font-size: 16px; color: var(--ink-3); line-height: 1.9; }
.detail-meta {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line);
  border: 1px solid var(--line); margin: 36px 0 0;
}
.detail-meta div { background: #fff; padding: 24px 22px; }
.detail-meta dt { font-size: 12px; color: var(--ink-4); letter-spacing: .1em; margin-bottom: 8px; }
.detail-meta dd { margin: 0; font-size: 17px; font-weight: 700; color: var(--ink); }
.detail-body { padding: 56px 0 80px; }
.detail-sec { margin-bottom: 46px; }
.detail-sec h2 {
  font-size: 21px; font-weight: 700; color: var(--ink); margin-bottom: 20px;
  padding-left: 14px; border-left: 3px solid var(--ink); line-height: 1.4;
}
.detail-sec p { font-size: 15px; color: var(--ink-3); line-height: 2.05; }
.hl-list { display: grid; gap: 18px; }
.hl-item { padding: 20px 24px; background: var(--bg-soft); border-left: 2px solid var(--line-2); }
.hl-item h3 { font-size: 16px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.hl-item p { font-size: 14px; color: var(--ink-3); line-height: 1.9; }
.detail-quote {
  padding: 30px 34px; background: var(--bg-softer); font-size: 15px; color: var(--ink-2);
  line-height: 2.05; border-left: 3px solid var(--ink); margin-bottom: 12px;
}
.detail-quote-by { font-size: 13px; color: var(--ink-4); padding-left: 37px; }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.gallery figure { margin: 0; overflow: hidden; background: var(--bg-softer); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); aspect-ratio: 4 / 3; }
.gallery figure:hover img { transform: scale(1.04); }
.rel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.rel-card { display: block; }
.rel-card .rel-thumb { aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-softer); }
.rel-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s var(--ease); }
.rel-card:hover img { transform: scale(1.05); }
.rel-card h3 { font-size: 15px; font-weight: 700; color: var(--ink); margin-top: 14px; }

/* ---------- 品牌页表格 ---------- */
.price-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.price-table caption {
  text-align: left; font-size: 13px; color: var(--ink-4); padding-bottom: 14px; letter-spacing: .04em;
}
.price-table th, .price-table td { padding: 16px 18px; border-bottom: 1px solid var(--line); text-align: left; }
.price-table thead th { background: var(--bg-softer); color: var(--ink); font-weight: 700; font-size: 14px; letter-spacing: .04em; }
.price-table tbody td:first-child { color: var(--ink); font-weight: 700; }
.price-table tbody td { color: var(--ink-3); }
.price-table tbody tr:hover { background: var(--bg-soft); }
.promise-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 28px; }
.promise { padding: 26px 28px; border: 1px solid var(--line); background: #fff; }
.promise h3 { font-size: 16px; font-weight: 700; color: var(--ink); margin-bottom: 10px; }
.promise p { font-size: 14px; color: var(--ink-3); line-height: 1.9; }
.flow-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.flow-col h3 { font-size: 18px; font-weight: 700; color: var(--ink); margin-bottom: 20px; padding-bottom: 14px; border-bottom: 2px solid var(--ink); }
.flow-steps { counter-reset: fs; }
.flow-steps li {
  counter-increment: fs; position: relative; padding: 12px 0 12px 44px;
  font-size: 15px; color: var(--ink-3); border-bottom: 1px dashed var(--line);
}
.flow-steps li::before {
  content: counter(fs, decimal-leading-zero); position: absolute; left: 0; top: 12px;
  font-size: 13px; color: var(--ink-4); letter-spacing: .08em;
}
.flow-tip { margin-top: 18px; font-size: 13px; color: var(--ink-2); background: var(--bg-soft); padding: 14px 18px; line-height: 1.9; }
.style-tags { display: flex; flex-wrap: wrap; gap: 12px; margin: 8px 0 28px; }
.style-tags span {
  padding: 9px 22px; border: 1px solid var(--line-2); font-size: 14px; color: var(--ink-2);
  transition: border-color .2s, color .2s, background .2s;
}
.style-tags span:hover { border-color: var(--ink); color: var(--ink); background: var(--bg-soft); }

/* ---------- 响应式 ---------- */
@media (max-width: 1280px) {
  .right-fixed-nav { display: none; }
}

@media (max-width: 1080px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .tool-grid { grid-template-columns: repeat(2, 1fr); }
  .case-grid { grid-template-columns: repeat(3, 1fr); }
  .matrix { grid-template-columns: repeat(4, 1fr); }
  .process-list { grid-template-columns: repeat(4, 1fr); row-gap: 34px; }
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .comment-list { grid-template-columns: 1fr; gap: 20px; }
  .footer-content { grid-template-columns: 1fr; gap: 34px; }
  .detail-meta { grid-template-columns: repeat(2, 1fr); }
  .budget-row { grid-template-columns: 80px 1fr 120px; gap: 14px; }
}

@media (max-width: 860px) {
  .nav-list, .header-tel { display: none; }
  .menu-btn { display: flex; }
  .banner-inner { position: relative; inset: auto; background: var(--ink); padding: 40px 20px; }
  .banner-mask { display: none; }
  .banner-copy h1 { font-size: 30px; }
  .sec { padding: 56px 0; }
  .sec-head { margin-bottom: 36px; }
  .flow-cols, .promise-grid { grid-template-columns: 1fr; gap: 28px; }
  .news-item { grid-template-columns: 1fr 24px; gap: 8px 16px; }
  .news-date { grid-column: 1 / -1; }
  .footer-links { grid-template-columns: repeat(2, auto); }
  .gallery { grid-template-columns: 1fr; }
  .rel-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .detail-hero img { aspect-ratio: 4 / 3; }
  .cat-grid { grid-template-columns: 1fr; }
  .mat-sec { padding: 44px 0; }
  .mat-head { gap: 14px; margin-bottom: 20px; }
  .mat-badge { width: 38px; height: 38px; font-size: 14px; }
  .mat-head-txt h2 { font-size: 19px; }
  .budget-row { grid-template-columns: 1fr; gap: 8px; }
  .budget-row .bv { text-align: left; }
  .sched-tool { padding: 20px; }
  .data-table { font-size: 13px; }
  .data-table th, .data-table td { padding: 10px 11px; }
  .data-table thead th { font-size: 12px; }
  .data-table td .spec { font-size: 12px; }
  .table-scroll .data-table { min-width: 480px; }
  .subnav .container { gap: 24px; }
  .subnav a { font-size: 13px; padding: 15px 0; }
}

@media (max-width: 620px) {
  .svc-grid, .tool-grid, .adv-grid, .case-grid { grid-template-columns: 1fr; }
  .matrix { grid-template-columns: repeat(2, 1fr); }
  .process-list { grid-template-columns: 1fr 1fr; row-gap: 30px; }
  .detail-meta { grid-template-columns: 1fr; }
  .rel-grid { grid-template-columns: 1fr; }
  .banner-stats { gap: 18px; }
  .banner-btns .btn { flex: 1; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ==========================================================================
   工具页：装修材料 / 硬装工期表 / 资金规划 / 设计需求问卷
   ========================================================================== */

/* 子导航条 */
.subnav { margin-top: var(--header-h); background: #fff; border-bottom: 1px solid var(--line); }
.subnav .container { display: flex; gap: 32px; overflow-x: auto; scrollbar-width: none; }
.subnav .container::-webkit-scrollbar { display: none; }
.subnav a {
  position: relative; padding: 17px 0; font-size: 14px; color: var(--ink-3);
  white-space: nowrap; transition: color .2s;
}
.subnav a:hover { color: var(--ink); }
.subnav a[aria-current="page"] { color: var(--ink); font-weight: 700; }
.subnav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--ink);
}
.subnav + .page-banner { margin-top: 0; }

/* 章节头（带字母标记） */
.mat-sec { padding: 60px 0; border-bottom: 1px solid var(--line); }
.mat-sec:last-of-type { border-bottom: 0; }
.mat-head { display: flex; align-items: flex-start; gap: 18px; margin-bottom: 26px; }
.mat-badge {
  flex: 0 0 auto; width: 44px; height: 44px; border: 1px solid var(--ink);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 700; letter-spacing: .06em; color: var(--ink);
}
.mat-head-txt h2 { font-size: 22px; font-weight: 700; color: var(--ink); letter-spacing: .04em; line-height: 1.4; }
.mat-head-txt p { font-size: 13px; color: var(--ink-4); margin-top: 6px; }

/* 数据表 */
.data-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.data-table caption { text-align: left; font-size: 13px; color: var(--ink-4); padding-bottom: 12px; }
.data-table th, .data-table td {
  padding: 13px 16px; border-bottom: 1px solid var(--line);
  text-align: left; vertical-align: top; line-height: 1.75;
}
.data-table thead th {
  background: var(--bg-softer); color: var(--ink); font-weight: 700;
  font-size: 13px; letter-spacing: .06em; white-space: nowrap;
}
.data-table tbody td:first-child { color: var(--ink); font-weight: 700; }
.data-table tbody td { color: var(--ink-3); }
.data-table tbody tr:hover { background: var(--bg-soft); }
.data-table tr.grp th {
  background: var(--bg-soft); color: var(--ink); font-size: 13px; font-weight: 700;
  letter-spacing: .08em; padding: 11px 16px; border-bottom: 1px solid var(--line-2);
}
.data-table td .spec { display: block; color: var(--ink-4); font-size: 13px; }
.data-table td b { color: var(--ink); }
.table-scroll { overflow-x: auto; }

/* 品类卡 / 标签 */
.cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 20px; }
.cat-item { border: 1px solid var(--line); background: #fff; padding: 22px 24px; }
.cat-item h3 { font-size: 15px; font-weight: 700; color: var(--ink); letter-spacing: .04em; margin-bottom: 12px; }
.cat-item h3 em { font-style: normal; font-weight: 400; font-size: 12px; color: var(--ink-4); margin-left: 8px; letter-spacing: .06em; }
.chip-list { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-list span { padding: 5px 12px; background: var(--bg-soft); font-size: 13px; color: var(--ink-2); }

/* 工期查询 */
.sched-tool {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  background: var(--bg-soft); border: 1px solid var(--line); padding: 24px 26px; margin-bottom: 34px;
}
.sched-tool label { font-size: 14px; color: var(--ink-2); letter-spacing: .04em; }
.sched-tool input {
  width: 150px; padding: 11px 14px; border: 1px solid var(--line-2);
  background: #fff; font: inherit; font-size: 15px; color: var(--ink);
}
.sched-tool input:focus { outline: 0; border-color: var(--ink); }
.sched-result { font-size: 15px; color: var(--ink-2); }
.sched-result b { font-size: 26px; color: var(--ink); letter-spacing: .02em; margin: 0 4px; }
.sched-note { font-size: 13px; color: var(--ink-4); line-height: 1.9; margin-top: 18px; }

/* 资金占比条 */
.budget-bars { display: grid; gap: 22px; margin-bottom: 8px; }
.budget-row { display: grid; grid-template-columns: 96px 1fr 130px; gap: 18px; align-items: center; }
.budget-row .bl { font-size: 15px; font-weight: 700; color: var(--ink); letter-spacing: .04em; }
.budget-track { position: relative; height: 10px; background: var(--bg-softer); }
.budget-fill { position: absolute; top: 0; bottom: 0; background: var(--ink); }
.budget-row .bv { font-size: 14px; color: var(--ink-2); text-align: right; letter-spacing: .02em; }

/* 问卷 */
.survey { max-width: 880px; margin: 0 auto; }
.survey-group { margin-bottom: 32px; }
.q-label { display: block; font-size: 14px; color: var(--ink-2); margin-bottom: 12px; letter-spacing: .04em; }
.q-label i { color: var(--ink); font-style: normal; margin-left: 3px; }
.q-help { font-size: 12px; color: var(--ink-4); margin: -6px 0 12px; line-height: 1.8; }
.opt-list { display: flex; flex-wrap: wrap; gap: 10px; }
.opt {
  display: inline-flex; align-items: center; gap: 7px; padding: 9px 16px;
  border: 1px solid var(--line-2); font-size: 14px; color: var(--ink-2);
  cursor: pointer; transition: border-color .2s, background .2s, color .2s;
}
.opt:hover { border-color: var(--ink); color: var(--ink); }
.opt input { margin: 0; accent-color: #222; }
.opt:has(input:checked) { border-color: var(--ink); background: var(--ink); color: #fff; }
.opt:has(input:checked) input { accent-color: #fff; }
.survey .form-row { margin-bottom: 0; }
.survey-foot { text-align: center; margin-top: 12px; }
.survey-tip {
  font-size: 13px; color: var(--ink-2); background: var(--bg-soft);
  padding: 14px 18px; line-height: 1.9; margin-bottom: 30px;
}

/* ---------- 焦点可见 ---------- */
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--ink); outline-offset: 3px;
}
.sec-ink a:focus-visible, .footer a:focus-visible, .banner a:focus-visible {
  outline-color: #fff;
}
