/* 主体区域背景 */
.contact-page-section {
    background-color: #f7f8fa; /* 浅灰背景，突显白卡片 */
    padding: 80px 0;
}

/* 网格布局：3列 */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* 卡片通用样式 */
.contact-card {
    background: #fff;
    padding: 50px 40px;
    border-radius: 12px; /* 圆角 */
    transition: all 0.3s ease;
    border: 1px solid transparent; /* 预留边框位置 */
    height: 100%; /* 等高 */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* 悬停效果：上浮 + 阴影 */
.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(8, 165, 87, 0.1); /* 绿色系淡淡的阴影 */
    border-color: rgba(8, 165, 87, 0.1);
}

/* 图标 */
.contact-icon {
    /* font-size: 48px; */
    color: var(--brand-color); /* 你的品牌绿 */
    margin-bottom: 25px;
}

/* 标题 */
.contact-title {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}

/* 短横线装饰 */
.contact-line {
    width: 30px;
    height: 4px;
    background-color: var(--brand-color);
    margin-bottom: 25px;
}

/* 内容文本 */
.contact-text-p {
    font-size: 16px;
    color: #666;
    line-height: 30px;
    margin-bottom: 5px;
}

/* 强调数字 */
.contact-num {
    font-size: 24px;
    font-weight: bold;
    color: var(--brand-color);
    font-family: Arial, sans-serif;
}

/* --- 第三个卡片特殊处理 (左右布局) --- */
.contact-card-row {
    flex-direction: row; /* 改为横向 */
    align-items: center;
    justify-content: space-between;
}
.wechat-left {
    flex: 1;
}
.wechat-qr {
    width: 120px;
    height: 120px;
    flex-shrink: 0; /* 防止图片被挤压 */
    margin-left: 20px;
    padding: 5px;
    border: 1px solid #eee;
}
.contact-icon .iconfont{
    font-size: 30px;
}

/* === 响应式适配 === */
@media (max-width: 991.98px) {
    .page-banner { height: 200px; }
    .contact-page-section { padding: 40px 0; }
    
    /* 手机端改为单列 */
    .contact-grid {
        grid-template-columns: 1fr; 
        gap: 20px;
    }
    
    .contact-card {
        padding: 30px;
        text-align: center; /* 手机端居中对齐更好看 */
        align-items: center;
    }
    
    /* 手机端横线也居中 */
    .contact-line { margin: 0 auto 20px; }

    /* 微信卡片在手机端也改为竖排 */
    .contact-card-row {
        flex-direction: column;
        text-align: center;
    }
    .wechat-qr { margin-left: 0; margin-top: 20px; }
}