/* "Book a free test" dialog (js/book.js). Uses the site's tokens; opaque panel so it reads over the artwork. */
.head-book { margin-left: 4px; white-space: nowrap; }
.site-head .head-phone { margin-left: 0; }
html.book-open { overflow: hidden; }

.book { border: 0; padding: 0; background: transparent; color: var(--ivory); width: min(560px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); margin: auto; overflow: visible; }
.book::backdrop { background: rgba(2, 8, 13, .72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.book__shell { position: relative; background: var(--abyss); border: 1px solid var(--line); border-radius: 20px; padding: 34px 32px 28px; max-height: calc(100dvh - 32px); overflow-y: auto; overscroll-behavior: contain;
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .7), 0 0 0 1px rgba(95, 208, 220, .08) inset; }
.book__x { position: absolute; top: 12px; right: 14px; width: 40px; height: 40px; border: 0; background: none; color: var(--muted); font-size: 28px; line-height: 1; cursor: pointer; border-radius: 50%; }
.book__x:hover { color: var(--ivory); background: rgba(244, 240, 231, .08); }
.book__eyebrow { margin: 0 0 8px; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--aqua-2); }
.book__title { margin: 0 0 18px; font-family: "Fraunces", Georgia, serif; font-weight: 400; font-size: clamp(26px, 5vw, 34px); line-height: 1.1; padding-right: 36px; }
.book__preview { margin: 0 0 18px; padding: 9px 12px; border: 1px dashed var(--gold); border-radius: 10px; color: var(--gold-2); font-size: 13px; }
.book__label { margin: 20px 0 10px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.book__hint { margin: 0; color: var(--muted); font-size: 14px; }
.book__err { min-height: 20px; margin: 12px 0 0; color: #FF9B85; font-size: 14px; }
.book__fine { margin: 16px 0 0; text-align: center; color: var(--muted); font-size: 13px; }
.book__fine a { color: var(--aqua-2); }

.book__choices { display: grid; grid-template-columns: 1fr; gap: 12px; margin-bottom: 20px; }
.book__choice { position: relative; display: block; cursor: pointer; }
.book__choice input { position: absolute; opacity: 0; inset: 0; }
.book__choice-body { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 12px 16px; border: 1px solid var(--line); border-radius: 14px; background: rgba(244, 240, 231, .03); transition: border-color .2s, background .2s; }
.book__choice-body strong { font-family: "Fraunces", Georgia, serif; font-weight: 500; font-size: 19px; }
.book__choice-body em { font-style: normal; color: var(--muted); font-size: 13px; line-height: 1.45; }
.book__choice input:checked + .book__choice-body { border-color: var(--aqua-2); background: rgba(95, 208, 220, .1); box-shadow: 0 0 0 1px var(--aqua-2) inset; }
.book__choice input:focus-visible + .book__choice-body { outline: 2px solid var(--aqua-2); outline-offset: 3px; }

.book__f { display: block; margin: 0 0 14px; }
.book__f > span { display: block; margin-bottom: 6px; font-size: 12px; letter-spacing: .08em; color: var(--muted); }
.book__f input, .book__f select { width: 100%; box-sizing: border-box; padding: 13px 14px; font: inherit; font-size: 16px; color: var(--ivory); background: rgba(244, 240, 231, .06); border: 1px solid var(--line); border-radius: 10px; }
.book__f select option { color: #0A1B26; }
.book__f input:focus, .book__f select:focus { outline: 2px solid var(--aqua-2); outline-offset: 1px; border-color: transparent; }
.book__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.book__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.book__days, .book__times { display: flex; flex-wrap: wrap; gap: 8px; }
.book__days { max-height: 150px; overflow-y: auto; padding: 2px; }
.book__chip { font: inherit; font-size: 14px; padding: 10px 14px; border-radius: 999px; border: 1px solid var(--line); background: rgba(244, 240, 231, .04); color: var(--ivory); cursor: pointer; min-height: 40px; }
.book__chip:hover { border-color: var(--aqua-2); }
.book__chip[aria-checked="true"] { background: var(--aqua-2); border-color: var(--aqua-2); color: var(--ink); font-weight: 600; }

.book__home { margin: 20px 0 4px; padding: 12px 14px; border-left: 3px solid var(--gold); background: rgba(201, 168, 87, .1); border-radius: 0 10px 10px 0; font-size: 13px; line-height: 1.5; color: var(--muted); }
.book__home strong { display: block; color: var(--gold-2); font-size: 14px; margin-bottom: 2px; }
.book__consent { display: flex; gap: 12px; align-items: flex-start; margin-top: 16px; font-size: 13px; line-height: 1.5; color: var(--muted); cursor: pointer; }
.book__consent input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--aqua-2); }
.book__when { margin: 0 0 18px; padding: 10px 14px; border-radius: 10px; background: rgba(95, 208, 220, .1); color: var(--aqua-2); font-size: 15px; }
.book__done-h { margin: 0 0 8px; font-family: "Fraunces", Georgia, serif; font-size: 22px; }
.book__done-p { margin: 0; color: var(--muted); }

.book__actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 22px; }
.book__actions .btn { flex: 1 1 auto; justify-content: center; }
.book__back { font: inherit; font-size: 14px; padding: 12px 6px; background: none; border: 0; color: var(--muted); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.book__back:hover { color: var(--ivory); }
.book .btn:disabled { opacity: .55; cursor: wait; }

@media (max-width: 640px) {
  .book { width: 100vw; max-height: 100dvh; margin: 0; max-width: none; }
  .book__shell { border-radius: 20px 20px 0 0; border-bottom: 0; padding: 28px 18px calc(22px + env(safe-area-inset-bottom)); max-height: 94dvh; position: fixed; left: 0; right: 0; bottom: 0; }
  .book__choices, .book__row { grid-template-columns: 1fr; }
  .book__choice-body { padding: 14px; }
}
@media (max-width: 900px) { .head-book { padding: 8px 12px; } }
@media (max-width: 520px) { .site-head .head-phone { display: none; } .head-book { margin-left: auto; } }
.book section { padding: 0; }                       /* the site styles every <section> with big padding */

/* extra fields the request forms get from js/leads.js */
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__consent { display: flex !important; gap: 12px; align-items: flex-start; font-size: 13px; line-height: 1.5; color: var(--muted); cursor: pointer; margin: 4px 0 8px; }
.form__consent input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--aqua-2); }
.form__consent span { display: inline !important; margin: 0; font-size: 13px; letter-spacing: 0; text-transform: none; }
.form__err { min-height: 20px; margin: 4px 0 8px; color: #FF9B85; font-size: 14px; }
.form__err a { color: var(--aqua-2); }

/* "Next available" line under the hero Book button (js/book.js) */
.book-next { margin: 12px 0 0; font-size: 14px; color: var(--aqua-2); letter-spacing: .02em; }

/* ---------- premium pass (Memento concept, picture-drop/website-premium/BUILD-SPEC.txt; 2026-11-13) ----------
   Presentation only: js/book.js, every step, field, rule, consent text and the live availability checks are unchanged. */
.book { width: min(600px, calc(100vw - 32px)); }
.book__shell { background: #0c2130; border-color: #385368; border-radius: 24px; padding: 34px 32px 28px; box-shadow: 0 30px 100px rgba(0,0,0,.6); }
.book::backdrop { background: rgba(1,11,20,.8); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.book__x { top: 14px; right: 14px; width: 44px; height: 44px; color: #c5d9e7; }
.book__eyebrow { color: #8dcaff; }
.book__label, .book__hint, .book__fine, .book__f > span { color: #b5c8d5; }
.book__fine a { color: #8dcaff; }
.book__choice-body { padding: 15px 16px; border-color: #395467; border-radius: 12px; background: #071b29; }
.book__choice-body strong { color: #e9f3fa; }
.book__choice-body em { color: #b5c8d5; }
.book__choice input:checked + .book__choice-body { border-color: #8dcaff; background: #163b55; box-shadow: 0 0 0 1px #8dcaff inset; }
.book__choice input:focus-visible + .book__choice-body { outline: 3px solid #a6d8ff; outline-offset: 3px; }
.book__f input, .book__f select { min-height: 52px; background: #071b29; border-color: #395467; color: #f1f6fa; }
.book__f input::placeholder { color: #829cad; }
.book__f input:focus, .book__f select:focus { outline: 3px solid #a6d8ff; outline-offset: 3px; border-color: #8dcaff; }
.book__chip { min-height: 48px; padding: 10px 16px; background: #071b29; border-color: #395467; color: #dcebf5; }
.book__chip:hover { border-color: #8dcaff; }
.book__chip[aria-checked="true"] { background: #87c8ff; border-color: #87c8ff; color: #052037; }
.book__chip:focus-visible { outline: 3px solid #a6d8ff; outline-offset: 2px; }
.book__days { max-height: 168px; }
.book__home { border-left: 0; border: 1px solid #395467; border-radius: 12px; background: #142e40; color: #cbdce7; padding: 16px; }
.book__home strong { color: #eef5fa; }
.book__when { background: #163b55; color: #e3f1fb; }
.book__consent { color: #b5c8d5; }
.book__consent input { accent-color: #87c8ff; }
.book__actions .btn--solid { min-height: 52px; border-radius: 12px; background: #87c8ff; border-color: #a1d5ff; color: #052037; font-weight: 700; }
.book__actions .btn--solid::after { background: #b5ddff; }
.book__actions .btn--solid:hover { color: #052037; border-color: #b5ddff; }
.book__actions .btn--solid:focus-visible, .book__back:focus-visible, .book__x:focus-visible { outline: 3px solid #a6d8ff; outline-offset: 3px; }
.book__back { min-height: 48px; color: #a4d5ff; }
@media (max-width: 640px) { .book__shell { border-radius: 20px 20px 0 0; padding: 28px 18px calc(22px + env(safe-area-inset-bottom)); } }
