/* Booking page: one full screen, navy, no footer */
.book-page { background: var(--navy); }
.stage { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: 1fr minmax(0, 620px); gap: clamp(2rem, 6vw, 6rem); align-items: center; min-height: calc(100svh - 77px); padding: clamp(2rem, 5vh, 4rem) max(20px, calc((100% - 1200px) / 2)); color: #C9D6E3; background: radial-gradient(900px 620px at 18% 30%, rgba(4, 173, 237, .34), transparent 70%), radial-gradient(700px 500px at 95% 100%, rgba(255, 201, 60, .12), transparent 70%), var(--navy); }
.stage::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255, 255, 255, .08) 1.2px, transparent 1.6px); background-size: 24px 24px; }

.stage__intro h1 { color: #fff; font-size: clamp(2.8rem, 5.6vw, 4.8rem); margin-bottom: .4em; }
.stage__intro h1 span { color: var(--blue); }
.stage__intro p { font-size: 1.2rem; line-height: 1.5; max-width: 22em; }
.stage__facts { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin: 2rem 0 0; padding: 0; }
.stage__facts li { padding: .4em .9em; border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px; font-size: .85rem; color: #E5EEF6; }

.panel { background: #fff; color: var(--ink); border-radius: 28px; padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); min-height: 500px; }
.step-pane { animation: pane-in .4s cubic-bezier(.2, .8, .2, 1); }
.step-pane[hidden] { display: none; }
#paneWhen:not([hidden]) { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
#paneWhen.has-day:not([hidden]) { grid-template-columns: 1fr 170px; }
@keyframes pane-in { from { opacity: 0; transform: translateY(14px); } }

/* Month */
.cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.cal__head h2 { font-size: 1.3rem; margin: 0; }
.cal__nav { width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; background: #fff; font-size: 1.3rem; line-height: 1; color: var(--navy); cursor: pointer; }
.cal__nav:disabled { opacity: .3; cursor: default; }
.cal__dow, .cal__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.cal__dow { margin-bottom: 6px; font: 600 .72rem var(--font-head); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); text-align: center; }
.day { position: relative; display: grid; place-items: center; aspect-ratio: 1.15; border: 0; border-radius: 12px; background: none; font: 600 1rem var(--font-head); color: #B4C0CC; }
.day--full { background: repeating-linear-gradient(135deg, var(--bg-alt) 0 5px, #EAF0F5 5px 10px); color: #A5B2BF; }
.day--open { background: var(--blue-soft); color: var(--navy); cursor: pointer; transition: transform .15s, background .15s; }
.day--open::after { content: ""; position: absolute; left: 50%; bottom: 14%; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--blue); }
.day--open:hover { transform: translateY(-2px); background: #CFEFFB; }
.day--on, .day--on:hover { background: var(--navy); color: #fff; }
.day--on::after { background: var(--sun); }
.cal__status { margin: 1rem 0 0; font-size: .9rem; color: var(--muted); }

/* Times */
.times h3 { font-size: 1rem; margin: 0 0 .9rem; }
.times__list { display: grid; gap: 6px; max-height: 340px; overflow-y: auto; }
.time { padding: .55em .5em; border-radius: 10px; font: 600 .92rem var(--font-head); text-align: center; border: 1.5px solid transparent; }
.time--gone { background: var(--bg-alt); color: #B4C0CC; }
.time--open { background: #fff; border-color: var(--blue); color: var(--blue-deep); cursor: pointer; transition: background .15s, color .15s; }
.time--open:hover { background: var(--blue); color: #fff; }

/* Details */
#paneWho:not([hidden]) { display: grid; gap: 1rem; }
.back { justify-self: start; border: 0; background: none; padding: 0; font: 600 .9rem var(--font-head); color: var(--blue-deep); cursor: pointer; }
.picked { margin: 0; font: 700 1.35rem/1.2 var(--font-head); color: var(--navy); }
#paneWho label { display: grid; gap: .3rem; font-size: .88rem; font-weight: 500; color: var(--muted); }
#paneWho input, #paneWho textarea { width: 100%; padding: .75em .9em; border: 1.5px solid var(--line); border-radius: 12px; font: 400 1rem var(--font-body); color: var(--ink); resize: vertical; }
#paneWho input:focus, #paneWho textarea:focus { outline: 0; border-color: var(--blue); }
.hp { position: absolute; left: -9999px; }
.form-error { margin: 0; color: #C2410C; font-size: .92rem; }
#confirmBtn:disabled { opacity: .6; cursor: default; transform: none; }

/* Ticket */
#paneDone:not([hidden]) { display: grid; place-items: center; min-height: 430px; }
.ticket { width: min(100%, 400px); background: var(--navy); color: #E5EEF6; border-radius: 22px; overflow: hidden; box-shadow: 0 30px 60px -25px rgba(11, 31, 51, .65); animation: ticket-in .7s cubic-bezier(.2, 1.2, .3, 1); }
@keyframes ticket-in { from { opacity: 0; transform: translateY(30px) rotate(-3deg) scale(.96); } }
.ticket__top { display: flex; align-items: center; justify-content: space-between; padding: .9rem 1.5rem; background: #fff; }
.ticket__top img { height: 18px; width: auto; }
.ticket__top span { font: 700 .72rem var(--font-head); letter-spacing: .14em; text-transform: uppercase; color: var(--navy); background: var(--sun); padding: .35em .8em; border-radius: 999px; }
.ticket h2 { color: #fff; font-size: 2rem; margin: 1.6rem 1.5rem .3rem; }
.ticket__when { margin: 0 1.5rem 1.6rem; font-size: 1.1rem; line-height: 1.45; color: #BDEBFC; }
.ticket__tear { position: relative; border-top: 2px dashed rgba(255, 255, 255, .25); }
.ticket__tear::before, .ticket__tear::after { content: ""; position: absolute; top: -13px; width: 24px; height: 24px; border-radius: 50%; background: #fff; }
.ticket__tear::before { left: -12px; }
.ticket__tear::after { right: -12px; }
.ticket__foot a { color: #fff; }
.ticket__foot { margin: 0; padding: 1.2rem 1.5rem 1.4rem; font-size: .92rem; color: #9FB3C8; }

@media (prefers-reduced-motion: reduce) {
  .step-pane, .ticket { animation: none; }
}
@media (max-width: 960px) {
  .stage { grid-template-columns: 1fr; align-items: start; }
  .stage__intro h1 { font-size: clamp(2.4rem, 9vw, 3.4rem); }
  .stage__intro p { font-size: 1.05rem; }
  .stage__facts { margin-top: 1.2rem; }
}
@media (max-width: 560px) {
  .stage { padding-inline: 16px; }
  .panel { padding: 1.2rem; border-radius: 22px; min-height: 0; }
  #paneWhen.has-day:not([hidden]) { grid-template-columns: 1fr; }
  .times__list { grid-template-columns: repeat(3, 1fr); max-height: none; }
  .day { border-radius: 10px; font-size: .95rem; }
}
