/* Injected on every page (loaded after GHL inline styles so it wins). */

/* Belt-and-suspenders: hide any cookie banner / chat widget that survived sanitizing. */
#cookieBanner,
.cookie-banner,
#acceptCookies,
.lc_text-widget,
#chat-widget,
.chat-widget { display: none !important; }

/* ---- Contact modal ---- */
.cbl-modal {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  font-family: 'Poppins', 'Lato', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}
.cbl-modal.is-open { display: flex; }

/* clickable GHL button widgets we re-wired (modal triggers / internal links) */
[data-contact-modal], [data-cbl-link] { cursor: pointer; }
.cbl-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 12, 20, 0.72);
  backdrop-filter: blur(2px);
}
.cbl-modal__dialog {
  position: relative;
  width: 100%;
  max-width: 440px;
  background: #ffffff;
  color: #1a1f2b;
  border-radius: 16px;
  padding: 40px 32px 32px;
  text-align: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  animation: cbl-pop 0.18s ease-out;
}
@keyframes cbl-pop {
  from { transform: translateY(8px) scale(0.98); opacity: 0; }
  to   { transform: translateY(0)    scale(1);    opacity: 1; }
}
.cbl-modal__close {
  position: absolute;
  top: 12px;
  right: 16px;
  border: none;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  color: #9aa3b2;
  cursor: pointer;
  padding: 4px 8px;
}
.cbl-modal__close:hover { color: #1a1f2b; }
.cbl-modal__title {
  margin: 0 0 12px;
  font-size: 24px;
  font-weight: 700;
  color: #111827;
}
.cbl-modal__text {
  margin: 0 0 24px;
  font-size: 16px;
  line-height: 1.5;
  color: #4b5563;
}
.cbl-modal__btn {
  display: inline-block;
  width: 100%;
  box-sizing: border-box;
  padding: 16px 24px;
  background: #188bf6;
  color: #ffffff !important;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 10px;
  transition: background 0.15s ease;
}
.cbl-modal__btn:hover { background: #0f6fcc; }
.cbl-modal__small {
  margin: 16px 0 0;
  font-size: 13px;
  color: #9aa3b2;
}
body.cbl-modal-open { overflow: hidden; }

/* ---- Mobile nav drawer (links cloned in by enhance.js; make them visible on white) ---- */
#nav-menu-popup .nav-menu-body { display: flex; flex-direction: column; }
#nav-menu-popup .nav-menu,
#nav-menu-popup .cbl-cloned-nav {
  list-style: none;
  margin: 48px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: 100%;
}
#nav-menu-popup .nav-menu-body a {
  display: block;
  color: #0b2233 !important;
  font-family: 'Poppins', 'Lato', system-ui, sans-serif;
  font-size: 20px;
  font-weight: 600;
  padding: 15px 4px;
  text-decoration: none;
  border-bottom: 1px solid #eef1f5;
}
#nav-menu-popup .nav-menu-body a:hover { color: #188bf6 !important; }

/* ---- Click-to-play video facades ---- */
.cbl-video { position: relative; cursor: pointer; }
.cbl-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 76px;
  height: 76px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
  z-index: 2;
}
.cbl-play::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 54%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 13px 0 13px 22px;
  border-color: transparent transparent transparent #fff;
}
.cbl-video:hover .cbl-play { background: #188bf6; transform: translate(-50%, -50%) scale(1.06); }

