.quote-main-wrapper { 
    max-width: 1600px; 
    margin: 0 auto; 
    padding: 60px 20px;
    /* 【修改】最外层容器继承全站主字体 */
    font-family: inherit;
}

/* 核心修改：使用 Grid 网格布局锁定物理比例 */
.quote-container { 
    display: grid; 
    grid-template-columns: 4fr 6fr; /* 严格按照 4:6 比例划分左右宽度 */
    gap: 60px; 
    align-items: start; 
}

/* 移动端适配：屏幕小于1024px时，变为单列上下堆叠 */
@media (max-width: 1024px) { 
    .quote-container { 
        grid-template-columns: 1fr; 
    } 
}

.custom-quote-form .form-group { 
    margin-bottom: 25px; 
}

/* 输入框和文本域的基础样式 */
.custom-quote-form input[type="text"],
.custom-quote-form input[type="email"],
.custom-quote-form textarea {
    width: 100%; 
    padding: 14px; 
    border: 1px solid #ddd; 
    border-radius: 0; /* 修改：将 4px 改为 0 (直角) */
    background: #fcfcfc; 
    font-size: 16px; 
    box-sizing: border-box;
    color: #666666; /* 输入内容的字体颜色 */
    resize: none; /* <--- 新增这一行：彻底禁止右下角的拖动缩放 */
    font-family: inherit; /* 输入框内也继承主字体 */
}

/* 1. 用户自己输入文字时的颜色（深色，清晰可见） */
.custom-quote-form input[type="text"],
.custom-quote-form input[type="email"],
.custom-quote-form textarea {
    color: #333333; 
}

/* 2. 框内提示文字 Placeholder 的样式（浅色、不加粗，起辅助作用） */
.custom-quote-form input::placeholder,
.custom-quote-form textarea::placeholder {
    color: #999999; 
    font-weight: 400; 
    text-transform: none; 
    opacity: 1; 
}

/* 3. 输入框被鼠标点击聚焦时的外框颜色变化 */
.custom-quote-form input:focus, 
.custom-quote-form textarea:focus { 
    border-color: #222; 
    outline: none; 
}

/* 按钮部分 */
.btn-get-quote {
    background-color: #1a1a1a; /* 黑色背景 */
    color: #ffffff; 
    font-size: 18px; 
    font-weight: 500; 
    padding: 14px 36px; 
    border: none; 
    border-radius: 0; /* 直角 */
    cursor: pointer; 
    display: inline-block; 
    transition: all 0.3s ease;
    font-family: inherit;
}

.btn-get-quote:hover { 
    background-color: #0056B3; /* 鼠标滑动变蓝 */
}

@media (max-width: 768px) {
    /* 1. 缩小最外层的上下留白 */
    .quote-main-wrapper {
        padding: 25px 15px !important; 
    }
    
    /* 2. 将变为单列后的左右/上下大区块网格间距缩小 */
    .quote-container {
        gap: 25px !important; 
    }
    
    /* 3. 同步手机端的大标题字号 */
    .mx-quote-sidebar h1 {
        font-size: 24px !important;
        color: #222222 !important;
        margin-bottom: 15px !important; 
    }
    
    /* 4. 【核心修复】精准统一描述文案、优势列表、专家名片的下方间距 */
    .mx-quote-desc {
        font-size: 14px !important;
        margin-bottom: 25px !important; 
    }

    .mx-trust-features {
        gap: 15px !important; /* 手机端内部列表稍微缩紧 */
        margin-bottom: 25px !important;
    }

    .mx-expert-profile {
        padding: 15px !important;
        margin-bottom: 25px !important;
    }

    /* 5. 表单单列显示 */
    .custom-quote-form .form-grid {
        grid-template-columns: 1fr !important; 
        gap: 0 !important; 
    }
    
    .custom-quote-form .form-grid .form-group {
        margin-bottom: 20px !important; 
    }

    /* 6. 按钮全宽居中 */
    .btn-get-quote {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}

/* --- MX Quote Sidebar Layout & Typography --- */
.mx-quote-sidebar {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.mx-quote-sidebar h1 {
    font-size: 32px;
    color: #222222;
    margin-bottom: 15px;
    font-family: inherit;
}

.mx-quote-desc {
    font-size: 14px;
    color: #666666;
    line-height: 1.6;
    margin-bottom: 30px;
    font-family: inherit;
}

/* --- Trust Features (优势列表) --- */
.mx-trust-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.mx-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.mx-feature-item svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    margin-top: 2px;
}

.mx-feature-item div {
    display: flex;
    flex-direction: column;
}

.mx-feature-item strong {
    font-size: 15px;
    color: #222222;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mx-feature-item span {
    font-size: 13px;
    color: #666666;
    line-height: 1.5;
}

/* --- Expert Profile (高冷版专家名片) --- */
.mx-expert-profile {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background-color: #fcfcfc;
    border: 1px solid #ddd;
    border-left: 4px solid #1a1a1a; /* 核心：左侧加粗黑边，提升工业硬朗感 */
    margin-bottom: 25px;
}

/* --- 专家头像 (适配真实图片) --- */
.mx-expert-avatar {
    width: 60px;  /* 增大到 60px，与右侧产品缩略图尺寸完美对称 */
    height: 60px;
    flex-shrink: 0;
    border-radius: 50%; /* 将原来的 0 改成了 50% */
    background-color: #f0f0f0; /* 图片加载前的底色 */
    overflow: hidden; /* 确保图片不溢出直角边框 */
    border: 1px solid #eee; /* 加一层极细的边框让头像更立体 */
}

.mx-expert-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 保证头像比例完美填充且不变形 */
    display: block;
    /* 配合你的高对比度主题，可加一个极轻微的灰度过渡，不加也可 */
    /* filter: grayscale(20%); */ 
}

.mx-expert-details {
    display: flex;
    flex-direction: column;
}

.mx-expert-details h4 {
    margin: 0 0 4px 0;
    font-size: 16px;
    color: #222222;
    font-family: inherit;
}

.mx-expert-details p {
    margin: 0 0 8px 0;
    font-size: 12px;
    color: #999999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mx-expert-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.mx-expert-link:hover {
    color: #0056B3; /* 联动你右侧 Submit 按钮的悬停蓝色 */
}

/* --- Certifications (底部灰度资质图标阵列) --- */
.mx-sidebar-certs {
    display: flex;
    flex-wrap: wrap;
    align-items: center; /* 确保图标在同一水平线上绝对居中对齐 */
    gap: 15px; /* 给图标之间留出呼吸空间 */
    border-top: 1px dashed #ddd;
    padding-top: 20px;
}

.mx-cert-icon {
    height: 32px; /* 统一限制高度，宽度自适应，维持整体阵列的整齐度 */
    width: auto;
    object-fit: contain;
    /* 核心处理：100% 灰度 + 60% 不透明度，让它们在底部安静地做背书，不抢表单视觉 */
    filter: grayscale(100%) opacity(0.6); 
    transition: all 0.3s ease;
    cursor: pointer;
}

/* 鼠标悬停时的微交互：褪去灰度，恢复全彩和 100% 亮度 */
.mx-cert-icon:hover {
    filter: grayscale(0%) opacity(1);
}