.sacf-form {
	display: grid;
	gap: 0.72rem;
	width: min(100%, 40rem);
	margin: clamp(1.75rem, 3vw, 2.75rem) auto;
	color: var(--sa-color-charcoal, #282a25);
	font-family: var(--sa-font-body, "Segoe UI", system-ui, sans-serif);
}

.sacf-field {
	display: grid;
	gap: 0.28rem;
}

.sacf-field label {
	color: var(--sa-color-deep-olive, #3f4735);
	font-size: 0.9rem;
	font-weight: 800;
}

.sacf-field input[type="text"],
.sacf-field input[type="email"],
.sacf-field input[type="tel"],
.sacf-field select,
.sacf-field textarea {
	width: 100%;
	border: 1px solid var(--sa-color-border, #ded7c8);
	border-radius: 8px;
	background: rgba(255, 250, 242, 0.82);
	color: var(--sa-color-charcoal, #282a25);
	font: inherit;
	line-height: 1.35;
	padding: 0.62rem 0.78rem;
}

.sacf-field textarea {
	min-height: 7rem;
	resize: vertical;
}

.sacf-field input:focus,
.sacf-field select:focus,
.sacf-field textarea:focus {
	border-color: var(--sa-color-primary, #5b6348);
	box-shadow: 0 0 0 1px var(--sa-color-primary, #5b6348);
	outline: none;
}

.sacf-checkbox {
	display: inline-flex;
	align-items: flex-start;
	gap: 0.58rem;
	font-weight: 600;
	line-height: 1.45;
}

.sacf-checkbox input {
	width: 1rem;
	height: 1rem;
	margin-top: 0.16rem;
	accent-color: var(--sa-color-primary, #5b6348);
}

.sacf-checkbox a {
	color: var(--sa-color-deep-olive, #3f4735);
	font-weight: 800;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.16em;
}

.sacf-submit {
	justify-self: start;
	min-height: 2.9rem;
	border: 1px solid var(--sa-color-primary, #5b6348);
	border-radius: 8px;
	background: var(--sa-color-primary, #5b6348);
	color: var(--sa-color-warm-white, #fffaf2);
	cursor: pointer;
	font-family: var(--sa-font-ui, "Segoe UI", system-ui, sans-serif);
	font-size: 1rem;
	font-weight: 800;
	line-height: 1;
	margin-top: 0.2rem;
	padding: 0.78rem 1.35rem;
}

.sacf-submit:hover,
.sacf-submit:focus-visible {
	background: var(--sa-color-primary-hover, #3f4735);
	border-color: var(--sa-color-primary-hover, #3f4735);
	color: var(--sa-color-warm-white, #fffaf2);
}

.sacf-message {
	width: min(100%, 40rem);
	margin: clamp(1.75rem, 3vw, 2.75rem) auto 1rem;
	border-radius: 8px;
	font-family: var(--sa-font-body, "Segoe UI", system-ui, sans-serif);
	line-height: 1.55;
	padding: 0.85rem 1rem;
}

.sacf-message p {
	margin: 0 0 0.5rem;
}

.sacf-message ul {
	margin: 0;
	padding-left: 1.2rem;
}

.sacf-message--success {
	background: rgba(167, 170, 140, 0.18);
	border: 1px solid rgba(91, 99, 72, 0.28);
	color: var(--sa-color-deep-olive, #3f4735);
}

.sacf-message--error {
	background: rgba(255, 250, 242, 0.95);
	border: 1px solid #c56f61;
	color: #7a2f25;
}

.sacf-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	clip: rect(0 0 0 0);
	overflow: hidden;
}

@media (max-width: 640px) {
	.sacf-submit {
		width: 100%;
	}
}
