body.bb-lead-modal-open {
  overflow: hidden;
}

.bbfloatwrap {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 99990;
}

.bbfloatbutton {
  background: var(--bb-button-bg, #2f4f46);
  color: var(--bb-button-text, #ffffff);
  border: none;
  border-radius: 999px;
  padding: 16px 22px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
  animation: bbBob 4.5s ease-in-out infinite;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.bbfloatbutton:hover {
  transform: scale(1.04);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.22);
}

@keyframes bbBob {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0px); }
}

.bbmodaloverlay {
  position: fixed;
  inset: 0;
  background: var(--bb-overlay-bg, rgba(0,0,0,.45));
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  padding: 20px;
}

.bbmodaloverlay.bbshow {
  display: flex;
}

.bbmodalbox {
  width: 980px;
  max-width: 100%;
  background: var(--bb-modal-bg, #f7f3ed);
  border-radius: 16px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  position: relative;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.bbmodalclose {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  color: #333;
  z-index: 2;
}

.bbmodalleft {
  min-height: 560px;
}

.bbimagepanel {
  height: 100%;
  min-height: 560px;
  background:
    linear-gradient(rgba(0,0,0,.12), rgba(0,0,0,.12)),
    url("https://images.unsplash.com/photo-1511285560929-80b456fea0bc?auto=format&fit=crop&w=1200&q=80");
  background-size: cover;
  background-position: center;
  position: relative;
}

.bbimageoverlaytext {
  position: absolute;
  left: 24px;
  bottom: 24px;
  color: #fff;
  background: rgba(0,0,0,.25);
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 14px;
  letter-spacing: .02em;
}

.bbmodalright {
  padding: 64px 48px 38px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.bbkicker {
  display: inline-block;
  background: var(--bb-accent-bg, #d8c2a0);
  color: var(--bb-accent-text, #2f4f46);
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 18px;
  width: fit-content;
}

.bbmodalright h2 {
  color: var(--bb-heading, #2f4f46);
  font-size: 54px;
  line-height: 1.04;
  margin: 0 0 16px 0;
}

.bbsubcopy {
  font-size: 20px;
  line-height: 1.5;
  color: #4b4b4b;
  margin: 0 0 24px 0;
}

.bbfieldwrap {
  margin-bottom: 14px;
}

.bbleadform input,
.bbleadform select {
  width: 100%;
  border: 2px solid #111;
  border-radius: 8px;
  background: #fff;
  padding: 16px 14px;
  font-size: 16px;
  box-sizing: border-box;
}

.bbsubmitbutton {
  width: 100%;
  border: none;
  background: var(--bb-submit-bg, #c89b3c);
  color: var(--bb-submit-text, #111111);
  border-radius: 8px;
  padding: 18px 16px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 2px;
}

.bbsubmitbutton:hover {
  opacity: 0.94;
}

.bbformmessage {
  min-height: 24px;
  margin: 12px 0 0 0;
  font-size: 14px;
  color: #4b4b4b;
}

.bbfineprint {
  font-size: 13px;
  line-height: 1.5;
  color: #666;
  margin: 18px 0 0 0;
}

.bbnothanks {
  margin-top: 26px;
  align-self: center;
  background: none;
  border: none;
  color: #666;
  font-size: 16px;
  cursor: pointer;
}

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

  .bbmodalleft {
    min-height: 220px;
  }

  .bbimagepanel {
    min-height: 220px;
  }

  .bbmodalright {
    padding: 34px 22px 28px 22px;
  }

  .bbmodalright h2 {
    font-size: 34px;
  }

  .bbsubcopy {
    font-size: 17px;
  }

  .bbfloatwrap {
    right: 14px;
    bottom: 14px;
  }

  .bbfloatbutton {
    font-size: 15px;
    padding: 14px 18px;
  }
}
