/* Slowmotion / ADV — reset, keyframes e regole che non possono stare inline. Una copia per tutto il sito. */
html { scroll-behavior: smooth; }
body { margin: 0; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; border-bottom: 0; cursor: pointer; }
a:hover { color: inherit; border-bottom: 0; background-image: none; }
::selection { background: #ffe500; color: #000; }
[data-sm-form-giallo] input::placeholder { color: #fff; opacity: 1; }
[data-sm-form-giallo] input { font-size: clamp(22px, 3.2vw, 44px) !important; height: auto !important; padding-top: 14px !important; padding-bottom: 14px !important; font-weight: 700; }
[data-sm-form-giallo] label { font-size: 15px !important; }
@keyframes sm-modale { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes sm-su { from { opacity: 0; transform: translate3d(0,26px,0); } to { opacity: 1; transform: none; } }
@keyframes sm-passo-in { from { opacity: 0; clip-path: inset(0 100% 0 0); transform: translate3d(-10px,0,0); } to { opacity: 1; clip-path: inset(0 0 0 0); transform: none; } }
@keyframes sm-icona-su { from { transform: translate3d(0,70%,0); } to { transform: translate3d(0,18%,0); } }
@keyframes sm-dom-in { from { opacity: 0; clip-path: inset(0 0 100% 0); transform: translate3d(0,20px,0); } to { opacity: 1; clip-path: inset(0 0 0 0); transform: none; } }
@keyframes sm-dom-out { from { opacity: 1; transform: none; } to { opacity: 0; transform: translate3d(0,-18px,0); } }
@keyframes sm-parola { from { clip-path: inset(0 0 100% 0); transform: translate3d(0,14px,0); } to { clip-path: inset(0 0 0 0); transform: none; } }
@keyframes sm-tondo { from { opacity:0; transform:scale(0.55); } to { opacity:1; transform:scale(1); } }
@keyframes sm-spunta { from { clip-path:inset(0 100% 0 0); } to { clip-path:inset(0 0 0 0); } }
@keyframes sm-anello { 0% { transform:scale(0.9); opacity:0.5; } 100% { transform:scale(1.6); opacity:0; } }
@keyframes sm-nastro-a { from { transform:translate3d(0,0,0); } to { transform:translate3d(-50%,0,0); } }
@keyframes sm-nastro-b { from { transform:translate3d(-50%,0,0); } to { transform:translate3d(0,0,0); } }
@keyframes sm-carosello { from { transform: translate3d(0,0,0); } to { transform: translate3d(-50%,0,0); } }
@keyframes sm-corri { 0% { left: 0; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
@keyframes sm-stella { 0% { opacity: 0.15; } 8%, 100% { opacity: 1; } }
@keyframes sm-traccia { 0% { stroke-dashoffset: 1400; } 55%, 100% { stroke-dashoffset: 0; } }
@keyframes sm-punto { 0% { opacity: 0; transform: scale(0.3); } 7%, 100% { opacity: 1; transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { [data-sm-corri], [data-sm-traccia], [data-sm-punto], [data-sm-stella] { animation: none !important; } }
@media (prefers-reduced-motion: reduce) { [data-sm-carosello] { animation: none !important; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
/* Righe servizio su telefono: la descrizione va a capo sotto il titolo e l'icona da 120px la coprirebbe.
   Qui resta piccola, dietro al titolo, con la stessa animazione. */
@media (max-width: 640px) {
  [data-sm-icona] { bottom: -4px !important; }
  [data-sm-icona] [aria-hidden="true"], [data-sm-icona] svg { width: 52px !important; height: 52px !important; }
}
