/*
 * Meridian School: floating WhatsApp and Call buttons
 * Same placement as the previous website: bottom right, stacked above the Niaa chatbot launcher.
 * Added by js/floating-contact.js
 */
.fc-btn {
  position: fixed;
  right: 15px;
  z-index: 90;               /* above page content, below the header, menu and pop-ups */
  display: block;
  width: 53px;
  height: 53px;
  border-radius: 50%;
  line-height: 0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .25);
  transition: transform .2s ease, opacity .2s ease, visibility .2s;
  -webkit-tap-highlight-color: transparent;
}
.fc-btn img { width: 53px; height: 53px; display: block; border-radius: 50%; }
.fc-whatsapp { bottom: 190px; }
.fc-call { bottom: 120px; }

.fc-btn:hover { transform: scale(1.08); }
.fc-btn:focus-visible { outline: 3px solid #0f172a; outline-offset: 3px; }

/* hidden while the mobile menu or a pop-up is open */
.fc-hidden .fc-btn { opacity: 0; visibility: hidden; pointer-events: none; }

/* short screens (phones turned sideways): sit closer to the bottom */
@media (max-height: 520px) {
  .fc-whatsapp { bottom: 120px; }
  .fc-call { bottom: 62px; }
}

@media (prefers-reduced-motion: reduce) {
  .fc-btn { transition: none; }
  .fc-btn:hover { transform: none; }
}

@media print { .fc-btn { display: none !important; } }
