/* ==========================================================================
   Goldweb - sito v3. Chiaro, nitido, moderno: inchiostro blu, oro vivo, card tonde, schermate reali.
   Nessuna libreria: HTML, CSS e un po' di JavaScript.
   ========================================================================== */
:root {
	--ink: #14213d; --ink2: #0e1830;
	--bg: #ffffff; --soft: #fbf8f3; --s1: #ffffff; --s2: #f4f6fb; --s3: #eaeef6;
	--line: #e9ecf3; --line2: #d9deea;
	--text: #14213d; --mut: #55627f; --dim: #8993ab;
	--gold: #f5a300; --gold2: #b06f00; --gold3: #d98c00; --goldl: #ffc83d;
	--grad: linear-gradient(135deg, #ffcf4a 0%, #f5a300 100%);
	--gradtext: linear-gradient(100deg, #f5a300 0%, #e08600 100%);
	--peach: #fff1d4;
	--r: 20px; --r2: 28px; --wrap: 1200px;
	--font: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	--display: var(--font);
	--sh: 0 1px 2px rgba(20, 33, 61, .05), 0 22px 44px -28px rgba(20, 33, 61, .28);
	--sh2: 0 2px 4px rgba(20, 33, 61, .06), 0 30px 60px -28px rgba(20, 33, 61, .38);
	--ease: cubic-bezier(.2, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 800; line-height: 1.08; letter-spacing: -.03em; margin: 0; color: var(--ink); }
p { margin: 0 0 1em; }
::selection { background: #ffd978; color: var(--ink); }
:focus-visible { outline: 3px solid rgba(245, 163, 0, .55); outline-offset: 3px; border-radius: 10px; }
.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 300; background: var(--gold); color: var(--ink); padding: 10px 16px; border-radius: 10px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
.gold { color: var(--gold3); }
svg.i { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }

.rv { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv[data-d="1"] { transition-delay: .07s; } .rv[data-d="2"] { transition-delay: .14s; } .rv[data-d="3"] { transition-delay: .21s; } .rv[data-d="4"] { transition-delay: .28s; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .rv { opacity: 1; transform: none; transition: none; } *, *::before, *::after { animation: none !important; } }

/* ---------- barra in alto ---------- */
.hd { position: fixed; z-index: 100; top: 0; left: 0; right: 0; background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.5) blur(16px); -webkit-backdrop-filter: saturate(1.5) blur(16px); border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s, background .25s; }
.hd.solid { background: rgba(255, 255, 255, .96); border-bottom-color: var(--line); box-shadow: 0 10px 30px -22px rgba(20, 33, 61, .3); }
.hd .bar-in { width: min(var(--wrap), 100% - 48px); margin-inline: auto; height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.logo { display: inline-flex; align-items: center; gap: 0; text-decoration: none; font-family: var(--display); font-size: 26px; font-weight: 800; letter-spacing: -.04em; line-height: 1; white-space: nowrap; }
.logo::before { content: ''; width: 30px; height: 30px; margin-right: 10px; border-radius: 10px 10px 10px 3px; background: var(--grad); box-shadow: inset 0 -3px 0 rgba(176, 111, 0, .25), 0 6px 14px -4px rgba(245, 163, 0, .55); }
.logo b { font-weight: 800; color: var(--ink); padding: 0; border: 0; }
.logo span { font-weight: 800; padding: 0; color: var(--gold); }
.nv { display: flex; align-items: center; gap: 4px; }
.nv a.lk { padding: 9px 14px; border-radius: 999px; font-size: 15px; font-weight: 600; color: var(--ink); text-decoration: none; transition: color .2s, background .2s; }
.nv a.lk:hover { background: var(--s2); }
.nv a.lk[aria-current="page"] { color: var(--gold2); }
.nv .btn { margin-left: 10px; }
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 28px; border: 0; border-radius: 14px; font-weight: 700; font-size: 16px; text-decoration: none; transition: transform .25s var(--ease), box-shadow .3s, background .2s, border-color .2s, color .2s; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-gold { background: var(--grad); color: var(--ink); box-shadow: 0 12px 26px -10px rgba(245, 163, 0, .75), inset 0 1px 0 rgba(255, 255, 255, .55); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -10px rgba(245, 163, 0, .85), inset 0 1px 0 rgba(255, 255, 255, .55); }
.btn-ghost { background: #fff; color: var(--ink); border: 1.5px solid var(--line2); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold2); transform: translateY(-2px); }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 15px; border-radius: 12px; }
.bg-menu { display: none; width: 46px; height: 46px; border: 1.5px solid var(--line2); border-radius: 13px; background: #fff; align-items: center; justify-content: center; color: var(--ink); }
.bg-menu span, .bg-menu span::before, .bg-menu span::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; content: ''; }
.bg-menu span::before { position: absolute; top: -6px; } .bg-menu span::after { position: absolute; top: 6px; }
.dr { position: fixed; inset: 0; z-index: 200; background: #fff; display: none; flex-direction: column; padding: 14px 24px 30px; overflow: auto; }
.dr.open { display: flex; animation: fade .25s ease-out; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.dr-top { display: flex; justify-content: space-between; align-items: center; height: 60px; }
.dr nav { display: flex; flex-direction: column; margin: auto 0; padding: 20px 0; }
.dr nav a { padding: 14px 4px; font-family: var(--display); font-size: clamp(1.8rem, 8vw, 2.4rem); font-weight: 800; letter-spacing: -.03em; text-decoration: none; border-bottom: 1px solid var(--line); }
@media (max-width: 960px) { .nv .lk { display: none; } .bg-menu { display: inline-flex; } }
@media (max-width: 520px) { .nv .btn { display: none; } .hd .bar-in { height: 66px; } }

/* ---------- prima schermata ---------- */
.hero { position: relative; isolation: isolate; padding: 128px 0 0; overflow: hidden; background: linear-gradient(112deg, #fff0cf 0%, #fff7e6 34%, #fffdf8 62%, #fff 100%); }
.aurora { position: absolute; inset: 0; z-index: -2; pointer-events: none; overflow: hidden; }
.aurora i { position: absolute; border-radius: 50%; filter: blur(60px); }
.aurora i:nth-child(1) { width: 560px; height: 560px; right: -120px; top: -80px; background: radial-gradient(circle, rgba(255, 200, 61, .5), transparent 65%); }
.aurora i:nth-child(2) { width: 420px; height: 420px; left: -140px; bottom: -120px; background: radial-gradient(circle, rgba(255, 170, 60, .32), transparent 65%); }
.aurora i:nth-child(3) { display: none; }
.spot { display: none; }
.hero-g { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 40px; align-items: center; }
.hero-l { padding-bottom: 70px; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 0; background: none; border: 0; font-size: 13.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold2); }
.pill b { padding: 0; background: none; color: inherit; font-size: inherit; letter-spacing: inherit; }
.pill b::after { content: ' ·'; }
.hero h1 { margin: 18px 0 22px; font-size: clamp(2.7rem, 5.4vw, 4.5rem); line-height: 1.02; letter-spacing: -.045em; font-weight: 800; }
.hero h1 .w { display: inline-block; opacity: 0; transform: translateY(.45em); animation: word .8s var(--ease) forwards; }
@keyframes word { to { opacity: 1; transform: none; } }
.hero h1 .gold { color: var(--gold); }
.hero .lead { max-width: 52ch; margin: 0; font-size: 1.18rem; color: var(--mut); line-height: 1.6; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 24px; }
.hero-pts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; padding: 0; list-style: none; font-size: 14.5px; font-weight: 600; color: var(--mut); }
.hero-pts li { display: flex; align-items: center; gap: 8px; } .hero-pts svg { color: var(--gold); }
.fx-up { opacity: 0; transform: translateY(18px); animation: up .9s var(--ease) forwards; }
.fx-up.d1 { animation-delay: .35s; } .fx-up.d2 { animation-delay: .45s; } .fx-up.d3 { animation-delay: .55s; } .fx-up.d4 { animation-delay: .4s; }
@keyframes up { to { opacity: 1; transform: none; } }
.works-mini { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.works-mini span { padding: 10px 16px; border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh); font-weight: 800; font-size: 14.5px; letter-spacing: -.02em; color: var(--ink); }
.works-mini small { display: block; width: 100%; font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); margin-bottom: -2px; }

.scene { position: relative; width: 100%; margin: 0; padding: 0 0 60px 20px; }
.laptop { position: relative; width: 100%; margin-inline: auto; transform: translateY(0); }
.screen { position: relative; border-radius: 18px 18px 6px 6px; padding: 9px; background: linear-gradient(180deg, #2a3553, #131c33); box-shadow: 0 50px 80px -34px rgba(20, 33, 61, .55), 0 0 0 1px rgba(20, 33, 61, .5); }
.screen .vp { position: relative; aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden; background: #fff; }
.screen .vp img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transform: scale(1.03); transition: opacity .9s ease, transform 6s ease; }
.screen .vp img.on { opacity: 1; transform: scale(1); }
.screen .url { position: absolute; z-index: 3; left: 50%; top: 12px; transform: translateX(-50%); padding: 5px 14px; border-radius: 999px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px); box-shadow: 0 6px 18px -8px rgba(20, 33, 61, .4); font-size: 12.5px; font-weight: 700; color: var(--ink); display: inline-flex; gap: 8px; align-items: center; }
.screen .url i { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; }
.base { height: 16px; width: 106%; margin-left: -3%; border-radius: 0 0 22px 22px; background: linear-gradient(180deg, #d6dbe8, #aeb6c9); box-shadow: 0 26px 40px -16px rgba(20, 33, 61, .4); }
.base::after { content: ''; display: block; width: 16%; height: 6px; margin: 0 auto; border-radius: 0 0 10px 10px; background: #8b94ab; }
.phone { position: absolute; z-index: 4; right: -2%; bottom: 14px; width: 21%; min-width: 112px; aspect-ratio: 9 / 19.5; border-radius: 30px; padding: 7px; background: linear-gradient(160deg, #2a3553, #101830); box-shadow: 0 40px 60px -22px rgba(20, 33, 61, .6); animation: bob 7s ease-in-out infinite; }
.phone .vp { position: relative; height: 100%; border-radius: 24px; overflow: hidden; background: #fff; }
.phone .vp img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transition: opacity .9s ease; }
.phone .vp img.on { opacity: 1; }
.phone::before { content: ''; position: absolute; z-index: 2; top: 13px; left: 50%; width: 30%; height: 15px; transform: translateX(-50%); border-radius: 99px; background: #0b1226; }
@keyframes bob { 50% { transform: translateY(-12px); } }
.tag-f { position: absolute; z-index: 5; display: inline-flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh2); font-size: 14px; font-weight: 800; color: var(--ink); animation: bob 8s ease-in-out infinite; }
.tag-f svg { padding: 6px; width: 30px; height: 30px; border-radius: 10px; background: var(--peach); color: var(--gold2); }
.tag-f.t1 { left: -2%; top: 14%; animation-delay: -2s; } .tag-f.t2 { left: 3%; bottom: 18%; animation-delay: -5s; }
.dots-sw { display: flex; justify-content: center; gap: 8px; margin-top: 24px; }
.dots-sw button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 99px; background: var(--line2); transition: width .3s var(--ease), background .3s; }
.dots-sw button.on { width: 28px; background: var(--gold); }

/* numeri e punti di forza sotto la prima schermata */
.stats { position: relative; z-index: 2; margin-top: -34px; }
.stats-g { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.stat { display: grid; grid-template-columns: 52px 1fr; gap: 6px 16px; align-items: start; padding: 24px 26px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); box-shadow: var(--sh); }
.stat .ico { grid-row: span 2; display: inline-flex; width: 52px; height: 52px; align-items: center; justify-content: center; border-radius: 16px; background: var(--peach); color: var(--gold2); font-size: 24px; }
.stat b { display: block; font-size: 1.7rem; line-height: 1.1; letter-spacing: -.035em; color: var(--ink); font-weight: 800; }
.stat b small { font-size: .95rem; font-weight: 700; letter-spacing: -.01em; color: var(--ink); margin-left: 6px; }
.stat p { margin: 0; font-size: .96rem; color: var(--mut); line-height: 1.5; }

.marq { display: none; }

/* ---------- sezioni ---------- */
.sec { position: relative; padding: 110px 0; }
.sec.soft { background: var(--soft); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px; font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold2); }
.eyebrow::before { content: ''; width: 22px; height: 3px; border-radius: 3px; background: var(--gold); }
.h2 { font-size: clamp(2.1rem, 4.2vw, 3.3rem); letter-spacing: -.04em; max-width: 20ch; }
.sub { max-width: 58ch; margin-top: 16px; color: var(--mut); font-size: 1.1rem; }
.head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 48px; flex-wrap: wrap; }
.head.c { flex-direction: column; align-items: center; text-align: center; } .head.c .h2, .head.c .sub { margin-inline: auto; }

.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.tile { position: relative; display: flex; flex-direction: column; min-height: 280px; padding: 28px; border-radius: var(--r2); background: #fff; border: 1px solid var(--line); box-shadow: var(--sh); text-decoration: none; overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s, border-color .3s; }
.tile:hover { transform: translateY(-5px); border-color: rgba(245, 163, 0, .55); box-shadow: var(--sh2); }
.tile .ico { display: inline-flex; width: 50px; height: 50px; align-items: center; justify-content: center; border-radius: 15px; background: var(--peach); color: var(--gold2); font-size: 23px; margin-bottom: 18px; }
.tile h3 { font-size: 1.4rem; letter-spacing: -.03em; margin-bottom: 8px; padding-right: 48px; }
.tile p { color: var(--mut); font-size: .98rem; margin: 0; max-width: 44ch; line-height: 1.55; }
.tile .go { position: absolute; right: 22px; top: 22px; width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--s2); color: var(--ink); transition: background .3s, transform .3s var(--ease); }
.tile:hover .go { background: var(--gold); transform: rotate(-45deg); }
.tile .viz { margin-top: auto; padding-top: 22px; }
.t-4 { grid-column: span 4; } .t-3 { grid-column: span 3; } .t-2 { grid-column: span 2; }
.mini-web { display: flex; gap: 12px; align-items: flex-end; }
.mini-web .b { flex: 1; border-radius: 12px; border: 1px solid var(--line2); background: var(--s2); overflow: hidden; box-shadow: 0 10px 20px -14px rgba(20, 33, 61, .4); }
.mini-web .b img { width: 100%; height: 150px; object-fit: cover; object-position: top; }
.mini-web .b:nth-child(2) { transform: translateY(-12px); }
.serp { display: grid; gap: 8px; }
.serp div { padding: 12px 14px; border-radius: 12px; background: var(--s2); font-size: 13px; color: var(--dim); }
.serp div b { display: block; color: #1a5fd0; font-weight: 700; font-size: 14px; }
.serp div.me { background: var(--peach); color: var(--mut); box-shadow: inset 0 0 0 1.5px rgba(245, 163, 0, .5); }
.serp div.me b { color: var(--gold2); }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 110px; }
.bars i { flex: 1; border-radius: 8px 8px 3px 3px; background: linear-gradient(180deg, var(--gold), #ffd98a); height: var(--h); transform-origin: bottom; transform: scaleY(.2); transition: transform 1.2s var(--ease); }
.rv.in .bars i { transform: scaleY(1); }
.mcal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; font-size: 11.5px; font-weight: 700; text-align: center; color: var(--dim); }
.mcal i { font-style: normal; padding: 7px 0; border-radius: 8px; background: var(--s2); }
.mcal i.s { background: var(--grad); color: var(--ink); } .mcal i.r { background: var(--peach); color: var(--gold2); }
.mcal i.o { background: repeating-linear-gradient(135deg, #e6e9f1 0 2px, transparent 2px 6px); }
.mphone { display: flex; justify-content: center; gap: 12px; }
.mphone div { width: 92px; height: 150px; border-radius: 18px; padding: 5px; background: linear-gradient(160deg, #2a3553, #101830); box-shadow: 0 16px 26px -14px rgba(20, 33, 61, .5); }
.mphone div:nth-child(2) { transform: translateY(-12px); }
.mphone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 14px; }
.chips-s { display: flex; flex-wrap: wrap; gap: 8px; }
.chips-s span { padding: 8px 14px; border-radius: 999px; background: var(--s2); font-size: 13px; font-weight: 700; color: var(--mut); }

/* ---------- lavori ---------- */
.cases { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
.case { position: relative; display: flex; flex-direction: column; grid-column: span 2; border-radius: var(--r2); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh); transition: transform .35s var(--ease), box-shadow .35s; }
.case:nth-child(-n+2) { grid-column: span 3; }
.case:hover { transform: translateY(-5px); box-shadow: var(--sh2); }
.case > div { min-width: 0; }
.case-v { position: relative; padding: 26px 26px 0; display: flex; align-items: flex-end; background: linear-gradient(160deg, color-mix(in srgb, var(--c) 16%, #fff), color-mix(in srgb, var(--c) 4%, #fff)); }
.brw { position: relative; width: 100%; border-radius: 12px 12px 0 0; overflow: hidden; background: #fff; border: 1px solid var(--line2); border-bottom: 0; box-shadow: 0 -10px 40px -16px rgba(20, 33, 61, .3); transition: transform .6s var(--ease); }
.case:hover .brw { transform: translateY(-6px); }
.brw .tb { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: #f1f3f9; border-bottom: 1px solid var(--line); }
.brw .tb i { width: 8px; height: 8px; border-radius: 50%; background: #cfd5e4; }
.brw .tb span { margin: 0 auto; flex: 0 1 220px; padding: 2px 12px; border-radius: 7px; background: #fff; font-size: 11.5px; font-weight: 600; color: var(--dim); text-align: center; }
.brw img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.case-v .ph { position: absolute; right: 18px; bottom: 0; width: 22%; min-width: 80px; aspect-ratio: 9 / 19.5; border-radius: 20px 20px 0 0; padding: 5px 5px 0; background: linear-gradient(160deg, #2a3553, #101830); box-shadow: 0 -8px 30px -8px rgba(20, 33, 61, .5); transition: transform .6s var(--ease); }
.case:hover .case-v .ph { transform: translateY(-10px); }
.case-v .ph img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 15px 15px 0 0; }
.case-t { padding: 26px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.case-t .kind { font-size: 12.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--gold2); }
.case-t h3 { font-size: 1.7rem; margin: 8px 0 10px; }
.case-t p { color: var(--mut); font-size: .98rem; line-height: 1.55; }
.case-t ul { list-style: none; margin: 6px 0 22px; padding: 0; display: grid; gap: 8px; }
.case-t li { display: flex; gap: 10px; align-items: flex-start; font-size: .94rem; font-weight: 600; color: var(--ink); } .case-t li svg { color: var(--gold); margin-top: 5px; }
.case-t .btn { align-self: flex-start; margin-top: auto; }

/* ---------- perché noi ---------- */
.big-quote { margin: 0 0 54px; font-family: var(--display); font-size: clamp(1.9rem, 3.8vw, 3.1rem); font-weight: 800; line-height: 1.1; letter-spacing: -.04em; max-width: 24ch; color: var(--ink); }
.big-quote em { font-style: normal; color: var(--gold); }
.why { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.wcard { padding: 30px 26px; border-radius: var(--r2); background: #fff; border: 1px solid var(--line); box-shadow: var(--sh); }
.wcard .n { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 16px; background: var(--peach); font-size: 1.15rem; font-weight: 800; letter-spacing: -.02em; color: var(--gold2); margin-bottom: 22px; }
.wcard .n.gold { color: var(--gold2); }
.wcard h3 { font-size: 1.25rem; margin-bottom: 8px; letter-spacing: -.025em; } .wcard p { margin: 0; color: var(--mut); font-size: .98rem; line-height: 1.55; }

/* ---------- metodo ---------- */

/* ---------- soluzioni ---------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 36px 32px; border-radius: var(--r2); background: #fff; border: 1px solid var(--line); box-shadow: var(--sh); }
.plan.hot { background: linear-gradient(165deg, #1c2d52, var(--ink2)); border-color: transparent; box-shadow: 0 40px 70px -34px rgba(14, 24, 48, .8); }
.plan.hot h3, .plan.hot li { color: #fff; } .plan.hot .ps { color: #b7c1da; } .plan.hot ul { border-color: rgba(255, 255, 255, .14); }
.plan .bd { display: inline-block; align-self: flex-start; margin-bottom: 16px; padding: 5px 12px; border-radius: 999px; background: var(--grad); color: var(--ink); font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.plan h3 { font-size: 1.7rem; } .plan .ps { color: var(--mut); margin: 8px 0 24px; }
.plan ul { list-style: none; margin: 0 0 30px; padding: 24px 0 0; border-top: 1px solid var(--line); display: grid; gap: 12px; flex: 1; }
.plan li { display: flex; gap: 12px; font-size: .98rem; font-weight: 600; color: var(--ink); } .plan li svg { color: var(--gold); margin-top: 5px; }
.plan.hot .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .3); }

/* ---------- domande ---------- */
.faq-g { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 60px; align-items: start; }
.faq-g .head { position: sticky; top: 110px; margin: 0; }
.faq { display: grid; gap: 12px; }
.faq details { border-radius: var(--r); background: #fff; border: 1px solid var(--line); box-shadow: var(--sh); transition: border-color .25s; }
.faq details[open] { border-color: rgba(245, 163, 0, .6); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 20px 24px; font-size: 1.1rem; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(var(--ink), var(--ink)) center / 12px 2px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 2px 12px no-repeat, var(--s2); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--peach); }
.faq .a { padding: 0 24px 22px; color: var(--mut); }

/* ---------- contatto ---------- */
.cta { position: relative; isolation: isolate; overflow: hidden; border-radius: 34px; padding: 64px; background: linear-gradient(135deg, #1c2d52 0%, var(--ink2) 70%); display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 56px; align-items: start; box-shadow: 0 50px 90px -50px rgba(14, 24, 48, .9); }
.cta > div { min-width: 0; }
.cta .aurora { z-index: -1; }
.cta .aurora i:nth-child(1) { width: 520px; height: 520px; right: -140px; top: -160px; background: radial-gradient(circle, rgba(245, 163, 0, .45), transparent 65%); }
.cta .aurora i:nth-child(2) { width: 420px; height: 420px; left: -140px; bottom: -200px; background: radial-gradient(circle, rgba(255, 200, 61, .22), transparent 65%); }
.cta h2 { font-size: clamp(2.2rem, 4vw, 3.3rem); letter-spacing: -.04em; color: #fff; }
.cta h2 .gold { color: var(--goldl); }
.cta .eyebrow { color: var(--goldl); } .cta .eyebrow::before { background: var(--goldl); }
.cta .sub { margin-top: 16px; color: #b7c1da; }
.info { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 12px; }
.info a, .info span { display: flex; align-items: center; gap: 14px; text-decoration: none; font-weight: 700; color: #fff; transition: color .2s; }
.info svg { width: 46px; height: 46px; padding: 12px; border-radius: 14px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); color: var(--goldl); }
.info a:hover { color: var(--goldl); }
.fm { display: grid; gap: 14px; padding: 30px; border-radius: 24px; background: #fff; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .55); min-width: 0; }
.fm > *, .fm .two > * { min-width: 0; }
.fm .two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fm label { display: block; margin-bottom: 7px; font-size: 13px; font-weight: 700; color: var(--mut); }
.fm input, .fm textarea { width: 100%; min-width: 0; padding: 15px 16px; border-radius: 12px; border: 1.5px solid transparent; background: var(--s2); color: var(--ink); font-size: 16px; font-weight: 500; transition: border-color .2s, box-shadow .2s, background .2s; }
.fm textarea { min-height: 130px; resize: vertical; }
.fm input:focus, .fm textarea:focus { outline: 0; border-color: var(--gold); background: #fff; box-shadow: 0 0 0 4px rgba(245, 163, 0, .18); }
.fm .bad { border-color: #e04b4b; background: #fff5f5; }
.fm .ck { display: flex; gap: 12px; align-items: flex-start; margin: 0; font-size: 13.5px; font-weight: 500; color: var(--mut); line-height: 1.5; cursor: pointer; }
.fm .ck input { width: 20px; height: 20px; margin-top: 1px; flex: 0 0 auto; accent-color: var(--gold); }
.fm .ck a { color: var(--gold2); text-decoration: underline; }
.fm .hp { position: absolute; left: -9999px; }
.fm .err { margin: 0; padding: 12px 16px; border-radius: 12px; background: #fdeaea; color: #a82222; font-size: 14.5px; font-weight: 600; }
.fm .err[hidden] { display: none; }
.fm .btn { width: 100%; white-space: normal; text-align: center; }
.fm .btn:disabled { opacity: .7; cursor: progress; transform: none; }
.ok { text-align: center; padding: 40px 20px; background: #fff; border-radius: 24px; }
.ok .ck-ico { width: 80px; height: 80px; margin: 0 auto 20px; border-radius: 50%; background: var(--grad); color: var(--ink); display: flex; align-items: center; justify-content: center; font-size: 38px; box-shadow: 0 20px 40px -14px rgba(245, 163, 0, .7); }
.ok h3 { font-size: 1.9rem; margin-bottom: 10px; } .ok p { color: var(--mut); margin: 0; }

/* ---------- pagine interne ---------- */
.ph-h { position: relative; isolation: isolate; overflow: hidden; padding: 150px 0 76px; background: linear-gradient(112deg, #fff0cf 0%, #fff7e6 38%, #fffdf8 70%, #fff 100%); }
.ph-h h1 { font-size: clamp(2.4rem, 5.4vw, 4.2rem); letter-spacing: -.045em; max-width: 18ch; margin: 18px 0 20px; line-height: 1.04; }
.ph-h .lead { max-width: 62ch; font-size: 1.18rem; color: var(--mut); }
.crumb { font-size: 14px; font-weight: 600; color: var(--dim); } .crumb a { text-decoration: none; color: var(--mut); } .crumb a:hover { color: var(--gold2); }
.pg { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.pg > div, .pg > aside { min-width: 0; }
.pg h2 { font-size: clamp(1.7rem, 2.8vw, 2.3rem); margin: 52px 0 16px; } .pg h2:first-child { margin-top: 0; }
.pg p { color: var(--mut); font-size: 1.05rem; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; padding: 18px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh); font-size: .98rem; font-weight: 600; color: var(--ink); }
.ticks svg { color: var(--gold); margin-top: 4px; font-size: 18px; }
.side { position: sticky; top: 100px; padding: 32px; border-radius: var(--r2); background: linear-gradient(165deg, #1c2d52, var(--ink2)); box-shadow: 0 40px 70px -34px rgba(14, 24, 48, .8); }
.side h3 { font-size: 1.6rem; margin-bottom: 10px; color: #fff; } .side p { color: #b7c1da; }
.side .btn { width: 100%; margin-top: 10px; }
.side .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .3); }
.others { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.others a { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 20px 22px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh); text-decoration: none; font-weight: 800; font-size: 1.05rem; letter-spacing: -.02em; transition: border-color .25s, transform .3s var(--ease); }
.others a span { display: flex; align-items: center; gap: 14px; } .others a span svg { color: var(--gold); font-size: 22px; }
.others a:hover { border-color: rgba(245, 163, 0, .6); transform: translateY(-3px); }
.doc { max-width: 880px; } .doc h2, .doc h3 { font-size: 1.7rem; margin: 38px 0 14px; } .doc h2:first-child { margin-top: 0; }
.doc p, .doc li { color: var(--mut); } .doc a { color: var(--gold2); word-break: break-word; } .doc strong { color: var(--ink); }
.doc table { border-collapse: collapse; width: 100%; font-size: 14px; } .doc th, .doc td { padding: 10px 12px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.doc .tw { overflow-x: auto; }

/* ---------- piè di pagina ---------- */
.ft { position: relative; padding: 80px 0 28px; background: var(--soft); border-top: 1px solid var(--line); overflow: hidden; }
.ft-g { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 40px; }
.ft p { color: var(--mut); max-width: 34ch; font-size: .98rem; }
.ft h4 { font-size: 12.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin-bottom: 16px; }
.ft ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ft li a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: .98rem; transition: color .2s; } .ft li a:hover { color: var(--gold2); }
.wordmark { display: none; }
.ft-b { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line2); font-size: 14px; color: var(--dim); }
.ft-b a { color: var(--mut); }
.fab { position: fixed; right: 18px; bottom: 18px; z-index: 90; display: none; width: 58px; height: 58px; border-radius: 50%; background: var(--grad); color: var(--ink); align-items: center; justify-content: center; font-size: 26px; box-shadow: 0 14px 30px -8px rgba(245, 163, 0, .8); }

/* ---------- schermi piccoli ---------- */
@media (max-width: 1080px) {
	.hero-g { grid-template-columns: minmax(0, 1fr); gap: 20px; } .hero-l { padding-bottom: 20px; } .scene { padding: 10px 0 56px; max-width: 760px; margin-inline: auto; }
	.t-4, .t-3 { grid-column: span 6; } .t-2 { grid-column: span 3; }
	.cases { grid-template-columns: repeat(2, minmax(0, 1fr)); } .case, .case:nth-child(-n+2) { grid-column: span 1; }
	.why { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; } .steps::before { display: none; }
	.plans { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin-inline: auto; }
	.faq-g, .cta, .pg { grid-template-columns: minmax(0, 1fr); gap: 36px; } .faq-g .head, .side { position: static; }
	.cta { padding: 48px 30px; }
	.ft-g { grid-template-columns: 1fr 1fr; }
	.sec { padding: 90px 0; }
}
@media (max-width: 680px) {
	body { font-size: 16px; }
	.wrap { width: min(var(--wrap), 100% - 32px); } .hd .bar-in { width: min(var(--wrap), 100% - 32px); }
	.hero { padding-top: 104px; }
	.phone { width: 28%; right: 0; border-radius: 22px; padding: 5px; } .phone .vp { border-radius: 17px; } .phone::before { top: 10px; height: 11px; }
	.tag-f { display: none; }
	.stats { margin-top: -10px; } .stats-g { grid-template-columns: minmax(0, 1fr); }
	.bento { grid-template-columns: minmax(0, 1fr); } .t-4, .t-3, .t-2 { grid-column: auto; } .tile { min-height: 0; padding: 24px; }
	.cases { grid-template-columns: minmax(0, 1fr); } .case-t { padding: 22px 22px 26px; }
	.why { grid-template-columns: minmax(0, 1fr); }
	.steps { grid-template-columns: minmax(0, 1fr); }
	.fm .two { grid-template-columns: 1fr; } .fm { padding: 22px; }
	.ticks { grid-template-columns: 1fr; }
	.ft-g { grid-template-columns: 1fr; gap: 30px; }
	.sec { padding: 70px 0; } .head { margin-bottom: 32px; }
	.ph-h { padding: 120px 0 52px; }
	.fab { display: inline-flex; }
	.cta { padding: 34px 18px; border-radius: 26px; }
}
.plan .bd { position: static; }
/* ==================== BLOG ==================== */
.blog-h { padding-bottom: 50px; }
.cats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.cats a { padding: 9px 18px; border-radius: 999px; border: 1.5px solid var(--line2); background: #fff; font-size: 14px; font-weight: 700; color: var(--mut); text-decoration: none; transition: all .2s; }
.cats a:hover { color: var(--ink); border-color: var(--gold); }
.cats a[aria-current="page"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.vuoto { padding: 80px 30px; text-align: center; border-radius: var(--r2); border: 1.5px dashed var(--line2); }
.vuoto h2 { font-size: 2rem; margin-bottom: 10px; } .vuoto p { color: var(--mut); } .vuoto a { color: var(--gold2); }
.cat { display: inline-flex; padding: 5px 12px; border-radius: 999px; background: var(--peach); color: var(--gold2); font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.post-m { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 600; color: var(--dim); }

.feat { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; border-radius: var(--r2); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh); text-decoration: none; margin-bottom: 22px; transition: transform .35s var(--ease), box-shadow .35s; }
.feat:hover { transform: translateY(-4px); box-shadow: var(--sh2); }
.feat-img { position: relative; overflow: hidden; aspect-ratio: 16 / 9; }
.feat-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.feat:hover .feat-img img { transform: scale(1.04); }
.feat-t { display: flex; flex-direction: column; justify-content: center; gap: 16px; padding: 40px; }
.feat-t b { font-size: clamp(1.7rem, 2.8vw, 2.4rem); line-height: 1.1; letter-spacing: -.035em; font-weight: 800; color: var(--ink); }
.post-s { color: var(--mut); font-size: 1rem; line-height: 1.6; }
.feat .btn { align-self: flex-start; }
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.post { display: flex; flex-direction: column; border-radius: var(--r2); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh); text-decoration: none; transition: transform .35s var(--ease), box-shadow .35s; }
.post:hover { transform: translateY(-5px); box-shadow: var(--sh2); }
.post-img { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--s2); }
.post-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.post:hover .post-img img { transform: scale(1.05); }
.post-b { display: flex; flex-direction: column; gap: 12px; padding: 22px 24px 26px; flex: 1; }
.post-b b { font-size: 1.28rem; line-height: 1.18; letter-spacing: -.025em; font-weight: 800; color: var(--ink); }
.post-b .post-s { font-size: .95rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post .more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-size: .93rem; font-weight: 800; color: var(--gold2); }
.post .more svg { transition: transform .25s var(--ease); } .post:hover .more svg { transform: translateX(4px); }

/* articolo */
.read-bar { position: fixed; z-index: 150; left: 0; right: 0; top: 0; height: 4px; pointer-events: none; }
.read-bar i { display: block; height: 100%; width: 100%; background: var(--grad); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
.art-h { position: relative; isolation: isolate; overflow: hidden; padding: 140px 0 0; background: linear-gradient(112deg, #fff0cf 0%, #fff7e6 38%, #fffdf8 70%, #fff 100%); }
.art-w { max-width: 960px; }
.art-h .cat { margin: 22px 0 0; }
.art-h h1 { font-size: clamp(2.2rem, 4.6vw, 3.8rem); line-height: 1.05; letter-spacing: -.04em; margin: 18px 0 20px; }
.art-h .lead { font-size: clamp(1.08rem, 1.5vw, 1.25rem); color: var(--mut); max-width: 62ch; }
.art-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 30px; margin-top: 28px; padding-top: 24px; border-top: 1px solid rgba(20, 33, 61, .1); color: var(--dim); font-size: 14.5px; font-weight: 600; }
.aut { display: flex; align-items: center; gap: 12px; }
.aut .av { width: 44px; height: 44px; border-radius: 14px; display: flex; align-items: center; justify-content: center; background: var(--grad); color: var(--ink); font-weight: 800; font-size: 1.2rem; }
.aut b { display: block; color: var(--ink); font-size: 15px; } .aut small { display: block; font-size: 13px; }
.art-cover { margin-top: 40px; }
.art-cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 24px 24px 0 0; box-shadow: 0 30px 70px -36px rgba(20, 33, 61, .5); }
.art-g { display: grid; grid-template-columns: 250px minmax(0, 720px); gap: 70px; justify-content: center; padding: 70px 0 40px; }
.toc { position: sticky; top: 100px; align-self: start; }
.toc-t { margin: 0 0 14px; font-size: 12.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.toc ol { list-style: none; margin: 0 0 34px; padding: 0; border-left: 2px solid var(--line); counter-reset: t; }
.toc li a { display: block; padding: 7px 0 7px 16px; margin-left: -2px; border-left: 2px solid transparent; font-size: 14px; font-weight: 600; line-height: 1.4; color: var(--mut); text-decoration: none; transition: color .2s, border-color .2s; }
.toc li a:hover, .toc li a.on { color: var(--gold2); border-color: var(--gold); }
.share { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.share .toc-t { width: 100%; }
.share a, .share button { width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; border: 1.5px solid var(--line2); background: #fff; color: var(--ink); font-weight: 800; font-size: 15px; text-decoration: none; transition: all .2s; }
.share a:hover, .share button:hover { border-color: var(--gold); color: var(--gold2); }
.share button.ok { background: var(--gold); color: var(--ink); padding: 0; border-radius: 12px; }
.prose { font-size: 1.1rem; line-height: 1.8; color: #2b3652; min-width: 0; }
.prose > * + * { margin-top: 1.25em; }
.prose p { margin: 0; }
.prose h2 { position: relative; margin-top: 2.2em; font-size: clamp(1.6rem, 2.5vw, 2.1rem); line-height: 1.15; color: var(--ink); scroll-margin-top: 100px; letter-spacing: -.035em; }
.prose h2::before { content: ''; display: block; width: 44px; height: 4px; border-radius: 4px; background: var(--grad); margin-bottom: 16px; }
.prose h3 { margin-top: 1.8em; font-size: 1.35rem; color: var(--ink); letter-spacing: -.025em; }
.prose a { color: var(--gold2); font-weight: 600; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.prose strong, .prose b { color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.3em; } .prose li + li { margin-top: .5em; }
.prose ul li::marker { color: var(--gold); } .prose ol li::marker { color: var(--gold2); font-weight: 800; }
.prose blockquote { margin-left: 0; margin-right: 0; padding: 22px 26px; border-radius: 0 18px 18px 0; border-left: 4px solid var(--gold); background: var(--peach); font-size: 1.15rem; font-weight: 600; color: var(--ink); }
.prose blockquote p + p { margin-top: .6em; }
.prose img { border-radius: 18px; border: 1px solid var(--line2); }
.prose figure { margin-inline: 0; } .prose figcaption { margin-top: 10px; font-size: .9rem; color: var(--dim); text-align: center; }
.prose hr { border: 0; height: 1px; background: var(--line2); margin: 2.4em 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: .98rem; } .prose th, .prose td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; } .prose th { color: var(--ink); }
.prose code { padding: 2px 7px; border-radius: 6px; background: var(--s2); font-size: .92em; }
.art-cta { margin-top: 3em !important; position: relative; overflow: hidden; padding: 38px 34px; border-radius: 24px; background: linear-gradient(165deg, #1c2d52, var(--ink2)); }
.art-cta h2 { margin-top: 0 !important; font-size: clamp(1.5rem, 2.4vw, 2rem) !important; color: #fff !important; } .art-cta h2::before { display: none !important; }
.art-cta p { color: #b7c1da; margin-top: 12px !important; }

/* pagina non trovata */
.e404 { min-height: 80vh; display: flex; align-items: center; text-align: center; }
.e404 .big { font-size: clamp(7rem, 24vw, 15rem); font-weight: 800; line-height: .85; letter-spacing: -.06em; color: var(--gold); }

@media (max-width: 1080px) {
	.posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.feat { grid-template-columns: minmax(0, 1fr); }
	.art-g { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 50px; }
	.toc { position: static; order: 2; margin-top: 50px; } .toc ol { display: none; }
}
@media (max-width: 680px) {
	.posts { grid-template-columns: minmax(0, 1fr); }
	.feat-t { padding: 26px 22px 28px; }
	.art-h { padding-top: 110px; } .art-cover { margin-top: 28px; } .art-cover img { border-radius: 16px 16px 0 0; }
	.prose { font-size: 1.04rem; } .art-cta { padding: 28px 22px; }
}

@media (max-width: 680px) { .pill { display: block; line-height: 1.5; } .pill b { display: block; } .pill b::after { content: ''; } }

/* ==================== PIE DI PAGINA v3 ==================== */
.ft { position: relative; isolation: isolate; margin-top: 40px; padding: 84px 0 0; border: 0; border-radius: 40px 40px 0 0; background: linear-gradient(170deg, #1c2d52 0%, #0e1830 62%); color: #b7c1da; overflow: hidden; }
.ft .aurora { z-index: -1; }
.ft .aurora i:nth-child(1) { width: 640px; height: 640px; right: -180px; top: -260px; background: radial-gradient(circle, rgba(245, 163, 0, .38), transparent 65%); }
.ft .aurora i:nth-child(2) { width: 520px; height: 520px; left: -200px; bottom: -120px; background: radial-gradient(circle, rgba(255, 200, 61, .14), transparent 65%); }
.ft-top { display: flex; justify-content: space-between; align-items: center; gap: 36px; flex-wrap: wrap; padding-bottom: 56px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.ft-top h2 { max-width: 18ch; font-size: clamp(2rem, 4vw, 3.2rem); letter-spacing: -.04em; color: #fff; }
.ft-top h2 .gold { color: var(--goldl); }
.ft .eyebrow { color: var(--goldl); } .ft .eyebrow::before { background: var(--goldl); }
.ft-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.ft .btn-ghost { background: rgba(255, 255, 255, .06); color: #fff; border-color: rgba(255, 255, 255, .25); }
.ft .btn-ghost:hover { border-color: var(--goldl); color: var(--goldl); }
.ft-g { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; padding: 60px 0 40px; }
.ft .logo b { color: #fff; }
.ft-brand p { max-width: 36ch; margin: 22px 0 26px; color: #b7c1da; font-size: .98rem; line-height: 1.65; }
.ft-ct { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ft-ct a { display: flex; align-items: center; gap: 14px; text-decoration: none; color: #fff; font-weight: 700; font-size: .96rem; transition: color .2s; }
.ft-ct svg { width: 40px; height: 40px; padding: 10px; border-radius: 12px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); color: var(--goldl); transition: background .25s, color .25s, border-color .25s; }
.ft-ct a:hover { color: var(--goldl); } .ft-ct a:hover svg { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.ft h4 { margin-bottom: 18px; font-size: 12.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--goldl); }
.ft h4.h4b { margin-top: 30px; }
.ft ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.ft li a { position: relative; text-decoration: none; color: #d4dbed; font-weight: 600; font-size: .96rem; transition: color .2s, padding .25s var(--ease); }
.ft li a:hover { color: #fff; padding-left: 6px; }
.ft-word { position: relative; z-index: -1; margin: 0; padding: 0 0 0; text-align: center; font-weight: 800; font-size: clamp(4.5rem, 21vw, 21rem); line-height: .74; letter-spacing: -.05em; white-space: nowrap; user-select: none; background: linear-gradient(180deg, rgba(255, 200, 61, .34) 0%, rgba(255, 200, 61, .04) 85%); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; overflow: hidden; height: .66em; }
.ft-b { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; margin: 0; padding: 22px 0 26px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 14px; font-weight: 500; color: #8f9bb8; }
.ft-leg { display: flex; flex-wrap: wrap; gap: 6px 22px; } .ft-b a { color: #c3cce3; text-decoration: none; font-weight: 600; transition: color .2s; } .ft-b a:hover { color: var(--goldl); }
@media (max-width: 1080px) { .ft-g { grid-template-columns: 1fr 1fr; gap: 40px; } .ft-brand { grid-column: 1 / -1; } }
@media (max-width: 680px) { .ft { padding-top: 60px; border-radius: 28px 28px 0 0; } .ft-top { padding-bottom: 40px; } .ft-g { grid-template-columns: 1fr; padding-top: 44px; } .ft-cta .btn { flex: 1 1 100%; } .ft-word { font-size: 24vw; } .ft-b { flex-direction: column; align-items: flex-start; } }
/* ==================== PERCORSO IN 4 PASSI (animato) ==================== */
.steps { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr); align-items: stretch; gap: 0; }
.step { position: relative; display: flex; flex-direction: column; padding: 70px 24px 28px; border-radius: var(--r2); background: #fff; border: 1px solid var(--line); box-shadow: var(--sh); opacity: 0; transform: translateY(34px) scale(.96); transition: opacity .7s var(--ease), transform .8s var(--ease), box-shadow .3s, border-color .3s; transition-delay: calc(var(--i) * .6s); }
.steps.go .step { opacity: 1; transform: none; }
.steps.go .step:hover { transform: translateY(-6px); box-shadow: var(--sh2); border-color: rgba(245, 163, 0, .6); transition-delay: 0s; }
.step .num { position: absolute; left: 24px; top: -26px; display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 20px; background: var(--grad); color: var(--ink); font-size: 26px; box-shadow: 0 16px 26px -10px rgba(245, 163, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .6); transform: scale(0) rotate(-25deg); transition: transform .65s cubic-bezier(.34, 1.56, .64, 1); transition-delay: calc(var(--i) * .6s + .25s); }
.steps.go .step .num { transform: none; }
.step small { display: block; margin-bottom: 8px; font-size: 12.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold2); }
.step h3 { font-size: 1.35rem; margin-bottom: 10px; } .step p { color: var(--mut); font-size: .98rem; margin: 0; line-height: 1.55; }
.step.fin { background: linear-gradient(165deg, #1c2d52, var(--ink2)); border-color: transparent; }
.step.fin h3 { color: #fff; } .step.fin p { color: #b7c1da; } .step.fin small { color: var(--goldl); }
.steps.go .step.fin { animation: glow 2.8s ease-in-out 3.2s infinite; }
@keyframes glow { 50% { box-shadow: 0 0 0 8px rgba(245, 163, 0, .18), 0 40px 70px -30px rgba(14, 24, 48, .8); } }
.arr { align-self: center; display: flex; width: 64px; justify-content: center; color: var(--gold); }
.arr svg { width: 44px; height: 24px; overflow: visible; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.arr svg path { stroke-dasharray: 90; stroke-dashoffset: 90; transition: stroke-dashoffset .6s ease; }
.steps.go .arr svg path { stroke-dashoffset: 0; }
.steps.go .arr:nth-of-type(1) svg path { transition-delay: .55s; } .steps.go .arr:nth-of-type(2) svg path { transition-delay: 1.15s; } .steps.go .arr:nth-of-type(3) svg path { transition-delay: 1.75s; }
.steps.go .arr svg { animation: nudge 1.6s ease-in-out 2.4s infinite; }
@keyframes nudge { 50% { transform: translateX(6px); } }
@media (max-width: 1080px) {
	.steps { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin-inline: auto; padding-top: 26px; }
	.step { padding-top: 62px; }
	.arr { width: 100%; height: 56px; }
	.arr svg { transform: rotate(90deg); }
	.steps.go .arr svg { animation: nudgev 1.6s ease-in-out 2.4s infinite; }
	@keyframes nudgev { 0%, 100% { transform: rotate(90deg) translateX(0); } 50% { transform: rotate(90deg) translateX(6px); } }
}
@media (prefers-reduced-motion: reduce) { .step, .step .num { opacity: 1; transform: none; transition: none; } .arr svg path { stroke-dashoffset: 0; transition: none; } }
/* percorso in verticale: ogni passo si anima quando arriva sullo schermo */
@media (max-width: 1080px) {
	.step, .step .num, .arr svg path { transition-delay: 0s !important; }
	.step.go { opacity: 1; transform: none; }
	.step.go .num { transform: none; }
	.arr.go svg path { stroke-dashoffset: 0; }
	.arr.go svg { animation: nudgev 1.6s ease-in-out .8s infinite; }
	.steps.go .arr svg { animation: none; }
	.steps.go .arr.go svg { animation: nudgev 1.6s ease-in-out .8s infinite; }
}
@media (max-width: 1080px) {
	.steps.v .step:not(.go) { opacity: 0; transform: translateY(34px) scale(.96); }
	.steps.v .step:not(.go) .num { transform: scale(0) rotate(-25deg); }
	.steps.v .arr:not(.go) svg path { stroke-dashoffset: 90; }
	.steps.v .arr:not(.go) svg { animation: none; }
}
/* ==================== CONTATTO v3 ==================== */
.cta2 { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; padding: 72px 64px; border-radius: 40px; background: linear-gradient(140deg, #1d2f57 0%, #0e1830 68%); box-shadow: 0 60px 100px -50px rgba(14, 24, 48, .95); }
.cta2 > div { min-width: 0; }
.cta2 .aurora { z-index: -2; }
.cta2 .aurora i:nth-child(1) { width: 620px; height: 620px; right: -160px; top: -200px; background: radial-gradient(circle, rgba(245, 163, 0, .5), transparent 65%); }
.cta2 .aurora i:nth-child(2) { width: 460px; height: 460px; left: -160px; bottom: -220px; background: radial-gradient(circle, rgba(255, 200, 61, .2), transparent 65%); }
.c2-dots { position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255, 255, 255, .12) 1.2px, transparent 1.4px); background-size: 26px 26px; -webkit-mask-image: linear-gradient(100deg, #000 0%, transparent 60%); mask-image: linear-gradient(100deg, #000 0%, transparent 60%); }
.cta2 .eyebrow { color: var(--goldl); } .cta2 .eyebrow::before { background: var(--goldl); }
.cta2 h2 { font-size: clamp(2.2rem, 4vw, 3.4rem); letter-spacing: -.04em; color: #fff; max-width: 14ch; }
.cta2 h2 .gold { color: var(--goldl); }
.cta2 .sub { margin-top: 16px; max-width: 44ch; color: #b7c1da; }
.c2-st { list-style: none; margin: 34px 0 0; padding: 0; display: grid; gap: 0; position: relative; }
.c2-st::before { content: ''; position: absolute; left: 17px; top: 20px; bottom: 20px; width: 2px; background: repeating-linear-gradient(180deg, rgba(255, 200, 61, .7) 0 6px, transparent 6px 12px); }
.c2-st li { position: relative; display: flex; gap: 16px; align-items: flex-start; padding: 9px 0; }
.c2-st li > span { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 12px; background: var(--grad); color: var(--ink); font-weight: 800; box-shadow: 0 8px 18px -8px rgba(245, 163, 0, .9); }
.c2-st b { display: block; color: #fff; font-size: 1.02rem; letter-spacing: -.01em; } .c2-st small { display: block; color: #9fabc8; font-size: .9rem; line-height: 1.45; }
.c2-ct { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 32px; }
.c2-ct a { display: flex; flex-direction: column; gap: 10px; padding: 16px; border-radius: 18px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .13); text-decoration: none; color: #fff; font-weight: 700; font-size: .92rem; line-height: 1.3; transition: background .25s, border-color .25s, transform .3s var(--ease); min-width: 0; }
.c2-ct a svg { width: 38px; height: 38px; padding: 9px; border-radius: 12px; background: rgba(255, 200, 61, .16); color: var(--goldl); transition: background .25s, color .25s; }
.c2-ct a span { display: block; min-width: 0; overflow-wrap: anywhere; } .c2-ct a small { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #9fabc8; margin-bottom: 2px; }
.c2-ct a:hover { background: rgba(255, 255, 255, .12); border-color: var(--goldl); transform: translateY(-3px); }
.c2-ct a:hover svg { background: var(--gold); color: var(--ink); }
.c2-pin { display: flex; align-items: center; gap: 10px; margin: 18px 0 0; color: #9fabc8; font-size: .93rem; font-weight: 600; } .c2-pin svg { color: var(--goldl); font-size: 18px; }
.c2-r { position: relative; }
.c2-card { position: relative; border-radius: 30px; background: #fff; padding: 8px; box-shadow: 0 50px 80px -34px rgba(0, 0, 0, .65); transform: rotate(1.2deg); transition: transform .5s var(--ease); }
.cta2:hover .c2-card { transform: none; }
.c2-card .fm { box-shadow: none; padding: 26px 26px 24px; background: transparent; }
.c2-card .ok { padding: 60px 20px; }
.fm-h h3 { font-size: 1.55rem; letter-spacing: -.03em; } .fm-h p { margin: 6px 0 0; color: var(--mut); font-size: .95rem; }
.fm-l { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 700; color: var(--mut); }
.fm-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.fm-chips button { padding: 9px 15px; border-radius: 999px; border: 1.5px solid var(--line2); background: #fff; color: var(--ink); font-size: 13.5px; font-weight: 700; transition: all .2s; }
.fm-chips button:hover { border-color: var(--gold); }
.fm-chips button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; box-shadow: 0 8px 16px -8px rgba(20, 33, 61, .7); }
.c2-tag { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 8px; padding: 10px 15px; border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: 0 18px 36px -14px rgba(0, 0, 0, .5); font-size: 13.5px; font-weight: 800; color: var(--ink); animation: bob 8s ease-in-out infinite; }
.c2-tag svg { padding: 3px; width: 22px; height: 22px; border-radius: 50%; background: #22c55e; color: #fff; stroke-width: 3; }
.c2-tag.t1 { right: -18px; top: -20px; } .c2-tag.t2 { left: -38px; top: 58%; animation-delay: -4s; }
@media (max-width: 1180px) { .cta2 { grid-template-columns: minmax(0, 1fr); gap: 44px; padding: 52px 32px; } .c2-card { transform: none; } .c2-tag.t1 { right: 8px; top: -18px; } .c2-tag.t2 { left: 8px; bottom: -16px; } .cta2 h2 { max-width: 20ch; } }
@media (max-width: 680px) { .cta2 { padding: 36px 14px 40px; border-radius: 28px; } .cta2 .c2-l { padding: 0 8px; } .c2-ct { grid-template-columns: minmax(0, 1fr); } .c2-ct a { flex-direction: row; align-items: center; } .c2-card .fm { padding: 20px 16px; } .c2-tag { display: none; } }
/* ==================== HERO v4 ==================== */
.hero { padding: 132px 0 0; }
.hero-grid { position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(20, 33, 61, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(20, 33, 61, .05) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse 80% 70% at 62% 36%, #000 15%, transparent 72%); mask-image: radial-gradient(ellipse 80% 70% at 62% 36%, #000 15%, transparent 72%); }
.hero-g { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 30px; }
.hero-l { padding-bottom: 96px; }
.pill { padding: 8px 16px 8px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh); font-size: 12.5px; }
.pill b { font-weight: 800; } .pill b::after { content: ' ·'; }
.live { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 rgba(34, 197, 94, .6); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 9px rgba(34, 197, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); } }
.hero h1 { margin: 22px 0 22px; font-size: clamp(2.8rem, 5.6vw, 4.8rem); line-height: 1.02; letter-spacing: -.05em; }
.rot { position: relative; display: inline-grid; vertical-align: bottom; overflow: hidden; padding: 0 .04em .12em 0; margin-bottom: -.12em; }
.rot > span { grid-area: 1 / 1; color: var(--gold); opacity: 0; transform: translateY(70%) rotate(3deg); filter: blur(4px); transition: opacity .55s var(--ease), transform .7s var(--ease), filter .55s; }
.rot > span.on { opacity: 1; transform: none; filter: none; }
.rot > span.out { opacity: 0; transform: translateY(-70%) rotate(-3deg); filter: blur(4px); }
.rot::after { content: ''; position: absolute; left: 0; right: .1em; bottom: .03em; height: .09em; border-radius: 99px; background: var(--grad); opacity: .9; }
.hero .lead { max-width: 50ch; font-size: 1.16rem; }
.btn-lg { min-height: 60px; padding: 0 32px; font-size: 16.5px; border-radius: 16px; }
.hero-cta { margin: 30px 0 28px; }
.proof { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.proof-av { display: flex; } .proof-av i { width: 44px; height: 44px; margin-left: -12px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; border: 3px solid #fff; background: var(--c); color: #fff; font-style: normal; font-weight: 800; font-size: 16px; box-shadow: 0 8px 16px -8px rgba(20, 33, 61, .5); } .proof-av i:first-child { margin-left: 0; }
.proof p { margin: 0; font-size: .93rem; line-height: 1.45; color: var(--mut); } .proof p b { color: var(--ink); }
.hero-pts { font-size: 14px; }

.scene { padding: 20px 0 78px 10px; perspective: 1600px; }
.blob { position: absolute; z-index: -1; border-radius: 50%; filter: blur(2px); }
.blob.b1 { width: 70%; aspect-ratio: 1; right: -8%; top: -4%; background: radial-gradient(circle at 35% 30%, #ffd978, #f5a300 55%, rgba(245, 163, 0, 0) 72%); opacity: .55; animation: float 12s ease-in-out infinite; }
.blob.b2 { width: 34%; aspect-ratio: 1; left: -4%; bottom: 8%; border: 2px dashed rgba(245, 163, 0, .55); animation: spin 40s linear infinite; }
@keyframes float { 50% { transform: translate(-14px, 18px) scale(1.04); } } @keyframes spin { to { transform: rotate(360deg); } }
.par { will-change: transform; transform: translate3d(calc(var(--px, 0) * var(--d, 0px)), calc(var(--py, 0) * var(--d, 0px)), 0); transition: transform .35s ease-out; }
.par .laptop { transform: rotateY(-9deg) rotateX(3deg); transform-style: preserve-3d; transition: transform 1s var(--ease); }
.scene:hover .par .laptop { transform: rotateY(-3deg) rotateX(1deg); }
.ph-par { position: absolute; right: -1%; bottom: 52px; width: 22%; min-width: 118px; z-index: 4; }
.ph-par .phone { position: relative; right: auto; bottom: auto; width: 100%; }
.pc1, .pc2, .pc3 { position: absolute; z-index: 6; }
.pc1 { left: -3%; top: 7%; } .pc2 { right: -2%; top: 3%; } .pc3 { left: 2%; bottom: 74px; }
.fc { display: flex; align-items: center; gap: 12px; padding: 13px 16px 13px 13px; border-radius: 18px; background: rgba(255, 255, 255, .96); border: 1px solid var(--line); box-shadow: 0 26px 46px -18px rgba(20, 33, 61, .45); backdrop-filter: blur(10px); animation: bob 7s ease-in-out infinite; }
.fc b { display: block; font-size: 13.5px; line-height: 1.25; letter-spacing: -.01em; color: var(--ink); } .fc small { display: flex; align-items: center; gap: 6px; margin-top: 3px; font-size: 11.5px; font-weight: 600; color: var(--dim); }
.fc-ic { flex: 0 0 auto; display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 13px; background: var(--peach); color: var(--gold2); font-size: 20px; } .fc-ic.ok { background: #dcfce7; color: #16a34a; }
.pc2 .fc { animation-delay: -2.5s; } .pc3 .fc { animation-delay: -5s; }
.fc-g { flex-direction: column; align-items: flex-start; gap: 4px; min-width: 190px; padding: 14px 18px; }
.fg-top { display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--gold2); } .fg-top svg { font-size: 15px; }
.fg-t { font-size: 15px; font-weight: 800; color: #1a5fd0; letter-spacing: -.01em; } .fg-u { font-size: 11.5px; color: #16794a; font-weight: 600; }
.fg-s { display: flex; align-items: center; gap: 3px; margin-top: 2px; } .fg-s i { width: 13px; height: 13px; background: var(--gold); clip-path: polygon(50% 0, 62% 36%, 100% 38%, 70% 60%, 80% 100%, 50% 76%, 20% 100%, 30% 60%, 0 38%, 38% 36%); } .fg-s small { margin: 0 0 0 6px; font-size: 11px; }
.dots-sw { position: absolute; left: 0; right: 0; bottom: 36px; margin: 0; }
.stats { margin-top: -50px; }
@media (max-width: 1080px) { .hero-g { gap: 10px; } .hero-l { padding-bottom: 24px; } .scene { padding-bottom: 70px; } .pc2 { right: 0; } .pc1 { left: 0; } }
@media (max-width: 680px) { .hero h1 { font-size: clamp(2.5rem, 11vw, 3.2rem); } .pc1, .pc2 { display: none; } .pc3 { left: 0; bottom: 64px; } .fc { padding: 10px 13px 10px 10px; } .fc b { font-size: 12.5px; } .proof-av i { width: 38px; height: 38px; } .btn-lg { width: 100%; } .par .laptop { transform: none; } .ph-par { right: 0; } .stats { margin-top: -30px; } }
@media (prefers-reduced-motion: reduce) { .rot > span { transition: none; } .blob, .fc { animation: none !important; } .par { transform: none !important; } }
.rot { display: grid; justify-items: start; vertical-align: baseline; margin-bottom: 0; padding: 0 0 .16em; margin-top: -.02em; }
.rot::after { display: none; }
.rot > span { position: relative; justify-self: start; }
.rot > span::after { content: ''; position: absolute; left: 0; right: .26em; bottom: -.1em; height: .09em; border-radius: 99px; background: var(--grad); }
.hero h1 { font-size: clamp(2.8rem, 5vw, 4.5rem); }
.pc1 { left: -4%; top: 6%; }
.btn-lg { padding: 0 24px; font-size: 16px; }
.hero-cta { flex-wrap: nowrap; } @media (max-width: 680px) { .hero-cta { flex-wrap: wrap; } }

@media (max-width: 680px) {
	.pill { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; max-width: 100%; padding: 8px 14px 8px 12px; line-height: 1.35; }
	.pill b { display: inline; } .pill b::after { content: ' ·'; }
	.btn-lg { white-space: normal; text-align: center; padding: 0 20px; min-height: 58px; }
	.hero-cta .btn { width: 100%; }
	.proof { align-items: center; } .proof p { flex: 1; min-width: 0; }
}
@media (max-width: 1080px) { .hero-g { grid-template-columns: minmax(0, 1fr); } .scene { max-width: 760px; margin-inline: auto; width: 100%; } }

/* ==================== AURORA v4 (sfondo luminoso animato) ==================== */
.hero .aurora, .ph-h .aurora, .art-h .aurora { background: radial-gradient(55% 55% at 84% 6%, rgba(255, 214, 102, .6), transparent 70%), radial-gradient(40% 45% at 4% 100%, rgba(255, 168, 82, .38), transparent 72%); }
.hero .aurora i, .ph-h .aurora i, .art-h .aurora i { filter: blur(46px); mix-blend-mode: normal; will-change: transform, border-radius; }
.hero .aurora i:nth-child(1), .ph-h .aurora i:nth-child(1), .art-h .aurora i:nth-child(1) { display: block; width: 640px; height: 640px; right: -140px; top: -170px; left: auto; bottom: auto; background: radial-gradient(circle at 32% 30%, #ffe08a 0%, #f7b21c 48%, rgba(245, 163, 0, 0) 72%); opacity: .62; animation: morph 15s ease-in-out infinite alternate, drift1 24s ease-in-out infinite; }
.hero .aurora i:nth-child(2), .ph-h .aurora i:nth-child(2), .art-h .aurora i:nth-child(2) { display: block; width: 520px; height: 520px; left: -170px; bottom: -190px; right: auto; top: auto; background: radial-gradient(circle at 60% 40%, #ffc38a 0%, #ff8f3d 50%, rgba(255, 143, 61, 0) 74%); opacity: .38; animation: morph 19s ease-in-out -6s infinite alternate, drift2 28s ease-in-out infinite; }
.hero .aurora i:nth-child(3), .ph-h .aurora i:nth-child(3), .art-h .aurora i:nth-child(3) { display: block; width: 480px; height: 480px; left: 30%; top: 18%; background: radial-gradient(circle, rgba(255, 255, 255, .95) 0%, rgba(255, 244, 214, .55) 40%, rgba(255, 244, 214, 0) 70%); opacity: .8; animation: morph 17s ease-in-out -3s infinite alternate, drift3 21s ease-in-out infinite; }
.hero .aurora::before, .ph-h .aurora::before, .art-h .aurora::before { content: ''; position: absolute; width: 560px; height: 560px; left: -160px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(176, 196, 255, .17), rgba(176, 196, 255, 0) 66%); filter: blur(40px); animation: drift2 26s ease-in-out -9s infinite reverse; }
.hero .aurora::after, .ph-h .aurora::after, .art-h .aurora::after { content: ''; position: absolute; inset: -25% -15%; background: linear-gradient(112deg, transparent 36%, rgba(255, 255, 255, .6) 44%, transparent 52%), linear-gradient(112deg, transparent 58%, rgba(255, 255, 255, .38) 63%, transparent 69%), linear-gradient(112deg, transparent 72%, rgba(255, 224, 138, .35) 75%, transparent 79%); opacity: .75; animation: beam 16s ease-in-out infinite alternate; }
.hero::before, .ph-h::before, .art-h::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5; mix-blend-mode: multiply; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .55 0 0 0 0 .42 0 0 0 0 .2 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
@keyframes morph { 0% { border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%; } 50% { border-radius: 70% 30% 46% 54% / 30% 62% 38% 70%; } 100% { border-radius: 38% 62% 36% 64% / 58% 36% 64% 42%; } }
@keyframes drift1 { 0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); } 50% { transform: translate(-70px, 60px) rotate(25deg) scale(1.1); } }
@keyframes drift2 { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(80px, -50px) scale(1.12); } }
@keyframes drift3 { 0%, 100% { transform: translate(0, 0) scale(1); } 33% { transform: translate(-60px, 40px) scale(1.08); } 66% { transform: translate(50px, -30px) scale(.94); } }
@keyframes beam { from { transform: translateX(-7%); } to { transform: translateX(7%); } }
/* versioni scure (contatto e piè di pagina): stessa aria, toni caldi su blu */
.cta2 .aurora i, .ft .aurora i { filter: blur(54px); animation: morph 16s ease-in-out infinite alternate, drift1 26s ease-in-out infinite; }
.cta2 .aurora::after, .ft .aurora::after { content: ''; position: absolute; inset: -30% -10%; background: linear-gradient(112deg, transparent 40%, rgba(255, 200, 61, .10) 48%, transparent 56%); animation: beam 18s ease-in-out infinite alternate; }
@media (max-width: 680px) { .hero .aurora i:nth-child(1), .ph-h .aurora i:nth-child(1), .art-h .aurora i:nth-child(1) { width: 380px; height: 380px; right: -140px; top: -90px; } .hero .aurora i:nth-child(2), .ph-h .aurora i:nth-child(2) { width: 320px; height: 320px; } }
@media (prefers-reduced-motion: reduce) { .aurora i, .aurora::after, .aurora::before { animation: none !important; } }