.checkup-reminder {
  padding: 64px 0;
}

.checkup-reminder__content {
  display: flex;
  position: relative;
  justify-content: space-between;
  flex-wrap: wrap;
  border-radius: 32px;
  background: #FACAE3;
  height: 500px;
}

.checkup-reminder__text {
  padding-left: 70px;
  padding-top: 60px;
  width: 770px;
  max-width: 770px;
  z-index: 1;
}

.checkup-title {
  margin: 0;
  padding-bottom: 25px;
}


.checkup-reminder__form {
  display: flex !important;
  flex-direction: column !important;
  gap: 20px !important;
  padding-bottom: 12px !important;
}

.checkup-reminder__inputs {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.checkup-reminder__inputs input {
  flex: 1 1 240px !important;
  padding: 16px !important;
  border-radius: 16px !important;
  border: none !important;
  height: 60px !important;
}

.checkup-reminder__agreement {
  line-height: 1.4 !important;
  padding-bottom: 24px !important;
}

.checkup-reminder__agreement a {
  text-decoration: underline !important;
  color: #000 !important;
}
.btn-checkup-reminder {
  width: 100% !important;
  max-width: 700px !important;
  height: 60px !important;
  padding: auto !important;
  border: none !important;
  border-radius: 999px !important;
  background: #F285BE !important;
  color: #FFFFFF !important;
  cursor: pointer !important;
  transition: background .3s !important;
}
.btn-checkup-reminder:hover {
  background: #0787E3 !important;
}
.btn-checkup-reminder.highlight1 {
  font-family: 'Nunito', sans-serif !important;
  font-weight: 600 !important;
  font-size: 24px !important;
  line-height: 1.3 !important;
}
.checkup-reminder__inputs.text2 input,
.checkup-reminder__agreement.text2 label
{
  font-family: 'Nunito', sans-serif !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  line-height: 1.3 !important;
}

@media (max-width: 769px) {
  .btn-checkup-reminder.text2-bold-mob {
    font-family: 'Nunito', sans-serif !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    line-height: 1.3 !important;
  }
  .checkup-reminder__agreement.text4-bold-mob label{
    font-family: 'Nunito', sans-serif !important;
    font-weight: 700 !important;
    font-size: 10px !important;
    line-height: 1.3 !important;
  }
}


.checkup-reminder__img {
  position: absolute;
  right: 0;
  bottom: -4px;
  height: 100%;
  display: flex;
  align-items: flex-end;
  z-index: 0;
}

.checkup-reminder__img img {
  width: 550px;
  height: 500px;
}

.checkup-thanks {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  padding: 40px 20px;
  gap: 20px; /* уменьшенный отступ между элементами */
}

.checkup-thanks__title, .checkup-thanks__text, checkup-thanks__text p {
  margin: 0 !important;
}

/* === Мобильный фикс === */
@media (max-width: 768px) {
  .checkup-thanks__img {
    max-width: 100%;
  }

  .checkup-thanks {
    padding: 30px 16px;
    gap: 16px;
  }
}



@media (max-width: 768px) {
  .checkup-reminder {
    padding: 32px 0;
  }

  .checkup-reminder__content {
    flex-direction: column;
    height: auto;
    border-radius: 24px;
    overflow: hidden;
  }

  .checkup-reminder__text {
    padding: 20px 20px;
    width: 100%;
    max-width: none;
  }

  .checkup-title {
    font-size: 20px;
    line-height: 1.3;
    padding-bottom: 16px;
  }

  .get-contact {
    font-size: 16px;
    padding-bottom: 24px;
  }

  .checkup-reminder__inputs {
    flex-direction: column;
  }

  .checkup-reminder__inputs input {
    width: 100% !important;
    flex: none;
    margin-bottom: 12px !important;
  }

  .checkup-reminder__agreement {
    font-size: 13px;
    padding-bottom: 16px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
  }
  .checkup-reminder__agreement input {
    margin-top: 2px;
    flex-shrink: 0;
  }
  .checkup-reminder__agreement a {
    white-space: nowrap; /* не разрывать ссылку на две строки */
  }

  .btn-checkup-reminder {
    width: 100%;
    max-width: none;
    font-size: 16px;
    height: 48px !important;
  }

  .checkup-reminder__img {
    position: static;
    width: 100%;
    margin-top: 32px;
    display: block;
  }

  .checkup-reminder__img img {
    width: 100%;
    height: auto;
    display: block;
  }
}
