.wx-contact {
	width: min(1720px, calc(100% - (var(--wx-pad) * 2)));
	margin: 0 auto;
	padding: 8.5rem 0 5rem;
}

.wx-contact__crumb {
	margin: 0 0 4.5rem;
	font-family: var(--wx-mono);
	font-size: 12px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--wx-muted);
}

.wx-contact__crumb a {
	color: inherit;
	text-decoration: none;
}

.wx-contact__crumb span {
	margin: 0 0.35rem;
}

.wx-contact__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 3rem 4rem;
	align-items: start;
}

.wx-contact__side {
	position: sticky;
	top: 8.5rem;
}

.wx-contact h1 {
	margin: 0;
	font-size: clamp(4.2rem, 6.4vw, 7.5rem);
	font-weight: 600;
	line-height: 0.92;
	letter-spacing: -0.045em;
}

.wx-contact__lead {
	margin: 0 0 2.6rem;
	max-width: 38rem;
	font-size: 24px;
	line-height: 1.4;
}

.wx-contact__lead strong {
	display: block;
	margin-bottom: 0.35rem;
	color: var(--wx-text);
	font-weight: 700;
}

.wx-contact__lead span {
	color: var(--wx-muted);
	font-weight: 500;
}

.wx-contact .wx-form {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.6rem 1.8rem;
	max-width: none;
}

.wx-contact .wx-field {
	display: block;
}

.wx-contact .wx-field--full,
.wx-contact__pairs,
.wx-contact__send {
	grid-column: 1 / -1;
}

.wx-contact .wx-form input,
.wx-contact .wx-form textarea,
.wx-contact .wx-form select {
	width: 100%;
	background: transparent;
	border: 0;
	border-bottom: 1px solid var(--wx-line);
	border-radius: 0;
	padding: 12px 2px;
	color: var(--wx-text);
	font: 400 20px/1.4 var(--wx-font, inherit);
}

.wx-contact .wx-form textarea {
	min-height: 7rem;
	resize: vertical;
}

.wx-contact .wx-form input::placeholder,
.wx-contact .wx-form textarea::placeholder {
	color: var(--wx-muted);
}

.wx-contact__pairs {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.4rem;
}

.wx-contact fieldset {
	margin: 0;
	padding: 0;
	border: 0;
	min-width: 0;
}

.wx-contact legend {
	margin: 0 0 0.7rem;
	padding: 0;
	color: var(--wx-text);
	font-family: var(--wx-mono);
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.wx-choices {
	display: grid;
	grid-template-columns: 1fr 1fr;
	border-top: 1px solid var(--wx-line);
	border-left: 1px solid var(--wx-line);
}

.wx-choices--time {
	grid-template-columns: 1fr 1fr 1fr;
}

.wx-choices label {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.6rem;
	min-height: 74px;
	margin: 0;
	padding: 16px 18px;
	border-right: 1px solid var(--wx-line);
	border-bottom: 1px solid var(--wx-line);
	color: var(--wx-muted);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.25;
	cursor: pointer;
}

.wx-choices input {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
	pointer-events: none;
}

.wx-choices svg {
	width: 12px;
	height: 12px;
	flex: none;
	fill: currentColor;
}

.wx-choices label:has(input:checked) {
	color: var(--wx-text);
}

.wx-choices label:has(input:checked) svg {
	fill: var(--wx-accent);
}

.wx-choices label:focus-within {
	outline: 1px solid var(--wx-accent);
	outline-offset: -1px;
}

.wx-contact__send {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem 1.4rem;
}

.wx-contact__send button {
	display: inline-flex;
	align-items: center;
	gap: 0.8rem;
	height: 50px;
	padding: 4px 6px 4px 20px;
	border: 0;
	border-radius: 4px;
	background: var(--wx-accent);
	color: #fff;
	font-size: 18px;
	font-weight: 500;
	cursor: pointer;
}

.wx-contact__send svg {
	width: 18px;
	height: 18px;
	fill: currentColor;
}

.wx-contact__send p {
	margin: 0;
	color: var(--wx-muted);
	font-size: 14px;
}

.wx-contact__send a {
	color: var(--wx-text);
}

@media (max-width: 980px) {
	.wx-contact__grid,
	.wx-contact .wx-form,
	.wx-contact__pairs,
	.wx-choices,
	.wx-choices--time {
		grid-template-columns: 1fr;
	}

	.wx-contact__side {
		position: static;
	}

	.wx-contact h1 {
		font-size: clamp(3.2rem, 14vw, 4.6rem);
	}
}
