.reservation-form {
  position: relative;
  padding-top: 45px;
  padding-bottom: 130px;
}
@media screen and (min-width: 900px) {
  .reservation-form {
    padding-top: 64px;
    padding-bottom: 190px;
  }
}
.reservation-form::after {
  content: "";
  position: absolute;
  background: url("../img/deco-wave.png") repeat top left/84px auto;
  width: 100%;
  height: 32px;
  bottom: -1px;
  background-position: -21px 0;
}
@media screen and (min-width: 900px) {
  .reservation-form::after {
    background-position: -30px 0;
  }
}

@media screen and (min-width: 900px) {
  .reservation-form__inner {
    max-width: 768px;
  }
}

.reservation-form__texts {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 40px;
}

.reservation-form__text {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 24px;
}

.reservation__text-title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5; /* 30px */
  letter-spacing: 1.6px;
}
@media screen and (min-width: 900px) {
  .reservation__text-title {
    font-size: 28px;
    letter-spacing: 2.24px;
  }
}

.reservation-form__info {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  text-align: center;
}

.reservation__text-discription {
  font-weight: 500;
}

.reservation-form__heading {
  margin-top: 101px;
}
@media screen and (min-width: 900px) {
  .reservation-form__heading {
    margin-top: 152px;
  }
}

.reservation-form__fields {
  margin-top: 40px;
}
@media screen and (min-width: 900px) {
  .reservation-form__fields {
    margin-top: 69px;
  }
}

.reservation-form__field {
  padding-top: 24px;
  padding-bottom: 23px;
  border-bottom: 1px solid #c2c2c2;
}
@media screen and (min-width: 900px) {
  .reservation-form__field {
    padding-top: 29px;
    padding-bottom: 28px;
  }
}
.reservation-form__field:first-child {
  border-top: 1px solid #c2c2c2;
  padding-top: 23px;
}
@media screen and (min-width: 900px) {
  .reservation-form__field:first-child {
    padding-top: 28px;
  }
}

.form-field {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 12px;
}
@media screen and (min-width: 900px) {
  .form-field {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
  }
}

.form-field__head-checkbox {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 4px;
}

.form-field__head {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 16px;
}
@media screen and (min-width: 900px) {
  .form-field__head {
    width: 180px;
  }
}

.form-field__label {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
}

.form-field__head-note {
  color: #888888;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.5;
}

.form-field__tag {
  font-size: 12px;
  color: #ffffff;
  background: #ee5a6d;
  font-weight: 700;
  line-height: 1.5;
  padding: 3px 6px;
  border-radius: 4px;
}

.form-field__item {
  width: 100%;
}
@media screen and (min-width: 900px) {
  .form-field__item {
    max-width: 488px;
  }
}

.form-text,
.form-textarea,
.form-contact,
.form-date {
  width: 100%;
  background: #f6f6f6;
  border: none;
  padding: 12px 16px;
  width: 100%;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
}
.form-text::-webkit-input-placeholder, .form-textarea::-webkit-input-placeholder, .form-contact::-webkit-input-placeholder, .form-date::-webkit-input-placeholder {
  color: #c2c2c2;
}
.form-text::-moz-placeholder, .form-textarea::-moz-placeholder, .form-contact::-moz-placeholder, .form-date::-moz-placeholder {
  color: #c2c2c2;
}
.form-text:-ms-input-placeholder, .form-textarea:-ms-input-placeholder, .form-contact:-ms-input-placeholder, .form-date:-ms-input-placeholder {
  color: #c2c2c2;
}
.form-text::-ms-input-placeholder, .form-textarea::-ms-input-placeholder, .form-contact::-ms-input-placeholder, .form-date::-ms-input-placeholder {
  color: #c2c2c2;
}
.form-text::placeholder,
.form-textarea::placeholder,
.form-contact::placeholder,
.form-date::placeholder {
  color: #c2c2c2;
}
.form-text:hover, .form-text:focus,
.form-textarea:hover,
.form-textarea:focus,
.form-contact:hover,
.form-contact:focus,
.form-date:hover,
.form-date:focus {
  border-color: #0060a0;
}

.form-textarea {
  resize: none;
  height: 160px;
}
@media screen and (min-width: 900px) {
  .form-textarea {
    height: 200px;
  }
}

.form-radio {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 32px;
}
.form-radio span {
  margin: 0;
}
.form-radio label {
  cursor: pointer;
  display: inline-block;
}
.form-radio label input[type=radio] {
  width: 1px;
  height: 1px;
  position: absolute;
  clip: rect(0, 0, 0, 0);
  overflow: hidden;
}
.form-radio label input[type=radio]:checked + span::after {
  opacity: 1;
}
.form-radio label span {
  font-weight: 500;
  line-height: 1.5;
  padding-left: 32px;
  position: relative;
  display: inline-block;
}
.form-radio label span::before, .form-radio label span::after {
  content: "";
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  border-radius: 50%;
}
.form-radio label span::before {
  width: 24px;
  height: 24px;
  border: 1px solid #1391e6;
  left: 0;
}
.form-radio label span::after {
  width: 12px;
  height: 12px;
  background: #1391e6;
  left: 6px;
  opacity: 0;
  -webkit-transition: opacity 0.3s;
  transition: opacity 0.3s;
}

.form-checkboxes span {
  margin: 0;
}
.form-checkboxes label {
  cursor: pointer;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.form-checkboxes label input[type=checkbox] {
  width: 1px;
  height: 1px;
  position: absolute;
  clip: rect(0, 0, 0, 0);
  overflow: hidden;
}
.form-checkboxes label input[type=checkbox]:checked + span::after {
  opacity: 1;
}
.form-checkboxes label span {
  position: relative;
  font-weight: 500;
  line-height: 1.5;
  padding-left: 32px;
  display: inline-block;
  white-space: nowrap;
}
.form-checkboxes label span::before, .form-checkboxes label span::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
}
.form-checkboxes label span::before {
  width: 24px;
  height: 24px;
  border: 1px solid #1391e6;
}
.form-checkboxes label span::after {
  width: 16px;
  height: 15px;
  left: 4px;
  margin-top: 1px;
  background: url(../img/check-icon.png) no-repeat center center/contain;
  opacity: 0;
  -webkit-transition: opacity 0.3s;
  transition: opacity 0.3s;
}

.form-medical__input {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 16px 24px;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}
@media screen and (min-width: 900px) {
  .form-medical__input {
    gap: 17px 32px;
  }
}

.form-contact {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}

.form-contact-box {
  position: relative;
  width: 100%;
  z-index: 10;
}
.form-contact-box::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  right: 16px;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  z-index: 20;
  background: url(../img/page-reservation-arrow.png) no-repeat center center/contain;
}

.form-field__dates {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 17px;
}

.reservation-form__button {
  margin: 40px auto 0;
  width: 273px;
}
@media screen and (min-width: 900px) {
  .reservation-form__button {
    width: 360px;
    margin: 69px auto 0;
  }
}

.reservation-form--button {
  width: 100%;
  padding-block: 6px;
  border-radius: 24px;
  border: 1px solid #1391e6;
  background: #ffffff;
  color: #1391e6;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1.12px;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  cursor: pointer;
}
@media screen and (min-width: 900px) {
  .reservation-form--button {
    padding-block: 14px;
    border-radius: 28px;
    font-size: 16px;
  }
}
.reservation-form--button:hover {
  background: #1391e6;
  color: #ffffff;
}

.wpcf7-spinner {
  display: none;
}

.reservation-form__text-thanks {
  font-weight: 500;
}