/* ============================================================
 * 生产流程小部件 — 与源码 styles.css 保持一致
 * ============================================================ */

/* ── 标题区 ── */
.block__head { margin-bottom: 38px; }
.block__head--center {
    text-align: center;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
}
.block__head .block-tag {
    display: inline-block;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #103A8E;
    margin-bottom: 14px;
}
.block__head .block-title {
    font-family: 'Sora', 'Inter', system-ui, sans-serif;
    font-weight: 700;
    font-size: clamp(22px, 2.6vw, 30px);
    line-height: 1.2;
    letter-spacing: -.4px;
    color: #0f1729;
}

/* ── 步骤条 ── */
.flow-steps {
    display: flex;
    align-items: stretch;
    gap: 0;
    margin-top: 40px;
    background: #fff;
    border: 1px solid #e6e9ef;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(15,23,41,.06), 0 4px 12px rgba(15,23,41,.05);
}

.flow-step {
    flex: 1;
    padding: 32px 24px;
    position: relative;
    border-right: 1px solid #e6e9ef;
    transition: background .3s ease;
}
.flow-step:last-of-type { border-right: none; }

/* 编号小圆徽章 */
.flow-step__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(16,58,142,.08);
    color: #103A8E;
    font-family: 'Sora', 'Inter', system-ui, sans-serif;
    font-weight: 800;
    font-size: 13px;
    margin-bottom: 14px;
    transition: background .3s ease, color .3s ease;
}
.flow-step h4 {
    font-family: 'Sora', 'Inter', system-ui, sans-serif;
    font-size: 16px;
    margin: 0 0 8px;
    color: #0f1729;
    transition: color .3s ease;
}
.flow-step p {
    margin: 0;
    font-size: 13px;
    color: #64748b;
    line-height: 1.55;
    transition: color .3s ease;
}

/* 悬停 */
.flow-step:hover {
    background: linear-gradient(150deg, #103A8E, #2a5fc4);
    border-color: transparent;
}
.flow-step:hover .flow-step__num {
    background: rgba(255,255,255,.22);
    color: #fff;
}
.flow-step:hover h4 { color: #fff; }
.flow-step:hover p  { color: rgba(255,255,255,.82); }

/* ── 入场动画 ── */
.process-section[data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.process-section.in { opacity: 1; transform: none; }

/* ── 响应式 ── */
@media (max-width: 992px) {
    .flow-steps { flex-wrap: wrap; }
    .flow-step { flex: 1 1 33%; }
}
@media (max-width: 600px) {
    .flow-steps { flex-direction: column; }
    .flow-step { border-right: none; border-bottom: 1px solid #e6e9ef; }
    .flow-step:last-of-type { border-bottom: none; }
}
