/* 版心：去掉 m 站 base.css 的 min-width:1200px，避免手机横向溢出 */
.m-contact .w80 {
    width: 92%;
    max-width: 1440px;
    min-width: 0;
    margin: 0 auto;
}

/* 提交按钮基类（m 站 .lx-btn 仅有 :hover，此处补齐红色 CTA，与全站风格一致） */
.m-contact .liuyan .liuyan-r form .lx-btn {
    display: block;
    width: 100%;
    margin-top: 16px;
    height: 56px;
    line-height: 56px;
    background: #d70c19;
    border: none;
    border-radius: 6px;
    color: #fff;
    font-family: 'myFont_M';
    font-size: 20px;
    cursor: pointer;
    transition: background .3s;
}
.m-contact .liuyan .liuyan-r form .lx-btn:hover {
    background: linear-gradient(to right, #fbe00e, #ffe400);
    color: #333;
}

/* 弹窗表单补充样式（m 站原始 CSS 中 .app_on / .grid-21 input / .tan-btn 缺失，此处补齐） */

/* 关闭按钮：定位到卡片右上角 */
.m-contact .app_on {
    position: absolute;
    top: 14px;
    right: 18px;
    z-index: 20;
    width: 34px;
    height: 34px;
    line-height: 34px;
    text-align: center;
    font-size: 22px;
    font-weight: bold;
    color: #fff !important;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 50%;
    cursor: pointer;
}
.m-contact .app_on:hover { background: rgba(215, 12, 25, 0.85); }

/* 弹窗输入框：白底圆角 */
.m-contact .grid-21 input[type="text"] {
    width: 100%;
    height: 52px;
    line-height: 52px;
    padding: 0 14px;
    box-sizing: border-box;
    border: 1px solid #e3c200;
    border-radius: 6px;
    background: #fff;
    font-size: 16px;
    color: #333;
    outline: none;
}
.m-contact .grid-21 input[type="text"]:focus { border-color: #d70c19; }

/* 弹窗提交按钮：同主表单红色 CTA */
.m-contact .tan-btn {
    display: block;
    width: 100%;
    margin: 22px auto 0;
    line-height: 60px;
    background: #d70c19;
    border: none;
    border-radius: 6px;
    color: #fff;
    font-family: 'myFont_M';
    font-size: 24px;
    cursor: pointer;
    transition: color .3s;
}
.m-contact .tan-btn:hover { color: #fbe00e; }

/* 地图容器（.contact_map 在 m 站无样式，这里补一个不自适应的包裹） */
.m-contact .contact_map {
    width: 100%;
    margin: 0 auto;
    background: #eef1f4;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}
.m-contact .contact_map iframe {
    display: block;
    width: 100%;
    height: 420px;
    border: 0;
}

/* 移动端：版块堆叠、表单改为整列，避免横向溢出 */
@media (max-width: 768px) {
    .m-contact .contact { padding: 90px 0 0 0; }
    .m-contact .contact .lx-box {
        flex-direction: column;
        height: auto;
    }
    .m-contact .contact .lx-t,
    .m-contact .contact .lx-l,
    .m-contact .contact .lx-r {
        width: 100%;
        height: auto;
    }
    .m-contact .liuyan .w80 {
        flex-direction: column;
    }
    .m-contact .liuyan .liuyan-l,
    .m-contact .liuyan .liuyan-r {
        width: 100%;
    }
    .m-contact .liuyan .liuyan-r form .flex {
        flex-direction: column;
    }
    .m-contact .liuyan .liuyan-r form .in-aft,
    .m-contact .in-wid {
        width: 100% !important;
    }
    .m-contact .contact_map iframe { height: 320px; }
    .m-contact .index_bj_box1 {
        width: 92%;
        max-width: 360px;
        height: auto;
        min-height: 460px;
        background-size: cover;
        background-position: center;
    }
    .m-contact .form-tan .tk-form {
        position: static;
        margin: 60px auto 0;
        width: 86%;
        left: auto;
        top: auto;
    }
    .m-contact .grid-21 { grid-template-columns: 1fr; }
    .m-contact .tan-btn { font-size: 20px; line-height: 52px; }
}
