.mpf-section {
  --mpf-section-height: 760px;
  background: #f6f6f6;
  padding: 42px 0 56px;
}

.mpf-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 28px;
}

.mpf-header {
  text-align: center;
  margin: 0 0 26px;
}

.mpf-subtitle {
  color: #d05647;
  font-size: 18px;
  line-height: 1.2;
  margin-bottom: 10px;
}

.mpf-title {
  margin: 0;
  color: #17171b;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 0.96;
  font-size: clamp(34px, 4.8vw, 78px);
}

.mpf-layout {
  display: grid;
  grid-template-columns: minmax(250px, 1fr) auto minmax(250px, 1fr);
  align-items: stretch;
  gap: 28px;
  min-height: calc(var(--mpf-section-height) - 130px);
}

.mpf-layout--no-image {
  grid-template-columns: 1fr 1fr;
}

.mpf-side {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  gap: 24px;
}

.mpf-feature {
  display: flex;
  align-items: center;
  gap: 20px;
}

.mpf-feature--left {
  justify-content: flex-end;
}

.mpf-feature--left .mpf-feature__text {
  text-align: right;
}

.mpf-feature--right {
  justify-content: flex-start;
}

.mpf-feature__text {
  max-width: 360px;
}

.mpf-feature__title {
  margin: 0 0 14px;
  font-size: 24px;
  line-height: 1.12;
  text-transform: uppercase;
  font-weight: 800;
  color: #1a1a1f;
}

.mpf-feature__description {
  color: #6f6f75;
  font-size: 16px;
  line-height: 1.65;
}

.mpf-feature__icon-wrap {
  width: clamp(78px, 6vw, 100px);
  height: clamp(78px, 6vw, 100px);
  min-width: clamp(78px, 6vw, 100px);
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.02);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mpf-feature__icon[class*='material-symbols-'] {
  color: #d05647;
  font-size: clamp(34px, 2.8vw, 48px);
  line-height: 1;
  font-variation-settings: 'FILL' 0, 'wght' var(--mpf-icon-weight, 300), 'GRAD' 0, 'opsz' 24;
}

.mpf-center {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-width: 0;
  min-height: 100%;
}

.mpf-image {
  display: block;
  height: calc(var(--mpf-section-height) - 180px);
  width: auto;
  max-width: min(100%, 620px);
  object-fit: contain;
  object-position: center bottom;
}

@media (max-width: 1199px) {
  .mpf-layout {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .mpf-layout--no-image {
    grid-template-columns: 1fr;
  }

  .mpf-center {
    order: -1;
  }

  .mpf-side {
    gap: 18px;
  }

  .mpf-feature,
  .mpf-feature--left,
  .mpf-feature--right {
    justify-content: center;
  }

  .mpf-feature--left,
  .mpf-feature--right {
    flex-direction: row;
  }

  .mpf-feature--left .mpf-feature__text,
  .mpf-feature--right .mpf-feature__text {
    text-align: left;
  }

  .mpf-image {
    height: auto;
    max-height: min(55vh, 520px);
  }
}

@media (max-width: 767px) {
  .mpf-section {
    padding: 30px 0 40px;
  }

  .mpf-container {
    padding: 0 16px;
  }

  .mpf-header {
    margin-bottom: 22px;
  }

  .mpf-feature {
    align-items: flex-start;
  }

  .mpf-feature__icon-wrap {
    width: 68px;
    height: 68px;
    min-width: 68px;
  }

  .mpf-feature__title {
    margin-bottom: 8px;
  }
}
