/* AX-10 V8 / VARIANTS B — KINEMATOGRĀFISKAS FOTOGRĀFIJAS
   Vienīgās atšķirības no pārbaudītās V7 lapas: foto foni, maskas, kustība. */
:root{--ax-photo-speed:19s;}
.hero,.services-section,.story-section,.process-section,
.gallery-section,.contact-section{position:relative;isolation:isolate;overflow:clip;}
.hero>.container,.services-section>.container,.story-section>.container,
.process-section>.container,.gallery-section>.container,.contact-section>.container{position:relative;z-index:2;}
.hero::before,.services-section::before,.story-section::before,
.process-section::before,.gallery-section::before,.contact-section::before{
 content:"";position:absolute;z-index:0;pointer-events:none;background-size:cover;
 background-repeat:no-repeat;filter:grayscale(1) contrast(1.52) brightness(.94);
 animation:axPhotoZoom var(--ax-photo-speed) ease-in-out infinite alternate;
 transform:scale(1.015);}
.hero::after,.services-section::after,.story-section::after,
.process-section::after,.gallery-section::after,.contact-section::after{
 content:"";position:absolute;z-index:1;inset:0;pointer-events:none;}
.hero{background:#090f16;}
.hero::before{inset:-2% -4% -2% -2%;opacity:.56;
 background-image:url('../assets/images/scene-workshop.webp');background-position:42% 44%;}
.hero::after {background:linear-gradient(90deg,rgba(7,13,20,.86),rgba(7,13,20,.79) 34%,rgba(7,13,20,.36) 63%,rgba(7,13,20,.42)),linear-gradient(0deg,rgba(7,13,20,.96) 0%,transparent 22%,transparent 84%,rgba(7,13,20,.40));}
.hero .hero-glow{z-index:2;opacity:.30;}
.hero-grid,.hero-bottom{position:relative;z-index:3;}
.services-section{background:#0b131b;}
.services-section::before{inset:0;opacity:.65;
 background-image:url('../assets/images/scene-brakes.webp');background-size:cover;background-position:42% 52%;
 -webkit-mask-image:linear-gradient(90deg,#000 0%,transparent 76%,#000 100%);mask-image:linear-gradient(90deg,#000 0%,transparent 76%,#000 100%);}
.services-section::after{background:linear-gradient(90deg,rgba(9,15,22,.74),rgba(9,15,22,.94) 40%,rgba(9,15,22,.87) 76%,rgba(9,15,22,.65)),linear-gradient(0deg,#0b131b 0%,transparent 23%,transparent 81%,#0b131b 100%);}
.story-section{background:#121923;}
.story-section::before{inset:0;opacity:.56;
 background-image:url('../assets/images/scene-mechanic.webp');background-position:58% 56%;}
.story-section::after{background:linear-gradient(90deg,rgba(14,21,30,.83) 0%,rgba(14,21,30,.76) 43%,rgba(14,21,30,.69)),linear-gradient(0deg,#121923 0%,transparent 20%,transparent 78%,#121923);}
.process-section{background:#0e141b;}
.process-section::before{inset:0;opacity:.42;
 background-image:url('../assets/images/scene-workshop.webp');background-position:60% 60%;}
.process-section::after{background:linear-gradient(90deg,rgba(9,16,24,.86),rgba(9,16,24,.82)),linear-gradient(0deg,#0e141b 0%,transparent 18%,transparent 82%,#0e141b);}
.gallery-section{background:#111a24;}
.gallery-section::before{inset:0;opacity:.44;
 background-image:url('../assets/images/scene-mechanic.webp');background-position:25% center;}
.gallery-section::after{background:linear-gradient(90deg,rgba(11,19,28,.84),rgba(11,19,28,.64) 55%,rgba(11,19,28,.85)),linear-gradient(0deg,#111a24 0%,transparent 23%,transparent 79%,#111a24);}
.contact-section{background:#0a1219;}
.contact-section::before{inset:0;opacity:.43;
 background-image:url('../assets/images/scene-brakes.webp');background-position:43% 55%;}
.contact-section::after{background:linear-gradient(90deg,rgba(7,13,21,.89),rgba(7,13,21,.82)),linear-gradient(0deg,#0a1219 0%,transparent 26%,transparent 77%,#0a1219);}
/* Cinematic surfaces stay legible over brighter, grayscale backgrounds. */
.services-window .service-card,.process-card,.contact-shell{box-shadow:0 22px 52px rgba(0,0,0,.42);}
.services-window::before,.services-window::after{z-index:3;}
@keyframes axPhotoZoom {from{transform:scale(1.015) translate3d(-.45%,0,0)}to{transform:scale(1.077) translate3d(.45%,-.35%,0)}}
@media(max-width:900px){
 .hero::before{opacity:.35;}
 .services-section::before,.story-section::before,.process-section::before,
 .gallery-section::before,.contact-section::before{opacity:.38;}
 .hero::after{background:linear-gradient(90deg,rgba(7,13,20,.89),rgba(7,13,20,.73));}
}
@media(max-width:650px){
 .hero::before{opacity:.28;}
 .hero::after{background:linear-gradient(90deg,rgba(7,13,20,.9),rgba(7,13,20,.81));}
 .services-section::after,.story-section::after,.process-section::after,
 .gallery-section::after,.contact-section::after {background:linear-gradient(90deg,rgba(9,15,22,.86),rgba(9,15,22,.79)),linear-gradient(0deg,#0c131b,transparent 18%,transparent 78%,#0c131b);}
}
@media(prefers-reduced-motion:reduce){.hero::before,.services-section::before,
 .story-section::before,.process-section::before,.gallery-section::before,
 .contact-section::before{animation:none!important;}}
