/* id=61: MODX feedback в серой полосе футера — spec-v1 lite (addon, без sty.less) */

footer .footer-feedback-only {
  position: static;
  top: auto;
  right: auto;
  z-index: auto;
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  margin: 0 auto;
  padding: 28px 28px 24px;
  text-align: left;
  background:
    radial-gradient(circle at 100% 0, rgba(31, 103, 178, 0.08), rgba(255, 255, 255, 0) 52%),
    linear-gradient(165deg, #f5f9fd 0%, #ffffff 58%, #f8fbfe 100%);
  border: 1px solid #c9dcee;
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(11, 63, 111, 0.1);
}

footer .footer-feedback-only .footer-feedback-only__title {
  margin: 0 0 18px;
  padding: 0 0 0 14px;
  border-left: 4px solid #0f5f9f;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  color: #0b3f6f;
}

footer .footer-feedback-only form {
  margin: 0;
  display: grid;
  gap: 12px 14px;
  align-items: start;
}

footer .footer-feedback-only .form-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

footer .footer-feedback-only .form-field {
  box-sizing: border-box;
  display: block;
  width: 100%;
  height: 44px;
  margin: 0;
  padding: 0 14px;
  font-size: 15px;
  line-height: 1.4;
  color: #25364a;
  background: #fff;
  border: 1px solid #c9dcee;
  border-radius: 10px;
  box-shadow: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

footer .footer-feedback-only textarea.form-field {
  min-height: 88px;
  height: auto !important;
  padding: 12px 14px;
  resize: vertical;
  line-height: 1.45;
}

footer .footer-feedback-only .form-field::placeholder {
  color: #5f6f82;
  opacity: 1;
}

footer .footer-feedback-only .form-field:focus {
  outline: none;
  border-color: #1f67b2;
  box-shadow: 0 0 0 3px rgba(31, 103, 178, 0.14);
}

footer .footer-feedback-only .form-field:required,
footer .footer-feedback-only .form-field.required {
  background-image: none !important;
}

footer .footer-feedback-only .form-field.is-invalid {
  border-color: #c44;
  background-color: #fff8f8 !important;
}

footer .footer-feedback-only .agree {
  margin: 0;
  cursor: pointer;
}

footer .footer-feedback-only .agree .text {
  font-size: 13px;
  line-height: 1.45;
  color: #5f6f82;
}

footer .footer-feedback-only .agree a {
  color: #1f67b2;
  text-decoration: underline;
  text-underline-offset: 2px;
}

footer .footer-feedback-only .agree a:hover {
  color: #0b3f6f;
}

footer .footer-feedback-only button.submit {
  display: block;
  width: 100%;
  height: 48px;
  margin: 0;
  padding: 0 20px;
  font-size: 16px;
  font-weight: 600;
  line-height: 48px;
  color: #fff;
  white-space: nowrap;
  background: linear-gradient(90deg, #0b3f6f 0%, #0f5f9f 100%);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: filter 0.2s ease, transform 0.15s ease;
}

footer .footer-feedback-only button.submit:hover {
  filter: brightness(1.06);
}

footer .footer-feedback-only button.submit:focus-visible {
  outline: 2px solid #1f67b2;
  outline-offset: 2px;
}

footer .footer-feedback-only button.submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  filter: none;
}

/* Планшет и десктоп: имя + email в ряд, сообщение — отдельной широкой строкой */
@media (min-width: 768px) {
  footer .footer-feedback-only {
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
  }

  footer .footer-feedback-only form {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "name email"
      "message message"
      "agree agree"
      "submit submit";
    gap: 14px 20px;
  }

  footer .footer-feedback-only input[name="name"] {
    grid-area: name;
  }

  footer .footer-feedback-only input[name="contacts"] {
    grid-area: email;
  }

  footer .footer-feedback-only textarea[name="message"] {
    grid-area: message;
    min-height: 120px;
    max-height: 280px;
  }

  footer .footer-feedback-only .agree {
    grid-area: agree;
  }

  footer .footer-feedback-only button.submit {
    grid-area: submit;
    width: auto;
    min-width: 220px;
    justify-self: end;
  }
}

@media (min-width: 1024px) {
  footer .footer-feedback-only {
    padding: 26px 32px 24px;
  }

  footer .footer-feedback-only form {
    grid-template-areas:
      "name email"
      "message message"
      "agree submit";
  }

  footer .footer-feedback-only textarea[name="message"] {
    min-height: 132px;
  }

  footer .footer-feedback-only .agree {
    align-self: center;
    padding-right: 12px;
  }

  footer .footer-feedback-only button.submit {
    align-self: center;
    height: 48px;
    line-height: 48px;
  }
}

@media (max-width: 767px) {
  footer .footer-feedback-only {
    padding: 22px 16px 18px;
    border-radius: 14px;
  }

  footer .footer-feedback-only .footer-feedback-only__title {
    font-size: 20px;
    margin-bottom: 16px;
  }

  footer .footer-feedback-only textarea.form-field {
    min-height: 112px;
  }
}
