.hbh-site-gate-enter {
	cursor: pointer;
}

.hbh-site-gate-enter:focus-visible {
	outline: 3px solid #fffaf0;
	outline-offset: 4px;
}

body.hbh-site-gate-entry-body {
	min-height: 100vh;
	margin: 0;
	background-color: #226f49;
	background-image: linear-gradient(rgba(34, 111, 73, 0.24), rgba(34, 111, 73, 0.24)), var(--hbh-site-gate-bg-image);
	background-position: center top;
	background-repeat: repeat;
	color: #163b29;
	font-family: "Poppins", Arial, sans-serif;
}

body.hbh-site-gate-entry-body::before {
	position: fixed;
	inset: 0;
	z-index: -1;
	background: radial-gradient(circle at 50% 42%, rgba(255, 250, 240, 0.22), rgba(8, 44, 29, 0.08) 54%, rgba(8, 44, 29, 0.28));
	content: "";
	pointer-events: none;
}

.hbh-site-gate-entry {
	box-sizing: border-box;
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 44px 20px;
}

.hbh-site-gate-entry *,
.hbh-site-gate-entry *::before,
.hbh-site-gate-entry *::after {
	box-sizing: border-box;
}

.hbh-site-gate-entry__panel {
	width: min(876px, 92vw);
	min-height: min(778px, calc(100vh - 88px));
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: clamp(28px, 5vw, 42px) clamp(24px, 6vw, 58px) clamp(30px, 5vw, 42px);
	border: 1px solid rgba(255, 255, 255, 0.58);
	border-radius: 10px;
	background-color: rgba(242, 244, 233, 0.82);
	background-image: linear-gradient(rgba(255, 255, 255, 0.45), rgba(235, 240, 225, 0.45)), var(--hbh-site-gate-bg-image);
	background-position: center top;
	background-repeat: repeat;
	box-shadow: 0 28px 90px rgba(0, 0, 0, 0.22);
	text-align: center;
}

.hbh-site-gate-entry__logo {
	width: min(310px, 58vw);
	height: auto;
	display: block;
	filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.16));
}

.hbh-site-gate-entry__hero {
	width: min(620px, 82vw);
	height: auto;
	display: block;
	margin: auto 0;
	filter: drop-shadow(0 18px 22px rgba(0, 0, 0, 0.18));
}

.hbh-site-gate-entry__button {
	appearance: none;
	border: 0;
	background: transparent;
	color: #2d6a3f;
	font-size: clamp(48px, 6vw, 62px);
	font-weight: 900;
	line-height: 1;
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 6px;
	text-shadow: 0 2px 0 rgba(255, 255, 255, 0.82), 0 7px 18px rgba(0, 0, 0, 0.12);
	transition: color 160ms ease, transform 160ms ease;
}

.hbh-site-gate-entry__button:hover,
.hbh-site-gate-entry__button:focus-visible {
	color: #b8860b;
	transform: translateY(-1px);
}

.hbh-site-gate-builder-logo,
.hbh-site-gate-builder-hero {
	display: block;
	margin-right: auto;
	margin-left: auto;
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
}

.hbh-site-gate-builder-logo {
	width: min(250px, 72vw);
	aspect-ratio: 1200 / 759;
	margin-top: 10px;
	filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.16));
}

.hbh-site-gate-builder-hero {
	width: min(500px, 86vw);
	aspect-ratio: 700 / 492;
	filter: drop-shadow(0 18px 22px rgba(0, 0, 0, 0.18));
}

.hbh-site-gate-modal[hidden] {
	display: none !important;
}

.hbh-site-gate-modal {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
}

.hbh-site-gate-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(12, 39, 28, 0.76);
	backdrop-filter: blur(4px);
}

.hbh-site-gate-modal__dialog {
	position: relative;
	width: min(100%, 430px);
	padding: 34px 30px 30px;
	border: 1px solid rgba(184, 134, 11, 0.28);
	border-radius: 14px;
	background: #fffaf0;
	color: #153b29;
	box-shadow: 0 28px 80px rgba(0, 0, 0, 0.32);
	text-align: center;
}

.hbh-site-gate-modal__close {
	position: absolute;
	top: 12px;
	right: 12px;
	width: 36px;
	height: 36px;
	border: 0;
	border-radius: 50%;
	background: rgba(45, 106, 63, 0.1);
	color: #153b29;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
}

.hbh-site-gate-modal__brand {
	margin-bottom: 10px;
	color: #b8860b;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.hbh-site-gate-modal h2 {
	margin: 0 0 10px;
	color: #153b29;
	font-size: 30px;
	line-height: 1.18;
}

.hbh-site-gate-modal p {
	margin: 0 0 22px;
	color: rgba(21, 59, 41, 0.78);
	font-size: 16px;
	line-height: 1.55;
}

.hbh-site-gate-modal label {
	display: block;
	margin-bottom: 8px;
	color: #153b29;
	font-size: 14px;
	font-weight: 800;
	text-align: left;
}

.hbh-site-gate-modal input[type="password"] {
	width: 100%;
	min-height: 52px;
	margin: 0 0 16px;
	padding: 12px 15px;
	border: 1px solid rgba(21, 59, 41, 0.22);
	border-radius: 8px;
	background: #ffffff;
	color: #153b29;
	font-size: 18px;
}

.hbh-site-gate-modal input[type="password"]:focus {
	border-color: #b8860b;
	outline: 3px solid rgba(184, 134, 11, 0.18);
}

.hbh-site-gate-modal button[type="submit"] {
	width: 100%;
	min-height: 54px;
	border: 0;
	border-radius: 8px;
	background: #2d6a3f;
	color: #ffffff;
	font-size: 17px;
	font-weight: 800;
	cursor: pointer;
	transition: background-color 160ms ease, transform 160ms ease;
}

.hbh-site-gate-modal button[type="submit"]:hover,
.hbh-site-gate-modal button[type="submit"]:focus {
	background: #b8860b;
	transform: translateY(-1px);
}

.hbh-site-gate-modal__error {
	margin: 0 0 16px;
	padding: 10px 12px;
	border: 1px solid rgba(139, 26, 26, 0.22);
	border-radius: 8px;
	background: rgba(139, 26, 26, 0.08);
	color: #8b1a1a;
	font-weight: 700;
	text-align: left;
}

body.hbh-site-gate-modal-open {
	overflow: hidden;
}

@media (max-width: 480px) {
	.hbh-site-gate-entry {
		padding: 22px 14px;
	}

	.hbh-site-gate-entry__panel {
		width: min(100%, 380px);
		min-height: calc(100vh - 44px);
		gap: 18px;
		padding: 24px 18px 26px;
	}

	.hbh-site-gate-entry__logo {
		width: min(260px, 76vw);
	}

	.hbh-site-gate-entry__hero {
		width: min(330px, 86vw);
	}

	.hbh-site-gate-entry__button {
		font-size: 44px;
	}

	.hbh-site-gate-modal {
		padding: 18px;
	}

	.hbh-site-gate-modal__dialog {
		padding: 30px 22px 24px;
	}

	.hbh-site-gate-modal h2 {
		font-size: 26px;
	}
}
