/* ======================================================================
   ISOPILOT V2.12 STEP24D — Mobile homepage editorial tuning
   Scope: homepage/public mobile only (<=760px). Desktop remains unchanged.
   ====================================================================== */

@media (max-width:760px){
  /* Opening hero: center the three requested editorial lines. */
  body.public-site .home-hero-copy-v2405,
  body.public-site .home-hero-kicker-v2405,
  body.public-site .home-future-pretitle-v2405,
  body.public-site .home-future-pretitle-v2405 strong,
  body.public-site .home-hero-copy-v2405 h1{
    width:100%!important;
    max-width:none!important;
    margin-left:auto!important;
    margin-right:auto!important;
    text-align:center!important;
  }

  body.public-site .home-hero-kicker-v2405{
    margin-bottom:14px!important;
  }
  body.public-site .home-future-pretitle-v2405{
    margin-bottom:13px!important;
  }
  body.public-site .home-hero-copy-v2405 h1{
    margin-top:8px!important;
    margin-bottom:0!important;
  }

  /* Requested mobile removal of the descriptive hero paragraph. */
  body.public-site .home-hero-lead-v2405{
    display:none!important;
  }

  /* Keep the two primary CTAs on one horizontal row. */
  body.public-site .home-hero-cta-v2405{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;
    width:100%!important;
    padding:10px!important;
    border-radius:16px!important;
  }
  body.public-site .home-hero-cta-v2405 .btn{
    width:100%!important;
    min-width:0!important;
    min-height:48px!important;
    padding:10px 8px!important;
    font-size:11.5px!important;
    line-height:1.18!important;
    justify-content:center!important;
    text-align:center!important;
  }

  /* After "Nessuna carta per la prova", go directly to SYSTEM GOVERNANCE. */
  body.public-site .home-workspace-showcase-v2405{
    display:none!important;
  }
  body.public-site .home-proof-banner-v2405{
    margin-bottom:22px!important;
  }

  /* Requested centered section titles. */
  body.public-site .enterprise-value-section .enterprise-section-intro h2,
  body.public-site .enterprise-lifecycle-copy h2,
  body.public-site .home-sgsi-spotlight-v2100 h2,
  body.public-site #project-intelligence .section-heading h2{
    width:100%!important;
    max-width:none!important;
    margin-left:auto!important;
    margin-right:auto!important;
    text-align:center!important;
    text-justify:auto!important;
    hyphens:none!important;
    -webkit-hyphens:none!important;
  }

  /* Professional support: retain cards, remove only green ticks. */
  body.public-site .enterprise-human-assurance span{
    padding:15px 14px!important;
    text-align:center!important;
  }
  body.public-site .enterprise-human-assurance span:before{
    content:none!important;
    display:none!important;
  }

  /* Project Intelligence: remove the four numbered mobile cards. */
  body.public-site #project-intelligence > .enterprise-lifecycle-grid{
    display:none!important;
  }
  body.public-site #project-intelligence .section-heading{
    width:100%!important;
    max-width:none!important;
    text-align:center!important;
  }

  /* Audit readiness: remove the six card/list items requested. */
  body.public-site .enterprise-assurance-section .enterprise-assurance-list{
    display:none!important;
  }

  /* UESE Professional Network: all visible copy centered on mobile. */
  body.public-site .enterprise-consultant-opportunity,
  body.public-site .enterprise-consultant-opportunity > div,
  body.public-site .enterprise-consultant-opportunity aside,
  body.public-site .enterprise-consultant-opportunity h2,
  body.public-site .enterprise-consultant-opportunity p,
  body.public-site .enterprise-consultant-opportunity .eyebrow,
  body.public-site .enterprise-consultant-opportunity .hero-actions,
  body.public-site .enterprise-consultant-opportunity aside strong,
  body.public-site .enterprise-consultant-opportunity aside span{
    text-align:center!important;
  }
  body.public-site .enterprise-consultant-opportunity .hero-actions{
    justify-content:center!important;
  }

  /* Three professional levels: title above, all three levels on one row. */
  body.public-site .enterprise-consultant-opportunity aside{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:8px!important;
    align-items:stretch!important;
    padding:16px 10px!important;
  }
  body.public-site .enterprise-consultant-opportunity aside > strong{
    grid-column:1 / -1!important;
    display:block!important;
    margin:0 0 4px!important;
  }
  body.public-site .enterprise-consultant-opportunity aside > span{
    display:flex!important;
    min-width:0!important;
    min-height:62px!important;
    align-items:center!important;
    justify-content:center!important;
    padding:9px 5px!important;
    border-radius:11px!important;
    font-size:10.5px!important;
    line-height:1.2!important;
    overflow-wrap:anywhere!important;
  }

  /* SEO/AEO informational heading identified by the companion JS. */
  body.public-site .mobile-fullwidth-title-v2425{
    position:relative!important;
    left:50%!important;
    transform:translateX(-50%)!important;
    width:100vw!important;
    max-width:100vw!important;
    box-sizing:border-box!important;
    margin-left:0!important;
    margin-right:0!important;
    padding-left:18px!important;
    padding-right:18px!important;
    text-align:center!important;
  }
}

@media (max-width:390px){
  body.public-site .home-hero-cta-v2405 .btn{
    padding-left:5px!important;
    padding-right:5px!important;
    font-size:10.5px!important;
  }
  body.public-site .enterprise-consultant-opportunity aside{
    gap:6px!important;
    padding-left:7px!important;
    padding-right:7px!important;
  }
  body.public-site .enterprise-consultant-opportunity aside > span{
    padding-left:3px!important;
    padding-right:3px!important;
    font-size:9.6px!important;
  }
}
