/* 服务页通用样式 - Services Styles */

/* 服务详情区域 */
.service-detail {
    padding: 60px 0;
}

.service-header {
    display: flex;
    gap: 40px;
    margin-bottom: 50px;
    background: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.service-header-img {
    flex: 0 0 450px;
    height: 320px;
    background: linear-gradient(135deg, #e0e0e0, #d0d0d0);
}

.service-header-content {
    padding: 40px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-header-content h1 {
    font-size: 32px;
    color: var(--text-main);
    margin-bottom: 15px;
}

.service-header-content .subtitle {
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-header-content p {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.8;
}

/* 适用场景 */
.scenarios-section {
    margin-bottom: 50px;
}

.scenarios-section h2 {
    font-size: 24px;
    color: var(--text-main);
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
}

.scenarios-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.scenario-item {
    background: var(--bg-white);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.scenario-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.scenario-item .icon {
    font-size: 28px;
    margin-bottom: 10px;
}

.scenario-item span {
    font-size: 14px;
    color: var(--text-main);
}

/* 材质工艺 */
.materials-section {
    margin-bottom: 50px;
}

.materials-section h2 {
    font-size: 24px;
    color: var(--text-main);
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
}

.materials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.material-card {
    background: var(--bg-white);
    border-radius: 10px;
    padding: 25px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.material-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.material-card h3 {
    font-size: 18px;
    color: var(--text-main);
    margin-bottom: 12px;
}

.material-card p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.7;
}

.material-card .tag {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 12px;
    margin-top: 10px;
}

/* 定制流程 */
.process-section {
    margin-bottom: 50px;
    background: var(--bg-white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.process-section h2 {
    font-size: 24px;
    color: var(--text-main);
    margin-bottom: 30px;
    text-align: center;
}

.process-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.process-steps::before {
    content: "";
    position: absolute;
    top: 30px;
    left: 60px;
    right: 60px;
    height: 2px;
    background: var(--primary-color);
    z-index: 0;
}

.process-step {
    text-align: center;
    position: relative;
    z-index: 1;
    flex: 1;
}

.process-step .step-num {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    margin: 0 auto 15px;
}

.process-step h3 {
    font-size: 16px;
    color: var(--text-main);
    margin-bottom: 8px;
}

.process-step p {
    font-size: 13px;
    color: var(--text-gray);
    padding: 0 10px;
}

/* 报价区间 */
.price-section {
    margin-bottom: 50px;
}

.price-section h2 {
    font-size: 24px;
    color: var(--text-main);
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
}

.price-table {
    background: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.price-table table {
    width: 100%;
    border-collapse: collapse;
}

.price-table th,
.price-table td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.price-table th {
    background: var(--secondary-color);
    color: #fff;
    font-weight: bold;
}

.price-table tr:last-child td {
    border-bottom: none;
}

.price-table tr:hover td {
    background: rgba(255, 127, 36, 0.05);
}

.price-table .price {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 16px;
}

/* 常见问题 */
.faq-mini {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.faq-mini h2 {
    font-size: 24px;
    color: var(--text-main);
    margin-bottom: 25px;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.faq-item h3 {
    font-size: 16px;
    color: var(--text-main);
    margin-bottom: 8px;
    cursor: pointer;
}

.faq-item p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.7;
}

/* 立即咨询 */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    padding: 50px;
    border-radius: 12px;
    text-align: center;
    color: #fff;
}

.cta-section h2 {
    font-size: 28px;
    margin-bottom: 15px;
}

.cta-section p {
    font-size: 16px;
    margin-bottom: 25px;
    opacity: 0.95;
}

.cta-section .btn {
    background: var(--secondary-color);
    padding: 15px 50px;
    font-size: 18px;
}

.cta-section .btn:hover {
    background: var(--secondary-dark);
}

/* 响应式 */
@media (max-width: 992px) {
    .service-header {
        flex-direction: column;
    }
    
    .service-header-img {
        flex: none;
        width: 100%;
        height: 250px;
    }
    
    .scenarios-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .materials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-steps {
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .process-steps::before {
        display: none;
    }
    
    .process-step {
        flex: 0 0 calc(50% - 10px);
    }
}

@media (max-width: 576px) {
    .scenarios-grid,
    .materials-grid {
        grid-template-columns: 1fr;
    }
    
    .process-step {
        flex: 0 0 100%;
    }
    
    .service-header-content h1 {
        font-size: 24px;
    }
}
