/* =========================================================
   恰恰集运 · 布局 B（SaaS 分栏网格）专属样式
   配合 style.css / showcase.css 使用
   ========================================================= */

/* ---------- 服务网格（首卡跨 2 列 + 6 小卡，3 列铺满） ---------- */
.svc-asym { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.svc-asym .big { grid-column: span 2; display: flex; flex-direction: column; justify-content: center; }
.svc-asym .big .em { font-size: 44px; }
.svc-asym .big h3 { font-size: 22px; margin: 14px 0 10px; }
.svc-asym .big p { font-size: 15px; flex: 1; }
.svc-asym .sm { display: flex; flex-direction: column; justify-content: center; }
.svc-asym .sm .em { font-size: 28px; }
.svc-asym .sm h3 { font-size: 16px; margin: 10px 0 6px; }
.svc-asym .sm p { font-size: 13.5px; margin: 0; }

/* ---------- 横向流程条 ---------- */
.hstepper { position: relative; max-width: 1340px; margin: 10px auto 0; display: flex; gap: 32px; }
.hstepper .track { position: absolute; top: 23px; left: 9%; right: 9%; height: 2px; background: var(--c-line); z-index: 0; }
.hstepper .step { position: relative; z-index: 1; flex: 1; text-align: center; padding: 0 8px; }
.hstepper .dot {
  width: 46px; height: 46px; border-radius: 50%; background: #fff; border: 2px solid var(--c-brand);
  display: grid; place-items: center; margin: 0 auto 12px; font-size: 20px; color: var(--c-brand);
}
.hstepper .step .t { font-size: 14px; font-weight: 600; }
.hstepper .step .s { font-size: 12px; color: var(--c-ink-3); margin-top: 2px; }

/* ---------- 新手上路（指南主题卡片 3 列） ---------- */
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: start; }
/* 新手上路 · 可展开详情块（台湾进口及关税说明） */
.guide-detail { border-radius: var(--radius); }
.guide-detail > summary { list-style: none; cursor: pointer; }
.guide-detail > summary::-webkit-details-marker { display: none; }
.guide-detail > summary .guide-card { transition: .18s ease; }
.guide-detail > summary .guide-card:hover { border-color: var(--c-gold); transform: translateY(-4px); box-shadow: var(--shadow); }
.guide-detail[open] > summary .more::after { content: " ▴"; }
.guide-detail:not([open]) > summary .more::after { content: " ▾"; }
.guide-card {
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 10px;
  transition: .18s ease;
}
.guide-card:hover { border-color: var(--c-gold); transform: translateY(-4px); box-shadow: var(--shadow); }
.guide-card .ic { font-size: 28px; }
.guide-card h3 { font-size: 16px; margin: 0; }
.guide-card p { font-size: 13px; color: var(--c-ink-2); margin: 0; line-height: 1.6; flex: 1; }
/* 展开详情正文 */
.detail-body { margin-top: 12px; padding: 22px 24px; background: var(--c-bg-soft); border: 1px solid var(--c-line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.detail-body h4 { margin: 18px 0 8px; font-size: 15.5px; color: var(--c-brand-dark); }
.detail-body h4:first-child { margin-top: 0; }
.detail-body p { font-size: 13.5px; color: var(--c-ink-2); line-height: 1.8; margin: 0 0 8px; }
.detail-body .note { color: var(--c-ink-3); font-size: 12.5px; }
.detail-body .formula { list-style: none; padding: 0; margin: 8px 0; display: flex; flex-direction: column; gap: 8px; }
.detail-body .formula li { background: #fff; border: 1px solid var(--c-line); border-radius: 8px; padding: 10px 14px; font-size: 13.5px; color: var(--c-ink); line-height: 1.7; }
.detail-body .formula b { color: var(--c-brand-dark); }
.detail-body .steps { margin: 8px 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.detail-body .steps li { font-size: 13.5px; color: var(--c-ink-2); line-height: 1.7; }

/* ---------- 新手教学（卡片网格） ---------- */
.tut-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: start; }
.tut-detail { border-radius: var(--radius); }
.tut-detail > summary { list-style: none; cursor: pointer; display: block; }
.tut-detail > summary::-webkit-details-marker { display: none; }
.tut-detail > summary .tut { transition: .18s ease; }
.tut-detail > summary .tut:hover { border-color: var(--c-gold); transform: translateY(-4px); box-shadow: var(--shadow); }
.tut-detail[open] > summary .more::after { content: " ▴"; }
.tut-detail:not([open]) > summary .more::after { content: " ▾"; }
.tut-detail .detail-body { margin-top: 12px; padding: 22px 24px; background: var(--c-bg-soft); border: 1px solid var(--c-line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.tut-detail .detail-body h4 { margin: 16px 0 8px; font-size: 15.5px; color: var(--c-brand-dark); }
.tut-detail .detail-body h4:first-child { margin-top: 0; }
.tut-detail .detail-body p { font-size: 13.5px; color: var(--c-ink-2); line-height: 1.8; margin: 0 0 8px; }
.tut-detail .detail-body .note { color: var(--c-ink-3); font-size: 12.5px; }
.tut-detail .detail-body ol.steps { margin: 8px 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.tut-detail .detail-body ol.steps li { font-size: 13.5px; color: var(--c-ink-2); line-height: 1.7; }
.tut {
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
}
.tut .thumb { background: var(--c-bg-soft); font-size: 34px; padding: 26px; text-align: center; }
.tut .body { padding: 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.tut .body .cat {
  align-self: flex-start; background: var(--c-brand-soft); color: var(--c-brand-dark);
  font-size: 11.5px; font-weight: 700; padding: 3px 9px; border-radius: 20px;
}
.tut .body h3 { font-size: 15.5px; margin: 0; }
.tut .body p { font-size: 13px; color: var(--c-ink-2); margin: 0; line-height: 1.6; flex: 1; }

/* ---------- 响应式 ---------- */
@media (max-width: 980px) {
  .svc-asym { grid-template-columns: repeat(2, 1fr); }
  .svc-asym .big { grid-column: span 2; }
  .hstepper { flex-wrap: wrap; }
  .hstepper .step { flex: 0 0 33.33%; }
  .guide-grid { grid-template-columns: repeat(2, 1fr); }
  .tut-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .hstepper { flex-wrap: wrap; gap: 22px 0; }
  .hstepper .track { display: none; }
  .hstepper .step { flex: 0 0 33.33%; }
  .svc-asym { grid-template-columns: 1fr; }
  .svc-asym .big { grid-column: auto; }
  .guide-grid { grid-template-columns: 1fr; }
  .tut-grid { grid-template-columns: 1fr; }
}
