/* HPA Site Core: Schedule a Call page (sales.schedule_call). Colours and type follow the site header and hero. */
.hpa-sc {
  --sc-navy: #2d2e43;
  --sc-blue: #057cad;
  --sc-teal: #00a9a9;
  --sc-teal-ink: #007a7a;
  --sc-teal-soft: #e6f7f7;
  --sc-ink: #2d2e43;
  --sc-mut: #5a6478;
  --sc-line: #e3e7ee;
  --sc-soft: #f6f8fb;
  --sc-head: Montserrat, Helvetica, Arial, sans-serif;
  color: var(--sc-ink);
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}
.hpa-sc *, .hpa-sc *::before, .hpa-sc *::after { box-sizing: border-box; }
.hpa-sc h1, .hpa-sc h2, .hpa-sc h3, .hpa-sc p, .hpa-sc ul, .hpa-sc ol, .hpa-sc li { margin: 0; padding: 0; }
.hpa-sc h1, .hpa-sc h2, .hpa-sc h3, .hpa-sc-h3, .hpa-sc-eyebrow, .hpa-sc button, .hpa-sc-btn { font-family: var(--sc-head); }
.hpa-sc ul, .hpa-sc ol { list-style: none; }
.hpa-sc svg { display: block; flex: none; }

/* Hero: the photo band spans the window from inside Divi's container (#main-content clips the overflow). */
.hpa-sc-hero { position: relative; isolation: isolate; color: #fff; padding: 72px 0 128px; }
.hpa-sc-hero::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  margin-left: -50vw;
  z-index: -1;
  background: linear-gradient(160deg, rgba(45, 46, 67, .94) 0%, rgba(5, 124, 173, .88) 100%), url("/files/2010/05/2017.02.12-01.05-flyhpa-589fb4c1ed6bb.jpg") center / cover;
}
.hpa-sc-in { max-width: 1080px; margin: 0 auto; }
.hpa-sc-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #7fe3e3; margin-bottom: 12px !important; }
.hpa-sc-hero h1 { color: #fff; font-size: clamp(34px, 4.4vw, 52px); font-weight: 300; line-height: 1.1; margin-bottom: 14px !important; padding: 0; }
.hpa-sc-lede { font-family: var(--sc-head); font-size: clamp(17px, 1.6vw, 20px); max-width: 640px; color: #e4eef5; }
.hpa-sc-assure { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px !important; font-size: 14px; color: #d8e6ef; }
.hpa-sc-assure li { display: flex; align-items: center; gap: 8px; }
.hpa-sc-assure svg { width: 18px; height: 18px; color: #7fe3e3; }

/* Booking panel overlaps the hero */
.hpa-sc-stage { max-width: 1080px; margin: -84px auto 0; position: relative; }
.hpa-sc-panel { background: #fff; border-radius: 14px; box-shadow: 0 18px 50px rgba(20, 28, 48, .16), 0 2px 6px rgba(20, 28, 48, .06); overflow: hidden; }
.hpa-sc-steps { display: flex; border-bottom: 1px solid var(--sc-line); font: 600 13px var(--sc-head); color: var(--sc-mut); }
.hpa-sc-steps > span { flex: 1; padding: 14px 20px; display: flex; align-items: center; gap: 10px; }
.hpa-sc-steps b { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--sc-line); color: var(--sc-mut); font-size: 12px; }
.hpa-sc-steps .is-on { color: var(--sc-ink); }
.hpa-sc-steps .is-on b { background: var(--sc-teal); color: #fff; }
.hpa-sc-steps .is-done b { background: var(--sc-navy); color: #fff; }

/* Step 1: topics */
.hpa-sc-pick { padding: 34px 34px 38px; }
.hpa-sc-pick h2 { font-size: 24px; font-weight: 600; color: var(--sc-ink); line-height: 1.3; padding: 0; margin-bottom: 4px !important; }
.hpa-sc-sub { color: var(--sc-mut); margin-bottom: 24px !important; }
.hpa-sc-topics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.hpa-sc a.hpa-sc-topic { display: flex; flex-direction: column; gap: 10px; padding: 22px; border: 1.5px solid var(--sc-line); border-radius: 12px; background: #fff; color: var(--sc-ink); text-decoration: none; cursor: pointer; transition: border-color .15s, box-shadow .15s, transform .15s; }
.hpa-sc a.hpa-sc-topic:hover { border-color: var(--sc-teal); box-shadow: 0 8px 24px rgba(0, 169, 169, .14); transform: translateY(-2px); }
.hpa-sc a.hpa-sc-topic:focus-visible { outline: 3px solid var(--sc-teal); outline-offset: 2px; }
.hpa-sc-ic { width: 46px; height: 46px; border-radius: 10px; background: var(--sc-teal-soft); color: var(--sc-teal-ink); display: grid; place-items: center; }
.hpa-sc-ic svg { width: 26px; height: 26px; stroke-width: 1.8; }
.hpa-sc-h3 { font-size: 18px; font-weight: 600; line-height: 1.3; margin-top: 4px; color: var(--sc-ink); }
.hpa-sc-blurb { color: var(--sc-mut); font-size: 14.5px; flex: 1; }
.hpa-sc-meta { display: flex; gap: 14px; font-size: 13px; font-weight: 600; padding-top: 12px; border-top: 1px solid var(--sc-line); }
.hpa-sc-meta > span { display: flex; align-items: center; gap: 6px; }
.hpa-sc-meta svg { width: 15px; height: 15px; color: var(--sc-teal-ink); }
.hpa-sc-alt { margin-top: 22px !important; font-size: 14.5px; color: var(--sc-mut); text-align: center; }
.hpa-sc-alt a { color: var(--sc-navy); font-weight: 700; text-decoration: none; white-space: nowrap; }

/* Step 2: calendar */
.hpa-sc-book { display: none; grid-template-columns: 300px minmax(0, 1fr); }
.hpa-sc.is-booking .hpa-sc-pick { display: none; }
.hpa-sc.is-booking .hpa-sc-book { display: grid; }
.hpa-sc-summary { background: var(--sc-soft); border-right: 1px solid var(--sc-line); padding: 28px 26px; }
.hpa-sc button.hpa-sc-back { all: unset; cursor: pointer; font: 600 13px var(--sc-head); color: var(--sc-teal-ink); display: inline-flex; align-items: center; gap: 6px; margin-bottom: 20px; }
.hpa-sc button.hpa-sc-back:focus-visible { outline: 2px solid var(--sc-teal); outline-offset: 3px; }
.hpa-sc-back svg { width: 14px; height: 14px; stroke-width: 2.4; }
.hpa-sc-summary h3 { font-size: 20px; font-weight: 600; color: var(--sc-ink); padding: 0; margin-bottom: 14px !important; }
.hpa-sc-facts { display: grid; gap: 10px; font-size: 14.5px; margin-bottom: 20px !important; }
.hpa-sc-facts li { display: flex; gap: 10px; align-items: flex-start; }
.hpa-sc-facts svg { width: 18px; height: 18px; color: var(--sc-teal-ink); margin-top: 2px; }
.hpa-sc-cover { font: 700 13px var(--sc-head); letter-spacing: .08em; text-transform: uppercase; color: var(--sc-mut); margin-bottom: 8px !important; }
.hpa-sc ul.hpa-sc-covers { list-style: disc; padding-left: 18px; font-size: 14.5px; }
.hpa-sc-covers li { margin: 3px 0; }
.hpa-sc-mount { position: relative; height: 690px; min-width: 320px; }
.hpa-sc-mount iframe { display: block; width: 100%; height: 100%; border: 0; }
.hpa-sc-mount .calendly-spinner { position: absolute; top: 120px; left: 0; right: 0; text-align: center; }
.hpa-sc-mount.is-loaded .calendly-spinner { display: none; }

/* Step 3: confirmation */
.hpa-sc-done { display: none; padding: 56px 34px; text-align: center; outline: none; }
.hpa-sc.is-done .hpa-sc-pick, .hpa-sc.is-done .hpa-sc-book { display: none; }
.hpa-sc.is-done .hpa-sc-done { display: block; }
.hpa-sc-check { width: 64px; height: 64px; border-radius: 50%; background: var(--sc-teal-soft); color: var(--sc-teal-ink); display: grid; place-items: center; margin: 0 auto 18px; }
.hpa-sc-check svg { width: 34px; height: 34px; stroke-width: 2.4; }
.hpa-sc-done h2 { font-size: 26px; font-weight: 600; color: var(--sc-ink); padding: 0; margin-bottom: 8px !important; }
.hpa-sc-done p { color: var(--sc-mut); max-width: 520px; margin: 0 auto 8px !important; }
.hpa-sc-next { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }
.hpa-sc a.hpa-sc-btn { display: inline-flex; align-items: center; padding: 12px 20px; border-radius: 6px; font-weight: 600; font-size: 14px; text-decoration: none; }
.hpa-sc a.hpa-sc-btn--navy { background: var(--sc-navy); color: #fff; }
.hpa-sc a.hpa-sc-btn--line { border: 1.5px solid var(--sc-line); color: var(--sc-ink); }

/* What to expect (the page's existing wording) */
.hpa-sc-expect { max-width: 1080px; margin: 56px auto 72px; display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; align-items: start; }
.hpa-sc-expect h2 { font-family: var(--sc-head); font-size: 26px; font-weight: 500; color: var(--sc-ink); padding: 0; margin-bottom: 10px !important; }
.hpa-sc-expect p { color: #3d4352; margin-bottom: 14px !important; }
.hpa-sc-expect ol { display: grid; gap: 12px; counter-reset: hpa-sc; }
.hpa-sc-expect ol li { counter-increment: hpa-sc; display: grid; grid-template-columns: 34px 1fr; gap: 12px; color: #3d4352; }
.hpa-sc-expect ol li::before { content: counter(hpa-sc); width: 30px; height: 30px; border-radius: 50%; background: var(--sc-navy); color: #fff; display: grid; place-items: center; font: 600 13px var(--sc-head); }
.hpa-sc-promise { background: var(--sc-soft); border: 1px solid var(--sc-line); border-left: 4px solid var(--sc-teal); border-radius: 10px; padding: 24px; }
.hpa-sc-promise p { font-size: 15px; color: #3d4352; margin: 0 !important; }
.hpa-sc .hpa-sc-promise-h { font: 700 17px var(--sc-head); color: var(--sc-ink); margin-bottom: 8px !important; }

@media (max-width: 860px) {
  .hpa-sc-hero { padding: 48px 0 112px; }
  .hpa-sc-topics { grid-template-columns: 1fr; }
  .hpa-sc a.hpa-sc-topic { flex-direction: row; flex-wrap: wrap; align-items: center; padding: 18px; }
  .hpa-sc-ic { width: 42px; height: 42px; }
  .hpa-sc-h3 { margin: 0; flex: 1; }
  .hpa-sc-blurb, .hpa-sc-meta { flex-basis: 100%; }
  .hpa-sc-book { grid-template-columns: 1fr; }
  .hpa-sc-summary { border-right: 0; border-bottom: 1px solid var(--sc-line); padding: 20px; }
  .hpa-sc-cover, .hpa-sc ul.hpa-sc-covers { display: none; }
  .hpa-sc-mount { height: 1000px; }
  .hpa-sc-expect { grid-template-columns: 1fr; gap: 28px; }
  .hpa-sc-pick { padding: 24px 18px; }
  .hpa-sc-steps > span { padding: 12px; }
  .hpa-sc-lbl { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hpa-sc a.hpa-sc-topic { transition: none; }
  .hpa-sc a.hpa-sc-topic:hover { transform: none; }
}

/* On the page that holds the shortcode: no Divi title or sidebar, the hero leads. */
.hpa-sc-page #main-content { overflow-x: clip; }
.hpa-sc-page #main-content .container { padding-top: 0 !important; }
.hpa-sc-page #main-content .container::before { display: none !important; }
.hpa-sc-page #left-area { width: 100% !important; padding: 0 !important; float: none !important; }
.hpa-sc-page #sidebar { display: none !important; }
.hpa-sc-page .main_title, .hpa-sc-page h1.entry-title { display: none !important; }
.hpa-sc-page article.page { padding-bottom: 0 !important; }
