/* Contact form. Inherits the theme's fonts and colours; tokens can be overridden by the theme. */
.qc {
	--qc-ink: var(--q-ink, #000);
	--qc-paper: var(--q-paper, #fff);
	--qc-error: #a00000;
	max-width: 880px;
	margin-inline: auto;
}
.qc-form {
	background: var(--qc-paper);
	color: var(--qc-ink);
	border: 1px solid var(--qc-ink);
	padding: clamp(20px, 4vw, 40px);
	display: flex;
	flex-direction: column;
	gap: 24px;
}
.qc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.qc-field--full,
.qc-heading,
.qc-note { grid-column: 1 / -1; }
.qc-heading { margin: 8px 0 0; font-size: 1.375rem; }
.qc-note { margin: 0; }
.qc-field label,
.qc-choices legend { display: block; font-weight: 700; font-size: 0.9375rem; margin-bottom: 6px; padding: 0; }
.qc-field input[type="text"],
.qc-field input[type="email"],
.qc-field input[type="tel"],
.qc-field input[type="number"],
.qc-field select,
.qc-field textarea {
	width: 100%;
	min-height: 46px;
	border: 1px solid var(--qc-ink);
	border-radius: 0;
	background: var(--qc-paper);
	color: var(--qc-ink);
	font: inherit;
	font-size: 1rem;
	padding: 10px 12px;
}
.qc-field textarea { min-height: 130px; resize: vertical; }
.qc-choices { border: 0; margin: 0; padding: 0; min-width: 0; }
.qc-choices__list { display: grid; grid-template-columns: repeat(var(--qc-cols, 1), minmax(0, 1fr)); gap: 2px 24px; }
.qc-choice { display: flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 400 !important; margin: 0 !important; cursor: pointer; }
.qc-choice input { width: 20px; height: 20px; margin: 0; accent-color: var(--qc-ink); }
.qc-req { font-weight: 400; }
.qc-intent { border: 0; margin: 0; padding: 0; min-width: 0; }
.qc-intent[hidden] { display: none; }
.qc-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.qc-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.has-error input,
.has-error select,
.has-error textarea { border-color: var(--qc-error); border-width: 2px; }
.qc-error { color: var(--qc-error); font-size: 0.875rem; margin: 6px 0 0; }
.qc-actions { display: flex; flex-wrap: wrap; gap: 16px; }
.qc-btn {
	font: inherit;
	font-size: 1rem;
	min-height: 46px;
	padding: 0 28px;
	border: 2px solid var(--qc-ink);
	border-radius: 0;
	cursor: pointer;
}
.qc-btn--primary { background: var(--qc-ink); color: var(--qc-paper); }
.qc-btn--secondary { background: var(--qc-paper); color: var(--qc-ink); }
.qc-notice { border: 2px solid var(--qc-ink); background: var(--qc-paper); padding: 16px 20px; margin-bottom: 20px; font-size: 1.0625rem; }
.qc-notice--error { border-color: var(--qc-error); color: var(--qc-error); }
.qc-notice:focus { outline: 3px solid var(--qc-ink); outline-offset: 3px; }
@media (max-width: 640px) {
	.qc-grid,
	.qc-choices__list { grid-template-columns: minmax(0, 1fr); }
}

.qc-privacy { margin: 0; font-size: 0.9375rem; }
.cf-turnstile { min-height: 65px; }
