/* 移动端 - 软开服务 */

.m-dev-service-page {
    min-height: 100vh;
    background: #fff;
    padding-bottom: 24px;
}

/* ========== Hero ========== */
.m-dev-service-hero {
    margin: 12px 12px 8px;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.m-dev-service-hero-overlay {
    position: relative;
    width: 100%;
    min-height: 180px;
    border-radius: 12px;
    overflow: hidden;
}

.m-dev-service-hero-overlay img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 180px;
    object-fit: cover;
}

.m-dev-service-hero-overlay-inner {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 16px;
    text-align: center;
    color: #fff;
}

.m-dev-service-hero-overlay-inner h2 {
    margin: 0 0 10px;
    font-size: clamp(16px, 4.5vw, 22px);
    font-weight: 700;
    color: #fff;
    line-height: 1.35;
}

.m-dev-service-hero-overlay-inner p {
    margin: 0 0 16px;
    font-size: clamp(11px, 3vw, 13px);
    font-weight: 500;
    color: #fff;
    line-height: 1.5;
}

.m-dev-service-hero-btn {
    width: 120px;
    height: 38px;
    border: none;
    border-radius: 19px;
    background: url(https://mstatic.ofpay.com/marketing/upload/a9ae562749214593ae08e00fee3c1927.png) no-repeat center center;
    background-size: 100% 100%;
    cursor: pointer;
}

/* ========== 通用标题 ========== */
.m-dev-service-title {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #000;
    text-align: center;
}

.m-dev-service-sub {
    margin: 8px auto 0;
    max-width: 320px;
    font-size: 12px;
    line-height: 1.6;
    color: #666;
    text-align: center;
}

/* ========== 业务模型 ========== */
.m-dev-service-section {
    padding: 24px 14px;
}

.m-dev-service-model {
    background: #fff;
}

.m-dev-service-model-wrap {
    margin-top: 16px;
    overflow: hidden;
    background: #0d3d7a;
    border-radius: 10px;
    line-height: 0;
}

.m-dev-service-model-img {
    display: block;
    width: 100%;
    height: auto;
}

/* ========== 全场景化软件开发能力 ========== */
.m-dev-service-capability {
    background: #fff;
}

.m-dev-service-capability-inner {
    margin-top: 16px;
    padding: 16px 12px;
    background: #F8FAFC;
    border-radius: 10px;
}

.m-dev-capability-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.m-dev-capability-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 16px;
}

.m-dev-capability-item:last-child {
    margin-bottom: 0;
}

.m-dev-capability-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.m-dev-capability-icon img {
    display: block;
    width: 100%;
    height: 100%;
}

.m-dev-capability-title {
    margin: 0 0 6px;
    font-weight: 700;
    font-size: 14px;
    color: #333;
    line-height: 1.35;
}

.m-dev-capability-desc {
    margin: 0;
    font-size: 12px;
    color: #696969;
    line-height: 1.6;
}

.m-dev-capability-media {
    margin-top: 16px;
    overflow: hidden;
    border-radius: 10px;
    line-height: 0;
}

.m-dev-capability-media img {
    display: block;
    width: 100%;
    height: auto;
}

/* ========== 解决方案 ========== */
.m-dev-service-solutions {
    padding-bottom: 24px;
    background: #fff;
}

.m-dev-solution-grid {
    margin-top: 16px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.m-dev-solution-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    min-height: 160px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.m-dev-solution-card-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.m-dev-solution-card-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.m-dev-solution-card-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(8, 20, 40, 0.25) 0%, rgba(8, 20, 40, 0.72) 100%);
}

.m-dev-solution-card-body {
    position: relative;
    z-index: 2;
    padding: 20px 16px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.m-dev-solution-card-title {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
    text-align: center;
}

.m-dev-solution-card-desc {
    margin: 0 0 12px;
    font-size: 13px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.92);
    text-align: center;
}

.m-dev-solution-card-foot {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.m-dev-solution-hex {
    opacity: 0.95;
    color: #fff;
}

/* ========== 响应式 ========== */
@media (min-width: 480px) {
    .m-dev-solution-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 640px) {
    .m-dev-solution-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
