/* ===========================================
   quote.css – Mortgage multi-step form
   Base form styles + mortgage quote page layer
   =========================================== */

/* 1. Base form styles
   ------------------------------ */

#title-container,
#qbox-container {
  box-sizing: border-box;
}

#title-container {
  background: linear-gradient(135deg, rgba(11, 60, 93, 0.98), rgba(11, 60, 93, 0.88));
  color: #ffffff;
  padding: 2.25rem 1.75rem;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
}

#title-container h2,
#title-container h3 {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  margin-bottom: 0.65rem;
}

#title-container h2 {
  font-size: clamp(2.2rem, 3vw, 3rem);
  line-height: 1.02;
}

#title-container h3 {
  font-size: clamp(1.45rem, 2vw, 1.95rem);
  line-height: 1.08;
}

#title-container p {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 0.85rem;
  color: rgba(255, 255, 255, 0.94);
}

#qbox-container {
  background-color: #ffffff;
  border-radius: 18px;
  box-shadow: 0 14px 32px rgba(5, 32, 58, 0.10);
  border: 1px solid #dde6f1;
  padding: 1.4rem 1.25rem 1.25rem;
}

#steps-container {
  width: 100%;
  max-width: 100%;
  margin: 0;
}

#steps-container .step {
  display: none;
}

#steps-container .step:first-child {
  display: block;
}

#steps-container h4 {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 1.18rem;
  line-height: 1.25;
  margin-bottom: 0.95rem;
  color: #102a43;
}

.question__field-label,
#steps-container .form-group label {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  color: #102a43;
  margin-bottom: 0.35rem;
}

.step-note {
  margin-top: 0.75rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: #58667b;
}

/* 2. Progress bar
   ------------------------------ */

.progress {
  height: 10px;
  border-radius: 999px;
  background-color: #e9f2ee;
  overflow: hidden;
}

.progress-bar {
  background-color: #3BA268;
}

/* 3. Clickable answer cards
   ------------------------------ */

.q-box {
  position: relative;
  border: 1px solid #dde5f0;
  border-radius: 12px;
  margin-bottom: 12px;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  background-color: #ffffff;
}

.q-box:hover {
  border-color: #3BA268;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06);
}

.q-box.active {
  border-color: #3BA268;
  background-color: #E4F5EB;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
}

.q-box.has-error {
  border-color: #dc3545;
  box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.12);
}

.question__input {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.question__label {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 56px;
  margin: 0;
  padding: 12px 18px 12px 58px;
  border-radius: 12px;
  font-family: 'Inter', sans-serif;
  font-size: 0.98rem;
  line-height: 1.35;
  color: #102a43;
}

.question__label::before,
.question__label::after {
  content: "";
  position: absolute;
}

.question__label::before {
  top: 50%;
  left: 16px;
  width: 24px;
  height: 24px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: #ffffff;
  box-shadow: inset 0 0 0 1px #b9c6d4;
}

.question__input:checked + .question__label::before {
  background: #3BA268;
  box-shadow: none;
}

.question__input:checked + .question__label::after {
  top: 50%;
  left: 23px;
  width: 9px;
  height: 5px;
  transform: translateY(-50%) rotate(-45deg);
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
}

.question__input:checked + .question__label {
  color: #174c36;
  font-weight: 600;
}

/* 4. Inputs / controls
   ------------------------------ */

#qbox-container .form-control,
#qbox-container .input-group-text {
  font-family: 'Inter', sans-serif;
}

#qbox-container .form-control {
  border-radius: 6px;
  border: 1px solid #cfd7df;
  font-size: 0.95rem;
  padding: 0.6rem 0.78rem;
  background-color: #F5F7F8;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

#qbox-container .form-control:focus {
  outline: none;
  border-color: #0B3C5D;
  background-color: #ffffff;
  box-shadow: 0 0 0 0.2rem rgba(11, 60, 93, 0.15);
}

#qbox-container .form-control.is-invalid,
#qbox-container input.is-invalid,
#qbox-container select.is-invalid,
#qbox-container textarea.is-invalid {
  border-color: #dc3545 !important;
  box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.12) !important;
}

/* 5. Buttons row
   ------------------------------ */

#q-box__buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

#q-box__buttons .btn {
  min-width: 145px;
  margin: 0;
}

/* 6. Errors
   ------------------------------ */

.step-error {
  display: none;
  margin-top: 0.75rem;
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  color: #dc3545;
}

.step-error.is-visible {
  display: block;
}

.step.has-error {
  animation: step-shake 0.25s linear 1;
}

@keyframes step-shake {
  0% { transform: translateX(0); }
  25% { transform: translateX(-3px); }
  50% { transform: translateX(3px); }
  75% { transform: translateX(-2px); }
  100% { transform: translateX(0); }
}

/* 7. General typography inside form
   ------------------------------ */

#qbox-container p,
#qbox-container .form-text {
  font-family: 'Inter', sans-serif;
}

#qbox-container p {
  font-size: 0.98rem;
  line-height: 1.6;
  color: #4b5870;
}

#qbox-container .form-text {
  font-size: 0.85rem;
  color: #6c757d;
}

/* ===========================================
   Page layer – mortgage quote page
   =========================================== */

.page-quote.page-quote-mortgage {
  background: linear-gradient(180deg, #eef5fb 0%, #f7fbff 100%);
}

.page-quote-mortgage .quote-hero {
  position: relative;
  min-height: 290px;
  padding: 2.5rem 0 2.2rem;
  background: linear-gradient(135deg, #0b3c5d 0%, #0e5a78 55%, #2c8868 100%);
  color: #fff;
  overflow: hidden;
}

.page-quote-mortgage .quote-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(4, 27, 44, 0.12), rgba(4, 27, 44, 0.02));
}

.page-quote-mortgage .quote-hero__inner {
  position: relative;
  z-index: 2;
}

.page-quote-mortgage .quote-hero__copy {
  max-width: 760px;
  color: #fff;
}

.page-quote-mortgage .quote-hero__eyebrow {
  margin: 0 0 0.5rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
}

.page-quote-mortgage .quote-hero__title {
  margin: 0 0 0.7rem;
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  line-height: 1;
  color: #fff;
}

.page-quote-mortgage .quote-hero__text {
  max-width: 700px;
  margin: 0 0 1rem;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.96);
}

.page-quote-mortgage .quote-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
  margin-bottom: 0.95rem;
}

.page-quote-mortgage .quote-hero__actions .btn {
  min-width: 0;
  padding: 0.8rem 1.2rem;
}

.page-quote-mortgage .quote-hero__link {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-quote-mortgage .quote-hero__link:hover {
  color: #fff;
  opacity: 0.92;
}

.page-quote-mortgage .quote-hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.75rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-quote-mortgage .quote-hero__trust li {
  padding: 0.42rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.94);
}

.page-quote-mortgage .quote-main {
  padding: 0 0 3rem;
}

.page-quote-mortgage .quote-shell {
  margin-top: -0.9rem;
  position: relative;
  z-index: 3;
}

.page-quote-mortgage .quote-shell__surface {
  background: #f8fbff;
  border: 1px solid #dde6f1;
  border-radius: 24px;
  box-shadow: 0 20px 48px rgba(5, 32, 58, 0.08);
  padding: 1.25rem;
}

.page-quote-mortgage .quote-shell .row.align-items-start {
  align-items: stretch !important;
}

.page-quote-mortgage .quote-shell .row.align-items-start > div {
  display: flex;
}

.page-quote-mortgage .quote-shell .row.align-items-start > div > * {
  width: 100%;
}

@media (min-width: 992px) {
  .page-quote-mortgage .quote-shell .row.align-items-start > div:first-child {
    flex: 0 0 38%;
    max-width: 38%;
  }

  .page-quote-mortgage .quote-shell .row.align-items-start > div:last-child {
    flex: 0 0 62%;
    max-width: 62%;
  }
}

.page-quote-mortgage .quote-kicker {
  display: inline-block;
  margin-bottom: 0.65rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.76);
}

.page-quote-mortgage .quote-benefits {
  margin: 1.15rem 0 0;
  padding-left: 1.15rem;
}

.page-quote-mortgage .quote-benefits li {
  font-family: 'Inter', sans-serif;
  font-size: 0.98rem;
  line-height: 1.65;
  margin-bottom: 0.4rem;
}

.page-quote-mortgage .quote-form-head {
  margin-bottom: 1rem;
}

.page-quote-mortgage .quote-form-head__eyebrow {
  display: inline-block;
  margin-bottom: 0.4rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5f6f86;
}

.page-quote-mortgage .quote-form-head__title {
  margin: 0 0 0.35rem;
  font-family: 'Manrope', sans-serif;
  font-size: clamp(1.8rem, 2.8vw, 2.5rem);
  font-weight: 800;
  line-height: 1.05;
  color: #102a43;
}

.page-quote-mortgage .quote-form-head__text {
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-size: 0.98rem;
  line-height: 1.6;
  color: #4b5870;
}

.page-quote-mortgage .quote-progress-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.6rem;
}

.page-quote-mortgage .quote-progress-meta__label {
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6a7a91;
}

.page-quote-mortgage .quote-progress-meta__step {
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  color: #102a43;
}

.page-quote-mortgage #form-wrapper {
  scroll-margin-top: 100px;
}

@media (max-width: 991.98px) {
  .page-quote-mortgage .quote-hero {
    min-height: auto;
    padding: 2rem 0 1.8rem;
  }

  .page-quote-mortgage .quote-shell {
    margin-top: -0.5rem;
  }

  .page-quote-mortgage .quote-shell__surface {
    padding: 1rem;
  }

  .page-quote-mortgage #title-container {
    margin-bottom: 1rem;
  }
}

@media (max-width: 767.98px) {
  .page-quote-mortgage .quote-hero__copy {
    text-align: center;
    margin: 0 auto;
  }

  .page-quote-mortgage .quote-hero__actions,
  .page-quote-mortgage .quote-hero__trust {
    justify-content: center;
  }

  .page-quote-mortgage .quote-hero__actions .btn,
  .page-quote-mortgage .quote-hero__link {
    width: 100%;
  }

  .page-quote-mortgage #title-container {
    text-align: center;
    padding: 1.7rem 1.1rem;
  }

  .page-quote-mortgage #qbox-container {
    padding: 1rem;
  }

  .page-quote-mortgage .quote-progress-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  #q-box__buttons {
    flex-direction: column;
  }

  #q-box__buttons .btn {
    width: 100%;
    min-width: 0;
  }
}


/* ===========================================
   Mortgage quote – layout fix (v5)
   replaces brittle Bootstrap width behaviour
   =========================================== */

.page-quote-mortgage .quote-shell__surface > .row.align-items-start {
  display: grid !important;
  grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.45fr);
  column-gap: 1.5rem;
  row-gap: 1rem;
  align-items: stretch !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.page-quote-mortgage .quote-shell__surface > .row.align-items-start > [class*="col-"] {
  width: auto !important;
  max-width: none !important;
  flex: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin: 0 !important;
  display: block !important;
}

.page-quote-mortgage #title-container,
.page-quote-mortgage #qbox-container {
  width: 100% !important;
  max-width: none !important;
}

.page-quote-mortgage #title-container {
  min-height: 100%;
  padding: 2rem 1.5rem !important;
}

.page-quote-mortgage #qbox-container {
  padding: 1.35rem 1.25rem 1.25rem !important;
}

.page-quote-mortgage #steps-container,
.page-quote-mortgage #form-wrapper {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}

.page-quote-mortgage .quote-form-head__title {
  max-width: 18ch;
}

.page-quote-mortgage #q-box__buttons {
  justify-content: flex-start;
}

@media (max-width: 991.98px) {
  .page-quote-mortgage .quote-shell__surface > .row.align-items-start {
    grid-template-columns: 1fr;
  }

  .page-quote-mortgage #title-container {
    margin-bottom: 0;
  }
}

/* ===========================================
   Mortgage quote – modern conversion UI pass (v9)
   Keeps existing form logic; upgrades visual feel
   =========================================== */

:root {
  --quote-navy: #07324f;
  --quote-blue: #0b4d73;
  --quote-green: #36a269;
  --quote-green-dark: #22784a;
  --quote-ink: #102a43;
  --quote-muted: #607089;
  --quote-line: #d9e5f0;
  --quote-soft: #f4f8fc;
  --quote-soft-green: #eaf8f0;
  --quote-danger: #dc3545;
}

.page-quote.page-quote-mortgage {
  background:
    radial-gradient(circle at 10% 0%, rgba(54, 162, 105, 0.09), transparent 32rem),
    radial-gradient(circle at 90% 10%, rgba(11, 77, 115, 0.11), transparent 34rem),
    linear-gradient(180deg, #f3f8fd 0%, #f8fbff 52%, #ffffff 100%);
  color: var(--quote-ink);
}

.page-quote-mortgage .quote-hero {
  min-height: 248px;
  padding: 2.15rem 0 2.65rem;
  background:
    radial-gradient(circle at 84% 16%, rgba(255, 255, 255, 0.15), transparent 18rem),
    radial-gradient(circle at 6% 12%, rgba(54, 162, 105, 0.38), transparent 22rem),
    linear-gradient(135deg, #062f4c 0%, #0b4d73 52%, #1f8b62 100%);
}

.page-quote-mortgage .quote-hero::after {
  content: "";
  position: absolute;
  inset: auto -8% -58px -8%;
  height: 120px;
  background: rgba(248, 251, 255, 0.98);
  transform: rotate(-2deg);
  transform-origin: center;
}

.page-quote-mortgage .quote-hero__overlay {
  background:
    linear-gradient(90deg, rgba(2, 22, 37, 0.22), rgba(2, 22, 37, 0.02)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.045) 0, rgba(255, 255, 255, 0.045) 1px, transparent 1px, transparent 12px);
}

.page-quote-mortgage .quote-hero__copy {
  max-width: 820px;
}

.page-quote-mortgage .quote-hero__eyebrow,
.page-quote-mortgage .quote-kicker,
.page-quote-mortgage .quote-form-head__eyebrow,
.page-quote-mortgage .quote-progress-meta__label,
.page-quote-mortgage .step-pill {
  letter-spacing: 0.085em;
}

.page-quote-mortgage .quote-hero__title {
  max-width: 11ch;
  font-size: clamp(2.25rem, 5vw, 4rem);
  letter-spacing: -0.055em;
}

.page-quote-mortgage .quote-hero__text {
  max-width: 680px;
  font-size: 1.05rem;
}

.page-quote-mortgage .quote-hero__actions .btn,
.page-quote-mortgage #q-box__buttons .btn {
  border: 0;
  border-radius: 999px;
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  letter-spacing: -0.01em;
  box-shadow: 0 12px 24px rgba(3, 30, 50, 0.16);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, opacity 0.18s ease;
}

.page-quote-mortgage .quote-hero__actions .btn:hover,
.page-quote-mortgage #q-box__buttons .btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(3, 30, 50, 0.2);
}

.page-quote-mortgage .btn-primary {
  background: linear-gradient(135deg, #37aa6d 0%, #2b8d5d 100%) !important;
  color: #fff !important;
}

.page-quote-mortgage .btn-secondary {
  background: #edf3f8 !important;
  color: #24435a !important;
  box-shadow: none !important;
}

.page-quote-mortgage .quote-hero__trust li {
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.page-quote-mortgage .quote-main {
  padding: 0 0 3.75rem;
}

.page-quote-mortgage .quote-shell {
  margin-top: -1.65rem;
}

.page-quote-mortgage .quote-shell__surface {
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(217, 229, 240, 0.95);
  border-radius: 30px;
  box-shadow: 0 28px 70px rgba(6, 39, 66, 0.12);
  padding: 1rem;
  backdrop-filter: blur(14px);
}

.page-quote-mortgage .quote-shell__surface > .row.align-items-start {
  grid-template-columns: minmax(270px, 0.78fr) minmax(0, 1.52fr);
  column-gap: 1rem;
}

.page-quote-mortgage #title-container {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  border-radius: 26px;
  background:
    radial-gradient(circle at 86% 10%, rgba(255, 255, 255, 0.14), transparent 10rem),
    radial-gradient(circle at 10% 90%, rgba(54, 162, 105, 0.3), transparent 14rem),
    linear-gradient(145deg, #062f4c 0%, #0b3c5d 65%, #164a5f 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.page-quote-mortgage #title-container::after {
  content: "";
  position: absolute;
  right: -56px;
  bottom: -56px;
  width: 180px;
  height: 180px;
  border-radius: 999px;
  background: rgba(54, 162, 105, 0.16);
}

.page-quote-mortgage #title-container > * {
  position: relative;
  z-index: 1;
}

.page-quote-mortgage #title-container h2 {
  letter-spacing: -0.055em;
}

.page-quote-mortgage .quote-benefits {
  padding-left: 0;
  list-style: none;
}

.page-quote-mortgage .quote-benefits li {
  position: relative;
  padding-left: 1.75rem;
}

.page-quote-mortgage .quote-benefits li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.05rem;
  width: 1.15rem;
  height: 1.15rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #bff2d0;
  font-size: 0.72rem;
  font-weight: 900;
}

.page-quote-mortgage #qbox-container {
  border-radius: 26px;
  border: 1px solid rgba(217, 229, 240, 0.95);
  box-shadow: 0 18px 42px rgba(6, 39, 66, 0.08);
  padding: 1.65rem 1.55rem 1.45rem !important;
}

.page-quote-mortgage .quote-form-head {
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #edf2f7;
}

.page-quote-mortgage .quote-form-head__title {
  max-width: 21ch;
  letter-spacing: -0.045em;
}

.page-quote-mortgage .quote-progress-meta {
  align-items: flex-end;
  margin-bottom: 0.72rem;
}

.page-quote-mortgage .quote-progress-meta > div {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
}

.page-quote-mortgage .quote-progress-meta__label {
  color: #4e647d;
}

.page-quote-mortgage .quote-progress-meta__hint {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.86rem;
  color: #75849a;
}

.page-quote-mortgage .quote-progress-meta__step {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0.32rem 0.7rem;
  border-radius: 999px;
  background: #eef7f2;
  color: #1f7249;
  border: 1px solid #d5eedf;
  white-space: nowrap;
}

.page-quote-mortgage .progress {
  height: 8px;
  border-radius: 999px;
  background: #edf3f7;
  box-shadow: inset 0 1px 2px rgba(6, 39, 66, 0.06);
}

.page-quote-mortgage .progress-bar {
  background: linear-gradient(90deg, #35a669 0%, #63c989 100%);
  background-image: linear-gradient(90deg, #35a669 0%, #63c989 100%) !important;
  transition: width 0.28s ease;
}

.page-quote-mortgage #steps-container .step {
  animation: quote-step-in 0.22s ease-out;
}

@keyframes quote-step-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.page-quote-mortgage #steps-container h4 {
  display: flex;
  flex-direction: column;
  gap: 0.42rem;
  margin-bottom: 1.05rem;
  font-size: clamp(1.35rem, 2.1vw, 1.8rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.page-quote-mortgage .step-pill {
  align-self: flex-start;
  display: inline-flex;
  padding: 0.28rem 0.62rem;
  border-radius: 999px;
  background: #edf4f9;
  color: #4d6178;
  font-family: 'Inter', sans-serif;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}

.page-quote-mortgage .step-question {
  display: block;
}

.page-quote-mortgage .q-box {
  border-radius: 17px;
  border: 1px solid #dbe6f0;
  margin-bottom: 0.72rem;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  box-shadow: 0 8px 18px rgba(6, 39, 66, 0.035);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.page-quote-mortgage .q-box:hover {
  transform: translateY(-1px);
  border-color: rgba(54, 162, 105, 0.64);
  box-shadow: 0 14px 30px rgba(6, 39, 66, 0.075);
}

.page-quote-mortgage .q-box.active {
  border-color: rgba(54, 162, 105, 0.95);
  background: linear-gradient(180deg, #f3fbf6 0%, #eaf8f0 100%);
  box-shadow: 0 16px 32px rgba(34, 120, 74, 0.12);
}

.page-quote-mortgage .question__label {
  min-height: 64px;
  padding: 15px 52px 15px 58px;
  border-radius: 17px;
  font-size: 1rem;
  font-weight: 650;
}

.page-quote-mortgage .question__label::before {
  left: 18px;
  width: 25px;
  height: 25px;
  box-shadow: inset 0 0 0 1px #b9c8d6;
}

.page-quote-mortgage .question__input:checked + .question__label::before {
  background: linear-gradient(135deg, #36a269, #22784a);
}

.page-quote-mortgage .question__input:checked + .question__label::after {
  left: 25px;
}

.page-quote-mortgage .question__input:focus-visible + .question__label,
.page-quote-mortgage .form-control:focus-visible {
  outline: 3px solid rgba(54, 162, 105, 0.22);
  outline-offset: 2px;
}

.page-quote-mortgage #qbox-container .form-group {
  margin-bottom: 1rem;
}

.page-quote-mortgage #qbox-container .form-control {
  min-height: 48px;
  border-radius: 14px;
  border-color: #d4e0eb;
  background: #f8fbfd;
  font-size: 1rem;
  padding: 0.74rem 0.9rem;
}

.page-quote-mortgage #qbox-container .form-control:focus {
  border-color: rgba(54, 162, 105, 0.92);
  box-shadow: 0 0 0 0.22rem rgba(54, 162, 105, 0.14);
}

.page-quote-mortgage #qbox-container .input-group-text {
  border-color: #d4e0eb;
  border-radius: 14px 0 0 14px;
  background: #eef4f8;
  color: #42576f;
  font-weight: 800;
}

.page-quote-mortgage #qbox-container .input-group .form-control {
  border-radius: 0 14px 14px 0;
}

.page-quote-mortgage .step-note,
.page-quote-mortgage .step-intro,
.page-quote-mortgage #qbox-container p.small.text-muted {
  border-radius: 16px;
  padding: 0.8rem 0.9rem;
  background: #f2f7fb;
  border: 1px solid #e2edf6;
  color: #52677e !important;
}

.page-quote-mortgage .step-intro {
  margin-bottom: 1rem;
  font-size: 0.95rem;
  line-height: 1.55;
}

.page-quote-mortgage .step-personal .form-group,
.page-quote-mortgage .step-contact .form-group {
  padding: 0.85rem;
  border: 1px solid #edf2f7;
  border-radius: 18px;
  background: #fbfdff;
}

.page-quote-mortgage .form-check-inline {
  margin-bottom: 0.35rem;
  padding: 0.45rem 0.72rem;
  border-radius: 999px;
  background: #f4f8fc;
  border: 1px solid #e3edf6;
}

.page-quote-mortgage .step-error {
  border-radius: 14px;
  padding: 0.78rem 0.9rem;
  background: #fff4f4;
  border: 1px solid rgba(220, 53, 69, 0.18);
  font-weight: 700;
}

.page-quote-mortgage .quote-reassurance {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin: 1.2rem 0 0.95rem;
  padding: 0.9rem 0.95rem;
  border-radius: 18px;
  background: #f0f8f4;
  border: 1px solid #d8efdf;
  color: #315844;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  line-height: 1.5;
}

.page-quote-mortgage .quote-reassurance__icon {
  flex: 0 0 auto;
  width: 1.45rem;
  height: 1.45rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #36a269;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 900;
}

.page-quote-mortgage #q-box__buttons {
  justify-content: flex-start;
  gap: 0.7rem;
  margin-top: 0.95rem;
}

.page-quote-mortgage #q-box__buttons .btn {
  min-width: 150px;
  min-height: 48px;
  padding: 0.72rem 1.25rem;
}

.page-quote-mortgage #q-box__buttons .btn-submit {
  min-width: 185px;
}

@media (max-width: 991.98px) {
  .page-quote-mortgage .quote-shell {
    margin-top: -1rem;
  }

  .page-quote-mortgage .quote-shell__surface {
    border-radius: 24px;
  }

  .page-quote-mortgage #qbox-container,
  .page-quote-mortgage #title-container {
    border-radius: 22px;
  }
}

@media (max-width: 767.98px) {
  .page-quote-mortgage .quote-hero {
    padding: 1.75rem 0 2rem;
  }

  .page-quote-mortgage .quote-hero__title {
    max-width: none;
  }

  .page-quote-mortgage .quote-shell__surface {
    padding: 0.72rem;
  }

  .page-quote-mortgage #qbox-container {
    padding: 1.15rem 1rem 0.85rem !important;
  }

  .page-quote-mortgage .quote-progress-meta {
    flex-direction: row;
    align-items: flex-end;
  }

  .page-quote-mortgage .quote-progress-meta__hint {
    font-size: 0.78rem;
  }

  .page-quote-mortgage #steps-container h4 {
    font-size: 1.38rem;
  }

  .page-quote-mortgage .question__label {
    min-height: 60px;
    padding-right: 1rem;
  }

  .page-quote-mortgage #q-box__buttons {
    position: sticky;
    bottom: 0;
    z-index: 25;
    margin-left: -1rem;
    margin-right: -1rem;
    margin-bottom: -0.85rem;
    padding: 0.8rem 1rem calc(0.8rem + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.94);
    border-top: 1px solid #dde6f1;
    box-shadow: 0 -14px 30px rgba(6, 39, 66, 0.08);
    backdrop-filter: blur(14px);
  }

  .page-quote-mortgage #q-box__buttons .btn {
    width: 100%;
  }

  .page-quote-mortgage .quote-reassurance {
    margin-bottom: 0.85rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-quote-mortgage * {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==============================================================
   Mortgage quote UX v10 — aligned with the PMI guided journey.
   Presentation only: field names, values, steps and processing are unchanged.
   ============================================================== */
.page-quote-mortgage {
  background: #f4f8fb;
  color: #102f44;
}

.page-quote-mortgage .quote-main {
  padding: 0;
}

.page-quote-mortgage .quote-focus {
  padding: 46px 0 54px;
  background:
    radial-gradient(circle at 12% 6%, rgba(54, 162, 105, 0.12), transparent 31%),
    linear-gradient(180deg, #f8fcfb 0%, #edf5f2 100%);
}

.page-quote-mortgage .quote-focus__intro {
  max-width: 780px;
  margin: 0 auto 26px;
  text-align: center;
}

.page-quote-mortgage .quote-focus__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: #22784a;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.page-quote-mortgage .quote-focus__eyebrow::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #36a269;
  box-shadow: 0 0 0 5px rgba(54, 162, 105, 0.13);
}

.page-quote-mortgage .quote-focus__title {
  margin: 0 0 12px;
  color: #0d2d42;
  font-family: 'Manrope', sans-serif;
  font-size: clamp(2rem, 5vw, 3.35rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.page-quote-mortgage .quote-focus__lead {
  max-width: 680px;
  margin: 0 auto;
  color: #526878;
  font-family: 'Inter', sans-serif;
  font-size: 1.08rem;
  line-height: 1.65;
}

.page-quote-mortgage .quote-focus__trust {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 17px 0 0;
  padding: 0;
  color: #365363;
  font-size: 0.92rem;
  font-weight: 700;
  list-style: none;
}

.page-quote-mortgage .quote-focus__trust li::before {
  content: '\2713';
  margin-right: 7px;
  color: #2b8d5d;
  font-weight: 900;
}

.page-quote-mortgage .journey-card {
  max-width: 1000px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(15, 77, 102, 0.12);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(16, 47, 68, 0.12);
}

.page-quote-mortgage .journey-card__top {
  padding: 24px 30px 20px;
  border-bottom: 1px solid #e8eff3;
  background: #fbfdfe;
}

.page-quote-mortgage .journey-card__topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 17px;
}

.page-quote-mortgage .journey-card__label {
  margin: 0;
  color: #22784a;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.page-quote-mortgage .journey-card__time {
  color: #6b7d89;
  font-size: 0.88rem;
  font-weight: 600;
}

.page-quote-mortgage .quote-progress-duration,
.page-quote-mortgage .quote-copy--mobile {
  display: none;
}

.page-quote-mortgage .quote-stepper {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-quote-mortgage .quote-stepper__item {
  position: relative;
  min-width: 0;
  padding-top: 12px;
  overflow: hidden;
  color: #8796a0;
  font-size: 0.66rem;
  font-weight: 700;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.page-quote-mortgage .quote-stepper__item::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  border-radius: 999px;
  background: #dce6eb;
}

.page-quote-mortgage .quote-stepper__item.is-active,
.page-quote-mortgage .quote-stepper__item.is-complete {
  color: #22784a;
}

.page-quote-mortgage .quote-stepper__item.is-active::before,
.page-quote-mortgage .quote-stepper__item.is-complete::before {
  background: #36a269;
}

.page-quote-mortgage .journey-card__body,
.page-quote-mortgage #qbox-container {
  width: auto !important;
  padding: 34px 34px 30px !important;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.page-quote-mortgage #form-wrapper,
.page-quote-mortgage #steps-container {
  width: 100% !important;
  max-width: 820px;
  margin: 0 auto !important;
}

.page-quote-mortgage .progress-accessible {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
}

.page-quote-mortgage #steps-container .step {
  max-width: 780px;
  min-height: 0;
  margin: 0 auto;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  animation: quote-step-in 0.22s ease-out;
  scroll-margin-top: 92px;
}

.page-quote-mortgage #steps-container h4 {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin: 0 0 24px;
  color: #102f44;
  font-family: 'Manrope', sans-serif;
  font-size: clamp(1.55rem, 4vw, 2.15rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.page-quote-mortgage #steps-container h4:focus {
  outline: none;
}

.page-quote-mortgage .step-pill {
  align-self: flex-start;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: #22784a;
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.065em;
  text-transform: uppercase;
}

.page-quote-mortgage .q-box {
  position: relative;
  min-width: 0;
  margin: 0 0 11px;
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: transparent;
  box-shadow: none;
}

.page-quote-mortgage .q-box:hover {
  transform: none;
  border-color: transparent;
  box-shadow: none;
}

.page-quote-mortgage .question__input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.page-quote-mortgage .question__label {
  display: flex;
  width: 100%;
  min-height: 64px;
  margin: 0;
  padding: 15px 48px 15px 54px;
  align-items: center;
  border: 2px solid #d9e6eb;
  border-radius: 14px;
  background: #fff;
  color: #173f54;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease, transform .18s ease;
}

.page-quote-mortgage .question__label::before {
  left: 17px;
  width: 24px;
  height: 24px;
}

.page-quote-mortgage .question__label:hover {
  border-color: #70bd91;
  box-shadow: 0 10px 22px rgba(16, 83, 60, 0.08);
  transform: translateY(-1px);
}

.page-quote-mortgage .question__input:checked + .question__label {
  border-color: #2b8d5d;
  background: #effaf4;
  box-shadow: 0 0 0 4px rgba(43, 141, 93, 0.10);
}

.page-quote-mortgage .question__input:checked + .question__label::before {
  background: #2b8d5d;
  border-color: #2b8d5d;
}

.page-quote-mortgage .question__input:checked + .question__label::after {
  left: 24px;
}

.page-quote-mortgage .question__input:focus-visible + .question__label,
.page-quote-mortgage .form-control:focus-visible {
  outline: 3px solid rgba(43, 141, 93, 0.24);
  outline-offset: 3px;
}

.page-quote-mortgage #qbox-container .form-group {
  margin-bottom: 17px;
}

.page-quote-mortgage #qbox-container .form-control {
  min-height: 52px;
  padding: 11px 13px;
  border: 1.5px solid #ccdae1;
  border-radius: 11px;
  background: #fff;
  color: #173a4d;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  box-shadow: none;
}

.page-quote-mortgage #qbox-container .form-control:focus {
  border-color: #2b8d5d;
  box-shadow: 0 0 0 4px rgba(43, 141, 93, 0.10);
}

.page-quote-mortgage #qbox-container .input-group-text {
  min-width: 45px;
  justify-content: center;
  border: 1.5px solid #ccdae1;
  border-right: 0;
  border-radius: 11px 0 0 11px;
  background: #f1f6f4;
  color: #365363;
}

.page-quote-mortgage #qbox-container .input-group .form-control {
  border-radius: 0 11px 11px 0;
}

.page-quote-mortgage .question__field-label {
  display: block;
  margin: 0 0 7px;
  color: #294b5d;
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  font-weight: 800;
}

.page-quote-mortgage .step-note,
.page-quote-mortgage .step-intro,
.page-quote-mortgage #qbox-container p.small.text-muted {
  margin: 0 0 16px;
  padding: 12px 14px;
  border: 1px solid #e0e9ee;
  border-radius: 11px;
  background: #f8fbfc;
  color: #52677e !important;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  line-height: 1.5;
}

.page-quote-mortgage .step-personal,
.page-quote-mortgage .step-contact {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 17px;
}

.page-quote-mortgage .step-personal h4,
.page-quote-mortgage .step-personal .step-intro,
.page-quote-mortgage .step-personal .step-error,
.page-quote-mortgage .step-contact h4,
.page-quote-mortgage .step-contact .step-intro,
.page-quote-mortgage .step-contact .step-error {
  grid-column: 1 / -1;
}

.page-quote-mortgage .step-personal .form-group,
.page-quote-mortgage .step-contact .form-group {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.page-quote-mortgage .step-error {
  display: none;
  margin-top: 16px;
  padding: 10px 12px;
  border: 1px solid rgba(199, 74, 74, 0.22);
  border-radius: 9px;
  background: #fff0f0;
  color: #9c2c2c;
  font-size: 0.87rem;
  font-weight: 700;
}

.page-quote-mortgage .step-error.is-visible {
  display: block;
}

.page-quote-mortgage .quote-reassurance {
  max-width: 780px;
  margin: 24px auto 0;
  border-left: 4px solid #36a269;
  border-radius: 0 10px 10px 0;
  background: #eff9f3;
}

.page-quote-mortgage .journey-actions,
.page-quote-mortgage #q-box__buttons {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: 780px;
  margin: 22px auto 0;
  padding: 22px 0 0;
  border-top: 1px solid #e6eef2;
}

.page-quote-mortgage .journey-actions .btn,
.page-quote-mortgage #q-box__buttons .btn {
  min-width: 132px;
  min-height: 49px;
  padding: 12px 20px;
  border-radius: 11px;
  font-weight: 800;
  box-shadow: none;
}

.page-quote-mortgage .journey-actions .btn-primary,
.page-quote-mortgage #q-box__buttons .btn-primary {
  border-color: #2b8d5d;
  background: #2b8d5d !important;
  color: #fff !important;
  box-shadow: 0 10px 22px rgba(43, 141, 93, 0.19);
}

.page-quote-mortgage .journey-actions .btn-primary:hover,
.page-quote-mortgage #q-box__buttons .btn-primary:hover {
  background: #22784a !important;
  transform: none;
}

.page-quote-mortgage .journey-actions .btn-secondary,
.page-quote-mortgage #q-box__buttons .btn-secondary {
  border: 1px solid #d6e1e7;
  background: #fff !important;
  color: #4d6573 !important;
}

.page-quote-mortgage .journey-actions .btn:disabled {
  cursor: wait;
  opacity: 0.72;
}

.page-quote-mortgage .quote-privacy-note {
  max-width: 780px;
  margin: 18px auto 0;
  color: #6c7d88;
  font-family: 'Inter', sans-serif;
  font-size: 0.79rem;
  line-height: 1.5;
  text-align: center;
}

.page-quote-mortgage .quote-privacy-note a {
  color: #22784a;
  font-weight: 700;
}

@media (max-width: 767.98px) {
  .page-quote-mortgage .quote-copy--desktop { display: none; }
  .page-quote-mortgage .quote-copy--mobile { display: inline; }

  .page-quote-mortgage .quote-focus {
    padding: 0 0 26px;
  }

  .page-quote-mortgage .quote-focus > .container {
    padding-right: 12px;
    padding-left: 12px;
  }

  .page-quote-mortgage .quote-focus__intro {
    padding: 18px 6px 0;
    margin-bottom: 14px;
  }

  .page-quote-mortgage .quote-focus__eyebrow {
    margin-bottom: 6px;
    font-size: 0.68rem;
  }

  .page-quote-mortgage .quote-focus__eyebrow::before {
    width: 6px;
    height: 6px;
    box-shadow: 0 0 0 4px rgba(54, 162, 105, 0.13);
  }

  .page-quote-mortgage .quote-focus__title {
    margin: 0 auto 7px;
    font-size: clamp(1.55rem, 7vw, 1.85rem);
    line-height: 1.12;
  }

  .page-quote-mortgage .quote-focus__lead {
    max-width: 440px;
    font-size: 0.92rem;
    line-height: 1.42;
    color: #405665;
  }

  .page-quote-mortgage .quote-focus__trust {
    gap: 4px 13px;
    margin-top: 9px;
    font-size: 0.75rem;
  }

  .page-quote-mortgage .quote-focus__trust li:nth-child(3) {
    display: none;
  }

  .page-quote-mortgage .journey-card {
    border-radius: 16px;
    box-shadow: 0 12px 34px rgba(16, 47, 68, 0.08);
  }

  .page-quote-mortgage .journey-card__top {
    padding: 13px 15px 12px;
  }

  .page-quote-mortgage .journey-card__topline {
    margin-bottom: 9px;
  }

  .page-quote-mortgage .journey-card__label {
    display: none;
  }

  .page-quote-mortgage .journey-card__time {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    font-size: 0.76rem;
    font-weight: 700;
    color: #365363;
  }

  .page-quote-mortgage .quote-progress-duration {
    display: inline;
    font-weight: 500;
    color: #617584;
  }

  .page-quote-mortgage .quote-stepper {
    display: block;
    position: relative;
    height: 5px;
    padding: 0;
    margin: 0;
    border-radius: 999px;
    background: #dce6eb;
    overflow: hidden;
  }

  .page-quote-mortgage .quote-stepper::after {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: var(--quote-progress, 8.3333%);
    border-radius: inherit;
    background: #36a269;
    transition: width 0.2s ease;
  }

  .page-quote-mortgage .quote-stepper__item,
  .page-quote-mortgage .quote-stepper__item::before {
    display: none;
  }

  .page-quote-mortgage .journey-card__body,
  .page-quote-mortgage #qbox-container {
    padding: 19px 15px 19px !important;
  }

  .page-quote-mortgage #steps-container h4 {
    margin-bottom: 14px;
    font-size: clamp(1.4rem, 6.3vw, 1.75rem);
    line-height: 1.17;
  }

  .page-quote-mortgage .step-pill {
    font-size: 0.68rem;
  }

  .page-quote-mortgage .question__label {
    min-height: 58px;
    padding: 12px 40px 12px 49px;
    border-radius: 12px;
    font-size: 0.95rem;
  }

  .page-quote-mortgage .question__label::before {
    left: 14px;
    width: 23px;
    height: 23px;
  }

  .page-quote-mortgage .question__input:checked + .question__label::after {
    left: 21px;
  }

  .page-quote-mortgage .step-personal,
  .page-quote-mortgage .step-contact {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .page-quote-mortgage .step-personal h4,
  .page-quote-mortgage .step-personal .step-intro,
  .page-quote-mortgage .step-personal .step-error,
  .page-quote-mortgage .step-contact h4,
  .page-quote-mortgage .step-contact .step-intro,
  .page-quote-mortgage .step-contact .step-error {
    grid-column: auto;
  }

  .page-quote-mortgage .quote-reassurance {
    margin-top: 18px;
    font-size: 0.84rem;
  }

  .page-quote-mortgage .journey-actions,
  .page-quote-mortgage #q-box__buttons {
    position: static;
    flex-direction: row;
    align-items: stretch;
    margin: 18px auto 0;
    padding: 15px 0 0;
    background: transparent;
    border-top: 1px solid #e6eef2;
    box-shadow: none;
    backdrop-filter: none;
  }

  .page-quote-mortgage .journey-actions .btn,
  .page-quote-mortgage #q-box__buttons .btn {
    width: auto;
    min-width: 0;
    flex: 1;
  }

  .page-quote-mortgage .quote-privacy-note {
    margin-top: 14px;
    font-size: 0.78rem;
  }
}

@media (max-width: 359.98px) {
  .page-quote-mortgage .quote-focus__title { font-size: 1.55rem; }
  .page-quote-mortgage .quote-focus__intro { padding-top: 14px; }
  .page-quote-mortgage .journey-card__body,
  .page-quote-mortgage #qbox-container { padding-right: 12px !important; padding-left: 12px !important; }
}

@media (prefers-reduced-motion: reduce) {
  .page-quote-mortgage .quote-stepper::after,
  .page-quote-mortgage .question__label {
    transition: none;
  }
}
