/* ==========================================================================
   Hero visuals: service-specific SVG illustrations (see inc/hero-visuals.php)
   Static by default. Motion is added ONLY under prefers-reduced-motion: no-preference.
   ========================================================================== */
.hv{position:relative;width:100%;max-width:520px;margin-inline:auto;aspect-ratio:1/.92;isolation:isolate;--rx:0deg;--ry:0deg}
.hv-home{max-width:660px;aspect-ratio:1/.88}
.svc-hero .hv{max-width:540px}
@media (min-width:901px){.svc-hero-inner{grid-template-columns:1.05fr .95fr}}
.hv-glow{position:absolute;inset:10% 8%;border-radius:50%;background:radial-gradient(circle,rgba(0,212,255,.15),transparent 68%);filter:blur(26px);z-index:-1}
.hv-glow::after{content:"";position:absolute;right:6%;bottom:8%;width:46%;height:46%;border-radius:50%;background:radial-gradient(circle,rgba(212,175,55,.12),transparent 70%)}
.hv-stage{position:absolute;inset:0;perspective:1100px}
.hv-rig{position:absolute;inset:0;transform-style:preserve-3d;transform:rotateX(calc(4deg + var(--rx))) rotateY(calc(-9deg + var(--ry)));transition:transform .6s cubic-bezier(.2,.8,.2,1)}
.hv-slot{position:absolute;left:var(--x);top:var(--y);width:var(--w);height:var(--h);transform:translateZ(var(--z,0px))}
.hv-slot svg{display:block;width:100%;height:100%;overflow:visible;filter:drop-shadow(0 14px 22px rgba(0,0,0,.36))}
.hv-orbit,.hv-links{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none}
.hv-orbit{transform:translateZ(10px)}.hv-links{transform:translateZ(30px)}
.hv .orb{fill:none;stroke:rgba(212,175,55,.38);stroke-width:1;vector-effect:non-scaling-stroke;stroke-dasharray:2 7}
.hv .orb2{stroke:rgba(0,212,255,.3)}
.hv-links path{fill:none;stroke:rgba(0,212,255,.5);stroke-width:1.2;vector-effect:non-scaling-stroke;stroke-dasharray:3 6;stroke-linecap:round}

/* palette */
.hv .sf{fill:#0E1D34;stroke:rgba(0,212,255,.34);stroke-width:1}
.hv .g{fill:rgba(255,255,255,.07)}.hv .g2{fill:rgba(255,255,255,.13)}
.hv .m{fill:rgba(255,255,255,.34)}.hv .m2{fill:rgba(255,255,255,.18)}
.hv .c{fill:#00D4FF}.hv .ca{fill:rgba(0,212,255,.2)}.hv .cd{fill:rgba(0,212,255,.5)}
.hv .o{fill:#D4AF37}.hv .oa{fill:rgba(212,175,55,.2)}
.hv .w{fill:#fff}
.hv .hl{fill:rgba(212,175,55,.1);stroke:rgba(212,175,55,.7);stroke-width:1}
.hv .dk{fill:none;stroke:#0A1628;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.hv .dkf{fill:#0A1628}
.hv .dk2{fill:rgba(10,22,40,.5)}
.hv .cs{fill:none;stroke:#00D4FF;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.hv .os{fill:none;stroke:#D4AF37;stroke-width:1.6}
.hv .ms{fill:none;stroke:rgba(255,255,255,.2);stroke-width:1}
.hv .ring{fill:none;stroke:rgba(255,255,255,.14);stroke-width:8}
.hv .arc{fill:none;stroke-width:8}
.hv .arc.c{stroke:#00D4FF}.hv .arc.o{stroke:#D4AF37}.hv .arc.w{stroke:rgba(255,255,255,.6)}
.hv .arcbg{fill:none;stroke:rgba(255,255,255,.14);stroke-width:9;stroke-linecap:round}
.hv .arcfg{fill:none;stroke:#00D4FF;stroke-width:9;stroke-linecap:round}
.hv .fl{fill:none;stroke:rgba(0,212,255,.55);stroke-width:1.6;stroke-dasharray:3 5;stroke-linecap:round}
.hv .pk{fill:#D4AF37;display:none}
@supports (offset-path:path('M0 0')){.hv .pk{display:block;offset-distance:50%}}
.hv text{font-family:var(--sans,system-ui,sans-serif)}
.hv .tx{fill:#B4C3D8;font-size:8.5px;font-weight:600}
.hv .txw{fill:#fff;font-size:9px;font-weight:700}
.hv .txd{fill:#0A1628;font-size:9px;font-weight:700}
.hv .mid{text-anchor:middle}
.hv .big{fill:#fff;font-size:24px;font-weight:800}

/* motion: only when the visitor has not asked for reduced motion */
@media (prefers-reduced-motion:no-preference){
  .hv-slot svg{animation:hvfloat 7s ease-in-out infinite;animation-delay:var(--d,0s)}
  .hv .flt{transform-box:fill-box;transform-origin:center;animation:hvbob 5s ease-in-out infinite}
  .hv .pulse{transform-box:fill-box;transform-origin:center;animation:hvpulse 2.8s ease-in-out infinite}
  .hv .ripple{transform-box:fill-box;transform-origin:center;animation:hvripple 3.6s ease-out infinite}
  .hv .ripple2{transform-box:fill-box;transform-origin:center;animation:hvripple 3.6s ease-out 1.8s infinite}
  .hv .draw{stroke-dasharray:1;animation:hvdraw 7s ease-in-out infinite}
  .hv .arc{animation:hvarc 1.8s ease-out both}
  .hv .grow{transform-box:fill-box;transform-origin:50% 100%;animation:hvgrow 4.5s ease-in-out infinite}
  .hv .growx{transform-box:fill-box;transform-origin:0 50%;animation:hvgrowx 4.5s ease-in-out infinite}
  .hv .blink{animation:hvblink 1.2s steps(2,start) infinite}
  .hv .sweep{animation:hvsweep 5s ease-in-out infinite alternate}
  .hv .needle{transform-box:view-box;transform-origin:70px 86px;animation:hvneedle 4s ease-in-out infinite alternate}
  .hv .rise{animation:hvbob 3s ease-in-out infinite}
  .hv .fl,.hv-links path,.hv .orb{animation:hvflow 1.8s linear infinite}
  .hv .orb2{animation-direction:reverse}
  .hv .pk{animation:hvmove 3.4s linear infinite}
  .hv.is-paused *,.hv.is-paused{animation-play-state:paused!important}
}
@keyframes hvfloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-7px)}}
@keyframes hvbob{0%,100%{transform:translateY(0)}50%{transform:translateY(-3px)}}
@keyframes hvpulse{0%,100%{transform:scale(1);opacity:1}50%{transform:scale(1.18);opacity:.8}}
@keyframes hvripple{0%{transform:scale(.55);opacity:.9}100%{transform:scale(1.5);opacity:0}}
@keyframes hvdraw{0%{stroke-dashoffset:1}30%,100%{stroke-dashoffset:0}}
@keyframes hvarc{0%{stroke-dasharray:0 100}}
@keyframes hvgrow{0%,100%{transform:scaleY(.82)}50%{transform:scaleY(1)}}
@keyframes hvgrowx{0%,100%{transform:scaleX(.8)}50%{transform:scaleX(1)}}
@keyframes hvblink{0%{opacity:1}100%{opacity:.15}}
@keyframes hvsweep{from{transform:translateX(0)}to{transform:translateX(100px)}}
@keyframes hvneedle{from{transform:rotate(-18deg)}to{transform:rotate(8deg)}}
@keyframes hvflow{to{stroke-dashoffset:-18}}
@keyframes hvmove{from{offset-distance:0%}to{offset-distance:100%}}

@media (max-width:900px){
  .hv{max-width:420px}.hv-home{max-width:460px}
  .svc-hero .hv,.hero .hv{order:-1}
  .svc-hero .hv{max-width:400px}
  .hv-rig{transform:rotateX(calc(3deg + var(--rx))) rotateY(calc(-6deg + var(--ry)))}
}
@media (max-width:480px){.hv,.hv-home,.svc-hero .hv{max-width:340px}}

/* phones: fewer, larger panels so the illustration stays readable (custom props need !important to beat the inline slot values) */
@media (max-width:600px){
  .hv:not(.hv-home){aspect-ratio:1/.8}
  .hv[data-layout="tri"] .hv-s1{--x:0%!important;--y:8%!important;--w:76%!important;--h:62%!important}
  .hv[data-layout="tri"] .hv-s2{--x:58%!important;--y:30%!important;--w:42%!important;--h:68%!important}
  .hv[data-layout="tri"] .hv-s3{--x:8%!important;--y:60%!important;--w:42%!important;--h:38%!important}
  .hv[data-layout="tri2"] .hv-s1{--x:24%!important;--y:8%!important;--w:76%!important;--h:62%!important}
  .hv[data-layout="tri2"] .hv-s2{--x:0%!important;--y:30%!important;--w:40%!important;--h:68%!important}
  .hv[data-layout="tri2"] .hv-s3{--x:44%!important;--y:60%!important;--w:44%!important;--h:38%!important}
  .hv[data-layout="tri3"] .hv-s1{--x:0%!important;--y:4%!important;--w:78%!important;--h:58%!important}
  .hv[data-layout="tri3"] .hv-s2{--x:32%!important;--y:38%!important;--w:68%!important;--h:56%!important}
  .hv[data-layout="tri3"] .hv-s3{--x:2%!important;--y:62%!important;--w:44%!important;--h:36%!important}
  .hv[data-layout="duo"] .hv-s1,.hv[data-layout="duo2"] .hv-s1{--x:0%!important;--y:6%!important;--w:80%!important;--h:66%!important}
  .hv[data-layout="duo"] .hv-s2{--x:56%!important;--y:30%!important;--w:44%!important;--h:68%!important}
  .hv[data-layout="duo2"] .hv-s1{--x:20%!important}
  .hv[data-layout="duo2"] .hv-s2{--x:0%!important;--y:30%!important;--w:44%!important;--h:68%!important}
  .hv[data-layout="pair"] .hv-s1{--x:2%!important;--w:50%!important;--h:92%!important}
  .hv[data-layout="pair"] .hv-s2{--x:44%!important;--w:54%!important;--h:88%!important}
  .hv[data-layout="ctr"] .hv-s1{--x:30%!important;--y:0%!important;--w:43%!important;--h:100%!important}
  .hv[data-layout="ctr"] .hv-s2{--x:0%!important;--y:8%!important;--w:36%!important;--h:50%!important}
  .hv[data-layout="ctr"] .hv-s3{--x:64%!important;--y:44%!important;--w:36%!important;--h:48%!important}
}
