/* =============================================================================
   Contact Us Widget
   Figma reference: node 10778-8216 (BH-Rebrand-website)
   ============================================================================= */

/* ── Outer wrapper ─────────────────────────────────────────────────────────── */

.bh-contact-us {
	display: flex;
	border: 1px solid rgba(0, 0, 0, 0.12);
	border-radius: 4px;
	background: #ffffff;
	overflow: hidden;
}

/* ── Left: info panel ──────────────────────────────────────────────────────── */

.bh-contact-us__info {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	width: 510px;
	flex-shrink: 0;
	padding: 44px;
	background-color: rgba(0, 0, 0, 0.02);
	border-right: 1px solid rgba(0, 0, 0, 0.12);
	gap: 32px;
}

.bh-contact-us__info-top {
	display: flex;
	flex-direction: column;
	gap: 32px;
}

.bh-contact-us__info-heading {
	font-size: 22px;
	font-weight: 500;
	line-height: 1.5;
	color: #000000;
	margin: 0;
}

/* Contact detail rows */

.bh-contact-us__contact-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 28px;
}

.bh-contact-us__contact-item {
	display: flex;
	gap: 24px;
	align-items: flex-start;
}

.bh-contact-us__contact-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 40px;
	height: 40px;
	border: 1px solid rgba(0, 0, 0, 0.12);
	border-radius: 4px;
	color: #1d2229;
}

.bh-contact-us__contact-label {
	display: block;
	font-size: 16px;
	font-weight: 500;
	color: #000000;
	line-height: 1.5;
	margin: 0 0 4px;
}

.bh-contact-us__contact-value {
	font-size: 16px;
	font-weight: 400;
	color: #606469;
	line-height: 1.5;
	margin: 0;
	text-decoration: none;
}

a.bh-contact-us__contact-value:hover {
	text-decoration: underline;
}

/* Office Hours card */

.bh-contact-us__hours {
	background-color: #1a1a1a;
	border: 1px solid #444444;
	border-radius: 4px;
	padding: 24px;
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.bh-contact-us__hours-heading {
	font-size: 22px;
	font-weight: 700;
	color: #ffffff;
	line-height: 1.4;
	letter-spacing: -0.22px;
	margin: 0;
}

.bh-contact-us__hours-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.bh-contact-us__hours-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 14px;
	line-height: 1.5;
	color: #ffffff;
}

.bh-contact-us__hours-day {
	font-weight: 400;
}

.bh-contact-us__hours-time {
	font-weight: 500;
}

/* Social links */

.bh-contact-us__social {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.bh-contact-us__social-heading {
	font-size: 16px;
	font-weight: 500;
	color: #000000;
	line-height: 1.5;
	margin: 0;
}

.bh-contact-us__social-row {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}

.bh-contact-us__social-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 4px;
	background-color: #f0af24;
	color: #1d2229;
	text-decoration: none;
	transition: opacity 0.2s ease;
}

.bh-contact-us__social-btn:hover {
	opacity: 0.82;
}

/* ── Right: form panel ─────────────────────────────────────────────────────── */

.bh-contact-us__form-panel {
	flex: 1 0 0;
	min-width: 0;
	padding: 44px;
	display: flex;
	flex-direction: column;
	gap: 28px;
}

.bh-contact-us__form-heading {
	font-size: 22px;
	font-weight: 500;
	line-height: 1.5;
	color: #000000;
	margin: 0;
}

.bh-contact-us__form {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

/* Two-column row (email + phone) */

.bh-contact-us__row {
	display: flex;
	gap: 16px;
}

.bh-contact-us__row .bh-contact-us__field {
	flex: 1 0 0;
	min-width: 0;
}

/* Individual field block */

.bh-contact-us__field {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.bh-contact-us__label {
	font-size: 14px;
	font-weight: 400;
	color: #444444;
	line-height: 1.5;
}

/* Inputs, selects, textarea */

.bh-contact-us__input,
.bh-contact-us__select,
.bh-contact-us__textarea {
	width: 100%;
	height: 44px;
	padding: 10px 16px;
	border: 1px solid rgba(0, 0, 0, 0.15);
	border-radius: 4px;
	font-size: 14px;
	font-weight: 400;
	color: #444444;
	background: #ffffff;
	appearance: none;
	-webkit-appearance: none;
	box-sizing: border-box;
	font-family: inherit;
	line-height: 1.5;
	transition: border-color 0.15s ease;
}

.bh-contact-us__input::placeholder,
.bh-contact-us__textarea::placeholder {
	color: rgba(0, 0, 0, 0.35);
}

.bh-contact-us__input:focus,
.bh-contact-us__select:focus,
.bh-contact-us__textarea:focus {
	outline: none;
	border-color: rgba(0, 0, 0, 0.4);
}

.bh-contact-us__textarea {
	height: 120px;
	resize: vertical;
}

/* Select wrapper with custom chevron */

.bh-contact-us__select-wrap {
	position: relative;
}

.bh-contact-us__select {
	padding-right: 40px;
	cursor: pointer;
}

.bh-contact-us__chevron {
	pointer-events: none;
	position: absolute;
	right: 10px;
	top: 50%;
	transform: translateY(-50%);
	color: #444444;
	display: flex;
	align-items: center;
}

/* Consent checkbox */

.bh-contact-us__consent {
	display: flex;
}

.bh-contact-us__consent-label {
	display: flex;
	gap: 16px;
	align-items: flex-start;
	cursor: pointer;
}

.bh-contact-us__consent-check {
	/* Visually hidden but accessible */
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
}

.bh-contact-us__consent-box {
	flex-shrink: 0;
	width: 24px;
	height: 24px;
	border: 1.5px solid rgba(0, 0, 0, 0.35);
	border-radius: 2px;
	background: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.15s ease, border-color 0.15s ease;
}

.bh-contact-us__consent-check:checked + .bh-contact-us__consent-box {
	background-color: #f0af24;
	border-color: #f0af24;
}

.bh-contact-us__consent-check:checked + .bh-contact-us__consent-box::after {
	content: '';
	display: block;
	width: 6px;
	height: 10px;
	border: 2px solid #000000;
	border-top: none;
	border-left: none;
	transform: rotate(45deg) translateY(-1px);
}

.bh-contact-us__consent-check:focus-visible + .bh-contact-us__consent-box {
	outline: 2px solid #f0af24;
	outline-offset: 2px;
}

.bh-contact-us__consent-text {
	font-size: 14px;
	color: rgba(0, 0, 0, 0.6);
	line-height: 1.5;
}

/* Inline feedback */

.bh-contact-us__feedback {
	padding: 12px 16px;
	border-radius: 4px;
	font-size: 14px;
	line-height: 1.5;
}

.bh-contact-us__feedback--success {
	background-color: #e6f4ea;
	color: #1e7e34;
	border: 1px solid #b7dfbf;
}

.bh-contact-us__feedback--error {
	background-color: #fce8e6;
	color: #c5221f;
	border: 1px solid #f5c6c4;
}

/* Submit button */

.bh-contact-us__submit {
	width: 100%;
	padding: 13px 24px;
	background-color: #f0af24;
	color: #000000;
	border: none;
	border-radius: 4px;
	font-size: 16px;
	font-weight: 400;
	font-family: inherit;
	cursor: pointer;
	text-align: center;
	line-height: 1.5;
	transition: opacity 0.2s ease;
}

.bh-contact-us__submit:hover:not(:disabled) {
	opacity: 0.9;
}

.bh-contact-us__submit:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

/* ── Responsive ────────────────────────────────────────────────────────────── */

@media (max-width: 1024px) {
	.bh-contact-us__info {
		width: 400px;
		padding: 32px;
	}

	.bh-contact-us__form-panel {
		padding: 32px;
	}
}

@media (max-width: 768px) {
	.bh-contact-us {
		flex-direction: column;
	}

	.bh-contact-us__info {
		width: 100%;
		border-right: none;
		border-bottom: 1px solid rgba(0, 0, 0, 0.12);
	}

	.bh-contact-us__row {
		flex-direction: column;
	}
}
