:root {
  --bg: #fafafa;
  --surface: #ffffff;
  --text: #0a0a0a;
  --muted: #4b5563;
  --line: #e5e7eb;
  --green: #10b981;
  --green-dark: #059669;
  --black: #111111;
  --ig: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 18px 48px rgba(0, 0, 0, 0.08);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "DM Sans", "Segoe UI", sans-serif;
  font-size: 16px;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
}

a {
  color: inherit;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.nav-row {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  font-family: "Syne", "DM Sans", sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  text-decoration: none;
  line-height: 1;
}

.logo span {
  color: var(--green);
}

.site-nav {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.site-nav a {
  text-decoration: none;
  color: #374151;
  font-size: 0.94rem;
  font-weight: 500;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--black);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--surface);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  background: var(--text);
  position: relative;
  transition: background 0.2s ease;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--text);
  transition: transform 0.2s ease, top 0.2s ease;
}

.menu-toggle span::before {
  top: -6px;
}

.menu-toggle span::after {
  top: 6px;
}

body.menu-open .menu-toggle span {
  background: transparent;
}

body.menu-open .menu-toggle span::before {
  transform: rotate(45deg);
  top: 0;
}

body.menu-open .menu-toggle span::after {
  transform: rotate(-45deg);
  top: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  border: 1px solid transparent;
  padding: 0.72rem 1.15rem;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s ease;
}

.btn-primary {
  background: var(--black);
  color: var(--surface);
}

.btn-primary:hover {
  opacity: 0.88;
}

.btn-ghost {
  background: var(--surface);
  color: var(--black);
  border-color: var(--line);
}

.btn-ghost:hover {
  background: #f3f4f6;
}

.page {
  padding: 3rem 0 4.5rem;
}

.section {
  padding: 2.8rem 0;
}

.section-muted {
  background: #f4f4f5;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: var(--surface);
  color: var(--muted);
  font-size: 0.82rem;
  padding: 0.38rem 0.78rem;
}

.tag-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ig);
}

h1,
h2,
h3 {
  font-family: "Syne", "DM Sans", sans-serif;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.1rem, 6vw, 3.6rem);
  margin: 1rem 0 1rem;
}

h2 {
  font-size: clamp(1.55rem, 3.6vw, 2.35rem);
  margin-bottom: 0.9rem;
}

h3 {
  font-size: 1.22rem;
  margin-bottom: 0.5rem;
}

.lead {
  color: #1f2937;
  max-width: 66ch;
  margin-bottom: 1.35rem;
  font-size: 1.1rem;
  line-height: 1.72;
}

.page-hero {
  max-width: 70ch;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.6rem;
  align-items: start;
}

.button-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin: 1rem 0 1.2rem;
}

.check-list {
  list-style: none;
  display: grid;
  gap: 0.45rem;
  color: #1f2937;
  max-width: 62ch;
}

.check-list li {
  position: relative;
  padding-left: 1.3rem;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.56rem;
  width: 0.52rem;
  height: 0.52rem;
  border-radius: 50%;
  background: var(--green);
}

.pill-row {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.pill {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 0.38rem 0.74rem;
  font-size: 0.84rem;
  color: #374151;
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 1rem;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
}

.card p,
.card li {
  color: #1f2937;
}

.card ul {
  padding-left: 1rem;
  display: grid;
  gap: 0.32rem;
}

.phone {
  background: var(--surface);
  border: 2px solid #1a1a1a;
  border-radius: 40px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.phone-head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  border-bottom: 1px solid #ececec;
  padding: 0.8rem 0.95rem;
  background: var(--surface);
}

.avatar {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: var(--ig);
  display: grid;
  place-items: center;
  font-size: 0.95rem;
}

.avatar-meta {
  line-height: 1.2;
}

.avatar-meta strong {
  display: block;
  font-size: 0.88rem;
}

.avatar-meta span {
  font-size: 0.75rem;
  color: var(--green-dark);
}

.phone-chat {
  background: #fafafa;
  padding: 0.9rem;
  display: grid;
  gap: 0.5rem;
  min-height: 330px;
}

.bubble {
  max-width: 82%;
  border-radius: 16px;
  padding: 0.55rem 0.72rem;
  font-size: 0.86rem;
  line-height: 1.45;
}

.bubble.in {
  background: var(--surface);
  border: 1px solid #ececec;
  border-bottom-left-radius: 4px;
}

.bubble.out {
  margin-left: auto;
  background: #3797f0;
  color: var(--surface);
  border-bottom-right-radius: 4px;
}

.phone-quick {
  border-top: 1px solid #ececec;
  background: var(--surface);
  padding: 0.65rem 0.9rem;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  opacity: 0;
  transition: opacity 0.4s;
}

.phone-quick.visible {
  opacity: 1;
}

.quick {
  border: 1px solid #3797f0;
  color: #3797f0;
  border-radius: 100px;
  padding: 0.22rem 0.58rem;
  font-size: 0.75rem;
}

.metric {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
}

.metric strong {
  display: block;
  font-family: "Syne", "DM Sans", sans-serif;
  font-size: 1.7rem;
  line-height: 1;
  margin-bottom: 0.3rem;
}

.timeline {
  display: grid;
  gap: 0.8rem;
}

.timeline-item {
  border-left: 2px solid #d4d4d8;
  padding-left: 0.8rem;
}

.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.compare-col {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
}

.compare-col ul {
  padding-left: 1rem;
  display: grid;
  gap: 0.35rem;
  color: #4b5563;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.price-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.5rem;
}

.price-card.starter {
  background: #e8f5f0;
  border-color: #b8e0d2;
}

.price-card.featured {
  background: #ece9f8;
  border-color: #c4b9ed;
}

.price-card.plus {
  background: #fef0e7;
  border-color: #f5d1b0;
}

.price {
  font-family: "Syne", "DM Sans", sans-serif;
  font-size: 2rem;
  margin: 0.3rem 0 0.45rem;
}

.price-note {
  color: #6b7280;
  font-size: 0.9rem;
  margin-bottom: 0.8rem;
}

.faq-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--line);
}

.faq-item {
  border-top: 1px solid var(--line);
  background: transparent;
  overflow: hidden;
  padding: 0 1.5rem 0 0;
}

.faq-item:nth-child(even) {
  padding: 0 0 0 1.5rem;
  border-left: 1px solid var(--line);
}

.faq-trigger {
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  padding: 1.15rem 0;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
}

.faq-icon {
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--muted);
  flex-shrink: 0;
  transition: transform 0.22s ease;
  line-height: 1;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-content {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  padding: 0;
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.65;
  transition: max-height 0.28s ease, opacity 0.22s ease, padding 0.28s ease;
}

.faq-item.open .faq-content {
  max-height: 300px;
  opacity: 1;
  padding: 0 0 1.2rem;
}

@media (max-width: 680px) {
  .faq-list { grid-template-columns: 1fr; }
  .faq-item { padding: 0; }
  .faq-item:nth-child(even) { padding: 0; border-left: none; }
}

.form-grid {
  display: grid;
  gap: 0.8rem;
}

label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.72rem 0.78rem;
  font: inherit;
  background: var(--surface);
}

textarea {
  min-height: 130px;
  resize: vertical;
}

.final-cta {
  background: var(--black);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  color: var(--surface);
  text-align: center;
}

.final-cta h2 {
  margin-bottom: 0.55rem;
}

.final-cta p {
  color: #9ca3af;
  max-width: 56ch;
  margin: 0 auto 1rem;
}

.final-cta .btn-primary {
  background: var(--green);
  color: #04120b;
}

.final-cta .btn-primary:hover {
  background: var(--green-dark);
  color: var(--surface);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
  padding: 1rem 0 1.5rem;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.footer-row p {
  color: #6b7280;
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: #4b5563;
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--black);
}

@media (max-width: 980px) {
  .hero-grid,
  .grid-2,
  .grid-3,
  .grid-4,
  .pricing-grid,
  .compare {
    grid-template-columns: 1fr;
  }

  .site-nav {
    display: none;
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: 74px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 0.75rem;
    flex-direction: column;
    align-items: flex-start;
  }

  body.menu-open .site-nav {
    display: flex;
    animation: nav-slide-down 0.2s ease;
  }

  @keyframes nav-slide-down {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  .menu-toggle {
    display: inline-flex;
  }

  .header-cta .btn {
    display: none;
  }

  .page {
    padding-top: 1.9rem;
  }
}

/* ── WhatsApp Floating Bubble ── */
.wa-bubble {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  background: #25D366;
  color: #fff;
  border-radius: 50px;
  padding: 12px 20px 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  transition: transform .2s, box-shadow .2s;
  animation: wa-pulse 2.5s ease-in-out infinite;
}

.wa-bubble:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 28px rgba(37,211,102,.55);
  animation: none;
}

.wa-bubble-text {
  white-space: nowrap;
}

@keyframes wa-pulse {
  0%,100% { box-shadow: 0 4px 20px rgba(37,211,102,.4); }
  50%      { box-shadow: 0 4px 32px rgba(37,211,102,.7); }
}

@media (max-width: 600px) {
  .wa-bubble-text { display: none; }
  .wa-bubble { padding: 14px; border-radius: 50%; bottom: 20px; right: 20px; }
}

/* ── Video Demo Section ── */
.video-demo-section {
  background: #f4f4f5;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.video-demo-header {
  text-align: center;
  margin-bottom: 2rem;
}

.video-demo-header .sub {
  color: #4b5563;
  max-width: 60ch;
  margin: 0.5rem auto 0;
  font-size: 1rem;
}

.section-tag {
  display: inline-block;
  background: var(--green);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.65rem;
  border-radius: 100px;
  margin-bottom: 0.6rem;
}

.video-demo-wrapper {
  max-width: 760px;
  margin: 0 auto 2rem;
}

.video-placeholder {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #1a1a2e;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.video-play-btn {
  width: 72px;
  height: 72px;
  background: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s, background 0.2s;
}

.video-placeholder:hover .video-play-btn {
  transform: scale(1.1);
  background: var(--green-dark);
}

.video-overlay-text {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.7);
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
}

.video-demo-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  text-align: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.stat-num {
  font-family: "Syne", "DM Sans", sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1;
}

.stat-label {
  color: var(--muted);
  font-size: 0.88rem;
}

@media (max-width: 600px) {
  .video-demo-stats { gap: 1.5rem; }
}

/* ── Language Switcher ── */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
}

.lang-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.2rem 0.32rem;
  color: #9ca3af;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 4px;
  transition: color 0.15s;
  font-family: inherit;
  letter-spacing: 0.03em;
}

.lang-btn.active {
  color: var(--black);
}

.lang-btn:hover:not(.active) {
  color: #374151;
}

.lang-divider {
  color: #d1d5db;
  font-size: 0.75rem;
  line-height: 1;
}

@media (max-width: 980px) {
  .lang-switch { display: none; }
}

/* ── Pain section ───────────────────────────────────────────── */
.pain-section {
  background: #f9fafb;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.pain-header {
  text-align: center;
  margin-bottom: 2rem;
}

.pain-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  max-width: 720px;
  margin: 0 auto 2.5rem;
}

.pain-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 1rem;
  color: #374151;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.85rem 1rem;
}

.pain-item .pain-emoji {
  font-size: 1.4rem;
  flex-shrink: 0;
  line-height: 1.3;
}

.pain-cta {
  text-align: center;
}

.pain-cta p {
  color: var(--muted);
  font-style: italic;
  margin-bottom: 0.75rem;
}

@media (max-width: 600px) {
  .pain-grid { grid-template-columns: 1fr; }
}

/* ── Compare table (BotMatic vs Handmatig) ──────────────────── */
.compare-table-section h2 {
  margin-bottom: 1.25rem;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.5rem;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.compare-table th,
.compare-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
}

.compare-table tr:last-child td {
  border-bottom: none;
}

.compare-table thead th {
  font-weight: 700;
  background: #f4f4f5;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.compare-table .col-botmatic {
  background: rgba(16, 185, 129, 0.06);
  font-weight: 600;
  color: #065f46;
}

.compare-table thead .col-botmatic {
  background: rgba(16, 185, 129, 0.15);
  color: var(--green-dark);
}

@media (max-width: 600px) {
  .compare-table { font-size: 0.88rem; }
  .compare-table th,
  .compare-table td { padding: 0.55rem 0.65rem; }
}

/* ── AI-bot comparison section (vergelijking.html) ──────────── */
.ai-compare-section .section-tag {
  display: inline-block;
  margin-bottom: 0.5rem;
}

.ai-compare-section h2 {
  margin-bottom: 0.5rem;
}

.ai-compare-section .sub {
  color: var(--muted);
  margin-bottom: 1.5rem;
  max-width: 560px;
}

/* ── Sector cards interactive (voor-wie.html) ───────────────── */
.sector-card {
  cursor: pointer;
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
  border: 2px solid transparent;
}

.sector-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.sector-card.active {
  border-color: var(--green);
  background: rgba(16, 185, 129, 0.04);
}

.sector-card-hint {
  display: inline-block;
  font-size: 0.8rem;
  color: var(--green-dark);
  margin-top: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

/* ── Sector demo chat panel ─────────────────────────────────── */
.sector-demo {
  margin-top: 1.75rem;
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: var(--shadow);
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
  animation: panel-in 0.25s ease;
}

@keyframes panel-in {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.sector-demo-header {
  background: #075e54;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.sector-demo-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.75rem;
  color: #fff;
  flex-shrink: 0;
}

.sector-demo-name {
  color: #fff;
  font-size: 0.95rem;
  display: block;
  font-family: inherit;
}

.sector-demo-status {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.78rem;
}

#sector-demo-chat {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-height: 120px;
  max-height: 280px;
  overflow-y: auto;
  background: #ece5dd;
}

#sector-demo-chat .bubble.in {
  background: #fff;
  color: #111;
  border-radius: 0 12px 12px 12px;
  padding: 0.5rem 0.75rem;
  max-width: 82%;
  font-size: 0.9rem;
  align-self: flex-start;
  box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

#sector-demo-chat .bubble.out {
  background: #dcf8c6;
  color: #111;
  border-radius: 12px 0 12px 12px;
  padding: 0.5rem 0.75rem;
  max-width: 82%;
  font-size: 0.9rem;
  align-self: flex-end;
  box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

/* ── Hero chat animation (typing indicator) ─────────────────── */
.typing-bubble {
  display: flex !important;
  gap: 5px;
  align-items: center;
  padding: 0.55rem 0.85rem !important;
  min-width: 52px;
}

.typing-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.75);
  flex-shrink: 0;
  animation: typing-bounce 1.1s infinite ease-in-out;
}

.typing-dot:nth-child(2) { animation-delay: 0.18s; }
.typing-dot:nth-child(3) { animation-delay: 0.36s; }

@keyframes typing-bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.6; }
  30%            { transform: translateY(-5px); opacity: 1; }
}

/* ===================================================
   CHAT WIDGET
   =================================================== */
#bm-chat-widget {
  position: fixed;
  bottom: 96px;
  right: 28px;
  z-index: 9990;
  font-family: 'DM Sans', sans-serif;
}

/* Trigger button — круглая иконка как WA bubble */
.bm-trigger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #0d1b2a 0%, #1b3250 100%);
  color: #fff;
  border: none;
  border-radius: 50%;
  padding: 0;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(13,27,42,0.4);
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
  animation: bm-bot-pulse 2.5s infinite;
}
@keyframes bm-bot-pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(13,27,42,0.4); }
  50%       { box-shadow: 0 4px 32px rgba(13,27,42,0.65); }
}
.bm-trigger:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(13,27,42,0.55);
}
.bm-trigger-open { animation: none; }
.bm-trigger-label { display: none; }

/* Badge */
.bm-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: #e74c3c;
  color: #fff;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: bm-pulse 1.6s infinite;
}
@keyframes bm-pulse {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.25); }
}

/* Chat window */
.bm-window {
  position: absolute;
  bottom: 66px;
  right: 0;
  left: auto;
  width: 320px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 10px 48px rgba(0,0,0,0.18);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.96) translateY(8px);
  transform-origin: bottom right;
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.bm-window.bm-open {
  opacity: 1;
  pointer-events: all;
  transform: scale(1) translateY(0);
}

/* Header */
.bm-header {
  background: linear-gradient(135deg, #0d1b2a 0%, #1b3250 100%);
  color: #fff;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.bm-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.bm-avatar {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.bm-name {
  font-weight: 700;
  font-size: 0.88rem;
}
.bm-status {
  font-size: 0.73rem;
  opacity: 0.75;
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 2px;
}
.bm-dot {
  width: 7px;
  height: 7px;
  background: #4ade80;
  border-radius: 50%;
  display: inline-block;
  animation: bm-pulse 2s infinite;
}
.bm-close {
  background: none;
  border: none;
  color: #fff;
  opacity: 0.65;
  cursor: pointer;
  font-size: 1rem;
  padding: 4px 6px;
  line-height: 1;
  transition: opacity 0.15s;
}
.bm-close:hover { opacity: 1; }

/* Messages */
.bm-messages {
  padding: 14px;
  min-height: 160px;
  max-height: 260px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #f5f6fa;
  scroll-behavior: smooth;
}
.bm-msg {
  max-width: 86%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 0.86rem;
  line-height: 1.5;
}
.bm-bot {
  background: #0d1b2a;
  color: #fff;
  border-bottom-left-radius: 4px;
  align-self: flex-start;
}
.bm-user {
  background: #e8f5e9;
  color: #0d1b2a;
  border-bottom-right-radius: 4px;
  align-self: flex-end;
}

/* Typing dots */
.bm-typing {
  display: flex !important;
  gap: 5px;
  align-items: center;
  padding: 12px 16px !important;
}
.bm-typing span {
  width: 7px;
  height: 7px;
  background: rgba(255,255,255,0.65);
  border-radius: 50%;
  animation: bm-type 1.2s infinite;
}
.bm-typing span:nth-child(2) { animation-delay: 0.2s; }
.bm-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes bm-type {
  0%, 60%, 100% { transform: translateY(0); }
  30%            { transform: translateY(-5px); }
}

/* Options */
.bm-options {
  padding: 12px 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  background: #fff;
  border-top: 1px solid #f0f0f5;
  min-height: 52px;
}
.bm-opt {
  background: #fff;
  border: 1.5px solid #0d1b2a;
  color: #0d1b2a;
  border-radius: 20px;
  padding: 7px 13px;
  font-size: 0.81rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  font-family: 'DM Sans', sans-serif;
  line-height: 1.2;
}
.bm-opt:hover {
  background: #0d1b2a;
  color: #fff;
}

/* Mobile adjustments */
@media (max-width: 480px) {
  #bm-chat-widget { bottom: 84px; right: 20px; }
  .bm-window { width: calc(100vw - 32px); right: 0; }
}

/* Chat input row */
.bm-input-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: #fff;
  border-top: 1px solid #f0f0f5;
}
.bm-input {
  flex: 1;
  border: 1.5px solid #e0e0e8;
  border-radius: 20px;
  padding: 8px 14px;
  font-size: 0.85rem;
  font-family: 'DM Sans', sans-serif;
  outline: none;
  transition: border-color 0.15s;
}
.bm-input:focus { border-color: #0d1b2a; }
.bm-input:disabled { opacity: 0.5; }
.bm-send {
  background: linear-gradient(135deg, #0d1b2a, #1b3250);
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.15s;
}
.bm-send:hover { transform: scale(1.08); }
.bm-send:disabled { opacity: 0.4; cursor: default; transform: none; }
.bm-wa-btn {
  display: inline-block;
  margin-top: 6px;
  background: #25d366;
  color: #fff !important;
  border-radius: 20px;
  padding: 7px 14px;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.15s;
}
.bm-wa-btn:hover { background: #1db954; }

/* ===================================================
   COOKIE CONSENT BANNER
   =================================================== */
#bm-cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99999;
  background: #0d1b2a;
  color: #fff;
  transform: translateY(100%);
  transition: transform 0.35s ease;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.2);
}
#bm-cookie-banner.bm-cookie-visible {
  transform: translateY(0);
}
.bm-cookie-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.bm-cookie-text {
  font-size: 0.88rem;
  line-height: 1.5;
  opacity: 0.92;
  flex: 1;
  min-width: 220px;
}
.bm-cookie-link {
  color: #4ade80;
  text-decoration: underline;
}
.bm-cookie-link:hover { opacity: 0.8; }
.bm-cookie-btns {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.bm-cookie-btn {
  border-radius: 20px;
  padding: 8px 20px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  white-space: nowrap;
}
.bm-cookie-btn-ghost {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.35);
  color: rgba(255,255,255,0.75);
}
.bm-cookie-btn-ghost:hover {
  border-color: #fff;
  color: #fff;
}
.bm-cookie-btn-primary {
  background: #4ade80;
  border: 1.5px solid #4ade80;
  color: #0d1b2a;
}
.bm-cookie-btn-primary:hover {
  background: #22c55e;
  border-color: #22c55e;
}
@media (max-width: 600px) {
  .bm-cookie-inner { padding: 14px 16px; }
  .bm-cookie-btn { padding: 8px 14px; font-size: 0.8rem; }
}

/* ===================================================
   TRUST BAR (homepage, inspired by Aimy)
   =================================================== */
.trust-bar {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1.25rem 0;
}
.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 180px;
}
.trust-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
}
.trust-item div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.trust-item strong {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}
.trust-item span {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.35;
}
@media (max-width: 640px) {
  .trust-bar-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  .trust-item { min-width: 0; }
}
