/* BOOKING FORM: the "Book your free pilot call" dialog (sends to HubSpot via pilot-form.js).
   White card on a dimmed page, brand fonts, red only on the tag and the button. */
.bf { border: 0; padding: 0; background: transparent; max-width: min(560px, calc(100vw - 32px)); width: 100%; color: #141B24; }
.bf::backdrop { background: rgba(13,34,51,.55); backdrop-filter: blur(3px); }
.bf-card { position: relative; background: #FFFFFF; border-radius: 18px; padding: clamp(24px, 4vw, 36px); box-shadow: 0 40px 80px -30px rgba(10,50,80,.6); }
.bf-view { display: grid; gap: 14px; justify-items: start; }
.bf-view[hidden] { display: none; }
.bf h2 { font: 700 clamp(24px, 3vw, 30px)/1.15 var(--pop); letter-spacing: -.02em; color: #141B24; }
.bf-sub { font: 400 16px/1.6 var(--pop); color: #3E4955; }
.bf-close { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: #F2F8FC; color: #141B24; font: 400 24px/1 var(--body); cursor: pointer; }
.bf-close:hover { background: #E4F3FC; }
.bf-close:focus-visible { outline: 3px solid #1A6E9F; outline-offset: 2px; }

.bf-form { width: 100%; display: grid; gap: 14px; margin-top: 6px; }
.bf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.bf-form label { display: grid; gap: 7px; font: 600 14px/1.2 var(--body); color: #141B24; }
.bf-form input, .bf-form select { width: 100%; box-sizing: border-box; font: 500 16px/1.3 var(--body); color: #141B24; background: #FFFFFF;
  border: 1.5px solid rgba(26,110,159,.35); border-radius: 8px; padding: 12px 14px; transition: border-color .15s, box-shadow .15s; }
.bf-form select { appearance: none; padding-right: 40px; cursor: pointer;
  background: #FFFFFF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231A6E9F' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center / 16px no-repeat; }
.bf-form input:focus, .bf-form select:focus { outline: none; border-color: #1A6E9F; box-shadow: 0 0 0 4px rgba(44,153,214,.18); }
.bf-form [aria-invalid="true"] { border-color: var(--scarlet); }
.bf-trap { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.bf-error { font: 500 14px/1.5 var(--pop); color: #B4161B; }
.bf-error a { color: inherit; }
.bf-submit { justify-content: center; width: 100%; margin-top: 4px; border: 0; cursor: pointer; }
.bf-submit[disabled] { opacity: .7; cursor: wait; }

.bf-ok { width: 52px; height: 52px; border-radius: 50%; background: var(--scarlet)
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 26px no-repeat; }

@media (max-width: 520px) { .bf-row { grid-template-columns: 1fr; } }
.bf [hidden] { display: none !important; }

/* Pick-a-time step: the calendar (HubSpot Meetings / Calendly / Cal.com) inside the dialog */
.bf.is-schedule { max-width: min(860px, calc(100vw - 32px)); }
.bf-cal { width: 100%; border-radius: 12px; overflow: hidden; box-shadow: 0 0 0 1px rgba(26,110,159,.18); }
.bf-cal iframe { display: block; width: 100%; height: min(680px, 70vh); border: 0; }
