/* ─── Contact page ─────────────────────────────────────────────────────────── */

.contact-page {
	background: #0a0a0a;
	min-height: 100vh;
	padding: 5rem 2rem 7rem;
}

.contact-page__inner {
	max-width: 680px;
	margin: 0 auto;
}

/* ─── Header ──────────────────────────────────────────────────────────────── */

.contact-page__label {
	display: block;
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #3f3f46;
	margin-bottom: 0.75rem;
}

.contact-page__title {
	font-size: clamp(1.75rem, 4vw, 2.5rem);
	font-weight: 800;
	letter-spacing: -0.03em;
	color: #fafafa;
	margin: 0 0 0.75rem;
	line-height: 1.1;
}

.contact-page__sub {
	font-size: 0.9375rem;
	color: #52525b;
	margin: 0 0 3rem;
	line-height: 1.65;
}

/* ─── Notice ──────────────────────────────────────────────────────────────── */

.contact-notice {
	padding: 1rem 1.25rem;
	border-radius: 8px;
	font-size: 0.875rem;
	margin-bottom: 1.75rem;
	line-height: 1.5;
}

.contact-notice.is-success {
	background: rgba(34,197,94,0.1);
	border: 1px solid rgba(34,197,94,0.25);
	color: #4ade80;
}

.contact-notice.is-error {
	background: rgba(239,68,68,0.1);
	border: 1px solid rgba(239,68,68,0.25);
	color: #f87171;
}

/* ─── Form layout ─────────────────────────────────────────────────────────── */

.contact-form {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.contact-form__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.25rem;
}

@media (max-width: 540px) {
	.contact-form__row { grid-template-columns: 1fr; }
}

/* ─── Fields ──────────────────────────────────────────────────────────────── */

.contact-field {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.contact-label {
	font-size: 0.8125rem;
	font-weight: 600;
	color: #a1a1aa;
}

.contact-input {
	background: #111113;
	border: 1px solid #27272a;
	border-radius: 8px;
	padding: 0.6875rem 1rem;
	font-size: 0.9375rem;
	color: #e4e4e7;
	font-family: inherit;
	width: 100%;
	box-sizing: border-box;
	transition: border-color 0.15s, box-shadow 0.15s;
	appearance: none;
	-webkit-appearance: none;
}

.contact-input::placeholder { color: #3f3f46; }

.contact-input:focus {
	outline: none;
	border-color: #ef4444;
	box-shadow: 0 0 0 3px rgba(239,68,68,0.12);
}

.contact-select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2352525b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 1rem center;
	padding-right: 2.5rem;
	cursor: pointer;
}

.contact-select option { background: #111113; }

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

.contact-char-count {
	font-size: 0.75rem;
	color: #3f3f46;
	text-align: right;
}

/* ─── Honeypot (must stay visually hidden; display:none lets some bots skip) */

.contact-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
	opacity: 0;
	pointer-events: none;
}

/* ─── Submit ──────────────────────────────────────────────────────────────── */

.contact-form__footer {
	display: flex;
	justify-content: flex-end;
}

.contact-submit {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.6875rem 1.75rem;
	background: #ef4444;
	color: #fff;
	border: none;
	border-radius: 8px;
	font-size: 0.9375rem;
	font-weight: 600;
	font-family: inherit;
	cursor: pointer;
	transition: background 0.15s;
}

.contact-submit:hover:not(:disabled) { background: #dc2626; }
.contact-submit:disabled { opacity: 0.6; cursor: not-allowed; }

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

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

