/* ---------------- 响应式 ---------------- */
@media (max-width: 1470px) {
    .home-bento, .home-news-grid, .footer-grid { padding-left: 24px; padding-right: 24px; }
    .footer-grid { padding-left: 56px; padding-right: 56px; }
    .newprod-swiper { max-width: 100%; }
    .np-arrow.np-prev { left: 24px; }
    .np-arrow.np-next { right: 24px; }
}
/* 横幅覆盖层窄屏分档（桌面上限定义在 02-home.css：cabin 30% / solutions 39%）——2026-11-05 重订：
   旧口径「<1536 全程解除上限保持单行」会让 en 长文案单行横铺穿过底图主体（624 视口 solutions
   标题右缘达 ~85%，人像头部在 ~56% 起；1025-1535 同样横穿），且 caption(31.6%)→按钮(60.6%)
   竖向预算随图片等比缩水（624 仅 ~84px），en 内容贴边叠按钮、zh <610px 同样触发。
   新口径=「比例上限 + 按钮锚底」双约束：
   1025-1535（en）恢复各自上限收进左区（标题/副题换行，右缘 cabin ≤42.4% / solutions ≤51.4%
   不触底图主体），en 按钮锚底 6% 承接换行竖向预算（底图下部为座椅/背景空白区）；zh 文案短
   不触发遮挡，保持解除不动；
   ≤1024 en 沿用同档字号（28/38+14/24）即可放下，无 en 专用档；
   ≤768 en 专用降档（18/24+12/16）、全语言按钮锚底（顺带修 zh <610px 压副题）；
   ≤560 图片等比缩小后高度只剩 ~170-260px，en 长文案无论怎么缩字号都放不进左区——改堆叠
   布局：图在上，标题/副题/按钮依次排在图下（全语言一致）；
   ≥1536 各自上限收左区不遮挡底图主体（cabin 舱体 ~44% / solutions 人像镜组 ~56%） */
@media (max-width: 1535px) {
    .band-cabin .band-caption, .band-solutions .band-caption { max-width: none; }
    /* en 恢复比例上限：换行收在左区，不横穿底图主体（zh 不受影响） */
    html[lang="en"] .band-cabin .band-caption { max-width: 30%; }
    html[lang="en"] .band-solutions .band-caption { max-width: 39%; }
    /* en 按钮锚底：上限换行的竖向预算落到横幅下部空白区，不再压 top 60.6% 钉位 */
    html[lang="en"] .band-more { top: auto; bottom: 6%; }
}
@media (max-width: 1024px) {
    .main-nav { gap: 30px; }
    .news-cards { grid-template-columns: repeat(2, 1fr); }
    .home-news-grid { grid-template-columns: 1fr; }
    .bb-row-a, .bb-row-b, .bb-row-c { grid-template-columns: 1fr 1fr; }
    .cell-caption { left: 20px; bottom: 18px; }
    .cell-caption strong { font-size: 17px; line-height: 24px; letter-spacing: 0; }
    .cell-caption small { font-size: 12px; line-height: 17px; }
    .home-stats { padding-top: 72px; }
    .stats-grid { margin-top: 48px; }
    .band-solutions { margin-top: 96px; }
    .band-caption strong { font-size: 28px; line-height: 38px; letter-spacing: 1px; }
    .band-caption small { margin-top: 20px; font-size: 14px; line-height: 24px; }
    /* en 沿用本档字号即可（≤1535 上限+按钮锚底已承接换行竖向预算，1024 实算距按钮 gap ~60px），无 en 专用档 */
    .home-newprod { padding: 80px 0; }
    .home-newprod .sec-head, .home-news .sec-head { margin-bottom: 56px; }
    .home-news { padding: 80px 0; }
    .home-news-btns { margin-top: 56px; gap: 24px; }
    .about-intro, .about-founder, .split2, .feature-row { grid-template-columns: 1fr; gap: 40px; }
    .split2 .sp-text.right { text-align: left; }
    .split2 .sp-text.right .sp-tags { justify-content: flex-start; }
    .about-founder .af-img { order: -1; }
    .ms-grid { grid-template-columns: 1fr; }
    /* 企业文化三块窄屏（M25）：桌面段距压缩、卡行收回版心（负边距出血置零）、卡流式换行 */
    .sec-about-intro, .sec-about-founder, .sec-about-ms { padding-top: 96px; }
    .sec-about-ms { padding-bottom: 96px; }
    .ms-grid [data-pages] { margin-right: 0; }
    .ms-cards { flex-wrap: wrap; }
    .brand-wall { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .main-nav {
        position: fixed; top: var(--header-h); left: 0; right: 0; z-index: 99;
        background: #fff; border-bottom: 1px solid var(--line);
        flex-direction: column; align-items: stretch; gap: 0;
        padding: 8px 0 16px; display: none;
    }
    .main-nav.open { display: flex; }
    .nav-link { height: auto; line-height: 1.5; padding: 12px 28px; display: block; }
    .nav-link.current::after { display: none; }
    .nav-drop { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; border-radius: 0; padding: 0 0 6px 0; width: auto; display: none; }
    .nav-item.open .nav-drop { display: block; }
    .nav-drop-inner { display: block; max-width: none; padding: 0 0 0 28px; }
    .nav-drop-inner a { display: block; padding: 8px 0; }
    .nav-toggle { display: block; }
    .header-inner { padding: 0 16px; gap: 12px; }
    /* 桌面 stats 为 space-between 分布（蓝湖 389-1532 内容盒），窄屏回落两列网格 */
    .stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px 24px; }
    /* 搜索打开态移动端：搜索框撑满 header 行（导航/汉堡本就收起；logo 让位——不隐则行宽溢出视口、关闭钮出屏）；
       面板跨度随框（右 59 = pad16+钮40+缝3，勿回通栏 right16——会与框右缘错位 43px） */
    .search-bar-row { justify-content: stretch; }
    .site-header.search-open .logo { display: none; }
    .search-bar { width: auto; flex: 1; }
    .search-panel { right: 59px; left: 16px; width: auto; }
    /* 新闻右列两列子网格窄屏并不起作用时退化为上下排 */
    .news-pair { grid-template-columns: 1fr; gap: 6px; }
    .news-pair .news-thumb img { aspect-ratio: 16/9; }
    .bb-row, .bb-row-a, .bb-row-b, .bb-row-c { grid-template-columns: 1fr; }
    .bb-row + .bb-row { margin-top: 20px; }
    .home-bento { margin-top: 40px; }
    .cell-caption { left: 16px; bottom: 14px; }
    .cell-caption strong { font-size: 15px; line-height: 21px; margin-top: 8px; }
    .cell-caption small { font-size: 11px; line-height: 16px; }
    .news-cards { grid-template-columns: 1fr; }
    /* 新闻列表页移动端压缩留白（桌面 128/80/140/235 按设计稿，窄屏过空） */
    .news-list-body { padding-top: 64px; padding-bottom: 56px; }
    .news-list-body .sec-head { margin-bottom: 40px; }
    .pagination { margin-top: 56px; gap: 8px; }
    .pagination .page-jump { margin-left: 12px; }
    /* hero 移动端：更矮比例（手势滑动 + 下一张按钮） */
    .hero-swiper { aspect-ratio: auto; height: 58vw; min-height: 260px; max-height: 62vh; }
    .hero-next { width: 48px; height: 48px; }
    .hero-caption { bottom: 52px; }
    .contact-icons { grid-template-columns: repeat(2, 1fr); gap: 64px 20px; margin-bottom: 96px; }
    .section.after-hero.cb-head { padding-top: 96px; }
    .cb-head .sec-head { margin-bottom: 48px; }
    .brand-table-wrap { padding: 64px 0; }
    .brand-table { grid-template-columns: 1fr; }
    .bt-cell, .bt-cell.bt-head { height: auto; padding: 18px 16px; }
    .bt-cell { border-right: 0 !important; border-bottom: 1px solid #eee; }
    .bt-cell:last-child { border-bottom: 0; }
    .features3 { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .ms-cards { flex-direction: column; }
    .ms-card { flex: 0 0 auto; }
    .ms-card .ms-year { width: 132px; height: 38px; font-size: 19px; }
    .ms-card h4 { margin-top: 48px; }
    .ms-arrows { gap: 48px; margin-top: 36px; }
    .about-intro h2, .about-founder h2, .ms-lead h2 { font-size: 26px; }
    .about-intro h3, .about-founder h3, .ms-card h4 { font-size: 20px; }
    .about-intro p, .about-founder li, .about-founder .af-desc, .ms-lead p, .ms-card ol li { font-size: 16px; line-height: 30px; }
    /* 企业简介（M29）：简介段窄屏降档（桌面 200/190 灰底 padding 与 18/36 体系过宽） */
    .about-profile { padding: 96px 20px 90px; }
    .about-profile h2 { font-size: 26px; }
    .about-profile p { margin-top: 20px; font-size: 16px; line-height: 30px; }
    .home-news-btns { flex-direction: column; align-items: center; gap: 16px; }
    .band-caption strong { font-size: 22px; line-height: 30px; letter-spacing: 1px; }
    .band-caption small { margin-top: 12px; font-size: 13px; line-height: 20px; }
    .band-more { width: 156px; height: 34px; line-height: 32px; font-size: 16px; }
    /* 按钮锚底扩展到全语言：zh 竖向预算（31.6%→60.6%）在 <610px 视口会压副题（624 仅剩 1.5px 余量），锚底根治 */
    .band-more { top: auto; bottom: 6%; }
    /* en 长文案专用降档（zh 文案短不触发，保持 22/30+13/20）：624 实算 solutions 内容 ~118px vs
       锚底预算 ~146px、cabin ~110px；下探 561 仍成立（≤560 走下方堆叠档） */
    html[lang="en"] .band-caption strong { font-size: 18px; line-height: 24px; letter-spacing: 0; }
    html[lang="en"] .band-caption small { margin-top: 6px; font-size: 12px; line-height: 16px; }
    /* 行卡移动端放开固定高度，padding 收窄（新结构 padding 在 .news-row 自身，无旧 body 层） */
    .news-row { height: auto; padding: 16px 20px; }
    .news-row h3 { font-size: 16px; line-height: 1.6; margin-top: 8px; }
    .brand-wall { grid-template-columns: 1fr; }
    /* 新闻页（蓝湖 10-13 稿）移动端压缩：601 带、通栏详情留白与字号、卡片面板收窄 */
    .hero-flat-news { height: clamp(200px, 31.3vw, 280px); }
    .article-wrap { padding: 56px 20px 72px; }
    .article-head h1 { font-size: 20px; letter-spacing: 0; }
    .article-date { margin-top: 20px; font-size: 14px; }
    .article-cover { margin-top: 40px; }
    .article-body { margin-top: 40px; font-size: 15px; }
    .article-body .article-photo { margin: 40px auto 32px; }
    .news-card .nc-body { min-height: 0; padding: 20px 20px 22px; }
    .news-card h3 { font-size: 17px; line-height: 24px; }
    .news-card .nc-flag { left: 14px; top: 14px; }
}

@media (max-width: 768px) {
    .scene-grid { grid-template-columns: 1fr; }
    .scene-img-2 { margin-top: 0; }
    .smart-masonry { grid-template-columns: 1fr; }
    .smart-masonry [class^="sm-"] { grid-column: span 1 !important; grid-row: auto !important; }
    .cards3-grid { grid-template-columns: 1fr; }
}

/* 首页整幅横幅极窄屏堆叠档（≤560，全语言）：图片等比缩小后高度只剩 ~170-260px，en 长文案无论
   怎么缩字号都放不进左侧安全区（人像/舱体右移的横向约束 + 锚底按钮的竖向约束双卡死）——文案
   移出图片：图在上，标题/副题/按钮依次排在图下（flex 子项自动 blockify，band-more 固定宽高仍
   生效；560 按 561-768 档实算下限 ~525 留裕量） */
@media (max-width: 560px) {
    .home-band { display: flex; flex-direction: column; }
    .home-band img { order: 1; }
    /* caption 覆盖须含 html[lang=en] 前缀链对位 @1535 档 en 上限（同特异性源序取胜），否则 en 上限仍生效把堆叠文案压成窄列 */
    .band-caption, html[lang="en"] .band-cabin .band-caption, html[lang="en"] .band-solutions .band-caption {
        position: static; order: 2; max-width: none; padding: 18px 20px 0;
    }
    .band-more { position: static; order: 3; margin: 14px 20px 22px; }
}

