/* Encabezado de #IdentificoMiPoder con la foto de Julio (v5).
   Solo se enlaza en /programa-de-entrenamiento/identificomipoder/.
   Regla de forma: el texto vive en una columna izquierda acotada; la figura del banner
   empieza en el 56 % del ancho de la imagen (codo), por eso la columna nunca pasa del ~44 % del ancho. */
.imp-hero{position:relative;overflow:hidden;background:#0b2862;color:#fff;border-bottom:8px solid var(--poder);
  display:flex;flex-direction:column;min-height:clamp(480px,49.3vw,720px)}
.imp-hero__foto{position:absolute;inset:0;z-index:0;margin:0}
.imp-hero__foto img{width:100%;height:100%;object-fit:cover;object-position:right 25%;max-width:none}
/* Velo suave solo en la zona del texto para asegurar contraste sobre los rayos claros */
.imp-hero::before{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;
  background:linear-gradient(90deg,rgba(8,28,72,.72) 0%,rgba(8,28,72,.45) 32%,rgba(8,28,72,0) 50%)}
.imp-hero__wrap{position:relative;z-index:2;flex:1;display:flex;flex-direction:column;width:100%}
.imp-hero .migas,.imp-hero .migas a{color:#dfe9f5}
.imp-hero__texto{flex:1;display:flex;flex-direction:column;justify-content:center;
  width:100%;max-width:min(540px,42vw);padding:16px 0 56px}
.imp-hero__kicker{margin:0 0 .7em;font-weight:800;font-size:.85rem;letter-spacing:.08em;text-transform:uppercase;color:var(--poder)}
/* SEO (9-nov): el kicker #IdentificoMiPoder es el H1 y la frase grande es un <p class="imp-hero__titulo">.
   El H1 replica el aspecto exacto que tenía el kicker como <p> (antes lo pisaba ".imp-hero p"). */
.imp-hero h1.imp-hero__kicker{max-width:none;margin:0 0 .85em;font-weight:800;font-size:clamp(1rem,1.25vw,1.12rem);line-height:1.55;letter-spacing:.08em;text-transform:uppercase;color:#fff}
.imp-hero p.imp-hero__titulo{color:#fff;font-family:Montserrat,Arial,sans-serif;font-weight:800;line-height:1.12;
  font-size:clamp(1.9rem,3.1vw,2.9rem);margin:0 0 .55em;text-wrap:balance;overflow-wrap:break-word}
.imp-hero p{max-width:none;margin:0 0 .85em;font-size:clamp(1rem,1.25vw,1.12rem);line-height:1.55;color:#fff}
.imp-hero p.imp-hero__lema{font-weight:700;font-size:clamp(1.05rem,1.4vw,1.25rem)}
.imp-hero__cta{margin-top:.6em!important}
.imp-hero__btn{display:inline-block;background:var(--azul);color:#fff!important;font-weight:800;font-size:1.1rem;
  padding:14px 28px;border-radius:999px;text-decoration:none;box-shadow:0 6px 18px rgba(0,0,0,.25)}
.imp-hero__btn:hover{background:#0074b0}
.imp-hero__btn:focus-visible{outline:3px solid var(--poder);outline-offset:3px}
/* Anchos intermedios: columna más angosta y letra algo menor antes de que haya roce */
@media(max-width:1240px){.imp-hero__texto{max-width:40vw}.imp-hero p.imp-hero__titulo{font-size:clamp(1.8rem,2.9vw,2.4rem)}.imp-hero p,.imp-hero h1.imp-hero__kicker{font-size:1rem}}
/* Tablet y móvil: se apila. Texto en su bloque y la foto debajo, sin superposición */
@media(max-width:1024px){
  .imp-hero{min-height:0}
  .imp-hero::before{display:none}
  .imp-hero__wrap{order:1}
  .imp-hero__texto{max-width:640px;padding:8px 0 32px}
  .imp-hero p.imp-hero__titulo{font-size:clamp(1.75rem,5vw,2.4rem)}
  .imp-hero__foto{position:relative;order:2;inset:auto}
  .imp-hero__foto img{height:auto;aspect-ratio:1600/789;object-position:right center}
}
@media(max-width:600px){
  .imp-hero__texto{padding:4px 0 28px}
  .imp-hero p.imp-hero__titulo{font-size:1.7rem}
  .imp-hero__btn{display:block;text-align:center}
  .imp-hero__foto img{aspect-ratio:800/789;object-position:center top}
}
