/* Guided contact form — builds on the .etd-check-* styles in style.css */

.etd-contact-card {
  padding: 26px 24px;
  min-height: 220px;
}

.etd-contact-card[data-ready="0"] {
  background: linear-gradient(90deg, #ffffff 0%, #f6f7f9 50%, #ffffff 100%);
}

.etd-contact-screen h2 {
  margin: 0 0 8px;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--etd-navy);
}

.etd-contact-lead {
  margin: 0 0 18px;
  color: var(--etd-muted);
  font-size: 15px;
  line-height: 1.55;
}

.etd-contact-lead a {
  color: var(--etd-navy);
  font-weight: 700;
}

.etd-contact-back {
  display: inline-flex;
  align-items: center;
  margin: -6px 0 14px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--etd-muted);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.etd-contact-back:hover { color: var(--etd-navy); }

/* Choice cards */
.etd-contact-choices {
  display: grid;
  gap: 10px;
  margin: 6px 0 4px;
}

.etd-contact-choice {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--etd-line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.etd-contact-choice:hover { border-color: var(--etd-navy); }

.etd-contact-choice.is-checked {
  border-color: var(--etd-navy);
  box-shadow: 0 0 0 2px rgba(0, 107, 99, 0.15);
}

.etd-contact-choice input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #006b63;
}

.etd-contact-choice__text {
  display: grid;
  gap: 2px;
}

.etd-contact-choice__text strong {
  font-size: 15px;
  font-weight: 700;
  color: var(--etd-navy);
}

.etd-contact-choice__text small {
  font-size: 13px;
  color: var(--etd-muted);
}

/* Fields */
.etd-contact-screen label:not(.etd-contact-choice) {
  display: grid;
  gap: 6px;
  margin: 0 0 14px;
  font-weight: 700;
  color: var(--etd-navy);
}

.etd-contact-screen label:not(.etd-contact-choice) span { font-size: 14px; }

.etd-contact-screen input:not([type="radio"]),
.etd-contact-screen textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--etd-line);
  border-radius: 10px;
  font: inherit;
  font-size: 16px;
  background: #fff;
}

.etd-contact-screen input[readonly] { background: #f6f7f9; color: var(--etd-muted); }

.etd-contact-screen textarea { resize: vertical; line-height: 1.5; }

.etd-contact-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
}

.etd-contact-link {
  padding: 0;
  border: 0;
  background: none;
  color: var(--etd-navy);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.etd-contact-alt {
  margin: 16px 0 0;
  font-size: 14px;
  color: var(--etd-muted);
}

.etd-contact-status {
  margin: 14px 0 0;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  background: #f6f7f9;
  color: var(--etd-navy);
}

.etd-contact-status--ok { background: #edf8ef; color: #17633a; }
.etd-contact-status--error { background: #fff1f1; color: #9b1c1c; }

.etd-contact-orderbox {
  display: grid;
  gap: 2px;
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #f6f7f9;
  border: 1px solid var(--etd-line);
}

.etd-contact-orderbox strong { color: var(--etd-navy); font-size: 15px; }
.etd-contact-orderbox span { color: var(--etd-muted); font-size: 13px; }

.etd-contact-turnstile { margin: 4px 0 12px; min-height: 65px; }

/* Honeypot: off-screen, never display:none (bots skip hidden fields) */
.etd-contact-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Done */
.etd-contact-done { text-align: center; padding: 10px 0 6px; }

.etd-contact-done__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #edf8ef;
  color: #17633a;
  font-size: 26px;
  font-weight: 800;
}

.etd-contact-ticket {
  margin: 4px 0 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--etd-navy);
}

@media (max-width: 560px) {
  .etd-contact-card { padding: 20px 16px; }
  .etd-contact-actions .etd-check-submit { width: 100%; }
}
