:root {
  --credifast-blue: #00428A;
  --credifast-orange: #FF8C00;
  --credifast-white: #FAFAFF;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--credifast-white);
  color: #111827;
}

.contact-submit {
  background: #ffc928;
  box-shadow: 0 16px 32px rgb(255 201 40 / 0.22);
}

.contact-submit:hover {
  box-shadow: 0 20px 40px rgb(255 201 40 / 0.34);
}

.contact-submit:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.contact-submit-spinner {
  width: 1.35rem;
  height: 1.35rem;
  border: 3px solid rgb(0 66 138 / 0.25);
  border-top-color: var(--credifast-blue);
  border-radius: 999px;
  animation: contact-spinner 700ms linear infinite;
}

.contact-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.contact-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: #4b5563;
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 650;
  line-height: 1.5;
}

.contact-consent input {
  width: 1.15rem;
  height: 1.15rem;
  flex: 0 0 auto;
  margin-top: 0.15rem;
  accent-color: var(--credifast-blue);
}

.contact-consent a {
  color: var(--credifast-blue);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.contact-turnstile {
  min-height: 65px;
}

.contact-turnstile .cf-turnstile {
  width: 100%;
}

.contact-form-status {
  padding: 0.9rem 1rem;
  border: 1px solid transparent;
  border-radius: 1rem;
  font-size: 0.9rem;
  font-weight: 750;
  line-height: 1.45;
}

.contact-form-status[data-state="loading"] {
  border-color: rgb(0 66 138 / 0.14);
  background: rgb(0 66 138 / 0.07);
  color: var(--credifast-blue);
}

.contact-form-status[data-state="success"] {
  border-color: rgb(5 150 105 / 0.2);
  background: rgb(5 150 105 / 0.09);
  color: #047857;
}

.contact-form-status[data-state="error"] {
  border-color: rgb(220 38 38 / 0.18);
  background: rgb(220 38 38 / 0.08);
  color: #b91c1c;
}

@keyframes contact-spinner {
  to {
    transform: rotate(360deg);
  }
}

::selection {
  background: var(--credifast-orange);
  color: #ffffff;
}

.text-presto-blue,
.hover\:text-presto-blue:hover {
  color: var(--credifast-blue) !important;
}

.text-presto-yellow,
.hover\:text-presto-yellow:hover {
  color: var(--credifast-orange) !important;
}

.group:hover .group-hover\:text-white,
.hover\:text-white:hover {
  color: #ffffff !important;
}

.text-presto-blue\/90 {
  color: rgb(0 66 138 / 0.9) !important;
}

.hover\:text-presto-blue\/70:hover {
  color: rgb(0 66 138 / 0.7) !important;
}

.bg-presto-blue,
.group:hover .group-hover\:bg-presto-blue,
.hover\:bg-presto-blue:hover {
  background-color: var(--credifast-blue) !important;
}

.bg-presto-yellow,
.selection\:bg-presto-yellow::selection {
  background-color: var(--credifast-orange) !important;
}

.bg-presto-blue\/5 {
  background-color: rgb(0 66 138 / 0.05) !important;
}

.bg-presto-blue\/10 {
  background-color: rgb(0 66 138 / 0.1) !important;
}

.bg-presto-yellow\/5 {
  background-color: rgb(255 140 0 / 0.05) !important;
}

.bg-presto-yellow\/10 {
  background-color: rgb(255 140 0 / 0.1) !important;
}

.bg-presto-yellow\/20 {
  background-color: rgb(255 140 0 / 0.2) !important;
}

.border-presto-yellow {
  border-color: var(--credifast-orange) !important;
}

.border-presto-yellow\/40 {
  border-color: rgb(255 140 0 / 0.4) !important;
}

.border-presto-blue\/10 {
  border-color: rgb(0 66 138 / 0.1) !important;
}

.from-presto-blue\/80 {
  --tw-gradient-from: rgb(0 66 138 / 0.8) var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(0 66 138 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.accent-presto-blue {
  accent-color: var(--credifast-blue) !important;
}

.shadow-presto-blue\/20 {
  --tw-shadow-color: rgb(0 66 138 / 0.2) !important;
  --tw-shadow: var(--tw-shadow-colored) !important;
}

.shadow-presto-blue\/30 {
  --tw-shadow-color: rgb(0 66 138 / 0.3) !important;
  --tw-shadow: var(--tw-shadow-colored) !important;
}

.shadow-presto-blue\/40 {
  --tw-shadow-color: rgb(0 66 138 / 0.4) !important;
  --tw-shadow: var(--tw-shadow-colored) !important;
}

.shadow-presto-yellow\/20 {
  --tw-shadow-color: rgb(255 140 0 / 0.2) !important;
  --tw-shadow: var(--tw-shadow-colored) !important;
}

.shadow-presto-yellow\/30 {
  --tw-shadow-color: rgb(255 140 0 / 0.3) !important;
  --tw-shadow: var(--tw-shadow-colored) !important;
}

.dot-pattern {
  background-image: radial-gradient(var(--credifast-blue) 2px, transparent 2px);
  background-size: 20px 20px;
}

.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.maple-logo {
  display: block;
  width: auto;
  height: 7.56rem;
  object-fit: contain;
}

.maple-logo-footer {
  height: 4rem;
}

.credifast-logo {
  display: block;
  width: auto;
  height: 8.694rem;
  object-fit: contain;
}

.credifast-logo-footer {
  height: 3.91rem;
}

.hero-image-card {
  width: min(100%, 520px);
  height: 590px;
  margin-left: auto;
  background:
    radial-gradient(circle at 72% 18%, rgb(255 140 0 / 0.38), transparent 34%),
    linear-gradient(145deg, rgb(0 66 138 / 0.12), rgb(255 140 0 / 0.2));
}

.hero-carousel-track {
  display: flex;
  width: 300%;
  height: 100%;
  transform: translateX(0);
  transition: transform 650ms cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-carousel-slide {
  position: relative;
  flex: 0 0 calc(100% / 3);
  min-width: 0;
  height: 100%;
  overflow: hidden;
}

.credifast-hero-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.credifast-hero-photo-team {
  object-position: center 20%;
}

.hero-feature-card {
  position: absolute;
  right: 1.25rem;
  bottom: 1.25rem;
  left: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 6rem;
  padding: 1rem 1.15rem;
  border: 1px solid rgb(255 255 255 / 0.7);
  border-radius: 1.8rem;
  background: rgb(255 255 255 / 0.94);
  box-shadow: 0 20px 45px rgb(15 23 42 / 0.22);
  backdrop-filter: blur(12px);
}

.hero-feature-icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 1.25rem;
  background: var(--credifast-blue);
  color: #ffffff;
  box-shadow: 0 12px 24px rgb(0 66 138 / 0.32);
}

.hero-feature-icon svg {
  width: 1.9rem;
  height: 1.9rem;
}

.hero-feature-card p {
  margin: 0;
  color: #343434;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 500;
  line-height: 1.3;
}

.hero-feature-card strong {
  font-weight: 900;
}

.hero-carousel-dots {
  position: absolute;
  z-index: 3;
  top: 1rem;
  right: 1rem;
  display: flex;
  gap: 0.2rem;
  padding: 0.2rem;
  border-radius: 999px;
  background: rgb(0 66 138 / 0.34);
  backdrop-filter: blur(8px);
}

.hero-carousel-dots button {
  position: relative;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.hero-carousel-dots button::before {
  content: "";
  width: 0.58rem;
  height: 0.58rem;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.75);
  transition: width 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.hero-carousel-dots button.is-active::before,
.hero-carousel-dots button[aria-selected="true"]::before {
  width: 1.2rem;
  background: var(--credifast-orange);
  transform: scale(1.05);
}

.hero-carousel-dots button:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 1px;
}

.hero-woman-image {
  padding: 2.5rem 2rem 0;
  filter: drop-shadow(0 32px 42px rgb(15 23 42 / 0.2));
}

.vehicle-loan-image {
  background: linear-gradient(145deg, rgb(0 66 138 / 0.08), rgb(255 140 0 / 0.18));
  padding: 1.25rem;
}

.terms-hero {
  padding: 5rem 0 6rem;
  background:
    linear-gradient(135deg, rgb(0 66 138 / 0.08), rgb(255 140 0 / 0.14)),
    #ffffff;
}

.terms-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  gap: 3rem;
  align-items: center;
}

.terms-page-title {
  font-size: 4rem;
  font-weight: 700;
}

.terms-doc-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
}

.terms-doc-card {
  display: flex;
  min-height: 14rem;
  flex-direction: column;
  gap: 0.9rem;
  padding: 1.25rem;
  border: 1px solid rgb(0 66 138 / 0.12);
  border-radius: 1rem;
  background: #ffffff;
  color: #111827;
  box-shadow: 0 20px 50px rgb(0 66 138 / 0.08);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.terms-doc-card:hover {
  transform: translateY(-3px);
  border-color: rgb(0 66 138 / 0.28);
  box-shadow: 0 24px 60px rgb(0 66 138 / 0.14);
}

.terms-doc-card span {
  width: fit-content;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  background: rgb(255 140 0 / 0.14);
  color: var(--credifast-orange);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.terms-doc-card h2 {
  color: var(--credifast-blue);
  font-size: 1.35rem;
  line-height: 1.1;
  font-weight: 900;
}

.terms-doc-card p {
  color: #4b5563;
  font-size: 0.95rem;
  line-height: 1.55;
}

.terms-doc-card strong {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: auto;
  color: var(--credifast-blue);
  font-size: 0.86rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.terms-image-wrap {
  border-radius: 1.75rem;
  overflow: hidden;
  background: var(--credifast-blue);
  box-shadow: 0 30px 70px rgb(0 66 138 / 0.22);
}

.terms-promo-image {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.legal-page {
  background: linear-gradient(180deg, #ffffff 0%, var(--credifast-white) 100%);
}

.legal-hero {
  padding: 5.5rem 0 2rem;
}

.legal-page-title {
  max-width: 52rem;
  font-size: 4.5rem;
  font-weight: 900;
  letter-spacing: 0;
}

.legal-tabs-section {
  padding: 2rem 0 6rem;
}

.legal-tabs-shell {
  overflow: hidden;
  border: 1px solid rgb(0 66 138 / 0.1);
  border-radius: 1.75rem;
  background: #ffffff;
  box-shadow: 0 24px 70px rgb(0 66 138 / 0.1);
}

.legal-tabs {
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem;
  border-bottom: 1px solid rgb(17 24 39 / 0.08);
  background: #f9fafb;
}

.legal-tab {
  min-height: 3.25rem;
  padding: 0 1.15rem;
  border-radius: 1rem;
  color: #4b5563;
  font-size: 0.9rem;
  font-weight: 900;
  transition: background-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.legal-tab:hover,
.legal-tab.is-active {
  background: var(--credifast-blue);
  color: #ffffff;
  box-shadow: 0 12px 26px rgb(0 66 138 / 0.18);
}

.legal-panel {
  padding: 2rem;
}

.sac-form {
  display: grid;
  gap: 1.5rem;
}

.sac-form-section {
  min-width: 0;
  padding: 1.5rem;
  border: 1px solid rgb(0 66 138 / 0.1);
  border-radius: 1.35rem;
  background: #f9fafb;
}

.sac-form-legend {
  max-width: calc(100% - 1rem);
  padding: 0 0.65rem;
  color: var(--credifast-blue);
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.3;
}

.sac-form-legend span {
  margin-right: 0.35rem;
  color: var(--credifast-orange);
}

.sac-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
}

.sac-form-field {
  display: grid;
  gap: 0.55rem;
  min-width: 0;
}

.sac-form-field-wide {
  grid-column: 1 / -1;
}

.sac-form-field label,
.sac-form-label,
.sac-request-selector label {
  color: #374151;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.4;
}

.sac-form-field input:not([type="radio"]):not([type="checkbox"]),
.sac-form-field textarea,
.sac-request-selector select {
  width: 100%;
  border: 1px solid rgb(0 66 138 / 0.16);
  border-radius: 0.9rem;
  background: #ffffff;
  color: #111827;
  font-size: 1rem;
  font-weight: 600;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.sac-form-field input:not([type="radio"]):not([type="checkbox"]),
.sac-request-selector select {
  width: min(100%, 19rem);
  min-height: 3.35rem;
  padding: 0.8rem 1rem;
  justify-self: start;
}

.sac-form-field textarea {
  min-height: 11rem;
  padding: 1rem;
  line-height: 1.55;
  resize: vertical;
}

.sac-form-field input:not([type="radio"]):not([type="checkbox"]):focus,
.sac-form-field textarea:focus,
.sac-request-selector select:focus {
  border-color: var(--credifast-blue);
  box-shadow: 0 0 0 4px rgb(0 66 138 / 0.11);
}

.sac-choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.sac-choice,
.sac-reason {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  border: 1px solid rgb(0 66 138 / 0.1);
  border-radius: 0.9rem;
  background: #ffffff;
  color: #374151;
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.45;
  transition: border-color 180ms ease, background-color 180ms ease;
}

.sac-choice {
  align-items: center;
  min-height: 3.2rem;
  padding: 0.75rem 0.9rem;
}

.sac-choice:hover,
.sac-reason:hover {
  border-color: rgb(0 66 138 / 0.28);
  background: rgb(0 66 138 / 0.035);
}

.sac-choice input,
.sac-reason input {
  width: 1.05rem;
  height: 1.05rem;
  flex: 0 0 auto;
  margin-top: 0.1rem;
  accent-color: var(--credifast-blue);
}

.sac-request-selector {
  display: grid;
  gap: 0.55rem;
  padding: 1.35rem 1.5rem;
  border-radius: 1.25rem;
  background: rgb(255 140 0 / 0.1);
}

.sac-request-selector label {
  color: var(--credifast-blue);
  font-size: 1rem;
  font-weight: 500;
}

.sac-request-selector p {
  color: #6b7280;
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.5;
}

.sac-conditional-section[hidden] {
  display: none;
}

.sac-reason-list {
  display: grid;
  gap: 0.75rem;
}

.sac-reason {
  padding: 0.9rem 1rem;
}

.sac-form-error {
  margin-top: 0.75rem;
  color: #b42318;
  font-size: 0.86rem;
  font-weight: 800;
}

.sac-description-field {
  margin-top: 1.4rem;
}

.sac-thanks {
  margin-top: 1rem;
  color: #4b5563;
  font-size: 0.9rem;
  font-style: italic;
  font-weight: 600;
  line-height: 1.55;
}

.sac-response-notice {
  display: grid;
  gap: 0.65rem;
  padding: 1.35rem 1.5rem;
  border-left: 5px solid var(--credifast-orange);
  border-radius: 0 1rem 1rem 0;
  background: rgb(255 140 0 / 0.08);
  color: #4b5563;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.6;
}

.sac-response-notice h3 {
  color: var(--credifast-blue);
  font-size: 1.05rem;
  font-weight: 900;
}

.sac-form-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.sac-submit {
  display: inline-flex;
  min-height: 3.6rem;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.9rem 1.4rem;
  border-radius: 1rem;
  background: var(--credifast-orange);
  color: #ffffff;
  box-shadow: 0 14px 28px rgb(255 140 0 / 0.24);
  font-size: 1rem;
  font-weight: 900;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.sac-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgb(255 140 0 / 0.32);
}

.sac-submit:focus-visible {
  outline: 4px solid rgb(0 66 138 / 0.2);
  outline-offset: 3px;
}

.sac-submit svg {
  width: 1.1rem;
  height: 1.1rem;
}

.sac-form-actions p,
.sac-contact-note {
  color: #6b7280;
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.5;
}

.sac-form-actions strong {
  color: var(--credifast-blue);
}

.sac-contact-note {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  padding-top: 0.25rem;
}

.sac-contact-note strong {
  color: #374151;
}

.legal-panel-heading {
  max-width: 55rem;
  margin-bottom: 1.75rem;
}

.legal-panel-heading span {
  display: block;
  margin-bottom: 0.75rem;
  color: var(--credifast-orange);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.legal-panel-heading h2 {
  margin-bottom: 0.8rem;
  color: #111827;
  font-size: 3rem;
  line-height: 0.95;
  font-weight: 900;
  letter-spacing: 0;
}

.legal-panel-heading p {
  color: #4b5563;
  font-size: 1rem;
  line-height: 1.7;
  font-weight: 500;
}

.legal-formula-card {
  overflow-x: auto;
  margin-bottom: 1.5rem;
  padding: 2.25rem 1.5rem;
  border: 1px solid rgb(0 66 138 / 0.08);
  border-radius: 1.25rem;
  background: #ffffff;
  text-align: center;
}

.legal-formula {
  min-width: 42rem;
  color: #111827;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.65rem, 4vw, 3rem);
  font-style: italic;
  line-height: 1.4;
}

.legal-note {
  display: grid;
  gap: 0.35rem;
  max-width: 48rem;
  padding: 1.25rem;
  border-radius: 1.25rem;
  background: rgb(255 140 0 / 0.1);
  color: #374151;
}

.legal-note strong {
  color: var(--credifast-blue);
  font-weight: 900;
}

.tcea-copy {
  display: grid;
  gap: 1rem;
  max-width: 62rem;
  margin-bottom: 1.5rem;
  color: #374151;
  font-size: 1rem;
  line-height: 1.75;
  font-weight: 500;
}

.tcea-calc-wrap {
  overflow-x: auto;
  margin: 1.5rem 0 2rem;
  border: 2px solid #f4f755;
  border-radius: 0.25rem;
  background: #ffffff;
}

.tcea-calc-table {
  width: 100%;
  min-width: 38rem;
  border-collapse: collapse;
  color: #000000;
  font-family: Arial, Helvetica, sans-serif;
}

.tcea-calc-table th,
.tcea-calc-table td {
  padding: 0.55rem 0.75rem;
  text-align: left;
  font-size: clamp(1.05rem, 2.5vw, 1.9rem);
  line-height: 1.15;
  font-weight: 400;
}

.tcea-calc-table th {
  width: 68%;
}

.tcea-calc-table td {
  text-align: right;
}

.tcea-calc-table tr:first-child th {
  font-weight: 700;
}

.tcea-green-light {
  background: #bfe7a7;
  font-weight: 800 !important;
}

.tcea-green-strong {
  background: #62a93e;
  color: #ffffff;
  font-weight: 800 !important;
}

.tcea-peach {
  background: #f4dfd2;
  font-weight: 800 !important;
}

.tcea-spacer-row th,
.tcea-spacer-row td {
  height: 2.3rem;
  padding: 0;
}

.tcea-example {
  display: grid;
  gap: 1rem;
  max-width: 66rem;
  color: #374151;
  font-size: 1rem;
  line-height: 1.75;
  font-weight: 500;
}

.tcea-example h3 {
  margin-top: 0.75rem;
  color: var(--credifast-blue);
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.15;
  font-weight: 900;
}

.tcea-example ul {
  display: grid;
  gap: 0.45rem;
  padding-left: 1.25rem;
  list-style: disc;
}

.tcea-example li::marker {
  color: var(--credifast-orange);
}

.legal-table-wrap {
  overflow-x: auto;
  border: 1px solid rgb(17 24 39 / 0.08);
  border-radius: 1.25rem;
}

.legal-table {
  width: 100%;
  min-width: 46rem;
  border-collapse: collapse;
  color: #111827;
  background: #ffffff;
}

.legal-table th,
.legal-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgb(17 24 39 / 0.08);
  text-align: left;
  font-size: 1rem;
  line-height: 1.5;
}

.legal-table thead th {
  color: #374151;
  font-weight: 900;
  letter-spacing: 0;
}

.legal-table tbody tr:last-child th,
.legal-table tbody tr:last-child td {
  border-bottom: 0;
}

.legal-definition-table th {
  width: 7rem;
  color: var(--credifast-blue);
  font-weight: 900;
}

.credifast-promotions-maple-bg {
  background-color: rgb(255 140 0 / 0.2);
}

.promo-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  max-width: 62rem;
  margin: 0 auto;
}

.promo-showcase.has-navigation {
  grid-template-columns: auto minmax(0, 1fr) auto;
}

.promo-cards {
  display: grid;
  grid-auto-columns: calc((100% - 1.25rem) / 2);
  grid-auto-flow: column;
  grid-template-rows: 1fr;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.promo-cards-single {
  grid-auto-columns: 100%;
  width: min(100%, 30rem);
  margin: 0 auto;
}

.promo-card-picture {
  display: block;
}

.promo-cards::-webkit-scrollbar {
  display: none;
}

.promo-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 1.5rem;
  border: 1px solid rgb(0 66 138 / 0.08);
  background: #ffffff;
  color: #111827;
  box-shadow: 0 24px 55px rgb(15 23 42 / 0.1);
  scroll-snap-align: start;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.promo-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 65px rgb(0 66 138 / 0.18);
}

.promo-card:focus-visible {
  outline: 4px solid var(--credifast-blue);
  outline-offset: 4px;
}

.promo-card-image {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

@media (min-width: 1024px) {
  .promo-showcase {
    max-width: 72rem;
  }

  .promo-cards-single {
    width: 100%;
  }

  .promo-cards-single .promo-card-image {
    aspect-ratio: 1440 / 510;
  }

  .promo-cards-single .promo-card-content span {
    width: fit-content;
  }
}

.promo-card-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  padding: 1.75rem 0.25rem 0;
  text-align: center;
}

.promo-card-content h4 {
  margin: 0;
  color: var(--credifast-blue);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.promo-card-content p {
  margin: 0.4rem 0 1.5rem;
  color: #5d5d5d;
  font-size: 1.05rem;
  line-height: 1.35;
}

.promo-card-content span {
  display: block;
  width: 100%;
  margin-top: auto;
  padding: 0.85rem 1rem;
  border: 2px solid #3f3f3f;
  border-radius: 999px;
  color: #111111;
  font-size: 1.05rem;
  font-weight: 900;
  text-transform: uppercase;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.promo-card:hover .promo-card-content span {
  border-color: var(--credifast-blue);
  background: var(--credifast-blue);
  color: #ffffff;
}

.promo-arrow {
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #102a63;
  color: #05c9ef;
  box-shadow: 0 12px 28px rgb(16 42 99 / 0.24);
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease;
}

.promo-arrow[hidden] {
  display: none;
}

.promo-arrow:hover {
  background: var(--credifast-blue);
  transform: scale(1.08);
}

.promo-arrow:focus-visible {
  outline: 4px solid var(--credifast-orange);
  outline-offset: 3px;
}

.promo-arrow svg {
  width: 2rem;
  height: 2rem;
  stroke-width: 4;
}

@media (max-width: 640px) {
  .promo-showcase {
    position: relative;
    display: block;
  }

  .promo-cards {
    display: flex;
    gap: 1rem;
    padding: 0 0.25rem 0.75rem;
  }

  .promo-card {
    flex: 0 0 calc(100% - 1.5rem);
    padding: 1rem;
  }

  .promo-card-content {
    padding-top: 1.25rem;
  }

  .promo-card-content p {
    font-size: 0.98rem;
  }

  .promo-arrow {
    position: absolute;
    z-index: 3;
    top: 37%;
    width: 3rem;
    height: 3rem;
    transform: translateY(-50%);
  }

  .promo-arrow:hover {
    transform: translateY(-50%) scale(1.06);
  }

  .promo-arrow-prev {
    left: -0.25rem;
  }

  .promo-arrow-next {
    right: -0.25rem;
  }
}

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

  .hero-carousel-track {
    transition: none;
  }
}

.agency-map-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  color: #4b5563;
  transition: color 180ms ease, transform 180ms ease;
}

.agency-map-link:hover {
  color: var(--credifast-blue);
  transform: translateX(2px);
}

.agency-map-link svg {
  color: var(--credifast-blue);
  flex-shrink: 0;
}

.agency-card {
  min-height: 100%;
}

.agency-locator-layout {
  display: grid;
  grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.agency-selector-panel,
.agency-city-panel {
  background: #ffffff;
  border: 1px solid rgb(0 66 138 / 0.1);
  box-shadow: 0 24px 64px rgb(0 66 138 / 0.1);
}

.agency-selector-panel {
  position: sticky;
  top: 10.5rem;
  padding: 1.25rem;
  border-radius: 1.5rem;
}

.agency-select-label {
  display: block;
  margin-bottom: 0.75rem;
  color: var(--credifast-blue);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.agency-city-select {
  width: 100%;
  min-height: 3.5rem;
  padding: 0 3rem 0 1rem;
  border: 2px solid rgb(0 66 138 / 0.14);
  border-radius: 1rem;
  background-color: #ffffff;
  color: #111827;
  font-weight: 500;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.agency-city-select:focus {
  border-color: var(--credifast-blue);
  box-shadow: 0 0 0 4px rgb(0 66 138 / 0.12);
}

.agency-city-summary {
  margin-top: 0.85rem;
  color: #6b7280;
  font-size: 0.92rem;
  font-weight: 800;
}

.agency-total-card {
  margin-top: 1.25rem;
  padding: 1.25rem;
  border-radius: 1.25rem;
  background: var(--credifast-blue);
  color: #ffffff;
}

.agency-total-card span {
  display: block;
  margin-bottom: 0.35rem;
  color: rgb(255 255 255 / 0.72);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.agency-total-card strong {
  display: block;
  color: #ffc928;
  font-size: 4rem;
  line-height: 0.9;
  font-weight: 900;
}

.agency-total-card p {
  margin-top: 0.55rem;
  color: rgb(255 255 255 / 0.82);
  font-weight: 800;
}

.agency-city-panel {
  min-height: 26rem;
  padding: 1.25rem;
  border-radius: 1.75rem;
}

.agency-city-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 0.25rem 1.25rem;
  border-bottom: 1px solid rgb(17 24 39 / 0.08);
}

.agency-city-heading span {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--credifast-orange);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.agency-city-heading h3 {
  color: #111827;
  font-size: clamp(1.8rem, 4vw, 3.1rem);
  line-height: 0.95;
  font-weight: 500;
  letter-spacing: 0;
}

.agency-city-heading strong {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 1.25rem;
  background: rgb(255 140 0 / 0.14);
  color: var(--credifast-orange);
  font-size: 2rem;
  font-weight: 900;
}

.agency-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.8rem;
  margin-top: 1.25rem;
}

.agency-cards-grid-all {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: stretch;
}

.agency-mini-card {
  display: flex;
  min-height: 10.25rem;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem;
  border: 1px solid rgb(0 66 138 / 0.1);
  border-radius: 1rem;
  background: #f9fafb;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.agency-mini-card:hover {
  transform: translateY(-2px);
  border-color: rgb(0 66 138 / 0.22);
  background: #ffffff;
}

.agency-mini-card h4 {
  color: var(--credifast-blue);
  font-size: 1rem;
  line-height: 1.15;
  font-weight: 900;
}

.agency-mini-card p {
  color: #4b5563;
  font-size: 0.88rem;
  line-height: 1.45;
  font-weight: 400;
}

.agency-mini-card a,
.agency-mini-card span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  width: fit-content;
  margin-top: auto;
  color: #111827;
  font-size: 0.86rem;
  font-weight: 400;
}

.agency-mini-card a:hover {
  color: var(--credifast-orange);
}

.agency-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: auto;
}

.agency-card-actions a {
  margin-top: 0;
}

.agency-contact-link,
.agency-card-actions a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 2.35rem;
  padding: 0.55rem 0.7rem;
  border: 1px solid transparent;
  border-radius: 0.75rem;
  font-size: 0.78rem;
  line-height: 1;
  font-weight: 800;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.agency-contact-link:hover,
.agency-card-actions a:hover {
  transform: translateY(-1px);
}

.agency-contact-link svg,
.agency-card-actions a svg {
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
}

.agency-phone-link,
.agency-card-actions a[href^="tel:"] {
  border-color: rgb(166 83 0 / 0.16);
  background: rgb(255 140 0 / 0.1);
  color: #a65300;
}

.agency-phone-link:hover,
.agency-card-actions a[href^="tel:"]:hover {
  border-color: rgb(166 83 0 / 0.32);
  background: rgb(255 140 0 / 0.17);
  color: #7d3f00;
}

.agency-maps-link,
.agency-card-actions a[href*="maps"] {
  border-color: rgb(0 66 138 / 0.14);
  background: rgb(0 66 138 / 0.08);
  color: var(--credifast-blue);
}

.agency-maps-link:hover,
.agency-card-actions a[href*="maps"]:hover {
  border-color: rgb(0 66 138 / 0.28);
  background: rgb(0 66 138 / 0.13);
  color: var(--credifast-blue);
}

.agency-list-multi {
  column-gap: 1.25rem;
}

@media (min-width: 768px) {
  nav .h-20 {
    height: 9.25rem;
  }

  nav .text-sm {
    font-size: 1rem;
    line-height: 1.5rem;
  }

  .agency-list-multi {
    columns: 2;
  }

  .agency-list-multi li {
    break-inside: avoid;
    margin-bottom: 0.5rem;
  }
}

.back-to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 60;
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  border: 0;
  border-radius: 999px;
  background: var(--credifast-blue);
  color: #ffffff;
  box-shadow: 0 18px 40px rgb(0 66 138 / 0.28);
  transition: transform 180ms ease, background-color 180ms ease;
}

.back-to-top:hover {
  background: #00366f;
  transform: translateY(-3px);
}

#estimatedPayment {
  overflow-wrap: normal;
  word-break: normal;
  white-space: nowrap;
}

#estimatedPayment {
  font-size: 3.2rem;
  line-height: 1;
}

.payment-currency {
  display: inline-block;
  flex: 0 0 auto;
  font-size: 3.2rem;
  line-height: inherit;
}

#calculadora h4 {
  flex-wrap: nowrap;
  font-variant-numeric: tabular-nums;
}

.calculator-money-input {
  position: relative;
}

.calculator-money-input > span {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 1.25rem;
  color: var(--credifast-blue);
  font-size: 1rem;
  font-weight: 900;
  transform: translateY(-50%);
}

.calculator-money-input input {
  padding-left: 3.25rem;
}

.calculator-field-note {
  margin: 0.6rem 0 0;
  color: #6b7280;
  font-size: 0.78rem;
  font-weight: 650;
  line-height: 1.45;
}

.calculator-breakdown {
  display: grid;
  gap: 0.7rem;
  margin: 0 0 1.75rem;
  text-align: left;
}

.calculator-breakdown > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgb(255 255 255 / 0.16);
}

.calculator-breakdown dt {
  color: rgb(255 255 255 / 0.72);
  font-size: 0.76rem;
  font-weight: 750;
  line-height: 1.35;
}

.calculator-breakdown dd {
  flex: 0 0 auto;
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 900;
  line-height: 1.2;
}

.calculator-legal-note {
  max-width: 62rem;
  margin: 1rem auto 0;
  color: rgb(255 255 255 / 0.62);
  font-size: 0.68rem;
  line-height: 1.5;
  text-align: center;
}

nav .h-20 {
  height: 8.05rem;
}

@media (max-width: 640px) {
  nav .h-28,
  nav .h-20 {
    height: 6rem;
  }

  .maple-logo {
    height: 4.08rem;
  }

  nav .credifast-logo {
    height: 5.396rem;
    transform: translateX(-15%);
  }

  .maple-logo-footer {
    height: 3.5rem;
  }

  .credifast-logo-footer {
    height: 3.421rem;
  }

  #hero {
    padding-top: 2.25rem;
    padding-bottom: 4rem;
  }

  #hero h1 {
    font-size: clamp(3.25rem, 17vw, 5rem);
    line-height: 0.95;
  }

  #hero .hero-image-card {
    width: min(100%, 420px);
    height: clamp(430px, 128vw, 540px);
    margin-right: auto;
    border-radius: 2rem;
  }

  .hero-feature-card {
    right: 0.75rem;
    bottom: 0.75rem;
    left: 0.75rem;
    gap: 0.75rem;
    min-height: 5rem;
    padding: 0.75rem;
    border-radius: 1.4rem;
  }

  .hero-feature-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 1rem;
  }

  .hero-feature-icon svg {
    width: 1.5rem;
    height: 1.5rem;
  }

  .hero-feature-card p {
    font-size: clamp(0.92rem, 4.2vw, 1.1rem);
  }

  .hero-carousel-dots {
    top: 0.65rem;
    right: 0.65rem;
  }

  .hero-woman-image {
    height: 500px;
    padding: 0.25rem 0.75rem 5.5rem;
    object-position: center top;
  }

  #hero .hero-image-card .absolute.bottom-8 {
    bottom: 0.75rem;
    left: 0.75rem;
    right: 0.75rem;
    padding: 1rem;
    border-radius: 1.5rem;
  }

  #hero .hero-image-card .w-16.h-16 {
    width: 3rem;
    height: 3rem;
    border-radius: 1rem;
  }

  .vehicle-loan-image {
    height: 430px;
    padding: 5rem 0 0;
    object-fit: contain;
    object-position: center top;
    border-radius: 2rem;
  }

  #calculadora .max-w-5xl {
    border-radius: 2rem;
    padding: 1.5rem;
  }

  #calculadora .grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }

  #calculadora label {
    display: block;
    margin-bottom: 0.5rem;
  }

  #estimatedPayment {
    font-size: 2.5rem;
  }

  .payment-currency {
    font-size: 2.5rem;
  }

  #calculadora h4 {
    margin-bottom: 2rem;
  }

  .calculator-result-card {
    min-width: 0;
    padding: 2rem 1.25rem;
  }

  .calculator-breakdown > div {
    align-items: flex-start;
  }

  .calculator-breakdown dt {
    max-width: 58%;
  }

  #agencias .grid {
    gap: 1.5rem;
  }

  .agency-locator-layout {
    grid-template-columns: 1fr;
  }

  .agency-selector-panel {
    position: static;
    border-radius: 1.25rem;
  }

  .agency-city-panel {
    padding: 1rem;
    border-radius: 1.25rem;
  }

  .agency-city-heading {
    align-items: center;
  }

  .agency-city-heading strong {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 1rem;
    font-size: 1.5rem;
  }

  .agency-cards-grid {
    grid-template-columns: 1fr;
  }

  .terms-hero {
    padding: 3rem 0 4rem;
  }

  .terms-hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .terms-doc-grid {
    grid-template-columns: 1fr;
  }

  .terms-image-wrap {
    border-radius: 1.5rem;
  }

  .legal-hero {
    padding: 4rem 0 1rem;
  }

  .legal-tabs-section {
    padding: 1.5rem 0 4rem;
  }

  .legal-tabs {
    overflow-x: auto;
    justify-content: flex-start;
  }

  .legal-tab {
    flex: 0 0 auto;
    min-height: 3rem;
    font-size: 0.82rem;
  }

  .legal-panel {
    padding: 1.25rem;
  }

  .sac-form-section,
  .sac-request-selector {
    padding: 1.15rem;
  }

  .sac-form-grid,
  .sac-choice-grid {
    grid-template-columns: 1fr;
  }

  .sac-form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .sac-submit {
    width: 100%;
  }

  .legal-formula-card {
    padding: 1.5rem 1rem;
  }

  .legal-formula {
    min-width: 34rem;
    font-size: 1.55rem;
  }

  #consultas {
    padding: 4rem 1rem;
  }

  #consultas > div {
    width: 100%;
    padding: 1.5rem !important;
    border-radius: 2rem;
  }

  #consultas .grid {
    gap: 2rem;
  }

  #consultas span.text-xs {
    letter-spacing: 0.22em;
  }

  #consultas h2 {
    font-size: clamp(2.15rem, 10vw, 3rem);
    line-height: 1.05;
    margin-bottom: 1.25rem;
  }

  #consultas p.text-lg {
    max-width: 100%;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
  }

  #consultas .space-y-8 {
    display: grid;
    gap: 1rem;
  }

  #consultas .space-y-8 a {
    width: 100%;
    min-width: 0;
    gap: 0.9rem;
    padding: 1rem;
    border-radius: 1.5rem;
  }

  #consultas .space-y-8 a > div:first-child {
    flex-shrink: 0;
    padding: 0.85rem;
    border-radius: 1rem;
  }

  #consultas .space-y-8 a p {
    overflow-wrap: anywhere;
  }

  #consultas .space-y-8 a p:first-child {
    font-size: 0.68rem;
    letter-spacing: 0.12em;
  }

  #consultas .space-y-8 a p:last-child {
    font-size: clamp(1.15rem, 5vw, 1.45rem);
    line-height: 1.1;
  }

  #leadForm {
    padding: 1.25rem !important;
    border-radius: 1.75rem;
  }

  #leadForm input:not([type="checkbox"]):not([type="hidden"]),
  #leadForm textarea {
    padding: 1rem;
    border-radius: 1rem;
  }

  .agency-card {
    border-radius: 2rem;
  }

  .agency-card > .relative {
    height: 14rem;
    border-radius: 1.75rem;
  }

  .agency-card .p-8 {
    padding: 1.5rem;
  }

  .agency-map-link {
    align-items: flex-start;
    line-height: 1.35;
  }

  .back-to-top {
    right: 1rem;
    bottom: 1rem;
    width: 3rem;
    height: 3rem;
  }
}
