/* ============================================
   hyfz.html 内容区域移动端自适应样式
   仅在 @media (max-width: 768px) 生效，不影响 PC 端
   导航栏和页脚的移动端样式由 /styles.css 统一处理
   ============================================ */

@media (max-width: 768px) {

    /* ---------- 基础容器 ---------- */
    html,
    body {
        overflow-x: hidden;
        width: 100%;
    }

    /* ---------- Banner ---------- */
    .banner {
        margin-top: 48px;
    }

    .banner .fengzhangbanneritem {
        height: 220px !important;
        padding-bottom: 15px !important;
        background-size: cover !important;
        background-position: center !important;
        justify-content: center !important;
    }

    .banner .fengzhangbanneritem .meiye-video {
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }

    .banner .fengzhangbanneritem .meiye-video video {
        width: 90% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        display: block !important;
    }

    /* ---------- 联系规划师 + 二维码弹层 ---------- */
    .content-item[style*="margin-top: 20px"],
    [onmouseover*="guihuacode"] {
        margin: 15px auto !important;
    }

    .guihuacode {
        position: static !important;
        width: 200px !important;
        margin: 10px auto 0 !important;
        left: auto !important;
        bottom: auto !important;
        z-index: auto !important;
    }

    /* ---------- 分流/分账/分税 三卡片（hy-way-item） ---------- */
    .content-item {
        width: 100% !important;
        max-width: 100% !important;
        margin: 20px auto !important;
        padding: 0 15px;
        box-sizing: border-box;
    }

    .way {
        flex-wrap: wrap !important;
        gap: 12px;
    }

    .way-item,
    .hy-way-item {
        width: 100% !important;
        padding: 25px 0 !important;
        margin-bottom: 0;
        position: static !important;
        top: 0 !important;
    }

    .way-img {
        height: 55px !important;
        margin-bottom: 15px !important;
    }

    .way-name {
        font-size: 18px !important;
        margin-bottom: 10px !important;
    }

    .way-des {
        font-size: 14px !important;
    }

    /* ---------- content 通用区块（1000px → 流式） ---------- */
    .content {
        width: 100% !important;
        max-width: 100% !important;
        margin: 25px auto !important;
        padding: 0 15px;
        box-sizing: border-box;
    }

    .main-title {
        font-size: 18px !important;
    }

    .title-des {
        font-size: 14px !important;
        line-height: 22px;
    }

    .content-main {
        margin-top: 20px !important;
        gap: 12px;
    }

    .content-main img {
        width: 100% !important;
    }

    /* ---------- qiye 区块 ---------- */
    .qiye {
        padding: 15px 0 !important;
    }

    .qiye .content-main img[style*="width: 65%"] {
        width: 90% !important;
    }

    /* ---------- 获取流程 process（绝对定位 → 纵向堆叠） ---------- */
    .content-main.process {
        position: relative !important;
        height: auto !important;
        min-height: 200px;
        flex-direction: column !important;
        gap: 20px;
        padding: 20px 0 !important;
    }

    .process-item {
        position: static !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        width: 100% !important;
        text-align: center;
        padding: 10px 0;
        border-bottom: 1px solid #eee;
    }

    .process-item p {
        font-size: 15px !important;
    }

    .process-item p[style*="font-size: 25px"] {
        font-size: 18px !important;
    }

    /* process 中的二维码弹层 */
    #addqscode {
        position: relative !important;
        display: none;
    }

    /* ---------- 应用领域 yy-item（flex → 纵向堆叠） ---------- */
    .content-main .yy-item {
        width: 100% !important;
        flex-direction: row !important;
        justify-content: space-around !important;
        align-items: center !important;
        margin-bottom: 12px !important;
    }

    .content-main .yy-item img {
        width: 60px !important;
    }

    .content-main .yy-item > div {
        font-size: 13px !important;
    }

    /* ---------- 右侧浮动栏（移动端隐藏，由公共页脚联系浮窗承担） ---------- */
    .right-box {
        display: none !important;
    }

    /* ---------- 弹窗表单 ---------- */
    .submit-con,
    .zl-con,
    .hz-con,
    .dz-con {
        width: 92vw !important;
        max-width: 375px;
        height: auto !important;
        min-height: 320px;
        box-sizing: border-box;
    }

    .zl-con {
        width: 92vw !important;
        margin-top: 20px !important;
    }

    .zl-con img {
        width: 100% !important;
    }

    .dz-con {
        width: 92vw !important;
        padding: 30px 15px 15px !important;
    }

    .dz-con .img {
        height: 200px !important;
    }

    .dz-con .img .qskuang {
        width: 180px !important;
        height: 180px !important;
    }

    .dz-con .img .qscode {
        width: 160px !important;
        height: 160px !important;
    }

    .hz-con {
        padding-top: 200px !important;
    }

    /* ---------- 旧页脚残留（footer-con → 流式纵向） ---------- */
    .footer-con-bg {
        padding: 10px 0 !important;
    }

    .footer-con {
        flex-direction: column !important;
        align-items: flex-start !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 15px !important;
        gap: 10px;
    }

    .footer-con-left,
    .footer-con-right {
        width: 100% !important;
    }

    .footer-con-right p,
    .footer-con-left p {
        font-size: 11px !important;
        line-height: 20px !important;
        text-align: left !important;
    }

}

/* 超小屏幕（≤480px）进一步压缩 */
@media (max-width: 480px) {
    .banner .fengzhangbanneritem {
        height: 180px !important;
    }

    .main-title {
        font-size: 16px !important;
    }

    .way-name {
        font-size: 16px !important;
    }
}
