/* Barra Forms: matches the Barra Private Tours theme (navy, gold, Cabin and Abel). */
.bf {
	--bf-navy: var(--bpt-navy, #002d62);
	--bf-gold: var(--bpt-gold, #d9a84e);
	--bf-gold-dark: var(--bpt-gold-dark, #c1913a);
	--bf-ink: var(--bpt-ink, #1d2733);
	--bf-muted: var(--bpt-muted, #5b6673);
	--bf-line: var(--bpt-line, #e3e1db);
	--bf-error: #b3261e;
	max-width: 760px;
	scroll-margin-top: 110px;
}
.bf-section {
	margin: 48px 0 0;
	padding: 36px 32px;
	background: var(--bpt-offwhite, #f6f4ef);
	border-top: 4px solid var(--bpt-gold, #d9a84e);
	scroll-margin-top: 110px;
}
@media (max-width: 600px) { .bf-section { padding: 28px 18px; margin-inline: -16px; } }
.bf__title { margin: 0 0 20px; }

.bf__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 22px; }
.bf__field { grid-column: 1 / -1; min-width: 0; }
.bf__field--half { grid-column: span 1; }
@media (max-width: 600px) { .bf__grid { grid-template-columns: 1fr; } .bf__field--half { grid-column: 1 / -1; } }

.bf fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.bf__label {
	display: block;
	margin: 0 0 6px;
	padding: 0;
	font-family: var(--bpt-font-head, inherit);
	font-size: 1rem;
	color: var(--bf-navy);
}
.bf__req { font-family: var(--bpt-font-body, inherit); font-size: .85em; color: var(--bf-muted); }

.bf input[type="text"],
.bf input[type="email"],
.bf input[type="tel"],
.bf input[type="number"],
.bf input[type="date"],
.bf select,
.bf textarea {
	width: 100%;
	min-height: 48px;
	padding: 10px 14px;
	font: inherit;
	font-size: 1.05rem;
	color: var(--bf-ink);
	background: #fff;
	border: 1px solid #c9c6bd;
	border-radius: var(--bpt-radius, 4px);
	box-sizing: border-box;
	transition: border-color .15s, box-shadow .15s;
}
.bf textarea { min-height: 150px; resize: vertical; line-height: 1.5; }
.bf select { appearance: none; padding-right: 40px; 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 1l5 5 5-5' fill='none' stroke='%23002d62' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.bf input:focus,
.bf select:focus,
.bf textarea:focus { outline: none; border-color: var(--bf-navy); box-shadow: 0 0 0 3px rgba(0, 45, 98, .15); }
.bf .has-error input,
.bf .has-error select,
.bf .has-error textarea { border-color: var(--bf-error); }

.bf__choices { display: grid; gap: 4px; }
.bf__choice { display: flex; align-items: center; gap: 10px; min-height: 40px; cursor: pointer; font-size: 1.05rem; }
.bf__choice input { width: 20px; height: 20px; margin: 0; accent-color: var(--bf-navy); flex: none; }
.bf__other { margin-top: 6px; max-width: 420px; }
.bf__consent { align-items: flex-start; padding: 12px 14px; background: #fff; border: 1px solid var(--bf-line); border-radius: var(--bpt-radius, 4px); }
.bf__consent input { margin-top: 3px; }
.bf .has-error .bf__consent { border-color: var(--bf-error); }

.bf__field--section { margin-top: 10px; padding-top: 18px; border-top: 1px solid var(--bf-line); }
.bf__field--section:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.bf__section { margin: 0; font-size: 1.3rem; color: var(--bf-navy); }

.bf__desc { margin: 6px 0 0; font-size: .95rem; color: var(--bf-muted); }
.bf__error { margin: 6px 0 0; font-size: .95rem; color: var(--bf-error); }

.bf__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.bf__actions { margin-top: 26px; }
.bf__submit { min-width: 200px; justify-content: center; }
.bf__submit[disabled] { opacity: .7; cursor: wait; }
@media (max-width: 600px) { .bf__submit { width: 100%; } }

.bf__alert,
.bf__success { padding: 16px 20px; margin: 0 0 22px; border-radius: var(--bpt-radius, 4px); font-size: 1.05rem; }
.bf__alert { background: #fdecea; border-left: 4px solid var(--bf-error); color: #5f1410; }
.bf__success { background: #fff; border-left: 4px solid var(--bf-gold); color: var(--bf-navy); box-shadow: 0 6px 20px rgba(0, 29, 64, .08); }
.bf__success p:last-child { margin-bottom: 0; }

/* Map on Contact Us */
.bf-map { margin: 24px 0 0; }
.bf-map iframe { display: block; width: 100%; border: 0; border-radius: var(--bpt-radius, 4px); box-shadow: 0 6px 20px rgba(0, 29, 64, .1); }
.bf-map__link { display: inline-block; margin-top: 10px; font-size: 1rem; }
