/* =========================================================
   TDC v2 – giao diện mới (header, footer, trang chủ, trang trong)
   ========================================================= */
:root {
	--tdc-navy: #0b2a55;
	--tdc-navy-2: #0f3670;
	--tdc-blue: #1f56a5;
	--tdc-blue-600: #184a8f;
	--tdc-blue-50: #eef4fc;
	--tdc-accent: #f5b400;
	--tdc-accent-600: #dea300;
	--tdc-ink: #14213d;
	--tdc-text: #2c3648;
	--tdc-muted: #5b6577;
	--tdc-line: #e2e7ef;
	--tdc-bg-alt: #f4f7fb;
	--tdc-ok: #16723a;
	--tdc-warn: #8a5a00;
	--tdc-bad: #a51c1c;
	--tdc-radius: 12px;
	--tdc-shadow: 0 10px 30px rgba(11, 42, 85, .08);
	--tdc-font: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--tdc-header-h: 84px;
}

body.tdc-v2 {
	font-family: var(--tdc-font);
	color: var(--tdc-text);
	background: #fff;
	font-size: 16px;
	line-height: 1.6;
}
body.tdc-v2 h1, body.tdc-v2 h2, body.tdc-v2 h3, body.tdc-v2 h4,
body.tdc-v2 .tdc-menu a, body.tdc-v2 .tdc-btn {
	font-family: var(--tdc-font);
	letter-spacing: 0;
}
body.tdc-v2 h1, body.tdc-v2 h2, body.tdc-v2 h3 { color: var(--tdc-ink); }
body.tdc-v2 #wrapper { overflow-x: clip; }

.tdc-container {
	width: 100%;
	max-width: 1240px;
	margin: 0 auto;
	padding: 0 20px;
	box-sizing: border-box;
}
.tdc-ico { flex: none; vertical-align: middle; }

/* ---------- Nút ---------- */
.tdc-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	padding: 0 22px;
	margin: 0;
	border: 2px solid transparent;
	border-radius: 999px;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	text-transform: none;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color .18s, color .18s, border-color .18s, transform .18s;
}
.tdc-btn:hover { transform: translateY(-1px); }
.tdc-btn-lg { min-height: 52px; padding: 0 28px; font-size: 16px; }
.tdc-btn-block { width: 100%; }
body.tdc-v2 .tdc-btn-accent { background: var(--tdc-accent); color: var(--tdc-ink) !important; }
body.tdc-v2 .tdc-btn-accent:hover { background: var(--tdc-accent-600); }
body.tdc-v2 .tdc-btn-primary { background: var(--tdc-blue); color: #fff !important; }
body.tdc-v2 .tdc-btn-primary:hover { background: var(--tdc-blue-600); }
body.tdc-v2 .tdc-btn-ghost { border-color: rgba(255,255,255,.7); color: #fff !important; background: transparent; }
body.tdc-v2 .tdc-btn-ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.tdc-link {
	display: inline-flex; align-items: center; gap: 6px;
	color: var(--tdc-blue); font-weight: 700; text-decoration: none;
}
.tdc-link:hover { color: var(--tdc-blue-600); }
.tdc-link:hover .tdc-ico { transform: translateX(3px); }
.tdc-link .tdc-ico { transition: transform .18s; }
.tdc-v2 :focus-visible { outline: 3px solid var(--tdc-accent); outline-offset: 2px; }

/* ---------- Header ---------- */
.tdc-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: #fff;
	box-shadow: 0 1px 0 var(--tdc-line);
	transition: box-shadow .2s;
}
.admin-bar .tdc-header { top: 32px; }
.tdc-header.is-stuck { box-shadow: 0 6px 24px rgba(11,42,85,.10); }
.tdc-topbar { background: var(--tdc-navy); color: rgba(255,255,255,.85); font-size: 13px; }
.tdc-topbar .tdc-container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.tdc-topbar-note { margin: 0; display: flex; align-items: center; gap: 8px; }
.tdc-topbar-note .tdc-ico { color: var(--tdc-accent); }
.tdc-topbar-links { display: flex; align-items: center; gap: 22px; }
.tdc-topbar-links a { white-space: nowrap; color: rgba(255,255,255,.85); display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.tdc-topbar-links a:hover { color: #fff; }
.tdc-lang { display: inline-flex; align-items: center; gap: 6px; }
.tdc-lang button {
	background: none; border: 0; margin: 0; padding: 2px 4px; min-height: 0;
	color: rgba(255,255,255,.7); font: inherit; font-weight: 600; cursor: pointer; text-transform: none;
}
.tdc-lang button.is-active { color: var(--tdc-accent); }

.tdc-mainbar .tdc-container { display: flex; align-items: center; gap: 28px; min-height: var(--tdc-header-h); }
.tdc-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.tdc-logo img { height: 54px; width: auto; }
.tdc-logo-text { display: flex; flex-direction: column; color: var(--tdc-navy); font-weight: 800; font-size: 17px; line-height: 1.15; text-transform: uppercase; }
.tdc-logo-text small { font-size: 11px; font-weight: 600; color: var(--tdc-muted); letter-spacing: .04em; }

.tdc-nav { flex: 1; min-width: 0; display: flex; justify-content: center; }
.tdc-menu, .tdc-menu ul { list-style: none; margin: 0; padding: 0; }
.tdc-menu { display: flex; align-items: center; gap: 2px; }
.tdc-menu > li { position: relative; margin: 0; }
.tdc-menu > li > a {
	display: flex; align-items: center; gap: 4px;
	padding: 0 12px; min-height: var(--tdc-header-h);
	color: var(--tdc-ink); font-size: 15px; font-weight: 600; text-decoration: none; white-space: nowrap;
	box-shadow: inset 0 -3px 0 transparent; transition: color .15s, box-shadow .15s;
}
.tdc-menu > li.has-sub > a::after {
	content: ""; width: 7px; height: 7px; margin-left: 4px; margin-top: -4px;
	border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); opacity: .6;
}
.tdc-menu > li:hover > a, .tdc-menu > li:focus-within > a,
.tdc-menu > li.current-menu-item > a, .tdc-menu > li.current-menu-ancestor > a, .tdc-menu > li.current-menu-parent > a {
	color: var(--tdc-blue); box-shadow: inset 0 -3px 0 var(--tdc-accent);
}
.tdc-menu .sub-menu {
	position: absolute; top: 100%; left: 0; min-width: 270px;
	background: #fff; border-radius: 0 0 var(--tdc-radius) var(--tdc-radius);
	box-shadow: 0 18px 40px rgba(11,42,85,.14); border-top: 3px solid var(--tdc-blue);
	padding: 8px 0; opacity: 0; visibility: hidden; transform: translateY(6px);
	transition: opacity .16s, transform .16s, visibility .16s;
}
.tdc-menu > li:hover > .sub-menu, .tdc-menu > li:focus-within > .sub-menu, .tdc-menu > li.is-open > .sub-menu {
	opacity: 1; visibility: visible; transform: none;
}
.tdc-menu .sub-menu li { margin: 0; }
.tdc-menu .sub-menu a {
	display: block; padding: 10px 20px; color: var(--tdc-text); font-size: 14.5px; font-weight: 500; text-decoration: none;
}
.tdc-menu .sub-menu a:hover, .tdc-menu .sub-menu .current-menu-item > a { background: var(--tdc-blue-50); color: var(--tdc-blue); }

.tdc-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.tdc-icon-btn {
	display: inline-flex; align-items: center; justify-content: center;
	width: 44px; height: 44px; min-height: 0; padding: 0; margin: 0;
	border: 1px solid var(--tdc-line); border-radius: 50%; background: #fff; color: var(--tdc-ink); cursor: pointer;
}
.tdc-icon-btn:hover { border-color: var(--tdc-blue); color: var(--tdc-blue); }
.tdc-burger { display: none; }

.tdc-searchpanel { border-top: 1px solid var(--tdc-line); background: var(--tdc-bg-alt); padding: 18px 0; }
.tdc-searchpanel[hidden] { display: none; }
.tdc-searchpanel-hint { margin: 10px 0 0; font-size: 14px; color: var(--tdc-muted); }

/* ---------- Ô tìm kiếm dùng chung ---------- */
.tdc-lookup, .tdc-filter {
	position: relative; display: flex; align-items: center; gap: 8px;
	background: #fff; border: 1px solid var(--tdc-line); border-radius: 999px; padding: 6px; margin: 0;
	box-shadow: 0 2px 6px rgba(11,42,85,.04);
}
.tdc-lookup:focus-within, .tdc-filter:focus-within { border-color: var(--tdc-blue); box-shadow: 0 0 0 4px rgba(31,86,165,.12); }
.tdc-lookup-ico { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); color: var(--tdc-muted); display: flex; pointer-events: none; }
.tdc-lookup input[type="search"], .tdc-lookup input[type="text"], .tdc-filter input[type="search"] {
	flex: 1; min-width: 0; height: 46px; margin: 0; padding: 0 12px 0 46px;
	border: 0 !important; box-shadow: none !important; background: transparent; font: inherit; font-size: 15.5px; color: var(--tdc-ink);
}
.tdc-lookup input:focus, .tdc-filter input:focus { outline: none; }
.tdc-lookup .tdc-btn, .tdc-filter .tdc-btn { min-height: 46px; }
.tdc-reset { font-size: 14px; color: var(--tdc-muted); padding: 0 10px; white-space: nowrap; }

/* ---------- Drawer di động ---------- */
.tdc-drawer[hidden] { display: none; }
.tdc-drawer { position: fixed; inset: 0; z-index: 2147483000; }
.tdc-drawer-backdrop { position: absolute; inset: 0; background: rgba(8,20,40,.5); }
.tdc-drawer-panel {
	position: absolute; top: 0; right: 0; bottom: 0; width: min(360px, 88vw);
	background: #fff; padding: 16px 20px 28px; overflow-y: auto; display: flex; flex-direction: column; gap: 18px;
	animation: tdc-slide .22s ease-out;
}
@keyframes tdc-slide { from { transform: translateX(100%); } to { transform: none; } }
.tdc-drawer-head { display: flex; align-items: center; justify-content: space-between; }
.tdc-drawer-head img { height: 44px; width: auto; }
.tdc-mmenu, .tdc-mmenu ul { list-style: none; margin: 0; padding: 0; }
.tdc-mmenu > li { border-bottom: 1px solid var(--tdc-line); margin: 0; position: relative; }
.tdc-mmenu > li > a { display: block; padding: 14px 44px 14px 0; color: var(--tdc-ink); font-weight: 700; text-decoration: none; }
.tdc-mmenu .sub-menu { display: none; padding: 0 0 10px 12px; }
.tdc-mmenu li.is-open > .sub-menu { display: block; }
.tdc-mmenu .sub-menu a { display: block; padding: 8px 0; color: var(--tdc-text); text-decoration: none; }
.tdc-sub-toggle {
	position: absolute; right: 0; top: 6px; width: 40px; height: 40px; min-height: 0; margin: 0; padding: 0;
	border: 0; background: none; color: var(--tdc-ink); cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.tdc-sub-toggle .tdc-ico { transition: transform .2s; }
li.is-open > .tdc-sub-toggle .tdc-ico { transform: rotate(180deg); }
.tdc-drawer-contact { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.tdc-drawer-contact a { color: var(--tdc-text); display: flex; align-items: center; gap: 8px; text-decoration: none; }
body.tdc-drawer-open { overflow: hidden; }

/* ---------- Breadcrumb cũ ---------- */
.tdc-v2 .breadcrumb { background: var(--tdc-bg-alt); border-bottom: 1px solid var(--tdc-line); font-size: 13.5px; padding: 10px 0; margin: 0; }
.tdc-v2 .breadcrumb .row { max-width: 1240px; padding: 0 5px; }
.tdc-v2 .breadcrumb a { color: var(--tdc-blue); }

/* ---------- Hero trang chủ ---------- */
.tdc-hero {
	position: relative; color: #fff;
	background: linear-gradient(100deg, rgba(8,28,58,.94) 0%, rgba(11,42,85,.82) 45%, rgba(11,42,85,.35) 100%), var(--hero-img) center/cover no-repeat;
}
.tdc-hero-inner-wrap { padding-top: 110px; padding-bottom: 150px; }
body.tdc-v2 .tdc-hero h1 { color: #fff; font-size: clamp(34px, 5vw, 56px); line-height: 1.12; font-weight: 800; margin: 0 0 18px; max-width: 760px; }
.tdc-hero .tdc-lead { font-size: clamp(16px, 1.6vw, 19px); max-width: 620px; color: rgba(255,255,255,.88); margin: 0 0 30px; }
.tdc-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.tdc-eyebrow { margin: 0 0 12px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--tdc-blue); }
.tdc-hero .tdc-eyebrow, .tdc-hero-inner .tdc-eyebrow, .tdc-section-head-light .tdc-eyebrow { color: var(--tdc-accent); }

.tdc-quick { position: relative; z-index: 2; margin-top: -84px; }
.tdc-quick-card {
	display: grid; grid-template-columns: 240px 1fr; gap: 14px 28px; align-items: center;
	background: #fff; border-radius: 16px; box-shadow: 0 20px 50px rgba(11,42,85,.16); padding: 26px 30px;
}
.tdc-quick-title h2 { font-size: 21px; margin: 0 0 2px; }
.tdc-quick-title p { margin: 0; color: var(--tdc-muted); font-size: 14px; }
.tdc-quick-links { grid-column: 2; display: flex; flex-wrap: wrap; gap: 6px 22px; list-style: none; margin: 0; padding: 0 0 0 10px; font-size: 14px; }
.tdc-quick-links li { margin: 0; }
.tdc-quick-links a { color: var(--tdc-blue); font-weight: 600; text-decoration: none; }
.tdc-quick-links a::before { content: "→ "; color: var(--tdc-accent-600); }

/* ---------- Section chung ---------- */
.tdc-section { padding: 88px 0; }
.tdc-section-alt { background: var(--tdc-bg-alt); }
.tdc-section-head { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.tdc-section-head h2 { font-size: clamp(26px, 3.2vw, 38px); line-height: 1.2; font-weight: 800; margin: 0 0 12px; }
.tdc-section-head p:not(.tdc-eyebrow) { color: var(--tdc-muted); margin: 0; font-size: 17px; }
.tdc-section-head-row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; text-align: left; }
.tdc-section-head-row h2 { margin: 0; }

/* Lưới dịch vụ */
.tdc-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tdc-service {
	display: flex; flex-direction: column; background: #fff; border: 1px solid var(--tdc-line); border-radius: var(--tdc-radius);
	overflow: hidden; color: var(--tdc-text); text-decoration: none; transition: box-shadow .2s, transform .2s, border-color .2s;
}
.tdc-service:hover { box-shadow: var(--tdc-shadow); transform: translateY(-4px); border-color: transparent; }
.tdc-service-img { display: block; aspect-ratio: 16/9; overflow: hidden; background: var(--tdc-blue-50); }
.tdc-service-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.tdc-service:hover .tdc-service-img img { transform: scale(1.05); }
.tdc-service-body { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 34px 24px 24px; flex: 1; }
.tdc-service-ico {
	position: absolute; top: -28px; left: 24px; width: 56px; height: 56px; border-radius: 14px;
	background: var(--tdc-blue); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 18px rgba(31,86,165,.3);
}
.tdc-service-body strong { font-size: 19px; color: var(--tdc-ink); }
.tdc-service-body > span:not(.tdc-service-ico):not(.tdc-link) { color: var(--tdc-muted); font-size: 15px; flex: 1; }

/* Dải năng lực */
.tdc-band { background: radial-gradient(1200px 400px at 85% 0%, rgba(245,180,0,.14), transparent 60%), var(--tdc-navy); color: #fff; }
.tdc-section-head-light h2 { color: #fff !important; }
.tdc-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tdc-stat {
	display: flex; flex-direction: column; gap: 10px; padding: 28px 24px; border-radius: var(--tdc-radius);
	background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.8); text-decoration: none;
	transition: background .2s, border-color .2s;
}
.tdc-stat:hover { background: rgba(255,255,255,.1); border-color: rgba(245,180,0,.6); color: #fff; }
.tdc-stat .tdc-ico { color: var(--tdc-accent); }
.tdc-stat strong { font-size: 22px; color: #fff; font-weight: 800; }
.tdc-stat span { font-size: 15px; }

/* Thẻ khách hàng */
.tdc-split { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.tdc-split-card {
	display: flex; flex-direction: column; gap: 10px; padding: 32px; border-radius: 16px; border: 1px solid var(--tdc-line);
	background: linear-gradient(180deg, #fff, var(--tdc-bg-alt)); color: var(--tdc-text); text-decoration: none; transition: box-shadow .2s, transform .2s;
}
.tdc-split-card:hover { box-shadow: var(--tdc-shadow); transform: translateY(-3px); }
.tdc-split-ico { width: 60px; height: 60px; border-radius: 16px; background: var(--tdc-blue-50); color: var(--tdc-blue); display: flex; align-items: center; justify-content: center; }
.tdc-split-card h3 { font-size: 22px; margin: 6px 0 0; }
.tdc-split-card p { margin: 0; color: var(--tdc-muted); }
.tdc-split-stats { list-style: none; margin: 6px 0 4px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 15px; }
.tdc-split-stats li { margin: 0; display: flex; align-items: center; gap: 8px; }
.tdc-dot { width: 9px; height: 9px; border-radius: 50%; }
.tdc-dot-hieu-luc { background: #22a55a; }
.tdc-dot-dinh-chi { background: #e3a008; }
.tdc-dot-huy-bo { background: #d64545; }

/* Thẻ bài viết */
.tdc-cards { display: grid; gap: 24px; grid-template-columns: repeat(3, 1fr); }
.tdc-cols-2 { grid-template-columns: repeat(2, 1fr); }
.tdc-cols-4 { grid-template-columns: repeat(4, 1fr); }
.tdc-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--tdc-line); border-radius: var(--tdc-radius); overflow: hidden; transition: box-shadow .2s; }
.tdc-card:hover { box-shadow: var(--tdc-shadow); }
.tdc-card-img { display: block; aspect-ratio: 16/10; overflow: hidden; background: var(--tdc-blue-50); }
.tdc-card-img img { width: 100%; height: 100%; object-fit: cover; }
.tdc-card-body { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 22px; flex: 1; }
.tdc-card-body time { font-size: 13px; color: var(--tdc-muted); font-weight: 600; }
.tdc-card-body h3 { font-size: 17.5px; line-height: 1.4; margin: 0; }
.tdc-card-body h3 a { color: var(--tdc-ink); text-decoration: none; }
.tdc-card-body h3 a:hover { color: var(--tdc-blue); }
.tdc-card-body p { margin: 0; color: var(--tdc-muted); font-size: 15px; flex: 1; }

/* Đối tác */
.tdc-partners { padding: 56px 0; border-top: 1px solid var(--tdc-line); }
.tdc-partners-title { text-align: center; font-size: 15px !important; letter-spacing: .12em; text-transform: uppercase; color: var(--tdc-muted) !important; margin: 0 0 26px; }
.tdc-partner-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 22px 40px; }
.tdc-partner-row a { display: block; }
.tdc-partner-row img { height: 72px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .2s, opacity .2s; }
.tdc-partner-row a:hover img { filter: none; opacity: 1; }

/* CTA */
.tdc-cta-wrap { padding-bottom: 88px; }
.tdc-cta { margin: 0; }
.tdc-cta-inner {
	display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
	padding: 44px 48px; border-radius: 20px; color: #fff;
	background: linear-gradient(120deg, var(--tdc-blue) 0%, var(--tdc-navy) 100%);
}
.tdc-cta h2 { color: #fff !important; font-size: clamp(24px, 2.6vw, 32px); margin: 0 0 6px; }
.tdc-cta p { margin: 0; color: rgba(255,255,255,.85); max-width: 620px; }
.tdc-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Footer ---------- */
.tdc-footer { background: #081d3c; color: rgba(255,255,255,.75); font-size: 15px; }
.tdc-footer-main { display: grid; grid-template-columns: 1.3fr 1fr 1.1fr 1.4fr; gap: 40px; padding-top: 64px; padding-bottom: 48px; }
.tdc-footer h3 { color: #fff !important; font-size: 16px; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 18px; }
.tdc-footer ul { list-style: none; margin: 0; padding: 0; }
.tdc-footer li { margin: 0 0 10px; }
.tdc-footer a { color: rgba(255,255,255,.8); text-decoration: none; }
.tdc-footer a:hover { color: var(--tdc-accent); }
.tdc-footer-logo { display: inline-block; background: #fff; border-radius: 10px; padding: 8px 12px; margin-bottom: 14px; }
.tdc-footer-logo img { height: 48px; width: auto; display: block; }
.tdc-footer-company { color: #fff; font-weight: 700; margin: 0 0 6px; }
.tdc-footer-brand p { margin: 0 0 14px; }
.tdc-footer-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.tdc-footer-badges li { margin: 0; padding: 4px 10px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; font-size: 12.5px; color: #fff; }
.tdc-footer-contact p { display: flex; gap: 10px; margin: 0 0 12px; }
.tdc-footer-contact .tdc-ico { margin-top: 4px; color: var(--tdc-accent); }
.tdc-footer-bottom { border-top: 1px solid rgba(255,255,255,.1); font-size: 14px; }
.tdc-footer-bottom .tdc-container { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; min-height: 60px; }
.tdc-footer-bottom p { margin: 0; }
.tdc-footer-menu { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.tdc-footer-menu li { margin: 0; }

/* ---------- Trang trong ---------- */
.tdc-hero-inner {
	background: radial-gradient(900px 300px at 90% 0%, rgba(245,180,0,.16), transparent 60%), linear-gradient(110deg, var(--tdc-navy), var(--tdc-navy-2));
	color: #fff; padding: 64px 0 60px;
}
.tdc-hero-inner.has-img {
	background: linear-gradient(100deg, rgba(8,28,58,.94), rgba(11,42,85,.7)), var(--hero-img) center/cover no-repeat;
}
.tdc-hero-inner h1 { color: #fff !important; font-size: clamp(28px, 4vw, 44px); line-height: 1.15; font-weight: 800; margin: 0; max-width: 860px; }
.tdc-hero-inner .tdc-lead { margin: 14px 0 0; color: rgba(255,255,255,.85); font-size: 17.5px; max-width: 760px; }
.tdc-page { padding: 56px 0 88px; }
.tdc-content { font-size: 16.5px; }
.tdc-content > *:first-child { margin-top: 0; }
.tdc-content h2 { font-size: clamp(22px, 2.4vw, 30px); font-weight: 800; margin: 48px 0 16px; }
.tdc-content h3 { font-size: 19px; font-weight: 700; margin: 28px 0 10px; }
.tdc-content p, .tdc-content li { color: var(--tdc-text); }
.tdc-content .tdc-intro { font-size: 18.5px; color: var(--tdc-ink); max-width: 860px; }
.tdc-content .tdc-section-head { margin-top: 56px; }
.tdc-content .tdc-cta { margin-top: 64px; }
.tdc-content .tdc-cards, .tdc-content .tdc-split, .tdc-content .tdc-services { margin: 24px 0; }

/* Lưới tiêu chuẩn / lợi ích trong trang dịch vụ */
.tdc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 24px 0; }
.tdc-grid-2 { grid-template-columns: repeat(2, 1fr); }
.tdc-grid-4 { grid-template-columns: repeat(4, 1fr); }
.tdc-box { padding: 26px 24px; border: 1px solid var(--tdc-line); border-radius: var(--tdc-radius); background: #fff; }
.tdc-box h3 { margin: 0 0 8px; font-size: 18px; }
.tdc-box p { margin: 0 0 12px; color: var(--tdc-muted); font-size: 15px; }
.tdc-box p:last-child { margin-bottom: 0; }
.tdc-box .tdc-tag { display: inline-block; margin-bottom: 10px; padding: 3px 10px; border-radius: 999px; background: var(--tdc-blue-50); color: var(--tdc-blue); font-size: 12.5px; font-weight: 700; }
.tdc-checks { list-style: none; margin: 16px 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 28px; }
.tdc-checks li { position: relative; padding-left: 30px; margin: 0; }
.tdc-checks li::before {
	content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%;
	background: var(--tdc-blue-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f56a5' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/11px no-repeat;
}
.tdc-steps { list-style: none; counter-reset: step; margin: 24px 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tdc-steps li { counter-increment: step; position: relative; margin: 0; padding: 22px 22px 22px 70px; background: var(--tdc-bg-alt); border-radius: var(--tdc-radius); }
.tdc-steps li::before {
	content: counter(step); position: absolute; left: 20px; top: 20px; width: 36px; height: 36px; border-radius: 50%;
	background: var(--tdc-blue); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center;
}
.tdc-steps strong { display: block; color: var(--tdc-ink); margin-bottom: 4px; }
.tdc-steps span { color: var(--tdc-muted); font-size: 15px; }
.tdc-doclist { list-style: none; margin: 18px 0; padding: 0; display: grid; gap: 10px; }
.tdc-doclist li { margin: 0; }
.tdc-doclist a { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border: 1px solid var(--tdc-line); border-radius: 10px; color: var(--tdc-ink); font-weight: 600; text-decoration: none; }
.tdc-doclist a:hover { border-color: var(--tdc-blue); color: var(--tdc-blue); }
.tdc-doclist a::before { content: "PDF"; flex: none; font-size: 11px; font-weight: 800; color: #fff; background: #c8372d; border-radius: 4px; padding: 3px 6px; }

/* ---------- Module khách hàng ---------- */
.tdc-customers { margin-top: 8px; }
.tdc-filter { max-width: 720px; margin-bottom: 22px; }
.tdc-tabs { display: flex; flex-wrap: wrap; gap: 6px; border-bottom: 2px solid var(--tdc-line); margin-bottom: 0; }
.tdc-tab {
	display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; margin-bottom: -2px;
	border-bottom: 3px solid transparent; color: var(--tdc-muted); font-weight: 700; text-decoration: none; white-space: nowrap;
}
.tdc-tab:hover { color: var(--tdc-ink); }
.tdc-tab.is-active { color: var(--tdc-blue); border-color: var(--tdc-blue); }
.tdc-tab-dinh-chi.is-active { color: var(--tdc-warn); border-color: #e3a008; }
.tdc-tab-huy-bo.is-active { color: var(--tdc-bad); border-color: #d64545; }
.tdc-count { min-width: 26px; padding: 1px 8px; border-radius: 999px; background: var(--tdc-bg-alt); color: var(--tdc-ink); font-size: 13px; text-align: center; }
.tdc-table-wrap { overflow-x: auto; border: 1px solid var(--tdc-line); border-top: 0; border-radius: 0 0 var(--tdc-radius) var(--tdc-radius); }
.tdc-verify .tdc-table-wrap { border-top: 1px solid var(--tdc-line); border-radius: var(--tdc-radius); }
.tdc-table { width: 100%; border-collapse: collapse; margin: 0; font-size: 15px; }
.tdc-table th {
	background: var(--tdc-bg-alt); color: var(--tdc-ink); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
	text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--tdc-line); white-space: nowrap;
}
.tdc-table td { padding: 16px; border-bottom: 1px solid var(--tdc-line); vertical-align: top; color: var(--tdc-text); }
.tdc-table tr:last-child td { border-bottom: 0; }
.tdc-table tbody tr:hover { background: #fafcff; }
.tdc-table td strong { display: block; color: var(--tdc-ink); font-weight: 700; }
.tdc-table td small { display: block; margin-top: 4px; color: var(--tdc-muted); font-size: 13px; }
.tdc-table td[data-label="Loại"] { min-width: 120px; }
.tdc-code { font-weight: 700; color: var(--tdc-blue) !important; white-space: nowrap; }
.tdc-more a { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; color: var(--tdc-blue); white-space: nowrap; text-decoration: none; }
.tdc-badge { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; white-space: nowrap; }
.tdc-badge-hieu-luc { background: #e3f4e8; color: var(--tdc-ok); }
.tdc-badge-dinh-chi { background: #fff3d6; color: var(--tdc-warn); }
.tdc-badge-huy-bo { background: #fde5e5; color: var(--tdc-bad); }
.tdc-empty { padding: 48px 20px; text-align: center; color: var(--tdc-muted); }
.tdc-empty p { margin: 10px 0 0; }
.tdc-verify .tdc-empty, .tdc-customers .tdc-empty { border: 1px solid var(--tdc-line); border-top: 0; border-radius: 0 0 var(--tdc-radius) var(--tdc-radius); }
.tdc-verify .tdc-empty { border-top: 1px solid var(--tdc-line); border-radius: var(--tdc-radius); }
.tdc-pager { display: flex; gap: 6px; justify-content: center; margin-top: 22px; }
.tdc-pager a, .tdc-pager span { min-width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; border: 1px solid var(--tdc-line); color: var(--tdc-ink); text-decoration: none; font-weight: 600; }
.tdc-pager span { background: var(--tdc-blue); color: #fff; border-color: var(--tdc-blue); }
.tdc-note { color: var(--tdc-muted); font-size: 14.5px; margin: 18px 0 0; }
.tdc-result-count { margin: 22px 0 14px; }
.tdc-lookup-page { max-width: 760px; }

/* Chi tiết chứng nhận */
.tdc-cert-detail { display: grid; grid-template-columns: 1fr 300px; gap: 28px; align-items: start; }
.tdc-cert-card { border: 1px solid var(--tdc-line); border-radius: 16px; overflow: hidden; background: #fff; }
.tdc-cert-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 28px; background: var(--tdc-bg-alt); border-bottom: 1px solid var(--tdc-line); }
.tdc-cert-label { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--tdc-muted); font-weight: 700; }
.tdc-cert-code { margin: 2px 0 0; font-size: 24px; font-weight: 800; color: var(--tdc-blue); }
.tdc-cert-fields { margin: 0; padding: 8px 28px; }
.tdc-cert-fields > div { display: grid; grid-template-columns: 220px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--tdc-line); }
.tdc-cert-fields > div:last-child { border-bottom: 0; }
.tdc-cert-fields dt { font-weight: 700; color: var(--tdc-muted); font-size: 14.5px; }
.tdc-cert-fields dd { margin: 0; color: var(--tdc-ink); }
.tdc-cert-back { display: flex; flex-wrap: wrap; gap: 10px 28px; padding: 18px 28px 24px; margin: 0; border-top: 1px solid var(--tdc-line); }
.tdc-cert-qr { text-align: center; border: 1px solid var(--tdc-line); border-radius: 16px; padding: 24px; position: sticky; top: 150px; }
.tdc-cert-qr h2 { font-size: 17px; margin: 0 0 14px; }
.tdc-cert-qr img { max-width: 100%; height: auto; }
.tdc-cert-qr p { font-size: 14px; color: var(--tdc-muted); margin: 12px 0 0; }

/* Liên hệ */
.tdc-contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: start; }
.tdc-contact-info { display: grid; gap: 18px; }
.tdc-ci-item { display: flex; gap: 14px; }
.tdc-ci-item .tdc-ico { color: var(--tdc-blue); margin-top: 3px; }
.tdc-ci-item strong { color: var(--tdc-ink); }
.tdc-ci-item p { margin: 2px 0 0; color: var(--tdc-muted); }
.tdc-map { margin-top: 48px; border-radius: 16px; overflow: hidden; border: 1px solid var(--tdc-line); }
.tdc-map iframe { display: block; width: 100%; height: 420px; border: 0; }

/* ---------- Form (Contact Form 7) ---------- */
.tdc-formcard { background: #fff; border: 1px solid var(--tdc-line); border-radius: 16px; padding: 32px; box-shadow: var(--tdc-shadow); }
.tdc-formcard h2 { margin-top: 0 !important; }
.tdc-v2 .tdc-form { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px 20px; }
.tdc-v2 .tdc-form .tdc-f-full { grid-column: 1 / -1; }
.tdc-v2 .tdc-form .wpcf7-form-control-wrap { display: block; }
.tdc-v2 .tdc-form label { display: block; font-size: 14.5px; font-weight: 600; color: var(--tdc-ink); margin: 0 0 14px; }
.tdc-v2 .tdc-form label .req { color: var(--tdc-bad); }
.tdc-v2 .tdc-form input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="file"]),
.tdc-v2 .tdc-form select, .tdc-v2 .tdc-form textarea {
	width: 100%; margin: 6px 0 0; padding: 10px 14px; min-height: 46px; border: 1px solid #cfd7e3; border-radius: 10px;
	background: #fff; box-shadow: none; font: inherit; font-size: 15.5px; color: var(--tdc-ink); font-weight: 400;
}
.tdc-v2 .tdc-form textarea { min-height: 120px; }
.tdc-v2 .tdc-form input:focus, .tdc-v2 .tdc-form select:focus, .tdc-v2 .tdc-form textarea:focus { border-color: var(--tdc-blue); box-shadow: 0 0 0 4px rgba(31,86,165,.12); outline: none; }
.tdc-v2 .tdc-form input[type="file"] { margin-top: 8px; font-weight: 400; }
.tdc-v2 .tdc-form .tdc-f-hint { display: block; font-weight: 400; font-size: 13px; color: var(--tdc-muted); margin-top: 4px; }
.tdc-v2 .tdc-form .wpcf7-acceptance label { font-weight: 400; display: flex; gap: 8px; align-items: flex-start; }
.tdc-v2 .tdc-form .wpcf7-list-item { margin: 0; }
.tdc-v2 .tdc-form input[type="submit"] {
	min-height: 50px; padding: 0 34px; border: 0; border-radius: 999px; background: var(--tdc-accent); color: var(--tdc-ink);
	font: inherit; font-weight: 800; font-size: 16px; text-transform: none; cursor: pointer; margin: 4px 0 0;
}
.tdc-v2 .tdc-form input[type="submit"]:hover { background: var(--tdc-accent-600); }
.tdc-v2 .wpcf7-not-valid-tip { font-size: 13px; font-weight: 500; margin-top: 4px; }
.tdc-v2 .wpcf7 form .wpcf7-response-output { border-radius: 10px; margin: 16px 0 0; padding: 12px 16px; }
.tdc-v2 .tdc-form .wpcf7-spinner { vertical-align: middle; }

/* ---------- Chuyên mục / bài viết Flatsome trong khung mới ---------- */
.tdc-v2 .blog-archive .large-columns-3 .post-item .box-text,
.tdc-v2 .blog-archive .post-item .box-text { padding: 16px 4px; }
.tdc-v2 .blog-archive .post-title a, .tdc-v2 .entry-title { color: var(--tdc-ink); }
.tdc-v2 .blog-archive { padding-top: 48px; }
.tdc-v2 .blog-single { padding-top: 48px; }
.tdc-v2 .banner-category { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1440px) {
	.tdc-mainbar .tdc-container { gap: 18px; }
	.tdc-logo-text, .tdc-actions .tdc-btn { display: none; }
}
@media (max-width: 1240px) {
	.tdc-menu > li > a { padding: 0 8px; font-size: 14.5px; }
}
@media (max-width: 1100px) {
	:root { --tdc-header-h: 72px; }
	.tdc-topbar-note { display: none; }
	.tdc-topbar .tdc-container { justify-content: flex-end; }
	.tdc-nav, .tdc-hide-md { display: none; }
	.tdc-burger { display: inline-flex; }
	.tdc-logo img { height: 46px; }
	.tdc-logo-text { display: flex; font-size: 15px; }
	.tdc-services, .tdc-cards { grid-template-columns: repeat(2, 1fr); }
	.tdc-stats { grid-template-columns: repeat(2, 1fr); }
	.tdc-footer-main { grid-template-columns: 1fr 1fr; }
	.tdc-quick-card { grid-template-columns: 1fr; }
	.tdc-quick-links { grid-column: 1; padding-left: 0; }
	.tdc-grid, .tdc-grid-4, .tdc-steps { grid-template-columns: repeat(2, 1fr); }
	.tdc-cert-detail, .tdc-contact-grid { grid-template-columns: 1fr; }
	.tdc-cert-qr { position: static; }
}
@media (max-width: 782px) {
	.admin-bar .tdc-header { top: 46px; }
}
@media (max-width: 680px) {
	.tdc-topbar-note, .tdc-topbar-links .tdc-hide-sm, .tdc-hide-sm { display: none; }
	.tdc-lookup-ico { top: 29px; }
	.tdc-topbar .tdc-container { justify-content: flex-end; }
	.tdc-topbar-links { gap: 10px; width: 100%; justify-content: space-between; font-size: 12.5px; }
	.tdc-lang > .tdc-ico { display: none; }
	.tdc-logo-text { font-size: 13px; }
	.tdc-logo-text small { font-size: 10px; }
	.tdc-section { padding: 60px 0; }
	.tdc-hero-inner-wrap { padding-top: 64px; padding-bottom: 120px; }
	.tdc-services, .tdc-cards, .tdc-split, .tdc-stats, .tdc-grid, .tdc-grid-2, .tdc-grid-4, .tdc-steps, .tdc-checks, .tdc-cols-2, .tdc-cols-4 { grid-template-columns: 1fr; }
	.tdc-footer-main { grid-template-columns: 1fr; gap: 30px; }
	.tdc-section-head-row { flex-direction: column; align-items: flex-start; }
	.tdc-quick-card { padding: 22px 18px; }
	.tdc-lookup, .tdc-filter { flex-wrap: wrap; border-radius: 16px; }
	.tdc-lookup input[type="search"], .tdc-lookup input[type="text"], .tdc-filter input[type="search"] { flex-basis: 100%; }
	.tdc-lookup .tdc-btn, .tdc-filter .tdc-btn { width: 100%; }
	.tdc-cta-inner { padding: 32px 24px; }
	.tdc-cta-actions, .tdc-cta-actions .tdc-btn { width: 100%; }
	.tdc-cert-fields > div { grid-template-columns: 1fr; gap: 2px; }
	.tdc-cert-head { flex-direction: column; align-items: flex-start; }
	.tdc-v2 .tdc-form { grid-template-columns: 1fr; }
	.tdc-formcard { padding: 22px 18px; }
	.tdc-tab { padding: 10px 12px; font-size: 14px; }
	/* Bảng thành thẻ trên di động */
	.tdc-table thead { display: none; }
	.tdc-table, .tdc-table tbody, .tdc-table tr, .tdc-table td { display: block; width: 100%; }
	.tdc-table tr { padding: 14px 16px; border-bottom: 1px solid var(--tdc-line); }
	.tdc-table td { padding: 4px 0; border: 0; display: flex; gap: 12px; }
	.tdc-table td::before { content: attr(data-label); flex: 0 0 110px; color: var(--tdc-muted); font-size: 13px; font-weight: 600; }
	.tdc-table td.tdc-more::before { content: none; }
	.tdc-table td > strong, .tdc-table td > small { display: inline; }
	.tdc-table td[data-label="Tổ chức"] { flex-wrap: wrap; }
	.tdc-table td[data-label="Tổ chức"] small { flex-basis: 100%; padding-left: 122px; }
}
@media (prefers-reduced-motion: reduce) {
	.tdc-v2 * { transition: none !important; animation: none !important; }
}
