body.modal-open { overflow: hidden; }

.schedule-modal[hidden] { display: none; }
.schedule-modal {
  position: fixed;
  z-index: 2147483600;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 32px;
  background: rgba(9,49,47,.72);
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity .3s ease;
}
.schedule-modal.is-open { opacity: 1; }
.schedule-modal-panel {
  position: relative;
  width: min(1080px, 100%);
  max-height: calc(100vh - 64px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 24px;
  background: white;
  box-shadow: 0 30px 90px rgba(4,43,40,.3);
  overflow: auto;
  opacity: 0;
  transform: translateX(-52px);
  transition: opacity .42s ease, transform .55s cubic-bezier(.22,1,.36,1);
}
.schedule-modal.is-open .schedule-modal-panel { opacity: 1; transform: translateX(0); }
.schedule-modal-close {
  position: absolute;
  z-index: 2;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255,255,255,.94);
  color: var(--ink);
  box-shadow: 0 8px 22px rgba(27,77,73,.12);
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 27px;
  line-height: 1;
  transition: color .2s, background .2s, transform .2s;
}
.schedule-modal-close:hover { background: var(--teal-dark); color: white; transform: rotate(5deg); }
.schedule-modal-close:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.schedule-choice { min-width: 0; }
.schedule-choice-private { display: flex; flex-direction: column; border-right: 1px solid var(--line); background: var(--mint-light); }
.schedule-choice-private > img { width: 100%; height: auto; display: block; aspect-ratio: 2 / 1; object-fit: cover; }
.schedule-choice-action { flex: 1; display: flex; align-items: center; justify-content: center; padding: 28px; border-top: 1px solid var(--line); background: linear-gradient(135deg, white, var(--mint-light)); }
.schedule-choice-action .button { width: min(100%, 315px); padding-inline: 22px; text-align: center; }
.schedule-choice-plans { display: flex; flex-direction: column; justify-content: center; padding: 40px 42px; background: white; }
.schedule-choice-heading { margin-bottom: 24px; padding-right: 45px; }
.schedule-choice-heading .eyebrow { margin-bottom: 10px; font-size: 10px; }
.schedule-choice-heading h3 { color: var(--ink); font-size: clamp(26px, 3vw, 36px); line-height: 1.08; letter-spacing: -1.2px; }
.schedule-plan-logos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 25px; }
.schedule-plan-logos > div { height: 78px; display: grid; place-items: center; padding: 14px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--mint-light); overflow: hidden; }
.schedule-plan-logos img { width: 100%; height: 100%; max-width: 145px; max-height: 52px; object-fit: contain; }
.schedule-logo-porto img { transform: scale(2.55); }
.schedule-logo-careplus img { mix-blend-mode: multiply; transform: scale(2); }
.schedule-choice-plans > .button { align-self: center; min-width: 240px; }

@media (prefers-reduced-motion: reduce) {
  .schedule-modal, .schedule-modal-panel { transition-duration: .01ms; }
}
