/* ==========================================================================
   Tema Nextfuture (dal 23/10/2026)
   ==========================================================================
   Si carica su tutte le pagine dopo green-theme.css e nextfuture.css: colori
   del marchio, menu e piè di pagina nuovi, contatti con le icone del tema, e
   i pezzi della home (cornici di computer/iPad/iPhone, grafiche SVG a schede,
   numeri, recensioni). Le sezioni della home usano i componenti del tema
   Martex (content-section, statistic, cbox-1, fbox-12, review-1).
   ========================================================================== */

:root {
    --nf-verde: #7a9c30;
    --nf-verde-hover: #5f7d1f;
    --nf-verde-scuro: #3a4e1a;
    --nf-notte: #1f2914;
    --nf-notte-2: #26321a;
    --nf-chiaro: #f6f8f1;
    --nf-giallo: #c5bb28;
    --nf-testo: #545a4e;
    --nf-linea: #e3e6dc;
    --nf-ombra: 0 30px 60px -24px rgba(28, 40, 12, .35), 0 12px 24px -12px rgba(28, 40, 12, .2);
}

body { background: #fff; }
h1, h2, h3, h4, h5 { color: var(--nf-notte); }
h1, h2 { text-wrap: balance; letter-spacing: -.02em; }
p { color: var(--nf-testo); }
a { color: var(--nf-verde-scuro); }

.desktoplogo img { max-height: 40px; width: auto; }
.wsmenu > .wsmenu-list > li > a.h-link { font-weight: 500; }
.nf-menu-desc { display: block; font-size: .8rem; color: #8a8f84; font-weight: 400; line-height: 1.3; margin-top: 2px; }
.wsmenu > .wsmenu-list > li > ul.sub-menu > li > a { line-height: 1.35; padding-top: 9px; padding-bottom: 9px; }

/* Fondi */
.nf-archi { background: #fbfcf8 url(../images/home/sfondo-archi.svg) no-repeat right -160px top -120px / 820px auto; }
.nf-archi-tenue { background: #fff url(../images/home/sfondo-archi-tenue.svg) no-repeat left -220px bottom -260px / 760px auto; }
.nf-chiaro { background: var(--nf-chiaro); }
.nf-notte { background: var(--nf-notte-2); }
.nf-notte h1, .nf-notte h2, .nf-notte h3, .nf-notte h4 { color: #fff; }
.nf-notte p, .nf-notte li { color: #c9d3b8; }
.nf-notte a:not(.btn) { color: #dfe8c9; }
.nf-linea-su { border-top: 1px solid var(--nf-linea); }

/* Cornici */
.nf-browser { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: var(--nf-ombra); border: 1px solid rgba(0,0,0,.08); }
.nf-browser-bar { display: flex; align-items: center; gap: 12px; height: 34px; padding: 0 14px; background: #f1f2ee; border-bottom: 1px solid #e2e4dc; }
.nf-browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d5d8cf; display: inline-block; margin-right: 6px; }
.nf-browser-bar i:nth-child(1) { background: #e0796a; } .nf-browser-bar i:nth-child(2) { background: #e7c15a; } .nf-browser-bar i:nth-child(3) { background: #8fbf5a; }
.nf-browser-bar span { flex: 1; text-align: center; font: 500 12px/22px 'Inter', sans-serif; color: #8a8f84; background: #fff; border-radius: 6px; max-width: 360px; margin: 0 auto; }
.nf-browser img { display: block; width: 100%; height: auto; }
.nf-phone { background: #111; padding: 8px; border-radius: 34px; box-shadow: var(--nf-ombra); }
.nf-phone img { display: block; width: 100%; height: auto; border-radius: 27px; }
.nf-scena { position: relative; }
.nf-scena .nf-phone { position: absolute; width: 22%; right: -3%; bottom: -8%; }

/* Numeri su linee */
.nf-numeri { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--nf-linea); border-bottom: 1px solid var(--nf-linea); margin: 0; }
.nf-numeri > .col { padding: 34px 20px; width: auto; max-width: none; flex: none; }
.nf-numeri > .col + .col { border-left: 1px solid var(--nf-linea); }
.nf-numero { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 2.6rem; letter-spacing: -1.2px; color: var(--nf-notte); line-height: 1; margin-bottom: 8px; }
.nf-numeri p { margin: 0; font-size: .95rem; line-height: 1.4; }
@media (max-width: 991px) {
    .nf-numeri { grid-template-columns: 1fr 1fr; }
    .nf-numeri > .col { padding: 26px 16px; }
    .nf-numeri > .col + .col { border-left: 0; }
    .nf-numeri > .col:nth-child(even) { border-left: 1px solid var(--nf-linea); }
    .nf-numeri > .col:nth-child(n+3) { border-top: 1px solid var(--nf-linea); }
    .nf-numeri > .col:last-child { grid-column: 1 / -1; }
    .nf-numero { font-size: 2rem; }
}
.nf-notte .nf-numeri, .nf-notte .nf-numeri > .col, .nf-hero-notte .nf-numeri, .nf-hero-notte .nf-numeri > .col { border-color: rgba(255,255,255,.14) !important; }
.nf-notte .nf-numero, .nf-hero-notte .nf-numero { color: #fff; }
.nf-hero-notte .nf-numeri p { color: #c9d3b8; }

/* Prodotti in righe */
.nf-righe { border-top: 1px solid var(--nf-linea); }
.nf-riga { display: grid; grid-template-columns: 220px 1fr auto; gap: 40px; align-items: center; padding: 34px 0; border-bottom: 1px solid var(--nf-linea); }
.nf-riga img { max-width: 190px; max-height: 58px; width: auto; }
.nf-riga h3 { font-size: 1.35rem; margin: 0 0 6px; }
.nf-riga p { margin: 0; }
.nf-riga .nf-vai { font-weight: 600; white-space: nowrap; text-decoration: none; }
.nf-riga .nf-vai:after { content: " \2192"; }
.nf-riga.nf-riga-grande { grid-template-columns: 220px 1fr auto; padding: 44px 0; }

/* Elenchi con spunta, senza tessere */
.nf-elenco { list-style: none; padding: 0; margin: 22px 0 0; }
.nf-elenco li { position: relative; padding: 11px 0 11px 30px; border-top: 1px solid var(--nf-linea); color: var(--nf-testo); }
.nf-elenco li:last-child { border-bottom: 1px solid var(--nf-linea); }
.nf-elenco li:before { content: ""; position: absolute; left: 4px; top: 18px; width: 12px; height: 7px; border-left: 2px solid var(--nf-verde); border-bottom: 2px solid var(--nf-verde); transform: rotate(-45deg); }
.nf-elenco strong { color: var(--nf-notte); }
.nf-notte .nf-elenco li { border-color: rgba(255,255,255,.14); }
.nf-notte .nf-elenco strong { color: #fff; }
.nf-notte .nf-elenco li { color: #c9d3b8; }

/* Colonne con filetto verticale */
.nf-colonne > [class*=col] { padding-top: 6px; padding-bottom: 6px; }
@media (min-width: 992px) { .nf-colonne > [class*=col] + [class*=col] { border-left: 1px solid var(--nf-linea); padding-left: 32px; } }
.nf-colonne h3 { font-size: 1.3rem; margin-bottom: 10px; }
.nf-icona { width: 30px; height: 30px; color: var(--nf-verde); margin-bottom: 16px; display: block; }

/* Link elenco (risorse) */
.nf-link-elenco { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 48px; }
.nf-link-elenco li { break-inside: avoid; border-top: 1px solid var(--nf-linea); padding: 16px 0; }
.nf-link-elenco a { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: 1.1rem; color: var(--nf-notte); text-decoration: none; }
.nf-link-elenco a:hover { color: var(--nf-verde-hover); }
.nf-link-elenco p { margin: 4px 0 0; font-size: .95rem; }

/* Recensioni fisse */
.nf-citazione { padding: 0 8px; }
.nf-citazione blockquote { font-size: 1.02rem; line-height: 1.65; color: #33382e; margin: 0 0 20px; }
.nf-citazione cite { font-style: normal; display: flex; align-items: center; gap: 12px; }
.nf-citazione cite img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.nf-citazione cite strong { display: block; color: var(--nf-notte); }
.nf-citazione cite span { font-size: .88rem; color: #80867a; }
.nf-trust { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--nf-notte); font-weight: 600; }
.nf-trust img { height: 24px; width: auto; }
.nf-stelle { color: #00b67a; letter-spacing: 2px; }

/* Citazione grande */
.nf-citazione-grande blockquote { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 600; font-size: 1.75rem; line-height: 1.4; letter-spacing: -.01em; color: var(--nf-notte); }
.nf-notte .nf-citazione-grande blockquote { color: #fff; }

/* Contatti divisi */
.nf-contatti .col-lg-6 { padding-top: 10px; padding-bottom: 10px; }
.nf-contatti h3 { font-size: 1.5rem; margin-bottom: 8px; }
.nf-contatti dl { margin: 22px 0 26px; }
.nf-contatti dt { font-weight: 500; color: #80867a; font-size: .85rem; margin-top: 12px; }
.nf-contatti dd { margin: 0; font-size: 1.1rem; font-weight: 600; color: var(--nf-notte); }
.nf-contatti dd a { color: inherit; text-decoration: none; }
.nf-notte .nf-contatti dd { color: #fff; }

/* Due porte (variante C) */
.nf-porta { display: block; height: 100%; padding: 48px 44px; border-radius: 16px; text-decoration: none; transition: transform .25s ease, box-shadow .25s ease; }
.nf-porta:hover { transform: translateY(-4px); }
.nf-porta h2 { font-size: 2.1rem; line-height: 1.15; margin-bottom: 14px; }
.nf-porta p { font-size: 1.05rem; }
.nf-porta .nf-vai { display: inline-block; margin-top: 18px; font-weight: 700; }
.nf-porta .nf-vai:after { content: " \2192"; }
.nf-porta-prodotto { background: var(--nf-notte-2); }
.nf-porta-prodotto h2 { color: #fff; } .nf-porta-prodotto p { color: #c9d3b8; } .nf-porta-prodotto .nf-vai { color: #d5e6a3; }
.nf-porta-cliente { background: #fff; border: 1px solid var(--nf-linea); }
.nf-porta-cliente .nf-vai { color: var(--nf-verde-hover); }
.nf-porta img.nf-porta-logo { height: 40px; width: auto; margin-bottom: 26px; }

/* Ecosistema a tessere grandi (variante B) */
.nf-prodotto { padding: 110px 0; }
.nf-prodotto + .nf-prodotto { border-top: 1px solid var(--nf-linea); }
.nf-prodotto .nf-logo-prodotto { height: 46px; width: auto; margin-bottom: 26px; }
.nf-prodotto h2 { font-size: 2.6rem; line-height: 1.12; margin-bottom: 18px; }

/* Testate */
.nf-hero { padding: 190px 0 110px; }
.nf-hero h1 { font-size: 3.7rem; line-height: 1.08; letter-spacing: -.03em; margin-bottom: 24px; }
.nf-hero .nf-sotto { font-size: 1.25rem; line-height: 1.6; color: #4b5046; max-width: 640px; }
.nf-hero.text-center .nf-sotto { margin-left: auto; margin-right: auto; }
.nf-hero .btns-group { margin-top: 34px; }
.nf-hero-notte { padding: 200px 0 0; overflow: visible; position: relative; z-index: 1; background: var(--nf-notte-2) url(../images/home/sfondo-archi.svg) no-repeat right -180px top -60px / 860px auto; }
.nf-hero-notte h1 { color: #fff; }
.nf-hero-notte .nf-sotto { color: #c9d3b8; }
.nf-titolo-sezione { max-width: 760px; margin-bottom: 56px; }
.nf-titolo-sezione h2 { font-size: 2.6rem; line-height: 1.15; margin-bottom: 16px; }
.nf-titolo-sezione p { font-size: 1.12rem; }
.text-center .nf-titolo-sezione, .nf-titolo-sezione.mx-auto { margin-left: auto; margin-right: auto; }

.nf-h1-grande { font-size: 4.2rem; line-height: 1.05; letter-spacing: -.035em; margin-bottom: 26px; }
@media (max-width: 991px) { .nf-h1-grande { font-size: 2.6rem; } }

.nf-sporge { margin-bottom: -120px; }
.nf-dopo-sporge { padding-top: 200px; }
@media (max-width: 991px) { .nf-sporge { margin-bottom: -40px; } .nf-dopo-sporge { padding-top: 100px; } }


/* Footer */
.nf-footer { padding: 80px 0 30px; border-top: 1px solid var(--nf-linea); }
.nf-footer h6 { font-size: 1rem; margin-bottom: 16px; color: var(--nf-notte); }
.nf-footer ul { list-style: none; padding: 0; margin: 0 0 30px; }
.nf-footer li { margin-bottom: 8px; font-size: .95rem; }
.nf-footer li, .nf-footer p { color: #6b7065; }
.nf-footer a { color: #4b5046; text-decoration: none; }
.nf-footer a:hover { color: var(--nf-verde-hover); }
.nf-footer .nf-footer-logo { height: 38px; width: auto; margin-bottom: 18px; }
.nf-footer-fondo { border-top: 1px solid var(--nf-linea); margin-top: 30px; padding-top: 24px; font-size: .88rem; color: #80867a; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

@media (max-width: 991px) {
    .nf-hero { padding: 140px 0 70px; }
    .nf-hero h1 { font-size: 2.5rem; }
    .nf-hero-notte { padding-top: 140px; }
    .nf-titolo-sezione h2, .nf-prodotto h2 { font-size: 2rem; }
    .nf-riga, .nf-riga.nf-riga-grande { grid-template-columns: 1fr; gap: 14px; }
    .nf-link-elenco { columns: 1; }
    .nf-colonne > [class*=col] { margin-bottom: 30px; }
    .nf-prodotto { padding: 70px 0; }
    .nf-porta { padding: 34px 26px; }
    .nf-citazione-grande blockquote { font-size: 1.3rem; }
    .nf-scena .nf-phone { width: 26%; right: 0; }
}

/* ==========================================================================
   Giro 2: home ricca con i componenti del tema
   ========================================================================== */

/* Movimento */
@keyframes nf-galleggia { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes nf-flusso { to { stroke-dashoffset: -40; } }
@keyframes nf-pulsa { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
.nf-galleggia { animation: nf-galleggia 6s ease-in-out infinite; }
.nf-galleggia-lento { animation: nf-galleggia 8s ease-in-out infinite 1.2s; }
@media (prefers-reduced-motion: reduce) { .nf-galleggia, .nf-galleggia-lento, .nf-schema .nf-filo, .nf-schema .nf-led { animation: none !important; } }

/* Scena con computer, tablet e telefono */
.nf-scena3 { position: relative; padding: 0 9% 6% 13%; }
.nf-scena3 .nf-tablet { position: absolute; left: 0; bottom: 0; width: 42%; z-index: 2; }
.nf-scena3 .nf-phone { position: absolute; right: 2%; bottom: -2%; width: 15%; z-index: 3; }
.nf-tablet { background: #1d1e20; padding: 1.4%; border-radius: 18px; box-shadow: var(--nf-ombra); }
.nf-tablet img { display: block; width: 100%; height: auto; border-radius: 10px; }
.nf-hero-scena { margin-top: 70px; }

/* Testata A: chiara */
.nf-hero-a { padding: 180px 0 0; }
.nf-hero-a h1 { font-size: 3.6rem; line-height: 1.08; letter-spacing: -.03em; }
.nf-hero-a .nf-sotto { max-width: 780px; margin: 22px auto 0; font-size: 1.2rem; line-height: 1.65; color: #4b5046; }

/* Statistiche del tema sul nostro fondo */
.nf-stat .statistic-block { padding: 0 6px; }
.nf-stat .statistic-digit h2 { color: var(--nf-notte); }
.nf-stat .statistic-txt h5 { margin-bottom: 6px; }
.nf-stat .col + .col { border-left: 1px solid var(--nf-linea); }
@media (max-width: 991px) { .nf-stat .col { margin-bottom: 34px; } .nf-stat .col + .col { border-left: 0; } }
.nf-hero-notte .nf-stat .statistic-digit h2, .nf-hero-notte .nf-stat h5 { color: #fff; }
.nf-hero-notte .nf-stat p { color: #c9d3b8; }
.nf-hero-notte .nf-stat .col + .col { border-color: rgba(255,255,255,.14); }

/* Foto con riquadro sovrapposto */
.nf-foto { position: relative; }
.nf-foto img.nf-foto-img { width: 100%; height: auto; border-radius: 14px; box-shadow: var(--nf-ombra); display: block; }
.nf-foto-nota { position: absolute; left: -28px; bottom: 36px; background: #fff; border-radius: 12px; padding: 18px 22px; box-shadow: var(--nf-ombra); max-width: 240px; }
.nf-foto-nota strong { display: block; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1.9rem; font-weight: 800; color: var(--nf-notte); line-height: 1; margin-bottom: 6px; }
.nf-foto-nota span { font-size: .9rem; color: var(--nf-testo); line-height: 1.35; display: block; }
.nf-foto-libro { position: absolute; right: -24px; bottom: -30px; width: 46%; filter: drop-shadow(0 24px 30px rgba(28,40,12,.35)); }
@media (max-width: 767px) { .nf-foto-nota { left: 12px; bottom: 12px; } .nf-foto-libro { right: 0; width: 40%; } }
.nf-didascalia { font-size: .88rem; color: #80867a; margin-top: 14px; }

/* Logo del prodotto sopra il titolo della sezione */
.nf-logo-sezione { height: 44px; width: auto; margin-bottom: 22px; display: block; }

/* Sezione scura del tema */
.nf-notte .txt-block p, .nf-notte .cbox-1-txt p { color: #c9d3b8; }
.nf-notte .simple-list .list-item p { color: #c9d3b8; }

/* Schema dell'interconnessione */
.nf-schema { width: 100%; height: auto; display: block; }
.nf-schema .nf-scatola { fill: rgba(255,255,255,.06); stroke: rgba(255,255,255,.22); }
.nf-schema .nf-scatola-ev { fill: #fff; stroke: none; }
.nf-schema text { font-family: 'Inter', sans-serif; font-size: 13px; fill: #e6edd8; }
.nf-schema .nf-filo { fill: none; stroke: #9cbf4a; stroke-width: 1.6; stroke-dasharray: 4 6; animation: nf-flusso 1.6s linear infinite; }
.nf-schema .nf-filo-base { fill: none; stroke: rgba(156,191,74,.25); stroke-width: 1.6; }
.nf-schema .nf-led { fill: #b8d86a; animation: nf-pulsa 2s ease-in-out infinite; }

/* Finestra del webinar */
.nf-webinar { background: #15190f; border-radius: 14px; overflow: hidden; box-shadow: var(--nf-ombra); }
.nf-webinar-bar { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; background: #1d2316; }
.nf-webinar-bar img { height: 26px; width: auto; }
.nf-webinar-bar span { font: 500 12px 'Inter', sans-serif; color: #a9b498; }
.nf-webinar-griglia { display: grid; grid-template-columns: 2fr 1fr; gap: 8px; padding: 8px; }
.nf-webinar-relatore { position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 4 / 3.4; }
.nf-webinar-relatore img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; display: block; }
.nf-webinar-nome { position: absolute; left: 10px; bottom: 10px; background: rgba(0,0,0,.6); color: #fff; font: 600 12px 'Inter', sans-serif; padding: 5px 9px; border-radius: 6px; }
.nf-webinar-ospiti { display: grid; grid-template-rows: repeat(4, 1fr); gap: 8px; }
.nf-webinar-ospite { border-radius: 10px; background: #262d1d; display: flex; align-items: center; justify-content: center; position: relative; }
.nf-webinar-ospite b { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font: 700 14px 'Plus Jakarta Sans', sans-serif; color: #fff; background: var(--nf-verde-scuro); }
.nf-webinar-ospite:nth-child(2) b { background: #5f7d1f; } .nf-webinar-ospite:nth-child(3) b { background: #8a7f1c; } .nf-webinar-ospite:nth-child(4) b { background: #46602a; }
.nf-webinar-ospite i { position: absolute; left: 8px; bottom: 6px; font: normal 500 10px 'Inter', sans-serif; color: #a9b498; }
.nf-webinar-comandi { display: flex; justify-content: center; gap: 10px; padding: 10px 0 14px; }
.nf-webinar-comandi i { width: 34px; height: 34px; border-radius: 50%; background: #2b3322; display: block; }
.nf-webinar-comandi i:last-child { background: #c0473a; width: 46px; border-radius: 17px; }

/* Due prodotti affiancati */
.nf-prodotto-box { height: 100%; padding: 44px 40px; }
.nf-prodotto-box img { height: 44px; width: auto; margin-bottom: 24px; }
.nf-prodotto-box h3 { font-size: 1.6rem; margin-bottom: 12px; }

/* Loghi dei clienti */
.nf-clienti { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 26px 40px; margin-top: 60px; padding-top: 40px; border-top: 1px solid var(--nf-linea); }
.nf-clienti img { width: 64px; height: 64px; border-radius: 50%; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .3s, opacity .3s; }
.nf-clienti img:hover { filter: none; opacity: 1; }
.nf-clienti p { width: 100%; text-align: center; margin: 0 0 4px; font-size: .95rem; }

/* Riquadro finale verde */
.nf-banner { background: linear-gradient(135deg, #3a4e1a 0%, #5f7d1f 55%, #7a9c30 100%); border-radius: 18px; padding: 80px 40px; position: relative; overflow: hidden; }
.nf-banner:after { content: ""; position: absolute; inset: 0; background: url(../images/home/sfondo-archi.svg) no-repeat right -120px center / 620px auto; opacity: .25; pointer-events: none; }
.nf-banner > * { position: relative; z-index: 1; }
.nf-banner h2 { color: #fff; } .nf-banner p { color: #e3ecd0; }

/* Recensioni del tema senza carosello */
.nf-recensioni .review-1 { height: 100%; margin: 0; }

/* La sezione Risorse esistente: spazio sotto le schede (già in nextfuture.css) */
#risorse-home .fbox-11 { margin-bottom: 40px; }

/* Fisarmonica delle FAQ: il blu di Bootstrap diventa verde */
.accordion-button:not(.collapsed) { background-color: var(--nf-chiaro); color: var(--nf-notte); box-shadow: inset 0 -1px 0 var(--nf-linea); }
.accordion-button:focus { border-color: #b9cc8a; box-shadow: 0 0 0 .2rem rgba(122,156,48,.2); }
.accordion-button:not(.collapsed)::after { filter: hue-rotate(-140deg) saturate(.6) brightness(.6); }

@media (max-width: 991px) { .nf-hero-a { padding-top: 130px; } .nf-hero-a h1 { font-size: 2.4rem; } .nf-hero-a .nf-sotto { font-size: 1.05rem; } }

/* ==========================================================================
   Giro 3: iPad Pro (M4) e iPhone 17 Pro Max veri, presi dalle cornici di
   extravirginsoftware.it (stesse misure in cqw)
   ========================================================================== */
/* iPad e iPhone
   --------------------------------------------------------------------------
   Disegnati come quelli veri: cornice di metallo sottile, vetro nero
   uniforme intorno allo schermo, angoli dello schermo concentrici a quelli
   del corpo. Tutte le misure sono in cqw, cioè in centesimi della larghezza
   del dispositivo: lo stesso iPhone è identico a 120 o a 300 pixel, e non
   c'è più un bordo fisso che a dimensioni piccole diventa una cornice
   spessa. Il contenitore (.nfd-tablet / .nfd-phone) è quello che si
   posiziona e si anima; il disegno sta dentro. */

.nfd-tablet,
.nfd-phone {
    position: relative;
    container-type: inline-size;
}

.nfd-corpo {
    position: relative;
    filter: drop-shadow(0 28px 34px rgba(28, 40, 12, .28)) drop-shadow(0 8px 12px rgba(28, 40, 12, .18));
}

.nfd-vetro { position: relative; background: #060607; overflow: hidden; }
.nfd-vetro img { display: block; width: 100%; height: auto; }
.nfd-schermo { position: relative; overflow: hidden; background: #fff; }

/* Barra di stato: bianca come l'intestazione dell'app che le sta sotto */
.nfd-stato {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    color: #111;
    font-family: -apple-system, 'Inter', sans-serif;
    font-weight: 600;
    line-height: 1;
}

.nfd-stato-icone { display: flex; align-items: center; }
.nfd-stato svg { display: block; fill: currentColor; height: 1em; width: auto; }

.nfd-phone .nfd-stato { height: 13cqw; padding: 1.2cqw 8cqw 0 10cqw; font-size: 4.4cqw; }
.nfd-phone .nfd-stato-icone { gap: 1.6cqw; }
.nfd-phone .nfd-stato svg { height: 3.4cqw; }
.nfd-phone .nfd-stato svg:last-child { height: 3.8cqw; }

.nfd-tablet .nfd-stato { height: 2.1cqw; padding: 0 1.6cqw; font-size: 1cqw; }
.nfd-tablet .nfd-stato-icone { gap: .5cqw; }
.nfd-tablet .nfd-stato svg { height: .85cqw; }

/* iPad Pro 13" (M4) in orizzontale, Space Black.
   Il vetro nero è sottilissimo (circa 2% del lato lungo) e uguale su tutti
   i lati, il profilo di alluminio è piatto e scuro, la fotocamera sta al
   centro del lato lungo. Schermo 4:3, come le schermate a 1376x1032. */
.nfd-tablet .nfd-corpo {
    padding: .32cqw;
    border-radius: 3.5cqw;
    background: linear-gradient(160deg, #5a5c60 0%, #2a2b2e 30%, #3c3d41 62%, #1f2022 100%);
    box-shadow: inset 0 0 0 .08cqw rgba(255, 255, 255, .18);
}

.nfd-tablet .nfd-vetro { padding: 2.05cqw; border-radius: 3.2cqw; }
.nfd-tablet .nfd-schermo { border-radius: 1.45cqw; }

.nfd-tablet .nfd-vetro:before {
    content: "";
    position: absolute;
    top: .78cqw;
    left: 50%;
    width: .55cqw;
    height: .55cqw;
    margin-left: -.275cqw;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #2f3a52, #08090c 70%);
}

/* Volume sul lato lungo in alto a destra, tasto superiore sul lato corto */
.nfd-tablet .nfd-corpo:before,
.nfd-tablet .nfd-corpo:after {
    content: "";
    position: absolute;
    background: #3a3b3f;
}

.nfd-tablet .nfd-corpo:before { top: -.22cqw; right: 7cqw; width: 3.6cqw; height: .26cqw; border-radius: .2cqw .2cqw 0 0; box-shadow: -4.4cqw 0 0 #3a3b3f; }
.nfd-tablet .nfd-corpo:after { right: -.22cqw; top: 4.5cqw; width: .26cqw; height: 4.4cqw; border-radius: 0 .2cqw .2cqw 0; }

/* iPhone 15 Pro: titanio, bordo nero di circa 3,5% e Dynamic Island */
.nfd-phone .nfd-corpo {
    padding: 1.25cqw;
    border-radius: 17.5cqw;
    background: linear-gradient(150deg, #8f9296 0%, #4d5054 18%, #a3a6aa 46%, #3e4144 74%, #85888c 100%);
}

.nfd-phone .nfd-vetro { padding: 3.4cqw; border-radius: 16.3cqw; }
.nfd-phone .nfd-schermo { border-radius: 12.8cqw; }

.nfd-phone .nfd-vetro:before {
    content: "";
    position: absolute;
    z-index: 2;
    top: 5.4cqw;
    left: 50%;
    width: 30cqw;
    height: 8.6cqw;
    margin-left: -15cqw;
    border-radius: 5cqw;
    background: #060607;
}

/* Tasto azione e volume a sinistra, accensione a destra */
.nfd-phone .nfd-corpo:before,
.nfd-phone .nfd-corpo:after {
    content: "";
    position: absolute;
    background: #5d6064;
}

.nfd-phone .nfd-corpo:before { left: -.7cqw; top: 22cqw; width: .8cqw; height: 7cqw; border-radius: .5cqw 0 0 .5cqw; box-shadow: 0 11cqw 0 #5d6064, 0 23cqw 0 #5d6064; }
.nfd-phone .nfd-corpo:after { right: -.7cqw; top: 33cqw; width: .8cqw; height: 17cqw; border-radius: 0 .5cqw .5cqw 0; }


/* iPhone 17 Pro Max: alluminio argento, bordo nero sottile, Dynamic Island */
.nfd-phone .nfd-corpo { padding: 1.1cqw; border-radius: 16.8cqw; background: linear-gradient(150deg, #f1f2f3 0%, #c9ccd0 22%, #eceef0 48%, #b9bcc1 76%, #e4e6e8 100%); box-shadow: inset 0 0 0 .1cqw rgba(0,0,0,.18); }
.nfd-phone .nfd-vetro { padding: 2.7cqw; border-radius: 15.8cqw; }
.nfd-phone .nfd-schermo { border-radius: 13.2cqw; }
.nfd-phone .nfd-vetro:before { top: 4.6cqw; width: 27cqw; height: 8cqw; margin-left: -13.5cqw; }
.nfd-phone .nfd-corpo:before, .nfd-phone .nfd-corpo:after { background: #b7babe; }
.nfd-phone .nfd-corpo:before { box-shadow: 0 11cqw 0 #b7babe, 0 23cqw 0 #b7babe; }

/* Scene con i dispositivi veri */
.nf-scena3 .nfd-tablet { position: absolute; left: 0; bottom: 0; width: 47%; z-index: 2; }
.nf-scena3 .nfd-phone { position: absolute; right: 1%; bottom: -2%; width: 12.5%; z-index: 3; }
.nf-scena .nfd-phone { position: absolute; width: 19%; right: -3%; bottom: -10%; z-index: 2; }
@media (max-width: 991px) { .nf-scena .nfd-phone { right: 0; } }

/* Giro 3: pannello del marchio con i fatti (al posto della foto del team) */
.nf-fatti { position: relative; aspect-ratio: 1 / .92; border-radius: 18px; background: #f6f8f1 url(../images/home/sfondo-archi.svg) no-repeat center / 115% auto; overflow: visible; }
.nf-fatti-marchio { position: absolute; left: 50%; top: 50%; width: 30%; transform: translate(-50%, -50%); filter: drop-shadow(0 18px 28px rgba(28,40,12,.25)); }
.nf-fatto { position: absolute; background: #fff; border-radius: 12px; padding: 16px 20px; box-shadow: var(--nf-ombra); min-width: 170px; }
.nf-fatto strong { display: block; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1.7rem; font-weight: 800; color: var(--nf-notte); line-height: 1; margin-bottom: 6px; }
.nf-fatto span { font-size: .88rem; color: var(--nf-testo); line-height: 1.3; display: block; }
.nf-fatto-1 { left: 4%; top: 8%; } .nf-fatto-2 { right: 2%; top: 16%; } .nf-fatto-3 { left: 0; bottom: 14%; } .nf-fatto-4 { right: 6%; bottom: 6%; }
@media (max-width: 575px) { .nf-fatto { min-width: 0; padding: 10px 12px; } .nf-fatto strong { font-size: 1.2rem; } .nf-fatto span { font-size: .75rem; } }

/* Webinar con il nostro logo */
.nf-webinar-logo { background: radial-gradient(circle at 50% 40%, #3a4e1a, #1d2316 70%); display: flex; align-items: center; justify-content: center; }
.nf-webinar-relatore.nf-webinar-logo img { width: 62%; height: auto; object-fit: contain; }

/* Browser con l'iPad davanti */
.nf-scena-tablet { padding: 0 0 12% 0; }
.nf-scena-tablet .nfd-tablet { position: absolute; right: -4%; bottom: -4%; width: 52%; z-index: 2; }

/* Icona WhatsApp accanto al numero */
.nf-wa { display: inline-flex; align-items: center; gap: 8px; }
.nf-wa svg { width: 1.05em; height: 1.05em; fill: #25d366; flex: none; }
@media (max-width: 575px) { .nf-fatto { max-width: 46%; } .nf-fatto-3 { bottom: 18%; } .nf-fatto-4 { bottom: 2%; } }

/* Giro 4: foto vere dei frantoi (Unsplash, licenza libera anche per uso commerciale) */
.nf-foto-reale { width: 100%; border-radius: 16px; box-shadow: var(--nf-ombra); display: block; }
.nf-foto-verticale { max-width: 470px; margin: 0 auto; }

/* Giro 5: grafiche SVG da tavola tecnica (al posto delle foto) */
.nf-grafica { width: 100%; height: auto; display: block; filter: drop-shadow(0 24px 40px rgba(28,40,12,.10)); }
.nf-grafica text { font-family: 'Inter', sans-serif; fill: #545a4e; }
.nf-grafica .g-sopra { font-size: 12px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; fill: #5f7d1f; }
.nf-grafica .g-titolo { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 22px; font-weight: 700; fill: #1f2914; letter-spacing: -.3px; }
.nf-grafica .g-tacca { font-size: 13px; fill: #80867a; }
.nf-grafica .g-forte { font-weight: 700; fill: #1f2914; }
.nf-grafica .g-etichetta { font-size: 12px; font-weight: 700; fill: #1f2914; }
.nf-grafica .g-nota { font-size: 13px; fill: #3a4e1a; font-style: italic; }
.nf-grafica .g-piede { font-size: 14px; }
.nf-grafica .g-asse { stroke: #9aa38e; stroke-width: 1.2; }
.nf-grafica .g-filetto { stroke: #d6dccb; stroke-width: 1; }
.nf-grafica .g-tratteggio { stroke: #c5bb28; stroke-width: 1.6; stroke-dasharray: 4 4; }
.nf-grafica .g-richiamo { fill: none; stroke: #5f7d1f; stroke-width: 1.2; }
.nf-grafica .g-macchina rect, .nf-grafica .g-macchina path, .nf-grafica .g-macchina circle, .nf-grafica .g-macchina line { fill: #fff; stroke: #26321a; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.nf-grafica .g-macchina line, .nf-grafica .g-macchina .g-sottile { fill: none; }
.nf-grafica .g-macchina .g-sottile { stroke: #7a9c30; stroke-width: 1.2; }
.nf-grafica .g-macchina .g-acqua { fill: none; stroke: #7a9c30; }
.nf-grafica .g-macchina .g-oliva { fill: #7a9c30; stroke: #3a4e1a; }
.nf-grafica .g-macchina .g-pieno { fill: #c5bb28; fill-opacity: .55; stroke: none; }
.nf-grafica .g-macchina .g-olio { fill: none; stroke: #c5bb28; stroke-width: 2.4; }
.nf-grafica .g-flusso { fill: none; stroke: #5f7d1f; stroke-width: 1.6; stroke-dasharray: 5 5; animation: nf-flusso 2s linear infinite; }
.nf-grafica .g-nomi text { font-size: 12px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; fill: #26321a; }
.nf-grafica .g-punti circle { fill: #c5bb28; stroke: #fff; stroke-width: 2; }
@media (prefers-reduced-motion: reduce) { .nf-grafica .g-flusso { animation: none; } }

/* Giro 5: scheda del Portale nella grafica */
.nf-grafica .g-scheda rect { fill: #fff; stroke: #26321a; stroke-width: 1.6; }
.nf-grafica .g-scheda line { stroke: #e3e6dc; stroke-width: 1; }
.nf-grafica .g-scheda-titolo { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 15px; font-weight: 700; fill: #1f2914; }
.nf-grafica .g-campo { font-size: 13px; fill: #80867a; }
.nf-grafica .g-valore { font-size: 13px; font-weight: 600; fill: #1f2914; }
.nf-grafica .g-spunta { fill: #7a9c30; }
.nf-grafica .g-spunta-segno { fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.nf-grafica .g-nomi-t, .nf-grafica .g-acq { font-size: 12px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; fill: #26321a; }
.nf-grafica .g-acq { font-size: 11px; }

/* Giro 6: grafica della consulenza a schede d'interfaccia */
.nf-grafica-ui { filter: none; }
.nf-grafica .u-scheda { fill: #fff; stroke: #e3e6dc; stroke-width: 1; }
.nf-grafica .u-etichetta { font-size: 10.5px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; fill: #5f7d1f; }
.nf-grafica .u-titolo { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 16px; font-weight: 700; fill: #1f2914; }
.nf-grafica .u-titolo-p { font-size: 14.5px; }
.nf-grafica .u-numero { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 32px; font-weight: 800; fill: #1f2914; letter-spacing: -.5px; }
.nf-grafica .u-delta { font-size: 12px; font-weight: 600; fill: #5f7d1f; }
.nf-grafica .u-griglia { stroke: #eceee6; stroke-width: 1; }
.nf-grafica .u-linea { fill: none; stroke: #3a4e1a; stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 700; stroke-dashoffset: 700; animation: nf-traccia 2.4s .4s cubic-bezier(.3,.7,.2,1) forwards; }
.nf-grafica .u-asse { font-size: 11px; fill: #9aa38e; }
.nf-grafica .u-campo { font-size: 12px; fill: #80867a; }
.nf-grafica .u-valore { font-size: 12.5px; font-weight: 700; fill: #1f2914; }
.nf-grafica .u-ok { font-size: 12.5px; font-weight: 700; fill: #5f7d1f; }
.nf-grafica .u-segno { fill: none; stroke: #fff; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.nf-grafica .u-voce { font-size: 13px; font-weight: 500; fill: #1f2914; }
.nf-grafica .u-voce-aperta { fill: #545a4e; }
.nf-grafica .u-nota { font-size: 11px; font-style: italic; fill: #9aa38e; }
.nf-grafica .u-pulsa { animation: nf-pulsa 2.2s ease-in-out infinite; }
.nf-grafica .u-avanza { animation: nf-avanza 2.6s .6s ease-out both; transform-box: fill-box; transform-origin: left center; }
@keyframes nf-traccia { to { stroke-dashoffset: 0; } }
@keyframes nf-avanza { from { transform: scaleX(.1); } to { transform: scaleX(1); } }
.nf-grafica .nf-galleggia, .nf-grafica .nf-galleggia-lento { transform-box: fill-box; }
@media (prefers-reduced-motion: reduce) { .nf-grafica .u-linea { animation: none; stroke-dashoffset: 0; } .nf-grafica .u-avanza, .nf-grafica .u-pulsa { animation: none; } }

/* Giro 7: la regola dei sei giorni a schede */
.nf-grafica .u-barra { transform-box: fill-box; transform-origin: center bottom; animation: nf-cresce 1s cubic-bezier(.3,.7,.2,1) both; }
@keyframes nf-cresce { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.nf-grafica .u-asse-forte { font-weight: 700; fill: #1f2914; }
.nf-grafica .u-cal-g { font-size: 10px; text-transform: uppercase; letter-spacing: .6px; fill: #80867a; }
.nf-grafica .u-cal-n { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 15px; font-weight: 700; fill: #1f2914; }
.nf-grafica .u-scuro { fill: #1f2914; }
.nf-grafica .u-numero-p { font-size: 26px; }
.nf-grafica .u-nota-s { font-size: 11px; fill: #9aa38e; }
@media (prefers-reduced-motion: reduce) { .nf-grafica .u-barra { animation: none; } }

/* Giro 8: contatti in riquadri separati, icone nel verde del tema */
.nf-wa svg { fill: var(--nf-verde); }
.nf-contatti-blocco { height: 100%; padding: 40px; background: #fff; border: 1px solid var(--nf-linea); border-radius: 16px; }
.nf-contatti-blocco h3 { font-size: 1.6rem; margin-bottom: 8px; }
.nf-contatti-blocco > p { margin-bottom: 22px; }
.nf-contatti-griglia { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }
.nf-contatto { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid var(--nf-linea); border-radius: 12px; text-decoration: none; transition: border-color .2s, background-color .2s; }
.nf-contatto:hover { border-color: #b9cc8a; background: var(--nf-chiaro); }
.nf-contatto-largo { grid-column: 1 / -1; }
.nf-contatto-icona svg { width: 22px; height: 22px; display: block; color: var(--nf-verde); }
.nf-contatto-icona svg[viewBox] path[d^="M17.5"] { fill: var(--nf-verde); }
.nf-contatto small { display: block; font-size: .78rem; color: #80867a; line-height: 1.2; }
.nf-contatto strong { display: block; font-size: 1.02rem; color: var(--nf-notte); line-height: 1.35; word-break: break-word; }
.nf-contatto-icona svg:not([fill="none"]) { fill: var(--nf-verde); }
@media (max-width: 575px) { .nf-contatti-blocco { padding: 26px 20px; } .nf-contatti-griglia { grid-template-columns: 1fr; } }
.nf-footer-rec { margin: 0 0 12px; }
.nf-footer-rec a { display: inline-flex; align-items: center; gap: 10px; }
.nf-footer-rec svg { width: 17px; height: 17px; flex: none; color: var(--nf-verde); }
.nf-footer-rec svg:not([fill="none"]) { fill: var(--nf-verde); }

/* Giro 8: tavola del Portale con schermate vere */
.nf-tavola { position: relative; padding: 36px 36px 44px; border-radius: 18px; background-color: #f6f8f1; background-image: radial-gradient(#d9dfcc 1px, transparent 1.2px); background-size: 16px 16px; }
.nf-tavola-sopra { font-size: 12px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: #5f7d1f; margin: 0 0 6px; }
.nf-tavola-titolo { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1.35rem; font-weight: 700; color: #1f2914; letter-spacing: -.3px; margin: 0 0 24px; line-height: 1.25; }
.nf-tavola-scena { position: relative; padding: 0 16% 20% 0; }
.nf-tavola-mappa { position: absolute; right: 0; top: 18%; width: 30%; border-radius: 12px; overflow: hidden; box-shadow: var(--nf-ombra); background: #fff; }
.nf-tavola-mappa img { display: block; width: 100%; height: auto; }
.nf-tavola-scheda { position: absolute; left: 4%; bottom: 0; display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--nf-linea); border-radius: 12px; padding: 14px 18px; box-shadow: var(--nf-ombra); }
.nf-tavola-spunta { width: 30px; height: 30px; border-radius: 50%; background: var(--nf-verde); display: flex; align-items: center; justify-content: center; flex: none; }
.nf-tavola-spunta svg { width: 16px; height: 16px; }
.nf-tavola-scheda strong { display: block; font-size: .95rem; color: var(--nf-notte); line-height: 1.2; }
.nf-tavola-scheda small { display: block; font-size: .8rem; color: #80867a; }
@media (max-width: 575px) { .nf-tavola { padding: 24px 18px 30px; } .nf-tavola-scheda { padding: 10px 12px; } .nf-tavola-scheda small { display: none; } }
.nf-tavola, .nf-tavola-scheda { text-align: left; }

/* Pagina 404 */
.nf-404 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 7rem; font-weight: 800; line-height: 1; letter-spacing: -.04em; color: var(--nf-verde); margin: 40px 0 10px; }

/* ==========================================================================
   Pagine interne (23/10/2026): testata chiara verde con gli archi del logo,
   blocchi verde scuro e fascia finale scura prima del piè di pagina
   ========================================================================== */
.gr--whitesmoke { background: #f6f8f1 url(../images/home/sfondo-archi.svg) no-repeat right -220px top -180px / 780px auto; }
#hero-27 .hero-overlay { background-image: none; }

/* Blocco verde scuro: tutti i testi chiari */
.nf-scuro { background-color: var(--nf-notte-2); background-image: url(../images/home/sfondo-archi.svg); background-repeat: no-repeat; background-position: right -260px center; background-size: 720px auto; position: relative; }
.nf-scuro h1, .nf-scuro h2, .nf-scuro h3, .nf-scuro h4, .nf-scuro h5, .nf-scuro h6, .nf-scuro .statistic-digit h2 { color: #fff !important; }
.nf-scuro p, .nf-scuro li, .nf-scuro .color--grey, .nf-scuro .statistic-txt p { color: #c9d3b8 !important; }
.nf-scuro b, .nf-scuro strong { color: #fff; }
.nf-scuro a:not(.btn) { color: #d5e6a3; }
.nf-scuro .statistic-block { border-color: rgba(255,255,255,.14); }

/* Fascia finale delle pagine interne */
.nf-fascia { padding: 90px 0; }
.nf-fascia h2 { font-size: 2.5rem; line-height: 1.15; margin-bottom: 16px; }
.nf-fascia p { font-size: 1.15rem; max-width: 640px; }
.nf-fascia .btns-group { margin-top: 30px; }
.nf-fascia .nf-fascia-fatti { list-style: none; padding: 0; margin: 0; }
.nf-fascia .nf-fascia-fatti li { padding: 16px 0; border-top: 1px solid rgba(255,255,255,.14); }
.nf-fascia .nf-fascia-fatti li:last-child { border-bottom: 1px solid rgba(255,255,255,.14); }
.nf-fascia .nf-fascia-fatti strong { display: block; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1.6rem; font-weight: 800; color: #fff; line-height: 1.1; }
.nf-pulsante-bianco { background: #fff !important; color: #26321a !important; border-color: #fff !important; }
.nf-pulsante-bianco:hover { background: #d5e6a3 !important; border-color: #d5e6a3 !important; }
@media (max-width: 991px) { .nf-fascia { padding: 64px 0; } .nf-fascia h2 { font-size: 1.9rem; } .nf-fascia .nf-fascia-fatti { margin-top: 36px; } }

/* Riquadro scuro dentro le pagine (banner delle risorse, primo blocco dell'assistenza) */
.nf-riquadro-scuro { background-color: var(--nf-notte-2) !important; background-image: url(../images/home/sfondo-archi.svg) !important; background-repeat: no-repeat !important; background-position: right -200px center !important; background-size: 640px auto !important; }

/* Contatti: recapiti in colonna accanto al modulo */
.nf-contatti-colonna h3 { font-size: 1.4rem; margin-bottom: 6px; }
.nf-contatti-colonna > p { margin-bottom: 14px; }
.nf-contatti-colonna .nf-contatti-griglia { margin-top: 0; grid-template-columns: 1fr; }
.nf-modulo { background: #fff; border: 1px solid var(--nf-linea); border-radius: 16px; padding: 36px 36px 20px; }
.nf-modulo h3 { font-size: 1.4rem; }
@media (max-width: 575px) { .nf-modulo { padding: 24px 18px 10px; } }

/* riquadro «Hai bisogno di informazioni?» in fondo alle FAQ: niente lilla del template */
.more-questions-txt.bg--white-400 { background-color: #eef2e6; }
.more-questions-txt a { color: var(--nf-verde-scuro, #5f7d1f); font-weight: 600; }
