/* =========================================================
   Catalyst Point AI — Design System
   ========================================================= */

:root {
  /* Palette */
  --bg-0: #060810;
  --bg-1: #0a0e17;
  --bg-2: #0f1420;
  --bg-3: #141a2a;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-strong: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);

  --orange: #ff8a3d;
  --orange-soft: #ffb877;
  --orange-deep: #cc5500;
  --orange-burnt-bright: #ff6a1a;
  --orange-burnt-deep: #c1440c;
  --violet: #8b5cf6;
  --violet-soft: #b79bff;
  --pink: #ff6fd8;

  --text-0: #f5f7fb;
  --text-1: #c4cbdb;
  --text-2: #8891a7;
  --text-3: #626b82;

  --grad-primary: linear-gradient(135deg, var(--orange-burnt-bright) 0%, var(--orange-burnt-deep) 100%);
  --grad-primary-hover: linear-gradient(135deg, #ff8a3d 0%, #e0540e 100%);
  --grad-radial: radial-gradient(circle at 80% 0%, rgba(139, 92, 246, 0.14), transparent 45%),
    radial-gradient(circle at 50% 100%, rgba(255, 111, 216, 0.06), transparent 50%);

  --shadow-card: 0 20px 60px rgba(0, 0, 0, 0.45);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 999px;

  --font-head: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;

  --container: 1220px;
  --nav-h: 76px;
  --banner-h: 0px; /* only pages with the actual banner (body.has-banner) opt into an offset */
  --content-offset: calc(var(--nav-h) + var(--banner-h));

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
* , *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, figure, blockquote, ul, ol, dl { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

body {
  background: var(--bg-1);
  color: var(--text-1);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* subtle fixed ambient glow behind everything */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: var(--bg-1) var(--grad-radial);
  z-index: -2;
}

/* faint grid texture */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 90%);
  z-index: -1;
  pointer-events: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--text-0);
  line-height: 1.15;
  letter-spacing: -0.01em;
  font-weight: 600;
}

h1 { font-size: clamp(2.4rem, 5.5vw, 4.4rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
p { color: var(--text-1); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-soft);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--grad-primary);
}

.text-gradient {
  color: var(--orange-burnt-bright);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section { position: relative; padding: 110px 0; }
section.tight { padding: 70px 0; }

.section-head {
  max-width: 640px;
  margin: 0 0 56px;
}
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { font-size: 1.05rem; margin-top: 14px; }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: var(--radius-full);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn-primary {
  background: var(--grad-primary);
  color: #06111a;
}
.btn-primary:hover { transform: translateY(-2px); background: var(--grad-primary-hover); }

.btn-outline {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  color: var(--text-0);
  backdrop-filter: blur(8px);
}
.btn-outline:hover { border-color: var(--orange); background: var(--surface-strong); transform: translateY(-2px); }

.btn-ghost {
  color: var(--text-0);
  padding: 15px 22px;
}
.btn-ghost:hover { color: var(--orange-soft); }

.btn-block { width: 100%; }
.btn-lg { padding: 18px 36px; font-size: 1.02rem; }

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: var(--banner-h);
  left: 0;
  right: 0;
  height: var(--nav-h);
  z-index: 500;
  display: flex;
  align-items: center;
  background: rgba(8, 11, 19, 0.6);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.navbar.scrolled {
  background: rgba(8, 11, 19, 0.85);
  border-bottom-color: var(--border);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; color: var(--text-0); }
.brand .mark { width: 34px; height: 34px; }
.brand span { white-space: nowrap; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 0.92rem;
  font-weight: 500;
}
.nav-links a {
  padding: 10px 16px;
  border-radius: var(--radius-full);
  color: var(--text-1);
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: var(--text-0); background: var(--surface); }
.nav-links a.active { color: var(--text-0); background: var(--surface-strong); }

.nav-actions { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--border);
}
.nav-toggle span, .nav-toggle::before, .nav-toggle::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 2px;
  background: var(--text-0);
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}
.nav-toggle::before { transform: translateY(-6px); }
.nav-toggle::after { transform: translateY(6px); }
.nav-toggle.open::before { transform: rotate(45deg); }
.nav-toggle.open::after { transform: rotate(-45deg); }
.nav-toggle.open span { opacity: 0; }

/* ---------- Promo banner (site-wide announcement bar) ----------
   Only pages that actually include the banner markup should push their navbar
   down. Add class="has-banner" to <body> on those pages — everything else
   (voice-receptionist.html, booked.html) keeps --banner-h at 0. */
body.has-banner { --banner-h: 44px; }
@media (max-width: 860px) {
  body.has-banner { --banner-h: 72px; }
}

.promo-banner {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--banner-h);
  overflow: hidden; /* safety net: clip rather than break layout if content is ever longer than expected */
  z-index: 600;
  box-sizing: border-box;
  background: var(--grad-primary);
  color: #06111a;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px 16px;
  padding: 6px 46px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.86rem;
  text-align: center;
  line-height: 1.3;
}
.promo-banner strong { font-weight: 700; }
.promo-banner .promo-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: #06111a;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}
/* Explicit width/height (both as HTML attributes on the <svg> and here) so these
   icons render correctly-sized even if this stylesheet fails to load or is stale. */
.promo-banner svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  display: block;
}
.promo-banner .promo-link svg { transition: transform 0.2s var(--ease); }
.promo-banner .promo-link:hover svg { transform: translateX(3px); }
.promo-close {
  position: absolute;
  right: 10px; top: 50%;
  transform: translateY(-50%);
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  color: #06111a;
  opacity: 0.65;
}
.promo-close:hover { opacity: 1; background: rgba(6, 17, 26, 0.14); }
.promo-banner.is-hidden { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: calc(var(--content-offset) + 70px) 0 100px;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.7;
}
.hero .container { position: relative; z-index: 2; }
.hero-inner { max-width: 780px; }
.hero-inner p.lead { font-size: 1.18rem; margin-top: 20px; max-width: 620px; color: var(--text-1); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 36px; }

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 64px;
}
.stat-chip {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 22px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
  min-width: 150px;
}
.stat-chip .num {
  font-family: var(--font-head);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--orange-burnt-bright);
}
.stat-chip .label { font-size: 0.82rem; color: var(--text-2); }

/* ---------- Cards / Grid ---------- */
.grid { display: grid; gap: 24px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  position: relative;
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), background 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  background: var(--surface-strong);
  box-shadow: var(--shadow-card);
}

.icon-badge {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(255, 138, 61, 0.16), rgba(139, 92, 246, 0.16));
  border: 1px solid var(--border-strong);
  margin-bottom: 20px;
}
.icon-badge svg { width: 26px; height: 26px; stroke: var(--orange-soft); }

.service-card h3 { margin-bottom: 10px; }
.service-card p { font-size: 0.96rem; margin-bottom: 18px; }
.service-card .link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--orange-soft);
  transition: gap 0.25s var(--ease);
}
.service-card .link:hover { gap: 10px; }
.service-card .link svg { width: 16px; height: 16px; }

/* value props */
.value-card { text-align: left; }
.value-card p { font-size: 0.92rem; }

/* ---------- Process ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}
.process-step {
  position: relative;
  padding: 30px 26px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
}
.process-step .step-num {
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--orange-burnt-bright);
  opacity: 0.5;
  margin-bottom: 14px;
}
.process-step h3 { margin-bottom: 8px; font-size: 1.1rem; }
.process-step p { font-size: 0.9rem; }

/* ---------- Testimonials ---------- */
.testimonial-card { display: flex; flex-direction: column; gap: 20px; }
.testimonial-card .quote { font-size: 1rem; color: var(--text-0); font-style: normal; }
.testimonial-card .stars { display: flex; gap: 4px; }
.testimonial-card .stars svg { width: 16px; height: 16px; fill: var(--orange-soft); stroke: none; }
.testimonial-person { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.avatar-ring {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--grad-primary);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700; color: #06111a; font-size: 0.95rem;
}
.testimonial-person .who { display: flex; flex-direction: column; }
.testimonial-person .name { color: var(--text-0); font-weight: 600; font-size: 0.9rem; }
.testimonial-person .role { color: var(--text-2); font-size: 0.8rem; }
.note-badge {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.72rem;
  color: var(--text-3);
  letter-spacing: 0.03em;
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 72px 48px;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(255, 138, 61, 0.12), rgba(139, 92, 246, 0.16));
  border: 1px solid var(--border-strong);
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: conic-gradient(from 0deg, transparent, rgba(255, 138, 61, 0.12), transparent 30%);
  animation: spin 14s linear infinite;
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { margin-bottom: 16px; }
.cta-band p { max-width: 560px; margin: 0 auto 32px; font-size: 1.05rem; }
.cta-band .hero-cta { justify-content: center; margin-top: 0; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--border);
  padding: 70px 0 30px;
  background: var(--bg-0);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 50px;
}
.footer-brand p { font-size: 0.92rem; max-width: 300px; margin: 16px 0 20px; }
.footer-col h4 { font-size: 0.85rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-2); margin-bottom: 18px; }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 0.92rem; color: var(--text-1); transition: color 0.2s; }
.footer-col a:hover { color: var(--orange-soft); }
.social-row { display: flex; gap: 10px; margin-top: 20px; }
.social-row a {
  width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface); border: 1px solid var(--border);
}
.social-row a:hover { border-color: var(--orange); }
.social-row svg { width: 16px; height: 16px; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  padding-top: 26px; border-top: 1px solid var(--border);
  font-size: 0.82rem; color: var(--text-3);
}
.footer-bottom a { color: var(--text-3); }
.footer-bottom a:hover { color: var(--text-1); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- Page header (inner pages) ---------- */
.page-header {
  padding: calc(var(--content-offset) + 80px) 0 70px;
  text-align: center;
  position: relative;
}
.page-header .eyebrow { justify-content: center; display: inline-flex; }
.page-header p { max-width: 620px; margin: 18px auto 0; font-size: 1.05rem; }

/* ---------- Services page ---------- */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 60px 0;
  border-bottom: 1px solid var(--border);
}
.service-detail:last-child { border-bottom: none; }
.service-detail.reverse { direction: rtl; }
.service-detail.reverse > * { direction: ltr; }
.service-visual {
  aspect-ratio: 4 / 3.2;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.service-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--grad-radial);
  opacity: 0.9;
}
.service-visual svg { width: 38%; height: 38%; stroke: var(--orange-soft); position: relative; z-index: 1; filter: drop-shadow(0 0 24px rgba(255,138,61,0.35)); }
.service-copy .icon-badge { margin-bottom: 22px; }
.service-copy h2 { margin-bottom: 16px; }
.service-copy > p { font-size: 1.02rem; margin-bottom: 26px; }
.service-bullets { display: flex; flex-direction: column; gap: 14px; margin-bottom: 30px; }
.service-bullets li { display: flex; align-items: flex-start; gap: 12px; font-size: 0.96rem; color: var(--text-1); }
.service-bullets svg { width: 20px; height: 20px; flex-shrink: 0; stroke: var(--orange-soft); margin-top: 2px; }

/* ---------- About page ---------- */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-visual {
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-visual::before { content: ""; position: absolute; inset: 0; background: var(--grad-radial); }
.about-visual svg { width: 55%; position: relative; z-index: 1; }

.values-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 20px; }

/* ---------- Contact page ---------- */
.contact-info-card { display: flex; flex-direction: column; gap: 22px; }
.contact-info-row { display: flex; gap: 16px; align-items: flex-start; }
.contact-info-row h4 { font-size: 0.95rem; color: var(--text-0); margin-bottom: 4px; }
.contact-info-row p, .contact-info-row a { font-size: 0.92rem; }
.contact-info-row a:hover { color: var(--orange-soft); }

.book-panel {
  border-radius: var(--radius-lg);
  padding: 40px;
  background: linear-gradient(160deg, rgba(255, 138, 61, 0.1), rgba(139, 92, 246, 0.14));
  border: 1px solid var(--border-strong);
  text-align: center;
}
.book-panel .icon-badge { margin: 0 auto 20px; }
.book-panel h3 { margin-bottom: 10px; }
.book-panel p { margin-bottom: 24px; font-size: 0.95rem; }

/* =========================================================
   Chatbot widget
   ========================================================= */
.chatbot-launcher {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--grad-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 900;
  transition: transform 0.3s var(--ease);
}
.chatbot-launcher:hover { transform: scale(1.06); }
.chatbot-launcher svg { width: 26px; height: 26px; stroke: #06111a; }
.chatbot-launcher .icon-close { display: none; }
.chatbot-launcher.open .icon-chat { display: none; }
.chatbot-launcher.open .icon-close { display: block; }
.chatbot-launcher .ping {
  position: absolute;
  top: -3px; right: -3px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--pink);
  border: 2px solid var(--bg-1);
}

.chatbot-panel {
  position: fixed;
  bottom: 100px;
  right: 24px;
  width: 370px;
  max-width: calc(100vw - 32px);
  height: 520px;
  max-height: calc(100vh - 140px);
  border-radius: var(--radius-lg);
  background: var(--bg-2);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 899;
  opacity: 0;
  transform: translateY(16px) scale(0.98);
  pointer-events: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}
.chatbot-panel.open { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }

.chatbot-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  background: linear-gradient(120deg, rgba(79,209,255,0.14), rgba(139,92,246,0.14));
  border-bottom: 1px solid var(--border);
}
.chatbot-head .avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--grad-primary);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.chatbot-head .avatar svg { width: 18px; height: 18px; stroke: #06111a; }
.chatbot-head .title { font-family: var(--font-head); font-weight: 700; color: var(--text-0); font-size: 0.95rem; }
.chatbot-head .status { font-size: 0.76rem; color: var(--orange-soft); display: flex; align-items: center; gap: 6px; }
.chatbot-head .status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 8px #4ade80; }

.chatbot-body {
  flex: 1;
  overflow-y: auto;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.chatbot-body::-webkit-scrollbar { width: 6px; }
.chatbot-body::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 3px; }

.msg { max-width: 84%; padding: 11px 15px; border-radius: 16px; font-size: 0.88rem; line-height: 1.5; }
.msg-bot { align-self: flex-start; background: var(--surface-strong); color: var(--text-0); border-bottom-left-radius: 4px; }
.msg-user { align-self: flex-end; background: var(--grad-primary); color: #06111a; border-bottom-right-radius: 4px; font-weight: 500; }

.msg-suggestions { display: flex; flex-wrap: wrap; gap: 8px; align-self: flex-start; max-width: 100%; }
.msg-suggestions button {
  font-size: 0.78rem;
  padding: 8px 13px;
  border-radius: var(--radius-full);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  color: var(--orange-soft);
  transition: background 0.2s, border-color 0.2s;
}
.msg-suggestions button:hover { background: var(--surface-strong); border-color: var(--orange); }

.typing-indicator { display: flex; gap: 4px; align-self: flex-start; padding: 13px 16px; background: var(--surface-strong); border-radius: 16px; border-bottom-left-radius: 4px; }
.typing-indicator span { width: 6px; height: 6px; border-radius: 50%; background: var(--text-2); animation: bounce 1.2s infinite; }
.typing-indicator span:nth-child(2) { animation-delay: 0.15s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.3s; }
@keyframes bounce { 0%, 60%, 100% { transform: translateY(0); opacity: 0.5; } 30% { transform: translateY(-4px); opacity: 1; } }

.chatbot-foot { padding: 14px; border-top: 1px solid var(--border); display: flex; gap: 10px; align-items: center; }
.chatbot-foot input {
  flex: 1;
  padding: 12px 16px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  color: var(--text-0);
  font-size: 0.88rem;
}
.chatbot-foot input:focus { outline: none; border-color: var(--orange); }
.chatbot-foot .send-btn {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--grad-primary);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s var(--ease);
}
.chatbot-foot .send-btn:hover { transform: scale(1.06); }
.chatbot-foot .send-btn svg { width: 17px; height: 17px; stroke: #06111a; }

/* ---------- Utility ---------- */
.mt-0 { margin-top: 0 !important; }
.text-center { text-align: center; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .nav-links, .nav-actions .btn-outline { display: none; }
  .nav-toggle { display: flex; position: relative; }

  .nav-mobile {
    position: fixed;
    top: var(--content-offset);
    left: 0; right: 0;
    bottom: 0;
    background: rgba(6, 8, 16, 0.98);
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    padding: 30px 24px;
    gap: 6px;
    transform: translateX(100%);
    transition: transform 0.35s var(--ease);
    z-index: 480;
  }
  .nav-mobile.open { transform: translateX(0); }
  .nav-mobile a {
    font-family: var(--font-head);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-0);
    padding: 16px 6px;
    border-bottom: 1px solid var(--border);
  }
  .nav-mobile .btn { margin-top: 24px; }

  section { padding: 80px 0; }
  .hero { padding-top: calc(var(--content-offset) + 50px); min-height: auto; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-stats { gap: 10px; }
  .stat-chip { flex: 1 1 44%; min-width: 0; }

  .grid-4, .grid-3, .grid-2, .process-grid, .footer-grid, .values-grid { grid-template-columns: 1fr; }

  .service-detail, .service-detail.reverse { grid-template-columns: 1fr; direction: ltr; }
  .service-visual { order: -1; aspect-ratio: 16/10; }

  .about-split { grid-template-columns: 1fr; }
  .about-visual { max-width: 320px; margin: 0 auto; }

  .chatbot-panel {
    right: 12px;
    left: 12px;
    width: auto;
    bottom: 96px;
    height: min(560px, calc(100vh - 130px));
  }
  .chatbot-launcher { right: 18px; bottom: 18px; }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  h1 { font-size: 2.1rem; }
  section { padding: 64px 0; }
  .card { padding: 26px; }
  .cta-band { padding: 48px 24px; }
  .stat-chip { flex: 1 1 100%; }
  .promo-banner { padding: 6px 40px; font-size: 0.76rem; }
}

/* =========================================================
   Landing page: AI Voice Receptionist offer
   ========================================================= */

.grid-auto { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }

/* Offer banner (reuses .book-panel look via shared class, no extra rules needed) */

/* Stacked "pain point" lines */
.pain-lines { display: flex; flex-direction: column; gap: 4px; margin-bottom: 28px; }
.pain-lines p { font-size: 1.15rem; color: var(--text-1); margin: 0; }
.pain-punch { font-size: 1.2rem; color: var(--text-0); font-weight: 600; max-width: 640px; margin: 0 0 16px; }
.pain-punch .em { color: var(--orange-burnt-bright); }

/* Simulated call transcript */
.call-demo {
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
  max-width: 560px;
}
.call-demo-head {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 20px;
  background: linear-gradient(120deg, rgba(255,106,26,0.14), rgba(139,92,246,0.1));
  border-bottom: 1px solid var(--border);
}
.call-demo-head .icon-badge { width: 38px; height: 38px; margin-bottom: 0; flex-shrink: 0; }
.call-demo-head .icon-badge svg { width: 18px; height: 18px; }
.call-demo-head .meta { display: flex; flex-direction: column; }
.call-demo-head .meta .time { font-family: var(--font-head); font-weight: 700; color: var(--text-0); font-size: 0.92rem; }
.call-demo-head .meta .status { font-size: 0.78rem; color: var(--orange-soft); display: flex; align-items: center; gap: 6px; }
.call-demo-head .meta .status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 8px #4ade80; }
.call-demo-body { padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.call-demo-body .msg { max-width: 84%; padding: 11px 15px; border-radius: 16px; font-size: 0.92rem; line-height: 1.5; }

/* Checklist grid (offer inclusions) */
.checklist-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 24px; margin: 28px 0; }
.checklist-item { display: flex; align-items: flex-start; gap: 12px; font-size: 0.98rem; color: var(--text-1); }
.checklist-item svg { width: 20px; height: 20px; flex-shrink: 0; stroke: var(--orange-soft); margin-top: 2px; }

/* Big price callout */
.price-callout { text-align: center; padding: 8px 0 4px; }
.price-callout .label { font-family: var(--font-head); font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-2); margin-bottom: 6px; }
.price-callout .amount { font-family: var(--font-head); font-weight: 700; font-size: clamp(3.5rem, 9vw, 5.5rem); color: var(--orange-burnt-bright); line-height: 1; }

/* Two-column compare (keep it / walk away) */
.compare-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.compare-card { padding: 30px; border-radius: var(--radius-lg); border: 1px solid var(--border); }
.compare-card.positive { background: linear-gradient(160deg, rgba(255,106,26,0.1), rgba(193,68,12,0.08)); border-color: var(--border-strong); }
.compare-card.neutral { background: var(--surface); }
.compare-card h3 { margin-bottom: 10px; }
.compare-card p { font-size: 0.96rem; }

/* Tag pill list ("who is this for") */
.tag-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.tag-pill {
  font-family: var(--font-head); font-size: 0.85rem; font-weight: 500;
  padding: 9px 16px; border-radius: var(--radius-full);
  background: var(--surface); border: 1px solid var(--border); color: var(--text-1);
}

/* ROI equation row */
.equation-row {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: 18px; margin: 36px 0; text-align: center;
}
.equation-item { display: flex; flex-direction: column; gap: 6px; min-width: 140px; }
.equation-item .num { font-family: var(--font-head); font-weight: 700; font-size: 1.9rem; color: var(--text-0); }
.equation-item .num.hero-num { color: var(--orange-burnt-bright); font-size: 2.6rem; }
.equation-item .cap { font-size: 0.85rem; color: var(--text-2); }
.equation-op { font-family: var(--font-head); font-size: 1.6rem; color: var(--text-2); font-weight: 700; }

/* Badge row under a CTA */
.badge-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 20px; }
.badge-chip {
  font-family: var(--font-head); font-size: 0.78rem; font-weight: 600;
  padding: 8px 14px; border-radius: var(--radius-full);
  background: var(--surface); border: 1px solid var(--border-strong); color: var(--text-1);
}

/* Inline text CTA used mid-page */
.inline-cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem;
  color: var(--orange-burnt-bright);
}
.inline-cta svg { width: 18px; height: 18px; transition: transform 0.25s var(--ease); }
.inline-cta:hover svg { transform: translateX(4px); }

/* Calendly embed frame */
.calendly-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-2);
}

@media (max-width: 720px) {
  .checklist-grid { grid-template-columns: 1fr; }
  .compare-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   Legal / policy document pages
   ========================================================= */
.legal-page { max-width: 760px; margin: 0 auto; }
.legal-page .meta { color: var(--text-2); font-size: 0.9rem; margin-bottom: 36px; }
.legal-page h2 { margin: 44px 0 14px; font-size: 1.4rem; }
.legal-page h2:first-of-type { margin-top: 0; }
.legal-page h3 { margin: 0 0 10px; font-size: 1.05rem; }
.legal-page p { margin: 0 0 16px; line-height: 1.75; color: var(--text-1); }
.legal-page ul { padding-left: 22px; list-style: disc; margin: 0 0 16px; display: flex; flex-direction: column; gap: 8px; }
.legal-page ul li { color: var(--text-1); line-height: 1.6; }
.legal-page hr { border: none; border-top: 1px solid var(--border); margin: 40px 0; }
.legal-page a { color: var(--orange-soft); text-decoration: underline; text-underline-offset: 2px; }
.legal-page a:hover { color: var(--orange-burnt-bright); }
.legal-page .callout {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-left: 3px solid var(--orange-burnt-bright);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  margin: 20px 0;
  font-size: 0.95rem;
  color: var(--text-1);
}
.legal-page .callout strong { color: var(--text-0); }
.legal-page .contact-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px 30px;
  margin-top: 12px;
}
.legal-page .contact-block p { margin-bottom: 6px; }
.legal-page .effective-date { color: var(--text-2); font-style: italic; margin-top: 30px; }
