.mth-pa {
  --mth-pa-accent: #222a75;
  --mth-pa-accent-rgb: 34, 42, 117;
  clear: both;
  margin: 22px 0;
  color: #172033;
  font-size: 15px;
  line-height: 1.5;
}

.mth-pa *, .mth-pa *::before, .mth-pa *::after { box-sizing: border-box; }
.mth-pa__card { overflow: hidden; border: 1px solid #dfe4ec; border-radius: 10px; background: #fff; box-shadow: 0 8px 24px rgba(18, 30, 55, .07); }
.mth-pa__service { display: flex; align-items: stretch; flex-direction: column; gap: 14px; padding: 22px; }
.mth-pa__service-copy { min-width: 0; flex: 1 1 auto; }
.mth-pa__heading, .mth-pa__finance-heading { margin: 0; color: #172033; font-size: 20px; font-weight: 700; line-height: 1.25; letter-spacing: -.01em; }
.mth-pa__intro { margin: 5px 0 0; color: #657084; }
.mth-pa__actions { width: 100%; display: flex; flex: 0 0 auto; gap: 10px; }
.mth-pa__actions .mth-pa__button { flex: 1 1 50%; }
.mth-pa__button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: 1px solid transparent; border-radius: 6px; padding: 10px 16px; font: inherit; font-weight: 700; line-height: 1.2; text-decoration: none !important; cursor: pointer; transition: background-color .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease; }
.mth-pa__button:hover { transform: translateY(-1px); }
.mth-pa__button:focus-visible, .mth-pa-mobile a:focus-visible, .mth-pa-mobile button:focus-visible, .mth-pa-modal__close:focus-visible { outline: 3px solid rgba(34, 42, 117, .25); outline-offset: 2px; }
.mth-pa__button svg { width: 20px; height: 20px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mth-pa__button--primary { border-color: var(--mth-pa-accent); background: var(--mth-pa-accent); color: #fff !important; }
.mth-pa__button--primary:hover { border-color: #151b5a; background: #151b5a; color: #fff !important; box-shadow: 0 5px 14px rgba(34, 42, 117, .2); }
.mth-pa__button--secondary { border-color: #c9d0dc; background: #fff; color: var(--mth-pa-accent) !important; }
.mth-pa__button--secondary:hover { border-color: var(--mth-pa-accent); background: #f6f7fb; color: var(--mth-pa-accent) !important; }
.mth-pa__button-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.mth-pa__button-copy strong { font: inherit; }
.mth-pa__button-copy small { color: #687387; font-size: 11px; font-weight: 500; }
.mth-pa__button--primary .mth-pa__button-copy small { color: rgba(255, 255, 255, .8); }
.mth-pa__phone { white-space: nowrap; }

.mth-pa__finance { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 16px; padding: 20px 22px; border-top: 1px solid #dfe4ec; background: linear-gradient(120deg, #f5f6fb 0%, #fafbff 100%); scroll-margin: 90px 0 100px; }
.mth-pa--finance-only .mth-pa__finance { border-top: 0; }
.mth-pa__finance:focus { outline: none; }
.mth-pa__finance:focus-visible { box-shadow: inset 0 0 0 3px rgba(34, 42, 117, .22); }
.mth-pa__finance-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: #e8eaf5; color: var(--mth-pa-accent); }
.mth-pa__finance-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.mth-pa__eyebrow { margin-bottom: 3px; color: var(--mth-pa-accent); font-size: 11px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.mth-pa__finance-copy p { max-width: 590px; margin: 5px 0 0; color: #5f6a7d; }
.mth-pa__finance-action { width: min(100%, 190px); min-width: 0; grid-column: 2; }
.mth-pa__button--finance { width: 100%; border-color: var(--mth-pa-accent); background: #fff; color: var(--mth-pa-accent) !important; }
.mth-pa__button--finance:hover { background: var(--mth-pa-accent); color: #fff !important; }
.mth-pa__button--finance svg { width: 18px; }

.mth-pa-modal[hidden] { display: none !important; }
.mth-pa-modal { position: fixed; z-index: 100050; inset: 0; display: grid; place-items: center; padding: 20px; }
.mth-pa-modal__backdrop { position: absolute; inset: 0; background: rgba(13, 20, 38, .68); backdrop-filter: blur(2px); }
.mth-pa-modal__dialog { position: relative; width: min(100%, 590px); max-height: calc(100vh - 40px); overflow: auto; border-radius: 10px; background: #fff; box-shadow: 0 24px 70px rgba(0, 0, 0, .28); }
.mth-pa-modal__close { position: absolute; z-index: 1; top: 12px; right: 12px; width: 42px; height: 42px; display: grid; place-items: center; border: 0; border-radius: 50%; background: #f1f3f7; color: #35405a; cursor: pointer; }
.mth-pa-modal__close:hover { background: #e6e9ef; }
.mth-pa-modal__close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.mth-pa-modal__header { padding: 28px 64px 20px 28px; border-bottom: 1px solid #e3e7ed; }
.mth-pa-modal__header h2 { margin: 0; color: #172033; font-size: 24px; font-weight: 700; line-height: 1.25; }
.mth-pa-modal__header p { margin: 7px 0 0; color: #657084; }
.mth-pa-modal__product { margin-top: 13px; color: #35405a; font-size: 13px; font-weight: 600; }
.mth-pa-modal__product span { color: #778195; font-weight: 500; }
.mth-pa-form { padding: 24px 28px 28px; }
.mth-pa-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mth-pa-form__field { margin-bottom: 15px; }
.mth-pa-form__field label { display: block; margin: 0 0 6px; color: #303b52; font-size: 13px; font-weight: 700; }
.mth-pa-form__field input, .mth-pa-form__field textarea { width: 100%; min-height: 44px; border: 1px solid #cdd4df; border-radius: 5px; padding: 10px 12px; background: #fff; color: #172033; font: inherit; box-shadow: none; }
.mth-pa-form__field textarea { min-height: 116px; resize: vertical; }
.mth-pa-form__field input:focus, .mth-pa-form__field textarea:focus { border-color: var(--mth-pa-accent); outline: 0; box-shadow: 0 0 0 3px rgba(34, 42, 117, .12); }
.mth-pa-form__field [aria-invalid="true"] { border-color: #b42318; }
.mth-pa-form__error { min-height: 0; display: block; margin-top: 4px; color: #b42318; font-size: 12px; line-height: 1.35; }
.mth-pa-form__error:empty { display: none; }
.mth-pa-form__error--form { margin: 0 0 10px; }
.mth-pa-form__notice { margin: 0 0 12px; border-radius: 5px; font-size: 13px; }
.mth-pa-form__notice:not(:empty) { padding: 10px 12px; background: #e9f7ef; color: #17663a; }
.mth-pa-form__notice.is-error:not(:empty) { background: #fcebea; color: #96281f; }
.mth-pa-form__submit { width: 100%; }
.mth-pa-form__submit[disabled] { opacity: .7; cursor: wait; transform: none; }
.mth-pa-form__trap { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.mth-pa-form__captcha { margin-bottom: 15px; }
.mth-pa-modal-open { overflow: hidden !important; }
.mth-pa-mobile { display: none; }
.mth-pa-legacy-finance-hidden { display: none !important; }

@media (max-width: 767px) {
  body.mth-pa-mobile-toolbar-active { padding-bottom: calc(62px + env(safe-area-inset-bottom, 0px)) !important; }
  body.mth-pa-mobile-toolbar-active .product-info .button-group-page { position: static !important; inset: auto !important; transform: none !important; }
  .mth-pa { margin: 18px 0; }
  .mth-pa__card { border-radius: 8px; box-shadow: 0 5px 18px rgba(18, 30, 55, .06); }
  .mth-pa__service { padding: 18px; }
  .mth-pa__heading, .mth-pa__finance-heading { font-size: 18px; }
  .mth-pa__intro { font-size: 14px; }
  .mth-pa__actions { flex-direction: column; }
  .mth-pa__actions .mth-pa__button { width: 100%; flex-basis: auto; }
  .mth-pa__finance { grid-template-columns: 40px 1fr; gap: 12px; padding: 18px; }
  .mth-pa__finance-icon { width: 40px; height: 40px; }
  .mth-pa__finance-icon svg { width: 23px; height: 23px; }
  .mth-pa__finance-copy p { font-size: 14px; }
  .mth-pa__finance-action { grid-column: 1 / -1; display: block; }
  .mth-pa-modal { padding: 10px; align-items: end; }
  .mth-pa-modal__dialog { width: 100%; max-height: calc(100vh - 10px); border-radius: 10px 10px 0 0; }
  .mth-pa-modal__header { padding: 22px 58px 16px 20px; }
  .mth-pa-modal__header h2 { font-size: 21px; }
  .mth-pa-form { padding: 20px; }
  .mth-pa-form__grid { grid-template-columns: 1fr; gap: 0; }
  .mth-pa-mobile { position: fixed; z-index: 9998; right: 0; bottom: 0; left: 0; height: calc(62px + env(safe-area-inset-bottom, 0px)); display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding: 0 max(8px, env(safe-area-inset-right, 0px)) env(safe-area-inset-bottom, 0px) max(8px, env(safe-area-inset-left, 0px)); border-top: 1px solid #d6dce5; background: rgba(255, 255, 255, .97); box-shadow: 0 -5px 18px rgba(13, 24, 45, .13); backdrop-filter: blur(8px); }
  .mth-pa-mobile a, .mth-pa-mobile button { min-width: 0; min-height: 61px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; border: 0; border-radius: 0; padding: 5px 3px; background: transparent; color: #27324a !important; font: inherit; font-size: 11px; font-weight: 700; line-height: 1.15; text-align: center; text-decoration: none !important; cursor: pointer; }
  .mth-pa-mobile .mth-pa-mobile__primary { background: var(--mth-pa-accent); color: #fff !important; }
  .mth-pa-mobile .mth-pa-mobile__secondary { color: var(--mth-pa-accent) !important; box-shadow: inset 0 0 0 1px rgba(34, 42, 117, .22); }
  .mth-pa-mobile a + a, .mth-pa-mobile button + button, .mth-pa-mobile a + button, .mth-pa-mobile button + a { border-left: 1px solid #e4e7ec; }
  .mth-pa-mobile svg { width: 22px; height: 22px; fill: none; stroke: var(--mth-pa-accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .mth-pa-mobile .mth-pa-mobile__primary svg { stroke: #fff; }
}

@media (prefers-reduced-motion: reduce) {
  .mth-pa__button { transition: none; }
  .mth-pa__button:hover { transform: none; }
}
