/* HCN lead forms — captcha + toast */
.hcn-captcha {
	margin: 12px 0 0;
}

.hcn-captcha__label {
	display: block;
	margin-bottom: 8px;
	font-size: 14px;
	font-weight: 600;
	color: inherit;
}

.hcn-captcha__req {
	color: #e85d04;
}

.hcn-captcha__row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}

.hcn-captcha__input {
	flex: 1 1 120px;
	min-width: 0;
	max-width: 200px;
	padding: 10px 12px;
	font-size: 15px;
	border: 1px solid #ccc;
	border-radius: 6px;
	background: #fff;
	color: #1a1a1a;
}

.hcn-captcha__img-btn {
	flex: 0 0 auto;
	padding: 0;
	border: 1px solid #ccc;
	border-radius: 6px;
	background: #fff;
	cursor: pointer;
	line-height: 0;
	overflow: hidden;
}

.hcn-captcha__img-btn:hover {
	border-color: #e85d04;
}

.hcn-captcha__img {
	display: block;
	width: 120px;
	height: 45px;
	vertical-align: middle;
}

.hcn-captcha__hint {
	margin: 6px 0 0;
	font-size: 12px;
	opacity: 0.75;
}

.footer .hcn-captcha__label,
.footer .hcn-captcha__hint {
	color: #ccc;
}

.footer .hcn-captcha__input {
	background: #1a1a1a;
	border-color: #444;
	color: #fff;
}

.footer .hcn-captcha__img-btn {
	border-color: #555;
	background: #222;
}

.contact-form .hcn-captcha {
	margin-top: 4px;
}

.prod-form .hcn-captcha {
	margin-top: 8px;
}

.prod-form .hcn-captcha__label {
	font-size: 13px;
	margin-bottom: 6px;
}

/* Toast — replaces browser alert */
.hcn-toast-host {
	position: fixed;
	inset: 0;
	z-index: 10080;
	pointer-events: none;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	padding: 24px 16px;
}

.hcn-toast {
	pointer-events: auto;
	max-width: 420px;
	width: 100%;
	padding: 18px 20px 16px;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 16px 48px rgba(0, 0, 0, 0.22);
	border: 1px solid #e8eaed;
	animation: hcn-toast-in 0.28s ease;
}

.hcn-toast--success {
	border-top: 4px solid #e85d04;
}

.hcn-toast--error {
	border-top: 4px solid #dc2626;
}

.hcn-toast__title {
	margin: 0 0 6px;
	font-size: 17px;
	font-weight: 700;
	color: #121212;
}

.hcn-toast__body {
	margin: 0 0 14px;
	font-size: 14px;
	line-height: 1.5;
	color: #4b5563;
}

.hcn-toast__actions {
	display: flex;
	justify-content: flex-end;
	gap: 10px;
}

.hcn-toast__btn {
	padding: 8px 18px;
	font-size: 14px;
	font-weight: 600;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	background: #e85d04;
	color: #fff;
}

.hcn-toast__btn:hover {
	background: #c45500;
}

.hcn-toast__backdrop {
	position: fixed;
	inset: 0;
	z-index: 10079;
	background: rgba(15, 23, 42, 0.45);
	pointer-events: auto;
	animation: hcn-toast-fade 0.25s ease;
}

@keyframes hcn-toast-in {
	from {
		opacity: 0;
		transform: translateY(-12px) scale(0.98);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

@keyframes hcn-toast-fade {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

@media (max-width: 480px) {
	.hcn-toast-host {
		align-items: center;
		padding: 16px;
	}
}