/* Morteros Acota V97 — ambient vector MOTION (not a static texture).
   3 custom inline SVGs, progressive enhancement, no runtime JS, scope is five
   editorial bands only. Actual moving tracers are animated SVG path strokes. */
.ac56-page.ac-products .ac90-opening::before,
.ac56-page.ac-about .ac48-about-intro::before,
.ac56-page.ac-about .ac-about-cert::after { content:none!important;display:none!important;animation:none!important; }
.ac56-page.ac-products .ac90-opening,
.ac56-page.ac-about .ac48-about-intro,
.ac56-page.ac-about .ac-about-cert {position:relative;isolation:isolate;overflow:hidden;}
.ac97-ambient{
 /* V98: fail closed. The inline wrapper hides this artwork if the stylesheet
    fails to load (e.g. the editor-only WordPress 404 preview route). */
 display:block!important;
 position:absolute;z-index:0;inset:0;pointer-events:none;user-select:none;
 overflow:hidden;opacity:1;contain:layout paint;
}
.ac97-ambient svg{
 position:absolute;display:block;width:100%;height:100%;left:0;top:0;
 overflow:visible;transform:translateZ(0);
}
.ac97-ambient .ac97-base-lines{fill:none;stroke:#378ca8;stroke-width:2.35;opacity:.50;stroke-linecap:round;}
.ac97-ambient .ac97-grid-lines{fill:none;stroke:#368eae;stroke-width:1.20;opacity:.31;}
.ac97-ambient .ac97-fiducials{fill:none;stroke:#2587a9;stroke-width:2.0;opacity:.55;}
.ac97-ambient .ac97-active-lines{fill:none;stroke:#0899c3;stroke-width:4.6;stroke-linecap:round;opacity:.86;}
.ac97-ambient .ac97-active-lines path{
 stroke-dasharray:185 1120;stroke-dashoffset:0;
 animation:ac97-trace 8.3s linear infinite;
}
.ac97-ambient .ac97-active-lines path:nth-child(2){animation-delay:-2.6s;animation-duration:7.6s;}
.ac97-ambient .ac97-active-lines path:nth-child(3){animation-delay:-5.2s;animation-duration:9.1s;}
.ac97-ambient .ac97-live-dots{fill:#049ac2;opacity:.8;}
.ac97-ambient .ac97-live-dots circle{animation:ac97-pulse 2.7s ease-in-out infinite;transform-box:fill-box;transform-origin:center;}
.ac97-ambient .ac97-live-dots circle:nth-child(2){animation-delay:-1.3s;}
.ac97-ambient .ac97-live-dots circle:nth-child(3){animation-delay:-2s;}
.ac97-ambient .ac97-sweep{fill:none;stroke:#0794bd;stroke-width:3;opacity:.54;}
.ac97-ambient .ac97-sweep path{animation:ac97-scan 7s ease-in-out infinite alternate;}
@keyframes ac97-trace{to{stroke-dashoffset:-1305;}}
@keyframes ac97-pulse{0%,100%{opacity:.35;transform:scale(.75)}50%{opacity:1;transform:scale(1.55)}}
@keyframes ac97-scan{0%{transform:translateX(-170px);opacity:.18}100%{transform:translateX(300px);opacity:.72}}
/* Product openings: rhythmic technical drawing behind existing editorial content.
   The large photograph and content never receive SVG overlays. */
.ac56-page.ac-products .ac90-opening > .ac-product-container{position:relative;z-index:1;}
.ac56-page.ac-products .ac97-ambient--thermio svg{width:112%;left:-5%;}
.ac56-page.ac-products .ac97-ambient--excelio svg{width:112%;left:-4%;}
.ac56-page.ac-products .ac97-ambient--classic svg{width:110%;left:-3%;}
/* One controlled accent in the lower section margin: keeps moving vectors visible
   even when the main content has white cards over the middle of the section. */
.ac56-page.ac-products .ac97-ambient{mask-image:linear-gradient(90deg,rgba(0,0,0,.65),#000 22%,#000 88%,rgba(0,0,0,.82));}
/* About certification/intro: vector behind the editorial band, copy remains above. */
.ac56-page.ac-about .ac48-about-intro > .ac-wrap,
.ac56-page.ac-about .ac-about-cert > .ac-wrap{position:relative;z-index:1;}
.ac56-page.ac-about .ac97-ambient--about-intro svg{width:114%;left:0;top:-6%;height:112%;}
.ac56-page.ac-about .ac97-ambient--about-cert svg{width:110%;left:1%;}
/* Without a large saturated color cast, allow the trace itself to be clearly visible.
   Touch devices retain a moving design but do not overlay the content text. */
@media(max-width:820px){
 .ac97-ambient svg{width:170%!important;left:-55%!important;top:0;height:100%;}
 .ac97-ambient .ac97-base-lines{opacity:.34;stroke-width:2.15;}
 .ac97-ambient .ac97-active-lines{opacity:.60;stroke-width:3.7;}
 .ac56-page.ac-about .ac97-ambient--about-cert svg,
 .ac56-page.ac-about .ac97-ambient--about-intro svg{width:200%!important;left:-92%!important;}
}
@media(max-width:600px){
 .ac97-ambient svg{width:220%!important;left:-110%!important;top:0;height:100%;}
 .ac97-ambient .ac97-base-lines{opacity:.30;}
 .ac97-ambient .ac97-active-lines{opacity:.52;stroke-width:3.8;}
 .ac56-page.ac-about .ac97-ambient--about-intro svg,
 .ac56-page.ac-about .ac97-ambient--about-cert svg{width:230%!important;left:-125%!important;}
}
@media(prefers-reduced-motion:reduce){
 .ac97-ambient .ac97-active-lines path,
 .ac97-ambient .ac97-live-dots circle,
 .ac97-ambient .ac97-sweep path {animation:none!important;}
 .ac97-ambient .ac97-active-lines{opacity:.25;}
 .ac97-ambient .ac97-live-dots{opacity:.35;}
}
@media print{.ac97-ambient{display:none!important}}

/* Composition pass: the moving art belongs to negative space, never behind text.
   Confine the drawing to the photo-side half, and adjust color weight. */
.ac56-page.ac-products .ac97-ambient{left:50%;right:0;width:50%;}
.ac56-page.ac-products .ac97-ambient--thermio svg,
.ac56-page.ac-products .ac97-ambient--excelio svg,
.ac56-page.ac-products .ac97-ambient--classic svg{
 width:140%;left:-17%;top:0;height:100%;
}
.ac56-page.ac-about .ac97-ambient--about-cert{left:56%;width:44%;}
.ac56-page.ac-about .ac97-ambient--about-intro{left:58%;width:42%;}
.ac56-page.ac-about .ac97-ambient--about-intro svg,
.ac56-page.ac-about .ac97-ambient--about-cert svg{
 width:150%;left:-18%;top:0;height:100%;
}
.ac97-ambient .ac97-base-lines{opacity:.39;stroke-width:2.1;}
.ac97-ambient .ac97-grid-lines{opacity:.23;}
.ac97-ambient .ac97-fiducials{opacity:.47;}
.ac97-ambient .ac97-active-lines{opacity:.82;stroke-width:4.2;}
@media(max-width:820px){
 .ac56-page.ac-products .ac97-ambient{left:41%;right:0;width:59%;}
 .ac56-page.ac-products .ac97-ambient svg{width:210%!important;left:-75%!important;}
 .ac56-page.ac-about .ac97-ambient--about-intro,
 .ac56-page.ac-about .ac97-ambient--about-cert{left:50%;width:50%;}
 .ac56-page.ac-about .ac97-ambient svg{width:195%!important;left:-75%!important;}
}
@media(max-width:600px){
 .ac56-page.ac-products .ac97-ambient{top:45%;bottom:0;left:18%;width:82%;height:55%;}
 .ac56-page.ac-products .ac97-ambient svg{width:175%!important;left:-32%!important;}
 .ac56-page.ac-about .ac97-ambient--about-intro,
 .ac56-page.ac-about .ac97-ambient--about-cert{left:37%;width:63%;}
 .ac56-page.ac-about .ac97-ambient svg{width:180%!important;left:-60%!important;}
}

/* V98 — Quiénes somos: preserve moving technical lines only in free right margin.
   Transparent at copy-side; no path should compete with the paragraphs. */
.ac56-page.ac-about .ac97-ambient--about-intro,
.ac56-page.ac-about .ac97-ambient--about-cert{
 -webkit-mask-image:linear-gradient(to right,transparent 0%,transparent 42%,rgba(0,0,0,.52) 76%,#000 100%);
 mask-image:linear-gradient(to right,transparent 0%,transparent 42%,rgba(0,0,0,.52) 76%,#000 100%);
}
