/* Visual delle sezioni nuove, terzo giro (12/11/2026, scripts/visual_nuovi.py).
   Ogni visual riempie il riquadro nero a palline (agt-prova) invece di una finestrella piccola.
   Le comparse partono una volta sola quando la sezione entra (dal 16/11); restano a ciclo solo i visual
   che raccontano una sequenza (fasi del CRM, eventi, stati). Ferme con prefers-reduced-motion. Grigi e colori del sito. */

.vx-riquadro { position: relative; display: flex; align-items: center; justify-content: center; min-height: 460px; padding: 32px;
  border-radius: 1.25rem; overflow: hidden; }
.vx-riquadro > :not(.agt-prova__luci) { position: relative; z-index: 1; width: 100%; }
.vx-riquadro--largo { min-height: 0; padding: 40px; }
.vn-split > .vx-riquadro { align-self: stretch; }
@keyframes vx-entra { 0% { opacity: 0; transform: translateY(10px); } 5%, 100% { opacity: 1; transform: none; } }
@keyframes vx-accendi { 0% { opacity: 0.25; } 8%, 100% { opacity: 1; } }

/* ── chat: chatbot contro agente ── */
.vx-duello { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 14px; align-items: stretch; }
.vx-chat { display: flex; flex-direction: column; border-radius: 14px; background: #fff; border: 1px solid #d9dad7; overflow: hidden; font-size: 14px; color: #1a1a1a; }
.vx-chat__testa { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding: 12px 14px; border-bottom: 1px solid #ececea; }
.vx-chat__testa b { font-family: 'Helvetica Now Display', 'Satoshi', sans-serif; font-weight: 500; font-size: 16px; }
.vx-chat__testa em { font-style: normal; font-size: 12px; font-weight: 700; color: #a6a8a4; }
.vx-chat__corpo { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 14px; }
.vx-bolla { max-width: 88%; margin: 0; padding: 9px 12px; border-radius: 12px; line-height: 1.4; animation: vx-entra 9s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.vx-bolla--cliente { align-self: flex-end; background: #f9f9f9; border: 1px solid #ececea; border-bottom-right-radius: 4px; }
.vx-bolla--bot { align-self: flex-start; background: #ececea; color: #454643; border-bottom-left-radius: 4px; }
.vx-bolla--agente { align-self: flex-start; background: #8b5cff; color: #fff; border-bottom-left-radius: 4px; }
.vx-chat__corpo .vx-bolla:nth-child(2) { animation-delay: 0.9s; }
.vx-chat__corpo .vx-bolla:nth-child(3) { animation-delay: 1.8s; }
.vx-chat__corpo .vx-bolla:nth-child(4) { animation-delay: 2.6s; }
.vx-chat__esito { margin: 0; padding: 10px 14px; font-size: 13px; font-weight: 700; border-top: 1px solid #ececea; animation: vx-entra 9s ease-out both; }
.vx-chat--bot .vx-chat__esito { animation-delay: 1.6s; }
.vx-chat--agente .vx-chat__esito { animation-delay: 3.4s; }
.vx-chat__esito--no { color: #fe4a22; }
.vx-chat__esito--si { color: #8b5cff; }
.vx-chat--bot { opacity: 0.85; }

/* ── documento che compila il gestionale ── */
.vx-compila { display: grid; grid-template-columns: minmax(0, 0.8fr) 56px minmax(0, 1.2fr); align-items: center; gap: 8px; }
.vx-foglio { display: flex; flex-direction: column; gap: 9px; padding: 18px; border-radius: 10px; background: #fff; rotate: -5deg; animation: vx-foglio 9s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.vx-foglio b { margin-bottom: 4px; font-size: 13px; color: #1a1a1a; }
.vx-foglio i { display: block; height: 7px; border-radius: 4px; background: #ececea; }
.vx-foglio i.corta { width: 60%; }
@keyframes vx-foglio { 0% { opacity: 0; transform: translate(-16px, 8px); } 6%, 100% { opacity: 1; transform: none; } }
.vx-freccia { position: relative; height: 3px; border-radius: 2px; background: repeating-linear-gradient(90deg, #8b5cff 0 8px, transparent 8px 14px); }
.vx-freccia::after { content: ""; position: absolute; top: -5px; right: -2px; width: 10px; height: 10px; border-top: 3px solid #8b5cff; border-right: 3px solid #8b5cff; rotate: 45deg; }
.vx-modulo { padding: 16px; border-radius: 12px; background: #fff; font-size: 14px; color: #1a1a1a; }
.vx-modulo__testa { margin-bottom: 10px; font-size: 12px; font-weight: 700; color: #a6a8a4; }
.vx-campo { display: flex; justify-content: space-between; gap: 10px; padding: 9px 10px; margin-top: 6px; border-radius: 8px; border: 1px solid #ececea; }
.vx-campo span { color: #a6a8a4; }
.vx-campo b { font-weight: 700; animation: vx-entra 9s ease-out both; }
.vx-campo:nth-of-type(1) b { animation-delay: 0.8s; }
.vx-campo:nth-of-type(2) b { animation-delay: 1.3s; }
.vx-campo:nth-of-type(3) b { animation-delay: 1.8s; }
.vx-campo:nth-of-type(4) b { animation-delay: 2.3s; }
.vx-modulo__fine { display: flex; align-items: center; gap: 8px; margin: 12px 0 0; font-weight: 700; color: #8b5cff; animation: vx-entra 9s ease-out 2.9s both; }
.vx-modulo__fine i { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; font-style: normal; background: rgba(139, 92, 255, 0.14); }

/* ── pipeline del CRM ──
   Una richiesta arrivata dal sito, Rossi Srl, attraversa le quattro fasi mentre nelle
   colonne restano i clienti che ci sono gia'. Il filo sotto al titolo della fase si accende
   quando la scheda arriva, e la riga in fondo dice cosa ha fatto il CRM da solo.
   Parte quando la sezione entra in pagina e si ferma alla fine: niente giostra infinita. */
.vx-pipeline { display: flex; flex-direction: column; gap: 14px; color: #fff; }
.vx-pipeline__testa { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-size: 13px; font-weight: 700; color: rgba(255, 255, 255, 0.55); }
.vx-pipeline__testa em { font-style: normal; color: rgba(255, 255, 255, 0.4); }
.vx-pipeline__fasi { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.vx-fase { padding: 10px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.1); text-align: center; font-size: 13px; font-weight: 700; color: rgba(255, 255, 255, 0.75); }
.vx-fase__filo { position: relative; display: block; height: 3px; border-radius: 2px; overflow: hidden; background: rgba(255, 255, 255, 0.12); }
.vx-fase__filo::after { content: ""; position: absolute; inset: 0; border-radius: 2px; background: var(--filo); transform: scaleX(0); transform-origin: left; animation: vx-filo 2.1s ease-out 1 both; }
.vx-fase:nth-child(1) .vx-fase__filo { --filo: #8b5cff; }
.vx-fase:nth-child(2) .vx-fase__filo { --filo: #ffd026; }
.vx-fase:nth-child(3) .vx-fase__filo { --filo: #4fe08a; }
.vx-fase:nth-child(4) .vx-fase__filo { --filo: #fe4a22; }
.vx-fase:nth-child(2) .vx-fase__filo::after { animation-delay: 2.25s; }
.vx-fase:nth-child(3) .vx-fase__filo::after { animation-delay: 4.5s; }
/* l'ultima resta accesa: la richiesta e' finita li' */
.vx-fase:nth-child(4) .vx-fase__filo::after { animation: vx-filo-fine 0.9s ease-out 6.75s 1 both; }
@keyframes vx-filo { 0% { transform: scaleX(0); } 22%, 76% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
@keyframes vx-filo-fine { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.vx-pipeline__binario { position: relative; height: 92px; }
.vx-scheda { position: absolute; top: 0; left: 0; display: flex; align-items: flex-start; gap: 10px; width: calc(25% - 6px); min-width: 140px; padding: 12px; border-radius: 12px; background: #fff; color: #1a1a1a; animation: vx-scheda 9s cubic-bezier(0.6, 0, 0.2, 1) 1 both; }
.vx-scheda b { display: block; font-size: 14px; }
.vx-scheda small { display: block; font-size: 12px; color: #a6a8a4; }
.vx-scheda__spia { flex: none; width: 10px; height: 10px; margin-top: 4px; border-radius: 50%; background: #8b5cff; animation: vx-spia 9s steps(1, end) 1 both; }
.vx-scheda__nota { display: block; margin-top: 8px; white-space: nowrap; font-size: 12px; font-weight: 700; color: #8b5cff; }
@keyframes vx-scheda { 0%, 18% { left: 0; } 26%, 43% { left: 25%; } 51%, 68% { left: 50%; } 76%, 100% { left: 75%; } }
@keyframes vx-spia { 0% { background: #8b5cff; } 25% { background: #ffd026; } 50% { background: #4fe08a; } 75%, 100% { background: #fe4a22; } }
/* la riga sotto stava addosso alla scheda: una linea e un po' d'aria la staccano */
.vx-pipeline__eventi { position: relative; min-height: 50px; margin-top: 8px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.vx-pipeline__eventi p { position: absolute; inset: 20px auto auto 0; display: flex; align-items: center; gap: 10px; margin: 0; padding: 11px 14px; border-radius: 10px; background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14); font-size: 14px; color: #fff; opacity: 0; animation: vx-evento 2.4s ease-out 1 both; }
.vx-pipeline__eventi p::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: currentColor; opacity: 0.45; }
.vx-pipeline__eventi p:nth-child(2) { animation-delay: 2.25s; }
.vx-pipeline__eventi p:nth-child(3) { animation-delay: 4.5s; }
/* l'ultima resta scritta: e' il punto d'arrivo, non un lampo */
.vx-pipeline__eventi p:nth-child(4) { animation: vx-evento-fine 0.9s ease-out 6.75s 1 both; }
@keyframes vx-evento { 0% { opacity: 0; transform: translateY(6px); } 14%, 80% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes vx-evento-fine { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ── confronto a tre colonne (CRM) ── */
.vx-confronto { border-radius: 1.25rem; overflow: hidden; border: 1px solid #262626; background: #101010; }
.vx-confronto__riga { display: grid; grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(0, 1fr)); }
.vx-confronto__riga > * { padding: 16px 18px; border-top: 1px solid #262626; font-size: 15px; }
.vx-confronto__riga span { color: rgba(255, 255, 255, 0.6); }
.vx-confronto__riga b { font-weight: 500; color: #fff; }
.vx-confronto__riga--testa > * { border-top: 0; font-family: 'Helvetica Now Display', 'Satoshi', sans-serif; font-size: 18px; }
.vx-confronto .vx-su-misura { background: rgba(139, 92, 255, 0.16); color: #fff; font-weight: 700; }
.vx-confronto__riga--testa .vx-su-misura { background: #8b5cff; }

/* ── il bonifico e le fatture ── */
.vx-bonifico { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: start; font-size: 14px; color: #1a1a1a; }
.vx-colonna { display: flex; flex-direction: column; gap: 8px; padding: 16px; border-radius: 14px; background: #fff; }
.vx-colonna small { margin-bottom: 4px; font-size: 12px; font-weight: 700; color: #a6a8a4; }
.vx-movimento { display: flex; flex-direction: column; gap: 4px; padding: 12px; border-radius: 10px; border: 1px solid #ececea; }
.vx-movimento span { font-family: 'Helvetica Now Display', 'Satoshi', sans-serif; font-size: 28px; font-weight: 500; }
.vx-movimento em { font-style: normal; color: #a6a8a4; }
.vx-riga, .vx-prova { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 9px 10px; border-radius: 8px; border: 1px solid #ececea; }
.vx-prova { animation: vx-entra 9s ease-out both; }
.vx-prova:nth-of-type(1) { animation-delay: 0.6s; }
.vx-prova:nth-of-type(2) { animation-delay: 1.4s; }
.vx-prova:nth-of-type(3) { animation-delay: 2.2s; }
.vx-prova i { font-style: normal; font-weight: 700; }
.vx-prova--no i { color: #fe4a22; }
.vx-prova--no span, .vx-prova--no b { color: #a6a8a4; text-decoration: line-through; }
.vx-prova--si { border-color: #8b5cff; background: rgba(139, 92, 255, 0.08); }
.vx-prova--si i { color: #8b5cff; }
.vx-abbinato { display: flex; align-items: center; gap: 10px; margin-top: 4px; padding: 12px; border-radius: 10px; background: #8b5cff; color: #fff; animation: vx-entra 9s ease-out 3s both; }
.vx-abbinato i { font-style: normal; font-weight: 700; }
.vx-abbinato b { display: block; }

/* ── Google e risposta AI ── */
.vx-ricerca { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; align-items: start; font-size: 14px; color: #1a1a1a; }
.vx-google, .vx-ai { padding: 16px; border-radius: 14px; background: #fff; }
.vx-barra { padding: 10px 14px; margin-bottom: 12px; border-radius: 999px; border: 1px solid #d9dad7; color: #454643; }
.vx-risultato { padding: 10px 4px; border-top: 1px solid #ececea; animation: vx-entra 9s ease-out 0.6s both; }
.vx-risultato small { color: #454643; }
.vx-risultato b { display: block; margin: 2px 0 4px; color: #8b5cff; font-weight: 700; }
.vx-risultato p { margin: 0; color: #454643; }
.vx-risultato--spento { opacity: 0.5; animation-delay: 1s; }
.vx-ai__testa { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font-size: 12px; font-weight: 700; color: #a6a8a4; }
.vx-ai__testa i { width: 10px; height: 10px; border-radius: 50%; background: #8b5cff; }
.vx-ai__domanda { margin: 0 0 10px; padding: 9px 12px; border-radius: 12px; background: #f9f9f9; border: 1px solid #ececea; }
.vx-ai__risposta { margin: 0; line-height: 1.5; animation: vx-entra 9s ease-out 1.4s both; }
.vx-ai__fonte { margin: 10px 0 0; padding: 6px 10px; border-radius: 8px; background: rgba(139, 92, 255, 0.1); color: #8b5cff; font-size: 12px; font-weight: 700;
  display: inline-block; animation: vx-entra 9s ease-out 2.4s both; }

/* ── scheda ospite ── */
.vx-ospite { display: flex; flex-direction: column; gap: 14px; padding: 20px; border-radius: 16px; background: #fff; font-size: 14px; color: #1a1a1a; }
.vx-ospite__testa { display: flex; align-items: center; gap: 12px; }
.vx-avatar { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #8b5cff; color: #fff; font-weight: 700; }
.vx-ospite__testa b { display: block; font-family: 'Helvetica Now Display', 'Satoshi', sans-serif; font-size: 18px; font-weight: 500; }
.vx-ospite__testa small { color: #a6a8a4; }
.vx-ospite__soggiorni { display: flex; justify-content: space-between; gap: 8px; padding: 12px; border-radius: 10px; background: #f9f9f9; }
.vx-punto { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: #454643; white-space: nowrap; animation: vx-accendi 9s ease-out both; }
.vx-punto:nth-child(2) { animation-delay: 0.6s; }
.vx-punto:nth-child(3) { animation-delay: 1.2s; }
.vx-punto i { flex: none; width: 10px; height: 10px; border-radius: 50%; background: #8b5cff; }
/* al telefono le tre date stanno su una riga: niente "Marzo / 2024" col pallino a meta' */
@media (max-width: 479px) { .vx-ospite__soggiorni { gap: 4px; padding: 10px; } .vx-punto { gap: 4px; font-size: 12px; } .vx-punto i { width: 8px; height: 8px; } }
.vx-ospite__pref { display: grid; gap: 6px; }
.vx-ospite__pref span { padding: 8px 10px; border-radius: 8px; border: 1px solid #ececea; color: #454643; }
.vx-ospite__msg { animation-delay: 1.8s; }
.vx-ospite__campagna { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px; border-radius: 10px; border: 1px solid #ececea; }
.vx-ospite__campagna b { position: relative; display: inline-grid; min-width: 86px; text-align: right; }
.vx-ospite__campagna em { grid-area: 1 / 1; font-style: normal; font-weight: 700; color: #8b5cff; opacity: 0; animation: vx-stato 9s infinite both; }
.vx-ospite__campagna em:nth-child(1) { animation-delay: 2.4s; }
.vx-ospite__campagna em:nth-child(2) { animation-delay: 4.4s; }
.vx-ospite__campagna em:nth-child(3) { animation-delay: 6.4s; }
@keyframes vx-stato { 0% { opacity: 0; } 3%, 20% { opacity: 1; } 23%, 100% { opacity: 0; } }

/* ── telefono e movimento ridotto ── */
@media (max-width: 767px) {
  .vx-riquadro { min-height: 0; padding: 20px; }
  .vx-duello, .vx-ricerca, .vx-bonifico { grid-template-columns: minmax(0, 1fr); }
  .vx-compila { grid-template-columns: minmax(0, 1fr); }
  .vx-freccia { width: 3px; height: 40px; margin: 0 auto; background: repeating-linear-gradient(180deg, #8b5cff 0 8px, transparent 8px 14px); }
  .vx-freccia::after { top: auto; bottom: -2px; right: -4px; rotate: 135deg; }
  .vx-foglio { rotate: -2deg; }
  .vx-pipeline__fasi { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vx-pipeline__binario { display: none; }
  .vx-confronto { overflow-x: auto; }
  .vx-confronto__riga { min-width: 560px; }
}
@media (prefers-reduced-motion: reduce) {
  .vx-riquadro *, .vx-confronto * { animation: none !important; }
  .vx-ospite__campagna em:not(:last-child) { display: none; }
  .vx-ospite__campagna em:last-child, .vx-pipeline__eventi p:last-child { opacity: 1; }
  .vx-scheda { left: 75%; }
  /* senza animazione i fili resterebbero tutti spenti: si mostra il punto d'arrivo */
  .vx-fase__filo::after { transform: scaleX(0); }
  .vx-fase:nth-child(4) .vx-fase__filo::after { transform: scaleX(1); }
}

/* dentro lo split le regole dei paragrafi del testo (corpo 17px, margini, grigio) non devono entrare nei visual */
.vn-split .vx-riquadro p { margin: 0; font-size: 14px; line-height: 1.45; }
.vn-split .vx-riquadro .vx-bolla--cliente, .vn-split .vx-riquadro .vx-ai__domanda, .vn-split .vx-riquadro .vx-ai__risposta { color: #1a1a1a; }
.vn-split .vx-riquadro .vx-bolla--bot, .vn-split .vx-riquadro .vx-risultato p { color: #454643; }
.vn-split .vx-riquadro .vx-bolla--agente, .vn-split .vx-riquadro .vx-pipeline__eventi p { color: #fff; }
.vn-split .vx-riquadro .vx-chat__esito--no { color: #fe4a22; }
.vn-split .vx-riquadro .vx-chat__esito--si, .vn-split .vx-riquadro .vx-modulo__fine, .vn-split .vx-riquadro .vx-ai__fonte { color: #8b5cff; }
.vn-split .vx-riquadro .vx-ai__domanda { margin-bottom: 10px; }
.vn-split .vx-riquadro .vx-ai__fonte { margin-top: 10px; font-size: 12px; }
.vn-split .vx-riquadro .vx-modulo__fine { margin-top: 12px; }
.vn-split .vx-riquadro .vx-chat__esito { font-size: 13px; }
/* sul telefono il sito spegne le animazioni nei riquadri a palline (hub-travel.css, home-chiaro.css): si vede lo stato finale */
@media (max-width: 767px) {
  .vx-pipeline__eventi p:last-child, .vx-ospite__campagna em:last-child { opacity: 1; }
  .vx-pipeline__eventi p:not(:last-child), .vx-ospite__campagna em:not(:last-child) { display: none; }
  .vx-pipeline__eventi p { position: static; }
  .vx-fase__filo::after { transform: scaleX(0); }
  .vx-fase:nth-child(4) .vx-fase__filo::after { transform: scaleX(1); }
}

/* ── quarto giro (12/11/2026) ── */
/* pipeline piena: in ogni colonna c'e' gia' un cliente fermo, Rossi Srl le attraversa */
.vx-fase { display: flex; flex-direction: column; gap: 10px; text-align: left; }
.vx-fase > span { text-align: center; }
/* il filo sta attaccato al titolo della fase, non a meta' strada fra titolo e scheda */
.vx-fase > .vx-fase__filo { margin: -4px 0 0; }
/* i clienti gia' fermi nelle colonne fanno da sfondo: la protagonista e' la scheda che passa */
.vx-fermo { padding: 10px; border-radius: 10px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1); text-align: left; opacity: 0.7; }
.vx-fermo b { display: block; font-size: 13px; color: #fff; }
.vx-fermo small { display: block; font-size: 12px; color: rgba(255, 255, 255, 0.55); }
.vx-pipeline__binario { height: 78px; }
.vn-split .vx-riquadro .vx-pipeline__eventi p { color: #fff; }

/* telefonata del centralino */
.vx-telefonata { display: flex; flex-direction: column; border-radius: 16px; background: #fff; overflow: hidden; color: #1a1a1a; font-size: 14px; }
.vx-telefonata__testa { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid #ececea; }
.vx-telefonata__testa b { display: block; font-family: 'Helvetica Now Display', 'Satoshi', sans-serif; font-size: 16px; font-weight: 500; }
.vx-telefonata__testa small { display: block; color: #a6a8a4; }
.vx-telefonata__testa em { margin-left: auto; padding: 4px 10px; border-radius: 6px; font-style: normal; font-size: 12px; font-weight: 700; background: rgba(139, 92, 255, 0.12); color: #8b5cff; }
.vx-telefonata__esiti { display: grid; gap: 8px; padding: 0 14px 14px; }
.vx-esito { display: flex; align-items: center; gap: 10px; margin: 0; padding: 10px 12px; border-radius: 10px; font-weight: 700; animation: vx-entra 9s ease-out 3.4s both; }
.vx-esito i { font-style: normal; }
.vx-esito--si { background: rgba(139, 92, 255, 0.1); color: #8b5cff; }
.vx-esito--persona { background: #f9f9f9; color: #454643; animation-delay: 4s; }
.vn-split .vx-riquadro .vx-esito--si { color: #8b5cff; }
.vn-split .vx-riquadro .vx-esito--persona { color: #454643; }

/* costo nel tempo, senza cifre */
.vx-costo { padding: 20px; border-radius: 16px; background: #fff; color: #1a1a1a; }
.vx-costo__testa { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.vx-costo__testa b { font-family: 'Helvetica Now Display', 'Satoshi', sans-serif; font-size: 18px; font-weight: 500; }
.vx-costo__testa small { font-size: 12px; font-weight: 700; color: #a6a8a4; }
.vx-costo__grafico { display: block; width: 100%; height: auto; overflow: visible; }
.vx-costo__grafico .riga { stroke: #ececea; stroke-width: 1; stroke-dasharray: 3 5; }
.vx-costo__grafico .asse { stroke: #d9dad7; stroke-width: 2; stroke-linecap: round; }
.vx-costo__grafico path { fill: none; stroke-width: 5; stroke-linecap: round; }
.vx-costo__grafico .abbonamento { stroke: #fe4a22; }
.vx-costo__grafico .misura { stroke: #8b5cff; }
.vx-costo__grafico .pareggio { stroke: #1a1a1a; stroke-width: 1.5; stroke-dasharray: 2 5; stroke-linecap: round; }
.vx-costo__grafico .punto { stroke: #fff; stroke-width: 3; }
.vx-costo__grafico .punto--giallo { fill: #ffd026; stroke: #1a1a1a; stroke-width: 2; }
.vx-costo__grafico .punto--arancio { fill: #fe4a22; }
.vx-costo__grafico .punto--viola { fill: #8b5cff; }
.vx-costo__grafico .etichetta { font-family: 'Satoshi', sans-serif; font-size: 13px; font-weight: 700; fill: #1a1a1a; }
.vx-costo__legenda { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; padding: 0; list-style: none; font-size: 13px; font-weight: 700; color: #454643; }
.vx-costo__legenda li { display: flex; align-items: center; gap: 8px; margin: 0; }
.vx-costo__legenda i { width: 18px; height: 5px; border-radius: 3px; }
.vx-costo__legenda i.arancio { background: #fe4a22; }
.vx-costo__legenda i.viola { background: #8b5cff; }
.vx-costo__assi { display: flex; justify-content: space-between; margin: 4px 0 14px; padding: 0 4% 0 9%; font-size: 12px; font-weight: 700; color: #a6a8a4; }
.vn-split .vx-riquadro .vx-costo__nota { margin-top: 10px; color: #454643; }
/* si disegna una volta sola, quando la sezione entra nello schermo (js/hub-nuovo.js mette .is-entrato);
   senza JS o con il movimento ridotto il grafico e' gia' completo */
.ht-entra:not(.is-entrato) .vx-costo__grafico path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.ht-entra:not(.is-entrato) .vx-costo__grafico .pareggio,
.ht-entra:not(.is-entrato) .vx-costo__grafico circle,
.ht-entra:not(.is-entrato) .vx-costo__grafico .etichetta { opacity: 0; }
.ht-entra.is-entrato .vx-costo__grafico path { stroke-dasharray: 1; animation: vx-disegna 1.6s cubic-bezier(0.4, 0, 0.2, 1) 0.3s both; }
.ht-entra.is-entrato .vx-costo__grafico .misura { animation-delay: 0.5s; }
.ht-entra.is-entrato .vx-costo__grafico circle, .ht-entra.is-entrato .vx-costo__grafico .pareggio,
.ht-entra.is-entrato .vx-costo__grafico .etichetta { animation: vx-compare 0.5s ease-out 1.9s both; }
@keyframes vx-disegna { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes vx-compare { from { opacity: 0; } to { opacity: 1; } }

/* frase sicura: cosa si impara nella formazione */
.vx-prompt { display: flex; flex-direction: column; gap: 10px; padding: 18px; border-radius: 16px; background: #fff; color: #1a1a1a; font-size: 14px; }
.vx-prompt__testa { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; color: #a6a8a4; }
.vx-prompt__testa i { width: 10px; height: 10px; border-radius: 50%; background: #8b5cff; }
.vx-prompt__riga { display: flex; flex-direction: column; gap: 6px; padding: 12px; border-radius: 10px; border: 1px solid #ececea; }
.vx-prompt__riga em { font-style: normal; font-size: 12px; font-weight: 700; }
.vx-prompt__riga--no em { color: #fe4a22; animation: vx-entra 9s ease-out 0.8s both; }
.vx-prompt__riga--no mark { background: rgba(254, 74, 34, 0.14); color: #1a1a1a; border-radius: 4px; padding: 0 2px; }
.vx-prompt__riga--si { border-color: #8b5cff; background: rgba(139, 92, 255, 0.06); animation: vx-entra 9s ease-out 1.6s both; }
.vx-prompt__riga--si em { color: #8b5cff; }
.vx-prompt__risposta { padding: 12px; border-radius: 10px; background: #f9f9f9; animation: vx-entra 9s ease-out 2.4s both; }
.vx-prompt__risposta b { display: block; font-size: 12px; color: #a6a8a4; }
.vx-prompt__risposta small { display: block; margin-top: 6px; font-size: 12px; font-weight: 700; color: #454643; }
.vn-split .vx-riquadro .vx-prompt__risposta p { margin: 4px 0 0; color: #1a1a1a; }

/* le tre domande applicate a due software */
.vx-scelta { border-radius: 16px; background: #fff; overflow: hidden; color: #1a1a1a; font-size: 14px; }
.vx-domanda { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: 10px; align-items: center; padding: 13px 16px; border-top: 1px solid #ececea; }
.vx-domanda span { line-height: 1.35; font-size: 14px; }
.vn-split .vx-riquadro .vx-domanda span { line-height: 1.35; }
.vx-domanda--testa { border-top: 0; font-size: 12px; font-weight: 700; color: #a6a8a4; }
.vx-domanda--testa b { text-align: center; color: #454643; }
.vx-domanda--testa b:last-child { color: #8b5cff; }
.vx-domanda i { justify-self: center; padding: 4px 12px; border-radius: 6px; font-style: normal; font-weight: 700; animation: vx-entra 9s ease-out both; }
.vx-domanda:nth-child(3) i { animation-delay: 0.5s; } .vx-domanda:nth-child(4) i { animation-delay: 1s; }
.vx-domanda i.no, .vx-domanda--esito b.no { background: rgba(254, 74, 34, 0.12); color: #fe4a22; }
.vx-domanda i.si, .vx-domanda--esito b.si { background: rgba(139, 92, 255, 0.12); color: #8b5cff; }
.vx-domanda--esito { background: #f9f9f9; font-weight: 700; }
.vx-domanda--esito b { justify-self: center; padding: 6px 10px; border-radius: 6px; text-align: center; font-size: 13px; animation: vx-entra 9s ease-out 1.6s both; }

/* tabella del CRM sul telefono: ogni riga diventa il nome sopra e i tre valori sotto, niente scorrimento */
@media (max-width: 767px) {
  .vx-confronto { overflow: visible; }
  .vx-confronto__riga { min-width: 0; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .vx-confronto__riga span { grid-column: 1 / -1; padding-bottom: 0; }
  .vx-confronto__riga > * { padding: 10px 12px; font-size: 14px; }
  .vx-confronto__riga--testa span { display: none; }
  .vx-confronto__riga--testa > * { font-size: 15px; }
  .vx-domanda { grid-template-columns: minmax(0, 1fr) auto auto; padding: 12px; }
  .vx-domanda--testa b, .vx-domanda--esito b { font-size: 11px; }
  .vx-fermo { display: none; }
}

/* ── Cosa abbiamo gia' costruito (software su misura, 16/11): griglia a schede, un disegno diverso per scheda.
   Schede grigine #f9f9f9 col bordo al 6% sul bianco, niente ombre; il disegno entra una volta sola. ── */
.vx-bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; margin-top: 56px; }
.vx-bento__carta { display: flex; flex-direction: column; grid-column: span 2; border-radius: 1.25rem; background: #f9f9f9;
  border: 1px solid rgba(26, 26, 26, 0.06); overflow: hidden; }
.vx-bento__carta--largo { grid-column: span 4; flex-direction: row; }
.vx-bento__carta--largo .vx-bento__disegno { flex: 1.2; order: 2; }
.vx-bento__carta--largo .vx-bento__testo { flex: 1; justify-content: center; }
.vx-bento__carta--vostro { grid-column: span 6; flex-direction: row; align-items: center; gap: 40px; padding: 40px; background: #1a1a1a; border-color: #1a1a1a; }
.vx-bento__disegno { display: flex; align-items: center; justify-content: center; min-height: 220px; padding: 28px 24px 8px; }
.vx-bento__disegno > * { width: 100%; max-width: 340px; }
/* stessa altezza del disegno nelle schede in fila: i titoli partono tutti alla stessa riga */
.vx-bento__carta:not(.vx-bento__carta--largo) .vx-bento__disegno { height: 290px; box-sizing: border-box; }
.vx-bento__testo { display: flex; flex-direction: column; gap: 8px; padding: 20px 28px 28px; }
.vx-bento__testo small { font-size: 13px; font-weight: 700; color: #8b5cff; }
.vx-bento__testo h3 { margin: 0; font-family: 'Helvetica Now Display', 'Satoshi', sans-serif; font-size: 1.6rem; line-height: 1.15; font-weight: 500;
  -webkit-text-stroke: 0.3px currentColor; color: #1a1a1a; }
.vx-bento__testo p { margin: 0; font-size: 16px; line-height: 1.55; color: #454643; }
.vx-bento__vai { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 15px; font-weight: 700; color: #1a1a1a; text-decoration: none; }
.vx-bento__vai svg, .vx-bento__link svg { flex: none; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  transition: transform 0.25s ease; }
.vx-bento__vai:hover { color: #8b5cff; }
.vx-bento__vai:hover svg, .vx-bento__link a:hover svg { transform: translateX(4px); }
.vx-bento__carta--vostro .vx-bento__testo { flex: 1; padding: 0; }
.vx-bento__carta--vostro .vx-bento__testo small { color: #ffd026; }
.vx-bento__carta--vostro h3 { color: #fff; font-size: 2.2rem; }
.vx-bento__carta--vostro p { color: #a6a8a4; }
.vx-bento__link { flex: 1; display: flex; flex-direction: column; margin: 0; padding: 0; list-style: none; }
.vx-bento__link li + li { border-top: 1px solid #262626; }
.vx-bento__link a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; font-size: 18px; font-weight: 700;
  color: #fff; text-decoration: none; transition: color 0.2s ease; }
.vx-bento__link a:hover { color: #8b5cff; }

/* gestionale: pratiche con lo stato */
.vx-g { display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: #1a1a1a; }
.vx-g__testa { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 4px; }
.vx-g__testa > * { padding: 6px 10px; border-radius: 8px; font-weight: 700; color: #a6a8a4; }
.vx-g__testa b { background: #1a1a1a; color: #fff; }
.vx-g__riga { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border-radius: 12px; background: #fff; border: 1px solid #d9dad7; }
.vx-g__meta { display: flex; flex-direction: column; }
.vx-g__meta small { color: #a6a8a4; font-weight: 700; }
.vx-g__stato { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: #454643; white-space: nowrap; }
.vx-g__stato i { width: 10px; height: 10px; border-radius: 50%; }
.vx-g__stato--verde i { background: #4fe08a; }
.vx-g__stato--giallo i { background: #ffd026; }
.vx-g__stato--viola i { background: #8b5cff; }

/* Smistant: quattro canali che finiscono in una casella sola */
.vx-s { display: flex; flex-direction: column; align-items: stretch; }
.vx-s__canali { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.vx-s__canali span { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; color: #454643; }
.vx-s__canali svg { box-sizing: border-box; width: 44px; height: 44px; padding: 11px; border-radius: 12px; background: #fff; border: 1px solid #d9dad7;
  fill: none; stroke: #fe4a22; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.vx-s__fili { display: block; width: 100%; height: 36px; }
.vx-s__fili path { fill: none; stroke: #fe4a22; stroke-width: 1.5; vector-effect: non-scaling-stroke; stroke-dasharray: 0.04 0.04; }
.vx-s__casella { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; background: #1a1a1a; color: #fff; font-size: 13px; }
.vx-s__casella small { display: block; color: #a6a8a4; font-weight: 700; }
.vx-s__chi { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%; background: #fe4a22; font-weight: 700; }

/* liste passeggeri: il foglio che si riempie colonna per colonna */
.vx-l { padding: 14px; border-radius: 12px; background: #fff; border: 1px solid #d9dad7; font-size: 12px; }
.vx-l__testa, .vx-l__celle { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.vx-l__celle { row-gap: 8px; }
.vx-l__testa { margin-bottom: 8px; font-weight: 700; color: #a6a8a4; }
.vx-l__celle i { height: 14px; border-radius: 4px; background: #ffd026; }
.vx-l__celle i:nth-child(3n+2) { background: #c9b6ff; }
.vx-l__celle i:nth-child(3n) { background: #1a1a1a; width: 50%; }
.vx-l__file { display: block; margin-top: 12px; font-weight: 700; color: #454643; }

/* preventivatore: il programma giorno per giorno */
.vx-p { display: flex; flex-direction: column; font-size: 13px; color: #1a1a1a; }
.vx-p__giorno { position: relative; display: flex; align-items: center; gap: 12px; padding: 6px 0; }
.vx-p__giorno b { position: relative; z-index: 1; display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; background: #8b5cff; color: #fff; }
.vx-p__giorno + .vx-p__giorno::before { content: ""; position: absolute; left: 14px; top: -12px; height: 24px; border-left: 2px dashed #c9b6ff; }
.vx-p__giorno span { flex: 1; padding: 8px 12px; border-radius: 10px; background: #fff; border: 1px solid #d9dad7; font-weight: 700; }
.vx-p__quota { display: flex; justify-content: space-between; margin-top: 10px; padding: 12px 14px; border-radius: 12px; background: #1a1a1a; color: #fff; font-weight: 700; }
.vx-p__quota b { color: #c9b6ff; }

/* moduli di gara: i campi si spuntano, l'ultimo lo chiede */
.vx-m { display: flex; flex-direction: column; gap: 6px; padding: 14px; border-radius: 12px; background: #fff; border: 1px solid #d9dad7; font-size: 13px; color: #1a1a1a; }
.vx-m__testa { margin-bottom: 4px; font-size: 12px; color: #a6a8a4; }
.vx-m__campo { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 10px; border-radius: 8px; background: #f9f9f9; font-weight: 700; }
.vx-m__campo i { display: grid; place-items: center; flex: none; width: 22px; height: 22px; border-radius: 50%; background: #4fe08a; color: #1a1a1a; font-style: normal; font-size: 12px; line-height: 1; }
.vx-m__campo--chiede { background: rgba(255, 208, 38, 0.22); }
.vx-m__campo--chiede i { background: #ffd026; }

/* entrata: una volta sola, quando la griglia arriva nello schermo (js/hub-nuovo.js); senza JS e' tutto fermo e visibile */
.vx-bento.is-entrato .vx-g__riga { animation: vx-sale 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) calc(0.3s + var(--i) * 0.15s) both; }
.vx-bento.is-entrato .vx-s__canali span { animation: vx-sale 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) calc(0.3s + var(--i) * 0.1s) both; }
.vx-bento.is-entrato .vx-s__fili path { animation: vx-compare 0.6s ease-out 0.8s both; }
.vx-bento.is-entrato .vx-s__casella { animation: vx-sale 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) 1.2s both; }
.vx-bento.is-entrato .vx-l__celle i { transform-origin: left; animation: vx-riempi 0.35s ease-out calc(0.4s + var(--i) * 0.08s) both; }
.vx-bento.is-entrato .vx-p__giorno { animation: vx-sale 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) calc(0.4s + var(--i) * 0.2s) both; }
.vx-bento.is-entrato .vx-p__quota { animation: vx-sale 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) 1.1s both; }
.vx-bento.is-entrato .vx-m__campo i { animation: vx-spunta 0.4s cubic-bezier(0.3, 1.6, 0.5, 1) calc(0.5s + var(--i) * 0.25s) both; }
@keyframes vx-sale { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes vx-riempi { from { transform: scaleX(0); } to { transform: none; } }
@keyframes vx-spunta { from { transform: scale(0); } to { transform: none; } }

@media (max-width: 991px) {
  .vx-bento { grid-template-columns: 1fr 1fr; }
  .vx-bento__carta { grid-column: span 1; }
  .vx-bento__carta--largo { grid-column: span 2; }
  .vx-bento__carta--vostro { grid-column: span 2; flex-direction: column; align-items: stretch; gap: 20px; padding: 32px 28px; }
}
@media (max-width: 767px) {
  .vx-bento { grid-template-columns: 1fr; margin-top: 40px; gap: 16px; }
  .vx-bento__carta, .vx-bento__carta--largo, .vx-bento__carta--vostro { grid-column: auto; }
  .vx-bento__carta--largo { flex-direction: column; }
  .vx-bento__carta--largo .vx-bento__disegno { order: 0; }
  .vx-bento__disegno, .vx-bento__carta:not(.vx-bento__carta--largo) .vx-bento__disegno { height: auto; min-height: 0; padding: 24px 20px 4px; }
  .vx-bento__testo { padding: 16px 20px 24px; }
  .vx-bento__carta--vostro h3 { font-size: 1.8rem; }
  .vx-bento__link a { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) { .vx-bento * { animation: none !important; } }

/* in attesa finche' la sezione non entra nello schermo (js/hub-nuovo.js mette .is-entrato), poi una volta sola */
.ht-entra:not(.is-entrato) .vx-riquadro * { animation-play-state: paused; }

/* ── SEO e GEO (16/11): il sito al centro, le leve su cui lavoriamo, Google e le risposte AI ── */
.vx-geo { display: flex; flex-direction: column; align-items: center; gap: 12px; max-width: 460px; margin: 0 auto; font-size: 13px; color: #1a1a1a; }
.vx-geo svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.vx-geo__cerca { display: flex; align-items: center; gap: 10px; width: 100%; box-sizing: border-box; padding: 10px 16px; border-radius: 999px; background: #fff; color: #454643; font-weight: 700; }
.vx-geo__cerca svg { width: 18px; height: 18px; color: #8b5cff; }
.vx-geo__sito { display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border-radius: 14px; background: #8b5cff; color: #fff; font-size: 15px; }
.vx-geo__globo { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: rgba(255, 255, 255, 0.18); }
.vx-geo__globo svg { width: 22px; height: 22px; }
.vx-geo__leve { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; width: 100%; }
.vx-geo__leve span { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 4px; border-radius: 12px; background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14); color: #fff; text-align: center; }
.vx-geo__leve svg { width: 20px; height: 20px; color: #ffd026; }
.vx-geo__leve small { font-size: 11px; font-weight: 700; line-height: 1.2; }
.vx-geo__rami { display: block; width: 70%; height: 28px; }
.vx-geo__rami path { fill: none; stroke: #c9b6ff; stroke-width: 1.5; stroke-dasharray: 0.03 0.03; vector-effect: non-scaling-stroke; }
.vx-geo__uscite { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; }
.vx-geo__uscita { display: flex; flex-direction: column; gap: 8px; padding: 14px; border-radius: 14px; background: #fff; }
.vx-geo__uscita p { margin: 0; line-height: 1.4; }
.vx-geo__uscita small { font-size: 11px; font-weight: 700; color: #a6a8a4; }
.vx-geo__testa { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: #a6a8a4; }
.vx-geo__testa svg { width: 16px; height: 16px; color: #fe4a22; }
.vx-geo__uscita--ai .vx-geo__testa svg { color: #8b5cff; }
.vx-geo__primo, .vx-geo__altro { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.vx-geo__primo i, .vx-geo__altro i { display: grid; place-items: center; flex: none; width: 22px; height: 22px; border-radius: 6px; font-style: normal; font-size: 12px; }
.vx-geo__primo { color: #8b5cff; }
.vx-geo__primo i { background: #8b5cff; color: #fff; }
.vx-geo__altro { color: #a6a8a4; }
.vx-geo__altro i { background: #f9f9f9; border: 1px solid #ececea; }
.vx-geo__uscita--ai b { color: #8b5cff; }
.vn-split .vx-riquadro .vx-geo p { color: #1a1a1a; }
/* una volta sola, quando la sezione entra */
.ht-entra.is-entrato .vx-geo__leve span { animation: vx-sale 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) calc(0.5s + var(--i) * 0.12s) both; }
.ht-entra.is-entrato .vx-geo__rami { animation: vx-compare 0.5s ease-out 1.1s both; }
.ht-entra.is-entrato .vx-geo__uscita { animation: vx-sale 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) 1.4s both; }
.ht-entra.is-entrato .vx-geo__uscita--ai { animation-delay: 1.6s; }
@media (max-width: 479px) {
  .vx-geo__leve { grid-template-columns: 1fr 1fr; }
  .vx-geo__uscite { grid-template-columns: 1fr; }
  .vx-geo__rami { display: none; }
}
@media (prefers-reduced-motion: reduce) { .vx-geo * { animation: none !important; } }

/* ── Formazione (16/11): cosa chiede l'articolo 4 (nero) e cosa vi resta in mano (grigino, fogli colorati) ── */
.vx-act { display: grid; grid-template-columns: 1.1fr 1fr; gap: 20px; margin-top: 56px; }
.vx-act h3 { margin: 0; font-family: 'Helvetica Now Display', 'Satoshi', sans-serif; font-size: 1.8rem; line-height: 1.15; font-weight: 500; -webkit-text-stroke: 0.3px currentColor; }
.vx-act__legge h3 { color: #fff; }
.vx-act__legge { display: flex; flex-direction: column; gap: 20px; padding: 40px; border-radius: 1.25rem; background: #1a1a1a; color: #fff; }
.vx-act__art { align-self: flex-start; padding: 5px 10px; border-radius: 6px; background: rgba(255, 208, 38, 0.16); color: #ffd026; font-size: 13px; font-weight: 700; }
.vx-act__legge ul { display: flex; flex-direction: column; gap: 14px; margin: 0; padding: 0; list-style: none; }
.vx-act__legge li { display: flex; align-items: center; gap: 14px; font-size: 16px; line-height: 1.45; color: #d9dad7; }
.vx-act__legge li span { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 12px; background: #262626; }
.vx-act__legge svg { width: 20px; height: 20px; fill: none; stroke: #c9b6ff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.vx-act__date { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); margin-top: auto; padding-top: 24px; border-top: 1px solid #262626; }
.vx-act__date::before { content: ""; position: absolute; left: 6px; right: calc(33.3% - 8px); top: 30px; height: 2px; background: #8b5cff; }
.vx-act__date div { position: relative; display: flex; flex-direction: column; gap: 4px; }
.vx-act__date i { width: 14px; height: 14px; margin-bottom: 8px; border-radius: 50%; background: #8b5cff; }
.vx-act__date div:last-child i { background: #ffd026; }
.vx-act__date b { font-size: 14px; color: #fff; }
.vx-act__date small { font-size: 13px; font-weight: 700; color: #a6a8a4; }
.vx-act__fogli { display: flex; flex-direction: column; gap: 10px; padding: 40px; border-radius: 1.25rem; background: #f9f9f9; border: 1px solid rgba(26, 26, 26, 0.06); color: #1a1a1a; }
.vx-act__fogli > p { margin: 0 0 14px; font-size: 16px; line-height: 1.5; color: #454643; }
.vx-act__pila { display: flex; flex-direction: column; gap: 10px; }
.vx-act__foglio { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; padding: 14px 16px;
  border-radius: 12px; background: #fff; border: 1px solid #d9dad7; }
.vx-act__foglio i { grid-row: span 2; width: 10px; height: 36px; border-radius: 4px; }
.vx-act__foglio b { font-size: 16px; }
.vx-act__foglio small { font-size: 13px; font-weight: 700; color: #a6a8a4; }
.vx-act__foglio--viola i { background: #8b5cff; }
.vx-act__foglio--arancio i { background: #fe4a22; }
.vx-act__foglio--giallo i { background: #ffd026; }
.vx-act__foglio--verde i { background: #4fe08a; }
/* una volta sola, quando entra */
.vx-act.is-entrato .vx-act__legge li { animation: vx-sale 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) calc(0.3s + var(--i) * 0.15s) both; }
.vx-act.is-entrato .vx-act__date::before { transform-origin: left; animation: vx-riempi 1s cubic-bezier(0.4, 0, 0.2, 1) 0.8s both; }
.vx-act.is-entrato .vx-act__foglio { animation: vx-sale 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) calc(0.5s + var(--i) * 0.15s) both; }
@media (max-width: 991px) { .vx-act { grid-template-columns: 1fr; } }
@media (max-width: 767px) {
  .vx-act { margin-top: 40px; gap: 16px; }
  .vx-act__legge, .vx-act__fogli { padding: 28px 22px; }
  .vx-act__legge li { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) { .vx-act * { animation: none !important; } }

/* ── Siti di zona (16/11): la ricerca sulla mappa, l'attivita' per prima ── */
.vx-mappa { display: flex; flex-direction: column; gap: 10px; max-width: 440px; margin: 0 auto; font-size: 13px; color: #1a1a1a; }
.vx-mappa svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.vx-mappa__carta { position: relative; height: 170px; border-radius: 14px; background: #eeeeea; overflow: hidden; }
.vx-mappa__strade { position: absolute; inset: 0; width: 100%; height: 100%; }
.vx-mappa__strade path { stroke: #fff; stroke-width: 9; }
.vx-mappa__strade .parco { fill: #c9ecd6; stroke: none; }
.vx-mappa__pin { position: absolute; width: 30px; height: 30px; transform: translate(-50%, -100%); }
.vx-mappa__pin svg { width: 100%; height: 100%; stroke: none; }
.vx-mappa__pin svg path { fill: #a6a8a4; }
.vx-mappa__pin svg circle { fill: #fff; }
.vx-mappa__pin--viola { width: 42px; height: 42px; z-index: 1; }
.vx-mappa__pin--viola svg path { fill: #8b5cff; }
.vx-mappa__nome { position: absolute; transform: translate(26px, -34px); padding: 5px 9px; border-radius: 8px; background: #1a1a1a; color: #fff; font-weight: 700; white-space: nowrap; }
.vx-mappa__primo { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px; border-radius: 14px; background: #fff; border: 2px solid #8b5cff; }
.vx-mappa__primo b { display: block; color: #8b5cff; font-size: 15px; }
.vx-mappa__primo small, .vx-mappa__altro small { display: block; margin-top: 2px; font-weight: 700; color: #a6a8a4; }
.vx-mappa__stelle { color: #ffd026; letter-spacing: 1px; }
.vx-mappa__azioni { display: flex; flex-direction: column; gap: 4px; }
.vx-mappa__azioni span { padding: 4px 10px; border-radius: 6px; background: rgba(139, 92, 255, 0.1); color: #8b5cff; font-size: 12px; font-weight: 700; text-align: center; }
.vx-mappa__altro { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; border-radius: 12px; background: rgba(255, 255, 255, 0.92); }
.vx-mappa__altro b { color: #454643; }
.vx-mappa__altro small { margin: 0; }
.ht-entra.is-entrato .vx-mappa__pin--viola, .sw-cosa .vx-mappa__pin--viola { animation: vx-cade 0.6s cubic-bezier(0.3, 1.5, 0.5, 1) 0.6s both; }
.sw-cosa .vx-mappa__nome { animation: vx-compare 0.4s ease-out 1.1s both; }
.sw-cosa .vx-mappa__primo { animation: vx-sale 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) 1.3s both; }
@keyframes vx-cade { from { opacity: 0; transform: translate(-50%, -160%); } to { opacity: 1; transform: translate(-50%, -100%); } }
@media (max-width: 479px) { .vx-mappa__azioni { display: none; } }

/* ── E-commerce (16/11): un negozio d'esempio, l'ordine che finisce nel gestionale ── */
.vx-shop { display: flex; flex-direction: column; gap: 10px; max-width: 440px; margin: 0 auto; font-size: 13px; color: #1a1a1a; }
.vx-shop svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.vx-shop__barra { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: #fff; }
.vx-shop__barra b { flex: 1; font-size: 14px; }
.vx-shop__cesto { position: relative; }
.vx-shop__cesto i { position: absolute; top: -8px; right: -10px; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%;
  background: #fe4a22; color: #fff; font-style: normal; font-size: 11px; font-weight: 700; }
.vx-shop__griglia { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.vx-shop__prodotto { display: flex; flex-direction: column; gap: 8px; padding: 10px; border-radius: 14px; background: #fff; }
.vx-shop__prodotto b { font-size: 12px; line-height: 1.25; }
.vx-shop__prodotto span { padding: 5px 0; border-radius: 6px; background: #1a1a1a; color: #fff; font-size: 11px; font-weight: 700; text-align: center; }
.vx-shop__foto { position: relative; display: grid; place-items: center; aspect-ratio: 1; border-radius: 10px; }
.vx-shop__foto--arancio { background: #ffe3dc; }
.vx-shop__foto--viola { background: #ece4ff; }
.vx-shop__foto--giallo { background: #fff3c4; }
.vx-shop__foto em { display: block; }
.vx-shop__foto .tonda { width: 52%; height: 44%; border-radius: 10px 10px 16px 16px; background: #fe4a22; }
.vx-shop__foto .quadra { width: 46%; height: 34%; border-radius: 6px; background: #8b5cff; }
.vx-shop__foto .lunga { width: 70%; height: 14%; border-radius: 4px; background: #1a1a1a; box-shadow: inset -12px 0 0 #ffd026; }
.vx-shop__cassa { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px; border-radius: 14px; background: #fff; }
.vx-shop__cassa b { display: block; font-size: 14px; }
.vx-shop__cassa small { font-weight: 700; color: #a6a8a4; }
.vx-shop__cassa > span { padding: 9px 14px; border-radius: 8px; background: #fe4a22; color: #fff; font-weight: 700; white-space: nowrap; }
.vx-shop__ordine { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: #8b5cff; color: #fff; }
.vx-shop__ordine i { display: grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 50%; background: #4fe08a; color: #1a1a1a; font-style: normal; font-weight: 700; }
.vx-shop__ordine b { display: block; }
.vx-shop__ordine small { color: rgba(255, 255, 255, 0.8); font-weight: 700; }
.sw-cosa .vx-shop__prodotto { animation: vx-sale 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) calc(0.3s + var(--i) * 0.12s) both; }
.sw-cosa .vx-shop__cassa { animation: vx-sale 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) 0.9s both; }
.sw-cosa .vx-shop__ordine { animation: vx-sale 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) 1.4s both; }
@media (prefers-reduced-motion: reduce) { .vx-mappa *, .vx-shop * { animation: none !important; } }
