.contact-intro {
  margin-bottom: 1.75rem;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.contact-form {
  display: grid;
  gap: 1.1rem;
  width: 100%;
  box-sizing: border-box;
}

.policy-page__panel .contact-form {
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.contact-field {
  width: 100%;
  min-width: 0;
}

.contact-field label {
  display: block;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.35rem;
  font-size: 0.95rem;
}

.contact-field input,
.contact-field textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(57, 40, 0, 0.18);
  border-radius: 10px;
  background: #fff;
  color: var(--text);
  font: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.contact-field input:focus,
.contact-field textarea:focus {
  outline: none;
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(170, 105, 0, 0.15);
}

.contact-field textarea {
  min-height: 9rem;
  resize: vertical;
}

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

.contact-submit {
  justify-self: start;
  padding: 0.75rem 1.4rem;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), #ffc44d);
  color: var(--primary);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-submit:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
}

.contact-submit:disabled {
  opacity: 0.65;
  cursor: wait;
}

.contact-status {
  margin: 0 0 1rem;
  width: 100%;
  box-sizing: border-box;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  font-size: 0.95rem;
}

.contact-status.is-success {
  background: rgba(34, 120, 60, 0.1);
  color: #1f6b3a;
  border: 1px solid rgba(34, 120, 60, 0.25);
}

.contact-status.is-error {
  background: rgba(180, 40, 40, 0.08);
  color: #9b2c2c;
  border: 1px solid rgba(180, 40, 40, 0.22);
}

.contact-status[hidden] {
  display: none !important;
}

.contact-debug-badge {
  margin: 0.6rem 0 0.2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.65rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #7b5a00;
  background: rgba(255, 214, 102, 0.22);
  border: 1px solid rgba(212, 153, 0, 0.3);
}

.contact-debug-badge::before {
  content: '🛡️';
  font-size: 0.82rem;
}

.contact-debug-badge[hidden] {
  display: none !important;
}

.contact-alt {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(57, 40, 0, 0.1);
}
