/* RFC Core — форми зворотного зв'язку. Палітра коледжу: #0b1c80, акцент #dc802a. */
.rfc-form { max-width: 760px; margin: 0 0 24px; }
.rfc-form__note { margin: 0 0 16px; font-size: 14px; color: #484848; text-indent: 0; }
.rfc-form__field { margin: 0 0 18px; }
.rfc-form__field label { display: block; margin: 0 0 6px; font-weight: 500; color: #1b1b1b; }
.rfc-form__req { color: #c62828; }
.rfc-form input[type="text"],
.rfc-form input[type="email"],
.rfc-form input[type="tel"],
.rfc-form textarea {
	display: block; box-sizing: border-box; width: 100%; margin: 0;
	padding: 10px 12px; border: 1px solid rgba(0, 0, 0, .35); border-radius: 4px;
	background: #fff; color: #1b1b1b; font: inherit; line-height: 1.4;
}
.rfc-form textarea { min-height: 150px; resize: vertical; }
.rfc-form input:focus, .rfc-form textarea:focus { border-color: #0b1c80; outline: 2px solid #0b1c80; outline-offset: 1px; box-shadow: none; }
.rfc-form [aria-invalid="true"] { border-color: #c62828; }
.rfc-form__error { display: block; margin-top: 4px; color: #c62828; font-size: 14px; }
.rfc-form__submit {
	display: inline-block; padding: 12px 28px; border: 0; border-radius: 4px;
	background: #0b1c80; color: #fff; font: inherit; font-weight: 500; line-height: 1.2; cursor: pointer;
	transition: background-color .15s;
}
.rfc-form__submit:hover { background: #3e5f8e; }
.rfc-form__submit:focus-visible { outline: 2px solid #dc802a; outline-offset: 3px; }
.rfc-form__hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.rfc-form__success, .rfc-form__errors { margin: 0 0 18px; padding: 16px 20px; border-radius: 4px; }
.rfc-form__success { border-left: 4px solid #2e7d32; background: #eef7ef; color: #1b1b1b; }
.rfc-form__errors { border-left: 4px solid #c62828; background: #fdecea; color: #1b1b1b; }
.rfc-form__errors p { margin: 0 0 6px; font-weight: 500; text-indent: 0; }
.rfc-form__errors ul { margin: 0; padding-left: 20px; }
.rfc-form__errors a { color: #8e1b1b; }
.rfc-form__success:focus, .rfc-form__errors:focus { outline: none; }
@media (prefers-reduced-motion: reduce) { .rfc-form__submit { transition: none; } }
