/* ============================================================
   Shifang Packaging — support.css
   服务支持页：包装组装服务 / 工程支持 / FAQ 引导
   （头部、Banner 卡片、面包屑、CTA、页脚等共用组件见 main.css）
   ============================================================ */

/* ---------- Banner / FAQ 引导背景（ACF 图片，不传则无静态底图） ---------- */
.support-hero .hero-card {
  background-image:
    linear-gradient(95deg, #fff 0%, #fff 46%, rgba(255, 255, 255, 0) 76%),
    var(--support-hero-img, none);
}
.soft-cta--support {
  background-image:
    linear-gradient(rgba(255, 255, 255, .86), rgba(255, 255, 255, .86)),
    var(--support-info-img, none);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
img.soft-cta__ic { object-fit: contain; }

/* ---------- 1. 服务图文（左右交替） ---------- */
.svc { padding: 72px 0; }
.svc__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.svc__row + .svc__row { margin-top: 72px; }
.svc__row--rev .svc__img { order: 2; }
.svc__row--noimg { grid-template-columns: 1fr; }
.svc__divider {
  height: 1px;
  margin: 72px 0;
  border: 0;
  background: var(--c-border);
}
.svc__img img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
}
.svc__body h2 { font-size: var(--fs-h2); }
.svc__body p { margin-top: 16px; }
.svc__body .btn { margin-top: 28px; }

/* ---------- 2. 响应式（三端适配） ---------- */
@media (max-width: 1024px) {
  .support-hero .hero-card {
    background-image:
      linear-gradient(95deg, #fff 0%, #fff 56%, rgba(255, 255, 255, 0) 88%),
      var(--support-hero-img, none);
  }
  .svc__row { grid-template-columns: 1fr; gap: 32px; }
  .svc__row--rev .svc__img { order: -1; }
  .svc__row + .svc__row { margin-top: 56px; }
  .svc__divider { margin: 56px 0; }
}

@media (max-width: 860px) {
  .svc { padding: 56px 0; }
}

@media (max-width: 720px) {
  .support-hero .hero-card {
    background-image:
      linear-gradient(180deg, rgba(255, 255, 255, .94) 0%, rgba(255, 255, 255, .8) 100%),
      var(--support-hero-img, none);
  }
}
