/* ==========================================================================
   xianshixing.css —— 展示型网站私有样式
   hero / 适用场景卡 / 对照表 / 模块清单网 / 左图右文案例 / 报价三卡 / 雾底CTA
   ========================================================================== */

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

/* ---------- 适用场景 ---------- */
.xs-scene { background: var(--paper); }

/* ---------- 对照表 ---------- */
.xs-vs { background: var(--rice); }
.xs-vs-table-wrap {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.xs-vs-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.xs-vs-table th, .xs-vs-table td {
  padding: 15px 22px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.xs-vs-table thead th { background: var(--bamboo-mist); color: var(--bamboo-deep); }
.xs-vs-table tbody tr:last-child td { border-bottom: 0; }
.xs-vs-table tbody tr:hover td { background: var(--paper); }
.xs-vs-table td:nth-child(2) { background: var(--bamboo-mist); }
@media (max-width: 640px) {
  .xs-vs-table th, .xs-vs-table td { padding: 10px 12px; font-size: .82rem; }
}

/* ---------- 模块清单 ---------- */
.xs-modules { background: var(--paper); }
.xs-mod-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.xs-mod {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  background: var(--rice);
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.xs-mod:hover { border-color: var(--bamboo); transform: translateY(-3px); }
.xs-mod strong { display: block; font-family: var(--font-title); margin-bottom: 6px; color: var(--bamboo-deep); }
.xs-mod p { font-size: .82rem; margin: 0; }
@media (max-width: 992px) { .xs-mod-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .xs-mod-grid { grid-template-columns: 1fr; } }

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

/* ---------- 报价 ---------- */
.xs-price { background: var(--paper); }
.xs-price-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 880px;
  margin: 0 auto;
}
.xs-price-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  background: var(--rice);
}
.xs-price-hot {
  background: var(--bamboo);
  border-color: var(--bamboo);
  color: #fff;
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}
.xs-price-hot h4, .xs-price-hot .xs-price-num, .xs-price-hot li { color: #fff; }
.xs-price-card h4 { font-size: 1.05rem; margin-bottom: 8px; }
.xs-price-num { font-family: var(--font-title); font-size: 1.7rem; font-weight: 700; color: var(--bamboo-deep); margin-bottom: 14px; }
.xs-price-hot .xs-price-num { color: #fff; }
.xs-price-card ul li {
  font-size: .85rem;
  color: var(--ink-soft);
  padding: 5px 0;
  border-bottom: 1px dashed var(--line);
}
.xs-price-card ul li:last-child { border-bottom: 0; }
.xs-price-note { text-align: center; font-size: .85rem; margin-top: 24px; color: var(--ink-soft); }
@media (max-width: 768px) {
  .xs-price-row { grid-template-columns: 1fr; max-width: 420px; }
  .xs-price-hot { transform: none; }
}

/* ---------- CTA 竹青雾卡 ---------- */
.xs-cta { padding: 70px 0 90px; background: var(--rice); }
.xs-cta-inner {
  background: var(--bamboo-mist);
  border: 1px solid rgba(86,123,78,.3);
  border-radius: var(--radius-lg);
  padding: 48px 32px;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}
.xs-cta-inner h2 { margin-bottom: 10px; }
.xs-cta-inner > p { max-width: 480px; margin: 0 auto 20px; }
.xs-cta-line {
  display: flex; gap: 26px; justify-content: center; flex-wrap: wrap;
  font-size: .92rem;
  margin-bottom: 22px;
}
.xs-cta-line a { font-weight: 700; }
