/* Credify | Empresas y RR. HH.. Ajustes específicos del hero y componentes compartidos con Educación. */
.cfi-content.company-page .edu-top{
  background:#061c43 url('empresa-hero-bg.webp') center center/cover no-repeat;
  overflow:hidden;
}
.cfi-content.company-page .edu-top::before{
  background:linear-gradient(90deg,rgba(6,28,67,.98) 0%,rgba(6,28,67,.96) 21%,rgba(6,28,67,.82) 37%,rgba(6,28,67,.38) 56%,rgba(6,28,67,.14) 68%,rgba(6,28,67,.08) 100%);
}
.cfi-content.company-page .edu-hero{
  position:relative;
  min-height:690px;
  padding:142px 0 86px;
}
.cfi-content.company-page .edu-hero::after{
  content:'';
  position:absolute;
  inset:0;
  z-index:1;
  pointer-events:none;
  background:
    linear-gradient(180deg,rgba(6,28,67,.28) 0%,rgba(6,28,67,0) 24%),
    radial-gradient(circle at 18% 82%,rgba(0,214,255,.18),transparent 34%);
}
.cfi-content.company-page .edu-hero-grid{
  grid-template-columns:minmax(0,.94fr) minmax(0,1.06fr);
  align-items:center;
  gap:10px;
  position:relative;
  z-index:2;
}
.cfi-content.company-page .edu-hero-copy{max-width:610px;z-index:3}
.cfi-content.company-page .edu-hero h1{font-size:clamp(39px,4.1vw,61px);max-width:620px;text-wrap:balance}
.cfi-content.company-page .edu-hero-description{max-width:555px}
.cfi-content.company-page .edu-hero-visual{
  position:relative;
  z-index:2;
  display:flex;
  align-items:flex-end;
  justify-content:flex-end;
  min-height:430px;
  pointer-events:none;
}
.cfi-content.company-page .edu-hero-visual img{
  display:block;
  width:min(100%,780px);
  height:auto!important;
  max-height:560px;
  max-width:none;
  aspect-ratio:auto;
  object-fit:contain;
  object-position:right center;
  transform:translate(4%,2%);
  margin:0;
  filter:drop-shadow(0 26px 42px rgba(0,11,34,.35));
}
.cfi-content.company-page .company-hero-terms{font-size:12px;margin:15px 0 0;color:#d8e7fb}
.cfi-content.company-page .edu-benefit>.icon{color:#88e9fd}
.cfi-content.company-page .edu-audience-body{min-height:168px}
.cfi-content.company-page .edu-credential{min-height:225px}
.cfi-content.company-page .nav-dropdown-menu a[aria-current=page]{background:rgba(117,255,233,.1);color:#8afff0}

@media(max-width:1180px){
  .cfi-content.company-page .edu-hero{min-height:635px;padding-top:125px}
  .cfi-content.company-page .edu-hero h1{font-size:clamp(36px,4.25vw,53px)}
  .cfi-content.company-page .edu-hero-visual{min-height:385px}
  .cfi-content.company-page .edu-hero-visual img{width:min(100%,700px);max-height:500px;transform:translate(2%,2%)}
}
@media(max-width:930px){
  .cfi-content.company-page .edu-top{background-position:62% center}
  .cfi-content.company-page .edu-top::before{background:linear-gradient(90deg,rgba(6,28,67,.98) 0%,rgba(6,28,67,.95) 26%,rgba(6,28,67,.74) 45%,rgba(6,28,67,.22) 68%,rgba(6,28,67,.08) 100%)}
  .cfi-content.company-page .edu-hero{min-height:570px;padding:110px 0 70px}
  .cfi-content.company-page .edu-hero h1{font-size:38px}
  .cfi-content.company-page .edu-hero-visual{min-height:325px}
  .cfi-content.company-page .edu-hero-visual img{width:min(100%,620px);max-height:430px;transform:translate(0,1%)}
}
@media(max-width:690px){
  .cfi-content.company-page .edu-top{background-position:74% center}
  .cfi-content.company-page .edu-top::before{background:linear-gradient(180deg,rgba(6,28,67,.78),rgba(6,28,67,.46) 34%,rgba(6,28,67,.16) 100%)}
  .cfi-content.company-page .edu-hero{min-height:0;padding:105px 0 0}
  .cfi-content.company-page .edu-hero-grid{grid-template-columns:1fr;gap:24px}
  .cfi-content.company-page .edu-hero h1{font-size:clamp(34px,8.8vw,46px);text-wrap:initial}
  .cfi-content.company-page .edu-hero-visual{min-height:0;justify-content:center;margin-top:0}
  .cfi-content.company-page .edu-hero-visual img{width:100%;max-width:520px;height:auto;max-height:none;transform:none}
  .cfi-content.company-page .edu-hero::after{display:none}
  .cfi-content.company-page .edu-audience-body{min-height:0}
  .cfi-content.company-page .edu-credential{min-height:215px}
}

/* Separate layers: foreground stays within its column; retain the professional behind it. */
.cfi-content.company-page .edu-top{background-position:center right}
.cfi-content.company-page .edu-hero-grid{grid-template-columns:minmax(0,1fr) minmax(0,1.08fr);gap:24px}
.cfi-content.company-page .edu-hero-visual{align-items:center;justify-content:flex-end;aspect-ratio:auto;min-height:0}
.cfi-content.company-page .edu-hero-visual img{width:100%;max-width:740px;max-height:none;height:auto!important;aspect-ratio:3/2;transform:translate(0,8%);object-fit:contain}
.cfi-content.company-page .edu-benefit:nth-child(4)>.icon{color:#88e9fd}
.cfi-content.company-page .edu-audiences .edu-section-heading{display:grid;grid-template-columns:1fr minmax(200px,330px);column-gap:36px;align-items:end}
.cfi-content.company-page .edu-audiences .kicker{grid-column:1/-1}
.cfi-content.company-page .edu-audiences .edu-section-heading h2{margin-bottom:0}
.cfi-content.company-page .edu-audiences .edu-section-heading p{border-left:1px solid #dce6f4;padding-left:22px;font-weight:600}
@media(max-width:930px){.cfi-content.company-page .edu-hero-grid{gap:12px}.cfi-content.company-page .edu-hero-visual img{transform:none}.cfi-content.company-page .edu-audiences .edu-section-heading{display:block}.cfi-content.company-page .edu-audiences .edu-section-heading p{border:0;padding:0;margin-top:12px}}
@media(max-width:690px){.cfi-content.company-page .edu-hero-grid{grid-template-columns:minmax(0,1fr);gap:24px}.cfi-content.company-page .edu-hero{padding-bottom:28px}.cfi-content.company-page .edu-top{background-position:75% center}.cfi-content.company-page .edu-top::before{background:linear-gradient(180deg,rgba(6,28,67,.97) 0%,rgba(6,28,67,.91) 50%,rgba(6,28,67,.28) 100%)}.cfi-content.company-page .edu-hero-visual{justify-content:center}.cfi-content.company-page .edu-hero-visual img{max-width:520px;transform:none}}
