.better-offer {
  margin-top: 100px;
  padding-top: 0;
  overflow: hidden;
}

.better-offer__heading {
  background: #000000;
  color: #ffffff;
}

.better-offer__title {
  margin: 0;
  padding: 20px 60px;
  font-size: clamp(30px, 5vw, 42px);
  font-weight: 400;
  line-height: 1.2;
}

.better-offer__body {
  position: relative;
  --better-offer-background-image: image-set(
    url('/img/redesign/better-offer.avif') type('image/avif'),
    url('/img/redesign/better-offer.jpg') type('image/jpeg')
  );
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  color: #ffffff;
}

.better-offer__body.is-background-loaded {
  background-image: var(--better-offer-background-image);
}

.better-offer__body::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.78) 0%,
    rgba(0, 0, 0, 0.52) 52%,
    rgba(0, 0, 0, 0.18) 100%
  );
}

.better-offer__body > .container {
  z-index: 1;
  position: relative;
}

.better-offer__content {
  width: 660px;
  max-width: 100%;
  padding: 65px 60px 65px 0;
}

.better-offer__text {
  margin: 0;
  font-size: 21px;
  line-height: 1.5;
}

.better-offer__form {
  max-width: 600px;
  margin-top: 30px;
}

.better-offer__form-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 230px;
  gap: 16px;
}

.better-offer__form-row .form-group {
  margin: 0;
}

.better-offer__form-row input {
  width: 100%;
  height: 50px;
  padding: 0 25px;
  border: 1px solid rgba(51, 51, 51, 0.5);
  border-radius: 10px;
  background: #ffffff;
  color: #000000;
  font-family: 'Dopis Regular', sans-serif;
  font-size: 16px;
}

.better-offer__form .but {
  width: 100%;
  height: 50px;
}

.better-offer__form .agree_field {
  margin-top: 16px;
}

.better-offer__form .agree_field,
.better-offer__form .agree_field a {
  color: #ffffff;
}

.better-offer__honeypot {
  position: absolute;
  left: -9999px;
  display: none;
}

@media (min-width: 1200px) {
  .better-offer__heading > .container,
  .better-offer__body > .container {
    max-width: 1300px;
  }
}

@media (max-width: 1199px) {
  .better-offer {
    margin-top: 50px;
  }

  .better-offer__content {
    padding: 55px 30px 55px 0;
  }
}

@media (max-width: 767px) {
  .better-offer__title {
    padding: 15px;
  }

  .better-offer__body::before {
    background: rgba(0, 0, 0, 0.7);
  }

  .better-offer__content {
    width: 100%;
    padding: 40px 0;
  }

  .better-offer__text {
    font-size: 18px;
  }

  .better-offer__form-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}
