/* =============================================================
 * Nguyen Thang MKT - main.css
 * Giao diện: sạch, hiện đại, chuyên gia, tối ưu mobile & tốc độ.
 * Màu --ntmkt-primary/secondary/cta được nạp từ Customizer (functions.php).
 * ============================================================= */

/* ---------- 1. DESIGN TOKENS ---------- */
:root {
	/* Màu nền tảng (các màu thương hiệu nạp từ Customizer) */
	--ntmkt-primary: #0F172A;
	--ntmkt-secondary: #2563EB;
	--ntmkt-cta: #F97316;

	--ntmkt-bg: #F8FAFC;
	--ntmkt-text: #111827;
	--ntmkt-muted: #64748B;
	--ntmkt-white: #FFFFFF;
	--ntmkt-border: #E2E8F0;
	--ntmkt-surface: #FFFFFF;

	/* Typography */
	--font-head: "Plus Jakarta Sans", "Be Vietnam Pro", system-ui, sans-serif;
	--font-body: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", sans-serif;

	/* Nhịp & bo góc */
	--radius: 14px;
	--radius-sm: 10px;
	--radius-lg: 22px;
	--container: 1140px;
	--container-narrow: 760px;
	--shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .08);
	--shadow-md: 0 10px 30px -12px rgba(15, 23, 42, .18);
	--shadow-lg: 0 24px 60px -24px rgba(15, 23, 42, .30);
	--gap: 28px;
	--ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- 2. RESET NHẸ ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.7;
	color: var(--ntmkt-text);
	background: var(--ntmkt-bg);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--ntmkt-secondary); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--ntmkt-primary); }

h1, h2, h3, h4 {
	font-family: var(--font-head);
	color: var(--ntmkt-primary);
	line-height: 1.2;
	margin: 0 0 .6em;
	font-weight: 700;
	letter-spacing: -.01em;
}

p { margin: 0 0 1.1em; }

/* Accessibility */
.screen-reader-text {
	position: absolute !important;
	clip: rect(1px, 1px, 1px, 1px);
	width: 1px; height: 1px; overflow: hidden;
}
.skip-link {
	position: absolute; left: -999px; top: 0; z-index: 1000;
	background: var(--ntmkt-primary); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; color: #fff; }

:focus-visible { outline: 3px solid var(--ntmkt-secondary); outline-offset: 2px; }

/* ---------- 3. LAYOUT ---------- */
.container {
	width: 100%;
	max-width: var(--container);
	margin-inline: auto;
	padding-inline: 22px;
}
.container--narrow { max-width: var(--container-narrow); }

.section { padding: 72px 0; }
.section--alt { background: var(--ntmkt-white); }
.section--dark { background: var(--ntmkt-primary); }

.section__head { max-width: 640px; margin-bottom: 40px; }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; max-width: none; flex-wrap: wrap; }
.section__title { font-size: clamp(1.6rem, 1rem + 2vw, 2.3rem); }
.section__title--light { color: #fff; }
.section__lead { color: var(--ntmkt-muted); font-size: 1.05rem; margin: 0; }

.kicker {
	display: inline-block;
	font-family: var(--font-head);
	font-weight: 700;
	font-size: .8rem;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--ntmkt-secondary);
	margin-bottom: 10px;
}
.kicker--light { color: #93c5fd; }

.grid { display: grid; gap: var(--gap); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* Lưới bài viết "co giãn thông minh": khi ít bài (1-2) thì các thẻ
   giữ kích thước bình thường, canh trái, KHÔNG để lại ô trống xấu xí. */
.post-flex { display: flex; flex-wrap: wrap; gap: var(--gap); }
.post-flex > * { flex: 0 1 352px; min-width: 280px; }
@media (max-width: 760px) {
	.post-flex > * { flex-basis: 100%; }
}

/* ---------- 4. BUTTONS ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font-family: var(--font-head);
	font-weight: 600;
	font-size: .98rem;
	padding: 12px 22px;
	border-radius: 999px;
	border: 2px solid transparent;
	cursor: pointer;
	transition: transform .15s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
	line-height: 1;
}
.btn:hover { transform: translateY(-2px); }
.btn--cta { background: var(--ntmkt-cta); color: #fff; box-shadow: 0 8px 20px -8px var(--ntmkt-cta); }
.btn--cta:hover { color: #fff; box-shadow: 0 12px 26px -8px var(--ntmkt-cta); }
.btn--ghost { background: transparent; color: var(--ntmkt-primary); border-color: var(--ntmkt-border); }
.btn--ghost:hover { color: var(--ntmkt-primary); border-color: var(--ntmkt-primary); }
.section--dark .btn--ghost { color: #fff; border-color: rgba(255,255,255,.4); }
.btn--lg { padding: 15px 30px; font-size: 1.05rem; }
.btn--sm { padding: 9px 16px; font-size: .85rem; }

.link-arrow { font-family: var(--font-head); font-weight: 600; white-space: nowrap; }

/* ---------- 5. HEADER ---------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(255,255,255,.88);
	backdrop-filter: saturate(160%) blur(10px);
	border-bottom: 1px solid var(--ntmkt-border);
}
/* Khi đăng nhập, đẩy header xuống dưới thanh quản trị WordPress để không bị che. */
.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) {
	.admin-bar .site-header { top: 46px; }
}
.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	min-height: 70px;
}
.site-branding img,
.site-branding .custom-logo { max-height: 46px; width: auto; }
.site-title {
	font-family: var(--font-head);
	font-weight: 800;
	font-size: 1.25rem;
	color: var(--ntmkt-primary);
}
.site-nav { display: flex; align-items: center; gap: 26px; }
.primary-menu {
	display: flex;
	align-items: center;
	gap: 26px;
	list-style: none;
	margin: 0; padding: 0;
}
.primary-menu a {
	font-family: var(--font-head);
	font-weight: 600;
	font-size: .98rem;
	color: var(--ntmkt-text);
}
.primary-menu a:hover,
.primary-menu .current-menu-item > a { color: var(--ntmkt-secondary); }
.nav-cta { padding: 10px 18px; }

.nav-toggle {
	display: none;
	flex-direction: column;
	gap: 5px;
	background: none; border: 0; cursor: pointer; padding: 8px;
}
.nav-toggle span { width: 26px; height: 2px; background: var(--ntmkt-primary); border-radius: 2px; transition: .25s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 6. HERO ---------- */
.hero {
	position: relative;
	background:
		radial-gradient(900px 400px at 85% -10%, rgba(37,99,235,.12), transparent 60%),
		radial-gradient(700px 350px at 0% 110%, rgba(249,115,22,.10), transparent 55%),
		var(--ntmkt-bg);
	padding: 90px 0 80px;
	overflow: hidden;
}
.hero__inner { display: grid; grid-template-columns: 1.4fr .6fr; align-items: center; gap: 50px; }
.hero__eyebrow {
	font-family: var(--font-head);
	font-weight: 600;
	color: var(--ntmkt-secondary);
	font-size: .92rem;
	letter-spacing: .02em;
	margin-bottom: 16px;
}
.hero__title { font-size: clamp(2.2rem, 1rem + 5vw, 3.6rem); margin-bottom: 18px; }
.hero__promise { font-size: clamp(1.05rem, .9rem + 1vw, 1.35rem); color: var(--ntmkt-text); max-width: 560px; margin-bottom: 30px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__badge {
	justify-self: center;
	background: var(--ntmkt-primary);
	color: #fff;
	border-radius: var(--radius-lg);
	padding: 30px 26px;
	text-align: center;
	box-shadow: var(--shadow-lg);
}
.hero__badge-num { display: block; font-family: var(--font-head); font-weight: 800; font-size: 3.2rem; color: var(--ntmkt-cta); line-height: 1; }
.hero__badge-label { display: block; margin-top: 10px; color: #cbd5e1; font-size: .95rem; }

/* ---------- 7. TOPIC CARDS ---------- */
.topic-card {
	background: var(--ntmkt-surface);
	border: 1px solid var(--ntmkt-border);
	border-radius: var(--radius);
	padding: 28px 24px;
	box-shadow: var(--shadow-sm);
	transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.topic-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #cbd5e1; }
.topic-card__index {
	font-family: var(--font-head);
	font-weight: 800;
	font-size: 1rem;
	color: #fff;
	background: var(--ntmkt-secondary);
	width: 40px; height: 40px;
	display: inline-flex; align-items: center; justify-content: center;
	border-radius: 12px;
	margin-bottom: 16px;
}
.topic-card__title { font-size: 1.15rem; margin-bottom: 8px; }
.topic-card__desc { color: var(--ntmkt-muted); font-size: .96rem; margin: 0; }

/* ---------- 8. KHÓA HỌC NỔI BẬT ---------- */
.course-feature__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.course-feature__desc { color: var(--ntmkt-muted); font-size: 1.05rem; margin-bottom: 26px; }
.course-feature__card {
	background: linear-gradient(160deg, var(--ntmkt-primary), #1e293b);
	color: #fff;
	border-radius: var(--radius-lg);
	padding: 34px;
	box-shadow: var(--shadow-lg);
}
.course-feature__card h3 { color: #fff; font-size: 1.4rem; }
.course-feature__tag {
	display: inline-block;
	background: var(--ntmkt-cta);
	color: #fff;
	font-family: var(--font-head);
	font-weight: 700;
	font-size: .75rem;
	letter-spacing: .08em;
	text-transform: uppercase;
	padding: 6px 12px;
	border-radius: 999px;
	margin-bottom: 16px;
}
.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li { position: relative; padding-left: 30px; margin-bottom: 12px; color: #e2e8f0; }
.checklist li::before {
	content: "✓";
	position: absolute; left: 0; top: 0;
	color: var(--ntmkt-cta); font-weight: 800;
}

/* ---------- 9. POST CARDS ---------- */
.post-card {
	background: var(--ntmkt-surface);
	border: 1px solid var(--ntmkt-border);
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow-sm);
	display: flex; flex-direction: column;
	transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.post-card__thumb { display: block; aspect-ratio: 16 / 10; background: #e2e8f0; overflow: hidden; }
.post-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.post-card:hover .post-card__thumb img { transform: scale(1.05); }
.post-card__thumb-fallback {
	display: flex; align-items: center; justify-content: center;
	height: 100%; color: var(--ntmkt-muted); font-family: var(--font-head); font-weight: 700;
}
.post-card__body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.post-card__cat {
	align-self: flex-start;
	font-family: var(--font-head); font-weight: 700;
	font-size: .72rem; letter-spacing: .06em; text-transform: uppercase;
	color: var(--ntmkt-secondary);
	background: rgba(37,99,235,.08);
	padding: 5px 10px; border-radius: 999px; margin-bottom: 12px;
}
.post-card__title { font-size: 1.2rem; margin-bottom: 10px; }
.post-card__title a { color: var(--ntmkt-primary); }
.post-card__title a:hover { color: var(--ntmkt-secondary); }
.post-card__excerpt { color: var(--ntmkt-muted); font-size: .96rem; margin-bottom: 16px; }
.post-card__meta { margin-top: auto; color: var(--ntmkt-muted); font-size: .85rem; }

/* ---------- 10. VIDEO NỔI BẬT ---------- */
.video-feature__frame {
	position: relative;
	max-width: 900px; margin: 0 auto;
	aspect-ratio: 16 / 9;
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: var(--shadow-lg);
}
.video-feature__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- 11. CTA THU LEAD ---------- */
.lead-cta { padding: 60px 0; }
.lead-cta__box {
	background:
		radial-gradient(600px 300px at 90% -40%, rgba(249,115,22,.25), transparent 60%),
		linear-gradient(160deg, var(--ntmkt-primary), #1e293b);
	border-radius: var(--radius-lg);
	padding: 48px;
	display: flex; align-items: center; justify-content: space-between;
	gap: 30px; flex-wrap: wrap;
	box-shadow: var(--shadow-lg);
}
.lead-cta__title { color: #fff; font-size: clamp(1.4rem, 1rem + 1.6vw, 2rem); margin-bottom: 10px; }
.lead-cta__desc { color: #cbd5e1; margin: 0; max-width: 560px; }

/* ---------- 12. INLINE CTA ---------- */
.inline-cta {
	margin: 50px 0 10px;
	background: var(--ntmkt-white);
	border: 1px solid var(--ntmkt-border);
	border-left: 5px solid var(--ntmkt-cta);
	border-radius: var(--radius);
	padding: 26px 28px;
	display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
	box-shadow: var(--shadow-sm);
}
.inline-cta h3 { font-size: 1.2rem; margin-bottom: 4px; }
.inline-cta p { margin: 0; color: var(--ntmkt-muted); font-size: .95rem; }
.inline-cta__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- 13. PAGE HERO (blog, archive, page) ---------- */
.page-hero {
	background:
		radial-gradient(700px 300px at 100% -30%, rgba(37,99,235,.10), transparent 60%),
		var(--ntmkt-white);
	border-bottom: 1px solid var(--ntmkt-border);
	padding: 64px 0 54px;
}
.page-hero__title { font-size: clamp(1.9rem, 1rem + 3.5vw, 3rem); }
.page-hero__lead { color: var(--ntmkt-muted); font-size: 1.1rem; max-width: 680px; }

/* ---------- 14. BLOG LAYOUT + SIDEBAR ---------- */
.blog-layout {
	display: grid;
	grid-template-columns: 1fr 320px;
	gap: 46px;
	padding-block: 60px;
	align-items: start;
}
.cat-filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.cat-filter__item {
	font-family: var(--font-head); font-weight: 600; font-size: .9rem;
	padding: 8px 16px; border-radius: 999px;
	background: var(--ntmkt-white); border: 1px solid var(--ntmkt-border);
	color: var(--ntmkt-text);
}
.cat-filter__item:hover,
.cat-filter__item.is-active { background: var(--ntmkt-primary); color: #fff; border-color: var(--ntmkt-primary); }

.widget {
	background: var(--ntmkt-white);
	border: 1px solid var(--ntmkt-border);
	border-radius: var(--radius);
	padding: 22px;
	margin-bottom: 26px;
	box-shadow: var(--shadow-sm);
}
.widget-title { font-size: 1.1rem; margin-bottom: 16px; }
.widget ul { list-style: none; margin: 0; padding: 0; }
.cat-list li { padding: 7px 0; border-bottom: 1px dashed var(--ntmkt-border); }
.cat-list li:last-child { border-bottom: 0; }

.recommended__item { border-bottom: 1px dashed var(--ntmkt-border); }
.recommended__item:last-child { border-bottom: 0; }
.recommended__item a { display: flex; gap: 12px; align-items: center; padding: 12px 0; color: var(--ntmkt-text); }
.recommended__item a:hover .recommended__title { color: var(--ntmkt-secondary); }
.recommended__thumb { flex: 0 0 64px; }
.recommended__thumb img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; }
.recommended__title { font-family: var(--font-head); font-weight: 600; font-size: .95rem; line-height: 1.35; }

/* ---------- 15. SINGLE / PAGE ---------- */
.single__header { padding: 56px 0 24px; text-align: center; }
.single__cat {
	display: inline-block;
	font-family: var(--font-head); font-weight: 700;
	font-size: .75rem; letter-spacing: .08em; text-transform: uppercase;
	color: var(--ntmkt-secondary); margin-bottom: 14px;
}
.single__title { font-size: clamp(1.9rem, 1rem + 3.2vw, 2.8rem); }
.single__meta { color: var(--ntmkt-muted); font-size: .92rem; display: flex; gap: 10px; justify-content: center; }
.single__featured { margin: 30px 0; }
.single__featured img { width: 100%; border-radius: var(--radius-lg); }

.entry-content { font-size: 1.08rem; line-height: 1.85; }
.entry-content h2 { font-size: 1.6rem; margin-top: 1.8em; }
.entry-content h3 { font-size: 1.3rem; margin-top: 1.5em; }
.entry-content img { border-radius: var(--radius); margin: 1.4em 0; }
.entry-content blockquote {
	margin: 1.6em 0; padding: 6px 24px;
	border-left: 4px solid var(--ntmkt-secondary);
	color: var(--ntmkt-muted); font-style: italic;
}
.entry-content a { text-decoration: underline; text-underline-offset: 3px; }
.entry-content ul, .entry-content ol { padding-left: 1.4em; margin-bottom: 1.2em; }
.entry-content li { margin-bottom: .5em; }
.entry-content code {
	background: #f1f5f9; padding: 2px 7px; border-radius: 6px; font-size: .92em;
}
.entry-content pre { background: var(--ntmkt-primary); color: #e2e8f0; padding: 20px; border-radius: var(--radius); overflow: auto; }

.single__tags { margin: 30px 0; display: flex; flex-wrap: wrap; gap: 8px; }
.single__tags a {
	font-size: .85rem; color: var(--ntmkt-muted);
	background: var(--ntmkt-white); border: 1px solid var(--ntmkt-border);
	padding: 5px 12px; border-radius: 999px;
}
.single__tags a:hover { color: var(--ntmkt-secondary); border-color: var(--ntmkt-secondary); }

.related { margin: 56px 0 20px; }
.related__title { font-size: 1.5rem; margin-bottom: 26px; }

/* ---------- 16. VIDEO GRID (template-videos) ---------- */
.video-card {
	background: var(--ntmkt-surface);
	border: 1px solid var(--ntmkt-border);
	border-radius: var(--radius);
	overflow: hidden; box-shadow: var(--shadow-sm);
	display: flex; flex-direction: column;
	transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.video-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.video-card__thumb { position: relative; aspect-ratio: 16 / 9; background: #0f172a; overflow: hidden; }
.video-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.video-card__placeholder { display: flex; align-items: center; justify-content: center; height: 100%; color: #fff; font-size: 2rem; }
.video-card__play {
	position: absolute; inset: 0; margin: auto;
	width: 60px; height: 60px; border-radius: 50%;
	background: rgba(249,115,22,.92); color: #fff;
	display: flex; align-items: center; justify-content: center; font-size: 1.3rem;
	box-shadow: var(--shadow-md); transition: transform .2s var(--ease);
}
.video-card:hover .video-card__play { transform: scale(1.1); }
.video-card__body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.video-card__title { font-size: 1.1rem; margin: 0; }
.video-card__desc { color: var(--ntmkt-muted); font-size: .92rem; margin: 0; flex: 1; }
.video-card__body .btn { align-self: flex-start; }

/* ---------- 17. CONTACT ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; align-items: start; }
.contact-channels__list { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }
.contact-btn {
	display: block;
	background: var(--ntmkt-white);
	border: 1px solid var(--ntmkt-border);
	border-radius: var(--radius-sm);
	padding: 16px 20px;
	font-family: var(--font-head); font-weight: 600;
	color: var(--ntmkt-primary);
	box-shadow: var(--shadow-sm);
	transition: transform .15s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.contact-btn:hover { transform: translateX(4px); border-color: var(--ntmkt-secondary); color: var(--ntmkt-secondary); }

.contact-form-wrap {
	background: var(--ntmkt-white);
	border: 1px solid var(--ntmkt-border);
	border-radius: var(--radius-lg);
	padding: 34px;
	box-shadow: var(--shadow-md);
}
.form-row { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.form-row label { font-family: var(--font-head); font-weight: 600; font-size: .95rem; }
.form-row input, .form-row textarea {
	font-family: var(--font-body); font-size: 1rem;
	padding: 13px 16px;
	border: 1px solid var(--ntmkt-border); border-radius: var(--radius-sm);
	background: var(--ntmkt-bg); color: var(--ntmkt-text);
	transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.form-row input:focus, .form-row textarea:focus {
	outline: none; border-color: var(--ntmkt-secondary);
	box-shadow: 0 0 0 3px rgba(37,99,235,.15);
}
.form-notice { padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 20px; font-size: .95rem; }
.form-notice--ok { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.form-notice--err { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

/* ---------- 18. PAGINATION ---------- */
.pagination { margin-top: 40px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.pagination .page-numbers {
	font-family: var(--font-head); font-weight: 600;
	min-width: 42px; height: 42px;
	display: inline-flex; align-items: center; justify-content: center;
	padding: 0 14px; border-radius: 10px;
	background: var(--ntmkt-white); border: 1px solid var(--ntmkt-border); color: var(--ntmkt-text);
}
.pagination .page-numbers.current,
.pagination .page-numbers:hover { background: var(--ntmkt-primary); color: #fff; border-color: var(--ntmkt-primary); }

.no-posts { color: var(--ntmkt-muted); padding: 40px 0; }

/* ---------- 19. FOOTER ---------- */
.site-footer { background: var(--ntmkt-primary); color: #cbd5e1; padding-top: 56px; margin-top: 40px; }
.site-footer__inner {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 40px;
	flex-wrap: wrap;
	padding-bottom: 40px;
}
.site-footer__name { font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; color: #fff; }
.site-footer .custom-logo { filter: brightness(0) invert(1); max-height: 44px; }
.site-footer__tag { margin-top: 12px; max-width: 420px; color: #94a3b8; }

/* Khối kết nối: nút mạng xã hội ở trên, nút điều hướng nhanh ở dưới */
.site-footer__connect { display: flex; flex-direction: column; gap: 16px; align-items: flex-end; }
.site-footer__social-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }

/* Hàng 3 nút điều hướng nhanh */
.site-footer__nav { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.footer-nav-btn {
	font-family: var(--font-head);
	font-weight: 700;
	font-size: .82rem;
	letter-spacing: .04em;
	color: #fff;
	background: rgba(255,255,255,.04);
	border: 1px solid rgba(255,255,255,.18);
	padding: 11px 20px;
	border-radius: 12px;
	white-space: nowrap;
	transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .15s var(--ease);
}
.footer-nav-btn:hover {
	background: var(--ntmkt-cta);
	border-color: var(--ntmkt-cta);
	color: #fff;
	transform: translateY(-2px);
}
.social-btn {
	font-family: var(--font-head); font-weight: 600; font-size: .9rem;
	color: #e2e8f0;
	background: rgba(255,255,255,.06);
	border: 1px solid rgba(255,255,255,.14);
	padding: 9px 16px; border-radius: 999px;
	transition: background .2s var(--ease), color .2s var(--ease);
}
.social-btn:hover { background: var(--ntmkt-cta); color: #fff; border-color: var(--ntmkt-cta); }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,.10); padding: 20px 0; }
.site-footer__bottom p { margin: 0; font-size: .88rem; color: #94a3b8; }

/* ---------- 20. RESPONSIVE ---------- */
@media (max-width: 980px) {
	.grid--4 { grid-template-columns: repeat(2, 1fr); }
	.hero__inner { grid-template-columns: 1fr; }
	.hero__badge { justify-self: start; }
	.course-feature__inner { grid-template-columns: 1fr; }
	.blog-layout { grid-template-columns: 1fr; }
	.contact-layout { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
	body { font-size: 16px; }
	.section { padding: 52px 0; }
	.grid--2, .grid--3 { grid-template-columns: 1fr; }

	/* Menu mobile */
	.nav-toggle { display: flex; }
	.site-nav {
		position: fixed;
		inset: 70px 0 auto 0;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		background: var(--ntmkt-white);
		border-bottom: 1px solid var(--ntmkt-border);
		box-shadow: var(--shadow-md);
		padding: 14px 22px 22px;
		transform: translateY(-120%);
		transition: transform .3s var(--ease);
		max-height: calc(100vh - 70px);
		overflow-y: auto;
	}
	.site-nav.is-open { transform: translateY(0); }
	.admin-bar .site-nav { top: 116px; }
	.primary-menu { flex-direction: column; align-items: stretch; gap: 0; }
	.primary-menu li { border-bottom: 1px solid var(--ntmkt-border); }
	.primary-menu a { display: block; padding: 14px 4px; }
	.nav-cta { margin-top: 14px; text-align: center; }

	.lead-cta__box, .inline-cta, .course-feature__card { padding: 28px; }
	.contact-form-wrap { padding: 24px; }
	.site-footer__inner { gap: 30px; }
	.site-footer__connect { align-items: flex-start; width: 100%; }
	.site-footer__social-row, .site-footer__nav { justify-content: flex-start; }
}

@media (max-width: 460px) {
	.grid--4 { grid-template-columns: 1fr; }
	.section__head--row { flex-direction: column; align-items: flex-start; }
}

/* ---------- 21. GIẢM CHUYỂN ĐỘNG NẾU NGƯỜI DÙNG YÊU CẦU ---------- */
@media (prefers-reduced-motion: reduce) {
	* { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
