:root {
  --navy: #071d34;
  --blue: #0b3a67;
  --green: #0f8a6b;
  --gold: #d7a842;
  --gold-dark: #b88a25;
  --orange: #f47b20;
  --orange-dark: #c95112;
  --orange-soft: #fff2e8;
  --ink: #142338;
  --muted: #64748b;
  --soft: #f4f7fb;
  --line: #e2e8f0;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(7, 29, 52, .14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  word-wrap: break-word;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
}

.site-navbar {
  padding: 18px 0;
  transition: background .25s ease, padding .25s ease, box-shadow .25s ease;
}

.site-navbar.scrolled,
.site-navbar.menu-open {
  padding: 10px 0;
  background: rgba(7, 29, 52, .96);
  box-shadow: 0 10px 30px rgba(2, 12, 27, .18);
  backdrop-filter: blur(14px);
}

.navbar-brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-weight: 800;
  font-size: 1.35rem;
}

.brand-logo {
  display: block;
  width: auto;
  height: 54px;
  max-width: 180px;
  object-fit: contain;
  padding: 6px 12px;
  border: 1px solid rgba(255, 193, 100, .36);
  border-radius: 8px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 12px 28px rgba(7, 29, 52, .16);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.navbar-brand:hover .brand-logo,
.footer-brand:hover .brand-logo {
  transform: translateY(-2px);
  border-color: rgba(255, 193, 100, .75);
  box-shadow: 0 16px 34px rgba(244, 123, 32, .2);
}

.footer-logo {
  height: 62px;
  max-width: 210px;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--navy);
  background: linear-gradient(135deg, var(--gold), #f5df9d);
  font-size: .9rem;
  font-weight: 800;
}

.navbar .nav-link {
  color: rgba(255, 255, 255, .86);
  font-weight: 600;
  font-size: .94rem;
  padding-left: .75rem;
  padding-right: .75rem;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus,
.navbar-brand:hover {
  color: var(--white);
}

.navbar-toggler {
  border: 0;
  box-shadow: none !important;
}

.navbar-toggler-icon {
  filter: invert(1);
}

.btn {
  border-radius: 999px;
  padding: .85rem 1.35rem;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-sm {
  padding: .65rem 1rem;
}

.btn-gold,
.btn-primary {
  color: var(--navy);
  background: linear-gradient(135deg, var(--orange-dark), var(--orange), #ffc164);
  border: 0;
  box-shadow: 0 16px 34px rgba(244, 123, 32, .3);
}

.btn-gold:hover,
.btn-primary:hover {
  color: var(--navy);
  background: linear-gradient(135deg, #ff9b3d, #ffc164);
}

.btn-outline-light {
  color: var(--white);
  border-color: rgba(255, 193, 100, .78);
  background: rgba(244, 123, 32, .14);
}

.btn-outline-light:hover {
  color: var(--navy);
  border-color: transparent;
  background: linear-gradient(135deg, var(--orange-dark), var(--orange), #ffc164);
}

.submit-application-btn {
  position: relative;
}

.submit-application-btn .btn-loading {
  display: none;
  align-items: center;
  gap: 8px;
}

.submit-application-btn.is-loading .btn-label {
  display: none;
}

.submit-application-btn.is-loading .btn-loading {
  display: inline-flex;
}

.submit-application-btn:disabled {
  cursor: wait;
  opacity: .86;
}

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  padding: 150px 0 80px;
  color: var(--white);
}

.page-hero {
  min-height: 66vh;
  display: flex;
  align-items: center;
}

.page-hero-copy {
  max-width: 850px;
  padding-top: 40px;
}

.lead-copy {
  color: var(--muted);
  font-size: 1.05rem;
}

.feature-card {
  min-height: 100%;
}

.detail-panel {
  height: 100%;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 16px 40px rgba(7, 29, 52, .08);
}

.detail-panel h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
}

.detail-panel p {
  color: var(--muted);
  margin-bottom: 0;
}

.loan-link-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 190px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 16px 40px rgba(7, 29, 52, .08);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.loan-link-card:hover {
  color: var(--ink);
  transform: translateY(-6px);
  border-color: rgba(244, 123, 32, .5);
  box-shadow: var(--shadow);
}

.loan-link-card i {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 20px;
  border-radius: 8px;
  color: var(--orange-dark);
  background: rgba(244, 123, 32, .12);
  font-size: 1.35rem;
}

.loan-link-card span {
  font-size: 1.08rem;
  font-weight: 800;
}

.loan-link-card small {
  margin-top: auto;
  color: var(--orange-dark);
  font-weight: 800;
}

.loan-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 10px 0 24px;
}

.loan-chip-list span {
  padding: 10px 12px;
  border-radius: 999px;
  color: var(--navy);
  background: rgba(255, 255, 255, .86);
  font-weight: 800;
  font-size: .9rem;
}

.thank-you-card {
  max-width: 860px;
  padding: 42px;
  border: 1px solid rgba(255, 193, 100, .28);
  border-radius: 8px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(7, 29, 52, .88), rgba(11, 58, 103, .72)),
    radial-gradient(circle at top right, rgba(244, 123, 32, .32), transparent 36%);
  box-shadow: 0 28px 80px rgba(0, 0, 0, .22);
  backdrop-filter: blur(12px);
}

.thank-you-card h1 {
  margin: 18px 0;
}

.thank-you-card p {
  max-width: 720px;
  color: rgba(255, 255, 255, .82);
  font-size: 1.05rem;
}

.success-mark {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  color: var(--navy);
  background: linear-gradient(135deg, var(--orange), #ffc164);
  font-size: 2rem;
  box-shadow: 0 16px 34px rgba(244, 123, 32, .3);
}

.reference-box {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  margin: 18px 0 6px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 8px;
  background: rgba(255, 255, 255, .08);
}

.reference-box span {
  color: rgba(255, 255, 255, .7);
  font-size: .82rem;
  font-weight: 800;
}

.reference-box strong {
  color: #ffc164;
  font-size: 1.15rem;
}

.thank-you-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.method-card {
  position: relative;
  min-height: 240px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, var(--white), #fff8ef);
  box-shadow: 0 16px 40px rgba(7, 29, 52, .08);
  overflow: hidden;
}

.method-card::after {
  content: "";
  position: absolute;
  right: -34px;
  bottom: -34px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(244, 123, 32, .12);
}

.method-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  border-radius: 8px;
  color: var(--navy);
  background: linear-gradient(135deg, var(--orange), #ffc164);
  font-weight: 800;
}

.method-card h3 {
  font-size: 1.08rem;
  font-weight: 800;
}

.method-card p {
  color: var(--muted);
  margin: 0;
}

.story-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  position: relative;
}

.story-card {
  min-height: 250px;
  padding: 26px;
  border: 1px solid rgba(244, 123, 32, .22);
  border-radius: 8px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(7, 29, 52, .96), rgba(11, 58, 103, .9)),
    radial-gradient(circle at top right, rgba(244, 123, 32, .35), transparent 34%);
  box-shadow: var(--shadow);
}

.story-card span {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--navy);
  background: linear-gradient(135deg, var(--orange), #ffc164);
  font-size: .78rem;
  font-weight: 800;
}

.story-card h3 {
  font-size: 1.16rem;
  font-weight: 800;
}

.story-card p {
  color: rgba(255, 255, 255, .78);
  margin: 0;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.premium-testimonial {
  min-height: 100%;
}

.testimonial-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.testimonial-top h3 {
  margin: 0;
}

.testimonial-top span {
  color: var(--muted);
  font-size: .9rem;
}

.premium-testimonial .stars strong {
  color: var(--ink);
  margin-left: 8px;
}

.client-story-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 28px;
  border: 1px solid rgba(226, 232, 240, .9);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 48px rgba(7, 29, 52, .1);
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.client-story-card:hover {
  transform: translateY(-7px);
  border-color: rgba(244, 123, 32, .45);
  box-shadow: 0 28px 70px rgba(7, 29, 52, .16);
}

.client-photo-wrap {
  position: relative;
  width: 82px;
  height: 82px;
  margin-bottom: 18px;
  overflow: visible;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), #ffc164);
  padding: 3px;
  box-shadow: 0 14px 30px rgba(7, 29, 52, .14);
}

.client-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 3px solid var(--white);
  border-radius: 50%;
}

.client-photo-wrap > span {
  position: absolute;
  right: -12px;
  bottom: -6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  height: 28px;
  border-radius: 999px;
  color: var(--navy);
  background: linear-gradient(135deg, var(--orange), #ffc164);
  font-size: .78rem;
  font-weight: 800;
  box-shadow: 0 10px 20px rgba(7, 29, 52, .16);
}

.client-story-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 0;
}

.client-story-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.client-story-head h3 {
  margin: 0 0 2px;
  font-size: 1.12rem;
  font-weight: 800;
}

.client-story-head p {
  margin: 0;
  color: var(--muted);
  font-size: .9rem;
}

.client-story-head .stars {
  margin: 0;
  white-space: nowrap;
  font-size: .9rem;
}

.client-story-body blockquote {
  margin: 0;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.75;
}

.client-story-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 22px;
}

.client-story-foot span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  border-radius: 999px;
  color: var(--muted);
  background: var(--soft);
  font-size: .78rem;
  font-weight: 800;
}

.client-story-foot i {
  color: var(--orange);
}

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-bg {
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1.2s ease, transform 6s ease;
}

.hero-bg.active {
  opacity: 1;
  transform: scale(1);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(3, 18, 36, .9), rgba(3, 18, 36, .66) 42%, rgba(3, 18, 36, .28)),
    linear-gradient(0deg, rgba(3, 18, 36, .78), rgba(3, 18, 36, .1));
}

.hero-content {
  position: relative;
  z-index: 1;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  margin-bottom: 14px;
  color: var(--gold);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(2.25rem, 5.2vw, 4.35rem);
  line-height: 1.02;
  font-weight: 800;
  margin-bottom: 24px;
}

.hero-text {
  max-width: 650px;
  color: rgba(255, 255, 255, .86);
  font-size: 1.04rem;
}

.hero-actions,
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-actions {
  align-items: center;
}

.trust-row {
  gap: 18px;
  color: rgba(255, 255, 255, .78);
  font-weight: 600;
  font-size: .92rem;
}

.trust-row i {
  color: var(--gold);
  margin-right: 6px;
}

.loan-card {
  color: var(--ink);
  padding: 30px;
  border: 1px solid rgba(255, 193, 100, .55);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 247, 237, .96), rgba(255, 255, 255, .92)),
    radial-gradient(circle at top right, rgba(244, 123, 32, .24), transparent 34%);
  box-shadow: 0 28px 80px rgba(244, 123, 32, .2);
  backdrop-filter: blur(18px);
}

.loan-card h2 {
  font-size: 1.45rem;
  font-weight: 800;
  margin: 0;
}

.rate-pill {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--orange-dark);
  background: rgba(244, 123, 32, .12);
  font-weight: 800;
  white-space: nowrap;
}

.slider-group {
  margin-bottom: 22px;
}

.slider-group label {
  color: var(--muted);
  font-weight: 700;
}

.form-range::-webkit-slider-thumb {
  background: var(--orange);
}

.form-range::-moz-range-thumb {
  background: var(--orange);
}

.loan-results {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 22px 0;
}

.loan-results div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, #fff8ef, var(--white));
}

.loan-results span {
  display: block;
  color: var(--muted);
  font-size: .85rem;
  font-weight: 700;
}

.loan-results strong {
  font-size: 1.35rem;
}

.loan-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 0 0 18px;
}

.loan-highlights span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--orange-dark);
  background: rgba(244, 123, 32, .1);
  font-size: .85rem;
  font-weight: 800;
}

.sim-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: .82rem;
}

.section {
  padding: 84px 0;
}

.section-soft {
  background: var(--soft);
}

.section-dark {
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), #103c36);
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-heading h2,
.section h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.65rem);
  line-height: 1.12;
  font-weight: 800;
  margin-bottom: 16px;
}

.section-heading p {
  color: var(--muted);
  margin: 0;
}

.section-heading.light p,
.section-heading.light h2 {
  color: var(--white);
}

.service-card,
.info-card,
.about-panel,
.testimonial-card,
.contact-form,
.contact-panel {
  height: 100%;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 16px 40px rgba(7, 29, 52, .08);
}

.service-card {
  overflow: hidden;
  padding: 0;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.service-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.service-body {
  padding: 26px;
}

.service-card:hover {
  transform: translateY(-7px);
  border-color: rgba(215, 168, 66, .6);
  box-shadow: var(--shadow);
}

.service-card i,
.benefit-item i,
.process-step i {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 8px;
  color: var(--orange-dark);
  background: rgba(244, 123, 32, .12);
  font-size: 1.45rem;
}

.service-card h3,
.info-card h3,
.about-panel h3,
.testimonial-card h3,
.contact-panel h3,
.process-step h3 {
  margin: 20px 0 10px;
  font-size: 1.08rem;
  font-weight: 800;
}

.service-card p,
.info-card p,
.about-panel p,
.testimonial-card p,
.contact-panel p,
.process-step p {
  color: var(--muted);
}

.about-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
  color: var(--white);
  border-color: rgba(255, 193, 100, .22);
  background:
    linear-gradient(135deg, rgba(7, 29, 52, .96), rgba(12, 63, 55, .94)),
    radial-gradient(circle at top right, rgba(244, 123, 32, .3), transparent 34%);
}

.about-panel h3 {
  color: var(--white);
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  line-height: 1.12;
}

.about-panel p {
  color: rgba(255, 255, 255, .8);
}

.about-panel .btn {
  align-self: flex-start;
  margin-top: 10px;
}

.info-card i {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  color: var(--orange-dark);
  background: rgba(244, 123, 32, .12);
  font-size: 1.35rem;
}

.about-values {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.about-values span {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 28px rgba(7, 29, 52, .06);
  font-weight: 800;
}

.about-values i {
  color: var(--orange);
  font-size: 1.15rem;
}

.service-card a {
  color: var(--orange-dark);
  font-weight: 800;
}

.content-image {
  width: 100%;
  min-height: 460px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.check-grid,
.benefit-grid {
  display: grid;
  gap: 16px;
}

.check-grid {
  grid-template-columns: repeat(2, 1fr);
  margin-top: 26px;
}

.check-grid span {
  padding: 14px;
  border-radius: 8px;
  background: var(--white);
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(7, 29, 52, .08);
}

.check-grid i {
  color: var(--orange);
  margin-right: 7px;
}

.identity-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 24px;
}

.identity-metrics div {
  padding: 18px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 28px rgba(7, 29, 52, .08);
}

.identity-metrics strong {
  display: block;
  color: var(--orange-dark);
  font-size: 1.7rem;
  line-height: 1;
}

.identity-metrics span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: .85rem;
  font-weight: 700;
}

.benefit-grid {
  grid-template-columns: repeat(4, 1fr);
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 8px;
  background: rgba(255, 255, 255, .06);
  font-weight: 800;
}

.benefit-item i {
  flex: 0 0 54px;
  color: var(--gold);
  background: rgba(215, 168, 66, .12);
}

.process-line {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.process-step {
  position: relative;
  padding: 26px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  text-align: center;
}

.process-step > span {
  position: absolute;
  top: -15px;
  left: 18px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--navy);
  background: var(--gold);
  font-weight: 800;
}

.partner-intro {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 42px;
}

.partner-intro div {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 34px rgba(7, 29, 52, .08);
}

.partner-intro i {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  color: var(--orange-dark);
  background: rgba(244, 123, 32, .12);
  font-size: 1.35rem;
}

.partner-intro h3 {
  margin: 16px 0 8px;
  font-size: 1.05rem;
  font-weight: 800;
}

.partner-intro p {
  margin: 0;
  color: var(--muted);
}

.partner-marquee {
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}

.partner-track {
  display: flex;
  gap: 22px;
  width: max-content;
  animation: marquee 28s linear infinite;
}

.partner-track span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 240px;
  height: 82px;
  border: 1px solid var(--line);
  border-radius: 8px;
  gap: 12px;
  color: var(--blue);
  background: var(--white);
  font-weight: 800;
  box-shadow: 0 10px 28px rgba(7, 29, 52, .07);
}

.partner-track img {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  object-fit: contain;
  background: var(--white);
  padding: 4px;
  box-shadow: 0 8px 18px rgba(7, 29, 52, .08);
}

.partner-track img.logo-failed {
  display: none;
}

.partner-track .logo-fallback {
  display: none;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  color: var(--navy);
  background: linear-gradient(135deg, var(--orange), #ffc164);
  font-size: .78rem;
  font-weight: 800;
}

.partner-track img.logo-failed + .logo-fallback {
  display: grid;
}

.partner-logo-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.partner-logo-card {
  position: relative;
  min-height: 170px;
  padding: 24px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 34px rgba(7, 29, 52, .08);
  text-align: center;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.partner-logo-card:hover {
  transform: translateY(-5px);
  border-color: rgba(244, 123, 32, .45);
  box-shadow: var(--shadow);
}

.partner-logo-card img,
.partner-logo-card .logo-fallback {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin: 0 auto 16px;
  border-radius: 12px;
  background: #fff8ef;
  box-shadow: 0 10px 22px rgba(7, 29, 52, .08);
}

.partner-logo-card img {
  padding: 7px;
  object-fit: contain;
}

.partner-logo-card .logo-fallback {
  display: none;
  color: var(--navy);
  background: linear-gradient(135deg, var(--orange), #ffc164);
  font-weight: 800;
}

.partner-logo-card img.logo-failed {
  display: none;
}

.partner-logo-card img.logo-failed + .logo-fallback {
  display: grid;
}

.partner-logo-card h3 {
  margin: 0 0 4px;
  font-size: 1rem;
  font-weight: 800;
}

.partner-logo-card p {
  margin: 0;
  color: var(--muted);
  font-size: .85rem;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

.testimonial-card {
  position: relative;
}

.home-testimonial {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.testimonial-photo {
  width: 76px;
  height: 76px;
  border: 3px solid var(--white);
  border-radius: 50%;
  object-fit: cover;
  background: var(--soft);
  box-shadow: 0 0 0 3px rgba(244, 123, 32, .35), 0 14px 28px rgba(7, 29, 52, .14);
}

.avatar {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--green));
  font-weight: 800;
}

.stars {
  margin: 18px 0 12px;
  color: var(--gold);
  letter-spacing: 0;
}

.testimonial-card h3 {
  margin-bottom: 0;
}

.testimonial-card span {
  color: var(--muted);
}

.accordion {
  max-width: 920px;
  margin: 0 auto;
}

.accordion-item {
  border: 1px solid var(--line);
  margin-bottom: 12px;
  border-radius: 8px !important;
  overflow: hidden;
}

.accordion-button {
  font-weight: 800;
}

.accordion-button:not(.collapsed) {
  color: var(--navy);
  background: rgba(215, 168, 66, .13);
  box-shadow: none;
}

.premium-faq {
  max-width: 980px;
}

.premium-faq .accordion-item {
  box-shadow: 0 12px 30px rgba(7, 29, 52, .06);
}

.premium-faq .accordion-button {
  gap: 12px;
  padding: 20px 22px;
  font-size: 1rem;
}

.premium-faq .accordion-body {
  color: var(--muted);
  padding: 0 22px 22px;
  line-height: 1.75;
}

.cta-section {
  padding: 72px 0;
  color: var(--white);
  background: linear-gradient(135deg, #071d34, #0f8a6b);
  text-align: center;
}

.cta-section h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.85rem);
  font-weight: 800;
}

.cta-section p {
  color: rgba(255, 255, 255, .82);
  margin-bottom: 26px;
}

.contact-form label {
  margin-bottom: 7px;
  color: var(--ink);
  font-weight: 800;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.form-alert {
  margin-bottom: 18px;
  padding: 16px 18px;
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(7, 29, 52, .08);
}

.form-alert strong,
.form-alert span {
  display: block;
}

.form-alert strong {
  margin-bottom: 4px;
  font-weight: 800;
}

.form-alert span {
  color: var(--muted);
}

.form-alert.error {
  border: 1px solid #f1aeb5;
  background: #f8d7da;
}

.form-alert.error strong {
  color: #842029;
}

.form-alert.warning {
  border: 1px solid rgba(244, 123, 32, .3);
  background: #fff8ef;
}

.form-alert.warning strong {
  color: var(--orange-dark);
}

.form-alert.success {
  border: 1px solid #badbcc;
  background: #d1e7dd;
}

.form-alert.success strong {
  color: #0f5132;
}

.form-control,
.form-select {
  min-height: 52px;
  border-radius: 8px;
  border-color: var(--line);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 .2rem rgba(15, 138, 107, .14);
}

.form-message {
  display: none;
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 8px;
  font-weight: 700;
}

.form-message.success {
  display: block;
  color: #0f5132;
  background: #d1e7dd;
}

.form-message.error {
  display: block;
  color: #842029;
  background: #f8d7da;
}

.contact-panel p i {
  color: var(--orange);
  margin-right: 8px;
}

.client-dashboard-section {
  padding-top: 132px;
  padding-bottom: 80px;
  min-height: 72vh;
  background: linear-gradient(180deg, var(--navy) 0, var(--navy) 360px, var(--soft) 360px);
}

.client-dashboard-shell {
  max-width: 600px;
  margin: 0 auto;
}

.client-password-shell {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 0;
}

.client-dashboard-heading {
  max-width: 600px;
  margin: 0 auto 30px;
  padding: 10px 18px 0;
  text-align: center;
}

.client-dashboard-heading h1,
.client-dashboard-top h1 {
  max-width: 560px;
  margin: 0 auto 14px;
  color: var(--white);
  font-size: clamp(1.75rem, 3vw, 2.45rem);
  line-height: 1.15;
  font-weight: 800;
  text-wrap: balance;
}

.client-dashboard-heading p,
.client-dashboard-top p {
  max-width: 540px;
  margin: 0 auto;
  color: rgba(255, 255, 255, .84);
  font-size: 1rem;
  line-height: 1.6;
  text-wrap: pretty;
}

.client-dashboard-panel {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 16px 40px rgba(7, 29, 52, .08);
}

.client-dashboard-panel label {
  color: var(--ink);
  font-weight: 800;
}

.client-password-panel {
  width: 100%;
}

.password-field {
  position: relative;
  display: block;
  width: 100%;
}

.password-field::after {
  content: "";
  position: absolute;
  top: 13px;
  right: 58px;
  width: 1px;
  height: 30px;
  background: linear-gradient(180deg, transparent, rgba(100, 116, 139, .26), transparent);
  pointer-events: none;
}

.password-field .form-control {
  width: 100%;
  height: 56px;
  min-height: 56px;
  padding: 0 58px 0 17px;
  border: 1px solid #d8e2ee;
  border-radius: 12px !important;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(7, 29, 52, .03), inset 0 1px 0 rgba(255, 255, 255, .95);
  font-size: 1rem;
  color: var(--navy);
  transition: border-color .18s ease, box-shadow .18s ease;
}

.password-field .form-control:focus {
  border-color: #0f8a6b;
  box-shadow: 0 0 0 4px rgba(15, 138, 107, .13), 0 10px 24px rgba(7, 29, 52, .06);
  outline: 0;
}

.password-field .form-control.is-invalid {
  border-color: #dc3545;
  box-shadow: inset 0 2px 5px rgba(220, 53, 69, .04);
}

.password-field .form-control.is-invalid:focus {
  box-shadow: 0 0 0 3px rgba(220, 53, 69, .12), inset 0 1px 3px rgba(220, 53, 69, .04);
}

.password-toggle {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin: auto 0;
  border: 0;
  border-radius: 10px;
  color: #6b7f95;
  background: linear-gradient(180deg, #f8fafc, #eef3f8);
  cursor: pointer;
  z-index: 2;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, .07), 0 6px 14px rgba(7, 29, 52, .06);
  transition: color .18s ease, background .18s ease, box-shadow .18s ease, transform .18s ease;
}

.password-toggle:hover {
  color: #0f8a6b;
  background: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(15, 138, 107, .28), 0 10px 22px rgba(15, 138, 107, .12);
  transform: translateY(-1px);
}

.password-toggle.is-visible {
  color: var(--navy);
  background: linear-gradient(180deg, #eef8f5, #ffffff);
  box-shadow: inset 0 0 0 1px rgba(15, 138, 107, .32), 0 8px 18px rgba(15, 138, 107, .1);
}

.password-toggle:focus {
  outline: 0;
}

.password-toggle:focus-visible {
  outline: 0;
  color: #0f8a6b;
  box-shadow: inset 0 0 0 1px rgba(15, 138, 107, .34), 0 0 0 4px rgba(15, 138, 107, .14);
}

.password-toggle i {
  pointer-events: none;
  font-size: 1.05rem;
  line-height: 1;
  transition: opacity .12s ease;
}

.password-toggle:active i {
  opacity: .65;
}

.client-password-panel .invalid-feedback {
  display: block;
}

.client-logout-form {
  margin-top: 18px;
  text-align: center;
}

.client-dashboard-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.btn-outline-client {
  color: var(--navy);
  border: 1px solid var(--line);
  background: var(--white);
}

.btn-outline-client:hover {
  color: var(--navy);
  border-color: rgba(244, 123, 32, .45);
  background: #fff8ef;
}

.client-mail-summary h2 {
  margin: 0 0 20px;
  font-size: 1.25rem;
  font-weight: 800;
}

.client-mail-summary dl {
  display: grid;
  gap: 14px;
  margin: 0;
}

.client-mail-summary dl div {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.client-mail-summary dl div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.client-mail-summary dt {
  color: var(--muted);
  font-size: .82rem;
  font-weight: 800;
}

.client-mail-summary dd {
  margin: 2px 0 0;
  overflow-wrap: anywhere;
  color: var(--ink);
  font-weight: 700;
}

.google-map {
  display: block;
  width: 100%;
  min-height: 230px;
  margin-top: 22px;
  border: 0;
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px var(--line);
}

.site-footer {
  padding: 72px 0 24px;
  color: rgba(255, 255, 255, .78);
  background: #061627;
}

.site-footer h3 {
  color: var(--white);
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 18px;
}

.site-footer a {
  display: block;
  color: rgba(255, 255, 255, .72);
  margin-bottom: 8px;
}

.site-footer a:hover {
  color: var(--gold);
}

.footer-note {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 46px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: .88rem;
}

.footer-note p {
  margin: 0;
  max-width: 760px;
}

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 20;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  color: var(--navy);
  background: var(--gold);
  box-shadow: 0 14px 30px rgba(0, 0, 0, .18);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity .2s ease, transform .2s ease;
}

.back-to-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.cookie-consent {
  position: fixed;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 35;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 980px;
  margin: 0 auto;
  padding: 18px;
  border: 1px solid rgba(7, 29, 52, .12);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 18px 45px rgba(7, 29, 52, .18);
  transition: opacity .18s ease, transform .18s ease;
}

.cookie-consent[hidden] {
  display: none;
}

.cookie-consent.is-hiding {
  opacity: 0;
  transform: translateY(10px);
}

.cookie-consent-text {
  display: grid;
  gap: 4px;
}

.cookie-consent-text strong {
  color: var(--navy);
  font-size: 1rem;
  font-weight: 800;
}

.cookie-consent-text p {
  margin: 0;
  max-width: 680px;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.5;
}

.cookie-consent-text a {
  width: fit-content;
  color: #0f8a6b;
  font-size: .88rem;
  font-weight: 800;
}

.cookie-consent-actions {
  display: flex;
  flex-shrink: 0;
  gap: 10px;
}

.reveal {
  opacity: 1;
  transform: none;
}

.js-enabled .reveal {
  opacity: 1;
  transform: none;
  transition: opacity .7s ease, transform .7s ease;
}

.js-enabled .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1199px) {
  .process-line,
  .benefit-grid,
  .method-grid,
  .story-timeline,
  .testimonial-grid,
  .partner-logo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 991px) {
  .site-navbar .container {
    position: relative;
  }

  .navbar-collapse {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1050;
    width: min(86vw, 380px);
    height: 100vh;
    margin-top: 0;
    padding: 92px 26px 28px;
    border-radius: 0;
    background: rgba(7, 29, 52, .98);
    box-shadow: -24px 0 60px rgba(0, 0, 0, .24);
    transform: translateX(105%);
    transition: transform .36s ease;
    display: block !important;
    visibility: visible !important;
    overflow-y: auto;
    backdrop-filter: blur(18px);
  }

  .navbar-collapse.show {
    transform: translateX(0);
  }

  .navbar-collapse.collapsing {
    height: 100vh !important;
    transform: translateX(105%);
    transition: transform .36s ease;
  }

  .navbar-collapse .navbar-nav {
    align-items: stretch !important;
    gap: 4px;
  }

  .navbar .nav-link {
    padding: 13px 0;
    font-size: 1.05rem;
  }

  .navbar .btn {
    width: 100%;
    margin-top: 12px;
    text-align: center;
  }

  .navbar-toggler {
    position: relative;
    z-index: 1060;
  }

  .hero {
    padding-top: 128px;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(3, 18, 36, .9), rgba(3, 18, 36, .72));
  }
}

@media (max-width: 767px) {
  .section {
    padding: 64px 0;
  }

  .hero h1 {
    font-size: 2.35rem;
    overflow-wrap: anywhere;
  }

  .page-hero {
    min-height: 72vh;
  }

  .hero-text,
  .lead-copy,
  .section-heading p,
  .detail-panel p,
  .info-card p,
  .service-card p,
  .client-story-body blockquote {
    overflow-wrap: anywhere;
    hyphens: auto;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
    min-height: 48px;
    padding: .78rem .65rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: normal;
    text-align: center;
    line-height: 1.2;
    font-size: .92rem;
  }

  .trust-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .loan-card,
  .info-card,
  .testimonial-card,
  .contact-form,
  .contact-panel,
  .client-dashboard-panel {
    padding: 24px;
  }

  .client-dashboard-section {
    padding-top: 116px;
    padding-bottom: 64px;
    background: linear-gradient(180deg, var(--navy) 0, var(--navy) 350px, var(--soft) 350px);
  }

  .client-dashboard-heading {
    max-width: 100%;
    margin-bottom: 22px;
    padding: 0 8px;
  }

  .client-dashboard-heading h1 {
    max-width: 360px;
    font-size: 1.72rem;
    line-height: 1.18;
  }

  .client-dashboard-heading p {
    max-width: 360px;
    font-size: .94rem;
    line-height: 1.55;
  }

  .client-dashboard-top {
    display: block;
  }

  .client-dashboard-top form {
    margin-top: 18px;
  }

  .thank-you-card {
    padding: 28px 22px;
  }

  .thank-you-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 100%;
  }

  .thank-you-actions .btn {
    width: 100%;
    min-height: 48px;
    padding: .78rem .65rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: normal;
    text-align: center;
    line-height: 1.2;
    font-size: .92rem;
  }

  .service-card {
    padding: 0;
  }

  .loan-results,
  .loan-highlights,
  .check-grid,
  .identity-metrics,
  .partner-intro,
  .about-values,
  .method-grid,
  .story-timeline,
  .testimonial-grid,
  .partner-logo-grid,
  .process-line,
  .benefit-grid {
    grid-template-columns: 1fr;
  }

  .content-image {
    min-height: 320px;
  }

  .footer-note {
    display: block;
  }

  .footer-note p + p {
    margin-top: 14px;
  }

  .cookie-consent {
    left: 14px;
    right: 14px;
    bottom: 14px;
    display: grid;
    gap: 14px;
    padding: 16px;
  }

  .cookie-consent-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .cookie-consent-actions .btn {
    min-height: 44px;
    white-space: normal;
    line-height: 1.15;
  }

  .client-photo-wrap {
    width: 76px;
    height: 76px;
  }

  .client-story-body {
    padding: 0;
  }

  .client-story-head {
    display: block;
  }

  .client-story-head .stars {
    margin-top: 10px;
  }

  .client-story-foot {
    display: grid;
  }

  .partner-track span {
    min-width: 210px;
  }

  .loan-card .d-flex {
    gap: 12px;
  }

  .rate-pill {
    font-size: .78rem;
  }
}

@media (max-width: 420px) {
  .hero h1 {
    font-size: 2.05rem;
  }

  .brand-logo {
    height: 48px;
    max-width: 148px;
    padding: 5px 9px;
  }

  .hero-actions {
    gap: 8px;
  }

  .hero-actions .btn {
    min-height: 46px;
    padding: .68rem .5rem;
    font-size: .82rem;
  }

  .loan-results {
    gap: 10px;
  }

  .loan-results strong {
    font-size: 1.08rem;
  }

  .client-photo-wrap {
    width: 72px;
    height: 72px;
  }

  .client-story-body blockquote {
    font-size: .96rem;
  }

  .thank-you-card {
    padding: 20px 14px;
  }

  .thank-you-actions .btn {
    min-height: 46px;
    padding: .68rem .5rem;
    font-size: .82rem;
  }

  .cookie-consent-actions {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}
