/* Shared assistant window for the gym and clinic designs. Each page sets these variables on :root:
   --c-bg (window), --c-panel (bubbles, header), --c-ink, --c-muted, --c-line, --c-accent, --c-accent-ink, --c-r (radius), --c-font */
.asst-btn { position: fixed; right: 20px; bottom: 20px; z-index: 40; display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 20px; border: 0; border-radius: var(--c-r); background: var(--c-accent); color: var(--c-accent-ink); font: 600 15px var(--c-font); cursor: pointer; box-shadow: 0 10px 24px -12px rgb(0 0 0 / .6); transition: transform .3s cubic-bezier(.22, 1, .36, 1); }
.asst-btn:hover { transform: translateY(-2px); }
.asst-btn .dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.asst { position: fixed; right: 20px; bottom: 20px; z-index: 50; width: min(390px, 100vw - 40px); height: min(600px, 100dvh - 40px); display: flex; flex-direction: column; background: var(--c-bg); color: var(--c-ink); border: 1px solid var(--c-line); border-radius: min(var(--c-r), 24px); overflow: hidden; box-shadow: 0 30px 70px -20px rgb(0 0 0 / .5); font-family: var(--c-font); }
.asst[hidden] { display: none; }
.asst:focus { outline: none; }
.asst-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; background: var(--c-panel); border-bottom: 1px solid var(--c-line); }
.asst-head b { display: block; font-weight: 600; }
.asst-head small { color: var(--c-muted); font-size: 13px; }
.asst-x { width: 44px; height: 44px; margin: -8px -10px -8px 0; border: 0; background: none; color: inherit; font-size: 26px; cursor: pointer; }
.asst-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; overscroll-behavior: contain; }
.a-msg { max-width: 86%; padding: 11px 15px; border-radius: min(var(--c-r), 16px); font-size: 15px; line-height: 1.5; }
.a-msg.bot { background: var(--c-panel); align-self: flex-start; }
.a-msg.me { background: var(--c-accent); color: var(--c-accent-ink); align-self: flex-end; }
.a-msg ul { list-style: disc; padding-left: 18px; margin: 6px 0 0; }
.a-msg a { color: inherit; }
.a-msg .btn { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; margin-top: 10px; padding: 0 16px; border-radius: var(--c-r); background: var(--c-accent); color: var(--c-accent-ink); font: 600 14px var(--c-font); text-decoration: none; }
.a-msg .btn svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.a-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.a-chip { min-height: 40px; padding: 0 14px; border-radius: var(--c-r); border: 1px solid var(--c-line); background: transparent; color: var(--c-ink); font: 500 14px var(--c-font); cursor: pointer; }
.a-chip:hover { border-color: var(--c-accent); }
.a-typing { align-self: flex-start; display: flex; gap: 4px; padding: 14px; border-radius: 14px; background: var(--c-panel); }
.a-typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--c-muted); animation: a-blink 1s infinite; }
.a-typing i:nth-child(2) { animation-delay: .15s; } .a-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes a-blink { 0%, 60%, 100% { opacity: .3; } 30% { opacity: 1; } }
.asst-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--c-line); margin: 0; }
.asst-form input { flex: 1; min-width: 0; height: 48px; padding: 0 16px; border-radius: var(--c-r); border: 1px solid var(--c-line); background: var(--c-panel); color: var(--c-ink); font: 400 16px var(--c-font); }
.asst-form input::placeholder { color: var(--c-muted); }
.asst-form input:focus { outline: 2px solid var(--c-accent); outline-offset: 0; }
.asst-form button { width: 48px; height: 48px; border: 0; border-radius: var(--c-r); background: var(--c-accent); color: var(--c-accent-ink); display: grid; place-items: center; cursor: pointer; }
.asst-form button svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.asst-foot { margin: 0; padding: 0 12px 12px; color: var(--c-muted); font-size: 13px; text-align: center; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
/* phone bar (Book + Ask) */
.actionbar { display: none; }
@media (max-width: 639px) {
  .actionbar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; inset: auto 0 0 0; z-index: 45; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: var(--c-bg); border-top: 1px solid var(--c-line); }
  .actionbar a, .actionbar button { display: flex; align-items: center; justify-content: center; min-height: 48px; border-radius: var(--c-r); font: 600 15px var(--c-font); text-decoration: none; cursor: pointer; }
  .actionbar a { background: var(--c-accent); color: var(--c-accent-ink); border: 0; }
  .actionbar button { background: transparent; color: var(--c-ink); border: 1px solid var(--c-line); }
  body { padding-bottom: 76px; }
  .asst-btn { display: none !important; }
  .asst { inset: 0; width: 100vw; height: 100dvh; border-radius: 0; border: 0; }
}

/* "Ask us 24/7" showcase: real questions with the assistant's real answers. Colors come from the page's --c-* tokens. */
.asst-show { padding: clamp(56px, 8vw, 110px) 0; }
.asst-show__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.asst-show__head p { margin-top: 16px; max-width: 42ch; font-size: 17px; line-height: 1.55; }
.asst-show__btn { margin-top: 26px; display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 22px; border: 0; border-radius: min(var(--c-r), 999px); background: var(--c-accent); color: var(--c-accent-ink); font: 600 15px var(--c-font); cursor: pointer; transition: transform .2s ease, filter .2s ease; }
.asst-show__btn:hover { transform: translateY(-2px); filter: brightness(1.06); }
.asst-show__btn:active { transform: translateY(0); }
.asst-show__convo { display: grid; gap: 14px; }
.asst-show__qa { display: grid; gap: 10px; padding: 20px; border-radius: min(var(--c-r), 22px); background: var(--c-panel); color: var(--c-ink); border: 1px solid var(--c-line); font: 15px/1.5 var(--c-font); }
.asst-show__qa .q { justify-self: end; max-width: 80%; padding: 9px 14px; border-radius: min(var(--c-r), 16px); background: var(--c-accent); color: var(--c-accent-ink); }
.asst-show__qa .a { max-width: 92%; padding: 10px 14px; border-radius: min(var(--c-r), 16px); background: var(--c-bg); }
.asst-show__qa small { color: var(--c-muted); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
@media (max-width: 899px) { .asst-show__in { grid-template-columns: 1fr; } .asst-show__qa .a { max-width: 100%; } }

/* phone jump menu under the hero */
.jump { display: none; }
@media (max-width: 899px) {
  .jump { display: flex; gap: 8px; overflow-x: auto; padding: 14px 16px; scrollbar-width: none; background: var(--c-panel); border-bottom: 1px solid var(--c-line); }
  .jump::-webkit-scrollbar { display: none; }
  .jump a { flex: none; display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--c-line); background: var(--c-bg); color: var(--c-ink); font: 500 14px var(--c-font); text-decoration: none; }
  .jump a:active { transform: scale(.97); }
}
.asst-show h2, .closer h2 { font-size: clamp(40px, 5.6vw, 80px); line-height: 1.02; }
