/* =========================================================
   CÔNG TY THIÊN NIÊN KỶ – Giao diện chung
   Màu giao diện: xanh lam dịu #1D4ED8 (cùng họ xanh với logo.png, bớt chói). Bản cũ #0000FF
   ========================================================= */
:root {
  --brand: #1d4ed8;
  --brand-700: #1e40af;
  --brand-50: #f5f8ff;
  --brand-100: #e0e9ff;
  --navy: #0b1b3f;
  --navy-2: #12285c;
  --ink: #0b1b3f;
  --text: #2c2e45;
  --muted: #5d6079;
  --line: #e4e6ef;
  --soft: #f6f7fb;
  --white: #fff;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(10, 12, 60, .06), 0 8px 24px rgba(10, 12, 60, .06);
  --shadow-lg: 0 20px 50px rgba(7, 10, 61, .18);
  --wrap: 1180px;
  --header-h: 72px;
  --font: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; } /* để thuộc tính hidden luôn thắng các quy tắc display của nút, khung */
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; font-family: var(--font); font-size: 1rem; line-height: 1.65; color: var(--text); background: var(--white); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.25; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.015em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 800; letter-spacing: -.03em; }
h2 { font-size: clamp(1.5rem, 2.8vw, 2.2rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--brand); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 200; }
.skip-link:focus { top: 12px; }
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }

/* ---------- Nút ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 46px; padding: .7em 1.35em; border-radius: 999px; border: 1.5px solid transparent; font-weight: 600; font-size: .98rem; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background .18s, color .18s, border-color .18s, transform .18s, box-shadow .18s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 18px rgba(29, 78, 216, .22); }
.btn-primary:hover { background: var(--brand-700); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-light { background: #fff; color: var(--brand); }
.btn-light:hover { background: var(--brand-50); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn-outline-light:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn-sm { min-height: 40px; padding: .5em 1em; font-size: .9rem; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.link-arrow { font-weight: 600; text-decoration: none; display: inline-flex; gap: .35em; align-items: center; }
.link-arrow::after { content: "→"; transition: transform .18s; }
.link-arrow:hover::after { transform: translateX(3px); }

/* ---------- Đầu trang ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: saturate(160%) blur(10px); -webkit-backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.brand img { width: 44px; height: 44px; }
.brand-name { display: block; font-weight: 800; font-size: 1.02rem; letter-spacing: .01em; line-height: 1.15; }
.brand-slogan { display: block; font-size: .8rem; color: var(--brand); font-weight: 600; }
.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.main-nav a { display: block; padding: 9px 13px; border-radius: 999px; text-decoration: none; color: var(--text); font-weight: 500; font-size: .95rem; transition: background .15s, color .15s; }
.main-nav a:hover { background: var(--soft); color: var(--ink); }
.main-nav a[aria-current="page"] { background: var(--brand-50); color: var(--brand); font-weight: 600; }
.header-cta { flex-shrink: 0; }
.main-nav a { white-space: nowrap; }
/* Máy tính (từ 1101px): menu 1 dòng gồm logo, 6 mục, số điện thoại, nút tư vấn. Dòng đầu trang rộng hơn nội dung một chút để đủ chỗ. */
@media (min-width: 68.8125em) { .site-header .wrap { width: min(100% - 32px, 1320px); } }
.header-row { gap: 14px; }
.main-nav ul { gap: 0; }
.main-nav a { padding: 9px 10px; font-size: .93rem; }
@media (max-width: 74.9375em) and (min-width: 68.8125em) { .main-nav a { padding: 9px 6px; } }
.nav-toggle { display: none; margin-left: auto; min-width: 44px; min-height: 44px; padding: 0 14px; gap: 8px; border-radius: 12px; border: 1px solid var(--line); background: #fff; cursor: pointer; align-items: center; justify-content: center; font-weight: 600; font-size: .95rem; color: var(--ink); }
.nav-icon, .nav-icon::before, .nav-icon::after { display: block; width: 20px; height: 2px; background: var(--ink); position: relative; transition: transform .2s, background .2s; }
.nav-icon::before, .nav-icon::after { content: ""; position: absolute; left: 0; }
.nav-icon::before { top: -6px; } .nav-icon::after { top: 6px; }
.nav-toggle { flex: 0 0 auto; } .nav-icon { flex: 0 0 20px; } .nav-label { white-space: nowrap; } /* sửa chồng chữ Menu ở màn 320px */
.nav-toggle[aria-expanded="true"] .nav-icon { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-icon::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-icon::after { transform: translateY(-6px) rotate(-45deg); }
body.nav-open { overflow: hidden; } /* khóa cuộn nền khi menu mở */
.mobile-bar { display: none; }
/* Ngưỡng chuyển sang menu ba gạch + thanh đáy: 1100px. PHẢI GIỐNG hằng NAV_BP trong js/core.js. */
@media (max-width: 68.75em) {
  :root { --header-h: 56px; }
  .header-cta { display: none; }
  .header-row { min-height: var(--header-h); gap: 12px; }
  .brand img { width: 40px; height: 40px; }
  .nav-toggle { display: inline-flex; }
  .main-nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); display: none; max-height: calc(100vh - var(--header-h) - 52px); max-height: calc(100dvh - var(--header-h) - 52px); overflow-y: auto; overscroll-behavior: contain; }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; padding: 10px 20px 18px; gap: 2px; }
  .main-nav a { display: flex; align-items: center; min-height: 46px; padding: 8px 14px; border-radius: 12px; font-size: 1rem; line-height: 1.35; }
  /* Thanh liên hệ dính đáy: 2 nút lớn, cao 52px */
  .mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 4px 8px calc(4px + env(safe-area-inset-bottom)); background: #fff; box-shadow: 0 -1px 0 var(--line), 0 -6px 18px rgba(10, 12, 60, .10); }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; min-height: 44px; border: 2px solid var(--brand); border-radius: 999px; font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; text-align: center; }
  .mobile-bar .mb-call { background: var(--brand); color: #fff; }
  .mobile-bar .mb-consult { background: #fff; color: var(--brand); }
  body.typing .mobile-bar { display: none; } /* đang gõ vào ô nhập: ẩn thanh để không che ô/nút khi bàn phím ảo mở */
}
@media (max-width: 420px) { .brand-name { font-size: .92rem; } .brand img { width: 36px; height: 36px; } .header-row { gap: 8px; } .nav-toggle { padding: 0 10px; gap: 6px; } }
@media (max-width: 340px) { .brand-name { font-size: .8rem; } .brand-slogan { font-size: .72rem; } .brand img { width: 32px; height: 32px; } .brand { min-width: 0; } .header-row { gap: 6px; } } /* màn 320px: chừa chỗ cho nút Menu có chữ */
@media (max-width: 360px) { .brand-name { font-size: .8rem; } .brand { gap: 8px; } .brand-slogan { font-size: .72rem; } }

/* ---------- Khối chung ---------- */
.section { padding: clamp(32px, 4vw, 48px) 0; }
.section-soft { background: var(--soft); }
.section-tight { padding: clamp(24px, 3vw, 32px) 0; }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); margin-bottom: 12px; }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 32px; margin-bottom: 24px; }
.section-head > div { max-width: 680px; }
.section-head p { color: var(--muted); margin: 0; font-size: 1.05rem; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.note { font-size: .92rem; color: var(--muted); }
.pill { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; font-size: .78rem; font-weight: 600; background: var(--brand-50); color: var(--brand-700); white-space: nowrap; }
.pill-muted { background: var(--soft); color: var(--muted); border: 1px solid var(--line); }
.check-list { list-style: none; padding: 0; margin: 0 0 1em; }
.check-list li { position: relative; padding-left: 28px; margin-bottom: 9px; }
.check-list li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 14px; height: 8px; border-left: 2.5px solid var(--brand); border-bottom: 2.5px solid var(--brand); transform: rotate(-45deg); }

/* ---------- Đầu trang con ---------- */
.page-hero { background: linear-gradient(180deg, var(--brand-50), #fff); padding: clamp(28px, 4vw, 40px) 0 clamp(16px, 2.4vw, 24px); }
.page-hero h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); margin-bottom: .3em; }
.page-hero p { max-width: 720px; }
.breadcrumb { font-size: .88rem; color: var(--muted); margin-bottom: 14px; }
.breadcrumb a { color: var(--muted); text-decoration: none; } .breadcrumb a:hover { color: var(--brand); }
.subnav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.subnav a { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; text-decoration: none; color: var(--text); font-weight: 500; font-size: .93rem; }
.subnav a:hover { border-color: var(--brand); color: var(--brand); }

/* ---------- Trang chủ: hero ---------- */
.hero { position: relative; background: radial-gradient(1200px 500px at 85% -10%, rgba(29,78,216,.08), transparent 60%), linear-gradient(180deg, #fff, var(--brand-50)); padding: clamp(36px, 5vw, 64px) 0 clamp(40px, 5vw, 64px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.hero-kicker { display: inline-flex; align-items: center; gap: 10px; font-size: .82rem; font-weight: 600; color: var(--brand-700); background: #fff; border: 1px solid var(--brand-100); padding: 6px 14px 6px 8px; border-radius: 999px; margin-bottom: 18px; }
.hero-kicker b { background: var(--brand); color: #fff; padding: 2px 9px; border-radius: 999px; font-size: .75rem; }
.hero h1 { margin-bottom: .25em; }
.hero h1 .accent { color: var(--brand); }
.hero-company { font-weight: 700; color: var(--ink); font-size: clamp(.95rem, 1.4vw, 1.08rem); letter-spacing: .02em; margin-bottom: 10px; }
.hero .lead { max-width: 560px; margin-bottom: 26px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.hero-actions .btn { padding-inline: 1.1em; }
.hero-paths { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 580px; }
.path { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 14px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: border-color .18s, transform .18s, box-shadow .18s; }
.path:hover { border-color: var(--brand); transform: translateY(-2px); box-shadow: var(--shadow); }
.path-icon { flex-shrink: 0; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--brand); color: #fff; font-weight: 800; font-size: .9rem; }
.path.ai .path-icon { background: var(--navy); }
.path strong { display: block; font-size: .95rem; line-height: 1.3; }
.path small { color: var(--muted); font-size: .8rem; }
.hero-visual { position: relative; }
.hero-photo { border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 16 / 10.5; background: var(--brand-100); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo-2 { position: absolute; width: 50%; right: -4%; bottom: -12%; border-radius: 16px; overflow: hidden; border: 5px solid #fff; box-shadow: var(--shadow-lg); aspect-ratio: 16 / 10; }
.hero-photo-2 img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge { position: absolute; left: 0; top: calc(100% + 3px); background: transparent; border-radius: 0; padding: 0; box-shadow: none; display: flex; gap: 8px; align-items: flex-start; max-width: 46%; }
.hero-badge strong { display: block; color: var(--ink); font-size: .85rem; line-height: 1.2; }
.hero-badge small { display: block; color: var(--muted); font-size: .74rem; line-height: 1.2; }
.hero-badge .dot { margin-top: 4px; width: 10px; height: 10px; border-radius: 50%; background: #16a34a; flex-shrink: 0; box-shadow: 0 0 0 4px rgba(22,163,74,.15); }
.photo-tag { position: absolute; left: 12px; bottom: 12px; background: rgba(7,10,61,.78); color: #fff; font-size: .75rem; padding: 4px 10px; border-radius: 999px; }
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { margin: 0 4% 36px; }
}
@media (max-width: 560px) {
  .hero-paths { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1 1 auto; }
  .hero-badge { display: none; }
  .hero-photo-2 { width: 46%; right: -2%; bottom: -14%; border-width: 3px; }
}

/* ---------- Con số ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 0; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); overflow: hidden; }
.stat { padding: 26px 24px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat-num { display: block; font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; color: var(--brand); letter-spacing: -.02em; line-height: 1.1; margin-bottom: 6px; }
.stat-label { color: var(--muted); font-size: .92rem; line-height: 1.45; display: block; }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, minmax(0,1fr)); } .stat:nth-child(2) { border-right: 0; } .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
@media (max-width: 380px) { .stats { grid-template-columns: 1fr; } .stat { border-right: 0; border-bottom: 1px solid var(--line); } }

/* ---------- Giới thiệu ---------- */
.intro-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.intro-quote { font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 700; color: var(--ink); line-height: 1.3; letter-spacing: -.02em; }
.intro-quote span { color: var(--brand); }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; margin: 22px 0; }
.fact { background: var(--soft); border-radius: 12px; padding: 14px 16px; }
.fact small { display: block; color: var(--muted); font-size: .8rem; }
.fact strong { color: var(--ink); font-size: .98rem; }
@media (max-width: 860px) { .intro-grid { grid-template-columns: 1fr; } }
@media (max-width: 460px) { .facts { grid-template-columns: 1fr; } }

/* ---------- Hai lĩnh vực ---------- */
.field { position: relative; display: flex; flex-direction: column; border-radius: 22px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.field-media { aspect-ratio: 16 / 8.5; overflow: hidden; background: var(--brand-100); position: relative; }
.field-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.field:hover .field-media img { transform: scale(1.03); }
.field-num { position: absolute; top: 14px; left: 14px; background: var(--brand); color: #fff; font-weight: 800; border-radius: 10px; padding: 4px 11px; font-size: .9rem; }
.field.ai .field-num { background: var(--navy); }
.field-body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.field-body h3 { font-size: 1.4rem; }
.field-body .check-list { margin-top: 6px; }
.field-actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 10px; padding-top: 10px; }

/* ---------- Khối truyền hình ---------- */
.press-band { background: radial-gradient(900px 400px at 10% 0%, rgba(29,78,216,.30), transparent 60%), var(--navy); color: #d9dcff; }
.press-band .section-head h2 { color: #fff; }
.press-band .eyebrow { color: #a9b0ff; }
.press-band .section-head p { color: #b9bef0; }
.station-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.station-chips span { font-size: .8rem; padding: 5px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); color: #cfd3ff; }
.center { text-align: center; }
.mt-32 { margin-top: 32px; }

/* ---------- Thẻ video ---------- */
.video-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; }
.video-grid.cols-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
@media (max-width: 1020px) { .video-grid, .video-grid.cols-4 { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 600px) { .video-grid, .video-grid.cols-4 { grid-template-columns: minmax(0,1fr); } }
.vcard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; transition: transform .18s, box-shadow .18s, border-color .18s; }
.vcard:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--brand-100); }
.press-band .vcard { border-color: transparent; }
.vthumb { position: relative; aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--navy-2), var(--brand)); border: 0; padding: 0; width: 100%; cursor: pointer; display: block; overflow: hidden; }
.vthumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.vcard:hover .vthumb img { transform: scale(1.04); }
.vthumb-fallback { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 14px 16px 16px; text-align: left; color: #fff; background: radial-gradient(500px 200px at 100% 0%, rgba(255,255,255,.18), transparent 60%), linear-gradient(135deg, var(--navy) 0%, var(--brand) 120%); }
.vthumb-fallback b { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; opacity: .8; font-weight: 700; }
.vthumb-fallback span { font-size: .95rem; font-weight: 700; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vthumb.has-img .vthumb-fallback { display: none; }
.vplay { position: absolute; top: 50%; left: 50%; width: 60px; height: 60px; margin: -30px 0 0 -30px; border-radius: 50%; background: rgba(255,255,255,.95); box-shadow: 0 6px 22px rgba(0,0,0,.25); display: grid; place-items: center; transition: transform .2s; }
.vplay::after { content: ""; border-left: 18px solid var(--brand); border-top: 11px solid transparent; border-bottom: 11px solid transparent; margin-left: 5px; }
.vthumb:not(.has-img) .vplay { top: 38%; }
.vcard:hover .vplay { transform: scale(1.08); }
.vbody { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.vmeta { display: flex; flex-wrap: wrap; gap: 6px; }
.vtitle { font-size: 1rem; font-weight: 700; line-height: 1.4; color: var(--ink); margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.vsource { font-size: .86rem; color: var(--muted); margin: 0; display: flex; gap: 6px; align-items: flex-start; }
.vsource::before { content: ""; flex-shrink: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); margin-top: .5em; }
.vactions { margin-top: auto; display: flex; gap: 8px; flex-wrap: wrap; padding-top: 4px; }
.vactions a, .vactions button { font-size: .86rem; }
.text-btn { background: none; border: 0; padding: 6px 2px; color: var(--brand); font-weight: 600; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; gap: 4px; min-height: 40px; }
.text-btn:hover { text-decoration: underline; }
.text-btn.muted { color: var(--muted); }

/* ---------- Thư viện ảnh ---------- */
.photo-grid { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 14px; }
.photo-grid .ph { grid-column: span 2; }
.photo-grid .ph:nth-child(1), .photo-grid .ph:nth-child(2) { grid-column: span 3; }
.photo-grid.filtered .ph { grid-column: span 3; }
.ph { position: relative; border: 0; padding: 0; border-radius: 14px; overflow: hidden; cursor: zoom-in; background: var(--brand-100); aspect-ratio: 16 / 10; text-align: left; }
.ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.ph:hover img { transform: scale(1.04); }
.ph-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 32px 16px 14px; background: linear-gradient(0deg, rgba(7,10,61,.85), transparent); color: #fff; }
.ph-cap strong { display: block; font-size: .95rem; line-height: 1.3; }
.ph-cap small { font-size: .8rem; opacity: .85; }
@media (max-width: 760px) { .photo-grid { grid-template-columns: 1fr 1fr; } .photo-grid .ph, .photo-grid .ph:nth-child(1), .photo-grid .ph:nth-child(2), .photo-grid.filtered .ph { grid-column: span 1; } .photo-grid .ph:nth-child(1) { grid-column: span 2; } }
@media (max-width: 460px) { .photo-grid { grid-template-columns: 1fr; } .photo-grid .ph:nth-child(1) { grid-column: span 1; } }

/* ---------- Bộ lọc, chip ---------- */
.toolbar { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px; box-shadow: var(--shadow); margin-bottom: 22px; }
.toolbar-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.toolbar-row + .toolbar-row { margin-top: 14px; }
.toolbar-label { font-size: .82rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; min-width: 92px; }
.search { position: relative; flex: 1 1 280px; }
.search input { width: 100%; min-height: 48px; padding: 10px 44px 10px 46px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--soft); transition: border-color .15s, background .15s; }
.search input:focus { border-color: var(--brand); background: #fff; outline: none; box-shadow: 0 0 0 4px var(--brand-100); }
.search::before { content: ""; position: absolute; left: 18px; top: 50%; width: 14px; height: 14px; margin-top: -9px; border: 2px solid var(--muted); border-radius: 50%; }
.search::after { content: ""; position: absolute; left: 31px; top: 50%; width: 2px; height: 7px; margin-top: 3px; background: var(--muted); transform: rotate(-45deg); }
.search-clear { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border-radius: 50%; border: 0; background: transparent; cursor: pointer; color: var(--muted); font-size: 1.2rem; }
.search-clear:hover { background: var(--line); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 40px; padding: 7px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; cursor: pointer; font-size: .9rem; font-weight: 500; color: var(--text); transition: all .15s; display: inline-flex; align-items: center; gap: 6px; }
.chip:hover { border-color: var(--brand); color: var(--brand); }
.chip[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.chip .count { font-size: .76rem; opacity: .75; font-weight: 600; }
.chip-check[aria-pressed="true"]::before { content: "✓"; font-weight: 700; }
.result-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; margin: 0 0 18px; }
.result-bar p { margin: 0; color: var(--muted); font-size: .95rem; }
.result-bar strong { color: var(--ink); }
.empty { grid-column: 1 / -1; text-align: center; padding: 48px 20px; border: 1.5px dashed var(--line); border-radius: 16px; color: var(--muted); background: #fff; }
.empty strong { display: block; color: var(--ink); font-size: 1.05rem; margin-bottom: 6px; }

/* ---------- Thẻ chuyên đề ---------- */
.topic-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
@media (max-width: 1000px) { .topic-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 620px) { .topic-grid { grid-template-columns: minmax(0,1fr); } }
.tcard { display: flex; flex-direction: column; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px; transition: border-color .18s, box-shadow .18s, transform .18s; }
.tcard:hover { border-color: var(--brand-100); box-shadow: var(--shadow); transform: translateY(-2px); }
.tcard-top { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.tnum { font-weight: 800; color: var(--brand); font-size: .9rem; background: var(--brand-50); border-radius: 8px; padding: 2px 9px; }
.tgroup { font-size: .74rem; font-weight: 700; letter-spacing: .04em; color: var(--muted); text-transform: uppercase; text-align: right; line-height: 1.3; }
.tcard h3 { font-size: 1.06rem; margin: 0; line-height: 1.4; }
.aud { display: flex; flex-wrap: wrap; gap: 6px; }
.tdur { display: flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--text); }
.tdur::before { content: ""; width: 15px; height: 15px; border: 2px solid var(--brand); border-radius: 50%; flex-shrink: 0; background: linear-gradient(var(--brand), var(--brand)) 6px 3px / 2px 5px no-repeat, linear-gradient(var(--brand), var(--brand)) 6px 6.5px / 4px 2px no-repeat; }
.tactions { margin-top: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding-top: 6px; }
.tactions .btn { padding-inline: .6em; font-size: .86rem; min-height: 42px; }
.pagination { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; margin-top: 28px; }
.pagination button { min-width: 42px; height: 42px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line); background: #fff; cursor: pointer; font-weight: 600; }
.pagination button:hover:not([disabled]) { border-color: var(--brand); color: var(--brand); }
.pagination button[aria-current="page"] { background: var(--brand); color: #fff; border-color: var(--brand); }
.pagination button[disabled] { opacity: .4; cursor: not-allowed; }
.pagination .gap { padding: 0 4px; color: var(--muted); }

/* ---------- Khối dịch vụ AI ---------- */
.module { display: flex; gap: 16px; padding: 22px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.module-icon { flex-shrink: 0; width: 46px; height: 46px; border-radius: 12px; background: var(--brand-50); color: var(--brand); display: grid; place-items: center; font-weight: 800; }
.module h3 { margin-bottom: 4px; font-size: 1.04rem; }
.module p { margin: 0; color: var(--muted); font-size: .94rem; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.places { columns: 2; column-gap: 28px; padding: 0; margin: 0; list-style: none; }
.places li { break-inside: avoid; padding: 9px 0 9px 26px; border-bottom: 1px solid var(--line); position: relative; font-size: .95rem; }
.places li::before { content: ""; position: absolute; left: 4px; top: 16px; width: 10px; height: 10px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--brand); }
@media (max-width: 560px) { .places { columns: 1; } }
.notice { display: flex; gap: 14px; padding: 16px 18px; background: var(--brand-50); border: 1px solid var(--brand-100); border-radius: 14px; color: var(--ink); font-size: .95rem; }
.notice::before { content: "i"; flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: .85rem; font-family: Georgia, serif; }
.notice p { margin: 0; }
.service-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 24px; max-width: 720px; }
@media (max-width: 560px) { .service-switch { grid-template-columns: 1fr; } }

/* ---------- Về chúng tôi ---------- */
.vm-card { border-radius: 20px; padding: 30px; background: #fff; border: 1px solid var(--line); height: 100%; }
.vm-card.dark { background: var(--navy); color: #d9dcff; border-color: var(--navy); }
.vm-card.dark h2, .vm-card.dark h3 { color: #fff; }
.vm-card ul { padding-left: 1.2em; margin: 0; }
.vm-card li { margin-bottom: 10px; }
.value-card { padding: 26px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.value-card .num { font-size: 2rem; font-weight: 800; color: var(--brand); line-height: 1; display: block; margin-bottom: 14px; }
.timeline { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--brand-100); }
.timeline li { position: relative; padding: 0 0 22px 26px; }
.timeline li::before { content: ""; position: absolute; left: -8px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--brand); }
.timeline strong { display: block; color: var(--ink); }

/* ---------- Hệ sinh thái ---------- */
.eco-feature { display: grid; grid-template-columns: 1.1fr .9fr; border-radius: 24px; overflow: hidden; background: var(--navy); color: #d9dcff; box-shadow: var(--shadow-lg); }
.eco-feature .eco-text { padding: clamp(28px, 4vw, 48px); }
.eco-feature h2 { color: #fff; }
.eco-domain { display: inline-flex; gap: 8px; align-items: center; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .95rem; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); padding: 6px 12px; border-radius: 10px; color: #fff; margin-bottom: 18px; }
.eco-art { background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.22), transparent 40%), linear-gradient(135deg, var(--brand), var(--navy-2)); display: grid; place-items: center; padding: 32px; min-height: 260px; }
.eco-art ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; width: 100%; max-width: 320px; }
.eco-art li { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); border-radius: 12px; padding: 12px 16px; color: #fff; font-weight: 600; font-size: .93rem; }
@media (max-width: 860px) { .eco-feature { grid-template-columns: 1fr; } }
.compare { width: 100%; border-collapse: collapse; background: #fff; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); font-size: .95rem; }
.compare th, .compare td { padding: 14px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare thead th { background: var(--soft); color: var(--ink); font-size: .9rem; }
.compare tbody th { color: var(--muted); font-weight: 600; width: 22%; }
.table-scroll { overflow-x: auto; border-radius: 16px; }
.social-card { display: flex; flex-direction: column; gap: 10px; }
.social-card .icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; color: #fff; font-weight: 800; }
.icon-fb { background: #1565d8; } .icon-yt { background: #e00; }

/* ---------- Liên hệ ---------- */
.big-phone { font-size: clamp(1.6rem, 3vw, 2rem); font-weight: 800; text-decoration: none; letter-spacing: .01em; }
.hint { font-size: .84rem; color: var(--muted); margin-top: 4px; }

/* ---------- Dải kêu gọi ---------- */
.cta-band { background: linear-gradient(120deg, var(--brand) 0%, var(--brand-700) 45%, var(--navy-2) 100%); color: #e6e8ff; border-radius: 26px; padding: clamp(30px, 5vw, 56px); display: grid; grid-template-columns: 1.3fr auto; gap: 24px; align-items: center; }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { margin: 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; } }

/* ---------- Chân trang ---------- */
.site-footer { background: var(--navy); color: #b9bef0; padding: 56px 0 28px; margin-top: 0; font-size: .94rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 32px; }
.site-footer h2 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.site-footer a { color: #dfe2ff; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-brand { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
.footer-brand img { width: 48px; height: 48px; background: #fff; border-radius: 12px; padding: 4px; }
.footer-brand strong { color: #fff; display: block; line-height: 1.25; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 36px; padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .85rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Hộp thoại ---------- */
dialog { border: 0; padding: 0; border-radius: 20px; max-width: min(760px, calc(100vw - 24px)); width: 100%; max-height: calc(100dvh - 24px); box-shadow: var(--shadow-lg); color: var(--text); }
dialog::backdrop { background: rgba(7, 10, 61, .62); backdrop-filter: blur(3px); }
dialog[open] { animation: pop .2s ease-out; }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
.dlg-head { position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; align-items: start; gap: 12px; padding: 18px 20px 14px 24px; background: #fff; border-bottom: 1px solid var(--line); }
.dlg-head h2 { font-size: 1.2rem; margin: 0; line-height: 1.35; }
.dlg-body { padding: 22px 24px 26px; }
.dlg-close { flex-shrink: 0; width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--soft); cursor: pointer; font-size: 1.4rem; line-height: 1; color: var(--ink); }
.dlg-close:hover { background: var(--line); }
.dlg-meta { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; margin-bottom: 20px; }
.dlg-meta div { background: var(--soft); border-radius: 12px; padding: 12px 14px; }
.dlg-meta small { display: block; font-size: .76rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.dlg-meta strong { color: var(--ink); font-size: .95rem; }
@media (max-width: 560px) { .dlg-meta { grid-template-columns: 1fr; } }
.dlg-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.mini-videos { display: grid; gap: 10px; }
.mini-video { display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: 12px; border: 1px solid var(--line); background: #fff; cursor: pointer; text-align: left; width: 100%; }
.mini-video:hover { border-color: var(--brand); }
.mini-video .vthumb { width: 120px; flex-shrink: 0; border-radius: 8px; pointer-events: none; }
.mini-video .vthumb-fallback { padding: 6px 8px; } .mini-video .vthumb-fallback span { font-size: .7rem; } .mini-video .vthumb-fallback b { display: none; }
.mini-video .vplay { width: 30px; height: 30px; margin: -15px 0 0 -15px; } .mini-video .vplay::after { border-left-width: 9px; border-top-width: 6px; border-bottom-width: 6px; margin-left: 3px; }
.mini-video strong { display: block; font-size: .9rem; line-height: 1.35; color: var(--ink); }
.mini-video small { color: var(--muted); font-size: .8rem; }
.dlg-photo { max-width: min(1200px, calc(100vw - 24px)); background: #0b0d2b; }
.dlg-photo img { width: 100%; max-height: calc(100dvh - 190px); object-fit: contain; background: #000; }
.photo-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 20px 18px; color: #e6e8ff; }
.photo-bar h2 { color: #fff; font-size: 1.05rem; margin: 0; }
.photo-bar p { margin: 0; font-size: .88rem; color: #b9bef0; }
.photo-nav { display: flex; gap: 8px; align-items: center; }
.photo-nav span { min-width: 54px; text-align: center; font-size: .9rem; }

/* ---------- Hiệu ứng xuất hiện nhẹ ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
  .js .reveal.in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
@media print { .site-header, .site-footer, .cta-band, .toolbar { display: none; } }
@media (max-width: 560px) { .stat { padding: 20px 16px; } .stat-num { font-size: 1.4rem; } .hero-kicker { font-size: .78rem; } }
@media (max-width: 480px) { .btn { white-space: normal; text-align: center; } .cta-actions .btn, .center .btn { max-width: 100%; } }
/* Nút của dịch vụ chưa ra mắt: hiển thị nhưng không bấm được */
.is-soon { cursor: default; opacity: .8; box-shadow: none; }
.btn.is-soon:hover { background: inherit; border-color: inherit; color: inherit; }
/* Nhãn "Sắp ra mắt": chữ thường, KHÔNG vẽ như nút (không viền, không nền, không tay trỏ) */
.soon-note { display: inline-flex; align-items: center; font-weight: 600; font-size: .95rem; color: #d9dcff; cursor: default; }
@media (max-width: 68.75em) { .site-footer { padding-bottom: calc(28px + 52px + env(safe-area-inset-bottom)); } } /* chừa chỗ cho thanh liên hệ dính đáy (cao 52px) */
/* Ghi chú nhỏ trong khung minh họa của Giáo Dục Nhân Bản khi chưa ra mắt */
.eco-art { align-content: center; }
.eco-art .eco-note { width: 100%; max-width: 320px; margin: 0 0 10px; color: #d9dcff; font-size: .85rem; font-weight: 600; text-align: left; }

/* ===== Chặng D (19/11/2026): bớt khoảng trắng, gộp khối ===== */
.eco-feature > * { min-width: 0; } .eco-domain { overflow-wrap: anywhere; } /* 320px: khối Giáo Dục Nhân Bản không rộng hơn thẻ chứa */
.eco-feature .eco-text { padding: clamp(22px, 3vw, 32px); } .eco-art { min-height: 0; padding: 22px; }
.page-hero h1 { margin-bottom: .2em; } .page-hero .lead { margin-bottom: 12px; } .breadcrumb { margin-bottom: 8px; }
.subnav { margin-top: 12px; }
@media (min-width: 861px) { .timeline { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; } .timeline li { padding-bottom: 14px; } }
.value-card { padding: 18px 20px; } .value-card .num { font-size: 1.5rem; margin-bottom: 6px; } .value-card h3 { margin-bottom: .25em; } .value-card p { margin: 0; }
.vm-card { padding: 22px 24px; } .vm-card li { margin-bottom: 6px; }
.direction { margin-top: 20px; display: grid; grid-template-columns: 1fr auto; gap: 8px 28px; align-items: center; background: var(--brand-50); border: 1px solid var(--brand-100); border-radius: 18px; padding: 20px 24px; }
.direction h3 { margin: 0 0 .3em; } .direction p { margin: 0 0 .4em; } .direction p:last-of-type { margin-bottom: 0; }
@media (max-width: 760px) { .direction { grid-template-columns: 1fr; } }
.section-soft { padding-top: clamp(28px, 3.5vw, 40px); padding-bottom: clamp(28px, 3.5vw, 40px); }
/* Điện thoại: chip tên đài thành MỘT dòng cuộn ngang (tên đài đã có ở dòng nguồn từng video) */
@media (max-width: 760px) { .station-chips { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 6px; margin-top: 16px; } .station-chips span { flex: 0 0 auto; white-space: nowrap; } }

/* Chặng D (tiếp): thu gọn trang Về chúng tôi và chân trang */
.site-footer { padding: 32px 0 16px; } .site-footer .footer-grid { gap: 20px 32px; } .site-footer p { margin: 0 0 6px; } .footer-bottom { margin-top: 18px; padding-top: 14px; }
#hinh-thanh .section-head p { display: none; }
#gioi-thieu .split { align-items: start; } #gioi-thieu h2 { margin-bottom: .3em; } #gioi-thieu p { margin: 0 0 10px; } #gioi-thieu .check-list li { margin-bottom: 6px; }
.timeline li { font-size: .95rem; }
.vm-card h2 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); }

/* Chặng D (tiếp 2): tiêu đề khối nhỏ gọn hơn */
.section-head h2 { font-size: clamp(1.3rem, 2vw, 1.6rem); margin: 0 0 4px; } .section-head { margin-bottom: 14px; }
#gioi-thieu h2 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); }
.page-hero h1 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); }
#tam-nhin .grid-2 { gap: 16px; } #tam-nhin .vm-card { padding: 18px 22px; }
#gia-tri .value-card { padding: 14px 18px; } #gia-tri .grid-3 { gap: 16px; }
.direction { margin-top: 16px; padding: 14px 22px; }
.section, .section-soft { padding-top: clamp(22px, 2.6vw, 32px); padding-bottom: clamp(22px, 2.6vw, 32px); }
#gioi-thieu .card { padding: 18px 20px; } #gioi-thieu .fact { padding: 10px 14px; } #gioi-thieu .card h3 { margin: 0 0 10px; }
.timeline li { padding-bottom: 10px; }
.page-hero .lead { max-width: 62rem; }
.value-card p { font-size: .93rem; line-height: 1.5; }
#gioi-thieu p, #gioi-thieu li { font-size: .96rem; line-height: 1.55; }
@media (max-width: 68.75em) { .site-footer { padding-bottom: calc(16px + 52px + env(safe-area-inset-bottom)); } } /* chừa chỗ cho thanh đáy (R6) */
.contact-sec { padding-bottom: 40px; } @media (max-width: 68.75em) { .contact-sec { padding-bottom: 72px; } } /* chừa chỗ cho thanh đáy trên điện thoại */
.eco-domain { display: block; max-width: 100%; word-break: break-all; font-size: clamp(.78rem, 3.4vw, .95rem); }
.table-scroll { position: relative; } @media (max-width: 760px) { .table-scroll::after { content: "Vuốt ngang để xem hết →"; display: block; font-size: .8rem; color: var(--muted); padding: 6px 2px 0; } }

/* ===== Chặng E (19/11/2026): Trang chủ gọn ===== */
.video-grid.cols-2 { grid-template-columns: repeat(2, minmax(0,1fr)); } @media (max-width: 600px) { .video-grid.cols-2 { grid-template-columns: minmax(0,1fr); } }
.hero { padding-bottom: 20px; }
.hero .lead { margin-bottom: 18px; } .hero-actions { margin-bottom: 8px; }
.hero-stats .stat { padding: 14px 18px; } .hero-stats .stat-num { font-size: clamp(1.3rem, 2.2vw, 1.7rem); margin-bottom: 2px; } .hero-stats .stat-label { font-size: .85rem; line-height: 1.35; }
.hero .wrap + .wrap { margin-top: 28px; } .hero .link-arrow { display: inline-block; margin-top: 10px; }
#linh-vuc .field-media { aspect-ratio: 16 / 5.5; } #linh-vuc .field-body { padding: 16px 22px 18px; } #linh-vuc .field-body p { margin-bottom: 8px; } #linh-vuc .check-list { margin-bottom: 10px; } #linh-vuc .check-list li { margin-bottom: 3px; }
.press-band .section-head p { display: none; }
.press-band .center { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 18px; }
.eco-strip { display: flex; align-items: center; justify-content: space-between; gap: 18px 28px; flex-wrap: wrap; background: var(--navy); color: #d9dcff; border-radius: 20px; padding: 18px 26px; max-height: 150px; }
.eco-strip h2 { color: #fff; font-size: 1.25rem; margin: 0 0 4px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; } .eco-strip p { margin: 0; font-size: .93rem; } .eco-strip .eco-domain { font-size: .82rem; padding: 3px 10px; }
.eco-strip-text { flex: 1 1 420px; min-width: 0; }
@media (max-width: 760px) { .eco-strip { max-height: none; } }
.cta-band { padding: clamp(22px, 3vw, 32px); }
/* Chặng E (tiếp): thẻ video ngang trên Trang chủ, chip đài một dòng, gọn khối lĩnh vực + CTA */
.press-band .vcard { display: flex; flex-direction: row; align-items: stretch; } .press-band .vcard .vthumb { width: 46%; flex: 0 0 46%; aspect-ratio: 16 / 9; } .press-band .vcard > :not(.vthumb) { flex: 1; min-width: 0; }
@media (max-width: 600px) { .press-band .vcard { flex-direction: column; } .press-band .vcard .vthumb { width: 100%; flex: none; } }
.press-band .station-chips { flex-wrap: nowrap; overflow-x: auto; margin-top: 14px; padding-bottom: 4px; align-items: flex-start; } .press-band .station-chips span { flex: 0 0 auto; white-space: nowrap; max-width: calc(100vw - 72px); overflow: hidden; text-overflow: ellipsis; }
#linh-vuc .section-head p { display: none; } #linh-vuc .check-list { display: none; } #linh-vuc .field-media { aspect-ratio: 16 / 4.5; }
.hero { padding-top: clamp(24px, 3vw, 36px); } .hero-photo { aspect-ratio: 16 / 8.6; }
.cta-band { padding: 20px 28px; } .cta-band h2 { font-size: 1.35rem; margin-bottom: .15em; }
/* Chặng E (tiếp 2): Trang chủ điện thoại ≤ 6 màn */
@media (max-width: 760px) {
  .hero-stats { grid-template-columns: repeat(2, minmax(0,1fr)) !important; }
  .hero-stats .stat { padding: 10px 14px; border-right: 0; border-bottom: 1px solid var(--line); } .hero-stats .stat:nth-child(odd) { border-right: 1px solid var(--line); } .hero-stats .stat:nth-last-child(-n+2) { border-bottom: 0; }
  .hero-stats .stat-num { font-size: 1.25rem; } .hero-stats .stat-label { font-size: .8rem; }
  .hero-photo { aspect-ratio: 16 / 7.5; } .hero-photo-2, .hero-badge { display: none; }
  #linh-vuc .field-media { display: none; } #linh-vuc .field-actions .btn-ghost { display: none; } #linh-vuc .field-body { padding: 16px 18px; } #linh-vuc .field-body h3 { margin-bottom: .2em; }
  .press-band .vmeta, .press-band .vactions .muted { display: none; } .press-band .vbody { padding: 12px 16px; } .press-band .vsource { margin: 4px 0 6px; }
  .press-band .vthumb-fallback span { -webkit-line-clamp: 1; } .press-band .vcard .vthumb { aspect-ratio: 16 / 8; }
  .eco-strip { padding: 16px 18px; }
  .cta-band p { display: none; }
  .site-footer .footer-grid > div:first-child p:first-of-type { display: none; } .site-footer ul { gap: 4px; } .site-footer h2 { margin-bottom: 6px; }
}

/* ===== Chặng F (19/11/2026): Chương trình – hai tab, thẻ gọn, Xem thêm ===== */
.service-switch { margin-top: 14px; gap: 10px; max-width: 760px; }
.tabs-on .service-switch .path { border-width: 2px; padding: 10px 16px; min-height: 56px; }
.tabs-on .service-switch .path.is-active { background: var(--brand-50); border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-100); }
.tabs-on .service-switch .path.ai.is-active { background: #eef1fb; border-color: var(--navy); box-shadow: 0 0 0 3px #d5dbf2; }
.tabs-on .service-switch .path.is-active strong::after { content: "  ✓"; color: var(--brand); }
.tight-split { margin-bottom: 18px !important; align-items: start; } .tight-split p { margin: 0 0 8px; } .tight-split h2 { font-size: clamp(1.3rem, 2vw, 1.65rem); }
#thu-vien .section-head { margin-bottom: 10px; }
.toolbar { padding: 12px 14px; margin-bottom: 12px; border-radius: 16px; } .toolbar-row + .toolbar-row, .filter-toggle + #filter-panel { margin-top: 8px; }
#filter-panel .toolbar-row + .toolbar-row { margin-top: 8px; } #filter-panel .hint { margin: 6px 0 0; font-size: .85rem; }
.chip { min-height: 36px; padding: 4px 12px; font-size: .88rem; }
.result-bar { margin-bottom: 10px; }
.topic-grid { gap: 12px; }
.tcard { gap: 4px; padding: 10px 16px; border-radius: 14px; } .tcard h3 { font-size: 1rem; line-height: 1.35; }
.tcard-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 4px; } .tcard-foot .tdur { font-size: .85rem; min-width: 0; }
.tcard-foot .btn { flex: 0 0 auto; min-height: 40px; padding-inline: 1em; font-size: .86rem; }
.more-wrap { display: flex; justify-content: center; margin-top: 18px; } .more-wrap .btn { min-height: 48px; padding-inline: 2em; }
.ai-photos .ph { aspect-ratio: 16 / 7; } .ai-photos .ph img { width: 100%; height: 100%; object-fit: cover; }
#tap-huan-ai .grid-3 { gap: 12px; } #tap-huan-ai .module { padding: 12px 16px; gap: 12px; } #tap-huan-ai .module-icon { width: 38px; height: 38px; }
#tap-huan-ai .card { padding: 16px 20px; } #tap-huan-ai .check-list li { margin-bottom: 4px; }
@media (max-width: 760px) { #filter-panel[hidden] { display: none !important; } .filter-toggle { width: 100%; margin-top: 8px; justify-content: center; } .tcard-foot { flex-wrap: wrap; } }
.section-tight:has(> .wrap > .notice) { padding-top: 6px; padding-bottom: 14px; }
.more-wrap { margin-top: 12px; }
@media (max-width: 760px) { .tabs-on .service-switch .path { padding: 8px 12px; min-height: 48px; } .tabs-on .service-switch .path small { display: none; } .page-hero .lead { font-size: 1rem; } }
@media (max-width: 760px) { .tight-split .grid-2 { grid-template-columns: 1fr 1fr !important; gap: 8px !important; } .tight-split .fact { padding: 8px 10px; } .tight-split .fact small { font-size: .74rem; } .tight-split .fact strong { font-size: .86rem; line-height: 1.3; } .toolbar-row { gap: 8px; } }

/* ===== Chặng F (tiếp): Hoạt động gọn ===== */
.muted-s { font-size: .8rem; font-weight: 400; color: var(--muted); }
.cat-select { display: none; width: 100%; min-height: 44px; border: 1.5px solid var(--line); border-radius: 12px; padding: 6px 12px; font: inherit; background: #fff; color: var(--text); }
@media (max-width: 760px) { #video-cats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: 100%; } #video-cats .chip { min-height: 44px; justify-content: center; } .cat-select { display: none; } #video-library .toolbar-label { display: none; } }
#thanh-tuu { padding-top: 14px; padding-bottom: 6px; } #thanh-tuu .stat { padding: 12px 16px; } #thanh-tuu .stat-num { font-size: clamp(1.25rem, 2.2vw, 1.6rem); margin-bottom: 2px; } #thanh-tuu .stat-label { font-size: .84rem; line-height: 1.35; }
#hinh-anh .section-head { margin-bottom: 8px; } #hinh-anh .section-head h2 { font-size: 1.15rem; }
#hinh-anh .photo-grid { grid-template-columns: repeat(5, minmax(0,1fr)); gap: 10px; } #hinh-anh .photo-grid .ph, #hinh-anh .photo-grid .ph:nth-child(1), #hinh-anh .photo-grid .ph:nth-child(2), #hinh-anh .photo-grid.filtered .ph { grid-column: span 1; aspect-ratio: 4 / 3; }
#hinh-anh .ph-cap { padding: 18px 10px 8px; } #hinh-anh .ph-cap strong { font-size: .78rem; } #hinh-anh .ph-cap small { display: none; }
@media (max-width: 760px) { #hinh-anh .photo-grid { display: flex; overflow-x: auto; gap: 10px; scroll-snap-type: x mandatory; } #hinh-anh .photo-grid .ph { flex: 0 0 62%; scroll-snap-align: start; } #hinh-anh .section-head { display: block; } #hinh-anh .chips { margin-top: 6px; } }
#thu-vien-video .section-head p { margin: 2px 0 0; font-size: .9rem; }
@media (max-width: 760px) { .page-hero .subnav { margin-top: 8px; } .page-hero .subnav a { padding: 4px 10px; font-size: .85rem; min-height: 0; } #thu-vien-video .vmeta { display: none; } }

/* ===== Chặng G (19/11/2026): vùng bấm ≥ 44px, chữ ≥ 14px ===== */
.brand-slogan, .hero-kicker, .hero-kicker b, .eyebrow, .tgroup, .count, .toolbar-label, small, dt, .muted-s, .eco-note, .eco-domain, .hint, .vsource, .tdur, .text-btn { font-size: max(14px, .875rem) !important; }
.chip .count { font-size: .875rem; }
.eyebrow { letter-spacing: .06em; }
@media (max-width: 760px) {
  .stat-label, .hero-stats .stat-label, #thanh-tuu .stat-label, .tcard-foot .tdur, .btn-sm, .tcard-foot .btn, .field-body p, .vtitle, .hint, .toolbar-label, .ph-cap strong, .vthumb-fallback b, .vthumb-fallback span { font-size: max(14px, .875rem); }
  .site-footer, .site-footer p, .footer-bottom { font-size: 14px; }
}
/* vùng bấm ≥ 44px (điện thoại và máy tính bảng) */
.play-btn::before { content: "▶"; font-size: .8em; margin-right: .45em; }
.vactions { display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; }
.dlg-close { width: auto; min-width: 48px; height: 48px; padding: 0 16px; border-radius: 999px; font-size: .95rem; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.dlg-close::before { content: "×"; font-size: 1.5rem; line-height: 1; }
.field-actions, .cta-actions, .hero-actions, .tactions { gap: 8px; }
.btn-sm, .tcard-foot .btn, .filter-toggle { min-height: 44px; }
.big-phone { display: inline-flex; align-items: center; min-height: 44px; }
@media (max-width: 68.75em) {
  .brand { min-height: 44px; display: inline-flex; align-items: center; }
  .link-arrow { display: inline-flex; align-items: center; min-height: 44px; }
  .text-btn { min-height: 44px; display: inline-flex; align-items: center; padding-inline: 8px; }
  .breadcrumb a, .site-footer li a { display: inline-flex; align-items: center; min-height: 44px; }
  .site-footer ul { gap: 0; }
  .subnav a { min-height: 44px; display: inline-flex; align-items: center; }
}
@media (max-width: 760px) {
  .chip { min-height: 44px; } [data-photo-filters] .chip { min-height: 44px; }
  .site-footer .footer-grid { gap: 8px; }
  .footer-bottom span { display: block; }
}
/* Chặng G (tiếp): menu phụ một dòng cuộn ngang, chip đài/ghi chú ≥14px */
.vactions { gap: 8px; }
.station-chips span { font-size: .875rem !important; }
.tight-split .fact strong, #hinh-anh .ph-cap strong { font-size: .875rem !important; }
@media (max-width: 760px) {
  .page-hero .subnav { display: flex; flex-wrap: nowrap; overflow-x: auto; gap: 8px; margin-top: 8px; padding-bottom: 2px; -webkit-overflow-scrolling: touch; }
  .page-hero .subnav a { flex: 0 0 auto; white-space: nowrap; min-height: 44px; font-size: .875rem; padding: 0 14px; display: inline-flex; align-items: center; }
}
/* Chặng G (tiếp 2): giữ độ dài trang ≤ +5% */
@media (max-width: 760px) {
  .footer-bottom span { display: inline; } .footer-bottom > span { display: block; }
  .footer-bottom { margin-top: 8px; padding-top: 8px; }
  .site-footer li:has(> a[href$="#thu-vien"]) { display: none; }
  .breadcrumb a { min-height: 44px; margin: -12px 0; }
  .breadcrumb { margin-bottom: 4px; }
  .site-footer .footer-grid > div:first-child { margin-bottom: 0; }
}
@media (min-width: 761px) { .vbody { padding: 10px 16px 8px; gap: 4px; } .vactions { gap: 0 8px; } .vactions .text-btn { min-height: 36px; } #thu-vien-video .vmeta { margin-bottom: 0; } }

/* Chặng G (sửa theo giám sát) */
.pill, .brand-name { font-size: max(14px, .875rem) !important; }
@media (max-width: 400px) { .brand-name { letter-spacing: 0; } }
.ph-cap { background: linear-gradient(0deg, rgba(7,10,61,.92) 0%, rgba(7,10,61,.8) 55%, rgba(7,10,61,.45) 100%); padding-top: 40px; }
.dlg-actions .btn, .dlg .btn-sm { min-height: 44px; }
.search-clear { min-width: 44px; min-height: 44px; }
.eco-art li { background: rgba(7,10,61,.45); border-color: rgba(255,255,255,.3); } .eco-art .eco-note { color: #fff; }
.site-footer ul { gap: 4px; } .site-footer h2 { margin-top: 12px; }
.nav-list a, .site-nav a { margin-bottom: 4px; }
@media (max-width: 760px) {
  .station-chips, .page-hero .subnav, #hinh-anh .photo-grid { -webkit-mask-image: linear-gradient(90deg, #000 90%, transparent); mask-image: linear-gradient(90deg, #000 90%, transparent); }
}
.site-footer h2 { margin-top: 6px; }
@media (max-width: 760px) { .site-footer { padding-top: 22px; } .eco-strip-sec { padding-block: 10px; } }

/* Chặng G (sửa tràn ngang 320px): tên thương hiệu 14px làm đầu trang rộng; thu gọn khoảng cách, ẩn khẩu hiệu phụ ở màn rất hẹp */
@media (max-width: 340px) {
  .brand { min-width: 0; gap: 6px; }
  .brand > span { min-width: 0; }
  .brand-slogan { display: none; }
  .nav-toggle { padding: 0 8px; gap: 4px; }
}

/* Chặng G (giám sát lần 2): thông báo lỗi form phải ≥14px */

/* Lệnh một lần (19/11), việc 2.1: giảm số màn trên điện thoại 375x667. Khối gỡ ghi ở cong-cu/LUU-KHOI-DA-GO.md. */
@media (max-width: 560px) {
  .timeline li { padding-bottom: 4px; }
  [data-video-list="ai"] > :nth-child(n+3) { display: none; } /* tab B Chương trình: hiện 2 video đầu; còn lại ở thư viện video ("Tất cả video AI") */
}

/* Lệnh một lần, việc 2.4: khi trình duyệt tự cuộn tới nút/ô vừa gõ, chừa chỗ cho thanh dính đáy (~56px) để thanh không che nút gửi và nuốt lần chạm. */
@media (max-width: 68.75em) { html { scroll-padding-bottom: 76px; } }

/* Lệnh một lần, Đợt 2 truy cập (đã sửa loại A): */
/* V1: vòng focus trắng trên nền tối/xanh (xanh trên navy chỉ 1,0–2,5:1) */
.cta-band :focus-visible, .press-band :focus-visible, .eco-strip :focus-visible, .site-footer :focus-visible, dialog :focus-visible { outline-color: #fff; }
/* V4: viền ô nhập ≥ 3:1 trên nền trắng (#767b94 = 4,2:1) */
/* N2: placeholder ≥ 4,5:1 trên nền xám nhạt; số đếm trong chip đang chọn không mờ */
input::placeholder, textarea::placeholder { color: #666b82; opacity: 1; }
.chip[aria-pressed="true"] .count { opacity: 1; }

/* Đợt 2 (giám sát độc lập): màn 320px nút Menu chạm sát mép phải (lề 0) – thu nhỏ tên thương hiệu để giữ lề 20px */
@media (max-width: 340px) {
  .brand-name { font-size: .75rem; line-height: 1.2; white-space: normal; text-wrap: balance; }
  .brand { flex: 1 1 0; min-width: 0; }
  .brand img { width: 26px; height: 26px; }
  .brand { gap: 5px; }
  .nav-toggle { padding: 0 6px; gap: 3px; }
  .header-row { gap: 4px; }
}

/* Lệnh sửa trang chủ lần 3 (19/11): khẩu hiệu header màu chữ tiêu đề (--ink) và căn giữa theo tên công ty; áp dụng mọi trang (đồng bộ một kiểu) */
.brand > span { text-align: center; }
.brand-slogan { color: var(--ink); }

/* Lệnh lần 4: trang Chính sách và Điều khoản; liên kết ở chân trang; chân trang 761–1000px (cột "Kết nối" hẹp làm xuống dòng lệch) */
.policy h3 { font-size: 1.05rem; margin: .9em 0 .25em; }
.policy .split > div > p, .policy .check-list { max-width: 62ch; }
@media (min-width: 761px) and (max-width: 1000px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}
/* Lệnh lần 4: điện thoại ≤760px đã có thanh đáy "Gọi ngay": bỏ dòng điện thoại lặp ở chân trang để bù chỗ cho liên kết Chính sách và Điều khoản */
@media (max-width: 760px) { .site-footer li:has(> a[href^="tel:"]) { display: none; } }

/* Trang Chính sách: mục lục 4 nút xuống dòng (không cuộn ngang) và liên kết liên hệ đủ vùng bấm */
@media (max-width: 760px) {
  .page-hero .subnav.subnav-wrap { flex-wrap: wrap; overflow-x: visible; -webkit-mask-image: none; mask-image: none; }
  .policy a[href^="tel:"], .policy a[data-email] { display: inline-flex; align-items: center; min-height: 44px; }
}

/* Lần 5: ẩn thuộc tính hidden luôn thắng; ô bẫy thư rác; thông báo nhỏ; khối dự phòng biểu mẫu */
[hidden] { display: none !important; }
input[type="search"]::-webkit-search-cancel-button, input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; appearance: none; display: none; }
a.vthumb, a.mini-video { text-decoration: none; color: inherit; }
@media (max-width: 68.75em) { .filter-toggle { min-height: 44px; } }

/* =========================================================
   LẦN 5 – ĐIỆN THOẠI (≤760px): màn đầu chỉ vài nút lớn; cùng một HTML, chỉ ẩn/hiện bằng CSS
   ========================================================= */
.m-only { display: none !important; }
@media (max-width: 760px) {
  .m-only { display: inline !important; }
  .m-hide { display: none !important; }
  .breadcrumb { display: none; }
  /* Trang chủ: 4 nút lớn theo nhu cầu */
  .quick-nav.m-only { display: grid !important; gap: 10px; margin: 16px 0 4px; }
  .qn { display: flex; align-items: center; gap: 14px; min-height: 60px; padding: 8px 16px; border-radius: 16px; background: #fff; border: 1.5px solid var(--brand-100); text-decoration: none; color: var(--ink); box-shadow: 0 2px 10px rgba(29,78,216,.08); }
  .qn:active { background: var(--brand-50); }
  .qn-ic { width: 40px; height: 40px; border-radius: 12px; background: var(--brand); display: grid; place-items: center; flex: none; }
  .qn-ic svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  .qn-tx strong { display: block; font-size: 1.1rem; line-height: 1.25; }
  .qn-tx small { display: block; color: var(--muted); font-size: .875rem; line-height: 1.3; }
  .hero-copy { display: flex; flex-direction: column; }
  .hero-copy .hero-actions { display: none; }
  .hero-copy .hero-kicker { order: 5; align-self: flex-start; margin-top: 14px; }
  .hero .lead { margin-bottom: 4px; }
  /* Chương trình: ô tìm lên đầu, giới thiệu xuống dưới; A/B thành 2 nút nhỏ cạnh nhau */
  #ky-nang-song > .wrap { display: flex; flex-direction: column; }
  #ky-nang-song .split { order: 2; }
  #ky-nang-song #thu-vien { order: 1; }
  #ky-nang-song #thu-vien > .section-head { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); margin: 0; }
  #ky-nang-song { padding-top: 14px; }
  .service-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
  .service-switch .path { padding: 8px 10px; gap: 8px; min-height: 52px; }
  .service-switch .path small { display: none; }
  .service-switch .path-icon { width: 30px; height: 30px; border-radius: 9px; }
  .service-switch .path strong { font-size: .95rem; }
  /* Hoạt động: thư viện video lên đầu */
  main:has(#thu-vien-video) { display: flex; flex-direction: column; }
  main:has(#thu-vien-video) > .page-hero { order: -2; }
  main:has(#thu-vien-video) > #thu-vien-video { order: -1; padding-top: 14px; }
  #thu-vien-video > .wrap > .section-head { display: none; }
  /* Chữ nội dung ≥16px */
  main p, main li, main dd, main td, main th, .stat-label, .vtitle, .field-body p, .note, .lead { font-size: max(16px, 1rem); }
  .qn-tx small, .hint, .vsource, .tdur, .pill, small, .eyebrow, .toolbar-label, .chip .count, .vthumb-fallback b { font-size: max(14px, .875rem); }
  .page-hero .lead { margin-bottom: 8px; }
  /* vòng 1 sau 6B: chữ nội dung 16px, ẩn Xóa bộ lọc khi chưa lọc */
  .stat-label, .vsource, .hero-kicker, .result-bar p, .site-footer, .site-footer p, .site-footer li, .site-footer a, .footer-bottom span, .tcard .tmeta, .vcard p { font-size: max(16px, 1rem); }
  #video-reset:disabled, #topic-reset:disabled { display: none; }
  .page-hero .lead a { font-weight: 700; }
  body main p, body main li, body main dd, body .stat-label, body .vsource, body .eco-note, body .hero-kicker, body .result-bar p, body .site-footer, body .site-footer * { font-size: 16px !important; }
  body .site-footer .sr-only { font-size: 1px !important; }
  body main strong, body main figcaption, body main .eyebrow, body main .press-band span, body main .ph-cap, body main .eco-note { font-size: 16px !important; }
  body .ph strong, body .ph span { font-size: 16px !important; }
  .policy h2 { margin-bottom: .4em; } .policy h3 { margin: .6em 0 .15em; } .policy p, .policy li { margin-block: .35em; } .policy .section-tight, .policy section { padding-block: 22px; }
  body #hinh-anh .ph-cap strong, body .tight-split .fact strong { font-size: 16px !important; }
}
/* vòng 1 sau giám sát lần 5 */
@media (max-width: 68.75em) { .text-btn.play-btn, .vcard .play-btn { min-height: 44px; display: inline-flex; align-items: center; } }
@media (max-width: 760px) {
  body .btn, body .text-btn, body .chip, body .filter-toggle, body .nav-toggle, body .field label, body .form-field label, body label { font-size: 16px !important; }
}
@media (max-width: 400px) { #video-cats { grid-template-columns: 1fr !important; } }

/* ===== Lần 6 (20/11/2026) ===== */
/* Chân trang: "Nhắn Zalo" nằm CÙNG HÀNG với Email (không thêm hàng mới) để không làm trang dài thêm. Số điện thoại và địa chỉ giữ cả hàng. */
.site-footer ul:has(> li[data-zalo-li]) { display: flex; flex-wrap: wrap; column-gap: 18px; }
.site-footer ul:has(> li[data-zalo-li]) > li { flex: 0 0 auto; }
.site-footer ul:has(> li[data-zalo-li]) > li:has(> a[href^="tel:"]),
.site-footer ul:has(> li[data-zalo-li]) > li:last-child { flex: 0 0 100%; }
/* Đầu trang: chừa lề trên/dưới theo cỡ chữ gốc để dấu mũ chữ Ô không sát mép khi chữ trình duyệt 150% */
@media (max-width: 68.75em) { .header-row { padding-block: .4rem; } }
/* Chương trình: nhãn nhóm cân hai dòng; hàng "thời lượng + Xem chi tiết" luôn cùng một kiểu */
@media (max-width: 760px) {
  .tcard-foot { flex-wrap: nowrap; }
  .tcard-foot .tdur { flex: 1 1 0; min-width: 0; }
}
/* Điện thoại (≤760px): ẩn chữ "Email:" bằng cách thu thành chữ chỉ cho trình đọc màn hình, để "Nhắn Zalo" nằm cùng hàng với địa chỉ email */
@media (max-width: 760px) {
  .site-footer .lbl-email { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .site-footer ul:has(> li[data-zalo-li]) { column-gap: 14px; }
  .more-wrap { margin-bottom: 12px; }
}
/* Máy tính (>760px): bỏ khoảng cách 4px giữa các dòng chân trang để dòng Zalo thêm vào không làm trang dài hơn mốc */
@media (min-width: 761px) { .site-footer ul { gap: 0; } }
/* Chân trang: "Nhắn Zalo" đậm và gạch chân để nhận ra là liên kết, tách khỏi dòng email đứng cạnh */
.site-footer li[data-zalo-li] a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* Lần 9 (lệnh sửa gọn 20/11): trang Các website bỏ cột phải nên khối GDNB một cột; Nhóm và Đối tượng cùng bố cục (nhãn bên trái, nút bên phải) */
.eco-feature { grid-template-columns: 1fr; } .eco-feature .eco-text { max-width: 760px; }
#filter-panel .toolbar-row { align-items: flex-start; flex-wrap: nowrap; }
#filter-panel .toolbar-row .toolbar-label { flex: 0 0 92px; padding-top: 9px; }
#filter-panel .toolbar-row .chips { flex: 1 1 0; min-width: 0; }
@media (max-width: 760px) { #filter-panel .toolbar-row { flex-wrap: wrap; } #filter-panel .toolbar-row .toolbar-label { flex: 1 0 100%; padding-top: 0; } }
@media (min-width: 761px) { .toolbar .search { max-width: none; } }

/* Lần 10 (lệnh bổ sung 20/11, Việc 2b): thẻ chuyên đề 3 hàng cân đối: (1) nhãn #số + tên nhóm chữ thường, (2) tiêu đề tối thiểu 2 dòng, (3) thời lượng/video + nút Xem chi tiết đều nhau */
.tcard { gap: 8px; padding: 16px 18px; }
.tcard-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 10px; min-width: 0; }
.tcard-top .tgroup { flex: 1 1 8em; min-width: 0; text-align: right; text-transform: none !important; letter-spacing: 0; font-weight: 500; color: #4a4d63; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tcard h3 { line-height: 1.4; min-height: 2.8em; }
.tcard-foot { display: flex; flex-wrap: nowrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 4px; }
.tcard-foot .tdur { flex: 1 1 0; min-width: 0; color: #4a4d63; }
.tcard-foot .btn { flex: 0 0 auto; width: 9.5em; min-height: 44px; padding-inline: .5em; justify-content: center; }
@media (max-width: 760px) {
  .tcard { gap: 6px; padding: 12px 16px; }
  .tcard h3 { font-size: 1rem; line-height: 1.35; min-height: 2.7em; }
  .tcard-top .tgroup, .tcard-foot .tdur { font-size: 16px !important; }
  .tcard-top .tgroup { flex-basis: 9em; text-align: left; }
  .tcard-foot .btn { width: 7.5em; font-size: 16px; padding-inline: .25em; } .tcard-foot .tdur { white-space: nowrap; }
}

/* Vòng 3 (20/11): Liên hệ máy tính: khung trái cao bằng biểu mẫu; Tầm nhìn/Sứ mệnh: thẻ cao theo nội dung, không để khoảng trống */
@media (min-width: 761px) { #tam-nhin .grid-2 { align-items: start; } #tam-nhin .vm-card { height: auto; } }

/* Vòng 4 (21/11): dải tên đài trang chủ trên máy tính xuống dòng (không còn cuộn ngang làm cắt chữ); điện thoại giữ dải cuộn/ẩn như cũ */
@media (min-width: 761px) {
  .press-band .station-chips { flex-wrap: wrap; overflow: visible; gap: 6px 8px; justify-content: center; margin-top: 12px; padding-bottom: 0; -webkit-mask-image: none; mask-image: none; }
  .press-band .station-chips span { padding: 3px 10px; max-width: none; }
}

/* Vòng 5 (21/11): (1) tiêu đề video không giới hạn số dòng (không còn bị cắt "…"); thẻ vẫn đều nhau vì lưới kéo giãn. (2) Máy tính bảng ≤960px: Tầm nhìn/Sứ mệnh xếp 1 cột, 3 giá trị cốt lõi xếp 1 cột (không còn thẻ lẻ hoặc thẻ trống) */
.vtitle { display: block; -webkit-line-clamp: unset; overflow: visible; }
@media (min-width: 761px) and (max-width: 960px) { #tam-nhin .grid-2 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 960px) { #gia-tri .grid-3 { grid-template-columns: minmax(0, 1fr); } }

/* ===== Vòng 6 (01/12/2026): hộp thoại Gọi / Zalo / Email cho máy dùng chuột ===== */
.tnk-dlg-bg { position: fixed; inset: 0; z-index: 1000; background: rgba(15,23,42,.55); display: flex; align-items: center; justify-content: center; padding: 16px; }
.tnk-dlg { background: #fff; color: var(--ink); border-radius: 20px; padding: 24px 26px; width: min(100%, 520px); max-height: calc(100vh - 32px); overflow-y: auto; box-shadow: 0 24px 60px rgba(15,23,42,.35); animation: tnk-dlg-in .18s ease-out; }
.tnk-dlg p { font-size: 1rem; margin: 0 0 10px; }
.tnk-dlg-title { font-size: 1.35rem; margin: 0 0 10px; }
.tnk-dlg-num { font-size: 2rem !important; font-weight: 800; color: var(--brand); letter-spacing: .02em; margin: 4px 0 8px !important; user-select: all; }
.tnk-dlg-addr { font-size: 1.25rem !important; overflow-wrap: anywhere; letter-spacing: 0; }
.tnk-dlg-note { color: var(--muted); min-height: 0; }
.tnk-dlg-note:empty { display: none; }
.tnk-dlg-sub { margin-top: 14px !important; font-weight: 600; }
.tnk-dlg-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0 0; }
.tnk-dlg .btn { min-height: 44px; font-size: 1rem; }
.tnk-dlg .btn[data-copied] { border-color: #15803d; color: #166534; background: #f0fdf4; }
.tnk-dlg-copybox { width: 100%; font-size: 1rem; border: 1.5px solid #767b94; border-radius: 12px; padding: 10px 12px; }
@keyframes tnk-dlg-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .tnk-dlg { animation: none; } }
@media (max-width: 400px) { .tnk-dlg { padding: 20px 16px; } .tnk-dlg-num { font-size: 1.7rem !important; } .tnk-dlg-actions .btn { flex: 1 1 100%; } }

/* ===== Vòng 6: đầu trang chỉ còn một lối vào Liên hệ trên máy tính ===== */
@media (min-width: 68.8125em) { .main-nav li.nav-m { display: none; } }

/* ===== Vòng 8: trang Liên hệ không còn biểu mẫu: ba lối vào Gọi / Zalo / Email + thông tin công ty ===== */
#lien-he-nhanh { scroll-margin-top: 80px; }
.contact-ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.way { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: clamp(22px, 2.6vw, 30px); box-shadow: var(--shadow); }
.way h2 { margin: 6px 0 0; font-size: 1.35rem; }
.way p { margin: 2px 0 12px; color: var(--muted); }
.way .btn { margin-top: auto; }
.way-ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--brand-50); color: var(--brand); font-size: 1.5rem; font-weight: 800; line-height: 1; }
.way-ico-zalo { font-family: Georgia, serif; }
.way-val { display: flex; align-items: center; min-height: 44px; font-size: clamp(1.25rem, 2.2vw, 1.7rem); font-weight: 800; color: var(--ink); letter-spacing: .01em; overflow-wrap: anywhere; }
.way .big-phone { color: var(--ink); font-size: clamp(1.25rem, 2.2vw, 1.7rem); }
.way .big-phone:hover { color: var(--brand); }
.way-mail { font-size: clamp(1rem, 1.6vw, 1.2rem); letter-spacing: 0; }
.way-val a { color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.way-val a:hover { color: var(--brand); }
.contact-info { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 28px; margin-top: 20px; padding: 14px 24px; background: var(--navy); color: #d9dcff; border-radius: 18px; }
.contact-info strong { color: #fff; }
.contact-info a { color: #fff; display: inline-flex; align-items: center; min-height: 44px; }
.ci-lbl { margin-right: 6px; font-size: .875rem; text-transform: uppercase; letter-spacing: .1em; color: #9aa1ee; font-weight: 700; }
.contact-sec .notice { margin-bottom: 16px; }
@media (max-width: 900px) {
  .contact-ways { grid-template-columns: 1fr; gap: 12px; }
  .way { padding: 18px 20px; display: grid; grid-template-columns: 48px 1fr; column-gap: 14px; row-gap: 2px; align-items: center; }
  .way .way-ico { grid-row: 1 / span 2; }
  .way h2 { margin: 0; font-size: 1.15rem; }
  .way .big-phone, .way .way-val { grid-column: 2; }
  .way p, .way .btn { grid-column: 1 / -1; }
  .way p { margin: 4px 0 6px; }
  .contact-info { flex-direction: column; align-items: flex-start; padding: 12px 18px; margin-top: 14px; }
}

/* Laptop (từ 1100px rộng): trang Liên hệ vừa MỘT màn hình, không cuộn */
@media (min-width: 1100px) {
  .page-hero-contact { padding: 10px 0 8px; }
  .page-hero-contact .wrap { display: grid; grid-template-columns: auto 1fr; column-gap: 28px; align-items: baseline; }
  .page-hero-contact .breadcrumb { grid-column: 1 / -1; margin: 0 0 2px; font-size: .9rem; }
  .page-hero-contact h1 { font-size: 1.7rem; margin: 0; line-height: 1.2; }
  .page-hero-contact .lead { margin: 0; font-size: .98rem; max-width: none; }
  .contact-sec { padding-top: 14px; padding-bottom: 20px; }
  .contact-ways { gap: 18px; }
  .way { padding: 18px 24px 20px; }
  .way h2 { font-size: 1.25rem; margin-top: 2px; }
  .way p { margin-bottom: 10px; }
  .contact-info { margin-top: 14px; padding: 6px 24px; }
}

/* ===== Vòng 12: trang Sản phẩm và dịch vụ (115 dòng <details>, 3 tab) ===== */
.service-switch.sp-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: none; gap: 10px; }
.sp-tabs .path { min-width: 0; }
.sp-tabs .path strong { overflow-wrap: anywhere; }
@media (max-width: 560px) {
  .service-switch.sp-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .sp-tabs .path { flex-direction: column; justify-content: center; text-align: center; gap: 2px; padding: 6px 4px; min-height: 52px; }
  .sp-tabs .path-icon { display: none; }
  .sp-tabs .path strong { font-size: .9rem; line-height: 1.2; }
  .sp-tabs .path small { display: block !important; font-size: .8rem; }
}
.sp-panel[hidden], .sp-muc[hidden], details.sp[hidden], .sp-bulk [hidden] { display: none !important; }
.sp-panel > h2 { font-size: 1.3rem; margin: 0 0 8px; line-height: 1.3; }
.sp-panel > p { margin: 0 0 10px; }
.sp-muc { margin-top: 18px; }
details.sp-muc > summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; cursor: pointer; list-style: none; min-height: 48px; padding: 6px 14px; border-radius: 12px; background: var(--brand-50); border: 1px solid var(--brand-100); margin: 0 0 8px; }
details.sp-muc > summary::-webkit-details-marker { display: none; }
details.sp-muc > summary h3 { font-size: 1rem; margin: 0; color: var(--navy); letter-spacing: .02em; line-height: 1.35; flex: 1 1 auto; }
details.sp-muc > summary::after { content: "+"; flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--brand); font-weight: 800; }
details.sp-muc[open] > summary::after { content: "–"; }
details.sp-muc > summary:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.sp-n { flex: 0 0 auto; font-size: .875rem; font-weight: 700; color: var(--brand); background: #fff; border-radius: 999px; padding: 1px 9px; }
.sp-intro { margin: 0 0 8px; color: var(--muted); }
.sp-bulk { display: flex; gap: 8px; flex-wrap: wrap; }
details.sp { border: 1px solid var(--line); border-radius: 12px; background: #fff; margin: 0 0 6px; }
details.sp[open] { border-color: var(--brand-100); box-shadow: var(--shadow); }
details.sp > summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; cursor: pointer; padding: 8px 14px; min-height: 48px; list-style: none; font-weight: 600; color: var(--ink); line-height: 1.35; }
details.sp > summary::-webkit-details-marker { display: none; }
details.sp > summary::after { content: "+"; flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-50); color: var(--brand); font-weight: 800; }
details.sp[open] > summary::after { content: "–"; }
details.sp > summary:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 12px; }
.sp-body { padding: 0 14px 14px; }
.sp-body dl { margin: 0 0 10px; display: grid; gap: 8px; }
.sp-body dt { font-weight: 700; color: var(--muted); font-size: .875rem; text-transform: uppercase; letter-spacing: .04em; }
.sp-body dd { margin: 0; }
.sp-note { margin: 0 0 10px; padding: 8px 12px; border-left: 3px solid var(--brand); background: var(--brand-50); border-radius: 8px; }
.sp-body .btn { min-height: 44px; }
#sp-filters[hidden] { display: none; }
.sp-filt { width: 100%; }
.sp-filt > summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; font-weight: 700; color: var(--navy); list-style: none; }
.sp-filt > summary::-webkit-details-marker { display: none; }
.sp-filt > summary::after { content: "+"; margin-left: 8px; font-weight: 800; color: var(--brand); }
.sp-filt[open] > summary::after { content: "–"; }
.sp-filt .chips { margin-top: 6px; }
.sp-filt:not([open]) > .chips { display: none; }
