/* ==========================================
   服务与支持页面样式 (support.css)
   命名空间: .support-page
   ========================================== */

/* 主容器 */
.support-page {
    padding: 0 0;
    background-color:#f7fafd;
}

.support-page .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* 更多快捷服务区块 */
.quick-service-section {
    background: transparent;
    padding: 40px 0;
    margin: 0 -40px 40px -40px;
}

.quick-service-title {
    text-align: center;
    font-size: 32px;
    font-weight: 600;
    color: #333;
    margin-bottom: 40px;
}

.quick-service-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.quick-service-item {
    background: #fff;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

.quick-service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.quick-service-item .service-icon {
    margin-bottom: 15px;
    color: #0066cc;
}

.quick-service-item h3 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.quick-service-item p {
    font-size: 13px;
    color: #999;
    margin: 0;
}

/* 医疗器械服务区块 */
.medical-service-section {
    padding: 40px 0 !important;
}

.medical-service-title {
    text-align: center;
    font-size: 32px;
    font-weight: 500;
    color: #333;
    margin-bottom: 40px;
}

.medical-service-categories {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.service-category-item {
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 16px rgba(20, 88, 174, 0.13);
}

.service-category-item:hover {
    transform: translateY(-5px);
}

.service-category-item .category-icon {
    margin: 15px auto;
    transition: all 0.3s ease;
    width: 60px;
    height: 60px;
    line-height: 60px;
    background: #eaf3ff;
    border-radius: 50%;
    font-size: 30px;
    
}
.service-category-item .category-icon i{ background:linear-gradient(135deg, #086cf5, #0046c0);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;}

.service-category-item:hover .category-icon {
    color: #0066cc;
}

.service-category-item p {
    font-size: 14px;
    color: #333;
    margin: 0;
    line-height: 30px;
}
.service-category-item .h-line{
    margin:15px auto ;
    width: 30px;
    background: #b3d1fd;
    height: 4px;
    border-radius: 2px;
}
.service-category-item:hover .h-line{
   background: var(--blue);
}

/* 服务项目区块 */
.service-items-section {
    position: relative;
    padding: 40px 0;
    background: transparent;
    margin: 0 -40px;
     background: linear-gradient(180deg, #eaf4ff 0%, #f7fbff 100%);
}
.service-items-section::after{
    position: absolute;
    right: 0;
    top: 30px;
    width: 290px;
    height: 520px;
    opacity: 0.55;
    background-image:
        radial-gradient(circle, rgba(75, 147, 233, 0.2) 2px, transparent 3px);
    background-size: 18px 18px;
    content: "";}

.service-items-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.service-item-card {
    background: linear-gradient(42.7deg, #FFFFFF 53.17%, #F0F4F7 104.01%);
    box-shadow: 0 4px 16px rgba(20, 88, 174, 0.13);
    border-radius: 5px;
    transition: all 0.2s;
    border: 1px solid #FFFFFF;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.service-item-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.service-item-card .service-item-icon {
    margin-bottom: 20px;
    color: #fff;
    width: 60px;
    height:60px;
    background: linear-gradient(135deg, #0474ff, #0054dd);
    border-radius: 12px;
    margin: 0 auto;
    font-size: 30px;
    line-height:60px;
    margin-bottom: 10px;
}

.service-item-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0;
}
.service-item-card p{
    display: block;
    margin:10px 0 30px 0;
}
.view-all-products{
    padding:10px 28px;
    border: 2px solid #afd1ff;
    border-radius: 50px;
    color: #06328d;
}
.view-all-products:hover{
     color: #fff;
    background: linear-gradient(135deg, #086cf5, #0046c0);
}
/* 获取帮助横幅 */


 .help-banner-section {
            background: linear-gradient(135deg, var(--blue-dark), var(--blue));
            padding: 60px 10%;
            position: relative;
            overflow: hidden;
            
        }
        .help-banner-section::before {
            content: '';
            position: absolute;
            top: -110%;
            right: -10%;
            width: 400px;
            height: 400px;
            background: rgba(255,255,255,0.1);
            border-radius: 50%;
        }
        .help-banner-section::after {
            content: '';
            position: absolute;
            bottom: -70%;
            left: -5%;
            width: 300px;
            height: 300px;
            background: rgba(255,255,255,0.05);
            border-radius: 50%;
        }
        .help-banner-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
            position: relative;
            z-index: 1;
            max-width: 1400px;
            margin: 0 auto;
            padding:0 40px ;
        }
        .help-banner-text {
            flex: 1;
           
        }
        .help-banner-text h2 {
            color: white;
            font-size: 32px;
            margin-bottom: 25px;
            position: relative;
        }
         .help-banner-text h2::after {
                content: '';
                position: absolute;
                bottom: -8px;
                left: 0;
                width: 80px;
                height: 3px;
                background: linear-gradient(90deg, rgba(255, 255, 255, 0.8), transparent);
                border-radius: 2px;
            }
        .help-banner-text p {
            color: rgba(255,255,255,0.9);
            font-size: 16px;
            max-width: 500px;
        }
        .help-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            background: rgba(255,255,255,0.1);
            color:#fff;
            padding: 12px 28px;
            border-radius: 50px;
            text-decoration: none;
            font-size: 18px;
            font-weight: bold;
            transition: all 0.3s ease;
            box-shadow: 0 4px 20px rgba(0,0,0,0.2);
            border:2px solid #e5e7eb;
        }
        .help-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 30px rgba(0,0,0,0.3);
            background: #fff;
            color:var(--blue) ;
        }
        .help-btn i {
            font-size: 22px;
        }
        
        .cta-main-call {
            font-size: 16px;
            font-weight: 600;
            color: #fff;
            border: none;
            padding: 14px 28px;
            background: linear-gradient(135deg, #F59E0B 0%, #D97706 50%, #F59E0B 100%);
            background-size: 200% 100%;
            box-shadow: 0 4px 20px rgba(245, 158, 11, 0.4);
            animation: ctaCallPulse 2s ease-in-out infinite;
            position: relative;
            overflow: hidden;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 50px;
            margin-right: 20px;
        }
        
        .cta-main-call::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
            animation: ctaShine 3s ease-in-out infinite;
        }
        
        @keyframes ctaCallPulse {
        
            0%,
            100% {
                transform: scale(1);
                box-shadow: 0 4px 20px rgba(245, 158, 11, 0.4);
            }
        
            50% {
                transform: scale(1.05);
                box-shadow: 0 8px 30px rgba(245, 158, 11, 0.6);
            }
        }
        
        @keyframes ctaShine {
            0% {
                left: -100%;
            }
        
            50%,
            100% {
                left: 100%;
            }
        }
/* ==================== 联系信息模态框 ==================== */
.contact-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.contact-modal.active {
    display: flex;
}

.contact-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.contact-modal-content {
    position: relative;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
    width: 400px;
    height: 556px;
    overflow: hidden;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-modal-header {
    padding: 0;
    border-bottom: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-modal-header h4 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-color);
    margin: 0;
}

.btn-close {
    position: absolute;
    right:10px;
    top:10px;
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
    color: var(--text-light);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-size:18px;
}

.btn-close:hover {
    background-color: var(--bg-light);
    color: var(--primary-color);
}

.contact-modal-body {
    padding: 0px;
    width: 400px;
    height: 556px;
    overflow: hidden;
}

.lxwm-img{border-radius:10px; 
            width:400px; 
            height:556px;
            }
            
 .lxwm-img img{
            width:400px; 
            height:556px;
            image-rendering: pixelated;
 }           
.contact-modal-body .contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.contact-modal-body .contact-item:last-of-type {
    border-bottom: none;
}

.contact-modal-body .contact-label {
    font-size: 14px;
    color: var(--text-light);
    font-weight: 500;
    min-width: 70px;
}

.contact-modal-body .contact-value {
    font-size: 15px;
    color: var(--text-color);
    font-weight: 600;
}

.contact-modal-body .contact-link {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.contact-modal-body .contact-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.contact-modal-body .qrcode-section {
    margin-top: 24px;
    text-align: center;
    padding: 20px;
}

.contact-modal-body .qrcode-img {
    width: 180px;
    height: 180px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.contact-modal-body .qrcode-text {
    margin: 12px 0 0;
    font-size: 14px;
    color: var(--text-light);
}

.contact-modal {
    display: none; /* 默认隐藏 */
}
.contact-modal.active {
    display: flex !important; /* 打开显示 */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
}
.contact-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
}
.contact-modal-content {
    margin: auto;
    position: relative;
    z-index: 10;
}


/* ==========================================
   响应式设计
   ========================================== */
@media (max-width: 1200px) {
    .quick-service-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .medical-service-categories {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .quick-service-section,
    .service-items-section {
        margin: 0 -20px 0px -20px;
    }
    
    .quick-service-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 0 20px;
    }
    
    .quick-service-item {
        padding: 20px 15px;
    }
    
    .medical-service-categories {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .service-items-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 0 20px;
    }
    
    .service-item-card {
        padding: 30px 20px;
    }
    
    .help-banner-section {
        padding: 30px 0;
    }
    
    .help-banner-content {
        padding: 0 20px;
        display:flex;
        flex-direction: column;
        
    }
    .cta-main-call{
        margin: 20px 0;
    }
    
    .help-banner-text {
        padding: 0;
    }
    
    .help-banner-text h2 {
        font-size: 28px;
    }
    
    .help-banner-text p {
        font-size: 14px;
    }
    
    .help-btn {
        width: 66%;
        text-align: center;
        padding: 12px 32px;
    }
    .service-items-section::after{display:none;}
}

@media (max-width: 480px) {
    .quick-service-grid {
        grid-template-columns: 1fr;
    }
    
    .medical-service-categories {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .service-items-grid {
       margin: 0 20px;
        grid-template-columns: repeat(2, 1fr);
        
      
    }
    .service-item-card p{
        display: none;
    }
    .service-item-card h3{
        margin: 20px 0;
        font-size:16px ;
    }
    .view-all-products{
        padding: 5px 20px;
    }
    .help-btn {
        width: 66%;
        text-align: center;
        padding: 12px 32px;
    }
}


/* 服务承诺区块 */
.service-promise-section {
    margin-bottom: 80px;
    background-color: #fff;
    padding: 60px 40px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid #e0e0e0;
}

.service-promise-section .section-header {
    text-align: center;
    margin-bottom: 50px;
}

.service-promise-section .section-title {
    font-size: 36px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.service-promise-section .title-underline {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #0066cc, #00a8ff);
    margin: 0 auto;
    border-radius: 2px;
}

.culture-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.culture-item {
    text-align: center;
    padding: 30px 20px;
    background: #f9f9f9;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.culture-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.1);
    background: #f0f7ff;
}

.culture-icon {
    margin-bottom: 20px;
    color: #0066cc;
}

.culture-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
}

.culture-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* 联系我们区块 */
.contact-section {
    margin-bottom: 0;
    background-color: #fff;
    padding: 60px 40px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid #e0e0e0;
}

.contact-section .section-header {
    text-align: center;
    margin-bottom: 50px;
}

.contact-section .section-title {
    font-size: 36px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.contact-section .title-underline {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #0066cc, #00a8ff);
    margin: 0 auto;
    border-radius: 2px;
}

.contact-section .section-subtitle {
    text-align: center;
    color: #666;
    margin-top: 10px;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.contact-info-item {
    text-align: center;
    padding: 30px 20px;
    background: #f9f9f9;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.contact-info-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.1);
    background: #f0f7ff;
}

.contact-info-icon {
    margin-bottom: 15px;
    color: #0066cc;
}

.contact-info-item h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.contact-info-item p {
    font-size: 14px;
    color: #666;
    margin: 5px 0;
}

.contact-link {
    color: #0066cc;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-link:hover {
    color: #0052a3;
    text-decoration: underline;
}

.qrcode-wrapper {
    margin-top: 15px;
    display: inline-block;
}

.qrcode-image {
    width: 120px;
    height: 120px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
}

/* 响应式 - 服务承诺和联系我们 */
@media (max-width: 1024px) {
    .culture-grid,
    .contact-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .service-promise-section,
    .contact-section {
        padding: 40px 20px;
    }
    
    .culture-grid,
    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-promise-section .section-title,
    .contact-section .section-title {
        font-size: 28px;
    }
}
