/* Studio Tossani V18 — sequenza luminosa direzionale, da sinistra a destra.
   Ogni lettera si accende per un istante mentre il fronte di energia avanza.
   Tipografia e dimensioni della V16 rimangono intatte. */
.service-list h3 .energy-word,
.service-list h3 .energy-glyph {
  display: inline-block;
  font-size: inherit !important;
  font-weight: inherit !important;
  line-height: inherit;
  vertical-align: baseline;
}
.service-list h3 .energy-word { white-space: nowrap; }
.service-list h3 .energy-glyph {
  position: relative;
  color: inherit;
  will-change: auto;
}
/* Sweep: warm-up, white flash/glow, trailing light, return to the original navy.
   Delay per letter guarantees an actual traveling wave, not random flickers. */
.service-list > div.energy-sweep:not(:hover):not(:focus-within):not(:active) h3 .energy-glyph {
  animation-name: st-energy-flash;
  animation-duration: 205ms;
  animation-delay: calc(var(--energy-order) * var(--energy-step, 28ms));
  animation-timing-function: ease-in-out;
  animation-iteration-count: 1;
  animation-fill-mode: both;
}
@keyframes st-energy-flash {
  0%, 7% { color: #102d41; text-shadow: none; }
  25%, 47% { color: #fff; text-shadow: 0 0 5px rgba(255,255,255,.9), 0 0 14px rgba(255,255,255,.48); }
  73% { color: #f0f4f2; text-shadow: 0 0 7px rgba(255,255,255,.24); }
  100% { color: #102d41; text-shadow: none; }
}
/* Current white-row hover state stays in control. */
.service-list > div:hover h3 .energy-glyph,
.service-list > div:focus-within h3 .energy-glyph,
.service-list > div:active h3 .energy-glyph {
  animation: none !important;
  color: #102d41 !important;
  text-shadow: none !important;
}
@media (prefers-reduced-motion: reduce) {
  .service-list h3 .energy-glyph { animation: none !important; text-shadow: none !important; }
}
