        /* 模态框样式 - 颜色已改为 #e31e24 */
        .consult-modal, .compare-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0,0,0,0.7);
            z-index: 9999;
            justify-content: center;
            align-items: center;
            opacity: 0;
            transition: opacity 0.3s ease;
        }
        .consult-modal.show, .compare-modal.show {
            display: flex;
            opacity: 1;
        }
        .modal-container {
            background: #fff;
            width: 90%;
            max-width: 600px;
            max-height: 85vh;
     
            overflow-y: auto;
            position: relative;
            padding: 30px 25px;
            box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
            animation: modalFadeIn 0.3s;
        }
        .compare-modal .modal-container {
            max-width: 1200px;
            max-height: 90vh;
        }
        @keyframes modalFadeIn {
            from { transform: translateY(-30px); opacity: 0; }
            to { transform: translateY(0); opacity: 1; }
        }
        .modal-close {
            position: absolute;
            top: 8px;
            right: 20px;
            font-size: 28px;
            cursor: pointer;
            color: #666;
            transition: color 0.2s;
            line-height: 1;
        }
        .modal-close:hover { color: #e31e24; }
        
        /* 表单样式 - 主色改为 #e31e24 */
        .consult-modal .contact-form h2 {
            font-size: 26px;
            margin-bottom: 20px;
            color: #1e3c72;
            border-left: 4px solid #e31e24;
            padding-left: 15px;
        }
        .consult-modal .form-group {
            margin-bottom: 18px;
        }
        .consult-modal label {
            font-weight: 600;
            display: block;
            margin-bottom: 6px;
            color: #2c3e50;
        }
        .consult-modal .form-control {
            width: 100%;
            padding: 12px 15px;
            border: 1px solid #ddd;
          
            font-size: 15px;
            transition: 0.2s;
        }
        .consult-modal .form-control:focus {
            border-color: #e31e24;
            outline: none;
            box-shadow: 0 0 0 2px rgba(227,30,36,0.2);
        }
        .consult-modal .submit-btn {
            background: #e31e24;
            color: #fff;
            border: none;
            padding: 12px 28px;
          
            font-weight: bold;
            font-size: 16px;
            cursor: pointer;
            transition: 0.2s;
            width: 100%;
        }
        .consult-modal .submit-btn:hover {
            background: #c41a1f;
            transform: translateY(-2px);
        }
        .form-message {
            margin-top: 15px;
            padding: 10px;
           
            text-align: center;
            font-size: 14px;
        }
        .form-message.success { background: #d4edda; color: #155724; }
        .form-message.error { background: #f8d7da; color: #721c24; }
        
      