/* Protección responsive común para todo el clúster SAP SuccessFactors */
@media (max-width:740px){
  html,body{width:100%;max-width:100%;overflow-x:hidden}
  *,*::before,*::after{max-width:100%}
  body main,body header,body footer,body section,body article,body nav,body div,body form,body fieldset{min-width:0}
  body h1,body h2,body h3,body h4,body p,body li,body dt,body dd,body a,body span,body strong,body small,body label,body summary{max-width:100%;overflow-wrap:anywhere;word-break:normal}
  body img,body svg,body video{max-width:100%;height:auto}

  .wrap,.hero-inner{width:calc(100% - 1.5rem);max-width:100%;margin-inline:auto}
  .site-header,.top,.top-row{height:auto;min-height:60px;max-width:100%;padding:.65rem .75rem;gap:.55rem}
  .brand{min-width:0;max-width:100%;overflow-wrap:anywhere}
  .brand small{white-space:normal}
  .site-header nav,.top nav,.topbar nav{max-width:100%}
  .site-header nav a,.top nav a,.topbar nav a{min-width:0;white-space:normal;overflow-wrap:anywhere;text-align:center}

  .hero{width:100%;min-height:0!important;height:auto;align-items:start;padding:1.25rem .75rem 2rem!important;gap:1rem}
  .hero-inner{padding:1.6rem 0 2rem!important}
  .hero-copy{min-width:0;padding-top:0!important}
  .hero h1{width:100%;font-size:clamp(1.75rem,9vw,2.3rem)!important;line-height:1.08!important;letter-spacing:-.025em!important;overflow-wrap:anywhere;hyphens:auto}
  .hero .lead,.lead{font-size:.98rem;line-height:1.5}
  .hero figure{width:100%;min-width:0;margin:0}
  .hero>img{width:100%;height:100%!important;max-height:none!important;position:absolute;object-fit:cover}
  .hero figure img{max-width:100%;min-width:0;max-height:260px;object-fit:cover}
  .crumbs,.crumb{font-size:.76rem;flex-wrap:wrap}
  .eyebrow{font-size:.68rem;letter-spacing:.1em}

  .actions{display:grid!important;grid-template-columns:1fr!important;width:100%;max-width:100%;gap:.5rem}
  .actions .btn,.actions .button,.btn,.button{width:100%;max-width:100%;min-width:0;white-space:normal;text-align:center;overflow-wrap:anywhere}

  .section{max-width:100%;padding:2.6rem .75rem!important}
  .section h2,.cta h2,.correction h2,.visual-story h2{font-size:clamp(1.45rem,7.5vw,1.9rem)!important;line-height:1.14!important;letter-spacing:-.02em}
  .grid,.cards,.profiles,.four,.matrix,.steps,.quick,.process,.roadmap,.exercises,.faq,.related,.case-grid,.timeline,.link-grid,.mini-grid,.facts,.filters,.company-grid,.sector-grid,.module-grid,.role-grid,.form-grid,.intro,.intro-grid,.resource-grid,.cluster-grid,#sf-finder{grid-template-columns:minmax(0,1fr)!important}
  .grid>*,.cards>*,.process>*,.roadmap>*,.timeline>*,.link-grid>*,.mini-grid>*,.facts>*,.filters>*,.company-grid>*,.sector-grid>*,.module-grid>*,.role-grid>*,.form-grid>*{min-width:0}
  article,.callout,.result,.concept-card,.training,.certification,.orientator,.process,.ecosystem{max-width:100%;min-width:0;padding:1rem!important}

  .table-wrap{width:100%;max-width:100%;overflow-x:auto!important;overflow-y:hidden;-webkit-overflow-scrolling:touch}
  .table-wrap table{width:100%!important;min-width:660px!important;table-layout:auto}
  .table-wrap th,.table-wrap td{padding:.72rem .65rem!important;font-size:.82rem;line-height:1.4;overflow-wrap:normal;word-break:normal}

  .visual-story,.visual-story.reverse,.training,.certification,.split{grid-template-columns:minmax(0,1fr)!important;width:auto;max-width:100%;margin-left:.6rem!important;margin-right:.6rem!important}
  .visual-story .story-copy{padding:1.4rem 1rem!important}
  .visual-story img,.training img{width:100%;min-width:0;min-height:0!important;height:220px!important;object-fit:cover}
  .correction,.cta,footer{max-width:100%;padding:2rem .75rem!important;gap:1rem}
  footer nav{width:100%;display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:.45rem}
  footer nav a{min-width:0;white-space:normal;overflow-wrap:anywhere}
}

@media (max-width:360px){
  .wrap,.hero-inner{width:calc(100% - 1rem)}
  .hero h1{font-size:1.65rem!important}
  .section h2,.cta h2,.correction h2,.visual-story h2{font-size:1.42rem!important}
}

