/* Academy v3 — educator-led, reference-driven and specific to the training category. */
.hero {
  min-height: 850px;
  background: #0d2d22;
  isolation: isolate;
}

.hero-bg {
  background-image: url("../images/instructor-hero-v3.png");
  background-position: center;
  background-size: cover;
  filter: saturate(.88) contrast(1.05);
}

.hero-bg::after {
  background:
    linear-gradient(90deg, rgba(7,26,19,.08) 0%, rgba(7,26,19,.16) 42%, rgba(7,26,19,.91) 72%, #071a13 100%),
    linear-gradient(180deg, rgba(7,26,19,.08), rgba(7,26,19,.56));
}

.instructor-hero-image {
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 1;
  width: 68%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
  filter: saturate(.86) contrast(1.04);
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 62%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 0%, #000 62%, transparent 100%);
}

.hero-inner {
  min-height: 850px;
  grid-template-columns: 1fr;
  justify-items: end;
  position: relative;
  z-index: 2;
}

.hero-inner .hero-content {
  width: min(54vw, 690px);
  padding: 138px 0 110px;
  text-align: right;
}

.hero-badge {
  border: 0;
  border-radius: 0;
  padding: 0 0 14px;
  background: transparent;
  color: #e6bf5b;
  font-size: .82rem;
  letter-spacing: .04em;
  border-bottom: 1px solid rgba(230,191,91,.36);
}

.hero-badge::before { display: none; }

.hero h1 {
  max-width: 11.5ch;
  margin: 24px 0;
  font-size: clamp(4rem, 6.6vw, 7.4rem);
  line-height: .98;
  letter-spacing: -.055em;
}

.hero h1 em { color: #e0b444; }

.hero p {
  max-width: 52ch;
  margin: 0 0 34px;
  color: rgba(255,255,255,.73);
  font-size: 1.05rem;
  line-height: 2;
}

.hero-actions .btn-primary,
.hero-actions .btn-ghost {
  min-height: 60px;
  border-radius: 4px;
  padding-inline: 28px;
}

.hero-instructor-proof {
  position: absolute;
  left: 4%;
  bottom: 46px;
  z-index: 3;
  min-width: 275px;
  padding: 18px 22px;
  display: grid;
  gap: 2px;
  direction: rtl;
  border-right: 3px solid #e0b444;
  background: rgba(7,26,19,.72);
  color: #fff;
  backdrop-filter: blur(10px);
}

.hero-instructor-proof span,
.hero-instructor-proof small { color: rgba(255,255,255,.62); }
.hero-instructor-proof strong { font-size: 1.2rem; }
.hero-scroll { display: none; }

.stats-bar {
  position: relative;
  z-index: 4;
  margin-top: -1px;
  background: #e2b746;
}

.stats-bar-inner {
  max-width: none;
  padding-inline: 6%;
}

.stats-bar .stat-item { border-color: rgba(13,45,34,.18); }
.stats-bar .stat-num,
.stats-bar .stat-label { color: #0d2d22; }

@media (max-width: 980px) {
  .hero-bg { background-position: 33% center; }
  .hero-bg::after {
    background:
      linear-gradient(180deg, rgba(7,26,19,.1) 0%, rgba(7,26,19,.7) 54%, #071a13 82%),
      linear-gradient(90deg, rgba(7,26,19,.1), rgba(7,26,19,.42));
  }
  .hero-inner { align-items: end; }
  .instructor-hero-image {
    width: 100%;
    height: 62%;
    object-position: 30% top;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 62%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 0%, #000 62%, transparent 100%);
  }
  .hero-inner .hero-content {
    width: 100%;
    padding: 410px 0 80px;
  }
  .hero h1 { max-width: 12ch; font-size: clamp(3.3rem, 9vw, 5.3rem); }
  .hero-instructor-proof { top: 150px; bottom: auto; left: 5%; }
}

@media (max-width: 620px) {
  .hero,
  .hero-inner { min-height: 840px; }
  .hero-bg { background-position: 28% top; background-size: auto 57%; background-repeat: no-repeat; }
  .instructor-hero-image { height: 56%; object-position: 27% top; }
  .hero-inner .hero-content { padding: 390px 0 64px; }
  .hero h1 { font-size: clamp(2.8rem, 13vw, 4rem); }
  .hero p { font-size: .94rem; line-height: 1.85; }
  .hero-instructor-proof {
    top: 270px;
    left: 5%;
    min-width: 220px;
    padding: 12px 16px;
  }
}
