/* Book a call section */
.book-a-call {
  padding-top: 0;
  padding-bottom: 0;
  background-color: var(--bg-color);
}

/* Copy on top, the booking calendar full width below: Cal.com only shows its three-part layout
   (details | calendar | times) when its frame is about 800px or wider. */
.book-a-call-stack {
  display: flex;
  flex-direction: column;
}

.book-a-call-copy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  padding: 80px 48px 56px;
}

.book-a-call-heading {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.book-a-call-tag {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 6px 12px;
  background-color: #E6F4FE;
  border: 1px solid #FFFFFF;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: -0.07px;
  color: #0588F0;
}

.book-a-call-title {
  font-size: 48px;
  font-weight: 500;
  line-height: 56px;
  letter-spacing: -1.44px;
  color: var(--text-main);
  max-width: 382px;
  margin: 0;
}

.book-a-call-description {
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: -0.08px;
  color: #657080;
  max-width: 368px;
  margin: 0;
}

.book-a-call-details {
  flex: 0 1 420px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.book-a-call-checks {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.book-a-call-check {
  display: flex;
  /* Icon sits on the first line when an item wraps */
  align-items: flex-start;
  gap: 12px;
}

.book-a-call-check-icon {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  margin-top: 4px;
  border-radius: 4px;
  background-color: #454545;
  box-shadow: inset 0.89px 0.89px 1.78px rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  overflow: hidden;
}

.book-a-call-check-icon i,
.book-a-call-check-icon svg {
  width: 10.67px;
  height: 10.67px;
  flex-shrink: 0;
}

.book-a-call-check-text {
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: -0.16px;
  color: var(--text-main);
}

.book-a-call-cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.book-a-call-button {
  align-self: flex-start;
  height: 40px;
  padding: 0 16px;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: -0.096px;
  box-shadow: none;
}

.book-a-call-button:hover {
  box-shadow: none;
  transform: none;
}

.book-a-call-visual {
  padding: 0 48px 80px;
}

/* Cal.com booking calendar, inline. The Cal embed script sizes the frame to its content, so the
   page scrolls normally instead of the calendar scrolling inside a fixed-height box. */
.book-a-call-embed {
  min-height: 570px;
}

.book-a-call-embed:empty {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0.5px solid var(--border-color);
  border-radius: 12px;
  background: var(--white);
}

.book-a-call-embed:empty::before {
  content: 'Loading the calendar…';
  font-size: 14px;
  line-height: 20px;
  color: #657080;
}

.book-a-call-embed iframe,
.book-a-call-frame {
  display: block;
  width: 100%;
  border: 0;
}

.book-a-call-frame {
  min-height: 720px;
  background: var(--white);
}

@media (max-width: 960px) {
  .book-a-call-copy {
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
    padding: 64px 32px 40px;
  }

  .book-a-call-details {
    flex: 1 1 auto;
    width: 100%;
  }

  .book-a-call-visual {
    padding: 0 24px 56px;
  }
}

@media (max-width: 640px) {
  .book-a-call-copy {
    padding: 56px 24px 32px;
  }

  .book-a-call-title {
    font-size: var(--section-title-phone);
    line-height: var(--section-title-phone-lh);
    letter-spacing: -0.02em;
  }

  .book-a-call-visual {
    padding: 0 12px 40px;
  }

  /* Full-width button on phones, like the other section CTAs */
  .book-a-call-button {
    align-self: stretch;
  }

  .book-a-call-embed {
    min-height: 480px;
  }
}

/* Leave room for the sticky header when jumping to #contact */
.book-a-call[id] {
  scroll-margin-top: 64px;
}
