/* Home mobile — fixed bottom quiz CTAs (IT-style bottom-nav) */
.mfx-home-mobile-quiz-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1025;
  margin: 0;
  padding: 0;
  padding-bottom: env(safe-area-inset-bottom, 0);
  min-height: 40px;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.12);
}

@media (max-width: 852px) {
  .mfx-home-mobile-quiz-bar {
    display: flex;
  }

  body.mfx-page-home {
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }

  body.mfx-page-home .main-wrapper {
    padding-bottom: calc(40px + env(safe-area-inset-bottom, 0px));
  }

  body.mfx-page-home .mfx-contact-float {
    bottom: calc(48px + env(safe-area-inset-bottom, 0px)) !important;
    top: auto !important;
    transform: none !important;
  }

  body.mfx-page-home .mst-home-hero-mobile__ctas {
    bottom: max(12%, calc(48px + env(safe-area-inset-bottom, 0px)));
  }
}

.mfx-home-mobile-quiz-bar__btn {
  flex: 1 1 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  padding: 5px 8px;
  box-sizing: border-box;
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 2px;
  border: none;
  transition: opacity 0.2s ease;
}

.mfx-home-mobile-quiz-bar__btn:hover,
.mfx-home-mobile-quiz-bar__btn:focus {
  color: #fff;
  opacity: 0.92;
  text-decoration: underline;
}

.mfx-home-mobile-quiz-bar__btn--left {
  background-color: #5c6d7c;
}

.mfx-home-mobile-quiz-bar__btn--right {
  background-color: #4a5864;
}

.mfx-home-mobile-quiz-bar__icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  filter: brightness(0) invert(1);
}

@media (max-width: 380px) {
  .mfx-home-mobile-quiz-bar__btn {
    font-size: 9px;
    padding: 5px 5px;
    gap: 4px;
  }

  .mfx-home-mobile-quiz-bar__icon {
    width: 14px;
    height: 14px;
  }
}
