/* 新版首页独立首屏：不用全站轨道变量，避免影响 Company 等页面。 */
.yumin-home-hero--factory { position: relative; isolation: isolate; background: #00544f; color: #fff; overflow: hidden; container-type: inline-size; font-family: YuminHomeHero, Inter, Arial, sans-serif; }
.yumin-home-hero--factory .yumin-home-hero__backdrop { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.yumin-home-hero--factory picture,
.yumin-home-hero--factory .yumin-home-hero__backdrop img { display: block; width: 100%; height: 100%; }
.yumin-home-hero--factory .yumin-home-hero__backdrop img { object-fit: cover; object-position: center; }
.yumin-home-hero--factory::before {
  position: absolute; inset: 0; z-index: -1; content: ""; pointer-events: none;
  background: linear-gradient(180deg,rgba(0,62,58,.34),rgba(0,62,58,.08) 45%,rgba(0,72,67,.52)),linear-gradient(90deg,rgba(0,76,72,.55),rgba(0,76,72,.14) 52%,rgba(0,122,116,.16));
}
.yumin-home-hero--factory .yumin-home-hero__inner { box-sizing: border-box; display: flex; align-items: center; width: min(1200px, calc(100% - 64px)); min-height: clamp(560px, 72vh, 760px); margin-inline: auto; padding: 56px 0 96px; }
.yumin-home-hero--factory .yumin-home-hero__content { width: 660px; max-width: 100%; }
.yumin-home-hero--factory h1 { margin: 0; max-width: none; color: #fff; font-size: clamp(40px, 4.5cqw, 63.2px); font-weight: 700; line-height: 1.06; letter-spacing: -.035em; }
.yumin-home-hero__accent { color: #79e4d9; }
.yumin-home-hero--factory .yumin-home-hero__subtitle { max-width: 430px; margin: 26px 0 0; color: rgba(255,255,255,.9); font-size: clamp(16.32px, 1.35cqw, 19.04px); font-weight: 400; line-height: 1.65; }
.yumin-home-hero--factory .yumin-home-actions { display: flex; margin-top: 38px; }
.yumin-home-hero--factory .yumin-home-actions .yumin-button { box-sizing: border-box; min-height: 56px; padding: 0 34px; gap: 18px; color: #fff; background: #009b98; font-size: 14.88px; font-weight: 700; line-height: 1.3; }
.yumin-home-hero--factory .yumin-button:focus-visible { outline: 3px solid #0a3e42; outline-offset: 5px; }
/* CSS 保留无脚本锚点定位；滚动动画由首屏脚本处理，尊重减少动态效果设置。 */
.home .yumin-contact-page__form-section { scroll-margin-top: calc(var(--yumin-header-height, 72px) + 24px); }
@media (max-width: 1024px) {
  .yumin-home-hero--factory .yumin-home-hero__inner { min-height: 0; padding-top: 64px; padding-bottom: 110px; }
  .yumin-home-hero--factory::before { background: linear-gradient(90deg, rgba(0,62,58,.8), rgba(0,76,72,.45)); }
}
@media (max-width: 760px) {
  .yumin-home-hero--factory .yumin-home-hero__inner { width: calc(100% - 40px); padding-top: 44px; padding-bottom: 110px; }
  .yumin-home-hero--factory h1 { font-size: clamp(32.8px, 7.4cqw, 43.2px); }
  .yumin-home-hero--factory .yumin-home-hero__subtitle { font-size: 16px; }
  .yumin-home-hero--factory .yumin-home-hero__backdrop img { object-position: center; }
}
@media (prefers-reduced-motion: reduce) {
  .yumin-home-hero--factory .yumin-button { transition: none; }
  .yumin-home-hero--factory .yumin-button:hover { transform: none; }
}

/* 背景只在前台脚本确认允许动效后播放。编辑器和无脚本环境保持清晰静态图。 */
.yumin-home-hero--factory .yumin-home-hero__backdrop { transform: translate3d(0, var(--yumin-hero-offset, 0px), 0); }
.yumin-home-hero--factory.yumin-hero-motion .yumin-home-hero__backdrop img { animation: yumin-home-hero-zoom 16s cubic-bezier(.22,.61,.36,1) both; }
@keyframes yumin-home-hero-zoom { from { transform: scale(1.02); } to { transform: scale(1.1); } }
.yumin-home-hero--factory .yumin-home-actions .yumin-button { transition: transform .25s ease-out, background .3s, box-shadow .3s; }
.yumin-home-hero--factory .yumin-home-actions .yumin-button:hover { background: #007d79; box-shadow: 0 14px 32px rgba(0,50,47,.28); }
/* 与底部 Contact Us 共用箭头几何、22×11 尺寸及缓动，避免字体箭头随系统变化。 */
.yumin-home-hero--factory .yumin-home-actions .yumin-button > .yumin-home-hero__arrow { display:block; width:22px; height:11px; flex:none; transition:transform .35s cubic-bezier(.22,.61,.36,1); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .yumin-home-hero--factory .yumin-home-actions .yumin-button:hover > [aria-hidden] { transform: translateX(5px); }
}
@media (min-width: 783px) {
  .yumin-home-hero--factory .yumin-home-hero__inner { padding-top: calc(var(--yumin-header-height, 84px) + 24px); }
}
@media (prefers-reduced-motion: reduce) {
  .yumin-home-hero--factory .yumin-home-hero__backdrop { transform: none; }
  .yumin-home-hero--factory.yumin-hero-motion .yumin-home-hero__backdrop img { animation: none; }
  .yumin-home-hero--factory .yumin-home-actions .yumin-button,
  .yumin-home-hero--factory .yumin-home-actions .yumin-button > [aria-hidden] { transition: none; transform: none; }
}

/* 桌面首屏总高包含独立页头区域，文字轨道与设计统计卡对齐。 */
@media(min-width:783px) {
  .yumin-home-hero--factory { padding-top:78px; }
  .yumin-home-hero--factory .yumin-home-hero__inner { width:min(1184px,calc(100% - 56px)); min-height:clamp(560px,72vh,760px); padding:24px 0 110px; }
  .yumin-home-hero--factory h1 { font-size:clamp(40px,4.6vw,64px); }
  .yumin-home-hero--factory .yumin-home-actions { margin-top:30px; }
}
