/* ============================
   德创门窗官网 — 设计系统
   ============================ */
:root {
  /* 色彩 */
  --bg: #f6f3ee;            /* 暖米白主背景 */
  --bg-soft: #efeae2;       /* 米色卡片底 */
  --bg-dark: #1d1c1a;       /* 深炭主色 */
  --bg-darker: #14130f;
  --ink: #2a2924;           /* 主文字 */
  --ink-soft: #6b6960;      /* 次文字 */
  --ink-mute: #9a978c;      /* 弱文字 */
  --gold: #c8a45c;          /* 古铜金主点缀 */
  --gold-soft: #e0c283;     /* 浅金 */
  --gold-deep: #9a7a3a;     /* 深金（悬停） */
  --terracotta: #b76a4f;    /* 暖橘红（次点缀） */
  --line: #d8d2c4;          /* 分隔线 */
  --white: #ffffff;
  --shadow-sm: 0 2px 10px rgba(20,19,15,.06);
  --shadow-md: 0 8px 30px rgba(20,19,15,.10);
  --shadow-lg: 0 24px 60px rgba(20,19,15,.14);

  /* 字号 */
  --fs-xs: .75rem;
  --fs-sm: .875rem;
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: 1.375rem;
  --fs-xl: 1.75rem;
  --fs-2xl: 2.25rem;
  --fs-3xl: 3rem;
  --fs-4xl: 4rem;

  /* 间距与圆角 */
  --sp-1: .25rem;
  --sp-2: .5rem;
  --sp-3: .75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-8: 3rem;
  --sp-10: 4.5rem;
  --sp-12: 6rem;

  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 14px;
  --r-xl: 22px;
  --r-pill: 999px;

  --container: 1280px;
  --header-h: 76px;
  --font-serif: 'Noto Serif SC','Source Han Serif SC',Georgia,'PingFang SC','Microsoft YaHei',serif;
  --font-sans: 'PingFang SC','HarmonyOS Sans SC','Microsoft YaHei','Source Han Sans SC',sans-serif;
}

/* Reset */
*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img,video { max-width: 100%; height: auto; display: block; }
button { font: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul,ol { margin: 0; padding: 0; list-style: none; }
h1,h2,h3,h4 { margin: 0; font-weight: 600; line-height: 1.25; letter-spacing: -.01em; }
h1 { font-family: var(--font-serif); }
h2,h3,h4 { font-family: var(--font-serif); }

/* 无障碍：仅键盘可见 */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

/* 容器 */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--sp-5);
}

/* ============= 顶部导航 ============= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246,243,238,.86);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  transition: background .3s, box-shadow .3s;
}
.site-header.scrolled {
  background: rgba(255,255,255,.94);
  box-shadow: var(--shadow-sm);
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: var(--sp-5);
}
.brand { display: flex; align-items: center; gap: var(--sp-3); }
.brand img { width: 44px; height: 44px; border-radius: var(--r-md); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name {
  font-family: var(--font-serif);
  font-size: var(--fs-md);
  font-weight: 700;
  color: var(--bg-dark);
}
.brand-sub {
  font-size: 10px;
  letter-spacing: .15em;
  color: var(--ink-mute);
}
.primary-nav ul { display: flex; align-items: center; gap: var(--sp-1); }
.primary-nav a {
  display: inline-block;
  padding: 8px 14px;
  font-size: var(--fs-sm);
  color: var(--ink);
  border-radius: var(--r-md);
  transition: color .2s, background .2s;
}
.primary-nav a:hover,
.primary-nav a:focus-visible {
  color: var(--gold-deep);
  background: rgba(200,164,92,.08);
}
.has-sub { position: relative; }
.sub-menu {
  position: absolute;
  top: 100%;
  left: -8px;
  min-width: 160px;
  padding: var(--sp-2);
  background: var(--white);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .15s ease, transform .15s ease, visibility .15s;
  pointer-events: none;
  display: flex;
}
.has-sub:hover > .sub-menu,
.has-sub:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
.sub-menu a { display: block; padding: 8px 12px; font-size: var(--fs-sm); }
.nav-cta { display: flex; align-items: center; gap: var(--sp-3); }
.ghost-phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-sm);
  color: var(--ink);
  padding: 8px 12px;
}
.btn-wechat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg,var(--gold) 0%, var(--gold-soft) 100%);
  color: var(--bg-dark);
  font-weight: 600;
  padding: 10px 18px;
  border-radius: var(--r-pill);
  border: none;
  font-size: var(--fs-sm);
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 4px 14px rgba(200,164,92,.32);
}
.btn-wechat:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(200,164,92,.42);
}
.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  transition: .25s;
}

/* ============= 通用排版 ============= */
.eyebrow {
  display: inline-block;
  font-size: var(--fs-xs);
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 600;
}
.section { padding: clamp(60px,8vw,120px) 0; }
.section-tight { padding: clamp(40px,6vw,80px) 0; }
.section-title {
  font-size: clamp(1.8rem,3.4vw,2.6rem);
  text-align: center;
  margin-bottom: var(--sp-3);
}
.section-sub {
  text-align: center;
  color: var(--ink-soft);
  max-width: 640px;
  margin: 0 auto var(--sp-10);
  font-size: var(--fs-md);
}
.section-head { text-align: center; margin-bottom: var(--sp-10); }
.text-center { text-align: center; }
.divider {
  display: flex; align-items: center; justify-content: center; gap: var(--sp-3);
  color: var(--gold-deep);
  margin-bottom: var(--sp-5);
}
.divider::before,
.divider::after {
  content: ''; width: 32px; height: 1px; background: var(--gold);
}

/* ============= Hero ============= */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  color: var(--white);
  background: var(--bg-dark);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url('assets/images/showroom/showroom-ai.webp') center/cover no-repeat;
  opacity: .55;
}
.hero-bg::after {
  content:'';
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(20,19,15,.78) 0%, rgba(20,19,15,.45) 60%, rgba(20,19,15,.25) 100%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: var(--sp-12) 0;
}
.hero h1 {
  font-size: clamp(2.2rem,5vw,3.8rem);
  font-weight: 700;
  margin-bottom: var(--sp-5);
  line-height: 1.15;
}
.hero h1 .accent { color: var(--gold-soft); font-style: italic; }
.hero p {
  font-size: clamp(1rem,1.6vw,1.25rem);
  color: rgba(255,255,255,.85);
  max-width: 580px;
  margin-bottom: var(--sp-8);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--sp-4); }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: var(--fs-base);
  border: 1px solid transparent;
  transition: .25s;
  cursor: pointer;
}
.btn-primary {
  background: var(--gold);
  color: var(--bg-dark);
}
.btn-primary:hover {
  background: var(--gold-soft);
  transform: translateY(-1px);
  box-shadow: 0 10px 30px rgba(200,164,92,.4);
}
.btn-outline {
  border-color: rgba(255,255,255,.4);
  color: var(--white);
  background: transparent;
}
.btn-outline:hover {
  background: rgba(255,255,255,.12);
  border-color: var(--gold-soft);
}
.btn-dark {
  background: var(--bg-dark);
  color: var(--white);
}
.btn-dark:hover { background: var(--bg-darker); }
.hero-stats {
  margin-top: var(--sp-10);
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: var(--sp-5);
  max-width: 720px;
}
.hero-stats div { border-left: 1px solid rgba(255,255,255,.18); padding-left: var(--sp-4); }
.hero-stats strong {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(1.6rem,3vw,2.4rem);
  color: var(--gold-soft);
}
.hero-stats span { font-size: var(--fs-sm); color: rgba(255,255,255,.75); }

/* ============= Bento / Why ============= */
.bento {
  display: grid;
  grid-template-columns: repeat(12,1fr);
  gap: var(--sp-5);
}
.bento-card {
  background: var(--white);
  border-radius: var(--r-xl);
  padding: var(--sp-6);
  box-shadow: var(--shadow-sm);
  transition: transform .25s, box-shadow .25s;
}
.bento-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.bento-card .bento-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--r-md);
  background: rgba(200,164,92,.14);
  color: var(--gold-deep);
  margin-bottom: var(--sp-4);
}
.bento-card h3 { font-size: var(--fs-lg); margin-bottom: var(--sp-2); }
.bento-card p { color: var(--ink-soft); font-size: var(--fs-sm); margin: 0; }
.bento-card.dark {
  background: var(--bg-dark);
  color: var(--white);
}
.bento-card.dark p { color: rgba(255,255,255,.72); }
.bento-card.dark .bento-icon { background: rgba(200,164,92,.22); color: var(--gold-soft); }

.b-1 { grid-column: span 6; }
.b-2 { grid-column: span 3; }
.b-3 { grid-column: span 3; }
.b-4 { grid-column: span 4; }
.b-5 { grid-column: span 4; }
.b-6 { grid-column: span 4; }

/* 数字统计条 */
.stat-bar {
  background: var(--bg-dark);
  color: var(--white);
  border-radius: var(--r-xl);
  padding: var(--sp-8) var(--sp-6);
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: var(--sp-5);
  text-align: center;
}
.stat-bar strong {
  font-family: var(--font-serif);
  font-size: clamp(2rem,4vw,3rem);
  color: var(--gold-soft);
  display: block;
  margin-bottom: var(--sp-1);
}
.stat-bar span { color: rgba(255,255,255,.7); font-size: var(--fs-sm); }

/* ============= 产品系列卡片 ============= */
.series-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
  gap: var(--sp-5);
}
.series-card {
  background: var(--white);
  border-radius: var(--r-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: .25s;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.series-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.series-card .cover {
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  position: relative;
}
.series-card .cover::after {
  content:'';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.55) 100%);
}
.series-card .badge {
  position: absolute;
  top: var(--sp-3);
  left: var(--sp-3);
  background: rgba(255,255,255,.92);
  color: var(--bg-dark);
  font-size: var(--fs-xs);
  padding: 4px 10px;
  border-radius: var(--r-pill);
  font-weight: 600;
  letter-spacing: .05em;
  z-index: 2;
}
.series-card .cover-title {
  position: absolute;
  left: var(--sp-5);
  bottom: var(--sp-4);
  color: var(--white);
  font-family: var(--font-serif);
  font-size: var(--fs-xl);
  z-index: 2;
}
.series-card .body { padding: var(--sp-5); }
.series-card .body p { color: var(--ink-soft); font-size: var(--fs-sm); margin-bottom: var(--sp-3); }
.color-row { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: var(--sp-4); }
.color-dot {
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,.1);
  display: inline-block;
}
.color-name { font-size: var(--fs-xs); color: var(--ink-soft); margin-left: var(--sp-1); align-self: center; }
.series-card .actions { display: flex; gap: var(--sp-2); margin-top: auto; }
.series-card .actions a { flex: 1; text-align: center; font-size: var(--fs-sm); }
.link-arrow {
  display: inline-flex; align-items: center; gap: 4px;
  color: var(--gold-deep); font-weight: 600;
}
.link-arrow::after {
  content: '→'; transition: transform .2s;
}
.link-arrow:hover::after { transform: translateX(3px); }

/* ============= CTA 大块 ============= */
.cta-band {
  background: var(--bg-dark);
  color: var(--white);
  border-radius: var(--r-xl);
  padding: var(--sp-10) var(--sp-6);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(800px 400px at 80% 20%, rgba(200,164,92,.18), transparent 60%),
    radial-gradient(600px 300px at 10% 80%, rgba(183,106,79,.12), transparent 70%);
  pointer-events: none;
}
.cta-band > * { position: relative; }
.cta-band h2 { font-size: clamp(1.8rem,3vw,2.6rem); margin-bottom: var(--sp-3); }
.cta-band p { color: rgba(255,255,255,.8); margin-bottom: var(--sp-6); }
.cta-band .cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--sp-3); }

/* ============= 服务流程 ============= */
.flow-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: var(--sp-5);
  counter-reset: step;
}
.flow-step {
  background: var(--white);
  border-radius: var(--r-xl);
  padding: var(--sp-6);
  position: relative;
  counter-increment: step;
  box-shadow: var(--shadow-sm);
}
.flow-step::before {
  content: 'STEP ' counter(step,decimal-leading-zero);
  font-size: var(--fs-xs);
  letter-spacing: .25em;
  color: var(--gold-deep);
  font-weight: 600;
}
.flow-step h3 {
  font-size: var(--fs-lg);
  margin: var(--sp-3) 0 var(--sp-2);
}
.flow-step p { color: var(--ink-soft); font-size: var(--fs-sm); margin: 0; }
.flow-step::after {
  content: counter(step);
  position: absolute;
  right: var(--sp-5);
  top: var(--sp-5);
  font-family: var(--font-serif);
  font-size: 2.8rem;
  color: rgba(200,164,92,.3);
  line-height: 1;
}

/* ============= 案例 ============= */
.filter-bar { display: flex; gap: var(--sp-2); flex-wrap: wrap; justify-content: center; margin-bottom: var(--sp-8); }
.filter-bar button {
  padding: 10px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-size: var(--fs-sm);
  color: var(--ink-soft);
  transition: .2s;
}
.filter-bar button:hover { border-color: var(--gold); color: var(--gold-deep); }
.filter-bar button.active {
  background: var(--bg-dark);
  color: var(--white);
  border-color: var(--bg-dark);
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill,minmax(280px,1fr));
  gap: var(--sp-4);
}
.case-card {
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: .25s;
}
.case-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.case-card .img {
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  position: relative;
}
.case-card .img::after {
  content:'';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,.5));
}
.case-card .meta {
  position: absolute;
  left: var(--sp-4); bottom: var(--sp-3);
  color: var(--white);
  font-family: var(--font-serif);
  font-size: var(--fs-md);
  z-index: 2;
}
.case-card .meta small { display: block; font-size: var(--fs-xs); opacity: .85; font-family: var(--font-sans); margin-top: 2px; }
.case-card .body { padding: var(--sp-4); }
.case-card .body h3 { font-size: var(--fs-md); margin-bottom: var(--sp-1); }
.case-card .body p { color: var(--ink-soft); font-size: var(--fs-sm); margin: 0; }

/* ============= 视频区 ============= */
.video-card {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--bg-dark);
  aspect-ratio: 16 / 10;
}
.video-card video { width: 100%; height: 100%; object-fit: cover; }
.video-card .vcaption {
  position: absolute;
  left: var(--sp-5);
  bottom: var(--sp-5);
  color: var(--white);
  z-index: 2;
  font-family: var(--font-serif);
  font-size: var(--fs-lg);
}
.video-card .vcaption::before {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(0deg, rgba(0,0,0,.55), transparent);
}
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
  gap: var(--sp-4);
}

/* ============= 画册 ============= */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
  gap: var(--sp-4);
}
.catalog-card {
  background: var(--white);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: .25s;
}
.catalog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.catalog-card .cover {
  aspect-ratio: 3 / 4;
  background-size: cover; background-position: center;
}
.catalog-card h3 { padding: var(--sp-4) var(--sp-3) var(--sp-1); font-size: var(--fs-md); }
.catalog-card p { padding: 0 var(--sp-3) var(--sp-4); color: var(--ink-soft); font-size: var(--fs-sm); }

/* ============= FAQ ============= */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: var(--white);
  border-radius: var(--r-md);
  margin-bottom: var(--sp-3);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  background: transparent;
  border: 0;
  padding: var(--sp-5);
  text-align: left;
  font-size: var(--fs-md);
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}
.faq-q::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--gold-deep);
  transition: transform .25s;
}
.faq-item.open .faq-q::after { content: '−'; }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
  padding: 0 var(--sp-5);
  color: var(--ink-soft);
}
.faq-item.open .faq-a { padding: 0 var(--sp-5) var(--sp-5); }

/* ============= 表单 ============= */
.form-card {
  background: var(--white);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  box-shadow: var(--shadow-md);
  max-width: 720px;
  margin: 0 auto;
}
.form-card label {
  display: block;
  font-size: var(--fs-sm);
  color: var(--ink-soft);
  margin-bottom: var(--sp-1);
  font-weight: 600;
}
.form-card input,
.form-card select,
.form-card textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  font: inherit;
  background: var(--bg);
  margin-bottom: var(--sp-4);
}
.form-card input:focus,
.form-card select:focus,
.form-card textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200,164,92,.18);
}
.form-card .grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); }

/* ============= 关于页 ============= */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--sp-8);
  align-items: center;
}
.about-photo {
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
  background-size: cover; background-position: center;
}
.about-timeline { display: grid; gap: var(--sp-4); }
.tl-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: var(--sp-4);
  align-items: start;
}
.tl-year {
  font-family: var(--font-serif);
  font-size: var(--fs-xl);
  color: var(--gold-deep);
  font-weight: 700;
}
.tl-text { padding-top: 6px; }
.tl-text h3 { margin-bottom: 4px; font-size: var(--fs-md); }
.tl-text p { color: var(--ink-soft); font-size: var(--fs-sm); margin: 0; }

/* ============= 联系方式 ============= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-6);
}
.contact-card {
  background: var(--white);
  border-radius: var(--r-xl);
  padding: var(--sp-6);
  box-shadow: var(--shadow-sm);
}
.contact-card h3 { font-size: var(--fs-lg); margin-bottom: var(--sp-3); }
.contact-card .row { display: flex; align-items: center; gap: var(--sp-3); padding: var(--sp-3) 0; border-top: 1px solid var(--line); }
.contact-card .row:first-of-type { border-top: 0; }
.contact-card .row strong { display: block; font-size: var(--fs-sm); color: var(--ink-soft); }
.contact-card .row a { font-size: var(--fs-lg); font-weight: 600; color: var(--ink); }
.contact-card .row .ico {
  width: 40px; height: 40px;
  background: rgba(200,164,92,.14);
  color: var(--gold-deep);
  border-radius: var(--r-md);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

/* ============= 二维码模态 ============= */
.wechat-modal {
  position: fixed; inset: 0;
  background: rgba(20,19,15,.72);
  display: flex; align-items: center; justify-content: center;
  z-index: 100;
  padding: var(--sp-5);
  backdrop-filter: blur(6px);
}
.wechat-modal[hidden] { display: none; }
.wechat-card {
  background: var(--white);
  border-radius: var(--r-xl);
  padding: var(--sp-6);
  max-width: 360px;
  width: 100%;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-lg);
}
.wechat-card h3 { font-size: var(--fs-xl); margin-bottom: var(--sp-2); }
.wechat-sub { color: var(--ink-soft); font-size: var(--fs-sm); margin-bottom: var(--sp-5); }
.wechat-card img {
  width: 220px; height: 220px;
  margin: 0 auto var(--sp-4);
  border-radius: var(--r-md);
  background: var(--bg);
}
.wechat-open {
  display: inline-block;
  background: var(--gold);
  color: var(--bg-dark);
  padding: 10px 18px;
  border-radius: var(--r-pill);
  font-weight: 600;
  margin-bottom: var(--sp-3);
}
.wechat-tel { font-size: var(--fs-sm); color: var(--ink-soft); margin: 0; }
.wechat-close {
  position: absolute; top: var(--sp-3); right: var(--sp-3);
  width: 32px; height: 32px;
  border: 0;
  background: var(--bg);
  border-radius: 50%;
  font-size: 1.4rem;
  color: var(--ink-soft);
}
.wechat-close:hover { background: var(--line); }

/* ============= 悬浮工具栏 ============= */
.float-tools {
  position: fixed;
  right: var(--sp-4);
  bottom: 110px;
  display: flex; flex-direction: column; gap: 10px;
  z-index: 40;
}
.float-btn {
  position: relative;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  transition: .25s;
  cursor: pointer;
}
.float-btn:hover { transform: scale(1.06); }
.float-btn.wechat { background: var(--gold); color: var(--bg-dark); border-color: var(--gold); }
.float-btn.phone { background: var(--bg-dark); color: var(--white); border-color: var(--bg-dark); }
.float-btn.quote { background: var(--terracotta); color: var(--white); border-color: var(--terracotta); }
.float-btn.top { opacity: 0; pointer-events: none; transition: opacity .25s; }
.float-btn.top.show { opacity: 1; pointer-events: auto; }
.float-tip {
  position: absolute;
  right: calc(100% + 8px);
  top: 50%;
  transform: translateY(-50%);
  background: var(--bg-dark);
  color: var(--white);
  padding: 5px 10px;
  border-radius: var(--r-sm);
  font-size: var(--fs-xs);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
}
.float-btn:hover .float-tip { opacity: 1; }

/* 移动端底部吸底 */
.mobile-bar {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0;
  background: var(--white);
  border-top: 1px solid var(--line);
  padding: 8px var(--sp-3);
  z-index: 60;
  justify-content: space-around;
  box-shadow: 0 -8px 24px rgba(20,19,15,.08);
}
.mobile-bar > * {
  flex: 1;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 6px 0;
  font-size: var(--fs-xs);
  color: var(--ink);
  background: transparent;
  border: 0;
}
.mobile-bar > *:hover { color: var(--gold-deep); }
.mb-ico { font-size: 1.2rem; }

/* ============= 页脚 ============= */
.site-footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,.7);
  padding: var(--sp-12) 0 var(--sp-6);
  margin-top: var(--sp-12);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: var(--sp-8);
}
.footer-about { font-size: var(--fs-sm); margin: var(--sp-4) 0; }
.footer-col h4 {
  font-size: var(--fs-base);
  color: var(--white);
  margin-bottom: var(--sp-4);
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col a:hover { color: var(--gold-soft); }
.footer-contact li { font-size: var(--fs-sm); }
.footer-contact strong { display: block; color: rgba(255,255,255,.5); font-size: var(--fs-xs); font-weight: 500; margin-bottom: 4px; }
.footer-contact a { color: var(--white); font-weight: 600; }
.qr-row { display: flex; gap: var(--sp-3); flex-wrap: wrap; }
.qr-card {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  font-size: var(--fs-xs);
}
.qr-card img { width: 90px; height: 90px; border-radius: var(--r-sm); }
.footer-wechat { margin-top: var(--sp-4); width: 100%; justify-content: center; }
.footer-bar {
  border-top: 1px solid rgba(255,255,255,.08);
  margin-top: var(--sp-8);
  padding-top: var(--sp-5);
  text-align: center;
  font-size: var(--fs-xs);
}
.footer-keywords { margin-top: 4px; color: rgba(255,255,255,.45); }

/* ============= 内部页 hero 较小版 ============= */
.page-hero {
  background: var(--bg-dark);
  color: var(--white);
  padding: var(--sp-12) 0 var(--sp-10);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content:'';
  position: absolute; inset: 0;
  background: radial-gradient(700px 350px at 80% 30%, rgba(200,164,92,.18), transparent 70%);
  pointer-events: none;
}
.page-hero h1 {
  font-size: clamp(2rem,4vw,3rem);
  margin-bottom: var(--sp-3);
  position: relative;
}
.page-hero p {
  font-size: var(--fs-md);
  color: rgba(255,255,255,.78);
  max-width: 640px;
  position: relative;
}
.breadcrumb {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,.55);
  margin-bottom: var(--sp-4);
  position: relative;
}
.breadcrumb a:hover { color: var(--gold-soft); }

/* ============= 响应式 ============= */
@media (max-width: 1024px) {
  .nav-cta .ghost-phone { display: none; }
  .bento-card { padding: var(--sp-5); }
  .b-1 { grid-column: span 12; }
  .b-2, .b-3 { grid-column: span 6; }
  .b-4, .b-5, .b-6 { grid-column: span 6; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stat-bar { grid-template-columns: repeat(2,1fr); gap: var(--sp-6); }
  .flow-grid { grid-template-columns: repeat(2,1fr); }
  .form-card .grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  :root { --header-h: 64px; }
  .nav-cta .btn-wechat span { display: none; }
  .nav-cta .btn-wechat { padding: 10px 14px; }
  .nav-toggle { display: block; }
  .primary-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--white);
    border-top: 1px solid var(--line);
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s;
  }
  .primary-nav.open { max-height: 80vh; overflow-y: auto; }
  .primary-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: var(--sp-3) 0;
  }
  .primary-nav a { padding: 12px var(--sp-5); border-radius: 0; }
  .has-sub .sub-menu {
    position: static;
    box-shadow: none;
    background: var(--bg);
    padding: 0;
  }
  .has-sub:hover .sub-menu,
  .has-sub:focus-within .sub-menu { display: flex; }
  .sub-menu a { padding-left: var(--sp-8); }
  .hero { min-height: 78vh; }
  .hero-stats { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .float-tools { display: none; }
  .mobile-bar { display: flex; }
  body { padding-bottom: 64px; }
  .stat-bar { padding: var(--sp-6) var(--sp-4); }
  .flow-grid { grid-template-columns: 1fr; }
  .hero-inner { padding: var(--sp-10) 0; }
}

/* 工具类 */
.mt-0 { margin-top: 0; } .mt-4 { margin-top: var(--sp-4); }
.mb-0 { margin-bottom: 0; } .mb-4 { margin-bottom: var(--sp-4); }
.tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--r-pill);
  font-size: var(--fs-xs);
  background: rgba(200,164,92,.14);
  color: var(--gold-deep);
  margin-right: 4px;
}
.placeholder {
  border: 2px dashed var(--line);
  border-radius: var(--r-lg);
  padding: var(--sp-8);
  text-align: center;
  color: var(--ink-mute);
  background: rgba(255,255,255,.4);
}
.placeholder strong { display: block; color: var(--ink-soft); margin-bottom: 4px; }