.section-offset {
  padding: 60px 0 120px 0;
}

.installment__content {
  background: #367ae3;
  color: #ffffff;
  border-radius: 20px;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  overflow: hidden;
  padding-left: 60px;
  overflow: visible;
  gap: 40px;
}

.installment__content > * {
  flex-basis: calc(50% - 20px);
}

.installment__text {
  padding: 48px 0;
}

.installment__phone {
  text-decoration: none;
  color: #fff;
  border-radius: 10px;
  border: 1px solid white;
  padding: 14px 40px;
  display: flex;
  align-items: center;
  max-width: fit-content;
  background: transparent;
  transition: all 0.3s ease;
  gap: 5px;
}

.installment__phone:hover {
  color: #367ae3;
  background: white;
}
.installment__phone svg path {
  fill: white;
  transition: fill 0.3s ease;
}

.installment__phone:hover svg path {
  fill: #367ae3;
}
.installment__title {
  font-size: 42px;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 16px;
  margin-top: 0;
}

.installment__title span {
  font-weight: 700;
}

.installment__description {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 24px;
  opacity: 0.95;
}

.installment__bottom {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.installment__features {
  display: flex;
  gap: 20px;
  margin-bottom: 32px;
}

.installment__feature {
  font-size: 16px;
  text-align: start;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
  padding-right: 34px;
  margin-right: 34px;
  position: relative;
}

.installment__feature:before {
  position: absolute;
  content: "";
  height: 60%;
  width: 1px;
  background: rgba(255, 255, 255, 0.2);
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}

.installment__feature:last-child {
  padding-right: 0;
  margin-right: 0;
}

.installment__feature:last-child:before {
  display: none;
}

.installment__feature:nth-child(3) .installment__feature-value {
  align-items: end;
}

.installment__feature-value {
  font-size: 60px;
  display: flex;
  align-items: baseline;
  line-height: 1;
}

.installment__feature-value span {
  font-size: 32px;
  opacity: 0.6;
  padding-left: 5px;
}

.installment__feature-label {
  font-size: 14px;
  opacity: 0.9;
}

.installment__button {
  background-color: #ffffff;
  color: #5f82ea;
  border-radius: 10px;
  padding: 16px 40px;
  font-size: 16px;
  font-weight: 600;
  display: inline-block;
  position: relative;
  overflow: hidden;
  transition: 0.3s linear;
  border: 1px solid transparent;
  cursor: pointer;
}

.installment__button:hover {
  background-color: transparent;
  color: #ffffff;
  border-color: #ffffff;
}

.installment__picture {
  position: relative;
  width: 100%;
  max-width: 593px;
  min-height: 450px;
  height: auto;
}
.installment__picture img {
  position: absolute;
  height: 100%;
  width: 100%;
  object-fit: contain;
  overflow: visible;
  right: 0;
  display: block;
}
.installment__picture:before {
  position: absolute;
  content: "";
  display: block;
  height: 110%;
  width: 110%;
  background: url(/new-assets/img/installment/woman.png);
  bottom: 0;
  right: 0;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: 2;
}

/* Адаптивность */

@media (max-width: 1380px) {
  .installment__content {
    flex-direction: column;
    gap: 0;
  }
  .installment__picture {
    max-width: 100%;
    overflow: visible;
  }

  .installment__picture:before {
    width: 110%;
    height: 90%;
  }

  .installment__text {
    padding: 40px 0 0 0;
  }
}
@media (max-width: 1213px) {
  .installment__content {
    flex-direction: column;
  }
  .installment__content > * {
    flex-basis: 100%;
  }

  .installment__image-inner {
    width: 100%;
    max-width: 500px;
  }
  .installment__image-inner .decor,
  .installment__image .installment__image-inner {
    position: static;
  }

  .installment__image img {
    width: 100%;
  }
  .installment__image {
    bottom: 0;
    right: 50px;
  }
  .installment__image-inner .decor {
    transform: none;
  }

  .installment__content {
    padding: 0 60px;
  }

  .installment__text {
    width: 100%;
  }

  .installment__image-inner {
    max-width: 571px;
  }

  .installment__features > * {
    flex-basis: calc(33.333% - 13.3333px);
  }
  .section-offset {
    padding: 40px 0 80px 0;
  }
}

@media (max-width: 768px) {
  .installment__image-inner .decor {
    max-width: 400px;
    max-height: 363px;
    min-width: 400px;
    min-height: 363px;
  }

  .installment__content {
    padding: 0 20px;
  }
  .installment__image-inner {
    max-width: 400px;
    min-height: 363px;
  }
  .installment__feature {
    padding-right: 0;
    margin-right: 0;
    margin-bottom: 12px;
    padding-bottom: 12px;
  }

  .installment__text {
    padding-top: 20px;
  }
  .installment__feature:before {
    width: 100%;
    height: 1px;
    bottom: 0;
    top: auto;
  }

  .installment__features {
    flex-direction: column;
    gap: 0;
  }

  .installment__features > * {
    flex-basis: 100%;
    width: 100%;
  }

  .installment__button {
    width: 100%;
  }
  .installment__phone {
    max-width: 100%;
    width: 100%;
    justify-content: center;
  }
  .installment__title {
    font-size: 24px;
  }

  .installment__button {
    font-size: 14px;
  }
  .installment {
    padding: 40px 0 80px 0;
  }

  .section-offset {
    padding: 30px 0 60px 0;
  }
}

@media (max-width: 480px) {
  .installment__title {
    font-size: 32px;
  }

  .installment__feature-value {
    font-size: 52px;
  }

  .installment__text {
    padding: 0;
  }
  .installment__content {
    padding: 20px 20px 0 20px;
    border-radius: 10px;
  }

  .installment__title {
    margin-bottom: 10px;
  }
  .installment__description {
    margin-bottom: 18px;
  }

  .installment__picture:before {
    width: 120%;
    height: 95%;
  }

  .installment__features {
    gap: 12px;
    margin-bottom: 12px;
  }

  .installment__image {
    right: 0;
  }

  .installment {
    padding: 30px 0 60px 0;
  }
}

@media (max-width: 380px) {
  .installment__picture {
    min-height: 300px;
  }
  .section-offset {
    padding: 60px 0 120px 0;
  }

  .installment__content {
    background: #367ae3;
    color: #ffffff;
    border-radius: 20px;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    overflow: hidden;
    padding-left: 60px;
    overflow: visible;
    gap: 40px;
  }

  .installment__content > * {
    flex-basis: calc(50% - 20px);
  }

  .installment__text {
    padding: 48px 0;
  }

  .installment__phone {
    text-decoration: none;
    color: #fff;
    border-radius: 10px;
    border: 1px solid white;
    padding: 14px 40px;
    display: flex;
    align-items: center;
    max-width: fit-content;
    background: transparent;
    transition: all 0.3s ease;
    gap: 5px;
  }

  .installment__phone:hover {
    color: #367ae3;
    background: white;
  }
  .installment__phone svg path {
    fill: white;
    transition: fill 0.3s ease;
  }

  .installment__phone:hover svg path {
    fill: #367ae3;
  }
  .installment__title {
    font-size: 42px;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 16px;
    margin-top: 0;
  }

  .installment__title span {
    font-weight: 700;
  }

  .installment__description {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 24px;
    opacity: 0.95;
  }

  .installment__bottom {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
  }

  .installment__features {
    display: flex;
    gap: 20px;
    margin-bottom: 32px;
  }

  .installment__feature {
    font-size: 16px;
    text-align: start;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 8px;
    padding-right: 34px;
    margin-right: 34px;
    position: relative;
  }

  .installment__feature:before {
    position: absolute;
    content: "";
    height: 60%;
    width: 1px;
    background: rgba(255, 255, 255, 0.2);
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
  }

  .installment__feature:last-child {
    padding-right: 0;
    margin-right: 0;
  }

  .installment__feature:last-child:before {
    display: none;
  }

  .installment__feature:nth-child(3) .installment__feature-value {
    align-items: end;
  }

  .installment__feature-value {
    font-size: 60px;
    display: flex;
    align-items: baseline;
    line-height: 1;
  }

  .installment__feature-value span {
    font-size: 32px;
    opacity: 0.6;
    padding-left: 5px;
  }

  .installment__feature-label {
    font-size: 14px;
    opacity: 0.9;
  }

  .installment__button {
    background-color: #ffffff;
    color: #5f82ea;
    border-radius: 10px;
    padding: 16px 40px;
    font-size: 16px;
    font-weight: 600;
    display: inline-block;
    position: relative;
    overflow: hidden;
    transition: 0.3s linear;
    border: 1px solid transparent;
    cursor: pointer;
  }

  .installment__button:hover {
    background-color: transparent;
    color: #ffffff;
    border-color: #ffffff;
  }

  .installment__picture {
    position: relative;
    width: 100%;
    max-width: 593px;
    min-height: 450px;
    height: auto;
  }
  .installment__picture img {
    position: absolute;
    height: 100%;
    width: 100%;
    object-fit: contain;
    overflow: visible;
    right: 0;
    display: block;
  }
  .installment__picture:before {
    position: absolute;
    content: "";
    display: block;
    height: 110%;
    width: 110%;
    background: url(/new-assets/img/installment/woman.png);
    bottom: 0;
    right: 0;
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 2;
  }

  /* Адаптивность */

  @media (max-width: 1380px) {
    .installment__content {
      flex-direction: column;
      gap: 0;
    }
    .installment__picture {
      max-width: 100%;
      overflow: visible;
    }

    .installment__picture:before {
      width: 110%;
      height: 90%;
    }

    .installment__text {
      padding: 40px 0 0 0;
    }
  }
  @media (max-width: 1213px) {
    .installment__content {
      flex-direction: column;
    }
    .installment__content > * {
      flex-basis: 100%;
    }

    .installment__image-inner {
      width: 100%;
      max-width: 500px;
    }
    .installment__image-inner .decor,
    .installment__image .installment__image-inner {
      position: static;
    }

    .installment__image img {
      width: 100%;
    }
    .installment__image {
      bottom: 0;
      right: 50px;
    }
    .installment__image-inner .decor {
      transform: none;
    }

    .installment__content {
      padding: 0 60px;
    }

    .installment__text {
      width: 100%;
    }

    .installment__image-inner {
      max-width: 571px;
    }

    .installment__features > * {
      flex-basis: calc(33.333% - 13.3333px);
    }
    .section-offset {
      padding: 40px 0 80px 0;
    }
  }

  @media (max-width: 768px) {
    .installment__image-inner .decor {
      max-width: 400px;
      max-height: 363px;
      min-width: 400px;
      min-height: 363px;
    }

    .installment__content {
      padding: 0 20px;
    }
    .installment__image-inner {
      max-width: 400px;
      min-height: 363px;
    }
    .installment__feature {
      padding-right: 0;
      margin-right: 0;
      margin-bottom: 12px;
      padding-bottom: 12px;
    }

    .installment__text {
      padding-top: 20px;
    }
    .installment__feature:before {
      width: 100%;
      height: 1px;
      bottom: 0;
      top: auto;
    }

    .installment__features {
      flex-direction: column;
      gap: 0;
    }

    .installment__features > * {
      flex-basis: 100%;
      width: 100%;
    }

    .installment__button {
      width: 100%;
    }
    .installment__phone {
      max-width: 100%;
      width: 100%;
      justify-content: center;
    }
    .installment__title {
      font-size: 24px;
    }

    .installment__button {
      font-size: 14px;
    }
    .installment {
      padding: 40px 0 80px 0;
    }

    .section-offset {
      padding: 30px 0 60px 0;
    }
  }

  @media (max-width: 480px) {
    .installment__title {
      font-size: 32px;
    }

    .installment__feature-value {
      font-size: 52px;
    }

    .installment__text {
      padding: 0;
    }
    .installment__content {
      padding: 20px 20px 0 20px;
      border-radius: 10px;
    }

    .installment__title {
      margin-bottom: 10px;
    }
    .installment__description {
      margin-bottom: 18px;
    }

    .installment__picture:before {
      width: 120%;
      height: 100%;
    }

    .installment__features {
      gap: 12px;
      margin-bottom: 12px;
    }

    .installment__image {
      right: 0;
    }

    .installment {
      padding: 30px 0 60px 0;
    }
  }

  @media (max-width: 380px) {
    .installment__picture {
      min-height: 300px;
    }

    .installment__picture:before {
      width: 123%;
      height: 70%;
    }
  }
}
