/* Cambio acotado al fondo del HERO principal y al contraste autorizado.
   Sin cambios de geometría, tipografía, tarjetas ni funcionalidades. */
body.home-page .hero{
  background-color:#03152d!important;
  background-image:linear-gradient(90deg,rgba(3,21,45,.16),rgba(3,21,45,.08) 55%,transparent 74%),url('home-hero-corporativo-2026-10-15.webp')!important;
  background-size:cover!important;
  background-position:right center!important;
  background-repeat:no-repeat!important;
}

/* Tarjetas independientes: no alteran el flujo ni la altura del HERO. */
body.home-page .hero-floating-notes{display:none}
@media(min-width:1101px){
  body.home-page .hero{
    background-image:linear-gradient(90deg,#03152d,#05213e)!important;
  }
  body.home-page .hero::before{
    content:""!important;
    display:block!important;
    position:absolute!important;
    inset:0!important;
    z-index:0!important;
    pointer-events:none!important;
    opacity:1!important;
    background:linear-gradient(90deg,rgba(3,21,45,.22),rgba(3,21,45,.08) 55%,transparent 74%),url('home-hero-corporativo-2026-10-15.webp') right center/cover no-repeat!important;
    transform:scale(.88)!important;
    transform-origin:right center!important;
    filter:none!important;
    mask-image:linear-gradient(90deg,transparent,#000 22%),linear-gradient(180deg,transparent,#000 9%,#000 91%,transparent);
    mask-composite:intersect;
  }
  body.home-page .hero-floating-notes{
    display:block;
    position:absolute;
    inset:0;
    z-index:3;
    pointer-events:none;
    opacity:1;
    transition:opacity .7s ease,visibility .7s ease;
  }
  body.home-page .hero-info-card{
    position:absolute;
    right:clamp(14px,1.6vw,34px);
    display:flex;
    align-items:center;
    gap:10px;
    width:clamp(148px,12.3vw,202px);
    padding:13px 12px;
    border:1px solid rgba(215,226,238,.85);
    border-radius:14px;
    background:#fff;
    box-shadow:0 10px 30px rgba(0,11,29,.16),0 2px 6px rgba(0,11,29,.05);
    color:#103a70;
  }
  body.home-page .hero-info-card-time{top:11%}
  body.home-page .hero-info-card-document{bottom:13%}
  body.home-page .hero-info-card strong{display:block;font-size:clamp(10px,.78vw,13px);font-weight:750;line-height:1.35;color:#103a70}
  body.home-page .hero-info-card div>span{display:block;margin-top:3px;font-size:clamp(10px,.72vw,12px);line-height:1.4;color:#4b6080}
  body.home-page .hero-info-icon{display:flex;flex:0 0 36px;width:36px;height:36px;align-items:center;justify-content:center;border-radius:50%}
  body.home-page .hero-info-icon svg{display:block;width:29px;height:29px}
  body.home-page .hero-info-icon-clock{background:#eaf9ee;color:#00a93e}
  body.home-page .hero-info-icon-file{background:#eaf2ff;color:#0866ed}
  body.home-page .hero:has(.hero-slide-main:not(.is-active)) .hero-floating-notes{opacity:0;visibility:hidden}
}
@media(prefers-reduced-motion:reduce){
  body.home-page .hero-floating-notes{transition:none}
}
body.home-page .hero-slide-main h1,
body.home-page .hero-slide-main .hero-sub,
body.home-page .hero-slide-main .hero-tag-white,
body.home-page .hero-slide-main .hero-quick-benefits strong{color:#fff!important}
body.home-page .hero-slide-main .hero-delivery-note,
body.home-page .hero-slide-main .hero-quick-benefits small{color:#e0eaf5!important}
/* Resaltado verde refinado: trazo fino, extremos suaves y sin brillo. */
body.home-page .hero-slide-main h1 em::after{
  height:.08em;
  border-radius:3px;
  background:linear-gradient(90deg,rgba(0,200,83,.08),rgba(0,200,83,.3) 18%,rgba(0,200,83,.3) 82%,rgba(0,200,83,.08));
}
/* El rostro ocupa la zona superior ya libre, sin desplazar el contenido. */
@media(max-width:680px){
  body.home-page .hero{
    background-image:linear-gradient(180deg,transparent 0,transparent 100px,#03152d 190px),url('home-hero-corporativo-2026-10-15.webp')!important;
    background-size:100% 100%,auto 190px!important;
    background-position:center top,right top!important;
  }
}

/* Large desktop: enlarge only the first slide's content, not its photo. */
@media(min-width:1600px){
  html body.home-page .hero-slide-main{max-width:none!important;margin:0!important;padding-left:105px!important;padding-right:0!important}
  html body.home-page .hero-slide-main>div:first-child{width:710px!important;max-width:710px!important;margin-left:0!important;transform:none!important;zoom:1.15}
  html body.home-page .hero-slide-main .hero-quick-benefits,html body.home-page .hero-slide-main .hero-price-cards{width:calc((44vw - 105px)/1.15)!important;max-width:660px!important}
  html body.home-page .hero:has(.hero-slide-main.is-active) .hero-info-card{zoom:1.15}
}
@media(min-width:1800px){
  html body.home-page .hero-slide-main>div:first-child{zoom:1.25}
  html body.home-page .hero-slide-main .hero-quick-benefits,html body.home-page .hero-slide-main .hero-price-cards{width:calc((44vw - 105px)/1.25)!important}
  html body.home-page .hero:has(.hero-slide-main.is-active) .hero-info-card{zoom:1.25}
}
