.trf-wrap {
  --trf-ink: #1a1a1a;
  --trf-hint: #5c6670;
  --trf-line: #c9ced4;
  --trf-error: #c0392b;
  --trf-accent: #2b6cb0;

  max-width: 700px;
  margin: 0 auto;
  color: var(--trf-ink);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  box-sizing: border-box;
}

.trf-wrap *, .trf-wrap *::before, .trf-wrap *::after {
  box-sizing: border-box;
}

.trf-form {
  background: #fff;
}

.trf-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.trf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 560px) {
  .trf-row { grid-template-columns: 1fr; }
}

.trf-field {
  margin-bottom: 28px;
}

.trf-wrap label {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--trf-ink);
  margin-bottom: 10px;
}

.trf-req {
  color: var(--trf-error);
}

.trf-wrap input[type="text"],
.trf-wrap input[type="email"],
.trf-wrap input[type="tel"],
.trf-wrap textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--trf-line);
  border-radius: 4px;
  font-size: 15px;
  font-family: inherit;
  color: var(--trf-ink);
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.trf-wrap input::placeholder,
.trf-wrap textarea::placeholder {
  color: #8f98a3;
}

.trf-wrap input:focus,
.trf-wrap textarea:focus {
  outline: none;
  border-color: var(--trf-accent);
  box-shadow: 0 0 0 3px rgba(43, 108, 176, 0.15);
}

.trf-wrap textarea {
  resize: vertical;
  min-height: 110px;
}

.trf-hint {
  display: block;
  font-size: 13px;
  color: var(--trf-hint);
  margin-top: 6px;
}

.trf-radio-field label.trf-radio-option {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 400;
  font-size: 15px;
  margin-bottom: 8px;
  cursor: pointer;
}

.trf-radio-option input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--trf-accent);
  margin: 0;
  flex-shrink: 0;
}

.trf-submit-btn {
  background: #1a1a1a;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 13px 32px;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  letter-spacing: 0.01em;
  transition: background 0.15s;
}
.trf-submit-btn:hover { background: #3a3a3a; }
.trf-submit-btn:disabled { background: #a9adb2; cursor: not-allowed; }

.trf-status {
  margin-top: 14px;
  font-size: 14px;
  display: none;
}
.trf-status.trf-show { display: block; }
.trf-status.trf-ok { color: #1a7a3d; }
.trf-status.trf-err { color: var(--trf-error); }

.trf-success-box {
  display: none;
  padding: 32px 0;
  text-align: left;
}
.trf-success-box.trf-show { display: block; }
.trf-success-box h3 {
  font-size: 20px;
  margin: 0 0 8px;
  color: var(--trf-ink);
}
.trf-success-box p { color: var(--trf-hint); margin: 0; }
