/* ============================================================
   LUMEN STUDIO / 手机端专属版式  css/mobile.css
   ------------------------------------------------------------
   仅在窄屏（<=900px）生效，桌面端完全不受影响。
   内容与图片仍由后台 CMS 统一管理，不另做一套 HTML / 不做 m. 域名。
   以后只想调手机端，改本文件即可；改完按整包重传一次 Cloudflare。
   本文件必须在 style.css 之后引入。
   ============================================================ */

@media (max-width:900px){

  /* ---------- 1. 通用节奏：收掉桌面版的大留白 ---------- */
  .wrap{padding-left:20px;padding-right:20px}
  .section,
  .section-tight{padding-top:46px;padding-bottom:46px}
  .home .section{padding-top:50px;padding-bottom:50px}
  .home .section-head{margin-bottom:24px;gap:12px}
  .home .section-title{font-size:clamp(30px,8vw,42px);margin-top:14px}
  .section-desc{font-size:12.5px;line-height:1.8;max-width:none}
  .section-label{font-size:10px;letter-spacing:.18em}

  /* 内页标题区：手机不需要桌面那么高的顶部留白 */
  .page-hero{padding-top:calc(var(--header-h) + 44px);padding-bottom:46px}
  .page-hero .section-label{margin-bottom:18px}
  .page-hero h1{font-size:clamp(46px,13vw,68px)}
  .page-hero .ph-en{margin-top:16px;font-size:11px;letter-spacing:.22em}
  .page-hero .ph-desc{margin-top:16px;font-size:13px;line-height:1.8}
  .page-hero.with-image{min-height:clamp(360px,52vh,480px)}

  /* ---------- 1.5 首屏轮播：手机专用竖长图（约 9:19.5，铺满不裁两边） ---------- */
  .slide-img{display:none}
  .slide-mobile{display:block}

  /* ---------- 2. 首页作品拼贴：两列错落，只保留 4 张 + 右下角链接框 ---------- */
  .home #works{padding-top:50px;padding-bottom:50px}
  .works-feature{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .works-feature .wf-tile,
  .works-feature .wf-32,
  .works-feature .wf-61,
  .works-feature .wf-42,
  .works-feature .wf-51,
  .works-feature .wf-note{grid-column:auto;grid-row:auto;height:auto;min-height:0;aspect-ratio:auto}
  .works-feature .wf-tile{aspect-ratio:1/1}
  .works-feature .wf-32{aspect-ratio:3/4}
  .works-feature .wf-61,
  .works-feature .wf-42,
  .works-feature .wf-51{grid-column:span 2;aspect-ratio:16/9}
  .works-feature .wf-note{grid-column:span 2;aspect-ratio:auto;min-height:170px;order:2;padding:20px;border-radius:10px}
  /* 只隐藏手机端多余的作品方块；DOM 保留，后台 9 个作品字段照常可用 */
  .works-feature .wf-tile:nth-child(5),
  .works-feature .wf-tile:nth-child(6),
  .works-feature .wf-tile:nth-child(7),
  .works-feature .wf-tile:nth-child(8),
  .works-feature .wf-tile:nth-child(10){display:none}
  /* 链接框里的总数在手机端显示为 04，桌面端仍是原来的 10 */
  .wf-note .wn-label b{font-size:0}
  .wf-note .wn-label b::after{content:"／ 04";font-size:11px}
  .wf-cap{padding:8px 10px;gap:6px;background:rgba(10,10,10,.66)}
  .wf-cap i{font-size:9px}
  .wf-cap strong{font-size:11px}
  .wn-title{font-size:24px}
  .wn-desc{font-size:12px;line-height:1.7}
  .wn-link{font-size:13px}

  /* ---------- 3. 服务能力：编号改行内小标签，正文占满宽度 ---------- */
  .service-row .s-main{display:block}
  .service-row .s-no{display:block;padding:0 0 8px;font-size:11px}
  .service-row .s-body{grid-column:auto;margin-top:10px}
  .home #services .service-row{padding:20px 0}
  .home #services .service-row h3{font-size:22px;line-height:1.3}
  .home #services .service-row .s-body p{font-size:12.5px;line-height:1.8}
  .home #services .chips{margin-top:12px;gap:6px}
  .home #services .chips span{padding:4px 9px;font-size:10px}
  .s-media-inner{padding-top:14px}
  .s-shot{height:clamp(170px,46vw,250px)}

  /* ---------- 4. 合作流程：单列 + 全面压缩间隔，减少空白 ---------- */
  /* 服务能力区收尾留白一并收紧，消掉流程标题上方那段空档（仅手机端） */
  .home #services{padding-bottom:24px}
  .home #process{padding-top:22px;padding-bottom:22px}
  .home #process .section-head{margin-bottom:16px}
  .home #process .process-row{display:block;padding:8px 0}
  .process-row .p-step{display:block;margin-bottom:4px;font-size:10px}
  .home #process .process-row h3{font-size:19px;line-height:1.25}
  .home #process .process-row p{grid-column:auto;text-align:left;margin-top:3px;font-size:12px;line-height:1.65}
  .process-row .p-time{grid-column:auto;text-align:left;margin-top:4px;color:var(--accent);font-size:11px}
  .home #process .dl-tip{margin-top:12px;font-size:11.5px;line-height:1.7}

  /* ---------- 5. AI 创意三列手风琴：横向改纵向，点击展开大图 ---------- */
  .pf-stage{gap:24px}
  .pf-copy{max-width:none}
  .pf-title{font-size:clamp(26px,7vw,36px);line-height:1.3}
  .pf-script{font-size:clamp(21px,5.6vw,28px)}
  .pf-desc{font-size:12.5px;line-height:1.85}
  .pf-triptych{flex-direction:column;height:auto;gap:8px}
  .pf-col,
  .pf-col.is-active{width:100%;flex:0 0 auto;height:112px;border-radius:8px;transition:height .42s var(--ease)}
  .pf-col.is-active{height:clamp(230px,64vw,320px)}
  .pf-col-name{min-height:36px;padding:8px 12px;font-size:11.5px}
  .pf-short{font-size:11px}
  .pf-full em{display:block;font-size:9px}
  .pf-no{top:10px;left:10px;font-size:9px}
  .pf-go{top:8px;right:8px;font-size:10px;padding:5px 9px}
  .pf-clients-label{gap:10px;margin-bottom:12px}
  .pf-clients-label strong{font-size:15px}
  .pf-clients-label em{font-size:9px}
  .clients-marquee{--fade:34px}
  .clients-track span{min-width:clamp(118px,32vw,150px);height:52px;font-size:11.5px}
  .clients-track span img.client-logo-img{max-width:110px;max-height:38px}

  /* ---------- 6. 透明报价：三列横向手风琴，固定高度，点哪个哪个变宽 ---------- */
  #pricing{padding-top:28px}
  #pricing .price-grid{display:flex;flex-direction:row;align-items:stretch;gap:8px;height:clamp(370px,48vh,430px)}
  #pricing .price-card{flex:0 0 calc(20% - 6px);width:auto;height:auto;padding:16px 12px;overflow:hidden;cursor:pointer;transition:flex-basis .45s var(--ease),border-color .35s var(--ease)}
  #pricing .price-card.is-active{flex:0 0 calc(60% - 4px);cursor:default;border-color:var(--accent)}
  /* 收起态：只留竖排方案名 + 橙色短线 */
  #pricing .price-card:not(.is-active){display:flex;flex-direction:column;align-items:center;justify-content:center;background:#0e0e0e}
  #pricing .price-card:not(.is-active) .price-sub,
  #pricing .price-card:not(.is-active) .price-value,
  #pricing .price-card:not(.is-active) .btn,
  #pricing .price-card:not(.is-active) .price-list{display:none}
  #pricing .price-card:not(.is-active) .price-name{writing-mode:vertical-rl;text-orientation:mixed;letter-spacing:.28em;font-size:17px;margin:0;white-space:nowrap}
  #pricing .price-card:not(.is-active)::after{content:"";width:2px;height:26px;background:var(--accent);margin-top:14px;flex:0 0 auto}
  /* 展开态：完整内容压进固定高度，不把卡片撑高 */
  #pricing .price-card.is-active{padding:18px 16px}
  #pricing .price-card.is-active .price-name{font-size:18px}
  #pricing .price-card.is-active .price-sub{font-size:11px;margin-top:4px}
  #pricing .price-card.is-active .price-value{margin:14px 0 12px}
  #pricing .price-card.is-active .price-value strong{font-size:clamp(28px,8vw,36px)}
  #pricing .price-card.is-active .price-value strong.custom{font-size:clamp(21px,6vw,26px)}
  #pricing .price-card.is-active .btn{height:40px;font-size:11.5px}
  #pricing .price-card.is-active .price-list{margin-top:14px;padding-top:12px}
  #pricing .price-card.is-active .price-list li{padding:4px 0 4px 15px;font-size:11px;line-height:1.5}
  #pricing .price-card.is-active .price-list li::before{top:11px}
  #pricing .price-note{margin-top:20px;padding-right:48px;font-size:11.5px;gap:10px;line-height:1.75}
  #pricing .price-note .dot{margin-top:8px}

  /* ---------- 7. FAQ / 结尾 CTA ---------- */
  .home .faq-section{padding-top:46px;padding-bottom:46px}
  .home .faq-layout{gap:20px}
  .home .faq-intro .section-title{font-size:clamp(28px,7.5vw,38px);margin-bottom:10px}
  .faq-intro p{font-size:12.5px}
  .faq-intro .btn{margin-top:18px;height:44px}
  .faq-q{padding:13px 0;font-size:13.5px}
  .home .final-cta,
  .final-cta{padding-top:58px;padding-bottom:58px}
  .final-cta .section-label{margin-bottom:20px}
  .final-cta h2{font-size:clamp(32px,9vw,46px);line-height:1.25}
  .final-cta .cta-desc{font-size:13px;margin-top:18px;line-height:1.8}
  .cta-actions{margin-top:28px;gap:10px}
  .cta-actions .btn{height:46px}
  .cta-contact{margin-top:28px;gap:10px;font-size:11px;flex-wrap:wrap}

  /* ---------- 8. 页脚：两列收紧、社交方框加大、底部留安全区 ---------- */
  .footer-top{padding-top:46px;padding-bottom:34px;gap:30px 20px}
  .footer-brand{margin-bottom:0}
  .footer-slogan{font-size:22px;margin-top:20px}
  .footer-about{font-size:12px;line-height:1.8}
  .footer-col h3{margin-bottom:14px}
  .footer-col a{font-size:12.5px;padding:4px 0}
  .fc-label{margin-top:12px}
  .qr-box{width:104px;height:104px}
  .socials{gap:9px;margin-top:16px}
  .socials a{width:38px;height:38px;font-size:12px}
  .footer-bottom{padding-top:20px;padding-bottom:32px;gap:6px;line-height:1.8;font-size:10.5px}

  /* ---------- 9. 右下角浮动按钮：缩小、半透明，不再压住正文 ---------- */
  /* 隐藏的二维码卡片不再占位，浮动组件只占按钮本身高度 */
  .float-tools{right:10px;bottom:10px;gap:8px}
  .float-card{position:absolute;right:0;bottom:46px;width:min(280px,calc(100vw - 40px));padding:18px;z-index:2}
  .float-card .qr-box{width:126px;height:126px;margin:0 auto 12px}
  .float-card strong{font-size:13px}
  .float-btn{width:38px;height:38px;opacity:.6;transition:opacity .3s,border-color .3s}
  .float-btn:hover,.float-btn:focus-visible{opacity:1}
  .float-btn svg{width:16px;height:16px}
  .float-top{width:38px;height:38px;opacity:.6}
  .float-top.show{opacity:.6}
  .float-top:hover{opacity:1}

  /* ---------- 10. 内页列表卡片 ---------- */
  .work-card{aspect-ratio:4/3}
  .work-card .work-overlay{padding:14px}
  .download-item{padding:18px 0}
  .dl-meta,.dl-btn{margin-top:6px}
  .category-links{gap:8px}
  .category-links a{padding:8px 12px;font-size:11px}

  /* ---------- 11. 作品全屏放大：手机端箭头与按钮 ---------- */
  .lb-stage{padding:12px 8px}
  .lb-arrow{width:36px;height:52px;font-size:26px}
  .lb-prev{left:6px}
  .lb-next{right:6px}
  .lb-close{right:10px;width:36px;height:36px}
  .lb-fit{right:54px;height:36px;padding:0 9px;font-size:11px}
}

/* ---------- 超小屏（<=380px）微调 ---------- */
@media (max-width:380px){
  .wrap{padding-left:16px;padding-right:16px}
  .home .section-title{font-size:29px}
  .works-feature{gap:8px}
  .pf-col,.pf-col.is-active{height:100px}
  .pf-col.is-active{height:210px}
  #pricing .price-grid{height:clamp(350px,46vh,400px);gap:6px}
  #pricing .price-card{flex-basis:calc(20% - 4px);padding:14px 9px}
  #pricing .price-card.is-active{flex-basis:calc(60% - 4px);padding:16px 12px}
  #pricing .price-card.is-active .price-list li{font-size:10.5px}
  .footer-top{gap:24px 14px}
  .socials a{width:34px;height:34px}
}
