/* ============================================================
   esecond · 六个业务页 Banner 系统
   共享：结构、排版、按钮、响应式；差异：各业务右侧可视化。
   ============================================================ */

.service-template-page {
  --hero-ink: #0a0f1e;
  --hero-panel: rgba(16, 25, 44, .88);
  --hero-panel-soft: rgba(255, 255, 255, .035);
  --hero-text: #eef2f8;
  --hero-muted: #a9b4c7;
  --hero-gold: #e3b52e;
  --hero-gold-light: #f2cd52;
  --hero-blue: #3b82f6;
  --hero-cyan: #22d3ee;
  --hero-border: rgba(255, 255, 255, .11);
}

.service-hero {
  position: relative;
  width: 100%;
  min-height: 550px;
  margin: 0;
  padding: 66px 24px;
  overflow: hidden;
  background:
    radial-gradient(circle at 62% 4%, rgba(35, 75, 142, .32), transparent 35%),
    var(--hero-ink);
  color: var(--hero-text);
}

.service-hero::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59, 130, 246, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, .035) 1px, transparent 1px);
  background-size: 48px 48px;
  content: "";
  mask-image: radial-gradient(ellipse 80% 80% at 62% 20%, #000 15%, transparent 78%);
  pointer-events: none;
}

.service-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(1200px, 100%);
  min-height: 418px;
  margin: 0 auto;
  grid-template-columns: minmax(0, .92fr) minmax(460px, 1.08fr);
  gap: clamp(48px, 7vw, 92px);
  align-items: center;
}

.service-hero-copy h1 {
  max-width: 660px;
  margin: 0 0 24px;
  color: var(--hero-text);
}

/* 六页 Banner 的文字标尺以此为唯一来源。 */
.service-page--geo .geo-reference > .hero h1,
.service-hero-copy h1 {
  font-size: clamp(38px, 4.5vw, 58px);
  font-weight: 820;
  line-height: 1.15;
  letter-spacing: -.03em;
}

.service-hero-copy h1 span {
  color: var(--hero-gold-light);
}

.service-hero--seo .service-hero-copy h1 span {
  color: var(--hero-cyan);
}

.service-hero-copy > p {
  margin: 0;
}

.service-page--geo .geo-reference > .hero p,
.service-hero-copy > p {
  max-width: 620px;
  color: var(--hero-muted);
  font-size: clamp(16px, 1.35vw, 18px);
  line-height: 1.85;
}

.service-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.service-hero-btn {
  display: inline-flex;
  min-width: 154px;
  height: 48px;
  padding: 0 22px;
  border: 1px solid rgba(227, 181, 46, .72);
  border-radius: var(--radius-box, 6px);
  align-items: center;
  justify-content: center;
  gap: 20px;
  font-size: var(--type-button, 15px);
  font-weight: 650;
  line-height: 1;
  text-decoration: none;
  transition: background-color .22s ease, border-color .22s ease, color .22s ease;
}

.service-hero-btn--primary {
  background: var(--hero-gold);
  color: #151004;
  box-shadow: none;
}

.service-hero-btn--primary:hover,
.service-hero-btn--primary:focus-visible {
  border-color: var(--hero-gold-light);
  background: var(--hero-gold-light);
  color: #151004;
}

.service-hero-btn--ghost {
  background: transparent;
  color: var(--hero-gold-light);
}

.service-hero-btn--ghost:hover,
.service-hero-btn--ghost:focus-visible {
  border-color: var(--hero-gold);
  background: var(--hero-gold);
  color: #151004;
}

.service-hero-btn:focus-visible {
  outline: 3px solid rgba(242, 205, 82, .42);
  outline-offset: 3px;
}

.service-hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin: 26px 0 0;
  padding: 0;
  color: #d0d8e6;
  list-style: none;
  font-size: 14px;
}

.service-hero-points li {
  position: relative;
  padding-left: 15px;
}

.service-hero-points li::before {
  position: absolute;
  top: .62em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--hero-gold);
  content: "";
}

.service-hero-visual {
  position: relative;
  width: 100%;
  max-width: 560px;
  min-height: 410px;
  border: 1px solid var(--hero-border);
  border-radius: 16px;
  background: var(--hero-panel);
  box-shadow: 0 28px 70px rgba(0, 0, 0, .28);
}

/* SEO：自然搜索结果与可见度 */
.service-hero-visual--seo {
  display: grid;
  padding: 26px;
  align-content: start;
  gap: 12px;
}

.seo-search-bar {
  display: flex;
  height: 48px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 24px;
  align-items: center;
  gap: 13px;
  background: rgba(255, 255, 255, .04);
  color: #d8e1ef;
  font-size: 14px;
}

.seo-search-bar span {
  width: 15px;
  height: 15px;
  border: 2px solid var(--hero-cyan);
  border-radius: 50%;
  box-shadow: 6px 6px 0 -5px var(--hero-cyan);
}

.seo-serp-card {
  display: grid;
  min-height: 72px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 10px;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  background: rgba(255, 255, 255, .025);
}

.seo-serp-card--featured {
  border-color: rgba(34, 211, 238, .52);
  background: rgba(34, 211, 238, .07);
}

.seo-serp-card i {
  display: flex;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(34, 211, 238, .45);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  color: var(--hero-cyan);
  font-size: 11px;
  font-style: normal;
}

.seo-serp-card strong,
.seo-serp-card span { display: block; }
.seo-serp-card strong { margin: 1px 0 5px; color: #eef3fb; font-size: 15px; }
.seo-serp-card span { color: #8f9cb2; font-size: 12px; line-height: 1.55; }

.seo-trend {
  display: flex;
  min-height: 62px;
  padding: 7px 14px 4px;
  align-items: center;
  justify-content: space-between;
  color: #aab6c9;
  font-size: 12px;
}
.seo-trend svg { width: 54%; height: 48px; overflow: visible; }
.seo-trend path { fill: none; stroke: var(--hero-cyan); stroke-width: 2.5; stroke-linecap: round; }

/* 数字营销：多渠道触点到转化路径 */
.service-hero-visual--digital {
  padding: 42px 34px 30px;
  background:
    radial-gradient(circle at 50% 54%, rgba(59, 130, 246, .2), transparent 34%),
    var(--hero-panel);
}
.digital-channel-row,
.digital-conversion { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.digital-channel-row span {
  padding: 11px 4px;
  border: 1px solid rgba(59, 130, 246, .38);
  border-radius: 8px;
  background: rgba(59, 130, 246, .08);
  color: #bcd5ff;
  font-size: 12px;
  text-align: center;
}
.digital-flow { display: flex; height: 55px; align-items: center; justify-content: center; gap: 54px; }
.digital-flow i { width: 1px; height: 45px; background: linear-gradient(var(--hero-blue), transparent); transform: rotate(-20deg); }
.digital-flow i:nth-child(2) { transform: none; }
.digital-flow i:nth-child(3) { transform: rotate(20deg); }
.digital-center {
  width: min(280px, 86%);
  margin: 0 auto;
  padding: 24px;
  border: 1px solid rgba(34, 211, 238, .42);
  border-radius: 14px;
  background: rgba(7, 33, 56, .82);
  text-align: center;
}
.digital-center b,
.digital-center small { display: block; }
.digital-center b { color: var(--hero-cyan); font-size: 22px; }
.digital-center small { margin-top: 7px; color: var(--hero-muted); }
.digital-conversion { grid-template-columns: repeat(3, 1fr); margin-top: 26px; }
.digital-conversion span { position: relative; color: #cbd7e8; font-size: 12px; text-align: center; }
.digital-conversion span:not(:last-child)::after { position: absolute; right: -9px; color: var(--hero-gold); content: "→"; }
.digital-metric { display: flex; margin-top: 30px; padding: 12px 16px; border-top: 1px solid var(--hero-border); align-items: baseline; gap: 12px; }
.digital-metric strong { color: var(--hero-gold-light); font-size: 28px; }
.digital-metric span { color: var(--hero-muted); font-size: 13px; }

/* 口碑营销：真实评价到信任沉淀 */
.service-hero-visual--reputation { padding: 28px; background: linear-gradient(150deg, rgba(51, 38, 18, .35), transparent 52%), var(--hero-panel); }
.reputation-score { padding: 18px 20px; border-bottom: 1px solid var(--hero-border); }
.reputation-score strong { color: var(--hero-gold-light); font-size: 42px; line-height: 1; }
.reputation-score span { margin-left: 10px; color: #dce3ef; font-size: 14px; }
.reputation-score i { display: block; margin-top: 9px; color: var(--hero-gold); font-size: 13px; font-style: normal; letter-spacing: 5px; }
.reputation-review { width: 82%; margin-top: 18px; padding: 16px 18px; border: 1px solid var(--hero-border); border-radius: 12px; background: var(--hero-panel-soft); }
.reputation-review--two { margin-left: auto; }
.reputation-review b,
.reputation-review span { display: block; }
.reputation-review b { color: #edf2fa; font-size: 14px; }
.reputation-review span { margin-top: 6px; color: var(--hero-muted); font-size: 12px; line-height: 1.55; }
.reputation-trust { display: flex; margin-top: 28px; align-items: center; justify-content: center; gap: 11px; color: #aeb8c9; font-size: 11px; }
.reputation-trust span { display: flex; width: 42px; height: 42px; border: 1px solid rgba(227, 181, 46, .35); border-radius: 50%; align-items: center; justify-content: center; }
.reputation-trust strong { display: flex; width: 54px; height: 54px; border-radius: 50%; align-items: center; justify-content: center; background: var(--hero-gold); color: #171208; }

/* 数据分析：指标、趋势与数据源 */
.service-hero-visual--data { padding: 28px; }
.data-heading { display: flex; align-items: center; justify-content: space-between; color: #e6edf7; font-size: 14px; }
.data-heading b { padding: 5px 9px; border-radius: 5px; background: rgba(34, 211, 238, .1); color: var(--hero-cyan); font-size: 11px; }
.data-kpis { display: grid; margin: 24px 0; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.data-kpis span { padding: 14px 10px; border: 1px solid var(--hero-border); border-radius: 9px; background: var(--hero-panel-soft); }
.data-kpis b,
.data-kpis small { display: block; }
.data-kpis b { color: var(--hero-gold-light); font-size: 22px; }
.data-kpis small { margin-top: 5px; color: var(--hero-muted); font-size: 10px; }
.data-chart { position: relative; height: 166px; padding: 22px 12px 0; border: 1px solid var(--hero-border); border-radius: 12px; overflow: hidden; background: linear-gradient(rgba(59, 130, 246, .035) 1px, transparent 1px); background-size: 100% 32px; }
.data-chart i { position: absolute; bottom: 0; width: 8%; border-radius: 3px 3px 0 0; background: rgba(59, 130, 246, .2); }
.data-chart i:nth-child(1) { left: 8%; height: 36%; }.data-chart i:nth-child(2) { left: 23%; height: 49%; }.data-chart i:nth-child(3) { left: 38%; height: 44%; }.data-chart i:nth-child(4) { left: 53%; height: 65%; }.data-chart i:nth-child(5) { left: 68%; height: 60%; }.data-chart i:nth-child(6) { left: 83%; height: 82%; }
.data-chart svg { position: relative; z-index: 1; width: 100%; height: 100%; }
.data-chart path { fill: none; stroke: var(--hero-cyan); stroke-width: 3; stroke-linecap: round; }
.data-sources { display: flex; margin-top: 20px; justify-content: space-between; color: #aab6c8; font-size: 11px; }
.data-sources span::before { display: inline-block; width: 5px; height: 5px; margin-right: 6px; border-radius: 50%; background: var(--hero-blue); content: ""; }

/* 内容营销：选题、创作、审核与分发 */
.service-hero-visual--content { display: grid; padding: 54px 28px 32px; grid-template-columns: 1fr 30px 1fr 30px 1fr; align-items: center; gap: 4px; }
.content-topic,
.content-draft,
.content-publish { min-height: 190px; padding: 18px 14px; border: 1px solid var(--hero-border); border-radius: 12px; background: var(--hero-panel-soft); }
.content-topic span,
.content-draft span,
.content-publish span { display: block; color: var(--hero-gold); font-size: 11px; }
.content-topic b,
.content-draft b,
.content-publish b { display: block; margin: 20px 0 10px; color: #eef2f8; font-size: 15px; }
.content-topic small,
.content-publish small { color: var(--hero-muted); font-size: 10px; line-height: 1.5; }
.content-draft i { display: block; height: 5px; margin-top: 12px; border-radius: 3px; background: rgba(148, 163, 184, .26); }
.content-draft i:nth-of-type(2) { width: 78%; }.content-draft i:nth-of-type(3) { width: 56%; }
.content-arrow { color: var(--hero-gold); text-align: center; }
.content-status { display: flex; grid-column: 1 / -1; margin-top: 34px; padding: 14px 18px; border: 1px solid rgba(34, 211, 238, .28); border-radius: 9px; align-items: center; gap: 12px; color: #b9c6d8; font-size: 12px; }
.content-status i { display: flex; width: 24px; height: 24px; border-radius: 50%; align-items: center; justify-content: center; background: rgba(34, 211, 238, .12); color: var(--hero-cyan); font-style: normal; }

/* GEO 保留原 AI 引用图，仅校准到同一 Banner 规格。 */
.service-page--geo .geo-reference > .hero {
  min-height: 550px;
  padding: 66px 24px;
}
.service-page--geo .geo-reference > .hero .hero-inner {
  width: min(1200px, 100%);
  min-height: 418px;
  max-width: none;
  grid-template-columns: minmax(0, .92fr) minmax(460px, 1.08fr);
  gap: clamp(48px, 7vw, 92px);
}
.service-page--geo .geo-reference > .hero .btn-primary,
.service-page--geo .geo-reference > .hero .btn-ghost,
.service-hero-btn { font-size: var(--type-button, 15px); }

@media (max-width: 1000px) {
  .service-hero-inner,
  .service-page--geo .geo-reference > .hero .hero-inner { grid-template-columns: 1fr; }
  .service-hero-visual { width: min(620px, 100%); max-width: none; margin: 0 auto; }
}

@media (max-width: 640px) {
  .service-hero,
  .service-page--geo .geo-reference > .hero { min-height: 0; padding: 48px 18px 58px; }
  .service-hero-inner,
  .service-page--geo .geo-reference > .hero .hero-inner { min-height: 0; gap: 38px; }
  .service-hero-copy h1,
  .service-page--geo .geo-reference > .hero h1 { font-size: clamp(34px, 10vw, 44px); }
  .service-hero-actions,
  .service-hero-btn { width: 100%; }
  .service-hero-visual { min-height: 0; }
  .service-hero-visual--seo { padding: 18px; }
  .seo-serp-card { grid-template-columns: 30px minmax(0, 1fr); }
  .service-hero-visual--digital,
  .service-hero-visual--reputation,
  .service-hero-visual--data { padding: 22px 18px; }
  .digital-channel-row { gap: 5px; }
  .digital-channel-row span { font-size: 10px; }
  .service-hero-visual--content { padding: 28px 18px; grid-template-columns: 1fr; gap: 10px; }
  .content-topic,
  .content-draft,
  .content-publish { min-height: 0; }
  .content-arrow { transform: rotate(90deg); }
  .content-status { grid-column: auto; margin-top: 10px; }
  .reputation-review { width: 94%; }
}

@media (prefers-reduced-motion: reduce) {
  .service-hero-btn { transition: none; }
}
