/* FOR.ES. home in codice (22/10/2026): base fx- + fx-hm-*, generato da /mnt/project-files/home/sorgenti (wp.py) */

.fx-p{--surface:#fff;--surface-alt:#f4f6f1;--surface-mint:#e6f4e2;--forest:#0b2e14;--line:#e3e7e0;--line-mint:#d5ebcf;--ink:#0f1a12;--ink-muted:#535b55;--ink-subtle:#6b736d;--primary:#067f02;--primary-hover:#056b02;--brand-green:#0aa503;--on-forest-muted:#c9d6cb;--on-forest-subtle:#9fb3a3;--accent-on-forest:#7be07a;--eyebrow-on-forest:#bff0b8;--line-on-forest:#234a2c;--fh:Poppins,system-ui,sans-serif;--fb:Figtree,system-ui,sans-serif;
  container-type:inline-size;container-name:fxp;font-family:var(--fb);color:var(--ink);font-size:16px;line-height:1.55;background:var(--surface);overflow:hidden}
.fx-p *,.fx-p *::before,.fx-p *::after{box-sizing:border-box}
.fx-p h1,.fx-p h2,.fx-p h3,.fx-p p{margin:0}
.fx-p a{color:var(--primary)}
.fx-p :focus-visible{outline:2px solid var(--primary);outline-offset:3px}
.fx-sec{position:relative;padding:104px 24px}
.fx-wrap{position:relative;z-index:1;max-width:1240px;margin:0 auto}
.fx-alt{background:var(--surface-alt)}.fx-mint{background:var(--surface-mint)}.fx-forest{background:var(--forest);color:#fff}
.fx-eyebrow{font-size:14px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--primary)}
.fx-forest .fx-eyebrow{color:var(--accent-on-forest)}
.fx-h2{font-family:var(--fh);font-size:42px;line-height:1.15;font-weight:700;letter-spacing:-.025em}
.fx-h3{font-family:var(--fh);font-size:20px;line-height:1.3;font-weight:600}
.fx-lead{font-size:18px;color:var(--ink-muted)}
.fx-forest .fx-lead{color:var(--on-forest-muted)}
.fx-head{display:flex;flex-direction:column;gap:12px;max-width:680px;margin-bottom:48px}
.fx-btn{display:inline-flex;align-items:center;gap:10px;min-height:48px;padding:13px 22px;border-radius:12px;font-weight:600;font-size:16px;text-decoration:none;transition:transform .2s,box-shadow .2s,background .2s;border:2px solid transparent}
.fx-btn svg{transition:transform .2s}
.fx-btn:hover svg{transform:translateX(4px)}
.fx-btn--primary{background:var(--primary);color:#fff!important}
.fx-btn--primary:hover{background:var(--primary-hover);transform:translateY(-2px);box-shadow:0 10px 24px rgba(6,127,2,.28)}
.fx-btn--ghost{color:#fff!important;border-color:rgba(255,255,255,.5)}
.fx-btn--ghost:hover{background:rgba(255,255,255,.1);transform:translateY(-2px)}
.fx-btn--line{color:var(--primary)!important;border-color:var(--line-mint);background:#fff}
.fx-btn--line:hover{border-color:var(--primary);transform:translateY(-2px)}
.fx-row{display:flex;flex-wrap:wrap;gap:12px;align-items:center}
/* cerchio a righe */
.fx-stripes{position:absolute;border-radius:50%;pointer-events:none;z-index:0;background:repeating-linear-gradient(180deg,rgba(10,165,3,.22) 0 6px,transparent 6px 16px)}
.fx-forest .fx-stripes{background:repeating-linear-gradient(180deg,rgba(255,255,255,.10) 0 6px,transparent 6px 16px)}
.fx-float{animation:fxFloat 9s ease-in-out infinite}
@keyframes fxFloat{50%{transform:translateY(-18px)}}
/* hero */
.fx-hero{position:relative;min-height:600px;display:flex;align-items:center;padding:120px 24px 150px;color:#fff;background:var(--forest)}
.fx-hero__img{position:absolute;inset:0;overflow:hidden}
.fx-hero__img img{width:100%;height:100%;object-fit:cover;object-position:center 30%;animation:fxKen 16s ease-out both}
.fx-hero__img::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(11,46,20,.95) 0%,rgba(11,46,20,.82) 38%,rgba(11,46,20,.35) 70%,rgba(11,46,20,.10) 100%)}
@keyframes fxKen{from{transform:scale(1.14)}to{transform:scale(1)}}
.fx-hero .fx-wrap{width:100%}
.fx-hero__txt{max-width:640px;display:flex;flex-direction:column;gap:22px}
.fx-hero .fx-eyebrow{color:var(--eyebrow-on-forest)}
.fx-display{font-family:var(--fh);font-size:60px;line-height:1.08;font-weight:700;letter-spacing:-.03em}
.fx-hl{position:relative;display:inline-block;color:var(--accent-on-forest);white-space:nowrap}
@keyframes fxDraw{to{stroke-dashoffset:0}}
.fx-hero__lead{font-size:20px;color:var(--on-forest-muted);max-width:560px}
.fx-in{opacity:0;transform:translateY(22px);animation:fxIn .9s cubic-bezier(.2,.7,.2,1) forwards}
.fx-in:nth-child(2){animation-delay:.08s}.fx-in:nth-child(3){animation-delay:.16s}.fx-in:nth-child(4){animation-delay:.24s}
@keyframes fxIn{to{opacity:1;transform:none}}
/* comparsa allo scroll */
.fx-rv{opacity:0;transform:translateY(28px);transition:opacity .8s ease,transform .8s cubic-bezier(.2,.7,.2,1)}
.fx-rv.is-in{opacity:1;transform:none}
.fx-clip{clip-path:inset(12% 12% 12% 12% round 28px);transition:clip-path 1.2s cubic-bezier(.2,.7,.2,1)}
.fx-clip.is-in{clip-path:inset(0 0 0 0 round 28px)}
/* fatti sovrapposti alla hero */
.fx-facts{position:relative;z-index:3;margin:-84px auto 0;max-width:1240px;padding:0 24px}
.fx-facts__in{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));background:#fff;border:1px solid var(--line);border-radius:20px;box-shadow:0 30px 60px rgba(11,46,20,.12)}
.fx-fact{padding:28px 24px;display:flex;flex-direction:column;gap:4px;border-left:1px solid var(--line)}
.fx-fact:first-child{border-left:0}
.fx-fact b{font-family:var(--fh);font-size:38px;line-height:1.1;font-weight:700;letter-spacing:-.02em;color:var(--ink)}
.fx-fact b i{font-style:normal;color:var(--brand-green)}
.fx-fact .lb{font-size:15px;color:var(--ink-muted)}
/* split */
.fx-split{display:flex;flex-wrap:wrap;gap:64px;align-items:center}
.fx-split>*{flex:1 1 440px;min-width:0}
.fx-media{position:relative}
.fx-media img{width:100%;aspect-ratio:4/3.4;object-fit:cover;border-radius:28px;display:block;box-shadow:0 30px 60px rgba(11,46,20,.15)}
.fx-prose{display:flex;flex-direction:column;gap:18px}
.fx-prose p{color:var(--ink-muted);font-size:17px}
.fx-prose strong{color:var(--ink)}

/* CTA e correlati comuni */
.fx-cta{position:relative;overflow:hidden;border-radius:32px;background:var(--surface-mint);padding:64px;display:flex;flex-wrap:wrap;gap:32px;align-items:center;justify-content:space-between}
.fx-cta>div{position:relative;z-index:1;max-width:620px;display:flex;flex-direction:column;gap:12px}
.fx-cta .fx-row{position:relative;z-index:1}
.fx-rel{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.fx-rel a{display:flex;gap:20px;align-items:center;padding:24px 28px;border:1px solid var(--line);border-radius:20px;text-decoration:none;color:var(--ink);background:#fff;transition:transform .25s,box-shadow .25s,border-color .25s}
.fx-rel a:hover{transform:translateY(-4px);box-shadow:0 20px 44px rgba(15,26,18,.12);border-color:var(--line-mint)}
.fx-rel .ic{flex:none;width:56px;height:56px;border-radius:16px;display:grid;place-items:center;background:var(--forest);color:var(--accent-on-forest)}
.fx-rel b{display:block;font-family:var(--fh);font-weight:600;font-size:18px;line-height:1.3}
.fx-rel span{color:var(--ink-muted);font-size:15px}
.fx-rel .arr{margin-left:auto;color:var(--primary);transition:transform .2s}
.fx-rel a:hover .arr{transform:translateX(4px)}



/* ===== Home (fx-hm-) ===== */
.fx-hm-hero .fx-hero__img img{transform-origin:50% 40%;object-position:center 35%}
.fx-hm-hero .fx-hero__img.flip img{scale:-1 1}
.fx-hm-hero .fx-hero__img::after{background:linear-gradient(90deg,rgba(11,46,20,.78) 0%,rgba(11,46,20,.5) 42%,rgba(11,46,20,.12) 72%,rgba(11,46,20,0) 100%),linear-gradient(0deg,rgba(11,46,20,.45) 0%,rgba(11,46,20,0) 40%)}
.fx-hm-hero .fx-display,.fx-hm-hero .fx-hero__lead{text-shadow:0 2px 18px rgba(6,28,11,.45)}
.fx-hm-badge{display:inline-flex;align-self:flex-start;align-items:center;gap:8px;font-size:14px;font-weight:600;color:var(--eyebrow-on-forest);background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.2);padding:6px 12px;border-radius:999px}
.fx-hm-badge i{width:8px;height:8px;border-radius:50%;background:var(--brand-green);animation:fxHmPulse 2.4s ease-out infinite}
@keyframes fxHmPulse{0%{box-shadow:0 0 0 0 rgba(10,165,3,.7)}70%,100%{box-shadow:0 0 0 9px rgba(10,165,3,0)}}
.fx-hm-facts .fx-facts__in{grid-template-columns:repeat(4,minmax(0,1fr))}
.fx-hm-facts .fx-fact b small{font-size:22px;font-weight:600;color:var(--ink-muted)}
.fx-hm-facts .fx-fact{opacity:0;animation:fxHmIn .8s cubic-bezier(.2,.7,.2,1) forwards}
.fx-hm-facts .fx-fact:nth-child(2){animation-delay:.1s}.fx-hm-facts .fx-fact:nth-child(3){animation-delay:.2s}.fx-hm-facts .fx-fact:nth-child(4){animation-delay:.3s}

/* accesso rapido: quattro scorciatoie al posto dei numeri */
.fx-hm-q{flex-direction:row;align-items:center;gap:14px;padding:24px 22px;text-decoration:none;color:var(--ink);transition:background .25s}
.fx-p a.fx-hm-q{color:var(--ink)}
.fx-hm-q:hover{background:#f6faf4}
.fx-hm-q:first-child{border-radius:20px 0 0 20px}.fx-hm-q:last-child{border-radius:0 20px 20px 0}
.fx-hm-q .ic{flex:none;width:46px;height:46px;border-radius:14px;display:grid;place-items:center;background:var(--surface-mint);color:var(--primary);transition:background .25s,color .25s,transform .25s}
.fx-hm-q:hover .ic{background:var(--forest);color:var(--accent-on-forest);transform:rotate(-6deg)}
.fx-hm-q .tx{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1}
.fx-hm-q b{font-size:19px;line-height:1.25;font-weight:600;letter-spacing:-.01em}
.fx-hm-q .lb{font-size:14px;line-height:1.4}
.fx-hm-q .lb i{font-style:normal;font-weight:700;color:var(--primary)}
.fx-hm-q .arr{flex:none;color:var(--primary);transition:transform .2s}
.fx-hm-q:hover .arr{transform:translateX(4px)}

/* nastro dei servizi */
.fx-hm-marquee{overflow:hidden;padding:20px 0;margin-top:56px;background:#f2f7ef;border-top:1px solid #e3ebdf;border-bottom:1px solid #e3ebdf}
.fx-hm-marquee__track{display:flex;width:max-content;gap:28px;align-items:center;white-space:nowrap;font:500 18px/1.4 var(--fh);letter-spacing:-.01em;color:#1f3a26;animation:fxHmMarquee 38s linear infinite}
.fx-hm-marquee__track i{width:6px;height:6px;border-radius:50%;background:var(--brand-green);opacity:.7;flex:none}
@keyframes fxHmMarquee{to{transform:translateX(-50%)}}

/* foto con angoli tondi */
.fx-hm-photo{position:relative}
.fx-hm-photo img{width:100%;aspect-ratio:4/3.3;object-fit:cover;border-radius:28px;display:block;box-shadow:0 30px 60px rgba(11,46,20,.15)}
@keyframes fxHmDraw{to{stroke-dashoffset:0}}

/* da dove parti: scelta della situazione */
.fx-hm-picks{display:flex;flex-wrap:wrap;gap:10px}
.fx-hm-pick{font:600 16px var(--fb);min-height:48px;padding:10px 20px 10px 12px;border-radius:999px;border:1.5px solid #d9ded6;background:#fff;color:var(--ink);cursor:pointer;display:inline-flex;align-items:center;gap:10px;transition:background .2s,border-color .2s,color .2s,transform .2s}
.fx-hm-pick:hover{border-color:var(--primary);transform:translateY(-2px)}
.fx-hm-pick .ic{flex:none;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:var(--surface-mint);color:var(--primary)}
.fx-hm-pick.on{background:var(--forest);border-color:var(--forest);color:#fff}
.fx-hm-pick.on .ic{background:var(--accent-on-forest);color:var(--forest)}
.fx-hm-panel{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:48px;margin-top:40px;padding:44px;border-radius:28px;background:#fff;border:1px solid var(--line-mint);box-shadow:0 30px 60px rgba(11,46,20,.08);position:relative}
.fx-hm-swapA{animation:fxHmSwapA .5s cubic-bezier(.2,.7,.2,1)}.fx-hm-swapB{animation:fxHmSwapB .5s cubic-bezier(.2,.7,.2,1)}
@keyframes fxHmSwapA{from{opacity:0;transform:translateY(14px)}}
@keyframes fxHmSwapB{from{opacity:0;transform:translateY(14px)}}
.fx-hm-panel__txt{display:flex;flex-direction:column;gap:14px;align-items:flex-start}
.fx-hm-panel__txt h3{font-family:var(--fh);font-size:28px;line-height:1.2;font-weight:700;letter-spacing:-.02em}
.fx-hm-panel__txt p{color:var(--ink-muted);font-size:17px}
.fx-hm-links{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px}
.fx-hm-links a{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;align-items:center;padding:18px 22px;border:1px solid var(--line);border-radius:18px;text-decoration:none;color:var(--ink);background:#fff;transition:transform .25s,border-color .25s,box-shadow .25s}
.fx-hm-links a:hover{transform:translateX(4px);border-color:var(--line-mint);box-shadow:0 16px 36px rgba(15,26,18,.08)}
.fx-hm-links b{display:block;font-family:var(--fh);font-weight:600;font-size:18px;line-height:1.3}
.fx-hm-links span{display:block;color:var(--ink-muted);font-size:15px;margin-top:2px}
.fx-hm-links .tg{display:inline-block;margin:0 0 6px;padding:3px 9px;border-radius:6px;background:var(--surface-mint);color:#155c17;font-size:12px;font-weight:700}
.fx-hm-links .arr{color:var(--primary);transition:transform .2s}
.fx-hm-links a:hover .arr{transform:translateX(4px)}
.fx-hm-links li{opacity:0;animation:fxHmIn .55s cubic-bezier(.2,.7,.2,1) forwards}
.fx-hm-links li:nth-child(2){animation-delay:.08s}.fx-hm-links li:nth-child(3){animation-delay:.16s}.fx-hm-links li:nth-child(4){animation-delay:.24s}

/* corsi gratuiti: card con le ore dei tre percorsi */
.fx-hm-courses{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}
.fx-hm-course{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1fr);border:1px solid var(--line);border-radius:24px;overflow:hidden;background:#fff;text-decoration:none;color:var(--ink);transition:transform .35s cubic-bezier(.2,.7,.2,1),box-shadow .35s,border-color .35s}
.fx-p .fx-hm-course{color:var(--ink)}
.fx-hm-course:hover{transform:translateY(-6px);box-shadow:0 20px 44px rgba(15,26,18,.12);border-color:#bfe3b6}
.fx-hm-course__img{position:relative;overflow:hidden;min-height:100%}
.fx-hm-course__img img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .6s cubic-bezier(.2,.7,.2,1)}
.fx-hm-course:hover .fx-hm-course__img img{transform:scale(1.06)}
.fx-hm-course__img .pill{position:absolute;left:14px;top:14px;font-size:12px;font-weight:700;padding:5px 10px;border-radius:999px;background:#fff;color:#155c17}
.fx-hm-course__body{padding:28px;display:flex;flex-direction:column;gap:12px}
.fx-hm-course__body h3{font-family:var(--fh);font-size:22px;line-height:1.25;font-weight:700;letter-spacing:-.015em}
.fx-hm-course__body p{color:var(--ink-muted);font-size:15px}
.fx-hm-bars{display:flex;flex-direction:column;gap:9px;margin-top:6px}
.fx-hm-bar{display:grid;grid-template-columns:minmax(0,1fr) 64px;gap:12px;align-items:center;font-size:13px;color:var(--ink-muted)}
.fx-hm-bar .tr{height:10px;border-radius:999px;background:var(--surface-alt);overflow:hidden}
.fx-hm-bar .fl{display:block;height:100%;border-radius:999px;background:var(--primary);transform-origin:0 50%;animation:fxHmGrow 1.1s cubic-bezier(.2,.7,.2,1) both}
.fx-hm-bar:nth-child(1) .fl{background:#9fd598}.fx-hm-bar:nth-child(2) .fl{background:#4fb447;animation-delay:.15s}.fx-hm-bar:nth-child(3) .fl{animation-delay:.3s}
.fx-hm-bar b{font:700 14px var(--fh);color:var(--ink);text-align:right}
@keyframes fxHmGrow{from{transform:scaleX(0)}}
@keyframes fxHmIn{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}
.fx-hm-course__go{margin-top:auto;padding-top:12px;font-weight:600;color:var(--primary);display:flex;gap:8px;align-items:center}
.fx-hm-course__go svg{transition:transform .2s}
.fx-hm-course:hover .fx-hm-course__go svg{transform:translateX(4px)}

/* come ti iscrivi: linea che si disegna con tre tappe */
.fx-hm-steps{position:relative;list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:40px}
.fx-hm-line{position:absolute;left:0;right:0;top:9px;height:4px;width:100%;overflow:visible}
.fx-hm-line--v{left:9px;right:auto;top:0;bottom:0;width:4px;height:100%}
.fx-p svg.fx-hm-line--v{display:none}
.fx-hm-line path{fill:none;stroke:var(--brand-green);stroke-width:3;stroke-linecap:round;stroke-dasharray:1;stroke-dashoffset:1;animation:fxHmDraw 1.8s .3s cubic-bezier(.4,0,.2,1) forwards}
.fx-hm-step{position:relative;display:flex;flex-direction:column;gap:10px;padding-top:44px}
.fx-hm-step::before{content:"";position:absolute;left:0;top:0;width:22px;height:22px;border-radius:50%;background:var(--forest);border:4px solid var(--accent-on-forest);transform:scale(0);animation:fxHmPop .5s cubic-bezier(.3,1.6,.5,1) forwards}
.fx-hm-step:nth-child(3)::before{animation-delay:.7s}.fx-hm-step:nth-child(4)::before{animation-delay:1.3s}.fx-hm-step:nth-child(2)::before{animation-delay:.2s}
@keyframes fxHmPop{from{transform:scale(0)}to{transform:scale(1)}}
.fx-hm-step .k{font-size:13px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--accent-on-forest)}
.fx-hm-step h3{font-family:var(--fh);font-size:22px;line-height:1.25;font-weight:600;color:#fff}
.fx-hm-step p{color:var(--on-forest-muted);font-size:16px}

/* aziende */
.fx-hm-biz .fx-hm-photo img{aspect-ratio:4/3.1}
.fx-hm-chips{display:flex;flex-wrap:wrap;gap:10px}
.fx-hm-chips a{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:9px 16px;border-radius:999px;background:#fff;border:1.5px solid var(--line-mint);color:var(--ink);font-weight:600;font-size:15px;text-decoration:none;transition:border-color .2s,transform .2s}
.fx-hm-chips a:hover{border-color:var(--primary);transform:translateY(-2px)}
.fx-hm-chips a svg{color:var(--primary)}
.fx-hm-voucher{display:flex;gap:18px;align-items:center;padding:20px 22px;border-radius:20px;background:#fff;border:1px solid var(--line)}
.fx-hm-voucher b{flex:none;font:700 34px/1 var(--fh);letter-spacing:-.02em;color:var(--primary)}
.fx-hm-voucher span{color:var(--ink-muted);font-size:15px}

/* unimarconi */
.fx-hm-checks{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px}
.fx-hm-checks li{display:flex;gap:12px;align-items:center;font-size:16px;color:var(--ink)}
.fx-hm-checks .ck{flex:none;width:28px;height:28px;border-radius:50%;background:var(--surface-mint);color:var(--primary);display:grid;place-items:center}
.fx-hm-checks .ck path{stroke-dasharray:30;stroke-dashoffset:30;animation:fxHmCk .6s .8s ease forwards}
.fx-hm-checks li:nth-child(2) .ck path{animation-delay:1s}.fx-hm-checks li:nth-child(3) .ck path{animation-delay:1.2s}
@keyframes fxHmCk{to{stroke-dashoffset:0}}


/* banner del corso: subito sotto la hero e l'accesso rapido */
.fx-hm-promo{position:relative;padding:64px 24px 0}
.fx-hm-promo__card{display:block;max-width:760px;margin:0 auto;border-radius:22px;overflow:hidden;box-shadow:0 24px 50px rgba(11,46,20,.16);transition:transform .35s cubic-bezier(.2,.7,.2,1),box-shadow .35s;animation:fxHmIn .8s cubic-bezier(.2,.7,.2,1) both}
.fx-hm-promo__card:hover{transform:translateY(-4px);box-shadow:0 30px 60px rgba(11,46,20,.22)}
.fx-hm-promo__card img{display:block;width:100%;height:auto;aspect-ratio:16/9}
.fx-hm-marquee--after{margin-top:0}

/* unimarconi: la porta dell'università */
.fx-hm-uni{position:relative;overflow:hidden;padding:110px 24px 120px;background:radial-gradient(120% 80% at 30% 100%,#14502a 0%,var(--forest) 60%);color:#fff}
.fx-hm-uni__in{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:72px;align-items:center;position:relative;z-index:1}
.fx-hm-uni__txt{display:flex;flex-direction:column;gap:18px;align-items:flex-start}
.fx-hm-uni__txt .fx-h2{color:#fff}
.fx-hm-uni__txt p{color:var(--on-forest-muted);font-size:18px}
.fx-hm-uni .fx-hm-checks li{color:#fff}
.fx-hm-uni .fx-hm-checks .ck{background:rgba(255,255,255,.1);color:var(--accent-on-forest)}
.fx-hm-gate{--stone:#f1f4ec;--stone-d:#d9e2d3;width:100%;max-width:560px;margin:0 auto;filter:drop-shadow(0 40px 50px rgba(0,0,0,.35));transform-origin:50% 100%}
.fx-hm-gate__pedi{height:124px;background:linear-gradient(180deg,var(--stone),var(--stone-d));clip-path:polygon(50% 0,100% 100%,0 100%);display:flex;align-items:flex-end;justify-content:center;padding-bottom:16px}
.fx-hm-gate__pedi img{display:block;height:74px;width:auto}
.fx-hm-gate__beam{height:22px;margin:0 -10px;background:var(--stone);border-bottom:6px solid var(--stone-d)}
.fx-hm-gate__row{display:grid;grid-template-columns:1fr 1fr 2.6fr 1fr 1fr;gap:14px;padding:0 14px;height:380px;align-items:stretch}
.fx-hm-gate__row .col{display:block;border-radius:4px 4px 0 0;background:repeating-linear-gradient(90deg,var(--stone) 0 7px,var(--stone-d) 7px 9px);box-shadow:inset 0 14px 0 var(--stone),inset 0 -10px 0 var(--stone-d)}
.fx-hm-gate__door{position:relative;border-radius:999px 999px 0 0;overflow:hidden;background:#0a2412;perspective:900px;box-shadow:inset 0 0 0 8px var(--stone),inset 0 0 0 10px var(--stone-d)}
.fx-hm-gate__door img{position:absolute;inset:10px 10px 0;width:calc(100% - 20px);height:calc(100% - 10px);object-fit:cover;border-radius:999px 999px 0 0}
.fx-hm-gate__door .lf{position:absolute;top:10px;bottom:0;width:calc(50% - 10px);background:linear-gradient(90deg,#0b5e1e,#08471a);box-shadow:inset 0 0 0 6px #0a5219,inset 0 0 0 7px rgba(255,255,255,.12)}
.fx-hm-gate__door .lf.l{left:10px;border-radius:999px 0 0 0;transform-origin:0 50%;transform:rotateY(-84deg)}
.fx-hm-gate__door .lf.r{right:10px;border-radius:0 999px 0 0;transform-origin:100% 50%;transform:rotateY(84deg)}
.fx-hm-uni__inside{display:none;position:absolute;top:0;bottom:0;left:50%;width:100vw;translate:-50% 0;z-index:0}
.fx-hm-uni__logo{display:block;width:min(300px,70%);height:auto}
.fx-hm-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.fx-hm-uni__inside img{width:100%;height:100%;object-fit:cover}
.fx-hm-uni__inside::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(11,46,20,.92) 0%,rgba(11,46,20,.75) 45%,rgba(11,46,20,.25) 100%)}
.fx-hm-gate__steps{display:flex;flex-direction:column;align-items:center}
.fx-hm-gate__steps i{display:block;height:14px;background:var(--stone);border-bottom:3px solid var(--stone-d)}
.fx-hm-gate__steps i:nth-child(1){width:104%}.fx-hm-gate__steps i:nth-child(2){width:110%}.fx-hm-gate__steps i:nth-child(3){width:116%}

/* parallasse allo scroll (solo dove il browser lo supporta; lo stato di base è quello finale) */
/* solo con una finestra vera: sul canvas la tavola è alta quanto la pagina e non scorre */
@media (max-height: 1600px) and (prefers-reduced-motion: no-preference){@supports (animation-timeline: view()){
  .fx-hm-par--up{animation:fxHmParUp linear both;animation-timeline:view();animation-range:cover 0% cover 100%}
  .fx-hm-par--down{animation:fxHmParDown linear both;animation-timeline:view();animation-range:cover 0% cover 100%}
  .fx-hm-par--soft{animation:fxHmParSoft linear both;animation-timeline:view();animation-range:cover 0% cover 100%}
  .fx-hm-rise{animation:fxHmRise linear both;animation-timeline:view();animation-range:entry 0% cover 40%}
  /* porta UniMarconi: la sezione diventa una scena ferma mentre si scorre; si aprono i battenti e si entra */
  .fx-p{overflow:clip}
  .fx-hm-uni{height:320vh;padding:0;overflow:clip;view-timeline:--fxHmUni block}
  .fx-hm-uni__in{position:sticky;top:0;height:100vh;height:100svh;max-width:none;grid-template-columns:minmax(0,1fr);place-items:center;padding:0 24px}
  .fx-hm-uni__in>*{grid-area:1/1}
  .fx-hm-gate{max-width:min(560px,80vw,62vh);animation:fxHmUniGate linear both;animation-timeline:--fxHmUni;animation-range:contain 0% contain 100%;transform-origin:50% 63%}
  .fx-hm-gate__door .lf.l{animation:fxHmUniDoorL linear both;animation-timeline:--fxHmUni;animation-range:contain 0% contain 100%}
  .fx-hm-gate__door .lf.r{animation:fxHmUniDoorR linear both;animation-timeline:--fxHmUni;animation-range:contain 0% contain 100%}
  .fx-hm-uni__inside{display:block;animation:fxHmUniInside linear both;animation-timeline:--fxHmUni;animation-range:contain 0% contain 100%}
  .fx-hm-uni__txt{justify-self:center;width:min(1180px,100%);max-width:none;padding-right:min(48%,600px);animation:fxHmUniTxt linear both;animation-timeline:--fxHmUni;animation-range:contain 0% contain 100%;position:relative;z-index:2}
  .fx-hm-uni__txt>*{max-width:560px}
  @container fxp (max-width: 720px){
    .fx-hm-uni__txt{padding-right:0}
    .fx-hm-uni__inside::after{background:linear-gradient(0deg,rgba(11,46,20,.95) 0%,rgba(11,46,20,.8) 55%,rgba(11,46,20,.35) 100%)}
  }
}}
@keyframes fxHmParUp{from{translate:0 90px}to{translate:0 -90px}}
@keyframes fxHmParDown{from{translate:0 -70px}to{translate:0 70px}}
@keyframes fxHmParSoft{from{translate:0 50px}to{translate:0 -50px}}
@keyframes fxHmRise{from{opacity:.3;scale:.92}}
@keyframes fxHmUniDoorL{0%{transform:rotateY(0)}30%,100%{transform:rotateY(-84deg)}}
@keyframes fxHmUniDoorR{0%{transform:rotateY(0)}30%,100%{transform:rotateY(84deg)}}
@keyframes fxHmUniGate{0%,22%{scale:1;opacity:1}62%{opacity:1}72%,100%{scale:4.2;opacity:0}}
@keyframes fxHmUniInside{0%,50%{opacity:0;scale:1.35}72%{opacity:1}100%{opacity:1;scale:1}}
@keyframes fxHmUniTxt{0%,66%{opacity:0;translate:0 40px}84%,100%{opacity:1;translate:0 0}}

/* ===== Mobile (contenitore stretto) ===== */
@container fxp (max-width: 1100px){
  .fx-hm-courses{grid-template-columns:minmax(0,1fr)}
  .fx-hm-quick .fx-facts__in{grid-template-columns:repeat(2,minmax(0,1fr))}
  .fx-hm-quick .fx-fact:nth-child(3){border-left:0}
  .fx-hm-quick .fx-fact:nth-child(n+3){border-top:1px solid var(--line)}
  .fx-hm-q:first-child,.fx-hm-q:last-child{border-radius:0}
}
@container fxp (max-width: 720px){
  .fx-sec{padding:64px 20px}
  .fx-hero{min-height:560px;padding:88px 20px 130px;align-items:flex-end}
  .fx-hero__img::after{background:linear-gradient(0deg,rgba(11,46,20,.96) 0%,rgba(11,46,20,.85) 45%,rgba(11,46,20,.35) 100%)}
  .fx-display{font-size:38px}
  .fx-hero__lead{font-size:18px}
  .fx-h2{font-size:30px}
  .fx-head{margin-bottom:28px}
  .fx-facts{padding:0 20px;margin-top:-70px}
  .fx-hm-facts .fx-facts__in{grid-template-columns:repeat(2,minmax(0,1fr))}
  .fx-fact{padding:18px 18px}
  .fx-fact:nth-child(3){border-left:0}
  .fx-fact:nth-child(n+3){border-top:1px solid var(--line)}
  .fx-fact b{font-size:30px}
  .fx-hm-marquee{margin-top:40px;padding:16px 0}
  .fx-hm-marquee__track{font-size:16px;gap:22px}
  .fx-hm-marquee--after{margin-top:0}
  .fx-split{gap:36px}
  .fx-split>*{flex-basis:100%}
    .fx-hm-pick{font-size:15px;width:100%}
  .fx-hm-panel{grid-template-columns:minmax(0,1fr);gap:24px;padding:24px 20px;margin-top:24px}
  .fx-hm-panel__txt h3{font-size:24px}
  .fx-hm-links a{padding:16px 18px}
  .fx-hm-course{grid-template-columns:minmax(0,1fr)}
  .fx-hm-course__img{aspect-ratio:16/9}
  .fx-hm-course__body{padding:22px 20px}
  .fx-hm-steps{grid-template-columns:minmax(0,1fr);gap:32px;padding-left:40px}
  .fx-p svg.fx-hm-line--h{display:none}
  .fx-p svg.fx-hm-line--v{display:block}
  .fx-hm-step{padding-top:0}
  .fx-hm-step::before{left:-40px;top:2px}
  .fx-cta{padding:36px 24px;border-radius:24px}
  .fx-btn{width:100%;justify-content:center}
  .fx-hm-hero .fx-hero__img::after{background:linear-gradient(0deg,rgba(11,46,20,.94) 0%,rgba(11,46,20,.72) 50%,rgba(11,46,20,.15) 100%)}
  .fx-hm-promo{padding:40px 20px 0}
  .fx-hm-quick .fx-facts__in{grid-template-columns:minmax(0,1fr)}
  .fx-hm-quick .fx-fact{border-left:0;padding:16px 18px}
  .fx-hm-quick .fx-fact+.fx-fact{border-top:1px solid var(--line)}
  .fx-hm-q:first-child{border-radius:20px 20px 0 0}.fx-hm-q:last-child{border-radius:0 0 20px 20px}
  .fx-hm-q b{font-size:17px}
  .fx-hm-uni__logo{width:min(240px,70%)}
  .fx-hm-promo__card{border-radius:16px}
  .fx-hm-uni{padding:72px 20px 80px}
  .fx-hm-uni__in{grid-template-columns:minmax(0,1fr);gap:48px}
  .fx-hm-gate__pedi{height:84px;padding-bottom:9px}
  .fx-hm-gate__pedi img{height:48px}
  .fx-hm-gate__row{height:260px;gap:8px;padding:0 8px}
  .fx-hm-uni>.fx-stripes,.fx-sec>.fx-stripes,.fx-cta .fx-stripes,.fx-hero>.fx-stripes{display:none}
}
@media (prefers-reduced-motion: reduce){
  .fx-p *,.fx-p *::before{animation:none!important;transition:none!important}
  .fx-in,.fx-hm-facts .fx-fact,.fx-hm-links li{opacity:1!important;transform:none!important}
  .fx-hm-line path,.fx-hm-checks .ck path{stroke-dashoffset:0!important}
  .fx-hm-step::before{transform:none!important}
  .fx-hm-par,.fx-hm-rise,.fx-hm-gate,.fx-hm-gate__door img,.fx-hm-uni__txt{translate:none!important;scale:none!important;opacity:1!important;filter:none!important}
}
/* canvas: niente scroll observer, animazioni all'apertura */
.fx-p .fx-clip{clip-path:inset(0 0 0 0 round 28px);animation:fxClip 1.3s .2s cubic-bezier(.2,.7,.2,1) both}
@keyframes fxClip{from{clip-path:inset(12% 12% 12% 12% round 28px)}}

/* ===== Solo sul sito: "Da dove parti?" senza JavaScript (radio + :checked) ===== */
.fx-hm-radio{position:absolute;opacity:0;width:1px;height:1px;pointer-events:none}
.fx-hm-chooser .fx-hm-panel{display:none}
#fx-hm-pk0:checked~.fx-hm-panel--0,#fx-hm-pk1:checked~.fx-hm-panel--1,#fx-hm-pk2:checked~.fx-hm-panel--2,#fx-hm-pk3:checked~.fx-hm-panel--3{display:grid;animation:fxHmSwapA .5s cubic-bezier(.2,.7,.2,1)}
#fx-hm-pk0:checked~.fx-hm-picks [for=fx-hm-pk0],#fx-hm-pk1:checked~.fx-hm-picks [for=fx-hm-pk1],#fx-hm-pk2:checked~.fx-hm-picks [for=fx-hm-pk2],#fx-hm-pk3:checked~.fx-hm-picks [for=fx-hm-pk3]{background:var(--forest);border-color:var(--forest);color:#fff}
#fx-hm-pk0:checked~.fx-hm-picks [for=fx-hm-pk0] .ic,#fx-hm-pk1:checked~.fx-hm-picks [for=fx-hm-pk1] .ic,#fx-hm-pk2:checked~.fx-hm-picks [for=fx-hm-pk2] .ic,#fx-hm-pk3:checked~.fx-hm-picks [for=fx-hm-pk3] .ic{background:var(--accent-on-forest);color:var(--forest)}
#fx-hm-pk0:focus-visible~.fx-hm-picks [for=fx-hm-pk0],#fx-hm-pk1:focus-visible~.fx-hm-picks [for=fx-hm-pk1],#fx-hm-pk2:focus-visible~.fx-hm-picks [for=fx-hm-pk2],#fx-hm-pk3:focus-visible~.fx-hm-picks [for=fx-hm-pk3]{outline:2px solid var(--primary);outline-offset:3px}
.fx-hm-links .tg{font-style:normal}
/* tema Hello e kit Elementor: i titoli prendono il colore della sezione, niente sottolineature sui link */
.fx-p h1,.fx-p h2,.fx-p h3,.fx-p h4{color:inherit}
.fx-p h1.fx-display{font-family:var(--fh);font-size:60px;line-height:1.08;font-weight:700;letter-spacing:-.03em}
.fx-p h2.fx-h2{font-family:var(--fh);font-size:42px;line-height:1.15;font-weight:700;letter-spacing:-.025em}
@container fxp (max-width: 720px){.fx-p h1.fx-display{font-size:38px}.fx-p h2.fx-h2{font-size:30px}}
.fx-p a{text-decoration:none}
.fx-p ul{margin:0}
.fx-p img{max-width:100%}

/* ===== Hero mobile centrata (26/10/2026, sera) ===== */
@container fxp (max-width: 720px){
  .fx-hero{min-height:440px;padding:64px 20px 64px;align-items:center}
  .fx-hero + .fx-facts{margin-top:-56px}
  .fx-hero:has(+ .fx-facts){padding-bottom:112px}
  .fx-hero + .fx-az-facts:not(.fx-az-facts--low){margin-top:-48px}
  .fx-hero:has(+ .fx-az-facts:not(.fx-az-facts--low)){padding-bottom:104px}
}
