/*
 * Scroll Search Bar + Get Started dialog (mega menu widget).
 * Both are mounted into the widget's portal host (.pm-mega-menu.pm-mega-menu__portal-host),
 * so every selector is scoped under .pm-mega-menu to beat Hello Elementor's
 * global button/input resets.
 */

.pm-mega-menu {
  --pm-ss-red: #df6c67;
  --pm-ss-red-hover: #d65a54;
  --pm-ss-blue: #0a6eb8;
  --pm-ss-ink: #101828;
  --pm-ss-body: #344054;
  --pm-ss-muted: #667085;
  --pm-ss-line: #d0d5dd;
  --pm-ss-line-strong: #98a2b3;
  --pm-ss-hairline: #eaecf0;
  --pm-ss-wash: #f2f4f7;
  --pm-ss-focus: #1d4ed8;
  --pm-ss-error: #d92d20;
  --pm-ss-bar-height: 76px;
  --pm-ss-ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* The header the bar replaces. */
[data-pm-scroll-search-active] {
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease;
}

html.pm-get-started-open {
  overflow: hidden;
}

/* ---------------------------------------------------------------------------
 * Bar
 * ------------------------------------------------------------------------- */

.pm-mega-menu .pm-scroll-search {
  position: fixed;
  inset: 0 0 auto;
  z-index: 9990;
  background: #ffffff;
  border-bottom: 1px solid var(--pm-ss-hairline);
  box-shadow: 0 10px 30px -20px rgba(16, 24, 40, 0.35);
  color: var(--pm-ss-ink);
  transform: translateY(-100%);
  visibility: hidden;
  transition:
    transform 280ms var(--pm-ss-ease-out),
    visibility 0s linear 280ms;
}

.pm-mega-menu .pm-scroll-search[data-state="visible"] {
  transform: none;
  visibility: visible;
  transition:
    transform 280ms var(--pm-ss-ease-out),
    visibility 0s;
}

.admin-bar .pm-mega-menu .pm-scroll-search {
  top: 32px;
}

@media (max-width: 782px) {
  .admin-bar .pm-mega-menu .pm-scroll-search {
    top: 46px;
  }
}

.pm-mega-menu .pm-scroll-search__inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  max-width: var(--pm-mega-menu-desktop-max-width, 1280px);
  height: var(--pm-ss-bar-height);
  margin: 0 auto;
  padding: 0 24px;
}

.pm-mega-menu .pm-scroll-search__brand {
  display: inline-flex;
  align-items: center;
}

.pm-mega-menu .pm-scroll-search__brand img {
  display: block;
  width: auto;
  max-width: 180px;
  max-height: 40px;
}

/* Search pill */

.pm-mega-menu .pm-scroll-search__form {
  position: relative;
  display: flex;
  align-items: center;
  justify-self: center;
  width: min(100%, 680px);
  height: 52px;
  margin: 0;
  padding: 3px 3px 3px 4px;
  background: #ffffff;
  border: 1px solid var(--pm-ss-line);
  border-radius: 999px;
  transition:
    background-color 200ms ease,
    border-color 200ms ease;
}

.pm-mega-menu .pm-scroll-search__form:hover {
  border-color: var(--pm-ss-line-strong);
}

/*
 * Focus is shown per segment: the pill dims to grey and the active segment
 * (topic or ZIP) lifts into a white capsule with a blue ring.
 */
.pm-mega-menu .pm-scroll-search__form:focus-within {
  background: var(--pm-ss-wash);
  border-color: var(--pm-ss-line);
}

.pm-mega-menu .pm-scroll-search__topic {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
}

.pm-mega-menu .pm-scroll-search__topic-button,
.pm-mega-menu .pm-scroll-search__topic-button:hover,
.pm-mega-menu .pm-scroll-search__topic-button:focus {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  height: 44px;
  padding: 0 14px 0 18px;
  background: transparent;
  border: 0;
  border-radius: 999px;
  box-shadow: none;
  color: var(--pm-ss-ink);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.2;
  text-align: left;
  transition:
    background-color 160ms ease,
    box-shadow 160ms ease;
}

.pm-mega-menu .pm-scroll-search__topic-button:hover {
  background: rgba(16, 24, 40, 0.05);
}

.pm-mega-menu .pm-scroll-search__topic-button:focus-visible,
.pm-mega-menu .pm-scroll-search__topic-button[aria-expanded="true"],
.pm-mega-menu .pm-scroll-search__zip:focus,
.pm-mega-menu .pm-scroll-search__zip:focus:-webkit-autofill {
  background: #ffffff;
  box-shadow:
    0 0 0 2px var(--pm-ss-blue),
    0 4px 12px -4px rgba(16, 24, 40, 0.18);
  outline: none;
}

.pm-mega-menu .pm-scroll-search__topic-value {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  color: var(--pm-ss-muted);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pm-mega-menu .pm-scroll-search__topic-value[data-filled] {
  color: var(--pm-ss-ink);
  font-weight: 600;
}

.pm-mega-menu .pm-scroll-search__chevron {
  flex: none;
  width: 12px;
  height: 8px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  color: var(--pm-ss-muted);
  transition: transform 200ms var(--pm-ss-ease-out);
}

.pm-mega-menu .pm-scroll-search__topic-button[aria-expanded="true"] .pm-scroll-search__chevron {
  transform: rotate(180deg);
}

.pm-mega-menu .pm-scroll-search__divider {
  flex: none;
  width: 1px;
  height: 28px;
  margin: 0 2px;
  background: var(--pm-ss-line);
  transition: opacity 160ms ease;
}

/* The lifted segment already separates itself. */
.pm-mega-menu .pm-scroll-search__form:focus-within .pm-scroll-search__divider {
  opacity: 0;
}

.pm-mega-menu .pm-scroll-search__zip {
  flex: 0 0 132px;
  width: 132px;
  height: 44px;
  margin-right: 4px;
  padding: 0 18px;
  background: transparent;
  border: 0;
  border-radius: 999px;
  box-shadow: none;
  color: var(--pm-ss-ink);
  font-size: 15px;
  font-variant-numeric: tabular-nums;
  outline: none;
  transition:
    background-color 160ms ease,
    box-shadow 160ms ease;
}

.pm-mega-menu .pm-scroll-search__zip:hover:not(:focus) {
  background: rgba(16, 24, 40, 0.05);
}

/* Chrome paints autofilled inputs light blue; keep the segment's own fill. */
.pm-mega-menu .pm-scroll-search__zip:-webkit-autofill {
  -webkit-text-fill-color: var(--pm-ss-ink);
  box-shadow: inset 0 0 0 40px #ffffff;
  transition: background-color 9999s;
}

.pm-mega-menu .pm-scroll-search__zip:focus:-webkit-autofill {
  box-shadow:
    inset 0 0 0 40px #ffffff,
    0 0 0 2px var(--pm-ss-blue),
    0 4px 12px -4px rgba(16, 24, 40, 0.18);
}

.pm-mega-menu .pm-scroll-search__zip::placeholder {
  color: var(--pm-ss-muted);
  opacity: 1;
}

.pm-mega-menu .pm-scroll-search__submit,
.pm-mega-menu .pm-scroll-search__submit:focus {
  flex: none;
  height: 44px;
  padding: 0 24px;
  background: var(--pm-ss-red);
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  transition:
    background-color 160ms ease,
    transform 120ms ease;
}

.pm-mega-menu .pm-scroll-search__submit:hover {
  background: var(--pm-ss-red-hover);
  color: #ffffff;
}

.pm-mega-menu .pm-scroll-search__submit:active {
  transform: scale(0.97);
}

.pm-mega-menu .pm-scroll-search__submit:focus-visible {
  outline: 2px solid var(--pm-ss-focus);
  outline-offset: 2px;
  box-shadow: none;
}

.pm-mega-menu .pm-scroll-search__error {
  position: absolute;
  top: calc(100% + 10px);
  left: 18px;
  margin: 0;
  padding: 8px 12px;
  background: var(--pm-ss-ink);
  border-radius: 8px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition:
    opacity 160ms ease,
    transform 160ms var(--pm-ss-ease-out);
}

.pm-mega-menu .pm-scroll-search__error[data-visible] {
  opacity: 1;
  transform: none;
}

/* Point at the field that needs fixing (ZIP sits just left of the button). */
.pm-mega-menu .pm-scroll-search__error[data-field="zip"] {
  left: auto;
  right: 144px;
}

/* Topic listbox */

.pm-mega-menu .pm-scroll-search__listbox {
  position: absolute;
  top: calc(100% + 12px);
  left: -4px;
  z-index: 2;
  width: max(100%, 380px);
  max-height: min(380px, 60vh);
  margin: 0;
  padding: 6px;
  overflow-y: auto;
  overscroll-behavior: contain;
  list-style: none;
  background: #ffffff;
  border: 1px solid var(--pm-ss-hairline);
  border-radius: 14px;
  box-shadow:
    0 24px 48px -16px rgba(16, 24, 40, 0.22),
    0 8px 16px -8px rgba(16, 24, 40, 0.1);
  outline: none;
  transform-origin: top left;
  animation: pm-ss-pop-in 160ms var(--pm-ss-ease-out);
}

.pm-mega-menu .pm-scroll-search__listbox[hidden] {
  display: none;
}

.pm-mega-menu .pm-scroll-search__option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--pm-ss-body);
  font-size: 15px;
  line-height: 1.35;
  cursor: pointer;
  user-select: none;
}

.pm-mega-menu .pm-scroll-search__option.is-active {
  background: var(--pm-ss-wash);
  color: var(--pm-ss-ink);
}

.pm-mega-menu .pm-scroll-search__listbox:focus-visible .pm-scroll-search__option.is-active {
  box-shadow: inset 0 0 0 2px var(--pm-ss-focus);
}

.pm-mega-menu .pm-scroll-search__option[aria-selected="true"] {
  color: var(--pm-ss-blue);
  font-weight: 600;
}

.pm-mega-menu .pm-scroll-search__check {
  flex: none;
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0;
}

.pm-mega-menu .pm-scroll-search__option[aria-selected="true"] .pm-scroll-search__check {
  opacity: 1;
}

/* Right-hand actions */

.pm-mega-menu .pm-scroll-search__actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 12px;
}

.pm-mega-menu .pm-scroll-search__actions .pm-mega-menu__cta {
  height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}

.pm-mega-menu .pm-scroll-search__schedule,
.pm-mega-menu .pm-scroll-search__schedule:visited,
.pm-mega-menu .pm-get-started__link,
.pm-mega-menu .pm-get-started__link:visited {
  display: inline-block;
  padding: 8px 4px;
  color: var(--pm-ss-blue);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
  transition:
    color 160ms ease,
    text-decoration-color 160ms ease;
}

.pm-mega-menu .pm-scroll-search__schedule:hover,
.pm-mega-menu .pm-get-started__link:hover {
  color: #085a96;
  /* Restated in full: the Elementor kit's a:hover sets text-decoration: none. */
  text-decoration: underline;
  text-decoration-color: currentColor;
  text-decoration-thickness: 1.5px;
}

.pm-mega-menu .pm-scroll-search__schedule:focus-visible,
.pm-mega-menu .pm-get-started__link:focus-visible {
  border-radius: 4px;
  outline: 2px solid var(--pm-ss-focus);
  outline-offset: 2px;
  box-shadow: none;
}

.pm-mega-menu .pm-get-started__start-form .pm-get-started__link {
  justify-self: center;
}

.pm-mega-menu .pm-scroll-search__mobile-start {
  display: none;
}

/* Mobile: logo + Get Started; the rest lives in the dialog. */

.pm-mega-menu .pm-scroll-search[data-mode="mobile"] {
  --pm-ss-bar-height: 64px;
}

.pm-mega-menu .pm-scroll-search[data-mode="mobile"] .pm-scroll-search__inner {
  grid-template-columns: auto auto;
  justify-content: space-between;
  gap: 16px;
  padding: 0 16px;
}

.pm-mega-menu .pm-scroll-search[data-mode="mobile"] .pm-scroll-search__form,
.pm-mega-menu .pm-scroll-search[data-mode="mobile"] .pm-scroll-search__schedule {
  display: none;
}

.pm-mega-menu .pm-scroll-search[data-mode="mobile"] .pm-scroll-search__mobile-start {
  display: inline-flex;
}

.pm-mega-menu .pm-scroll-search[data-mode="mobile"] .pm-scroll-search__actions .pm-mega-menu__cta {
  height: 44px;
  padding: 0 20px;
}

.pm-mega-menu .pm-scroll-search[data-mode="mobile"] .pm-scroll-search__brand img {
  max-height: 32px;
  max-width: 150px;
}

/* ---------------------------------------------------------------------------
 * Get Started dialog
 * ------------------------------------------------------------------------- */

.pm-mega-menu .pm-get-started {
  width: min(760px, calc(100vw - 48px));
  max-width: none;
  max-height: min(880px, calc(100dvh - 48px));
  margin: auto;
  padding: 0;
  overflow: hidden;
  background: #ffffff;
  border: 0;
  border-radius: 20px;
  box-shadow: 0 32px 64px -16px rgba(16, 24, 40, 0.3);
  color: var(--pm-ss-ink);
}

.pm-mega-menu .pm-get-started[open] {
  display: flex;
  flex-direction: column;
  animation: pm-ss-dialog-in 260ms var(--pm-ss-ease-out);
}

.pm-mega-menu .pm-get-started::backdrop {
  background: rgba(16, 24, 40, 0.48);
  backdrop-filter: blur(4px);
}

.pm-mega-menu .pm-get-started[open]::backdrop {
  animation: pm-ss-fade-in 260ms ease;
}

.pm-mega-menu .pm-get-started[data-state="closing"] {
  animation: pm-ss-dialog-out 180ms ease-in forwards;
}

.pm-mega-menu .pm-get-started[data-state="closing"]::backdrop {
  animation: pm-ss-fade-out 180ms ease-in forwards;
}

.pm-mega-menu .pm-get-started__header {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto 40px;
  grid-template-areas: "back progress expert close";
  align-items: center;
  gap: 16px;
  padding: 16px 16px 0;
}

.pm-mega-menu .pm-get-started__header > [data-get-started-back] {
  grid-area: back;
}

.pm-mega-menu .pm-get-started__progress {
  grid-area: progress;
  justify-self: center;
  width: min(240px, 100%);
  height: 4px;
  overflow: hidden;
  background: var(--pm-ss-hairline);
  border-radius: 999px;
}

.pm-mega-menu .pm-get-started__progress > span {
  display: block;
  width: var(--pm-get-started-progress, 0%);
  height: 100%;
  background: var(--pm-ss-ink);
  border-radius: inherit;
  transition: width 420ms var(--pm-ss-ease-out);
}

.pm-mega-menu .pm-get-started__expert {
  grid-area: expert;
}

.pm-mega-menu .pm-get-started__close {
  grid-area: close;
}

/* Keep the header grid stable when a control is hidden. */
.pm-mega-menu .pm-get-started__header > [hidden] {
  display: block;
  visibility: hidden;
}

.pm-mega-menu .pm-get-started__header > .pm-get-started__expert[hidden] {
  display: inline-flex;
}

.pm-mega-menu .pm-get-started__icon-button,
.pm-mega-menu .pm-get-started__icon-button:focus {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 999px;
  color: var(--pm-ss-body);
  transition: background-color 160ms ease;
}

.pm-mega-menu .pm-get-started__icon-button:hover {
  background: var(--pm-ss-wash);
  color: var(--pm-ss-ink);
}

.pm-mega-menu .pm-get-started__icon-button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pm-mega-menu .pm-get-started__expert,
.pm-mega-menu .pm-get-started__expert:focus {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 18px 0 6px;
  background: linear-gradient(110deg, #fff6df 0%, #fde7d3 55%, #fbd9d6 100%);
  background-size: 160% 100%;
  background-position: 0% 50%;
  border: 0;
  box-shadow: inset 0 0 0 1px rgba(223, 108, 103, 0.14);
  border-radius: 999px;
  color: var(--pm-ss-ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  transition:
    background-position 320ms var(--pm-ss-ease-out),
    box-shadow 160ms ease,
    transform 120ms ease;
}

.pm-mega-menu .pm-get-started__expert:hover {
  background: linear-gradient(110deg, #fff6df 0%, #fde7d3 55%, #fbd9d6 100%);
  background-size: 160% 100%;
  background-position: 100% 50%;
  box-shadow: inset 0 0 0 1px rgba(223, 108, 103, 0.24);
  color: var(--pm-ss-ink);
}

.pm-mega-menu .pm-get-started__expert:active {
  transform: scale(0.97);
}

.pm-mega-menu .pm-get-started__expert-avatar {
  position: relative;
  flex: none;
  width: 32px;
  height: 32px;
  background: #e4e7ec;
  border-radius: 50%;
}

.pm-mega-menu .pm-get-started__expert-photo {
  display: block;
  width: 32px;
  height: 32px;
  object-fit: cover;
  border-radius: 50%;
}

.pm-mega-menu .pm-get-started__expert-status {
  position: absolute;
  top: -1px;
  right: -1px;
  width: 10px;
  height: 10px;
  background: #12b76a;
  border: 2px solid #ffffff;
  border-radius: 50%;
}

.pm-mega-menu .pm-get-started__icon-button:focus-visible,
.pm-mega-menu .pm-get-started__expert:focus-visible,
.pm-mega-menu .pm-get-started__card:focus-visible,
.pm-mega-menu .pm-get-started__button:focus-visible {
  outline: 2px solid var(--pm-ss-focus);
  outline-offset: 2px;
  box-shadow: none;
}

.pm-mega-menu .pm-get-started__body {
  flex: 1 1 auto;
  min-height: 0;
  padding: 24px 56px 48px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.pm-mega-menu .pm-get-started__step {
  animation: pm-ss-step-in 280ms var(--pm-ss-ease-out);
}

.pm-mega-menu .pm-get-started__step[hidden] {
  display: none;
}

.pm-mega-menu .pm-get-started__step--center {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 16px;
  text-align: center;
}

.pm-mega-menu .pm-get-started__title {
  margin: 8px 0 28px;
  color: var(--pm-ss-ink);
  font-size: clamp(1.625rem, 1.2rem + 1.4vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.15;
  text-wrap: balance;
  outline: none;
}

.pm-mega-menu .pm-get-started__title--center,
.pm-mega-menu .pm-get-started__lede--center {
  text-align: center;
}

.pm-mega-menu .pm-get-started__step--center .pm-get-started__title {
  margin-bottom: 12px;
}

.pm-mega-menu .pm-get-started__lede {
  max-width: 46ch;
  margin: 0 0 28px;
  color: #475467;
  font-size: 1.0625rem;
  line-height: 1.5;
  text-wrap: pretty;
}

.pm-mega-menu .pm-get-started__lede--center {
  margin-inline: auto;
}

.pm-mega-menu .pm-get-started__lede:empty {
  display: none;
}

.pm-mega-menu .pm-get-started__status-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 16px;
  background: #fef3f2;
  border-radius: 50%;
  color: var(--pm-ss-red);
}

.pm-mega-menu .pm-get-started__status-icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Property type cards */

.pm-mega-menu .pm-get-started__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.pm-mega-menu .pm-get-started__card,
.pm-mega-menu .pm-get-started__card:focus {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  min-height: 128px;
  padding: 20px;
  background: #ffffff;
  border: 1px solid var(--pm-ss-line);
  border-radius: 14px;
  color: var(--pm-ss-ink);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
  text-align: left;
  white-space: normal;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 120ms ease;
}

.pm-mega-menu .pm-get-started__card:hover {
  background: #ffffff;
  border-color: var(--pm-ss-line-strong);
  box-shadow: 0 8px 20px -12px rgba(16, 24, 40, 0.25);
  color: var(--pm-ss-ink);
}

.pm-mega-menu .pm-get-started__card:active {
  transform: scale(0.985);
}

.pm-mega-menu .pm-get-started__card[aria-pressed="true"] {
  border-color: var(--pm-ss-blue);
  box-shadow: inset 0 0 0 1px var(--pm-ss-blue);
}

.pm-mega-menu .pm-get-started__card-icon {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Buttons */

.pm-mega-menu .pm-get-started__button-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.pm-mega-menu .pm-get-started__button,
.pm-mega-menu .pm-get-started__button:focus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    transform 120ms ease;
}

.pm-mega-menu .pm-get-started__button:active {
  transform: scale(0.97);
}

.pm-mega-menu .pm-get-started__button--primary,
.pm-mega-menu .pm-get-started__button--primary:focus,
.pm-mega-menu .pm-get-started__button--primary:visited {
  background: var(--pm-ss-red);
  color: #ffffff;
}

.pm-mega-menu .pm-get-started__button--primary:hover {
  background: var(--pm-ss-red-hover);
  color: #ffffff;
}

.pm-mega-menu .pm-get-started__button--ghost,
.pm-mega-menu .pm-get-started__button--ghost:focus {
  background: transparent;
  border-color: var(--pm-ss-line);
  color: var(--pm-ss-body);
}

.pm-mega-menu .pm-get-started__button--ghost:hover {
  background: var(--pm-ss-wash);
  border-color: var(--pm-ss-line);
  color: var(--pm-ss-ink);
}

/* Start step (mobile entry point) */

.pm-mega-menu .pm-get-started__start-form {
  display: grid;
  gap: 16px;
}

.pm-mega-menu .pm-get-started__field {
  display: grid;
  gap: 8px;
}

.pm-mega-menu .pm-get-started__field label {
  color: var(--pm-ss-body);
  font-size: 14px;
  font-weight: 600;
}

.pm-mega-menu .pm-get-started__field select,
.pm-mega-menu .pm-get-started__field input,
.pm-mega-menu .pm-get-started__field select:focus,
.pm-mega-menu .pm-get-started__field input:focus {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  background-color: #ffffff;
  border: 1px solid var(--pm-ss-line);
  border-radius: 12px;
  color: var(--pm-ss-ink);
  font-size: 16px; /* 16px stops iOS zooming on focus. */
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.pm-mega-menu .pm-get-started__field select {
  padding-right: 44px;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%23667085' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-position: right 16px center;
  background-repeat: no-repeat;
  background-size: 12px 8px;
}

.pm-mega-menu .pm-get-started__field select:focus-visible,
.pm-mega-menu .pm-get-started__field input:focus-visible {
  border-color: var(--pm-ss-blue);
  box-shadow: 0 0 0 4px rgba(10, 110, 184, 0.15);
  outline: none;
}

.pm-mega-menu .pm-get-started__error {
  margin: 0;
  color: var(--pm-ss-error);
  font-size: 14px;
  font-weight: 600;
}

.pm-mega-menu .pm-get-started__error:empty {
  display: none;
}

.pm-mega-menu .pm-get-started__start-form .pm-get-started__button {
  width: 100%;
}

/* Schedule step */

.pm-mega-menu .pm-get-started__calendly {
  position: relative;
  height: 680px;
  min-width: 280px;
  margin: 0 -24px;
}

.pm-mega-menu .pm-get-started__calendly[data-loading="true"]::before {
  content: "";
  position: absolute;
  top: 120px;
  left: 50%;
  width: 28px;
  height: 28px;
  margin-left: -14px;
  border: 3px solid var(--pm-ss-hairline);
  border-top-color: var(--pm-ss-blue);
  border-radius: 50%;
  animation: pm-ss-spin 800ms linear infinite;
}

.pm-mega-menu .pm-get-started__calendly iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.pm-mega-menu .pm-get-started__fallback {
  margin: 16px 0 0;
  color: #475467;
  font-size: 15px;
  text-align: center;
}

.pm-mega-menu .pm-get-started__fallback a {
  color: var(--pm-ss-blue);
  font-weight: 600;
  text-decoration: underline;
}

/* Mobile: full-screen sheet */

.pm-mega-menu .pm-get-started[data-mode="mobile"] {
  width: 100vw;
  height: 100dvh;
  max-height: 100dvh;
  margin: 0;
  border-radius: 0;
}

.pm-mega-menu .pm-get-started[data-mode="mobile"][open] {
  animation-name: pm-ss-sheet-in;
}

.pm-mega-menu .pm-get-started[data-mode="mobile"][data-state="closing"] {
  animation-name: pm-ss-sheet-out;
}

.pm-mega-menu .pm-get-started[data-mode="mobile"] .pm-get-started__header {
  grid-template-columns: 40px minmax(0, 1fr) 40px;
  grid-template-areas:
    "back expert close"
    "progress progress progress";
  row-gap: 12px;
  padding: 12px 12px 0;
}

.pm-mega-menu .pm-get-started[data-mode="mobile"] .pm-get-started__expert {
  justify-self: center;
}

.pm-mega-menu .pm-get-started[data-mode="mobile"] .pm-get-started__progress {
  width: calc(100% - 16px);
}

.pm-mega-menu .pm-get-started[data-mode="mobile"] .pm-get-started__header > .pm-get-started__progress[hidden] {
  display: none;
}

.pm-mega-menu .pm-get-started[data-mode="mobile"] .pm-get-started__body {
  padding: 20px 20px 32px;
}

.pm-mega-menu .pm-get-started[data-mode="mobile"] .pm-get-started__title {
  margin-bottom: 20px;
}

.pm-mega-menu .pm-get-started[data-mode="mobile"] .pm-get-started__cards {
  gap: 12px;
}

.pm-mega-menu .pm-get-started[data-mode="mobile"] .pm-get-started__card {
  min-height: 112px;
  padding: 16px;
  gap: 16px;
}

.pm-mega-menu .pm-get-started[data-mode="mobile"] .pm-get-started__calendly {
  height: max(560px, calc(100dvh - 220px));
  margin: 0 -20px;
}

.pm-mega-menu .pm-get-started[data-mode="mobile"] .pm-get-started__button-row {
  flex-direction: column;
  align-self: stretch;
}

@media (max-width: 359px) {
  .pm-mega-menu .pm-get-started__cards {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------------------------------------------------------------------------
 * Motion
 * ------------------------------------------------------------------------- */

@keyframes pm-ss-pop-in {
  from {
    opacity: 0;
    transform: translateY(-4px) scale(0.98);
  }
}

@keyframes pm-ss-dialog-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
}

@keyframes pm-ss-dialog-out {
  to {
    opacity: 0;
    transform: translateY(8px) scale(0.98);
  }
}

@keyframes pm-ss-sheet-in {
  from {
    transform: translateY(100%);
  }
}

@keyframes pm-ss-sheet-out {
  to {
    transform: translateY(100%);
  }
}

@keyframes pm-ss-fade-in {
  from {
    opacity: 0;
  }
}

@keyframes pm-ss-fade-out {
  to {
    opacity: 0;
  }
}

@keyframes pm-ss-step-in {
  from {
    opacity: 0;
    transform: translateX(12px);
  }
}

@keyframes pm-ss-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .pm-mega-menu .pm-scroll-search,
  .pm-mega-menu .pm-scroll-search[data-state="visible"] {
    transition: visibility 0s;
  }

  .pm-mega-menu .pm-scroll-search__listbox,
  .pm-mega-menu .pm-get-started[open],
  .pm-mega-menu .pm-get-started[open]::backdrop,
  .pm-mega-menu .pm-get-started__step {
    animation: none;
  }

  .pm-mega-menu .pm-get-started__progress > span,
  .pm-mega-menu .pm-scroll-search__chevron {
    transition: none;
  }
}
