:root {
  --green: #0e4a25;
  --green-2: #1d7a38;
  --soft-green: #edf6ea;
  --orange: #ff7a00;
  --orange-2: #ff9d1d;
  --soft-orange: #fff4e3;
  --dark: #142017;
  --muted: #626d67;
  --line: #e7ebe8;
  --white: #ffffff;
  --shadow: 0 22px 55px rgba(21, 39, 27, 0.12);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: var(--dark);
  background:
    radial-gradient(circle at 6% 38%, rgba(255, 167, 38, .10), transparent 17rem),
    radial-gradient(circle at 90% 20%, rgba(14, 74, 37, .08), transparent 22rem),
    #fff;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.site-header {
  height: 98px;
  padding: 0 46px;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(18px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 20;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 26px;
  font-weight: 800;
  color: #102d19;
}

.brand-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
}

.brand-icon svg {
  width: 44px;
  fill: var(--green-2);
}

.nav {
  display: flex;
  align-items: center;
  gap: 42px;
  font-weight: 650;
}

.nav a {
  position: relative;
}

.nav a.active,
.nav a:hover {
  color: var(--green);
}

.nav a.active::after,
.nav a:hover::after {
  content: "";
  height: 2px;
  width: 100%;
  background: var(--green);
  position: absolute;
  left: 0;
  bottom: -12px;
}

.nav-apply,
.primary-btn {
  border: 0;
  color: #fff;
  background: linear-gradient(135deg, var(--orange), var(--orange-2));
  border-radius: 13px;
  padding: 18px 28px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 13px 24px rgba(255, 122, 0, .24);
  transition: .2s ease;
}

.nav-apply:hover,
.primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 30px rgba(255, 122, 0, .32);
}

.menu-btn {
  display: none;
  width: 45px;
  height: 45px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  cursor: pointer;
}

.menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--green);
  margin: 5px auto;
}

.hero {
  max-width: 1240px;
  margin: 0 auto;
  min-height: 710px;
  padding: 70px 26px 20px;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
  gap: 28px;
  position: relative;
}

.hero::before {
  content: "";
  width: 90px;
  height: 90px;
  background-image: radial-gradient(#b7d8b7 2px, transparent 2px);
  background-size: 14px 14px;
  position: absolute;
  left: -18px;
  bottom: 80px;
  opacity: .8;
}

.hero-copy h1 {
  font-family: Georgia, "Times New Roman", serif;
  color: #0b351d;
  font-size: clamp(46px, 5.1vw, 74px);
  line-height: 1.08;
  letter-spacing: -1.8px;
  margin: 0 0 28px;
}

.hero-copy h1 span {
  color: var(--orange);
}

.hero-copy p {
  max-width: 500px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.8;
  margin: 0;
}

.hero-actions {
  display: flex;
  gap: 24px;
  align-items: center;
  margin: 46px 0;
}

.primary-btn span {
  font-size: 23px;
  margin-left: 10px;
}

.outline-btn {
  border: 1.5px solid var(--green-2);
  color: var(--green);
  border-radius: 13px;
  padding: 17px 34px;
  font-weight: 800;
  background: #fff;
  transition: .2s ease;
}

.outline-btn:hover {
  background: var(--soft-green);
}

.trust-row {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--muted);
}

.faces {
  display: flex;
}

.faces span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #f0f4ef;
  margin-left: -8px;
  box-shadow: 0 4px 10px rgba(0,0,0,.08);
}

.faces span:first-child {
  margin-left: 0;
}

.shield {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 2px solid var(--green-2);
  color: var(--green-2);
  border-radius: 50%;
  font-weight: 900;
}

.hero-visual {
  position: relative;
  min-height: 660px;
}

.circle-bg {
  width: min(590px, 85vw);
  height: min(590px, 85vw);
  border-radius: 50%;
  background: linear-gradient(135deg, #eef7ec, #fbf4e9);
  position: absolute;
  left: 50%;
  top: 48%;
  transform: translate(-50%, -50%);
  overflow: hidden;
}

.hero-img {
  position: absolute;
  left: 47%;
  top: 48%;
  transform: translate(-50%, -50%);
  width: min(560px, 88vw);
  max-height: 650px;
  object-fit: contain;
  filter: drop-shadow(0 30px 28px rgba(20, 32, 23, .12));
  z-index: 2;
}

.floating-card {
  position: absolute;
  z-index: 4;
  background: rgba(255,255,255,.94);
  border: 1px solid #edf0ee;
  border-radius: 18px;
  padding: 18px 22px;
  min-width: 170px;
  box-shadow: var(--shadow);
}

.floating-card small,
.floating-card p {
  color: var(--muted);
  display: block;
  margin: 0 0 8px;
  font-size: 13px;
}

.floating-card strong {
  color: var(--green-2);
  font-size: 23px;
  display: block;
}

.floating-card strong em {
  color: var(--dark);
  font-size: 14px;
  font-style: normal;
}

.floating-card span {
  display: inline-block;
  margin-top: 10px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--soft-green);
  color: var(--green-2);
  font-size: 13px;
  font-weight: 800;
}

.card-one { right: 0; top: 92px; }
.card-two { right: 0; top: 270px; }
.card-three { right: 0; top: 412px; }
.card-four { right: 0; bottom: 26px; min-width: 245px; }

.features {
  max-width: 1175px;
  margin: 0 auto 70px;
  padding: 42px 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.9);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.features article {
  text-align: center;
  padding: 0 28px;
  border-right: 1px solid var(--line);
}

.features article:last-child {
  border-right: 0;
}

.feature-icon,
.step-icon {
  margin: 0 auto 24px;
  width: 82px;
  height: 82px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 34px;
  font-weight: 900;
  background: var(--soft-green);
  color: var(--green-2);
}

.feature-icon.orange,
.step-icon.orange {
  background: var(--soft-orange);
  color: var(--orange);
}

.features h3,
.steps h3 {
  margin: 0 0 14px;
  font-size: 19px;
}

.features p,
.steps p {
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

.how {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px 78px;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2,
.loan-planner h2 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--green);
  font-size: 42px;
  margin: 0;
}

.section-title span {
  width: 46px;
  height: 3px;
  background: var(--orange);
  display: block;
  margin: 18px auto 0;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 42px;
  text-align: center;
}

.steps article {
  position: relative;
}

.steps article:not(:last-child)::after {
  content: "------›";
  letter-spacing: 4px;
  color: #a4aaa6;
  position: absolute;
  top: 54px;
  right: -52px;
}

.steps b {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: var(--soft-green);
  color: var(--green);
  border-radius: 50%;
  margin: -8px auto 18px;
  font-size: 19px;
}

.loan-planner {
  max-width: 1200px;
  margin: 0 auto 70px;
  padding: 42px;
  border: 1px solid #f0dec0;
  border-radius: 22px;
  background: rgba(255,255,255,.92);
  display: grid;
  grid-template-columns: 260px 1fr 270px;
  gap: 48px;
  align-items: center;
}

.planner-intro p {
  color: var(--muted);
  line-height: 1.7;
}

.book-art {
  width: 220px;
  height: 160px;
  border-radius: 120px 120px 18px 18px;
  background: linear-gradient(145deg, #dff0dd, #fff1dc);
  margin-top: 50px;
  display: grid;
  place-items: center;
  font-size: 72px;
}

.calculator label {
  display: block;
  margin-bottom: 30px;
}

.calculator span {
  color: var(--muted);
  display: block;
  margin-bottom: 8px;
}

.calculator strong {
  color: var(--green-2);
  font-size: 26px;
}

.calculator input[type="range"] {
  width: 100%;
  accent-color: var(--green-2);
  margin: 18px 0 8px;
}

.calculator small {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
}

.calculator small em {
  font-style: normal;
}

.result-card {
  background: linear-gradient(145deg, #fff6e8, #fff);
  border-radius: 18px;
  padding: 30px 28px;
  box-shadow: 0 18px 45px rgba(255, 122, 0, .10);
}

.result-card p {
  color: var(--muted);
  margin: 0 0 8px;
}

.result-card h3 {
  color: var(--orange);
  font-size: 36px;
  margin: 0 0 25px;
}

.result-card h3 span {
  color: var(--dark);
  font-size: 17px;
  font-weight: 600;
}

.result-card strong {
  display: block;
  margin-bottom: 22px;
}

.result-card hr {
  border: 0;
  border-top: 1px solid #edd9b8;
  margin: 24px 0;
}

.result-card .primary-btn {
  width: 100%;
  margin-top: 4px;
}

.footer {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 45px 56px;
  display: grid;
  grid-template-columns: 1.4fr .7fr .9fr 1fr;
  gap: 60px;
  background: rgba(255,255,255,.82);
}

.footer p {
  color: var(--muted);
  line-height: 1.65;
}

.footer h4 {
  margin: 0 0 20px;
}

.footer a {
  display: block;
  margin-bottom: 15px;
  color: var(--muted);
}

.footer a:hover,
.footer-bottom a:hover {
  color: var(--green-2);
}

.socials {
  display: flex;
  gap: 14px;
  margin-top: 25px;
}

.socials a {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--soft-green);
  color: var(--green);
  font-weight: 800;
}

.footer-bottom {
  padding: 20px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
}

.footer-bottom a {
  color: var(--green);
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(7, 16, 10, .58);
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal.show {
  display: flex;
}

.modal-card {
  width: min(480px, 100%);
  background: #fff;
  border-radius: 24px;
  padding: 34px;
  position: relative;
  box-shadow: var(--shadow);
}

.modal-card h2 {
  margin: 0 0 8px;
  color: var(--green);
}

.modal-card p {
  color: var(--muted);
}

.close-modal {
  position: absolute;
  right: 18px;
  top: 14px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: var(--soft-green);
  color: var(--green);
  font-size: 24px;
  cursor: pointer;
}

.modal input {
  width: 100%;
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-radius: 13px;
  margin-bottom: 14px;
  outline: none;
}

.modal input:focus {
  border-color: var(--green-2);
}

.modal .primary-btn {
  width: 100%;
  margin-top: 5px;
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  background: var(--green);
  color: #fff;
  padding: 15px 20px;
  border-radius: 14px;
  box-shadow: var(--shadow);
  transform: translateY(130px);
  transition: .25s ease;
  z-index: 60;
}

.toast.show {
  transform: translateY(0);
}

@media (max-width: 980px) {
  .site-header {
    padding: 0 20px;
    height: 82px;
  }

  .brand {
    font-size: 22px;
  }

  .menu-btn {
    display: block;
  }

  .nav {
    position: fixed;
    left: 16px;
    right: 16px;
    top: 92px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
    padding: 18px;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    display: none;
  }

  .nav.open {
    display: flex;
  }

  .nav a,
  .nav-apply {
    padding: 14px 16px;
  }

  .nav a.active::after,
  .nav a:hover::after {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 48px;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-copy p {
    margin: 0 auto;
  }

  .hero-actions,
  .trust-row {
    justify-content: center;
  }

  .hero-visual {
    min-height: 580px;
  }

  .floating-card {
    transform: scale(.88);
  }

  .card-one { right: 5px; top: 50px; }
  .card-two { right: 5px; top: 190px; }
  .card-three { right: 5px; top: 305px; }
  .card-four { right: 5px; bottom: 15px; }

  .features,
  .steps,
  .loan-planner,
  .footer {
    grid-template-columns: 1fr 1fr;
  }

  .features article:nth-child(2) {
    border-right: 0;
  }

  .features article {
    padding: 28px;
  }

  .steps article::after {
    display: none;
  }

  .loan-planner {
    margin-left: 18px;
    margin-right: 18px;
  }

  .result-card {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 0 14px;
  }

  .brand-icon,
  .brand-icon svg {
    width: 36px;
    height: 36px;
  }

  .hero {
    padding: 36px 18px 0;
  }

  .hero-copy h1 {
    font-size: 43px;
  }

  .hero-actions {
    flex-direction: column;
    gap: 14px;
  }

  .primary-btn,
  .outline-btn {
    width: 100%;
    text-align: center;
  }

  .hero-visual {
    min-height: 520px;
    overflow: hidden;
  }

  .hero-img {
    width: 390px;
    top: 44%;
  }

  .circle-bg {
    width: 390px;
    height: 390px;
    top: 44%;
  }

  .floating-card {
    position: relative;
    inset: auto;
    margin: 10px auto;
    min-width: 86%;
    transform: none;
  }

  .features,
  .steps,
  .loan-planner,
  .footer {
    grid-template-columns: 1fr;
  }

  .features {
    margin: 20px 18px 60px;
    padding: 10px 0;
  }

  .features article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .features article:last-child {
    border-bottom: 0;
  }

  .section-title h2,
  .loan-planner h2 {
    font-size: 34px;
  }

  .loan-planner {
    padding: 26px;
    gap: 26px;
  }

  .book-art {
    width: 100%;
    margin-top: 25px;
  }

  .footer {
    padding: 36px 22px;
    gap: 30px;
  }

  .footer-bottom {
    padding: 20px 22px;
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}



/* BNX_AUTO_LOAN_RANGE_ANIMATION_START */
.calculator input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(
    to right,
    var(--green-2) 0%,
    var(--green-2) var(--fill, 0%),
    #d8dcdf var(--fill, 0%),
    #d8dcdf 100%
  );
  outline: none;
  transition: background .08s linear;
}

.calculator input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: #656a78;
  border: 3px solid #ffffff;
  box-shadow: 0 3px 10px rgba(0, 0, 0, .28);
  cursor: pointer;
}

.calculator input[type="range"]::-moz-range-thumb {
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: #656a78;
  border: 3px solid #ffffff;
  box-shadow: 0 3px 10px rgba(0, 0, 0, .28);
  cursor: pointer;
}

.loan-planner.is-animating .calculator strong,
.loan-planner.is-animating .result-card h3 {
  animation: loanNumberPulse 1.4s ease-in-out infinite;
}

@keyframes loanNumberPulse {
  0%, 100% {
    transform: scale(1);
    filter: brightness(1);
  }
  50% {
    transform: scale(1.045);
    filter: brightness(1.18);
  }
}
/* BNX_AUTO_LOAN_RANGE_ANIMATION_END */



/* BNX_REAL_SVG_ICONS_KSH_START */
.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.svg-sprite symbol * {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-svg,
.mini-svg,
.social-svg,
.contact-svg,
.book-svg {
  display: block;
  fill: none;
  stroke: currentColor;
}

.icon-svg {
  width: 24px;
  height: 24px;
}

.icon-svg.big {
  width: 40px;
  height: 40px;
}

.mini-svg {
  width: 20px;
  height: 20px;
}

.faces span {
  color: var(--green-2);
}

.faces span:nth-child(2) {
  color: var(--orange);
}

.faces span:nth-child(3) {
  color: #234e7a;
}

.book-svg {
  width: 92px;
  height: 92px;
  color: #2d213f;
  stroke-width: 1.6;
}

.social-svg {
  width: 18px;
  height: 18px;
}

.contact-line {
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact-svg {
  width: 20px;
  height: 20px;
  color: var(--green-2);
  flex: 0 0 auto;
}

.loan-planner.is-animating .calculator strong,
.loan-planner.is-animating .result-card h3 {
  display: inline-block;
}
/* BNX_REAL_SVG_ICONS_KSH_END */



/* BNX_HERO_WHITE_MATCH_START */
body {
  background: #ffffff !important;
}

.hero {
  background: #ffffff !important;
}

.hero-visual {
  background: #ffffff !important;
  border-radius: 0;
  isolation: isolate;
}

.hero-img {
  background: #ffffff !important;
  display: block;
}

.circle-bg {
  background: linear-gradient(135deg, #eef7ec, #fbf4e9);
}
/* BNX_HERO_WHITE_MATCH_END */

/* BNX_REMOVE_HERO_IMAGE_BOUNDARY_CIRCLE_V2 */
.hero-visual {
  background: #ffffff !important;
  box-shadow: none !important;
}

.hero-visual::before,
.hero-visual::after {
  display: none !important;
  content: none !important;
}

.circle-bg {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  background: transparent !important;
  box-shadow: none !important;
}

.hero-img {
  filter: none !important;
  background: transparent !important;
  box-shadow: none !important;
}

.hero {
  background: #ffffff !important;
}

/* BNX_FOOTER_CONTACT_POWERED_START */
.contact-link {
  color: var(--muted);
  font-weight: 650;
}

.contact-link:hover {
  color: var(--green-2);
}

.footer-bottom span {
  color: var(--muted);
}

.footer-bottom span a {
  color: var(--green);
  font-weight: 800;
}

.footer-bottom span a:hover {
  color: var(--orange);
}
/* BNX_FOOTER_CONTACT_POWERED_END */
