:root {
    --primary: #6c5b6b;
    --secondary: #9d95aa;
    --dark: #595959;
    --bg: #fdfdfd;
    --accent: #9d95aa;
    --font: 'Segoe UI', sans-serif;
  }
  body {
    margin: 0;
    font-family: var(--font);
    background-color: var(--bg);
    color: var(--dark);
    line-height: 1.5;
  }
 
  .menu-phone-right a {
    color: white;
    margin: 0 1em;
    text-decoration: none;
  }
  .hero {
    text-align: center;
    padding: 1em;
    background: linear-gradient(160deg, var(--primary), var(--secondary));
    color: white;
  }
  .hero img {
    max-width: 160px;
    width: 100%;
    height: auto;
  }
  h1 {
    font-size: 24px;
    color: #4b4454;
    font-weight: bold;
    margin-top: 30px;
    line-height: 1.4;
  }

  h2 {
    font-size: 20px;
    color: #817192;
    font-weight: bold;
    margin-top: 20px;
    line-height: 1.4;
  }

  .hero h1 {
    font-size: 1.2em;
    margin: 0.2em 0 0.2em;
  }
  .hero-phone {
    margin: 0.2em 0 0;
    font-size: 1em;
    font-weight: 600;
  }
  .hero-phone a {
    color: var(--dark);
    text-decoration: none;
  }
  .hero-phone a:hover {
    text-decoration: underline;
  }
  .tagline {
    font-size: 1em;
    text-transform: capitalize;
    text-align: center;
    margin: 0.5em auto 2em;
    color: var(--primary);
    font-weight: 500;
    max-width: 700px;
  }
  section {
    padding: 1.2em 2em;
    max-width: 900px;
    margin: auto;
  }
  section h2 {
    margin-bottom: 0.3em;
  }
  section p {
    margin-bottom: 1.2em;
  }
  ul {
    list-style-type: disc;
    padding-left: 1.5em;
  }
  button {
    padding: 0.75em 1.5em;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1em;
    cursor: pointer;
    margin-top: 1em;
  }
  .cta-center {
    text-align: center;
  }
  .hero-image-section {
    text-align: center;
    margin-top: 2em;
    margin-bottom: 1em;
  }
  .hero-image {
    max-width: 600px;
    width: 100%;
    height: auto;
    border-radius: 10px;
    opacity: 0.85;
  }
  .contact-form {
    text-align: center;
  }
  .contact-form input,
  .contact-form textarea {
    width: 80%;
    max-width: 500px;
    padding: 0.6em;
    font-size: 1em;
    margin-top: 0.4em;
    border: 1px solid #ccc;
    border-radius: 4px;
  }
  .contact-form textarea {
    height: 160px;
  }
  footer {
    background-color: var(--dark);
    color: white;
    text-align: center;
    padding: 2em;
    font-size: 0.9em;
  }
  footer a {
    color: white;
    text-decoration: none;
    margin: 0 0.5em;
  }
  footer a:hover {
    text-decoration: underline;
  }

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #fff;
    position: relative;
    z-index: 10;
  }

  .hamburger {
    font-size: 2rem;
    cursor: pointer;
    display: none;
    user-select: none;
  }

  .menu-toggle {
    display: none;
  }

  .menu-overlay {
    display: flex;
    gap: 1.5rem;
  }

  .menu-overlay a {
    text-decoration: none;
    color: black;
    font-weight: 500;
  }

  @media (max-width: 768px) {
    .hamburger {
      display: block;
    }

    .menu-overlay {
      flex-direction: column;
      position: fixed;
      top: 0;
      right: 0;
      height: 100%;
      width: 100%;
      background: rgba(0, 0, 0, 0.95);
      transform: translateX(100%);
      transition: transform 0.3s ease;
      align-items: center;
      justify-content: center;
      gap: 2rem;
      z-index: 100;
    }

    .menu-overlay a {
      font-size: 2rem;
      color: white;
    }

    .menu-toggle:checked + .hamburger + .menu-overlay {
      transform: translateX(0);
    }
  }




/* Kalibri Chat Widget */
#kalibri-chat-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  font-family: "Segoe UI", system-ui, sans-serif;
}

/* Bubble */
#kalibri-chat-bubble {
  width: 64px;
  height: 64px;
  border: none;
  border-radius: 50%;
  background-color: #6c5b6b;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  padding: 0;
}
#kalibri-chat-bubble img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

/* Chat window */
#kalibri-chat-window {
  width: 320px;
  height: clamp(420px, 70vh, 90vh);
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  display: flex;
  flex-direction: column;
  position: absolute;
  bottom: 80px;
  right: 0;
  overflow: hidden;
  transform: translateY(30px);
  opacity: 0;
  transition: all 0.25s ease;
}

#kalibri-chat-window.open {
  transform: translateY(0);
  opacity: 1;
}

.hidden { display: none; }

/* Header */
.kalibri-chat-header {
  background: linear-gradient(135deg, #6c5b6b, #9d95aa);
  color: #fff;
  font-weight: 600;
  padding: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#typing-indicator {
  font-size: 13px;
  color: #9d95aa;
  padding: 6px 12px;
  font-style: italic;
}
#typing-indicator.hidden {
  display: none;
}

#end-chat {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
}

/* Messages */
#kalibri-chat-messages {
  flex: 1;
  padding: 10px;
  overflow-y: auto;
}
.bot-message, .user-message {
  padding: 10px 14px;
  margin: 6px 0;
  border-radius: 12px;
  max-width: 80%;
  word-wrap: break-word;
  font-size: 14px;
}
.bot-message {
  background: #f1f1f1;
  align-self: flex-start;
}
.user-message {
  background: #6c5b6b;
  color: #fff;
  align-self: flex-end;
}

/* Input */
.kalibri-chat-input {
  display: flex;
  border-top: 1px solid #eee;
}
.kalibri-chat-input input {
  flex: 1;
  border: none;
  padding: 10px;
  font-size: 14px;
}
.kalibri-chat-input button {
  background: #6c5b6b;
  color: #fff;
  border: none;
  padding: 10px 14px;
  cursor: pointer;
}

/* Calendly button */
.kalibri-book-btn {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;

  background: #e9e7ec;
  color: #4b4454;

  border: 1px solid #d5d2da;
}

.kalibri-book-btn:hover {
  background: #dcd8e3;
}

.bot-message a {
  text-decoration: underline;
  word-break: break-word;
}

/* Mobile */
@media (max-width: 600px) {
  #kalibri-chat-window { width: 90vw; height: 70vh; bottom: 90px; }
}

/* ===============================
   FIXES (MINIMAL / DO NOT CHANGE DESIGN)
   =============================== */

/* 1) TALLY iframe was blocking clicks across the site */
iframe[data-tally-src] {
  position: relative !important;
  z-index: 1 !important;
  display: block;
  max-width: 100%;
}

/* If your Tally embed uses plain src without data-tally-src, this covers that too */
iframe[src*="tally.so"] {
  position: relative !important;
  z-index: 1 !important;
}

/* 2) Only apply overlay click-block fix on MOBILE (desktop uses same menu class) */
@media (max-width: 768px) {

  /* When menu is CLOSED, overlay should not intercept clicks */
  .menu-overlay {
    pointer-events: none;
  }

  /* When menu is OPEN, overlay should intercept clicks */
  .menu-toggle:checked+.hamburger+.menu-overlay {
    pointer-events: auto;
  }
}

/* 3) Chat window should not block page clicks when closed */
#kalibri-chat-window {
  pointer-events: none;
}

#kalibri-chat-window.open {
  pointer-events: auto;
}

