.hamburger {
	display: none;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	width: 40px;
	height: 40px;
	background: transparent;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: var(--radius);
	cursor: pointer;
	gap: 5px;
	padding: 0;
	flex-shrink: 0;
}

.hamburger span {
	display: block;
	width: 18px;
	height: 1.5px;
	background: var(--text);
	border-radius: 2px;
	transition:
		transform 0.25s ease,
		opacity 0.2s ease;
}

.hamburger.open span:nth-child(1) {
	transform: translateY(6.5px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
	opacity: 0;
	transform: scaleX(0);
}

.hamburger.open span:nth-child(3) {
	transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile drawer */
.mobile-menu {
	display: none;
	flex-direction: column;
	background: rgba(9, 9, 9, 0.98);
	border-top: 1px solid var(--border);
	padding: 1rem 1.5rem 1.75rem;
}

.mobile-menu.open {
	display: flex;
}

.mobile-nav-links {
	list-style: none;
	display: flex;
	flex-direction: column;
}

.mobile-nav-links a {
	display: block;
	font-family: var(--font-mono);
	font-size: 0.72rem;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--text-muted);
	padding: 0.85rem 0;
	border-bottom: 1px solid var(--border);
	transition: color 0.15s;
}

.mobile-nav-links a:hover {
	color: var(--text);
}

.mobile-nav-links li:last-child a {
	border-bottom: none;
}

.mobile-cta {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	margin-top: 1.25rem;
}

html {
	overflow-x: clip;
}

body {
	overflow-x: clip;
	max-width: 100%;
}

@media (max-width: 768px) {
	.nav-links,
	.nav-cta {
		display: none !important;
	}

	.hamburger {
		display: flex;
	}

	.hero {
		padding: 5rem 0 3rem;
	}

	.mssp-card {
		grid-template-columns: 1fr;
	}

	.footer-inner {
		grid-template-columns: 1fr;
	}

	.footer-links {
		flex-wrap: wrap;
		gap: 1rem;
	}

	.faq-grid {
		grid-template-columns: 1fr;
	}

	.page-contact {
		max-width: 100%;
		overflow-x: hidden;
	}

	/* Contact layout — stack to single column */
	.contact-wrap {
		display: flex !important;
		flex-direction: column !important;
		max-width: 100% !important;
		overflow-x: hidden !important;
		gap: 2.5rem;
		padding: 2rem 1.25rem;
	}

	/* Put the form first on mobile, info below */
	.contact-wrap > div:first-child {
		order: 1;
	}

	.contact-wrap .contact-form {
		order: 2;
	}

	/* Section title */
	.contact-title {
		font-size: clamp(2rem, 10vw, 2.75rem);
		margin-bottom: 1.5rem;
	}

	/* Form inputs — full width, bigger tap targets */
	.form-group input,
	.form-group textarea,
	.form-group select {
		font-size: 16px;
		/* prevents iOS auto-zoom */
		padding: 14px 16px;
	}

	.form-group textarea {
		height: 130px;
	}

	.form-submit {
		padding: 18px;
		font-size: 14px;
	}

	/* Spam row — keep it tight */
	.spam-row {
		white-space: normal;
		flex-wrap: wrap;
		gap: 6px;
	}

	.spam-input {
		width: 60px !important;
		min-width: 60px;
	}

	/* Footer inside contact page */
	.footer-inner {
		grid-template-columns: 1fr;
	}

	.footer-links {
		flex-wrap: wrap;
		gap: 1rem;
	}

	.footer-compliance {
		flex-wrap: wrap;
		gap: 0.5rem;
	}

	.footer-bottom {
		flex-direction: column;
		align-items: flex-start;
	}
}
