/* 全局引入Font Awesome（如果项目已引入可省略） */
@import url('https://cdn.bootcdn.net/ajax/libs/font-awesome/6.4.0/css/all.min.css');

/* 整体容器 */
.consult-section {
    position: relative;
    padding: 80px 0;
    overflow: hidden;
    background: #f8fafc;
}

/* 背景遮罩 */
.bg-overlay {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.1;
}
.bg-overlay img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 内容容器 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 10;
}
.content-row {
    display: flex;
    flex-wrap: wrap;
    gap: 48px;
    align-items: flex-start;
}

/* ==================== 左侧：联系方式卡片 ==================== */
.contact-card {
    flex: 1;
    min-width: 320px;
    background: #ffffff;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
.card-title {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 32px;
}

/* 联系方式列表 */
.contact-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 32px;
}
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}
.item-icon {
    width: 48px;
    height: 48px;
    background: #dbeafe;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #2563eb;
}
.item-text {
    flex: 1;
}
.item-label {
    font-size: 14px;
    color: #64748b;
    margin: 0 0 4px;
}
.item-value {
    font-size: 16px;
    font-weight: 500;
    color: #1e293b;
    margin: 0;
    line-height: 1.5;
}

/* 关注我们 */
.follow-section {
    padding-top: 32px;
    border-top: 1px solid #f1f5f9;
}
.follow-label {
    font-size: 14px;
    color: #64748b;
    margin: 0 0 16px;
}
.social-list {
    display: flex;
    gap: 16px;
}
.social-item {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 18px;
    text-decoration: none;
    transition: all 0.3s ease;
}
.social-item.wechat {
    background: #22c55e;
}
.social-item.weibo {
    background: #ef4444;
}
.social-item.linkedin {
    background: #3b82f6;
}
.social-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* ==================== 右侧：预约咨询表单 ==================== */
.form-card {
    flex: 1;
    min-width: 320px;
    background: linear-gradient(to bottom right, #2563eb, #0891b2);
    border-radius: 16px;
    padding: 32px;
    color: #ffffff;
}
.form-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 32px;
}

/* 表单样式 */
.consult-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.form-row {
    display: flex;
    gap: 24px;
}
.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.form-label {
    font-size: 14px;
    color: rgba(255,255,255,0.8);
}
.form-input,
.form-textarea {
    padding: 12px 16px;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 12px;
    color: #ffffff;
    font-size: 16px;
    transition: all 0.3s ease;
}
.form-input::placeholder,
.form-textarea::placeholder {
    color: rgba(255,255,255,0.5);
}
.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: rgba(255,255,255,0.6);
    box-shadow: 0 0 0 3px rgba(255,255,255,0.2);
}
.form-textarea {
    min-height: 128px;
    resize: vertical;
}

/* 提交按钮 */
.submit-btn {
    padding: 16px;
    background: #ffffff;
    color: #2563eb;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.submit-btn:hover {
    background: #f1f5f9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.submit-btn svg {
    width: 20px;
    height: 20px;
}

/* ==================== 手机端响应式适配 ==================== */
@media (max-width: 768px) {
    .consult-section {
        padding: 48px 0;
    }
    .content-row {
        flex-direction: column;
        gap: 32px;
    }
    .form-row {
        flex-direction: column;
        gap: 16px;
    }
    .card-title,
    .form-title {
        font-size: 20px;
    }
    .item-value {
        font-size: 14px;
    }
}
/* ==================== 模块6 ==================== */
