/* =========================================================
 * Tech Resolve — Contact Location
 * ======================================================= */

.tr-contact-location {
	padding:
		clamp(90px, 10vw, 160px)
		var(--tr-gutter);

	background: #f4f5f2;
}


.tr-contact-location__shell {
	display: grid;
	grid-template-columns:
		minmax(0, 0.9fr)
		minmax(420px, 1.1fr);
	align-items: center;
	gap: clamp(55px, 9vw, 140px);

	width: min(100%, var(--tr-container));
	margin: 0 auto;
}


/* =========================================================
 * Copy
 * ======================================================= */

.tr-contact-location__eyebrow {
	display: block;

	margin-bottom: 20px;

	color: #08b95d;

	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.14em;
}


.tr-contact-location__copy h2 {
	max-width: 700px;
	margin: 0;

	color: #0a1711;

	font-size: clamp(42px, 5vw, 72px);
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.05em;
}


.tr-contact-location__copy > p {
	max-width: 620px;
	margin: 25px 0 0;

	color: #66716b;

	font-size: 15px;
	line-height: 1.75;
}


.tr-contact-location__coverage {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;

	margin-top: 32px;
}


.tr-contact-location__coverage span {
	display: inline-flex;
	align-items: center;

	min-height: 34px;
	padding: 0 12px;

	color: #4f5c55;

	background: #fff;

	border: 1px solid #dfe5e1;
	border-radius: 999px;

	font-size: 8px;
	font-weight: 800;
	letter-spacing: 0.1em;
}


/* =========================================================
 * Terminal
 * ======================================================= */

.tr-contact-location__terminal {
	position: relative;
	overflow: hidden;

	padding: 24px;

	color: #fff;

	background:
		linear-gradient(
			145deg,
			#07120e,
			#0c1b15
		);

	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 24px;

	box-shadow:
		0 35px 90px rgba(12, 27, 20, 0.14);
}


.tr-contact-location__terminal-head {
	display: flex;
	align-items: center;
	justify-content: space-between;

	padding-bottom: 18px;

	color: rgba(255, 255, 255, 0.39);

	border-bottom: 1px solid rgba(255, 255, 255, 0.08);

	font-size: 8px;
	font-weight: 800;
	letter-spacing: 0.13em;
}


.tr-contact-location__terminal-head i {
	width: 7px;
	height: 7px;

	background: #19e078;
	border-radius: 50%;

	box-shadow:
		0 0 15px rgba(25, 224, 120, 0.8);
}


/* =========================================================
 * Radar
 * ======================================================= */

.tr-contact-location__radar {
	display: grid;
	place-items: center;

	height: 250px;
}


.tr-contact-location__radar > div {
	position: relative;

	width: 190px;
	height: 190px;

	border: 1px solid rgba(25, 224, 120, 0.18);
	border-radius: 50%;
}


.tr-contact-location__radar > div::before,
.tr-contact-location__radar > div::after {
	content: "";

	position: absolute;

	border: 1px solid rgba(25, 224, 120, 0.12);
	border-radius: 50%;
}


.tr-contact-location__radar > div::before {
	inset: 35px;
}


.tr-contact-location__radar > div::after {
	inset: 70px;
}


.tr-contact-location__radar span {
	position: absolute;
	top: 50%;
	left: 50%;

	width: 12px;
	height: 12px;

	background: #19e078;
	border-radius: 50%;

	box-shadow:
		0 0 0 9px rgba(25, 224, 120, 0.07),
		0 0 25px rgba(25, 224, 120, 0.75);

	transform: translate(-50%, -50%);
}


.tr-contact-location__radar span::after {
	content: "";

	position: absolute;
	top: 5px;
	left: 5px;

	width: 92px;
	height: 1px;

	background:
		linear-gradient(
			to right,
			rgba(25, 224, 120, 0.6),
			transparent
		);

	transform: rotate(-42deg);
	transform-origin: left center;
}


/* =========================================================
 * Details
 * ======================================================= */

.tr-contact-location__code,
.tr-contact-location__address {
	padding: 17px 0;

	border-top: 1px solid rgba(255, 255, 255, 0.07);
}


.tr-contact-location__code span,
.tr-contact-location__address span,
.tr-contact-location__contact-grid span {
	display: block;

	color: #19e078;

	font-size: 8px;
	font-weight: 800;
	letter-spacing: 0.12em;
}


.tr-contact-location__code strong,
.tr-contact-location__address strong {
	display: block;

	margin-top: 7px;

	color: rgba(255, 255, 255, 0.78);

	font-size: 13px;
}


.tr-contact-location__contact-grid {
	display: grid;
	grid-template-columns:
		repeat(2, minmax(0, 1fr));
	gap: 8px;

	margin-top: 8px;
}


.tr-contact-location__contact-grid a {
	padding: 14px;

	color: inherit;
	text-decoration: none;

	background: rgba(255, 255, 255, 0.025);

	border: 1px solid rgba(255, 255, 255, 0.07);
	border-radius: 10px;
}


.tr-contact-location__contact-grid strong {
	display: block;

	overflow: hidden;

	margin-top: 7px;

	color: rgba(255, 255, 255, 0.69);

	font-size: 10px;
	text-overflow: ellipsis;
	white-space: nowrap;
}


.tr-contact-location__map {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;

	margin-top: 15px;
	padding: 16px;

	color: #06110c;
	text-decoration: none;

	background: #19e078;

	border-radius: 11px;

	font-size: 10px;
	font-weight: 800;

	transition:
		transform 170ms var(--tr-ease),
		background 170ms ease;
}


.tr-contact-location__map:hover {
	color: #06110c;

	background: #34ef8d;

	transform: translateY(-2px);
}


.tr-contact-location__map svg {
	width: 18px;
	height: 18px;
}


@media (max-width: 980px) {

	.tr-contact-location__shell {
		grid-template-columns: 1fr;
	}

}