/* =========================================================
 * Tech Resolve — Project Intake
 * ======================================================= */

.tr-contact-intake {
	padding:
		clamp(90px, 9vw, 150px)
		var(--tr-gutter);

	background:
		#f3f5f2;

	color: #122019;
}


.tr-contact-intake__shell {
	width: min(100%, var(--tr-container));
	margin: 0 auto;
}


/* =========================================================
 * Header
 * ======================================================= */

.tr-contact-intake__header {
	max-width: 850px;
	margin-bottom: 55px;
}


.tr-contact-intake__eyebrow {
	display: block;

	margin-bottom: 16px;

	color: #08b95d;

	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.14em;
}


.tr-contact-intake__header h2 {
	margin: 0;

	color: #0c1712;

	font-size: clamp(42px, 5vw, 72px);
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.05em;
}


.tr-contact-intake__header p {
	max-width: 620px;
	margin: 22px 0 0;

	color: #66716b;

	font-size: 16px;
	line-height: 1.7;
}


/* =========================================================
 * Layout
 * ======================================================= */

.tr-contact-intake__layout {
	display: grid;
	grid-template-columns:
		minmax(300px, 0.7fr)
		minmax(0, 1.3fr);

	background: #fff;

	border: 1px solid #e0e5e2;
	border-radius: 26px;

	box-shadow:
		0 30px 90px rgba(10, 23, 17, 0.08);

	overflow: hidden;
}


/* =========================================================
 * Contact Signals
 * ======================================================= */

.tr-contact-intake__signals {
	padding: 28px;

	color: #fff;

	background:
		linear-gradient(
			145deg,
			#07110d,
			#0b1913
		);
}


.tr-contact-intake__signals-top {
	display: flex;
	align-items: center;
	justify-content: space-between;

	padding-bottom: 22px;

	color: rgba(255, 255, 255, 0.43);

	border-bottom: 1px solid rgba(255, 255, 255, 0.09);

	font-size: 9px;
	font-weight: 800;
	letter-spacing: 0.13em;
}


.tr-contact-intake__signals-top i {
	width: 7px;
	height: 7px;

	background: #19e078;
	border-radius: 50%;

	box-shadow:
		0 0 13px rgba(25, 224, 120, 0.85);
}


.tr-contact-intake__signal {
	padding: 27px 0;

	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}


.tr-contact-intake__signal > span {
	display: block;

	margin-bottom: 10px;

	color: #19e078;

	font-size: 9px;
	font-weight: 800;
	letter-spacing: 0.14em;
}


.tr-contact-intake__signal > a {
	display: inline-block;

	color: #fff;

	font-size: 17px;
	font-weight: 700;
	line-height: 1.4;
	text-decoration: none;
}


.tr-contact-intake__signal > a:hover {
	color: #19e078;
}


.tr-contact-intake__signal p {
	margin: 11px 0 0;

	color: rgba(255, 255, 255, 0.48);

	font-size: 11px;
	line-height: 1.65;
}


.tr-contact-intake__response {
	display: flex;
	align-items: center;
	gap: 13px;

	margin-top: 24px;
	padding: 16px;

	background: rgba(25, 224, 120, 0.055);

	border: 1px solid rgba(25, 224, 120, 0.13);
	border-radius: 12px;
}


.tr-contact-intake__response > span {
	width: 8px;
	height: 8px;

	background: #19e078;
	border-radius: 50%;

	box-shadow:
		0 0 12px rgba(25, 224, 120, 0.65);
}


.tr-contact-intake__response small {
	display: block;

	color: rgba(255, 255, 255, 0.35);

	font-size: 8px;
	font-weight: 800;
	letter-spacing: 0.1em;
}


.tr-contact-intake__response strong {
	display: block;

	margin-top: 4px;

	color: rgba(255, 255, 255, 0.76);

	font-size: 10px;
}


/* =========================================================
 * Form Panel
 * ======================================================= */

.tr-contact-intake__form-panel {
	padding:
		clamp(28px, 4vw, 56px);
}


.tr-contact-intake__notice {
	display: flex;
	align-items: flex-start;
	gap: 12px;

	margin-bottom: 24px;
	padding: 15px 17px;

	border-radius: 11px;

	font-size: 11px;
	font-weight: 600;
	line-height: 1.6;
}


.tr-contact-intake__notice > span {
	flex: 0 0 auto;

	width: 7px;
	height: 7px;
	margin-top: 5px;

	border-radius: 50%;
}


.tr-contact-intake__notice.is-success {
	color: #087c43;

	background: rgba(25, 224, 120, 0.09);

	border: 1px solid rgba(25, 224, 120, 0.22);
}


.tr-contact-intake__notice.is-success > span {
	background: #19e078;
}


.tr-contact-intake__notice.is-error {
	color: #a04e42;

	background: #fff2ef;

	border: 1px solid #f4d4ce;
}


.tr-contact-intake__notice.is-error > span {
	background: #d86a59;
}


/* =========================================================
 * Fields
 * ======================================================= */

.tr-contact-intake__fields {
	display: grid;
	grid-template-columns:
		repeat(2, minmax(0, 1fr));
	gap: 15px;
}


.tr-contact-intake__field {
	display: grid;
	gap: 8px;
}


.tr-contact-intake__field--full {
	margin-top: 22px;
}


.tr-contact-intake__field > span,
.tr-contact-intake__group legend {
	color: #48564f;

	font-size: 10px;
	font-weight: 800;
}


.tr-contact-intake__field input,
.tr-contact-intake__field textarea {
	width: 100%;
	box-sizing: border-box;

	color: #16221c;

	background: #f7f9f7;

	border: 1px solid #dfe5e1;
	border-radius: 10px;

	outline: none;

	font: inherit;

	transition:
		background 160ms ease,
		border-color 160ms ease,
		box-shadow 160ms ease;
}


.tr-contact-intake__field input {
	height: 50px;
	padding: 0 14px;
}


.tr-contact-intake__field textarea {
	min-height: 150px;
	padding: 14px;

	resize: vertical;
}


.tr-contact-intake__field input:focus,
.tr-contact-intake__field textarea:focus {
	background: #fff;

	border-color: rgba(8, 185, 93, 0.6);

	box-shadow:
		0 0 0 3px rgba(25, 224, 120, 0.09);
}


/* =========================================================
 * Groups / Chips
 * ======================================================= */

.tr-contact-intake__group {
	margin: 27px 0 0;
	padding: 0;

	border: 0;
}


.tr-contact-intake__group legend {
	margin-bottom: 11px;
}


.tr-contact-intake__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}


.tr-contact-intake__chips label {
	position: relative;
}


.tr-contact-intake__chips input {
	position: absolute;

	width: 1px;
	height: 1px;

	opacity: 0;
	pointer-events: none;
}


.tr-contact-intake__chips span {
	display: inline-flex;
	align-items: center;
	justify-content: center;

	min-height: 40px;
	padding: 0 14px;

	color: #526159;

	background: #f6f8f6;

	border: 1px solid #dfe5e1;
	border-radius: 999px;

	cursor: pointer;

	font-size: 10px;
	font-weight: 700;

	transition:
		color 150ms ease,
		background 150ms ease,
		border-color 150ms ease,
		transform 150ms var(--tr-ease);
}


.tr-contact-intake__chips span:hover {
	transform: translateY(-1px);

	border-color: rgba(8, 185, 93, 0.35);
}


.tr-contact-intake__chips input:checked + span {
	color: #07120d;

	background: #19e078;

	border-color: #19e078;
}


/* =========================================================
 * Submit
 * ======================================================= */

.tr-contact-intake__submit-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;

	margin-top: 30px;
	padding-top: 25px;

	border-top: 1px solid #e5e9e6;
}


.tr-contact-intake__submit-row > div {
	display: flex;
	align-items: center;
	gap: 9px;

	color: #98a19c;

	font-size: 8px;
	font-weight: 800;
	letter-spacing: 0.11em;
}


.tr-contact-intake__submit-row > div > span {
	width: 6px;
	height: 6px;

	background: #19e078;
	border-radius: 50%;
}


.tr-contact-intake__submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 13px;

	min-height: 54px;
	padding: 0 22px;

	color: #06100d !important;

	background: #19e078 !important;

	border: 1px solid #19e078 !important;
	border-radius: 999px !important;

	box-shadow: none !important;

	cursor: pointer;

	font: inherit;
	font-size: 11px;
	font-weight: 800;

	transition:
		transform 160ms var(--tr-ease),
		background 160ms ease !important;
}


.tr-contact-intake__submit:hover,
.tr-contact-intake__submit:focus {
	color: #06100d !important;

	background: #34ef8d !important;

	border-color: #34ef8d !important;

	transform: translateY(-2px);
}


.tr-contact-intake__submit svg {
	width: 18px;
	height: 18px;
}


.tr-contact-intake__submit:disabled {
	opacity: 0.6;
	cursor: wait;
}


/* =========================================================
 * Honeypot
 * ======================================================= */

.tr-contact-intake__honeypot {
	position: absolute !important;
	left: -99999px !important;

	width: 1px !important;
	height: 1px !important;

	overflow: hidden !important;
}


/* =========================================================
 * Basic Responsive
 * ======================================================= */

@media (max-width: 980px) {

	.tr-contact-intake__layout {
		grid-template-columns: 1fr;
	}

}


@media (max-width: 680px) {

	.tr-contact-intake__fields {
		grid-template-columns: 1fr;
	}


	.tr-contact-intake__submit-row {
		align-items: stretch;
		flex-direction: column;
	}


	.tr-contact-intake__submit {
		width: 100%;
	}

}