/* =============================================================================
   "Enquire Now" form - layouts/enquiry-form.php
   Sits above the footer on the ongoing project pages, in the site's own navy
   (#0f2453) and gold (#ffce14).
   ========================================================================== */

.bcpl-enquire {
	background: #f6f7fa;
	border-top: 1px solid #e6e9f0;
	padding: 56px 16px 60px;
	font-family: 'Lato', sans-serif;
	/* keeps the title clear of the sticky header after a jump to #bcpl-enquire */
	scroll-margin-top: 130px;
}

.bcpl-enquire__inner {
	max-width: 820px;
	margin: 0 auto;
}

/* bootstrap.css and style.css restyle headings globally - reset here. */
.bcpl-enquire .bcpl-enquire__title {
	font-family: 'Oswald', 'Lato', sans-serif;
	font-weight: 700;
	font-size: 40px;
	line-height: 1.2;
	letter-spacing: 1px;
	text-transform: none;
	color: #0f2453;
	text-align: center;
	margin: 0 0 36px;
	padding: 0;
}

.bcpl-enquire .bcpl-enquire__title::after {
	content: "";
	display: block;
	width: 56px;
	height: 3px;
	margin: 14px auto 0;
	background: #ffce14;
}

.bcpl-enquire__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.bcpl-enquire__field {
	margin-bottom: 24px;
}

.bcpl-enquire__field--message {
	margin-bottom: 10px;
}

.bcpl-enquire__form input,
.bcpl-enquire__form select,
.bcpl-enquire__form textarea {
	display: block;
	width: 100%;
	height: 56px;
	padding: 0 16px;
	background: #fff;
	border: 1px solid #dfe3ec;
	border-radius: 3px;
	box-shadow: none;
	font-family: 'Lato', sans-serif;
	font-size: 16px;
	font-weight: 400;
	color: #0f2453;
	outline: none;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.bcpl-enquire__form textarea {
	height: 110px;
	padding: 14px 16px;
	resize: vertical;
}

.bcpl-enquire__form select {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	padding-right: 44px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%230f2453' stroke-width='1.6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 16px center;
	cursor: pointer;
}

/* "Select Project *" is showing - colour it like the other placeholders. */
.bcpl-enquire__form select:invalid {
	color: #5a6273;
}

.bcpl-enquire__form select option {
	color: #0f2453;
}

/* style.css forces every input placeholder to white with !important. */
.bcpl-enquire__form input::-webkit-input-placeholder,
.bcpl-enquire__form textarea::-webkit-input-placeholder {
	color: #5a6273 !important;
}

.bcpl-enquire__form input::-moz-placeholder,
.bcpl-enquire__form textarea::-moz-placeholder {
	color: #5a6273 !important;
	opacity: 1;
}

.bcpl-enquire__form input:-ms-input-placeholder,
.bcpl-enquire__form textarea:-ms-input-placeholder {
	color: #5a6273 !important;
}

.bcpl-enquire__form input::placeholder,
.bcpl-enquire__form textarea::placeholder {
	color: #5a6273 !important;
	opacity: 1;
}

.bcpl-enquire__form input:focus,
.bcpl-enquire__form select:focus,
.bcpl-enquire__form textarea:focus {
	border-color: #0f2453;
	box-shadow: 0 0 0 3px rgba(255, 206, 20, 0.45);
}

.bcpl-enquire__trap {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.bcpl-enquire__note {
	margin: 0 0 24px;
	font-size: 14px;
	letter-spacing: 0.4px;
	text-align: left;
	color: #5a6273;
}

.bcpl-enquire__status {
	margin: 0 0 20px;
	font-size: 15px;
	font-weight: 700;
	text-align: center;
}

.bcpl-enquire__status:empty {
	display: none;
}

.bcpl-enquire__status.is-success {
	color: #1d6b3a;
}

.bcpl-enquire__status.is-error {
	color: #a11b1b;
}

.bcpl-enquire__submit {
	display: block;
	min-width: 180px;
	height: 56px;
	margin: 0 auto;
	padding: 0 44px;
	border: 0;
	border-radius: 28px;
	background: #0f2453;
	color: #fff;
	font-family: 'Lato', sans-serif;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.bcpl-enquire__submit:hover,
.bcpl-enquire__submit:focus-visible {
	background: #ffce14;
	color: #0f2453;
	outline: none;
}

.bcpl-enquire__submit:disabled {
	opacity: 0.7;
	cursor: wait;
}

@media (max-width: 600px) {
	.bcpl-enquire {
		padding: 40px 16px 44px;
	}

	.bcpl-enquire .bcpl-enquire__title {
		font-size: 30px;
		margin-bottom: 28px;
	}

	.bcpl-enquire__row {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.bcpl-enquire__field {
		margin-bottom: 18px;
	}
}
