/* ========== 全局基础自适应 ========== */
@media (max-width: 1100px) {
    :root {
        --font1: 14px;
    }

    h1 { font-size: 28px; }
    h2 { font-size: 24px; }
    h3 { font-size: 22px; }
    h3.num { font-size: 30px; }
    h4 { font-size: 20px; }
    h5 { font-size: 16px; }

    .cont {
        width: 94%;
    }

    .padding {
        padding: 48px 0;
    }

    .inx-tit {
        font-size: 22px;
        padding-left: 14px;
    }

    .inx-tit::after {
        width: 4px;
    }

    .btn-box {
        padding: 8px 8px 8px 16px;
        border-radius: 999px;
    }

    .btn-box p {
        font-size: 14px;
        margin-right: 8px;
    }

    .btn-box .ico-box {
        width: 32px;
        height: 32px;
        min-width: 32px;
        min-height: 32px;
    }

    .btn-box .ico-box svg {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 480px) {
    :root {
        --font1: 13px;
    }

    h1 { font-size: 24px; }
    h2 { font-size: 22px; }
    h3 { font-size: 20px; }
    h4 { font-size: 18px; }

    .cont {
        width: 92%;
    }

    .padding {
        padding: 36px 0;
    }

    .inx-tit {
        font-size: 20px;
    }
}

/* ========== 头部导航 ========== */
@media (max-width: 1100px) {
    .site-header.is-scrolled .header-inner {
        min-height: 52px;
    }

    .site-header .header-center {
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .site-header .nav-list li {
        margin: 0;
        width: 100%;
    }

    .site-header .nav-link {
        text-transform: none;
    }

    .site-header .tool-lang-menu {
        position: fixed;
        top: auto;
        bottom: max(16px, env(safe-area-inset-bottom));
        left: 50%;
        right: auto;
        transform: translateX(-50%) translateY(8px);
        min-width: 200px;
    }

    .site-header .tool-lang-wrap.is-open .tool-lang-menu {
        transform: translateX(-50%) translateY(0);
    }
}

@media (max-width: 480px) {
    .site-header .logo {
        height: 22px;
    }

    .site-header .tool {
        min-width: 32px;
        min-height: 32px;
        padding: 5px;
    }

    .site-header .tool svg {
        width: 18px;
        height: 18px;
        min-width: 18px;
        min-height: 18px;
    }

    .site-header .nav-toggle {
        width: 32px;
        height: 32px;
    }

    .site-header .nav-link {
        padding: 13px 14px;
        font-size: 15px;
    }
}

body:has(.site-header.menu-open) {
    overflow: hidden;
}

/* ========== 首页 Banner ========== */
@media (max-width: 1100px) {
    .inx-01 .swiper-slide {
        align-items: flex-end;
        padding: 96px 4% 48px;
        min-height: 100svh;
    }

    .inx-01 .swiper,
    .inx-01 .swiper-wrapper {
        min-height: 100svh;
    }

    .inx-01 .swiper-slide .info-txt {
        width: 100%;
        max-width: none;
    }

    .inx-01 .swiper-slide .info-txt h3 {
        font-size: 26px;
        line-height: 1.35;
    }

    .inx-01 .swiper-slide .info-txt h4 {
        font-size: 15px;
        margin-top: 10px;
        line-height: 1.5;
    }

    .inx-01 .swiper-slide .btn-box {
        margin-top: 18px;
    }
}

@media (max-width: 480px) {
    .inx-01 .swiper-slide {
        padding-bottom: 36px;
    }

    .inx-01 .swiper-slide .info-txt h3 {
        font-size: 22px;
    }

    .inx-01 .swiper-slide .info-txt h4 {
        font-size: 14px;
    }
}

/* ========== 首页业务范围 ========== */
@media (max-width: 1100px) {
    .inx-02 {
        height: auto;
        min-height: 0;
        display: flex;
        flex-direction: column;
        overflow: visible;
        background-color: #152a45;
    }

    .inx-02 .inx-02-atmos,
    .inx-02 .gb {
        display: none !important;
    }

    .inx-02 .cont {
        order: 1;
        position: relative;
        z-index: 2;
        width: 92%;
        margin: 0 auto;
        height: auto;
        min-height: 0;
        padding: calc(var(--hdr-height, 56px) + 20px) 0 16px;
        display: block;
        box-sizing: border-box;
    }

    .inx-02 .cont .inx-tit {
        font-size: 22px;
        padding-left: 14px;
        margin-bottom: 16px;
    }

    .inx-02 .cont .inx-tit::after {
        width: 4px;
    }

    .inx-02 .cont .btn-list {
        position: relative;
        height: auto;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        margin-top: 0;
        padding: 0;
    }

    .inx-02 .cont .btn-list .item,
    .inx-02 .cont .btn-list .item:first-child,
    .inx-02 .cont .btn-list .item:nth-child(2),
    .inx-02 .cont .btn-list .item:nth-child(3),
    .inx-02 .cont .btn-list .item:nth-child(4),
    .inx-02 .cont .btn-list .item:nth-child(5),
    .inx-02 .cont .btn-list .item:nth-child(6),
    .inx-02 .cont .btn-list .item:nth-child(7) {
        position: relative;
        left: auto;
        right: auto;
        top: auto;
        bottom: auto;
        width: 85%;
        max-width: none;
        animation: none;
        transform: none;
        padding: 6px 8px 6px 6px;
        border-radius: 999px;
        justify-content: flex-start;
    }

    .inx-02 .cont .btn-list .item .ico-box {
        width: 34px;
        height: 34px;
        min-width: 34px;
        min-height: 34px;
        flex-shrink: 0;
    }

    .inx-02 .cont .btn-list .item .ico-box svg {
        width: 18px;
        height: 18px;
    }

    .inx-02 .cont .btn-list .item p {
        margin-left: 8px;
        font-size: 13px;
        line-height: 1.35;
    }

    .inx-02 .img-box {
        order: 2;
        position: relative;
        inset: auto;
        left: auto;
        top: auto;
        width: 100%;
        height: 0;
        padding-bottom: min(62vw, 320px);
        margin-top: 4px;
        overflow: hidden;
        flex-shrink: 0;
        z-index: 1;
    }

    .inx-02 .img-box::after {
        display: none;
    }

    .inx-02 .img-box img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        animation: none;
        transform: none;
        filter: none;
    }
}

@media (max-width: 480px) {
    .inx-02 .cont {
        width: 94%;
        padding-top: 10vw;
    }

    .inx-02 .cont .inx-tit {
        font-size: 20px;
        margin-bottom: 14px;
    }

    .inx-02 .cont .btn-list {
        gap: 8px;
    }

    .inx-02 .cont .btn-list .item p {
        font-size: 12px;
    }

    .inx-02 .img-box {
        padding-bottom: min(68vw, 280px);
    }
}

/* ========== 首页智慧档案 ========== */
@media (max-width: 1100px) {
    .inx-03 .swiper-slide {
        display: flex;
        flex-direction: column;
        gap: 16px;
        padding-bottom: 24px;
        min-height: auto;
    }

    .inx-03 .swiper-slide .adv-list {
        order: 2;
        margin-top: 0;
        padding: 0;
    }

    .inx-03 .swiper-slide .img-box {
        position: relative;
        order: 1;
        width: 100%;
        max-width: 360px;
        height: auto;
        max-height: 280px;
        margin: 8px auto 0;
        transform: none;
    }

    .inx-03 .swiper-slide .img-box img {
        width: 100%;
        height: auto;
        max-height: 280px;
        object-fit: contain;
    }

    .inx-03 .swiper-slide .info-txt {
        position: relative;
        order: 3;
        width: 100%;
        max-width: none;
        left: auto;
        top: auto;
    }

    .inx-03 .swiper-slide .info-txt .info-txt-inner {
        padding: 14px;
        border-radius: 12px;
    }

    .inx-03 .swiper-slide .info-txt .info-lead {
        font-size: 14px;
    }

    .inx-03 .swiper-slide .info-txt .func-spec > p:not(.func-spec-more) {
        padding: 10px 10px 10px 22px;
        font-size: 13px;
        border-radius: 0 8px 8px 0;
    }

    .inx-03 .swiper-slide .link-canvas {
        display: none;
    }

    .inx-03 .pro-list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        margin-top: 16px;
        align-items: stretch;
    }

    .inx-03 .pro-list .item {
        width: 100%;
        flex: none;
        max-width: none;
        padding: 8px;
        border-radius: 10px;
    }

    .inx-03 .pro-list .item .img-box {
        width: 40%;
        height: 50px;
        min-height: 46px;
        border-radius: 6px;
    }

    .inx-03 .pro-list .item .info {
        width: 60%;
        padding-left: 8px;
        padding-right: 0;
    }

    .inx-03 .pro-list .item .info h5 {
        font-size: 12px;
        line-height: 1.35;
        font-weight: 600;
        -webkit-line-clamp: 2;
    }
}

/* ========== 首页合作伙伴 / 新闻等 ========== */
@media (max-width: 1100px) {
    .inx-04 {
        height: auto;
        min-height: 70vh;
        padding-bottom: 120px;
    }

    .inx-04 .swiper .swiper-slide .info-box {
        width: 90%;
        left: 5%;
        top: 32%;
    }

    .inx-04 .swiper .swiper-slide .info-box h5 {
        font-size: 22px;
    }

    .inx-04 .swiper .swiper-slide .info-box > p {
        font-size: 14px;
    }

    .inx-04 .video-box {
        right: 8%;
        top: auto;
        bottom: 140px;
    }

    .inx-04 .video-box .ico-box {
        width: 56px;
        height: 56px;
    }

    .inx-05 {
        padding-bottom: 48px;
    }

    .inx-05 .box .info > p,
    .inx-05 .box .info .num-list .item p {
        font-size: 14px;
    }

    .inx-05 .box .info .num-list .item svg {
        width: 32px;
        height: 32px;
    }

    .inx-05 .box .inMap {
        position: relative;
        top: auto;
        transform: none;
        margin-top: 24px;
    }

    .inx-05 .inMap-chart {
        height: 420px;
        min-height: 360px;
    }

    .inx-06 .btn-list {
        width: 100%;
        /* flex-wrap: wrap;
        justify-content: center; */
    }

    .inx-06 .btn-list .btn-box p {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .inx-04 .swiper .swiper-slide .info-box {
        top: 28%;
    }

    .inx-04 .swiper .swiper-slide .info-box h5 {
        font-size: 18px;
    }

    .inx-05 .inMap-chart {
        height: 360px;
        min-height: 320px;
    }
}

/* ========== 底部 ========== */
@media (max-width: 960px) {
    footer {
        padding: 40px 0 calc(24px + env(safe-area-inset-bottom, 0px));
        background-size: cover, 180% auto;
    }

    footer .footer-top {
        flex-direction: column;
        gap: 20px;
    }

    footer .left,
    footer .right,
    .fot-message {
        width: 100%;
    }

    footer .left {
        text-align: center;
    }

    footer .left h4 {
        font-size: 20px;
        line-height: 1.5;
    }

    footer .left a {
        width: 100%;
        max-width: 320px;
        padding: 12px 52px 12px 16px;
        border-radius: 999px;
        margin: 16px auto 0;
        box-sizing: border-box;
    }

    footer .left a p {
        font-size: 15px;
    }

    footer .left a p svg {
        width: 18px;
        height: 18px;
        margin-right: 8px;
    }

    footer .left a .ico-btn {
        width: 40px;
        height: 40px;
    }

    footer .left .ewm-box {
        justify-content: center;
        margin-top: 16px;
        gap: 10px;
    }

    footer .left .ewm-box .item {
        width: 44px;
        height: 44px;
        margin-right: 0;
    }

    footer .right {
        padding-top: 0;
        flex-direction: column;
        gap: 0;
    }

    footer .right .fot-nav {
        display: none;
    }

    footer .right .fot-cat {
        width: 100%;
        padding: 16px 18px;
        border-radius: 14px;
        background: rgba(255, 255, 255, 0.06);
        border: 1px solid rgba(255, 255, 255, 0.1);
        box-sizing: border-box;
    }

    footer .right .tit,
    footer .right p {
        font-size: 14px;
    }

    footer .right .fot-cat .tit {
        margin-bottom: 10px;
        font-size: 15px;
        opacity: 0.85;
    }

    footer .right .fot-cat p {
        line-height: 1.6;
        margin-bottom: 6px;
    }

    footer .right .fot-cat p:last-child {
        margin-bottom: 0;
    }

    .fot-message {
        margin-top: 4px;
        padding: 18px 16px 20px;
        border-radius: 14px;
    }

    .last-fot {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        margin-top: 28px;
        padding-top: 20px;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        text-align: center;
    }

    .last-fot p {
        font-size: 12px;
        line-height: 1.5;
    }

    .last-fot-meta {
        justify-content: center;
    }

    .make-top {
        width: 52px;
        height: 52px;
        right: 16px;
        top: -26px;
    }

    .make-top svg {
        width: 18px;
        height: 18px;
    }

    .make-top p {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    footer .left h4 {
        font-size: 20px;
    }

    footer .left a {
        max-width: none;
    }

    .fot-form-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .fot-form-submit {
        width: 100%;
    }

    .cookie-policy-body {
        padding: 16px 14px;
    }

    .cookie-policy-table th,
    .cookie-policy-table td {
        padding: 10px 8px;
        font-size: 12px;
    }
}

/* ========== 移动端综合优化（Portal + 静态站） ========== */
@media (max-width: 1100px) {
    html,
    body {
        overflow-x: hidden;
        -webkit-text-size-adjust: 100%;
    }

    body.fd-nav-open,
    body:has(.site-header.menu-open) {
        overflow: hidden;
        touch-action: none;
    }

    /* ScrollSmoother 残留样式重置 */
    html.fd-portal .web-all,
    html.fd-portal .web-all .scoll-move,
    .web-all,
    .web-all .scoll-move {
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        overflow: visible !important;
        transform: none !important;
        position: relative !important;
        top: auto !important;
        left: auto !important;
        width: 100% !important;
        touch-action: auto !important;
    }

    html.fd-portal .web-all [data-speed],
    .web-all [data-speed] {
        transform: none !important;
        will-change: auto !important;
    }

    .pin-spacer {
        height: auto !important;
        min-height: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        overflow: visible !important;
    }

    .pin-spacer > * {
        position: relative !important;
        inset: auto !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    /* 内页顶部留白，避免固定导航遮挡 */
    .web-all--inner .scoll-move > :first-child {
        scroll-margin-top: calc(var(--hdr-height, 56px) + 12px);
    }

    .case-list,
    .news-list,
    .matching-list,
    .search-page,
    .contact-page {
        padding-top: calc(var(--hdr-height, 56px) + 8px);
    }

    /* 内页：浮动联系栏改到右下角，避免遮挡表单/列表 */
    body:has(.web-all--inner) .side-dock {
        top: auto;
        bottom: max(16px, env(safe-area-inset-bottom));
        transform: none;
    }

    .case-info .cont.case-detail-wrap {
        width: 100%;
        max-width: 100%;
        padding-left: 16px;
        padding-right: 16px;
        box-sizing: border-box;
    }

    .about-subnav {
        top: var(--hdr-height, 56px);
    }

    /* 首页区块 */
    .inx-03 {
        overflow: visible;
    }

    .inx-03 .swiper-slide {
        min-height: auto;
        padding-bottom: 28px;
    }

    .inx-03 .adv-list {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        width: 100%;
        margin-top: 12px;
        order: 2;
    }

    .inx-03 .adv-list .adv-list-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .inx-03 .adv-list .adv-list-grid .item {
        width: 100%;
        min-width: 0;
        padding: 8px 10px 8px 8px;
        border-radius: 999px;
        font-size: 12px;
    }

    .inx-03 .adv-list .adv-list-grid .item .adv-txt {
        font-size: 12px;
        line-height: 1.35;
    }

    .inx-03 .adv-list .adv-list-grid .item .ico-box {
        width: 28px;
        height: 28px;
        min-width: 28px;
        min-height: 28px;
    }

    /* .inx-05 .box .info .num-list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px 12px;
    } */
    .inx-05 .box .info .num-list{
        flex-wrap: wrap;
    }
    .inx-05 .box .info .num-list .item{
        width:48%;
        margin-top: 3vw;
    }
    .inx-05 .box .info .num-list .item h2 {
        font-size: 28px;
    }

    .inx-06 .btn-list {
        width: 100%;
        max-width: none;
        /* flex-direction: column; */
        align-items: stretch;
    }

    .inx-06 .btn-list .btn-box {
        width: 48%;
        justify-content: space-between;
        border-radius: 999px;
        padding: 10px 10px 10px 18px;
    }

    .inx-06 .btn-list .btn-box p {
        font-size: 14px;
    }

    .inx-07.news-block {
        padding-bottom: 48px;
    }

    .inx-07.news-block .news-filter {
        flex-wrap: nowrap;
        gap: 6px;
        width: 100%;
    }

    .inx-07.news-block .news-filter .btn-box {
        flex: 1 1 0;
        min-width: 0;
        justify-content: space-between;
        padding: 8px 8px 8px 12px;
    }

    .inx-07.news-block .news-filter .btn-box p {
        font-size: 12px;
        margin-right: 4px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .inx-07.news-block .news-filter .btn-box .ico-box {
        width: 24px;
        min-width: 24px;
        height: 24px;
        min-height: 24px;
        flex-shrink: 0;
    }

    /* 侧栏与导航抽屉层级 */
    .site-header.menu-open ~ .side-dock,
    body.fd-nav-open .side-dock {
        opacity: 0;
        pointer-events: none;
    }
}

@media (max-width: 768px) {
    .inx-05 .box .info .num-list {
        grid-template-columns: 1fr;
    }

    .inx-07.news-block .news-filter .btn-box {
        flex: 1 1 0;
        padding: 7px 6px 7px 10px;
    }

    .inx-07.news-block .news-filter .btn-box p {
        font-size: 11px;
    }

    .case-toolbar,
    .news-toolbar {
        gap: 10px;
    }

    .about-subnav-inner {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        flex-wrap: nowrap;
    }

    .about-subnav-inner::-webkit-scrollbar {
        display: none;
    }

    .search-form {
        flex-direction: column;
        border-radius: 16px;
        padding: 10px;
    }

    .search-form-submit {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .inx-04 {
        min-height: 60vh;
        padding-bottom: 100px;
    }

    .inx-04 .video-box {
        right: 50%;
        transform: translateX(50%);
        bottom: 45%;
    }

    .side-dock {
        bottom: max(12px, env(safe-area-inset-bottom));
    }
    .inx-03 .swiper-slide .info-txt .func-spec > p:not(.func-spec-more)::before{
        top: 50%;
        transform: translateY(-50%);
    }
    .btn-box{
        padding: 1vw 1vw 1vw 3vw;
    }

    .inx-03 .pro-list {
        gap: 8px;
    }

    .inx-03 .pro-list .item {
        padding: 7px 6px;
    }

    .inx-03 .pro-list .item .img-box {
        height: 46px;
        min-height: 42px;
    }

    .inx-03 .pro-list .item .info h5 {
        font-size: 11px;
    }

    .inx-03 .adv-list .adv-list-grid .item .adv-txt {
        font-size: 11px;
    }
    .inx-04 .tab-list.partner-logo-strip{
        width: 100%;
        padding: 0;
    }
}
