/* ==========================================================================
   CLASS – Componenti condivisi
   Usati da index.html (home portale), serramenti.html e fotovoltaico.html.
   Si appoggiano a style.css.
   Il prefisso "pv-" delle classi è storico (nato nella pagina fotovoltaico) e
   viene mantenuto per non toccare quella pagina.
   L'accento di ogni pagina si imposta con le variabili --acc* sul <body>:
   fotovoltaico.css le porta all'ambra, serramenti.css al blu "vetro".
   Animazioni: solo transform, opacity e stroke-dashoffset.
   ========================================================================== */

:root {
  --c-anth: #1c1f27;
  --c-anth-2: #262a35;
  --c-on-anth-muted: rgba(255, 255, 255, 0.72);
  --cut: clamp(2rem, 5vw, 4.5rem);
  /* Accento di pagina (valori neutri di riserva: il navy del sito) */
  --acc: var(--c-accent);
  --acc-deep: var(--c-accent-hover);
  --acc-soft: var(--c-accent-soft);
  --acc-ink: #ffffff;              /* testo sopra l'accento */
  --acc-link: #9fc3ff;             /* link nei blocchi antracite */
  --acc-rgb: 11, 31, 94;           /* per le trasparenze */
  /* Riquadro del cursore delle scene (le sezioni scure li cambiano) */
  --ctl-bg: var(--c-bg-alt); --ctl-fg: var(--c-heading); --ctl-track: rgba(28, 31, 39, 0.14); --ctl-dot: rgba(28, 31, 39, 0.25);
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------- Header delle entità: "← Home", logo e dicitura (Serramenti / Fotovoltaico) ---------- */
.brand-wrap { display: flex; align-items: center; gap: var(--s-3); flex: none; }
.hd-home {
  display: inline-flex; align-items: center; gap: 0.3em; min-height: 40px; padding: 0 0.7rem;
  border: 1px solid var(--c-line); border-radius: var(--r-pill);
  font-size: var(--fs-sm); font-weight: 700; color: var(--c-text-muted); white-space: nowrap;
  transition: color var(--t-fast), border-color var(--t-fast);
}
.hd-home:hover { color: var(--acc-deep); border-color: var(--acc); text-decoration: none; }
.brand { display: flex; align-items: center; gap: var(--s-3); }
.brand-wrap .brand img { max-width: none; } /* senza, il logo non conta nella larghezza del gruppo e il menu gli finisce sopra */
.brand:hover { text-decoration: none; }
.hd-entity {
  font-family: var(--f-head); font-weight: 700; font-size: 1rem; line-height: 1.1; white-space: nowrap;
  color: var(--acc-deep); padding-left: var(--s-3); border-left: 3px solid var(--acc);
}
/* Schermi stretti: freccia sola, logo più piccolo e dicitura sotto il logo */
@media (max-width: 599px) {
  .hd-home { padding: 0 0.6rem; }
  .hd-home-txt { display: none; }
  .brand { flex-direction: column; align-items: flex-start; gap: 3px; }
  .brand img { height: 30px; }
  .site-header.is-scrolled .brand img { height: 28px; }
  .hd-entity { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; padding-left: 0; border-left: 0; }
}
/* Dai 600px: logo più basso per far stare "← Home", logo, dicitura e azioni su una riga */
@media (min-width: 600px) {
  .brand-wrap .brand img { height: 44px; }
  .site-header.is-scrolled .brand-wrap .brand img { height: 40px; }
}
/* Menu completo (da 1280px): voci più compatte */
@media (min-width: 1280px) {
  .brand-wrap ~ .nav .nav-list a { padding-inline: 8px; }
  .brand-wrap ~ .nav .nav-list a::after { left: 8px; right: 8px; }
}
/* Tablet stretti: telefono come sola icona (il numero è nel menu) */
@media (min-width: 600px) and (max-width: 767px) {
  .brand-wrap ~ .header-actions .phone-btn { width: 48px; padding: 0; gap: 0; }
  .brand-wrap ~ .header-actions .phone-btn .phone-num { display: none; }
}
/* Schermi molto stretti: il telefono resta nel menu */
@media (max-width: 359px) { .brand-wrap ~ .header-actions .phone-btn { display: none; } }
.ft-other { margin: var(--s-5) 0 0; font-size: var(--fs-sm); }
.site-footer .ft-other a { color: rgba(255,255,255,0.78); text-decoration: underline; text-underline-offset: 3px; }
.ft-entity { color: #fff; }

/* ---------- Ingresso dalla home ----------
   La home riempie lo schermo con il colore della metà scelta e poi apre la pagina;
   qui quel colore si dissolve (classe impostata da js/avvio.js). Nei browser con le
   View Transitions tra documenti il cambio di pagina è anche una dissolvenza incrociata. */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.35s; }
.pg-enter-serramenti { --enter-bg: linear-gradient(160deg, #eef7fd 0%, #d6ecf9 55%, #bfe0f5 100%); }
.pg-enter-fotovoltaico { --enter-bg: linear-gradient(200deg, #fff8ea 0%, #ffe7b3 55%, #ffd27a 100%); }
.pg-enter body::after {
  content: ""; position: fixed; inset: 0; z-index: 2000; pointer-events: none;
  background: var(--enter-bg, #fff);
  animation: pg-enter 0.7s 0.08s var(--ease) both;
}
@keyframes pg-enter { from { opacity: 1; } to { opacity: 0; visibility: hidden; } }

/* Pulsanti aggiuntivi */
.btn-dark { background: var(--c-anth); color: #fff; box-shadow: var(--sh-sm); }
.btn-dark:hover { background: #000; color: #fff; box-shadow: var(--sh-md); }
.btn-acc { background: var(--acc); color: var(--acc-ink); box-shadow: var(--sh-sm); }
.btn-acc:hover { background: var(--acc-deep); color: var(--acc-ink); box-shadow: var(--sh-md); }

/* Blocchi scuri */
.pv-dark { background: var(--c-anth); color: #fff; }
.pv-dark h2, .pv-dark h3 { color: #fff; }
.pv-dark .lead { color: var(--c-on-anth-muted); }
.pv-dark a { color: var(--acc-link); }
.pv-dark .btn-dark, .pv-dark .btn-dark:hover, .pv-dark .btn-primary, .pv-dark .btn-primary:hover { color: #fff; }
.pv-dark .btn-acc, .pv-dark .btn-acc:hover { color: var(--acc-ink); }
/* Link dentro le card bianche delle sezioni scure (modulo, simulatore) */
.pv-dark .contact-form a, .pv-dark .pv-calc a { color: var(--c-accent); text-decoration: underline; text-underline-offset: 2px; }
.pv-dark .contact-form a:hover, .pv-dark .pv-calc a:hover { color: var(--c-accent-hover); }

/* Transizioni tra sezioni: diagonale o curva (clip-path statico, nessun costo in scroll) */
.pv-cut-diag { clip-path: polygon(0 var(--cut), 100% 0, 100% 100%, 0 100%); margin-top: calc(var(--cut) * -1); padding-top: calc(var(--section-y) + var(--cut)); }
.pv-cut-diag-rev { clip-path: polygon(0 0, 100% var(--cut), 100% 100%, 0 100%); margin-top: calc(var(--cut) * -1); padding-top: calc(var(--section-y) + var(--cut)); }
.pv-curve-top { border-top-left-radius: 50% var(--cut); border-top-right-radius: 50% var(--cut); margin-top: calc(var(--cut) * -0.6); padding-top: calc(var(--section-y) + var(--cut) * 0.6); }

/* Parola che si alterna nel titolo */
.pv-swap-word { display: inline-block; will-change: transform, opacity; }

/* ---------- Countdown ---------- */
.pv-countdown { background: var(--c-anth); color: #fff; border-top: 3px solid var(--acc); }
.pv-countdown-inner { display: grid; gap: var(--s-5); padding-block: var(--s-6); align-items: center; }
.pv-countdown-text { margin: 0; font-size: 1.0625rem; line-height: 1.5; color: var(--c-on-anth-muted); max-width: 52ch; }
.pv-countdown-text strong { color: #fff; }
.pv-timer { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-2); }
.pv-timer div { text-align: center; background: var(--c-anth-2); border-radius: var(--r-md); padding: var(--s-3) var(--s-1); }
.pv-timer b { display: block; font-family: var(--f-head); font-size: clamp(1.6rem, 1rem + 2.6vw, 2.75rem); line-height: 1; color: var(--acc); font-variant-numeric: tabular-nums; }
.pv-timer span { display: block; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--c-on-anth-muted); margin-top: var(--s-2); }
@media (min-width: 900px) { .pv-countdown-inner { grid-template-columns: 1.2fr 1fr; gap: var(--s-7); } .pv-timer { gap: var(--s-3); } }

/* ---------- Numeri / contatori ---------- */
.pv-numbers { position: relative; z-index: 1; background: var(--c-bg); }
.pv-stats { display: grid; gap: var(--s-4); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pv-stats li {
  background: var(--c-bg-alt); border-radius: var(--r-lg); padding: var(--s-5);
  display: grid; gap: var(--s-3); align-content: start;
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}
.pv-stats li:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.pv-stats span { color: var(--c-text-muted); font-size: var(--fs-sm); line-height: 1.45; }
.pv-stat {
  display: inline-block; font-family: var(--f-head); font-weight: 700; line-height: 1; letter-spacing: -0.03em;
  font-size: clamp(2.4rem, 1.4rem + 3.4vw, 4.25rem); color: var(--acc-deep); font-variant-numeric: tabular-nums;
  transform-origin: left bottom; will-change: transform;
}
.pv-stat-light { color: var(--acc); font-size: clamp(2.6rem, 1.4rem + 4.2vw, 5rem); }
.pv-stats .pv-stat { white-space: nowrap; }
.pv-stat small { display: inline; font-size: 0.34em; font-weight: 700; letter-spacing: 0; color: var(--c-text-muted); margin-right: 0.2em; vertical-align: baseline; }
.pv-stat-light small { color: var(--c-on-anth-muted); }
.pv-note { font-size: var(--fs-sm); color: var(--c-text-muted); margin: var(--s-6) 0 0; }
.pv-note-light { color: var(--c-on-anth-muted); }
@media (min-width: 900px) { .pv-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-5); } .pv-stats li { padding: var(--s-6); } }

/* ---------- Card informative ---------- */
.pv-cards { display: grid; gap: var(--s-4); }
.pv-card {
  background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-lg); padding: var(--s-5);
  box-shadow: var(--sh-sm); transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}
.pv-card:hover { transform: translateY(-5px); box-shadow: var(--sh-md); }
.pv-card h3 { font-size: 1.35rem; margin-bottom: var(--s-2); }
.pv-card p { margin: 0; color: var(--c-text-muted); }
.pv-card-icon { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: var(--r-md); background: var(--acc-soft); color: var(--acc-deep); margin-bottom: var(--s-4); }
.pv-card-icon svg { width: 28px; height: 28px; fill: currentColor; }
@media (min-width: 768px) { .pv-cards { grid-template-columns: repeat(3, 1fr); gap: var(--s-5); } .pv-card { padding: var(--s-6); } }

/* ---------- Simulatore della detrazione ---------- */
.pv-sim-grid { display: grid; gap: var(--s-6); }
.pv-calc {
  background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-lg); padding: var(--s-5);
  box-shadow: var(--sh-md); display: grid; gap: var(--s-4);
}
.pv-seg { border: 0; padding: 0; margin: 0; display: grid; gap: var(--s-2); }
.pv-seg legend { font-weight: 700; font-size: var(--fs-sm); color: var(--c-heading); margin-bottom: var(--s-2); padding: 0; }
.pv-seg label {
  display: flex; align-items: center; gap: var(--s-3); padding: var(--s-3) var(--s-4); border: 1.5px solid #cfcbc2; border-radius: var(--r-md);
  cursor: pointer; transition: border-color var(--t-fast), background var(--t-fast), box-shadow var(--t-fast);
}
.pv-seg label:has(input:checked) { border-color: var(--acc-deep); background: var(--acc-soft); box-shadow: 0 0 0 3px rgba(var(--acc-rgb), 0.18); }
.pv-seg input { width: 20px; height: 20px; margin: 0; accent-color: var(--acc-deep); }
.pv-seg span { font-weight: 600; color: var(--c-heading); }
.pv-seg small { color: var(--c-text-muted); font-weight: 600; margin-left: var(--s-1); }
.pv-calc-out { display: grid; gap: var(--s-3); background: var(--c-anth); color: #fff; border-radius: var(--r-md); padding: var(--s-5); }
.pv-calc-out div { display: grid; gap: var(--s-1); }
.pv-calc-out span { font-size: var(--fs-sm); color: var(--c-on-anth-muted); }
.pv-calc-out b { font-family: var(--f-head); font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3rem); line-height: 1; color: var(--acc); font-variant-numeric: tabular-nums; display: inline-block; transform-origin: left bottom; }
.pv-calc-cap { margin: 0; font-size: var(--fs-sm); color: var(--acc-deep); font-weight: 600; }
.pv-fine { margin: 0; font-size: 0.8rem; color: var(--c-text-muted); line-height: 1.5; }
@media (min-width: 560px) { .pv-seg { grid-template-columns: 1fr 1fr; } .pv-seg legend { grid-column: 1 / -1; } .pv-calc-out { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .pv-sim-grid { grid-template-columns: 1fr 1fr; gap: var(--s-8); align-items: center; } .pv-sim-grid .section-head { margin-bottom: 0; } .pv-calc { padding: var(--s-6); } }

/* ---------- Come lavoriamo: passi con linea che si disegna ---------- */
.pv-steps-wrap { position: relative; }
.pv-steps { display: grid; gap: var(--s-5); position: relative; z-index: 1; }
.pv-steps li { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-lg); padding: var(--s-5); box-shadow: var(--sh-sm); transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease); }
.pv-steps li:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.pv-steps h3 { font-size: 1.125rem; margin-bottom: var(--s-2); }
.pv-steps p { margin: 0; color: var(--c-text-muted); }
.pv-step-num { display: inline-grid; place-items: center; width: 44px; height: 44px; margin-bottom: var(--s-4); border-radius: 50%; background: var(--acc); color: var(--acc-ink); font-family: var(--f-head); font-weight: 700; }
.pv-steps-line { position: absolute; left: calc(var(--s-5) + 22px); top: 0; bottom: 0; width: 3px; background: var(--acc); border-radius: 3px; transform: scaleY(0); transform-origin: top center; opacity: 0.85; }
@media (min-width: 640px) { .pv-steps { grid-template-columns: repeat(2, 1fr); } .pv-steps-line { display: none; } }
@media (min-width: 1024px) {
  .pv-steps { grid-template-columns: repeat(4, 1fr); }
  .pv-steps-line { display: block; left: 8%; right: 8%; width: auto; top: calc(var(--s-5) + 21px); bottom: auto; height: 3px; transform: scaleX(0); transform-origin: left center; }
}

/* ---------- FAQ ---------- */
.pv-faq-grid { display: grid; gap: var(--s-6); }
.pv-acc details { border-bottom: 1px solid var(--c-line); }
.pv-acc details:first-child { border-top: 1px solid var(--c-line); }
.pv-acc summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--s-4);
  padding: var(--s-4) 0; font-family: var(--f-head); font-weight: 600; font-size: 1.125rem; color: var(--c-heading);
}
.pv-acc summary::-webkit-details-marker { display: none; }
.pv-acc summary::after {
  content: ""; flex: none; width: 12px; height: 12px; border-right: 2.5px solid var(--acc-deep); border-bottom: 2.5px solid var(--acc-deep);
  transform: rotate(45deg); transition: transform var(--t-base) var(--ease); margin-right: 4px;
}
.pv-acc details[open] summary::after { transform: rotate(-135deg); }
.pv-acc summary:hover { color: var(--acc-deep); }
.pv-acc p { margin: 0 0 var(--s-4); color: var(--c-text-muted); max-width: 60ch; }
@media (min-width: 900px) { .pv-faq-grid { grid-template-columns: 1fr 1.6fr; gap: var(--s-8); align-items: start; } .pv-faq-grid .section-head { margin-bottom: 0; } }

/* ---------- CTA finale con modulo ---------- */
.pv-cta { background: radial-gradient(120% 90% at 85% 0%, rgba(var(--acc-rgb), 0.35) 0%, rgba(var(--acc-rgb), 0) 55%), var(--c-anth); }
.pv-cta-grid { display: grid; gap: var(--s-7); }
.pv-cta h2 { font-size: clamp(2.2rem, 1.4rem + 3.6vw, 4rem); letter-spacing: -0.02em; max-width: 14ch; }
.pv-cta-hours { margin: var(--s-4) 0 0; color: var(--c-on-anth-muted); font-size: var(--fs-sm); }
.pv-cta-grid > * { min-width: 0; }
.pv-form { color: var(--c-text); }
.pv-form .btn-block { white-space: normal; text-align: center; }
.pv-form .field label, .pv-form .pv-seg legend { color: var(--c-heading); }
.pv-seg-form { grid-template-columns: 1fr 1fr; }
.pv-seg-form legend { grid-column: 1 / -1; }
.pv-form .field-check label { color: var(--c-text); }
.pv-form .form-note { color: var(--c-text-muted); }
.pv-form .form-note a { font-weight: 700; }
@media (min-width: 900px) { .pv-cta-grid { grid-template-columns: 1fr 1.1fr; gap: var(--s-8); align-items: center; } }

/* ---------- Nota legale ---------- */
.pv-legal { background: var(--c-bg-alt); font-size: var(--fs-sm); color: var(--c-text-muted); padding-bottom: calc(var(--section-y) + 72px); }
.pv-legal-title { font-size: 1.25rem; }
.pv-disclaimer { font-weight: 700; color: var(--c-heading); border-left: 4px solid var(--acc); padding-left: var(--s-4); max-width: 70ch; }
.pv-legal-p { max-width: 80ch; }
@media (min-width: 1024px) { .pv-legal { padding-bottom: var(--section-y); } }

/* ---------- Cursore delle scene a fasi (touch / schermi stretti) ----------
   Il JS mette .pv-manual sull'html quando le scene non sono fissate allo scroll
   e toglie [hidden] alla barra. Nelle pagine la didascalia della fase sta
   subito sopra, nello stesso riquadro (vedi .pv-manual nei CSS di pagina). */
.pv-scene-ctl {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: var(--s-1) var(--s-3);
  padding: var(--s-2) var(--s-4) var(--s-3); border-radius: 0 0 var(--r-lg) var(--r-lg); background: var(--ctl-bg); color: var(--ctl-fg);
}
/* La didascalia che precede la barra ne fa parte: stesso sfondo, angoli in alto */
.pv-manual .pv-scene-cap {
  position: relative; background: var(--ctl-bg); color: var(--ctl-fg); border-radius: var(--r-lg) var(--r-lg) 0 0;
  padding: var(--s-4) var(--s-4) 0; margin-bottom: calc(var(--s-4) * -1);
}
.pv-ctl-btn {
  display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%;
  background: var(--acc); color: var(--acc-ink); box-shadow: var(--sh-sm);
  transition: transform var(--t-fast), opacity var(--t-fast);
}
.pv-ctl-btn svg { width: 26px; height: 26px; fill: currentColor; }
.pv-ctl-btn:disabled { opacity: 0.35; cursor: default; box-shadow: none; }
.pv-ctl-btn:not(:disabled):active { transform: scale(0.94); }
.pv-ctl-range { display: block; min-width: 0; }
.pv-ctl-range input {
  -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 44px; margin: 0;
  background: transparent; cursor: ew-resize; touch-action: pan-y;
}
.pv-ctl-range input:focus-visible { outline-offset: 0; }
.pv-ctl-range input::-webkit-slider-runnable-track {
  height: 6px; border-radius: 3px;
  background: linear-gradient(var(--acc), var(--acc)) 0 0 / var(--p, 0%) 100% no-repeat, var(--ctl-track);
}
.pv-ctl-range input::-webkit-slider-thumb {
  -webkit-appearance: none; width: 28px; height: 28px; margin-top: -11px; border-radius: 50%;
  background: var(--acc); border: 3px solid #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.pv-ctl-range input::-moz-range-track { height: 6px; border-radius: 3px; background: var(--ctl-track); }
.pv-ctl-range input::-moz-range-progress { height: 6px; border-radius: 3px; background: var(--acc); }
.pv-ctl-range input::-moz-range-thumb { width: 28px; height: 28px; border-radius: 50%; background: var(--acc); border: 3px solid #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3); }
.pv-ctl-dots { grid-column: 1 / -1; display: flex; justify-content: center; gap: 2px; }
.pv-ctl-dot { position: relative; width: 30px; height: 30px; padding: 0; border: 0; background: transparent; border-radius: 50%; }
.pv-ctl-dot::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%;
  background: var(--ctl-dot); transition: transform var(--t-fast), background var(--t-fast);
}
.pv-ctl-dot.is-active::before { background: var(--acc); transform: scale(1.4); }

/* ---------- Pulsante fisso su mobile ---------- */
.pv-sticky {
  position: fixed; left: var(--s-4); right: var(--s-4); bottom: var(--s-4); z-index: 95;
  display: flex; align-items: center; justify-content: center; min-height: 54px;
  background: var(--acc); color: var(--acc-ink); font-weight: 800; border-radius: var(--r-pill);
  box-shadow: 0 10px 30px rgba(0,0,0,0.25); transition: transform var(--t-base) var(--ease), opacity var(--t-base) var(--ease);
}
.pv-sticky:hover { text-decoration: none; }
.pv-sticky.is-hidden { transform: translateY(120%); opacity: 0; pointer-events: none; }
.pv-page .whatsapp, .sr-page .whatsapp { bottom: calc(var(--s-4) + 70px); }
@media (min-width: 1024px) { .pv-sticky { display: none; } .pv-page .whatsapp, .sr-page .whatsapp { bottom: var(--s-4); } }

/* ---------- Modalità presentazione ---------- */
.pv-present {
  position: fixed; left: var(--s-4); bottom: var(--s-4); z-index: 96;
  display: none; align-items: center; gap: var(--s-2);
  background: rgba(28,31,39,0.75); color: #fff; border: 1px solid rgba(255,255,255,0.18); border-radius: var(--r-pill);
  padding: 0.45rem 0.9rem; font-size: var(--fs-sm); font-weight: 600; opacity: 0.55;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: opacity var(--t-fast), transform var(--t-fast);
}
.pv-present:hover, .pv-present:focus-visible { opacity: 1; transform: translateY(-1px); }
@media (min-width: 1024px) and (hover: hover) { .pv-present { display: inline-flex; } }

.pv-progress {
  position: fixed; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 96;
  display: flex; gap: 8px; padding: 8px 12px; border-radius: 999px; background: rgba(28,31,39,0.55);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.pv-progress button {
  width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,0.35);
  transition: transform var(--t-fast), background var(--t-fast);
}
.pv-progress button.is-active { background: var(--acc); transform: scale(1.35); }
.pv-progress button:hover { background: #fff; }
.pv-hint {
  position: fixed; right: var(--s-4); bottom: var(--s-4); z-index: 96; margin: 0;
  background: rgba(28,31,39,0.8); color: #fff; font-size: var(--fs-sm); padding: 0.5rem 0.9rem; border-radius: var(--r-pill);
}

.is-presenting { --header-h: 0px; scroll-padding-top: 0; }
.is-presenting .site-header, .is-presenting .pv-sticky, .is-presenting .whatsapp, .is-presenting .pv-present { display: none !important; }
.is-presenting .nav { display: none; }
.is-presenting body { background: var(--c-anth); }

/* ---------- Versione statica (reduced-motion o senza GSAP) ---------- */
.pv-static .pv-steps-line { transform: none; }

@media (prefers-reduced-motion: reduce) {
  .pv-swap-word { transform: none !important; opacity: 1 !important; }
  .pg-enter body::after { display: none; }
  @view-transition { navigation: none; }
}

@media print {
  .pv-present, .pv-progress, .pv-hint, .pv-sticky, .pv-countdown, .pv-scene-ctl { display: none !important; }
}
