/* ============================================================
   三人行沙发翻新 · 企业官网设计规范系统 Design System v1.0
   品牌色: 墨绿 #2D5A3D | 驼棕 #B88A5A | 米白 #F5F0E8
   ============================================================ */

:root {
  /* ---------- 色彩 Token ---------- */
  --brand-900: #1d3f2a;
  --brand-800: #24492f;
  --brand-700: #2D5A3D;   /* 主色 · 墨绿 */
  --brand-600: #38684a;
  --brand-500: #4a7d5c;
  --brand-100: #e3ede6;
  --brand-50:  #f0f5f1;

  --tan-700: #96703f;
  --tan-600: #a87c4b;
  --tan-500: #B88A5A;     /* 辅助色 · 驼棕 */
  --tan-300: #d9b98f;
  --tan-100: #f0e4d3;

  --cream:   #F5F0E8;     /* 中性色 · 米白 */
  --paper:   #faf7f1;
  --white:   #ffffff;

  --ink-900: #1c2b22;
  --ink-700: #33443a;
  --ink-500: #5a6b60;
  --ink-300: #8d9a91;
  --line:    #e5e0d6;

  --ok: #3d8b5f;
  --warn: #c98a2d;

  /* ---------- 字体 Token ---------- */
  --font-display: 'Noto Serif SC', 'Songti SC', serif;
  --font-body: 'Noto Sans SC', -apple-system, 'PingFang SC', 'Microsoft YaHei', sans-serif;

  --fs-xs: 12px; --fs-sm: 13px; --fs-md: 15px; --fs-base: 16px;
  --fs-lg: 18px; --fs-xl: 22px;
  --fs-h3: clamp(20px, 1.6vw, 24px);
  --fs-h2: clamp(26px, 2.6vw, 36px);
  --fs-h1: clamp(34px, 4vw, 52px);
  --fs-hero: clamp(40px, 5vw, 64px);

  /* ---------- 间距 (8pt) ---------- */
  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px;
  --sp-5: 24px; --sp-6: 32px; --sp-7: 48px; --sp-8: 64px;
  --sp-9: 96px; --sp-10: 128px;

  /* ---------- 圆角 / 阴影 ---------- */
  --r-sm: 8px; --r-md: 12px; --r-lg: 20px; --r-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(29,47,38,.06), 0 2px 8px rgba(29,47,38,.06);
  --shadow-md: 0 4px 12px rgba(29,47,38,.08), 0 12px 32px rgba(29,47,38,.10);
  --shadow-lg: 0 8px 24px rgba(29,47,38,.12), 0 24px 64px rgba(29,47,38,.14);

  /* ---------- 动效 ---------- */
  --ease: cubic-bezier(.2, 0, 0, 1);
  --ease-spring: cubic-bezier(.34, 1.4, .64, 1);
  --t-fast: 160ms; --t-mid: 320ms; --t-slow: 560ms;

  --header-h: 88px;
  --container: 1360px;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.7;
  color: var(--ink-700);
  background: var(--white);
}
img { max-width: 100%; display: block; }
a { color: var(--brand-700); text-decoration: none; transition: color var(--t-fast) var(--ease); }
a:hover { color: var(--tan-600); }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
:focus-visible { outline: 2px solid var(--tan-500); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--tan-100); color: var(--brand-900); }

h1,h2,h3,h4 { font-family: var(--font-display); color: var(--ink-900); font-weight: 700; line-height: 1.3; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }

/* ---------- 布局 ---------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--sp-5); }
.section { padding: var(--sp-9) 0; }
.section--tight { padding: var(--sp-8) 0; }
.section--cream { background: var(--cream); }
.section--paper { background: var(--paper); }
.section--dark { background: var(--brand-800); color: rgba(255,255,255,.85); }
.section--dark h2, .section--dark h3 { color: #fff; }

/* 区块标题 */
.sec-head { max-width: 720px; margin: 0 auto var(--sp-7); text-align: center; }
.sec-head--left { margin-left: 0; text-align: left; }
.sec-eyebrow {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  font-size: var(--fs-sm); font-weight: 600; letter-spacing: .18em;
  color: var(--tan-600); text-transform: uppercase; margin-bottom: var(--sp-3);
}
.sec-eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--tan-500); border-radius: 1px; }
.sec-head p { margin-top: var(--sp-3); color: var(--ink-500); font-size: var(--fs-lg); }
.section--dark .sec-eyebrow { color: var(--tan-300); }

/* ---------- 按钮系统 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2);
  min-height: 48px; padding: 0 28px; border-radius: var(--r-pill);
  font-size: var(--fs-md); font-weight: 600; letter-spacing: .02em;
  transition: all var(--t-fast) var(--ease); white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--brand-700); color: #fff; }
.btn--primary:hover { background: var(--brand-600); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--primary:active { transform: translateY(0) scale(.98); }
.btn--tan { background: var(--tan-500); color: #fff; }
.btn--tan:hover { background: var(--tan-600); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--ghost { border: 1.5px solid rgba(255,255,255,.5); color: #fff; background: transparent; }
.btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.1); color: #fff; }
.btn--outline { border: 1.5px solid var(--brand-700); color: var(--brand-700); background: transparent; }
.btn--outline:hover { background: var(--brand-700); color: #fff; }
.btn--lg { min-height: 56px; padding: 0 36px; font-size: var(--fs-base); }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--t-mid) var(--ease);
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: var(--sp-5); }
.brand { display: flex; align-items: center; gap: var(--sp-3); flex-shrink: 0; }
.brand img { height: 56px; width: auto; }
.nav { display: flex; align-items: center; gap: var(--sp-1); }
.nav a {
  position: relative; padding: 10px 14px; font-size: var(--fs-md); font-weight: 500;
  color: var(--ink-700); border-radius: var(--r-sm);
}
.nav a:hover { color: var(--brand-700); background: var(--brand-50); }
.nav a.is-active { color: var(--brand-700); font-weight: 600; }
.nav a.is-active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px;
  height: 2px; background: var(--tan-500); border-radius: 1px;
}
/* 导航内的按钮：恢复按钮自身配色，避免被 .nav a 文字色覆盖 */
.nav a.btn--primary, .nav a.btn--primary:hover { color: #fff; }
.nav-cta { margin-left: var(--sp-3); }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: var(--r-sm); align-items: center; justify-content: center; }
.nav-toggle svg { width: 24px; height: 24px; stroke: var(--ink-900); }

@media (max-width: 1023px) {
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: var(--sp-4) var(--sp-5) var(--sp-6);
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: all var(--t-mid) var(--ease);
    box-shadow: var(--shadow-lg); max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav a { padding: 14px 8px; font-size: var(--fs-lg); border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a.btn--primary { border-bottom: none; margin-top: var(--sp-4); justify-content: center; }
  .nav a.is-active::after { display: none; }
  .nav-cta { margin: var(--sp-4) 0 0; }
  .nav-toggle { display: inline-flex; }
}

/* ---------- 面包屑 ---------- */
.breadcrumb { padding: var(--sp-4) 0; font-size: var(--fs-sm); color: var(--ink-300); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.breadcrumb li { display: flex; align-items: center; gap: 6px; }
.breadcrumb li + li::before { content: "/"; color: var(--line); }
.breadcrumb [aria-current] { color: var(--ink-500); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 640px; display: flex; align-items: center;
  background: linear-gradient(135deg, var(--brand-900) 0%, var(--brand-700) 55%, #3a6d4e 100%);
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(184,138,90,.18), transparent 70%),
    radial-gradient(ellipse 50% 60% at 10% 90%, rgba(245,240,232,.06), transparent 70%);
}
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr .9fr; gap: var(--sp-8); align-items: center; padding: var(--sp-9) 0; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2);
  color: var(--tan-300); padding: 6px 16px; border-radius: var(--r-pill);
  font-size: var(--fs-sm); font-weight: 600; letter-spacing: .1em; margin-bottom: var(--sp-5);
}
.hero h1 { color: #fff; font-size: var(--fs-hero); line-height: 1.22; margin-bottom: var(--sp-5); }
.hero h1 em { font-style: normal; color: var(--tan-300); position: relative; }
.hero-sub { color: rgba(255,255,255,.82); font-size: var(--fs-lg); max-width: 34em; margin-bottom: var(--sp-6); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--sp-4); margin-bottom: var(--sp-7); }
.hero-badges { display: flex; flex-wrap: wrap; gap: var(--sp-3); }
.hero-badge {
  display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,.85);
  font-size: var(--fs-sm); background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14); padding: 8px 14px; border-radius: var(--r-pill);
}
.hero-badge svg { width: 16px; height: 16px; color: var(--tan-300); flex-shrink: 0; }
#hero-canvas { width: 100%; height: 420px; display: block; }
@media (max-width: 1023px) {
  .hero { min-height: 0; }
  .hero-inner { grid-template-columns: 1fr; padding: var(--sp-8) 0; gap: var(--sp-6); }
  #hero-canvas { height: 300px; }
}

/* 页面 Hero（内页顶部横幅）
   banner图为预合成图：照片按高度完整放入、右对齐、向左渐隐烘焙进墨绿底，
   CSS 用 auto 100% 按高度原样显示——照片永远不被裁切，
   窄屏时左侧溢出部分只是纯墨绿融合区，主体始终可见 */
.page-hero {
  position: relative; padding: var(--sp-9) 0;
  color: #fff; overflow: hidden;
  --ph-img: url("../assets/img/banner/bn-services.jpg");
  background:
    linear-gradient(90deg, rgba(29,63,42,.78) 0%, rgba(29,63,42,.5) 30%, rgba(29,63,42,0) 58%),
    var(--ph-img) right center / auto 100% no-repeat, var(--brand-900);
}
.page-hero--cases   { --ph-img: url("../assets/img/banner/bn-cases.jpg"); }
.page-hero--news    { --ph-img: url("../assets/img/banner/bn-news.jpg"); }
.page-hero--faq     { --ph-img: url("../assets/img/banner/bn-faq.jpg"); }
.page-hero--about   { --ph-img: url("../assets/img/banner/bn-about.jpg"); }
.page-hero--contact { --ph-img: url("../assets/img/banner/bn-contact.jpg"); }
.page-hero--night   { --ph-img: url("../assets/img/banner/bn-night.jpg"); }
.page-hero::after {
  content: ""; position: absolute; right: 0; bottom: 0; width: 40%; height: 100%;
  background: linear-gradient(0deg, rgba(29,63,42,.28), transparent 55%);
  pointer-events: none;
}
.page-hero h1 { position: relative; z-index: 1; }
.page-hero p { position: relative; z-index: 1; max-width: 30em; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; margin-bottom: var(--sp-3); }
.page-hero p { color: rgba(255,255,255,.78); font-size: var(--fs-lg); max-width: 44em; }
.page-hero .breadcrumb { padding-top: 0; }
.page-hero .breadcrumb, .page-hero .breadcrumb a { color: rgba(255,255,255,.6); }
.page-hero .breadcrumb [aria-current] { color: rgba(255,255,255,.9); }

/* ---------- 卡片 ---------- */
.card {
  background: #fff; border-radius: var(--r-md); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform var(--t-mid) var(--ease), box-shadow var(--t-mid) var(--ease);
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--cream); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow) var(--ease); }
.card:hover .card-media img { transform: scale(1.05); }
.card-body { padding: var(--sp-5); display: flex; flex-direction: column; gap: var(--sp-3); flex: 1; }
.card-body h3 { font-size: var(--fs-xl); }
.card-body h3 a::after { content: ""; position: absolute; inset: 0; }
.card-body p { color: var(--ink-500); font-size: var(--fs-md); flex: 1; }
.card-link { font-weight: 600; color: var(--brand-700); display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-md); }
.card-link::after { content: "→"; transition: transform var(--t-fast) var(--ease); }
.card:hover .card-link::after { transform: translateX(4px); }
.card-tags { display: flex; flex-wrap: wrap; gap: 6px; }

.grid { display: grid; gap: var(--sp-5); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1023px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 639px)  { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ---------- 数字统计条 ---------- */
.stats-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-5); }
.stat { text-align: center; padding: var(--sp-5); border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); }
.stat b { display: block; font-family: var(--font-display); font-size: clamp(30px, 3vw, 44px); color: var(--brand-700); line-height: 1.1; }
.stat b i { font-style: normal; font-size: .55em; color: var(--tan-500); margin-left: 2px; }
.stat span { color: var(--ink-500); font-size: var(--fs-md); }
.section--dark .stat { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); }
.section--dark .stat b { color: #fff; }
.section--dark .stat span { color: rgba(255,255,255,.65); }
@media (max-width: 639px) { .stats-bar { grid-template-columns: repeat(2, 1fr); } }

/* ---------- 服务流程 ---------- */
.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--sp-4); counter-reset: step; }
@media (max-width: 1023px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 639px)  { .process { grid-template-columns: 1fr; } }
.process-item { position: relative; padding: var(--sp-6) var(--sp-5) var(--sp-5); background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); }
.process-item::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--font-display); font-size: 44px; font-weight: 700;
  color: var(--tan-100); position: absolute; top: var(--sp-3); right: var(--sp-4); line-height: 1;
}
.process-item h3 { font-size: var(--fs-lg); margin-bottom: var(--sp-2); }
.process-item p { font-size: var(--fs-md); color: var(--ink-500); }

/* 服务场景 */
.scenario-card .card-body { gap: var(--sp-2); }
.scenario-card .card-body h3 { margin: var(--sp-2) 0 0; }
.scenario-card .card-body p { color: var(--ink-500); font-size: var(--fs-md); }
.scenario-icon {
  width: 52px; height: 52px; margin-top: var(--sp-5); margin-left: var(--sp-5);
  border-radius: 50%; background: var(--cream); color: var(--brand-700);
  display: flex; align-items: center; justify-content: center;
}
.scenario-icon svg { width: 26px; height: 26px; }
.onsite-strip {
  margin-top: var(--sp-6); padding: var(--sp-5) var(--sp-6);
  background: linear-gradient(135deg, var(--brand-800), var(--brand-700));
  color: #fff; border-radius: var(--r-md);
  display: flex; align-items: center; gap: var(--sp-4);
  font-size: var(--fs-md); line-height: 1.8;
}
.onsite-strip svg { width: 28px; height: 28px; flex: 0 0 auto; color: var(--tan-300); }
.onsite-strip b { color: var(--tan-300); }
@media (max-width: 639px) { .onsite-strip { flex-direction: column; align-items: flex-start; gap: var(--sp-3); padding: var(--sp-5); } }

/* ---------- 前后对比滑块 ---------- */
.ba-compare { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-md); overflow: hidden; user-select: none; background: var(--cream); }
.ba-compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; -webkit-user-drag: none; }
.ba-after { clip-path: inset(0 0 0 var(--ba-pos, 50%)); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--ba-pos, 50%); width: 3px; background: #fff; box-shadow: 0 0 12px rgba(0,0,0,.35); cursor: ew-resize; touch-action: none; }
.ba-handle::before { content: ""; position: absolute; top: 0; bottom: 0; left: -24px; right: -24px; }
.ba-handle::after {
  content: "◂ ▸"; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--brand-700);
  display: flex; align-items: center; justify-content: center; font-size: 13px; letter-spacing: -2px; box-shadow: var(--shadow-md);
}
.ba-label {
  position: absolute; bottom: 12px; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .1em;
  background: rgba(29,47,38,.7); color: #fff; padding: 4px 12px; border-radius: var(--r-pill); backdrop-filter: blur(4px);
}
.ba-label--before { left: 12px; } .ba-label--after { right: 12px; background: rgba(184,138,90,.85); }

/* ---------- 标签 ---------- */
.tag {
  display: inline-flex; align-items: center; font-size: var(--fs-xs); font-weight: 600;
  padding: 3px 12px; border-radius: var(--r-pill);
  background: var(--brand-50); color: var(--brand-700); border: 1px solid var(--brand-100);
}
.tag--tan { background: var(--tan-100); color: var(--tan-700); border-color: var(--tan-300); }
.tag--outline { background: transparent; color: var(--ink-500); border-color: var(--line); }
a.tag:hover { border-color: var(--tan-500); color: var(--tan-700); }

/* ---------- 手风琴 FAQ ---------- */
.faq-item { border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; overflow: hidden; }
.faq-item + .faq-item { margin-top: var(--sp-3); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4);
  padding: var(--sp-4) var(--sp-5); text-align: left; font-size: var(--fs-lg); font-weight: 600;
  color: var(--ink-900); font-family: var(--font-body); transition: background var(--t-fast) var(--ease);
}
.faq-q:hover { background: var(--brand-50); }
.faq-q .faq-icon { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--brand-50); color: var(--brand-700); display: grid; place-items: center; transition: transform var(--t-mid) var(--ease); font-weight: 400; }
.faq-item.is-open .faq-icon { transform: rotate(45deg); background: var(--brand-700); color: #fff; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height var(--t-mid) var(--ease); }
.faq-a-inner { padding: 0 var(--sp-5) var(--sp-5); color: var(--ink-500); border-top: 1px dashed var(--line); padding-top: var(--sp-4); margin: 0 var(--sp-5) var(--sp-5) ; padding-left: 0; padding-right: 0; }
.faq-a-inner p + p { margin-top: var(--sp-3); }

/* ---------- 新闻 / 文章 ---------- */
.news-meta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-3); font-size: var(--fs-sm); color: var(--ink-300); }
.news-meta time { color: var(--tan-600); font-weight: 600; }

.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: var(--sp-8); align-items: start; }
@media (max-width: 1023px) { .article-layout { grid-template-columns: 1fr; } }

.article { font-size: var(--fs-lg); line-height: 1.9; color: var(--ink-700); }
.article > h2 { font-size: var(--fs-h3); margin: var(--sp-7) 0 var(--sp-4); padding-left: 14px; position: relative; }
.article > h2::before { content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 4px; border-radius: 2px; background: var(--tan-500); }
.article > h3 { margin: var(--sp-6) 0 var(--sp-3); font-size: var(--fs-xl); }
.article p { margin-bottom: var(--sp-4); }
.article ul, .article ol { margin: 0 0 var(--sp-4) 1.4em; }
.article ul li { list-style: none; position: relative; padding-left: 20px; margin-bottom: var(--sp-2); }
.article ul li::before { content: "•"; position: absolute; left: 4px; color: var(--tan-500); }
.article ol { list-style: decimal; }
.article img { border-radius: var(--r-md); margin: var(--sp-5) 0; box-shadow: var(--shadow-sm); }
.article blockquote {
  margin: var(--sp-5) 0; padding: var(--sp-4) var(--sp-5); background: var(--brand-50);
  border-left: 4px solid var(--brand-700); border-radius: 0 var(--r-sm) var(--r-sm) 0; color: var(--ink-700);
}
.article-header { margin-bottom: var(--sp-6); }
.article-header h1 { margin: var(--sp-3) 0 var(--sp-4); }
.article-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--sp-7); padding-top: var(--sp-5); border-top: 1px solid var(--line); }
.article-footer-nav { display: flex; justify-content: space-between; gap: var(--sp-4); margin-top: var(--sp-6); padding: var(--sp-4) 0; border-top: 1px solid var(--line); font-size: var(--fs-md); }

/* 侧栏目录 TOC */
.aside { position: sticky; top: calc(var(--header-h) + 24px); display: flex; flex-direction: column; gap: var(--sp-5); }
.toc { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--sp-5); }
.toc-title { font-size: var(--fs-md); font-weight: 700; color: var(--ink-900); margin-bottom: var(--sp-3); display: flex; align-items: center; gap: 8px; }
.toc-title::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--tan-500); }
.toc ol { counter-reset: toc; }
.toc a {
  display: block; padding: 7px 0 7px 22px; font-size: var(--fs-md); color: var(--ink-500);
  border-left: 2px solid var(--line); transition: all var(--t-fast) var(--ease);
}
.toc a:hover { color: var(--brand-700); }
.toc a.is-active { color: var(--brand-700); border-left-color: var(--tan-500); font-weight: 600; }
.side-card { background: var(--brand-800); color: #fff; border-radius: var(--r-md); padding: var(--sp-6); }
.side-card h3 { color: #fff; font-size: var(--fs-lg); margin-bottom: var(--sp-3); }
.side-card p { font-size: var(--fs-md); color: rgba(255,255,255,.75); margin-bottom: var(--sp-4); }
.side-card .btn { width: 100%; background: var(--tan-500); }
.side-card .btn:hover { background: var(--tan-600); }
.side-list { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--sp-5); }
.side-list h3 { font-size: var(--fs-lg); margin-bottom: var(--sp-3); }
.side-list li + li { border-top: 1px dashed var(--line); }
.side-list a { display: block; padding: var(--sp-3) 0; font-size: var(--fs-md); color: var(--ink-700); line-height: 1.5; }
.side-list a:hover { color: var(--brand-700); }
.side-list time { display: block; font-size: var(--fs-xs); color: var(--ink-300); margin-top: 2px; }

/* ---------- 图库 / 灯箱 ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-4); }
@media (max-width: 1023px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
.gallery-item { position: relative; border-radius: var(--r-md); overflow: hidden; cursor: zoom-in; aspect-ratio: 4 / 3; background: var(--cream); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow) var(--ease); }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item figcaption {
  position: absolute; inset: auto 0 0 0; padding: 20px var(--sp-4) var(--sp-3);
  background: linear-gradient(transparent, rgba(29,47,38,.75)); color: #fff; font-size: var(--fs-sm);
}
.lightbox {
  position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center;
  background: rgba(20,30,25,.92); backdrop-filter: blur(6px); padding: var(--sp-6);
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: var(--r-md); box-shadow: var(--shadow-lg); }
.lightbox-close { position: absolute; top: var(--sp-5); right: var(--sp-5); width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; font-size: 22px; display: grid; place-items: center; }
.lightbox-close:hover { background: rgba(255,255,255,.25); color: #fff; }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; font-size: 26px; line-height: 1; display: grid; place-items: center; }
.lightbox-nav:hover { background: rgba(255,255,255,.25); color: #fff; }
.lightbox-nav--prev { left: var(--sp-5); } .lightbox-nav--next { right: var(--sp-5); }
.lightbox-tip { position: absolute; bottom: var(--sp-5); left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.75); font-size: var(--fs-xs); letter-spacing: .08em; }

/* ---------- 筛选器 ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-bottom: var(--sp-6); }
.filter-btn {
  padding: 8px 20px; border-radius: var(--r-pill); font-size: var(--fs-md); font-weight: 500;
  border: 1px solid var(--line); color: var(--ink-500); background: #fff; transition: all var(--t-fast) var(--ease);
}
.filter-btn:hover { border-color: var(--brand-700); color: var(--brand-700); }
.filter-btn.is-active { background: var(--brand-700); border-color: var(--brand-700); color: #fff; }

/* ---------- CTA 横幅 ---------- */
.cta-band {
  position: relative; border-radius: var(--r-lg); overflow: hidden; padding: var(--sp-8) var(--sp-7);
  background: linear-gradient(115deg, var(--brand-800), var(--brand-600));
  color: #fff; display: flex; align-items: center; justify-content: space-between; gap: var(--sp-6); flex-wrap: wrap;
}
.cta-band::before { content: ""; position: absolute; right: -40px; top: -60px; width: 260px; height: 260px; border-radius: 50%; background: rgba(184,138,90,.25); filter: blur(4px); }
.cta-band h2 { color: #fff; margin-bottom: var(--sp-2); }
.cta-band p { color: rgba(255,255,255,.8); max-width: 36em; }
.cta-band .hero-actions { margin: 0; position: relative; }

/* ---------- 表单 ---------- */
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-4); }
@media (max-width: 639px) { .form-grid { grid-template-columns: 1fr; } }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field--full { grid-column: 1 / -1; }
.form-field label { font-size: var(--fs-md); font-weight: 600; color: var(--ink-900); }
.form-field input, .form-field select, .form-field textarea {
  font: inherit; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: var(--r-sm);
  background: #fff; transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease); color: var(--ink-900);
}
.form-field textarea { min-height: 130px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--brand-700); box-shadow: 0 0 0 3px rgba(45,90,61,.12);
}
.form-note { font-size: var(--fs-sm); color: var(--ink-300); }

/* ---------- 信息卡（联系我们） ---------- */
.info-card { display: flex; gap: var(--sp-4); padding: var(--sp-5); background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); }
.info-card-icon { flex-shrink: 0; width: 48px; height: 48px; border-radius: var(--r-sm); background: var(--brand-50); color: var(--brand-700); display: grid; place-items: center; }
.info-card-icon svg { width: 24px; height: 24px; }
.info-card h3 { font-size: var(--fs-md); margin-bottom: 4px; }
.info-card p { color: var(--ink-500); font-size: var(--fs-md); line-height: 1.6; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--brand-900); color: rgba(255,255,255,.7); padding: var(--sp-8) 0 var(--sp-5); font-size: var(--fs-md); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--sp-7); margin-bottom: var(--sp-7); }
@media (max-width: 1023px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 639px)  { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-size: var(--fs-md); margin-bottom: var(--sp-4); font-family: var(--font-body); font-weight: 700; letter-spacing: .05em; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: rgba(255,255,255,.7); }
.site-footer a:hover { color: var(--tan-300); }
.footer-brand img { height: 34px; margin-bottom: var(--sp-4); }
.footer-brand p { max-width: 30em; line-height: 1.8; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: var(--sp-5); display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--sp-3); font-size: var(--fs-sm); color: rgba(255,255,255,.45); }

/* ---------- 浮动咨询 / 返回顶部 ---------- */
.float-actions { position: fixed; right: 20px; bottom: 24px; z-index: 90; display: flex; flex-direction: column; gap: 10px; }
.float-btn { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; box-shadow: var(--shadow-md); transition: all var(--t-fast) var(--ease); }
.float-btn svg { width: 24px; height: 24px; }
.float-btn--phone { background: var(--tan-500); color: #fff; }
.float-btn--phone:hover { background: var(--tan-600); transform: translateY(-2px); }
.float-btn--top { background: #fff; color: var(--brand-700); border: 1px solid var(--line); opacity: 0; pointer-events: none; }
.float-btn--top.is-visible { opacity: 1; pointer-events: auto; }
.float-btn--top:hover { transform: translateY(-2px); }

/* ---------- 滚动浮现 ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 图文分栏 ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-8); align-items: center; }
.split--reverse .split-media { order: 2; }
@media (max-width: 1023px) {
  .split { grid-template-columns: 1fr; gap: var(--sp-6); }
  .split--reverse .split-media { order: 0; }
}
.split-media { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.split-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.split-body h2 { margin-bottom: var(--sp-4); }
.check-list { display: grid; gap: var(--sp-3); margin: var(--sp-5) 0; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list svg { flex-shrink: 0; width: 22px; height: 22px; color: var(--brand-700); margin-top: 3px; }
.check-list b { color: var(--ink-900); }

/* 价格表 */
.price-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-sm); font-size: var(--fs-md); }
.price-table th, .price-table td { padding: var(--sp-4) var(--sp-5); text-align: left; border-bottom: 1px solid var(--line); }
.price-table th { background: var(--brand-700); color: #fff; font-weight: 600; }
.price-table tr:last-child td { border-bottom: none; }
.price-table em { font-style: normal; color: var(--tan-600); font-weight: 700; }
.table-note { font-size: var(--fs-sm); color: var(--ink-300); margin-top: var(--sp-3); }
.table-wrap { overflow-x: auto; border-radius: var(--r-md); box-shadow: var(--shadow-sm); }

/* 徽章数字 */
.num-badge { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--brand-700); color: #fff; font-family: var(--font-display); font-weight: 700; flex-shrink: 0; }
