/* Annexus: /book/ page (booking panel, prep list, next steps). Loaded after pages.css. */

/* ---------- Hero facts row ---------- */
.book-meta { list-style: none; padding: 0; gap: 10px 26px; }
.book-meta li { display: inline-flex; align-items: center; gap: 9px; color: var(--muted); }
.book-meta svg, .book-note svg, .book-ext svg, .book-fallback__icon svg {
  fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
.book-meta svg { width: 18px; height: 18px; color: var(--yellow); }
.book-meta li:nth-child(2) svg { color: var(--blue); }
.book-meta li:nth-child(3) svg { color: var(--green); }

/* ---------- Layout: booking panel + aside ---------- */
.book-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 380px); gap: clamp(20px, 3vw, 36px); align-items: start; }
.book-layout.is-embed { grid-template-columns: minmax(0, 1fr); }
.book-layout.is-embed .book-aside { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 979px) {
  .book-layout { grid-template-columns: minmax(0, 1fr); }
  .book-layout .book-aside { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 699px) { .book-layout .book-aside, .book-layout.is-embed .book-aside { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Booking panel ---------- */
.book-panel { --spot-color: #E53092; --spot-color-2: #2D90CF; padding: clamp(24px, 3.6vw, 48px);
  background:
    radial-gradient(70% 90% at 0% 100%, rgba(229, 48, 146, .11), transparent 70%),
    radial-gradient(55% 70% at 100% 0%, rgba(45, 144, 207, .10), transparent 70%),
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.015));
}
.book-panel.is-embed { background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.015)); }
.book-panel__kicker { font: 600 12px/1.2 var(--font-label); letter-spacing: .3em; text-transform: uppercase; color: var(--yellow); }
.book-panel__title { margin-top: 14px; font-weight: 500; font-size: clamp(30px, 3.6vw, 46px); line-height: 1.06; letter-spacing: -.03em; text-wrap: balance; }
.book-panel__title--sm { margin-top: 10px; font-size: clamp(26px, 2.6vw, 34px); }
.book-panel__text { margin-top: 18px; max-width: 54ch; color: var(--muted); font-size: clamp(16px, 1.25vw, 18px); line-height: 1.65; }
.book-panel__text a, .book-card__text a, .book-note a, .book-frame__help a { color: var(--text); text-decoration-color: var(--pink); text-underline-offset: 3px; overflow-wrap: anywhere; }
.book-panel__text a:hover, .book-card__text a:hover, .book-note a:hover, .book-frame__help a:hover { text-decoration-color: var(--text); }
.book-panel__actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.book-panel__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 24px; margin-bottom: 24px; }

.book-fallback { position: relative; min-height: clamp(300px, 30vw, 380px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.book-fallback__icon {
  display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 26px; border-radius: 18px;
  border: 1px solid var(--line-strong); background: rgba(255,255,255,.04); color: var(--text);
  box-shadow: 0 0 0 6px rgba(255,255,255,.02), 0 14px 40px -16px rgba(229, 48, 146, .65);
}
.book-fallback__icon svg { width: 30px; height: 30px; }

.book-ext { display: inline-flex; }
.book-ext svg { width: 16px; height: 16px; stroke-width: 1.8; }
.btn--small .book-ext svg { width: 14px; height: 14px; }

/* Embedded Microsoft Bookings page (its own white UI, framed) */
.book-frame { position: relative; border-radius: 14px; overflow: hidden; border: 1px solid var(--line-strong); background: #fff;
  height: clamp(640px, calc(100vh - var(--header-h) - 120px), 920px); }
@supports (height: 100svh) { .book-frame { height: clamp(640px, calc(100svh - var(--header-h) - 120px), 920px); } }
.book-frame__iframe { display: block; width: 100%; height: 100%; border: 0; background: #fff; }
.book-frame__status {
  position: absolute; inset: 0; z-index: 1; display: grid; place-content: center; justify-items: center; gap: 16px; padding: 24px; text-align: center;
  background: var(--bg-raise); color: var(--muted); font-size: 15px; transition: opacity .4s, visibility .4s;
}
.book-frame:not(.is-loading) .book-frame__status { opacity: 0; visibility: hidden; }
.book-spinner { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--line-strong); border-top-color: var(--pink); border-right-color: var(--blue); animation: book-spin .9s linear infinite; }
@keyframes book-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .book-spinner { animation-duration: 2.4s; } }
.book-frame__help { margin-top: 14px; color: var(--dim); font-size: 14px; line-height: 1.6; }
.book-textlink { display: inline; padding: 0; border: 0; border-radius: 4px; font: inherit; white-space: normal; color: var(--text); text-decoration: underline; text-decoration-color: var(--pink); text-underline-offset: 3px; }
.book-textlink .book-ext svg { width: 13px; height: 13px; translate: 0 2px; }

@media (max-width: 699px) {
  .book-panel.is-embed { padding: 18px 14px; }
  .book-frame { height: clamp(600px, calc(100svh - var(--header-h) - 60px), 820px); border-radius: 12px; }
  .book-panel__head .btn { width: 100%; }
  .book-panel__actions { align-self: stretch; }
  .book-panel__actions .btn { width: 100%; }
}

.book-note { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; gap: 10px; align-items: flex-start; color: var(--dim); font-size: 14px; line-height: 1.55; }
.book-note svg { width: 18px; height: 18px; flex: none; margin-top: 1px; color: var(--blue); }

/* ---------- Aside cards ---------- */
.book-aside { display: grid; gap: clamp(16px, 2vw, 22px); align-items: start; }
.book-card { padding: clamp(22px, 2.4vw, 30px); }
.book-card__title { font-weight: 500; font-size: 22px; line-height: 1.2; letter-spacing: -.015em; }
.book-card__title::before { content: ""; display: block; width: 28px; height: 2px; margin-bottom: 16px; border-radius: 2px; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.book-card__text { margin-top: 12px; color: var(--muted); font-size: 16px; line-height: 1.6; }
.book-prep { margin-top: 18px; padding: 0; list-style: none; counter-reset: prep; display: grid; gap: 16px; color: var(--muted); font-size: 15.5px; line-height: 1.55; }
.book-prep li { counter-increment: prep; position: relative; min-height: 30px; padding-left: 44px; }
.book-prep li::before {
  content: counter(prep); position: absolute; left: 0; top: -2px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--accent) 55%, transparent); background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--text); font: 500 14px/1 var(--font); font-variant-numeric: lining-nums;
}
.book-prep strong { display: block; margin-bottom: 2px; color: var(--text); font-weight: 500; }

/* ---------- What happens next ---------- */
.book-next { margin-top: clamp(64px, 8vw, 112px); }
.book-next__title { margin-top: 18px; font-weight: 500; font-size: clamp(30px, 4vw, 52px); line-height: 1.05; letter-spacing: -.03em; }
.book-steps { margin-top: clamp(28px, 4vw, 44px); padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.book-step { padding: clamp(24px, 2.6vw, 34px); }
.book-step__num { display: block; font: 300 52px/1 var(--font); letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1px var(--accent); font-variant-numeric: lining-nums; }
.book-step__title { margin-top: 22px; font-weight: 500; font-size: 22px; line-height: 1.2; letter-spacing: -.015em; }
.book-step p { margin-top: 10px; color: var(--muted); font-size: 16px; line-height: 1.6; }
@media (max-width: 899px) { .book-steps { grid-template-columns: minmax(0, 1fr); } }
