/* ==========================================================================
   yingxiaoxing.css —— 营销型网站私有样式
   hero / 漏斗四步横向 / 三卡功能 / 数据条 / 新旧对照双栏 / 左文右图案例 / CTA
   ========================================================================== */

/* ---------- hero ---------- */
.yx-hero {
  position: relative;
  margin-top: -72px;
  padding-top: 72px;
  min-height: 44vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.yx-hero-bg { position: absolute; inset: 0; z-index: -2; }
.yx-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.yx-hero-mask {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(35,36,31,.3) 0%, rgba(35,36,31,.85) 100%);
}
.yx-hero-inner { padding: 76px 24px 44px; color: #fff; }
.yx-crumb { color: rgba(246,242,233,.75); padding: 0 0 14px; }
.yx-crumb a { color: rgba(246,242,233,.75); }
.yx-crumb .current { color: #cfe0c9; }
.yx-hero h1 { color: #fff; font-size: 2.3rem; margin-bottom: 10px; max-width: 680px; }
.yx-hero-inner > p { color: rgba(246,242,233,.85); max-width: 560px; }

/* ---------- 转化漏斗 ---------- */
.yx-funnel { background: var(--paper); }
.funnel-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.funnel-step {
  background: var(--rice);
  border: 1px solid var(--line);
  border-top: 3px solid var(--bamboo);
  border-radius: var(--radius);
  padding: 26px 22px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.funnel-step:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.funnel-stage {
  display: inline-block;
  font-size: .75rem;
  color: var(--bamboo-deep);
  background: var(--bamboo-mist);
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.funnel-step h4 { margin-bottom: 8px; }
.funnel-step p { font-size: .86rem; }
@media (max-width: 992px) { .funnel-row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .funnel-row { grid-template-columns: 1fr; } }

/* ---------- 核心功能 ---------- */
.yx-features { background: var(--rice-deep); }

/* ---------- 数据条 ---------- */
.yx-data { background: var(--paper); }
.yx-data-note { font-size: .82rem; text-align: center; margin-top: 20px; }

/* ---------- 新旧对照 ---------- */
.yx-diff { background: var(--rice); }
.yx-diff-grid { gap: 26px; }
.yx-diff-col {
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  border: 1px solid var(--line);
}
.yx-diff-col h3 { margin-bottom: 16px; }
.yx-diff-col ul li {
  padding: 10px 0 10px 26px;
  position: relative;
  font-size: .9rem;
  border-bottom: 1px dashed var(--line);
}
.yx-diff-col ul li:last-child { border-bottom: 0; }
.yx-diff-old { background: var(--paper); color: var(--ink-soft); }
.yx-diff-old h3 { color: var(--ink-soft); }
.yx-diff-old ul li::before {
  content: "—";
  position: absolute; left: 0; color: var(--ink-soft);
}
.yx-diff-new { background: var(--bamboo); color: #fff; }
.yx-diff-new h3 { color: #fff; }
.yx-diff-new ul li { color: rgba(255,255,255,.9); border-bottom-color: rgba(255,255,255,.2); }
.yx-diff-new ul li::before {
  content: "✓";
  position: absolute; left: 0; color: #fff;
}

/* ---------- 案例左文右图 ---------- */
.yx-case { background: var(--paper); }
.yx-case-grid { align-items: center; gap: 44px; }
.yx-case-text .bar { margin: 12px 0 18px; }
.yx-case-img img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.yx-case-img figcaption { padding: 10px 4px 0; font-size: .85rem; }

/* ---------- 报价 ---------- */
.yx-price { background: var(--rice-deep); }
.yx-price-box {
  background: var(--paper);
  border-left: 4px solid var(--bamboo);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 28px 32px;
  max-width: 820px;
  margin: 0 auto;
  box-shadow: var(--shadow-sm);
}
.yx-price-box p { font-size: .95rem; }
.yx-price-box strong { color: var(--bamboo-deep); }

/* ---------- CTA 米白深通栏 ---------- */
.yx-cta {
  background: var(--rice-deep);
  padding: 80px 0;
  text-align: center;
  margin-top: 80px;
  border-top: 1px solid var(--line);
}
.yx-cta-inner { max-width: 560px; margin: 0 auto; }
.yx-cta-inner h2 { margin-bottom: 10px; }
.yx-cta-phone {
  font-family: var(--font-title);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--bamboo-deep);
  margin: 14px 0 4px;
}
.yx-cta-meta { font-size: .88rem; color: var(--ink-soft); margin-bottom: 24px; }
