.block-form {
  position: relative;
  padding: 228px 0;
  background-color: #efeded;
  background-image: linear-gradient(rgba(17, 17, 17, 0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(17, 17, 17, 0.08) 1px, transparent 1px);
  background-size: 228px 228px;
  background-position: top center;
  color: var(--tg-color-black);
}

.block-form__panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  padding: 32px 40px 40px;
  border: 1px solid var(--tg-color-black);
  background-color: var(--tg-color-primary-white);
  isolation: isolate;
}

.block-form__panel::before,
.block-form__panel::after {
  content: "";
  position: absolute;
  background-color: var(--tg-color-black);
  pointer-events: none;
  z-index: -1;
}

.block-form__panel::before {
  top: -4px;
  left: -4px;
  width: 53px;
  height: 106px;
  clip-path: polygon(0 calc(100% - 5.954px), 4px 100%, 4px 4px, 100% 4px, calc(100% - 5.275px) 0, 0 0);
}

.block-form__panel::after {
  right: -4px;
  bottom: -4px;
  width: 193px;
  height: 186px;
  clip-path: polygon(100% 5.954px, calc(100% - 4px) 0, calc(100% - 4px) calc(100% - 4px), 0 calc(100% - 4px), 5.275px 100%, 100% 100%);
}

.block-form__content,
.block-form__form {
  min-width: 0;
}

.block-form__content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  overflow: hidden;
}

.block-form__title {
  margin: 0;
  color: var(--tg-color-black);
  text-transform: uppercase;
}

.block-form__title p {
  display: inline;
  margin: 0;
  color: inherit;
}

.block-form__title em {
  color: var(--tg-color-red);
  font-style: normal;
}

.block-form__text {
  color: var(--tg-color-black);
}

.block-form__text p {
  margin: 0;
}

.block-form__benefits {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.block-form__benefits-title {
  margin: 0;
  color: var(--tg-color-black);
  text-transform: uppercase;
}

.block-form__benefits-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.block-form__benefit {
  position: relative;
  padding-left: 32px;
  color: var(--tg-color-black);
}

.block-form__benefit::before {
  content: "";
  display: block;
  background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10.8247 18V13.1753H6V10.8247H10.8247V6H13.1753V10.8247H18V13.1753H13.1753V18H10.8247Z' fill='%23FF3800'/%3E%3C/svg%3E%0A");
  width: 24px;
  height: 24px;
  position: absolute;
  top: 0;
  left: 0;
}

.block-form__quote {
  padding: 18px 0 18px 24px;
  border-left: 4px solid var(--tg-color-red);
}

.block-form__quote blockquote {
  margin: 0;
  color: var(--tg-color-black);
  font-size: 20px;
  font-weight: var(--tg-font-weight-regular);
  line-height: 28px;
}

.block-form__quote-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-top: 12px;
  color: var(--tg-color-black);
  font-size: 12px;
  font-weight: var(--tg-font-weight-regular);
  line-height: 16px;
}

.block-form__quote-meta span {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.block-form__quote-meta span:not(:first-child)::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: var(--tg-color-red);
}

.block-form__form input[type=submit] {
  width: 100%;
}

@media (max-width: 991px) {
  .block-form__panel {
    grid-template-columns: 1fr;
    align-items: start;
    min-height: 0;
  }
}

@media (max-width: 767px) {
  .block-form {
    padding: 66px 0;
    background-size: 65px 65px;
  }

  .block-form__panel {
    gap: 40px;
    padding: 32px 16px 16px;
  }

  .block-form__quote {
    padding: 12px 0 12px 24px;
  }

  .block-form__quote blockquote {
    font-size: 18px;
    line-height: 26px;
  }
}