/**
 * Contact page template (templates/contact.php).
 * Title block mirrors the shared .bm-page__head; the form card reuses .bm-card
 * plus the base form primitives (.bm-input, .bm-field-label, .bm-field-error).
 */

.bm-contact {
	padding-bottom: 48px;
}

/* ------------------------------------------------------------------ *
 * Title block
 * ------------------------------------------------------------------ */

.bm-contact__head {
	padding: 36px 0 24px;
}

/* Title-block kicker sits at 10px, 2px looser than the base .bm-kicker. */
.bm-contact__head .bm-kicker {
	margin-bottom: 10px;
}

.bm-contact__title {
	font-size: clamp(28px, 4vw, 40px);
	font-weight: 600;
	letter-spacing: -0.025em;
	line-height: 1.05;
	margin: 0 0 8px;
}

.bm-contact__sub {
	font-size: 15px;
	line-height: 1.7;
	color: var(--bm-text-soft);
	max-width: 560px;
}

.bm-contact__sub p {
	margin: 0;
}

/* ------------------------------------------------------------------ *
 * Form card
 * ------------------------------------------------------------------ */

.bm-contact-card {
	border-radius: var(--bm-r-5xl);
	padding: clamp(24px, 4vw, 44px);
	max-width: 720px;
}

/* Form on the left, business details on the right; stacks on narrow screens. */
.bm-contact__layout {
	display: grid;
	grid-template-columns: minmax(0, 720px) minmax(260px, 340px);
	gap: 28px;
	align-items: start;
}

.bm-contact-info {
	border-radius: var(--bm-r-5xl);
	padding: clamp(24px, 3vw, 32px);
}

.bm-contact-info__title {
	margin: 0 0 18px;
	font-size: 17px;
	font-weight: 600;
	letter-spacing: -0.01em;
	color: var(--bm-text);
}

.bm-contact-info__list {
	margin: 0;
}

.bm-contact-info__row {
	padding: 14px 0;
	border-top: 1px solid var(--bm-border);
}

.bm-contact-info__row:first-child {
	padding-top: 0;
	border-top: 0;
}

.bm-contact-info__row dt {
	margin: 0 0 6px;
}

.bm-contact-info__row dd {
	margin: 0;
	font-size: 15px;
	line-height: 1.55;
	color: var(--bm-text);
	overflow-wrap: anywhere;
}

.bm-contact-info__row address {
	font-style: normal;
}

.bm-contact-info__row a {
	color: var(--bm-teal-hover);
	text-decoration: none;
	font-weight: 500;
}

.bm-contact-info__row a:hover,
.bm-contact-info__row a:focus {
	text-decoration: underline;
}

@media (max-width: 900px) {
	.bm-contact__layout {
		grid-template-columns: 1fr;
	}

	.bm-contact-info {
		max-width: 720px;
	}
}

.bm-contact-form__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px 16px;
}

.bm-contact-field {
	min-width: 0;
}

.bm-contact-field--full {
	grid-column: 1 / -1;
}

/* "(optional)" hint riding alongside the mono field label. */
.bm-contact-field__opt {
	margin-left: 6px;
	color: var(--bm-text-muted);
	letter-spacing: 0.06em;
	text-transform: none;
}

.bm-contact-textarea {
	min-height: 148px;
	resize: vertical;
}

.bm-contact-form__foot {
	margin-top: 22px;
}

.bm-contact-form__foot .bm-btn {
	min-width: 190px;
}

/* ------------------------------------------------------------------ *
 * Honeypot — off-screen, kept out of the layout and the tab order.
 * ------------------------------------------------------------------ */

.bm-contact-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* ------------------------------------------------------------------ *
 * Success state
 * ------------------------------------------------------------------ */

.bm-contact-success {
	display: flex;
	align-items: flex-start;
	gap: 14px;
}

.bm-contact-success__icon {
	flex: none;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--bm-teal);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 1px;
}

.bm-contact-success__title {
	font-size: 17px;
	font-weight: 600;
	letter-spacing: -0.01em;
	color: var(--bm-ink);
	margin: 0 0 4px;
}

.bm-contact-success__text {
	font-size: 14.5px;
	line-height: 1.6;
	color: var(--bm-text-soft);
	margin: 0;
	max-width: 460px;
}

/* ------------------------------------------------------------------ *
 * General (non-field) error banner
 * ------------------------------------------------------------------ */

.bm-contact-alert {
	background: rgba(229, 72, 77, 0.08);
	border: 1px solid rgba(229, 72, 77, 0.28);
	border-radius: var(--bm-r-lg);
	padding: 12px 14px;
	font-size: 13.5px;
	line-height: 1.5;
	color: var(--bm-error);
	margin-bottom: 20px;
}

/* ------------------------------------------------------------------ *
 * Responsive
 * ------------------------------------------------------------------ */

@media (max-width: 560px) {
	.bm-contact-form__grid {
		grid-template-columns: 1fr;
	}

	.bm-contact-form__foot .bm-btn {
		width: 100%;
	}
}

/* ------------------------------------------------------------------ *
 * Payment Methods page (templates/payment-methods.php) reuses this sheet.
 * ------------------------------------------------------------------ */

.bm-paypage__list {
	list-style: none;
	margin: 0 0 28px;
	padding: 0;
	display: grid;
	gap: 10px;
}

.bm-paypage__list li {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 12px 14px;
	border: 1px solid var(--bm-border);
	border-radius: var(--bm-r-xl);
}

.bm-paypage__list .bm-paybadge {
	border: 1px solid var(--bm-border);
}

.bm-paypage__name {
	font-size: 15px;
	font-weight: 600;
	color: var(--bm-text);
}

.bm-paypage__h2 {
	margin: 0 0 10px;
	font-size: 17px;
	font-weight: 600;
}

.bm-paypage__notes {
	margin: 0;
	padding-left: 18px;
	font-size: 14.5px;
	line-height: 1.7;
	color: var(--bm-text-soft);
}

.bm-paypage__notes a {
	color: var(--bm-teal-hover);
}
