/* CSS Document */
.contact-wrap{
	max-width: 900px;
	margin: 56px auto 0;
}
.contact-card{
	background: var(--color-bg-card);
	border: 1px solid var(--color-border);
	border-radius: 16px;
	padding: 32px;
	box-shadow: 0 10px 30px rgba(31, 29, 24, 0.06);
}
.contact-grid{
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
	margin-top: 14px;
}
.contact-field{
	display:flex;
	flex-direction:column;
	gap: 8px;
}
.contact-field.full{
	grid-column: 1 / -1;
}
.contact-card label{
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: var(--color-text-secondary);
}
.contact-card input,
.contact-card textarea{
	width: 100%;
	border: 1px solid var(--color-border);
	border-radius: 12px;
	padding: 12px 14px;
	font-size: 15px;
	background: #fff;
	color: var(--color-text-primary);
}
.contact-card textarea{
	min-height: 160px;
	resize: vertical;
	line-height: 1.8;
}
.contact-card input:focus,
.contact-card textarea:focus{
	outline: none;
	border-color: var(--color-accent);
	box-shadow: 0 0 0 2px rgba(79, 107, 87, 0.15);
}
.contact-actions{
	display:flex;
	justify-content:flex-start;
	gap: 12px;
	margin-top: 18px;
	flex-wrap: wrap;
}
.contact-note{
	margin-top: 14px;
	color: var(--color-text-muted);
	font-size: 14px;
	line-height: 1.8;
}
.alert{
	border: 1px solid var(--color-border);
	border-radius: 14px;
	padding: 14px 16px;
	margin-top: 18px;
	background: rgba(255,255,255,0.55);
}
.alert.success{
	border-color: rgba(79, 107, 87, 0.25);
	background: rgba(79, 107, 87, 0.08);
}
.alert.error{
	border-color: rgba(209, 127, 1, 0.30);
	background: rgba(209, 127, 1, 0.10);
}
/* Honeypot hidden field */
.hp{ position:absolute; left:-9999px; top:auto; width:1px; height:1px; overflow:hidden; }

/* Modal Overlay */
.modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.6);
	display: none;
	align-items: center;
	justify-content: center;
	z-index: 9999;
	opacity: 0;
	transition: opacity 0.3s ease;
	backdrop-filter: blur(4px);
}
.modal-content {
	background: white;
	border-radius: 20px;
	padding: 48px 40px;
	max-width: 500px;
	width: 90%;
	text-align: center;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
	transform: scale(0.95);
	animation: modalSlideIn 0.3s ease forwards;
}
@keyframes modalSlideIn {
	to {
		transform: scale(1);
	}
}
.modal-icon {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 24px;
	font-size: 48px;
	font-weight: bold;
}
.modal-content.success .modal-icon {
	background: rgba(79, 107, 87, 0.15);
	color: var(--color-accent);
}
.modal-content.error .modal-icon {
	background: rgba(209, 127, 1, 0.15);
	color: #d17f01;
}
.modal-content h2 {
	font-family: var(--font-display);
	font-size: 32px;
	margin: 0 0 16px 0;
	color: var(--color-text-primary);
}
.modal-content p {
	font-size: 16px;
	line-height: 1.7;
	color: var(--color-text-secondary);
	margin: 0 0 32px 0;
}
.modal-content .error-list {
	text-align: left;
	margin: 0 auto 32px;
	padding-left: 24px;
	max-width: 400px;
	color: var(--color-text-secondary);
	line-height: 1.8;
}
.modal-content .error-list li {
	margin-bottom: 8px;
}
.modal-content button {
	min-width: 140px;
}

@media (max-width: 768px){
	.contact-grid{ grid-template-columns: 1fr; }
	.modal-content {
		padding: 36px 28px;
	}
	.modal-content h2 {
		font-size: 28px;
	}
	.modal-icon {
		width: 70px;
		height: 70px;
		font-size: 40px;
	}
}