.btn-mg {
  background: linear-gradient(135deg, #247a4b, #13858b);
  color: #fff;
  border: 0;
  border-radius: 999px;
  font-weight: 900;
  padding: 0.85rem 1.25rem;
}

.btn-mg:hover,
.btn-mg:focus {
  color: #fff;
}

.btn-outline-mg {
  border: 1px solid #0b3765;
  color: #0b3765;
  border-radius: 999px;
  font-weight: 800;
  padding: 0.8rem 1.15rem;
}

.btn-outline-mg:hover,
.btn-outline-mg:focus {
  color: #0b3765;
}

.message-box {
  padding: 1.2rem;
  border-radius: 24px;
  background: #f5f9fc;
}

.messenger-sidebar {
  position: fixed;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1030 !important;
  display: grid;
  gap: 0.75rem;
}

.side-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #0084ff;
  color: #fff;
  font-size: 1.55rem;
  text-decoration: none;
  box-shadow: 0 16px 32px rgba(0, 132, 255, 0.32);
}

.sticky-book-side {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  background: #247a4b;
  color: #fff;
  border-radius: 999px;
  padding: 1rem 0.75rem;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 16px 32px rgba(36, 122, 75, 0.28);
}

.floating-cta {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 1030 !important;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(24px);
  transition: 0.3s ease;
}

.floating-cta.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.floating-cta a {
  border-radius: 999px;
  padding: 0.78rem 0.75rem;
  text-align: center;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 14px 28px rgba(6, 29, 53, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

.floating-messenger::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(0, 132, 255, 0.4);
  animation: pulse 1.5s infinite;
  z-index: -1;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  70% {
    transform: scale(1.6);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

.call-btn {
  background: #fff;
  color: #0b3765;
  border: 1px solid rgba(11, 55, 101, 0.12);
}

.book-btn {
  background: #247a4b;
  color: #fff;
}

.mobile-messenger {
  position: fixed;
  right: 1rem;
  bottom: 5.7rem;
  z-index: 1030 !important;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #0084ff;
  color: #fff;
  font-size: 1.55rem;
  text-decoration: none;
  box-shadow: 0 16px 32px rgba(0, 132, 255, 0.32);
}

@media (min-width: 768px) {
  .mobile-messenger {
    display: none !important;
  }

  .floating-cta {
    display: none !important;
  }

  .messenger-sidebar {
    display: grid !important;
  }
}

@media (max-width: 767px) {
  .messenger-sidebar {
    display: none !important;
  }

  .floating-cta {
    display: grid !important;
  }
}