/* ========================================
   联系我们页面专用样式
   ======================================== */

/* 页面标题区域 */
.contact-header {
    background: linear-gradient(135deg, #ffffff 0%, #ffffff 100%);
    color: #000000;
    padding: 60px 20px;
    text-align: center;
}

.contact-header .container {
    max-width: 1400px;
    margin: 0 auto;
}

.contact-title {
    font-size: 36px;
    margin-bottom: 15px;
    font-weight: 700;
}

.contact-subtitle {
    font-size: 18px;
    opacity: 0.9;
    margin: 0;
}

/* 联系方式区域 */
.contact-info-section {
    padding: 60px 20px;
    background: #f8f9fa;
}

.contact-info-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.contact-card {
    background: white;
    border-radius: 12px;
    padding: 35px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(44, 95, 124, 0.15);
    border-color: #2c5f7c;
}

.contact-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-phone .contact-icon {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
}

.contact-address .contact-icon {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
}

.contact-email .contact-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.contact-wechat .contact-icon {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
}

.contact-icon svg {
    width: 28px;
    height: 28px;
}

/* 联系方式卡片内部 - 使用精确选择器避免与footer冲突 */
.contact-info-section .contact-content h3 {
    font-size: 20px;
    color: #333;
    margin: 0 0 10px 0;
    font-weight: 500;
}

.contact-info-section .contact-value {
    font-size: 22px;
    font-weight: 700;
    color: #2c5f7c;
    margin-bottom: 8px;
    display: block;
    text-decoration: none;
}

.contact-info-section .contact-value:hover {
    color: #3d7a9e;
    text-decoration: underline;
}

.contact-info-section .contact-desc {
    font-size: 14px;
    color: #999;
    margin: 0;
}

/* 服务优势区域 */
.contact-features {
    padding: 60px 20px;
    background: white;
}

.contact-features .container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 32px;
    color: #333;
    margin-bottom: 15px;
    font-weight: 700;
}

.section-header p {
    font-size: 16px;
    color: #666;
    margin: 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-item {
    text-align: center;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: #ff6600;
    transform: translateY(-5px);
}

.feature-item:hover h3,
.feature-item:hover p {
    color: white;
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #ff6600 0%, #ff3300 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    color: white;
    transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
    background: white;
    color: #2c5f7c;
}

.feature-item h3 {
    font-size: 18px;
    color: #333;
    margin: 0 0 10px 0;
    font-weight: 600;
}

.feature-item p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}


@media (max-width: 768px) {
    .contact-header {
        padding: 40px 20px;
    }
    
    .contact-title {
        font-size: 24px;
    }
    
    .contact-subtitle {
        font-size: 16px;
    }
    
    .contact-info-section,
    .contact-features,
    .contact-form-section,
    .map-section {
        padding: 40px 15px;
    }
    
    .contact-card {
        padding: 25px;
    }
    
    .contact-info-section .contact-value {
        font-size: 18px;
    }
    
    .form-left,
    .contact-form {
        padding: 30px 20px;
    }
    
    .captcha-row {
        flex-direction: column;
        align-items: stretch;
    }
    
    .captcha-img {
        width: 100%;
        height: 60px;
    }
    
    .map-placeholder {
        height: 300px;
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-card {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-icon {
        margin: 0 auto 15px;
    }
}