/* ============================================================
   尚风尚水 — 高端国际范设计系统
   北京尚风尚水装饰工程设计有限公司
   设计理念：东方美学 × 国际视野，以留白、衬线、金铜点缀
   营造高端设计机构的品牌质感
   ============================================================ */

/* ---------- Design Tokens ---------- */
:root {
  /* 色彩 — 暖调高级灰 + 金铜点缀 */
  --ink: #16150f;
  --ink-soft: #3d3a32;
  --stone: #85806f;
  --stone-light: #b3ad9c;
  --cream: #faf8f4;
  --cream-deep: #f3efe7;
  --paper: #ffffff;
  --line: #e6e1d5;
  --gold: #b08d57;
  --gold-deep: #96743f;
  --gold-soft: #e9dfc9;
  --charcoal: #1c1b16;
  --charcoal-soft: #2a2820;

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

  /* 布局 */
  --max-w: 1280px;
  --content-w: 760px;
  --nav-h: 84px;
  --section-pad: clamp(5rem, 10vw, 8.5rem);

  /* 动效 */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.5s;

  /* 阴影 */
  --shadow-soft: 0 2px 24px rgba(28, 27, 22, 0.06);
  --shadow-lift: 0 18px 50px rgba(28, 27, 22, 0.10);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body {
  font-family: var(--font-sans);
  font-weight: 300;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.9;
  overflow-x: hidden;
  font-size: 16px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--dur) var(--ease); }
ul, ol { list-style: none; }
button { font-family: inherit; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
  letter-spacing: 0.01em;
}
h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); font-weight: 600; }
h4 { font-size: 1.1rem; }
p { color: var(--ink-soft); }

/* 标签 — 国际范细节：大字距、小号、金铜色 */
.eyebrow, .section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.4rem;
}
.eyebrow::before, .section-tag::before {
  content: '';
  display: block;
  width: 2.4rem;
  height: 1px;
  background: var(--gold);
}
.eyebrow.center, .section-tag.center { justify-content: center; }
.eyebrow.center::after, .section-tag.center::after {
  content: '';
  display: block;
  width: 2.4rem;
  height: 1px;
  background: var(--gold);
}

/* ---------- Skip Link ---------- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1.5rem;
  z-index: 10000;
  padding: 0.8rem 1.6rem;
  background: var(--charcoal);
  color: var(--cream);
  font-size: 0.85rem;
  transition: top 0.2s;
}
.skip-link:focus { top: 1rem; }

/* ---------- Navigation ---------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(250, 248, 244, 0.92);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.navbar.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 1px 20px rgba(28,27,22,0.04);
}
.nav-container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.nav-brand {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0.12em;
  color: var(--ink);
  white-space: nowrap;
}
.nav-brand span { color: var(--gold); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}
.nav-links > a,
.nav-dropdown > a {
  position: relative;
  padding: 0.55rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  white-space: nowrap;
  transition: color var(--dur) var(--ease);
}
.nav-links > a::after,
.nav-dropdown > a::after {
  content: '';
  position: absolute;
  left: 0.85rem; right: 0.85rem;
  bottom: 0.15rem;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.nav-links > a:hover,
.nav-dropdown > a:hover,
.nav-links > a.active,
.nav-dropdown > a.active { color: var(--ink); }
.nav-links > a:hover::after,
.nav-dropdown > a:hover::after,
.nav-links > a.active::after,
.nav-dropdown > a.active::after { transform: scaleX(1); }

/* 下拉菜单 */
.nav-dropdown { position: relative; }
.nav-dropdown > a .caret {
  display: inline-block;
  margin-left: 0.35rem;
  width: 0; height: 0;
  border-left: 3.5px solid transparent;
  border-right: 3.5px solid transparent;
  border-top: 4px solid currentColor;
  vertical-align: 2px;
  transition: transform var(--dur) var(--ease);
}
.nav-dropdown:hover > a .caret { transform: rotate(180deg); }
.dropdown-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 200px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lift);
  padding: 0.6rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--dur) var(--ease);
}
.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown-menu a {
  display: block;
  padding: 0.65rem 1rem;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  color: var(--ink-soft);
  transition: all 0.3s var(--ease);
}
.dropdown-menu a:hover {
  color: var(--gold-deep);
  background: var(--cream);
  padding-left: 1.3rem;
}

/* 导航 CTA — 金铜描边按钮 */
.nav-cta {
  margin-left: 0.8rem;
  padding: 0.6rem 1.6rem !important;
  border: 1px solid var(--gold);
  color: var(--gold-deep) !important;
  font-size: 0.8rem !important;
  letter-spacing: 0.15em !important;
  transition: all var(--dur) var(--ease) !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
  background: var(--gold) !important;
  color: var(--cream) !important;
}

/* 汉堡菜单 */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 10px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}
.hamburger span {
  width: 26px;
  height: 1.5px;
  background: var(--ink);
  transition: all 0.4s var(--ease);
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ---------- Hero (首页) ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--charcoal);
  padding-top: var(--nav-h);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.35;
  transform: scale(1.05);
  animation: heroZoom 18s var(--ease) forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(20,19,14,0.92) 0%, rgba(28,27,22,0.72) 55%, rgba(28,27,22,0.45) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 6rem clamp(1.25rem, 4vw, 3rem);
  width: 100%;
}
.hero .eyebrow { color: var(--gold-soft); }
.hero .eyebrow::before { background: var(--gold-soft); }
.hero h1 {
  color: var(--cream);
  font-size: clamp(2.6rem, 6.5vw, 4.6rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.04em;
  margin-bottom: 2rem;
}
.hero h1 .accent-text {
  color: var(--gold-soft);
  font-style: normal;
}
.hero-subtitle {
  color: rgba(250, 248, 244, 0.72);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  font-weight: 300;
  line-height: 2;
  letter-spacing: 0.06em;
  max-width: 560px;
  margin-bottom: 3.2rem;
}
.hero-buttons { display: flex; gap: 1.2rem; flex-wrap: wrap; }

/* 通用按钮 */
.btn-primary, .btn-outline, .btn-white, .btn-ghost {
  display: inline-block;
  padding: 1rem 2.8rem;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition: all var(--dur) var(--ease);
  cursor: pointer;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--gold);
  color: var(--charcoal);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: transparent;
  color: var(--gold-soft);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--cream);
  border-color: rgba(250,248,244,0.35);
}
.btn-outline:hover {
  border-color: var(--cream);
  background: rgba(250,248,244,0.08);
  transform: translateY(-2px);
}
.btn-white {
  background: var(--gold);
  color: var(--charcoal);
  border-color: var(--gold);
}
.btn-white:hover { background: var(--gold-deep); border-color: var(--gold-deep); transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  color: var(--cream);
  border-color: rgba(250,248,244,0.35);
}
.btn-ghost:hover { border-color: var(--cream); background: rgba(250,248,244,0.08); transform: translateY(-2px); }
.btn-dark-outline {
  display: inline-block;
  padding: 1rem 2.8rem;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  border: 1px solid var(--ink);
  color: var(--ink);
  transition: all var(--dur) var(--ease);
}
.btn-dark-outline:hover { background: var(--ink); color: var(--cream); transform: translateY(-2px); }

/* ---------- Page Hero (子页面) ---------- */
.page-hero {
  position: relative;
  padding: calc(var(--nav-h) + clamp(4rem, 9vw, 7rem)) clamp(1.25rem, 4vw, 3rem) clamp(4rem, 8vw, 6.5rem);
  background: var(--charcoal);
  overflow: hidden;
  text-align: left;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -40%; right: -10%;
  width: 55%;
  height: 180%;
  background: radial-gradient(ellipse, rgba(176,141,87,0.10) 0%, transparent 65%);
  pointer-events: none;
}
.page-hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.page-hero .eyebrow { color: var(--gold-soft); }
.page-hero .eyebrow::before { background: var(--gold-soft); }
.page-hero h1 {
  color: var(--cream);
  margin-bottom: 1.4rem;
}
.page-subtitle {
  color: rgba(250, 248, 244, 0.65);
  font-size: 1.05rem;
  font-weight: 300;
  letter-spacing: 0.05em;
  line-height: 2;
  max-width: 620px;
}

/* ---------- 数据统计栏 ---------- */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: var(--max-w);
  margin: -4.5rem auto 0;
  position: relative;
  z-index: 3;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lift);
}
.stat-item {
  padding: 3rem 1.5rem;
  text-align: center;
  border-right: 1px solid var(--line);
  transition: background var(--dur) var(--ease);
}
.stat-item:last-child { border-right: none; }
.stat-item:hover { background: var(--cream); }
.stat-number {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--gold-deep);
  line-height: 1;
  margin-bottom: 0.8rem;
  letter-spacing: 0.02em;
}
.stat-label {
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--stone);
  font-weight: 400;
}

/* ---------- Section 布局 ---------- */
.section { padding: var(--section-pad) clamp(1.25rem, 4vw, 3rem); }
.section-alt { background: var(--cream-deep); }
.section-dark { background: var(--charcoal); }
.section-container { max-width: var(--max-w); margin: 0 auto; }
.section-narrow { max-width: var(--content-w); margin: 0 auto; }

.section-header { margin-bottom: clamp(3rem, 6vw, 4.5rem); }
.section-header.center { text-align: center; }
.section-header.center .section-tag,
.section-header.center .eyebrow { justify-content: center; }
.section-header.center .section-tag::after,
.section-header.center .eyebrow::after {
  content: '';
  width: 2.4rem;
  height: 1px;
  background: var(--gold);
}
.section-header h2 { margin-bottom: 1.2rem; }
.section-header p {
  color: var(--stone);
  font-size: 1rem;
  letter-spacing: 0.03em;
  max-width: 640px;
  line-height: 2;
}
.section-header.center p { margin: 0 auto; }

/* 深色区块文字 */
.section-dark h2, .section-dark h3 { color: var(--cream); }
.section-dark p { color: rgba(250,248,244,0.68); }
.section-dark .section-tag, .section-dark .eyebrow { color: var(--gold-soft); }
.section-dark .section-tag::before, .section-dark .eyebrow::before { background: var(--gold-soft); }

/* ---------- 卡片 ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  position: relative;
  display: block;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 2.8rem 2.4rem;
  color: inherit;
  transition: all var(--dur) var(--ease);
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lift);
  border-color: transparent;
}
.card:hover::before { transform: scaleX(1); }
.card-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--gold-deep);
  border: 1px solid var(--gold-soft);
  margin-bottom: 1.8rem;
  transition: all var(--dur) var(--ease);
}
.card:hover .card-icon {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--cream);
}
.card h3 { font-size: 1.2rem; margin-bottom: 0.9rem; }
.card p {
  font-size: 0.9rem;
  color: var(--stone);
  line-height: 1.9;
  margin-bottom: 0;
}
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.6rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.card-link::after {
  content: '→';
  transition: transform var(--dur) var(--ease);
}
.card:hover .card-link::after,
a:hover .card-link::after { transform: translateX(6px); }

/* 编号卡片 */
.card .card-num {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 300;
  color: var(--gold-soft);
  line-height: 1;
  margin-bottom: 1.4rem;
  transition: color var(--dur) var(--ease);
}
.card:hover .card-num { color: var(--gold); }

/* 图片头部卡片：图片出血到卡片边缘 */
.card-media {
  margin: -2.8rem -2.4rem 1.8rem;
  height: 200px;
  overflow: hidden;
  position: relative;
}
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.9s var(--ease);
}
.card:hover .card-media img { transform: scale(1.06); }
.card-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(22, 21, 15, 0.18), transparent 45%);
  pointer-events: none;
}

/* ---------- 特色大卡片 ---------- */
.feature-card {
  position: relative;
  display: block;
  background: var(--paper);
  border: 1px solid var(--line);
  overflow: hidden;
  color: inherit;
  transition: all var(--dur) var(--ease);
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lift);
  border-color: transparent;
}
.feature-card-img {
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.feature-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.feature-card:hover .feature-card-img img { transform: scale(1.06); }
.feature-card-img .num {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 200;
  color: rgba(250,248,244,0.28);
  letter-spacing: 0.1em;
}
.feature-card-body { padding: 2.2rem 2.4rem 2.6rem; }
.feature-card-body h3 { font-size: 1.35rem; margin-bottom: 0.9rem; }
.feature-card-body p { font-size: 0.9rem; color: var(--stone); line-height: 1.9; }

/* ---------- 图文并排 ---------- */
.content-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 5.5rem);
  align-items: center;
}
.content-block.reverse .content-text { order: 2; }
.content-block.reverse .content-visual { order: 1; }
.content-text h2 { margin-bottom: 1.4rem; }
.content-text p { font-size: 1rem; line-height: 2; margin-bottom: 1.2rem; }
.content-visual {
  position: relative;
  overflow: hidden;
  min-height: 420px;
}
.content-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}
.content-visual::after {
  content: '';
  position: absolute;
  top: 1.5rem; left: 1.5rem; right: -1.5rem; bottom: -1.5rem;
  border: 1px solid var(--gold-soft);
  z-index: -1;
}

/* ---------- 创始人区块 ---------- */
.founder-section {
  background: var(--charcoal);
  padding: var(--section-pad) clamp(1.25rem, 4vw, 3rem);
  position: relative;
  overflow: hidden;
}
.founder-section::before {
  content: '';
  position: absolute;
  bottom: -30%; left: -10%;
  width: 50%;
  height: 160%;
  background: radial-gradient(ellipse, rgba(176,141,87,0.08) 0%, transparent 65%);
}
.founder-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: clamp(3rem, 6vw, 5.5rem);
  align-items: start;
  position: relative;
  z-index: 1;
}
.founder-photo {
  position: relative;
  overflow: hidden;
}
.founder-photo img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  filter: grayscale(15%);
}
.founder-photo::after {
  content: '';
  position: absolute;
  top: 1.5rem; left: 1.5rem; right: -1.5rem; bottom: -1.5rem;
  border: 1px solid rgba(176,141,87,0.4);
  z-index: -1;
}
.founder-info h2 { color: var(--cream); margin-bottom: 0.4rem; }
.founder-info .founder-role {
  font-size: 0.78rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 2rem;
}
.founder-info p {
  color: rgba(250,248,244,0.7);
  font-size: 0.98rem;
  line-height: 2;
  margin-bottom: 1.2rem;
}
.founder-timeline {
  margin-top: 2.5rem;
  border-top: 1px solid rgba(250,248,244,0.12);
  padding-top: 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem 3rem;
}
.timeline-item { display: flex; gap: 1.2rem; align-items: baseline; }
.timeline-year {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1rem;
  color: var(--gold-soft);
  min-width: 52px;
}
.timeline-text {
  font-size: 0.85rem;
  color: rgba(250,248,244,0.6);
  line-height: 1.7;
  border-left: 1px solid rgba(250,248,244,0.15);
  padding-left: 1.2rem;
}

/* ---------- 案例 ---------- */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.case-card {
  background: var(--paper);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: all var(--dur) var(--ease);
}
.case-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lift);
  border-color: transparent;
}
.case-card-img {
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.case-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.case-card:hover .case-card-img img { transform: scale(1.06); }
.case-card-img .num {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 200;
  color: rgba(61,58,50,0.15);
}
.case-card-body { padding: 1.6rem 1.8rem 1.8rem; }
.case-card-body .case-cat {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 0.6rem;
}
.case-card-body h4 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}
.case-card-body p { font-size: 0.82rem; color: var(--stone); margin: 0; }

/* ---------- FAQ ---------- */
.faq-list {
  max-width: var(--content-w);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}
.faq-item {
  border-bottom: 1px solid var(--line);
  background: transparent;
}
.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding: 1.8rem 0.5rem;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  transition: color var(--dur) var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 1.6rem;
  color: var(--gold);
  min-width: 28px;
  text-align: center;
  transition: transform var(--dur) var(--ease);
}
.faq-item[open] summary { color: var(--gold-deep); }
.faq-item[open] summary::after { content: '−'; }
.faq-answer {
  padding: 0 0.5rem 2rem;
  max-width: 640px;
  font-size: 0.95rem;
  color: var(--stone);
  line-height: 2;
}

/* ---------- 行业洞察 / 文章 ---------- */
.insight-featured {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  margin-bottom: 3.5rem;
  overflow: hidden;
  transition: all var(--dur) var(--ease);
}
.insight-featured:hover { box-shadow: var(--shadow-lift); transform: translateY(-4px); }
.insight-featured-img {
  min-height: 340px;
  background: linear-gradient(135deg, var(--charcoal), var(--charcoal-soft));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.insight-featured-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.insight-featured-body {
  padding: clamp(2rem, 4vw, 3.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 1.2rem;
}
.article-meta .cat { color: var(--gold-deep); }
.article-meta .dot { width: 3px; height: 3px; background: var(--stone-light); border-radius: 50%; }
.insight-featured-body h3 {
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  margin-bottom: 1rem;
  line-height: 1.5;
}
.insight-featured-body p { font-size: 0.92rem; color: var(--stone); line-height: 2; }

.insight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.insight-card {
  display: block;
  background: var(--paper);
  border: 1px solid var(--line);
  color: inherit;
  overflow: hidden;
  transition: all var(--dur) var(--ease);
}
.insight-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); border-color: transparent; }
.insight-card-img {
  height: 180px;
  background: linear-gradient(135deg, var(--cream-deep), var(--gold-soft));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.insight-card-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.insight-card:hover .insight-card-img img { transform: scale(1.06); }
.insight-card-img .glyph {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 300;
  color: rgba(150,116,63,0.35);
}
.insight-card-body { padding: 1.8rem 1.8rem 2rem; }
.insight-card-body h3 {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 0.8rem;
  transition: color var(--dur) var(--ease);
}
.insight-card:hover h3 { color: var(--gold-deep); }
.insight-card-body p { font-size: 0.85rem; color: var(--stone); line-height: 1.9; }

.insight-note {
  margin-top: 3.5rem;
  padding: 2.5rem;
  border: 1px dashed var(--gold-soft);
  text-align: center;
  background: var(--paper);
}
.insight-note p { font-size: 0.9rem; color: var(--stone); margin: 0; }

/* ---------- 联系 ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.contact-card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 2.8rem 2.2rem;
  text-align: center;
  transition: all var(--dur) var(--ease);
}
.contact-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); border-color: transparent; }
.contact-card-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gold-soft);
  font-size: 1.4rem;
  color: var(--gold-deep);
}
.contact-card h3 { font-size: 1.15rem; margin-bottom: 1rem; }
.contact-card p, .contact-card a {
  display: block;
  font-size: 0.88rem;
  color: var(--stone);
  line-height: 2;
}
.contact-card a:hover { color: var(--gold-deep); }
.contact-card .phone {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
}

/* 联系表单 */
.contact-form {
  max-width: 680px;
  margin: 4rem auto 0;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: clamp(2rem, 4vw, 3.5rem);
  box-shadow: var(--shadow-soft);
}
.contact-form h3 {
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: 0.6rem;
}
.contact-form .form-sub {
  text-align: center;
  font-size: 0.88rem;
  color: var(--stone);
  margin-bottom: 2.5rem;
}
.form-group { margin-bottom: 1.5rem; }
.form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 0.6rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.9rem 1.1rem;
  border: 1px solid var(--line);
  background: var(--cream);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--ink);
  transition: all 0.3s var(--ease);
  border-radius: 0;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--paper);
  box-shadow: 0 0 0 3px rgba(176,141,87,0.12);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.form-submit {
  width: 100%;
  padding: 1.1rem;
  background: var(--charcoal);
  color: var(--cream);
  border: 1px solid var(--charcoal);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--dur) var(--ease);
  margin-top: 0.5rem;
}
.form-submit:hover { background: var(--gold); border-color: var(--gold); color: var(--charcoal); }

/* ---------- CTA 区块 ---------- */
.cta-section {
  background: var(--charcoal);
  padding: var(--section-pad) clamp(1.25rem, 4vw, 3rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -50%; left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(176,141,87,0.10) 0%, transparent 60%);
}
.cta-section > * { position: relative; z-index: 1; }
.cta-section .eyebrow { justify-content: center; color: var(--gold-soft); }
.cta-section .eyebrow::before, .cta-section .eyebrow::after { background: var(--gold-soft); }
.cta-section h2 { color: var(--cream); margin-bottom: 1.2rem; }
.cta-section p {
  color: rgba(250,248,244,0.65);
  font-size: 1.02rem;
  max-width: 560px;
  margin: 0 auto 2.8rem;
  line-height: 2;
}
.cta-buttons { display: flex; gap: 1.2rem; justify-content: center; flex-wrap: wrap; }

/* ---------- 正文内容 (服务详情页) ---------- */
.service-content {
  max-width: var(--content-w);
  margin: 0 auto;
  padding: var(--section-pad) clamp(1.25rem, 4vw, 3rem);
}
.service-content h2 { margin-top: 3.5rem; margin-bottom: 1.4rem; font-size: 1.7rem; }
.service-content h2:first-child { margin-top: 0; }
.service-content h3 { margin-top: 2.5rem; margin-bottom: 1rem; font-size: 1.25rem; }
.service-content p {
  font-size: 1rem;
  color: var(--ink-soft);
  line-height: 2.1;
  margin-bottom: 1.4rem;
}
.service-content ul { margin: 0 0 1.8rem 0; }
.service-content ul li {
  position: relative;
  padding-left: 1.8rem;
  margin-bottom: 0.8rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.9;
}
.service-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.85em;
  width: 0.9rem;
  height: 1px;
  background: var(--gold);
}
.service-content blockquote {
  border-left: 2px solid var(--gold);
  padding: 0.5rem 0 0.5rem 2rem;
  margin: 2.5rem 0;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-style: normal;
  color: var(--ink-soft);
  line-height: 2;
}

/* 子页面导航 */
.subpage-nav {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 2.5rem clamp(1.25rem, 4vw, 3rem) 0;
}
.subpage-nav a {
  padding: 0.55rem 1.4rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: var(--stone);
  border: 1px solid var(--line);
  transition: all 0.3s var(--ease);
}
.subpage-nav a:hover,
.subpage-nav a.active {
  color: var(--gold-deep);
  border-color: var(--gold);
  background: var(--paper);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--charcoal);
  color: rgba(250,248,244,0.6);
  padding: clamp(4rem, 7vw, 6rem) clamp(1.25rem, 4vw, 3rem) 2rem;
  border-top: 1px solid rgba(176,141,87,0.25);
}
.footer-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1.2fr;
  gap: 3.5rem;
}
.footer-brand h3 {
  font-family: var(--font-serif);
  color: var(--cream);
  font-size: 1.5rem;
  letter-spacing: 0.1em;
  margin-bottom: 1.2rem;
}
.footer-brand p {
  font-size: 0.85rem;
  line-height: 2;
  color: rgba(250,248,244,0.5);
}
.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 1.4rem;
}
.footer-col a {
  display: block;
  font-size: 0.85rem;
  color: rgba(250,248,244,0.55);
  padding: 0.35rem 0;
  transition: all 0.3s var(--ease);
}
.footer-col a:hover { color: var(--cream); padding-left: 0.4rem; }
.footer-bottom {
  max-width: var(--max-w);
  margin: 4rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(250,248,244,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.2rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: rgba(250,248,244,0.35);
}
.footer-bottom a { color: rgba(250,248,244,0.45); }
.footer-bottom a:hover { color: var(--gold-soft); }
.footer-bottom-links { display: flex; gap: 1.8rem; }

/* ---------- 移动端底部栏 ---------- */
.mobile-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 999;
  background: rgba(250,248,244,0.96);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  padding: 0.5rem 0 calc(0.5rem + env(safe-area-inset-bottom));
}
.mobile-bar-inner {
  display: flex;
  justify-content: space-around;
  align-items: center;
  max-width: 480px;
  margin: 0 auto;
}
.mobile-bar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--stone);
  padding: 0.4rem 1rem;
  transition: color 0.3s var(--ease);
}
.mobile-bar-item .bar-icon { font-size: 1.25rem; line-height: 1; }
.mobile-bar-item:hover, .mobile-bar-item:active { color: var(--gold-deep); }
.mobile-bar-item.primary {
  background: var(--charcoal);
  color: var(--cream);
  padding: 0.55rem 1.6rem;
  border-radius: 2px;
}
.mobile-bar-item.primary:hover { color: var(--gold-soft); }

/* ---------- 微信弹窗 ---------- */
.qr-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(20,19,14,0.7);
  backdrop-filter: blur(6px);
  align-items: center;
  justify-content: center;
}
.qr-modal.active { display: flex; }
.qr-modal-content {
  background: var(--cream);
  border: 1px solid var(--line);
  padding: 3rem;
  text-align: center;
  max-width: 380px;
  width: 90%;
  box-shadow: var(--shadow-lift);
}
.qr-modal-content h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.qr-modal-content .qr-placeholder {
  width: 200px;
  height: 200px;
  margin: 1.5rem auto;
  background: var(--paper);
  border: 1px dashed var(--gold-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--stone);
  font-size: 0.85rem;
}
.qr-modal-content p { font-size: 0.85rem; color: var(--stone); line-height: 1.9; }
.qr-close {
  margin-top: 1.5rem;
  padding: 0.7rem 2.4rem;
  background: transparent;
  border: 1px solid var(--ink);
  color: var(--ink);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  cursor: pointer;
  transition: all 0.3s var(--ease);
}
.qr-close:hover { background: var(--ink); color: var(--cream); }

/* ---------- 滚动动画 ---------- */
.fade-in, .fade-in-left, .fade-in-right {
  opacity: 0;
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.fade-in { transform: translateY(36px); }
.fade-in-left { transform: translateX(-44px); }
.fade-in-right { transform: translateX(44px); }
.fade-in.visible, .fade-in-left.visible, .fade-in-right.visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .card-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .insight-grid { grid-template-columns: repeat(2, 1fr); }
  .founder-grid { grid-template-columns: 1fr; max-width: 640px; }
  .founder-photo { max-width: 400px; }
  .founder-photo::after { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .content-block { grid-template-columns: 1fr; gap: 3rem; }
  .content-block.reverse .content-text { order: 1; }
  .content-block.reverse .content-visual { order: 2; }
  .content-visual::after { display: none; }
  .insight-featured { grid-template-columns: 1fr; }
  .insight-featured-img { min-height: 240px; }
}

@media (max-width: 900px) {
  .hamburger { display: flex; }
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: min(320px, 85vw);
    height: 100vh;
    background: var(--cream);
    flex-direction: column;
    align-items: stretch;
    padding: 6rem 2rem 2rem;
    gap: 0.2rem;
    box-shadow: var(--shadow-lift);
    transition: right 0.5s var(--ease);
    overflow-y: auto;
  }
  .nav-links.open { right: 0; }
  .nav-links > a, .nav-dropdown > a {
    padding: 0.9rem 0.5rem;
    font-size: 0.95rem;
    border-bottom: 1px solid var(--line);
  }
  .nav-links > a::after, .nav-dropdown > a::after { display: none; }
  .nav-cta { margin: 1.2rem 0 0; text-align: center; border-bottom: none !important; }
  .dropdown-menu {
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 0 0 0 1rem;
    opacity: 1;
    visibility: visible;
    display: none;
  }
  .nav-dropdown.open .dropdown-menu { display: block; }
  .dropdown-menu a { border-bottom: none; padding: 0.6rem 0.5rem; }

  .stats-bar { grid-template-columns: repeat(2, 1fr); margin: -3rem 1.25rem 0; }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(1), .stat-item:nth-child(2) { border-bottom: 1px solid var(--line); }
  .contact-grid { grid-template-columns: 1fr; }
  .card-grid-3, .card-grid-2 { grid-template-columns: 1fr; }
  .insight-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .mobile-bar { display: block; }
  body { padding-bottom: 76px; }
  .founder-timeline { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .stats-bar { grid-template-columns: 1fr; }
  .stat-item { border-right: none !important; border-bottom: 1px solid var(--line); }
  .stat-item:last-child { border-bottom: none; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons a { text-align: center; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .cta-buttons a { width: 100%; max-width: 300px; text-align: center; }
}

/* ---------- 打印 ---------- */
@media print {
  .navbar, .mobile-bar, .qr-modal { display: none !important; }
  .hero { min-height: auto; padding: 3rem 2rem; }
  body { color: #000; background: #fff; }
}

/* ---------- 减少动效偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .fade-in, .fade-in-left, .fade-in-right { opacity: 1; transform: none; }
}


/* ===== Consultation Modal ===== */
.consult-modal {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 9999;
    justify-content: center;
    align-items: center;
}
.consult-modal.active {
    display: flex;
}
.consult-modal-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.6);
}
.consult-modal-content {
    background: #fff;
    border-radius: 12px;
    padding: 40px 36px;
    max-width: 480px;
    width: 90%;
    position: relative;
    z-index: 1;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: modalSlideIn 0.3s ease;
}
@keyframes modalSlideIn {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}
.consult-modal-close {
    position: absolute;
    top: 12px; right: 16px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #999;
    line-height: 1;
}
.consult-modal-close:hover {
    color: #333;
}
.consult-modal-content h3 {
    font-size: 22px;
    margin-bottom: 6px;
    color: #2c2c2c;
    font-family: 'Noto Serif SC', serif;
}
.consult-modal-subtitle {
    font-size: 14px;
    color: #888;
    margin-bottom: 24px;
}
.consult-field {
    margin-bottom: 16px;
}
.consult-field label {
    display: block;
    font-size: 14px;
    color: #555;
    margin-bottom: 6px;
}
.consult-field input,
.consult-field select,
.consult-field textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    font-family: inherit;
    box-sizing: border-box;
    transition: border-color 0.2s;
}
.consult-field input:focus,
.consult-field select:focus,
.consult-field textarea:focus {
    outline: none;
    border-color: #b8860b;
}
.consult-field textarea {
    height: 80px;
    resize: vertical;
}
.consult-submit-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #b8860b, #d4a843);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s;
    margin-top: 8px;
}
.consult-submit-btn:hover {
    opacity: 0.9;
}
.consult-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
.consult-form-msg {
    text-align: center;
    margin-top: 12px;
    font-size: 14px;
    padding: 8px;
    border-radius: 6px;
}
.consult-form-msg.success {
    color: #2e7d32;
    background: #e8f5e9;
}
.consult-form-msg.error {
    color: #c62828;
    background: #ffebee;
}

/* ---------- 右侧悬浮客服小助手 ---------- */
.chat-widget {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 2001;
  font-family: var(--font-sans);
}

/* 悬浮按钮 */
.chat-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.4rem;
  background: var(--charcoal);
  color: var(--cream);
  border: 1px solid var(--gold);
  border-radius: 50px;
  box-shadow: 0 8px 28px rgba(28,27,22,0.22);
  cursor: pointer;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  transition: all 0.35s var(--ease);
}
.chat-toggle:hover {
  background: var(--gold);
  color: var(--charcoal);
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(176,141,87,0.28);
}
.chat-toggle-icon { font-size: 1.15rem; line-height: 1; }
.chat-toggle-text { font-weight: 500; }

/* 聊天窗口 */
.chat-window {
  position: absolute;
  right: 0;
  bottom: calc(100% + 0.8rem);
  width: min(380px, 92vw);
  max-height: min(620px, 80vh);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 18px 60px rgba(28,27,22,0.18);
  display: none;
  flex-direction: column;
  overflow: hidden;
  transform-origin: bottom right;
  animation: chatOpen 0.35s var(--ease) forwards;
}
.chat-window.active { display: flex; }
@keyframes chatOpen {
  from { opacity: 0; transform: scale(0.92) translateY(12px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

/* 头部 */
.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.2rem;
  background: var(--charcoal);
  color: var(--cream);
}
.chat-agent { display: flex; align-items: center; gap: 0.9rem; }
.chat-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--charcoal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.05rem;
}
.chat-agent-name { font-size: 0.98rem; font-weight: 500; letter-spacing: 0.05em; }
.chat-agent-status { font-size: 0.72rem; color: rgba(250,248,244,0.55); margin-top: 0.15rem; }
.chat-close {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid rgba(250,248,244,0.15);
  color: rgba(250,248,244,0.7);
  border-radius: 50%;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  transition: all 0.25s var(--ease);
}
.chat-close:hover { background: rgba(250,248,244,0.1); color: var(--cream); transform: rotate(90deg); }

/* 消息区 */
.chat-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.2rem;
  background: #f8f7f4;
}
.chat-message { margin-bottom: 1rem; }
.chat-message-agent { display: flex; }
.chat-bubble {
  max-width: 92%;
  padding: 1rem 1.2rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px 16px 16px 16px;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.85;
  box-shadow: 0 2px 10px rgba(28,27,22,0.04);
}
.chat-bubble p { margin-bottom: 0.7rem; color: var(--ink-soft); }
.chat-bubble p:last-child { margin-bottom: 0; }
.chat-bubble ul { margin: 0.6rem 0 0.6rem 1.2rem; }
.chat-bubble li {
  position: relative;
  padding-left: 0.9rem;
  margin-bottom: 0.35rem;
  list-style: none;
}
.chat-bubble li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}
.chat-message-user {
  display: flex;
  justify-content: flex-end;
}
.chat-message-user .chat-bubble {
  background: var(--charcoal);
  color: var(--cream);
  border-radius: 16px 4px 16px 16px;
  border-color: var(--charcoal);
}
.chat-message-user .chat-bubble p { color: var(--cream); }

/* 快捷按钮 */
.chat-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.8rem;
}
.chat-quick-btn {
  padding: 0.5rem 0.9rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 50px;
  color: var(--ink-soft);
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: all 0.25s var(--ease);
}
.chat-quick-btn:hover {
  border-color: var(--gold);
  color: var(--gold-deep);
  background: var(--cream);
}
.chat-quick-btn-primary {
  border-color: var(--gold);
  color: var(--gold-deep);
  font-weight: 500;
}
.chat-quick-btn-primary:hover {
  background: var(--gold);
  color: var(--charcoal);
}

/* 底部输入 */
.chat-footer {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1rem;
  background: var(--paper);
  border-top: 1px solid var(--line);
}
.chat-input {
  flex: 1;
  padding: 0.7rem 1rem;
  border: 1px solid var(--line);
  border-radius: 50px;
  background: var(--cream);
  font-family: inherit;
  font-size: 0.85rem;
  color: var(--ink);
  outline: none;
  transition: all 0.25s var(--ease);
}
.chat-input:focus {
  border-color: var(--gold);
  background: var(--paper);
  box-shadow: 0 0 0 3px rgba(176,141,87,0.1);
}
.chat-send {
  padding: 0.7rem 1.2rem;
  background: var(--charcoal);
  color: var(--cream);
  border: 1px solid var(--charcoal);
  border-radius: 50px;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  white-space: nowrap;
}
.chat-send:hover { background: var(--gold); border-color: var(--gold); color: var(--charcoal); }

/* 移动端适配 */
@media (max-width: 480px) {
  .chat-widget { right: 1rem; bottom: calc(1rem + 76px); }
  .chat-toggle { padding: 0.75rem 1.1rem; }
  .chat-window {
    width: calc(100vw - 2rem);
    max-height: calc(100vh - 180px);
    right: -0.5rem;
    bottom: calc(100% + 0.6rem);
  }
}

/* ---------- 品牌页创始人浅色背景 ---------- */
.founder-section-light {
  background: var(--paper);
  color: var(--ink);
}
.founder-section-light::before {
  display: none;
}
.founder-section-light .founder-info h2,
.founder-section-light .founder-info p,
.founder-section-light .timeline-year,
.founder-section-light .timeline-item,
.founder-section-light .timeline-text {
  color: var(--ink) !important;
}
.founder-section-light .founder-info .section-tag {
  color: var(--gold) !important;
}
.founder-section-light .founder-timeline {
  border-top-color: rgba(0,0,0,0.1);
}
.founder-section-light .timeline-text {
  border-left-color: rgba(0,0,0,0.15) !important;
}

/* FIX: ensure article content is visible even if fade-in JS fails to trigger */
.entry-content.fade-in,
.single-post .fade-in,
.single .fade-in {
  opacity: 1;
  transform: none;
}
