:root {
  --color-primary: #007937;
  --color-primary-rgb: 0, 121, 55;
  --color-secondary: #000000;
  --color-accent: #082822;
  --color-info: #d1e012;
  --color-bg: #f6f6f6;
  --bs-primary: #007937;
  --bs-primary-rgb: 0, 121, 55;
  --bs-secondary: #000000;
  --bs-secondary-rgb: 0, 0, 0;
  --bs-info: #d1e012;
  --bs-heading-color: #000000;
  --bs-info-rgb: 209, 224, 18;
  --bs-body-color: #000000;
  --bs-body-color-rgb: 0, 0, 0;
  --bs-link-color: #007937;
  --bs-link-color-rgb: 0, 121, 55;
  --rounded-sm: 10px;
  --rounded-md: 14px;
  --rounded-xl: 25px;
  --transition: all 0.25s ease;
}

.remained {
  position: relative;
  padding: 0;
  margin-bottom: 48px;
  background-color: #fff;
}
.remained::after {
  display: none;
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: -90px;
  left: 0;
  height: 105px;
  background: url("../../images/specialist/outline.svg") left bottom/100% 105px no-repeat;
  content: "";
  transform: scaleX(-1);
  pointer-events: none;
}
.remained__row {
  position: relative;
  z-index: 1;
}
.remained__media {
  display: block;
  position: relative;
  z-index: 2;
  max-width: none;
}
.remained__photo {
  overflow: hidden;
  max-width: none;
  border-radius: 12px;
  clip-path: polygon(21% 0, 100% 0, 100% 100%, 0 100%, 0 18%);
}
.remained__image {
  display: block;
  aspect-ratio: 694/793;
  object-fit: cover;
  object-position: center bottom;
  filter: grayscale(1);
}
.remained__caption {
  margin: 12px 0 0;
  font-size: 17px;
  font-weight: 300;
  line-height: 1.3;
  color: #000;
}
@media (max-width: 575px) {
  .remained__caption-name {
    display: block;
  }
}
.remained__body {
  padding: 0;
  margin-top: 32px;
}
.remained__title {
  margin-bottom: 20px;
  font-size: 24px;
  color: #000;
}
.remained__advantages {
  padding-left: 24px;
  font-size: 17px;
  font-weight: 300;
  list-style: disc;
}
.remained__form {
  margin-top: 26px;
}
.remained__form .wpcf7-form-control-wrap {
  display: block;
}
.remained__field + .remained__field {
  margin-top: 12px;
}
.remained__input {
  height: 58px;
  padding: 0 22px;
  font-size: 15px;
  font-weight: 300;
  color: #000;
  background-color: #fff;
  border: 1px solid var(--service-green);
  border-radius: 999px;
}
.remained__input:focus {
  border-color: var(--service-green);
  box-shadow: 0 0 0 3px rgba(0, 128, 58, 0.12);
}
.remained__submit {
  min-height: 64px;
  margin-top: 12px;
  font-size: 18px;
  color: #000;
  background-color: var(--service-lime);
  border-radius: 999px;
}
.remained__submit:hover, .remained__submit:focus-visible {
  color: #000;
  background-color: var(--service-lime);
}
.remained__consent {
  display: block;
  margin-top: 24px;
  font-size: 14px;
  font-weight: 300;
}
.remained__consent .wpcf7-list-item {
  margin: 0;
}
.remained__consent label {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.remained__consent input[type="checkbox"] {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin: 0;
  border-color: #bdbdbd;
  border-radius: 0;
  accent-color: var(--service-green);
}
.remained__consent input[type="checkbox"]:checked {
  background-color: var(--service-green);
  border-color: var(--service-green);
}
.remained__consent input[type="checkbox"]:focus {
  border-color: var(--service-green);
  box-shadow: none;
}
.remained__consent a {
  color: inherit;
}
.remained__form .wpcf7-response-output {
  margin-right: 0;
  margin-left: 0;
}
.remained__contacts {
  padding-top: 48px;
}
.remained__contacts-title {
  margin-bottom: 22px;
  font-size: 22px;
}
.remained__contacts-row {
  justify-content: flex-start !important;
  gap: 28px 42px;
}
.remained__contact:last-child {
  flex-basis: 100%;
}
.remained__contact-label {
  margin-bottom: 10px;
  font-size: 16px;
  color: var(--service-green);
}
.remained__contact-value {
  font-size: 16px;
  font-weight: 300;
  color: #000;
}
.remained__messengers {
  gap: 6px;
}
.remained__messenger {
  place-items: center;
  width: 38px;
  height: 38px;
  color: #000;
  border: 1px solid #000;
  border-radius: 10px;
}
.remained__messenger-icon {
  width: 22px;
  height: 22px;
  fill: currentColor;
}
@media (min-width: 576px) {
  .remained {
    margin-bottom: 96px;
  }
  .remained__caption {
    font-size: 19px;
  }
  .remained::after {
    display: block;
  }
  .remained__media {
    max-width: 620px;
  }
  .remained__body {
    margin-top: 40px;
  }
  .remained__title {
    font-size: 34px;
  }
  .remained__advantages {
    padding-left: 36px;
    font-size: 19px;
  }
  .remained__input {
    height: 68px;
    padding: 0 32px;
  }
  .remained__submit {
    min-height: 78px;
    font-size: 20px;
  }
  .remained__contacts-row {
    gap: 28px;
  }
  .remained__contact:last-child {
    flex-basis: auto;
  }
}
@media (min-width: 768px) {
  .remained__title {
    font-size: 36px;
  }
}
@media (min-width: 992px) {
  .remained::after {
    bottom: -100px;
    height: 133px;
    background-size: 100% 133px;
  }
  .remained {
    margin-bottom: 100px;
  }
  .remained__media {
    max-width: none;
  }
  .remained__photo {
    max-width: 550px;
  }
  .remained__body {
    padding-left: 36px;
    margin-top: 0;
  }
  .remained__title {
    font-size: 40px;
  }
  .remained__contacts {
    padding-top: 38px;
  }
  .remained__contacts-title {
    font-size: 24px;
  }
  .remained__contacts-row {
    justify-content: space-between !important;
    gap: 6px;
  }
}
@media (min-width: 1200px) {
  .remained__body {
    padding-left: 25px;
  }
}

.remained__form .remained__field {
  position: relative;
}
.remained__form .remained__field .wpcf7-not-valid-tip {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 2px;
  font-size: 12px;
  line-height: 14px;
}
.remained__form .remained__textarea {
  display: block;
  box-sizing: border-box;
  height: 92px;
  min-height: 92px;
  padding: 24px 22px;
  line-height: 21px;
  text-align: center;
  border-radius: 32px;
  resize: vertical;
}
.remained__form .remained__textarea:placeholder-shown {
  padding-top: 34.5px;
  padding-bottom: 34.5px;
}
@media (min-width: 576px) {
  .remained__form .remained__textarea {
    height: 108px;
    min-height: 108px;
    padding: 32px;
  }
  .remained__form .remained__textarea:placeholder-shown {
    padding-top: 42.5px;
    padding-bottom: 42.5px;
  }
}
