/* Lead form. Every selector is scoped under .al-lead-form so the card can be
   dropped into an Elementor HTML widget or any page without leaking styles. */

.al-lead-form {
	padding: 40px 32px;
	border: 1px solid rgba(17, 30, 49, 0.05);
	border-radius: 24px;
	background: #fff;
	box-shadow: 0 16px 50px -28px rgba(18, 38, 58, 0.45);
	font-family: var(--body-font, "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
	color: var(--ink, #111e31);
}

.al-lead-form--compact {
	padding: 28px 22px;
	border-radius: 16px;
}

.al-lead-form__head {
	margin-bottom: 22px;
}

.al-lead-form__title {
	margin: 0 0 8px;
	font-family: var(--heading-font, "Cormorant Garamond", Georgia, serif);
	font-size: clamp(26px, 2.4vw, 32px);
	font-weight: 500;
	line-height: 1.15;
	color: var(--ink, #111e31);
}

.al-lead-form__intro {
	margin: 0;
	font-size: 14px;
	font-weight: 300;
	line-height: 1.7;
	color: var(--muted, #5b6472);
}

.al-lead-form__form {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.al-lead-form__field {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.al-lead-form__label {
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--muted, #5b6472);
}

.al-lead-form__optional {
	font-size: 10px;
	font-weight: 400;
	letter-spacing: 0.1em;
	color: rgba(91, 100, 114, 0.7);
	text-transform: none;
}

.al-lead-form__input,
.al-lead-form__select {
	width: 100%;
	height: 48px;
	padding: 0 18px;
	border: 1px solid var(--line, rgba(17, 30, 49, 0.08));
	border-radius: 9999px;
	background-color: #fff;
	font-family: inherit;
	font-size: 14px;
	font-weight: 300;
	color: var(--ink, #111e31);
	box-shadow: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.al-lead-form__input::placeholder {
	color: rgba(17, 30, 49, 0.35);
}

.al-lead-form__select {
	appearance: none;
	-webkit-appearance: none;
	padding-right: 38px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a68244' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 16px center;
	background-size: 14px 14px;
	cursor: pointer;
}

.al-lead-form__input:focus,
.al-lead-form__select:focus {
	border-color: var(--gold, #a68244);
	outline: 2px solid var(--gold, #a68244);
	outline-offset: 2px;
}

.al-lead-form__phone {
	display: grid;
	grid-template-columns: 150px 1fr;
	gap: 8px;
}

.al-lead-form__field.is-invalid .al-lead-form__input,
.al-lead-form__field.is-invalid .al-lead-form__select {
	border-color: #8c2f2f;
}

.al-lead-form__error {
	margin: 0;
	font-size: 12px;
	line-height: 1.5;
	color: #8c2f2f;
}

.al-lead-form__submit {
	width: 100%;
	margin-top: 4px;
}

.al-lead-form__submit[disabled] {
	opacity: 0.7;
	cursor: default;
}

.al-lead-form__consent {
	margin: 0;
	font-size: 11px;
	font-weight: 300;
	line-height: 1.6;
	color: rgba(91, 100, 114, 0.85);
}

.al-lead-form__status {
	display: none;
	font-size: 13px;
	line-height: 1.6;
	color: #8c2f2f;
}

.al-lead-form__status.is-visible {
	display: block;
}

.al-lead-form__hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.al-lead-form__notice {
	margin: 0 0 18px;
	padding: 12px 16px;
	border-radius: 12px;
	font-size: 13px;
	line-height: 1.6;
}

.al-lead-form__notice--ok {
	background: rgba(166, 130, 68, 0.1);
	color: var(--ink, #111e31);
}

.al-lead-form__notice--error {
	background: rgba(140, 47, 47, 0.08);
	color: #8c2f2f;
}

.al-lead-form__done {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	padding: 12px 0 4px;
	text-align: center;
}

.al-lead-form__done-mark {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 9999px;
	background: rgba(166, 130, 68, 0.12);
	color: var(--gold, #a68244);
	font-size: 24px;
	line-height: 1;
}

.al-lead-form__done-text {
	margin: 0;
	font-size: 15px;
	font-weight: 300;
	line-height: 1.7;
	color: var(--ink, #111e31);
}

.al-lead-form__alt {
	font-size: 12px;
	letter-spacing: 0.08em;
	color: var(--gold, #a68244);
	text-decoration: none;
	border-bottom: 1px solid rgba(166, 130, 68, 0.4);
}

.al-lead-form__alt:hover,
.al-lead-form__alt:focus {
	color: var(--ink, #111e31);
	border-bottom-color: var(--ink, #111e31);
}

@media (max-width: 480px) {
	.al-lead-form {
		padding: 30px 22px;
	}

	.al-lead-form__phone {
		grid-template-columns: 1fr;
	}
}
