/* ============================================================
   mobile.css — 移动端兼容样式
   ------------------------------------------------------------
   设计原则：
   1. 所有规则均包裹在媒体查询内，桌面端（>=993px）样式完全不受影响；
   2. 断点：<=992px 平板、<=767px 手机、<=480px 小屏手机；
   3. 仅做布局适配与字号/间距缩放，不改动任何视觉风格与配色。
   ============================================================ */

/* ================== 平板及以下（<=992px） ================== */
@media (max-width: 992px) {

    /* 通用：防止图片横向撑破容器 */
    img {
        max-width: 100%;
    }

    /* 固定 1220px 宽容器 -> 自适应 */
    .product-wrap,
    .stats-card,
    .sol-grid,
    .ui_list .list,
    .inner-container,
    .nav-list {
        width: 100%;
        box-sizing: border-box;
    }

    .product-wrap {
        padding-left: 20px;
        padding-right: 20px;
    }



    .sol-grid {
        padding-left: 20px;
        padding-right: 20px;
    }

    .ui_list .list {
        padding-left: 20px;
        padding-right: 20px;
    }

    .inner-container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .nav-list {
        padding-left: 20px;
        padding-right: 20px;
    }

    /* 多列网格降为 2 列 */
    .product-lists {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 30px 20px !important;
    }

    .adv-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px;
    }

    /* 统计卡上移量收窄，避免遮挡 banner */
    .stats {
        margin-top: -20px;
    }

    /* 首页 Banner 单列居中 */
    .head-banner .title_inner {
        grid-template-columns: 1fr;
        padding: 48px 24px 56px;
        text-align: center;
    }

    .head-banner .title_inner h1 {
        font-size: 34px;
    }

    .head-banner .title_inner p {
        font-size: 16px;
        line-height: 28px;
        margin: 18px auto;
    }

    .head-banner .title_inner .banner-btn {
        justify-content: center;
    }

    .float-ul {
        justify-content: center;
    }

    .hero-visual {
        height: 380px;
    }

    /* 内页 Banner 标题缩小 */
    .inner-title {
        font-size: 28px;
        letter-spacing: 2px;
    }

    .inner-tip p {
        font-size: 14px;
    }

    /* 合作流程：横向 flex 改 3 列网格 */
    .hzcard-box {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 18px 14px;
        margin-bottom: 0;
    }

    .hz-item {
        width: 100%;
        height: auto;
        padding-bottom: 16px;
    }

    /* 箭头与序号移入卡片内部 */
    .hz-item-text::before {
        display: none;
    }

    .hz-num {
        top: 10px;
        right: 10px;
        left: auto;
        bottom: auto;
        transform: none;
        width: 24px;
        height: 24px;
        line-height: 24px;
        font-size: 13px;
    }

    .hzline {
        display: none;
    }
}

/* 响应式菜单样式 */
@media screen and (max-width: 768px) {
    .header-top {
        height: 60px;
    }

    .stats-card {
        width: calc(100% - 32px);
        box-sizing: border-box;

        padding: 20px 8px;
    }

    .stat .num {
        font-size: 24px;
    }

    /* 调整header-box在移动端的宽度 */
    .header-box {
        width: 100%;
        height: 60px;
        padding: 0 15px;
        box-sizing: border-box;
    }

    .chat-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .menu-list {
        position: fixed;
        top: 0;
        right: -100%;
        /* 初始隐藏在右侧 */
        width: 50%;
        background: #fff !important;
        z-index: 1000;
        transition: right 0.3s ease;
        padding-top: 0;
        overflow-y: auto;
        display: flex;
        flex-direction: column;
    }

    .menu-list.chat-menu-open {
        right: 0;
        /* 打开菜单 */
    }

    .code-img {
        display: none;
    }

    .menu-list .menu-item {
        display: block;
        margin: 0;
        text-align: center;
        border-bottom: 1px solid #e6e6e6;
        font-size: 18px;
        line-height: 1.1;
        max-height: 68px;
        display: flex;
        align-items: center;
        width: 100% !important;
        gap: 0px !important;
    }

    .menu-list .menu-item a {
        display: block;
        width: 100%;
        text-decoration: none;
    }

    .menu-list .menu-item.active a {
        color: #0071ef !important;
    }

    /* 菜单背景遮罩 */
    .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
        display: none;
    }

    .menu-overlay.active {
        display: block;
    }

    .head-banner {
        height: auto;
        width: 100%;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        padding: 60px 0;
    }

    .hero-visual {
        height: 420px;
    }

    .hero h1 {
        font-size: 34px;
    }


    html {
        -webkit-text-size-adjust: 100%;
    }

    .header-box .logo {
        width: auto;
        height: 50px;
    }


    /* 侧滑菜单细节修正 */
    .menu-list {
        top: 0;
        margin-top: 0;
        height: 100% !important;
        padding: 56px 0 24px;
        gap: 0px !important;
    }


    .menu-right .tel-phone img {
        width: 20px;
        height: 20px;
    }

    .menu-right .tel-phone span {
        font-size: 15px;
    }

    /* ---------- 首页 Banner ---------- */
    .head-banner .title_inner {
        width: 100%;
        padding: 36px 20px 40px;
    }

    .head-banner .title_inner h1 {
        font-size: 22px;
        letter-spacing: 0;
        word-break: break-word;
    }

    .head-banner .title_inner p {
        font-size: 14px;
        line-height: 24px;
        margin: 14px auto;
        letter-spacing: 1px;
    }

    .head-banner .title_inner .banner-btn {
        gap: 16px;
        margin-top: 22px;
    }

    .float-ul {
        flex-wrap: wrap;
        gap: 10px 18px;
        margin-bottom: 0;
    }

    .float-card {
        font-size: 13px;
    }

    .float-card span svg {
        width: 18px;
        height: 18px;
        display: none;
    }

    .hero-visual {
        height: 240px;
        margin-top: 16px;
    }

    .hero-visual .phone {
        width: 130px;
        height: auto;
        border-radius: 20px;
    }

    .orbit.o1 {
        width: 280px;
        height: 280px;
    }

    .orbit.o2 {
        width: 180px;
        height: 180px;
    }

    /* ---------- 区块标题 ---------- */
    .title-div {
        margin-bottom: 20px;
    }

    .title-div .tag {
        font-size: 22px;
        letter-spacing: 2px;
    }

    .title-div .h2-title {
        font-size: 23px;
    }

    .title-div .sub-text {
        font-size: 13px;
        margin-top: 8px;
    }

    /* ---------- 核心业务 ---------- */
    .product-wrap {
        padding: 36px 16px;
    }

    .product-item img {
        width: 50px;
        height: 50px;
        margin-bottom: 12px;
    }

    .product-item h4 {
        font-size: 17px;
        letter-spacing: 1px;
        margin-bottom: 10px;
    }

    .product-item .info-text {
        font-size: 13px;
        line-height: 22px;
    }

    .product-wrap .live-btn-group {
        margin: 32px 0;
    }

    /* ---------- 解决方案 ---------- */
    .index-solution {
        padding: 40px 0;
    }

    .sol-grid {
        grid-template-columns: repeat(1, 1fr) !important;
        padding: 0 16px;
        gap: 16px;
    }

    .sthumb {
        height: 170px;
    }

    .sbody {
        padding: 16px 16px 18px;
    }

    .sbody h4 {
        font-size: 16px;
    }

    .filter {
        gap: 8px;
        margin-bottom: 28px;
        padding: 0 16px;
    }

    .filter button {
        padding: 7px 15px;
        font-size: 13px;
    }

    .index-zixun {
        margin-top: 26px;
    }

    /* ---------- 公司优势 ---------- */
    .adv {
        padding: 40px 0;
    }

    .adv-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .acard {
        padding: 22px 18px;
    }

    .aico {
        width: 44px;
        height: 44px;
        border-radius: 12px;
        margin-bottom: 14px;
    }

    .acard h4 {
        font-size: 16px;
    }

    .acard p {
        font-size: 13px;
    }

    /* ---------- 关于我们（首页区块） ---------- */
    .about-container {
        padding-bottom: 40px;
    }

    .about-info {
        flex-direction: column;
        gap: 22px;
        padding: 0 16px;
        box-sizing: border-box;
    }

    .about-left .about-h2 {
        font-size: 23px;
        margin: 12px 0 14px;
    }

    .about-left .about-p {
        font-size: 14px;
        line-height: 26px;
    }

    .about-points {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        margin: 16px 0 22px;
    }

    .about-points li {
        font-size: 13px;
    }

    .about-right img {
        height: 220px;
        border-radius: 14px;
    }

    .more-btn {
        padding: 12px 24px;
        font-size: 14px;
    }

    /* ---------- 按钮通用 ---------- */
    .zixun-btn {
        padding: 12px 24px;
        font-size: 14px;
    }

    /* ---------- 内页 Banner ---------- */
    .inner-banner {
        height: 210px;
    }

    .inner-tip {
        width: 100%;
        padding: 0 20px;
        box-sizing: border-box;
    }

    .inner-title {
        font-size: 22px;
        letter-spacing: 1px;
        margin-bottom: 10px;
    }

    .inner-tip p {
        font-size: 12px;
        line-height: 20px;
        letter-spacing: 0.5px;
    }

    .inner-bg {
        padding: 36px 0;
    }

    /* ---------- 业务范围列表 ---------- */
    .ui_list {
        margin-bottom: 40px;
    }

    .ui_list .list {
        padding: 28px 20px;
        border-radius: 16px;
    }

    .list.odd {
        padding: 28px 20px;
    }

    .list-warp {
        flex-direction: column;
        gap: 22px;
    }

    /* 图片统一置于文本上方 */
    .list-warp .img1 {
        order: -1;
        width: 100%;
    }

    .list-warp .img1 img {
        width: 100% !important;
        height: auto !important;
        max-height: 220px;
        border-radius: 14px;
    }

    .list .list-warp .cell h2 {
        font-size: 24px;
        letter-spacing: 2px;
        white-space: normal;
    }

    .list .list-warp .cell label {
        margin: 14px 0;
    }

    .list .list-warp .cell p {
        font-size: 14px;
        line-height: 24px;
    }

    .list .list-warp .cell ul {
        margin: 20px 0;
    }

    .list .list-warp .cell ul li {
        width: 50%;
        white-space: normal;
        line-height: 32px;
        font-size: 14px;
    }

    /* ---------- 联系我们 ---------- */
    .contact-container {
        flex-direction: column;
        gap: 22px;
        padding: 28px 20px;
        border-radius: 20px;
    }

    .contact-info h2 {
        font-size: 26px;
        margin-bottom: 18px;
    }

    .contact-info .text-address {
        font-size: 14px;
        margin-bottom: 12px;
    }

    .code-img img {
        width: 130px;
    }

    .contact-map img {
        width: 100%;
        height: auto !important;
    }

    .inner-container .inner-h2 {
        font-size: 26px;
    }

    .inner-container .inner-subtitle {
        font-size: 14px;
        margin-bottom: 24px;
    }

    .address_box {
        padding: 24px 16px 0;
    }

    .address_warp {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .address_box .text-address {
        font-size: 14px;
    }

    /* ---------- 关于页 ---------- */
    .about-content {
        padding: 0 16px;
    }

    .about-content img {
        height: auto !important;
    }

    .mvv {
        padding: 44px 0;
    }

    .mvv-card {
        padding: 26px 20px;
    }

    .hz-container {
        padding: 40px 0;
    }

    .hzcard-box {
        grid-template-columns: repeat(2, 1fr);
    }

    /* ---------- 底部 CTA ---------- */
    .bottom-warp {
        padding: 40px 20px;
    }

    .bottom-warp .footer-h2 {
        font-size: 24px;
    }

    .bottom-warp .footer-p {
        font-size: 14px;
        margin: 10px 0 24px;
    }

    .bottom-footer .b1 {
        width: 280px;
        height: 280px;
    }

    .bottom-footer .b2 {
        width: 240px;
        height: 240px;
    }

    /* ---------- 页脚 ---------- */
    .footer-box {
        width: 100% !important;
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 24px 16px;
        padding: 36px 16px 20px;
        box-sizing: border-box;
    }

    .footer-box .menu-item {
        flex: 1;
    }

    .footer-box .menu-item .title {
        font-size: 15px;
        margin-bottom: 12px;
    }

    .footer-box .menu-item .menu-link a {
        font-size: 13px;
        margin-bottom: 10px;
    }

    .footer-box .phone-text {
        font-size: 21px;
    }

    .footer-box .code-pic {
        width: 90px;
        height: 90px;
    }

    .copy-box {
        font-size: 12px;
        padding: 14px 10px;
        text-align: center;
    }

    /* ---------- 咨询弹窗 ---------- */
    .contactUs_warpper .concat_inner {
        width: 88%;
        max-width: 360px;
        height: auto;
        min-height: 400px;
        padding: 24px 18px;
        box-sizing: border-box;
    }

    .contactUs_warpper .concat_inner .title {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .contactUs_warpper .concat_inner .customWx img {
        width: 100%;
        max-width: 250px;
        height: auto;
    }

    .contactUs_warpper .concat_inner .saomiao {
        font-size: 14px;
    }

    /* ---------- index1 老版首页兼容 ---------- */
    .product_ul {
        width: 100%;
        flex-wrap: wrap;
        gap: 14px;
        padding: 0 16px;
        box-sizing: border-box;
    }

    .product_ul .product_li {
        width: calc(50% - 7px);
    }

    .nav-list {
        flex-wrap: wrap;
        gap: 18px 0;
        padding: 24px 16px;
    }

    .nav-item {
        min-width: 32%;
    }

    .nav-h2 {
        font-size: 20px;
    }

    .stat:last-child {
        display: none;
    }

    .stat .lbl {
        font-size: 13px !important;
    }

    /* ---------- 解决方案筛选容器（备用） ---------- */
    .solution-warp {
        padding: 16px;
    }

    .solution-warp .li-warp {
        flex-direction: column;
        gap: 6px;
    }

    .solution-warp .li-warp h4 {
        margin-right: 0;
    }

    /* ---------- 通用 ---------- */
    .wrap {
        padding: 40px 0;
    }
}