/* ============================================================
   BOOKING MODAL — ChurchSuite iframe container
   ============================================================ */

/* ── Overlay ── */
.booking-modal-overlay {
  position: fixed; inset: 0;
  background: rgba(10,20,35,.75);
  z-index: 1001;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; visibility: hidden;
  transition: opacity .3s var(--ease), visibility .3s var(--ease);
}
.booking-modal-overlay.open { opacity: 1; visibility: visible; }

/* ── Panel ── */
.booking-modal-card {
  background: var(--wh);
  border-radius: 16px;
  width: 100%; max-width: 820px; max-height: 92vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  box-shadow: 0 24px 64px rgba(30,58,82,.35);
  transform: translateY(20px);
  transition: transform .35s var(--ease);
}
.booking-modal-overlay.open .booking-modal-card { transform: translateY(0); }

/* ── Header ── */
.booking-modal-header {
  position: sticky; top: 0; z-index: 10;
  background: var(--pb);
  padding: 16px 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  border-radius: 16px 16px 0 0;
}
.booking-modal-header h3 {
  font-family: var(--ft); font-size: 1.3rem;
  text-transform: uppercase; letter-spacing: .5px;
  color: var(--wh); margin: 0; line-height: 1;
}

/* ── Close button ── */
.booking-modal-close {
  background: rgba(255,255,255,.15);
  border: none; color: var(--wh);
  width: 36px; height: 36px; border-radius: 50%;
  font-size: 1.2rem; line-height: 1;
  cursor: pointer; transition: background .2s;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; touch-action: manipulation;
}
.booking-modal-close:hover { background: rgba(255,255,255,.28); }
.booking-modal-close:focus-visible { outline: 3px solid var(--py); outline-offset: 2px; }

/* ── Embed body ── */
.booking-modal-body { padding: 0; }
.booking-modal-body iframe {
  width: 100%; border: none; display: block;
  min-height: 600px;
}

/* ── Hero book button — desktop in hero, mobile below hero ── */
.mobile-book-btn-wrap { display: none; padding: 0 20px 20px; }
.mobile-book-btn-wrap .btn { width: 100%; justify-content: center; }

@media (max-width: 768px) {
  .hero-book-btn        { display: none !important; }
  .mobile-book-btn-wrap { display: block; }
}

/* ── Mobile modal ── */
@media (max-width: 600px) {
  .booking-modal-overlay { padding: 0; align-items: flex-end; }
  .booking-modal-card {
    border-radius: 18px 18px 0 0;
    max-height: 94vh;
    max-width: 100%;
  }
  .booking-modal-header { border-radius: 18px 18px 0 0; padding: 14px 18px; }
  .booking-modal-close  { width: 44px; height: 44px; font-size: 1.4rem; }
  .booking-modal-body iframe { min-height: 480px; }
}
