/* Fixed common UI: approved floating consultation benefit CTA. Do not change unless requested. */
body {
  padding-bottom: 150px;
}

.floating-benefit {
  position: fixed;
  right: 50%;
  bottom: calc(16px + env(safe-area-inset-bottom));
  z-index: 990;
  width: min(460px, calc(100% - 40px));
  display: grid;
  justify-items: center;
  gap: 10px;
  transform: translateX(50%);
  animation: floating-benefit-bob 2.8s ease-in-out infinite;
  pointer-events: none;
}

.floating-benefit__bubble {
  position: relative;
  min-height: 36px;
  padding: 8px 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #050505;
  color: #fff;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.18);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
  pointer-events: auto;
}

.floating-benefit__bubble::after {
  content: "";
  position: absolute;
  right: 30%;
  bottom: -9px;
  width: 18px;
  height: 18px;
  background: #050505;
  transform: rotate(45deg);
}

.floating-benefit__bubble strong {
  color: #fff25d;
}

.floating-benefit__button {
  width: 100%;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: #39aee4;
  color: #fff;
  box-shadow: 0 16px 34px rgba(57, 174, 228, 0.28);
  font-size: 19px;
  font-weight: 900;
  line-height: 1;
  pointer-events: auto;
}

.floating-benefit__button:focus-visible {
  outline: 3px solid rgba(242, 140, 40, 0.46);
  outline-offset: 3px;
}

.floating-contact {
  bottom: 130px;
}

@keyframes floating-benefit-bob {
  0%,
  100% {
    transform: translate(50%, 0);
  }

  50% {
    transform: translate(50%, -6px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .floating-benefit {
    animation: none;
  }
}

@media (max-width: 760px) {
  body {
    padding-bottom: 142px;
  }

  .floating-benefit {
    width: min(342px, calc(100% - 32px));
    bottom: calc(12px + env(safe-area-inset-bottom));
    gap: 8px;
  }

  .floating-benefit__bubble {
    min-height: 34px;
    padding: 8px 16px;
    font-size: 13px;
  }

  .floating-benefit__button {
    min-height: 48px;
    border-radius: 12px;
    font-size: 17px;
  }

  .floating-contact {
    bottom: calc(112px + env(safe-area-inset-bottom));
  }
}
