/* ==========================================================================
   ECOLOOP – right-to-left overrides (applied when <html dir="rtl">)
   Layout uses logical properties, so only direction-bound effects need work.
   ========================================================================== */
[dir="rtl"] .spark::before { animation-direction: reverse; }          /* current circles the other way */
[dir="rtl"] .btn-login .go svg { transform: scaleX(-1); }             /* arrow points left */
[dir="rtl"] .btn-login:hover .go svg { transform: scaleX(-1) translateX(3px); }
[dir="rtl"] .drop { text-align: right; }
/* Home banner: flip side shade, progress line and arrow */
[dir="rtl"] .hero-shade::after { transform: scaleX(-1); }
[dir="rtl"] .track i { transform-origin: right; }
[dir="rtl"] .btn-hero--solid svg,
[dir="rtl"] .btn-hero--dark svg { transform: scaleX(-1); }
/* Home 2: the photo/panel columns mirror automatically (grid), only the divider pulse needs no change */
/* About banner: ticker scrolls the other way (the halo current already reverses through .spark) */
[dir="rtl"] .ah-track { animation-direction: reverse; }
/* Services banner: conveyor moves the other way, progress lines fill from the right */
[dir="rtl"] .sv-belt-track { animation-direction: reverse; }
[dir="rtl"] .sv-prog b { transform-origin: right; }
/* Contact banner: trail slides the other way, shade mirrors */
[dir="rtl"] .ct-track { animation-direction: reverse; }
[dir="rtl"] .ct-shade { transform: scaleX(-1); }
/* Home 1 reactor: ticker scrolls the other way (the reactor itself is symmetrical) */
[dir="rtl"] .rx-tick-track { animation-direction: reverse; }
/* Home 1 impact + pinned services: current, slide-ins and charge mirror */
[dir="rtl"] .im-rail::before { transform-origin: right; }
[dir="rtl"] .im-rail::after, [dir="rtl"] .sv3-pulse::after { animation-direction: reverse; }
[dir="rtl"] .sv3 { --dir: -1; }
[dir="rtl"] .sv3-big { --gd: 270deg; }
[dir="rtl"] .sv3-track i { transform-origin: right; }
[dir="rtl"] .sv3-link svg { transform: scaleX(-1); }
[dir="rtl"] .sv3-link:hover svg { transform: scaleX(-1) translateX(4px); }
/* Home 1 "What we accept": belt direction and progress rail mirror */
[dir="rtl"] .ac { --dir: -1; }
[dir="rtl"] .ac-fill { transform-origin: right; }
[dir="rtl"] .ac-ok svg, [dir="rtl"] .ac .sv3-link svg { transform: scaleX(-1); }

/* What We Accept banner: shade fades from the right (text side), arrows point the other way, keys list rule moves */
[dir="rtl"] .wa-shade { background: linear-gradient(to top, color-mix(in srgb, var(--ov) 80%, transparent) 0%, color-mix(in srgb, var(--ov) 30%, transparent) 45%, transparent 70%), linear-gradient(to left, color-mix(in srgb, var(--ov) 62%, transparent) 0%, transparent 60%); }
[dir="rtl"] .wa-arrow svg, [dir="rtl"] .wa-go svg { transform: scaleX(-1); }
[dir="rtl"] .wa-keys { padding: 0 1rem 0 0; }
[dir="rtl"] .wa-prog b { transform-origin: right; }

/* Home 1 Section 5: the current fills the rail from the right in RTL */
[dir="rtl"] .pk-seg::after { transform-origin: right; }
