/* =========================================================================
   Vòng 5 — làn "gioithieu" (góp ý khách 30/10, mục 2.2 + 2.8b–2.8i)
   Khối Dịch vụ trên trang chủ · trang /dich-vu/ · các trang Giới thiệu mới.
   Màu CHỈ trong brand kit (DM-051): chữ nhỏ dùng --tdc-blue-ink, xanh logo chỉ làm vạch/mảng,
   nền đậm --tdc-blue-deep → --tdc-navy-deep, đỏ cho nút (chữ trắng ≥16px đậm).
   ⚠️ File này nạp TRƯỚC page.css/home.css ⇒ mọi luật trong nội dung trang phải mở đầu bằng
   `.tdc-page__body` (đủ nặng để thắng `.tdc-page__body ul/li/h2` của page.css).
   ========================================================================= */

/* ---------- 1. Trang chủ: khối "Dịch vụ tư vấn" ---------- */
.tdc-dv {
	/* Tràn viền như hero (home.css [11]) — khung nội dung trang chủ là 1340px, nền đậm đóng hộp trông như một thẻ. */
	width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw);
	padding: var(--tdc-sec-y, 72px) 0;
	color: #fff;
	background-color: var(--tdc-navy-deep, #02405E);
	background-image:
		linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px),
		linear-gradient(135deg, var(--tdc-blue-deep, #02567D) 0%, var(--tdc-navy-deep, #02405E) 100%);
	background-size: 32px 32px, 32px 32px, auto;
}
.tdc-dv__trong { max-width: var(--tdc-wrap, 1340px); margin: 0 auto; padding: 0 20px; }
.tdc-home .tdc-dv .tdc-section-head h2 { color: #fff; }
.tdc-home .tdc-dv .tdc-section-head p { color: var(--tdc-muted-tren-toi, rgba(255, 255, 255, .78)); }

.tdc-dv__luoi {
	list-style: none; margin: 0; padding: 0;
	display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px;
}
.tdc-dv__luoi > li { margin: 0; list-style: none; display: flex; }
.tdc-dv__luoi > li::marker { content: none; }
.tdc-dv__o {
	position: relative; display: flex; flex-direction: column; flex: 1 1 auto; min-width: 0;
	padding: 26px 22px 24px;
	background: rgba(255, 255, 255, .06);
	border: 1px solid rgba(255, 255, 255, .14);
	border-radius: 4px;
	color: #fff !important; text-decoration: none !important;
	transition: background .25s ease, transform .25s ease, border-color .25s ease;
}
/* Vạch trên cùng chạy ra khi rê — xanh logo + đoạn đỏ chữ G, cùng kiểu gạch tiêu đề dải. */
.tdc-dv__o::before {
	content: ""; position: absolute; left: 0; top: -1px; height: 3px; width: 0;
	background: linear-gradient(90deg, var(--tdc-blue) 0 78%, var(--tdc-red) 78% 100%);
	transition: width .3s ease;
}
.tdc-dv__o:hover, .tdc-dv__o:focus-visible {
	background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .3); transform: translateY(-4px);
}
.tdc-dv__o:hover::before, .tdc-dv__o:focus-visible::before { width: 100%; }
.tdc-dv__so {
	position: absolute; top: 14px; right: 18px;
	font-size: 1.9rem; font-weight: 700; line-height: 1; color: rgba(255, 255, 255, .16);
}
.tdc-dv__icon { color: var(--tdc-sky, #DFF3FE); margin-bottom: 16px; line-height: 0; }
.tdc-dv__icon .tdc-icon { width: 56px; height: 56px; }
.tdc-dv__ten { font-size: 17px; line-height: 1.35; font-weight: 700; margin-bottom: 6px; }
.tdc-dv__dong { font-size: 14px; line-height: 1.5; color: var(--tdc-muted-tren-toi, rgba(255, 255, 255, .78)); }
.tdc-dv__nut { text-align: center; margin: 34px 0 0; }
.tdc-dv__xem {
	display: inline-block; padding: 12px 28px; border-radius: 3px;
	background: var(--tdc-red); color: #fff !important; text-decoration: none !important;
	font-size: 16px; font-weight: 700;
	transition: background .2s ease;
}
.tdc-dv__xem:hover { background: var(--tdc-red-dark, #BB1C21); }

@media (max-width: 1099px) {
	.tdc-dv__luoi { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
	.tdc-dv { padding: 52px 0; }
	.tdc-dv__trong { padding: 0 14px; }
	.tdc-dv__luoi { gap: 10px; }
	.tdc-dv__o { padding: 16px 12px 14px; }
	.tdc-dv__so { top: 10px; right: 10px; font-size: 1.3rem; }
	.tdc-dv__icon { margin-bottom: 10px; }
	.tdc-dv__icon .tdc-icon { width: 42px; height: 42px; }
	.tdc-dv__ten { font-size: 15px; }
	.tdc-dv__dong { font-size: 13px; }
}

/* ---------- 2. Trang /dich-vu/: danh sách 8 dịch vụ ---------- */
.tdc-page__body ol.v5gt-dvt { list-style: none; margin: 8px 0 0; padding: 0; max-width: none; }
.tdc-page__body .v5gt-dvt__muc {
	display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 24px;
	margin: 0; padding: 26px 0; border-top: 1px solid #e3e9ee;
	scroll-margin-top: 110px;   /* header máy tính neo 80px + khoảng thở */
}
.tdc-page__body .v5gt-dvt__muc:last-child { border-bottom: 1px solid #e3e9ee; }
.v5gt-dvt__icon {
	position: relative; display: flex; align-items: center; justify-content: center;
	width: 96px; height: 96px; border-radius: 6px;
	background: var(--tdc-sky, #DFF3FE); color: var(--tdc-blue-ink);
}
.v5gt-dvt__so {
	position: absolute; left: -8px; top: -8px; min-width: 32px; height: 26px; padding: 0 6px;
	display: flex; align-items: center; justify-content: center; border-radius: 3px;
	background: var(--tdc-blue-deep); color: #fff; font-size: 13px; font-weight: 700; line-height: 1;
}
.tdc-page__body h2.v5gt-dvt__ten {
	margin: 0 0 4px; padding: 0; border: 0; text-transform: none; letter-spacing: 0;
	font-size: 1.25rem; line-height: 1.35;
}
/* Vạch xanh-đỏ của h2 trang con — thẻ này đã có ô icon. */
.tdc-page__body h2.v5gt-dvt__ten::before { display: none; }
/* v5-giaodien.css ghim `#the7-body .tdc-page__body h2 { margin-top: 2.6rem !important }` ở điện thoại —
   tên dịch vụ phải sát ô icon nên cần cùng độ nặng #id. */
#the7-body .tdc-page__body .v5gt-dvt__nd > h2.v5gt-dvt__ten { margin-top: 0 !important; }
.tdc-page__body p.v5gt-dvt__dong { margin: 0 0 .6rem; color: var(--tdc-blue-ink); font-weight: 600; }
.tdc-page__body p.v5gt-dvt__mota { margin: 0 0 .6rem; }
.tdc-page__body p.v5gt-dvt__them { margin: 0; font-size: .94rem; color: var(--tdc-muted); }
.v5gt-dvt__them a { color: var(--tdc-blue-ink); font-weight: 600; }

@media (max-width: 640px) {
	.tdc-page__body .v5gt-dvt__muc { grid-template-columns: 64px minmax(0, 1fr); gap: 16px; padding: 20px 0; }
	.v5gt-dvt__icon { width: 64px; height: 64px; }
	.v5gt-dvt__icon .tdc-icon { width: 44px; height: 44px; }
	.v5gt-dvt__so { left: -6px; top: -6px; min-width: 26px; height: 22px; font-size: 12px; }
	.tdc-page__body h2.v5gt-dvt__ten { font-size: 1.08rem; }
}

/* ---------- 3. Lịch sử: dòng thời gian ---------- */
.tdc-page__body ol.v5gt-moc {
	list-style: none; margin: 0 0 2rem; padding: 0; max-width: none; position: relative;
}
/* Trục dọc */
.tdc-page__body ol.v5gt-moc::before {
	content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px;
	background: linear-gradient(var(--tdc-blue), var(--tdc-blue-soft, #C0E4F5));
}
.tdc-page__body .v5gt-moc__muc {
	position: relative; margin: 0; padding: 0 0 18px 40px;
	display: grid; grid-template-columns: 168px minmax(0, 1fr); gap: 4px 20px;
}
.tdc-page__body .v5gt-moc__muc::before {
	content: ""; position: absolute; left: 2px; top: 7px; width: 12px; height: 12px; border-radius: 50%;
	background: #fff; border: 2px solid var(--tdc-blue);
}
.v5gt-moc__tg { font-weight: 700; color: var(--tdc-blue-ink); line-height: 1.6; }
.v5gt-moc__nd { line-height: 1.65; }
/* Ba mốc khách yêu cầu thống nhất (2.8g): thẻ nổi, nhãn đỏ. */
.tdc-page__body .v5gt-moc__muc--lon { padding-bottom: 22px; }
.tdc-page__body .v5gt-moc__muc--lon::before {
	left: -1px; top: 4px; width: 18px; height: 18px; background: var(--tdc-red); border: 3px solid #fff;
	box-shadow: 0 0 0 2px var(--tdc-red);
}
.v5gt-moc__muc--lon .v5gt-moc__tg { font-size: 1.12rem; color: var(--tdc-blue-deep); }
.v5gt-moc__muc--lon .v5gt-moc__nd {
	background: var(--tdc-sky, #DFF3FE); border-left: 3px solid var(--tdc-blue);
	padding: 12px 16px; border-radius: 0 4px 4px 0;
}
.v5gt-moc__nhan {
	display: block; margin-bottom: 2px; font-size: .78rem; font-weight: 700; letter-spacing: .06em;
	text-transform: uppercase; color: var(--tdc-red);
}
@media (max-width: 640px) {
	.tdc-page__body .v5gt-moc__muc { grid-template-columns: minmax(0, 1fr); padding-left: 32px; }
}

/* ---------- 4. Thẻ có icon: khen thưởng, triết lý/sứ mệnh/cam kết ---------- */
.tdc-page__body .v5gt-the {
	list-style: none; margin: 0 0 2rem; padding: 0; max-width: none;
	display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px;
}
.tdc-page__body .v5gt-the > li {
	margin: 0; padding: 24px 20px 22px; background: #fff;
	border: 1px solid #e3e9ee; border-top: 3px solid var(--tdc-blue); border-radius: 4px;
	box-shadow: 0 2px 10px rgba(2, 64, 94, .06);
}
.v5gt-the__icon {
	display: flex; align-items: center; justify-content: center;
	width: 72px; height: 72px; border-radius: 50%; margin-bottom: 14px;
	background: var(--tdc-sky, #DFF3FE); color: var(--tdc-blue-ink);
}
.v5gt-the__icon .tdc-icon { width: 44px; height: 44px; }
.v5gt-the__ten { display: block; font-size: 1.08rem; font-weight: 700; color: var(--tdc-dark); margin-bottom: 6px; line-height: 1.4; }
.v5gt-the__nd { display: block; line-height: 1.65; }
.v5gt-the__phu { display: block; margin-top: 4px; font-size: .92rem; color: var(--tdc-muted); }

/* Câu sứ mệnh nổi bật */
.tdc-page__body blockquote.v5gt-trich {
	max-width: none; margin: 0 0 2rem; padding: 26px 28px; border: 0; border-radius: 4px;
	background: linear-gradient(135deg, var(--tdc-blue-deep) 0%, var(--tdc-navy-deep) 100%);
	color: #fff; font-size: 1.35rem; line-height: 1.45; font-weight: 700; font-style: normal; text-align: center;
}
.tdc-page__body blockquote.v5gt-trich p { margin: 0; max-width: none; color: #fff; }
.v5gt-trich small { display: block; margin-top: 8px; font-size: .9rem; font-weight: 400; color: var(--tdc-muted-tren-toi, rgba(255,255,255,.78)); letter-spacing: .04em; text-transform: uppercase; }

/* Ảnh lễ đón nhận khen thưởng */
.tdc-page__body .v5gt-anh {
	display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0 0 2rem;
}
.tdc-page__body .v5gt-anh figure { margin: 0; }
.v5gt-anh img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 3px; }
.v5gt-anh figcaption { margin-top: 6px; font-size: .86rem; line-height: 1.45; color: var(--tdc-muted); }

@media (max-width: 900px) {
	.tdc-page__body .v5gt-the { grid-template-columns: minmax(0, 1fr); gap: 12px; }
	.tdc-page__body .v5gt-the > li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 0 14px; padding: 16px; }
	.tdc-page__body .v5gt-the > li > .v5gt-the__icon { grid-row: span 3; width: 56px; height: 56px; margin: 0; }
	.v5gt-the__icon .tdc-icon { width: 34px; height: 34px; }
	.tdc-page__body .v5gt-anh { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.tdc-page__body blockquote.v5gt-trich { font-size: 1.12rem; padding: 20px 18px; }
}

/* ---------- 5. Ban lãnh đạo: thẻ người ---------- */
.tdc-page__body ul.v5gt-nguoi {
	list-style: none; margin: 0 0 1.6rem; padding: 0; max-width: none;
	display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px;
}
.tdc-page__body ul.v5gt-nguoi > li {
	margin: 0; display: flex; align-items: center; gap: 14px;
	padding: 14px 16px; background: #fff; border: 1px solid #e3e9ee; border-radius: 4px;
}
.v5gt-nguoi__anh {
	flex: 0 0 56px; width: 56px; height: 56px; border-radius: 50%; overflow: hidden;
	display: flex; align-items: center; justify-content: center;
	background: var(--tdc-sky, #DFF3FE); color: var(--tdc-blue-ink);
}
.v5gt-nguoi__anh .tdc-icon { width: 34px; height: 34px; }
.v5gt-nguoi__anh img { width: 100%; height: 100%; object-fit: cover; }
.v5gt-nguoi__ten { display: block; font-weight: 700; color: var(--tdc-dark); line-height: 1.4; }
.v5gt-nguoi__cv { display: block; font-size: .92rem; color: var(--tdc-blue-ink); line-height: 1.4; }
/* Người đứng đầu nhóm: thẻ nhấn */
.tdc-page__body ul.v5gt-nguoi > li.v5gt-nguoi--dau { border-color: var(--tdc-blue-soft, #C0E4F5); background: var(--tdc-sky, #DFF3FE); }
.v5gt-nguoi--dau .v5gt-nguoi__anh { background: #fff; }

/* ---------- 6. Phòng ban & đơn vị: thẻ đơn vị ---------- */
.tdc-page__body .v5gt-dvi {
	margin: 0 0 18px; padding: 20px 22px; background: #fff;
	border: 1px solid #e3e9ee; border-left: 3px solid var(--tdc-blue); border-radius: 0 4px 4px 0;
	scroll-margin-top: 110px;   /* header máy tính neo 80px + khoảng thở */
}
.tdc-page__body .v5gt-dvi h3, .tdc-page__body .v5gt-dvi h4 { margin: 0 0 .5rem; }
.tdc-page__body .v5gt-dvi h4 { margin-top: 1rem; font-size: 1rem; color: var(--tdc-blue-deep); }
.tdc-page__body .v5gt-dvi h4:first-of-type { margin-top: .2rem; }
.tdc-page__body .v5gt-dvi ul { margin-bottom: .9rem; }
.tdc-page__body .v5gt-dvi > :last-child { margin-bottom: 0; }
.tdc-page__body .v5gt-dvi .v5gt-cn { margin: .4rem 0 .3rem; font-weight: 700; color: var(--tdc-dark); }

/* ---------- 7. Ô ghi chú pháp lý (2.8h: "cùng một pháp nhân") ---------- */
.tdc-page__body .v5gt-phapnhan {
	max-width: none; margin: 0 0 1.8rem; padding: 16px 20px;
	background: var(--tdc-sky, #DFF3FE); border-left: 3px solid var(--tdc-blue); border-radius: 0 4px 4px 0;
	color: var(--tdc-text);
}
.v5gt-phapnhan a { color: var(--tdc-blue-ink); font-weight: 600; }

/* Bảng Thông tin pháp lý trên điện thoại: email dài không có chỗ ngắt ⇒ bảng rộng 469px trong cột 350px,
   bị cắt mép phải. Cho phép ngắt giữa chuỗi và thu cột nhãn. */
@media (max-width: 640px) {
	.tdc-page__body table.tdc-info-table { table-layout: fixed; }
	.tdc-page__body table.tdc-info-table th { width: 38%; padding: 10px; white-space: normal; }
	.tdc-page__body table.tdc-info-table td { padding: 10px; overflow-wrap: anywhere; }
}
