/* Metodo di Studio - questionario e pagine di esito.
   Copiato dai blocchi HTML della landing WordPress (wp.il-cubo.it) realizzata
   dal designer: per restare allineati conviene ricopiarlo, non riscriverlo. */


:root{--orange:#ff7f00;--orange-deep:#bc5800;--ink:#231c17;--muted:#79685b;--font:'DM Sans',sans-serif;--head:'Baloo 2',sans-serif;--line:#ecddcb}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;color:var(--ink);font-family:var(--font);background:#fff8f1;min-height:100svh}
button,a{font:inherit}
a{color:inherit;text-decoration:none}
button{cursor:pointer}
button:focus-visible,a:focus-visible{outline:3px solid var(--orange);outline-offset:4px}
.page{min-height:100svh;display:flex;flex-direction:column;padding:23px clamp(20px,4vw,62px) 20px;position:relative;isolation:isolate;overflow:hidden;background:radial-gradient(ellipse 46% 75% at -8% 68%,rgba(255,154,56,.15),transparent 82%),radial-gradient(ellipse 50% 74% at 107% 43%,rgba(255,165,73,.17),transparent 85%),linear-gradient(160deg,#fffaf6,#fff4e8 75%,#fff9f3)}
.header{width:min(1150px,100%);margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:16px}
.test-section-nav{display:flex;align-items:center;justify-content:flex-end;gap:clamp(12px,2vw,28px);margin-left:auto}
.test-section-nav a{font-size:13px;font-weight:700;color:#514239;white-space:nowrap;padding:10px 2px;text-decoration:none}
.test-section-nav a:hover,.test-section-nav a:focus-visible{color:#b95700;text-decoration:underline;text-decoration-color:#ff7f00;text-underline-offset:6px}
.test-mobile-menu{display:none;position:relative;margin-left:auto;z-index:10}
.test-mobile-menu summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:8px;padding:10px 14px;border:1px solid #edcdaa;background:#fffaf5;border-radius:999px;color:#38271c;font-size:13px;font-weight:700}
.test-mobile-menu summary::-webkit-details-marker{display:none}
.test-mobile-menu nav{position:absolute;right:0;top:calc(100% + 9px);width:min(265px,calc(100vw - 40px));display:grid;gap:4px;background:#fffaf5;border:1px solid #eed1b4;border-radius:17px;padding:10px;box-shadow:0 14px 34px #4e290f27}
.test-mobile-menu nav a{display:block;padding:11px 12px;border-radius:9px;color:#433127;font-size:14px;font-weight:700}
.test-mobile-menu nav a:hover{background:#fff0df}
@media(max-width:800px){.test-section-nav{display:none}.test-mobile-menu{display:block}}
.logo{display:flex;align-items:center;gap:9px;flex-shrink:0}
.logo-mark{display:grid;place-items:center;width:46px;height:46px;border-radius:50%;background:var(--orange);color:#201c19;font:700 31px/.9 var(--head);letter-spacing:-.16em;transform:rotate(-12deg)}
.logo-name{display:block;font:700 24px/.83 var(--head);letter-spacing:-.075em}.logo-name small{display:block;font:700 16px/.9 var(--head);letter-spacing:-.05em}
.back{display:inline-flex;align-items:center;gap:8px;font-size:13px;font-weight:700;color:#775440;transition:color .2s}.back:hover{color:var(--orange-deep)}
.main{width:100%;flex:1;display:grid;place-items:center;padding:22px 0 12px}
.card{position:relative;width:min(900px,100%);border:1px solid #f2d6b9;border-radius:40px;background:rgba(255,253,249,.94);box-shadow:0 23px 58px rgba(111,63,22,.09);padding:clamp(26px,3.9vw,49px) clamp(24px,6vw,76px) clamp(24px,3.2vw,35px)}
.card:before{display:none}
.card-kicker{display:flex;justify-content:space-between;align-items:center;gap:14px;color:#a95917;font-weight:800;font-size:11px;letter-spacing:.1em;text-transform:uppercase;margin-bottom:13px}
.card-kicker .status{color:#9e816d;font-weight:700;letter-spacing:.02em;text-transform:none}
.hero-title{font:700 clamp(37px,5.2vw,64px)/1.01 var(--head);letter-spacing:-.065em;margin:0;text-align:center}
.hero-title em{font-style:normal;color:var(--orange)}
.hero-description[hidden]{display:none}
.hero-description[hidden]+.separator{margin-top:22px}
.hero-description{text-align:center;font-size:15px;line-height:1.58;color:#725f51;margin:12px auto 26px;max-width:650px}
.separator{height:1px;background:linear-gradient(to right,transparent,#ebd5bb 12%,#ebd5bb 88%,transparent);margin-bottom:25px}
.stage-top{display:flex;justify-content:space-between;align-items:baseline;gap:16px;margin-bottom:12px}
.stage-title{font:700 clamp(25px,3.2vw,33px)/1.08 var(--head);letter-spacing:-.045em;margin:0}
.stage-number{font-size:12px;font-weight:700;color:#a27750;white-space:nowrap}
.stage-help{font-size:13px;line-height:1.5;color:#817061;margin:0 0 19px}
.choices{display:grid;grid-template-columns:1fr 1fr;border:1px solid #ead4c1;border-radius:19px;overflow:hidden;margin-bottom:27px}
.choice{position:relative;background:#fffaf5;border:0;min-height:88px;padding:15px 17px;display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:left;transition:background .2s}
.choice+ .choice{border-left:1px solid #ead4c1}
.choice:hover{background:#fff1df}.choice[aria-pressed=true]{background:#ffecd3}
.choice-copy{display:grid;gap:4px}.choice-label{font-weight:800;font-size:17px;color:#2d2119}.choice-detail{font-size:12px;color:#79685c}
.radio{display:grid;place-items:center;flex:none;height:21px;width:21px;border-radius:50%;border:2px solid #d8c3af;background:white}
.choice[aria-pressed=true] .radio{border-color:#f08310}.choice[aria-pressed=true] .radio:after{content:"";width:9px;height:9px;border-radius:50%;background:var(--orange)}
.answers{display:grid;gap:0;border:1px solid #ead4c1;border-radius:19px;overflow:hidden;margin-bottom:23px}
.answers .choice{min-height:64px;border:0;border-bottom:1px solid #ead4c1}.answers .choice:last-child{border:0}.answers .choice .choice-label{font-weight:600;font-size:15px;line-height:1.4}
.actions{display:flex;align-items:center;justify-content:space-between;gap:15px}
.micro{font-size:12px;line-height:1.45;color:#847060}
.btn{display:inline-flex;justify-content:center;align-items:center;gap:10px;padding:13px 25px;min-height:51px;border:0;border-radius:50px;font:700 19px/.95 var(--head);transition:background .2s,transform .2s}
.btn-main{background:var(--orange);color:#201812;box-shadow:0 5px 0 #d86e00,0 14px 26px #ff7f002b}.btn-main:hover:not(:disabled){background:#ff951c;transform:translateY(-2px)}.btn-main:disabled{opacity:.42;box-shadow:none;cursor:not-allowed}
.btn-back{padding:12px 10px;color:#72594a;background:transparent;font-size:16px}.btn-back:hover{color:#b45a0b}
.card-footer{margin-top:22px;padding-top:13px;border-top:1px solid #f2e5d9;color:#997f6e;font-size:11px;line-height:1.5;text-align:center}
.footer{font-size:11px;color:#977f6e;text-align:center;padding-top:8px;line-height:1.6}
.footer a{text-decoration:underline;text-decoration-color:#cfae8c;text-underline-offset:3px}
.progress{height:4px;border-radius:7px;background:#f5e8dc;margin:0 0 24px;overflow:hidden;display:none}.progress>span{display:block;width:0;height:100%;background:var(--orange);transition:width .25s}
.done{text-align:center;padding:22px 0 16px}.done .hero-title{font-size:clamp(33px,4vw,48px)}.done p{color:#705f52;font-size:15px;line-height:1.6;margin:12px auto 24px;max-width:570px}
/* Schermata finale: richiesta email essenziale, senza box aggiuntivi. */
.result-email-form{display:grid;gap:18px;max-width:560px;margin:0 auto;text-align:left}
.result-email-prompt{margin:0;font:700 clamp(22px,3vw,29px)/1.15 var(--head);letter-spacing:-.035em;color:#2c211b}
.result-email-note{margin:-9px 0 2px;font-size:14px;line-height:1.55;color:#725f52}
.result-email-field{width:100%;display:grid;gap:8px}
.result-email-field input{width:100%;border:0;border-bottom:2px solid #3b2d23;border-radius:0;background:transparent;color:#2b201b;font:500 19px var(--font);padding:10px 0 9px;outline:none;transition:border-color .2s,color .2s}
.result-email-field input::placeholder{color:#b7aa9b}
.result-email-field input:focus{border-color:#ff7f00}
.result-email-form .btn{justify-self:start;min-width:200px;margin-top:2px}
.result-privacy{margin:0;font-size:11px;line-height:1.5;color:#847060;text-align:left}
.result-privacy a{text-decoration:underline;text-decoration-color:#cd9b72;text-underline-offset:3px}
.required-star{color:#b65200;font-weight:800}
.card-kicker #stage-kicker{letter-spacing:.045em;text-transform:none}
.result-direct{display:grid;gap:16px;justify-items:start;max-width:560px;margin:0 auto}
.result-direct p{margin:0;font-size:14px;line-height:1.55;color:#725f52}
@media(max-width:700px){.page{padding:15px 13px 19px}.header{padding:0 2px}.logo-mark{width:40px;height:40px;font-size:27px}.logo-name{font-size:20px}.logo-name small{font-size:13px}.back{font-size:12px}.main{padding:16px 0}.card{border-radius:30px;padding:31px 22px 22px}.card-kicker{margin-bottom:12px}.hero-title{font-size:clamp(35px,9.2vw,50px)}.hero-description{font-size:14px;margin:13px auto 20px}.separator{margin-bottom:22px}.stage-title{font-size:27px}.choices{margin-bottom:23px}.choice{min-height:80px;padding:13px}.choice-label{font-size:15px}.choice-detail{font-size:11px}.actions{align-items:center}.micro{font-size:11px}.btn{font-size:17px;padding:12px 20px}.card-footer{margin-top:18px}}
@media(max-width:430px){.hero-title{font-size:36px}.choice{min-height:78px;padding:12px 11px;gap:7px}.choice-detail{font-size:10px;line-height:1.25}.radio{height:18px;width:18px}.back span{display:none}.stage-number{font-size:10px}.micro{max-width:130px}.card-footer{font-size:10.5px}.hero-description{margin-bottom:16px}}
/* Questionario compatto: subito il testo della domanda e nessuna riga divisoria. */
.hero-title[hidden],.separator[hidden],.card-kicker[hidden],.progress[hidden]{display:none!important}
.card:has(.answers) .card-kicker{margin-bottom:19px}
.card:has(.answers) .stage-top{margin-bottom:10px}
.card:has(.answers) .stage-title{font-size:clamp(29px,3.5vw,38px)}
.card:has(.result-direct) .hero-description,.card:has(.result-email-form) .hero-description{margin-bottom:18px}
.result-email-form .btn{justify-self:center}
.result-direct{width:100%;max-width:none;justify-items:center;gap:0}
@media(max-width:700px){.card:has(.answers) .stage-title{font-size:clamp(25px,6.8vw,32px)}}

/* Mobile-first: schermata delle domande compatta, senza tagliare il testo. */
@media(max-width:700px){
  .page{padding:7px 9px 12px}
  .main{padding:7px 0}
  .card:has(.answers){padding:17px 15px 15px;border-radius:24px}
  .card:has(.answers) .card-kicker{font-size:10px;margin-bottom:8px;letter-spacing:.035em}
  .card:has(.answers) .stage-top{margin-bottom:6px}
  .card:has(.answers) .stage-title{font-size:clamp(19px,5vw,23px);line-height:1.12;letter-spacing:-.035em}
  .card:has(.answers) .stage-help{font-size:11px;line-height:1.3;margin:0 0 10px}
  .card:has(.answers) .answers{margin-bottom:12px;border-radius:13px}
  .card:has(.answers) .answers .choice{min-height:0;padding:8px 10px;gap:8px}
  .card:has(.answers) .answers .choice-label{font-size:12.5px;line-height:1.25;font-weight:600}
  .card:has(.answers) .answers .radio{width:17px;height:17px;flex:0 0 17px}
  .card:has(.answers) .actions .btn{min-height:38px;padding:8px 15px;font-size:15px}
  .card:has(.answers) .card-footer{margin-top:12px;padding-top:9px;font-size:9px;line-height:1.25}
}
@media(max-width:370px){
  .card:has(.answers){padding:14px 12px}
  .card:has(.answers) .stage-title{font-size:19px}
  .card:has(.answers) .answers .choice{padding:7px 9px}
  .card:has(.answers) .answers .choice-label{font-size:12px}
}

@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;animation:none!important}}

/* Primo passaggio, ispirato al form originale ma racchiuso in un unico box. */
.intake{display:grid;gap:17px}
.intake-field{display:grid;gap:8px}
.intake-label{display:block;font-size:14px;font-weight:800;letter-spacing:-.01em;color:#30251f}
.intake-roles{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.intake-role{min-height:58px;display:flex;align-items:center;gap:11px;text-align:left;
  border:1px solid #e7d7c9;border-radius:14px;background:#fffaf6;padding:12px 15px;
  font-size:14px;font-weight:700;color:#2b201b;transition:background .2s,border-color .2s}
.intake-role:hover{background:#fff2e1}
.intake-role[aria-pressed="true"]{border-color:#ff870d;background:#fff0dd}
.intake-radio{width:18px;height:18px;flex:none;display:grid;place-items:center;border:1.7px solid #c8afa0;border-radius:50%;background:#fff}
.intake-role[aria-pressed="true"] .intake-radio{border-color:#ff7f00}
.intake-role[aria-pressed="true"] .intake-radio:after{content:"";height:8px;width:8px;border-radius:50%;background:#ff7f00}
.intake-select,.intake-input{width:100%;border:1px solid #ddcfc4;border-radius:13px;background:#fffdfb;color:#2b201b;
  font:500 15px var(--font);min-height:54px;padding:13px 16px;outline:none;transition:border-color .2s,box-shadow .2s}
.intake-select{cursor:pointer;appearance:auto}
.intake-select:focus,.intake-input:focus{border-color:#ff7f00;box-shadow:0 0 0 3px rgba(255,127,0,.12)}
.intake-hint{font-size:12px;color:#8a7768;margin:0}
.intake .actions{margin-top:3px;justify-content:flex-end}
.card-kicker .status:empty{display:none}
.card:has(.intake) .separator{margin-top:21px;margin-bottom:21px}
@media(max-width:700px){
  .intake{gap:15px}.intake-roles{gap:8px}.intake-role{padding:12px 11px;font-size:13px;min-height:60px}
  .intake-select,.intake-input{min-height:52px}
}
@media(max-width:365px){.intake-roles{grid-template-columns:1fr}.intake-role{min-height:48px}}

/* Passaggio privacy distinto dalla richiesta dell'email: un solo box, due scelte chiare. */
.result-email-benefit{margin:-5px auto -3px!important;font-size:13px!important;line-height:1.5;text-align:center;color:#7a6555;max-width:390px}
.privacy-step-form{display:grid;gap:17px;max-width:590px;margin:0 auto}
.consent-choice{display:flex;gap:13px;align-items:flex-start;padding:16px 18px;border-radius:17px;border:1px solid #ead7c6;background:#fffaf5;color:#4b3d34;line-height:1.55;font-size:14px;cursor:pointer}
.consent-choice input{margin-top:3px;width:18px;height:18px;accent-color:#ff7f00;flex-shrink:0;cursor:pointer}
.consent-choice a{color:#ac570b;font-weight:700;text-decoration:underline;text-underline-offset:3px}
.consent-choice small{font-size:12px;color:#907a67}
.consent-choice strong{color:#a75412}
.privacy-actions{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:4px}
.example-result{width:min(560px,100%);margin:auto;display:grid;gap:10px}
.example-warning{margin:0 0 7px;color:#a85e1b;font-size:11px;font-weight:800;letter-spacing:.05em;text-align:center}
.example-result-row{display:grid;grid-template-columns:32px minmax(0,1fr);gap:3px 10px;padding:14px 15px;border-bottom:1px solid #eddbcb;align-items:start}
.example-result-row span{grid-row:1 / 3;color:#d57a24;font:700 16px var(--head)}
.example-result-row strong{font-size:16px;color:#2a211b}
.example-result-row small{font-size:13px;color:#806e60}
.example-explanation{font-size:12px!important;color:#856e5d!important;margin:12px auto 0!important;max-width:480px;text-align:center}
@media(max-width:560px){.consent-choice{padding:14px 13px;font-size:13px}.privacy-actions .btn{font-size:16px}.privacy-actions{gap:8px}.example-result-row{padding:12px 8px}}

/* Footer del questionario coordinato con quello della landing principale. */
.page{padding-bottom:0}
.mds-test-footer{
  background:linear-gradient(180deg,#ffeddb 0%,#ffdfbe 100%);
  border-top:1px solid #e5c49f;
  color:#7c634f;
  width:calc(100% + 2 * clamp(20px,4vw,62px));
  max-width:none;
  flex-shrink:0;
  margin-top:auto;
  margin-left:calc(-1 * clamp(20px,4vw,62px));
  margin-right:calc(-1 * clamp(20px,4vw,62px));
  font-family:var(--font);
  font-size:14px;
}
.mds-test-footer-inner{
  width:min(calc(100% - 64px),1220px);
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:28px 0 30px;
}
.mds-test-footer-brand{font-weight:800;color:#57402f}
.mds-test-footer-info{display:flex;flex-direction:column;gap:5px}
.mds-test-footer-info small{font-size:12px;color:#836c59}
.mds-test-footer nav{display:flex;align-items:center;flex-wrap:wrap;gap:30px}
.mds-test-footer a{color:inherit;text-decoration:none}
.mds-test-footer a:hover{color:#b35c00;text-decoration:underline;text-underline-offset:3px}
.mds-test-cookie-pending{cursor:default}
@media(max-width:700px){
 .mds-test-footer{width:calc(100% + 26px);margin-left:-13px;margin-right:-13px}
 .mds-test-footer-inner{
   width:min(calc(100% - 32px),1220px);
   flex-direction:column;
   align-items:center;
   text-align:center;
   gap:13px;
   padding:20px 0 25px;
 }
 .mds-test-footer nav{justify-content:center;gap:21px}
}

/* Risultato personalizzato per gli 85 profili editoriali. Un unico contenitore. */
.card:has(.profile-output){width:min(1090px,100%);padding:clamp(25px,3.7vw,45px) clamp(20px,4.3vw,57px)}
.card:has(.profile-output) .card-kicker{justify-content:center}
.card:has(.profile-output) .hero-title{font-size:clamp(38px,5vw,62px)}
.profile-output{margin:18px auto 0;max-width:100%}
.profile-subhead{text-align:center;margin:0 auto 25px;max-width:760px}
.profile-code{font-size:12px;font-weight:800;letter-spacing:.13em;text-transform:uppercase;color:#b35d10}
.profile-motto{font:700 clamp(19px,2.6vw,26px)/1.2 var(--head);letter-spacing:-.04em;margin:11px 0 12px;color:#38271e}
.profile-subhead blockquote{margin:0 auto;font-size:14px;line-height:1.55;font-style:italic;color:#806753}
.profile-opening{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:clamp(18px,3vw,45px);align-items:center;border-top:1px solid #ecd8c7;padding-top:23px}
.profile-opening h2,.profile-modules h2{font:700 clamp(25px,3vw,35px)/1.07 var(--head);letter-spacing:-.05em;margin:0 0 12px;color:#272019}
.profile-opening h3,.profile-modules h3{font:700 clamp(19px,2.1vw,23px)/1.15 var(--head);letter-spacing:-.035em;margin:18px 0 7px;color:#35261e}
.profile-opening p,.profile-modules p{font-size:14px;line-height:1.65;color:#604f43;margin:0 0 13px}
.profile-intro p strong{font-weight:800;color:#332318}
.profile-chart-wrap{text-align:center;min-width:0}
.profile-chart-wrap h2{font-size:26px;margin:0}
.profile-radar{display:block;width:100%;height:auto;max-width:510px;margin:auto;overflow:visible}
.profile-chart-wrap small{display:block;color:#8a7462;font-size:11px;line-height:1.5;max-width:430px;margin:0 auto 8px}
.profile-modules{border-top:1px solid #ecd8c7;margin-top:30px;padding-top:26px}
.profile-module-cols{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:14px}
.profile-module-cols>div{border-radius:21px;background:#fff6eb;border:1px solid #f0e0d0;padding:17px 18px}
.profile-module-cols h3{font-size:21px;margin:0 0 13px}
.module-list{list-style:none;padding:0;margin:0;display:grid;gap:10px}
.module-list li{display:flex;gap:10px;align-items:baseline;font-size:14px;line-height:1.38;color:#4c3b30}
.module-list li span{font-size:12px;font-weight:800;color:#d7791b;min-width:19px}
.profile-packages{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:9px}
.profile-packages>div{display:flex;flex-direction:column;gap:8px;border-top:3px solid #ff7f00;background:#fff8ef;border-radius:10px;padding:15px 14px}
.profile-packages strong{font:700 28px/1 var(--head)}
.profile-packages span{font-size:12px;line-height:1.5;color:#665549}
.profile-packages>div{position:relative;padding-bottom:40px;margin-bottom:20px}
.profile-packages .package-buy{position:absolute;left:50%;bottom:-19px;transform:translateX(-50%);display:flex;align-items:center;justify-content:center;white-space:nowrap;min-height:40px;padding:9px 13px;border-radius:999px;background:#ff7f00;color:#211c18;font:700 14px/1.1 var(--head);box-shadow:0 5px 0 #cf6906,0 10px 20px #ff7f0026;text-decoration:none;transition:background .2s,transform .2s;z-index:2}
.profile-packages .package-buy:hover{background:#ff9726;transform:translate(-50%,-2px)}
.profile-packages strong{font-size:clamp(18px,2.25vw,27px)}
@media(max-width:550px){.profile-packages>div{margin-bottom:27px}.profile-packages .package-buy{font-size:15px;padding:10px 18px}}
.profile-warning{font-size:12px!important;color:#845a36!important;margin:15px 0 0!important}
.profile-details{border-top:1px solid #ead9c8;margin-top:24px;padding-top:19px}
.profile-details summary{cursor:pointer;font:700 23px/1.13 var(--head);letter-spacing:-.04em;color:#aa5203;list-style:none;padding:9px 0}
.profile-details summary::after{content:'+';float:right;font-size:25px}
.profile-details[open] summary::after{content:'−'}
.profile-details summary::-webkit-details-marker{display:none}
.profile-detail-content{display:grid;grid-template-columns:1fr 1fr;gap:14px 28px;margin-top:18px}
.profile-text-row{border-top:1px solid #f0e1d3;padding:13px 0 2px}
.profile-text-row h3{font:700 20px/1.13 var(--head);margin:0 0 8px}
.profile-text-row p{font-size:13px;line-height:1.65;margin:0;color:#624e40}
.profile-disclaimer,.profile-demo-disclaimer{font-size:11px;line-height:1.65;color:#847160;margin:19px 0 0;text-align:center}
.profile-demo-disclaimer{margin-top:5px}
.preview-parents{font-size:15px;line-height:1.7;max-width:620px;margin:20px auto 10px;text-align:center;color:#654f42}
@media(max-width:780px){.profile-opening{grid-template-columns:1fr}.profile-chart-wrap{max-width:600px;margin:auto}.profile-module-cols{grid-template-columns:1fr 1fr}.profile-detail-content{grid-template-columns:1fr 1fr}}
@media(max-width:550px){.profile-opening{gap:12px}.profile-module-cols,.profile-packages,.profile-detail-content{grid-template-columns:1fr}.profile-module-cols>div{padding:15px}.profile-radar{margin-left:-6px;width:calc(100% + 12px)}.profile-subhead{margin-bottom:18px}.profile-packages{gap:8px}.profile-details{margin-top:22px}.profile-code{font-size:11px}}


/* Moduli esplorabili: descrizioni ufficiali del catalogo, in apertura al clic. */
.module-list{gap:8px}
.module-list li{display:block;line-height:1.45}
.module-info{border:1px solid rgba(221,177,135,.57);border-radius:14px;background:rgba(255,253,249,.73);overflow:hidden;transition:border-color .2s ease,background .2s ease}
.module-info[open]{border-color:#eda864;background:#fffaf4}
.module-info summary{display:flex;align-items:center;gap:10px;list-style:none;cursor:pointer;padding:12px 13px;font-size:14px;line-height:1.35;font-weight:650;color:#382b22}
.module-info summary::-webkit-details-marker{display:none}
.module-info summary .module-number{min-width:24px;align-self:flex-start;font:700 13px/1.4 var(--head);color:#d7791b}
.module-info summary .module-name{flex:1;min-width:0;font-size:14px;font-weight:650;color:#382b22}
.module-info summary .module-chevron{flex:none;display:grid;place-items:center;width:23px;height:23px;border-radius:50%;background:#fff0de;color:#bc620c;font-size:19px;line-height:1;transition:transform .2s ease}
.module-info[open] summary .module-chevron{transform:rotate(45deg);background:#ffdfbd}
.module-info .module-description{margin:0!important;padding:0 17px 15px 47px;font-size:13px!important;line-height:1.62!important;color:#6c5445!important}
.module-info summary:hover{background:rgba(255,234,208,.55)}
.module-info summary:focus-visible{outline:3px solid #ec850b;outline-offset:-3px;border-radius:12px}
/* Un solo invito conclusivo, senza ulteriore scheda decorativa. */
.profile-next-steps{border-top:1px solid #e7d1bb;margin:29px 0 0;padding:28px 0 8px;text-align:center}
.profile-next-steps h2{margin:0 auto 11px;font:700 clamp(30px,4vw,44px)/1.07 var(--head);letter-spacing:-.06em;color:#2b2019;max-width:750px}
.profile-next-steps h2 em{font-style:normal;color:#eb7900}
.profile-next-steps p{margin:0 auto 20px;max-width:680px;font-size:15px;line-height:1.6;color:#665243}
.profile-main-action{display:inline-flex;justify-content:center;align-items:center;min-height:57px;padding:14px 29px;border:0;border-radius:999px;background:#ff7f00;color:#27180f;font:700 20px/1.2 var(--head);box-shadow:0 6px 0 #cd680a,0 14px 25px rgba(218,112,21,.15);cursor:pointer;transition:background .2s ease, transform .2s ease}
.profile-main-action:hover{background:#ff9925;transform:translateY(-2px)}
.profile-contact-options{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:10px 21px;margin:20px auto 0}
.profile-contact-options span{color:#745e4c;font-size:13px;font-weight:600}
.profile-contact-options a{font-size:14px;font-weight:750;color:#9e4b09;text-decoration:underline;text-underline-offset:4px;transition:color .2s}
.profile-contact-options a:hover{color:#e77a07}
@media(max-width:550px){.module-info summary{padding:11px 12px}.module-info .module-description{padding:0 12px 14px 46px}.profile-next-steps{padding-top:25px}.profile-main-action{width:100%;font-size:18px}.profile-contact-options{gap:10px 17px}}
@media(prefers-reduced-motion:reduce){.module-info,.module-info summary .module-chevron,.profile-main-action,.profile-contact-options a{transition:none!important}}
.intake #child-name{width:100%;max-width:100%;box-sizing:border-box}

/* Percorsi del test: piramide e acquisto separato, senza modificare la landing */
.profile-packages.pyramid-packages{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;max-width:720px;margin:20px auto 10px}
.profile-packages.pyramid-packages>div{position:static;transform:none;margin:0;padding:22px 18px;border:2px solid #f3b575;border-radius:14px;background:#fff8ef;text-align:center;min-height:135px;justify-content:center}
.profile-packages.pyramid-packages>.pyramid-top{grid-column:1/-1;max-width:390px;width:100%;justify-self:center;background:#ff7f00;border-color:#ff7f00;color:#2b211b}
.profile-packages.pyramid-packages>.pyramid-top span{color:#38271e}
.profile-packages.pyramid-packages>.pyramid-top small{font-size:10px;letter-spacing:.12em;font-weight:800}
.profile-purchase{margin:30px 0 12px;padding:25px 20px;background:#fff8ef;border-radius:16px;text-align:center}
.profile-purchase h2{margin:0 0 6px;font:700 clamp(24px,3vw,34px)/1.1 var(--head)}
.profile-purchase p{margin:0 0 18px;color:#665549}
.profile-purchase-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.profile-purchase-grid a{display:flex;flex-direction:column;gap:9px;align-items:center;padding:16px 10px;background:white;border:1px solid #f3b575;border-radius:12px;text-decoration:none;color:#38271e}
.profile-purchase-grid a strong{font:700 23px/1 var(--head)}
.profile-purchase-grid a span{background:#ff7f00;padding:10px 12px;border-radius:30px;font-weight:800;font-size:12px}
.profile-purchase-grid a.recommended{border:2px solid #ff7f00}
@media(max-width:550px){.profile-packages.pyramid-packages>div{padding:16px 10px;min-height:130px}.profile-purchase-grid{grid-template-columns:1fr}.profile-purchase-grid a{flex-direction:row;justify-content:space-between}.profile-purchase{padding:20px 12px}}

/* ===== QUESTIONARIO ===== */
.header,.mds-test-footer{display:none!important}html,body{height:auto!important;min-height:0!important;margin:0!important;overflow-x:hidden}.page{height:auto!important;min-height:0!important;display:block!important;padding:0 clamp(12px,3vw,32px) 0!important}.main{display:block!important;padding:0!important;margin:0!important;min-height:0!important}.card{margin:0 auto!important}
/* ===== QUESTIONARIO ===== */

.header .mds-real-logo{width:48px;height:48px;object-fit:contain;flex-shrink:0}
.profile-modules .module-list{list-style:none;padding-left:0}
.profile-modules .module-list>li{list-style:none}
.profile-modules .module-number{display:none!important}
.profile-modules{margin-top:34px}
.profile-modules .profile-module-cols{gap:26px}
.profile-packages.pyramid-packages{gap:18px;margin-top:26px}
.profile-purchase{margin-top:38px}
@media(max-width:600px){.header .mds-real-logo{width:40px;height:40px}.profile-packages.pyramid-packages{gap:10px}}
/* ==========================================
   HEADER
========================================== */

.page .identity-header {
  position: relative;
  z-index: 9;

  width: min(1240px, calc(100% - 52px));
  min-height: 95px;
  margin: 0 auto;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;

  background: transparent !important;
}

.page .logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex-shrink: 0;

  color: #34271d !important;
  text-decoration: none !important;
}

.page .logo-mark {
  width: 54px;
  height: 54px;
  flex: 0 0 54px;

  display: grid;
  place-items: center;

  border-radius: 50%;
  background: var(--orange);
  color: #191716;

  font-family: var(--head);
  font-size: 35px;
  font-weight: 700;
  line-height: .8;
  letter-spacing: -.16em;

  transform: rotate(-12deg);

  box-shadow: 0 7px 18px rgba(223,105,0,.18);
}

.page .logo-name {
  font-family: var(--head);
  font-size: 25px;
  font-weight: 700;
  line-height: .89;
  letter-spacing: -.035em;

  color: #34271d !important;
  text-transform: none !important;
}

.page .logo-name small {
  display: block;

  font-family: var(--head);
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.015em;

  color: #34271d !important;
}

/* ==========================================
   MENU DESKTOP
========================================== */

.page .header-section-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: nowrap;

  gap: clamp(14px, 2vw, 28px);
  white-space: nowrap;
}

.page .header-section-nav a {
  position: relative;
  padding: 10px 2px;

  color: #514239 !important;

  font-family: var(--font);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;

  text-decoration: none !important;
  text-transform: none !important;

  transition: color .2s ease;
}

.page .header-section-nav a::after {
  content: "";

  position: absolute;
  bottom: 5px;
  left: 0;
  right: 0;

  height: 2px;
  border-radius: 2px;

  background: var(--orange);

  transform: scaleX(0);
  transform-origin: left;

  transition: transform .2s ease;
}

.page .header-section-nav a:hover {
  color: #b95700 !important;
}

.page .header-section-nav a:hover::after {
  transform: scaleX(1);
}

/* ==========================================
   MENU MOBILE
========================================== */

.page .header-mobile-menu {
  display: none;
  position: relative;
  margin-left: auto;
}

.page .header-mobile-menu summary {
  display: flex;
  align-items: center;
  gap: 9px;

  padding: 10px 13px;

  background: rgba(255,250,245,.95);
  border: 1px solid rgba(152,93,37,.2);
  border-radius: 999px;

  color: #38271c;

  font-family: var(--font);
  font-size: 13px;
  font-weight: 700;

  box-shadow: 0 5px 15px rgba(115,65,23,.07);

  cursor: pointer;
  list-style: none;
}

.page .header-mobile-menu summary::-webkit-details-marker {
  display: none;
}

.page .header-mobile-menu summary svg {
  width: 17px;
  height: 17px;
}

.page .header-mobile-menu[open] summary {
  background: #fff0df;
  border-color: #f5b46e;
}

.page .header-mobile-links {
  position: absolute;
  top: calc(100% + 9px);
  right: 0;
  z-index: 30;

  width: min(270px, calc(100vw - 28px));
  padding: 10px;

  display: flex;
  flex-direction: column;
  gap: 3px;

  border: 1px solid #f0d4b7;
  border-radius: 20px;

  background: #fffaf5;

  box-shadow: 0 18px 45px rgba(83,53,29,.15);
}

.page .header-mobile-links a {
  padding: 11px 13px;

  color: #45372e !important;

  font-family: var(--font);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;

  border-radius: 11px;

  text-decoration: none !important;
  text-transform: none !important;
}

.page .header-mobile-links a:hover {
  background: #ffecd8;
}


.page .identity-header .logo-mark-image{display:block;width:54px;height:54px;flex:0 0 54px;object-fit:contain}
@media(max-width:600px){.page .identity-header .logo-mark-image{width:38px;height:38px;flex-basis:38px}}

@media(max-width:800px){.page .header-section-nav{display:none}.page .header-mobile-menu{display:block}.page .identity-header{min-height:80px}}
@media(max-width:600px){.page .identity-header{width:calc(100% - 30px);min-height:61px;gap:10px}.page .logo{gap:7px}.page .logo-name{font-size:18px}.page .logo-name small{font-size:12px}.page .header-mobile-menu summary{padding:9px 11px;gap:7px;font-size:12px}.page .header-mobile-menu summary svg{width:15px;height:15px}}

/* ===== PAGINA (sfondo, contenitore, footer) ===== */


/* SFONDO PRINCIPALE ORIGINALE */

.mds-page {
  position: relative;
  isolation: isolate;

  background:
    radial-gradient(
      ellipse 68% 24% at 108% 22%,
      #ffcd93a8,
      transparent 94%
    ),
    radial-gradient(
      ellipse 52% 24% at -11% 53%,
      #ffc38774,
      transparent 98%
    ),
    radial-gradient(
      ellipse 55% 20% at 100% 81%,
      #ffe1b6b3,
      transparent 98%
    ),
    linear-gradient(
      165deg,
      #fffaf6 0%,
      #fff2e5 40%,
      #fff9f2 72%,
      #fff1df 100%
    ) !important;
}

/* RIMUOVE GLI SFONDI DELLE SINGOLE SEZIONI */

.mds-page #mds-section-one {
  background: transparent !important;
}

.mds-page #mds-research {
  background: transparent !important;
}

/* DISATTIVA LO SFONDO AGGIUNTIVO DEL BLOCCO 2 */

.mds-page #mds-research::before {
  display: none !important;
}

/* MANTIENE I BLOCCHI SENZA INTERRUZIONI */

.mds-page {
  gap: 0 !important;
  row-gap: 0 !important;
}


/* ===== BLOCCO ===== */
#mds-original-test-wrapper{display:block;width:100%;max-width:100%;height:auto;margin:0!important;padding:0!important;background:transparent!important}#mds-original-test-frame{display:block;width:100%;height:650px;margin:0!important;padding:0!important;border:0;background:transparent;overflow:hidden}
/* ===== BLOCCO ===== */

.mds-footer-final {
  width: 100%;
  max-width: 100%;
  position: relative;
  margin: 0 !important;
  padding: 0 !important;
  background: linear-gradient(
  180deg,
  #FFFAF6 0%,
  #FFF1DF 100%
) !important;
  color: #211c18;
  font-family: "DM Sans", sans-serif;
  border-top: none;
}

.mds-footer-final *,
.mds-footer-final *::before,
.mds-footer-final *::after {
  box-sizing: border-box;
}

.mds-footer-final .footer-container {
  width: min(1240px, 92%);
  margin: 0 auto;
  padding: 54px 0 26px;
}

.mds-footer-final .footer-main {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 50px;
  align-items: start;
}

/* PC: tre colonne distribuite uniformemente; Navigazione al centro. */
@media (min-width: 901px) {
  .mds-footer-final .footer-main > .footer-navigation-col,
  .mds-footer-final .footer-main > .footer-contacts-col {
    justify-self: center;
    width: max-content;
    max-width: 100%;
  }
}

/* LOGO E NOME */

.mds-footer-final .footer-brand {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 0 0 14px;
}

.mds-footer-final .footer-logo-mark {
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  display: block;
  object-fit: contain;
  background: transparent;
  border-radius: 0;
  transform: none;
  box-shadow: none;

}

.mds-footer-final .footer-brand-name {
  font-family: "Baloo 2", sans-serif !important;
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.035em;
  color: #211c18 !important;
  white-space: nowrap;
}

.mds-footer-final .footer-brand-name span {
  color: #211c18 !important;
}

/* TESTI */

.mds-footer-final .footer-project {
  margin: 0 0 12px;
  color: #a95008;
  font-family: "DM Sans", sans-serif !important;
  font-size: .88rem;
  font-weight: 500;
  line-height: 1.5;
}

.mds-footer-final .footer-description {
  max-width: 420px;
  margin: 0;
  color: #6b5d54;
  font-family: "DM Sans", sans-serif !important;
  font-size: .95rem;
  font-weight: 400;
  line-height: 1.7;
}

/* TITOLI */

.mds-footer-final .footer-title {
  font-family: "Baloo 2", sans-serif !important;
  margin: 0 0 16px;
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -.02em;
  color: #211c18;
}

/* NAVIGAZIONE */

.mds-footer-final .footer-links {
  display: grid;
  gap: 10px;
}

.mds-footer-final .footer-links a {
  color: #6b5d54 !important;
  text-decoration: none !important;
  font-family: "DM Sans", sans-serif !important;
  font-size: .95rem;
  font-weight: 400;
  line-height: 1.5;
  transition: color .2s ease;
}

.mds-footer-final .footer-links a:hover {
  color: #ff7f00 !important;
}

/* CONTATTI */

.mds-footer-final .footer-contact {
  display: grid;
  gap: 10px;
  color: #6b5d54;
  font-family: "DM Sans", sans-serif !important;
  font-size: .95rem;
  line-height: 1.5;
}

.mds-footer-final .footer-contact span {
  color: #6b5d54;
}

.mds-footer-final .footer-contact a {
  color: #6b5d54 !important;
  text-decoration: none !important;
  font-family: "DM Sans", sans-serif !important;
}

.mds-footer-final .footer-contact a:hover {
  color: #ff7f00 !important;
}

/* SOCIAL */

.mds-footer-final .footer-social-title {
  margin: 22px 0 10px;
  font-family: "Baloo 2", sans-serif !important;
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.3;
  color: #211c18;
}

.mds-footer-final .footer-socials {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.mds-footer-final .footer-socials a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.82);
  color: #ff7f00 !important;
  border: 1px solid rgba(255,127,0,.20);
  text-decoration: none !important;
  box-shadow: 0 6px 16px rgba(85,48,22,.06);
  transition:
    transform .2s ease,
    box-shadow .2s ease,
    color .2s ease,
    background .2s ease;
}

.mds-footer-final .footer-socials a:hover {
  transform: translateY(-3px);
  background: #ff7f00;
  color: #ffffff !important;
  box-shadow: 0 10px 24px rgba(255,127,0,.20);
}

.mds-footer-final .footer-socials svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
  display: block;
}

/* PARTE INFERIORE */

.mds-footer-final .footer-bottom {
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid rgba(180,98,32,.16);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  color: #978174;
  font-family: "DM Sans", sans-serif !important;
  font-size: .85rem;
  line-height: 1.5;
}

.mds-footer-final .footer-bottom-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.mds-footer-final .footer-bottom-links a {
  color: #978174 !important;
  text-decoration: none !important;
  font-family: "DM Sans", sans-serif !important;
  transition: color .2s ease;
}

.mds-footer-final .footer-bottom-links a:hover {
  color: #ff7f00 !important;
}

/* TABLET */

@media (max-width: 900px) {
  .mds-footer-final .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 38px;
  }

  .mds-footer-final .footer-brand-col {
    grid-column: 1 / -1;
  }
}

/* SMARTPHONE */

@media (max-width: 640px) {
  .mds-footer-final .footer-container {
    padding: 44px 0 24px;
  }

  .mds-footer-final .footer-main {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .mds-footer-final .footer-brand-col {
    grid-column: auto;
  }

  .mds-footer-final .footer-logo-mark {
    width: 43px;
    height: 43px;
    flex-basis: 43px;
  }

  .mds-footer-final .footer-brand {
    gap: 10px;
  }

  .mds-footer-final .footer-brand-name {
    font-size: 1.55rem;
    white-space: normal;
  }

  .mds-footer-final .footer-project {
    font-size: .84rem;
  }

  .mds-footer-final .footer-description {
    font-size: .92rem;
    line-height: 1.7;
  }

  .mds-footer-final .footer-title {
    font-size: 1.15rem;
  }

  .mds-footer-final .footer-social-title {
    font-size: 1.05rem;
  }

  .mds-footer-final .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mds-footer-final .footer-socials a,
  .mds-footer-final .footer-links a,
  .mds-footer-final .footer-contact a,
  .mds-footer-final .footer-bottom-links a {
    transition: none;
  }
}
