.cm-contact-form {
	display: grid;
	gap: 1.25rem;
}

.cm-form-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.25rem;
}

.cm-field {
	display: grid;
	gap: 0.45rem;
}

.cm-field label {
	font-weight: 700;
	color: #072348;
}

.cm-field input,
.cm-field select,
.cm-field textarea {
	width: 100%;
	box-sizing: border-box;
	padding: 0.82rem 0.9rem;
	border: 1px solid #B3B3B3;
	border-radius: 0.5rem;
	background: #FFFFFF;
	color: #1B2430;
	font: inherit;
}

.cm-field textarea {
	resize: vertical;
}

.cm-field input:focus,
.cm-field select:focus,
.cm-field textarea:focus {
	border-color: #A57B30;
	box-shadow: 0 0 0 3px rgba(165, 123, 48, 0.16);
}

.cm-field--checkbox {
	grid-template-columns: auto 1fr;
	align-items: start;
	gap: 0.65rem;
}

.cm-field--checkbox input {
	width: 1.1rem;
	height: 1.1rem;
	margin-top: 0.25rem;
}

.cm-form-note {
	margin: 0;
	font-size: 0.9rem;
	color: #5D6875;
}

.cm-submit-button,
.cm-consent-button {
	appearance: none;
	border: 0;
	border-radius: 999px;
	padding: 0.82rem 1.25rem;
	font: inherit;
	font-weight: 750;
	cursor: pointer;
}

.cm-submit-button {
	justify-self: start;
	background: #A57B30;
	color: #021325;
}

.cm-submit-button:hover,
.cm-consent-button--primary:hover {
	background: #FFE695;
}

.cm-form-message {
	margin-bottom: 1.25rem;
	padding: 1rem;
	border-radius: 0.5rem;
}

.cm-form-message--success {
	border: 1px solid #2F7D4A;
	background: #EDF8F0;
	color: #174A2A;
}

.cm-form-message--error {
	border: 1px solid #A93232;
	background: #FFF0F0;
	color: #721C1C;
}

.cm-honeypot {
	position: absolute !important;
	left: -10000px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

.cm-consent-banner {
	position: fixed;
	inset: auto 1rem 1rem 1rem;
	z-index: 100000;
	max-width: 72rem;
	margin: 0 auto;
	padding: 1rem;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 0.875rem;
	background: #021325;
	color: #FFFFFF;
	box-shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
}

.cm-consent-banner[hidden] {
	display: none;
}

.cm-consent-banner a {
	color: #FFE695;
}

.cm-consent-banner p {
	margin: 0.35rem 0 0;
	font-size: 0.95rem;
}

.cm-consent-banner__content {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
}

.cm-consent-banner__actions {
	display: flex;
	flex: 0 0 auto;
	gap: 0.65rem;
}

.cm-consent-button--primary {
	background: #A57B30;
	color: #021325;
}

.cm-consent-button--secondary {
	border: 1px solid #B3B3B3;
	background: transparent;
	color: #FFFFFF;
}

.cm-consent-button--secondary:hover {
	background: rgba(255, 255, 255, 0.1);
}

body.cm-has-consent-manage {
	padding-bottom: calc(var(--cm-consent-manage-height, 52px) + 1.5rem);
}

.cm-consent-manage {
	position: fixed;
	right: 0.75rem;
	bottom: calc(env(safe-area-inset-bottom, 0px) + 0.75rem);
	z-index: 99990;
	border: 1px solid rgba(255, 255, 255, 0.25);
	border-radius: 999px;
	padding: 0.45rem 0.75rem;
	background: #072348;
	color: #FFFFFF;
	font-size: 0.78rem;
	line-height: 1.2;
	cursor: pointer;
	box-shadow: 0 5px 20px rgba(2, 19, 37, 0.2);
	max-width: calc(100vw - 1.5rem);
}

@media (max-width: 720px) {
	.cm-form-grid {
		grid-template-columns: 1fr;
	}

	.cm-consent-banner__content,
	.cm-consent-banner__actions {
		align-items: stretch;
		flex-direction: column;
	}

	.cm-consent-button {
		width: 100%;
	}

	.cm-consent-manage {
		right: 50%;
		transform: translateX(50%);
		white-space: nowrap;
		font-size: 0.74rem;
	}
}
