/* =============================================================
   DENTAL GO — Homepage v2 (ottobre 2026)
   Caricato solo con la nuova Homepage attiva (inc/home-v2.php).
   Riusa token, bottoni, reveal, preset chiari (main.css) e titoli
   cromati (home-typography.css). Qui solo le parti nuove, tutte
   con prefisso .hv2: nessun'altra pagina ne è toccata.
   Font: Inter, come il resto del sito.
   ============================================================= */

.hv2 {
  --hv2-link: #1f5fcf;           /* blu del brand, contrasto AA su off-white */
  --hv2-ink: var(--color-navy);
  --hv2-ink-2: rgba(7, 16, 26, 0.72);
  --hv2-line: rgba(7, 16, 26, 0.08);
  --hv2-radius: 20px;
  --hv2-shadow: 0 1px 2px rgba(7, 16, 26, 0.04), 0 18px 40px -26px rgba(7, 16, 26, 0.22);
  --hv2-shadow-hover: 0 1px 2px rgba(7, 16, 26, 0.04), 0 30px 60px -30px rgba(7, 16, 26, 0.32);
  scroll-margin-top: 104px;
}

/* Titoli di sezione: stessa resa cromata della Home, misura più
   contenuta perché i titoli nuovi sono frasi più lunghe. */
#main .hv2 h2.h-display {
  font-size: clamp(2.125rem, 1.45rem + 2.7vw, 3.5rem);
  line-height: 1.06;
  text-wrap: balance;
}

/* -------------------------------------------------------------
   Intestazione di sezione
   ------------------------------------------------------------- */
.hv2-head { max-width: 860px; margin-bottom: clamp(40px, 5vw, 72px); }
.hv2-head .h2 { margin: 0; }
.hv2-head__sub { max-width: 680px; margin: var(--space-5) 0 0; }
.hv2-head__sub,
.hv2-head__sub p { color: var(--hv2-ink-2); }
.hv2-head--center { margin-inline: auto; text-align: center; }
.hv2-head--center .hv2-head__sub { margin-inline: auto; }

/* -------------------------------------------------------------
   Link con freccia (card cliccabili per intero)
   ------------------------------------------------------------- */
.hv2-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--hv2-link);
  text-decoration: none;
}
.hv2-link .arrow { transition: transform var(--dur-fast) var(--ease-out); }
.hv2-link:hover .arrow { transform: translateX(4px); }
.hv2-link--stretch::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
}
.hv2-link--stretch:focus-visible { outline: none; }
.hv2-link--stretch:focus-visible::after {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}
/* =============================================================
   1. HERO
   ============================================================= */
.hv2-hero { background: var(--color-white); }
.hv2-hero .hero__fade { display: none; }

.hv2-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(55% 60% at 76% 48%, rgba(42, 106, 220, 0.13) 0%, rgba(42, 106, 220, 0) 72%),
    radial-gradient(38% 42% at 6% 92%, rgba(100, 145, 216, 0.12) 0%, rgba(100, 145, 216, 0) 72%),
    linear-gradient(180deg, #ffffff 0%, #f7fafb 55%, var(--color-off-white) 100%);
}
.hv2-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(7, 16, 26, 0.08) 1px, transparent 1.3px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(60% 62% at 74% 48%, #000 0%, transparent 78%);
  mask-image: radial-gradient(60% 62% at 74% 48%, #000 0%, transparent 78%);
}

.hv2-hero .hero__content { padding-bottom: clamp(96px, 12vh, 150px); }

.hv2-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(36px, 6vw, 64px);
  align-items: center;
}
@media (min-width: 1024px) {
  .hv2-hero__grid { grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr); }
}

#main .hv2-hero h1.hero__title {
  font-size: clamp(2.375rem, 1.5rem + 3.3vw, 4.25rem);
  line-height: 1.04;
  max-width: 16ch;
  text-wrap: balance;
  margin-bottom: var(--space-6);
}
.hv2-hero .hero__lead { max-width: 560px; }
.hv2-hero__meta { max-width: none; }
.hero.is-ready .hv2-hero__visual { transition-delay: 420ms; }

@media (max-width: 1023px) {
  .hv2-hero { min-height: 0; }
  .hv2-hero .hero__content { padding-top: calc(var(--header-h) + var(--topbar-h) + 24px); }
}

/* -------------------------------------------------------------
   Ecosistema premium — solo CSS.
   Logo al centro con alone che ruota e onde di segnale; tre anelli
   percorsi da una scia di luce; otto canali su due orbite che girano
   in versi opposti (i tile controruotano e restano dritti); da ogni
   canale un fascio porta un impulso luminoso verso il centro.
   Pausa: html.motion-paused (pulsante o "riduci animazioni").
   ------------------------------------------------------------- */
.hv2-eco {
  position: relative;
  width: min(100%, 560px);
  margin-inline: auto;
}

.hv2-eco__stage {
  --r1: 21%;
  --r2: 32%;
  --r3: 46%;
  --core: 30%;
  --tile: 60px;
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
}

.hv2-eco__glow {
  position: absolute;
  inset: 6%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(42, 106, 220, 0.2), rgba(100, 145, 216, 0.08) 55%, rgba(100, 145, 216, 0) 78%);
  animation: hv2-breathe 8s ease-in-out infinite;
}

.hv2-eco__ring {
  position: absolute;
  left: 50%;
  top: 50%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.hv2-eco__ring--1 {
  width: calc(var(--r1) * 2);
  border: 1px solid rgba(42, 106, 220, 0.16);
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.45));
  --sweep: 7s;
}
.hv2-eco__ring--2 {
  width: calc(var(--r2) * 2);
  border: 1px dashed rgba(42, 106, 220, 0.24);
  --sweep: 11s;
  --sweep-dir: reverse;
}
.hv2-eco__ring--3 {
  width: calc(var(--r3) * 2);
  border: 1px solid rgba(7, 16, 26, 0.08);
  --sweep: 15s;
}

/* Scia di luce che percorre l'anello, con la "testa" luminosa */
.hv2-eco__sweep {
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  animation: hv2-spin var(--sweep, 10s) linear infinite var(--sweep-dir, normal);
}
.hv2-eco__sweep::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg,
    rgba(42, 106, 220, 0) 0deg,
    rgba(42, 106, 220, 0) 230deg,
    rgba(100, 145, 216, 0.5) 320deg,
    rgba(42, 106, 220, 1) 359deg,
    rgba(42, 106, 220, 0) 360deg);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1.5px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1.5px));
}
.hv2-eco__sweep::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 6px;
  height: 6px;
  margin: -3px 0 0 -3px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 2px rgba(42, 106, 220, 0.9), 0 0 14px 3px rgba(42, 106, 220, 0.55);
}
.hv2-eco__ring--2 .hv2-eco__sweep::before {
  background: conic-gradient(from 0deg,
    rgba(42, 106, 220, 0) 0deg,
    rgba(42, 106, 220, 1) 1deg,
    rgba(100, 145, 216, 0.5) 40deg,
    rgba(42, 106, 220, 0) 130deg,
    rgba(42, 106, 220, 0) 360deg);
}

/* Orbite */
.hv2-eco__orbit {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  z-index: 3;
  animation: hv2-spin var(--dur) linear infinite var(--dir);
}
.hv2-eco__orbit--inner { --r: var(--r2); --dur: 64s; --dir: normal;  --rev: reverse; --start: 20deg; }
.hv2-eco__orbit--outer { --r: var(--r3); --dur: 96s; --dir: reverse; --rev: normal;  --start: 0deg; }

.hv2-eco__item {
  --a: calc(var(--start) + 360deg / var(--n) * var(--i));
  position: absolute;
  inset: 0;
  transform: rotate(var(--a));
  pointer-events: none;
}

/* Fascio dal canale verso il centro, con impulso che scorre */
.hv2-eco__beam {
  position: absolute;
  left: 50%;
  top: calc(50% - var(--r) + var(--tile) / 2 + 6px);
  height: calc(var(--r) - var(--core) / 2 - var(--tile) / 2 - 10px);
  width: 1px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(42, 106, 220, 0.32), rgba(42, 106, 220, 0.04));
}
.hv2-eco__beam::after {
  content: "";
  position: absolute;
  left: -5px;
  right: -5px;
  top: 0;
  bottom: 0;
  background: radial-gradient(circle, #fff 0 1.3px, rgba(42, 106, 220, 1) 2px, rgba(42, 106, 220, 0.35) 3.6px, rgba(42, 106, 220, 0) 5.5px) no-repeat;
  background-size: 11px 11px;
  background-position: 50% 0%;
  opacity: 0;
  animation: hv2-flow 3.8s cubic-bezier(0.45, 0, 0.55, 1) infinite;
  animation-delay: calc(var(--i) * -1.3s);
}
.hv2-eco__orbit--outer .hv2-eco__beam::after { animation-duration: 4.6s; }

/* Tile del canale */
.hv2-eco__node {
  position: absolute;
  left: 50%;
  top: calc(50% - var(--r));
  transform: translate(-50%, -50%) rotate(calc(var(--a) * -1));
}
.hv2-eco__tile {
  position: relative;
  display: grid;
  place-items: center;
  width: var(--tile);
  height: var(--tile);
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f5f8fc 100%);
  box-shadow:
    inset 0 1px 0 #ffffff,
    0 1px 2px rgba(7, 16, 26, 0.06),
    0 10px 20px -10px rgba(7, 16, 26, 0.25),
    0 24px 44px -22px rgba(42, 106, 220, 0.45);
  animation: hv2-spin var(--dur) linear infinite var(--rev);
}
.hv2-eco__tile::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(160deg, rgba(42, 106, 220, 0.5), rgba(7, 16, 26, 0.06) 45%, rgba(100, 145, 216, 0.35));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.hv2-eco__tile img,
.hv2-eco__generic { width: 28px; height: 28px; }
.hv2-eco__generic { color: var(--color-deep-navy); }
.hv2-eco__name { display: none; }

/* Centro: logo con alone rotante e onde di segnale */
.hv2-eco__core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--core);
  aspect-ratio: 1 / 1;
  transform: translate(-50%, -50%);
  z-index: 4;
}
.hv2-eco__core-in {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 28%, #ffffff 0%, #f2f6fd 100%);
  box-shadow:
    inset 0 0 0 1px rgba(7, 16, 26, 0.06),
    0 0 0 9px rgba(255, 255, 255, 0.75),
    0 0 0 10px rgba(42, 106, 220, 0.14),
    0 44px 80px -30px rgba(42, 106, 220, 0.65);
}
.hv2-eco__core-in::before {
  content: "";
  position: absolute;
  inset: -16px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(42, 106, 220, 0), rgba(42, 106, 220, 0.95) 25%, rgba(100, 145, 216, 0.35) 45%, rgba(42, 106, 220, 0) 60%, rgba(42, 106, 220, 0));
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1.5px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1.5px));
  animation: hv2-spin 6s linear infinite;
}
.hv2-eco__core-in img { position: relative; width: 58%; height: auto; }
.hv2-eco__ripple {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(42, 106, 220, 0.4);
  animation: hv2-ripple 5.2s cubic-bezier(0.2, 0.6, 0.3, 1) infinite;
}
.hv2-eco__ripple--2 { animation-delay: -2.6s; }

/* Nomi dei canali sotto il visual */
.hv2-eco__legend {
  max-width: 440px;
  margin: 10px auto 0;
  text-align: center;
  text-wrap: balance;
  line-height: 1.9;
  padding: 0;
  list-style: none;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: rgba(7, 16, 26, 0.58);
}
.hv2-eco__legend li { display: inline; }
.hv2-eco__legend li:not(:last-child)::after {
  content: "·";
  margin: 0 10px;
  color: rgba(7, 16, 26, 0.3);
}

/* Pulsante pausa (main.js: .hero__pause → html.motion-paused) */
.hv2-eco__pause {
  position: absolute;
  right: 2%;
  top: 2%;
  z-index: 5;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(7, 16, 26, 0.12);
  background: rgba(255, 255, 255, 0.85);
  color: var(--color-navy);
  cursor: pointer;
  opacity: 0.7;
  transition: opacity var(--dur-fast) ease, border-color var(--dur-fast) ease;
}
.hv2-eco__pause:hover,
.hv2-eco__pause:focus-visible { opacity: 1; border-color: var(--color-primary); }
.hv2-eco__pause:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; }
.hv2-eco__play-i { display: none; }
.hv2-eco__pause[aria-pressed="true"] .hv2-eco__pause-i { display: none; }
.hv2-eco__pause[aria-pressed="true"] .hv2-eco__play-i { display: block; }

html.motion-paused .hv2-eco *,
html.motion-paused .hv2-eco *::before,
html.motion-paused .hv2-eco *::after { animation-play-state: paused !important; }

@keyframes hv2-spin { to { transform: rotate(360deg); } }
@keyframes hv2-breathe {
  0%, 100% { transform: scale(0.96); opacity: 0.85; }
  50%      { transform: scale(1.04); opacity: 1; }
}
@keyframes hv2-ripple {
  0%   { transform: scale(1); opacity: 0.75; }
  100% { transform: scale(2.15); opacity: 0; }
}
@keyframes hv2-flow {
  0%   { background-position: 50% 0%; opacity: 0; }
  15%  { opacity: 1; }
  80%  { opacity: 1; }
  100% { background-position: 50% 100%; opacity: 0; }
}

@media (min-width: 768px) and (max-width: 1199px) {
  .hv2-eco__stage { --tile: 52px; }
  .hv2-eco__tile { border-radius: 16px; }
  .hv2-eco__tile img,
  .hv2-eco__generic { width: 24px; height: 24px; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .hv2-eco { width: min(100%, 500px); }
}
@media (max-width: 767px) {
  .hv2-eco { width: min(92vw, 380px); }
  .hv2-eco__stage { --tile: 42px; }
  .hv2-eco__tile { border-radius: 13px; }
  .hv2-eco__tile img,
  .hv2-eco__generic { width: 20px; height: 20px; }
  .hv2-eco__core-in::before { inset: -10px; }
  .hv2-eco__core-in { box-shadow: inset 0 0 0 1px rgba(7, 16, 26, 0.06), 0 0 0 6px rgba(255, 255, 255, 0.75), 0 0 0 7px rgba(42, 106, 220, 0.14), 0 30px 60px -26px rgba(42, 106, 220, 0.65); }
  .hv2-eco__legend { font-size: 0.75rem; }
  .hv2-eco__legend li { display: inline; }
.hv2-eco__legend li:not(:last-child)::after { margin: 0 7px; }
}
@media (prefers-reduced-motion: reduce) {
  .hv2-eco *,
  .hv2-eco *::before,
  .hv2-eco *::after { animation: none !important; }
}

/* =============================================================
   2. SOLUZIONI — sezione scura, griglia "bento"
   La sezione sale sopra la Hero con gli angoli arrotondati.
   ============================================================= */
.hv2-sol {
  position: relative;
  z-index: 4;
  isolation: isolate;
  overflow: hidden;
  margin-top: -44px;
  border-radius: 44px 44px 0 0;
  background: var(--color-navy);
  color: var(--color-off-white);
  --hv2-link: #8db0ea;
}
.hv2-sol__aura {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(48% 38% at 82% 0%, rgba(42, 106, 220, 0.38) 0%, rgba(42, 106, 220, 0) 70%),
    radial-gradient(40% 32% at 0% 62%, rgba(100, 145, 216, 0.14) 0%, rgba(100, 145, 216, 0) 70%),
    radial-gradient(36% 30% at 100% 100%, rgba(42, 106, 220, 0.16) 0%, rgba(42, 106, 220, 0) 70%);
}
.hv2-sol__aura::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(240, 245, 246, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(240, 245, 246, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(70% 50% at 50% 0%, #000 0%, transparent 85%);
  mask-image: radial-gradient(70% 50% at 50% 0%, #000 0%, transparent 85%);
}
.hv2-sol .hv2-head__sub { color: rgba(240, 245, 246, 0.74); }

.hv2-bento {
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 768px) {
  .hv2-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hv2-tile--web { grid-column: 1 / -1; }
}
@media (min-width: 1100px) {
  .hv2-bento { grid-template-columns: minmax(0, 1.22fr) minmax(0, 1fr); gap: 24px; }
  .hv2-tile--web { grid-column: 1; grid-row: 1 / span 2; }
}

.hv2-tile {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(240, 245, 246, 0.07) 0%, rgba(240, 245, 246, 0.02) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.09),
    inset 0 0 0 1px rgba(240, 245, 246, 0.09),
    0 40px 80px -50px rgba(0, 0, 0, 0.85);
  transition: transform 0.6s var(--ease-out), box-shadow 0.6s var(--ease-out);
}
/* Luce che segue il puntatore (home-v2.js imposta --mx / --my) */
.hv2-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(560px circle at var(--mx, 70%) var(--my, 0%), rgba(42, 106, 220, 0.24), rgba(42, 106, 220, 0) 45%);
  opacity: 0.55;
  transition: opacity 0.5s ease;
}
.hv2-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  padding: 1px;
  border-radius: inherit;
  background: radial-gradient(380px circle at var(--mx, 70%) var(--my, 0%), rgba(141, 176, 234, 0.85), rgba(141, 176, 234, 0) 42%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0.35;
  pointer-events: none;
  transition: opacity 0.5s ease;
}
.hv2-tile:hover { transform: translateY(-4px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), inset 0 0 0 1px rgba(240, 245, 246, 0.12), 0 50px 90px -46px rgba(0, 0, 0, 0.9); }
.hv2-tile:hover::before,
.hv2-tile:hover::after { opacity: 1; }
.hv2-tile:hover .hv2-link .arrow { transform: translateX(4px); }

.hv2-tile__visual {
  position: relative;
  height: 286px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, #000 86%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 86%, transparent 100%);
}
.hv2-tile--web .hv2-tile__visual {
  flex: 1;
  height: auto;
  min-height: 360px;
  -webkit-mask-image: none;
  mask-image: none;
  border-bottom: 1px solid rgba(240, 245, 246, 0.1);
  margin-bottom: 22px;
}

.hv2-tile__body {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 4px clamp(24px, 2.4vw, 34px) clamp(26px, 2.4vw, 34px);
}
.hv2-tile__kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--color-soft-blue);
}
.hv2-tile__kicker span {
  display: inline-grid;
  place-items: center;
  min-width: 30px;
  height: 22px;
  padding: 0 7px;
  border-radius: 999px;
  border: 1px solid rgba(100, 145, 216, 0.4);
  font-size: 0.6875rem;
  letter-spacing: 0.04em;
  color: #b9cdf0;
}
.hv2-tile__title {
  margin: 0;
  font-size: clamp(1.375rem, 1.2rem + 0.7vw, 1.75rem);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.025em;
  color: var(--color-white);
}
.hv2-tile--web .hv2-tile__title { font-size: clamp(1.5rem, 1.25rem + 1vw, 2.125rem); }
.hv2-tile__text { margin: 0; max-width: 46ch; color: rgba(240, 245, 246, 0.72); }
.hv2-tile__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 20px;
  margin-top: 8px;
}
.hv2-price {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  margin: 0;
  padding: 9px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(42, 106, 220, 0.35), rgba(42, 106, 220, 0.12));
  box-shadow: inset 0 0 0 1px rgba(141, 176, 234, 0.4);
  font-size: 0.875rem;
  color: rgba(240, 245, 246, 0.8);
}
.hv2-price strong { font-size: 1.25rem; font-weight: 600; letter-spacing: -0.02em; color: var(--color-white); }
.hv2-sol .hv2-link { color: var(--hv2-link); }
.hv2-sol .hv2-link:hover { color: var(--color-white); }

/* ---------- Mini interfacce (decorative) ---------- */

/* Marketing: ricerca che si scrive, annuncio in evidenza, post social */
.hv2-tile--mkt .hv2-tile__visual { padding: 30px 28px 0; display: flex; flex-direction: column; gap: 14px; }
.hv2-ui-search {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  background: #fff;
  color: var(--color-primary);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2), 0 20px 40px -20px rgba(0, 0, 0, 0.8);
}
.hv2-ui-search__text {
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  max-width: 0;
  padding-right: 3px;
  border-right: 2px solid var(--color-primary);
  font-size: 0.9375rem;
  color: var(--color-navy);
  animation: hv2-type 7s steps(20, end) infinite, hv2-caret 0.9s step-end infinite;
}
.hv2-ui-ads { display: grid; grid-template-columns: 1.35fr 1fr; gap: 12px; }
.hv2-ui-ad {
  position: relative;
  padding: 14px;
  border-radius: 14px;
  background: rgba(240, 245, 246, 0.08);
  box-shadow: inset 0 0 0 1px rgba(240, 245, 246, 0.12);
}
.hv2-ui-ad--top { background: rgba(42, 106, 220, 0.16); box-shadow: inset 0 0 0 1px rgba(100, 145, 216, 0.55); animation: hv2-glow 3.6s ease-in-out infinite; }
.hv2-ui-ad__tag {
  display: inline-block;
  margin-bottom: 10px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(141, 176, 234, 0.18);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #c4d6f5;
}
.hv2-ui-ad b { display: block; height: 9px; width: 82%; margin-bottom: 9px; border-radius: 3px; background: #8db0ea; }
.hv2-ui-ad s { display: block; height: 6px; margin-bottom: 6px; border-radius: 3px; background: rgba(240, 245, 246, 0.28); text-decoration: none; }
.hv2-ui-ad s.short { width: 62%; }
.hv2-ui-ad__img { height: 64px; margin-bottom: 10px; border-radius: 9px; background: linear-gradient(150deg, rgba(141, 176, 234, 0.9), rgba(42, 106, 220, 0.8)); }
.hv2-ui-ad__row { display: flex; align-items: center; gap: 8px; }
.hv2-ui-ad__row s { flex: 1; margin: 0; }
.hv2-ui-ad .heart {
  width: 14px;
  height: 13px;
  background: #ff5a7a;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 22'%3E%3Cpath d='M12 21s-9-5.6-9-12A5 5 0 0 1 12 6a5 5 0 0 1 9 3c0 6.4-9 12-9 12z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 22'%3E%3Cpath d='M12 21s-9-5.6-9-12A5 5 0 0 1 12 6a5 5 0 0 1 9 3c0 6.4-9 12-9 12z'/%3E%3C/svg%3E") center / contain no-repeat;
  animation: hv2-beat 2.4s ease-in-out infinite;
}

/* AI: chiamata in corso, conversazione, richiesta salvata */
.hv2-tile--ai .hv2-tile__visual { padding: 28px 28px 0; display: flex; flex-direction: column; gap: 12px; }
.hv2-ui-call {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(240, 245, 246, 0.08);
  box-shadow: inset 0 0 0 1px rgba(240, 245, 246, 0.12);
}
.hv2-ui-call__avatar {
  position: relative;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-soft-blue));
  color: #fff;
  font-weight: 600;
}
.hv2-ui-call__avatar i {
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1.5px solid rgba(100, 145, 216, 0.7);
  animation: hv2-ripple 2.4s ease-out infinite;
}
.hv2-ui-call__who strong { display: block; font-size: 0.875rem; font-weight: 600; color: #fff; }
.hv2-ui-call__who small { display: block; font-size: 0.75rem; color: rgba(240, 245, 246, 0.6); }
.hv2-ui-call__wave { display: flex; align-items: center; gap: 3px; height: 26px; margin-left: auto; }
.hv2-ui-call__wave i {
  width: 3px;
  height: 100%;
  border-radius: 3px;
  background: #8db0ea;
  transform: scaleY(0.35);
  animation: hv2-bars 1.3s ease-in-out infinite;
}
.hv2-ui-call__wave i:nth-child(2n) { animation-delay: -0.35s; }
.hv2-ui-call__wave i:nth-child(3n) { animation-delay: -0.75s; }
.hv2-ui-call__wave i:nth-child(4n) { animation-delay: -1s; }
.hv2-ui-chat { display: flex; flex-direction: column; gap: 8px; }
.hv2-ui-chat p { max-width: 82%; margin: 0; padding: 9px 13px; border-radius: 14px; font-size: 0.8125rem; line-height: 1.4; }
.hv2-ui-chat .in { align-self: flex-start; background: rgba(240, 245, 246, 0.1); color: var(--color-off-white); border-bottom-left-radius: 5px; }
.hv2-ui-chat .out { align-self: flex-end; background: var(--color-primary); color: #fff; border-bottom-right-radius: 5px; }
.hv2-ui-slot {
  display: flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  padding: 9px 12px;
  border-radius: 12px;
  background: #fff;
  color: var(--color-navy);
  font-size: 0.8125rem;
  font-weight: 500;
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.8);
}
.hv2-ui-slot svg { color: var(--color-primary); }
.hv2-ui-slot em {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
}

@keyframes hv2-scroll { 0%, 12% { transform: translateY(0); } 88%, 100% { transform: translateY(var(--scroll-end, 0px)); } }
@keyframes hv2-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes hv2-type {
  0%, 6%    { max-width: 0; }
  46%, 86%  { max-width: 11.5em; }
  100%      { max-width: 0; }
}
@keyframes hv2-caret { 50% { border-right-color: transparent; } }
@keyframes hv2-glow {
  0%, 100% { box-shadow: inset 0 0 0 1px rgba(100, 145, 216, 0.55), 0 0 0 0 rgba(42, 106, 220, 0); }
  50%      { box-shadow: inset 0 0 0 1px rgba(141, 176, 234, 0.85), 0 0 34px -4px rgba(42, 106, 220, 0.55); }
}
@keyframes hv2-beat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.25); } 30% { transform: scale(1); } }

html.motion-paused .hv2-sol *,
html.motion-paused .hv2-sol *::before,
html.motion-paused .hv2-sol *::after { animation-play-state: paused !important; }

@media (max-width: 767px) {
  .hv2-sol { margin-top: -32px; border-radius: 32px 32px 0 0; }
  .hv2-tile__visual { height: 292px; }
  .hv2-tile--mkt .hv2-tile__visual,
  .hv2-tile--ai .hv2-tile__visual { padding: 22px 20px 0; }
}

/* ---------- Marketing: Google, Meta e canali ---------- */
.hv2-tile--mkt .hv2-tile__visual { height: 312px; padding-top: 26px; gap: 12px; }
.hv2-ui-search__g { width: 18px; height: 18px; flex: none; }
.hv2-ui-search__icon { margin-left: auto; flex: none; color: rgba(7, 16, 26, 0.45); }
.hv2-ui-ad__head {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 9px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
}
.hv2-ui-ad__head img {
  width: 20px;
  height: 20px;
  padding: 3px;
  border-radius: 6px;
  background: #fff;
}
.hv2-ui-ad__tag { margin-bottom: 9px; }
.hv2-ui-ad--social .hv2-ui-ad__img { height: 52px; }
.hv2-ui-channels {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.hv2-ui-channels li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px 4px 4px;
  border-radius: 999px;
  background: rgba(240, 245, 246, 0.07);
  box-shadow: inset 0 0 0 1px rgba(240, 245, 246, 0.12);
  font-size: 0.6875rem;
  font-weight: 500;
  color: rgba(240, 245, 246, 0.85);
  animation: hv2-chip 10s ease-in-out infinite;
}
.hv2-ui-channels li:nth-child(2) { animation-delay: 2s; }
.hv2-ui-channels li:nth-child(3) { animation-delay: 4s; }
.hv2-ui-channels li:nth-child(4) { animation-delay: 6s; }
.hv2-ui-channels li:nth-child(5) { animation-delay: 8s; }
.hv2-ui-channels img {
  width: 20px;
  height: 20px;
  padding: 3px;
  border-radius: 50%;
  background: #fff;
}
@keyframes hv2-chip {
  0%, 22%, 100% { background: rgba(240, 245, 246, 0.07); box-shadow: inset 0 0 0 1px rgba(240, 245, 246, 0.12); }
  6%, 16%       { background: rgba(42, 106, 220, 0.3); box-shadow: inset 0 0 0 1px rgba(141, 176, 234, 0.7), 0 0 18px -4px rgba(42, 106, 220, 0.7); }
}
@media (max-width: 767px) {
  .hv2-tile--mkt .hv2-tile__visual { height: 318px; }
}

/* ---------- Siti web: composizione premium (browser 3D, telefono, cursore) ----------
   Un solo ciclo di 8s tiene sincronizzati cursore, tocco sul pulsante del
   telefono e notifica. Il mini-sito scorre da solo (corsa calcolata in
   home-v2.js) e scala con la larghezza del browser (container query). */
.hv2-web { --loop: 8s; }
.hv2-tile--web .hv2-web { min-height: 380px; }
.hv2-web__glow {
  position: absolute;
  left: 8%;
  top: 6%;
  width: 80%;
  height: 80%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(42, 106, 220, 0.45), rgba(42, 106, 220, 0));
  filter: blur(10px);
}

.hv2-web__browser {
  position: absolute;
  left: 30px;
  right: 64px;
  top: 52px;
  bottom: -12px;
  border-radius: 14px 14px 0 0;
  overflow: hidden;
  background: #ffffff;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.16),
    0 2px 0 rgba(255, 255, 255, 0.08) inset,
    0 50px 90px -30px rgba(0, 0, 0, 0.9),
    0 0 80px -20px rgba(42, 106, 220, 0.5);
  transform: perspective(1800px) rotateY(-9deg) rotateX(3deg);
  transform-origin: 0% 50%;
  transition: transform 1s var(--ease-out);
}
.hv2-tile--web:hover .hv2-web__browser { transform: perspective(1800px) rotateY(-3deg) rotateX(1deg); }

.hv2-web__bar {
  position: relative;
  display: flex;
  align-items: center;
  height: 34px;
  padding: 0 14px;
  background: linear-gradient(180deg, #1c2330, #141a24);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.hv2-web__dots { display: flex; gap: 7px; }
.hv2-web__dots i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.hv2-web__dots i:nth-child(2) { background: #febc2e; }
.hv2-web__dots i:nth-child(3) { background: #28c840; }
.hv2-web__url {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 16px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07);
  font-size: 0.6875rem;
  color: rgba(255, 255, 255, 0.7);
  white-space: nowrap;
}
.hv2-web__url svg { color: #28c840; }
.hv2-web__view {
  position: absolute;
  inset: 34px 0 0;
  overflow: hidden;
  container-type: inline-size;
}
.hv2-web__sheen {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(105deg, rgba(255, 255, 255, 0) 38%, rgba(255, 255, 255, 0.22) 48%, rgba(255, 255, 255, 0) 58%);
  background-size: 260% 100%;
  background-repeat: no-repeat;
  animation: hv2w-sheen 9s ease-in-out infinite;
}

/* Mini-sito: tutte le misure in em, la base scala col browser */
.hv2-web__site {
  font-size: clamp(5px, 1.55cqw, 10.5px);
  padding: 1.6em 2.4em 0;
  color: var(--color-navy);
  animation: hv2-scroll 18s cubic-bezier(0.65, 0, 0.35, 1) infinite alternate;
}
.hv2-ws-nav { display: flex; align-items: center; gap: 2em; margin-bottom: 3em; }
.hv2-ws-logo { display: inline-flex; align-items: center; gap: 0.6em; font-size: 1.1em; font-weight: 600; letter-spacing: -0.02em; margin-right: auto; white-space: nowrap; }
.hv2-ws-logo i { display: grid; place-items: center; width: 2.1em; height: 2.1em; border-radius: 0.6em; background: linear-gradient(135deg, var(--color-primary), var(--color-soft-blue)); color: #fff; }
.hv2-ws-logo svg { width: 60%; height: 60%; }
.hv2-ws-links { display: flex; gap: 1.8em; font-size: 0.95em; color: rgba(7, 16, 26, 0.6); white-space: nowrap; }
.hv2-ws-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85em 1.4em;
  border-radius: 0.7em;
  background: var(--color-primary);
  color: #fff;
  font-size: 0.95em;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 0.6em 1.4em -0.6em rgba(42, 106, 220, 0.8);
}
.hv2-ws-btn--sm { padding: 0.6em 1.1em; }
.hv2-ws-btn--ghost { background: transparent; color: var(--color-navy); box-shadow: inset 0 0 0 1px rgba(7, 16, 26, 0.18); }
.hv2-ws-btn--light { background: #fff; color: var(--color-navy); box-shadow: none; }

.hv2-ws-hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 2.4em; align-items: center; margin-bottom: 4em; }
.hv2-ws-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 1.1em; }
.hv2-ws-eyebrow { font-size: 0.78em; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-primary); }
.hv2-ws-title { font-size: 3em; font-weight: 600; line-height: 1.04; letter-spacing: -0.035em; color: var(--color-navy); }
.hv2-ws-text { font-size: 1em; line-height: 1.55; color: rgba(7, 16, 26, 0.62); max-width: 30em; }
.hv2-ws-ctas { display: flex; gap: 0.8em; margin-top: 0.4em; }

.hv2-ws-media {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 0.92;
  border-radius: 1.6em;
  overflow: hidden;
  background:
    radial-gradient(60% 60% at 30% 25%, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0) 70%),
    linear-gradient(150deg, #8db0ea 0%, var(--color-primary) 60%, #1f4fae 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}
.hv2-ws-orb {
  position: absolute;
  width: 70%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.08) 60%, rgba(255, 255, 255, 0) 72%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3);
}
.hv2-ws-tooth { position: relative; width: 46%; height: auto; filter: drop-shadow(0 1.4em 1.6em rgba(7, 16, 26, 0.35)); animation: hv2-float 6s ease-in-out infinite; }
.hv2-ws-badge {
  position: absolute;
  left: 1.2em;
  bottom: 1.2em;
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.6em 1em;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  font-size: 0.85em;
  font-weight: 600;
  color: var(--color-navy);
  box-shadow: 0 0.8em 1.6em -0.8em rgba(7, 16, 26, 0.5);
}
.hv2-ws-badge i { width: 0.7em; height: 0.7em; border-radius: 50%; background: #28c840; box-shadow: 0 0 0 0.3em rgba(40, 200, 64, 0.2); }

.hv2-ws-h2 { display: block; margin-bottom: 1.6em; text-align: center; font-size: 1.7em; font-weight: 600; letter-spacing: -0.03em; }
.hv2-ws-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2em; margin-bottom: 3.6em; }
.hv2-ws-cards > span {
  display: flex;
  flex-direction: column;
  gap: 0.7em;
  padding: 1.4em;
  border-radius: 1.2em;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(7, 16, 26, 0.07), 0 1.2em 2.4em -1.6em rgba(7, 16, 26, 0.35);
}
.hv2-ws-cards i { display: grid; place-items: center; width: 2.8em; height: 2.8em; border-radius: 0.8em; background: rgba(42, 106, 220, 0.1); color: var(--color-primary); }
.hv2-ws-cards i svg { width: 55%; height: 55%; }
.hv2-ws-cards b { font-size: 1.05em; font-weight: 600; letter-spacing: -0.01em; }
.hv2-ws-cards em,
.hv2-ws-contact em,
.hv2-ws-band em,
.hv2-ws-foot em { display: block; height: 0.55em; border-radius: 0.3em; background: rgba(7, 16, 26, 0.13); }
.hv2-ws-cards em.short,
.hv2-ws-contact em.short { width: 62%; }

.hv2-ws-band {
  display: flex;
  align-items: center;
  gap: 1.6em;
  margin-bottom: 3.6em;
  padding: 1.8em 2em;
  border-radius: 1.4em;
  color: #fff;
  background:
    radial-gradient(60% 120% at 100% 0%, rgba(42, 106, 220, 0.55), rgba(42, 106, 220, 0) 70%),
    var(--color-deep-navy);
}
.hv2-ws-team { display: flex; }
.hv2-ws-team i { width: 3.2em; height: 3.2em; margin-right: -0.8em; border-radius: 50%; border: 0.2em solid var(--color-deep-navy); background: linear-gradient(135deg, #e3ecfb, #8db0ea); }
.hv2-ws-team i:nth-child(2) { background: linear-gradient(135deg, #8db0ea, var(--color-primary)); }
.hv2-ws-team i:nth-child(3) { background: linear-gradient(135deg, #c9d8f3, #6491d8); }
.hv2-ws-band-copy { display: flex; flex-direction: column; gap: 0.6em; flex: 1; margin-left: 0.8em; }
.hv2-ws-band-copy b { font-size: 1.25em; font-weight: 600; letter-spacing: -0.02em; }
.hv2-ws-band em { width: 70%; background: rgba(240, 245, 246, 0.35); }

.hv2-ws-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 2em; align-items: center; margin-bottom: 3.6em; }
.hv2-ws-map {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 1.4em;
  background:
    linear-gradient(90deg, rgba(42, 106, 220, 0.1) 1px, transparent 1px) 0 0 / 2.2em 2.2em,
    linear-gradient(rgba(42, 106, 220, 0.1) 1px, transparent 1px) 0 0 / 2.2em 2.2em,
    linear-gradient(160deg, #f2f6fc, #e4ecf9);
  box-shadow: inset 0 0 0 1px rgba(7, 16, 26, 0.06);
}
.hv2-ws-map i {
  position: absolute;
  left: 50%;
  top: 46%;
  width: 1.8em;
  height: 1.8em;
  border-radius: 50% 50% 50% 0;
  background: var(--color-primary);
  transform: translate(-50%, -50%) rotate(-45deg);
  box-shadow: 0 0 0 0.6em rgba(42, 106, 220, 0.18), 0 0.8em 1.4em rgba(42, 106, 220, 0.4);
}
.hv2-ws-contact-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 0.8em; }
.hv2-ws-contact-copy b { font-size: 1.5em; font-weight: 600; letter-spacing: -0.03em; }
.hv2-ws-contact-copy em { width: 100%; }
.hv2-ws-contact-copy .hv2-ws-btn { margin-top: 0.6em; }

.hv2-ws-foot { display: flex; align-items: center; gap: 1.6em; margin: 0 -2.4em; padding: 2em 2.4em 4em; background: var(--color-deep-navy); color: #fff; }
.hv2-ws-foot em { width: 4em; background: rgba(240, 245, 246, 0.35); }

/* Telefono */
.hv2-web__phone {
  position: absolute;
  right: 26px;
  bottom: 22px;
  z-index: 2;
  width: clamp(112px, 27%, 168px);
  aspect-ratio: 9 / 19.2;
  padding: 6px;
  border-radius: 28px;
  background: linear-gradient(145deg, #3a4352 0%, #0d121a 38%, #222a36 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.22),
    inset 0 0 0 3px rgba(0, 0, 0, 0.5),
    0 50px 80px -26px rgba(0, 0, 0, 0.95),
    0 0 60px -20px rgba(42, 106, 220, 0.6);
  animation: hv2-float 7s ease-in-out infinite;
}
.hv2-web__island {
  position: absolute;
  left: 50%;
  top: 13px;
  z-index: 2;
  width: 30%;
  height: 7px;
  border-radius: 999px;
  background: #05080c;
  transform: translateX(-50%);
}
.hv2-web__screen {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.7em;
  padding: 1.1em 0.9em 1.1em;
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
  container-type: inline-size;
  font-size: clamp(5px, 6.4cqw, 9px);
  color: var(--color-navy);
}
.hv2-wp-status { display: flex; justify-content: space-between; align-items: center; font-size: 0.8em; padding: 0 0.4em; }
.hv2-wp-status b { font-weight: 600; }
.hv2-wp-status i { width: 1.8em; height: 0.8em; border-radius: 0.25em; box-shadow: inset 0 0 0 1px rgba(7, 16, 26, 0.5); background: linear-gradient(90deg, var(--color-navy) 70%, transparent 70%); }
.hv2-wp-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 0.4em; }
.hv2-wp-nav .hv2-ws-logo { font-size: 1em; }
.hv2-wp-nav em { width: 1.6em; height: 0.9em; border-block: 0.18em solid var(--color-navy); }
.hv2-wp-media {
  position: relative;
  display: grid;
  place-items: center;
  flex: 1;
  min-height: 0;
  border-radius: 1.2em;
  overflow: hidden;
  background:
    radial-gradient(60% 60% at 30% 25%, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0) 70%),
    linear-gradient(150deg, #8db0ea 0%, var(--color-primary) 65%, #1f4fae 100%);
}
.hv2-wp-media .hv2-ws-orb { width: 74%; }
.hv2-wp-media .hv2-ws-tooth { width: 40%; }
.hv2-wp-title { font-size: 1.35em; font-weight: 600; line-height: 1.12; letter-spacing: -0.03em; }
.hv2-wp-text { display: block; height: 0.55em; width: 80%; border-radius: 0.3em; background: rgba(7, 16, 26, 0.13); }
.hv2-wp-cta {
  position: relative;
  width: 100%;
  padding: 1em;
  border-radius: 0.9em;
  font-size: 0.95em;
  animation: hv2w-press var(--loop) ease-in-out infinite;
}

/* Cursore che tocca "Prenota una visita" */
.hv2-web__cursor {
  position: absolute;
  left: 56%;
  bottom: 7%;
  z-index: 3;
  width: 22px;
  height: 22px;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.45));
  animation: hv2w-cursor var(--loop) cubic-bezier(0.55, 0, 0.25, 1) infinite;
}
.hv2-web__cursor svg { display: block; }

/* Etichette in vetro */
.hv2-web__chip {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(13, 20, 32, 0.72);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14), 0 16px 30px -14px rgba(0, 0, 0, 0.8);
  font-size: 0.75rem;
  font-weight: 500;
  color: #fff;
  white-space: nowrap;
  animation: hv2-float 6.5s ease-in-out infinite;
}
.hv2-web__chip svg { color: #8db0ea; }
.hv2-web__chip--a { left: 30px; top: 12px; animation-delay: -1.5s; }
.hv2-web__chip--b { right: 18px; top: 18px; animation-delay: -3.5s; }

/* Notifica dopo il tocco */
.hv2-web__toast {
  position: absolute;
  left: 22px;
  bottom: 30px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 16px 11px 11px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 0 0 1px rgba(7, 16, 26, 0.06), 0 30px 50px -18px rgba(0, 0, 0, 0.75);
  color: var(--color-navy);
  animation: hv2w-toast var(--loop) var(--ease-out) infinite;
}
.hv2-ui-toast__dot {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: var(--color-primary);
  color: #fff;
}
.hv2-web__toast strong { display: block; font-size: 0.8125rem; font-weight: 600; line-height: 1.3; }
.hv2-web__toast small { display: block; font-size: 0.75rem; color: rgba(7, 16, 26, 0.55); }

@keyframes hv2w-sheen {
  0%, 55%  { background-position: 130% 0; }
  85%, 100% { background-position: -30% 0; }
}
@keyframes hv2w-cursor {
  0%        { transform: translate(-230px, -150px); opacity: 0; }
  10%       { opacity: 1; }
  40%       { transform: translate(0, 0) scale(1); }
  44%       { transform: translate(0, 0) scale(0.82); }
  48%       { transform: translate(0, 0) scale(1); }
  76%       { transform: translate(0, 0); opacity: 1; }
  86%, 100% { transform: translate(18px, 14px); opacity: 0; }
}
@keyframes hv2w-press {
  0%, 42%, 52%, 100% { transform: none; box-shadow: 0 0.6em 1.4em -0.6em rgba(42, 106, 220, 0.8), 0 0 0 0 rgba(42, 106, 220, 0.5); }
  45%                { transform: scale(0.95); background: #2259c4; box-shadow: 0 0 0 0 rgba(42, 106, 220, 0.6); }
  50%                { box-shadow: 0 0 0 0.9em rgba(42, 106, 220, 0); }
}
@keyframes hv2w-toast {
  0%, 47%   { opacity: 0; transform: translateY(14px) scale(0.96); }
  53%, 82%  { opacity: 1; transform: none; }
  90%, 100% { opacity: 0; transform: translateY(-6px) scale(0.98); }
}

@media (max-width: 767px) {
  .hv2-tile--web .hv2-web { min-height: 340px; margin-bottom: 18px; }
  .hv2-web__browser { left: 16px; right: 40px; top: 50px; transform: perspective(1200px) rotateY(-6deg) rotateX(2deg); }
  .hv2-web__phone { right: 14px; bottom: 16px; width: 30%; border-radius: 22px; padding: 5px; }
  .hv2-web__screen { border-radius: 17px; }
  .hv2-web__island { top: 10px; height: 5px; }
  .hv2-web__chip--a { left: 18px; top: 12px; }
  .hv2-web__chip--b { display: none; }
  .hv2-web__toast { left: 12px; bottom: 20px; padding: 9px 12px 9px 9px; }
  .hv2-web__cursor { width: 18px; height: 18px; }
  .hv2-web__cursor svg { width: 18px; height: 18px; }
}
/* =============================================================
   3. PERCHÉ DENTAL GO
   ============================================================= */
.hv2-why__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 900px) {
  .hv2-why__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
}
.hv2-why__item {
  padding: clamp(26px, 2.4vw, 36px);
  border-radius: var(--hv2-radius);
  background: var(--color-off-white);
  border: 1px solid rgba(7, 16, 26, 0.05);
  transition: background-color var(--dur-med) ease, border-color var(--dur-med) ease, box-shadow var(--dur-med) var(--ease-out);
}
.hv2-why__item:hover {
  background: var(--color-white);
  border-color: rgba(42, 106, 220, 0.25);
  box-shadow: var(--hv2-shadow);
}
.hv2-why__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: clamp(24px, 3vw, 36px);
}
.hv2-why__icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: var(--color-primary);
  background: var(--color-white);
  border: 1px solid rgba(42, 106, 220, 0.18);
  box-shadow: 0 10px 22px -14px rgba(42, 106, 220, 0.55);
  transition: background-color var(--dur-med) ease, color var(--dur-med) ease, transform var(--dur-med) var(--ease-out);
}
.hv2-why__item:hover .hv2-why__icon {
  background: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-3px) rotate(-4deg);
}
.hv2-draw > * { stroke-dasharray: 1; stroke-dashoffset: 0; }
.js .hv2-why__item[data-reveal] .hv2-draw > * {
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.4s var(--ease-out);
  transition-delay: calc(var(--reveal-delay, 0ms) + 300ms);
}
.js .hv2-why__item.is-in .hv2-draw > * { stroke-dashoffset: 0; }

.hv2-why__num {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(7, 16, 26, 0.38);
}
.hv2-why__title {
  margin: 0 0 10px;
  font-size: clamp(1.2rem, 1.1rem + 0.4vw, 1.4rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--hv2-ink);
}
.hv2-why__item p { margin: 0; color: var(--hv2-ink-2); }

/* =============================================================
   4. PORTFOLIO
   ============================================================= */
.hv2-work__grid { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 960px) {
  .hv2-work__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
}
.hv2-work__card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  border: 1px solid var(--hv2-line);
  border-radius: 24px;
  box-shadow: var(--hv2-shadow);
  overflow: hidden;
  transition: box-shadow var(--dur-med) var(--ease-out), border-color var(--dur-med) ease;
}
.hv2-work__card:hover { box-shadow: var(--hv2-shadow-hover); border-color: rgba(42, 106, 220, 0.28); }
.hv2-work__card:hover .hv2-link .arrow { transform: translateX(4px); }

.hv2-work__media {
  position: relative;
  aspect-ratio: 16 / 10;
  padding: clamp(18px, 3.2vw, 40px) clamp(18px, 3.2vw, 40px) 0;
  overflow: hidden;
  background:
    radial-gradient(70% 70% at 85% 0%, rgba(42, 106, 220, 0.16), rgba(42, 106, 220, 0) 70%),
    linear-gradient(160deg, #e7effc 0%, #f5f8fa 100%);
}
.hv2-browser {
  position: relative;
  overflow: hidden;
  border-radius: 12px 12px 0 0;
  background: var(--color-white);
  box-shadow: 0 0 0 1px rgba(7, 16, 26, 0.08), 0 30px 60px -30px rgba(7, 16, 26, 0.4);
  transition: transform var(--dur-slow) var(--ease-out);
}
.hv2-browser__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 24px;
  padding: 0 12px;
  background: #f3f6f8;
  border-bottom: 1px solid rgba(7, 16, 26, 0.06);
}
.hv2-browser__bar i { width: 8px; height: 8px; border-radius: 50%; background: rgba(7, 16, 26, 0.16); }
.hv2-browser img { display: block; width: 100%; height: auto; }

.hv2-phone {
  position: absolute;
  right: clamp(14px, 3vw, 36px);
  bottom: -14%;
  width: 23%;
  padding: 4px;
  border-radius: 20px;
  background: var(--color-navy);
  box-shadow: 0 24px 48px -18px rgba(7, 16, 26, 0.6);
  transition: transform var(--dur-slow) var(--ease-out);
}
.hv2-phone img { display: block; width: 100%; height: auto; border-radius: 16px; }
.hv2-work__card:hover .hv2-browser { transform: translateY(-6px); }
.hv2-work__card:hover .hv2-phone { transform: translateY(-12px); }

.hv2-work__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: clamp(22px, 2.2vw, 32px);
}
.hv2-work__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 0.875rem;
  color: rgba(7, 16, 26, 0.62);
}
.hv2-tag {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 11px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: rgba(42, 106, 220, 0.1);
  color: var(--hv2-link);
}
.hv2-tag--demo { background: rgba(7, 16, 26, 0.07); color: var(--hv2-ink); }
.hv2-work__title {
  margin: 0;
  font-size: clamp(1.35rem, 1.15rem + 0.7vw, 1.75rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--hv2-ink);
}
.hv2-work__text { margin: 0; color: var(--hv2-ink-2); }
.hv2-work__body .hv2-link { margin-top: auto; padding-top: 8px; }

/* =============================================================
   5. GIULIA — PACCHETTI E PREZZI
   ============================================================= */
.hv2-giulia__intro p { margin: 0 0 var(--space-3); }
.hv2-giulia__claim { margin-top: var(--space-5) !important; color: var(--hv2-ink) !important; font-size: var(--fs-body-lg); }
.hv2-giulia__claim strong { font-weight: 600; }

.hv2-giulia__choose {
  margin: 0 0 clamp(28px, 3.5vw, 44px);
  text-align: center;
  font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.625rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--hv2-ink);
}

.hv2-plans {
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
}
@media (min-width: 960px) {
  .hv2-plans { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
}

.hv2-plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(26px, 2.4vw, 34px);
  border-radius: 22px;
  background: var(--color-white);
  border: 1px solid rgba(7, 16, 26, 0.1);
  box-shadow: var(--hv2-shadow);
}
.hv2-plan--featured {
  border: 2px solid var(--color-primary);
  background: linear-gradient(180deg, rgba(42, 106, 220, 0.06) 0%, rgba(255, 255, 255, 1) 42%);
  box-shadow: 0 1px 2px rgba(7, 16, 26, 0.04), 0 30px 64px -30px rgba(42, 106, 220, 0.55);
}
.hv2-plan__badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.hv2-plan__name {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--hv2-ink);
}
.hv2-plan__tagline { margin: 6px 0 0; color: var(--hv2-ink-2); min-height: 3.2em; }

.hv2-plan__price {
  margin: 22px 0 0;
  padding: 18px 0;
  border-block: 1px solid rgba(7, 16, 26, 0.08);
}
.hv2-plan__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  color: var(--hv2-ink-2);
}
.hv2-plan__row + .hv2-plan__row { margin-top: 8px; }
.hv2-plan__label { font-size: 0.875rem; }
.hv2-plan__amount {
  font-size: clamp(2rem, 1.7rem + 1vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--hv2-ink);
}
.hv2-plan__per { font-size: 1rem; font-weight: 500; letter-spacing: 0; color: var(--hv2-ink-2); margin-left: 2px; }
.hv2-plan__setup { font-size: 1.0625rem; font-weight: 600; color: var(--hv2-ink); }

.hv2-plan__features {
  list-style: none;
  margin: 22px 0 28px;
  padding: 0;
  display: grid;
  gap: 11px;
}
.hv2-plan__features li {
  position: relative;
  padding-left: 30px;
  line-height: 1.45;
  color: var(--hv2-ink);
}
.hv2-plan__features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(42, 106, 220, 0.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.2l2.6 2.6L14 7.4' fill='none' stroke='%232A6ADC' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px 20px no-repeat;
}
.hv2-plan__cta { margin-top: auto; width: 100%; }

.hv2-promo {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 6px 18px;
  align-items: center;
  margin-top: clamp(28px, 3.5vw, 44px);
  padding: 22px clamp(20px, 3vw, 32px);
  border-radius: 18px;
  background: var(--color-off-white);
  border: 1px dashed rgba(42, 106, 220, 0.4);
}
.hv2-promo__icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--color-primary);
  color: var(--color-white);
}
.hv2-promo__text p { margin: 0; color: var(--hv2-ink-2); }
.hv2-promo__text .hv2-promo__title { font-size: 1.125rem; font-weight: 600; color: var(--hv2-ink); margin-bottom: 2px; }
.hv2-promo__note { grid-column: 1 / -1; margin: 6px 0 0; font-size: 0.8125rem; color: rgba(7, 16, 26, 0.6); }
@media (min-width: 900px) {
  .hv2-promo { grid-template-columns: auto minmax(0, 1fr) auto; }
  .hv2-promo__note { grid-column: auto; margin: 0; }
}

/* =============================================================
   6. DEMO / PROVA GIULIA (sezione navy)
   ============================================================= */
.hv2-demo {
  overflow: hidden;
  background:
    radial-gradient(55% 70% at 88% 18%, rgba(42, 106, 220, 0.28) 0%, rgba(42, 106, 220, 0) 62%),
    radial-gradient(40% 50% at 0% 100%, rgba(100, 145, 216, 0.14) 0%, rgba(100, 145, 216, 0) 70%),
    var(--color-navy);
}
.hv2-demo__grid {
  display: grid;
  gap: clamp(44px, 6vw, 80px);
  align-items: center;
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 1024px) {
  .hv2-demo__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); }
}
.hv2-demo .h2 { margin: 0; }
.hv2-demo__sub { max-width: 560px; margin: var(--space-5) 0 var(--space-6); color: rgba(240, 245, 246, 0.82); }
.hv2-demo__ctas .btn svg { flex: none; }
.hv2-demo__note { margin: var(--space-5) 0 0; font-size: 0.9375rem; color: var(--text-muted); max-width: 46ch; }

.hv2-chat {
  max-width: 440px;
  margin-inline: auto;
  padding: 22px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(240, 245, 246, 0.08), rgba(240, 245, 246, 0.03));
  border: 1px solid rgba(240, 245, 246, 0.12);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.7);
}
.hv2-chat__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(240, 245, 246, 0.1);
}
.hv2-chat__avatar {
  width: 40px;
  height: 40px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-soft-blue));
  color: var(--color-white);
  font-weight: 600;
}
.hv2-chat__who strong { display: block; color: var(--color-white); font-size: 0.9375rem; font-weight: 600; }
.hv2-chat__who span { display: block; font-size: 0.8125rem; color: var(--text-muted); }
.hv2-chat__label {
  margin-left: auto;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(100, 145, 216, 0.45);
  color: var(--color-soft-blue);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hv2-chat__msgs { display: flex; flex-direction: column; gap: 10px; }
.hv2-msg {
  max-width: 84%;
  margin: 0;
  padding: 11px 15px;
  border-radius: 16px;
  font-size: 0.9375rem;
  line-height: 1.45;
}
.hv2-msg--in { align-self: flex-start; background: rgba(240, 245, 246, 0.1); color: var(--color-off-white); border-bottom-left-radius: 6px; }
.hv2-msg--out { align-self: flex-end; background: var(--color-primary); color: var(--color-white); border-bottom-right-radius: 6px; }
.js .hv2-chat[data-reveal] .hv2-msg {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.js .hv2-chat.is-in .hv2-msg { opacity: 1; transform: none; }
.js .hv2-chat.is-in .hv2-msg:nth-child(1) { transition-delay: 0.5s; }
.js .hv2-chat.is-in .hv2-msg:nth-child(2) { transition-delay: 1.1s; }
.js .hv2-chat.is-in .hv2-msg:nth-child(3) { transition-delay: 1.7s; }
.js .hv2-chat.is-in .hv2-msg:nth-child(4) { transition-delay: 2.3s; }

.hv2-chat__voice {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(240, 245, 246, 0.1);
}
.hv2-chat__mic {
  width: 34px;
  height: 34px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(42, 106, 220, 0.25);
  color: var(--color-soft-blue);
}
.hv2-chat__bars { display: flex; align-items: center; gap: 4px; height: 24px; }
.hv2-chat__bars i {
  width: 3px;
  height: 100%;
  border-radius: 3px;
  background: var(--color-soft-blue);
  transform: scaleY(0.4);
  animation: hv2-bars 1.4s ease-in-out infinite;
}
.hv2-chat__bars i:nth-child(3n)   { animation-delay: -0.3s; }
.hv2-chat__bars i:nth-child(3n+1) { animation-delay: -0.7s; }
.hv2-chat__bars i:nth-child(4n)   { animation-delay: -1.1s; }
@keyframes hv2-bars { 0%, 100% { transform: scaleY(0.3); } 50% { transform: scaleY(1); } }
html.motion-paused .hv2-chat__bars i { animation-play-state: paused; }
.hv2-chat__time { margin-left: auto; font-size: 0.8125rem; color: var(--text-muted); }
/* =============================================================
   7. CTA FINALE CON MODULO (prima della fascia animata esistente)
   Il modulo è il componente unico del sito (ofy_form_render): qui
   solo l'impaginazione. La card ha .bg-white, quindi input, consensi
   e conferma usano già gli stili chiari di main.css.
   ============================================================= */
.hv2-final { padding-block: clamp(64px, 8vw, 120px); }
.hv2-final__panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px);
  padding: clamp(28px, 5vw, 72px);
  border-radius: 32px;
  color: var(--color-white);
  background: linear-gradient(140deg, #2a6adc 0%, #2259c4 46%, #173f93 100%);
  box-shadow: 0 50px 100px -50px rgba(42, 106, 220, 0.85);
}
@media (min-width: 1024px) {
  .hv2-final__panel { grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); align-items: start; }
  .hv2-final__copy { position: sticky; top: 150px; }
}
.hv2-final__glow {
  position: absolute;
  z-index: -1;
  top: -35%;
  left: -15%;
  width: 70%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0));
  pointer-events: none;
}
.hv2-final__panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1.3px);
  background-size: 24px 24px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%);
  mask-image: linear-gradient(180deg, #000, transparent 70%);
  pointer-events: none;
}

.hv2-final__copy .eyebrow { color: rgba(255, 255, 255, 0.82); }
#main .hv2-final__copy h2.h-display {
  margin: 0;
  max-width: 15ch;
  background: none;
  -webkit-text-fill-color: var(--color-white);
  color: var(--color-white);
  filter: none;
}
.hv2-final__sub { max-width: 520px; margin: var(--space-5) 0 0; color: rgba(255, 255, 255, 0.92); }

.hv2-final__points {
  display: grid;
  gap: 12px;
  margin: var(--space-6) 0 0;
  padding: 0;
  list-style: none;
}
.hv2-final__points li {
  position: relative;
  padding-left: 32px;
  color: var(--color-white);
  font-weight: 500;
}
.hv2-final__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M6.5 11.2l2.9 2.9 6.1-6.1' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 22px 22px no-repeat;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3);
}

.hv2-final__alt {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin: var(--space-7) 0 0;
  padding-top: var(--space-5);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9375rem;
}
.hv2-final__alt a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3);
  color: var(--color-white);
  font-weight: 600;
  text-decoration: none;
  transition: background-color var(--dur-fast) ease;
}
.hv2-final__alt a:hover { background: rgba(255, 255, 255, 0.24); }
.hv2-final__alt a:focus-visible { outline: 2px solid var(--color-white); outline-offset: 3px; }

/* Card del modulo */
.hv2-final__card {
  position: relative;
  padding: clamp(22px, 3vw, 40px);
  border-radius: 24px;
  box-shadow: 0 40px 80px -40px rgba(7, 16, 26, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.4);
}
.hv2-final__card-title {
  margin: 0 0 var(--space-5);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--color-navy);
}
.hv2-final__card .form { gap: 18px; }
.hv2-final__card .form__label { color: rgba(7, 16, 26, 0.7); }
.hv2-final__card .form__input { min-height: 50px; background-color: #f7f9fb; border-color: rgba(7, 16, 26, 0.14); }
.hv2-final__card .form__input:focus { background-color: #fff; border-color: var(--color-primary); }
.hv2-final__card .form__submit { align-self: stretch; width: 100%; min-width: 0; min-height: 54px; }
.hv2-final__card .form__hint { font-size: 0.75rem; line-height: 1.5; color: rgba(7, 16, 26, 0.55); }
#main .hv2-final__card h2.h-display { font-size: var(--fs-h3); }
.hv2-final__card .form__success { padding: 0; border: 0; box-shadow: none; background: transparent; }

/* =============================================================
   Mobile
   ============================================================= */
@media (max-width: 767px) {
  .hv2-hero .hero__cta-row .btn,
  .hv2-demo__ctas .btn { width: 100%; }
  .hv2-plan__tagline { min-height: 0; }
  .hv2-phone { width: 26%; }
  .hv2-final { padding-inline: 0; }
  .hv2-final .container { padding-inline: 12px; }
  .hv2-final__panel { border-radius: 26px; padding: 30px 18px 18px; }
  .hv2-final__card { padding: 22px 18px; border-radius: 20px; }
}

/* =============================================================
   Tablet (640–959px): prezzi Giulia in colonna stretta
   ============================================================= */
@media (min-width: 640px) and (max-width: 959px) {
  .hv2-plans,
  .hv2-promo { max-width: 600px; margin-inline: auto; }
  .hv2-promo { margin-top: 28px; }
}

/* =============================================================
   GIULIA AL LAVORO — orb e conversazione dal vivo (condivisi)
   Usati nella sezione Giulia di questa Homepage e nella Hero della
   v3. Script: home-v2.js (§3).
   ============================================================= */
/* -------------------------------------------------------------
   Orb di Giulia — solo CSS
   ------------------------------------------------------------- */
.hv3-orb {
  --s: 120px;
  position: relative;
  display: inline-block;
  flex: none;
  width: var(--s);
  height: var(--s);
  border-radius: 50%;
  isolation: isolate;
  background:
    radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.9) 0 5%, rgba(255, 255, 255, 0) 26%),
    radial-gradient(circle at 70% 78%, rgba(7, 16, 26, 0.35), rgba(7, 16, 26, 0) 45%),
    conic-gradient(from 0deg, #2a6adc, #6491d8, #cfe0fa, #2a6adc, #173f93, #8db0ea, #2a6adc);
  box-shadow:
    inset 0 0 calc(var(--s) * 0.18) rgba(255, 255, 255, 0.55),
    inset 0 calc(var(--s) * -0.08) calc(var(--s) * 0.2) rgba(7, 16, 26, 0.35),
    0 0 calc(var(--s) * 0.35) rgba(42, 106, 220, 0.55);
  animation: hv3-orb-spin 9s linear infinite;
}
.hv3-orb::before {
  content: "";
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  background: conic-gradient(from 160deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0) 45%);
  filter: blur(calc(var(--s) * 0.05));
  animation: hv3-orb-spin 5s linear infinite reverse;
}
.hv3-orb::after {
  content: "";
  position: absolute;
  inset: -22%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(42, 106, 220, 0.35), rgba(42, 106, 220, 0));
  animation: hv3-orb-breathe 3.6s ease-in-out infinite;
}
.hv3-orb.is-talking::after { animation-duration: 1.2s; }
.hv3-orb--xs { --s: 18px; }
.hv3-orb--sm { --s: 30px; }
.hv3-orb--lg { --s: 96px; }
.hv3-orb--xl { --s: 150px; }
.hv3-orb--hero { --s: 180px; }
@keyframes hv3-orb-spin { to { transform: rotate(360deg); } }
@keyframes hv3-orb-breathe {
  0%, 100% { transform: scale(0.9); opacity: 0.75; }
  50%      { transform: scale(1.12); opacity: 1; }
}

/* -------------------------------------------------------------
   Giulia al lavoro: scenari + palco
   ------------------------------------------------------------- */
.hv3-live { position: relative; max-width: 1180px; margin: clamp(40px, 6vw, 72px) auto 0; }

.hv3-live__tabs {
  display: flex;
  justify-content: center;
  gap: 6px;
  width: max-content;
  max-width: 100%;
  margin: 0 auto 18px;
  padding: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: inset 0 0 0 1px rgba(7, 16, 26, 0.08), 0 14px 30px -20px rgba(7, 16, 26, 0.4);
  overflow-x: auto;
  scrollbar-width: none;
}
.hv3-live__tabs::-webkit-scrollbar { display: none; }
.hv3-live__tab {
  flex: none;
  padding: 9px 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(7, 16, 26, 0.7);
  font: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color var(--dur-fast) ease, color var(--dur-fast) ease;
}
.hv3-live__tab:hover { color: var(--color-navy); background: rgba(42, 106, 220, 0.08); }
.hv3-live__tab[aria-pressed="true"] { background: var(--color-navy); color: var(--color-white); }
.hv3-live__tab:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; }

.hv3-stage {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 44px clamp(18px, 2.4vw, 30px) clamp(18px, 2.4vw, 30px);
  border-radius: 30px;
  background: var(--color-navy);
  box-shadow: 0 0 0 1px rgba(7, 16, 26, 0.08), 0 60px 120px -60px rgba(7, 16, 26, 0.75), 0 30px 80px -40px rgba(42, 106, 220, 0.6);
}
.hv3-stage__aura {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(50% 70% at 12% 50%, rgba(42, 106, 220, 0.35), rgba(42, 106, 220, 0) 70%),
    radial-gradient(40% 60% at 100% 0%, rgba(100, 145, 216, 0.22), rgba(100, 145, 216, 0) 70%),
    radial-gradient(120% 60% at 50% 150%, rgba(42, 106, 220, 0.5), rgba(42, 106, 220, 0) 60%);
}
.hv3-stage__aura::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(240, 245, 246, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(240, 245, 246, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
}
.hv3-stage__label {
  position: absolute;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  white-space: nowrap;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(185, 205, 240, 0.7);
}

.hv3-scn {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.35fr) minmax(0, 0.95fr);
  gap: clamp(14px, 1.8vw, 22px);
  min-height: 430px;
}
.hv3-scn[hidden] { display: none; }

/* Giulia al telefono / su WhatsApp */
.hv3-call {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 26px 18px;
  border-radius: 22px;
  text-align: center;
  background: linear-gradient(180deg, rgba(240, 245, 246, 0.08), rgba(240, 245, 246, 0.02));
  box-shadow: inset 0 0 0 1px rgba(240, 245, 246, 0.1);
}
.hv3-call .hv3-orb { margin-bottom: 12px; }
.hv3-call__name { font-size: 1.25rem; font-weight: 600; letter-spacing: -0.02em; color: #fff; }
.hv3-call__role { font-size: 0.8125rem; color: rgba(240, 245, 246, 0.6); }
.hv3-call__channel {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(42, 106, 220, 0.22);
  box-shadow: inset 0 0 0 1px rgba(141, 176, 234, 0.4);
  font-size: 0.8125rem;
  font-weight: 500;
  color: #dbe7fb;
}
.hv3-call__channel--whatsapp { background: rgba(40, 200, 120, 0.16); box-shadow: inset 0 0 0 1px rgba(40, 200, 120, 0.45); color: #c9f5dc; }
.hv3-call__wave { display: flex; align-items: center; gap: 3px; height: 28px; margin-top: 6px; }
.hv3-call__wave i {
  width: 3px;
  height: 100%;
  border-radius: 3px;
  background: #8db0ea;
  transform: scaleY(0.3);
  animation: hv2-bars 1.2s ease-in-out infinite;
}
.hv3-call__wave i:nth-child(2n) { animation-delay: -0.3s; }
.hv3-call__wave i:nth-child(3n) { animation-delay: -0.65s; }
.hv3-call__wave i:nth-child(5n) { animation-delay: -0.9s; }
.hv3-call__channel--whatsapp ~ .hv3-call__wave { visibility: hidden; }
.hv3-call__note { margin-top: 6px; font-size: 0.75rem; color: rgba(240, 245, 246, 0.55); }

/* Conversazione */
.hv3-chat {
  display: flex;
  flex-direction: column;
  min-height: 0;
  border-radius: 22px;
  background: rgba(240, 245, 246, 0.06);
  box-shadow: inset 0 0 0 1px rgba(240, 245, 246, 0.1);
  overflow: hidden;
}
.hv3-chat__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(240, 245, 246, 0.08);
}
.hv3-chat__head strong { display: block; font-size: 0.9375rem; font-weight: 600; color: #fff; }
.hv3-chat__head small { display: block; font-size: 0.75rem; color: #7fd6a3; }
.hv3-chat__list {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  margin: 0;
  padding: 18px;
  list-style: none;
  overflow: hidden;
}
.hv3-msg {
  max-width: 84%;
  padding: 11px 15px;
  border-radius: 18px;
  font-size: 0.9375rem;
  line-height: 1.45;
  animation: hv3-pop 0.45s var(--ease-out);
}
.hv3-msg--p { align-self: flex-end; background: rgba(240, 245, 246, 0.13); color: var(--color-off-white); border-bottom-right-radius: 6px; }
.hv3-msg--g { align-self: flex-start; background: var(--color-primary); color: #fff; border-bottom-left-radius: 6px; box-shadow: 0 14px 30px -18px rgba(42, 106, 220, 0.9); }
.hv3-msg.is-pending { display: none; }
.hv3-typing {
  display: none;
  align-self: flex-start;
  gap: 4px;
  padding: 13px 16px;
  border-radius: 18px;
  border-bottom-left-radius: 6px;
  background: rgba(42, 106, 220, 0.35);
}
.hv3-scn.is-typing .hv3-typing { display: inline-flex; }
.hv3-typing i { width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: hv3-dot 1s ease-in-out infinite; }
.hv3-typing i:nth-child(2) { animation-delay: 0.15s; }
.hv3-typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes hv3-pop { from { opacity: 0; transform: translateY(8px) scale(0.98); } to { opacity: 1; transform: none; } }
@keyframes hv3-dot { 0%, 100% { opacity: 0.35; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-3px); } }

/* Agenda HeyDoc */
.hv3-agenda {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
  border-radius: 22px;
  background: #ffffff;
  color: var(--color-navy);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8);
}
.hv3-agenda__head { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid rgba(7, 16, 26, 0.07); }
.hv3-agenda__logo { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: var(--color-navy); color: #fff; font-weight: 700; }
.hv3-agenda__head strong { display: block; font-size: 0.9375rem; font-weight: 600; }
.hv3-agenda__head small { display: block; font-size: 0.75rem; color: rgba(7, 16, 26, 0.55); }
.hv3-agenda__week { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px 6px; text-align: center; font-size: 0.6875rem; font-weight: 600; color: rgba(7, 16, 26, 0.45); }
.hv3-agenda__week i { height: 6px; border-radius: 3px; background: rgba(7, 16, 26, 0.08); }
.hv3-agenda__week i.on { background: var(--color-primary); }
.hv3-agenda__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border-radius: 14px;
  background: rgba(42, 106, 220, 0.08);
  box-shadow: inset 0 0 0 1px rgba(42, 106, 220, 0.35);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out), filter 0.6s ease, box-shadow 0.6s ease;
}
.hv3-agenda__dot { width: 10px; height: 10px; flex: none; border-radius: 50%; background: var(--color-primary); box-shadow: 0 0 0 4px rgba(42, 106, 220, 0.18); }
.hv3-agenda__item strong { display: block; font-size: 0.875rem; font-weight: 600; line-height: 1.3; }
.hv3-agenda__item small { display: block; font-size: 0.75rem; color: rgba(7, 16, 26, 0.6); }
.hv3-agenda__item em {
  margin-left: auto;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--color-primary);
  color: #fff;
  font-size: 0.6875rem;
  font-style: normal;
  font-weight: 600;
}
.hv3-agenda__ghost { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 14px; background: #f4f7fa; }
.hv3-agenda__ghost i { height: 7px; border-radius: 4px; background: rgba(7, 16, 26, 0.12); }
.hv3-agenda__ghost i:first-child { width: 10px; height: 10px; border-radius: 50%; }
.hv3-agenda__ghost i:last-child { flex: 1; max-width: 60%; }
.hv3-agenda__status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(40, 200, 120, 0.12);
  color: #137a43;
  font-size: 0.8125rem;
  font-weight: 600;
  transition: opacity 0.5s ease 0.4s;
}
.js .hv3-scn:not(.is-done) .hv3-agenda__item { opacity: 0.35; transform: translateY(8px); filter: blur(1px); box-shadow: inset 0 0 0 1px rgba(7, 16, 26, 0.1); }
.js .hv3-scn:not(.is-done) .hv3-agenda__status { opacity: 0; }
.hv3-scn.is-done .hv3-agenda__item { animation: hv3-glow 1.6s ease-out 1; }
@keyframes hv3-glow { 0% { box-shadow: inset 0 0 0 1px rgba(42, 106, 220, 0.35), 0 0 0 0 rgba(42, 106, 220, 0.45); } 60% { box-shadow: inset 0 0 0 1px rgba(42, 106, 220, 0.6), 0 0 0 10px rgba(42, 106, 220, 0); } 100% { box-shadow: inset 0 0 0 1px rgba(42, 106, 220, 0.35); } }

@media (max-width: 1023px) {
  .hv3-scn { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 0; }
  .hv3-call { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; justify-content: flex-start; text-align: left; padding: 16px 18px; gap: 4px 12px; }
  .hv3-call .hv3-orb { --s: 52px; margin: 0; }
  .hv3-call__name, .hv3-call__role { width: auto; }
  .hv3-call__wave { margin: 0 0 0 auto; }
  .hv3-call__note { display: none; }
  .hv3-chat__list { min-height: 300px; }
}
@media (max-width: 767px) {
  .hv3-live__tabs { justify-content: flex-start; width: auto; margin-inline: -4px; }
  .hv3-stage { border-radius: 24px; padding: 14px; }
  .hv3-stage { padding-top: 38px; }
  .hv3-stage__label { top: 13px; }
  .hv3-scn { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .hv3-call { padding: 30px 14px 12px; }
  .hv3-call__channel { margin-top: 0; }
  .hv3-call__role { display: none; }
  .hv3-chat__list { min-height: 280px; padding: 14px; }
  .hv3-msg { font-size: 0.875rem; }
  .hv3-agenda__ghost { display: none; }
}

.hv2-giulia__live-title { margin: clamp(48px, 6vw, 80px) 0 8px; text-align: center; font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.625rem); font-weight: 600; letter-spacing: -0.02em; color: var(--hv2-ink); }
.hv2-giulia__live-sub { max-width: 560px; margin: 0 auto; text-align: center; color: var(--hv2-ink-2); }
.hv2-giulia .hv3-live { margin-top: clamp(22px, 3vw, 32px); margin-bottom: clamp(56px, 7vw, 96px); }

html.motion-paused .hv3-orb,
html.motion-paused .hv3-orb::before,
html.motion-paused .hv3-orb::after,
html.motion-paused .hv3-call__wave i,
html.motion-paused .hv3-typing i { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) {
  .hv3-orb, .hv3-orb::before, .hv3-orb::after,
  .hv3-call__wave i, .hv3-typing i, .hv3-msg { animation: none !important; }
}
