/* ============================================================
   山西泠熹会展有限责任公司 — 官网样式
   视觉体系：宣纸米白 + 墨黑 + 朱砂红 + 鎏金（晋商元素）
   ============================================================ */
:root {
  --paper: #F7F3EA;        /* 宣纸主底 */
  --paper-deep: #F2ECDF;   /* 关于板块底 */
  --ink: #23201B;          /* 墨黑 */
  --ink-soft: #6F6864;     /* 正文灰褐 */
  --red: #9E3B2B;          /* 朱砂红 */
  --red-deep: #8A3325;
  --gold: #B4905A;         /* 鎏金 */
  --gold-soft: #C7A96B;    /* 淡金 */
  --gold-dim: #96794C;     /* 眉标金 */
  --cream: #EFE8D8;        /* 深底上的米字 */
  --cream-dim: #A69D8C;    /* 深底上的灰字 */
  --card: #FDFCF8;         /* 卡片白 */
  --card-line: #E4DBC8;    /* 卡片描边 */
  --dark: #26221C;         /* 深色板块底 */
  --dark-card: #2F2A22;    /* 深色卡底 */
  --dark-line: #423B2F;    /* 深色卡描边 */
  --footer-bg: #211E19;    /* 页脚底 */
  --footer-line: #3E382E;
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun", serif;
  --sans: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --kai: "Ma Shan Zheng", "KaiTi", "STKaiti", serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

/* ---------- 通用 ---------- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  padding: 16px 40px;
  border-radius: 2px;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.btn-red { background: var(--red); color: #FBF6EE; }
.btn-red:hover { background: var(--red-deep); }
.btn-gold { border: 1px solid var(--gold); color: var(--ink); }
.btn-gold:hover { background: rgba(180, 144, 90, .12); }

.eyebrow {
  font-size: 13px;
  font-weight: 500;
  color: var(--gold-dim);
  letter-spacing: .5px;
}
.eyebrow-gold { color: var(--gold-soft); }

.section { padding: 96px 120px; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
}
.head-group { display: flex; flex-direction: column; gap: 12px; }
.section-title { font-family: var(--serif); font-size: 40px; font-weight: 700; color: var(--ink); }
.head-note { font-size: 16px; color: var(--ink-soft); }
.t-cream { color: var(--cream); }
.note-dim { color: var(--cream-dim); }
.t-ink { color: var(--ink); }
.t-red { color: var(--red); }

/* ---------- 印章 ---------- */
.brand-seal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  background: var(--red);
  border-radius: 2px;
  font-family: var(--kai);
  font-size: 20px;
  color: #F7F0E3;
  line-height: 1;
  flex: none;
}
.seal-sm { width: 48px; height: 48px; font-size: 18px; }

/* ---------- 顶部导航 ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid rgba(35, 32, 27, .06);
}
.nav-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 18px 120px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-name { display: flex; flex-direction: column; gap: 3px; }
.brand-name strong { font-family: var(--serif); font-size: 18px; font-weight: 600; color: var(--ink); }
.brand-name small { font-size: 11px; color: #9A9284; letter-spacing: .5px; }
.menu { display: flex; gap: 36px; }
.menu a { font-size: 15px; color: #4A443B; transition: color .2s ease; }
.menu a:hover, .menu a.active { color: var(--red); }
.nav-cta { padding: 12px 28px; }

/* ---------- 首屏 Hero ---------- */
.hero {
  background: linear-gradient(135deg, #F7F2EB 0%, #EDE3CF 100%);
  padding: 80px 120px 72px;
}
.hero-main {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 64px;
  align-items: flex-start;
}
.hero-copy { flex: 1; display: flex; flex-direction: column; gap: 26px; }
.hero-title {
  font-family: var(--serif);
  font-size: 72px;
  line-height: 88px;
  font-weight: 700;
}
.hero-sub { font-size: 17px; line-height: 32px; color: var(--ink-soft); max-width: 560px; }
.hero-actions { display: flex; gap: 16px; }

.hero-visual { width: 440px; flex: none; display: flex; flex-direction: column; gap: 12px; }
.visual-frame {
  border: 1px solid var(--gold);
  border-radius: 2px;
  padding: 10px;
}
.visual-img { width: 100%; height: 380px; object-fit: cover; border-radius: 2px; }
.visual-caption { display: flex; align-items: center; gap: 12px; }
.caption-text { display: flex; flex-direction: column; gap: 3px; }
.caption-text strong { font-family: var(--serif); font-size: 16px; font-weight: 500; color: var(--ink); }
.caption-text small { font-size: 12px; color: #9A9284; }

/* ---------- 关于我们 ---------- */
.section-about { background: var(--paper-deep); }
.rule-gold { border: none; height: 1px; background: #D8C49A; margin-bottom: 48px; }
.about-body { display: flex; gap: 64px; }
.about-copy { flex: 1; display: flex; flex-direction: column; gap: 18px; }
.about-copy p { font-size: 16px; line-height: 30px; color: var(--ink-soft); }
.quote-row { display: flex; align-items: center; gap: 14px; margin-top: 8px; }
.quote-bar { width: 4px; height: 40px; background: var(--red); flex: none; }
.quote-text { font-family: var(--serif); font-size: 24px; font-weight: 600; color: var(--red); }
.stats {
  width: 496px;
  flex: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.stat-card {
  background: var(--card);
  border: 1px solid var(--card-line);
  border-radius: 2px;
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.stat-card strong { font-family: var(--serif); font-size: 38px; font-weight: 700; color: var(--red); }
.stat-card span { font-size: 14px; color: var(--ink-soft); }

/* ---------- 六大核心业务 ---------- */
.section-services { background: var(--dark); }
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.service-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-line);
  border-radius: 2px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform .2s ease, border-color .2s ease;
}
.service-card:hover { transform: translateY(-4px); border-color: var(--gold); }
.card-head { display: flex; align-items: center; gap: 12px; }
.icon { width: 26px; height: 26px; fill: none; stroke: var(--gold-soft); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.card-no { font-family: var(--serif); font-size: 18px; font-weight: 700; color: var(--gold-soft); }
.service-card h3 { font-family: var(--serif); font-size: 20px; font-weight: 600; color: var(--cream); }
.service-card p { font-size: 14px; line-height: 26px; color: var(--cream-dim); }

.service-card.card-red { background: var(--red); border-color: var(--red); }
.card-red .icon { stroke: #F3D9C8; }
.card-red .card-no { color: #F3D9C8; }
.card-red h3 { color: #FBF3E6; }
.card-red p { color: #F2DDD2; }

/* ---------- 服务流程 ---------- */
.section-process { background: var(--paper); }
.process-row { display: flex; align-items: stretch; gap: 12px; }
.step-card {
  flex: 1;
  background: var(--card);
  border: 1px solid var(--card-line);
  border-radius: 2px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.step-head { display: flex; align-items: center; gap: 10px; }
.step-no { font-family: var(--serif); font-size: 30px; font-weight: 700; color: var(--gold); }
.step-head h3 { font-family: var(--serif); font-size: 19px; font-weight: 600; color: var(--ink); }
.step-card p { font-size: 14px; line-height: 24px; color: var(--ink-soft); }
.arrow { width: 20px; height: 20px; flex: none; align-self: center; fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- 可承接案例 ---------- */
.section-cases { background: var(--paper); padding-top: 0; }
.cases-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.cases-title { font-family: var(--serif); font-size: 28px; font-weight: 700; color: var(--ink); }
.cases-link { font-size: 15px; font-weight: 500; color: var(--gold-dim); transition: color .2s ease; }
.cases-link:hover { color: var(--red); }
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.case-card {
  background: var(--card);
  border: 1px solid var(--card-line);
  border-radius: 2px;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.case-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(35, 32, 27, .12); }
.case-card img { width: 100%; aspect-ratio: 389 / 486; object-fit: cover; }
.case-text { padding: 20px 24px 24px; display: flex; flex-direction: column; gap: 8px; }
.case-tag { font-size: 12px; font-weight: 500; color: var(--red); }
.case-text h3 { font-family: var(--serif); font-size: 18px; font-weight: 600; color: var(--ink); }
.case-text p { font-size: 13px; line-height: 22px; color: var(--ink-soft); }

/* ---------- 页脚 ---------- */
.footer { background: var(--footer-bg); color: var(--cream); }
.footer-inner, .cta-row, .footer-main, .footer-bottom {
  max-width: 1440px;
  margin: 0 auto;
}
.cta-row {
  padding: 64px 120px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}
.cta-copy { display: flex; flex-direction: column; gap: 12px; }
.cta-copy h2 { font-family: var(--serif); font-size: 32px; font-weight: 700; color: var(--cream); }
.cta-copy p { font-size: 15px; color: var(--cream-dim); }
.cta-action { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.cta-phone { font-family: var(--serif); font-size: 26px; font-weight: 700; color: #D9C69C; }
.cta-phone:hover { color: #E8DAB8; }

.footer-divider { height: 1px; background: var(--footer-line); max-width: 1440px; margin: 0 auto; }
.footer-main {
  position: relative;
  padding: 56px 120px;
  display: flex;
  gap: 80px;
}
.footer-ink {
  position: absolute;
  top: 56px;
  right: 120px;
  font-family: var(--kai);
  font-size: 60px;
  line-height: 72px;
  color: #332C23;
  text-align: center;
  pointer-events: none;
  user-select: none;
}
.footer-col { display: flex; flex-direction: column; gap: 14px; }
.footer-brand { width: 340px; }
.footer-id { display: flex; align-items: center; gap: 12px; }
.footer-name { display: flex; flex-direction: column; gap: 3px; }
.footer-name strong { font-family: var(--serif); font-size: 18px; font-weight: 600; color: var(--cream); }
.footer-name small { font-size: 11px; color: #9A9284; letter-spacing: .5px; }
.footer-slogan { font-size: 14px; color: var(--gold-soft); }
.footer-addr { font-size: 13px; line-height: 22px; color: #8A8172; }
.footer-col h4 { font-family: var(--serif); font-size: 15px; font-weight: 600; color: var(--cream); margin-bottom: 2px; }
.footer-col a, .footer-col span { font-size: 13px; color: var(--cream-dim); transition: color .2s ease; }
.footer-col a:hover { color: var(--gold-soft); }

.footer-bottom {
  padding: 24px 120px 36px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.footer-bottom span, .footer-bottom a { font-size: 13px; color: #7A7264; }
.footer-bottom a:hover { color: var(--gold-soft); }

/* ---------- 响应式 ---------- */
@media (max-width: 1240px) {
  .footer-ink { display: none; }
  .nav-inner, .cta-row, .footer-main, .footer-bottom { padding-left: 48px; padding-right: 48px; }
  .section { padding: 80px 48px; }
  .hero { padding: 64px 48px; }
}
@media (max-width: 1024px) {
  .menu { display: none; }
  .hero-main { flex-direction: column; }
  .hero-visual { width: 100%; max-width: 520px; }
  .hero-title { font-size: 56px; line-height: 72px; }
  .service-grid, .case-grid { grid-template-columns: repeat(2, 1fr); }
  .about-body { flex-direction: column; }
  .stats { width: 100%; }
  .process-row { flex-wrap: wrap; }
  .step-card { flex: 1 1 40%; }
  .arrow { display: none; }
  .footer-main { flex-wrap: wrap; gap: 40px; }
  .footer-brand { width: 100%; }
}
@media (max-width: 640px) {
  .nav-inner, .cta-row, .footer-main, .footer-bottom { padding-left: 24px; padding-right: 24px; }
  .section { padding: 64px 24px; }
  .hero { padding: 48px 24px; }
  .hero-title { font-size: 40px; line-height: 56px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .service-grid, .case-grid, .stats { grid-template-columns: 1fr; }
  .step-card { flex: 1 1 100%; }
  .cta-row { flex-direction: column; align-items: flex-start; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}
