/* Homepage hero: website mockup with the original voice-agent card overlaid */
.site-demo {
  position: relative;
  width: min(100%, 540px);
  margin: 0;
  padding: 0 0 0 0;
}
.site-frame {
  position: relative;
  width: 100%;
  height: 360px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-lg), var(--shadow);
  overflow: hidden;
}
.site-chrome {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 36px;
  padding: 0 12px;
  background: #eef0f3;
  border-bottom: 1px solid var(--line);
}
.site-dots { display: inline-flex; gap: 6px; flex-shrink: 0; }
.site-dots i { width: 10px; height: 10px; border-radius: 50%; background: #d0d3d9; }
.site-dots i:first-child { background: #ff6159; }
.site-dots i:nth-child(2) { background: #ffbd2e; }
.site-dots i:nth-child(3) { background: #28c941; }
.site-url {
  flex: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 22px;
  padding: 0 10px;
  max-width: 260px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.72rem;
  color: var(--ink-soft);
  white-space: nowrap;
  overflow: hidden;
}
.site-url svg { color: var(--live); flex-shrink: 0; }
.site-page.hv { padding: 0; font-family: "Inter", system-ui, sans-serif; color: #0d1b33; background: #fbf8f4; height: calc(100% - 36px); }
.hv-bar { background: #b8321f; color: #fff; font-size: 0.6rem; font-weight: 600; text-align: center; padding: 4px 8px; white-space: nowrap; overflow: hidden; }
.hv-nav { display: flex; align-items: center; gap: 10px; padding: 8px 14px; background: #fff; border-bottom: 1px solid #eee7df; }
.hv-logo { display: inline-flex; align-items: center; gap: 6px; line-height: 1; white-space: nowrap; }
.hv-logo svg { flex-shrink: 0; }
.hv-logo b { display: block; font-family: "Archivo", system-ui, sans-serif; font-weight: 900; font-size: 0.8rem; letter-spacing: 0.02em; text-transform: uppercase; }
.hv-logo small { display: block; font-size: 0.5rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #b8321f; margin-top: 2px; }
.hv-links { flex: 1; display: inline-flex; justify-content: center; gap: 12px; font-size: 0.6rem; font-weight: 500; color: #1d2b44; }
.hv-phone { display: inline-flex; flex-direction: column; line-height: 1.15; white-space: nowrap; }
.hv-phone small { font-size: 0.48rem; color: #4a5568; }
.hv-phone b { font-size: 0.64rem; font-weight: 800; }
.hv-cta { background: #b8321f; color: #fff; font-size: 0.6rem; font-weight: 700; padding: 6px 10px; border-radius: 999px; white-space: nowrap; }
.hv-area { display: flex; flex-direction: column; align-items: center; gap: 4px; background: #0d1b33; color: #fff; padding: 7px 10px; font-size: 0.6rem; font-weight: 600; }
.hv-pins { display: flex; gap: 12px; font-size: 0.54rem; font-weight: 500; color: #dfe6f2; }
.hv-pins i { font-style: normal; }
.hv-pins i::before { content: ""; display: inline-block; width: 5px; height: 5px; margin-right: 4px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: #fff; vertical-align: 1px; }
.hv-hero { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; max-width: 48%; padding: 14px 16px; }
.hv-pill { background: #b8321f; color: #fff; font-size: 0.54rem; font-weight: 700; padding: 3px 8px; border-radius: 999px; }
.hv-h { font-family: "Archivo", system-ui, sans-serif; font-weight: 800; font-size: 1.2rem; line-height: 1.08; letter-spacing: -0.01em; color: #0d1b33; }
.hv-h2 { font-family: "Archivo", system-ui, sans-serif; font-weight: 800; font-size: 0.9rem; line-height: 1.15; color: #b8321f; }
.hv-btns { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 2px; }
.hv-btns b, .hv-btns em { font-style: normal; font-size: 0.6rem; font-weight: 700; padding: 5px 9px; border-radius: 999px; white-space: nowrap; }
.hv-btns b { background: #b8321f; color: #fff; }
.hv-btns em { border: 1px solid #c9bfb3; color: #0d1b33; background: #fff; }

/* Booking toast inside the website */
.site-toast {
  position: absolute;
  left: 16px;
  top: 52px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px 10px 10px;
  background: #fff;
  border: 1px solid rgba(26, 155, 106, 0.35);
  border-radius: 12px;
  box-shadow: 0 12px 30px -12px rgba(10, 10, 11, 0.35);
  font-family: "Inter", system-ui, sans-serif;
  color: var(--ink);
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  z-index: 2;
  pointer-events: none;
}
.site-toast.is-on { opacity: 1; transform: none; }
.site-toast strong { display: block; font-size: 0.84rem; font-family: "Archivo", system-ui, sans-serif; font-weight: 800; }
.site-toast small { display: block; font-size: 0.72rem; color: var(--ink-soft); margin-top: 1px; }
.site-toast-icon {
  width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--live); color: #fff; flex-shrink: 0;
}

/* Original voice-agent card, placed over the site like a chat widget */
.site-demo .site-agent {
  --voice-transcript-h: 9.6rem;
  position: absolute;
  right: -18px;
  top: 128px;
  width: 300px;
  max-width: none;
  margin: 0;
  padding: 0.95rem 0.9rem 0.9rem;
  border-radius: 18px;
  z-index: 3;
}
.site-demo .site-agent .audio-live { white-space: nowrap; }
.site-demo .site-agent .voice-sim-label { flex-shrink: 0; }
.site-demo .site-agent .voice-transcript { margin-bottom: 0.7rem; gap: 0.42rem; }
.site-demo .site-agent .voice-bubble { font-size: 0.82rem; padding: 0.42rem 0.58rem; }
.site-demo .site-agent .voice-who { font-size: 0.58rem; }
.site-agent-foot { position: relative; height: 48px; flex-shrink: 0; }
.site-agent-foot > * {
  position: absolute;
  inset: 0;
  transition: opacity 0.35s ease;
}
.site-demo .site-agent .voice-player { height: 48px; }
.site-demo .site-agent .voice-play { width: 34px; height: 34px; cursor: default; }
.site-demo .site-agent .voice-play .voice-pause-icon { display: block; }
.site-chat-input {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 6px 0 16px;
  background: #050506;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.82rem;
  color: rgba(243, 244, 246, 0.45);
  opacity: 0;
}
.site-chat-input b {
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--orange-btn); color: #fff;
}
.site-agent.is-chat .voice-player { opacity: 0; }
.site-agent.is-chat .site-chat-input { opacity: 1; }

/* Step labels */
.site-steps {
  list-style: none;
  margin: 58px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.site-steps li {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 6px 10px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.6);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink-soft);
  transition: border-color 0.3s ease, background 0.3s ease, color 0.3s ease;
}
.site-steps li span {
  width: 20px; height: 20px; border-radius: 50%;
  display: grid; place-items: center; flex-shrink: 0;
  font-family: "Space Mono", ui-monospace, monospace;
  font-size: 0.66rem; font-weight: 700;
  background: var(--paper-soft); color: var(--ink-soft);
  transition: background 0.3s ease, color 0.3s ease;
}
.site-steps li.is-on {
  border-color: rgba(243, 77, 15, 0.45);
  background: var(--orange-soft);
  color: var(--ink);
}
.site-steps li.is-on span { background: var(--orange); color: #fff; }

/* Tablet / mobile: headline first, then demo. Card stacks over the lower site. */
@media (max-width: 860px) {
  .site-demo { width: 100%; max-width: 560px; margin-inline: auto; }
}
@media (max-width: 600px) {
  .site-frame { height: 300px; border-radius: 14px; }
  .hv-links, .hv-phone, .hv-pins { display: none; }
  .hv-nav { justify-content: space-between; padding: 7px 12px; }
  .hv-area { padding: 5px 10px; }
  .hv-hero { max-width: 100%; padding: 10px 12px; gap: 5px; }
  .hv-h { font-size: 1.05rem; }
  .hv-h2 { font-size: 0.82rem; }
  .hv-btns { display: none; }
  .site-toast { left: 12px; right: 12px; top: 48px; }
  .site-demo .site-agent {
    --voice-transcript-h: 9.2rem;
    position: relative;
    right: auto;
    top: auto;
    width: auto;
    margin: -64px 10px 0;
    border-radius: 16px;
  }
  .site-steps { margin-top: 12px; gap: 6px; }
  .site-steps li {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    gap: 4px;
    min-height: 58px;
    padding: 6px 4px;
    font-size: 0.72rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-toast, .site-agent-foot > *, .site-steps li, .site-steps li span { transition: none; }
}
