.alj-contact {
	--alj-green: rgb(16, 111, 95);
	--alj-green-dark: rgb(10, 80, 68);
	--alj-ink: rgb(40, 44, 43);
	--alj-muted: rgb(117, 128, 126);
	--alj-border: rgba(16, 111, 95, 0.18);

	background: #fff;
	border-radius: 18px;
	box-shadow: 0 18px 45px rgba(10, 40, 34, 0.18);
	padding: 32px;
	max-width: 640px;
	width: 100%;
	box-sizing: border-box;
	text-align: left;
}

.alj-contact *,
.alj-contact *::before,
.alj-contact *::after {
	box-sizing: border-box;
}

.alj-contact__title {
	margin: 0 0 6px;
	font-size: 1.5em;
	color: var(--alj-green);
}

.alj-contact__subtitle {
	margin: 0 0 22px;
	color: var(--alj-muted);
	font-size: 0.95em;
}

.alj-contact__notice {
	display: none;
	margin-bottom: 20px;
	padding: 14px 18px;
	border-radius: 10px;
	font-size: 0.95em;
	line-height: 1.5;
}

.alj-contact__notice.is-visible {
	display: block;
}

.alj-contact__notice--success {
	background: rgba(92, 164, 83, 0.14);
	border-left: 4px solid rgb(92, 164, 83);
	color: rgb(44, 78, 39);
}

.alj-contact__notice--error {
	background: rgba(200, 70, 60, 0.12);
	border-left: 4px solid rgb(192, 57, 43);
	color: rgb(120, 35, 28);
}

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

.alj-contact__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.alj-contact__field--full {
	grid-column: 1 / -1;
}

.alj-contact__field label,
.alj-contact__consent label {
	display: block;
	margin-bottom: 6px;
	font-size: 0.88em;
	font-weight: 600;
	letter-spacing: 0.2px;
	color: var(--alj-ink);
}

.alj-contact__required {
	color: var(--alj-green);
}

.alj-contact input[type="text"],
.alj-contact input[type="email"],
.alj-contact input[type="tel"],
.alj-contact select,
.alj-contact textarea {
	width: 100%;
	padding: 12px 14px;
	font: inherit;
	font-size: 0.95em;
	color: var(--alj-ink);
	background: #fbfcfb;
	border: 1px solid var(--alj-border);
	border-radius: 10px;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.alj-contact textarea {
	resize: vertical;
	min-height: 140px;
}

.alj-contact input:focus,
.alj-contact select:focus,
.alj-contact textarea:focus {
	outline: none;
	background: #fff;
	border-color: var(--alj-green);
	box-shadow: 0 0 0 3px rgba(16, 111, 95, 0.14);
}

.alj-contact .has-error input,
.alj-contact .has-error select,
.alj-contact .has-error textarea {
	border-color: rgb(192, 57, 43);
	box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.12);
}

.alj-contact__error {
	display: none;
	margin-top: 5px;
	font-size: 0.8em;
	color: rgb(192, 57, 43);
}

.alj-contact .has-error .alj-contact__error {
	display: block;
}

.alj-contact__consent {
	display: grid;
	grid-template-columns: auto 1fr;
	align-items: start;
	gap: 10px;
	margin: 20px 0 4px;
}

.alj-contact__consent input {
	width: 18px;
	height: 18px;
	margin-top: 2px;
	accent-color: var(--alj-green);
}

.alj-contact__consent label {
	margin: 0;
	font-weight: 400;
	font-size: 0.85em;
	line-height: 1.5;
	color: var(--alj-muted);
}

.alj-contact__consent .alj-contact__error {
	grid-column: 1 / -1;
}

.alj-contact__submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin-top: 18px;
	padding: 14px 34px;
	font: inherit;
	font-size: 0.9em;
	font-weight: 600;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: #fff;
	background: var(--alj-green);
	border: 0;
	border-radius: 10px;
	cursor: pointer;
	transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.alj-contact__submit:hover:not(:disabled) {
	background: var(--alj-green-dark);
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(16, 111, 95, 0.3);
}

.alj-contact__submit:disabled {
	opacity: 0.7;
	cursor: progress;
}

.alj-contact__spinner {
	display: none;
	width: 16px;
	height: 16px;
	border: 2px solid rgba(255, 255, 255, 0.4);
	border-top-color: #fff;
	border-radius: 50%;
	animation: alj-contact-spin 0.7s linear infinite;
}

.alj-contact.is-sending .alj-contact__spinner {
	display: block;
}

@keyframes alj-contact-spin {
	to {
		transform: rotate(360deg);
	}
}

.alj-contact__legal {
	margin: 14px 0 0;
	font-size: 0.8em;
	color: var(--alj-muted);
}

.alj-contact.is-sent .alj-contact__form {
	display: none;
}

@media (max-width: 600px) {
	.alj-contact {
		padding: 24px 20px;
		border-radius: 14px;
	}

	.alj-contact__grid {
		grid-template-columns: minmax(0, 1fr);
	}
}
