/*
|--------------------------------------------------------------------------
| Mínimos agregados a la plantilla Grace (assets/css/style.css no se tocó).
| Logo en texto, logos de empresas en texto y la ventana de pago con Yape.
|--------------------------------------------------------------------------
*/

/* Logo en texto (reemplázalo por tu imagen cuando la tengas) */
.m_logo {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #202020;
}
.m_logo_light {
  color: #fffcfc;
}

/* Nombre de empresa mientras no subas su logo */
.m_brand_text {
  font-size: 34px;
  font-weight: 600;
  white-space: nowrap;
  color: #fffcfc;
}
@media (max-width: 991px) {
  .m_brand_text {
    font-size: 24px;
  }
}

/* Ventana de pago con Yape */
.m_modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.m_modal.is-open {
  display: flex;
}
.m_modal_bg {
  position: absolute;
  inset: 0;
  background: rgba(32, 32, 32, 0.7);
}
.m_modal_box {
  position: relative;
  width: 100%;
  max-width: 440px;
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  padding: 40px 30px;
  background: #fffcfc;
  text-align: center;
}
.m_modal_close {
  position: absolute;
  top: 10px;
  right: 16px;
  border: 0;
  background: none;
  font-size: 32px;
  line-height: 1;
}
.m_qr {
  width: 220px;
  height: 220px;
  margin: 0 auto;
}
.m_qr img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.m_qr.is-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(105, 198, 241, 0.25);
  font-size: 13px;
}
.m_qr.is-empty::after {
  content: 'Sube tu QR en assets/img/marca/yape-qr.png';
  padding: 20px;
}

/* Temario de 6 sesiones: dos filas de tres */
.cs_stapes.m_stapes_6 {
  flex-wrap: wrap;
  row-gap: 60px;
}
.cs_stapes.m_stapes_6 .cs_step {
  flex: 0 0 calc((100% - 70px) / 3);
  min-width: 0;
}
.m_step_text {
  margin-top: 16px;
}
@media (max-width: 991px) {
  .cs_stapes.m_stapes_6 .cs_step {
    flex-basis: 100%;
  }
}
