/* testimony.css — Wall Testimony form styling */

.testimony-hero {
  padding: 56px 22px 24px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}
.testimony-hero .kicker {
  font-size: 12px;
  letter-spacing: 2px;
  color: #6b4ea8;
  margin: 0 0 10px;
  font-weight: 600;
}
.testimony-hero h1 {
  font-family: 'Cinzel', serif;
  font-size: 36px;
  margin: 0 0 12px;
  color: #1a1430;
}
.testimony-hero .lede {
  color: #4a4560;
  font-size: 16px;
  line-height: 1.5;
  margin: 0;
}

.testimony-form-section {
  max-width: 760px;
  margin: 0 auto;
  padding: 16px 22px 80px;
}

.testimony-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.t-group {
  border: 1px solid #e5e0f0;
  border-radius: 14px;
  padding: 20px 22px;
  background: #fff;
}
.t-group legend {
  padding: 0 8px;
  font-weight: 700;
  color: #1a1430;
  font-size: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.t-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 14px;
}
.t-field:first-of-type { margin-top: 8px; }
.t-label {
  font-weight: 600;
  color: #2a2440;
  font-size: 14px;
}
.t-label em {
  color: #b04040;
  font-style: normal;
  margin-left: 2px;
}
.t-field input[type="text"],
.t-field input[type="email"],
.t-field input[type="url"],
.t-field input[type="file"],
.t-field textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d0c8e4;
  border-radius: 10px;
  font-family: inherit;
  font-size: 15px;
  background: #fafaff;
}
.t-field textarea { resize: vertical; min-height: 120px; }
.t-field small { color: #6a6480; font-size: 12px; }

.t-radios {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 6px;
}
.t-radios label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #2a2440;
}

.t-format-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
  margin-top: 12px;
}
.t-format-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 14px 10px;
  border: 1.5px solid #d0c8e4;
  border-radius: 12px;
  background: #fafaff;
  cursor: pointer;
  text-align: center;
  transition: all 0.15s ease;
}
.t-format-card input { display: none; }
.t-format-card .t-format-emoji { font-size: 22px; }
.t-format-card strong { font-size: 14px; color: #1a1430; }
.t-format-card small { font-size: 12px; color: #6a6480; }
.t-format-card.is-selected {
  border-color: #6b4ea8;
  background: #f3edff;
  box-shadow: 0 2px 10px rgba(107,78,168,0.15);
}

.t-panel {
  margin-top: 18px;
  padding: 16px;
  border: 1px dashed #d0c8e4;
  border-radius: 12px;
  background: #fdfcff;
}
.t-or {
  text-align: center;
  color: #8a85a0;
  margin: 12px 0;
  font-size: 13px;
  letter-spacing: 1px;
}

.t-consent .t-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 10px;
  font-size: 14px;
  color: #2a2440;
  line-height: 1.4;
}
.t-consent .t-check input { margin-top: 3px; }

.t-actions { text-align: center; margin-top: 8px; }
.t-submit {
  background: #6b4ea8;
  color: #fff;
  border: 0;
  padding: 14px 26px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 999px;
  cursor: pointer;
  letter-spacing: 0.5px;
}
.t-submit:hover { background: #563b8c; }

.t-status {
  margin-top: 14px;
  font-size: 14px;
  min-height: 1.2em;
}
.t-status[data-kind="ok"]      { color: #2a7a3a; }
.t-status[data-kind="error"]   { color: #b04040; }
.t-status[data-kind="pending"] { color: #6a6480; }

@media (max-width: 600px) {
  .testimony-hero h1 { font-size: 28px; }
  .t-group { padding: 16px; }
  .t-format-grid { grid-template-columns: repeat(2, 1fr); }
}
