/* ZCL Contact — 2026 card layout, glass surface, teal accent (matches zcl-store) */

/* Match .zcl-legal-doc.zcl-contact (52rem) and theme wide column */
.zcl-contact-form-wrap {
	width: 100%;
	max-width: min(52rem, 100%);
	margin: clamp(1.5rem, 4vw, 2.5rem) auto clamp(2rem, 5vw, 3.5rem);
	box-sizing: border-box;
	position: relative;
}

.zcl-contact-form-card {
	position: relative;
	border-radius: clamp(12px, 2.5vw, 20px);
	padding: clamp(1.35rem, 4vw, 2.25rem);
	background: linear-gradient(
		145deg,
		rgba(22, 22, 26, 0.92) 0%,
		rgba(14, 14, 16, 0.88) 100%
	);
	border: 1px solid var(--zcl-border-strong, rgba(255, 255, 255, 0.12));
	box-shadow:
		0 1px 0 rgba(255, 255, 255, 0.06) inset,
		0 24px 48px -24px rgba(0, 0, 0, 0.55),
		0 0 0 1px rgba(0, 0, 0, 0.2);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	overflow: hidden;
}

.zcl-contact-form-card__glow {
	position: absolute;
	top: -40%;
	right: -20%;
	width: min(55%, 280px);
	height: min(55%, 280px);
	border-radius: 50%;
	background: radial-gradient(circle, rgba(45, 212, 191, 0.22) 0%, transparent 70%);
	pointer-events: none;
	opacity: 0.9;
}

.zcl-contact-form__head {
	position: relative;
	margin-bottom: clamp(1.25rem, 3vw, 1.75rem);
	padding-bottom: 1.25rem;
	border-bottom: 1px solid var(--zcl-border, rgba(255, 255, 255, 0.08));
}

.zcl-contact-form__eyebrow {
	margin: 0 0 0.35rem;
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--zcl-accent, #2dd4bf);
	opacity: 0.95;
}

.zcl-contact-form__title {
	margin: 0 0 0.5rem;
	font-size: clamp(1.35rem, 3.5vw, 1.65rem);
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1.2;
	color: var(--zcl-text, #fafafa);
}

.zcl-contact-form__sub {
	margin: 0;
	font-size: 0.9375rem;
	line-height: 1.55;
	color: var(--zcl-muted, #a1a1aa);
	max-width: 36ch;
}

.zcl-contact-form__grid {
	display: grid;
	gap: clamp(0.85rem, 2.5vw, 1.1rem);
}

@media (min-width: 560px) {
	.zcl-contact-form__grid--duo {
		grid-template-columns: 1fr 1fr;
		align-items: start;
	}
}

.zcl-contact-form__field {
	margin: 0;
}

.zcl-contact-form__label {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 0.35rem 0.5rem;
	font-size: 0.8125rem;
	font-weight: 600;
	margin-bottom: 0.4rem;
	color: var(--zcl-text, #fafafa);
}

.zcl-contact-form__req {
	color: var(--zcl-accent, #2dd4bf);
	font-weight: 700;
}

.zcl-contact-form__hint {
	font-weight: 500;
	opacity: 0.55;
	font-size: 0.75rem;
	text-transform: lowercase;
}

.zcl-contact-form__input,
.zcl-contact-form__textarea,
.zcl-contact-form__select {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	padding: 0.75rem 0.9rem;
	font-size: 0.9375rem;
	line-height: 1.45;
	border-radius: 10px;
	border: 1px solid var(--zcl-border-strong, rgba(255, 255, 255, 0.14));
	background: var(--zcl-field-bg, rgba(13, 13, 15, 0.78));
	box-shadow: var(--zcl-field-inner-highlight, inset 0 1px 0 rgba(255, 255, 255, 0.06));
	color: var(--zcl-text, #fafafa);
	font-family: inherit;
	transition:
		border-color 0.18s ease,
		box-shadow 0.18s ease,
		background 0.18s ease;
}

.zcl-contact-form__input::placeholder,
.zcl-contact-form__textarea::placeholder {
	color: rgba(161, 161, 170, 0.75);
}

.zcl-contact-form__input:hover,
.zcl-contact-form__textarea:hover,
.zcl-contact-form__select:hover {
	border-color: rgba(255, 255, 255, 0.2);
}

.zcl-contact-form__input:focus,
.zcl-contact-form__textarea:focus,
.zcl-contact-form__select:focus {
	outline: none;
	border-color: rgba(45, 212, 191, 0.5);
	box-shadow:
		var(--zcl-field-inner-highlight, inset 0 1px 0 rgba(255, 255, 255, 0.06)),
		var(--zcl-field-focus-ring, 0 0 0 3px rgba(45, 212, 191, 0.28));
}

.zcl-contact-form__textarea {
	resize: vertical;
	min-height: 9rem;
}

.zcl-contact-form__select-wrap {
	position: relative;
}

.zcl-contact-form__select-wrap::after {
	content: "";
	position: absolute;
	right: 0.85rem;
	top: 50%;
	width: 0.55rem;
	height: 0.55rem;
	margin-top: -0.2rem;
	border-right: 2px solid var(--zcl-muted, #a1a1aa);
	border-bottom: 2px solid var(--zcl-muted, #a1a1aa);
	transform: rotate(45deg);
	pointer-events: none;
	opacity: 0.85;
}

.zcl-contact-form__select {
	appearance: none;
	padding-right: 2.25rem;
	cursor: pointer;
}

.zcl-contact-form__hp {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.zcl-contact-form__fineprint {
	font-size: 0.75rem;
	line-height: 1.55;
	color: var(--zcl-muted, #a1a1aa);
	margin: 1.25rem 0 1rem;
	max-width: 52ch;
}

.zcl-contact-form__fineprint a {
	color: var(--zcl-accent-hover, #5eead4);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.zcl-contact-form__actions {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0.85rem;
	margin-top: 0.25rem;
}

.zcl-contact-form__submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 3rem;
	padding: 0 1.5rem;
	font-size: 0.9375rem;
	font-weight: 600;
	font-family: inherit;
	letter-spacing: -0.01em;
	border: none;
	border-radius: 10px;
	cursor: pointer;
	color: #061010;
	background: linear-gradient(135deg, #2dd4bf 0%, #14b8a6 50%, #0d9488 100%);
	box-shadow:
		0 1px 0 rgba(255, 255, 255, 0.25) inset,
		0 8px 24px -8px rgba(45, 212, 191, 0.45);
	transition:
		transform 0.15s ease,
		box-shadow 0.2s ease,
		filter 0.15s ease;
}

.zcl-contact-form__submit:hover:not(:disabled) {
	transform: translateY(-1px);
	filter: brightness(1.05);
	box-shadow:
		0 1px 0 rgba(255, 255, 255, 0.28) inset,
		0 12px 28px -8px rgba(45, 212, 191, 0.5);
}

.zcl-contact-form__submit:active:not(:disabled) {
	transform: translateY(0);
}

.zcl-contact-form__submit:focus-visible {
	outline: 2px solid var(--zcl-accent-hover, #5eead4);
	outline-offset: 3px;
}

.zcl-contact-form__submit:disabled {
	opacity: 0.65;
	cursor: not-allowed;
	transform: none;
}

.zcl-contact-form__submit.is-loading {
	position: relative;
	pointer-events: none;
}

.zcl-contact-form__status {
	min-height: 1.35rem;
	margin: 0;
	font-size: 0.875rem;
	line-height: 1.5;
	padding: 0.65rem 0.85rem;
	border-radius: 10px;
	transition: background 0.2s ease, color 0.2s ease;
}

.zcl-contact-form__status:not(:empty) {
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid var(--zcl-border, rgba(255, 255, 255, 0.08));
}

.zcl-contact-form__status.is-success {
	color: var(--zcl-accent-hover, #5eead4);
	background: rgba(45, 212, 191, 0.08);
	border-color: rgba(45, 212, 191, 0.22);
}

.zcl-contact-form__status.is-error {
	color: var(--zcl-danger, #fb7185);
	background: rgba(251, 113, 133, 0.08);
	border-color: rgba(251, 113, 133, 0.22);
}

/* Light storefront body (if used) */
body.zcl-front-store .zcl-contact-form-card {
	background: #ffffff;
	border-color: #e5e5e5;
	box-shadow: 0 20px 40px -28px rgba(15, 23, 42, 0.18);
}

body.zcl-front-store .zcl-contact-form-card__glow {
	background: radial-gradient(circle, rgba(15, 118, 110, 0.12) 0%, transparent 70%);
}

body.zcl-front-store .zcl-contact-form__head {
	border-bottom-color: #e5e5e5;
}

body.zcl-front-store .zcl-contact-form__title {
	color: #0a0a0a;
}

body.zcl-front-store .zcl-contact-form__sub {
	color: #525252;
}

body.zcl-front-store .zcl-contact-form__label {
	color: #171717;
}

body.zcl-front-store .zcl-contact-form__input,
body.zcl-front-store .zcl-contact-form__textarea,
body.zcl-front-store .zcl-contact-form__select {
	background: #fafafa;
	border-color: #e5e5e5;
	color: #171717;
}

body.zcl-front-store .zcl-contact-form__input:focus,
body.zcl-front-store .zcl-contact-form__textarea:focus,
body.zcl-front-store .zcl-contact-form__select:focus {
	border-color: #0f766e;
	box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.2);
}

body.zcl-front-store .zcl-contact-form__fineprint {
	color: #737373;
}

body.zcl-front-store .zcl-contact-form__submit {
	color: #ffffff;
	background: linear-gradient(135deg, #0f766e 0%, #0d9488 100%);
	box-shadow: 0 8px 24px -8px rgba(15, 118, 110, 0.4);
}

body.zcl-front-store .zcl-contact-form__status:not(:empty) {
	background: #f5f5f5;
	border-color: #e5e5e5;
}
