/* 移动端 - 企业福利 */

.m-welfare-page {
    min-height: 100vh;
    background: #fff;
    color: #333;
}

/* ========== Hero ========== */
.m-welfare-hero {
    position: relative;
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin: 12px 12px 8px;
    border-radius: 12px;
}

.m-welfare-hero-bg {
    position: absolute;
    inset: 0;
    background: url(https://mstatic.ofpay.com/marketing/upload/f0656b38cc2c4e9a9387f898e48c9dad.png) no-repeat center center;
    background-size: cover;
    border-radius: 12px;
}

.m-welfare-hero-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 40px 20px;
}

.m-welfare-hero-title {
    margin: 0 0 12px;
    font-size: clamp(18px, 5vw, 24px);
    font-weight: 700;
    line-height: 1.35;
    color: #fff;
}

.m-welfare-hero-sub {
    margin: 0;
    font-size: clamp(11px, 3vw, 13px);
    font-weight: 400;
    line-height: 1.6;
    color: #fff;
}

.m-welfare-hero-btn {
    background: url(https://mstatic.ofpay.com/marketing/upload/9712ea36411743a1807291691d285d24.png) no-repeat center center;
    background-size: 100% 100%;
    width: 120px;
    height: 36px;
    margin: 20px auto 0;
    border: none;
    cursor: pointer;
}

/* ========== 通用标题 ========== */
.m-welfare-section {
    padding: 24px 14px;
    position: relative;
}

.m-welfare-section-inner {
    position: relative;
    z-index: 1;
}

.m-welfare-title {
    margin: 0;
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    color: #000;
}

.m-welfare-sub {
    margin: 10px 0 0;
    text-align: center;
    color: #666;
    font-size: 12px;
}

/* ========== 解决方案 ========== */
.m-welfare-solution {
    position: relative;
    overflow: hidden;
}

.m-welfare-solution-bg {
    position: absolute;
    inset: 0;
    background: url(https://mstatic.ofpay.com/marketing/upload/1ee9681f283342f69636d7e267b611d0.jpg) no-repeat center center;
    background-size: cover;
}

.m-welfare-solution-grid {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.m-welfare-solution-card {
    background: #fff;
    border-radius: 10px;
    padding: 16px 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.m-welfare-solution-card-title {
    font-size: 13px;
    font-weight: 700;
    color: #000;
    margin: 0 0 10px;
    line-height: 1.3;
}

.m-welfare-solution-card-desc {
    font-size: 10px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* ========== 发放说明 ========== */
.m-welfare-distribution {
    position: relative;
    overflow: hidden;
}

.m-welfare-distribution-bg {
    position: absolute;
    inset: 0;
    background: url(https://mstatic.ofpay.com/marketing/upload/57110eb73fd34a878dbcb34655264f4a.jpg) no-repeat center center;
    background-size: cover;
}

/* 流程线 */
.m-welfare-process-line {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
    padding: 0 10px;
}

.m-welfare-process-item {
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
}

.m-welfare-process-dot {
    display: block;
    width: 12px;
    height: 12px;
    background: #0148A4;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 0 0 3px rgba(1, 72, 164, 0.2);
}

.m-welfare-process-text {
    font-size: 12px;
    color: #333;
    line-height: 1.5;
    margin: 0;
}

/* 福利图片网格 */
.m-welfare-festival-grid {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.m-welfare-festival-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.m-welfare-festival-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.m-welfare-festival-name {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: #fff;
    font-size: 12px;
    text-align: center;
}

/* ========== 响应式 ========== */
@media (min-width: 480px) {
    .m-welfare-hero {
        min-height: 260px;
    }

    .m-welfare-hero-inner {
        padding: 50px 24px;
    }

    .m-welfare-hero-btn {
        width: 160px;
        height: 40px;
    }

    .m-welfare-solution-grid {
        gap: 14px;
    }

    .m-welfare-solution-card {
        padding: 20px 16px;
    }

    .m-welfare-solution-card-title {
        font-size: 14px;
    }

    .m-welfare-solution-card-desc {
        font-size: 11px;
    }

    .m-welfare-process-line {
        flex-direction: row;
        justify-content: space-between;
        gap: 10px;
    }

    .m-welfare-process-item {
        flex-direction: column;
        text-align: center;
        flex: 1;
    }

    .m-welfare-festival-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
    }

    .m-welfare-festival-name {
        font-size: 13px;
    }
}

@media (min-width: 640px) {
    .m-welfare-solution-grid {
        max-width: 500px;
        margin: 24px auto 0;
    }

    .m-welfare-festival-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}
