.loan__point[ruble] {
  --loan-bg: url(../../../img/loan/bg/ruble.svg);
}
.loan__point[percent] {
  --loan-bg: url(../../../img/loan/bg/percent.svg);
}
.loan__point[calendar] {
  --loan-bg: url(../../../img/loan/bg/calendar.svg);
}
.loan__point[amount] {
  --loan-bg: url(../../../img/loan/bg/amount.svg);
}
.loan__point[comission] {
  --loan-bg: url(../../../img/loan/bg/comission.svg);
}
.loan__point[trade] {
  --loan-bg: url(../../../img/loan/bg/trade.svg);
}

.loan__banner {
  background: url(../../../img/loan/banner.webp) bottom right / auto no-repeat,
    #d9d9d9;
  background-size: 75%;
  height: 345px;
  padding: 32px 24px;
  border-radius: 20px;
}

.loan__banner__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: #000000;
  max-width: 520px;
}

.loan__banner__content h1 {
  font-size: 36px;
  line-height: 40px;
  font-weight: 500;
}
.loan__banner__content p {
  font-size: 22px;
  line-height: 26px;
  font-weight: 400;
}

.loan__banner__content h1 span {
  font-size: 40px;
  line-height: 44px;
  color: #f90000;
}

.loan__banner__preferences {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  color: #000000;
}

.loan__banner__preference-block {
  border-radius: 999px;
  background: #ffffff;
  display: flex;
  flex-direction: row;
  gap: 8px;
  align-items: center;
  justify-content: center;
  padding: 4px 12px;
}
.loan__banner__preference-block img {
  height: 16px;
}
.loan__banner__preference-block span {
  font-size: 12px;
  font-weight: 400;
  line-height: auto;
}

.loan__more {
  font-size: 16px;
  font-weight: 500;
  color: #ffffff;
  padding: 12px 24px;
  width: 100%;
  max-width: 234px;
  background: #f90000;
  border-radius: 999px;
  margin-top: 28px;
}

.loan__heading {
  margin-top: 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.loan__heading h3 {
  width: 100%;
  font-size: 16px;
  line-height: 20px;
  font-weight: 500;
  text-align: center;
}

.loan__heading p {
  font-size: 13px;
  line-height: 17px;
  font-weight: 400;
  text-align: left;
}

.loan__why {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.loan__why h3 {
  width: 100%;
  font-size: 16px;
  line-height: 20px;
  font-weight: 500;
  color: #000000;
  text-align: center;
}

.loan__why__points__heading {
  margin-top: 20px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}

.loan__why__list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 0 0 16px;
  margin: 20px 0 0 0;
  gap: 4px;
  list-style-type: disc;
}
.loan__why__list li {
  font-size: 13px;
  line-height: 13px;
  font-weight: 400;
}

.loan__points {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  grid-template-rows: repeat(5, 101px);
  gap: 20px;
  margin-top: 28px;
}

.loan__point {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  color: #000000;
  background: var(--loan-bg), #efefef;
  background-position: bottom right;
  background-repeat: no-repeat;
  border-radius: 20px;
  height: 101px;
}
.loan__point div {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 13px;
}
.loan__point img {
  height: 24px;
}

.loan__point h4 {
  font-size: 15px;
  line-height: 19px;
  font-weight: 500;
}
.loan__point p {
  font-size: 12px;
  line-height: 16px;
  font-weight: 400;
}

@media (min-width: 1200px) {
  .loan__points {
    margin-top: 44px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 176px);
    gap: 12px;
  }
  .loan__point {
    padding: 18px 16px;
    border-radius: 15px;
    height: 176px;
  }
  .loan__point[ruble] {
    grid-column: 1 / span 1;
    grid-row: 1;
  }
  .loan__point[percent] {
    grid-column: 2 / span 1;
    grid-row: 1;
  }
  .loan__point[calendar] {
    grid-column: 3 / span 1;
    grid-row: 1;
  }
  .loan__point[amount] {
    grid-column: 4 / span 1;
    grid-row: 1;
  }
  .loan__point[comission] {
    grid-column: 1 / span 2;
    grid-row: 2;
  }
  .loan__point[trade] {
    grid-column: 3 / span 2;
    grid-row: 2;
  }
  .loan__point div {
    display: contents;
  }

  .loan__point img {
    height: 26px;
  }

  .loan__banner {
    background: url(../../../img/loan/banner.webp) bottom right / auto no-repeat,
      #d9d9d9;
    height: 436px;
    padding: 128px 31px;
    border-radius: 30px;
  }

  .loan__more {
    font-size: 16px;
    padding: 16px 24px;
    margin-top: 36px;
  }
  .loan__banner__content {
    max-width: 521px;
  }

  .loan__banner__content h1 {
    font-size: 43px;
    line-height: 49px;
  }
  .loan__banner__content h1 span {
    font-size: 64px;
    line-height: 68px;
    font-weight: 500;
  }
  .loan__banner__content p {
    font-size: 25px;
    line-height: 29px;
  }

  .loan__heading {
    margin-top: 48px;
    gap: 24px;
  }

  .loan__heading h3 {
    font-size: 24px;
    line-height: 28px;
  }
  .loan__heading p {
    font-size: 16px;
    line-height: 22px;
    text-align: left;
  }
  .loan__why {
    margin-top: 40px;
  }
  .loan__why h3 {
    font-size: 24px;
    line-height: 28px;
  }

  .loan__banner__preference-block span {
    font-size: 14px;
  }
  .loan__banner__preference-block {
    padding: 8px 12px;
  }
  .loan__why__list {
    gap: 14px;
  }
  .loan__why__list li {
    font-size: 16px;
    line-height: 16px;
  }
  .loan__why__points__heading {
    margin-top: 20px;
  }
}
