/*
 * Trang LIEN HE /lien-he/ — khoi TU THIET KE (ban mau Fabrica khong co trang nay).
 * Muon he so do cua bo khuon da duyet, giong `trang-gioi-thieu.css`.
 *
 * 🔴 KHONG dat `padding-top`/`margin-top` — `.w22-than` lo phan khe section.
 */

.w22-tlh {
	padding: 0 var(--w22-le);
}

.w22-tlh-khung {
	max-width: 1368px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 90px;
}

/* ---------- Dau trang ---------- */
.w22-tlh-dau {
	display: flex;
	flex-direction: column;
	gap: 40px;
}

.w22-tlh-h1 {
	font-size: var(--w22-chu-144);
	line-height: 0.92;
	font-weight: var(--w22-dam);
	letter-spacing: var(--w22-gian-to);
	color: var(--w22-muc);
}

.w22-tlh-cau {
	max-width: 20ch;
	font-size: var(--w22-chu-45);
	line-height: 1.1;
	font-weight: var(--w22-dam);
	letter-spacing: var(--w22-gian-to);
	color: var(--w22-muc);
}

/* ---------- Luoi: than ben trai, the lien he ben phai ---------- */
.w22-tlh-luoi {
	display: grid;
	grid-template-columns: 1fr 440px;
	gap: 60px var(--w22-khe-the);
	align-items: start;
}

.w22-tlh-than {
	max-width: 720px;
}

.w22-tlh-dan {
	margin-bottom: 40px;
	font-size: var(--w22-chu-30);
	line-height: 1.2;
	font-weight: var(--w22-vua);
	letter-spacing: var(--w22-gian);
	color: var(--w22-muc);
}

.w22-tlh-than .w22-bv-noi-dung {
	max-width: 720px;
}

/* ---------- Cot the lien he ---------- */
.w22-tlh-cot {
	display: flex;
	flex-direction: column;
	gap: 30px;
}

.w22-tlh-ds {
	display: flex;
	flex-direction: column;
	gap: 4px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.w22-tlh-the {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 24px 26px;
	border-radius: var(--w22-bo-the);
	background: var(--w22-nen-the);
}

.w22-tlh-the__dau {
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--w22-muc-mo);
}

.w22-tlh-the__icon {
	flex: none;
}

.w22-tlh-the__nhan {
	font-size: var(--w22-chu-14);
	line-height: 1.3;
	font-weight: var(--w22-vua);
	letter-spacing: var(--w22-gian);
}

.w22-tlh-the__chu {
	font-size: var(--w22-chu-22);
	line-height: 1.25;
	font-weight: var(--w22-dam);
	letter-spacing: var(--w22-gian-to);
	color: var(--w22-muc);
	text-decoration: none;
}

/* Chi hai the dau la lien ket (email, dien thoai) nen gach chan chi hien o do. */
a.w22-tlh-the__chu {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 4px;
	text-decoration-color: transparent;
	transition: text-decoration-color var(--w22-vua-tg) var(--w22-duong-cong);
}

a.w22-tlh-the__chu:hover,
a.w22-tlh-the__chu:focus-visible {
	text-decoration-color: currentColor;
}

/* ---------- Lien ket ban do (KHONG nhung iframe — xem dau page-lien-he.php) ---------- */
.w22-tlh-bando {
	display: inline-flex;
	align-self: flex-start;
	align-items: center;
	gap: 8px;
	font-size: var(--w22-chu-15);
	line-height: 1.3;
	font-weight: var(--w22-vua);
	letter-spacing: var(--w22-gian);
	color: var(--w22-muc);
	text-decoration: none;
}

.w22-tlh-bando svg {
	flex: none;
	transition: transform var(--w22-vua-tg) var(--w22-duong-cong);
}

.w22-tlh-bando:hover svg,
.w22-tlh-bando:focus-visible svg {
	transform: translate(2px, -2px);
}

.w22-tlh-bando span {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
	.w22-tlh-bando svg {
		transition: none;
	}

	.w22-tlh-bando:hover svg,
	.w22-tlh-bando:focus-visible svg {
		transform: none;
	}
}

/* ---------- Kho tablet ---------- */
@media (max-width: 1024px) {
	.w22-tlh-khung {
		gap: 70px;
	}

	.w22-tlh-h1 {
		font-size: 99px;
	}

	.w22-tlh-cau {
		max-width: 24ch;
		font-size: var(--w22-chu-34);
	}

	/* Cot the tut xuong duoi than, roi trai thanh hai the mot hang. */
	.w22-tlh-luoi {
		grid-template-columns: 1fr;
		gap: 44px;
	}

	.w22-tlh-ds {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		gap: var(--w22-khe-the);
	}

	.w22-tlh-dan {
		font-size: var(--w22-chu-22);
	}
}

/* ---------- Kho dien thoai ---------- */
@media (max-width: 600px) {
	.w22-tlh-khung {
		gap: 50px;
	}

	.w22-tlh-dau {
		gap: 24px;
	}

	.w22-tlh-h1 {
		font-size: 62px;
	}

	.w22-tlh-cau {
		max-width: none;
		font-size: var(--w22-chu-22);
	}

	.w22-tlh-dan {
		font-size: var(--w22-chu-20);
	}

	/*
	 * Ve MOT cot: hai cot o kho 390 chi con ~171px moi the, ma dia chi
	 * "514 Lê Trọng Tấn, P. Tây Thạnh, TP.HCM" o co chu 22px thi vo nat.
	 */
	.w22-tlh-ds {
		grid-template-columns: 1fr;
	}

	.w22-tlh-the {
		padding: 20px 20px;
	}

	.w22-tlh-the__chu {
		font-size: var(--w22-chu-20);
	}
}
