/* ============================================================
   山势传媒官网 · 全站样式
   配色取自品牌 logo：山势红 + 藏青
   ============================================================ */
:root {
  --red: #e8453f;        /* 山势红：强调色，仅用于关键动作与数字 */
  --red-dark: #c93530;   /* 红色按压态 */
  --navy: #1e2a4a;       /* 藏青：标题与页脚 */
  --navy-70: #3a4666;
  --ink: #414b5e;        /* 正文 */
  --ink-2: #6b7488;      /* 次要文字 */
  --line: #e5e8ee;       /* 分隔线 */
  --bg: #ffffff;         /* 页面底 */
  --bg-soft: #f6f7f9;    /* 分区底 */
  --container: 1200px;
  --radius: 8px;
  --font: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3, h4 { color: var(--navy); line-height: 1.35; text-wrap: balance; }

p { text-wrap: pretty; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------------- 顶部导航 ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}

.header-inner {
  display: flex;
  align-items: center;
  height: 72px;
  gap: 32px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand img { height: 44px; width: auto; }

.brand-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 1px;
}

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

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 6px;
}

.main-nav a {
  display: block;
  padding: 8px 14px;
  font-size: 15px;
  color: var(--navy-70);
  border-radius: 6px;
  transition: color .15s ease;
}

.main-nav a:hover { color: var(--red); }

.main-nav a.active {
  color: var(--red);
  font-weight: 600;
}

.header-phone {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  padding: 9px 18px;
  border-radius: 6px;
  transition: background .15s ease;
}

.header-phone:hover { background: var(--red-dark); }

.header-phone svg { width: 16px; height: 16px; fill: currentColor; }

/* 移动端菜单按钮 */
.nav-toggle {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
  padding: 10px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--navy);
  margin: 4px 0;
}

/* ---------------- 通用区块 ---------------- */
.section { padding: 88px 0; }

.section.soft { background: var(--bg-soft); }

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

.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.section-head .kicker {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--red);
  margin-bottom: 10px;
}

.section-head h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 12px;
}

.section-head .sub {
  color: var(--ink-2);
  font-size: 16px;
}

/* ---------------- Hero ---------------- */
.hero {
  padding: 80px 0 88px;
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    #fff;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}

.hero h1 {
  font-size: 44px;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero h1 em {
  font-style: normal;
  color: var(--red);
}

.hero .lead {
  font-size: 18px;
  color: var(--ink-2);
  margin-bottom: 32px;
  max-width: 34em;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-media { position: relative; }

.hero-media img {
  width: 100%;
  border-radius: var(--radius);
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

/* ---------------- 按钮 ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: background .15s ease, border-color .15s ease;
  cursor: pointer;
}

.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); }

.btn-ghost { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-ghost:hover { border-color: var(--red); color: var(--red); }

/* ---------------- 数据条 ---------------- */
.stats-band {
  background: var(--navy);
  color: #fff;
  padding: 44px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stats-grid .num {
  font-size: 34px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.stats-grid .num i { font-style: normal; color: #ff8b87; }

.stats-grid .label { font-size: 14px; color: #aab3c8; margin-top: 4px; }

/* ---------------- 服务卡片（首页，非均质三卡） ---------------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

.service-card {
  grid-column: span 2;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: border-color .15s ease;
}

.service-card:hover { border-color: var(--red); }

.service-card.wide { grid-column: span 3; }

.service-card .icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: #fdeeec;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.service-card .icon svg { width: 24px; height: 24px; fill: var(--red); }

.service-card h3 { font-size: 19px; margin-bottom: 10px; }

.service-card p { font-size: 14.5px; color: var(--ink-2); }

.service-card .more {
  display: inline-block;
  margin-top: 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--red);
}

/* ---------------- 内容页通用 ---------------- */
.page-hero {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  padding: 72px 0;
}

.page-hero h1 { font-size: 38px; margin-bottom: 14px; }

.page-hero .desc { max-width: 46em; color: var(--ink-2); font-size: 17px; }

.breadcrumb {
  font-size: 13px;
  color: var(--ink-2);
  margin-bottom: 18px;
}

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

/* 图文分栏 */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.split + .split { margin-top: 72px; }

.split.reverse .split-media { order: 2; }

.split-media img {
  width: 100%;
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.split-body h2 { font-size: 28px; margin-bottom: 16px; }

.split-body .kicker {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--red);
  margin-bottom: 10px;
}

.split-body p { margin-bottom: 14px; color: var(--ink-2); }

.check-list { list-style: none; margin-top: 8px; }

.check-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  color: var(--ink);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 16px;
  height: 16px;
  background: var(--red);
  border-radius: 50%;
}

.check-list li::after {
  content: "";
  position: absolute;
  left: 4.5px;
  top: 13px;
  width: 7px;
  height: 4px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}

/* 流程（横向步骤，真实序列才编号） */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: step;
}

.process-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  position: relative;
}

.process-item::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-size: 15px;
  font-weight: 700;
  color: var(--red);
  font-variant-numeric: tabular-nums;
  display: block;
  margin-bottom: 12px;
}

.process-item h3 { font-size: 17px; margin-bottom: 8px; }

.process-item p { font-size: 14px; color: var(--ink-2); }

/* 平台标签 */
.tag-row { display: flex; flex-wrap: wrap; gap: 10px; }

.tag {
  padding: 8px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  color: var(--navy-70);
  background: #fff;
}

.tag strong { color: var(--navy); font-weight: 600; }

/* ---------------- 案例卡片 ---------------- */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.case-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color .15s ease;
}

.case-card:hover { border-color: var(--red); }

.case-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.case-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }

.case-body .field {
  font-size: 13px;
  color: var(--red);
  font-weight: 600;
  margin-bottom: 8px;
}

.case-body h3 { font-size: 18px; margin-bottom: 10px; }

.case-body p { font-size: 14px; color: var(--ink-2); flex: 1; }

.case-body .result {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  font-size: 14px;
  color: var(--navy);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

/* ---------------- FAQ ---------------- */
.faq-list { max-width: 820px; margin: 0 auto; }

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  margin-bottom: 14px;
  overflow: hidden;
}

.faq-item summary {
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 600;
  color: var(--navy);
  list-style: none;
  position: relative;
  padding-right: 48px;
}

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

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  color: var(--red);
  font-weight: 400;
}

.faq-item[open] summary::after { content: "−"; }

.faq-item .faq-a {
  padding: 0 24px 20px;
  color: var(--ink-2);
  font-size: 15px;
}

/* ---------------- CTA 条 ---------------- */
.cta-band {
  background: var(--navy);
  color: #fff;
  padding: 64px 0;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-inner h2 { color: #fff; font-size: 28px; margin-bottom: 8px; }

.cta-inner p { color: #aab3c8; }

/* ---------------- 页脚 ---------------- */
.site-footer {
  background: #16203a;
  color: #8f99b3;
  padding: 64px 0 0;
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
}

.site-footer h4 {
  color: #fff;
  font-size: 16px;
  margin-bottom: 18px;
  font-weight: 600;
}

.site-footer ul { list-style: none; }

.site-footer li { margin-bottom: 10px; }

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

.footer-brand img {
  height: 46px;
  width: auto;
  background: #fff;
  border-radius: 6px;
  padding: 6px;
  margin-bottom: 16px;
}

.footer-contact strong {
  color: #fff;
  font-size: 20px;
  font-variant-numeric: tabular-nums;
  display: block;
  margin-bottom: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
}

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

/* ---------------- 占位图标注（发布前替换为真实图片） ---------------- */
.img-ph {
  position: relative;
  width: 100%;
  background: #eef1f5;
  border: 1px dashed #c6cdd9;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8a93a6;
  font-size: 14px;
  min-height: 240px;
}

/* ---------------- E2E 全案服务闭环 ---------------- */
.e2e-flow {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}

.e2e-step {
  padding: 26px 20px;
  border-right: 1px solid var(--line);
  position: relative;
}

.e2e-step:last-child { border-right: 0; }

.e2e-step .idx {
  font-size: 13px;
  font-weight: 700;
  color: var(--red);
  font-variant-numeric: tabular-nums;
  display: block;
  margin-bottom: 8px;
}

.e2e-step h3 { font-size: 16px; margin-bottom: 8px; }

.e2e-step p { font-size: 13.5px; color: var(--ink-2); line-height: 1.6; }

.e2e-note {
  margin-top: 20px;
  padding: 18px 22px;
  background: #fff;
  border-left: 3px solid var(--red);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 15px;
  color: var(--ink);
}

/* ---------------- 客户名单墙 ---------------- */
.client-wall {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.client-chip {
  background: #fff;
  padding: 22px 10px;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy-70);
  line-height: 1.4;
}

.client-chip span {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: var(--ink-2);
  margin-top: 4px;
}

.client-note {
  margin-top: 16px;
  font-size: 13.5px;
  color: var(--ink-2);
}

/* ---------------- 数据表格 ---------------- */
.data-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 15px;
}

.data-table caption {
  caption-side: top;
  text-align: left;
  font-size: 13.5px;
  color: var(--ink-2);
  padding-bottom: 12px;
}

.data-table th {
  background: var(--bg-soft);
  color: var(--navy);
  font-weight: 600;
  font-size: 14.5px;
  text-align: left;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.data-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  vertical-align: top;
}

.data-table tr:last-child td { border-bottom: 0; }

.data-table td strong { color: var(--navy); }

.data-table td .num { font-variant-numeric: tabular-nums; color: var(--red); font-weight: 600; }

/* ---------------- 发展历程 ---------------- */
.timeline { position: relative; padding-left: 28px; }

.timeline::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--line);
}

.timeline-item { position: relative; padding-bottom: 28px; }

.timeline-item:last-child { padding-bottom: 0; }

.timeline-item::before {
  content: "";
  position: absolute;
  left: -28px;
  top: 7px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--red);
}

.timeline-item .year {
  font-size: 15px;
  font-weight: 700;
  color: var(--red);
  font-variant-numeric: tabular-nums;
  display: block;
  margin-bottom: 4px;
}

.timeline-item h3 { font-size: 17px; margin-bottom: 6px; }

.timeline-item p { font-size: 14.5px; color: var(--ink-2); }

/* ---------------- 交付物清单 ---------------- */
.deliver-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.deliver-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.deliver-item h3 {
  font-size: 16px;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.deliver-item ul { list-style: none; }

.deliver-item li {
  font-size: 14px;
  color: var(--ink-2);
  padding-left: 14px;
  position: relative;
  margin-bottom: 8px;
  line-height: 1.65;
}

.deliver-item li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red);
}

/* ---------------- 案例详情（挑战/动作/结果） ---------------- */
.case-detail {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.detail-block {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
}

.detail-block .label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--red);
  border: 1px solid #f6d4d1;
  background: #fdeeec;
  border-radius: 4px;
  padding: 3px 10px;
  margin-bottom: 12px;
}

.detail-block p { font-size: 14.5px; color: var(--ink-2); }

.detail-block ul { list-style: none; margin-top: 4px; }

.detail-block li {
  font-size: 14.5px;
  color: var(--ink-2);
  padding-left: 14px;
  position: relative;
  margin-bottom: 8px;
  line-height: 1.65;
}

.detail-block li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red);
}

/* ---------------- 客户评价 ---------------- */
.quote-band {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 72px 0;
}

.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.quote-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
}

.quote-card p {
  font-size: 15px;
  color: var(--ink);
  line-height: 1.8;
  margin-bottom: 18px;
}

.quote-card .who {
  font-size: 14px;
  color: var(--navy);
  font-weight: 600;
}

.quote-card .who span {
  display: block;
  font-weight: 400;
  font-size: 13px;
  color: var(--ink-2);
  margin-top: 2px;
}

/* ---------------- 指标卡 ---------------- */
.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.metric-card {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--red);
  border-radius: var(--radius);
  padding: 24px;
}

.metric-card h3 { font-size: 16px; margin-bottom: 8px; }

.metric-card p { font-size: 14px; color: var(--ink-2); }

.metric-card .unit {
  display: block;
  font-size: 12.5px;
  color: var(--ink-2);
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
}

/* ---------------- 正文段落排版 ---------------- */
.prose-block { max-width: 820px; }

.prose-block h3 { font-size: 20px; margin: 32px 0 12px; }

.prose-block h3:first-child { margin-top: 0; }

.prose-block p { margin-bottom: 14px; color: var(--ink-2); }

.prose-block p strong { color: var(--navy); }

/* ---------------- 响应式 ---------------- */
@media (max-width: 1024px) {
  .e2e-flow { grid-template-columns: repeat(3, 1fr); }
  .e2e-step:nth-child(3n) { border-right: 0; }
  .e2e-step:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
  .client-wall { grid-template-columns: repeat(4, 1fr); }
  .metric-grid { grid-template-columns: repeat(2, 1fr); }
  .deliver-grid, .case-detail, .quote-grid { grid-template-columns: 1fr; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero h1 { font-size: 36px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card, .service-card.wide { grid-column: span 1; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .case-grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split.reverse .split-media { order: 0; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 12px 24px 20px;
    box-shadow: 0 12px 24px rgba(30, 42, 74, .08);
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 2px; }
  .main-nav a { padding: 12px 8px; font-size: 16px; }
  .nav-toggle { display: block; }
  .header-phone { display: none; }
  .section { padding: 60px 0; }
  .hero { padding: 48px 0 60px; }
  .hero h1 { font-size: 30px; }
  .page-hero { padding: 48px 0; }
  .page-hero h1 { font-size: 30px; }
  .section-head h2 { font-size: 26px; }
  .case-grid, .process-grid, .service-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .e2e-flow { grid-template-columns: 1fr; }
  .e2e-step { border-right: 0; border-bottom: 1px solid var(--line); }
  .e2e-step:last-child { border-bottom: 0; }
  .client-wall { grid-template-columns: repeat(2, 1fr); }
  .metric-grid { grid-template-columns: 1fr; }
  .data-table { font-size: 14px; }
  .data-table th, .data-table td { padding: 12px 14px; }
  .data-table th { white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
