:root {
  --ink: #082f49;
  --ink-soft: #557186;
  --line: rgba(8, 72, 105, 0.14);
  --cyan: #18b7df;
  --serif: "Iowan Old Style", "Baskerville", "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 2%, rgba(75, 191, 226, 0.12), transparent 25%),
    linear-gradient(180deg, #f6fbfd 0%, #ffffff 44%, #edf7fa 100%);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

.contact-header {
  position: sticky;
  z-index: 10;
  top: 0;
  display: flex;
  width: min(1280px, calc(100% - 48px));
  min-height: 70px;
  margin: 0 auto;
  padding: 0 20px;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(5, 68, 99, 0.09);
  border-top: 0;
  border-radius: 0 0 20px 20px;
  background: rgba(250, 253, 254, 0.92);
  box-shadow: 0 16px 36px rgba(5, 49, 75, 0.08);
  backdrop-filter: blur(16px);
}

.contact-brand img {
  display: block;
  width: 175px;
  height: auto;
}

.contact-header nav {
  display: flex;
  align-items: center;
  gap: 2px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
}

.contact-header nav a {
  display: inline-flex;
  min-height: 44px;
  padding: 0 14px;
  align-items: center;
  justify-content: center;
  color: #31566e;
  border-left: 1px solid var(--line);
  font-size: 12px;
  font-weight: 750;
}

.contact-header nav a:first-child {
  border-left: 0;
}

.contact-header nav a:hover,
.contact-header nav a:focus-visible {
  color: #006d97;
  background: rgba(24, 183, 223, 0.09);
}

.contact-header nav a:focus-visible,
.contact-brand:focus-visible,
.contact-footer a:focus-visible {
  outline: 3px solid rgba(24, 183, 223, 0.44);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

main {
  width: min(1260px, calc(100% - 64px));
  margin: 0 auto;
}

.booking-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(540px, 1.1fr);
  gap: clamp(36px, 4vw, 56px);
  min-height: calc(100vh - 70px);
  align-items: center;
  padding: 30px 0 38px;
}

.booking-copy {
  position: sticky;
  top: 98px;
  padding-top: 0;
}

.booking-copy h1 {
  max-width: 720px;
  margin: 0;
  font: 500 clamp(50px, 4.1vw, 60px)/0.98 var(--serif);
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.booking-lede {
  max-width: 540px;
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.58;
  text-wrap: balance;
}

.call-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.call-facts span {
  display: inline-flex;
  min-height: 34px;
  padding: 0 13px;
  align-items: center;
  border: 1px solid rgba(5, 102, 143, 0.14);
  border-radius: 999px;
  color: #15678b;
  background: rgba(235, 248, 252, 0.82);
  font-size: 11px;
  font-weight: 800;
}

.call-outline {
  margin-top: 32px;
}

.call-outline h2,
.scheduler h2 {
  margin: 0;
  font: 500 31px/1.05 var(--serif);
  letter-spacing: -0.025em;
}

.call-outline ol {
  display: grid;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.call-outline li {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.call-outline li > span {
  color: #16a5d1;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.call-outline strong {
  display: block;
  font: 500 19px/1.15 var(--serif);
}

.call-outline p,
.candid-promise p {
  margin: 7px 0 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.5;
  text-wrap: pretty;
}

.candid-promise {
  margin-top: 26px;
  padding: 20px 22px;
  border-left: 3px solid var(--cyan);
  background: linear-gradient(90deg, rgba(224, 245, 251, 0.76), transparent);
}

.candid-promise strong {
  font-size: 14px;
}

.scheduler {
  overflow: hidden;
  border: 1px solid rgba(5, 68, 99, 0.13);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 24px 70px rgba(5, 45, 69, 0.12);
}

.calendly-inline-widget {
  min-width: 320px;
  height: 620px;
  min-height: 560px;
  overflow: hidden;
}

.scheduler-fallback {
  padding: 28px;
  text-align: center;
}

.scheduler-fallback a {
  color: #087aa8;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.contact-footer {
  display: flex;
  width: min(1280px, calc(100% - 64px));
  min-height: 92px;
  margin: 0 auto;
  padding: 24px 0 30px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  color: #5a7485;
  font-size: 12px;
}

.contact-footer p {
  margin: 0;
}

.contact-footer div {
  display: flex;
  gap: 22px;
}

.contact-footer a {
  color: #165f81;
  font-weight: 750;
}

@media (max-width: 980px) {
  .booking-intro {
    grid-template-columns: 1fr;
    gap: 42px;
    min-height: 0;
    padding-top: 42px;
  }

  .booking-copy {
    position: static;
    max-width: 760px;
    margin: 0 auto;
  }

  .scheduler {
    width: min(100%, 760px);
    margin: 0 auto;
  }
}

@media (max-width: 700px) {
  .contact-header {
    width: calc(100% - 24px);
    min-height: 68px;
    padding: 0 12px 0 16px;
  }

  .contact-brand img {
    width: 132px;
  }

  .contact-header nav .back-link,
  .contact-header nav a[href^="mailto"] {
    display: none;
  }

  .contact-header nav a {
    min-width: 54px;
    padding: 0 10px;
    font-size: 11px;
  }

  main,
  .contact-footer {
    width: calc(100% - 32px);
  }

  .booking-intro {
    gap: 30px;
    padding: 38px 0 54px;
  }

  .booking-copy {
    padding-top: 0;
  }

  .booking-copy h1 {
    font-size: clamp(43px, 12.5vw, 57px);
    line-height: 0.98;
  }

  .booking-lede {
    margin-top: 18px;
    font-size: 16px;
  }

  .call-facts {
    margin-top: 20px;
  }

  .call-outline {
    margin-top: 32px;
  }

  .call-outline h2,
  .scheduler h2 {
    font-size: 30px;
  }

  .scheduler {
    margin-inline: -8px;
    width: calc(100% + 16px);
    border-radius: 20px;
  }

  .calendly-inline-widget {
    height: 640px;
    min-height: 600px;
  }

  .contact-footer {
    display: grid;
    justify-items: center;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
