
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--pink:#ff009d;--ink:#08080d;--panel:#11111b;--muted:#b5b3c3;--line:#ffffff20}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:130px}body{margin:0;background:var(--ink);color:#fff;font-family:'DM Sans',Arial,sans-serif;line-height:1.6}h1,h2,h3,p{margin:0}h1,h2,h3,.number{font-family:Manrope,Arial,sans-serif}a{color:inherit}button,input,select{font:inherit}a,button,input,select{ -webkit-tap-highlight-color:transparent}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #ff96d7;outline-offset:5px}.wrap{width:min(1200px,calc(100% - 64px));margin:auto}.eyebrow{font-size:12px;letter-spacing:.15em;font-weight:800;text-transform:uppercase;color:var(--pink)}.muted{color:var(--muted)}.accent{color:var(--pink)}.btn{display:inline-flex;align-items:center;justify-content:center;gap:22px;text-decoration:none;background:var(--pink);color:#fff;padding:17px 25px;border-radius:8px;border:1px solid var(--pink);font-weight:700;line-height:1.3;min-height:56px;cursor:pointer;transition:background .2s,transform .2s}.btn:hover{background:#db0086;transform:translateY(-2px)}.btn:after{content:'→';font-size:21px}.btn.small{padding:12px 18px;min-height:45px;font-size:13px}.btn.outline{background:transparent;border-color:#ffffff45}.top{position:sticky;top:0;z-index:20;background:#08080df5;backdrop-filter:blur(16px)}.countbar{background:#f30098;color:#fff}.countinner{min-height:68px;display:flex;align-items:center;justify-content:center;gap:28px}.counttitle{font-size:13px;line-height:1.4}.counttitle strong{display:block;font-size:14px}.clock{display:flex;align-items:center;gap:8px}.unit{text-align:center;min-width:44px}.unit b{display:block;font-family:Manrope,sans-serif;font-size:24px;line-height:1.15;font-variant-numeric:tabular-nums}.unit span{font-size:9px;text-transform:uppercase;letter-spacing:.1em}.colon{opacity:.6;font-size:20px}.countdate{font-size:11px;border-left:1px solid #ffffff60;padding-left:25px;line-height:1.5}.nav{height:82px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;text-decoration:none}.brand img{width:167px;max-height:52px}.brandfallback{display:none;font-size:16px;font-weight:800;line-height:1.1;letter-spacing:.06em}.brandfallback small{font-size:8px;letter-spacing:.25em}.navright{display:flex;align-items:center;gap:32px}.navright>span{font-size:11px;letter-spacing:.15em;color:var(--muted)}.hero{position:relative;overflow:hidden;padding:66px 0 80px}.herogrid{display:grid;grid-template-columns:1.1fr 1fr;align-items:center;gap:35px}.tag{display:inline-flex;align-items:center;gap:9px;background:#ff009d16;border:1px solid #ff009d55;padding:8px 12px;border-radius:5px;color:#ff65c4;font-size:11px;font-weight:800;letter-spacing:.09em}.dot{width:6px;height:6px;border-radius:50%;background:var(--pink);box-shadow:0 0 15px var(--pink)}h1{font-size:clamp(42px,4.65vw,68px);line-height:1.07;letter-spacing:-.055em;margin:23px 0}h1 em{font-style:normal;color:var(--pink)}.hero p{max-width:500px;color:#c6c4d0;font-size:17px;line-height:1.8;margin-bottom:28px}.hero p strong{color:white}.micro{display:flex;gap:22px;font-size:11px;color:var(--muted);margin-top:22px}.micro span:before{content:'✓';color:var(--pink);margin-right:7px}.visual{position:relative;min-width:0;padding:12px 0 30px 16px}.photo{position:relative;height:500px;border-radius:120px 12px 12px 12px;overflow:hidden;background:radial-gradient(at 65% 30%,#532964,#131022 70%);border:1px solid var(--line)}.photo img{width:100%;height:100%;object-fit:cover;object-position:center}.photo:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#090811 0%,transparent 65%),linear-gradient(90deg,#ae008f33,transparent)}.vertical{position:absolute;right:16px;top:50px;writing-mode:vertical-rl;font-size:10px;letter-spacing:.23em;z-index:2}.sound{position:absolute;bottom:65px;left:-25px;width:110%;height:140px;z-index:2;pointer-events:none;filter:drop-shadow(0 0 8px #ad27ff)}.discount{position:absolute;right:-8px;bottom:6px;padding:20px 28px;background:#f50096;border-radius:8px;z-index:3;box-shadow:0 15px 70px #ff009d33;transform:rotate(-5deg)}.discount b{display:block;font:800 61px/1 Manrope,sans-serif;letter-spacing:-.06em}.discount span{font-size:10px;font-weight:800;letter-spacing:.12em}.photocaption{position:absolute;left:40px;bottom:62px;z-index:4;font-size:11px;letter-spacing:.15em}.manifesto{background:#101020;border-block:1px solid var(--line);padding:45px 0;text-align:center}.manifesto p{font-family:Manrope,sans-serif;font-size:clamp(20px,2.2vw,29px);max-width:880px;margin:15px auto 0;line-height:1.5;letter-spacing:-.02em}.section{padding:85px 0}.heading{display:flex;justify-content:space-between;align-items:end;gap:30px;margin-bottom:32px}h2{font-size:clamp(29px,3.3vw,44px);line-height:1.15;letter-spacing:-.045em}.heading p{max-width:300px;font-size:14px;color:var(--muted)}.kicker{margin-bottom:13px}.benefits{display:grid;grid-template-columns:repeat(4,1fr);gap:13px}.card{padding:25px 23px;background:var(--panel);border:1px solid var(--line);border-radius:10px;min-height:200px}.card h3{font-size:16px;line-height:1.4;margin:18px 0 8px;letter-spacing:-.02em}.card p{font-size:13px;color:var(--muted);line-height:1.65}.icon{height:29px;color:var(--pink);font-size:25px}.card.featured{border-color:var(--pink);background:linear-gradient(140deg,#ff009d14,#11111b)}.card.wide{grid-column:span 2;display:flex;align-items:center;gap:24px;min-height:170px}.card.wide .icon{font-size:38px;flex-shrink:0}.card.wide h3{margin-top:0}.course{padding:60px 0;background:#101018;border-block:1px solid var(--line)}.stats{display:grid;grid-template-columns:repeat(4,1fr);margin-top:35px}.stat{border-right:1px solid var(--line);padding:0 25px}.stat:first-child{padding-left:0}.stat:last-child{border:0}.number{font-size:58px;font-weight:800;line-height:1;letter-spacing:-.06em}.number.small{font-size:29px;line-height:1.15;letter-spacing:-.03em}.stat p{font-size:12px;color:var(--muted);margin-top:12px}.subjects{display:flex;flex-wrap:wrap;gap:9px;margin-top:35px;padding-top:25px;border-top:1px solid var(--line)}.subjects span{font-size:12px;padding:7px 14px;border:1px solid var(--line);border-radius:30px;color:#d5d2de}.teachers{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.teacher{position:relative;overflow:hidden;border-radius:10px;background:linear-gradient(150deg,#252236,#14121c);min-height:195px;padding:25px;display:flex;flex-direction:column;justify-content:space-between;border:1px solid var(--line)}.teacher .initial{font:800 62px/1 Manrope,sans-serif;letter-spacing:-.06em;color:#ffffff0f}.teacher small{color:var(--pink);font-size:10px;letter-spacing:.1em;text-transform:uppercase}.teacher h3{font-size:19px;line-height:1.25;margin-top:8px}.footnote{font-size:13px;color:var(--muted);margin-top:20px}.about{border-top:1px solid var(--line);padding-top:65px;margin-top:65px}.reasons{display:grid;grid-template-columns:repeat(4,1fr);gap:28px;margin-top:30px}.reasons h3{font-size:16px;margin-bottom:10px}.reasons p{font-size:13px;color:var(--muted)}.credentials{display:flex;flex-wrap:wrap;justify-content:space-between;gap:20px;padding:26px 0;border-block:1px solid var(--line);margin-top:35px;color:#c2becf;font-weight:700;font-size:13px}.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:40px;margin-top:40px}.step{border-top:1px solid var(--line);padding-top:20px}.step b{color:var(--pink);font:600 14px Manrope,sans-serif}.step h3{font-size:20px;margin:15px 0 10px}.step p{color:var(--muted);font-size:14px}.booking{padding:85px 0 100px;background:radial-gradient(ellipse at 0% 35%,#54033355,transparent 60%),#101019;border-top:1px solid var(--line)}.bookinggrid{display:grid;grid-template-columns:1fr 1.1fr;gap:85px;align-items:start}.booking h2{font-size:clamp(33px,3.8vw,49px);margin:16px 0 22px}.bookingcopy>p{color:var(--muted);font-size:16px}.deadline{display:inline-flex;gap:9px;align-items:center;border:1px solid #ff009d55;background:#ff009d0d;padding:12px 15px;border-radius:7px;margin-top:27px;font-size:12px;color:#ff91d4}.promise{display:flex;gap:12px;margin-top:30px;align-items:center;font-size:12px;color:var(--muted)}.promise b{font-size:28px;color:#fff}.formbox{background:#fff;color:#17131d;border-radius:14px;padding:35px;box-shadow:0 25px 75px #0004}.formbox h3{font-size:24px;letter-spacing:-.04em;line-height:1.25}.formbox>p{font-size:12px;color:#726c7a;margin:8px 0 24px}.fields{display:grid;grid-template-columns:1fr 1fr;gap:17px}.field{display:flex;flex-direction:column;gap:7px;min-width:0}.field.full{grid-column:1/-1}label{font-size:12px;font-weight:700}input,select{width:100%;min-width:0;background:#faf9fc;border:1px solid #ded9e4;border-radius:6px;padding:12px;font-size:14px;color:#201c29;min-height:47px}input:focus,select:focus{border-color:var(--pink)}.consent{display:flex;align-items:start;gap:10px;margin:20px 0;color:#6b6473;font-size:11px;line-height:1.6;font-weight:400}.consent input{width:17px;min-height:17px;height:17px;flex-shrink:0;margin:2px 0;accent-color:var(--pink)}.consent a{color:#a50064}.formbox .btn{width:100%;font-size:14px}.formnote{font-size:11px;color:#736b7a;text-align:center;margin-top:12px}.status{font-size:13px;margin-top:15px;padding:12px;background:#fff1fa;border-radius:6px;color:#76034c}.status:empty{display:none}.footer{padding:40px 0}.footergrid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:35px}.footer h3{font-size:11px;letter-spacing:.08em;margin-bottom:10px}.footer p,.footer a{font-size:12px;color:var(--muted);text-decoration:none}.bottomline{border-top:1px solid var(--line);margin-top:30px;padding-top:20px;display:flex;justify-content:space-between;font-size:10px;color:#817c91}.mobilecta{display:none}.expired .discount{background:#5d5360}.expired .countbar{background:#3b3340}
@media(min-width:1500px){.hero{padding-block:85px}.photo{height:550px}}
@media(max-width:1000px){.wrap{width:calc(100% - 44px)}.herogrid{gap:18px}h1{font-size:48px}.photo{height:460px}.benefits{grid-template-columns:repeat(2,1fr)}.bookinggrid{gap:35px}.navright>span{display:none}.teachers{gap:10px}.teacher{padding:20px}.reasons{grid-template-columns:repeat(2,1fr)}.formbox{padding:28px}.countdate{display:none}}
@media(max-width:700px){html{scroll-padding-top:145px}.wrap{width:calc(100% - 36px)}.countinner{gap:15px;min-height:67px}.counttitle{font-size:10px}.counttitle strong{font-size:11px}.unit{min-width:29px}.unit b{font-size:21px}.unit span{font-size:8px;letter-spacing:0}.clock{gap:4px}.colon{font-size:14px}.nav{height:66px}.brand img{width:129px}.nav .btn{font-size:10px;padding:9px 11px;min-height:38px;gap:9px}.nav .btn:after{font-size:15px}.hero{padding:30px 0 42px}.herogrid{grid-template-columns:1fr;gap:28px}.tag{font-size:9px;padding:7px 10px}h1{font-size:clamp(38px,10vw,59px);margin:20px 0;max-width:570px}.hero p{font-size:15px;margin-bottom:23px}.hero .btn{width:100%;font-size:14px}.micro{gap:14px;font-size:10px;margin-top:15px}.visual{padding:0 7px 20px 0}.photo{height:350px;border-radius:75px 10px 10px 10px}.discount{right:0;padding:16px 23px}.discount b{font-size:48px}.discount span{font-size:8px}.sound{bottom:45px;left:-10px}.photocaption{left:23px;bottom:54px;font-size:9px}.manifesto{padding:32px 0}.manifesto p{font-size:20px}.eyebrow{font-size:10px}.section{padding:48px 0}.heading{display:block;margin-bottom:25px}.heading p{margin-top:16px;max-width:none}.benefits{gap:10px}.card{padding:19px 16px;min-height:200px}.card h3{font-size:14px;margin-top:14px}.card p{font-size:12px}.card.wide{min-height:150px;gap:19px}.course{padding:40px 0}.stats{grid-template-columns:1fr 1fr;gap:30px 0}.stat{padding:0 17px}.stat:nth-child(3){padding-left:0}.stat:nth-child(2){border:0}.number{font-size:48px}.number.small{font-size:25px}.subjects{gap:7px;margin-top:25px}.subjects span{font-size:10px;padding:6px 11px}.teachers{grid-template-columns:1fr 1fr;gap:10px}.teacher{min-height:170px;padding:20px}.teacher h3{font-size:17px}.teacher .initial{font-size:45px}.about{margin-top:40px;padding-top:40px}.reasons{gap:25px 20px}.reasons h3{font-size:14px}.reasons p{font-size:12px}.credentials{font-size:11px;gap:18px;justify-content:start}.steps{grid-template-columns:1fr;gap:23px;margin-top:27px}.step{padding-left:40px;position:relative}.step b{position:absolute;left:0;top:24px}.step h3{margin:0 0 7px;font-size:18px}.booking{padding:45px 0}.bookinggrid{grid-template-columns:1fr;gap:30px}.booking h2{font-size:36px}.bookingcopy>p{font-size:14px}.deadline{margin-top:20px}.promise{margin-top:18px}.formbox{padding:25px 20px}.formbox h3{font-size:22px}.fields{gap:15px 12px}.field{gap:5px}.field label{font-size:11px}.footer{padding-bottom:110px}.footergrid{grid-template-columns:1fr;gap:25px}.bottomline{gap:18px;flex-wrap:wrap}.mobilecta{display:flex;position:fixed;bottom:0;left:0;right:0;padding:10px 18px calc(10px + env(safe-area-inset-bottom));background:#0b0a11ee;border-top:1px solid var(--line);z-index:30;backdrop-filter:blur(15px)}.mobilecta .btn{width:100%;min-height:47px;padding:12px;font-size:13px}.formvisible .mobilecta{visibility:hidden}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}

/* Form card: titoli sempre scuri (il tema forza h3 bianchi) */
html body.bf-page .formbox{color:#17131d!important}
html body.bf-page .formbox h3{color:#17131d!important;-webkit-text-fill-color:#17131d!important;font-size:24px!important;letter-spacing:-.04em;line-height:1.25;margin:0 0 8px!important}
html body.bf-page .formbox>p{color:#726c7a!important;-webkit-text-fill-color:#726c7a!important;font-size:12px!important;margin:0 0 20px!important}
html body.bf-page .formbox .formnote{color:#736b7a!important;-webkit-text-fill-color:#736b7a!important;text-align:center;margin-top:12px!important;font-size:11px!important}

/* WP form (#msform) inside BF formbox */
body.bf-page .formbox #msform{margin:0;padding:0;border:0;background:transparent;width:100%}
body.bf-page .formbox #msform fieldset{border:0;margin:0;padding:0;min-width:0}
body.bf-page .formbox #msform h2,
body.bf-page .formbox #msform>fieldset>p{display:none!important}
body.bf-page .formbox #msform input[type=text],
body.bf-page .formbox #msform input[type=email],
body.bf-page .formbox #msform input[type=tel],
body.bf-page .formbox #msform input[type=number],
body.bf-page .formbox #msform textarea{
width:100%!important;min-width:0;background:#faf9fc!important;border:1px solid #ded9e4!important;border-radius:6px!important;padding:12px!important;font-size:14px!important;color:#201c29!important;min-height:47px!important;margin:0 0 12px!important;box-shadow:none!important;-webkit-text-fill-color:#201c29!important}
body.bf-page .formbox #msform input::placeholder,
body.bf-page .formbox #msform textarea::placeholder{color:#9a93a4!important;opacity:1}
body.bf-page .formbox #msform .select,
body.bf-page .formbox #msform .age{margin:0 0 12px!important;width:100%!important}
body.bf-page .formbox #msform .select select,
body.bf-page .formbox #msform select{
width:100%!important;background:#faf9fc!important;border:1px solid #ded9e4!important;border-radius:6px!important;padding:12px!important;font-size:14px!important;color:#201c29!important;min-height:47px!important;margin:0!important}
body.bf-page .formbox #msform .privacy,
body.bf-page .formbox #msform .check,
body.bf-page .formbox #msform label[for=privacy],
body.bf-page .formbox #msform .age>div{color:#6b6473!important;font-size:11px!important;line-height:1.6!important}
body.bf-page .formbox #msform input[type=checkbox]{width:17px!important;height:17px!important;min-height:17px!important;margin:2px 8px 0 0!important;accent-color:#ff009d}
body.bf-page .formbox #msform .action-button,
body.bf-page .formbox #msform input[type=submit],
body.bf-page .formbox #msform input.send_request,
body.bf-page .formbox #msform .submit-nostep{
display:inline-flex!important;align-items:center;justify-content:center;width:100%!important;background:#ff009d!important;background-color:#ff009d!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border:1px solid #ff009d!important;border-radius:8px!important;padding:17px 25px!important;font-weight:700!important;font-size:14px!important;min-height:56px!important;cursor:pointer;text-transform:none!important;box-shadow:none!important;margin-top:8px!important}
body.bf-page .formbox #msform .action-button:hover,
body.bf-page .formbox #msform input[type=submit]:hover,
body.bf-page .formbox #msform input.send_request:hover{background:#db0086!important;background-color:#db0086!important}
body.bf-page .formbox #msform .debug{display:none!important}
/* kill theme chrome */
html body.bf-page,html body.page-template-template-landing-blackfriday-canto,html body.bf-page.material{background:#08080d!important;background-image:none!important;margin:0!important}
body.bf-page #header-outer,body.bf-page #footer-outer,body.bf-page .nectar-box-roll,body.bf-page #wpadminbar{display:none!important}
body.bf-page #ajax-content-wrap{padding:0!important;min-height:0!important}

/* Gallery ticker */
.bf-ticker{overflow:hidden;border-block:1px solid var(--line);background:#0c0c14;padding:18px 0}
.bf-ticker-track{display:flex;gap:14px;width:max-content;animation:bf-marquee 55s linear infinite}
.bf-ticker-item{flex:0 0 auto;width:min(280px,72vw);aspect-ratio:1;border-radius:12px;overflow:hidden;border:1px solid var(--line);background:#161622}
.bf-ticker-item img{width:100%;height:100%;object-fit:cover;display:block}
@keyframes bf-marquee{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@media(prefers-reduced-motion:reduce){.bf-ticker-track{animation:none;flex-wrap:wrap;width:auto;justify-content:center;padding:0 18px}}
/* Teacher photos */
.teacher{padding:0!important;min-height:280px!important;position:relative}
.teacher-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center top;display:block}
.teacher:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#08080d 0%,#08080d00 55%);pointer-events:none}
.teacher-meta{position:relative;z-index:2;margin-top:auto;padding:20px;align-self:flex-end}
.teacher .initial{display:none}
@media(max-width:700px){.teacher{min-height:230px!important}.bf-ticker-item{width:min(220px,68vw)}}

/* Partner logos: asset forniti, sfondo bianco, stessa grandezza */
.credentials-band{width:100vw;position:relative;left:50%;right:50%;margin-left:-50vw;margin-right:-50vw;background:#fff;padding:36px 0;border-block:1px solid #e8e8ee;margin-bottom:0}
html body.bf-page .steps-section{padding-top:72px!important;padding-bottom:72px!important}
@media(max-width:700px){html body.bf-page .steps-section{padding-top:52px!important;padding-bottom:48px!important}}

.credentials-band .wrap.credentials{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px 28px;align-items:center;justify-items:center;width:min(1100px,calc(100% - 48px));margin:0 auto}
.credentials-band .cred-logo{display:flex;align-items:center;justify-content:center;width:100%;max-width:260px;height:110px;padding:8px;line-height:0;background:#fff;border:0}
.credentials-band .cred-logo img{display:block;width:100%;height:100%;object-fit:contain}
@media(max-width:900px){.credentials-band .wrap.credentials{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.credentials-band .cred-logo{height:100px;max-width:280px}}
@media(max-width:520px){.credentials-band{padding:28px 0}.credentials-band .wrap.credentials{grid-template-columns:1fr 1fr;gap:12px 16px;width:calc(100% - 36px)}.credentials-band .cred-logo{height:88px;max-width:none}}

/* Hero spacing: il tema schiaccia i margini — forziamo aria tra tag / titolo / testo / CTA */
html body.bf-page .hero .tag{display:inline-flex!important;margin:0 0 22px!important}
html body.bf-page .hero h1{margin:0 0 22px!important;padding:0!important;line-height:1.18!important}
html body.bf-page .hero p{margin:0 0 28px!important;padding:0!important;max-width:520px;color:#c6c4d0!important;font-size:17px!important;line-height:1.75!important}
html body.bf-page .hero .btn{margin:0!important}
html body.bf-page .hero .micro{margin-top:22px!important;gap:18px!important}
html body.bf-page .hero .herogrid>div:first-child{display:flex;flex-direction:column;align-items:flex-start;gap:0}

/* CANTO: sottolineatura ad arco, bassa sotto la parola */
html body.bf-page .hero h1 em.canto-word{
font-style:normal!important;
color:var(--pink)!important;
position:relative;
display:inline-block;
padding:0 0.04em 0.22em;
line-height:1;
vertical-align:-0.05em;
}
html body.bf-page .hero h1 .canto-arc{
position:absolute;
left:-2%;
right:-2%;
bottom:-0.02em;
width:104%;
height:0.38em;
overflow:visible;
pointer-events:none;
display:block;
}
html body.bf-page .hero h1 .canto-arc path{
fill:none;
stroke:var(--pink);
stroke-width:3.2;
stroke-linecap:round;
stroke-dasharray:160;
stroke-dashoffset:160;
animation:canto-arc-draw 1.05s cubic-bezier(.22,.9,.28,1) .3s forwards;
}
@keyframes canto-arc-draw{to{stroke-dashoffset:0}}
@media(prefers-reduced-motion:reduce){
html body.bf-page .hero h1 .canto-arc path{animation:none;stroke-dashoffset:0}
}
@media(max-width:700px){
html body.bf-page .hero .tag{margin-bottom:18px!important}
html body.bf-page .hero h1{margin-bottom:18px!important;font-size:clamp(34px,9vw,52px)!important}
html body.bf-page .hero p{margin-bottom:24px!important;font-size:15px!important;line-height:1.7!important}
html body.bf-page .hero .micro{margin-top:18px!important}
}

/* ===== MOBILE APP LAYOUT ===== */
html,body{overflow-x:clip;max-width:100%;width:100%}
html body.bf-page,
html body.bf-page #ajax-content-wrap,
html body.bf-page .container-wrap,
html body.bf-page .main-content,
html body.bf-page .row{overflow-x:clip!important;max-width:100%!important;width:100%!important}
img,video,svg{max-width:100%;height:auto}
.bf-page .top{padding-top:env(safe-area-inset-top)}

/* ===== TABLET (fino a 1000px) ===== */
@media(max-width:1000px){
html body.bf-page .wrap,
html body.bf-page .section.wrap{
width:100%!important;
max-width:100%!important;
padding-left:28px!important;
padding-right:28px!important;
box-sizing:border-box!important;
}
html body.bf-page .section{padding-top:56px!important;padding-bottom:56px!important}
html body.bf-page .heading{display:block!important;align-items:start!important}
html body.bf-page .heading p{margin-top:12px!important;max-width:520px!important}

html body.bf-page .herogrid{grid-template-columns:1fr!important;gap:28px!important}
html body.bf-page .photo{height:min(52vw,420px)!important;width:100%!important}
html body.bf-page .sound{display:none!important}
html body.bf-page .vertical{display:none!important}
html body.bf-page .visual{padding:0!important;max-width:640px}
html body.bf-page .hero .btn{width:auto;min-width:260px}

html body.bf-page .benefits{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important}
html body.bf-page .benefits .card{min-width:0!important;width:100%!important;max-width:100%!important;min-height:0!important}
html body.bf-page .benefits .card.wide{grid-column:1 / -1!important}

html body.bf-page .stats{
display:grid!important;
grid-template-columns:repeat(2,minmax(0,1fr))!important;
gap:22px 16px!important;
}
html body.bf-page .stat{
min-width:0!important;
width:100%!important;
max-width:100%!important;
border-right:0!important;
padding:0 12px 8px 0!important;
box-sizing:border-box!important;
}
html body.bf-page .stat .number{font-size:clamp(36px,7vw,52px)!important;word-break:break-word}
html body.bf-page .stat .number.small{font-size:clamp(20px,4.2vw,28px)!important;line-height:1.2!important}
html body.bf-page .stats .stat:nth-child(odd){border-right:1px solid var(--line)!important;padding-right:16px!important}
html body.bf-page .stats .stat:nth-child(even){padding-left:16px!important}

html body.bf-page .teachers{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important}
html body.bf-page .teacher{min-height:0!important;min-width:0!important}
html body.bf-page .reasons{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:24px 20px!important}
html body.bf-page .steps{grid-template-columns:1fr!important;gap:22px!important}
html body.bf-page .bookinggrid{grid-template-columns:1fr!important;gap:32px!important}
html body.bf-page .booking{padding:56px 0 72px!important}
html body.bf-page .formbox{max-width:560px}
html body.bf-page .credentials-band{
width:100%!important;left:auto!important;right:auto!important;
margin-left:0!important;margin-right:0!important;position:relative!important;
padding:32px 28px!important;
}
html body.bf-page .credentials-band .wrap.credentials{
width:100%!important;padding:0!important;
grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:18px!important;
}
html body.bf-page .countdate{display:none!important}
html body.bf-page .navright>span{display:none!important}
html body.bf-page .subjects{gap:8px!important}
html body.bf-page .footergrid{grid-template-columns:1fr 1fr!important;gap:24px!important}
}

@media(max-width:700px){
/* containment */
html body.bf-page .wrap,
html body.bf-page .section.wrap{
width:100%!important;
max-width:100%!important;
padding-left:18px!important;
padding-right:18px!important;
box-sizing:border-box!important;
margin-left:auto!important;
margin-right:auto!important;
}
html body.bf-page .credentials-band{
width:100%!important;
left:auto!important;
right:auto!important;
margin-left:0!important;
margin-right:0!important;
position:relative!important;
padding:28px 16px!important;
}
html body.bf-page .credentials-band .wrap.credentials{
width:100%!important;
padding:0!important;
grid-template-columns:repeat(2,minmax(0,1fr))!important;
gap:12px!important;
}

/* countdown */
html body.bf-page .countinner{flex-wrap:wrap;justify-content:center;gap:8px 12px;padding:10px 12px 12px;min-height:0}
html body.bf-page .counttitle{text-align:center;flex:1 1 100%;order:-1;font-size:10px}
html body.bf-page .counttitle strong{font-size:12px}
html body.bf-page .clock{gap:6px;justify-content:center;width:100%}
html body.bf-page .unit{min-width:40px;flex:1 1 0;padding:6px 2px;background:#ff009d;border-radius:8px;color:#fff}
html body.bf-page .unit b{font-size:20px;font-variant-numeric:tabular-nums}
html body.bf-page .unit span{font-size:8px;letter-spacing:.04em}
html body.bf-page .colon,html body.bf-page .countdate{display:none!important}

/* nav */
html body.bf-page .nav{height:60px;gap:10px}
html body.bf-page .brand img{width:118px;max-height:40px}
html body.bf-page .nav .btn{font-size:10px;padding:9px 11px;min-height:40px;gap:6px;white-space:nowrap}
html body.bf-page .nav .btn:after{display:none}

/* hero */
html body.bf-page .hero{padding:24px 0 36px;overflow:hidden}
html body.bf-page .herogrid{grid-template-columns:1fr!important;gap:22px!important}
html body.bf-page .visual{padding:0!important;width:100%;max-width:100%}
html body.bf-page .photo{height:min(70vw,320px)!important;border-radius:48px 10px 10px 10px!important;width:100%}
html body.bf-page .sound,html body.bf-page .vertical{display:none!important}
html body.bf-page .discount{right:6px;bottom:10px;padding:12px 14px;transform:rotate(-4deg)}
html body.bf-page .discount b{font-size:36px}
html body.bf-page .photocaption{left:14px;bottom:36px;font-size:9px}
html body.bf-page .hero .btn{width:100%!important}
html body.bf-page .micro{flex-wrap:wrap;gap:10px 14px}

/* BENEFITS: 1 colonna su telefono — niente taglio testo */
html body.bf-page .benefits{
display:grid!important;
grid-template-columns:1fr!important;
gap:12px!important;
width:100%!important;
max-width:100%!important;
}
html body.bf-page .benefits .card,
html body.bf-page .card{
min-width:0!important;
width:100%!important;
max-width:100%!important;
min-height:0!important;
padding:18px 16px!important;
box-sizing:border-box!important;
overflow:hidden!important;
}
html body.bf-page .benefits .card.wide,
html body.bf-page .card.wide{
grid-column:1 / -1!important;
flex-direction:row!important;
align-items:flex-start!important;
gap:14px!important;
}
html body.bf-page .card h3{font-size:16px!important;margin:12px 0 6px!important;word-break:break-word}
html body.bf-page .card p{font-size:13px!important;word-break:break-word}

/* course / stats / teachers / reasons / steps */
html body.bf-page .section{padding-top:40px!important;padding-bottom:40px!important}
html body.bf-page .section.wrap{padding-left:18px!important;padding-right:18px!important}
html body.bf-page .heading{display:block!important;margin-bottom:20px!important}
html body.bf-page .heading p{margin-top:12px;max-width:none}
html body.bf-page .course{padding:36px 0!important}
html body.bf-page .stats{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:18px 12px!important;width:100%!important}
html body.bf-page .stat{border-right:0!important;padding:0 8px 14px 0!important;min-width:0!important;overflow:hidden!important}
html body.bf-page .stats .stat:nth-child(odd){border-right:1px solid var(--line)!important;padding-right:12px!important}
html body.bf-page .stats .stat:nth-child(even){padding-left:12px!important}
html body.bf-page .number{font-size:40px!important}
html body.bf-page .number.small{font-size:20px!important;line-height:1.25!important}
html body.bf-page .teachers{grid-template-columns:1fr 1fr!important;gap:10px!important}
html body.bf-page .teacher{min-height:0!important}
html body.bf-page .reasons{grid-template-columns:1fr!important;gap:20px!important}
html body.bf-page .steps{grid-template-columns:1fr!important;gap:20px!important}
html body.bf-page .step{padding-left:40px;position:relative}
html body.bf-page .step b{position:absolute;left:0;top:22px}
html body.bf-page .footergrid{grid-template-columns:1fr!important}

/* booking / form */
html body.bf-page .booking{padding:40px 0 110px!important}
html body.bf-page .bookinggrid{grid-template-columns:1fr!important;gap:24px!important}
html body.bf-page .booking h2{font-size:clamp(28px,8vw,36px)!important}
html body.bf-page .formbox{border-radius:16px;padding:20px 16px!important;width:100%!important;max-width:100%!important;box-sizing:border-box}
html body.bf-page .formbox h3{font-size:20px!important}
html body.bf-page .fields{grid-template-columns:1fr!important}
html body.bf-page .field,html body.bf-page .fields .field{grid-column:1/-1;min-width:0}

/* ticker */
html body.bf-page .bf-ticker{padding:14px 0}
html body.bf-page .bf-ticker-item{width:min(200px,62vw)!important}

/* sticky CTA */
html body.bf-page .mobilecta{
display:flex!important;
position:fixed;bottom:0;left:0;right:0;z-index:40;
padding:10px 16px calc(10px + env(safe-area-inset-bottom));
background:#0b0a11f2;border-top:1px solid var(--line);backdrop-filter:blur(15px);
}
html body.bf-page .mobilecta .btn{width:100%;min-height:48px;padding:12px;font-size:14px}
html body.bf-page.formvisible .mobilecta{visibility:hidden}
html body.bf-page .footer{padding-bottom:calc(110px + env(safe-area-inset-bottom))!important;padding-left:0;padding-right:0}
html body.bf-page .footergrid{grid-template-columns:1fr!important;gap:22px!important}
html body.bf-page .footer .wrap{padding-left:18px!important;padding-right:18px!important}
}

@media(max-width:380px){
html body.bf-page .teachers{grid-template-columns:1fr 1fr!important}
html body.bf-page .teacher{min-height:0!important}
html body.bf-page .unit b{font-size:18px}
html body.bf-page .nav .btn{font-size:9px;padding:8px 9px}
}

@media(hover:none){
.btn:hover{transform:none}
.btn:active{transform:scale(.98);background:#db0086}
}

/* Mobile/tablet: nome sotto la foto, non in overlay sul volto */
@media(max-width:1000px){
html body.bf-page .teacher{
display:flex!important;
flex-direction:column!important;
justify-content:flex-start!important;
min-height:0!important;
height:auto!important;
padding:0!important;
overflow:hidden;
background:#14121c!important;
}
html body.bf-page .teacher-photo{
position:relative!important;
inset:auto!important;
width:100%!important;
height:auto!important;
aspect-ratio:3/4;
object-fit:cover!important;
object-position:center 18%!important;
flex:none;
}
html body.bf-page .teacher:after{display:none!important;content:none!important;background:none!important}
html body.bf-page .teacher-meta{
position:relative!important;
z-index:2;
margin:0!important;
padding:12px 12px 14px!important;
align-self:stretch!important;
background:#11111b;
min-height:64px;
box-sizing:border-box;
}
html body.bf-page .teacher-meta h3{
font-size:16px!important;
line-height:1.25!important;
margin-top:4px!important;
word-break:break-word;
}
html body.bf-page .teacher-meta small{display:block;margin-bottom:2px}
}
@media(max-width:700px){
html body.bf-page .teacher-meta{padding:10px 10px 12px!important;min-height:62px}
html body.bf-page .teacher-meta h3{font-size:13px!important}
html body.bf-page .teacher-meta small{font-size:9px!important}
}

/* Countdown: barra nera, box rosa, testi bianchi */
html body.bf-page .countbar{
background:#08080d!important;
color:#fff!important;
border-bottom:1px solid #ffffff18;
}
html body.bf-page .counttitle,
html body.bf-page .counttitle strong,
html body.bf-page .countdate,
html body.bf-page .colon{
color:#fff!important;
-webkit-text-fill-color:#fff!important;
}
html body.bf-page .unit{
background:#ff009d!important;
color:#fff!important;
border-radius:8px;
padding:6px 10px;
}
html body.bf-page .unit b,
html body.bf-page .unit span{
color:#fff!important;
-webkit-text-fill-color:#fff!important;
}
html body.bf-page.expired .countbar{background:#14141c!important}
html body.bf-page.expired .unit{background:#5a5260!important}

html body.bf-page .counttitle{
display:flex!important;
align-items:center!important;
gap:12px!important;
text-align:left!important;
}
html body.bf-page .counttitle-copy{line-height:1.3}
html body.bf-page .counttitle-copy strong{display:block;font-size:14px}
html body.bf-page .bf-tag{
height:50px!important;
width:auto!important;
max-width:92px;
flex:0 0 auto;
display:block;
object-fit:contain;
}
@media(max-width:1000px){
html body.bf-page .bf-tag{height:42px!important;max-width:78px}
html body.bf-page .counttitle{gap:10px!important}
}
@media(max-width:700px){
html body.bf-page .counttitle{
flex:1 1 100%!important;
order:-1;
justify-content:center!important;
gap:8px!important;
width:100%;
}
html body.bf-page .bf-tag{height:32px!important;max-width:60px}
html body.bf-page .counttitle-copy{font-size:10px;text-align:left}
html body.bf-page .counttitle-copy strong{font-size:12px!important}
}

/* Form più visibile: bordo rosa, campi più contrastati */
html body.bf-page .formbox{
background:#fff!important;
border:2px solid #ff009d!important;
box-shadow:0 0 0 8px #ff009d24,0 30px 80px #00000099!important;
padding:32px 30px 28px!important;
}
html body.bf-page .form-chip{
display:inline-flex;
align-items:center;
background:#ff009d;
color:#fff!important;
-webkit-text-fill-color:#fff!important;
font-size:11px;
font-weight:800;
letter-spacing:.08em;
text-transform:uppercase;
padding:6px 11px;
border-radius:6px;
margin:0 0 14px;
}
html body.bf-page .formbox h3{font-size:26px!important;margin:0 0 10px!important}
html body.bf-page .formbox #msform input[type=text],
html body.bf-page .formbox #msform input[type=email],
html body.bf-page .formbox #msform input[type=tel],
html body.bf-page .formbox #msform input[type=number],
html body.bf-page .formbox #msform textarea,
html body.bf-page .formbox #msform select,
html body.bf-page .formbox #msform .select select{
background:#fff!important;
background-color:#fff!important;
border:2px solid #b9b1c4!important;
min-height:52px!important;
font-size:15px!important;
border-radius:8px!important;
}
html body.bf-page .formbox #msform input:focus,
html body.bf-page .formbox #msform select:focus,
html body.bf-page .formbox #msform textarea:focus{
border-color:#ff009d!important;
box-shadow:0 0 0 3px #ff009d33!important;
outline:none!important;
}
html body.bf-page .formbox #msform .select{
background:#fff!important;
border:2px solid #b9b1c4!important;
border-radius:8px!important;
}
html body.bf-page .formbox #msform .action-button,
html body.bf-page .formbox #msform input[type=submit],
html body.bf-page .formbox #msform input.send_request{
min-height:58px!important;
font-size:16px!important;
box-shadow:0 10px 28px #ff009d55!important;
}
@media(max-width:700px){
html body.bf-page .formbox{padding:22px 16px!important}
html body.bf-page .formbox h3{font-size:22px!important}
}

