/* ============================================================
   MFI INVESTMENTS — WHY MFI PAGE (NARRATIVE REDESIGN)
   ============================================================ */

.mfi-pillars-container {
  background: var(--color-navy);
  color: var(--color-white-pure);
  padding: 0;
  overflow: hidden;
}

/* ── Z-Pattern Flex Rows ── */
.mfi-pillar-row {
  display: flex;
  align-items: center;
  min-height: 80vh;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mfi-pillar-row:last-child {
  border-bottom: none;
}

/* Reverse the flex direction for every other row to create Z-pattern */
.reverse-row {
  flex-direction: row-reverse;
}

/* ── Image Column ── */
.pillar-image-col {
  flex: 1;
  height: 100%;
  min-height: 80vh;
  position: relative;
  overflow: hidden;
}

.pillar-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.mfi-pillar-row:hover .pillar-img {
  transform: scale(1.05);
}

.pillar-image-col::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(10,22,40,0.4) 0%, transparent 100%);
}

/* ── Text Column ── */
.pillar-text-col {
  flex: 1;
  padding: 6rem;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Huge background number */
.pillar-huge-number {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: 25rem;
  font-weight: 900;
  color: var(--color-gold);
  opacity: 0.03;
  line-height: 1;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}

.pillar-content-box {
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin: 0 auto;
}

.pillar-title {
  font-size: var(--fs-h2);
  color: var(--color-white-pure);
  margin-bottom: 1.5rem;
  line-height: var(--lh-tight);
}

.pillar-content-box .divider {
  background-color: var(--color-gold);
  margin-bottom: 2rem;
}

.pillar-content-box p {
  font-size: var(--fs-body-lg);
  color: rgba(255, 255, 255, 0.8);
  line-height: var(--lh-relaxed);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .mfi-pillar-row {
    flex-direction: column;
    min-height: auto;
  }
  .reverse-row {
    flex-direction: column;
  }
  .pillar-image-col {
    width: 100%;
    min-height: 400px;
    height: 400px;
  }
  .pillar-text-col {
    width: 100%;
    padding: 4rem 2rem;
  }
  .pillar-huge-number {
    font-size: 15rem;
  }
}
