/* =========================================================
   Hero — Figma 394:3599 (1720×677)
   Layers: striped bg + MBA watermark + people cutout + copy
   Form: absolute desktop right; outside banner ≤1024
   ========================================================= */

.heroSection {
  /* Banner shell */
  --hero-banner-h: clamp(420px, calc(420px + 257 * ((100vw - 1200px) / 720)), 677px);
  --hero-pad-x: clamp(20px, calc(20px + 29 * ((100vw - 1200px) / 720)), 49px);
  --hero-pad-y: clamp(20px, calc(20px + 17 * ((100vw - 1200px) / 720)), 37px);

  /* People — Figma 394:3602 @ x:515 y:48 w:687 h:628 / 1720×677 */
  --hero-people-left: 29.94%;
  --hero-people-top: 7.09%;
  --hero-people-w: 39.94%;
  --hero-people-h: 92.76%;

  /* Copy — Figma 394:3618 */
  --hero-copy-w: clamp(300px, calc(300px + 436 * ((100vw - 1200px) / 720)), 736px);
  --hero-copy-gap: clamp(24px, calc(24px + 16 * ((100vw - 1200px) / 720)), 40px);
  --hero-top-gap: clamp(12px, calc(12px + 4 * ((100vw - 1200px) / 720)), 16px);
  --hero-title-gap: 8px;
  --hero-badge-fs: clamp(18px, calc(18px + 14 * ((100vw - 1200px) / 720)), 32px);
  --hero-title-fs: clamp(44px, calc(44px + 34 * ((100vw - 1200px) / 720)), 78px);
  --hero-subtitle-fs: clamp(18px, calc(18px + 10 * ((100vw - 1200px) / 720)), 28px);
  --hero-program-fs: clamp(15px, calc(15px + 5 * ((100vw - 1200px) / 720)), 20px);
  --hero-program-gap: clamp(14px, calc(14px + 6 * ((100vw - 1200px) / 720)), 20px);
  --hero-program-w: clamp(260px, calc(260px + 230 * ((100vw - 1200px) / 720)), 490px);

  /* Form — right: 0 aligns with header Apply (same container content edge) */
  --hero-form-w: clamp(280px, calc(280px + 140 * ((100vw - 1200px) / 720)), 420px);
  --hero-form-h: clamp(460px, calc(460px + 160 * ((100vw - 1200px) / 720)), 620px);
  --hero-form-radius: clamp(12px, 1.2vw, 20px);
  --hero-form-right: 0;
  --hero-form-top: clamp(16px, calc(16px + 12 * ((100vw - 1200px) / 720)), 28px);

  position: relative;
  background: var(--color-white);
}

.heroShell {
  position: relative;
  width: 100%;
}

.heroBanner {
  position: relative;
  width: 100%;
  min-height: var(--hero-banner-h);
  border-radius: var(--radius-hero) var(--radius-hero) 0 0;
  overflow: hidden;
  background: #f3f3f3;
}

/* Figma 394:3600 — full-bleed striped bg (fill banner; no top gap) */
.heroBannerBg {
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  overflow: hidden;
  pointer-events: none;
  background: #f3f3f3;
}

.heroBgImage {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.heroBgOverlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.45);
}

/* Figma 394:3601 — MBA watermark */
.heroMbaWatermark {
  position: absolute;
  left: calc(100% * 1202 / 1720);
  top: calc(100% * 426 / 677);
  z-index: 1;
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(96px, calc(100vw * 239 / 1720), 239px);
  line-height: 1;
  color: transparent;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.5));
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: 4px 4px 20px rgba(255, 255, 255, 0.85);
  opacity: 0.7;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

/* Figma 394:3602 — people cutout */
.heroPeopleImage {
  position: absolute;
  left: var(--hero-people-left);
  top: var(--hero-people-top);
  width: var(--hero-people-w);
  height: var(--hero-people-h);
  z-index: 1;
  object-fit: contain;
  object-position: center bottom;
  pointer-events: none;
  user-select: none;
}

.heroBannerInner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  width: 100%;
  min-height: var(--hero-banner-h);
  padding: var(--hero-pad-y) var(--hero-pad-x);
}

.heroCopy {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--hero-copy-gap);
  width: min(100%, var(--hero-copy-w));
  max-width: calc(100% - var(--hero-form-w) - var(--hero-form-right) - 24px);
}

/* Figma 397:3663 — column gap 16 */
.heroCopyTop {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--hero-top-gap);
  width: 100%;
}

/* Figma 397:3664 — Fira SemiBold 32 / pad 10 / #B7202E */
.heroBadge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  background: var(--color-power-red);
  color: var(--color-white);
  font-family: "Fira Sans", sans-serif;
  font-weight: 600;
  font-size: var(--hero-badge-fs);
  padding: 10px;
  line-height: normal;
  white-space: nowrap;
}

/* Figma 397:3666 — column gap 8 */
.heroTitleBlock {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--hero-title-gap);
  width: 100%;
}

/* Figma 397:3667 — Marcellus 78 / lh 1.1 / uppercase / shadow */
.heroTitle {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--hero-title-fs);
  line-height: 1.1;
  color: var(--color-power-red);
  text-transform: uppercase;
  text-shadow: 0 0 25px var(--color-white);
  margin: 0;
  width: 100%;
  max-width: 100%;
}

/* Figma 397:3668 — Fira Regular 28 */
.heroSubtitle {
  font-family: "Fira Sans", sans-serif;
  font-weight: 400;
  font-size: var(--hero-subtitle-fs);
  color: var(--color-black);
  line-height: normal;
  margin: 0;
  width: 100%;
}

/* Figma 397:3669 — vertical stack, gap 20, width 490 */
.heroProgramList {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--hero-program-gap);
  width: min(100%, var(--hero-program-w));
}

.heroProgramList .accentListItem {
  display: flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  border-left: 3px solid var(--color-power-red);
  padding: 5px 10px;
}

.heroProgramList .accentListItem span {
  font-family: "Fira Sans", sans-serif;
  font-weight: 500;
  font-size: var(--hero-program-fs);
  color: var(--color-black);
  line-height: normal;
  white-space: nowrap;
}

/* ---------- Form widget — iframe enquiry ---------- */
.heroFormWidget {
  position: absolute;
  z-index: 5;
  top: var(--hero-form-top);
  right: var(--hero-form-right);
  width: var(--hero-form-w);
  height: var(--hero-form-h);
  max-height: calc(var(--hero-banner-h) - var(--hero-form-top) - 12px);
  border-radius: var(--hero-form-radius);
  background: #ffffff;
  box-shadow: 0 10px 36px rgba(35, 31, 32, 0.12);
  overflow: hidden;
}

.heroFormFrame {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  border: 0;
  background: #ffffff;
}

/* =========================================================
   Stats bar — Figma 5902:671
   ≥1201: desktop row with clamp | ≤1200: Swiper slider
   ========================================================= */
.statsBar {
  --stats-value-fs: clamp(28px, calc(28px + 12 * ((100vw - 1200px) / 720)), 40px);
  --stats-label-fs: clamp(13px, calc(13px + 3 * ((100vw - 1200px) / 720)), 16px);
  --stats-pad-y: clamp(14px, calc(14px + 6 * ((100vw - 1200px) / 720)), 20px);
  --stats-item-gap: 10px;

  background: var(--color-white);
  box-shadow: 0 0 22px var(--color-white);
  padding-block: var(--stats-pad-y);
  position: relative;
  z-index: 5;
}

.statsSwiper {
  width: 100%;
  overflow: hidden;
}

.statsBarScrollbar {
  display: none;
}

.statsBarGrid {
  display: flex;
  align-items: stretch;
  box-sizing: border-box;
}

.statsBarItem {
  display: flex;
  align-items: flex-start;
  gap: var(--stats-item-gap);
  color: var(--color-power-red);
  text-shadow: 0 0 25px var(--color-white);
  min-width: 0;
  padding-block: 10px;
  height: 100%;
}

.statsBarValue {
  font-family: "Fira Sans", sans-serif;
  font-weight: 500;
  font-size: var(--stats-value-fs);
  line-height: 1.1;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}

.statsBarLabel {
  font-family: "Fira Sans", sans-serif;
  font-weight: 400;
  font-size: var(--stats-label-fs);
  line-height: 1.5;
  max-width: 12em;
}

/* Desktop row (≥1201) — match Figma justify-between */
@media (min-width: 1201px) {
  .statsSwiper {
    overflow: visible;
  }

  .statsSwiper .statsBarGrid {
    display: flex;
    justify-content: space-between;
    gap: clamp(12px, 1.2vw, 24px);
    transform: none !important;
  }

  .statsSwiper .swiper-slide {
    width: auto !important;
    flex: 0 1 auto;
    margin: 0 !important;
  }
}

/* ≤1200 — slider; keep number + label side-by-side (desktop style) */
@media (max-width: 1200px) {
  .statsBar {
    --stats-value-fs: clamp(26px, 5.5vw, 34px);
    --stats-label-fs: clamp(13px, 2.8vw, 15px);
    --stats-pad-y: clamp(16px, 3vw, 24px);
  }

  .statsSwiper .swiper-slide {
    height: auto;
  }

  .statsBarItem {
    width: 100%;
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 4px;
  }

  .statsBarLabel {
    max-width: 12em;
  }
}

/* ≤768 only — number on top, label below + peek + scrollbar */
@media (max-width: 768px) {
  .statsBar {
    --stats-value-fs: clamp(18px, 4.6vw, 22px);
    --stats-label-fs: clamp(11px, 2.8vw, 13px);
    --stats-pad-y: clamp(14px, 3vw, 20px);
    padding-bottom: calc(var(--stats-pad-y) + 10px);
  }

  .statsSwiper {
    padding-bottom: 18px;
  }

  .statsSwiper .swiper-slide {
    overflow: hidden;
    box-sizing: border-box;
  }

  .statsBarItem {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 6px 10px 4px 0;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .statsBarValue {
    white-space: normal;
    flex-shrink: 1;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
    line-height: 1.15;
    letter-spacing: -0.02em;
  }

  .statsBarLabel {
    max-width: 100%;
    line-height: 1.3;
    padding-right: 4px;
  }

  /* Thin bottom scrollbar — hints more slides without clutter */
  .statsBarScrollbar.swiper-scrollbar {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    border-radius: 999px;
    background: rgba(183, 32, 46, 0.12);
    z-index: 2;
  }

  .statsBarScrollbar .swiper-scrollbar-drag {
    background: var(--color-power-red);
    border-radius: 999px;
    cursor: grab;
  }
}

/* =========================================================
   ≤1200: tighten form so it clears people
   ========================================================= */
@media (max-width: 1200px) {
  .heroSection {
    --hero-form-w: clamp(240px, 26vw, 340px);
    --hero-form-h: clamp(400px, 42vw, 520px);
    --hero-form-top: clamp(16px, 3vw, 28px);
    --hero-form-right: 0;
  }
}

/* =========================================================
   ≤1024: people right in banner; form outside banner below
   ========================================================= */
@media (max-width: 1024px) {
  .heroSection {
    --hero-banner-h: clamp(360px, 52vw, 480px);
    --hero-pad-x: clamp(20px, 3vw, 32px);
    --hero-pad-y: clamp(20px, 3vw, 28px);
    --hero-people-left: auto;
    --hero-people-w: clamp(46%, 42vw, 52%);
    --hero-people-h: 96%;
    --hero-people-top: 4%;
  }

  .heroBanner {
    overflow: hidden;
  }

  .heroBannerBg {
    border-radius: inherit;
  }

  .heroPeopleImage {
    left: auto;
    right: 0%;
  }

  .heroMbaWatermark {
    left: auto;
    right: 4%;
    font-size: clamp(72px, 14vw, 140px);
    top: auto;
    bottom: 4%;
  }

  .heroBannerInner {
    align-items: flex-start;
    padding-top: clamp(24px, 3.5vw, 36px);
  }

  .heroCopy {
    position: relative;
    z-index: 3;
    max-width: none;
    width: min(62%, var(--hero-copy-w));
  }

  /* Outside heroBanner — centered below */
  .heroFormWidget {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    display: block;
    width: 300px;
    max-width: calc(100% - 32px);
    height: clamp(32rem, 64vw, 38rem);
    max-height: none;
    min-height: clamp(32rem, 64vw, 38rem);
    margin: clamp(20px, 3vw, 28px) auto clamp(12px, 2vw, 20px);
  }

  .heroFormFrame {
    min-height: 100%;
  }
}

@media (max-width: 1024px) and (min-width: 769px) {
  .heroSection {
    --hero-people-w: 48%;
  }

  .heroCopy {
    width: min(55%, 420px);
  }
}

/* =========================================================
   Mobile ≤768 — flow: content → people → form
   ========================================================= */
@media (max-width: 768px) {
  .heroSection {
    --hero-banner-h: auto;
    --hero-pad-x: clamp(16px, 4vw, 24px);
    --hero-pad-y: clamp(20px, 4vw, 28px);
    --hero-copy-gap: clamp(16px, 3.5vw, 24px);
    --hero-top-gap: 12px;
    --hero-badge-fs: clamp(14px, 3.8vw, 18px);
    --hero-title-fs: clamp(28px, 8.2vw, 40px);
    --hero-subtitle-fs: clamp(15px, 4vw, 18px);
    --hero-program-fs: clamp(14px, 3.6vw, 16px);
    --hero-program-gap: 12px;
    --hero-program-w: 100%;
  }

  .heroBanner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
    height: auto;
    overflow: hidden;
    border-radius: 24px 24px 0 0;
  }

  .heroBannerBg {
    border-radius: inherit;
  }

  .heroMbaWatermark {
    display: none;
  }

  .heroBannerInner {
    position: relative;
    z-index: 2;
    order: 1;
    flex: 0 0 auto;
    min-height: 0;
    width: 100%;
    padding: var(--hero-pad-y) var(--hero-pad-x) clamp(8px, 2vw, 16px);
  }

  .heroCopy {
    max-width: none;
    width: 100%;
    gap: var(--hero-copy-gap);
  }

  .heroBadge {
    white-space: normal;
    max-width: 100%;
    text-align: center;
  }

  .heroTitle {
    font-size: var(--hero-title-fs);
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .heroSubtitle {
    max-width: 100%;
  }

  .heroProgramList {
    width: 100%;
  }

  .heroProgramList .accentListItem span {
    white-space: normal;
  }

  /* People below copy (in-flow) */
  .heroPeopleImage {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    order: 2;
    z-index: 1;
    display: block;
    width: min(88%, 340px);
    height: auto;
    max-height: none;
    aspect-ratio: 687 / 628;
    margin: 0 auto clamp(8px, 2vw, 16px);
    object-fit: contain;
    object-position: center bottom;
  }

  .heroFormWidget {
    width: min(300px, calc(100% - 32px));
    height: clamp(30rem, 95vw, 36rem);
    min-height: clamp(30rem, 95vw, 36rem);
    margin-top: clamp(16px, 4vw, 24px);
    margin-bottom: clamp(12px, 3vw, 20px);
  }
}

@media (max-width: 450px) {
  .heroSection {
    --hero-title-fs: clamp(26px, 9vw, 34px);
    --hero-badge-fs: clamp(13px, 3.6vw, 15px);
  }

  .heroBadge {
    padding: 8px;
  }

  .heroPeopleImage {
    width: min(92%, 300px);
  }
}
