/* MR JOB V6.3 - four independently animated industry hero scenes */
.hero-media{background-color:#101a1c;background-image:var(--hero-still);background-position:center;background-size:cover}
.hero-media video{position:absolute;inset:0;z-index:0;width:100%;height:100%;object-fit:cover;opacity:.62;filter:contrast(1.09) saturate(.8) brightness(.76);transition:opacity .45s ease}
.hero-media.hero-video-changing video{opacity:0}
.hero-media .hero-tint{z-index:2;pointer-events:none}
.hero-media .hero-grid{z-index:3;pointer-events:none}
.hero-industrial-motion{position:absolute;inset:0;z-index:1;pointer-events:none;overflow:hidden;mix-blend-mode:screen}
.industry-motion{position:absolute;inset:0;opacity:0;transition:opacity .75s ease}
.industry-motion i{position:absolute;display:block;pointer-events:none}
.hero[data-active-sector=produktion] .industry-motion--production,
.hero[data-active-sector=verpackung] .industry-motion--packaging,
.hero[data-active-sector=logistik] .industry-motion--logistics,
.hero[data-active-sector=tischlerei] .industry-motion--carpentry{opacity:1}
/* Production: a synchronized line scanner moving over the plant. */
.industry-motion--production i{height:1px;background:linear-gradient(90deg,transparent,rgba(245,49,69,.47),transparent);left:40%;width:70%;box-shadow:0 0 24px rgba(249,33,63,.19)}
.industry-motion--production i:nth-child(1){top:21%;animation:industryProd 7s linear infinite}
.industry-motion--production i:nth-child(2){top:45%;animation:industryProd 7s 1.9s linear infinite}
.industry-motion--production i:nth-child(3){top:71%;animation:industryProd 7s 3.7s linear infinite}
@keyframes industryProd{0%{transform:translateX(55%);opacity:0}15%{opacity:.9}80%{opacity:.58}100%{transform:translateX(-58%);opacity:0}}
/* Packaging: moving edge-guides suggest packs moving on the line. */
.industry-motion--packaging i{width:72px;height:54px;top:34%;right:10%;border:1px solid rgba(240,65,79,.5);background:linear-gradient(140deg,rgba(211,32,57,.12),transparent);box-shadow:0 0 40px rgba(234,32,51,.08);transform:perspective(300px) rotateY(-20deg);animation:industryPackage 6s linear infinite}
.industry-motion--packaging i:nth-child(2){top:44%;animation-delay:-1.5s}
.industry-motion--packaging i:nth-child(3){top:54%;animation-delay:-3s}
.industry-motion--packaging i:nth-child(4){top:64%;animation-delay:-4.5s}
@keyframes industryPackage{0%{translate:280px 0;opacity:0;scale:.85}20%{opacity:.8}80%{opacity:.65}100%{translate:-650px 0;opacity:0;scale:1.15}}
/* Logistics: horizontal flowing route dashes, directions. */
.industry-motion--logistics i{height:1px;right:-8%;width:66%;top:33%;background:repeating-linear-gradient(90deg,transparent 0 34px,rgba(221,234,245,.37) 35px 67px,transparent 68px 103px);animation:industryRoute 4s linear infinite}
.industry-motion--logistics i:nth-child(2){top:55%;right:0%;animation-duration:6s;animation-direction:reverse;opacity:.8}
.industry-motion--logistics i:nth-child(3){top:71%;animation-delay:-2s;opacity:.55}
@keyframes industryRoute{0%{background-position:0 0;transform:translateX(50px)}100%{background-position:360px 0;transform:translateX(-75px)}}
/* Furniture production: warm illuminated fine wood dust, not a fake rotating tool. */
.industry-motion--carpentry i{width:4px;height:4px;top:60%;right:25%;border-radius:50%;background:rgba(252,189,98,.95);box-shadow:0 0 22px 4px rgba(252,163,85,.26);animation:industryDust 5.8s ease-in-out infinite}
.industry-motion--carpentry i:nth-child(2){top:49%;right:32%;animation-delay:-.9s;width:2px;height:2px}
.industry-motion--carpentry i:nth-child(3){top:68%;right:43%;animation-delay:-2.2s;width:3px;height:3px}
.industry-motion--carpentry i:nth-child(4){top:38%;right:19%;animation-delay:-3.1s;width:2px;height:2px}
.industry-motion--carpentry i:nth-child(5){top:57%;right:10%;animation-delay:-4s;width:3px;height:3px}
.industry-motion--carpentry i:nth-child(6){top:73%;right:39%;animation-delay:-4.8s;width:2px;height:2px}
@keyframes industryDust{0%{opacity:0;transform:translate3d(0,35px,0)}30%{opacity:.74}80%{opacity:.32}100%{opacity:0;transform:translate3d(-100px,-90px,0)}}
.hero-sector-toggle button{position:relative;overflow:hidden}
.hero-sector-toggle button.active:after{content:'';position:absolute;bottom:0;left:0;width:100%;height:2px;background:#eb223f;animation:industryActivate 1s ease both}
@keyframes industryActivate{from{transform:scaleX(0);transform-origin:left}to{transform:scaleX(1);transform-origin:left}}
.hero-micro span{transition:opacity .26s;color:#f0f4f4}
.voice-card .voice-topic-text{margin:0;font-size:18px;line-height:1.45;letter-spacing:-.016em;flex:1}
.voice-card .voice-quote-mark{font-size:36px;letter-spacing:-.1em;font-weight:700;margin:30px 0 22px}
@media(max-width:650px){.hero-media video{opacity:.48}.voice-card .voice-topic-text{font-size:16px}.industry-motion--packaging i{width:38px;height:32px}.industry-motion--logistics i{width:90%}}
@media(prefers-reduced-motion:reduce){.industry-motion i,.hero-sector-toggle button.active:after{animation:none!important}.industry-motion{opacity:0!important}.hero-media video{display:none}}

/* V7.2 · branżowe kino: ruch również podczas przełączania MP4 i w razie blokady autoplay */
.hero-media{isolation:isolate;overflow:hidden}
.hero-media::before{content:"";position:absolute;inset:-5%;z-index:0;background-image:var(--hero-still);background-size:cover;background-position:center;transform-origin:center;animation:mrjobHeroStillMotion 9s ease-in-out infinite alternate;will-change:transform;pointer-events:none}
@keyframes mrjobHeroStillMotion{0%{transform:scale(1.01) translate3d(0,0,0)}100%{transform:scale(1.08) translate3d(-1.5%,1%,0)}}
.hero-media video{z-index:1;opacity:.83;filter:contrast(1.09) saturate(.98) brightness(.92)}
.hero-media.hero-video-changing video{opacity:0}
.hero-media .hero-tint{z-index:3;pointer-events:none}
.hero-media .hero-grid{z-index:4;pointer-events:none}
.hero-industrial-motion{z-index:5;mix-blend-mode:screen;opacity:.9}
/* Zwiększona czytelność efektów bez zasłaniania tekstu sprzedażowego */
.industry-motion--packaging i{border-width:2px;border-color:rgba(255,77,96,.73);box-shadow:0 0 30px rgba(248,39,63,.33),inset 0 0 14px rgba(238,36,53,.13)}
.industry-motion--logistics i{height:2px;background:repeating-linear-gradient(90deg,transparent 0 32px,rgba(248,244,245,.65) 34px 54px,transparent 56px 90px);filter:drop-shadow(0 0 7px rgba(230,36,65,.27))}
.industry-motion--carpentry i{box-shadow:0 0 15px 4px rgba(255,161,71,.56)}
.hero[data-active-sector=verpackung] .hero-industrial-motion::after,
.hero[data-active-sector=logistik] .hero-industrial-motion::after,
.hero[data-active-sector=tischlerei] .hero-industrial-motion::after{content:"";position:absolute;right:9%;bottom:17%;width:130px;height:1px;background:linear-gradient(90deg,transparent,#ff465d,transparent);transform:rotate(-9deg);box-shadow:0 0 17px rgba(255,52,72,.55);animation:mrjobSceneSignal 3.4s ease-in-out infinite alternate}
@keyframes mrjobSceneSignal{0%{opacity:.15;translate:15px 12px}100%{opacity:.75;translate:-48px -15px}}
@media(prefers-reduced-motion:reduce){.hero-media::before,.hero-industrial-motion::after{animation:none!important}.hero-media::before{inset:0;transform:none!important}.hero-industrial-motion{display:none!important}}
@media(max-width:700px){.hero-industrial-motion{opacity:.48}.hero-media video{opacity:.66}}
