/* Interactive sales-demo tour overlay. Only injected in --demo mode, never
   on the real client-site build. */

/* Prominent top-center launch, not a bottom-right chat-widget lookalike.
   Big, obvious, with a bouncing arrow pointing at it -- but the rest of the
   site stays fully clickable underneath at all times. */
.tour-launch-wrap {
  position: fixed; top: 90px; left: 50%; transform: translateX(-50%); z-index: 200;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  pointer-events: none;
}
.tour-launch-arrow {
  font-size: 1.6rem; color: var(--gold); line-height: 1;
  animation: tour-arrow-bounce 1.4s ease-in-out infinite;
  text-shadow: 0 2px 6px rgba(0,0,0,0.35);
}
@keyframes tour-arrow-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.tour-launch {
  background: var(--gold); color: #1b2430; border: none; border-radius: 999px;
  padding: 16px 30px; font-weight: 800; font-size: 1.08rem; cursor: pointer;
  box-shadow: 0 14px 34px -8px rgba(224,168,50,0.8);
  animation: tour-pulse 1.8s ease-in-out infinite;
  display: flex; align-items: center; gap: 10px;
  pointer-events: auto;
}
.tour-launch:hover { animation-play-state: paused; }
@keyframes tour-pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 14px 34px -8px rgba(224,168,50,0.8); }
  50% { transform: scale(1.06); box-shadow: 0 18px 42px -6px rgba(224,168,50,1); }
}
.tour-launch .dot {
  width: 10px; height: 10px; border-radius: 50%; background: #1b2430;
  animation: tour-blink 1.2s ease-in-out infinite;
}
@keyframes tour-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }

@media (max-width: 700px) {
  .tour-launch-wrap { top: 76px; }
  .tour-launch { padding: 12px 22px; font-size: 0.94rem; }
}

.tour-scrim {
  position: fixed; inset: 0; z-index: 300; display: none;
  background: rgba(15,20,25,0.28);
  cursor: pointer;
}
.tour-scrim.active { display: block; }

.tour-highlight-box {
  position: fixed; z-index: 301; pointer-events: none;
  border-radius: 12px;
  box-shadow: 0 0 0 4px var(--gold), 0 0 0 9999px rgba(15,20,25,0.32);
  transition: top 0.35s ease, left 0.35s ease, width 0.35s ease, height 0.35s ease;
}

.tour-card {
  position: fixed; z-index: 302; max-width: 360px; width: calc(100% - 40px);
  background: #fff; border-radius: 14px; padding: 24px 24px 20px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.5);
  transition: top 0.35s ease, left 0.35s ease;
}
.tour-card.centered {
  position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%);
  max-width: 420px;
}
.tour-step-label {
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 10px;
}
.tour-card h3 { font-size: 1.15rem; margin: 0 0 10px; letter-spacing: -0.01em; }
.tour-card p { font-size: 0.92rem; color: var(--ink-soft); margin: 0 0 16px; line-height: 1.5; }
.tour-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tour-nav-btns { display: flex; gap: 8px; }
.tour-btn {
  border: none; border-radius: 7px; padding: 9px 16px; font-weight: 700; font-size: 0.86rem; cursor: pointer;
}
.tour-btn-primary { background: var(--accent); color: #fff; }
.tour-btn-secondary { background: var(--bg-soft); color: var(--ink); }
.tour-skip { background: none; border: none; color: var(--ink-soft); font-size: 0.8rem; cursor: pointer; text-decoration: underline; }
.tour-progress { font-size: 0.78rem; color: var(--ink-soft); }

.tour-demo-btn {
  background: var(--gold); color: #1b2430; border: none; border-radius: 7px;
  padding: 9px 16px; font-weight: 700; font-size: 0.86rem; cursor: pointer; margin-bottom: 14px;
}

/* Simulated missed-call text-back phone mockup */
.tour-phone-mock {
  background: #1b2430; border-radius: 18px; padding: 14px; max-width: 220px; margin: 0 auto 14px;
}
.tour-phone-screen { background: #fff; border-radius: 12px; padding: 10px; min-height: 90px; }
.tour-text-bubble {
  background: var(--accent); color: #fff; border-radius: 14px 14px 14px 4px;
  padding: 8px 12px; font-size: 0.76rem; max-width: 90%; opacity: 0; transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.tour-text-bubble.show { opacity: 1; transform: translateY(0); }
.tour-text-meta { font-size: 0.65rem; color: var(--ink-soft); text-align: center; margin-bottom: 8px; }

/* Coded mock calendar (booking placeholder) */
.mock-calendar { border: 1px solid var(--line); border-radius: 12px; padding: 20px; background: #fff; }
.mock-cal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; font-weight: 700; }
.mock-cal-days { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.mock-cal-day { border: 1px solid var(--line); border-radius: 8px; padding: 10px 6px; text-align: center; }
.mock-cal-day .d { font-size: 0.7rem; color: var(--ink-soft); text-transform: uppercase; margin-bottom: 6px; }
.mock-cal-day .n { font-weight: 700; margin-bottom: 8px; }
.mock-cal-slot {
  display: block; width: 100%; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 6px;
  padding: 5px 4px; font-size: 0.72rem; margin-bottom: 4px; cursor: pointer;
}
.mock-cal-slot:hover { background: rgba(27,110,110,0.12); border-color: var(--accent); }
.mock-cal-note { text-align: center; font-size: 0.8rem; color: var(--ink-soft); margin-top: 14px; }

/* Coded mock reviews */
.mock-review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin-top: 20px; }
.mock-review-card { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 16px; }
.mock-review-stars { color: var(--gold); letter-spacing: 1px; margin-bottom: 8px; }
.mock-review-text { font-size: 0.88rem; color: var(--ink); margin: 0 0 10px; line-height: 1.45; }
.mock-review-name { font-size: 0.78rem; color: var(--ink-soft); font-weight: 600; }
