/* RMH inquiry form (specs/07 "Own inquiry form"). Scoped to .rmh-iform; tokens match rmh-ui.css. */
.rmh-iform {
	--rmh-if-ink: #231f20;
	--rmh-if-soft: #4a4340;
	--rmh-if-action: #80655a;   /* 5.35:1 on white */
	--rmh-if-line: #a39b95;
	--rmh-if-sand: #ded5cc;
	--rmh-if-error: #b42318;    /* 6.5:1 on white */
	--rmh-if-focus: 0 0 0 3px #fff, 0 0 0 5px #80655a;
	--rmh-if-header-clear: 120px; /* sticky site header (~80px) + the field's label, so a focused field isn't hidden */
	max-width: 560px;          /* px: the theme sets html{font-size:10px}, so 36rem was 360px */
	margin-inline: auto;        /* centred in wide content columns; no effect in narrow ones */
	color: var(--rmh-if-ink);
	font: 400 16px/1.5 "Lato", "Helvetica Neue", Arial, sans-serif;
	text-align: left;
}
.rmh-iform__form { display: grid; gap: 14px; }
.rmh-iform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rmh-iform__row > * { min-width: 0; }
.rmh-iform__field label { display: block; margin: 0 0 6px; font-weight: 700; font-size: 14px; line-height: 1.3; color: var(--rmh-if-ink); }
.rmh-iform__opt { font-weight: 400; color: var(--rmh-if-soft); }
.rmh-iform input[type="text"], .rmh-iform input[type="email"], .rmh-iform input[type="tel"], .rmh-iform input[type="number"],
.rmh-iform input[type="date"], .rmh-iform select, .rmh-iform textarea {
	box-sizing: border-box; width: 100%; min-height: 48px; padding: 10px 12px; margin: 0;
	border: 1px solid var(--rmh-if-line); border-radius: 6px; background: #fff; color: var(--rmh-if-ink);
	font: 400 16px/1.4 inherit; font-family: inherit;
}
.rmh-iform textarea { min-height: 96px; resize: vertical; }
/* The Elementor kit squares every field (`.elementor-kit-191364 input:not([type=button]):not([type=submit])`, 0,3,1); the
   system's locked 6 px radius needs the extra weight (body + doubled class, 0,4,2 with the :not). */
body .rmh-iform.rmh-iform input:not([type="checkbox"]):not([type="radio"]), body .rmh-iform.rmh-iform select,
body .rmh-iform.rmh-iform textarea { border-radius: 6px; }
.rmh-iform input, .rmh-iform select, .rmh-iform textarea, .rmh-iform__status, .rmh-iform__done { scroll-margin-top: var(--rmh-if-header-clear); }
.rmh-iform input:disabled { background: #f4f1ee; color: #8a8580; }
.rmh-iform [aria-invalid="true"] { border-color: var(--rmh-if-error); }
.rmh-iform input:focus-visible, .rmh-iform select:focus-visible, .rmh-iform textarea:focus-visible,
.rmh-iform button:focus-visible, .rmh-iform a:focus-visible { outline: none; box-shadow: var(--rmh-if-focus); }
.rmh-iform__check { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 15px; cursor: pointer; }
.rmh-iform__check input { width: 22px; height: 22px; accent-color: var(--rmh-if-action); }
.rmh-iform__hint { margin: 4px 0 0; font-size: 13px; color: var(--rmh-if-soft); }
.rmh-iform__err { margin: 4px 0 0; font-size: 13px; line-height: 1.35; color: var(--rmh-if-error); }
.rmh-iform__status { margin: 0; padding: 10px 12px; border: 1px solid var(--rmh-if-error); border-radius: 6px; color: var(--rmh-if-error); font-size: 14px; }
.rmh-iform__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.rmh-iform__submit {
	min-height: 48px; padding: 0 24px; border: 0; border-radius: 24px; background: var(--rmh-if-action); color: #fff;
	font: 700 16px/1 inherit; font-family: inherit; letter-spacing: .02em; cursor: pointer; transition: transform .15s ease;
}
.rmh-iform__submit:hover { background: #6b5449; }
.rmh-iform__submit:active { transform: scale(.98); }
.rmh-iform__submit:disabled { opacity: .7; cursor: progress; }
.rmh-iform__note { margin: 0; font-size: 14px; color: var(--rmh-if-soft); }
.rmh-iform__done { padding: 20px; border: 1px solid var(--rmh-if-sand); border-radius: 8px; background: #fff; }
.rmh-iform__done h3 { margin: 0 0 8px; font-size: 24px; line-height: 1.2; color: var(--rmh-if-ink); }
.rmh-iform__done p { margin: 0 0 16px; }
.rmh-iform__done .rmh-wa-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 20px; border-radius: 24px; border: 1px solid #80655a; background: #fff; color: #80655a; text-decoration: none; }
.rmh-iform__done .rmh-wa-btn:hover, .rmh-iform__done .rmh-wa-btn:focus-visible { background: #80655a; color: #fff; }
@media (max-width: 480px) {
	.rmh-iform__row { grid-template-columns: 1fr; }
	.rmh-iform__submit { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
	.rmh-iform__submit { transition: none; }
}
