/* Step 2 booking page (Calendly) */
.book-hero { padding-bottom: 48px; }
.book-grid { display: grid; gap: 28px; align-items: start; }
@media (min-width: 960px) { .book-grid { grid-template-columns: 300px minmax(0, 1fr); gap: 40px; } .book-side { position: sticky; top: 110px; } }
.book-side { display: grid; gap: 16px; }
.book-details { margin: 4px 0 6px; display: grid; gap: 8px; width: 100%; }
.book-details div { display: grid; grid-template-columns: 70px 1fr; gap: 10px; font-size: 0.95rem; border-bottom: 1px solid var(--paper-200); padding-bottom: 8px; }
.book-details div:last-child { border-bottom: 0; padding-bottom: 0; }
.book-details dt { font-weight: 800; color: var(--ink-500); font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; }
.book-details dd { margin: 0; font-weight: 700; word-break: break-word; }
.session-grid { display: grid; gap: 16px; }
@media (min-width: 700px) { .session-grid { grid-template-columns: 1fr 1fr; } }
.session { text-align: left; display: grid; gap: 8px; padding: 22px 22px 20px; background: var(--white); border: 1.5px solid var(--paper-200); border-radius: var(--radius-lg); transition: transform 0.35s var(--ease-out), border-color 0.3s, box-shadow 0.35s; position: relative; }
.session::after { content: ""; position: absolute; right: 18px; top: 20px; width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--paper-200); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e0242c' stroke-width='2.5'%3E%3Cpath d='M5 12h14m-6-6 6 6-6 6'/%3E%3C/svg%3E") center/16px no-repeat; transition: border-color 0.3s, background-color 0.3s; }
.session:hover { transform: translateY(-4px); border-color: var(--red); box-shadow: 0 24px 40px -26px rgba(224,36,44,0.5); }
.session:hover::after { border-color: var(--red); background-color: var(--red-100); }
.session b { font-family: var(--font-display); font-size: 1.35rem; text-transform: uppercase; letter-spacing: 0.03em; padding-right: 48px; }
.session p { color: var(--ink-700); font-size: 0.95rem; }
.session span { display: inline-flex; align-items: center; gap: 6px; font-size: 0.85rem; font-weight: 800; color: var(--ink-500); }
.session span::before { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 2px solid currentColor; box-sizing: border-box; }
.calendly-box { background: var(--white); border: 1.5px solid var(--paper-200); border-radius: var(--radius-lg); overflow: visible; }
/* Full-width Calendly booking view (details + calendar side by side) */
@media (min-width: 960px) {
  .book-grid.is-booking { grid-template-columns: 1fr; }
  .book-grid.is-booking .book-side { position: static; order: 2; grid-template-columns: 1fr 1fr; }
}
.calendly-box.is-calendly .calendly-widget { padding: 8px 0 12px; }
/* Calendly does not report its height, so give the iframe room for each layout:
   side-by-side (wide) needs ~700px; the stacked layout on narrow screens needs more. */
.calendly-box.is-calendly .calendly-widget iframe { height: 720px; }
@media (max-width: 999px) { .calendly-box.is-calendly .calendly-widget iframe { height: 1050px; } }
@media (max-width: 520px) { .calendly-box.is-calendly .calendly-widget iframe { height: 1180px; } }
.calendly-head { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-bottom: 1px solid var(--paper-200); }
.calendly-head .back { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--ink); display: grid; place-items: center; transition: background-color 0.25s, color 0.25s; }
.calendly-head .back svg { transform: rotate(180deg); }
.calendly-head .back:hover { background: var(--ink); color: var(--white); }
.calendly-head b { display: block; font-family: var(--font-display); font-size: 1.25rem; text-transform: uppercase; letter-spacing: 0.04em; }
.calendly-head span { font-size: 0.85rem; color: var(--ink-500); font-weight: 600; }
.calendly-widget { min-width: 300px; min-height: 600px; }
.calendly-widget iframe { width: 100%; display: block; border: 0; }
.calendly-fallback { display: grid; gap: 10px; justify-items: start; padding: 32px; background: var(--white); border: 1.5px solid var(--paper-200); border-radius: var(--radius-lg); }
.calendly-fallback b { font-family: var(--font-display); font-size: 1.8rem; text-transform: uppercase; }
.calendly-fallback p { color: var(--ink-700); max-width: 56ch; }
.book-note { display: flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 0.85rem; color: var(--ink-500); font-weight: 600; }
.book-note svg { width: 16px; height: 16px; }
[hidden] { display: none !important; }
