.cp-contact {
  margin-top: 3rem;
  background: #fff;
  border: 1px solid #f3f4f6;
  border-radius: 1.5rem;
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.05);
  padding: 2rem;
  text-align: left;
}

.cp-contact h3 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
}

.cp-contact p.cp-lead {
  margin: 0.5rem 0 1.5rem;
  color: #6b7280;
  font-size: 0.95rem;
  line-height: 1.5;
}

.cp-contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .cp-contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.cp-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.cp-field-full {
  grid-column: 1 / -1;
}

.cp-field label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #374151;
}

.cp-field input,
.cp-field textarea {
  width: 100%;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  padding: 0.7rem 0.9rem;
  font: inherit;
  font-size: 0.95rem;
  color: #111827;
  background: #fff;
  box-sizing: border-box;
}

.cp-field input:focus,
.cp-field textarea:focus {
  outline: 2px solid #bae0fd;
  border-color: #006fc6;
}

.cp-field textarea {
  min-height: 120px;
  resize: vertical;
}

.cp-hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

.cp-actions {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-start;
}

.cp-contact button {
  appearance: none;
  border: 0;
  border-radius: 0.75rem;
  background: #006fc6;
  color: #fff;
  font: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.8rem 1.5rem;
  cursor: pointer;
}

.cp-contact button:hover {
  background: #0158a1;
}

.cp-contact button:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.cp-status {
  font-size: 0.875rem;
  line-height: 1.4;
  padding: 0.7rem 0.9rem;
  border-radius: 0.75rem;
  width: 100%;
  box-sizing: border-box;
}

.cp-status.is-ok {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.cp-status.is-error {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

.cp-status[hidden] {
  display: none;
}
