/* 火之蓝：页面内联样式之后加载的全部补充样式（2026-11-22 合并自 mobile-fix / site-polish / film-layout / inquiry，并加入外观精修） */

/* ===== 原 mobile-fix.css ===== */
/* 火之蓝：手机端 3D 段修复，在页面样式之后加载，只影响窄屏 */
@media (max-width:900px){
  /* 整段锁定为一屏：3D 画面自动收缩，给文字和控制条让位 */
  html body .kf.on3d{height:100vh;height:100svh;min-height:0}
  html body .kf.on3d .kf-stage{height:100%;grid-template-rows:minmax(0,1fr) auto}
  html body .kf.on3d .kf-canvas{min-height:0}
  html body .kf.on3d .kf-ui{padding-top:14px}
  html body .kf.on3d .kf-step h3{font-size:clamp(20px,6vw,26px);line-height:1.3}
  html body .kf.on3d .kf-step .label{margin-bottom:6px}
  html body .kf.on3d .kf-desc{margin-top:6px;font-size:13.5px;line-height:1.6}
  html body .kf.on3d .kf-eq{margin-top:6px;font-size:12px;line-height:1.5}
  html body .kf.on3d .kf-legend{margin-top:8px}
  html body .kf.on3d .kf-ctrl{margin-top:10px}

  /* 切换阶段：旧文字先快速消失，新文字再出现，避免两段叠在一起 */
  html body .kf.on3d .kf-step{transition:opacity .16s linear,visibility 0s linear .16s,transform .16s linear}
  html body .kf.on3d .kf-step.on{transition:opacity .5s ease .2s,visibility 0s linear .2s,transform .7s cubic-bezier(.16,1,.3,1) .2s}

  /* 进度数字：放到 3D 画面右下角，不再被顶栏盖住 */
  html body .kf.on3d .kf-hud{position:absolute;top:calc(var(--head) + 10px);bottom:auto;right:var(--gutter);margin:0;text-align:right;line-height:1;z-index:2}
  html body .kf-hud b{font-size:30px}
  html body .kf-hud span{font-size:12px}
  html body .kf-hud small{display:none}

  /* 爆炸图标注太密：手机上隐藏，改为文字区里的一行清单 */
  html body .kf-tag[data-tag^="e-"],html body .kf-tag[data-tag^="u-"],html body .kf-tag[data-tag="p-power"]{display:none}
  html body .kf-step:nth-child(5) .kf-desc::after,html body .kf-step:nth-child(6) .kf-desc::after{display:block;margin-top:6px;font-size:12px;line-height:1.5;opacity:.7}
  html body .kf-step:nth-child(5) .kf-desc::after{content:"排烟系统 · 烹饪设备 · 制冷保鲜 · 水电管线 · 地面基层"}
  html body .kf-step:nth-child(6) .kf-desc::after{content:"燃烧器 · 灶面 · 炉门 · 机身 · 支脚"}
  html:lang(en) body .kf-step:nth-child(5) .kf-desc::after{content:"Ventilation · Cooking · Refrigeration · Utilities · Floor"}
  html:lang(en) body .kf-step:nth-child(6) .kf-desc::after{content:"Burners · Cooktop · Oven door · Body · Feet"}
}
@media (max-width:640px){
  /* 控制条不再被底部电话栏遮挡 */
  html body .kf.on3d .kf-ui{padding-bottom:calc(68px + env(safe-area-inset-bottom))}
}
/* 矮屏手机：去掉次要信息 */
@media (max-width:640px) and (max-height:620px){
  html body .kf.on3d .kf-eq,html body .kf.on3d .kf-legend,html body .kf-step:nth-child(5) .kf-desc::after,html body .kf-step:nth-child(6) .kf-desc::after{display:none}
  html body .kf.on3d .kf-step h3{font-size:20px}
  html body .kf.on3d .kf-desc{font-size:13px;line-height:1.55}
}
/* 手机横屏：只留标题和控制条 */
@media (max-width:900px) and (max-height:500px){
  html body .kf.on3d .kf-desc,html body .kf.on3d .kf-eq,html body .kf.on3d .kf-legend,html body .kf.on3d .kf-step .label{display:none}
  html body .kf.on3d .kf-ui{padding-top:8px;padding-bottom:8px}
  html body .kf.on3d .kf-step h3{font-size:18px}
  html body .kf.on3d .kf-ctrl{margin-top:6px}
}

/* ===== 原 site-polish.css ===== */
/* 火之蓝：全站体验优化，在页面样式之后加载 */

/* 可读性：小字和说明文字加深，浅灰小字在手机强光下也能看清 */
:root{--ink-2:#4b5059;--ink-3:#686d76;--night-2:#b6bac2}
footer{color:#a0a5af}

/* 3D 载入时的提示线，避免一片空白 */
html body .kf.on3d:not(.ready3d) .kf-stage::before{content:"";position:absolute;left:50%;top:38%;z-index:3;width:140px;height:1px;margin-left:-70px;background:linear-gradient(90deg,transparent,#7cc0ff,#ff6a4a,transparent);background-size:200% 100%;animation:polishLoad 1.3s linear infinite}
@keyframes polishLoad{from{background-position:200% 0}to{background-position:0 0}}

/* 复制提示 */
.polish-toast{position:fixed;left:50%;bottom:32px;z-index:160;transform:translate(-50%,12px);padding:10px 18px;background:#14161a;color:#fff;font-size:14px;line-height:1.4;white-space:nowrap;opacity:0;pointer-events:none;transition:opacity .25s ease,transform .35s cubic-bezier(.16,1,.3,1)}
.polish-toast.on{opacity:1;transform:translate(-50%,0)}

@media (max-width:640px){
  /* 版块间距收紧，减少空滑 */
  html body .sec{padding-block:64px}
  html body .state{padding-block:72px}
  html body .p-head{margin-bottom:24px}

  /* 产品改为两列，页面长度明显缩短，一屏能比较更多品类 */
  html body .grid{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:14px;row-gap:26px;margin-top:22px}
  html body .card h3{display:block;margin-top:10px;padding-top:10px;font-size:15px;line-height:1.4}
  html body .card-go{display:none}
  html body .card p{margin-top:4px;font-size:12.5px;line-height:1.55}

  /* 产品分类改为一行横滑，每个按钮都够大 */
  html body .filters{flex-wrap:nowrap;gap:22px;overflow-x:auto;margin-inline:calc(var(--gutter)*-1);padding:0 var(--gutter);scrollbar-width:none;-webkit-overflow-scrolling:touch}
  html body .filters::-webkit-scrollbar{display:none}
  html body .filter{flex:none;min-height:44px;padding:0;white-space:nowrap}
  html body .filter::after{bottom:0}

  /* 复制提示避开底部电话栏 */
  .polish-toast{bottom:calc(72px + env(safe-area-inset-bottom))}
}

/* 中文标题只在标点处换行；正文避免末行只剩一两个字 */
h1,h2,h3,.lit{word-break:keep-all;overflow-wrap:anywhere}
p{text-wrap:pretty}

/* 联系方式：放大手机点按范围，不改变排版 */
#contact dd a{display:inline-block;padding:12px 0;margin:-12px 0}

/* 询价清单已选设备数量 */
a[data-iq-count]::after{content:" · " attr(data-iq-count)}

/* 图片加载前先占好位置，页面不跳动 */
img[src*="/images/bg.webp"]{aspect-ratio:1/1}

/* 返回顶部 */
.polish-top{position:fixed;right:16px;bottom:28px;z-index:90;display:grid;place-items:center;width:44px;height:44px;padding:0;border:1px solid var(--line);background:#fff;color:var(--ink);cursor:pointer;opacity:0;visibility:hidden;transform:translateY(8px);transition:opacity .25s ease,transform .35s cubic-bezier(.16,1,.3,1),visibility .25s}
.polish-top.on{opacity:1;visibility:visible;transform:none}
.polish-top svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.5}
.polish-top:hover{background:var(--ink);color:#fff}
@media (max-width:900px){.polish-top{bottom:calc(72px + env(safe-area-inset-bottom))}}
@media (prefers-reduced-motion:reduce){.polish-top{transition:none}}

/* ===== 原 film-layout.css ===== */
/* 火之蓝：3D 短片版面。文字与模型分区，互不遮挡；画面从顶栏下方开始 */
html body .kf.on3d{height:100vh;height:100svh;min-height:0}
html body .kf.on3d .kf-stage{display:grid;box-sizing:border-box;height:100%;padding-top:var(--head);overflow:hidden;background:rgb(var(--kf-rgb))}
html body .kf.on3d .kf-stage::after{display:none}
html body .kf.on3d .kf-canvas{position:relative;inset:auto;width:100%;height:100%;min-height:0}
html body .kf.on3d .kf-tags{position:absolute;inset:0}

/* 电脑端：左文右图 */
@media (min-width:901px){
  html body .kf.on3d{min-height:560px}
  html body .kf.on3d .kf-stage{--kf-col:max(360px,32%);grid-template-columns:var(--kf-col) minmax(0,1fr);grid-template-rows:minmax(0,1fr)}
  html body .kf.on3d .kf-canvas,html body .kf.on3d .kf-tags{grid-column:2;grid-row:1}
  html body .kf.on3d .kf-canvas{-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 72px);mask-image:linear-gradient(90deg,transparent 0,#000 72px)}
  html body .kf.on3d .kf-ui{position:static;display:contents}
  html body .kf.on3d .kf-list{z-index:2;left:var(--gutter);top:calc(50% + var(--head)/2 - 40px);width:calc(var(--kf-col) - var(--gutter) - 28px)}
  html body .kf.on3d .kf-legend,html body .kf.on3d .kf-ctrl,html body .kf.on3d .kf-hud{z-index:2}
  html body .kf.on3d .kf-ctrl{width:calc(var(--kf-col) - var(--gutter) - 28px)}
  html body .kf.on3d .kf-chapters{flex:1;min-width:0}
  html body .kf.on3d .kf-chapters button{flex:1;width:auto;min-width:0}
}

/* 手机和平板：上图下文 */
@media (max-width:900px){
  html body .kf.on3d .kf-stage{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto}
  html body .kf.on3d .kf-canvas,html body .kf.on3d .kf-tags{grid-column:1;grid-row:1}
  html body .kf.on3d .kf-ui{grid-column:1;grid-row:2;max-width:none;margin:0;padding-left:var(--gutter);padding-right:var(--gutter)}
  html body .kf.on3d .kf-hud{top:calc(var(--head) + 10px);bottom:auto;z-index:3}
}

/* 手机横屏：左文右图，画面才够高 */
@media (max-width:900px) and (max-height:500px){
  html body .kf.on3d .kf-stage{grid-template-columns:minmax(240px,36%) minmax(0,1fr);grid-template-rows:minmax(0,1fr)}
  html body .kf.on3d .kf-canvas,html body .kf.on3d .kf-tags{grid-column:2;grid-row:1}
  html body .kf.on3d .kf-ui{grid-column:1;grid-row:1;align-self:center;padding-top:0;padding-bottom:0;padding-left:var(--gutter);padding-right:14px}
  html body .kf.on3d .kf-chapters button{min-width:0}
}

/* ===== 原 inquiry.css ===== */
/* 火之蓝：询价清单 */
.iq{background:var(--paper);border-top:1px solid var(--line)}
.iq-head{max-width:760px;margin-bottom:clamp(32px,4vw,56px)}
.iq-head p{margin-top:18px;color:var(--ink-2)}
.iq-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:clamp(32px,5vw,80px);align-items:start}
.iq-group{margin:0 0 30px;padding:0;border:0;min-width:0}
.iq-group>span,.iq-field>span{display:block;margin-bottom:12px;font-size:14px;font-weight:500;color:var(--ink)}
.iq-chips{display:flex;flex-wrap:wrap;gap:8px}
.iq-chip{min-height:44px;padding:0 16px;border:1px solid var(--line);background:transparent;color:var(--ink-2);font-size:14px;line-height:1.3;transition:background-color .25s ease,color .25s ease,border-color .25s ease}
.iq-chip:hover{border-color:var(--ink);color:var(--ink)}
.iq-chip[aria-pressed=true]{background:var(--ink);border-color:var(--ink);color:#fff}
.iq-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:14px}
.iq-field{display:block;min-width:0}
.iq-field>span{margin-bottom:8px;font-size:13px;font-weight:400;color:var(--ink-2)}
.iq input,.iq textarea{display:block;box-sizing:border-box;width:100%;min-height:46px;padding:10px 12px;border:1px solid var(--line);border-radius:0;background:#fff;color:var(--ink);font:inherit;font-size:16px;line-height:1.5}
.iq input:focus,.iq textarea:focus{outline:2px solid var(--blue);outline-offset:-1px}
.iq-note textarea{min-height:92px;resize:vertical}
.iq-side{position:sticky;top:calc(var(--head) + 20px);padding:clamp(20px,2.4vw,32px);background:var(--mist)}
.iq-side>span{display:block;margin-bottom:12px;font-size:14px;font-weight:500}
.iq .iq-preview{min-height:150px;overflow:hidden;border:0;background:transparent;padding:0;font-size:14px;line-height:1.75;color:var(--ink-2);resize:none}
.iq .iq-preview:focus{outline:none}
.iq-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}
.iq-btn{display:inline-flex;align-items:center;justify-content:center;flex:1 1 150px;min-height:48px;padding:0 18px;border:1px solid var(--ink);font-size:15px;text-align:center;transition:background-color .25s ease,color .25s ease}
.iq-btn.solid{background:var(--ink);color:#fff}
.iq-btn.solid:hover{background:#343840}
.iq-btn.line:hover{background:var(--ink);color:#fff}
.iq-foot{margin-top:14px;font-size:13px;line-height:1.7;color:var(--ink-3)}
.iq-foot a{color:var(--ink);text-decoration:underline;text-underline-offset:3px}
.iq-toast{position:fixed;left:50%;bottom:32px;z-index:170;transform:translate(-50%,12px);max-width:calc(100vw - 32px);padding:10px 18px;background:#14161a;color:#fff;font-size:14px;line-height:1.4;opacity:0;pointer-events:none;transition:opacity .25s ease,transform .35s cubic-bezier(.16,1,.3,1)}
.iq-toast.on{opacity:1;transform:translate(-50%,0)}
.iq-toast,.polish-toast{box-sizing:border-box;width:max-content;max-width:calc(100vw - 32px)}
.iq-hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.iq-btn:disabled{opacity:.6;cursor:default}
.iq-add{margin:0}
dialog .iq-add.on{background:var(--ink);color:#fff;border-color:var(--ink)}
@media (max-width:900px){
  .iq-grid{grid-template-columns:minmax(0,1fr)}
  .iq-side{position:static}
  .iq .iq-preview{min-height:96px}
}
@media (max-width:640px){
  .iq-fields{grid-template-columns:minmax(0,1fr)}
  .iq-toast{bottom:calc(72px + env(safe-area-inset-bottom))}
  .iq-chip{padding:0 13px}
}
@media (prefers-reduced-motion:reduce){.iq-toast{transition:none}}

/* ===== 外观精修 · 2026-11-22 ===== */

/* 版块小标题：前置品牌渐变短线 */
.sec .label{display:flex;align-items:center;gap:12px}
.sec .label::before{content:"";flex:none;width:24px;height:1px;background:var(--duo)}

/* 产品图：浅灰底托，白底图融入底色，卡片边界更清楚 */
.media{background:var(--mist)}
.card .media img,.dlg .media img,.jiu-logo img{mix-blend-mode:multiply}

/* 久厨专区标签改为描边小标签 */
.points{gap:8px}
.points li{padding:6px 14px;border:1px solid var(--line);font-size:14px;line-height:1.6}
.points li+li::before{display:none}

/* 流程序号放大，成为每一步的视觉锚点 */
.num{font-size:clamp(30px,2.6vw,42px);font-weight:200;line-height:1;letter-spacing:0;color:var(--ink)}
.step h3{margin-top:22px}

/* 询价清单预览面板：顶部品牌线 */
.iq-side{border-top:2px solid transparent;border-image:var(--duo) 1}

@media (min-width:761px){
  /* 字号与对比：小字整体放大一级 */
  .label{font-size:14px}
  .scene span,.card p,.step p{font-size:15px}
  .scene b{font-size:18px}
  .card h3{font-size:19px}
  .card-go{color:var(--ink-2)}
  /* 大标语上下留白收紧，减少空滑 */
  .state{padding-block:clamp(88px,11vw,168px)}
}
@media (min-width:901px){
  .nav{font-size:15px}
  .lead,.ab-lead,.ct-lead{font-size:17px}
  .svc span{font-size:16px}
  .step h3{font-size:20px}
  /* 久厨专区：独立描边面板，左标右文 */
  .jiu-grid{grid-template-columns:minmax(240px,1fr) 2fr;gap:0;align-items:stretch}
  .jiu-logo{width:auto;display:grid;place-items:center;padding:clamp(40px,5vw,72px);background:var(--mist);border:1px solid var(--line)}
  .jiu-logo img{width:clamp(140px,13vw,200px)}
  .jiu-text{max-width:none;padding:clamp(40px,5vw,72px);border:1px solid var(--line);border-left:0}
}

/* ===== 多设备适配 · 2026-11-22 ===== */
/* 平板与手机横屏：产品三列，页面不再过长 */
@media (min-width:761px) and (max-width:1040px){
  .grid{grid-template-columns:repeat(3,minmax(0,1fr));column-gap:20px;row-gap:40px}
  .card h3{font-size:17px}
  .card-go{display:none}
  .card p{font-size:14px}
}
/* 竖屏平板：关于区保持左文右图 */
@media (min-width:761px) and (max-width:900px){
  .ab-grid{grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:36px;align-items:center}
  .svc li{grid-template-columns:1fr;gap:2px}
}
/* 触屏设备：放大点按范围 */
@media (pointer:coarse){
  .filter{min-height:44px}
  .kf-play{width:44px;height:44px}
  .kf-play i{left:17px;top:15px}
  .kf-play.paused i{left:18px;top:15px}
  .foot a{display:inline-block;padding:12px 0;margin:-12px 0}
}
@media (pointer:coarse) and (min-width:901px){
  .lang{padding:12px 10px;margin:-12px -10px}
  .nav .tel{padding:10px 0}
}

/* ===== 动画补充 · 2026-11-22：只动 transform / opacity，交给合成器 ===== */
.scene{position:relative}
.info div{position:relative}
.hero-cue{position:absolute;left:50%;bottom:22px;width:1px;height:44px;overflow:hidden;background:rgba(255,255,255,.24);pointer-events:none}
.hero-cue i{position:absolute;inset:0;background:#fff;transform:translateY(-100%)}
@media (max-width:900px),(max-height:560px){.hero-cue{display:none}}
/* 离开视野后：暂停循环动画，释放合成层 */
.hero.is-off .hero-cue i,.contact.is-off .aurora i{animation-play-state:paused}
.hero.is-off .hero-frame,.hero.is-off .hero-in,.hero.is-off .hero-media img{will-change:auto}
.contact.is-off .aurora i{will-change:auto}

@media (prefers-reduced-motion:no-preference){
  /* 首屏滚动提示线 */
  .hero-cue i{animation:cue 2.4s var(--sweep) infinite}
  @keyframes cue{0%{transform:translateY(-100%)}60%,100%{transform:translateY(100%)}}

  /* 小标题短线划入 */
  .js .sec .label[data-reveal]::before{transform:scaleX(0);transform-origin:left;transition:transform .9s var(--glide) .2s}
  .js .sec .label[data-reveal].seen::before{transform:none}

  /* 流程：序号、标题、说明依次浮现 */
  .js .step .num,.js .step h3,.js .step p{opacity:0;transform:translateY(12px);transition:opacity .7s var(--ease),transform .9s var(--glide)}
  .js .step.seen .num,.js .step.seen h3,.js .step.seen p{opacity:1;transform:none}
  .js .step.seen .num{transition-delay:calc(var(--d,0ms) + 120ms)}
  .js .step.seen h3{transition-delay:calc(var(--d,0ms) + 220ms)}
  .js .step.seen p{transition-delay:calc(var(--d,0ms) + 320ms)}

  /* 场景条、联系方式行：悬停时品牌线划过 */
  .scene::after,.info div::after{content:"";position:absolute;left:0;right:0;height:1px;background:var(--duo);transform:scaleX(0);transform-origin:left;transition:transform 1.1s var(--glide)}
  .scene::after{top:-1px}
  .info div::after{bottom:-1px}
  @media (hover:hover){.scene:hover::after,.info div:hover::after{transform:scaleX(1)}}

  /* 产品卡：查看品类箭头 */
  .card-go::after{content:"→";display:inline-block;margin-left:6px;transition:transform .9s var(--glide)}
  .card:hover .card-go::after{transform:translateX(4px)}
  /* 触屏按压反馈 */
  @media (hover:none){
    .js .card.seen.settled:active .media img{transform:scale(.97);transition-duration:.25s}
    .iq-chip:active,.iq-btn:active{transform:scale(.97)}
  }

  /* 询价选项选中回弹 */
  .iq-chip[aria-pressed=true]{animation:chipPop .4s var(--glide)}
  @keyframes chipPop{from{transform:scale(.93)}}

  /* 关于区配图：随滚动轻微视差（浏览器原生滚动时间线，不占主线程） */
  @supports (animation-timeline:view()){
    .js .ab-fig.seen .ab-frame img{animation:abDrift linear both;animation-timeline:view()}
    @keyframes abDrift{from{transform:translateY(-3%) scale(1.07)}to{transform:translateY(3%) scale(1.07)}}
  }

  /* 中英文切换：整页柔和过渡 */
  ::view-transition-old(root),::view-transition-new(root){animation-duration:.35s}
}

/* ===== 页脚 · 2026-11-22 ===== */
.foot-main{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:28px 48px;padding-block:clamp(40px,5vw,64px) clamp(26px,3vw,38px);border-top:1px solid var(--night-line)}
.foot-brand b{display:block;font-size:20px;font-weight:400;letter-spacing:.06em;line-height:1.4;color:#fff}
.foot-brand p{margin-top:6px;font-size:14px;color:var(--night-2)}
.foot-nav{display:flex;flex-wrap:wrap;gap:4px 28px;font-size:14px}
.foot-nav a{position:relative;padding:10px 0;color:var(--night-2);transition:color .4s var(--ease)}
.foot-nav a::after{content:"";position:absolute;left:0;right:0;bottom:6px;height:1px;background:var(--duo);transform:scaleX(0);transform-origin:left;transition:transform .6s var(--ease)}
.foot-nav a:hover{color:#fff}
.foot-nav a:hover::after{transform:scaleX(1)}
@media (max-width:640px){
  .foot-main{flex-direction:column;align-items:flex-start;gap:20px}
  .foot-nav{display:grid;grid-template-columns:repeat(3,auto);justify-content:start;gap:0 28px}
}
