/* BFJ Contact Form: uses the BFJ theme's colour variables, with fallbacks. */
.bfj-contact {
	box-sizing: border-box;
	max-width: 640px;
	margin: 20px auto 30px;
}

.bfj-contact__heading {
	margin: 0 0 22px;
	color: var(--bfj-ink, #38393e);
	font-family: var(--bfj-font-head, "Barlow Condensed", "Arial Narrow", sans-serif);
	font-size: 30px;
	font-weight: 600;
	text-align: center;
	text-transform: uppercase;
}

/* Form */
.bfj-cf { margin: 0; }

.bfj-cf__field {
	margin: 0 0 18px;
}

.bfj-cf label {
	display: block;
	margin-bottom: 6px;
	color: var(--bfj-ink, #38393e);
	font-family: var(--bfj-font-head, "Barlow Condensed", "Arial Narrow", sans-serif);
	font-size: 18px;
	font-weight: 600;
	line-height: 1.2;
}

.bfj-cf__req { color: var(--bfj-green, #54b948); }

.bfj-cf__opt {
	color: var(--bfj-muted, #777879);
	font-family: var(--bfj-font-body, "Barlow Semi Condensed", "Arial Narrow", sans-serif);
	font-size: 15px;
	font-weight: 400;
}

/* Every field the same width. */
.bfj-cf input[type="text"],
.bfj-cf input[type="email"],
.bfj-cf input[type="tel"],
.bfj-cf textarea {
	box-sizing: border-box;
	display: block;
	width: 100%;
	margin: 0;
	padding: 10px 12px;
	border: 1px solid #d3d1c8;
	border-radius: 4px;
	background: var(--bfj-page, #f7f6f3);
	color: var(--bfj-ink, #38393e);
	font-family: var(--bfj-font-body, "Barlow Semi Condensed", "Arial Narrow", sans-serif);
	font-size: 17px;
	line-height: 1.35;
	transition: border-color 0.15s, box-shadow 0.15s, background-color 0.15s;
}

.bfj-cf textarea {
	min-height: 160px;
	resize: vertical;
}

.bfj-cf input:focus,
.bfj-cf textarea:focus {
	outline: none;
	border-color: var(--bfj-green, #54b948);
	background: #fff;
	box-shadow: 0 0 0 3px rgba(84, 185, 72, 0.18);
}

.bfj-cf__field.has-error input,
.bfj-cf__field.has-error textarea {
	border-color: #c0392b;
}

.bfj-cf__error {
	display: block;
	margin-top: 5px;
	color: #c0392b;
	font-size: 15px;
}

.bfj-cf__actions { margin: 24px 0 0; }

/* Honeypot: hidden from people, visible to bots. */
.bfj-cf__hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* Notices */
.bfj-cf__notice {
	margin: 0 0 22px;
	padding: 12px 16px;
	border-left: 4px solid;
	border-radius: 0 4px 4px 0;
	font-size: 17px;
}

.bfj-cf__notice--success {
	border-color: var(--bfj-green, #54b948);
	background: #eef7ec;
	color: var(--bfj-ink, #38393e);
}

.bfj-cf__notice--error {
	border-color: #c0392b;
	background: #fbeeec;
	color: var(--bfj-ink, #38393e);
}

/* Contact info: Email Us and Phone columns, each with an icon. */
.bfj-contact-info {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
	margin: 0 0 30px;
}

.bfj-contact-info__col {
	box-sizing: border-box;
	padding: 24px 22px 22px;
	border-top: 4px solid var(--bfj-green, #54b948);
	background: rgba(255, 255, 255, 0.94);
	text-align: center;
	box-shadow: 0 2px 10px rgba(56, 57, 62, 0.08);
}

.bfj-contact-info__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 54px;
	height: 54px;
	margin-bottom: 10px;
	border-radius: 50%;
	background: var(--bfj-green, #54b948);
}

.bfj-contact-info__icon svg {
	width: 26px;
	height: 26px;
	fill: #fff;
}

.bfj-contact-info h2 {
	margin: 0 0 12px;
	color: var(--bfj-ink, #38393e);
	font-family: var(--bfj-font-head, "Barlow Condensed", "Arial Narrow", sans-serif);
	font-size: 24px;
	font-weight: 600;
	line-height: 1.1;
	text-transform: uppercase;
}

.bfj-contact-info ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.bfj-contact-info li {
	padding: 8px 0;
	border-top: 1px solid #e4e2da;
	line-height: 1.25;
}

.bfj-contact-info li:first-child {
	padding-top: 0;
	border-top: 0;
}

.bfj-contact-info__label {
	display: block;
	color: var(--bfj-muted, #777879);
	font-family: var(--bfj-font-head, "Barlow Condensed", "Arial Narrow", sans-serif);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.03em;
	text-transform: uppercase;
}

.bfj-contact-info a,
.bfj-contact-info__value {
	color: var(--bfj-ink, #38393e);
	font-size: 17px;
	text-decoration: none;
	overflow-wrap: anywhere;
}

.bfj-contact-info a:hover {
	color: var(--bfj-green, #54b948);
	text-decoration: underline;
}

@media (max-width: 600px) {
	.bfj-contact-info { grid-template-columns: 1fr; }
}
