.techmash-lead-card {
	margin: 24px 0;
	padding: 24px;
	border: 1px solid #dedbd5;
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 8px 28px rgba(20, 20, 20, .06);
}

.techmash-lead-card--compact {
	margin: 18px 0 0;
	padding: 18px;
	border-radius: 16px;
	box-shadow: none;
}

.techmash-lead-card__title {
	margin: 0 0 7px;
	font-size: 23px;
	line-height: 1.25;
	color: #242424;
	letter-spacing: -.02em;
}

.techmash-lead-card--compact .techmash-lead-card__title {
	font-size: 20px;
}

.techmash-lead-card__intro {
	margin: 0 0 20px;
	color: #6d6d6d;
	line-height: 1.55;
}

.techmash-lead-card__toggle {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	width: 100%;
	min-height: 48px;
	border: 0;
	border-radius: 6px;
	padding: 12px 22px;
	background: #e52428;
	color: #fff;
	font-weight: 700;
	line-height: 1;
	text-transform: uppercase;
	letter-spacing: .02em;
	cursor: pointer;
	transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}

.techmash-lead-card__toggle:hover {
	background: #c8171c;
	transform: translateY(-1px);
	box-shadow: 0 8px 18px rgba(229, 36, 40, .18);
}

body .techmash-lead-card .techmash-lead-card__toggle {
	width: 100%;
	min-height: 48px;
	border: 0;
	border-radius: 6px;
	background: #e52428;
	color: #fff;
	box-shadow: none;
}

body .techmash-lead-card .techmash-lead-card__toggle:hover {
	background: #c8171c;
	color: #fff;
}

.techmash-lead-card__toggle svg {
	width: 16px;
	height: 16px;
	fill: currentColor;
	transition: transform .2s ease;
}

.techmash-lead-card.is-open .techmash-lead-card__toggle svg {
	transform: rotate(180deg);
}

.techmash-lead-form {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px 14px;
}

.techmash-lead-card--product[data-techmash-lead-collapsible] .techmash-lead-form {
	display: none;
	margin-top: 18px;
	padding-top: 18px;
	border-top: 1px solid #ebe5dc;
	animation: techmash-lead-form-open .22s ease both;
}

.techmash-lead-card--product[data-techmash-lead-collapsible].is-open .techmash-lead-form {
	display: grid;
}

.techmash-lead-card--compact .techmash-lead-form {
	grid-template-columns: 1fr;
	gap: 12px;
}

.techmash-lead-form__field {
	display: grid;
	gap: 7px;
	margin: 0;
	font-size: 14px;
	font-weight: 600;
	color: #343434;
}

.techmash-lead-form__field span {
	line-height: 1.25;
}

.techmash-lead-form__field--wide,
.techmash-lead-form__actions,
.techmash-lead-form__notice {
	grid-column: 1 / -1;
}

.techmash-lead-form input,
.techmash-lead-form select,
.techmash-lead-form textarea {
	width: 100%;
	min-height: 48px;
	border: 1px solid #cfcac2;
	border-radius: 8px;
	padding: 12px 13px;
	background: #fbfaf8;
	color: #222;
	font: inherit;
	font-weight: 400;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .75);
	transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}

body .techmash-lead-form .techmash-lead-form__field input,
body .techmash-lead-form .techmash-lead-form__field select,
body .techmash-lead-form .techmash-lead-form__field textarea {
	min-height: 48px;
	border: 1px solid #cfcac2;
	border-radius: 8px;
	padding: 12px 13px;
	background-color: #fbfaf8;
	color: #222;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .75);
}

.techmash-lead-form input::placeholder,
.techmash-lead-form textarea::placeholder {
	color: #9a948c;
	opacity: 1;
}

.techmash-lead-form textarea {
	min-height: 98px;
	resize: vertical;
}

.techmash-lead-form input:focus,
.techmash-lead-form select:focus,
.techmash-lead-form textarea:focus {
	border-color: #d71920;
	background: #fff;
	outline: 0;
	box-shadow: 0 0 0 3px rgba(215, 25, 32, .12);
}

body .techmash-lead-form .techmash-lead-form__field input:focus,
body .techmash-lead-form .techmash-lead-form__field select:focus,
body .techmash-lead-form .techmash-lead-form__field textarea:focus {
	border-color: #d71920;
	background-color: #fff;
	box-shadow: 0 0 0 3px rgba(215, 25, 32, .12);
}

.techmash-lead-form__trap {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.techmash-lead-form__actions {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 4px;
}

.techmash-lead-form__submit {
	min-height: 48px;
	border: 0;
	border-radius: 6px;
	padding: 12px 22px;
	background: #e52428;
	color: #fff;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
	transition: background .2s ease, transform .2s ease;
	text-transform: uppercase;
	letter-spacing: .02em;
}

body .techmash-lead-form .techmash-lead-form__submit {
	min-height: 48px;
	border: 0;
	border-radius: 6px;
	background: #e52428;
	color: #fff;
	box-shadow: none;
}

.techmash-lead-form__submit:hover {
	background: #c8171c;
	transform: translateY(-1px);
}

.techmash-lead-form__submit:disabled {
	opacity: .7;
	cursor: wait;
	transform: none;
}

.techmash-lead-form__privacy {
	margin: 0;
	color: #777;
	font-size: 12px;
	line-height: 1.45;
	max-width: 250px;
}

.techmash-lead-form__notice {
	min-height: 20px;
	font-weight: 600;
}

.techmash-lead-form__notice[data-type="success"] {
	color: #147a32;
}

.techmash-lead-form__notice[data-type="error"] {
	color: #b01818;
}

@keyframes techmash-lead-form-open {
	from {
		opacity: 0;
		transform: translateY(-6px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (max-width: 768px) {
	.techmash-lead-card {
		margin: 22px 0;
		padding: 18px;
		border-radius: 12px;
	}

	.techmash-lead-card__title {
		font-size: 21px;
	}

	.techmash-lead-form {
		grid-template-columns: 1fr;
	}

	.techmash-lead-form__actions {
		display: grid;
		gap: 10px;
	}

	.techmash-lead-form__submit {
		width: 100%;
	}

	.techmash-lead-form textarea {
		min-height: 124px;
	}

	body .techmash-lead-form .techmash-lead-form__field textarea {
		min-height: 124px;
	}

	.techmash-lead-form__privacy {
		max-width: none;
	}
}
