/* Contact form page — polished dark card UI */

.contact-page {
	max-width: 640px;
	margin: 1.5rem auto 3rem;
	padding: 0 1rem;
}

.contact-card {
	background: linear-gradient(160deg, #1a2330 0%, #141b24 100%);
	border: 1px solid #3d4a57;
	border-radius: 14px;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
	padding: 1.75rem 1.5rem 1.5rem;
}

.contact-card h1 {
	margin: 0 0 0.35rem;
	font-size: 1.55rem;
	font-weight: 700;
	color: #ffd700;
	letter-spacing: 0.02em;
}

.contact-lead {
	margin: 0 0 1.35rem;
	color: #9aa5b1;
	font-size: 0.95rem;
	line-height: 1.5;
}

.contact-field {
	margin-bottom: 1.1rem;
}

.contact-field label {
	display: block;
	margin-bottom: 0.35rem;
	font-size: 0.88rem;
	font-weight: 600;
	color: #e9ecef;
}

.contact-field .hint {
	font-weight: 400;
	color: #7a8694;
	font-size: 0.8rem;
}

.contact-field input[type="text"],
.contact-field input[type="email"],
.contact-field textarea {
	width: 100%;
	box-sizing: border-box;
	background: #0d1218;
	color: #e9ecef;
	border: 1px solid #3d4a57;
	border-radius: 8px;
	padding: 0.7rem 0.85rem;
	font-size: 1rem;
	font-family: inherit;
	line-height: 1.4;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.contact-field input:focus,
.contact-field textarea:focus {
	outline: none;
	border-color: #4dabf7;
	box-shadow: 0 0 0 3px rgba(77, 171, 247, 0.18);
}

.contact-field textarea {
	min-height: 160px;
	resize: vertical;
}

.contact-turnstile-wrap {
	margin: 1rem 0 1.25rem;
	min-height: 65px;
}

.contact-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	align-items: center;
}

.contact-submit {
	appearance: none;
	border: 0;
	border-radius: 8px;
	padding: 0.75rem 1.4rem;
	font-size: 1rem;
	font-weight: 700;
	cursor: pointer;
	color: #121820;
	background: linear-gradient(180deg, #ffd700 0%, #e6c200 100%);
	box-shadow: 0 2px 8px rgba(255, 215, 0, 0.25);
	transition: filter 0.15s ease, transform 0.1s ease;
}

.contact-submit:hover:not(:disabled) {
	filter: brightness(1.06);
}

.contact-submit:active:not(:disabled) {
	transform: translateY(1px);
}

.contact-submit:disabled {
	opacity: 0.45;
	cursor: not-allowed;
	filter: grayscale(0.3);
}

.contact-status {
	font-size: 0.85rem;
	color: #8b96a3;
}

.contact-alert {
	border-radius: 10px;
	padding: 1rem 1.15rem;
	margin-bottom: 1.25rem;
	font-size: 0.95rem;
	line-height: 1.45;
}

.contact-alert-ok {
	background: rgba(25, 135, 84, 0.18);
	border: 1px solid #198754;
	color: #a3e4c1;
}

.contact-alert-err {
	background: rgba(220, 53, 69, 0.15);
	border: 1px solid #dc3545;
	color: #f5c2c7;
}

.contact-alert a {
	color: #4dabf7;
}

/* Honeypots: off-screen, not display:none (some bots skip display:none) */
.contact-hp {
	position: absolute !important;
	left: -10000px !important;
	top: auto !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

.contact-footer-note {
	margin-top: 1rem;
	font-size: 0.8rem;
	color: #6c757d;
	text-align: center;
}

@media (max-width: 480px) {
	.contact-card {
		padding: 1.25rem 1rem 1.15rem;
		border-radius: 10px;
	}
	.contact-card h1 {
		font-size: 1.3rem;
	}
}
