/* ====== 联系我们独享样式 ====== */
.contact-hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.08) 0%, rgba(0, 160, 233, 0.04) 100%);
    padding-top: 40px;
}

.contact-hero-content {
    max-width: 900px;
    position: relative;
    z-index: 2;
    text-align: center;
    margin: 0 auto;
}

.contact-hero h1 {
    font-size: 4.2rem;
    margin-bottom: 30px;
}

.contact-hero p {
    font-size: 1.4rem;
    margin-bottom: 40px;
    color: var(--gray-color);
}

/* ====== 联系方式板块 ====== */
.contact-methods {
    position: relative;
    background: white;
    border-radius: var(--border-radius);
    padding: 70px;
    box-shadow: var(--box-shadow);
    margin-bottom: 80px;
}

.contact-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.contact-header h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.contact-header p {
    font-size: 1.25rem;
    color: var(--gray-color);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.contact-card {
    background: rgba(0, 102, 204, 0.03);
    border-radius: var(--border-radius);
    padding: 40px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(0, 102, 204, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 102, 204, 0.12);
    border-color: rgba(0, 102, 204, 0.2);
    background: rgba(0, 102, 204, 0.05);
}

.contact-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 2.2rem;
    color: white;
}

.contact-icon.email {
    background: var(--gradient-primary);
}

.contact-icon.telegram {
    background: var(--telegram-color);
}

.contact-icon.whatsapp {
    background: var(--whatsapp-color);
}

.contact-icon.phone {
    background: var(--gradient-secondary);
}

.contact-icon.address {
    background: var(--gradient-accent);
}

.contact-card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.contact-card p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: var(--gray-color);
    line-height: 1.7;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    margin-top: auto;
}

.contact-link:hover {
    color: var(--secondary-color);
    transform: translateX(-5px);
}

/* ====== 微信二维码板块 ====== */
.wechat-section {
    position: relative;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.05) 0%, rgba(0, 160, 233, 0.02) 100%);
    border-radius: var(--border-radius);
    padding: 80px 40px;
    text-align: center;
    margin-bottom: 80px;
}

.wechat-container {
    max-width: 800px;
    margin: 0 auto;
}

.wechat-header {
    margin-bottom: 50px;
}

.wechat-header h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.wechat-header p {
    font-size: 1.3rem;
    color: var(--gray-color);
    max-width: 600px;
    margin: 0 auto;
}

.wechat-qr-large {
    margin: 0 auto 40px;
    max-width: 300px;
}

.wechat-qr-large img {
    width: 100%;
    border-radius: var(--border-radius);
    border: 1px solid rgba(0, 102, 204, 0.2);
    background: white;
    padding: 20px;
    box-shadow: 0 15px 40px rgba(0, 102, 204, 0.1);
}

.wechat-instructions {
    background: white;
    border-radius: var(--border-radius);
    padding: 30px;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: var(--box-shadow);
}

.wechat-instructions h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.wechat-instructions ol {
    text-align: right;
    margin-right: 20px;
    color: var(--gray-color);
    font-size: 1.1rem;
    line-height: 1.8;
}

.wechat-instructions li {
    margin-bottom: 15px;
    padding-right: 10px;
}

/* ====== 工作时间板块 ====== */
.business-hours {
    position: relative;
    background: white;
    border-radius: var(--border-radius);
    padding: 60px;
    box-shadow: var(--box-shadow);
    margin-bottom: 80px;
}

.hours-header {
    text-align: center;
    margin-bottom: 50px;
}

.hours-header h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hours-header p {
    font-size: 1.25rem;
    color: var(--gray-color);
    max-width: 700px;
    margin: 0 auto;
}

.hours-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.hour-card {
    background: rgba(0, 102, 204, 0.03);
    border-radius: var(--border-radius);
    padding: 35px 25px;
    text-align: center;
    border: 1px solid rgba(0, 102, 204, 0.1);
    transition: var(--transition);
}

.hour-card:hover {
    background: rgba(0, 102, 204, 0.06);
    border-color: rgba(0, 102, 204, 0.2);
    transform: translateY(-5px);
}

.hour-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.hour-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.hour-card p {
    font-size: 1.1rem;
    color: var(--gray-color);
    margin-bottom: 0;
}

/* ====== CTA板块 ====== */
.contact-cta {
    position: relative;
    background: var(--gradient-primary);
    color: white;
    text-align: center;
    border-radius: var(--border-radius);
    padding: 80px 40px;
    margin-bottom: 80px;
    overflow: hidden;
}

.contact-cta:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="none"/><circle cx="50" cy="50" r="40" fill="white" opacity="0.05"/></svg>');
    background-size: 200px;
    opacity: 0.5;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.contact-cta h2 {
    color: white;
    margin-bottom: 30px;
}

.contact-cta p {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 50px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.contact-cta .btn {
    background: white;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.1rem;
    padding: 20px 45px;
}

.contact-cta .btn:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-5px);
}

/* ====== 联系我们页面独享的响应式设计 ====== */
@media (max-width: 1200px) {
    .contact-hero h1 {
        font-size: 3.5rem;
    }
    
    .contact-methods, .business-hours {
        padding: 50px;
    }
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .hours-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-methods, .business-hours, .wechat-section, .contact-cta {
        padding: 40px 30px;
    }
}

@media (max-width: 768px) {
    .contact-hero h1 {
        font-size: 2.8rem;
    }
    
    .contact-hero p {
        font-size: 1.2rem;
    }
    
    .contact-card {
        padding: 30px 20px;
    }
    
    .hours-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-cta .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .wechat-qr-large {
        max-width: 250px;
    }
}

@media (max-width: 480px) {
    .contact-hero h1 {
        font-size: 2.2rem;
    }

    
    .contact-header h2, .wechat-header h2, .hours-header h2 {
        font-size: 1.8rem;
    }
    
    .contact-card h3 {
        font-size: 1.5rem;
    }
    
    .contact-methods, .business-hours, .wechat-section, .contact-cta {
        padding: 30px 20px;
    }
}