/* ===== 霍桐仪器服务卡片样式 ===== */
/* 独立样式，不会影响原网站架构 */

.service-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding:  200px 100px 200px 42px;
}

.service-header {
    text-align: center;
    margin-bottom: 48px;
}

.service-header h2 {
    color: #000;
    font-size: 26px;
    font-weight: 400;
    line-height: 36px;
    margin-bottom: 8px;
}

.service-header p {
    color: #5c5d5f;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
}

.service-cards-container {
    display: flex;
    justify-content: space-between;
    background: #F8F9FC;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    height: 400px;
}

.service-card {
    width: 20%;
    height: 100%;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border-right: 1px solid #e8e8e8;
    background: white;
}

.service-card:last-child {
    border-right: none;
}

.service-card-content {
   /* padding: 30px 20px;
    height: 100%;*/
    display: flex;
    flex-direction: column;
}

.service-card-bg {
    height: 33.33%; /* 使用百分比确保占卡片高度的三分之一 */
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-bottom: 20px;
    position: relative;
    min-height: 150px; /* 设置最小高度确保在较小屏幕上也能显示良好 */
}

.service-card-title {
    display: flex;
    align-items: center;
    padding-bottom: 15px;
    border-bottom: 1px solid #e8e8e8;
    margin-bottom: 15px;
    padding: 0px 0px 9px 14px;
}

.service-card-title img {
    width: 26px;
    height: 26px;
}

.service-card-title span {
    font-size: 18px;
    color: #17181b;
    margin-left: 12px;
}

.service-features-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 15px 1px 0px 18px;
}

.service-features-list li {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    font-size: 14px;
    color: #808082;
}

.service-features-list li img {
    width: 14px;
    height: 14px;
    margin-right: 8px;
}

.service-card-details {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.98);
    padding: 30px 20px;
    transition: opacity 0.4s ease; /* 只保留透明度过渡，移除位移过渡 */
    display: flex;
    flex-direction: column;
    overflow: hidden;
    /* 预渲染布局，避免悬停时文字重排 */
    visibility: hidden;
}

.service-detail-title {
    display: flex;
    align-items: center;
    padding-bottom: 15px;
    border-bottom: 1px solid #e8e8e8;
    margin-bottom: 20px;
}

.service-detail-title img {
    width: 26px;
    height: 26px;
}

.service-detail-title span {
    font-size: 18px;
    color: #17181b;
    margin-left: 12px;
}

.service-detail-content {
    font-size: 14px;
    color: #808082;
    line-height: 24px;
    flex: 1;
    overflow: hidden;
    text-align: justify;
    /* 确保文字布局稳定 */
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

/* 悬停效果 */
.service-card:hover {
    width: 30%;
}

.service-card:hover .service-card-details {
    opacity: 1;
    visibility: visible;
}

/* 背景图片设置 - 特别优化 service-bg1 */
.service-card-bg {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 33.33%; /* 确保占卡片高度的三分之一 */
    min-height: 120px; /* 设置最小高度确保在较小屏幕上也能显示良好 */
}

/* 对号图标 - 使用新颜色 #a41626 */
.check-icon {
    width: 14px;
    height: 14px;
    background-color: #a41626; /* 改为新颜色 */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
}

.check-icon:after {
    content: "";
    width: 6px;
    height: 3px;
    border: 2px solid white;
    border-top: none;
    border-right: none;
    transform: rotate(-45deg);
    margin-top: -2px;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .service-container {
        max-width: 1100px;
    }
    
    .service-cards-container {
        height: 420px;
    }
}

@media (max-width: 992px) {
    .service-container {
        padding: 80px 20px 30px;
    }
    
    .service-cards-container {
        height: 380px;
    }
    
    .service-card:hover {
        width: 35%;
    }
}

@media (max-width: 768px) {
    .service-container {
        padding: 60px 15px 20px;
    }
    
    .service-header h2 {
        font-size: 22px;
        line-height: 30px;
    }
    
    .service-cards-container {
        flex-direction: column;
        height: auto;
    }
    
    .service-card {
        width: 100%;
        height: 140px;
        border-right: none;
        border-bottom: 1px solid #e8e8e8;
        transition: height 0.4s ease;
    }
    
    .service-card:last-child {
        border-bottom: none;
    }
    
    .service-card-content {
        flex-direction: row;
        padding: 20px 15px;
    }
    
    .service-card-bg {
        width: 33.33%; /* 移动端也保持三分之一宽度 */
        height: 100px;
        margin-bottom: 0;
        margin-right: 15px;
        flex-shrink: 0;
    }
    
    .service-bg1 {
        width: 33.33%;
        height: 100px;
    }
    
    .service-card-title {
        border-bottom: none;
        padding-bottom: 0;
        margin-bottom: 0;
        align-items: flex-start;
    }
    
    .service-features-list {
        display: none;
    }
    
    .service-card:hover {
        width: 100%;
        height: 320px;
    }
    
    .service-card:hover .service-card-content {
        flex-direction: column;
    }
    
    .service-card:hover .service-card-bg {
        width: 100%;
        height: 33.33%;
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .service-card:hover .service-bg1 {
        width: 100%;
        height: 33.33%;
    }
    
    .service-card:hover .service-features-list {
        display: flex;
    }
}

@media (max-width: 576px) {
    .service-container {
        padding: 40px 10px 20px;
    }
    
    .service-header {
        margin-bottom: 30px;
    }
    
    .service-header h2 {
        font-size: 20px;
        line-height: 28px;
    }
    
    .service-header p {
        font-size: 13px;
    }
    
    .service-card {
        height: 120px;
    }
    
    .service-card-content {
        padding: 15px 10px;
    }
    
    .service-card-bg {
        width: 33.33%;
        height: 80px;
        margin-right: 10px;
    }
    
    .service-bg1 {
        width: 33.33%;
        height: 80px;
    }
    
    .service-card-title span {
        font-size: 16px;
    }
    
    .service-card:hover {
        height: 300px;
    }
    
    .service-card:hover .service-card-bg {
        height: 33.33%;
    }
    
    .service-card:hover .service-bg1 {
        height: 33.33%;
    }
    
    .service-card-details {
        padding: 20px 15px;
    }
    
    .service-detail-content {
        font-size: 13px;
        line-height: 1.5;
    }
}



/*服务网络引入*/


        .service-network {
            position: relative;
            width: 100%;
            /*max-width: 1180px;*/
            height: 742px;
            background: linear-gradient(to bottom, #F0F3FA, #E8ECF5);
            overflow: hidden;
         margin: 0 auto;
            border-radius: 12px;
            /*box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);*/
        }
        
        .background-image {
            position: absolute;
            top: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 100%;
            height: 100%;
            background-image: url('https://cdn2.weimob.com/saas/@assets/saas-fe-website-web-stc/_next/static/media/DituBg.ab8ee314.png');
            background-size: cover;
            background-position: center;
            opacity: 0.8;
        }
        
        .content-wrapper {
            position: relative;
            height: 100%;
            padding-top: 120px;
            text-align: center;
            z-index: 2;
        }
        
        .title-section {
            margin-bottom: 20px;
        }
        
        .main-title {
            color: #17181b;
            font-size: 26px;
            font-weight: 500;
            line-height: 36px;
            margin-bottom: 8px;
        }
        
        .subtitle {
            color: #5c5d5f;
            font-size: 14px;
            font-weight: 400;
            line-height: 20px;
        }
        
        .stats-section {
            display: flex;
            justify-content: center;
            gap: 80px;
            margin-top: 108px;
        }
        
        .stat-item {
            text-align: left;
        }
        
        .stat-value {
            color: #a41626;
            font-size: 40px;
            font-weight: 600;
            line-height: 36px;
            margin-bottom: 12px;
            font-family: 'Courier New', monospace;
        }
        
        .stat-plus {
            font-size: 20px;
            vertical-align: baseline;
        }
        
        .stat-label {
            color: #5c5d5f;
            font-size: 14px;
            font-weight: 400;
            line-height: 14px;
        }
        
        .footer-note {
            position: absolute;
            bottom: 36px;
            left: 0;
            right: 0;
            margin: 0 auto;
            color: #17181b;
            font-size: 14px;
            font-weight: 400;
            line-height: 20px;
            opacity: 0.5;
        }
        
        /* 添加一些装饰元素 */
        .decoration-circle {
            position: absolute;
            width: 200px;
            height: 200px;
            border-radius: 50%;
            background: rgba(164, 22, 38, 0.05);
            top: 150px;
            left: 10%;
            z-index: 1;
        }
        
        .decoration-circle-2 {
            position: absolute;
            width: 150px;
            height: 150px;
            border-radius: 50%;
            background: rgba(164, 22, 38, 0.03);
            bottom: 100px;
            right: 10%;
            z-index: 1;
        }
        
        @media (max-width: 768px) {
            .service-network {
                height: 600px;
            }
            
            .stats-section {
                flex-direction: column;
                gap: 40px;
                margin-top: 60px;
            }
            
            .stat-item {
                text-align: center;
            }
            
            .decoration-circle, .decoration-circle-2 {
                display: none;
            }
        }