/* =========================================================
   匠心装饰 · 装修展示网站
   首页样式：Hero / 服务 / 核心优势 / 常见问题 / 联系 / 页脚
   风格：简洁现代，配色克制，留白充足
   ========================================================= */

/* ---------- 1. 设计变量 ---------- */
:root {
  --ink: #17191d;
  --ink-soft: #3c424c;
  --muted: #6b7280;
  --line: #e7e2db;
  --line-soft: #f0ece6;

  --bg: #ffffff;
  --bg-soft: #faf8f5;
  --surface: #ffffff;

  --brand: #c2683f;
  --brand-dark: #a9552f;
  --brand-soft: #fbeee6;
  --brand-line: #eed4c5;

  --accent: #2f4f4a;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;

  --shadow-sm: 0 1px 2px rgba(23, 25, 29, 0.04), 0 6px 16px rgba(23, 25, 29, 0.04);
  --shadow: 0 2px 4px rgba(23, 25, 29, 0.04), 0 14px 34px rgba(23, 25, 29, 0.07);

  --container: 1160px;
  --gap: 24px;

  --header-h: 72px;

  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC",
    "Noto Sans CJK SC", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

/* ---------- 2. 基础重置 ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  max-width: 100%;
  display: block;
}

h1, h2, h3, h4 {
  margin: 0;
  line-height: 1.3;
  letter-spacing: -0.01em;
  font-weight: 700;
  color: var(--ink);
}

p {
  margin: 0;
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

button {
  font: inherit;
  color: inherit;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 10px 18px;
  background: var(--ink);
  color: #fff;
  border-radius: 0 0 var(--radius-sm) 0;
}

.skip-link:focus {
  left: 0;
}

/* ---------- 3. 布局工具 ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}

.section-alt {
  background: var(--bg-soft);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.section-head {
  max-width: 720px;
  margin-bottom: 48px;
}

.section-head h2 {
  font-size: clamp(1.6rem, 1.15rem + 1.9vw, 2.4rem);
  margin-bottom: 14px;
}

.section-sub {
  color: var(--muted);
  font-size: 1.02rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--brand-dark);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
}

/* ---------- 4. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.97rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 0.22s ease, color 0.22s ease, border-color 0.22s ease,
    transform 0.22s ease, box-shadow 0.22s ease;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 8px 20px rgba(194, 104, 63, 0.24);
}

.btn-primary:hover {
  background: var(--brand-dark);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(169, 85, 47, 0.28);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: var(--brand-line);
  background: var(--brand-soft);
  color: var(--brand-dark);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.9rem;
}

.btn-block {
  width: 100%;
}

/* ---------- 5. 顶部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line-soft);
  box-shadow: 0 6px 22px rgba(23, 25, 29, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.brand-mark {
  display: block;
  color: var(--brand);
  line-height: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.brand-text strong {
  font-size: 1.05rem;
  letter-spacing: 0.04em;
}

.brand-text small {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.primary-nav {
  margin-left: auto;
}

.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
}

.primary-nav a {
  display: block;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 0.95rem;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.primary-nav a:hover {
  color: var(--brand-dark);
  background: var(--brand-soft);
}

.header-cta {
  flex: 0 0 auto;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0 10px;
  margin-left: auto;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.24s ease, opacity 0.24s ease;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  padding: 88px 0 96px;
  overflow: hidden;
  background:
    radial-gradient(1100px 520px at 88% -10%, rgba(194, 104, 63, 0.13), transparent 62%),
    radial-gradient(760px 420px at 6% 8%, rgba(47, 79, 74, 0.08), transparent 60%),
    linear-gradient(180deg, #fffdfb 0%, #ffffff 62%);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(0, 0.84fr);
  gap: 64px;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(1.85rem, 1.05rem + 3.05vw, 2.95rem);
  line-height: 1.24;
  margin-bottom: 20px;
}

.hero-copy h1 em {
  font-style: normal;
  color: var(--brand-dark);
  box-shadow: inset 0 -0.28em 0 var(--brand-soft);
  /* 高亮短语整体不被拆行，避免出现单字成行 */
  white-space: nowrap;
}

.hero-copy .lead {
  max-width: 34em;
  color: var(--ink-soft);
  font-size: 1.06rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 32px 0 40px;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 40px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.hero-facts li {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero-facts strong {
  font-size: 1.5rem;
  line-height: 1.2;
  color: var(--ink);
}

.hero-facts span {
  color: var(--muted);
  font-size: 0.86rem;
}

/* Hero 插图（纯内联 SVG，无外部图片） */
.hero-figure {
  margin: 0;
}

.hero-canvas {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(150deg, #ffffff 0%, #fdf7f2 100%);
  box-shadow: var(--shadow);
}

.hero-illustration {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}

.hero-figure figcaption {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.9rem;
}

.tag {
  display: inline-block;
  padding: 3px 10px;
  border: 1px solid var(--brand-line);
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-size: 0.78rem;
  font-weight: 600;
}

/* ---------- 7. 服务卡片（三个） ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap);
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 34px 30px 32px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.26s ease, box-shadow 0.26s ease, border-color 0.26s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-line);
  box-shadow: var(--shadow);
}

.card-featured {
  border-color: var(--brand-line);
  background: linear-gradient(180deg, #fffaf6 0%, #ffffff 58%);
}

.card-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 600;
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--brand-soft);
  color: var(--brand-dark);
}

.card h3 {
  font-size: 1.24rem;
}

.card > p {
  color: var(--muted);
  font-size: 0.96rem;
}

.card-list {
  display: grid;
  gap: 10px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px dashed var(--line);
}

.card-list li {
  position: relative;
  padding-left: 22px;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.card-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.62em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-soft);
  border: 2px solid var(--brand);
}

/* ---------- 8. 核心优势 ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--gap);
}

.feature {
  padding: 28px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.24s ease, transform 0.24s ease;
}

.feature:hover {
  border-color: var(--brand-line);
  transform: translateY(-3px);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
}

.feature h3 {
  font-size: 1.06rem;
  margin-bottom: 8px;
}

.feature p {
  color: var(--muted);
  font-size: 0.92rem;
}

/* 施工流程 */
.process {
  margin-top: 72px;
  padding: 44px 40px 40px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.process-title {
  font-size: 1.3rem;
  margin-bottom: 30px;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
  counter-reset: step;
}

.process-list li {
  position: relative;
  padding-top: 22px;
  border-top: 2px solid var(--line);
}

.process-list li::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px var(--brand-soft);
}

.step-no {
  display: block;
  margin-bottom: 6px;
  color: var(--brand-dark);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.process-list h4 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.process-list p {
  color: var(--muted);
  font-size: 0.88rem;
}

/* ---------- 9. 常见问题 ---------- */
.faq-list {
  display: grid;
  gap: 12px;
  max-width: 900px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.22s ease, box-shadow 0.22s ease;
}

.faq-item[open] {
  border-color: var(--brand-line);
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  position: relative;
  display: block;
  padding: 20px 58px 20px 24px;
  font-weight: 600;
  font-size: 1.02rem;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "";
  position: absolute;
  right: 24px;
  top: 50%;
  width: 10px;
  height: 10px;
  margin-top: -7px;
  border-right: 2px solid var(--brand-dark);
  border-bottom: 2px solid var(--brand-dark);
  transform: rotate(45deg);
  transition: transform 0.24s ease;
}

.faq-item[open] summary::after {
  transform: rotate(-135deg);
  margin-top: -2px;
}

.faq-item summary:hover {
  color: var(--brand-dark);
}

.faq-body {
  padding: 0 24px 22px;
  color: var(--muted);
  font-size: 0.96rem;
  border-top: 1px dashed var(--line-soft);
  margin: 0 0 0;
}

.faq-body p {
  padding-top: 16px;
}

/* ---------- 10. 联系方式 ---------- */
.contact-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 56px;
  align-items: start;
}

.contact-copy h2 {
  font-size: clamp(1.6rem, 1.15rem + 1.9vw, 2.4rem);
  margin-bottom: 14px;
}

.contact-list {
  display: grid;
  gap: 12px;
  margin-top: 32px;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand-dark);
}

.contact-list strong {
  display: block;
  font-size: 0.94rem;
}

.contact-list p {
  color: var(--muted);
  font-size: 0.9rem;
}

.contact-card {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  padding: 32px 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.contact-card h3 {
  font-size: 1.2rem;
  margin-bottom: 6px;
}

.contact-card-sub {
  color: var(--muted);
  font-size: 0.92rem;
}

.contact-steps {
  display: grid;
  gap: 12px;
  margin: 22px 0;
  padding: 20px 0;
  border-top: 1px dashed var(--line);
  border-bottom: 1px dashed var(--line);
  counter-reset: cstep;
}

.contact-steps li {
  position: relative;
  padding-left: 32px;
  color: var(--ink-soft);
  font-size: 0.93rem;
  counter-increment: cstep;
}

.contact-steps li::before {
  content: counter(cstep);
  position: absolute;
  left: 0;
  top: 0.15em;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-size: 0.76rem;
  font-weight: 700;
}

.contact-note {
  padding: 16px 18px;
  margin-bottom: 22px;
  background: var(--bg-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
}

.contact-note strong {
  display: block;
  margin-bottom: 4px;
  font-size: 0.88rem;
  color: var(--brand-dark);
}

.contact-note p {
  color: var(--muted);
  font-size: 0.86rem;
}

/* ---------- 11. 页脚 ---------- */
.site-footer {
  padding: 60px 0 46px;
  background: #1c1e22;
  color: #b9bec7;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.3fr);
  gap: 40px;
  align-items: start;
}

.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.footer-brand .brand-mark {
  color: var(--brand);
}

.footer-brand strong {
  display: block;
  color: #fff;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
}

.footer-brand p {
  margin-top: 2px;
  font-size: 0.84rem;
  color: #8d939d;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
}

.footer-nav a {
  font-size: 0.92rem;
  color: #c9ced7;
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: #fff;
}

.footer-meta p {
  font-size: 0.88rem;
  margin-bottom: 6px;
}

.footer-meta .footer-copy {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #868c96;
  font-size: 0.84rem;
}

/* ---------- 12. 渐入动效（无 JS 时内容照常显示） ---------- */
.js .reveal-ready {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js .reveal-ready.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .js .reveal-ready,
  .js .reveal-ready.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn,
  .card,
  .feature {
    transition: none;
  }
}

/* ---------- 13. 响应式 ---------- */
@media (max-width: 1080px) {
  .header-inner {
    gap: 18px;
  }

  .primary-nav a {
    padding: 8px 10px;
    font-size: 0.9rem;
  }

  .hero-inner {
    gap: 44px;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px 20px;
  }

  .contact-wrap {
    gap: 36px;
  }
}

@media (max-width: 900px) {
  .section {
    padding: 76px 0;
  }

  .hero {
    padding: 64px 0 72px;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
  }

  .card-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-wrap {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-card {
    position: static;
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  /* 手机端导航折叠 */
  .nav-toggle {
    display: flex;
  }

  .header-cta {
    display: none;
  }

  .primary-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    margin-left: 0;
    padding: 0 24px;
    background: #fff;
    border-bottom: 1px solid transparent;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  }

  .primary-nav.is-open {
    max-height: 420px;
    border-bottom-color: var(--line);
    box-shadow: 0 18px 32px rgba(23, 25, 29, 0.08);
  }

  .primary-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px 0 20px;
  }

  .primary-nav a {
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.98rem;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 18px;
  }

  .section {
    padding: 64px 0;
  }

  .brand-text small {
    display: none;
  }

  .hero {
    padding: 52px 0 60px;
  }

  .hero-actions {
    margin: 26px 0 32px;
  }

  .hero-actions .btn {
    flex: 1 1 auto;
    min-width: 160px;
  }

  .hero-facts {
    gap: 14px 28px;
  }

  .hero-canvas {
    padding: 12px;
  }

  .feature-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .process {
    padding: 30px 22px 26px;
    margin-top: 52px;
  }

  .process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .card {
    padding: 28px 22px 26px;
  }

  .faq-item summary {
    padding: 18px 50px 18px 20px;
    font-size: 0.98rem;
  }

  .faq-item summary::after {
    right: 20px;
  }

  .faq-body {
    padding: 0 20px 20px;
  }

  .contact-card {
    padding: 26px 22px;
  }
}

@media (max-width: 420px) {
  .process-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-facts strong {
    font-size: 1.32rem;
  }
}

/* =========================================================
   内页样式：about.html / services.html / contact.html
   沿用首页的设计变量与组件风格（第 2 步新增）
   ========================================================= */

/* ---------- 14. 当前页导航状态 ---------- */
.primary-nav a[aria-current="page"] {
  color: var(--brand-dark);
  background: var(--brand-soft);
  font-weight: 600;
}

.footer-nav a[aria-current="page"] {
  color: #fff;
}

/* ---------- 15. 内页页头 ---------- */
.page-head {
  position: relative;
  padding: 76px 0 58px;
  overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
  background:
    radial-gradient(920px 420px at 90% -18%, rgba(194, 104, 63, 0.13), transparent 62%),
    radial-gradient(680px 360px at 4% 8%, rgba(47, 79, 74, 0.08), transparent 60%),
    linear-gradient(180deg, #fffdfb 0%, #ffffff 68%);
}

.page-head-inner {
  max-width: 800px;
}

.page-head h1 {
  font-size: clamp(1.7rem, 1.12rem + 2.35vw, 2.5rem);
  margin-bottom: 16px;
}

.page-head .lead {
  max-width: 46em;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.page-head .lead + .lead {
  margin-top: 12px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.85rem;
}

.breadcrumb a {
  color: var(--muted);
  transition: color 0.2s ease;
}

.breadcrumb a:hover {
  color: var(--brand-dark);
}

.breadcrumb .crumb-sep {
  color: #cdc4ba;
}

.page-head .chip-nav {
  margin-top: 30px;
}

/* 页内快捷跳转标签 */
.chip-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 0.9rem;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.chip:hover {
  border-color: var(--brand-line);
  background: var(--brand-soft);
  color: var(--brand-dark);
}

/* ---------- 16. 图文两栏 ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 56px;
  align-items: center;
}

.split-side {
  min-width: 0;
}

.split--reverse .split-side {
  order: -1;
}

.split-copy h2 {
  font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.1rem);
  margin-bottom: 16px;
}

.split-copy p {
  color: var(--ink-soft);
  font-size: 1rem;
}

.split-copy p + p {
  margin-top: 14px;
}

.split-copy .tick-list {
  margin-top: 24px;
}

.split-figure {
  margin: 0;
}

.split-canvas {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, #ffffff 0%, #fdf7f2 100%);
  box-shadow: var(--shadow);
}

.split-canvas svg {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}

.split-figure figcaption {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.88rem;
}

/* 列表用图卡：去掉首页联系列表的上边距 */
.split-side.contact-list {
  margin-top: 0;
}

/* ---------- 17. 勾选列表 ---------- */
.tick-list {
  display: grid;
  gap: 10px;
}

.tick-list li {
  position: relative;
  padding-left: 26px;
  color: var(--ink-soft);
  font-size: 0.93rem;
}

.tick-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.45em;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--brand);
  border-bottom: 2px solid var(--brand);
  transform: rotate(-45deg) translateY(-2px);
}

/* ---------- 18. 发展历程 ---------- */
.timeline {
  position: relative;
  max-width: 780px;
  padding: 6px 0 6px 34px;
  display: grid;
  gap: 28px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: linear-gradient(180deg, var(--brand-line), var(--line-soft));
}

.timeline li {
  position: relative;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -30px;
  top: 9px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px var(--brand-soft);
}

.timeline-year {
  display: block;
  margin-bottom: 4px;
  color: var(--brand-dark);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.timeline h3 {
  font-size: 1.04rem;
  margin-bottom: 6px;
}

.timeline p {
  color: var(--muted);
  font-size: 0.92rem;
}

/* ---------- 19. 数据指标 ---------- */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--gap);
  margin-top: 64px;
}

.stat {
  padding: 26px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.stat strong {
  display: block;
  font-size: 1.7rem;
  line-height: 1.2;
  color: var(--brand-dark);
}

.stat span {
  color: var(--muted);
  font-size: 0.88rem;
}

/* ---------- 20. 服务详情 ---------- */
.service-block {
  padding: 40px 38px 34px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  scroll-margin-top: calc(var(--header-h) + 24px);
}

.service-block + .service-block {
  margin-top: 28px;
}

.service-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.service-no {
  display: block;
  color: var(--brand-dark);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.service-head h3 {
  margin-top: 6px;
  font-size: 1.34rem;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.service-tags span {
  padding: 5px 12px;
  background: var(--bg-soft);
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.service-lead {
  margin-top: 16px;
  color: var(--ink-soft);
  font-size: 1rem;
}

.service-body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px 40px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px dashed var(--line);
}

.service-body h4 {
  margin-bottom: 12px;
  font-size: 0.96rem;
}

.service-note {
  margin-top: 24px;
  padding: 15px 20px;
  background: var(--bg-soft);
  border-left: 3px solid var(--brand);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--muted);
  font-size: 0.9rem;
}

/* 报价构成（数值留给买家自己填） */
.price-panel {
  margin-top: 26px;
  padding: 24px 26px 18px;
  background: linear-gradient(180deg, #fffaf6 0%, #ffffff 70%);
  border: 1px solid var(--brand-line);
  border-radius: var(--radius);
}

.price-panel h4 {
  margin-bottom: 12px;
  font-size: 0.96rem;
  color: var(--brand-dark);
}

.price-rows li {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 18px;
  padding: 11px 0;
  border-top: 1px dashed var(--brand-line);
}

.price-rows li:first-child {
  border-top: none;
}

.price-rows strong {
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.price-rows span {
  color: var(--muted);
  font-size: 0.9rem;
}

/* ---------- 21. 工艺标准表 ---------- */
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.spec-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 0.94rem;
}

.spec-table caption {
  padding: 20px 24px 0;
  color: var(--muted);
  font-size: 0.88rem;
  text-align: left;
}

.spec-table th,
.spec-table td {
  padding: 15px 24px;
  border-bottom: 1px solid var(--line-soft);
  text-align: left;
  vertical-align: top;
}

.spec-table thead th {
  background: var(--bg-soft);
  color: var(--ink-soft);
  font-size: 0.86rem;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.spec-table tbody th {
  color: var(--ink);
  font-weight: 600;
  white-space: nowrap;
}

.spec-table tbody td {
  color: var(--muted);
}

.spec-table tbody tr:last-child th,
.spec-table tbody tr:last-child td {
  border-bottom: none;
}

/* ---------- 22. 底部行动区 ---------- */
.cta-band {
  padding: 0 0 96px;
}

.cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 40px 44px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #223029 0%, #2f4f4a 60%, #35625a 100%);
  box-shadow: var(--shadow);
}

.cta-inner h2 {
  color: #fff;
  font-size: clamp(1.3rem, 1.05rem + 1.1vw, 1.8rem);
  margin-bottom: 10px;
}

.cta-inner p {
  max-width: 46em;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.97rem;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn-light {
  background: #fff;
  color: #223029;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.btn-light:hover {
  background: #f4efe9;
  color: #1a221e;
  transform: translateY(-1px);
}

.btn-outline-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

/* ---------- 23. 需求清单生成器（纯前端，无提交接口） ---------- */
.need-builder {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 34px;
  padding: 36px 34px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.need-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 600;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--ink);
  font: inherit;
  font-size: 0.93rem;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.field textarea {
  min-height: 92px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-soft);
}

.need-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.field-hint {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.84rem;
}

.need-output {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.output-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.output-head h4 {
  font-size: 0.96rem;
}

.output-box {
  flex: 1;
  min-width: 0;
  min-height: 240px;
  margin: 0;
  padding: 18px 20px;
  overflow: auto;
  background: #1c1e22;
  border-radius: var(--radius);
  color: #e6e9ee;
  font-family: "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 0.86rem;
  line-height: 1.8;
  white-space: pre-wrap;
  word-break: break-word;
}

/* 门店示意图 */
.map-canvas {
  padding: 16px;
  background: linear-gradient(150deg, #ffffff 0%, #f6f3ee 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.map-canvas svg {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}

/* ---------- 24. 内页响应式 ---------- */
@media (max-width: 1080px) {
  .split {
    gap: 44px;
  }

  .stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .need-builder {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 900px) {
  .page-head {
    padding: 60px 0 48px;
  }

  .split {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }

  .split--reverse .split-side {
    order: 0;
  }

  .timeline {
    padding-left: 28px;
  }

  .service-block {
    padding: 30px 24px 26px;
  }

  .service-body {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .price-rows li {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }

  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 26px;
  }

  .need-fields {
    grid-template-columns: minmax(0, 1fr);
  }

  .need-builder {
    padding: 28px 22px;
  }
}

@media (max-width: 640px) {
  .stat-grid {
    grid-template-columns: minmax(0, 1fr);
    margin-top: 44px;
  }

  .cta-band {
    padding: 0 0 64px;
  }

  .cta-actions {
    width: 100%;
  }

  .cta-actions .btn {
    flex: 1 1 auto;
  }

  .spec-table th,
  .spec-table td {
    padding: 13px 16px;
  }

  .spec-table caption {
    padding: 16px 16px 0;
  }

  .timeline {
    gap: 22px;
  }
}
