:root {
  --shell-blue: #0758dc;
  --shell-navy: #052e68;
  --shell-deep: #031d45;
}

html { scroll-behavior: smooth; }

body {
  font-family: "Nunito Sans", sans-serif !important;
}

.whatsapp-float {
  position: fixed;
  right: 1.25rem;
  bottom: 3.75rem;
  z-index: 50;
  display: grid;
  width: 3.5rem;
  height: 3.5rem;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  box-shadow: 0 10px 25px rgba(4, 72, 38, .28);
  transition: transform .2s ease, box-shadow .2s ease;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(4, 72, 38, .35);
}

.whatsapp-float svg {
  width: 2rem;
  height: 2rem;
}

.site-shell-container {
  width: min(calc(100% - 7rem), 1760px);
  margin-inline: auto;
}

/* Keep every page aligned to the same wide content grid used by Home. */
.page-container {
  width: min(calc(100% - 7rem), 1760px);
  margin-inline: auto;
}

.site-desktop-nav,
.site-desktop-actions {
  display: flex;
}

.site-menu-button,
.site-mobile-menu {
  display: none;
}

.site-nav-link {
  position: relative;
}
.site-nav-dropdown {
  position: relative;
}

.site-nav-dropdown > .site-nav-link {
  gap: .35rem;
}

.site-services-menu {
  position: absolute;
  top: calc(100% - .35rem);
  left: 50%;
  z-index: 70;
  display: grid;
  min-width: 15rem;
  gap: .18rem;
  border: 1px solid #d9ebff;
  border-radius: .65rem;
  background: #fff;
  padding: .55rem;
  box-shadow: 0 18px 42px rgba(5, 46, 104, .16);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, .7rem);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
  visibility: hidden;
}

.site-nav-dropdown:hover .site-services-menu,
.site-nav-dropdown:focus-within .site-services-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
  visibility: visible;
}

.site-services-menu a {
  display: flex;
  align-items: center;
  gap: .7rem;
  border-radius: .5rem;
  padding: .7rem .8rem;
  color: #052e68;
  font-size: .78rem;
  font-weight: 900;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}

.site-services-menu a:hover,
.site-services-menu a:focus-visible {
  background: #eef6ff;
  color: #0758dc;
  transform: translateX(2px);
}

.site-services-menu svg {
  color: #0758dc;
}

.site-nav-link::after {
  position: absolute;
  right: .75rem;
  bottom: 1rem;
  left: .75rem;
  height: 2px;
  background: var(--shell-blue);
  content: "";
  opacity: 0;
  transform: scaleX(.45);
  transition: opacity .2s ease, transform .2s ease;
}

.site-nav-link:hover,
body[data-page="home"] .site-nav-link[data-nav="home"],
body[data-page="about"] .site-nav-link[data-nav="about"],
body[data-page="services"] .site-nav-link[data-nav="services"],
body[data-page="why"] .site-nav-link[data-nav="why"],
body[data-page="faq"] .site-nav-link[data-nav="faq"],
body[data-page="contact"] .site-nav-link[data-nav="contact"] {
  color: var(--shell-blue);
}

.site-nav-link:hover::after,
body[data-page="home"] .site-nav-link[data-nav="home"]::after,
body[data-page="about"] .site-nav-link[data-nav="about"]::after,
body[data-page="services"] .site-nav-link[data-nav="services"]::after,
body[data-page="why"] .site-nav-link[data-nav="why"]::after,
body[data-page="faq"] .site-nav-link[data-nav="faq"]::after,
body[data-page="contact"] .site-nav-link[data-nav="contact"]::after {
  opacity: 1;
  transform: scaleX(1);
}

.site-footer-grid {
  display: grid;
  grid-template-columns: 1.35fr .8fr 1fr 1.15fr;
  gap: 2.25rem;
  text-align: center;
}

.site-footer-grid > div > p {
  margin-right: auto;
  margin-left: auto;
}

.site-footer-grid > div > :where(a, p),
.site-footer-grid > div > div {
  justify-content: center;
}

.site-footer-heading {
  margin-bottom: .85rem;
  color: #fff;
  font-size: .82rem;
  font-weight: 900;
}

.site-footer-link {
  display: block;
  margin-top: .48rem;
  color: #d9ebff;
  font-size: .7rem;
  font-weight: 650;
  transition: color .2s ease;
}

.site-footer-link:hover {
  color: #fff;
}

.site-social-link {
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 999px;
  color: #fff;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.site-social-link svg {
  width: 1rem;
  height: 1rem;
  display: block;
}

.site-social-link:hover {
  border-color: #fff;
  background: #fff;
  color: var(--shell-blue);
}
.site-footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  text-align: left;
  color: #d9ebff;
}

.site-developed-by {
  margin-left: auto;
  text-align: right;
}
.gobright-link {
  color: #ef4444;
  font-weight: 800;
}

.gobright-link:hover {
  color: #f87171;
}


body.lead-modal-open {
  overflow: hidden;
}

.lead-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(3, 29, 69, .62);
  backdrop-filter: blur(7px);
}

.lead-modal-backdrop.hidden {
  display: none;
}

.lead-modal-card {
  position: relative;
  width: min(100%, 34rem);
  max-height: min(92vh, 46rem);
  overflow-y: auto;
  border: 1px solid #d9ebff;
  border-radius: .75rem;
  background: #fff;
  padding: 1.35rem;
  box-shadow: 0 24px 70px rgba(3, 29, 69, .26);
}

.lead-modal-close {
  position: absolute;
  top: .9rem;
  right: .9rem;
  display: grid;
  width: 2.35rem;
  height: 2.35rem;
  place-items: center;
  border: 1px solid #d9ebff;
  border-radius: 999px;
  color: var(--shell-navy);
}

.lead-modal-close svg {
  width: 1rem;
  height: 1rem;
}

.lead-modal-eyebrow {
  display: inline-flex;
  border-radius: 999px;
  background: #eef6ff;
  padding: .35rem .7rem;
  color: var(--shell-blue);
  font-size: .68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.lead-modal-card h2 {
  margin-top: .8rem;
  color: var(--shell-deep);
  font-size: clamp(1.65rem, 4vw, 2.25rem);
  line-height: 1.1;
  font-weight: 1000;
}

.lead-modal-card > p {
  margin-top: .45rem;
  color: #52637e;
  font-size: .9rem;
  font-weight: 650;
}

.lead-modal-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .85rem;
  margin-top: 1.1rem;
}

.lead-modal-form label {
  display: grid;
  gap: .35rem;
  color: var(--shell-navy);
  font-size: .8rem;
  font-weight: 850;
}

.lead-modal-form label span {
  color: #dc2626;
}

.lead-modal-form input,
.lead-modal-form select,
.lead-modal-form textarea {
  width: 100%;
  border: 1px solid #cfd8e5;
  border-radius: .4rem;
  background: #fff;
  padding: .78rem .85rem;
  color: #1e293b;
  font-size: .86rem;
  font-weight: 650;
  outline: none;
}

.lead-modal-form input:focus,
.lead-modal-form select:focus,
.lead-modal-form textarea:focus {
  border-color: var(--shell-blue);
  box-shadow: 0 0 0 3px rgba(7, 88, 220, .12);
}

.lead-modal-wide,
.lead-modal-form button,
.lead-modal-status {
  grid-column: 1 / -1;
}

.lead-modal-form button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  border-radius: .45rem;
  background: var(--shell-blue);
  color: #fff;
  font-size: .9rem;
  font-weight: 900;
  transition: background-color .2s ease, opacity .2s ease;
}

.lead-modal-form button:hover {
  background: var(--shell-navy);
}

.lead-modal-form button:disabled {
  cursor: not-allowed;
  opacity: .7;
}

.lead-modal-form button svg {
  width: 1rem;
  height: 1rem;
}

.lead-modal-status {
  border-radius: .45rem;
  background: #eef6ff;
  padding: .65rem .8rem;
  color: var(--shell-navy);
  font-size: .82rem;
  font-weight: 800;
}

.lead-status-success {
  background: #effcf6;
  color: #168a56;
}

.lead-status-error {
  background: #fff1f2;
  color: #be123c;
}

.lead-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
}

@media (max-width: 560px) {
  .lead-modal-card {
    padding: 1.1rem;
  }

  .lead-modal-form {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 899px) {
  .site-shell-container,
  .page-container {
    width: min(calc(100% - 2rem), 1760px);
  }

  .site-desktop-nav,
  .site-desktop-actions {
    display: none !important;
  }

  .site-menu-button {
    display: grid !important;
  }

  .site-mobile-menu:not(.hidden) {
    display: block !important;
  }

  .site-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .site-footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }

  .site-developed-by {
    margin-left: 0;
    text-align: center;
  }

  .site-shell-container,
  .page-container {
    width: min(calc(100% - 1.25rem), 1760px);
  }

  .site-footer-grid {
    grid-template-columns: 1fr;
    gap: 1.6rem;
  }
}

@media (max-width: 899px) {
  body[data-page="home"] .hero-bg {
    min-height: 43rem;
  }
}

@media (max-width: 480px) {
  body[data-page="home"] .hero-bg {
    min-height: 46rem;
  }
}
@media (max-width: 480px) {
  .loan-tools-grid,
  body[data-page="faq"] .faq-main {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .loan-tools-grid > * {
    min-width: 0;
  }

  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-width: 0;
  }

  .process-grid > article,
  body[data-page="faq"] .faq-main,
  body[data-page="faq"] .faq-categories,
  body[data-page="faq"] .faq-categories button {
    min-width: 0;
    max-width: 100%;
  }

  body[data-page="faq"] .faq-categories button {
    width: 100%;
    grid-template-columns: 1.25rem minmax(0, 1fr) 1.25rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

.skip-link {
  position: fixed;
  top: .75rem;
  left: .75rem;
  z-index: 1000;
  transform: translateY(-160%);
  border-radius: .5rem;
  background: #052e68;
  color: #fff;
  padding: .7rem 1rem;
  font-size: .8rem;
  font-weight: 900;
  box-shadow: 0 8px 24px rgba(5, 46, 104, .22);
  transition: transform .2s ease;
}

.skip-link:focus {
  transform: translateY(0);
  outline: 3px solid #24a86b;
  outline-offset: 2px;
}

.form-privacy,
.lead-modal-privacy {
  grid-column: 1 / -1;
  margin: 0;
  color: #64748b;
  font-size: .72rem;
  font-weight: 650;
  line-height: 1.55;
}

.form-privacy a,
.lead-modal-privacy a {
  color: #0754c5;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 2px;
}
/* Shared readable type scale used across every public page. */
:root {
  --site-type-body: clamp(.9375rem, .91rem + .12vw, 1rem);
  --site-type-small: clamp(.875rem, .85rem + .08vw, .9375rem);
  --site-type-control: 1rem;
}

body {
  min-width: 320px;
  font-size: var(--site-type-body);
  line-height: 1.6;
  overflow-x: hidden;
}

main {
  overflow-x: clip;
}

main :where(section, article, div, aside, form, fieldset) {
  min-width: 0;
}

main :where(img, video, iframe, table) {
  max-width: 100%;
}

main :where(p, li, dd, summary) {
  font-size: var(--site-type-body) !important;
  line-height: 1.65 !important;
}

main :where(a, span, small, figcaption, dt, em, .text-xs, .text-\[13px\]) {
  font-size: var(--site-type-small) !important;
  line-height: 1.55 !important;
}

main :where(b, strong, h4) {
  font-size: 1rem !important;
  line-height: 1.4 !important;
}

main h1 {
  font-size: clamp(2.25rem, 4.5vw, 4rem) !important;
  line-height: 1.08 !important;
  text-wrap: balance;
}

main h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem) !important;
  line-height: 1.18 !important;
  text-wrap: balance;
}

main h3 {
  font-size: clamp(1.125rem, 1.6vw, 1.35rem) !important;
  line-height: 1.3 !important;
  text-wrap: balance;
}

main :where(label, input, select, textarea, button) {
main :where(h1, h2, h3, h4) :where(a, span, small, em) {
  font-size: inherit !important;
  line-height: inherit !important;
}

  font-size: var(--site-type-control) !important;
}

main :where(input:not([type="range"]):not([type="hidden"]), select, textarea) {
  min-height: 3rem;
}

main :where(button, [class*="primary-action"], [class*="secondary-action"]) {
  min-height: 2.75rem;
}

@media (max-width: 640px) {
  .whatsapp-float {
    right: 1rem;
    bottom: 3.75rem;
    width: 3.25rem;
    height: 3.25rem;
  }
  .site-shell-container,
  .page-container {
    width: min(calc(100% - 1.25rem), 1760px);
  }

  main :where(h1, h2, h3, h4, p) {
    margin-right: auto;
    margin-left: auto;
    text-align: center !important;
  }

  main :where(h1, h2) {
    max-width: 18ch;
  }

  main :where(p) {
    max-width: 38ch;
    text-wrap: pretty;
  }

  main article :where(b, strong, small) {
    text-align: center;
  }

  main :where(ul, ol) {
    width: fit-content;
    max-width: 100%;
    margin-right: auto;
    margin-left: auto;
    text-align: left;
  }

  main :where(form, form h1, form h2, form h3, form h4, form p, form label),
  .lead-modal-form,
  .lead-modal-form :where(label, p) {
    max-width: none;
    text-align: left !important;
  }

  main :where(.hero-actions, .why-actions, .contact-actions, .why-support-actions) {
    justify-content: center;
  }

  main :where(a, button, input, select, textarea) {
    overflow-wrap: anywhere;
  }

  .lead-modal-card {
    width: min(100%, 31rem);
    border-radius: .9rem;
    padding: 1rem;
  }

  .lead-modal-card > :where(.lead-modal-eyebrow, h2, p) {
    display: block;
    max-width: calc(100% - 2.8rem);
    margin-right: auto;
    margin-left: auto;
    text-align: center;
  }

  .lead-modal-form {
    grid-template-columns: minmax(0, 1fr);
  }

  .lead-modal-form button {
    min-height: 3.25rem;
  }
}

/* Compact enquiry modal for small mobile screens. */
@media (max-width: 560px) {
  .lead-modal-backdrop {
    padding: .5rem;
  }

  .lead-modal-card {
    width: min(calc(100% - .5rem), 21rem);
    max-height: calc(100svh - 1rem);
    border-radius: .75rem;
    padding: .8rem;
  }

  .lead-modal-close {
    top: .55rem;
    right: .55rem;
    width: 2rem;
    height: 2rem;
  }

  .lead-modal-eyebrow {
    padding: .25rem .5rem;
    font-size: .625rem;
  }

  .lead-modal-card h2 {
    margin-top: .5rem;
    font-size: 1.35rem;
    line-height: 1.08;
  }

  .lead-modal-card > p {
    margin-top: .25rem;
    font-size: .78rem;
    line-height: 1.4;
  }

  .lead-modal-form {
    gap: .55rem;
    margin-top: .7rem;
  }

  .lead-modal-form label {
    gap: .2rem;
    font-size: .72rem;
    line-height: 1.25;
  }

  .lead-modal-form input,
  .lead-modal-form select,
  .lead-modal-form textarea {
    min-height: 2.625rem;
    border-radius: .35rem;
    padding: .55rem .65rem;
    font-size: .8rem;
  }

  .lead-modal-form textarea {
    height: 4rem;
    min-height: 4rem;
    resize: none;
  }

  .lead-modal-privacy {
    font-size: .64rem;
    line-height: 1.35;
  }

  .lead-modal-form button {
    min-height: 2.75rem;
    font-size: .82rem;
  }

  .lead-modal-status {
    padding: .45rem .6rem;
    font-size: .75rem;
  }
}

@media (max-width: 899px) {
  header .site-shell-container > a[aria-label="Loan Mart home"] img {
    height: 4rem;
  }
}