:root {
  --cream: #fff7e8;
  --cream-strong: #f7e8cc;
  --paper: #fffdf8;
  --green: #083f35;
  --green-2: #0f5b4c;
  --green-soft: #e4f1ea;
  --orange: #f26a05;
  --orange-dark: #d94f00;
  --orange-soft: #fff0df;
  --ink: #143c35;
  --muted: #66766f;
  --line: #eadcc8;
  --shadow: 0 22px 60px rgba(55, 37, 15, .16);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

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

button,
input {
  font: inherit;
}

.container,
.nav,
.hero {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  overflow: visible;
  position: relative;
  z-index: 2;
  background:
    radial-gradient(circle at 0 50%, rgba(242, 106, 5, .12), transparent 24rem),
    linear-gradient(105deg, #fffaf0 0%, #fff4dd 54%, #f7dfbd 100%);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 88px;
  background: rgba(255, 250, 240, .86);
  border-bottom: 1px solid rgba(8, 63, 53, .1);
  box-shadow: 0 12px 34px rgba(55, 37, 15, .08);
  backdrop-filter: blur(10px);
  z-index: 1;
  pointer-events: none;
}

.nav {
  min-height: 86px;
  display: flex;
  align-items: center;
  gap: 28px;
  position: relative;
  z-index: 5;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.brand-image {
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.brand-logo {
  width: clamp(164px, 16vw, 224px);
  height: auto;
  display: block;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(242, 106, 5, .9), rgba(242, 106, 5, .35)),
    var(--green);
  border: 3px solid #f4c36b;
  font-weight: 900;
  font-size: 24px;
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .16);
}

.brand-name,
.brand-sub {
  display: block;
}

.brand-name {
  font-weight: 900;
  font-size: clamp(28px, 4vw, 42px);
  line-height: .86;
  color: var(--green);
  letter-spacing: 0;
}

.brand-sub {
  color: var(--orange);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-top: 0;
  margin-left: clamp(42px, 4.4vw, 58px);
  line-height: 1;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex: 1 1 auto;
  font-size: 14px;
  font-weight: 700;
  color: #29463f;
}

.nav-links a {
  padding: 12px 0;
}

.nav-links a:hover {
  color: var(--orange);
}

.nav-toggle {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(8, 63, 53, .18);
  background: rgba(255, 255, 255, .55);
  border-radius: var(--radius);
  display: none;
  place-content: center;
  gap: 5px;
  margin-left: auto;
  cursor: pointer;
}

.nav-toggle span {
  width: 19px;
  height: 2px;
  background: var(--green);
  display: block;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 28px;
  border-radius: 8px;
  border: 0;
  color: #fff;
  background: linear-gradient(135deg, var(--orange), #ff7b00);
  box-shadow: 0 14px 30px rgba(242, 106, 5, .28);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: .02em;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 36px rgba(242, 106, 5, .34);
}

.btn-small {
  min-height: 46px;
  padding: 0 22px;
  white-space: nowrap;
}

.header-cta {
  flex: 0 0 auto;
}

.btn-wide {
  width: 100%;
}

.btn-light {
  color: var(--orange);
  background: #fff;
  box-shadow: 0 16px 36px rgba(0, 0, 0, .16);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 500px);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: 650px;
  padding: 42px 0 52px;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  left: -4vw;
  bottom: -128px;
  width: min(660px, 50vw);
  aspect-ratio: 1536 / 988;
  background: url("/assets/images/creditos-mascot.png") center bottom / contain no-repeat;
  filter: drop-shadow(0 30px 45px rgba(61, 43, 17, .18));
  z-index: 0;
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding-bottom: 185px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.hero-copy > .eyebrow {
  margin-top: -10px;
  margin-bottom: 22px;
}

.hero h1,
.section h2,
.final-cta h2,
.application-title h1 {
  margin: 0;
  color: var(--green);
  line-height: .98;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 600px;
  font-size: clamp(58px, 8vw, 112px);
  text-transform: uppercase;
}

.hero h1::after {
  content: "";
  display: block;
  width: min(360px, 80%);
  height: 18px;
  margin: 20px 0 0;
  background-image: url("data:image/svg+xml,%3Csvg width='48' height='16' viewBox='0 0 48 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 8c4.5-8 10.5-8 15 0s10.5 8 15 0 10.5-8 16 0' fill='none' stroke='%23f26a05' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-size: 48px 16px;
  background-position: left center;
}

.hero-lead {
  max-width: 560px;
  margin: 24px 0 0;
  font-size: 19px;
  color: #31564e;
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 680px;
  margin-top: 28px;
}

.hero-points div {
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: start;
  column-gap: 10px;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid rgba(234, 220, 200, .7);
  background: rgba(255, 253, 248, .76);
  backdrop-filter: blur(6px);
}

.point-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 2px solid var(--orange);
  color: var(--orange);
  grid-row: 1 / span 2;
}

.point-icon svg,
.feature svg,
.safe-note svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-points strong {
  display: block;
  grid-column: 2;
  font-size: 13px;
  color: var(--green);
}

.hero-points small {
  display: block;
  grid-column: 2;
  color: #58736d;
  font-size: 12px;
  line-height: 1.35;
}

.hero-mascot-mobile {
  display: none;
}

.loan-card {
  position: relative;
  z-index: 2;
  border-radius: 8px;
  padding: clamp(20px, 3vw, 30px);
  background: rgba(255, 253, 248, .92);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, .8);
  backdrop-filter: blur(12px);
}

.calculator-kicker {
  margin: 0 0 22px;
  color: #233c36;
  text-align: center;
  font-weight: 900;
  text-transform: uppercase;
}

.calculator-kicker::before,
.calculator-kicker::after {
  content: "";
  display: inline-block;
  width: 22px;
  height: 2px;
  margin: 0 8px 4px;
  background: var(--orange);
}

.field-group {
  background: #fffaf2;
  border-radius: 8px;
  padding: 16px;
  box-shadow: inset 0 0 0 1px rgba(234, 220, 200, .7);
}

.field-group + .field-group {
  margin-top: 14px;
}

.field-heading,
.field-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
}

.field-heading label {
  font-size: 13px;
  font-weight: 800;
  color: #29463f;
}

.field-heading output {
  color: var(--orange);
  font-weight: 900;
  font-size: 20px;
  white-space: nowrap;
}

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

.field-row input {
  width: 122px;
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 6px 9px;
  color: var(--green);
  background: #fff;
  font-weight: 800;
}

.field-row span {
  color: var(--muted);
  font-size: 12px;
  text-align: right;
}

.rate-strip {
  display: flex;
  gap: 10px;
  margin: 14px 0;
}

.rate-strip span {
  flex: 1;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
  text-align: center;
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.result-grid div {
  border-radius: 8px;
  padding: 16px;
  background: linear-gradient(135deg, #fff5e6, #ffffff);
  min-width: 0;
}

.result-grid span {
  display: block;
  color: #5c6f69;
  font-size: 12px;
  font-weight: 700;
}

.result-grid strong {
  display: block;
  margin-top: 4px;
  color: var(--green);
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.1;
}

.safe-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 13px 0 0;
  color: #6b756f;
  font-size: 13px;
}

.safe-note svg {
  width: 15px;
  height: 15px;
  color: var(--orange);
}

.representative {
  margin: 18px 0 0;
  color: #6a766f;
  font-size: 12px;
  line-height: 1.45;
}

.section {
  padding: clamp(58px, 8vw, 96px) 0;
}

.intro-section {
  padding-top: clamp(68px, 7vw, 92px);
  padding-bottom: clamp(68px, 7vw, 92px);
}

.split,
.requirements-grid,
.faq-grid,
.footer-grid {
  display: grid;
  gap: clamp(28px, 5vw, 72px);
}

.split {
  grid-template-columns: minmax(0, 1fr) minmax(360px, .9fr);
  align-items: start;
}

.image-panel {
  position: relative;
  min-height: 420px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 48px rgba(50, 33, 12, .15);
}

.image-panel img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: 22% center;
}

.trust-badge {
  position: absolute;
  left: 24px;
  bottom: 24px;
  max-width: 210px;
  border-radius: 8px;
  padding: 18px;
  color: #fff;
  background: var(--green);
  box-shadow: 0 16px 32px rgba(0, 0, 0, .18);
}

.trust-badge strong,
.trust-badge span {
  display: block;
}

.trust-badge span {
  margin-top: 7px;
  font-size: 13px;
  color: #d9eee5;
}

.section h2,
.final-cta h2,
.application-title h1 {
  font-size: clamp(34px, 5vw, 56px);
}

.section h2 {
  line-height: 1.08;
  text-wrap: balance;
}

.content-list {
  width: min(100%, 560px);
  justify-self: end;
}

.content-list .eyebrow {
  margin-bottom: 8px;
}

.content-list h2 {
  margin-bottom: 28px;
  font-size: clamp(34px, 4vw, 48px);
}

.content-list .feature + .feature {
  margin-top: 0;
}

.feature {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid rgba(234, 220, 200, .85);
}

.feature > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--orange);
  background: var(--orange-soft);
}

.feature h3,
.steps h3 {
  margin: 0 0 6px;
  color: var(--green);
  font-size: 17px;
  line-height: 1.25;
}

.feature p,
.steps p,
.section-lead,
.final-cta p,
.application-title p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.steps-section {
  background:
    linear-gradient(180deg, #fffdf8 0%, var(--cream) 100%);
}

.centered {
  text-align: center;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-top: 42px;
}

.steps article {
  text-align: center;
  padding: 26px 22px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .58);
  border: 1px solid rgba(234, 220, 200, .6);
}

.steps span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  border-radius: 50%;
  color: #fff;
  background: var(--green);
  font-weight: 900;
}

.requirements-grid {
  grid-template-columns: .9fr 1.1fr;
  align-items: start;
}

.section-lead {
  margin-top: 18px;
  max-width: 570px;
  font-size: 18px;
}

.requirements-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.requirements-list div {
  min-height: 132px;
  padding: 22px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 12px 28px rgba(64, 43, 15, .06);
}

.requirements-list strong,
.requirements-list span {
  display: block;
}

.requirements-list strong {
  color: var(--green);
  font-size: 17px;
}

.requirements-list span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.example-section {
  background: #f8efe2;
}

.example-card {
  border-radius: 8px;
  padding: clamp(24px, 4vw, 42px);
  background: #fffdf8;
  border: 1px solid rgba(234, 220, 200, .9);
  box-shadow: 0 18px 42px rgba(66, 44, 14, .1);
}

.example-card p {
  color: #5f6e68;
}

.example-card p:last-child {
  margin-bottom: 0;
}

.faq-grid {
  grid-template-columns: .8fr 1.2fr;
  align-items: start;
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 18px 20px;
}

summary {
  cursor: pointer;
  color: var(--green);
  font-weight: 900;
}

details p {
  margin: 12px 0 0;
  color: var(--muted);
}

.final-cta {
  padding: clamp(46px, 7vw, 76px) 0;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(8, 63, 53, .96), rgba(9, 79, 66, .94)),
    radial-gradient(circle at right bottom, rgba(242, 106, 5, .35), transparent 22rem);
}

.final-cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
}

.final-cta h2,
.final-cta p,
.final-cta .eyebrow {
  color: #fff;
}

.final-cta p {
  max-width: 620px;
  color: #d7eee6;
  margin-top: 14px;
}

.site-footer {
  padding: 46px 0;
  background: #092f28;
  color: #e7f3ef;
}

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

.footer-brand .brand-name {
  color: #fff;
}

.footer-brand {
  width: fit-content;
  padding: 8px 12px 12px;
  border-radius: 8px;
  background: #fffaf0;
}

.site-footer p,
.site-footer address {
  color: #bad2ca;
  font-style: normal;
}

.site-footer strong {
  display: block;
  margin-bottom: 10px;
  color: #fff;
}

.site-footer a {
  color: #fff;
  font-weight: 800;
}

.application-page {
  background: #fffaf0;
}

.application-header {
  background: linear-gradient(180deg, #fff4dd, #fffaf0);
}

.application-title {
  padding: 42px 0 36px;
  text-align: center;
}

.application-title p:last-child {
  max-width: 700px;
  margin: 16px auto 0;
}

.back-link {
  margin-left: auto;
  color: var(--green);
  font-weight: 900;
}

.application-main {
  padding: 0;
}

.application-main .container {
  width: 100%;
  max-width: none;
}

.form-shell {
  min-height: 1800px;
  border-radius: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
  border: 0;
}

#leadsorContainer {
  margin: 0;
  padding: 0;
}

@media (max-width: 1040px) {
  .nav {
    gap: 16px;
  }

  .nav-links {
    gap: 18px;
  }

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

  .hero-copy {
    padding-bottom: 260px;
  }

  .hero::before {
    width: min(760px, 92vw);
    left: 50%;
    transform: translateX(-50%);
  }

  .loan-card {
    max-width: 560px;
    margin-inline: auto;
  }

  .split,
  .requirements-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .site-header::before {
    height: 150px;
  }

  .container,
  .nav,
  .hero {
    width: min(var(--max), calc(100% - 28px));
  }

  .nav {
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 44px;
    gap: 12px;
    align-items: center;
    padding: 12px 0;
  }

  .brand-name {
    font-size: 30px;
  }

  .brand-logo {
    width: min(170px, 48vw);
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    font-size: 21px;
  }

  .nav-toggle {
    display: grid;
    justify-self: end;
    margin-left: 0;
  }

  .nav .btn-small {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    min-height: 50px;
    padding: 0 18px;
    font-size: 13px;
  }

  .nav-links {
    display: none;
    grid-column: 1 / -1;
    grid-row: 3;
    padding: 4px 0 8px;
  }

  .nav-links.is-open {
    display: grid;
    gap: 2px;
    border-top: 1px solid rgba(8, 63, 53, .1);
    padding-top: 10px;
  }

  .nav-links a {
    padding: 10px 0;
    font-size: 15px;
  }

  .application-header .nav {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .back-link {
    justify-self: end;
    white-space: nowrap;
  }

  .hero {
    min-height: 0;
    gap: 24px;
    padding: 26px 0 38px;
  }

  .hero h1 {
    font-size: clamp(48px, 17vw, 78px);
  }

  .hero-copy {
    padding-bottom: 230px;
  }

  .hero-lead {
    font-size: 17px;
  }

  .hero-points {
    grid-template-columns: 1fr;
  }

  .hero::before {
    bottom: auto;
    top: 405px;
    width: min(620px, 100vw);
    opacity: .95;
  }

  .result-grid,
  .requirements-list,
  .steps,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .final-cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .hero::before {
    display: none;
  }

  .hero-copy {
    padding-bottom: 0;
  }

  .hero-mascot-mobile {
    display: block;
    width: min(100%, 430px);
    margin: 22px auto 0;
    filter: drop-shadow(0 18px 28px rgba(61, 43, 17, .16));
  }

  .loan-card {
    padding: 16px;
  }

  .field-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .field-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .field-row span {
    text-align: left;
  }

  .field-row input {
    width: 100%;
  }

  .rate-strip {
    flex-direction: column;
  }

  .image-panel,
  .image-panel img {
    min-height: 340px;
  }

  .trust-badge {
    left: 14px;
    right: 14px;
    bottom: 14px;
    max-width: none;
  }

  .example-card {
    padding: 22px 18px;
  }
}
