/* =========================================================
   IMCOCO — responsive.css（≤1000px 移动布局，全站共享）
   加载顺序：common → 页面 css → flow/pages → 本文件
   P1 首页另加 home-mobile.css、P2 加 strengths-mobile.css（最后加载，
   在本文件基础上完成画布页的移动流式重排）

   断点策略（2026-12-02 起调整，参照主流做法 Bootstrap ≤992px 进移动版）：
   - 1440–1001px  窄桌面：保持桌面版式，1440 画布等比缩放（common.js）
   - ≤1000px      平板/手机：汉堡菜单、footer 重排、文档页收紧，
                  P1/P2 走 mobile 专属样式流式重排
   - ≤900px       内容单栏化、字号缩小
   ========================================================= */

/* 汉堡按钮：桌面隐藏（≤1000px 样式见下） */
.nav-toggle{display:none}

/* ---------- ≤1439px 窄桌面：保持桌面版式，仅容器收紧 + 防横向溢出 ---------- */
@media (max-width:1439px){
  html,body{overflow-x:hidden}
  .page{width:100%;overflow-x:hidden}
  .container{width:100%;max-width:calc(100% - 48px)}
}

/* ---------- 1001–1439px：1440 画布 header 由 js/flow.js 等比缩放（CSS calc 无法实现长度比值缩放，见 common.js 注释） ---------- */

/* ---------- ≤1000px 平板/手机：汉堡菜单、footer 纵向重排、文档页收紧 ---------- */
@media (max-width:1000px){
  /* Header：汉堡菜单 */
  .header{width:100%;height:64px}
  .header .logo{left:20px;top:9px}
  .header .logo img{width:150px}
  .nav-toggle{display:flex;position:absolute;right:16px;top:16px;width:36px;height:32px;
              padding:5px;background:none;border:0;cursor:pointer;z-index:40;
              flex-direction:column;justify-content:center;gap:5px}
  .nav-toggle span{display:block;width:100%;height:2px;background:var(--green);transition:transform .3s,opacity .3s}
  .header.nav-open .nav-toggle span:nth-child(1){transform:translateY(7px) rotate(45deg)}
  .header.nav-open .nav-toggle span:nth-child(2){opacity:0}
  .header.nav-open .nav-toggle span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
  .nav{display:none;position:absolute;left:0;top:64px;width:100%;background:#fff;
       box-shadow:0 14px 28px rgba(0,0,0,.10);z-index:30}
  .header.nav-open .nav{display:block}
  .nav a.nav-item{position:static;display:block;padding:15px 24px;font-size:15px;
                  border-top:1px solid #f0f0f0}
  .nav-item.is-active::after{top:auto;bottom:9px;left:24px;width:34px;height:3px}
  .header-utils .v-divider{display:none}
  .header-utils>.icon{display:none}
  .header-utils .lang-wrap{left:auto;right:106px;top:22px}
  .header-utils .lang-menu{left:auto;right:-10px;top:24px}
  .header-utils .icon-btn{left:auto !important;top:23px !important;right:62px !important}

  /* Footer：纵向重排（清画布页 absolute top 残留） */
  .footer{position:relative;left:0;top:auto;width:100%;height:auto}
  .footer-bar{height:88px}
  .footer-bar::after{top:88px}
  .footer-logo{left:24px;top:14px;width:150px}
  .footer-globe{left:auto;right:24px;top:18px}
  .footer-langs{left:24px;top:52px;font-size:14px;gap:7px}
  .footer-body{height:auto;padding:30px 24px 36px;display:grid;
               grid-template-columns:1fr 1fr;gap:28px 20px}
  .f-col{position:static}
  .f-col h4{font-size:19px;line-height:26px}
  .f-col p{margin-top:9px;font-size:14px;line-height:24px}
  .f-legal{grid-column:1/-1;display:flex;gap:24px;flex-wrap:wrap}
  .f-follow{position:static;grid-column:1/-1;font-size:19px;line-height:26px;margin-top:4px}
  .f-social{position:static;grid-column:1/-1;width:min(300px,100%);height:auto;margin-top:2px}
  .f-rule{position:static;grid-column:1/-1;width:100%;margin-top:4px}
  .f-copy{position:static;grid-column:1/-1;margin-top:2px;font-size:13px}

  /* 文档页留白收紧 */
  .doc-head{padding:120px 24px 0}
  .doc-body,.search-results{padding-left:24px;padding-right:24px}
  .sm-grid{padding-left:24px;padding-right:24px}
  .na-wrap{padding-left:24px;padding-right:24px}
  .na-photo{width:100%;height:auto}
}

/* ---------- ≤900px：内容单栏化、字号缩小 ---------- */
@media (max-width:900px){
  /* 各页 Hero */
  .hero{padding:64px 0 56px}
  .hero h1{font-size:38px;line-height:1.2}
  .hero-sub{font-size:16px;line-height:1.65;margin-top:20px}
  .hero-tint{padding:64px 0 56px}
  .hero-tint h1{font-size:38px}
  .hero-tint-sub{font-size:22px;margin-top:16px}
  .hero-indexes{gap:26px;flex-wrap:wrap}
  .hero-cta,.hero-btn{margin-top:30px}

  /* 左右分栏 → 单栏 */
  .split{grid-template-columns:1fr}
  .split.rev .split-text{order:1}
  .split.rev .split-photo{order:2}
  .split-text,.split.rev .split-text{padding:52px 24px}
  .split-photo{height:300px}
  .sec-head{padding:38px 24px 8px}
  .sec-head h2{font-size:26px}

  /* 栅格 → 单栏/双栏 */
  .metrics-grid,.news-grid,.offices-grid,.form-row,.mv-grid,
  .net-grid,.sustain-grid,.oem-stats,.pstats{grid-template-columns:1fr}
  .story-grid{grid-template-columns:1fr;gap:40px}
  .values-grid{grid-template-columns:repeat(2,1fr);gap:28px}
  .timeline{grid-template-columns:repeat(2,1fr);gap:24px}
  .net-metrics{grid-template-columns:1fr;gap:26px}
  .net-card{grid-row:auto}
  .metric{padding:22px 0;border-left:0;border-top:1px solid rgba(255,255,255,.35)}
  .metric:first-child{border-top:0;padding-top:0}

  /* 区块标题与正文 */
  .sec-title{font-size:30px}
  .manifesto{font-size:32px}
  .oem,.sustain,.story,.purpose{padding:64px 0}
  .milestones,.global{padding:56px 0}
  .oem h2{font-size:30px}
  .cta{padding:60px 0}
  .cta h2{font-size:28px}
  .stat strong{font-size:42px}
  .net-card strong{font-size:64px}
  .news,.coop,.offices{padding-top:56px}
  .coop{padding-bottom:64px}
  .pillar{min-height:0}
  .doc-title{font-size:30px;line-height:38px}
  .sm-grid{grid-template-columns:1fr;gap:36px}
  .search-box{flex-direction:column}
  .search-btn{width:100%}
}
