.bookpage { background: radial-gradient(circle at 90% 0%, rgba(22,115,255,.12), transparent 40%), var(--bg); }
.book { display: grid; grid-template-columns: .85fr 1.15fr; gap: 28px; align-items: start; padding: 40px 0 80px; }
.book__side { position: sticky; top: 96px; padding: clamp(26px, 4vw, 44px); border-radius: 28px; color: #fff;
  background: radial-gradient(circle at 85% 15%, rgba(79,195,255,.35), transparent 45%), linear-gradient(140deg, var(--navy), var(--navy-2) 60%, var(--blue-2));
  box-shadow: 0 40px 80px -30px rgba(6,19,48,.6); animation: bookIn .7s cubic-bezier(.2,.8,.2,1) both; }
.book__side h1 { margin: 0 0 14px; font-size: clamp(32px, 4vw, 48px); line-height: 1; font-weight: 900; letter-spacing: -.02em; text-transform: uppercase; }
.book__side > p { color: #c7d6f2; }
.book__points { display: grid; gap: 10px; margin: 24px 0; padding: 0; list-style: none; }
.book__points li { padding: 14px 16px; border-radius: 14px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); }
.book__points b { display: block; font-size: 15px; }
.book__points span { font-size: 13px; color: #a9bde0; }
.book__stat { display: flex; align-items: baseline; gap: 12px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.14); }
.book__stat b { font-size: 40px; font-weight: 900; color: var(--sky); line-height: 1; }
.book__stat span { font-size: 13px; color: #c7d6f2; }
.book__mail { margin: 18px 0 0; font-size: 13px; color: #a9bde0; }
.book__mail a { color: #fff; font-weight: 700; word-break: break-all; text-decoration: underline; text-underline-offset: 3px; }

.book__card { padding: clamp(22px, 3.5vw, 36px); background: #fff; border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow); animation: bookIn .7s .1s cubic-bezier(.2,.8,.2,1) both; }
.bstep { padding-bottom: 22px; margin-bottom: 22px; border-bottom: 1px solid var(--line); }
.bstep h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: 18px; font-weight: 900; text-transform: uppercase; letter-spacing: .01em; }
.bstep h2 i { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; background: var(--blue); color: #fff; font: 700 13px var(--mono); font-style: normal; }
.bstep h2 small { margin-left: auto; font: 600 11px var(--mono); letter-spacing: .08em; color: var(--ink-3); text-transform: uppercase; }

.days { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 8px; }
.day { display: grid; justify-items: center; gap: 1px; padding: 10px 6px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg); color: var(--ink); transition: border-color .15s, transform .15s, background .15s; }
.day small { font: 600 10px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.day b { font-size: 24px; font-weight: 900; line-height: 1.1; }
.day span { font-size: 12px; color: var(--ink-2); }
.times { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.time { padding: 11px 6px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); color: var(--ink); font-weight: 700; font-size: 14px; transition: border-color .15s, transform .15s, background .15s; animation: bookIn .35s both; }
.day:hover, .time:hover { border-color: var(--blue); transform: translateY(-2px); }
.day[aria-checked="true"], .time[aria-checked="true"] { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: 0 10px 20px -8px rgba(22,115,255,.6); }
.day[aria-checked="true"] small, .day[aria-checked="true"] span { color: #dbe8ff; }
.book__hint { margin: 0; font-size: 14px; color: var(--ink-3); }

.book__card label { display: grid; gap: 6px; margin-bottom: 12px; font-size: 12px; font-weight: 700; color: var(--ink-2); }
.book__card input, .book__card select, .book__card textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); font: 500 15px var(--font); color: var(--ink); }
.book__card textarea { resize: vertical; }
.book__card input:focus, .book__card select:focus, .book__card textarea:focus { outline: 2px solid var(--blue); outline-offset: 1px; background: #fff; }
.book__card .is-bad { border-color: #e5484d; }
.book__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.book__summary { margin-bottom: 14px; padding: 14px 16px; border-radius: 14px; background: var(--tint); font-size: 14px; color: var(--ink-2); }
.book__summary.is-set { background: rgba(22,115,255,.08); color: var(--ink); border: 1px solid rgba(22,115,255,.3); }
.book__summary b { color: var(--blue); }
#bookBtn:disabled { opacity: .6; cursor: wait; }

.book__done { padding: 30px 10px; text-align: center; animation: bookIn .5s both; }
.book__check { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: #16a34a; color: #fff; font-size: 36px; font-weight: 900; box-shadow: 0 0 0 10px rgba(22,163,74,.12); }
.book__done h2 { margin: 18px 0 8px; font-size: 30px; font-weight: 900; text-transform: uppercase; }
.book__done p { color: var(--ink-2); }
.book__doneBtns { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 20px; }

@keyframes bookIn { from { opacity: 0; transform: translateY(16px); } }
@media (max-width: 960px) { .book { grid-template-columns: 1fr; } .book__side { position: static; } }
@media (max-width: 640px) {
  .book .form__row { grid-template-columns: 1fr; } .book { gap: 16px; padding-top: 20px; }
  .book__points, .book__stat { display: none; } /* keep the picker close to the top on phones */
}
@media (prefers-reduced-motion: reduce) { .book__side, .book__card, .time, .book__done { animation: none; } }
