/*
 * PUNTIFY VETRINA — SISTEMA "V2" (stile della home, linguaggio visivo Planitude/Muse)
 * ==================================================================================
 * Caricato da App.razor su TUTTE le pagine (dopo app.css e tailwind.css), versionato
 * con ?v= (aumentarlo a ogni modifica). Guida completa: docs/STYLE-V2.md.
 *
 * - Token: custom property --v2-* su :root (valgono ovunque, anche fuori da .v2).
 * - Componenti: classi .v2-* (nessun conflitto con app.css/Tailwind).
 * - Il font DM Sans e il reset valgono SOLO dentro un contenitore .v2 (pagine convertite,
 *   header, footer, banner): le pagine non ancora convertite restano in Inter.
 * - Movimento: data-attribute letti da js/site-v2.js ([data-v2-reveal], [data-v2-count],
 *   [data-v2-marquee], [data-v2-tilt], [data-v2-progress]...). Lo stato "fermo" di ogni
 *   elemento e' lo stato FINALE: senza JS (html senza .v2-js) o con prefers-reduced-motion
 *   la pagina e' completa e statica.
 * - Regole del movimento: entrate con --v2-ease-out, spostamenti con --v2-ease-io,
 *   durate 500-900 ms, stagger 90 ms (style="--i:n"), si animano solo transform,
 *   opacity, filter (poco blur) e clip-path.
 */

/* ===================================================================== */
/* 1. TOKEN                                                               */
/* ===================================================================== */

:root {
    /* colore: un solo accento (rosso Puntify), neutri freddi */
    --v2-accent: #b80000;
    --v2-accent-hover: #9a0000;
    --v2-accent-active: #7f0000;
    --v2-accent-bg: #fff1ef;
    --v2-accent-border: #f5cdc8;
    --v2-accent-soft: #ffb4a8; /* accento leggibile sopra foto/fondi scuri */
    --v2-fg: #121214;
    --v2-fg-muted: #5c606b;
    --v2-fg-subtle: #8b8f99;
    --v2-fg-on-accent: #ffffff;
    --v2-canvas: #f5f5f7;
    --v2-surface: #ffffff;
    --v2-subtle: #fafafb;
    --v2-border: #e5e5ea;
    --v2-border-subtle: #eeeef2;
    --v2-border-strong: #cfcfd6;
    --v2-success: #1f7a4d;
    --v2-success-bg: #e6f5ec;
    --v2-success-bright: #34c759;
    --v2-warning: #8a5300;
    --v2-warning-bg: #fff4e0;
    --v2-info: #2f5cad;
    --v2-info-bg: #ebf1fb;
    /* fondi "morbidi" caldi (pesca/rosa) per card e bande */
    --v2-soft-a: #fff2ee;
    --v2-soft-b: #fff8f3;
    --v2-soft-c: #fdf0f3;
    /* rgb delle ombre: calde, mai nere pure */
    --v2-shadow-rgb: 70 18 18;
    --v2-red-grad: linear-gradient(135deg, #6e0000 0%, #b80000 52%, #d63b26 100%);
    --v2-red-glow:
        radial-gradient(70% 60% at 12% 8%, #e8513b 0%, transparent 60%),
        radial-gradient(60% 60% at 92% 92%, #f59a6b 0%, transparent 60%);
    --v2-soft-grad: linear-gradient(150deg, var(--v2-soft-a) 0%, var(--v2-soft-b) 50%, var(--v2-soft-c) 100%);

    /* ombre */
    --v2-shadow-xs: 0 1px 2px rgb(0 0 0 / 0.05);
    --v2-shadow-sm: 0 1px 2px rgb(0 0 0 / 0.04), 0 0 0 1px rgb(0 0 0 / 0.04);
    --v2-shadow-md: 0 18px 36px -16px rgb(var(--v2-shadow-rgb) / 0.4);
    --v2-shadow-lg: 0 30px 60px -36px rgb(var(--v2-shadow-rgb) / 0.4);
    --v2-shadow-xl: 0 50px 90px -40px rgb(var(--v2-shadow-rgb) / 0.55);
    --v2-shadow-pop: 0 24px 60px -18px rgb(15 15 30 / 0.22), 0 0 0 1px rgb(0 0 0 / 0.05);

    /* movimento */
    --v2-ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --v2-ease-io: cubic-bezier(0.65, 0, 0.35, 1);
    --v2-ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --v2-dur-fast: 200ms;
    --v2-dur: 500ms;
    --v2-dur-slow: 900ms;
    --v2-stagger: 90ms;

    /* font */
    --v2-font: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", "Noto Sans Arabic",
        "Noto Sans Devanagari", "Noto Sans Bengali", "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;

    /* griglia e ritmo (token --site-* di Planitude) */
    --v2-max: 1440px;
    --v2-gutter: 16px;
    --v2-header-h: 64px;
    --v2-section-y: 48px;
    --v2-head-gap: 8px;
    --v2-head-to-content: 48px;
    --v2-grid-gap: 16px;
    --v2-head-w: 1000px;
    --v2-lead-w: 816px;
    --v2-prose-w: 720px;

    /* raggi */
    --v2-r-xs: 8px;
    --v2-r-sm: 12px;
    --v2-r-md: 18px;
    --v2-r-media: 24px;
    --v2-r-card: 32px;
    --v2-r-banner: 40px;
    --v2-r-pill: 999px;

    /* scala tipografica (px/line-height), cambia a 768 e 1024 */
    --v2-display: 36px;
    --v2-display-lh: 46px;
    --v2-h1: 34px;
    --v2-h1-lh: 42px;
    --v2-h2xl: 32px;
    --v2-h2xl-lh: 36px;
    --v2-h2: 28px;
    --v2-h2-lh: 34px;
    --v2-h3: 22px;
    --v2-h3-lh: 30px;
    --v2-feature: 20px;
    --v2-feature-lh: 28px;
    --v2-lead: 18px;
    --v2-lead-lh: 27px;
    --v2-body: 16px;
    --v2-body-lh: 24px;
    --v2-small: 14px;
    --v2-small-lh: 20px;
    --v2-xs: 12.5px;
    --v2-xs-lh: 17px;
    --v2-ls-heading: -0.012em;
}
@media (min-width: 768px) {
    :root {
        --v2-section-y: 80px;
        --v2-display: 48px;
        --v2-display-lh: 56px;
        --v2-h1: 44px;
        --v2-h1-lh: 52px;
        --v2-h2xl: 40px;
        --v2-h2xl-lh: 48px;
        --v2-h2: 32px;
        --v2-h2-lh: 40px;
        --v2-h3: 24px;
        --v2-h3-lh: 32px;
        --v2-feature: 22px;
        --v2-feature-lh: 30px;
    }
}
@media (min-width: 1024px) {
    :root {
        --v2-header-h: 72px;
        --v2-gutter: 32px;
        --v2-grid-gap: 32px;
        --v2-display: 64px;
        --v2-display-lh: 72px;
        --v2-h1: 56px;
        --v2-h1-lh: 64px;
        --v2-h2xl: 48px;
        --v2-h2xl-lh: 56px;
        --v2-h2: 40px;
        --v2-h2-lh: 48px;
    }
}

/* Il sito mette overflow-x:hidden su html e body (app.css): body diventa un contenitore
   di scorrimento e position:sticky smette di funzionare. "clip" taglia allo stesso modo
   senza creare il contenitore (dove non e' supportato resta hidden). */
html,
body {
    overflow-x: clip;
}

/* ===================================================================== */
/* 2. GUSCIO .v2 + RESET                                                  */
/* ===================================================================== */

.v2 {
    font-family: var(--v2-font);
    font-optical-sizing: auto;
    color: var(--v2-fg);
    font-size: var(--v2-body);
    line-height: var(--v2-body-lh);
    letter-spacing: -0.005em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
/* pagina intera convertita: fondo bianco esplicito */
.v2-page {
    background: var(--v2-surface);
}
/* Scritture senza maiuscole/legature latine: niente tracking negativo, a capo per sintagmi. */
.v2:is(:lang(zh), :lang(ar), :lang(hi), :lang(bn)),
:is(:lang(zh), :lang(ar), :lang(hi), :lang(bn)) .v2 {
    --v2-ls-heading: 0;
    letter-spacing: 0;
}
.v2 :is(h1, h2, h3, h4, p):lang(zh) {
    word-break: auto-phrase;
}

/* Reset a specificita' zero (:where): qualunque classe .v2-* lo sovrascrive. */
:where(.v2) *,
:where(.v2) *::before,
:where(.v2) *::after {
    box-sizing: border-box;
}
:where(.v2) :where(h1, h2, h3, h4, h5, h6, p, ul, ol, dl, dd, figure, blockquote) {
    margin: 0;
    padding: 0;
}
:where(.v2) :where(ul, ol) {
    list-style: none;
}
:where(.v2) :where(h1, h2, h3, h4, h5, h6) {
    font-weight: 500;
    color: inherit;
}
:where(.v2) :where(img, video) {
    max-width: 100%;
}
:where(.v2) :where(a) {
    color: inherit;
    text-decoration: none;
}
:where(.v2) :where(button) {
    font: inherit;
    color: inherit;
}
/* Tailwind (preflight) rende le svg "display:block": le icone in riga devono restare in riga */
:where(.v2) :where(svg) {
    flex-shrink: 0;
}

.v2 a:focus-visible,
.v2 button:focus-visible,
.v2 summary:focus-visible,
.v2 [tabindex]:focus-visible {
    outline: 2px solid var(--v2-accent);
    outline-offset: 3px;
    border-radius: 10px;
}

.v2-sr {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

/* ===================================================================== */
/* 3. LAYOUT: contenitore, sezione, testata di sezione                    */
/* ===================================================================== */

.v2-container {
    width: 100%;
    max-width: calc(var(--v2-max) + 2 * var(--v2-gutter));
    margin-inline: auto;
    padding-inline: var(--v2-gutter);
}
.v2-container-narrow {
    max-width: calc(1080px + 2 * var(--v2-gutter));
}
.v2-container-prose {
    max-width: calc(var(--v2-prose-w) + 2 * var(--v2-gutter));
}

.v2-section {
    padding-block: var(--v2-section-y);
    scroll-margin-top: calc(var(--v2-header-h) + 16px);
}
.v2-section-canvas {
    background: var(--v2-canvas);
}
.v2-section-soft {
    background: linear-gradient(180deg, var(--v2-surface) 0%, var(--v2-soft-b) 100%);
}
.v2-section-flush-top {
    padding-top: 0;
}
.v2-section-flush-bottom {
    padding-bottom: 0;
}
/* due sezioni dello stesso colore una dopo l'altra: separatore sottile */
.v2-section-rule {
    border-top: 1px solid var(--v2-border);
}

/* testata di sezione: eyebrow -> titolo -> lead a 8px, poi 48px al contenuto */
.v2-head {
    max-width: var(--v2-head-w);
}
.v2-head-center {
    margin-inline: auto;
    text-align: center;
}
.v2-head-center .v2-lead {
    margin-inline: auto;
}
.v2-head > * + * {
    margin-top: var(--v2-head-gap);
}
.v2-after-head {
    margin-top: var(--v2-head-to-content);
}

/* ===================================================================== */
/* 4. TIPOGRAFIA                                                          */
/* ===================================================================== */

.v2-eyebrow {
    display: block;
    font-size: var(--v2-small);
    line-height: var(--v2-small-lh);
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--v2-accent);
}
.v2-display,
.v2-h1,
.v2-h2xl,
.v2-h2,
.v2-h3 {
    font-weight: 500;
    letter-spacing: var(--v2-ls-heading);
    text-wrap: balance;
}
.v2-display {
    font-size: var(--v2-display);
    line-height: var(--v2-display-lh);
}
.v2-h1 {
    font-size: var(--v2-h1);
    line-height: var(--v2-h1-lh);
}
.v2-h2xl {
    font-size: var(--v2-h2xl);
    line-height: var(--v2-h2xl-lh);
}
.v2-h2 {
    font-size: var(--v2-h2);
    line-height: var(--v2-h2-lh);
}
.v2-h3 {
    font-size: var(--v2-h3);
    line-height: var(--v2-h3-lh);
}
.v2-h4 {
    font-size: 19px;
    line-height: 26px;
    font-weight: 600;
    letter-spacing: -0.005em;
}
.v2-feature {
    font-size: var(--v2-feature);
    line-height: var(--v2-feature-lh);
    font-weight: 400;
}
.v2-lead {
    max-width: var(--v2-lead-w);
    font-size: var(--v2-lead);
    line-height: var(--v2-lead-lh);
    color: var(--v2-fg-muted);
    text-wrap: pretty;
}
.v2-body {
    font-size: var(--v2-body);
    line-height: var(--v2-body-lh);
}
.v2-small {
    font-size: var(--v2-small);
    line-height: var(--v2-small-lh);
}
.v2-xs {
    font-size: var(--v2-xs);
    line-height: var(--v2-xs-lh);
}
.v2-muted {
    color: var(--v2-fg-muted);
}
.v2-subtle {
    color: var(--v2-fg-subtle);
}
/* parte del titolo in rosso (seconda riga del titolo "nero|rosso") */
.v2-accent-text {
    color: var(--v2-accent);
}
/* seconda riga del titolo, a capo e in rosso: <h2>Titolo <span class="v2-accent-line">evidenza</span></h2> */
.v2-accent-line {
    display: block;
    color: var(--v2-accent);
}
.v2-num {
    font-variant-numeric: tabular-nums;
}
/* markup ammesso nei testi resx (<strong>, <br>) */
.v2-lead strong,
.v2-body strong {
    color: var(--v2-fg);
    font-weight: 600;
}

/* ===================================================================== */
/* 5. LINK E BOTTONI                                                      */
/* ===================================================================== */

/* link con freccia disegnata dal CSS (animata, girata in RTL): nel testo niente "→" */
.v2-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: var(--v2-body);
    font-weight: 600;
    color: var(--v2-accent);
    text-decoration: none;
    cursor: pointer;
}
.v2-link::after {
    content: "→";
    transition: transform 0.4s var(--v2-ease-out);
}
[dir="rtl"] .v2-link::after,
.v2-link:dir(rtl)::after {
    content: "←";
}
.v2-link:hover {
    color: var(--v2-accent-hover);
}
.v2-link:hover::after {
    transform: translateX(4px);
}
[dir="rtl"] .v2-link:hover::after {
    transform: translateX(-4px);
}
.v2-link-row {
    margin-top: var(--v2-head-to-content);
    text-align: center;
}
/* link "tranquillo" (footer, liste): grigio, scuro al passaggio */
.v2-link-quiet {
    color: var(--v2-fg-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}
.v2-link-quiet:hover {
    color: var(--v2-fg);
}
/* link nel testo corrente */
.v2-link-inline {
    color: var(--v2-accent);
    font-weight: 500;
    text-decoration: underline;
    text-decoration-color: rgb(184 0 0 / 0.3);
    text-underline-offset: 3px;
}
.v2-link-inline:hover {
    text-decoration-color: currentColor;
}

/* bottoni a pillola (misure Planitude: 40 / 44 / 52 px) */
.v2-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 44px;
    padding-inline: 22px;
    border: 1px solid transparent;
    border-radius: var(--v2-r-pill);
    font-family: var(--v2-font);
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.005em;
    white-space: nowrap;
    text-decoration: none;
    cursor: pointer;
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        transform 0.4s var(--v2-ease-out),
        box-shadow 0.4s var(--v2-ease-out);
}
.v2-btn-sm {
    height: 40px;
    padding-inline: 18px;
    font-size: 14px;
}
.v2-btn-lg {
    height: 52px;
    padding-inline: 30px;
}
.v2-btn-block {
    width: 100%;
}
.v2-btn-primary {
    background: var(--v2-accent);
    color: #fff;
}
.v2-btn-primary:hover {
    background: var(--v2-accent-hover);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 10px 24px -10px rgb(184 0 0 / 0.7);
}
.v2-btn-secondary {
    border-color: var(--v2-border);
    background: var(--v2-surface);
    color: var(--v2-fg);
    box-shadow: var(--v2-shadow-xs);
}
.v2-btn-secondary:hover {
    border-color: var(--v2-border-strong);
    color: var(--v2-fg);
    transform: translateY(-1px);
}
.v2-btn-ghost {
    background: transparent;
    color: var(--v2-fg);
}
.v2-btn-ghost:hover {
    background: rgb(18 18 20 / 0.05);
    color: var(--v2-fg);
}
/* su foto o fondo rosso */
.v2-btn-light {
    background: #fff;
    color: var(--v2-accent);
    box-shadow: 0 12px 28px -12px rgb(0 0 0 / 0.45);
}
.v2-btn-light:hover {
    background: #fff;
    color: var(--v2-accent-hover);
    transform: translateY(-1px);
}
.v2-btn-glass {
    border-color: rgb(255 255 255 / 0.35);
    background: rgb(255 255 255 / 0.14);
    color: #fff;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.v2-btn-glass:hover {
    background: rgb(255 255 255 / 0.24);
    color: #fff;
}
.v2-btn:active {
    transform: scale(0.98);
}
.v2 .v2-btn:focus-visible {
    border-radius: var(--v2-r-pill);
}
.v2-btn svg {
    width: 18px;
    height: 18px;
}
.v2-btn-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}
.v2-head-center .v2-btn-row,
.v2-btn-row-center {
    justify-content: center;
}
@media (max-width: 479px) {
    .v2-btn-row-stack {
        flex-direction: column;
        align-items: stretch;
    }
    .v2-btn-row-stack .v2-btn {
        width: 100%;
    }
}

/* ===================================================================== */
/* 6. RIVELAZIONI ALLO SCROLL (js/site-v2.js mette data-v2-shown)         */
/* ===================================================================== */
/* data-v2-reveal         -> sale di 22px e compare
   data-v2-reveal="zoom"  -> sale e si ingrandisce da 0.96
   data-v2-reveal="fade"  -> solo dissolvenza
   data-v2-reveal="start" -> entra dal lato iniziale (sinistra in LTR, destra in RTL)
   style="--i:n"          -> ritardo n * 90 ms (stagger)                          */
@media (prefers-reduced-motion: no-preference) {
    .v2-js [data-v2-reveal] {
        transition:
            opacity 0.8s cubic-bezier(0.2, 0.7, 0.2, 1),
            transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
        transition-delay: calc(var(--i, 0) * var(--v2-stagger));
    }
    .v2-js [data-v2-reveal]:not([data-v2-shown]) {
        opacity: 0;
        transform: translateY(22px);
    }
    .v2-js [data-v2-reveal="zoom"]:not([data-v2-shown]) {
        transform: translateY(28px) scale(0.96);
    }
    .v2-js [data-v2-reveal="fade"]:not([data-v2-shown]) {
        transform: none;
    }
    .v2-js [data-v2-reveal="start"]:not([data-v2-shown]) {
        transform: translateX(-24px);
    }
    .v2-js [dir="rtl"] [data-v2-reveal="start"]:not([data-v2-shown]) {
        transform: translateX(24px);
    }
}

/* ===================================================================== */
/* 7. PILLOLE / BADGE                                                     */
/* ===================================================================== */

.v2-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: fit-content;
    padding: 5px 12px;
    border-radius: var(--v2-r-pill);
    background: var(--v2-canvas);
    color: var(--v2-fg-muted);
    font-size: 13px;
    line-height: 18px;
    font-weight: 600;
    white-space: nowrap;
}
.v2-pill svg {
    width: 14px;
    height: 14px;
}
.v2-pill-accent {
    background: var(--v2-accent-bg);
    color: var(--v2-accent);
}
.v2-pill-success {
    background: var(--v2-success-bg);
    color: var(--v2-success);
}
.v2-pill-warning {
    background: var(--v2-warning-bg);
    color: var(--v2-warning);
}
.v2-pill-info {
    background: var(--v2-info-bg);
    color: var(--v2-info);
}
.v2-pill-solid {
    background: var(--v2-accent);
    color: #fff;
}
.v2-pill-outline {
    border: 1px solid var(--v2-border);
    background: var(--v2-surface);
    color: var(--v2-fg);
}
/* su foto / fondo rosso */
.v2-pill-glass {
    border: 1px solid rgb(255 255 255 / 0.3);
    background: rgb(255 255 255 / 0.16);
    color: #fff;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.v2-pill-sm {
    padding: 3px 9px;
    font-size: 11.5px;
    line-height: 16px;
    letter-spacing: 0.02em;
}
/* puntino vivo (online, disponibile) */
.v2-live {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 0 rgb(34 197 94 / 0.6);
    animation: v2-ping 2.4s ease-out infinite;
}
@keyframes v2-ping {
    70%,
    100% {
        box-shadow: 0 0 0 8px rgb(34 197 94 / 0);
    }
}

/* ===================================================================== */
/* 8. CARD E ICONE                                                        */
/* ===================================================================== */

.v2-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 28px;
    border: 1px solid var(--v2-border);
    border-radius: var(--v2-r-media);
    background: var(--v2-surface);
}
.v2-card-lg {
    padding: 40px;
    border-radius: var(--v2-r-card);
}
.v2-card-flat {
    border-color: transparent;
    background: var(--v2-canvas);
}
.v2-section-canvas .v2-card-flat {
    background: var(--v2-surface);
}
.v2-card-soft {
    border-color: transparent;
    background: var(--v2-soft-grad);
}
.v2-card-elevated {
    border-color: transparent;
    box-shadow: var(--v2-shadow-lg), 0 0 0 1px rgb(0 0 0 / 0.04);
}
/* card in evidenza (piano consigliato) */
.v2-card-accent {
    border: 1.5px solid var(--v2-accent);
    box-shadow: 0 30px 60px -36px rgb(184 0 0 / 0.5);
}
/* card cliccabile: si alza al passaggio */
.v2-card-hover {
    transition:
        transform 0.5s var(--v2-ease-out),
        box-shadow 0.5s var(--v2-ease-out),
        border-color 0.3s ease;
}
.v2-card-hover:hover {
    transform: translateY(-4px);
    border-color: var(--v2-border-strong);
    box-shadow: var(--v2-shadow-lg);
}
.v2-card-title {
    font-size: 19px;
    line-height: 26px;
    font-weight: 600;
    letter-spacing: -0.005em;
}
.v2-card-text {
    color: var(--v2-fg-muted);
}
.v2-card-foot {
    margin-top: auto;
    padding-top: 12px;
}
/* pillola che "esce" dal bordo alto della card (es. "Piu' scelto") */
.v2-card-flag {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* riquadro icona: quadrato morbido rosso tenue con icona a tratto */
.v2-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 14px;
    background: var(--v2-accent-bg);
    color: var(--v2-accent);
}
.v2-icon svg {
    width: 22px;
    height: 22px;
}
.v2-icon-sm {
    width: 36px;
    height: 36px;
    border-radius: 11px;
}
.v2-icon-sm svg {
    width: 18px;
    height: 18px;
}
.v2-icon-lg {
    width: 56px;
    height: 56px;
    border-radius: 18px;
}
.v2-icon-lg svg {
    width: 26px;
    height: 26px;
}
.v2-icon-solid {
    background: var(--v2-accent);
    color: #fff;
}
.v2-icon-white {
    background: var(--v2-surface);
    color: var(--v2-accent);
    box-shadow: var(--v2-shadow-xs);
}
.v2-icon-success {
    background: var(--v2-success-bg);
    color: var(--v2-success);
}

/* ===================================================================== */
/* 9. GRIGLIE                                                             */
/* ===================================================================== */

.v2-grid {
    display: grid;
    gap: var(--v2-grid-gap);
    grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 640px) {
    .v2-grid-2,
    .v2-grid-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (min-width: 768px) {
    .v2-grid-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
@media (min-width: 1024px) {
    .v2-grid-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}
/* griglia automatica: tante colonne quante ne entrano (min 260px) */
.v2-grid-auto {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
}

/* elenco funzioni: icona + titolo + testo, senza card */
.v2-features {
    display: grid;
    gap: 40px var(--v2-grid-gap);
    grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 640px) {
    .v2-features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (min-width: 1024px) {
    .v2-features {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
.v2-feature-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.v2-feature-item .v2-icon {
    margin-bottom: 6px;
}

/* ===================================================================== */
/* 10. SEZIONE DIVISA (foto/visuale + testo)                              */
/* ===================================================================== */

.v2-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    align-items: center;
}
@media (min-width: 1024px) {
    .v2-split {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: clamp(48px, 6vw, 96px);
    }
    /* media a sinistra, testo a destra (in RTL si specchia da solo) */
    .v2-split-reverse > .v2-split-media {
        order: -1;
    }
    .v2-split-wide-media {
        grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    }
}
.v2-split-copy > * + * {
    margin-top: var(--v2-head-gap);
}
.v2-split-copy > .v2-checklist,
.v2-split-copy > .v2-btn-row,
.v2-split-copy > .v2-link {
    margin-top: 24px;
}
.v2-split + .v2-split {
    margin-top: calc(var(--v2-section-y) * 1.2);
}

/* riquadro media: foto arrotondata su fondo morbido, con alone */
.v2-media {
    position: relative;
    overflow: hidden;
    border-radius: var(--v2-r-media);
    background: var(--v2-canvas);
    isolation: isolate;
}
.v2-media > img,
.v2-media > video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s var(--v2-ease-out);
}
.v2-media-hover:hover > img {
    transform: scale(1.03);
}
/* aspetto fisso: style="--ratio: 4/3" (default 16/10) */
.v2-media-ratio {
    aspect-ratio: var(--ratio, 16 / 10);
}
/* "palco": la foto galleggia dentro un fondo morbido con gradienti (come il tour della home) */
.v2-stage {
    --mx: 0;
    --my: 0;
    position: relative;
    padding: clamp(20px, 5%, 48px);
    overflow: hidden;
    border-radius: var(--v2-r-media);
    isolation: isolate;
}
.v2-stage::before {
    content: "";
    position: absolute;
    inset: -6%;
    z-index: -1;
    background:
        radial-gradient(70% 60% at 8% 6%, rgb(184 0 0 / 0.14) 0%, transparent 70%),
        radial-gradient(70% 60% at 96% 96%, rgb(255 150 110 / 0.3) 0%, transparent 70%),
        var(--v2-soft-grad);
    transform: translate3d(calc(var(--mx) * -14px), calc(var(--my) * -14px), 0);
    transition: transform 0.8s var(--v2-ease-out);
}
.v2-stage > .v2-media {
    border-radius: var(--v2-r-md);
    box-shadow:
        0 36px 70px -28px rgb(var(--v2-shadow-rgb) / 0.5),
        0 0 0 1px rgb(var(--v2-shadow-rgb) / 0.08);
    transform: translate3d(calc(var(--mx) * 10px), calc(var(--my) * 8px), 0);
    transition: transform 0.9s var(--v2-ease-out);
}

/* finestra "browser" intorno a un video/screenshot */
.v2-frame {
    overflow: hidden;
    border-radius: var(--v2-r-media);
    background: #fff;
    box-shadow:
        0 40px 80px -36px rgb(var(--v2-shadow-rgb) / 0.4),
        0 0 0 1px rgb(0 0 0 / 0.06);
}
.v2-frame-bar {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--v2-border-subtle);
    background: var(--v2-subtle);
}
.v2-frame-bar > i {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #e2e2e7;
}
.v2-frame-bar > span {
    margin-inline: auto;
    padding: 3px 14px;
    border-radius: 8px;
    background: #fff;
    color: var(--v2-fg-subtle);
    font-size: 12px;
    direction: ltr;
}
.v2-frame-video {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #000;
}
.v2-frame-video > iframe,
.v2-frame-video > video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* YouTube "leggero" ([data-v2yt], js/v2-video-autoplay.js): miniatura nostra con il bottone play
   finche' il video non serve; l'iframe nasce in vista (autoplay muto) o al clic. */
.v2-yt-poster {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: var(--v2-fg);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
.v2-yt-poster > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.v2-yt-play {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    width: 84px;
    height: 84px;
    margin: auto; /* centrato senza transform: uguale in LTR e RTL */
    border-radius: var(--v2-r-pill);
    background: var(--v2-accent);
    color: var(--v2-surface);
    box-shadow:
        0 18px 40px -14px rgb(var(--v2-shadow-rgb) / 0.6),
        0 0 0 10px color-mix(in srgb, var(--v2-surface) 35%, transparent);
    transition: transform var(--v2-dur-fast) var(--v2-ease-out), background-color var(--v2-dur-fast) var(--v2-ease-out);
}
.v2-yt-play > svg {
    margin-left: 4px; /* centratura ottica del triangolo (il simbolo play non si specchia in RTL) */
}
.v2-yt-poster:hover .v2-yt-play {
    background: var(--v2-accent-hover);
    transform: scale(1.06);
}
.v2-yt-poster:focus-visible {
    outline: 3px solid var(--v2-accent);
    outline-offset: -3px;
}
/* senza JS resta l'iframe del <noscript>; con l'iframe caricato la miniatura sparisce */
.v2-yt:not(.is-ready) > .v2-yt-poster,
.v2-yt.is-loaded > .v2-yt-poster {
    display: none;
}
.v2-yt > iframe,
.v2-yt > noscript > iframe {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    border: 0;
}
@media (max-width: 767px) {
    .v2-yt-play {
        width: 64px;
        height: 64px;
        box-shadow:
            0 14px 30px -12px rgb(var(--v2-shadow-rgb) / 0.6),
            0 0 0 7px color-mix(in srgb, var(--v2-surface) 35%, transparent);
    }
    .v2-yt-play > svg {
        width: 24px;
        height: 24px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .v2-yt-play { transition: none; }
    .v2-yt-poster:hover .v2-yt-play { transform: none; }
}

/* Pulsante "Attiva l'audio" dei video in autoplay muto (js/v2-video-autoplay.js): visibile solo
   mentre il contenitore ha .is-muted-auto. In alto, per non coprire i comandi del player. */
.v2-vid-unmute {
    position: absolute;
    inset-block-start: 14px;
    inset-inline-start: 14px;
    z-index: 3;
    display: none;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border: 0;
    border-radius: var(--v2-r-pill);
    background: color-mix(in srgb, var(--v2-fg) 72%, transparent);
    color: var(--v2-surface);
    font: 600 15px/1 var(--v2-font, inherit);
    cursor: pointer;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 8px 24px rgb(var(--v2-shadow-rgb) / 0.18);
    transition: background-color var(--v2-dur-fast) ease, transform var(--v2-dur-fast) ease;
}
.v2-vid-unmute > svg {
    flex: none;
}
.v2-vid-unmute:hover {
    background: var(--v2-accent);
}
.v2-vid-unmute:active {
    transform: scale(0.97);
}
.v2-vid-unmute:focus-visible {
    outline: 3px solid var(--v2-surface);
    outline-offset: 2px;
}
.is-muted-auto .v2-vid-unmute {
    display: inline-flex;
}
@media (max-width: 480px) {
    .v2-vid-unmute {
        inset-block-start: 10px;
        inset-inline-start: 10px;
        padding: 8px 12px;
        font-size: 13px;
    }
}

/* lista con spunte */
.v2-checklist {
    display: grid;
    gap: 10px;
}
.v2-checklist > li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 15.5px;
    line-height: 23px;
}
.v2-checklist > li::before {
    content: "";
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-top: 1.5px;
    border-radius: 50%;
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f7a4d' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E")
            center / 12px no-repeat,
        var(--v2-success-bg);
}
.v2-checklist-accent > li::before {
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b80000' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E")
            center / 12px no-repeat,
        var(--v2-accent-bg);
}
.v2-checklist-muted > li {
    color: var(--v2-fg-muted);
}

/* passi numerati (1 2 3) con cerchio che si disegna */
.v2-steps {
    display: grid;
    border-top: 1px solid var(--v2-border);
}
.v2-steps > li {
    display: flex;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid var(--v2-border);
}
.v2-step-num {
    position: relative;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border: 1.6px solid var(--v2-accent);
    border-radius: 50%;
    color: var(--v2-accent);
    font-size: 15px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}
.v2-step-title {
    font-size: 19px;
    line-height: 26px;
    font-weight: 600;
}
.v2-step-text {
    margin-top: 4px;
    color: var(--v2-fg-muted);
}

/* nota/avviso in linea (disclaimer, "senza cassa collegata"...) */
.v2-note {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 22px;
    border: 1px solid var(--v2-border);
    border-radius: var(--v2-r-md);
    background: var(--v2-surface);
    color: var(--v2-fg-muted);
    font-size: 15px;
    line-height: 23px;
}
.v2-note > svg,
.v2-note > .v2-icon {
    flex-shrink: 0;
}
.v2-note > svg {
    width: 22px;
    height: 22px;
    margin-top: 1px;
    color: var(--v2-accent);
}
.v2-note strong {
    color: var(--v2-fg);
    font-weight: 600;
}
.v2-note-accent {
    border-color: var(--v2-accent-border);
    background: var(--v2-accent-bg);
}
.v2-note-success {
    border-color: #c9e9d6;
    background: var(--v2-success-bg);
}
.v2-note-success > svg {
    color: var(--v2-success);
}
.v2-section-canvas .v2-note:not(.v2-note-accent, .v2-note-success) {
    border-color: transparent;
}

/* ===================================================================== */
/* 11. HERO DELLE PAGINE INTERNE                                          */
/* ===================================================================== */
/* .v2-page-hero = foto arrotondata nel contenitore, testo bianco in basso a inizio riga
   (velatura solo dove c'e' il testo: la foto resta luminosa). Con data-v2-progress="leave"
   la foto si allontana leggermente scorrendo.
   .v2-page-hero-plain = senza foto, fondo morbido, testo centrato (prezzi, legali, supporto). */

.v2-page-hero {
    --v2-p: 0;
    padding-top: calc(var(--v2-header-h) + 12px);
}
.v2-page-hero-media {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: clamp(480px, 72svh, 760px);
    overflow: hidden;
    border-radius: var(--v2-r-banner);
    background: #2a1714;
    color: #fff;
    isolation: isolate;
    transform: scale(calc(1 - var(--v2-p) * 0.04));
}
.v2-page-hero-media > img {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: var(--pos, 50% 50%);
    transform: translateY(calc(var(--v2-p) * 24px)) scale(1.06);
    animation: v2-hero-kb 9s cubic-bezier(0.25, 0.1, 0.25, 1) both;
}
@keyframes v2-hero-kb {
    from {
        scale: 1.06;
    }
    to {
        scale: 1;
    }
}
.v2-page-hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(to top, rgb(18 6 4 / 0.72) 0%, rgb(18 6 4 / 0.4) 32%, rgb(18 6 4 / 0) 62%),
        linear-gradient(to right, rgb(18 6 4 / 0.38) 0%, rgb(18 6 4 / 0) 60%);
}
[dir="rtl"] .v2-page-hero-media::after {
    background:
        linear-gradient(to top, rgb(18 6 4 / 0.72) 0%, rgb(18 6 4 / 0.4) 32%, rgb(18 6 4 / 0) 62%),
        linear-gradient(to left, rgb(18 6 4 / 0.38) 0%, rgb(18 6 4 / 0) 60%);
}
.v2-page-hero-content {
    width: 100%;
    max-width: 820px;
    padding: clamp(28px, 5vw, 64px);
    text-shadow:
        0 1px 2px rgb(0 0 0 / 0.2),
        0 6px 28px rgb(0 0 0 / 0.3);
}
.v2-page-hero-content > * + * {
    margin-top: 12px;
}
.v2-page-hero .v2-eyebrow {
    color: #fff;
    opacity: 0.92;
}
.v2-page-hero .v2-h1,
.v2-page-hero .v2-display {
    color: #fff;
}
/* seconda parte del titolo: bianco attenuato (come l'hero della home) */
.v2-page-hero .v2-h1-soft {
    display: block;
    color: rgb(255 255 255 / 0.78);
}
.v2-page-hero .v2-lead {
    color: rgb(255 255 255 / 0.92);
}
.v2-page-hero .v2-lead strong {
    color: #fff;
}
.v2-page-hero .v2-btn-row {
    margin-top: 28px;
    text-shadow: none;
}
@media (prefers-reduced-motion: no-preference) {
    .v2-page-hero-content > * {
        animation: v2-rise 1s var(--v2-ease-out) both;
    }
    .v2-page-hero-content > :nth-child(2) {
        animation-delay: 0.1s;
    }
    .v2-page-hero-content > :nth-child(3) {
        animation-delay: 0.2s;
    }
    .v2-page-hero-content > :nth-child(n + 4) {
        animation-delay: 0.3s;
    }
}
@keyframes v2-rise {
    from {
        opacity: 0;
        transform: translateY(18px);
        filter: blur(6px);
    }
}
@media (max-width: 639px) {
    .v2-page-hero {
        padding-top: calc(var(--v2-header-h) + 8px);
    }
    .v2-page-hero > .v2-container {
        padding-inline: 8px;
    }
    .v2-page-hero-media {
        min-height: min(640px, calc(100svh - var(--v2-header-h) - 24px));
        border-radius: var(--v2-r-card);
    }
    .v2-page-hero-media > img {
        object-position: var(--pos-m, var(--pos, 50% 50%));
    }
    .v2-page-hero-content {
        padding: 24px 20px 28px;
    }
}

/* variante senza foto */
.v2-page-hero-plain {
    position: relative;
    padding: calc(var(--v2-header-h) + clamp(40px, 7vw, 96px)) 0 clamp(40px, 6vw, 80px);
    overflow: hidden;
    background:
        radial-gradient(55% 60% at 50% -10%, rgb(184 0 0 / 0.08), transparent 70%),
        radial-gradient(40% 50% at 92% 20%, rgb(245 154 107 / 0.16), transparent 70%),
        linear-gradient(180deg, var(--v2-soft-b) 0%, var(--v2-surface) 100%);
    text-align: center;
}
.v2-page-hero-plain .v2-head {
    margin-inline: auto;
}
.v2-page-hero-plain .v2-lead {
    margin-inline: auto;
}
.v2-page-hero-plain .v2-btn-row {
    justify-content: center;
    margin-top: 28px;
}
.v2-page-hero-plain.v2-page-hero-start {
    text-align: start;
}
.v2-page-hero-plain.v2-page-hero-start .v2-head,
.v2-page-hero-plain.v2-page-hero-start .v2-lead {
    margin-inline: 0;
}
.v2-page-hero-plain.v2-page-hero-start .v2-btn-row {
    justify-content: flex-start;
}

/* riga di fatti sotto un hero: <dl class="v2-hero-facts"><div class="v2-hero-fact"><dt>etichetta</dt><dd>valore</dd></div>
   (dt prima di dd come vuole l'HTML; il valore viene mostrato sopra con column-reverse) */
.v2-hero-facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
    margin-top: 12px;
}
.v2-hero-fact {
    display: flex;
    flex-direction: column-reverse;
    justify-content: flex-end;
    gap: 2px;
    padding: 18px 22px;
    border-radius: var(--v2-r-md);
    background: var(--v2-canvas);
}
.v2-hero-fact dd {
    font-size: 28px;
    line-height: 34px;
    font-weight: 500;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
}
.v2-hero-fact dt {
    color: var(--v2-fg-muted);
    font-size: var(--v2-small);
    line-height: var(--v2-small-lh);
}

/* ===================================================================== */
/* 12. NUMERI (con conteggio: data-v2-count)                              */
/* ===================================================================== */

.v2-stats {
    padding-block: var(--v2-section-y);
    border-block: 1px solid var(--v2-border);
    background: var(--v2-surface);
}
.v2-stats-grid {
    display: grid;
    grid-auto-columns: minmax(0, 1fr);
    grid-auto-flow: column;
}
.v2-stat {
    display: flex;
    flex-direction: column-reverse;
    justify-content: flex-end;
    align-items: center;
    padding-inline: 16px;
    text-align: center;
}
.v2-stat + .v2-stat {
    border-inline-start: 1px solid var(--v2-border);
}
.v2-stat-value {
    font-size: clamp(56px, 7.4vw, 104px);
    line-height: 1;
    letter-spacing: -0.045em;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
    background: linear-gradient(135deg, #8f0000 0%, #b80000 45%, #e8513b 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    padding: 0.06em 0.12em;
    margin: -0.06em -0.12em;
}
.v2-stat-label {
    margin-top: 12px;
    max-width: 22ch;
    color: var(--v2-fg-muted);
    text-wrap: balance;
}
@media (max-width: 767px) {
    .v2-stats-grid {
        grid-template-columns: minmax(0, 1fr);
        grid-auto-flow: row;
        row-gap: 40px;
    }
    .v2-stat + .v2-stat {
        border-inline-start: 0;
    }
}

/* ===================================================================== */
/* 13. ACCORDION / FAQ (<details>, risposte nel DOM per la SEO)           */
/* ===================================================================== */
/* <div class="v2-acc" data-v2-accordion="single"> <details class="v2-acc-item">
     <summary class="v2-acc-q"><span>Domanda</span><span class="v2-acc-sign" aria-hidden="true"></span></summary>
     <div class="v2-acc-a">Risposta</div></details> ... </div>                       */

.v2-acc {
    border-top: 1px solid var(--v2-border);
    interpolate-size: allow-keywords;
}
.v2-acc-item {
    border-bottom: 1px solid var(--v2-border);
}
.v2-acc-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 22px 0;
    list-style: none;
    font-size: var(--v2-h3);
    line-height: var(--v2-h3-lh);
    font-weight: 500;
    letter-spacing: var(--v2-ls-heading);
    cursor: pointer;
    transition: color 0.3s ease;
}
.v2-acc-q::-webkit-details-marker {
    display: none;
}
.v2-acc-q::marker {
    content: "";
}
@media (hover: hover) {
    .v2-acc-q:hover {
        color: var(--v2-accent);
    }
}
.v2-acc-sign {
    position: relative;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    border: 1px solid var(--v2-border);
    border-radius: 50%;
    color: var(--v2-fg);
    transition:
        transform 0.5s var(--v2-ease-out),
        background-color 0.3s ease,
        border-color 0.3s ease;
}
.v2-acc-sign::before,
.v2-acc-sign::after {
    content: "";
    position: absolute;
    width: 12px;
    height: 1.6px;
    border-radius: 1px;
    background: currentColor;
}
.v2-acc-sign::after {
    transform: rotate(90deg);
}
.v2-acc-item[open] .v2-acc-sign {
    transform: rotate(135deg);
    border-color: var(--v2-accent-border);
    background: var(--v2-accent-bg);
    color: var(--v2-accent);
}
.v2-acc-item::details-content {
    block-size: 0;
    overflow: hidden;
    transition:
        block-size 0.55s var(--v2-ease-out),
        content-visibility 0.55s allow-discrete;
}
.v2-acc-item[open]::details-content {
    block-size: auto;
}
.v2-acc-a {
    max-width: 68ch;
    padding-bottom: 24px;
    color: var(--v2-fg-muted);
    opacity: 0;
    transform: translateY(-6px);
    transition:
        opacity 0.45s ease,
        transform 0.6s var(--v2-ease-out);
}
.v2-acc-item[open] .v2-acc-a {
    opacity: 1;
    transform: none;
    transition-delay: 0.1s;
}
.v2-acc-a > * + * {
    margin-top: 10px;
}
.v2-acc-a a {
    color: var(--v2-accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}
/* versione compatta (domande piu' piccole, es. FAQ lunghe) */
.v2-acc-sm .v2-acc-q {
    padding-block: 18px;
    font-size: 18px;
    line-height: 26px;
}
@media (max-width: 1023px) {
    .v2-acc-q {
        padding-block: 18px;
        font-size: 19px;
        line-height: 26px;
    }
}
/* FAQ con titolo fermo a lato (desktop) */
.v2-faq-grid {
    display: grid;
    grid-template-columns: minmax(0, 22rem) minmax(0, 1fr);
    gap: calc(var(--v2-grid-gap) * 2);
}
.v2-faq-side {
    align-self: start;
    position: sticky;
    top: calc(var(--v2-header-h) + 32px);
}
.v2-faq-side > * + * {
    margin-top: 12px;
}
@media (max-width: 1023px) {
    .v2-faq-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }
    .v2-faq-side {
        position: static;
    }
}

/* ===================================================================== */
/* 14. BANDA CTA                                                          */
/* ===================================================================== */
/* .v2-cta-band        = carta morbida chiara, testo centrato (chiusura di pagina)
   .v2-cta-band-red    = carta rossa a gradiente, testo bianco (enfasi, Nemi)     */

.v2-cta-band {
    position: relative;
    display: grid;
    place-items: center;
    padding: clamp(56px, 9vw, 120px) 24px;
    overflow: hidden;
    border-radius: var(--v2-r-banner);
    background:
        radial-gradient(55% 55% at 50% 45%, #fff 0%, transparent 72%),
        var(--v2-soft-grad);
    text-align: center;
    isolation: isolate;
}
.v2-cta-band::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(40% 40% at 15% 20%, rgb(184 0 0 / 0.14), transparent 70%),
        radial-gradient(40% 40% at 85% 80%, rgb(245 154 107 / 0.25), transparent 70%);
}
.v2-cta-band-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 640px;
}
.v2-cta-band-inner > * + * {
    margin-top: var(--v2-head-gap);
}
.v2-cta-band .v2-btn-row {
    justify-content: center;
    margin-top: 32px;
}
.v2-cta-note {
    margin-top: 18px !important;
    font-size: 13px;
    line-height: 19px;
    color: var(--v2-fg-subtle);
}
.v2-cta-mark {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    margin-bottom: 16px;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 14px 34px -14px rgb(var(--v2-shadow-rgb) / 0.5);
}
.v2-cta-mark img {
    width: 32px;
    height: 32px;
}
.v2-cta-band-red {
    background: var(--v2-red-glow), var(--v2-red-grad);
    color: #fff;
}
.v2-cta-band-red::before {
    background: radial-gradient(30% 40% at 50% 40%, rgb(255 255 255 / 0.16), transparent 70%);
}
.v2-cta-band-red .v2-eyebrow {
    color: #fff;
    opacity: 0.85;
}
.v2-cta-band-red .v2-lead,
.v2-cta-band-red .v2-cta-note {
    color: rgb(255 255 255 / 0.86);
}
@media (max-width: 767px) {
    .v2-cta-band {
        border-radius: var(--v2-r-card);
    }
    .v2-cta-band .v2-btn-row {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }
}

/* banda rossa "di prodotto" (contenuto libero dentro, es. card bianche) */
.v2-band-red {
    --mx: 0;
    --my: 0;
    position: relative;
    padding: clamp(40px, 7vw, 96px) clamp(16px, 5vw, 64px);
    overflow: hidden;
    border-radius: var(--v2-r-banner);
    background: var(--v2-red-glow), var(--v2-red-grad);
    color: #fff;
    isolation: isolate;
}
.v2-band-red::before {
    content: "";
    position: absolute;
    inset: -30%;
    z-index: -1;
    background: radial-gradient(30% 30% at 50% 50%, rgb(255 255 255 / 0.18), transparent 70%);
    transform: translate3d(calc(var(--mx) * 30%), calc(var(--my) * 30%), 0);
    transition: transform 1s var(--v2-ease-out);
}
.v2-band-red .v2-eyebrow {
    color: #fff;
    opacity: 0.85;
}
.v2-band-red .v2-lead {
    color: rgb(255 255 255 / 0.88);
}
.v2-band-red .v2-card {
    border-color: transparent;
    color: var(--v2-fg);
    box-shadow: 0 30px 60px -30px rgb(40 0 0 / 0.6);
}
.v2-band-note {
    color: rgb(255 255 255 / 0.78);
    font-size: 13px;
    line-height: 19px;
}
@media (max-width: 767px) {
    .v2-band-red {
        border-radius: var(--v2-r-card);
    }
}

/* ===================================================================== */
/* 15. TABELLE                                                            */
/* ===================================================================== */

.v2-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--v2-border);
    border-radius: var(--v2-r-media);
    background: var(--v2-surface);
    -webkit-overflow-scrolling: touch;
}
.v2-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15.5px;
    line-height: 22px;
}
.v2-table :is(th, td) {
    padding: 16px 20px;
    border-bottom: 1px solid var(--v2-border-subtle);
    text-align: start;
    vertical-align: middle;
}
.v2-table thead th {
    background: var(--v2-subtle);
    color: var(--v2-fg-muted);
    font-size: 13px;
    line-height: 18px;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}
@media (min-width: 640px) {
    .v2-table thead th {
        white-space: nowrap;
    }
}
.v2-table tbody tr:last-child > * {
    border-bottom: 0;
}
.v2-table tbody th {
    font-weight: 500;
}
.v2-table .v2-td-num,
.v2-table .v2-td-center {
    text-align: center;
    font-variant-numeric: tabular-nums;
}
.v2-table-hover tbody tr {
    transition: background-color 0.2s ease;
}
.v2-table-hover tbody tr:hover {
    background: var(--v2-subtle);
}
/* colonna o riga in evidenza (Puntify nel confronto, fascia piu' conveniente) */
.v2-table .v2-col-accent {
    background: rgb(184 0 0 / 0.04);
    color: var(--v2-accent);
    font-weight: 600;
}
.v2-table thead .v2-col-accent {
    background: var(--v2-accent-bg);
    color: var(--v2-accent);
}
.v2-table .v2-row-accent > * {
    background: rgb(184 0 0 / 0.035);
}
@media (max-width: 639px) {
    .v2-table :is(th, td) {
        padding: 13px 14px;
    }
    .v2-table {
        font-size: 14.5px;
    }
}

/* selettore a segmenti (Mensile | Annuale) */
.v2-segmented {
    display: inline-flex;
    gap: 2px;
    padding: 4px;
    border: 1px solid var(--v2-border);
    border-radius: var(--v2-r-pill);
    background: var(--v2-surface);
    box-shadow: var(--v2-shadow-xs);
}
.v2-segmented > button {
    height: 36px;
    padding-inline: 18px;
    border: 0;
    border-radius: var(--v2-r-pill);
    background: transparent;
    color: var(--v2-fg-muted);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition:
        background-color 0.3s var(--v2-ease-out),
        color 0.3s ease,
        box-shadow 0.3s ease;
}
.v2-segmented > button:hover {
    color: var(--v2-fg);
}
.v2-segmented > button[aria-pressed="true"] {
    background: var(--v2-fg);
    color: #fff;
    box-shadow: 0 6px 14px -6px rgb(0 0 0 / 0.4);
}

/* ===================================================================== */
/* 16. TESTO LUNGO (legali, blog, articoli di supporto)                   */
/* ===================================================================== */

.v2-prose {
    max-width: var(--v2-prose-w);
    color: #2a2b30;
    font-size: 17px;
    line-height: 29px;
}
.v2-prose > * + * {
    margin-top: 18px;
}
.v2-prose :is(h2, h3, h4) {
    color: var(--v2-fg);
    font-weight: 500;
    letter-spacing: var(--v2-ls-heading);
    scroll-margin-top: calc(var(--v2-header-h) + 16px);
}
.v2-prose h2 {
    margin-top: 48px;
    font-size: 28px;
    line-height: 36px;
}
.v2-prose h3 {
    margin-top: 32px;
    font-size: 21px;
    line-height: 29px;
    font-weight: 600;
}
.v2-prose h4 {
    margin-top: 24px;
    font-size: 17px;
    line-height: 26px;
    font-weight: 600;
}
.v2-prose :is(h2, h3, h4) + * {
    margin-top: 10px;
}
.v2-prose a {
    color: var(--v2-accent);
    text-decoration: underline;
    text-decoration-color: rgb(184 0 0 / 0.35);
    text-underline-offset: 3px;
}
.v2-prose a:hover {
    text-decoration-color: currentColor;
}
.v2-prose strong {
    color: var(--v2-fg);
    font-weight: 600;
}
.v2-prose ul,
.v2-prose ol {
    padding-inline-start: 1.4em;
}
.v2-prose ul {
    list-style: disc;
}
.v2-prose ol {
    list-style: decimal;
}
.v2-prose li + li {
    margin-top: 6px;
}
.v2-prose li::marker {
    color: var(--v2-fg-subtle);
}
.v2-prose blockquote {
    padding: 4px 0 4px 20px;
    border-inline-start: 3px solid var(--v2-accent);
    color: var(--v2-fg-muted);
    font-style: italic;
}
.v2-prose hr {
    margin-block: 40px;
    border: 0;
    border-top: 1px solid var(--v2-border);
}
.v2-prose img {
    border-radius: var(--v2-r-md);
}
.v2-prose code {
    padding: 2px 6px;
    border-radius: 6px;
    background: var(--v2-canvas);
    font-size: 0.9em;
}
.v2-prose table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
    line-height: 22px;
}
.v2-prose :is(th, td) {
    padding: 10px 12px;
    border-bottom: 1px solid var(--v2-border);
    text-align: start;
    vertical-align: top;
}
.v2-prose th {
    color: var(--v2-fg);
    font-weight: 600;
}
/* metadati in testa a un documento (aggiornato il, versione) */
.v2-doc-meta {
    color: var(--v2-fg-subtle);
    font-size: var(--v2-small);
}
/* indice laterale per documenti lunghi */
.v2-toc {
    display: grid;
    gap: 6px;
    font-size: 14.5px;
    line-height: 21px;
}
.v2-toc a {
    color: var(--v2-fg-muted);
}
.v2-toc a:hover {
    color: var(--v2-accent);
}

/* ===================================================================== */
/* 17. CAMPI DEI MODULI                                                   */
/* ===================================================================== */

.v2-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.v2-label {
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
    color: var(--v2-fg);
}
.v2-label-required::after {
    content: " *";
    color: var(--v2-accent);
}
.v2-input,
.v2-select,
.v2-textarea {
    width: 100%;
    min-height: 48px;
    padding: 12px 16px;
    border: 1px solid var(--v2-border-strong);
    border-radius: 14px;
    background: var(--v2-surface);
    color: var(--v2-fg);
    font: inherit;
    font-size: 16px; /* 16px: niente zoom automatico su iOS */
    line-height: 22px;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}
.v2-textarea {
    min-height: 120px;
    resize: vertical;
}
.v2-select {
    padding-inline-end: 44px;
    appearance: none;
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235c606b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")
            right 16px center / 18px no-repeat,
        var(--v2-surface);
}
[dir="rtl"] .v2-select {
    background-position: left 16px center, 0 0;
}
.v2-input::placeholder,
.v2-textarea::placeholder {
    color: var(--v2-fg-subtle);
}
.v2-input:hover,
.v2-select:hover,
.v2-textarea:hover {
    border-color: #b9b9c2;
}
.v2-input:focus,
.v2-select:focus,
.v2-textarea:focus {
    outline: none;
    border-color: var(--v2-accent);
    box-shadow: 0 0 0 4px rgb(184 0 0 / 0.1);
}
.v2-input[aria-invalid="true"],
.v2-field-error .v2-input,
.v2-field-error .v2-select,
.v2-field-error .v2-textarea {
    border-color: var(--v2-accent);
}
.v2-input:disabled,
.v2-select:disabled,
.v2-textarea:disabled {
    background: var(--v2-canvas);
    color: var(--v2-fg-subtle);
    cursor: not-allowed;
}
.v2-hint {
    font-size: 13px;
    line-height: 18px;
    color: var(--v2-fg-subtle);
}
.v2-error {
    font-size: 13px;
    line-height: 18px;
    color: var(--v2-accent);
    font-weight: 500;
}
.v2-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 15px;
    line-height: 22px;
    color: var(--v2-fg-muted);
    cursor: pointer;
}
.v2-check input {
    width: 20px;
    height: 20px;
    margin: 1px 0 0;
    flex-shrink: 0;
    accent-color: var(--v2-accent);
}
.v2-form {
    display: grid;
    gap: 18px;
}
@media (min-width: 640px) {
    .v2-form-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .v2-form-2 > .v2-field-full {
        grid-column: 1 / -1;
    }
}
/* interruttore iOS (come .cfg-toggle dell'app): <button role="switch" aria-checked> */
.v2-switch {
    position: relative;
    width: 44px;
    height: 26px;
    flex-shrink: 0;
    padding: 0;
    border: 0;
    border-radius: var(--v2-r-pill);
    background: #e4e4e9;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.v2-switch::after {
    content: "";
    position: absolute;
    top: 3px;
    inset-inline-start: 3px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 4px rgb(0 0 0 / 0.2);
    transition: transform 0.35s var(--v2-ease-spring);
}
.v2-switch[aria-checked="true"] {
    background: var(--v2-success-bright);
}
.v2-switch[aria-checked="true"]::after {
    transform: translateX(18px);
}
[dir="rtl"] .v2-switch[aria-checked="true"]::after {
    transform: translateX(-18px);
}
.v2-switch:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

/* ===================================================================== */
/* 18. NASTRO (marquee) — duplicare il contenuto: 2 .v2-mq-set uguali     */
/* ===================================================================== */
/* <div class="v2-marquee" data-v2-marquee> <div class="v2-mq-row [v2-mq-rev]" style="--dur:60s">
     <div class="v2-mq-track"> <ul class="v2-mq-set">...</ul> <ul class="v2-mq-set" aria-hidden="true">...</ul>
   </div></div></div>  (nella copia: tabindex="-1" sui link)                                  */

.v2-marquee {
    display: grid;
    gap: 16px;
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 6%, #000 94%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.v2-mq-row {
    direction: ltr;
    overflow: hidden;
}
.v2-mq-track {
    display: flex;
    width: max-content;
    animation: v2-marquee var(--dur, 60s) linear infinite;
}
.v2-mq-rev .v2-mq-track {
    animation-direction: reverse;
}
.v2-marquee:hover .v2-mq-track,
.v2-marquee:focus-within .v2-mq-track,
.v2-marquee[data-v2-paused] .v2-mq-track {
    animation-play-state: paused;
}
.v2-mq-set {
    display: flex;
    gap: 16px;
    padding-inline-end: 16px;
}
@keyframes v2-marquee {
    to {
        transform: translateX(-50%);
    }
}
@media (prefers-reduced-motion: reduce) {
    .v2-mq-row {
        overflow-x: auto;
    }
    .v2-mq-track {
        animation: none;
    }
    .v2-mq-set[aria-hidden] {
        display: none;
    }
}

/* ===================================================================== */
/* 19. HEADER                                                             */
/* ===================================================================== */

.v2-header {
    position: fixed;
    top: 0;
    inset-inline: 0;
    z-index: 60;
    height: var(--v2-header-h);
    border-bottom: 1px solid transparent;
    background: rgb(255 255 255 / 0);
    transition:
        background-color 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}
html[data-v2-scrolled] .v2-header,
.v2-header[data-open] {
    border-bottom-color: rgb(0 0 0 / 0.07);
    background: rgb(255 255 255 / 0.86);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    backdrop-filter: saturate(180%) blur(20px);
}
.v2-header[data-open] {
    background: #fff;
}
.v2-header-bar {
    display: flex;
    align-items: center;
    gap: 24px;
    height: 100%;
}
.v2-logo {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    height: 100%;
    margin-inline-end: auto;
}
.v2-logo img {
    display: block;
    width: auto;
    height: 32px;
}
.v2-logo .v2-logo-white {
    display: none;
}

/* nav desktop: da 1024px; tra 1024 e 1279 solo le voci principali (le altre sono nel footer) */
.v2-nav {
    display: none;
    align-items: center;
    align-self: stretch;
    gap: 2px;
    margin-inline-end: auto;
}
.v2-nav-item {
    display: flex;
    align-items: center;
    align-self: stretch;
}
.v2-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 38px;
    padding-inline: 12px;
    border: 0;
    border-radius: var(--v2-r-pill);
    background: transparent;
    color: var(--v2-fg-muted);
    font-size: 15px;
    font-weight: 500;
    white-space: nowrap;
    cursor: pointer;
    transition:
        color 0.2s ease,
        background-color 0.2s ease;
}
.v2-nav-link:hover,
.v2-nav-item[data-open] > .v2-nav-link {
    background: rgb(18 18 20 / 0.05);
    color: var(--v2-fg);
}
.v2-nav-link[aria-current="page"],
.v2-nav-link.is-active {
    color: var(--v2-fg);
    font-weight: 600;
}
.v2-nav-link svg {
    width: 14px;
    height: 14px;
    transition: transform 0.3s var(--v2-ease-out);
}
.v2-nav-item[data-open] .v2-nav-link svg {
    transform: rotate(180deg);
}
.v2-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}
.v2-header-actions .v2-hide-compact {
    display: none;
}
@media (min-width: 1024px) {
    .v2-nav {
        display: flex;
    }
    .v2-header-actions .v2-hide-compact {
        display: inline-flex;
    }
    .v2-burger {
        display: none !important;
    }
}
@media (min-width: 1024px) and (max-width: 1279px) {
    .v2-nav-wide {
        display: none !important;
    }
    .v2-header-bar {
        gap: 16px;
    }
    .v2-nav-link {
        padding-inline: 10px;
    }
}
/* paracadute (js/site-v2.js): se in una lingua la riga non entra, si passa al menu burger */
html[data-v2-nav="compact"] .v2-nav,
html[data-v2-nav="compact"] .v2-header-actions .v2-hide-compact,
html[data-v2-nav="compact"] .v2-mega {
    display: none !important;
}
html[data-v2-nav="compact"] .v2-burger {
    display: inline-grid !important;
}

/* selettore lingua (desktop) */
.v2-lang {
    position: relative;
}
.v2-lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 38px;
    padding-inline: 10px;
    border: 0;
    border-radius: var(--v2-r-pill);
    background: transparent;
    color: var(--v2-fg-muted);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
}
.v2-lang-btn:hover {
    background: rgb(18 18 20 / 0.05);
    color: var(--v2-fg);
}
.v2-lang-btn svg {
    width: 14px;
    height: 14px;
}
.v2-menu {
    position: absolute;
    top: calc(100% + 8px);
    inset-inline-end: 0;
    z-index: 70;
    width: 220px;
    padding: 6px;
    border-radius: var(--v2-r-md);
    background: #fff;
    box-shadow: var(--v2-shadow-pop);
    animation: v2-pop-in 0.22s var(--v2-ease-out) both;
}
.v2-menu-item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 9px 12px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--v2-fg);
    font-size: 14.5px;
    text-align: start;
    cursor: pointer;
    transition: background-color 0.15s ease;
}
.v2-menu-item:hover {
    background: var(--v2-canvas);
}
.v2-menu-item[aria-current="true"] {
    color: var(--v2-accent);
    font-weight: 600;
}
.v2-menu-item svg {
    width: 15px;
    height: 15px;
    margin-inline-start: auto;
}
@keyframes v2-pop-in {
    from {
        opacity: 0;
        transform: translateY(-6px) scale(0.98);
    }
}

/* velo invisibile dietro un menu aperto: un clic fuori lo chiude */
.v2-click-away {
    position: fixed;
    inset: 0;
    z-index: 59;
}

/* burger */
.v2-burger {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-inline-end: -8px;
    padding: 0;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: var(--v2-fg);
    cursor: pointer;
}
.v2-burger-lines {
    position: relative;
    width: 20px;
    height: 14px;
}
.v2-burger-lines > i {
    position: absolute;
    inset-inline-start: 0;
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition:
        transform 0.4s var(--v2-ease-out),
        opacity 0.2s ease,
        top 0.4s var(--v2-ease-out);
}
.v2-burger-lines > i:nth-child(1) {
    top: 0;
}
.v2-burger-lines > i:nth-child(2) {
    top: 6px;
}
.v2-burger-lines > i:nth-child(3) {
    top: 12px;
}
.v2-burger[aria-expanded="true"] .v2-burger-lines > i:nth-child(1) {
    top: 6px;
    transform: rotate(45deg);
}
.v2-burger[aria-expanded="true"] .v2-burger-lines > i:nth-child(2) {
    opacity: 0;
}
.v2-burger[aria-expanded="true"] .v2-burger-lines > i:nth-child(3) {
    top: 6px;
    transform: rotate(-45deg);
}
@media (max-width: 359px) {
    .v2-header-cta {
        display: none !important;
    }
}

/* header trasparente sopra una copertina scura (pagina del negozio), finche' non si scorre */
html:not([data-v2-scrolled]) .v2-header--on-dark:not([data-open]) .v2-logo-red {
    display: none;
}
html:not([data-v2-scrolled]) .v2-header--on-dark:not([data-open]) .v2-logo-white {
    display: block;
}
html:not([data-v2-scrolled]) .v2-header--on-dark:not([data-open]) :is(.v2-nav-link, .v2-lang-btn, .v2-burger, .v2-btn-ghost) {
    color: #fff;
}
html:not([data-v2-scrolled]) .v2-header--on-dark:not([data-open]) :is(.v2-nav-link, .v2-lang-btn, .v2-btn-ghost):hover {
    background: rgb(255 255 255 / 0.16);
}

/* Header trasparente sopra l'hero a video della home (Components/HomeHero.razor).
   - L'hero sale sotto l'header (niente fascia bianca sopra); il testo dell'hero scende della
     stessa altezza, cosi' resta dove era.
   - Logo, link, lingua, "Accedi" e burger bianchi; il CTA resta rosso pieno. Un velo scuro
     dall'alto (140px) tiene il contrasto su ogni scena, anche sui fotogrammi chiari.
   - Torna bianco appena si scorre (l'hero si stacca subito: rimpicciolisce e il foglio sale),
     o se si apre il menu mobile; con il mega-menu aperto resta trasparente (Stefano 07/10);
     logo e colori in dissolvenza.
   - Tutto condizionato a :has(.hn-hero): senza hero, o su un browser senza :has(), resta
     l'header di sempre. */
html:has(.v2-header--on-hero) .hn-hero-sticky {
    padding-top: 0;
}
html:has(.v2-header--on-hero) .hn-hero-content {
    padding-top: calc(var(--v2-header-h) + 16px);
}
.v2-header--on-hero::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    z-index: -1;
    height: 140px;
    background: linear-gradient(to bottom, rgb(0 0 0 / 0.45), rgb(0 0 0 / 0.2) 55%, rgb(0 0 0 / 0));
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.v2-header--on-hero .v2-logo {
    position: relative;
}
.v2-header--on-hero .v2-logo img {
    transition: opacity 0.3s ease;
}
.v2-header--on-hero .v2-logo .v2-logo-white {
    position: absolute;
    top: 50%;
    inset-inline-start: 0;
    display: block;
    opacity: 0;
    transform: translateY(-50%);
}
.v2-header--on-hero :is(.v2-lang-btn, .v2-burger, .v2-btn-ghost) {
    transition:
        color 0.3s ease,
        background-color 0.2s ease;
}
html:has(.hn-hero):not([data-v2-scrolled]) .v2-header--on-hero:not([data-open])::before {
    opacity: 1;
}
html:has(.hn-hero):not([data-v2-scrolled]) .v2-header--on-hero:not([data-open]) .v2-logo-red {
    opacity: 0;
}
html:has(.hn-hero):not([data-v2-scrolled]) .v2-header--on-hero:not([data-open]) .v2-logo-white {
    opacity: 1;
}
html:has(.hn-hero):not([data-v2-scrolled]) .v2-header--on-hero:not([data-open]) :is(.v2-nav-link, .v2-lang-btn, .v2-burger, .v2-btn-ghost) {
    color: #fff;
    text-shadow: 0 1px 2px rgb(0 0 0 / 0.3);
}
html:has(.hn-hero):not([data-v2-scrolled]) .v2-header--on-hero:not([data-open]) :is(.v2-nav-link, .v2-lang-btn, .v2-btn-ghost):hover,
html:has(.hn-hero):not([data-v2-scrolled]) .v2-header--on-hero:not([data-open]) .v2-nav-item[data-open] > .v2-nav-link {
    background: rgb(255 255 255 / 0.16);
    color: #fff;
}
html:has(.hn-hero):not([data-v2-scrolled]) .v2-header--on-hero:not([data-open]) .v2-burger-lines {
    filter: drop-shadow(0 1px 1px rgb(0 0 0 / 0.3));
}

/* mega-menu "Funzionalita'" */
.v2-mega {
    position: fixed;
    top: calc(var(--v2-header-h) - 4px);
    left: 50%;
    z-index: 65;
    width: min(1120px, calc(100vw - 48px));
    max-height: calc(100vh - var(--v2-header-h) - 24px);
    overflow-y: auto;
    border-radius: 28px;
    background: #fff;
    box-shadow: var(--v2-shadow-pop);
    transform: translateX(-50%);
    animation: v2-mega-in 0.32s var(--v2-ease-out) both;
}
@keyframes v2-mega-in {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-8px) scale(0.985);
    }
}
.v2-mega-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 2fr);
}
.v2-mega-side {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 32px;
    background:
        radial-gradient(80% 60% at 0% 0%, rgb(184 0 0 / 0.08) 0%, transparent 70%),
        var(--v2-soft-grad);
}
.v2-mega-title {
    font-size: 28px;
    line-height: 34px;
    font-weight: 500;
    letter-spacing: var(--v2-ls-heading);
}
.v2-mega-title span {
    display: block;
    color: var(--v2-accent);
}
.v2-mega-sub {
    color: var(--v2-fg-muted);
    font-size: 15px;
    line-height: 22px;
}
.v2-mega-promo {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: auto;
    padding: 18px;
    border-radius: var(--v2-r-md);
    background: #fff;
    box-shadow: var(--v2-shadow-sm);
    text-decoration: none;
    transition:
        transform 0.4s var(--v2-ease-out),
        box-shadow 0.4s var(--v2-ease-out);
}
.v2-mega-promo:hover {
    transform: translateY(-2px);
    box-shadow: var(--v2-shadow-md);
}
.v2-mega-promo b {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--v2-accent);
}
.v2-mega-promo span {
    color: var(--v2-fg-muted);
    font-size: 14px;
    line-height: 20px;
}
.v2-mega-promo .v2-link {
    margin-top: 4px;
    font-size: 14.5px;
}
.v2-mega-items {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
    padding: 20px;
    align-content: start;
}
.v2-mega-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px;
    border-radius: var(--v2-r-md);
    text-decoration: none;
    transition: background-color 0.2s ease;
}
.v2-mega-item:hover,
.v2-mega-item.is-active {
    background: var(--v2-canvas);
}
.v2-mega-item .v2-icon {
    transition:
        background-color 0.3s ease,
        color 0.3s ease;
}
.v2-mega-item:hover .v2-icon {
    background: var(--v2-accent);
    color: #fff;
}

/* Icone delle funzionalita' nel menu: riquadri colorati per servizio come nel menu
   precedente al restyle (scelta di Stefano 07/10/2026). Unica eccezione al solo accento. */
.v2-mega-ic {
    position: relative;
    color: #fff;
    box-shadow: 0 8px 20px rgba(209, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transition: transform 0.35s var(--v2-ease-spring, ease);
}
.v2-mega-ic::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: inherit;
    background: inherit;
    filter: blur(12px);
    opacity: 0.3;
    z-index: -1;
}
.v2-mega-ic--loyalty   { background: linear-gradient(135deg, #ff6a8a, #c40046); }
.v2-mega-ic--merchants { background: linear-gradient(135deg, #ff5757, #c40000); }
.v2-mega-ic--bookings  { background: linear-gradient(135deg, #ff8a4d, #e0421a); }
.v2-mega-ic--menu      { background: linear-gradient(135deg, #34d399, #059669); }
.v2-mega-ic--orders    { background: linear-gradient(135deg, #fbbf24, #f97316); }
.v2-mega-ic--nemi      { background: linear-gradient(135deg, #a259ff, #6a26d6); box-shadow: 0 8px 20px rgba(124, 58, 237, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.3); }
.v2-mega-ic--social    { background: linear-gradient(135deg, #3b82f6, #8b5cf6); }
.v2-mega-ic--queue     { background: linear-gradient(135deg, #2dd4bf, #0d9488); }
.v2-mega-item:hover .v2-mega-ic {
    color: #fff;
    transform: scale(1.06);
}
.v2-mega-item:hover .v2-mega-ic--loyalty   { background: linear-gradient(135deg, #ff6a8a, #c40046); }
.v2-mega-item:hover .v2-mega-ic--merchants { background: linear-gradient(135deg, #ff5757, #c40000); }
.v2-mega-item:hover .v2-mega-ic--bookings  { background: linear-gradient(135deg, #ff8a4d, #e0421a); }
.v2-mega-item:hover .v2-mega-ic--menu      { background: linear-gradient(135deg, #34d399, #059669); }
.v2-mega-item:hover .v2-mega-ic--orders    { background: linear-gradient(135deg, #fbbf24, #f97316); }
.v2-mega-item:hover .v2-mega-ic--nemi      { background: linear-gradient(135deg, #a259ff, #6a26d6); }
.v2-mega-item:hover .v2-mega-ic--social    { background: linear-gradient(135deg, #3b82f6, #8b5cf6); }
.v2-mega-item:hover .v2-mega-ic--queue     { background: linear-gradient(135deg, #2dd4bf, #0d9488); }
@media (prefers-reduced-motion: reduce) {
    .v2-mega-ic { transition: none; }
    .v2-mega-item:hover .v2-mega-ic { transform: none; }
}
.v2-mega-item-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.v2-mega-item-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15.5px;
    line-height: 22px;
    font-weight: 600;
    color: var(--v2-fg);
}
.v2-mega-item-desc {
    font-size: 13.5px;
    line-height: 19px;
    color: var(--v2-fg-muted);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* menu mobile (sotto l'header, a tutta pagina) */
.v2-mmenu {
    position: fixed;
    top: var(--v2-header-h);
    inset-inline: 0;
    bottom: 0;
    z-index: 59;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: #fff;
    animation: v2-mmenu-in 0.35s var(--v2-ease-out) both;
}
@keyframes v2-mmenu-in {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
}
.v2-mmenu-inner {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 8px var(--v2-gutter) calc(24px + env(safe-area-inset-bottom));
}
.v2-mmenu-nav > a,
.v2-mmenu-nav > div > button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 16px 0;
    border: 0;
    border-bottom: 1px solid var(--v2-border-subtle);
    background: transparent;
    color: var(--v2-fg);
    font-size: 20px;
    line-height: 28px;
    font-weight: 500;
    letter-spacing: var(--v2-ls-heading);
    text-align: start;
    cursor: pointer;
}
.v2-mmenu-nav > a.is-active {
    color: var(--v2-accent);
}
.v2-mmenu-nav svg {
    width: 18px;
    height: 18px;
    color: var(--v2-fg-subtle);
    transition: transform 0.3s var(--v2-ease-out);
}
.v2-mmenu-nav [aria-expanded="true"] svg {
    transform: rotate(180deg);
}
/* i glifi delle icone servizi restano bianchi sul loro riquadro colorato (la regola sopra e' per le frecce) */
.v2-mmenu-nav .v2-mega-ic svg {
    color: #fff;
}
.v2-mmenu-sub {
    display: grid;
    gap: 2px;
    padding: 8px 0 12px;
    border-bottom: 1px solid var(--v2-border-subtle);
    animation: v2-pop-in 0.25s var(--v2-ease-out) both;
}
.v2-mmenu-sub .v2-mega-item {
    padding: 10px 8px;
}
.v2-mmenu-foot {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 28px;
}
.v2-mmenu-lang {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    height: 48px;
    padding-inline: 16px;
    border: 1px solid var(--v2-border);
    border-radius: 14px;
    background: #fff;
    color: var(--v2-fg);
    font-size: 15px;
    cursor: pointer;
}
.v2-mmenu-lang span:nth-child(2) {
    flex: 1;
    text-align: start;
}
.v2-mmenu-lang svg {
    width: 16px;
    height: 16px;
    color: var(--v2-fg-subtle);
}

/* foglio dal basso (lingua su mobile) */
.v2-sheet {
    position: fixed;
    inset: 0;
    z-index: 80;
}
.v2-sheet-backdrop {
    position: absolute;
    inset: 0;
    background: rgb(18 18 20 / 0.4);
    animation: v2-fade-in 0.2s ease both;
}
.v2-sheet-panel {
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    max-height: 85vh;
    overflow-y: auto;
    padding: 12px 16px calc(24px + env(safe-area-inset-bottom));
    border-radius: 24px 24px 0 0;
    background: #fff;
    box-shadow: 0 -10px 40px rgb(0 0 0 / 0.15);
    animation: v2-sheet-in 0.35s var(--v2-ease-out) both;
}
.v2-sheet-handle {
    width: 40px;
    height: 4px;
    margin: 0 auto 14px;
    border-radius: 4px;
    background: var(--v2-border-strong);
}
.v2-sheet-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
    padding-inline: 4px;
}
.v2-sheet-close {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--v2-canvas);
    color: var(--v2-fg-muted);
    cursor: pointer;
}
.v2-sheet-close svg {
    width: 18px;
    height: 18px;
}
.v2-sheet .v2-menu-item {
    padding: 13px 12px;
    font-size: 16px;
}
@keyframes v2-fade-in {
    from {
        opacity: 0;
    }
}
@keyframes v2-sheet-in {
    from {
        transform: translateY(100%);
    }
}

/* ===================================================================== */
/* 20. FOOTER                                                             */
/* ===================================================================== */

.v2-footer {
    border-top: 1px solid var(--v2-border);
    background: var(--v2-canvas);
    color: var(--v2-fg-muted);
    font-size: 14.5px;
    line-height: 21px;
}
.v2-footer-main {
    display: grid;
    gap: 40px;
    padding-block: 56px 40px;
}
@media (min-width: 1024px) {
    .v2-footer-main {
        grid-template-columns: minmax(240px, 1.3fr) minmax(0, 4fr);
        gap: 56px;
        padding-block: 72px 48px;
    }
}
.v2-footer-brand > * + * {
    margin-top: 16px;
}
.v2-footer-brand img.v2-footer-logo {
    display: block;
    width: auto;
    height: 32px;
}
.v2-footer-tagline {
    max-width: 34ch;
}
.v2-footer-social {
    display: flex;
    gap: 8px;
}
.v2-footer-social a {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--v2-border);
    border-radius: 12px;
    background: #fff;
    color: var(--v2-fg-muted);
    transition:
        color 0.2s ease,
        border-color 0.2s ease,
        transform 0.3s var(--v2-ease-out);
}
.v2-footer-social a:hover {
    border-color: var(--v2-border-strong);
    color: var(--v2-accent);
    transform: translateY(-1px);
}
.v2-footer-social svg {
    width: 18px;
    height: 18px;
}
.v2-footer-stores {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}
.v2-footer-stores a {
    display: inline-flex;
    transition: transform 0.3s var(--v2-ease-out);
}
.v2-footer-stores a:hover {
    transform: translateY(-1px);
}
.v2-footer-stores img {
    display: block;
    width: auto;
    height: 40px;
}
.v2-footer-cols {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 24px;
}
@media (min-width: 640px) {
    .v2-footer-cols {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
@media (min-width: 1100px) {
    .v2-footer-cols {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}
.v2-footer-title {
    margin-bottom: 14px;
    color: var(--v2-fg);
    font-size: 12.5px;
    line-height: 18px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.v2-footer-list {
    display: grid;
    gap: 9px;
}
.v2-footer-list a,
.v2-footer-shops a,
.v2-footer-legal a,
.v2-footer-legal button {
    color: var(--v2-fg-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}
.v2-footer-list a:hover,
.v2-footer-shops a:hover,
.v2-footer-legal a:hover,
.v2-footer-legal button:hover {
    color: var(--v2-accent);
}
.v2-footer-shops {
    padding-block: 28px;
    border-top: 1px solid var(--v2-border);
}
.v2-footer-shops ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
}
.v2-footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding-block: 24px calc(28px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--v2-border);
    color: var(--v2-fg-subtle);
    font-size: 13.5px;
}
@media (min-width: 768px) {
    .v2-footer-bottom {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}
.v2-footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 18px;
}
.v2-footer-legal button {
    padding: 0;
    border: 0;
    background: none;
    font: inherit;
    cursor: pointer;
}

/* ===================================================================== */
/* 21. BANNER: cookie, installa app, "compreso nel piano", demo           */
/* ===================================================================== */

/* consenso cookie: carta in basso a inizio riga (desktop), a tutta larghezza (mobile) */
.v2-cookie {
    position: fixed;
    inset-inline: 12px;
    bottom: 12px;
    z-index: 100;
    max-width: 460px;
    padding: 22px;
    border-radius: 24px;
    background: #fff;
    box-shadow: var(--v2-shadow-pop);
    animation: v2-cookie-in 0.5s var(--v2-ease-out) both;
}
@media (min-width: 640px) {
    .v2-cookie {
        inset-inline: 24px auto;
        bottom: 24px;
    }
}
@keyframes v2-cookie-in {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
}
.v2-cookie-head {
    display: flex;
    align-items: center;
    gap: 12px;
}
.v2-cookie-title {
    font-size: 17px;
    line-height: 24px;
    font-weight: 600;
}
.v2-cookie-text {
    margin-top: 10px;
    color: var(--v2-fg-muted);
    font-size: 14px;
    line-height: 21px;
}
.v2-cookie-cats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 14px;
}
.v2-cookie-cat {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 12px;
    border: 1px solid var(--v2-border);
    border-radius: 14px;
    font-size: 13.5px;
    line-height: 18px;
    font-weight: 600;
}
.v2-cookie-cat small {
    display: block;
    color: var(--v2-fg-subtle);
    font-size: 11.5px;
    font-weight: 500;
}
.v2-cookie-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 18px;
}
.v2-cookie-actions .v2-btn {
    width: 100%;
    padding-inline: 12px;
}
.v2-cookie-actions .v2-cookie-more {
    grid-column: 1 / -1;
    order: 3;
}

/* invito a installare l'app (si nasconde finche' c'e' il banner dei cookie) */
.v2-pwa {
    position: fixed;
    inset-inline: 12px;
    bottom: 12px;
    z-index: 50;
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 560px;
    margin-inline: auto;
    padding: 12px 12px 12px 14px;
    border-radius: 20px;
    background: rgb(255 255 255 / 0.94);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    backdrop-filter: saturate(180%) blur(20px);
    box-shadow: var(--v2-shadow-pop);
    animation: v2-cookie-in 0.5s var(--v2-ease-out) both;
}
body:has(.v2-cookie) .v2-pwa {
    display: none;
}
.v2-pwa img {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 12px;
}
.v2-pwa-text {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
}
.v2-pwa-text b {
    font-size: 14.5px;
    line-height: 20px;
    font-weight: 600;
}
.v2-pwa-text span {
    color: var(--v2-fg-muted);
    font-size: 12.5px;
    line-height: 17px;
}
.v2-pwa-close {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--v2-fg-subtle);
    cursor: pointer;
}
.v2-pwa-close:hover {
    background: var(--v2-canvas);
    color: var(--v2-fg);
}
.v2-pwa-close svg {
    width: 16px;
    height: 16px;
}

/* "compreso nel piano standard" */
.v2-incl {
    padding-block: 24px;
}
.v2-incl-card {
    display: flex;
    align-items: center;
    gap: 18px;
    max-width: 960px;
    margin-inline: auto;
    padding: 18px 20px;
    border: 1px solid var(--v2-border);
    border-radius: var(--v2-r-media);
    background: #fff;
    box-shadow: var(--v2-shadow-xs);
}
.v2-incl-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.v2-incl-body strong {
    font-size: 16.5px;
    line-height: 23px;
    font-weight: 600;
}
.v2-incl-body span {
    color: var(--v2-fg-muted);
    font-size: 14.5px;
    line-height: 21px;
}
@media (max-width: 639px) {
    .v2-incl-card {
        flex-direction: column;
        align-items: flex-start;
    }
    .v2-incl-card .v2-btn {
        width: 100%;
    }
}

/* sezione "prenota una demo" */
.v2-demo-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    overflow: hidden;
    border-radius: var(--v2-r-banner);
    background: var(--v2-soft-grad);
    isolation: isolate;
}
@media (min-width: 900px) {
    .v2-demo-card {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }
}
.v2-demo-copy {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(32px, 6vw, 72px);
}
.v2-demo-copy::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(60% 50% at 0% 0%, rgb(184 0 0 / 0.1), transparent 70%);
}
.v2-demo-copy > * + * {
    margin-top: var(--v2-head-gap);
}
.v2-demo-copy > .v2-pill + * {
    margin-top: 16px;
}
.v2-demo-copy .v2-cta-note {
    text-align: start;
}
.v2-demo-copy .v2-pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}
.v2-demo-copy .v2-btn-row {
    margin-top: 28px;
}
.v2-demo-copy .v2-checklist {
    margin-top: 20px;
}
.v2-demo-media {
    position: relative;
    min-height: 340px;
    margin: 12px;
    overflow: hidden;
    border-radius: calc(var(--v2-r-banner) - 12px);
}
@media (min-width: 900px) {
    .v2-demo-media {
        min-height: 520px;
        margin: 16px;
        margin-inline-start: 0;
    }
}
.v2-demo-media > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 20%;
}
.v2-demo-status {
    position: absolute;
    inset-inline: 16px;
    bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 18px;
    background: rgb(255 255 255 / 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 16px 34px -14px rgb(0 0 0 / 0.35);
}
.v2-demo-avatar {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--v2-accent);
    color: #fff;
    font-weight: 700;
}
.v2-demo-status-text {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
    line-height: 1.3;
}
.v2-demo-status-text b {
    font-size: 14px;
    font-weight: 600;
}
.v2-demo-status-text span {
    color: var(--v2-fg-muted);
    font-size: 12.5px;
}
.v2-demo-status .v2-pill {
    gap: 6px;
}
@media (max-width: 767px) {
    .v2-demo-card {
        border-radius: var(--v2-r-card);
    }
}

/* ===================================================================== */
/* 22. MOVIMENTO RIDOTTO: tutto fermo, stato finale                       */
/* ===================================================================== */
@media (prefers-reduced-motion: reduce) {
    .v2 *,
    .v2 *::before,
    .v2 *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        transition-delay: 0s !important;
    }
    .v2-page-hero-media,
    .v2-page-hero-media > img {
        transform: none !important;
    }
}
