/* ==========================================================================
   Enquiry form
   ========================================================================== */

.bbd-enquiry-form {
	display: grid;
	gap: 18px;
	max-width: 560px;
	margin: 0;
}

.bbd-field {
	display: grid;
	gap: 7px;
	margin: 0;
}

.bbd-field label {
	font: 600 11px var(--display);
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgba(20, 37, 54, 0.62);
}

.bbd-field label span {
	color: var(--gold-ink);
}

.bbd-field input,
.bbd-field select,
.bbd-field textarea {
	width: 100%;
	padding: 13px 15px;
	font: 400 15px/1.5 var(--sans);
	color: var(--ink);
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 0;
	transition: border-color 0.2s;
}

.bbd-field textarea {
	resize: vertical;
	min-height: 140px;
}

.bbd-field input:focus,
.bbd-field select:focus,
.bbd-field textarea:focus {
	border-color: var(--gold-ink);
	outline: 2px solid var(--gold-2);
	outline-offset: 1px;
}

.bbd-field.has-error input,
.bbd-field.has-error select,
.bbd-field.has-error textarea {
	border-color: #a3372c;
}

.bbd-field-error {
	font-size: 12px;
	color: #a3372c;
}

/* Visually hidden but still focusable-free — bots fill it, people never see it. */
.bbd-honeypot {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.bbd-enquiry-form .bbd-button {
	justify-self: start;
	border: 0;
	cursor: pointer;
	font-family: var(--display);
}

.bbd-form-note {
	margin: 0;
	font-size: 12px;
	color: rgba(20, 37, 54, 0.55);
}

.bbd-form-note a {
	border-bottom: 1px solid var(--line);
}

.bbd-notice {
	display: grid;
	gap: 6px;
	max-width: 560px;
	margin: 0 0 24px;
	padding: 18px 20px;
	border-left: 3px solid var(--gold);
	background: rgba(217, 172, 98, 0.12);
}

.bbd-notice strong {
	font: 600 17px var(--display);
	letter-spacing: -0.02em;
}

.bbd-notice span {
	font-size: 14px;
	color: rgba(20, 37, 54, 0.7);
}

.bbd-notice-success {
	border-left-color: #4f8f62;
	background: rgba(79, 143, 98, 0.1);
}

.bbd-notice-error {
	border-left-color: #a3372c;
	background: rgba(163, 55, 44, 0.08);
}

.bbd-notice a {
	border-bottom: 1px solid currentColor;
}

/* On the navy contact panel the form sits on a dark background. */
.bbd-section-navy .bbd-field label {
	color: rgba(255, 255, 255, 0.62);
}

.bbd-section-navy .bbd-field input,
.bbd-section-navy .bbd-field select,
.bbd-section-navy .bbd-field textarea {
	color: #fff;
	background: rgba(255, 255, 255, 0.06);
	border-color: rgba(255, 255, 255, 0.18);
}

.bbd-section-navy .bbd-form-note {
	color: rgba(255, 255, 255, 0.55);
}
