/* ============================================================
   ETSY RENDITA DIGITALE — SALES PAGE Q3 2026
   Lancio "Ruota della Fortuna"
   ------------------------------------------------------------
   Evoluzione diretta del CSS Q2: stessa struttura, stesso stile,
   stesse dimensioni e stesso spacing.
   Differenze Q3:
   - palette centralizzata in custom properties;
   - accenti ORO/AMBRA controllati (hairline sulle card, numeri
     delle garanzie, badge posti, bordo CTA finale);
   - hardening responsive sotto i 400px.
   ============================================================ */

/* ─── PALETTE ─────────────────────────────────────────────── */
:root {
    --color-primary: #ea580c;        /* arancio Etsy — identico alla Q2 */
    --color-primary-light: #fb923c;
    --color-primary-dark: #c2410c;
    --color-amber: #f59e0b;

    --color-gold: #d4a029;           /* accento Q3, usato con parsimonia */
    --color-gold-soft: rgba(212, 160, 41, 0.22);
    --color-gold-bright: #fbbf24;

    --color-dark: #0f172a;           /* navy molto scuro */
    --color-dark-2: #1e293b;
    --color-darkest: #020617;

    --color-bg: #f8fafc;             /* off-white */
    --color-bg-alt: #f1f5f9;
    --color-surface: #ffffff;

    --color-text: #334155;
    --color-text-soft: #475569;
    --color-text-mute: #64748b;
    --color-heading: #0f172a;
    --color-border: #e2e8f0;

    --color-success: #16a34a;
    --color-success-dark: #15803d;
    --color-success-bg: #f0fdf4;
    --color-success-border: #dcfce7;

    --color-danger: #dc2626;
    --color-danger-dark: #991b1b;

    --gradient-primary: linear-gradient(to right, var(--color-amber), var(--color-primary), var(--color-primary-dark));
    --gradient-cta: linear-gradient(to bottom, var(--color-primary), var(--color-primary-dark));

    --radius-sm: 12px;
    --radius-md: 16px;
    --radius-lg: 20px;

    --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-card-hover: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-cta: 0 8px 25px rgba(234, 88, 12, 0.4),
                  inset 0 2px 4px rgba(255, 255, 255, 0.3),
                  inset 0 -4px 6px rgba(0, 0, 0, 0.1);
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    background: var(--color-bg);
    color: var(--color-text);
    font-weight: 400;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img {
    max-width: 100%;
}

/* ─── UTILITY ─────────────────────────────────────────────── */
.container {
    max-width: 820px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 80px 0;
}

.section-alt {
    background: var(--color-bg-alt);
}

.text-center {
    text-align: center;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

/* ─── TYPOGRAPHY ──────────────────────────────────────────── */
h1, h2, h3 {
    color: var(--color-heading);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

h1 {
    font-size: clamp(1.45rem, 5.5vw, 2.8rem);
}

.hero-headline {
    text-align: center;
    margin-bottom: 24px;
}

.hero-line {
    color: var(--color-heading);
    font-weight: 900;
    font-style: italic;
    line-height: 1.15;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    margin-bottom: 10px;
    text-wrap: balance;
}

.hero-line-xl { font-size: clamp(1.9rem, 7.5vw, 3.4rem); }
.hero-line-lg { font-size: clamp(1.5rem, 6vw, 2.6rem); }
.hero-line-md { font-size: clamp(1.2rem, 4.5vw, 2rem); }
.hero-line-sm { font-size: clamp(1.3rem, 5vw, 2rem); }
.hero-line-sm-wide { font-size: clamp(1.5rem, 5.5vw, 2.2rem); }

.hero-line.blink-red {
    color: var(--color-danger);
    animation: blink-red 1.2s ease-in-out infinite;
}

@keyframes blink-red {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.hero-line .pill-orange {
    background: var(--gradient-primary);
    color: #fff;
    padding: 0.15em 0.4em;
    border-radius: 0.4rem;
    display: inline;
    line-height: 1.6;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}

h2 {
    font-size: clamp(1.6rem, 5.5vw, 2.4rem);
    margin-bottom: 24px;
    font-style: italic;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    text-wrap: balance;
}

h3 {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    margin-bottom: 16px;
}

p {
    margin-bottom: 16px;
    font-size: 1.05rem;
}

.highlight {
    background: var(--gradient-primary);
    color: #fff;
    padding: 0.1em 0.5em;
    border-radius: 0.4rem;
    display: inline;
    line-height: 1.6;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}

.underline-orange {
    text-decoration: underline;
    text-decoration-color: var(--color-primary);
    text-underline-offset: 4px;
    text-decoration-thickness: 3px;
}

.bold {
    font-weight: 700;
    color: var(--color-heading);
}

.subtext {
    font-size: 1.1rem;
    color: var(--color-text-soft);
    line-height: 1.7;
}

/* ─── TOPBAR COUNTDOWN ────────────────────────────────────── */
.topbar {
    background: var(--color-surface);
    color: var(--color-heading);
    padding: 8px 20px;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid var(--color-gold-soft); /* accento Q3 */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    max-width: 100%;
}

.topbar-text {
    flex-shrink: 1;
    line-height: 1.3;
    font-size: 0.75rem;
    max-width: 220px;
    text-align: left;
}

.topbar-text span {
    color: var(--color-primary);
    font-weight: 900;
}

.countdown {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

.countdown-unit {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    color: #fff;
    width: 48px;
    height: 48px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 800;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
}

.countdown-unit span {
    color: #fff;
}

.countdown-unit small {
    display: block;
    font-size: 0.5rem;
    font-weight: 600;
    opacity: 0.9;
    text-transform: uppercase;
    color: #fff;
}

/* ─── HERO ────────────────────────────────────────────────── */
.hero {
    padding: 32px 0 60px;
    text-align: center;
}

.hero-logo {
    max-width: 200px;
    height: auto;
    margin-bottom: 12px;
}

.hero h1 {
    margin-bottom: 24px;
}

.hero .subtext {
    max-width: 640px;
    margin: 0 auto 16px;
}

.hero-cue {
    font-style: italic;
    font-weight: 600;
    color: var(--color-heading);
    margin-bottom: 24px;
}

/* ─── VSL ─────────────────────────────────────────────────── */
.vsl-wrapper {
    max-width: 720px;
    margin: 0 auto 48px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    /* hairline oro Q3 attorno al player */
    outline: 1px solid var(--color-gold-soft);
    outline-offset: -1px;
}

/* Riserva lo spazio del player prima che l'embed sia montato,
   così non c'è layout shift e il box resta identico alla Q2. */
.vsl-slot {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: var(--color-dark);
}

.vsl-slot > div {
    position: absolute;
    inset: 0;
}

/* Cover Q3: riempie il contenitore video.
   L'immagine contiene già play button e copy grafico, quindi qui
   NON c'è nessun overlay, nessun pulsante e nessun badge sopra. */
.vsl-cover-btn {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.vsl-cover-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: filter 0.25s ease;
}

.vsl-cover-btn:hover .vsl-cover-img {
    filter: brightness(1.04);
}

.vsl-cover-btn:focus-visible {
    outline: 3px solid var(--color-gold-bright);
    outline-offset: -3px;
}

.vsl-img {
    width: 100%;
    height: auto;
    display: block;
}

/* ─── CTA BUTTON ──────────────────────────────────────────── */
.cta-wrapper {
    text-align: center;
    margin: 48px 0;
}

.cta-btn {
    display: inline-block;
    max-width: 100%;
    background: var(--gradient-cta);
    color: #fff;
    border: none;
    border-radius: 9999px;
    padding: 20px 48px;
    font-family: inherit;
    font-size: 1.1rem;
    font-weight: 900;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    letter-spacing: 0.02em;
    box-shadow: var(--shadow-cta);
    animation: pulse-intense 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    transition: transform 0.2s, box-shadow 0.2s;
    line-height: 1.3;
}

.cta-btn:hover {
    transform: scale(1.02);
    box-shadow:
        0 12px 35px rgba(234, 88, 12, 0.5),
        inset 0 2px 4px rgba(255, 255, 255, 0.3),
        inset 0 -4px 6px rgba(0, 0, 0, 0.1);
    animation-play-state: paused;
}

.cta-btn:active {
    transform: scale(0.98);
    box-shadow:
        0 4px 15px rgba(234, 88, 12, 0.3),
        inset 0 2px 4px rgba(255, 255, 255, 0.3),
        inset 0 -4px 6px rgba(0, 0, 0, 0.1);
}

.cta-btn:focus-visible {
    outline: 3px solid var(--color-gold-bright);
    outline-offset: 3px;
}

.cta-main-text {
    display: block;
    font-size: 1.4rem;
    font-weight: 900;
}

.cta-sub-text {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0.9;
    margin-top: 4px;
}

.cta-discount {
    display: block;
    margin-top: 16px;
    font-size: 0.85rem;
    color: var(--color-text-mute);
    font-weight: 600;
}

.cta-discount strong {
    color: var(--color-primary);
}

/* ─── FORM SOTTO LA VSL ───────────────────────────────────────
   Stessi campi e stesse classi della modale (.modal-field,
   .modal-input, .phone-row…): i due form sono identici.
   Il submit è la CTA arancione dell'hero, a larghezza piena.   */
.hero-form {
    max-width: 480px;
    margin: 0 auto;
    padding: 28px 28px 24px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-top: 3px solid var(--color-gold); /* come la modale */
    border-radius: var(--radius-md);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
    text-align: left;
}

.hero-form .cta-btn {
    display: block;
    width: 100%;
    margin-top: 8px;
    padding-inline: 20px;
}

.hero-form .cta-btn:disabled {
    opacity: 0.7;
    cursor: wait;
    animation: none;
}

@keyframes pulse-intense {
    0% { transform: scale(1); }
    50% { transform: scale(1.03); }
    100% { transform: scale(1); }
}

/* ─── PERCHÉ DIVERSO ──────────────────────────────────────── */
.reason-block {
    background: var(--color-success-bg);
    border-radius: var(--radius-md);
    padding: 36px 32px;
    margin-bottom: 20px;
    border: 1px solid var(--color-success-border);
    transition: transform 0.3s, box-shadow 0.3s;
}

.reason-block:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.reason-block .reason-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

.reason-block .reason-icon {
    width: 32px;
    height: 32px;
    background: var(--color-success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.reason-block .reason-icon::after {
    content: '';
    display: block;
    width: 12px;
    height: 7px;
    border-left: 2.5px solid #fff;
    border-bottom: 2.5px solid #fff;
    transform: rotate(-45deg);
    margin-bottom: 2px;
}

.reason-block h3 {
    color: var(--color-heading);
    text-transform: uppercase;
    font-size: 1.1rem;
    letter-spacing: 0.02em;
    margin-bottom: 0;
}

.reason-block p {
    color: var(--color-text);
    margin-bottom: 0;
    font-size: 1.05rem;
    line-height: 1.7;
}

.reason-block p + p {
    margin-top: 16px;
}

/* ─── SOCIAL PROOF ────────────────────────────────────────── */
.social-proof {
    background: var(--color-dark);
    color: #fff;
    padding: 80px 0;
}

.social-proof h2 {
    color: #fff;
}

/* ─── CAROUSEL SCREENSHOT (prove sociali) ──────────────────
   Due carousel orizzontali automatici, senza librerie.
   - Il movimento è una sola animazione CSS sul .proof-track
     (transform, GPU): nessun lavoro JS per frame.
   - js/main.js clona la .proof-list quante volte serve a coprire
     lo schermo (cloni aria-hidden) e imposta:
       --proof-copies   numero di liste nel track
       --proof-duration durata di un giro, calcolata dalla velocità
   - Ogni lista ha padding-right = gap, quindi la sua larghezza è
     esattamente un "periodo": spostando il track di 1/N della sua
     larghezza il frame finale coincide col primo -> loop senza scatti.
   - Direzione: data-direction="left" (destra -> sinistra) o
     "right" (sinistra -> destra, animazione invertita).         */
.proof-marquee {
    --proof-card-w: 260px;
    --proof-gap: 24px;
    --proof-fade: 72px;
    position: relative;
    max-width: 1280px;
    margin: 40px auto 0;
    overflow: hidden;
    /* dissolvenza ai bordi: le card entrano ed escono morbide */
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 var(--proof-fade), #000 calc(100% - var(--proof-fade)), transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0, #000 var(--proof-fade), #000 calc(100% - var(--proof-fade)), transparent 100%);
}

.proof-track {
    display: flex;
    width: max-content;
    /* spazio sopra/sotto per ombre e sollevamento al hover
       (l'overflow del contenitore altrimenti li taglierebbe) */
    padding: 12px 0 32px;
    animation: proof-scroll var(--proof-duration, 40s) linear infinite;
    will-change: transform;
}

.proof-marquee[data-direction="right"] .proof-track {
    animation-direction: reverse;
}

/* Fermo fuori schermo (IntersectionObserver in main.js) */
.proof-marquee.is-offscreen .proof-track {
    animation-play-state: paused;
}

/* Pausa al passaggio del mouse, solo dove il mouse esiste */
@media (hover: hover) {
    .proof-marquee:hover .proof-track {
        animation-play-state: paused;
    }

    .proof-card:hover {
        transform: translateY(-4px);
    }
}

@keyframes proof-scroll {
    from { transform: translate3d(0, 0, 0); }
    to   { transform: translate3d(calc(-100% / var(--proof-copies, 2)), 0, 0); }
}

.proof-list {
    display: flex;
    align-items: center;
    gap: var(--proof-gap);
    padding: 0 var(--proof-gap) 0 0;
    margin: 0;
    list-style: none;
    flex-shrink: 0;
}

.proof-card {
    flex: 0 0 var(--proof-card-w);
    width: var(--proof-card-w);
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--color-surface);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
    outline: 1px solid var(--color-border);
    outline-offset: -1px;
    transition: transform 0.3s;
}

.proof-marquee--dark .proof-card {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
    outline-color: rgba(255, 255, 255, 0.08);
}

/* larghezza fissa + height:auto = rapporto originale, mai deformati */
.proof-img {
    display: block;
    width: 100%;
    height: auto;
}

/* ─── COS'È SECTION ───────────────────────────────────────── */
.cose-section {
    background: var(--color-surface);
}

.cose-section p {
    font-size: 1.1rem;
    line-height: 1.8;
}

.big-quote {
    font-size: clamp(1.3rem, 3.5vw, 1.7rem);
    font-weight: 800;
    color: var(--color-heading);
    padding: 40px 0 40px 24px;
    line-height: 1.4;
    border-left: 4px solid var(--color-primary);
    margin: 40px 0;
    text-align: left;
}

.checkmark-list {
    list-style: none;
    padding: 0;
    margin: 32px 0;
}

.checkmark-list li {
    padding: 12px 0 12px 36px;
    position: relative;
    font-size: 1.05rem;
    line-height: 1.6;
}

.checkmark-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 16px;
    width: 22px;
    height: 22px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    border-radius: 50%;
}

.checkmark-list li::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 20px;
    width: 10px;
    height: 6px;
    border-left: 2.5px solid #fff;
    border-bottom: 2.5px solid #fff;
    transform: rotate(-45deg);
}

/* ─── LIFESTYLE / ADATTO A TE ─────────────────────────────── */
.lifestyle-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 32px 0;
}

.lifestyle-card {
    background: var(--color-surface);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s, box-shadow 0.3s;
}

.lifestyle-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.lifestyle-card-img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    display: block;
}

.lifestyle-card p {
    padding: 20px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-heading);
    text-align: center;
    margin: 0;
    line-height: 1.4;
}

.lifestyle-card .check-text {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    text-align: left;
    padding: 20px;
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-heading);
    line-height: 1.4;
}

.check-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
    position: relative;
}

.check-icon::after {
    content: '';
    display: block;
    width: 10px;
    height: 6px;
    border-left: 2.5px solid #fff;
    border-bottom: 2.5px solid #fff;
    transform: rotate(-45deg);
    margin-bottom: 2px;
}

/* ─── 5 MOTIVI ────────────────────────────────────────────── */
.motivo-block {
    background: var(--color-surface);
    border-radius: var(--radius-md);
    padding: 40px 32px 36px;
    margin-bottom: 24px;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

/* accento oro Q3: hairline in alto sulla card */
.motivo-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(to right, var(--color-gold), var(--color-primary));
    opacity: 0.7;
}

.motivo-block:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-card-hover);
}

.motivo-block .motivo-number {
    position: absolute;
    top: -10px;
    right: -5px;
    font-size: 8rem;
    font-weight: 900;
    font-style: italic;
    color: rgba(234, 88, 12, 0.06);
    line-height: 1;
    pointer-events: none;
    user-select: none;
}

.motivo-block h3 {
    color: var(--color-primary);
    text-transform: uppercase;
    font-size: 1.05rem;
    letter-spacing: 0.03em;
    margin-bottom: 12px;
    position: relative;
}

.motivo-block p {
    margin-bottom: 0;
    color: var(--color-text-soft);
    position: relative;
}

.motivo-block p + p {
    margin-top: 16px;
}

/* ─── COSA COMPRENDE ──────────────────────────────────────── */
.feature-card {
    background: var(--color-surface);
    border-radius: var(--radius-md);
    padding: 0;
    margin-bottom: 20px;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-card);
    transition: transform 0.3s, box-shadow 0.3s;
    overflow: hidden;
}

.feature-card-img {
    width: 100%;
    height: auto;
    aspect-ratio: 1000 / 562;
    object-fit: contain;
    display: block;
}

.feature-card-body {
    padding: 28px 32px 32px;
}

.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-card-hover);
}

.feature-card h3 {
    color: var(--color-heading);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.feature-card p {
    color: var(--color-text-soft);
    margin-bottom: 0;
}

.feature-card p + p {
    margin-top: 16px;
}

/* ─── MOCKUP PRODOTTO ───────────────────────────────────────
   Mockup Q3: PNG/WebP con bordi sfumati in trasparenza, quindi
   niente border-radius né ombre (taglierebbero la sfumatura).
   `height: auto` mantiene il rapporto 3:2 originale: l'immagine
   non viene mai deformata né ritagliata.                        */
.mockup-wrapper {
    margin: 36px 0 24px;
    display: flex;
    justify-content: center;
}

.mockup-img {
    display: block;
    width: 100%;
    max-width: 772px;   /* larghezza piena del container su desktop */
    height: auto;
}

/* ─── GARANZIE ────────────────────────────────────────────── */
.garanzie-section {
    background: linear-gradient(180deg, var(--color-dark) 0%, var(--color-dark-2) 100%);
    color: #fff;
    padding: 80px 0;
}

.garanzie-section h2 {
    color: #fff;
}

.garanzie-intro {
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    max-width: 640px;
    margin: 0 auto 20px;
}

.garanzie-intro:last-child {
    margin-bottom: 48px;
}

.garanzie-intro strong {
    color: #fff;
}

.garanzia-card {
    background: linear-gradient(135deg, var(--color-success), var(--color-success-dark));
    border: none;
    border-radius: var(--radius-md);
    padding: 36px 32px;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.garanzia-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(22, 163, 74, 0.3);
}

.garanzia-card .garanzia-number {
    position: absolute;
    top: -15px;
    right: -5px;
    font-size: 9rem;
    font-weight: 900;
    font-style: italic;
    /* accento oro Q3 sul numerone */
    color: rgba(251, 191, 36, 0.16);
    line-height: 1;
    pointer-events: none;
    user-select: none;
}

.garanzia-card .shield {
    font-size: 1.6rem;
    margin-bottom: 12px;
    display: block;
    position: relative;
}

.garanzia-card h3 {
    position: relative;
    color: #fff;
}

.garanzia-card p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
    font-size: 1.05rem;
    line-height: 1.7;
    position: relative;
}

/* ─── FAQ ─────────────────────────────────────────────────── */
.faq-section {
    background: var(--color-surface);
}

.faq-item {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
    overflow: hidden;
    transition: box-shadow 0.3s;
}

.faq-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    cursor: pointer;
    font-weight: 700;
    font-size: 1.05rem;
    color: #fff;
    background: var(--gradient-primary);
    list-style: none;
    user-select: none;
    gap: 12px;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.7);
    flex-shrink: 0;
    transition: transform 0.3s;
}

.faq-item[open] summary::after {
    content: '−';
    color: #fff;
}

.faq-item summary:focus-visible {
    outline: 3px solid var(--color-gold-bright);
    outline-offset: -3px;
}

.faq-answer {
    padding: 20px 24px;
    color: var(--color-text-soft);
    line-height: 1.7;
    font-size: 1rem;
}

/* ─── CLOSING ─────────────────────────────────────────────── */
.closing-section {
    background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-alt) 100%);
    padding: 80px 0;
}

.closing-section p {
    font-size: 1.1rem;
    line-height: 1.8;
}

.urgency-box {
    background: linear-gradient(135deg, #fef2f2, #fee2e2);
    border: 2px solid #fca5a5;
    border-radius: var(--radius-md);
    padding: 32px;
    text-align: center;
    margin: 40px 0;
}

.urgency-box p {
    color: var(--color-danger-dark);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0;
}

/* variante scura usata nella CTA finale */
.urgency-box--dark {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--color-gold-soft);
}

.final-cta .urgency-box--dark .urgency-headline {
    color: var(--color-gold-bright);
    font-size: 1.3rem;
    font-weight: 900;
    margin-top: 0;
}

/* La CTA finale imposta .final-cta p { margin: 0 auto 40px }: qui lo
   riportiamo a un blocco compatto, altrimenti il riquadro urgenza si
   apre a fisarmonica. */
.final-cta .urgency-box--dark p {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
    max-width: 100%;
    margin: 8px auto 0;
}

.urgency-box--dark .urgency-accent {
    color: var(--color-primary-light);
    font-weight: 800;
}

/* ─── FINAL CTA ───────────────────────────────────────────── */
.final-cta {
    background: linear-gradient(180deg, var(--color-dark) 0%, var(--color-darkest) 100%);
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.final-cta h2 {
    color: #fff;
    margin-bottom: 16px;
}

.final-cta h3 {
    color: #fff;
    font-size: clamp(1.3rem, 3vw, 1.7rem);
    text-align: center;
    margin: 40px 0 8px;
}

.final-cta p {
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto 40px;
}

.final-cta .text-white {
    color: #fff;
}

/* ─── FOOTER ──────────────────────────────────────────────── */
.site-footer {
    background: var(--color-darkest);
    color: rgba(255, 255, 255, 0.45);
    padding: 32px 0 40px;
    text-align: center;
    font-size: 0.8rem;
    line-height: 1.6;
}

.site-footer p {
    margin-bottom: 6px;
    font-size: 0.8rem;
}

/* ─── DIVIDERS ────────────────────────────────────────────── */
.divider {
    width: 60px;
    height: 4px;
    /* accento oro Q3 nel gradiente */
    background: linear-gradient(to right, var(--color-gold), var(--color-primary), var(--color-primary-light));
    border-radius: 2px;
    margin: 0 auto 32px;
}

/* ─── SCROLL ANIMATIONS ───────────────────────────────────── */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .fade-up { opacity: 1; transform: none; transition: none; }
    .cta-btn { animation: none; }
    .hero-line.blink-red { animation: none; }

    .proof-marquee {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        overscroll-behavior-x: contain;
        -webkit-mask-image: none;
                mask-image: none;
    }
    .proof-track { animation: none; transform: none; padding-inline: var(--proof-gap); }
    .proof-list[aria-hidden="true"] { display: none; }
    .proof-card { scroll-snap-align: center; }
}

/* ─── MODAL CANDIDATURA ───────────────────────────────────── */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    z-index: 1100;
}

.modal-overlay.open {
    display: flex;
    animation: modal-fade-in 0.25s ease;
}

@keyframes modal-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-box {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    padding: 40px 32px 32px;
    max-width: 440px;
    width: 100%;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
    animation: modal-slide-up 0.3s ease;
    max-height: 90vh;
    max-height: 90dvh;
    overflow-y: auto;
    border-top: 3px solid var(--color-gold); /* accento Q3 */
}

@keyframes modal-slide-up {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

.modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: var(--color-bg-alt);
    color: var(--color-text-mute);
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.modal-close:hover {
    background: var(--color-border);
    color: var(--color-heading);
}

.modal-title {
    font-size: 1.4rem;
    font-weight: 900;
    font-style: italic;
    text-transform: uppercase;
    color: var(--color-heading);
    text-align: center;
    letter-spacing: -0.01em;
    line-height: 1.2;
    margin-bottom: 10px;
    padding-right: 28px;
}

.modal-subtitle {
    text-align: center;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text-mute);
    margin-bottom: 28px;
}

.modal-subtitle strong {
    color: var(--color-primary);
}

.modal-field {
    margin-bottom: 16px;
}

.modal-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--color-text);
    margin-bottom: 6px;
}

.modal-input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-heading);
    background: var(--color-bg);
    outline: none;
    transition: border-color 0.2s, background 0.2s;
}

.modal-input:focus {
    border-color: var(--color-primary);
    background: var(--color-surface);
}

.modal-input.error {
    border-color: var(--color-danger);
}

.phone-row {
    display: flex;
    gap: 8px;
}

.phone-prefix {
    flex: 0 0 auto;
    width: 118px;
    padding: 14px 8px;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-heading);
    background: var(--color-bg);
    outline: none;
    cursor: pointer;
    transition: border-color 0.2s;
}

.phone-prefix:focus {
    border-color: var(--color-primary);
}

.phone-row .modal-input {
    flex: 1;
    min-width: 0;
}

.modal-error-msg {
    display: none;
    color: var(--color-danger);
    font-size: 0.85rem;
    font-weight: 600;
    margin: -6px 0 12px;
}

.modal-error-msg.visible {
    display: block;
}

.modal-dev-note {
    display: none;
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: 10px;
    background: var(--color-success-bg);
    border: 1px solid var(--color-success-border);
    color: var(--color-success-dark);
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.5;
    text-align: center;
}

.modal-dev-note.visible {
    display: block;
}

.modal-submit {
    width: 100%;
    margin-top: 8px;
    background: var(--gradient-cta);
    color: #fff;
    border: none;
    border-radius: 9999px;
    padding: 18px 24px;
    font-family: inherit;
    font-size: 1.05rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    cursor: pointer;
    box-shadow: var(--shadow-cta);
    transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
}

.modal-submit:hover {
    transform: scale(1.02);
}

.modal-submit:disabled {
    opacity: 0.7;
    cursor: wait;
    transform: none;
}

body.modal-open {
    overflow: hidden;
}

/* ─── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 768px) {
    h2 {
        font-size: clamp(1.5rem, 7vw, 2.4rem);
    }

    .section,
    .social-proof,
    .garanzie-section,
    .closing-section,
    .final-cta {
        padding: 20px 0;
    }

    .hero {
        padding: 24px 0 40px;
    }

    .hero-logo {
        margin-bottom: 8px;
    }

    .container {
        padding: 0 16px;
    }

    .hero .subtext {
        font-size: 0.7rem;
        line-height: 1.25;
        text-transform: uppercase;
        letter-spacing: 0.02em;
    }

    .hero-cue {
        text-transform: none;
        font-size: 0.85rem;
    }

    .hero-line-sm { font-size: 3.9vw; }
    .hero-line-sm-wide { font-size: 5.5vw; }
    .hero-line-xl { font-size: 9.5vw; }
    .hero-line-lg { font-size: 5vw; }

    .cta-btn {
        padding: 18px 28px;
        width: 100%;
    }

    .cta-main-text {
        font-size: 1.15rem;
    }

    .hero-form {
        padding: 22px 18px 18px;
    }

    .hero-form .cta-btn {
        padding-inline: 14px;
    }

    .reason-block,
    .motivo-block {
        padding: 28px 20px;
    }

    .motivo-block {
        padding-top: 32px;
    }

    .feature-card-body {
        padding: 20px 20px 24px;
    }

    .garanzia-card {
        padding: 28px 20px;
    }

    .topbar {
        font-size: 0.7rem;
        padding: 6px 12px;
        gap: 8px;
    }

    .topbar-text {
        font-size: 0.6rem;
        max-width: 160px;
    }

    .countdown-unit {
        padding: 3px 5px;
        font-size: 0.7rem;
        width: 36px;
        height: 36px;
    }

    .countdown-unit small {
        font-size: 0.4rem;
    }

    .proof-marquee {
        --proof-card-w: min(72vw, 300px);
        --proof-gap: 16px;
        --proof-fade: 28px;
        margin-top: 32px;
    }

    .lifestyle-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .lifestyle-card-img {
        aspect-ratio: 16 / 7;
    }

    .lifestyle-card p {
        padding: 16px;
        font-size: 1.1rem;
    }

    .big-quote {
        font-size: 1.2rem;
        padding: 24px 0 24px 20px;
    }

    .faq-item summary {
        padding: 16px 18px;
        font-size: 0.98rem;
    }

    .faq-answer {
        padding: 16px 18px;
    }

    .modal-overlay {
        padding: 16px;
    }

    .modal-box {
        padding: 32px 20px 24px;
    }
}

@media (max-width: 480px) {
    .motivo-block .motivo-number {
        font-size: 6rem;
    }

    .garanzia-card .garanzia-number {
        font-size: 7rem;
    }
}

/* Smartphone stretti (360px e sotto): la topbar sticky è il punto
   più a rischio di overflow orizzontale. */
@media (max-width: 380px) {
    .container {
        padding: 0 14px;
    }

    .topbar {
        gap: 6px;
        padding: 6px 8px;
    }

    .topbar-text {
        font-size: 0.55rem;
        max-width: 120px;
    }

    .countdown {
        gap: 4px;
    }

    .countdown-unit {
        width: 32px;
        height: 32px;
        font-size: 0.65rem;
    }

    .cta-btn {
        padding: 16px 14px;
    }

    .cta-main-text {
        font-size: 1rem;
    }

    .cta-sub-text {
        font-size: 0.78rem;
    }

    .phone-prefix {
        width: 96px;
        font-size: 0.85rem;
        padding: 14px 4px;
    }
}
