/* ==========================================================================
   Nexa – forms (Fluent Forms) in the site style
   ========================================================================== */

/* Contact page "Send a Message" section */
html body .nexa-form-section { background: var(--c-soft); }
html body .nexa-form-section__inner { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
html body .nexa-form-section__intro { position: sticky; top: calc(var(--header-h-sm, 64px) + 40px); }
html body .nexa-form-section__intro .alcair-section__title { margin-top: 0; }
html body .nexa-form-section__intro .alcair-section__lead { margin-bottom: 28px; }
html body .nexa-form-card { padding: clamp(28px, 3.4vw, 48px); background: #fff; border: 1px solid var(--c-line); box-shadow: 0 30px 80px rgba(0, 0, 0, .06); }
@media (max-width: 960px) {
	html body .nexa-form-section__inner { grid-template-columns: minmax(0, 1fr); gap: 32px; }
	html body .nexa-form-section__intro { position: static; }
}

/* Fields */
html body .fluentform .ff-el-group { margin-bottom: 22px; }
html body .fluentform .ff-el-input--label label {
	margin-bottom: 8px; font-family: var(--f-sans); font-size: 0.75rem; font-weight: 500;
	letter-spacing: .18em; text-transform: uppercase; color: var(--c-ink);
}
html body .fluentform .ff-el-input--label.ff-el-is-required.asterisk-right label::after { color: var(--c-muted); margin-left: 4px; }
html body .fluentform .ff-el-form-control {
	width: 100%; min-height: 52px; padding: 14px 16px;
	font-family: var(--f-sans); font-size: 0.9375rem; line-height: 1.5; color: var(--c-ink);
	background: var(--c-soft); border: 1px solid transparent; border-radius: 0; box-shadow: none;
	transition: border-color .3s var(--ease), background-color .3s var(--ease), box-shadow .3s var(--ease);
}
html body .fluentform textarea.ff-el-form-control { min-height: 150px; resize: vertical; }
html body .fluentform select.ff-el-form-control {
	appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer;
	background-image: linear-gradient(45deg, transparent 50%, var(--c-ink) 50%), linear-gradient(135deg, var(--c-ink) 50%, transparent 50%);
	background-position: calc(100% - 22px) 50%, calc(100% - 17px) 50%; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat;
}
html body .fluentform .ff-el-form-control::placeholder { color: #767672; }
html body .fluentform .ff-el-form-control:hover { border-color: var(--c-line); }
html body .fluentform .ff-el-form-control:focus { outline: 0; background-color: #fff; border-color: var(--c-ink); box-shadow: 0 0 0 4px rgba(0, 0, 0, .05); }
html body .fluentform .ff-el-is-error .ff-el-form-control { border-color: #b3261e; background-color: #fff; }
html body .fluentform .error, html body .fluentform .text-danger { margin-top: 6px; font-size: 0.8125rem; color: #b3261e; }
html body .fluentform .ff-t-container { gap: 16px; }

/* Submit button = site primary button */
html body .fluentform .ff-btn-submit,
html body .fluentform button.ff-btn-submit:not(.ff_btn_no_style) {
	position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 10px;
	padding: 17px 30px; border: 1px solid var(--c-black); border-radius: 0;
	background: var(--c-black) !important; color: #fff !important;
	font-family: var(--f-sans); font-size: 0.9375rem; font-weight: 500; line-height: 1; letter-spacing: 0; box-shadow: none;
	transition: transform .45s cubic-bezier(.34, 1.56, .64, 1), box-shadow .45s var(--ease), background-color .3s;
}
html body .fluentform .ff-btn-submit::after { content: "→"; transition: transform .45s cubic-bezier(.34, 1.56, .64, 1); }
html body .fluentform .ff-btn-submit:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .45); background: #222 !important; opacity: 1; }
html body .fluentform .ff-btn-submit:hover::after { transform: translateX(5px); }
@media (max-width: 600px) { html body .fluentform .ff-btn-submit { width: 100%; justify-content: center; } }

/* Success message */
html body .ff-message-success {
	padding: 26px 28px; border: 1px solid var(--c-ink); border-left-width: 3px; box-shadow: none;
	background: #fff; font-size: 0.9375rem; line-height: 1.7; color: var(--c-ink);
}
html body .ff-message-success p { margin: 0 0 6px; }
