/* NOCAPAL · Inicio · Ajuste LOCAL del hero.
   Referencia: Compra de palets / Recuperación aprobados.
   No modifica header, footer ni otras secciones. */
@media(min-width:961px){
  body .testhero{
    height:auto!important;
    min-height:620px!important;
    max-height:none!important;
    display:block!important;
    background-size:cover!important;
    background-position:center center!important;
  }
  body .testhero__copy{
    box-sizing:border-box!important;
    width:min(1440px,calc(100% - 64px))!important;
    max-width:1440px!important;
    margin-inline:auto!important;
    padding:165px 0 54px!important;
    transform:none!important;
    text-align:left!important;
    position:relative;
    z-index:2;
  }
  body .testhero__copy > *{max-width:850px;}
  body .testhero h1{
    width:min(850px,100%)!important;
    max-width:850px!important;
    font-size:clamp(54px,5.6vw,82px)!important;
    line-height:.98!important;
    margin:20px 0 22px!important;
  }
  body .testhero p{max-width:600px!important;margin:0 0 17px!important;}
}
@media(min-width:651px) and (max-width:960px){
  body .testhero{height:auto!important;min-height:550px!important;max-height:none!important;background-size:cover!important;}
  body .testhero__copy{box-sizing:border-box!important;width:calc(100% - 48px)!important;max-width:1440px!important;margin:0 auto!important;padding:150px 0 50px!important;position:relative;z-index:2;}
  body .testhero h1{font-size:clamp(48px,7vw,68px)!important;line-height:1!important;max-width:780px!important;}
}
@media(max-width:650px){
  body .testhero{height:auto!important;min-height:0!important;max-height:none!important;background-size:cover!important;background-position:60% center!important;}
  body .testhero__copy{box-sizing:border-box!important;width:calc(100% - 32px)!important;max-width:1440px!important;margin:0 auto!important;padding:145px 0 60px!important;position:relative;z-index:2;}
  body .testhero h1{font-size:clamp(42px,11vw,62px)!important;line-height:1!important;max-width:100%!important;}
  body .testhero p{font-size:16px!important;max-width:520px!important;}
}
