.gk-contact-hub[hidden] {
	display: none;
}

.gk-contact-hub {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: grid;
	place-items: center;
	padding: 24px;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.gk-contact-hub__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, 0.54);
}

.gk-contact-hub__dialog {
	position: relative;
	width: min(620px, 100%);
	max-height: min(760px, calc(100vh - 32px));
	overflow: auto;
	padding: 28px;
	border: 1px solid #e9d5ff;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 4px 24px rgba(196, 149, 255, 0.12);
	color: #475569;
}

.gk-contact-hub__dialog:focus {
	outline: 3px solid rgba(196, 149, 255, 0.42);
	outline-offset: 4px;
}

.gk-contact-hub__close {
	position: absolute;
	top: 14px;
	right: 14px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: 2px solid #e2e8f0;
	border-radius: 50%;
	background: #fff;
	color: #1e293b;
	font-size: 30px;
	line-height: 1;
	cursor: pointer;
}

.gk-contact-hub__close:hover,
.gk-contact-hub__close:focus-visible {
	border-color: #c495ff;
	color: #c495ff;
	outline: none;
}

.gk-contact-hub__header {
	padding-right: 44px;
	margin-bottom: 18px;
}

.gk-contact-hub.is-success .gk-contact-hub__header {
	display: none;
}

.gk-contact-hub__eyebrow {
	margin: 0 0 4px;
	color: #c495ff;
	font-size: 0.82rem;
	font-weight: 700;
	text-transform: uppercase;
}

.gk-contact-hub__header h2 {
	margin: 0;
	color: #1e293b;
	font-size: 1.45rem;
	line-height: 1.2;
	letter-spacing: 0;
}

.gk-contact-hub__lead {
	margin: 8px 0 0;
	color: #64748b;
	font-size: 0.96rem;
	line-height: 1.45;
}

.gk-contact-hub__form {
	display: grid;
	gap: 14px;
}

.gk-contact-hub__form[hidden] {
	display: none;
}

.gk-contact-hub__step {
	display: grid;
	gap: 14px;
}

.gk-contact-hub__step[hidden],
.gk-contact-hub__success[hidden] {
	display: none;
}

.gk-contact-hub__field {
	display: grid;
	gap: 6px;
}

.gk-contact-hub__field label,
.gk-contact-hub__channels legend {
	color: #1e293b;
	font-size: 0.92rem;
	font-weight: 700;
}

.gk-contact-hub__field input,
.gk-contact-hub__field textarea {
	width: 100%;
	border: 2px solid #e2e8f0;
	border-radius: 12px;
	background: #fff;
	color: #1e293b;
	font: inherit;
	padding: 0.875rem 1rem;
}

.gk-contact-hub__field textarea {
	resize: vertical;
	min-height: 88px;
}

.gk-contact-hub__field input:focus,
.gk-contact-hub__field textarea:focus {
	border-color: #c495ff;
	outline: none;
	box-shadow: 0 0 0 3px rgba(196, 149, 255, 0.18);
}

.gk-contact-hub__field input::placeholder,
.gk-contact-hub__field textarea::placeholder {
	color: #94a3b8;
}

.gk-contact-hub__field.is-error input {
	border-color: #ef4444;
}

.gk-contact-hub__error {
	margin: 0;
	color: #ef4444;
	font-size: 0.86rem;
}

.gk-contact-hub__channels {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	border: 0;
}

.gk-contact-hub__channels legend {
	width: 100%;
	margin-bottom: 2px;
}

.gk-contact-hub__channels label {
	display: inline-flex;
	align-items: center;
	min-height: 42px;
	cursor: pointer;
}

.gk-contact-hub__channels input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.gk-contact-hub__channels span {
	display: inline-flex;
	align-items: center;
	min-height: 42px;
	padding: 0.55rem 0.85rem;
	border: 2px solid #e2e8f0;
	border-radius: 12px;
	background: #fff;
	color: #475569;
	font-weight: 700;
}

.gk-contact-hub__channels input:checked + span {
	border-color: #c495ff;
	background: #f3e8ff;
	color: #1e293b;
}

.gk-contact-hub__channels input:focus-visible + span {
	outline: 3px solid rgba(196, 149, 255, 0.32);
	outline-offset: 2px;
}

.gk-contact-hub__submit {
	min-height: 52px;
	border: 2px solid #c495ff;
	border-radius: 12px;
	background: #c495ff;
	color: #fff;
	font: inherit;
	font-weight: 800;
	padding: 0.875rem 1.5rem;
	cursor: pointer;
}

.gk-contact-hub__submit:hover,
.gk-contact-hub__submit:focus-visible {
	background: #fff;
	color: #c495ff;
	outline: none;
}

.gk-contact-hub__submit:disabled {
	cursor: progress;
	opacity: 0.72;
}

.gk-contact-hub__status {
	min-height: 22px;
	margin: 0;
	color: #64748b;
	font-size: 0.92rem;
}

.gk-contact-hub__status.is-success {
	color: #22c55e;
	font-weight: 700;
}

.gk-contact-hub__status.is-error {
	color: #ef4444;
	font-weight: 700;
}

.gk-contact-hub__success {
	display: grid;
	gap: 10px;
}

.gk-contact-hub__success h3 {
	margin: 0;
	color: #1e293b;
	font-size: 1.25rem;
	line-height: 1.25;
	letter-spacing: 0;
}

.gk-contact-hub__success p {
	margin: 0;
	color: #475569;
	line-height: 1.5;
}

.gk-contact-hub__quick {
	display: grid;
	gap: 8px;
	margin-top: 2px;
	padding-top: 14px;
	border-top: 1px solid #e9d5ff;
}

.gk-contact-hub__quick p {
	margin: 0;
	color: #64748b;
	font-size: 0.88rem;
	line-height: 1.4;
	text-align: center;
}

.gk-contact-hub__direct {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 8px;
	margin-top: 8px;
	padding-top: 14px;
	border-top: 1px solid #e9d5ff;
}

.gk-contact-hub__direct a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	border: 2px solid #e2e8f0;
	border-radius: 12px;
	background: #fff;
	color: #1e293b;
	font-weight: 800;
	text-align: center;
	text-decoration: none;
}

.gk-contact-hub__quick .gk-contact-hub__direct {
	margin-top: 0;
	padding-top: 0;
	border-top: 0;
}

.gk-contact-hub__quick .gk-contact-hub__direct a {
	min-height: 40px;
	font-size: 0.9rem;
}

.gk-contact-hub__direct a:hover,
.gk-contact-hub__direct a:focus-visible {
	border-color: #c495ff;
	color: #c495ff;
	outline: none;
}

body.gk-contact-hub-open {
	overflow: hidden;
}

@media (max-width: 640px) {
	.gk-contact-hub {
		padding: 10px;
		align-items: end;
	}

	.gk-contact-hub__dialog {
		max-height: calc(100vh - 20px);
		padding: 22px;
	}

	.gk-contact-hub__header h2 {
		font-size: 1.22rem;
	}

	.gk-contact-hub__direct {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (prefers-reduced-motion: no-preference) {
	.gk-contact-hub__dialog {
		animation: gk-contact-hub-in 0.18s ease-out;
	}
}

@keyframes gk-contact-hub-in {
	from {
		opacity: 0;
		transform: translateY(10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}
