/* Public contact form — /contact. Built on the --hp-* design tokens from tailwindcss/homepage-base. */

.ct-page {
  max-width: 640px;
  margin: 56px auto 96px;
  padding: 0 20px;
}
@media (max-width: 768px) { .ct-page { margin: 32px auto 64px; } }

.ct-card {
  background: var(--hp-white);
  border: 1px solid var(--hp-rule);
  border-radius: var(--hp-radius-lg);
  padding: 40px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .05);
}
@media (max-width: 768px) { .ct-card { padding: 28px 22px; } }

.ct-title {
  font-size: clamp(26px, 3.4vw, 34px);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--hp-ink);
  margin: 0 0 10px;
}

.ct-intro {
  font-size: 16px;
  line-height: 1.6;
  color: var(--hp-mid);
  margin: 0 0 28px;
}

.ct-signed-in {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: var(--hp-bg-warm);
  border: 1px solid var(--hp-rule);
  border-radius: var(--hp-radius-sm);
  padding: 12px 16px;
  margin: 0 0 18px;
}
.ct-signed-in .form-item { margin: 0 !important; }
.ct-signed-in label {
  font-size: 12px !important;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--hp-mid) !important;
  font-weight: 600 !important;
}
.ct-signed-in .field-suffix,
.ct-signed-in output,
.ct-signed-in [id^="edit-"] {
  font-size: 15px;
  color: var(--hp-ink);
}

.ct-form { display: flex; flex-direction: column; gap: 18px; text-align: left; }

.ct-form .form-item,
.ct-form .js-form-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
}

.ct-form label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--hp-ink);
}
.ct-form label.form-required::after {
  content: ' *';
  color: var(--hp-orange-d);
}

.ct-form input[type="text"],
.ct-form input[type="email"],
.ct-form input[type="tel"],
.ct-form select,
.ct-form textarea {
  font-size: 15px;
  padding: 11px 14px;
  border: 1.5px solid var(--hp-rule);
  border-radius: var(--hp-radius-sm);
  background: var(--hp-white);
  color: var(--hp-ink);
  width: 100%;
  box-sizing: border-box;
  font-family: inherit;
}

.ct-form textarea {
  min-height: 160px;
  resize: vertical;
}

.ct-form input:focus,
.ct-form select:focus,
.ct-form textarea:focus {
  outline: none;
  border-color: var(--hp-blue);
  box-shadow: 0 0 0 3px rgba(33, 118, 184, .15);
}

.ct-form .form-type-checkbox,
.ct-form .form-type-boolean {
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
}
.ct-form .form-type-checkbox label,
.ct-form .form-type-boolean label {
  font-weight: 400;
  font-size: 13.5px;
}
.ct-form .form-type-checkbox input,
.ct-form .form-type-boolean input {
  margin-top: 2px;
}

/* Honeypot field: already hidden by the Honeypot module itself (display:none
 * on its wrapper); nothing to style here on purpose. */

.ct-form .form-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 4px 0 0;
}
.ct-form .form-actions .button {
  cursor: pointer;
  font-size: 15px;
}

@media (max-width: 480px) {
  .ct-form .form-actions { flex-direction: column; align-items: stretch; }
}