/* 全局变量 */
:root {
    --section-spacing: 100px 0;
    --border-radius: 20px;
    --transition: all 0.3s ease;
}

/* 服务概览部分 */
.services-overview {
    padding: var(--section-spacing);
    background: #f8f9fa;
    position: relative;
}

.services-overview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.03) 0%, rgba(var(--primary-rgb), 0) 100%);
    z-index: 0;
}

.services-overview .container {
    position: relative;
    z-index: 1;
}

/* 标题样式优化 */
.services-overview h2,
.service-process h2,
.service-guarantee h2 {
    all: initial;
    display: inline-block !important;
    position: relative !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    
    color: var(--primary-color) !important;
    font-size: 36px !important;
    text-align: center !important;
    margin-bottom: 50px !important;
    font-family: inherit !important;
    font-weight: bold !important;
}

.section-desc {
    display: block !important;
    clear: both !important;
    margin-top: 20px !important;
    text-align: center;
    max-width: 800px;
    margin: 30px auto 60px;
    color: var(--text-color);
    font-size: 18px;
    line-height: 1.6;
}

/* 服务网格布局 */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 40px;
}

/* 服务项目卡片样式 */
.service-item {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: 0 5px 15px rgba(8, 66, 138, 0.05);
    transition: transform 0.3s ease;
    position: relative;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.03) 0%, rgba(var(--primary-rgb), 0) 100%);
    opacity: 0;
    transition: var(--transition);
}

.service-item:hover {
    transform: translateY(-5px);
}

.service-item:hover::before {
    opacity: 1;
}

/* 服务图标样式 */
.service-icon {
    font-size: 36px;
    margin-bottom: 20px;
    background: rgba(var(--primary-rgb), 0.1);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: background-color 0.3s ease;
}

.service-item:hover .service-icon {
    background: var(--primary-color);
    color: var(--white);
}

/* 内容区域样式 */
.service-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.service-content p {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 15px;
    color: var(--text-color);
}

/* 特性列表样式 */
.service-features {
    margin: 15px 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.service-features li {
    padding-left: 20px;
    position: relative;
    font-size: 14px;
    color: var(--text-color);
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* 按钮样式调整 */
.service-content .btn {
    margin-top: 15px;
    padding: 8px 20px;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

/* 响应式调整 */
@media screen and (max-width: 992px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .service-item {
        padding: 25px;
    }
}

@media screen and (max-width: 768px) {
    .service-features {
        grid-template-columns: 1fr;
        gap: 8px;
    }
}

/* 服务流程部分 */
.service-process {
    padding: var(--section-spacing);
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

.service-process h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 60px;
}

.process-grid {
    display: flex;
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.process-grid::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
    opacity: 0.2;
}

.process-item {
    flex: 1;
    text-align: center;
    padding: 0 20px;
    position: relative;
}

.process-number {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
    background: var(--white);
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.process-item:hover .process-number {
    background: var(--primary-color);
    color: var(--white);
    transform: scale(1.1);
}

.process-item h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 20px;
}

.process-item p {
    color: var(--text-color);
    font-size: 15px;
    line-height: 1.6;
}

/* 服务保障部分 */
.service-guarantee {
    padding: var(--section-spacing);
    background: var(--white);
    position: relative;
}

.service-guarantee h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 60px;
}

.guarantee-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.guarantee-item {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: var(--border-radius);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.guarantee-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.05) 0%, rgba(var(--primary-rgb), 0) 100%);
    opacity: 0;
    transition: var(--transition);
}

.guarantee-item:hover::before {
    opacity: 1;
}

.guarantee-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(8, 66, 138, 0.1);
}

.guarantee-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: rgba(var(--primary-rgb), 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    transition: var(--transition);
}

.guarantee-item:hover .guarantee-icon {
    background: var(--primary-color);
    color: var(--white);
    transform: rotateY(360deg);
}

.guarantee-item h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 20px;
}

.guarantee-item p {
    color: var(--text-color);
    font-size: 15px;
    line-height: 1.6;
}

/* 响应式调整补充 */
@media screen and (max-width: 992px) {
    .process-grid {
        flex-direction: column;
        gap: 40px;
    }
    
    .process-grid::before {
        width: 2px;
        height: 100%;
        top: 0;
        left: 40px;
    }
    
    .process-item {
        text-align: left;
        padding-left: 100px;
    }
    
    .process-number {
        position: absolute;
        left: 0;
        margin: 0;
    }
    
    .guarantee-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media screen and (max-width: 768px) {
    .guarantee-grid {
        grid-template-columns: 1fr;
    }
}

/* 统一标题下方装饰线 */
.services-overview h2::after,
.service-process h2::after,
.service-guarantee h2::after {
    content: '' !important;
    position: absolute !important;
    left: 50% !important;
    bottom: -10px !important;
    transform: translateX(-50%) !important;
    width: 60px !important;
    height: 3px !important;
    background: currentColor !important;
    opacity: 0.3 !important;
}

/* 删除其他所有标题相关样式 */

/* 响应式调整 */
@media screen and (max-width: 992px) {
    .service-item {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 30px;
    }

    .service-features {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 768px) {
    .service-content {
        padding: 20px 0;
    }

    .service-content h3 {
        font-size: 24px;
    }
}