/*
 * Contact form CTA — scoped entirely under .bmx-contact-form.
 * Reproduces the reference's dark "Email Us Now" section.
 */

.bmx-contact-info {
	padding: var( --wp--preset--spacing--60 ) var( --wp--preset--spacing--40 ) 0;
}

.bmx-contact-info__grid {
	gap: var( --wp--preset--spacing--30 );
}

.bmx-contact-info__card {
	text-align: center;
	padding: var( --wp--preset--spacing--30 );
	background-color: var( --wp--preset--color--bmx-surface );
	border-radius: 12px;
}

.bmx-contact-info__label {
	margin: 0 0 0.35em;
	font-family: 'Inter', sans-serif;
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var( --wp--preset--color--bmx-primary );
}

.bmx-contact-info__value,
.bmx-contact-info__value a {
	margin: 0;
	font-family: 'Roboto', sans-serif;
	color: var( --wp--preset--color--bmx-heading );
	text-decoration: none;
}

.bmx-contact-form {
	background: linear-gradient( 135deg, var( --wp--preset--color--bmx-dark ) 0%, var( --wp--preset--color--bmx-primary-dark ) 100% );
	padding: var( --wp--preset--spacing--70 ) var( --wp--preset--spacing--40 );
}

.bmx-contact-form__title {
	margin: 0 0 var( --wp--preset--spacing--10 );
	font-family: 'Inter', sans-serif;
	color: var( --wp--preset--color--base );
}

.bmx-contact-form__subtitle {
	margin: 0 auto var( --wp--preset--spacing--40 );
	max-width: 46ch;
	color: rgba( 255, 255, 255, 0.75 );
}

.bmx-contact-form__notice {
	margin-bottom: var( --wp--preset--spacing--30 );
	padding: 0.85em 1.25em;
	border-radius: 8px;
	text-align: center;
	font-family: 'Roboto', sans-serif;
}

.bmx-contact-form__notice--success {
	background-color: rgba( 34, 197, 94, 0.15 );
	color: #86efac;
}

.bmx-contact-form__notice--error {
	background-color: rgba( 239, 68, 68, 0.15 );
	color: #fca5a5;
}

.bmx-contact-form__hp {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect( 0, 0, 0, 0 );
	white-space: nowrap;
	border: 0;
}

.bmx-contact-form__row {
	display: flex;
	flex-wrap: wrap;
	gap: var( --wp--preset--spacing--20 );
	margin-bottom: var( --wp--preset--spacing--20 );
}

.bmx-contact-form__field {
	flex: 1 1 240px;
	display: flex;
	flex-direction: column;
	gap: 0.4em;
}

.bmx-contact-form__field--full {
	margin-bottom: var( --wp--preset--spacing--20 );
}

.bmx-contact-form__field label {
	font-family: 'Roboto', sans-serif;
	font-size: 0.875rem;
	color: rgba( 255, 255, 255, 0.85 );
}

.bmx-contact-form__field input,
.bmx-contact-form__field select,
.bmx-contact-form__field textarea {
	box-sizing: border-box;
	width: 100%;
	padding: 0.75em 1em;
	border: 1px solid rgba( 255, 255, 255, 0.2 );
	border-radius: 6px;
	background-color: rgba( 255, 255, 255, 0.06 );
	color: var( --wp--preset--color--base );
	font-family: 'Roboto', sans-serif;
	font-size: 0.9375rem;
}

.bmx-contact-form__field textarea {
	min-height: 120px;
	resize: vertical;
}

.bmx-contact-form__field select option {
	color: var( --wp--preset--color--contrast );
}

.bmx-contact-form__field input::placeholder,
.bmx-contact-form__field textarea::placeholder {
	color: rgba( 255, 255, 255, 0.45 );
}

.bmx-contact-form__field input:focus,
.bmx-contact-form__field select:focus,
.bmx-contact-form__field textarea:focus {
	outline: none;
	border-color: var( --wp--preset--color--bmx-primary );
}

.bmx-contact-form__actions {
	text-align: center;
}

.bmx-contact-form__submit {
	border: none;
	cursor: pointer;
}
