/* GM Contact Form – inherits the section's text colour, so it works on dark and light backgrounds. */
.gmcf { --gmcf-line: color-mix(in srgb, currentColor 35%, transparent); --gmcf-soft: color-mix(in srgb, currentColor 65%, transparent); color: inherit; }
.gmcf [hidden] { display: none !important; }
.gmcf-grid { display: grid; gap: 0 40px; grid-template-columns: 1fr; }
@media (min-width: 960px) { .gmcf-grid { grid-template-columns: 1fr 1fr; } }
.gmcf-field { margin: 0 0 18px; }
.gmcf-field label { display: block; margin: 0 0 6px; font-size: 14px; line-height: 1.4; }
.gmcf-req { opacity: .7; }
.gmcf-opt { opacity: .55; font-size: 12px; }
.gmcf-field input,
.gmcf-field textarea {
	display: block; width: 100%; box-sizing: border-box; margin: 0;
	padding: 11px 13px; font: inherit; font-size: 15px; line-height: 1.4;
	color: inherit; background: color-mix(in srgb, currentColor 5%, transparent);
	border: 1px solid var(--gmcf-line); border-radius: 4px;
	transition: border-color .15s, background-color .15s, box-shadow .15s;
}
.gmcf-field textarea { min-height: 196px; resize: vertical; }
.gmcf-field input:hover,
.gmcf-field textarea:hover { border-color: var(--gmcf-soft); }
.gmcf-field input:focus,
.gmcf-field textarea:focus { outline: none; border-color: currentColor; background: color-mix(in srgb, currentColor 9%, transparent); box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 15%, transparent); }
.gmcf-field.is-invalid input,
.gmcf-field.is-invalid textarea { border-color: #e5484d; }
.gmcf-err { display: block; min-height: 0; margin-top: 5px; font-size: 13px; color: #ff6b6b; }
.gmcf-err:empty { display: none; }
.gmcf-submit {
	display: block; width: 100%; padding: 13px 20px; border: 0; border-radius: 4px; cursor: pointer;
	font: inherit; font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
	color: #1d1d21; background: #fff; transition: opacity .15s, transform .05s;
}
.gmcf-submit:hover { opacity: .88; }
.gmcf-submit:active { transform: translateY(1px); }
.gmcf-submit[disabled] { opacity: .6; cursor: progress; }
.gmcf-note { margin: 12px 0 0; font-size: 12px; line-height: 1.5; opacity: .65; }
.gmcf-note a { color: inherit; text-decoration: underline; }
.gmcf-alert { margin: 0 0 18px; padding: 10px 14px; border-radius: 4px; font-size: 14px; background: rgba(229,72,77,.15); border: 1px solid rgba(229,72,77,.5); }
.gmcf-done { display: flex; flex-direction: column; gap: 6px; padding: 28px 24px; border: 1px solid var(--gmcf-line); border-radius: 6px; text-align: center; font-size: 15px; line-height: 1.5; }
.gmcf-done-icon { display: inline-flex; align-self: center; align-items: center; justify-content: center; width: 44px; height: 44px; margin-bottom: 6px; border-radius: 50%; font-size: 22px; font-weight: 700; color: #1d1d21; background: #fff; }
.gmcf-done strong { font-size: 17px; }
.gmcf-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
/* Light backgrounds: dark button instead of white. */
.uk-section-default .gmcf-submit, .uk-section-muted .gmcf-submit { color: #fff; background: #1d1d21; }
.uk-section-default .gmcf-done-icon, .uk-section-muted .gmcf-done-icon { color: #fff; background: #1d1d21; }
