/* =====================================================
   CAMPUS FEH – CAPA ACADÉMICA
===================================================== */

.feh-course-academic{
  width:100%;
  max-width:1180px;
  margin:0 auto;
  color:#0F172A;
}

.feh-course-hero{
  position:relative;
  overflow:hidden;
  min-height:440px;
  display:flex;
  align-items:flex-end;
  padding:54px;
  border-radius:32px;
  background-size:cover;
  background-position:center;
  box-shadow:0 24px 54px rgba(15,23,42,.16);
}

.feh-course-hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(
      90deg,
      rgba(7,20,38,.72),
      rgba(7,20,38,.12)
    );
}

.feh-course-hero__content{
  position:relative;
  z-index:2;
  max-width:860px;
}

.feh-course-hero__badge,
.feh-course-hero__code{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:36px;
  padding:0 14px;
  margin:0 8px 14px 0;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.22);
  background:rgba(255,255,255,.14);
  color:#fff;
  font-size:.84rem;
  font-weight:800;
}

.feh-course-hero h1{
  max-width:900px;
  margin:0 0 16px;
  color:#fff !important;
  font-size:clamp(2.3rem,4vw,4.7rem);
  line-height:1.02;
  font-weight:900;
  letter-spacing:-.045em;
}

.feh-course-hero p{
  max-width:760px;
  margin:0 0 24px;
  color:rgba(255,255,255,.92) !important;
  font-size:1.08rem;
  line-height:1.8;
}

/* Datos rápidos */

.feh-course-facts{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}

.feh-course-fact{
  min-width:120px;
  padding:13px 16px;
  border-radius:16px;
  background:rgba(255,255,255,.13);
  border:1px solid rgba(255,255,255,.18);
}

.feh-course-fact span{
  display:block;
  margin-bottom:4px;
  color:rgba(255,255,255,.72);
  font-size:.76rem;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.05em;
}

.feh-course-fact strong{
  display:block;
  color:#fff;
  font-size:.98rem;
  font-weight:900;
}

/* Secciones */

.feh-academic-sections{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:24px;
  margin-top:34px;
}

.feh-academic-section{
  display:grid;
  grid-template-columns:58px 1fr;
  gap:18px;
  padding:28px;
  background:#fff;
  border:1px solid #E2E8F0;
  border-radius:24px;
  box-shadow:0 14px 34px rgba(15,23,42,.06);
}

.feh-academic-section__icon{
  width:58px;
  height:58px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:18px;
  background:
    linear-gradient(
      135deg,
      rgba(15,105,180,.12),
      rgba(235,60,70,.10)
    );
  font-size:1.4rem;
}

.feh-academic-section h3{
  margin:2px 0 10px;
  color:#0F172A !important;
  font-size:1.28rem;
  font-weight:900;
}

.feh-academic-section p,
.feh-academic-section li{
  color:#64748B;
  line-height:1.75;
}

.feh-academic-section ul{
  margin:0;
  padding-left:20px;
}

.feh-academic-section li + li{
  margin-top:7px;
}

/* Finalización */

.feh-course-completion{
  max-width:1180px;
  margin:34px auto;
  padding:54px 30px;
  border-radius:30px;
  text-align:center;
  background:
    linear-gradient(
      135deg,
      rgba(15,105,180,.96),
      rgba(7,20,38,.97)
    );
  box-shadow:0 24px 52px rgba(15,23,42,.14);
}

.feh-course-completion__badge{
  display:inline-flex;
  min-height:36px;
  align-items:center;
  padding:0 14px;
  border-radius:999px;
  background:rgba(255,255,255,.14);
  border:1px solid rgba(255,255,255,.18);
  color:#fff;
  font-weight:800;
}

.feh-course-completion h2{
  margin:18px 0 12px;
  color:#fff !important;
  font-size:clamp(2rem,4vw,3.5rem);
  font-weight:900;
}

.feh-course-completion p{
  max-width:760px;
  margin:0 auto 24px;
  color:rgba(255,255,255,.9) !important;
  line-height:1.8;
}

.feh-course-completion__actions{
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:14px;
}

.feh-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:50px;
  padding:0 24px;
  border-radius:999px;
  text-decoration:none !important;
  font-weight:900;
}

.feh-btn--primary{
  background:#EB3C46;
  color:#fff !important;
}

.feh-btn--outline{
  border:1px solid rgba(255,255,255,.45);
  color:#fff !important;
  background:transparent;
}

@media(max-width:900px){
  .feh-academic-sections{
    grid-template-columns:1fr;
  }

  .feh-course-hero{
    min-height:380px;
    padding:36px 26px;
  }
}

@media(max-width:600px){
  .feh-course-hero{
    min-height:420px;
    padding:28px 20px;
    border-radius:24px;
  }

  .feh-course-fact{
    width:calc(50% - 6px);
    box-sizing:border-box;
  }

  .feh-academic-section{
    grid-template-columns:1fr;
    padding:22px;
  }
}

/* =====================================================
   CONTRASTE FORZADO HERO ACADÉMICO
===================================================== */

.feh-course-academic .feh-course-hero,
.feh-course-academic .feh-course-hero__content{
  color:#ffffff !important;
}

.feh-course-academic .feh-course-hero h1,
.feh-course-academic .feh-course-hero h2,
.feh-course-academic .feh-course-hero h3,
.feh-course-academic .feh-course-hero p,
.feh-course-academic .feh-course-hero span,
.feh-course-academic .feh-course-hero strong{
  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important;
}

.feh-course-academic .feh-course-hero__badge,
.feh-course-academic .feh-course-hero__code{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  min-height:36px !important;
  padding:0 14px !important;
  margin:0 8px 14px 0 !important;
  border-radius:999px !important;
  background:rgba(255,255,255,.14) !important;
  border:1px solid rgba(255,255,255,.24) !important;
  color:#ffffff !important;
}

.feh-course-academic .feh-course-fact{
  background:rgba(255,255,255,.14) !important;
  border:1px solid rgba(255,255,255,.20) !important;
}

.feh-course-academic .feh-course-fact span{
  color:rgba(255,255,255,.75) !important;
  -webkit-text-fill-color:rgba(255,255,255,.75) !important;
}

.feh-course-academic .feh-course-fact strong{
  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important;
}