/* ═══════════════════════════════════════════════════════════
   OneStep — Education & Immigration
   Layout 2026 · scroll-driven animations, view timelines,
   @starting-style entries, oklch palette, container queries
   ═══════════════════════════════════════════════════════════ */

/* ── 1. Tokens ─────────────────────────────────────────────── */
:root {
  /* palette */
  --navy:        oklch(29% 0.055 249);
  --navy-deep:   oklch(22% 0.052 250);
  --navy-soft:   oklch(38% 0.052 248);
  --gold:        oklch(74% 0.082 82);
  /* Vàng dùng làm CHỮ. 55.4% là ngưỡng sáng nhất còn đạt 4.5:1 trên --soft. */
  --gold-ink:    oklch(55.4% 0.083 78);
  --ink:         oklch(26% 0.032 253);
  --muted:       oklch(54% 0.020 249);
  --paper:       oklch(100% 0 0);
  --soft:        oklch(97.4% 0.003 250);
  --soft-2:      oklch(95.5% 0.005 250);
  --focus:       var(--navy);   /* mặc định; khối nền tối ghi đè thành --gold */
  --line:        oklch(90% 0.008 250);
  --line-dim:    oklch(94% 0.006 250);
  --on-dark:     oklch(100% 0 0);               /* chữ/icon trắng trên nền tối */
  --on-dark-dim: oklch(100% 0 0 / .2);          /* đường kẻ/rail trên nền tối */
  --scrim:       oklch(0% 0 0);                 /* đen dùng cho mặt nạ gradient mask */

  /* type */
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans:  'Be Vietnam Pro', system-ui, -apple-system, Arial, sans-serif;

  /* rhythm */
  --shell: 1320px;
  --gutter: clamp(20px, 4.4vw, 64px);
  --section-y: clamp(72px, 9vw, 132px);
  --radius: 4px;

  /* motion */
  --ease-out:   cubic-bezier(.16, 1, .3, 1);
  --ease-soft:  cubic-bezier(.33, 1, .68, 1);
  --ease-inout: cubic-bezier(.65, 0, .35, 1);
  --dur: .72s;
  --stagger: 90ms;

  /* header */
  --header-h: 88px;
}

@property --sweep {
  syntax: '<percentage>';
  inherits: false;
  initial-value: 0%;
}

/* ── 2. Reset & base ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  overflow-x: clip;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* khoá cuộn khi modal / menu mở — dùng :has() thay vì class JS */
body:has(dialog[open]),
body:has(.mobile-nav.open) { overflow: hidden; }

img { display: block; max-width: 100%; object-fit: cover; }
h1, h2, h3, p, figure, ul { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a, button { -webkit-tap-highlight-color: transparent; }

/* Vòng focus đổi theo nền của khối chứa nó: navy trên nền sáng, vàng trên nền
   tối. Không màu đơn nào đạt 3:1 trên cả hai, nên phải đổi theo ngữ cảnh. */
:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 4px;
  border-radius: 2px;
}
.hero, .expertise, .contact, .site-footer, .marquee { --focus: var(--gold); }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: -.028em;
  text-wrap: balance;
}
h2 { font-size: clamp(2.1rem, 4.1vw, 3.5rem); }
h3 { font-size: 1.4rem; line-height: 1.3; }
p  { text-wrap: pretty; }

.shell {
  width: min(var(--shell), 100% - var(--gutter) * 2);
  margin-inline: auto;
}
.section { padding-block: var(--section-y); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.skip-link {
  position: fixed; top: -80px; left: 16px; z-index: 200;
  padding: 12px 18px; background: var(--paper); box-shadow: 0 8px 30px oklch(0% 0 0 / .125);
  transition: top .25s var(--ease-out);
}
.skip-link:focus { top: 14px; }

/* ── 3. Micro-typography ───────────────────────────────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11.5px; font-weight: 500; letter-spacing: .24em;
  text-transform: uppercase; color: var(--gold-ink);
  margin-bottom: 18px;
}
.eyebrow .dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: currentColor; flex: none;
  animation: pulse 2.6s var(--ease-inout) infinite;
}
.eyebrow.light { color: oklch(84% 0.055 82); }
@keyframes pulse {
  0%, 100% { opacity: 1;  transform: scale(1); }
  50%      { opacity: .4; transform: scale(.7); }
}

.display {
  font-size: clamp(2.7rem, 6.2vw, 5.4rem);
  line-height: 1.08;
  letter-spacing: -.035em;
  max-width: 16ch;
}

/* ── 4. Buttons & links ────────────────────────────────────── */
.btn {
  --bg: var(--navy); --fg: var(--on-dark);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 22px;
  min-height: 50px; padding: 13px 26px;
  border: 1px solid transparent; border-radius: var(--radius);
  background: var(--bg); color: var(--fg);
  font-size: 14px; font-weight: 500; letter-spacing: .01em;
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out),
              color .35s var(--ease-out), border-color .35s var(--ease-out);
}
/* lớp sáng quét ngang khi hover */
.btn::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: var(--sheen, oklch(38% 0.055 248));
  transform: scaleX(0); transform-origin: right;
  transition: transform .5s var(--ease-out);
}
.btn:hover::before, .btn:focus-visible::before { transform: scaleX(1); transform-origin: left; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 30px oklch(29% 0.055 249 / .22); }
.btn:active { transform: translateY(0) scale(.99); }
.btn .arrow { transition: transform .4s var(--ease-out); }
.btn:hover .arrow { transform: translate(3px, -3px); }

.btn-solid { --bg: var(--navy); --sheen: oklch(38% 0.055 248); }
.btn-gold  { --bg: var(--gold); --fg: oklch(24% 0.04 250); --sheen: oklch(82% 0.075 84); }
.btn-ghost {
  --bg: transparent; --fg: var(--on-dark); --sheen: oklch(100% 0 0 / .133);
  border-color: oklch(100% 0 0 / .35); backdrop-filter: blur(6px);
}
.btn.full { width: 100%; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }

.link {
  position: relative;
  display: inline-flex; align-items: center; gap: 16px;
  padding-bottom: 5px;
  font-size: 14px; font-weight: 500; color: var(--gold-ink);
  transition: color .35s var(--ease-out);
}
.link::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: currentColor; opacity: .38;
  transform: scaleX(1); transform-origin: right;
  transition: transform .42s var(--ease-out), opacity .3s;
}
.link:hover::after { transform: scaleX(0); }
.link .arrow { transition: transform .42s var(--ease-out); }
.link:hover .arrow { transform: translateX(5px); }
.link:hover { color: var(--navy); }
.link.dark { color: var(--navy); }
.link.dark:hover { color: var(--gold-ink); }
.link.light { color: oklch(82% 0.06 82); }
.link.light:hover { color: var(--on-dark); }

/* ── 5. Curtain (mở đầu) ───────────────────────────────────── */
.curtain {
  position: fixed; inset: 0; z-index: 300;
  display: grid; place-content: center; gap: 26px; justify-items: center;
  background: var(--navy-deep); color: var(--on-dark);
  transition: clip-path 1s var(--ease-inout), visibility 1s;
  clip-path: inset(0 0 0 0);
}
.curtain.done { clip-path: inset(0 0 100% 0); visibility: hidden; }
.curtain-mark { animation: markIn .9s var(--ease-out) both; }
.curtain-mark .brand-logo { --logo-h: clamp(56px, 12vw, 82px); color: var(--on-dark); }
.curtain-bar { width: min(180px, 42vw); height: 1px; background: oklch(100% 0 0 / .18); overflow: hidden; }
.curtain-bar i { display: block; height: 100%; background: var(--gold); transform-origin: left; animation: barIn .95s var(--ease-soft) both; }
@keyframes markIn { from { opacity: 0; transform: translateY(14px); filter: blur(6px); } }
@keyframes barIn  { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ── 6. Scroll progress (scroll-driven, không cần JS) ──────── */
.scroll-progress {
  position: fixed; inset-inline: 0; top: 0; z-index: 60;
  height: 2px; transform-origin: left; transform: scaleX(0);
  background: linear-gradient(90deg, var(--gold-ink), var(--gold));
}
@supports (animation-timeline: scroll()) {
  .scroll-progress {
    animation: grow linear both;
    animation-timeline: scroll(root block);
  }
}
@keyframes grow { to { transform: scaleX(1); } }

/* ── 7. Header ─────────────────────────────────────────────── */
.site-header {
  position: fixed; inset-inline: 0; top: 0; z-index: 50;
  height: var(--header-h);
  background: oklch(100% 0 0 / .72);
  backdrop-filter: blur(16px) saturate(1.5);
  border-bottom: 1px solid transparent;
  transition: height .45s var(--ease-out), background .45s, border-color .45s,
              transform .55s var(--ease-out);
}
.site-header.compact {
  --header-h: 68px;
  background: oklch(100% 0 0 / .92);
  border-bottom-color: var(--line-dim);
  box-shadow: 0 10px 30px oklch(29% 0.055 249 / .06);
}
/* ẩn header khi cuộn xuống, hiện khi cuộn lên */
.site-header.hidden { transform: translateY(-105%); }

.header-inner {
  height: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
}

/* ── Logo ──────────────────────────────────────────────────
   Một khối <symbol> dùng lại ở header, footer và màn mở đầu.
   textLength ép "EDUCATION & IMMIGRATION" rộng đúng bằng
   "OneStep", nên hai dòng luôn khớp mép ở mọi cỡ chữ và kể cả
   khi Playfair Display chưa tải xong. */
.brand-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

.brand-logo {
  display: block;
  height: var(--logo-h, 46px);
  width: calc(var(--logo-h, 46px) * 248 / 84);   /* giữ đúng tỉ lệ viewBox */
  overflow: visible;
  color: inherit;
}
.lockup-word {
  font-family: var(--serif);
  font-size: 63px; font-weight: 600;   /* bề rộng tự nhiên ≈ 246 = textLength */
  fill: currentColor;
}
.lockup-sub {
  font-family: var(--sans);
  font-size: 14px; font-weight: 500;   /* textLength tự sinh tracking cho vừa 242 */
  fill: currentColor; opacity: .8;
}

.brand {
  display: inline-flex; align-items: center; flex: none;
  transition: opacity .35s var(--ease-out);
}
.brand:hover { opacity: .74; }
.site-header .brand { --logo-h: clamp(40px, 3.6vw, 48px); color: var(--navy); }
.site-header.compact .brand { --logo-h: clamp(36px, 3.1vw, 42px); }

.site-header nav {
  position: relative;
  display: flex; align-items: center; gap: clamp(18px, 2.4vw, 38px);
}
.site-header nav a {
  position: relative; font-size: 14px; padding: 6px 2px;
  transition: color .3s var(--ease-out);
}
.site-header nav a::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: var(--gold-ink);
  transform: scaleX(0); transform-origin: left;
  transition: transform .42s var(--ease-out);
}
.site-header nav a:hover::after,
.site-header nav a.active::after { transform: scaleX(1); }
.site-header nav a.active { color: var(--gold-ink); }
.header-cta { flex: none; }
.menu-toggle { display: none; }

/* ── 8. Mobile nav ─────────────────────────────────────────── */
.mobile-nav {
  position: fixed; inset: var(--header-h) 0 auto; z-index: 45;
  padding: 26px var(--gutter) 34px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 24px 50px oklch(29% 0.055 249 / .12);
  display: grid; gap: 22px;
}
.mobile-nav[hidden] { display: none; }
.mobile-nav.open { animation: sheetIn .5s var(--ease-out) both; }
@keyframes sheetIn { from { opacity: 0; transform: translateY(-12px); } }
.mobile-nav nav { display: grid; }
.mobile-nav nav a {
  display: flex; align-items: baseline; gap: 16px;
  padding: 15px 0; border-bottom: 1px solid var(--line-dim);
  font-family: var(--serif); font-size: 21px;
  animation: itemIn .5s var(--ease-out) both;
}
.mobile-nav nav a:nth-child(1) { animation-delay: .06s; }
.mobile-nav nav a:nth-child(2) { animation-delay: .12s; }
.mobile-nav nav a:nth-child(3) { animation-delay: .18s; }
.mobile-nav nav a:nth-child(4) { animation-delay: .24s; }
.mobile-nav nav a em {
  font-family: var(--sans); font-style: normal;
  font-size: 10px; letter-spacing: .2em; color: var(--gold-ink);
}
@keyframes itemIn { from { opacity: 0; transform: translateX(-14px); } }
.mobile-meta { display: flex; gap: 22px; font-size: 14px; color: var(--muted); }

/* ── 9. Hero ───────────────────────────────────────────────── */
.hero {
  position: relative; isolation: isolate;
  min-height: 100svh;
  display: grid; align-content: center;
  padding-block: calc(var(--header-h) + 40px) 150px;
  color: var(--on-dark); background: var(--navy-deep);
  view-timeline-name: --hero;
}
.hero-media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero-media img {
  width: 100%; height: 118%; object-position: center 52%;
  transform: scale(1.14);
  animation: heroIn 1.9s var(--ease-out) .25s both;
}
@keyframes heroIn { to { transform: scale(1); } }

/* parallax + mờ dần theo cuộn — chạy trên GPU, không JS */
/* Neo theo scroll gốc để tiến trình luôn bắt đầu đúng tại vị trí 0,
   tránh hero mờ sẵn khi vừa tải trang. */
@supports (animation-timeline: scroll()) {
  .hero-media img {
    animation: heroIn 1.9s var(--ease-out) .25s both,
               heroPan linear both;
    animation-timeline: auto, scroll(root block);
    animation-range: normal, 0 100vh;
  }
  @keyframes heroPan {
    from { transform: scale(1); }
    to   { transform: translateY(12%) scale(1.1); }
  }
  .hero-content {
    animation: heroFade linear both;
    animation-timeline: scroll(root block);
    animation-range: 10vh 78vh;
  }
  @keyframes heroFade {
    from { opacity: 1; transform: none; }
    to   { opacity: 0; transform: translateY(-40px); }
  }
}

.hero-veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, oklch(18% 0.05 250 / .88) 8%, oklch(18% 0.05 250 / .52) 48%, oklch(18% 0.05 250 / .12)),
    linear-gradient(0deg, oklch(15% 0.045 250 / .62), transparent 52%);
}
.grain {
  position: absolute; inset: 0; pointer-events: none; opacity: .28; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}

.hero-content { position: relative; }
.hero-sub {
  display: flex; align-items: center; flex-wrap: wrap; gap: 14px;
  margin: 26px 0 38px;
  font-size: clamp(15px, 1.5vw, 20px); color: oklch(94% 0.008 250);
}
.hero-sub b { font-weight: 400; }
.hero-sub i { width: 26px; height: 1px; background: var(--gold); opacity: .85; }

.hero-foot {
  position: absolute; inset-inline: 0; bottom: 34px;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
}
.scroll-cue {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 10px; letter-spacing: .26em; text-transform: uppercase;
  color: oklch(88% 0.01 250);
}
.cue-rail { position: relative; display: block; width: 1px; height: 46px; background: var(--on-dark-dim); overflow: hidden; }
.cue-rail i { position: absolute; inset-inline: 0; height: 40%; background: var(--gold); animation: cue 2.1s var(--ease-inout) infinite; }
@keyframes cue { 0% { top: -40%; } 100% { top: 100%; } }

.hero-caption { text-align: right; max-width: 220px; }
.hero-caption > span {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
}
.hero-caption > span::after { content: ''; width: 34px; height: 1px; background: var(--gold); }
.hero-caption small {
  display: block; margin-top: 10px;
  font-size: 9.5px; line-height: 1.9; letter-spacing: .17em;
  text-transform: uppercase; color: oklch(83% 0.012 250);
}

/* ── 10. Marquee ───────────────────────────────────────────── */
.marquee {
  overflow: hidden; background: var(--navy); color: oklch(92% 0.02 82);
  border-block: 1px solid oklch(38% 0.05 248);
  padding-block: 15px;
  mask-image: linear-gradient(90deg, transparent, var(--scrim) 8%, var(--scrim) 92%, transparent);
}
.marquee-track {
  display: flex; align-items: center; gap: 34px; width: max-content;
  font-family: var(--serif); font-size: clamp(16px, 1.9vw, 24px); font-style: italic;
  animation: slide 34s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track em { color: var(--gold); font-size: .6em; font-style: normal; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ── 11. Principles ────────────────────────────────────────── */
.principles { background: var(--soft); border-bottom: 1px solid var(--line-dim); }
.principles-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  padding-block: clamp(34px, 4.6vw, 56px);
}
.principle {
  position: relative; padding: 4px clamp(18px, 2.6vw, 42px);
  border-right: 1px solid var(--line);
  transition: transform .5s var(--ease-out);
}
.principle:first-child { padding-left: 0; }
.principle:last-child  { border-right: 0; padding-right: 0; }
.principle:hover { transform: translateY(-4px); }
.principle-no {
  font-size: 10px; letter-spacing: .24em; color: var(--gold-ink);
}
.principle svg {
  width: 34px; height: 34px; margin: 16px 0 14px;
  fill: none; stroke: var(--navy-soft); stroke-width: 1.15; stroke-linejoin: round;
  transition: stroke .4s, transform .6s var(--ease-out);
}
.principle:hover svg { stroke: var(--gold-ink); transform: translateY(-3px) rotate(-4deg); }
.principle h3 { font-size: 19px; }
.principle p { font-size: 13.5px; color: var(--muted); margin-top: 5px; }

/* ── 12. Section heading ───────────────────────────────────── */
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: clamp(24px, 5vw, 64px);
  margin-bottom: clamp(32px, 4vw, 52px);
}
.section-head h2 { max-width: 14ch; }
.section-intro {
  flex: none; max-width: 330px; padding-bottom: 6px;
  font-size: 14px; line-height: 1.85; color: var(--muted);
}

/* ── 13. Cards ─────────────────────────────────────────────── */
.card-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: clamp(24px, 2.6vw, 34px);
}
.card { container-type: inline-size; }

.card-media {
  position: relative; display: block; overflow: hidden;
  border-radius: var(--radius); background: var(--soft-2);
}
.card-media img {
  width: 100%; height: auto; aspect-ratio: 1.55;
  transition: transform .9s var(--ease-out), filter .6s;
}
.card-media.wide img { aspect-ratio: 1.85; }
.card-media::after {
  content: ''; position: absolute; inset: 45% 0 0;
  background: linear-gradient(transparent, oklch(18% 0.04 250 / .72));
  opacity: .9; transition: opacity .5s;
}
.card:hover .card-media img { transform: scale(1.06); }
.badge {
  position: absolute; left: 16px; bottom: 14px; z-index: 2;
  font-size: 9.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--on-dark);
}
.card-hover {
  position: absolute; right: 16px; bottom: 14px; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px;
  background: oklch(100% 0 0 / .16); backdrop-filter: blur(8px);
  border: 1px solid oklch(100% 0 0 / .24); color: var(--on-dark);
  font-size: 11px; letter-spacing: .08em;
  opacity: 0; transform: translateY(10px);
  transition: opacity .45s var(--ease-out), transform .45s var(--ease-out);
}
.card:hover .card-hover, .card:focus-within .card-hover { opacity: 1; transform: translateY(0); }

.card-body { padding-top: 20px; }
.card-body h3 { margin-bottom: 10px; }
.card-body h3 a { background-image: linear-gradient(var(--gold-ink), var(--gold-ink));
  background-size: 0% 1px; background-position: 0 100%; background-repeat: no-repeat;
  transition: background-size .5s var(--ease-out); padding-bottom: 2px; }
.card-body h3 a:hover { background-size: 100% 1px; }
.card-body > p { font-size: 14px; line-height: 1.85; color: var(--muted); margin-bottom: 18px; }
@container (min-width: 380px) { .card-body > p { max-width: 94%; } }

.news-card .meta {
  display: flex; align-items: center; gap: 12px; margin-bottom: 10px;
  font-size: 11px; letter-spacing: .06em; color: var(--gold-ink);
}
.news-card .meta span::before { content: '·'; margin-right: 12px; }
.news-card h3 { font-size: 21px; line-height: 1.38; }
.news-note {
  margin-top: clamp(28px, 3vw, 42px); padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 12.5px; color: var(--muted);
}

/* ── 14. About ─────────────────────────────────────────────── */
.about {
  display: grid; grid-template-columns: 1fr 1fr;
  background: var(--soft);
  view-timeline-name: --about;
}
.about-photo { position: relative; min-height: clamp(360px, 52vw, 620px); overflow: hidden; }
.about-photo img { position: absolute; inset: 0; width: 100%; height: 100%; }
.about-photo::after {
  content: ''; position: absolute; inset: 45% 0 0;
  background: linear-gradient(transparent, oklch(16% 0.04 250 / .72));
}
@supports (animation-timeline: view()) {
  .about-photo img {
    height: 124%; top: -12%;
    animation: drift linear both;
    animation-timeline: --about;
  }
  @keyframes drift { from { transform: translateY(-5%); } to { transform: translateY(5%); } }
}
.about-photo-caption {
  position: absolute; z-index: 1; left: clamp(24px, 4vw, 52px); bottom: clamp(28px, 4vw, 48px);
  color: var(--on-dark); font-size: 11.5px; letter-spacing: .19em; line-height: 2.1; text-transform: uppercase;
}
.about-copy {
  padding: clamp(44px, 6vw, 96px) clamp(24px, 6vw, 96px);
  display: flex; flex-direction: column; align-items: flex-start;
  justify-content: center; max-width: 660px;
}
.about-copy h2 { font-size: clamp(2.3rem, 4vw, 3.6rem); margin-bottom: 22px; }
.about-copy .lead { font-size: 16.5px; line-height: 1.9; color: var(--muted); }
.about-copy .muted { font-size: 14px; line-height: 1.9; color: var(--muted); margin-top: 14px; }
.values {
  display: flex; flex-wrap: wrap; margin: 26px 0 30px;
  font-family: var(--serif); font-size: 17px; color: var(--gold-ink);
}
.values li + li::before { content: '·'; margin: 0 14px; opacity: .6; }

/* ── 15. Expertise ─────────────────────────────────────────── */
.expertise {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--navy); color: var(--on-dark);
  padding-block: clamp(52px, 6.5vw, 86px);
}
.expertise::before {
  content: ''; position: absolute; z-index: -1; inset: -40% -10% auto auto;
  width: 60vmax; height: 60vmax; border-radius: 50%;
  background: radial-gradient(circle, oklch(58% 0.083 78 / .22), transparent 62%);
  animation: float 16s var(--ease-inout) infinite alternate;
}
@keyframes float { to { transform: translate(-8%, 12%) scale(1.15); } }
.expertise-grid {
  display: grid; grid-template-columns: 1.3fr 1fr;
  gap: clamp(30px, 5vw, 64px); align-items: center;
}
.expertise h2 { font-size: clamp(1.9rem, 3.2vw, 2.8rem); }
.expert-profile { padding-left: clamp(24px, 3vw, 44px); border-left: 1px solid oklch(58% 0.083 78 / .5); }
.expert-profile h3 { font-size: 21px; color: oklch(82% 0.07 82); }
.expert-profile h3 span { font-size: 17px; opacity: .8; }
.expert-profile p { font-size: 13.5px; line-height: 1.9; color: oklch(88% 0.012 250); }
.expert-role { font-size: 12px; margin: 6px 0 15px; letter-spacing: .04em; }
.expert-profile .link { margin-top: 16px; font-size: 13px; }

/* ── 16. Contact ───────────────────────────────────────────── */
.contact {
  position: relative; isolation: isolate; overflow: hidden;
  color: var(--on-dark); background: var(--navy);
  padding-block: clamp(62px, 7.5vw, 110px);
  view-timeline-name: --contact;
}
.contact-media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.contact-media img { width: 100%; height: 118%; object-position: center 48%; }
@supports (animation-timeline: view()) {
  .contact-media img { animation: drift2 linear both; animation-timeline: --contact; }
  @keyframes drift2 { from { transform: translateY(-8%) scale(1.04); } to { transform: translateY(0%) scale(1.04); } }
}
.contact-veil {
  position: absolute; inset: 0;
  background: linear-gradient(95deg, oklch(20% 0.05 250 / .95), oklch(20% 0.05 250 / .82) 52%, oklch(20% 0.05 250 / .45));
}
.contact-grid {
  display: grid; grid-template-columns: 1.3fr 1fr;
  gap: clamp(28px, 5vw, 64px); align-items: center;
}
.contact-grid h2 { font-size: clamp(2rem, 3.6vw, 3.1rem); max-width: 16ch; }
.contact-grid p { font-size: 14.5px; line-height: 1.9; max-width: 380px; margin-bottom: 24px; color: oklch(92% 0.008 250); }

/* ── 17. Footer ────────────────────────────────────────────── */
.site-footer { background: var(--navy-deep); color: oklch(86% 0.014 250); }
.footer-main {
  display: grid; grid-template-columns: 190px 1.5fr 1fr auto;
  gap: clamp(24px, 3vw, 46px); align-items: start;
  padding-block: clamp(38px, 4.4vw, 60px);
}
.site-footer .brand { --logo-h: 44px; color: var(--on-dark); }
.footer-company strong {
  font-size: 11px; font-weight: 500; letter-spacing: .09em;
  text-transform: uppercase; color: oklch(93% 0.008 250);
}
.footer-company p { font-size: 12.5px; line-height: 1.95; margin-top: 10px; color: oklch(72% 0.018 250); }
.footer-contact a, .footer-main nav a {
  position: relative; display: block; width: fit-content;
  transition: color .3s var(--ease-out), transform .3s var(--ease-out);
}
.footer-contact a { font-size: 13.5px; margin-bottom: 7px; }
.footer-main nav { display: grid; gap: 7px; font-size: 12.5px; }
.footer-contact a:hover, .footer-main nav a:hover { color: var(--gold); transform: translateX(3px); }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 18px;
  padding-block: 20px; border-top: 1px solid oklch(100% 0 0 / .11);
  font-size: 10.5px; letter-spacing: .03em; color: oklch(68% 0.02 250);
}
.footer-bottom .tagline { font-family: var(--serif); font-style: italic; font-size: 13.5px; }

/* ── 18. Dialog ────────────────────────────────────────────── */
dialog {
  border: 0; padding: clamp(30px, 4.4vw, 56px);
  width: min(580px, 100% - 32px); max-width: none;
  color: var(--ink); background: var(--paper);
  border-radius: var(--radius);
  box-shadow: 0 30px 90px oklch(18% 0.04 250 / .34);
  opacity: 1; transform: translateY(0) scale(1);
  transition: opacity .45s var(--ease-out), transform .45s var(--ease-out),
              overlay .45s allow-discrete, display .45s allow-discrete;
}
dialog:not([open]) { opacity: 0; transform: translateY(24px) scale(.97); }
@starting-style {
  dialog[open] { opacity: 0; transform: translateY(24px) scale(.97); }
}
dialog::backdrop {
  background: oklch(18% 0.04 250 / .7); backdrop-filter: blur(6px);
  opacity: 1; transition: opacity .45s, overlay .45s allow-discrete, display .45s allow-discrete;
}
dialog:not([open])::backdrop { opacity: 0; }
@starting-style { dialog[open]::backdrop { opacity: 0; } }

dialog h2 { font-size: clamp(1.9rem, 3.4vw, 2.5rem); margin-bottom: 16px; }
.dialog-lead { color: var(--muted); font-size: 15px; }
.dialog-close {
  position: absolute; right: 12px; top: 10px;
  width: 44px; height: 44px; font-size: 28px; color: var(--muted);
  transition: color .3s, transform .4s var(--ease-out);
}
.dialog-close:hover { color: var(--ink); transform: rotate(90deg); }
.contact-method {
  display: block; padding: 20px 0; border-top: 1px solid var(--line);
  transition: padding-inline .4s var(--ease-out);
}
.contact-method:first-of-type { margin-top: 26px; }
.contact-method:hover { padding-inline: 8px; }
.contact-method > span { display: block; font-size: 13px; color: var(--muted); }
.contact-method strong {
  display: flex; justify-content: space-between; gap: 12px;
  font-size: 20px; font-weight: 500; overflow-wrap: anywhere;
}
.contact-method strong i { font-style: normal; color: var(--gold-ink); transition: transform .4s var(--ease-out); }
.contact-method:hover strong i { transform: translate(4px, -4px); }
.contact-note {
  margin-top: 4px; padding-top: 18px; border-top: 1px solid var(--line);
  font-size: 12px; color: var(--muted);
}

/* ── 19. Reveal system ─────────────────────────────────────── */
/* Mặc định: hiện. JS gắn .js-reveal khi hỗ trợ, tránh FOUC/nội dung ẩn vĩnh viễn */
.js-reveal [data-reveal] {
  opacity: 0; transform: translateY(26px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
  transition-delay: calc(var(--i, 0) * var(--stagger));
}
.js-reveal [data-reveal].in { opacity: 1; transform: none; }

/* tách chữ theo dòng — mỗi từ trượt lên từ dưới mask */
.split-line { display: block; overflow: hidden; }
.split-word {
  display: inline-block; will-change: transform;
  transform: translateY(105%) rotate(2deg); opacity: 0;
  transition: transform .9s var(--ease-out), opacity .7s var(--ease-out);
  transition-delay: calc(var(--w, 0) * 55ms);
}
[data-split].in .split-word { transform: none; opacity: 1; }

/* ── 20. Responsive ────────────────────────────────────────── */
/* panel di động không bao giờ tồn tại ở bố cục desktop */
@media (min-width: 901px) {
  .mobile-nav { display: none !important; }
}

@media (max-width: 1100px) {
  .header-cta { display: flex; align-items: center; gap: 12px; }
  .footer-main { grid-template-columns: 160px 1fr 1fr; }
  .footer-main nav { display: none; }
  .expertise-grid, .contact-grid { grid-template-columns: 1fr; }
  .expert-profile { border-left: 0; border-top: 1px solid oklch(58% 0.083 78 / .5); padding: 26px 0 0; }
}

@media (max-width: 900px) {
  :root { --header-h: 70px; }
  .site-header nav { display: none; }
  .site-header .header-inner { gap: clamp(8px, 1.8vw, 16px); }
  .site-header .brand svg { width: clamp(112px, 28vw, 138px); height: auto; }
  .header-cta { gap: 8px; margin-left: auto; }
  .header-cta .btn {
    min-height: 40px;
    padding: 7px 16px;
    font-size: 13px;
    gap: 8px;
    white-space: nowrap;
  }
  .menu-toggle {
    display: grid; place-content: center; gap: 6px;
    width: 42px; height: 42px; border: 1px solid var(--line);
    border-radius: var(--radius); background: var(--paper);
    flex-shrink: 0;
  }
  .menu-toggle span {
    display: block; width: 18px; height: 1.5px; background: var(--navy);
    transition: transform .45s var(--ease-out), opacity .3s;
  }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child  { transform: translateY(-4px) rotate(-45deg); }

  .hero { min-height: 92svh; padding-bottom: 130px; }
  .hero-media img { object-position: 62% center; }
  .hero-caption small { display: none; }

  .principles-grid { grid-template-columns: 1fr; }
  .principle { border-right: 0; border-bottom: 1px solid var(--line); padding: 20px 0; }
  .principle:last-child { border-bottom: 0; }
  .principle svg { margin: 12px 0 10px; }

  .section-head { display: block; }
  .section-head h2 { max-width: none; }
  .section-intro { max-width: none; margin-top: 18px; }
  .news .section-head .link { margin-top: 20px; }

  .about { grid-template-columns: 1fr; }
  .about-photo { min-height: 330px; }

  .footer-main { grid-template-columns: 1fr; }
  .footer-bottom { display: block; }
  .footer-bottom > span { display: block; margin-bottom: 8px; }
}

@media (max-width: 520px) {
  .display { font-size: clamp(2.3rem, 10vw, 3.1rem); max-width: none; }
  .hero { padding-bottom: 112px; }
  .hero-sub { gap: 0 12px; margin: 20px 0 30px; }
  .hero-sub i { display: none; }
  .hero-sub i + b::before { content: '·'; margin-right: 12px; color: var(--gold); }
  .hero-foot { align-items: center; }
  .scroll-cue span:last-child { display: none; }
  .actions .btn { flex: 1 1 100%; }
  .card-media img, .card-media.wide img { aspect-ratio: 1.5; }
}

/* ── 22. Dải logo đối tác ──────────────────────────────────── */
.partners { padding-block: var(--section-y); background: var(--paper); }
.partners-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: clamp(24px, 5vw, 64px); margin-bottom: clamp(32px, 4vw, 52px);
}
.partners-head h2 { max-width: 16ch; }

.partner-marquee {
  overflow: hidden;
  /* mờ dần hai mép để dải logo không bị cắt cụt */
  mask-image: linear-gradient(90deg, transparent, var(--scrim) 7%, var(--scrim) 93%, transparent);
}
.partner-track {
  display: flex; width: max-content;
  animation: partner-slide 42s linear infinite;
}
.partner-marquee:hover .partner-track,
.partner-marquee:focus-within .partner-track { animation-play-state: paused; }
@keyframes partner-slide { to { transform: translateX(-50%); } }

.partner-set {
  display: flex; align-items: center;
  gap: clamp(40px, 5vw, 76px);
  padding-inline: clamp(20px, 2.5vw, 38px);
  margin: 0; list-style: none;
}
.partner-set li { flex: none; }
.partner-set img {
  width: auto; height: clamp(58px, 6vw, 82px);
  object-fit: contain;
  filter: grayscale(1); opacity: .62;
  transition: filter .45s var(--ease-out), opacity .45s var(--ease-out);
}
.partner-set img:hover { filter: none; opacity: 1; }

@media (max-width: 900px) {
  .partners-head { display: block; }
  .partners-head h2 { max-width: none; }
  .partners-head .section-intro { max-width: none; margin-top: 18px; }
}

/* ── 22b. Khối bài viết học viện đối tác chạy ngang ──────── */
.partner-articles-section {
  padding-block: clamp(48px, 6vw, 84px);
  background: var(--soft);
  border-top: 1px solid var(--line);
  overflow: hidden;
}
.partner-articles-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: clamp(24px, 5vw, 64px); margin-bottom: clamp(32px, 4vw, 48px);
}
.partner-articles-head h2 { max-width: 18ch; }
.partner-articles-marquee {
  overflow: hidden;
  padding-block: 8px 20px;
  mask-image: linear-gradient(90deg, transparent, var(--scrim) 3%, var(--scrim) 97%, transparent);
}
.partner-articles-track {
  display: flex; width: max-content;
  animation: partner-articles-slide 75s linear infinite;
}
.partner-articles-marquee:hover .partner-articles-track,
.partner-articles-marquee:focus-within .partner-articles-track {
  animation-play-state: paused;
}
@keyframes partner-articles-slide {
  to { transform: translateX(-50%); }
}
.partner-articles-set {
  display: flex; align-items: stretch;
  gap: clamp(20px, 2.5vw, 32px);
  padding-inline: clamp(10px, 1.5vw, 16px);
  margin: 0; list-style: none;
}
.partner-articles-set > li {
  display: flex; flex: none; height: auto;
}
.partner-article-card {
  display: flex; flex-direction: column;
  height: 100%;
  width: clamp(300px, 26vw, 370px);
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  text-decoration: none; color: var(--ink); flex: 1 1 auto;
  transition: transform .35s var(--ease-out), border-color .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
.partner-article-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold);
  box-shadow: 0 16px 36px -8px rgba(11,31,51,.1);
}
.partner-article-card:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 3px;
}
.partner-article-thumb {
  position: relative; aspect-ratio: 16 / 10; width: 100%; flex: none;
  overflow: hidden; background: var(--navy);
}
.partner-article-thumb img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .55s var(--ease-out);
}
.partner-article-card:hover .partner-article-thumb img {
  transform: scale(1.05);
}
.partner-article-body {
  padding: clamp(20px, 2.2vw, 26px);
  display: flex; flex-direction: column; flex: 1 1 auto;
}
.partner-article-tag {
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold-ink); font-weight: 500; margin-bottom: 10px;
}
.partner-article-body h3 {
  font-size: clamp(1.15rem, 1.4vw, 1.3rem); line-height: 1.3;
  margin: 0 0 10px; color: var(--navy);
  min-height: 2.6em;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.partner-article-body p {
  font-size: 14px; line-height: 1.7; color: var(--muted);
  margin: 0 0 20px; flex: 1 1 auto;
  min-height: 5.1em;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.partner-article-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13.5px; font-weight: 500; color: var(--gold-ink);
  margin-top: auto; padding-top: 8px;
}
.partner-article-link .arrow {
  transition: transform .3s var(--ease-out);
}
.partner-article-card:hover .partner-article-link .arrow {
  transform: translateX(4px);
}
@media (max-width: 900px) {
  .partner-articles-head { display: block; }
  .partner-articles-head h2 { max-width: none; }
  .partner-articles-head .section-intro { max-width: none; margin-top: 18px; }
}

/* ── 23. Trang dịch vụ ─────────────────────────────────────── */
.page-hero {
  position: relative; isolation: isolate;
  min-height: min(72svh, 620px);
  display: grid; align-content: center;
  padding-block: calc(var(--header-h) + 64px) 104px;
  color: var(--on-dark); background: var(--navy-deep);
}
.page-hero .hero-media img {
  height: 100%; transform: scale(1.08);
  animation: heroIn 1.6s var(--ease-out) .2s both;
}
@supports (animation-timeline: scroll()) {
  .page-hero .hero-media img {
    height: 116%;
    animation: heroIn 1.6s var(--ease-out) .2s both,
               pageHeroPan linear both;
    animation-timeline: auto, scroll(root block);
    animation-range: normal, 0 90vh;
  }
  @keyframes pageHeroPan { from { transform: none; } to { transform: translateY(9%); } }
}
.page-hero .display { font-size: clamp(2.4rem, 5vw, 4.2rem); max-width: 18ch; }
.hero-sub-plain {
  margin-top: 22px; max-width: 46ch;
  font-size: clamp(15px, 1.5vw, 19px); color: oklch(93% 0.008 250);
}
.page-hero .hero-foot { bottom: 30px; justify-content: flex-end; }

.band { background: var(--soft); }
.shell.narrow { width: min(820px, 100% - var(--gutter) * 2); }

/* nhãn đặc trưng */
.pill-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: clamp(32px, 4vw, 48px); }
.pill {
  display: inline-flex; align-items: center;
  padding: 9px 18px; border: 1px solid var(--line);
  border-radius: 999px; font-size: 13.5px; color: var(--ink);
  background: var(--paper);
}

/* bảng thông tin quốc gia */
.fact-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 0; margin: 0; border-top: 1px solid var(--line);
}
.fact-grid > div {
  padding: 22px 26px 22px 0;
  border-bottom: 1px solid var(--line);
}
.fact-grid dt {
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold-ink); margin-bottom: 8px;
}
.fact-grid dd { margin: 0; font-size: 14.5px; line-height: 1.8; color: var(--muted); }

/* lộ trình đánh số */
.steps {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr));
  gap: 0; margin: 0; padding: 0; list-style: none;
  border-top: 1px solid var(--line);
}
.steps > li {
  padding: 26px clamp(18px, 2vw, 32px) 30px 0;
  border-bottom: 1px solid var(--line);
}
.step-no { font-size: 11px; letter-spacing: .22em; color: var(--gold-ink); }
.steps h3 { font-size: 19px; margin: 14px 0 4px; }
.step-time { font-size: 12px; letter-spacing: .04em; color: var(--gold-ink); margin-bottom: 10px; }
.steps p:not(.step-time) { font-size: 14px; line-height: 1.8; color: var(--muted); }

/* ngành nghề / lý do */
.trade-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: clamp(24px, 2.6vw, 38px); margin-bottom: clamp(36px, 4vw, 56px);
}
.trade { padding-top: 24px; border-top: 2px solid var(--navy); }
.trade-no { font-size: 11px; letter-spacing: .22em; color: var(--gold-ink); }
.trade h3 { font-size: 21px; margin: 12px 0 10px; }
.trade p { font-size: 14.5px; line-height: 1.85; color: var(--muted); }

/* quyền lợi */
.benefit-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: clamp(22px, 2.4vw, 34px);
}
.benefit { padding: 26px 26px 28px; background: var(--soft); border-radius: var(--radius); }
.benefit h3 { font-size: 19px; margin: 12px 0 10px; }
.benefit p { font-size: 14px; line-height: 1.8; color: var(--muted); }

/* khối chữ dài */
.lead-copy { font-size: 16.5px; line-height: 1.9; color: var(--muted); margin-top: 8px; }
.sub-head { font-size: 21px; margin: clamp(30px, 3.4vw, 44px) 0 18px; }
.check-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.check-list li {
  display: grid; grid-template-columns: minmax(130px, 200px) 1fr; gap: 20px;
  padding: 18px 0; border-bottom: 1px solid var(--line);
  font-size: 14.5px; line-height: 1.8; color: var(--muted);
}
.check-list strong { font-weight: 500; color: var(--ink); }
@media (max-width: 620px) { .check-list li { grid-template-columns: 1fr; gap: 4px; } }

/* hỏi đáp */
.faq { margin-top: clamp(28px, 3vw, 40px); border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 0; cursor: pointer; list-style: none;
  font-family: var(--serif); font-size: 19px; font-weight: 500; color: var(--ink);
  transition: color .3s var(--ease-out);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; flex: none; width: 11px; height: 11px;
  border-right: 1.5px solid var(--gold-ink); border-bottom: 1.5px solid var(--gold-ink);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform .4s var(--ease-out);
}
.faq details[open] summary::after { transform: rotate(225deg) translate(-2px, -2px); }
.faq summary:hover { color: var(--gold-ink); }
.faq details p {
  padding: 0 0 24px; max-width: 68ch;
  font-size: 14.5px; line-height: 1.9; color: var(--muted);
}

/* ghi chú thời điểm */
.disclaimer {
  margin-top: clamp(30px, 3.4vw, 44px); padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 12.5px; line-height: 1.85; color: var(--muted);
}

/* ── 24. Ảnh có chuyển động ────────────────────────────────── */
/* Khung ảnh trôi ngược chiều cuộn. Ảnh cao hơn khung 18% để còn chỗ trôi. */
.figure {
  position: relative; overflow: hidden;
  border-radius: var(--radius); background: var(--soft-2);
}
.figure img { display: block; width: 100%; height: 100%; object-fit: cover; }
@supports (animation-timeline: view()) {
  .figure { view-timeline-name: --fig; }
  .figure img {
    height: 118%;
    animation: fig-drift linear both;
    animation-timeline: --fig;
  }
  @keyframes fig-drift { from { transform: translateY(-7%); } to { transform: translateY(7%); } }
}

/* Cặp ảnh tư liệu đối xứng — Canh đều bằng nhau với bóng đổ chiều sâu sang trọng */
.img-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 3.2vw, 42px);
  align-items: stretch;
  margin-top: clamp(40px, 5vw, 72px);
}
.img-duo .figure-wrap {
  display: flex;
  flex-direction: column;
}
.img-duo .figure {
  aspect-ratio: 16 / 10;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) * 1.25);
  box-shadow: 0 16px 36px -10px oklch(20% 0.05 250 / .16), 0 3px 12px -2px oklch(20% 0.05 250 / .08);
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .4s var(--ease-out);
}
.img-duo .figure:hover,
.img-duo .figure-wrap:hover .figure {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px -12px oklch(20% 0.05 250 / .24), 0 6px 18px -2px oklch(20% 0.05 250 / .12);
  border-color: oklch(55.4% 0.083 78 / .4);
}
.img-duo .figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease-out);
}
.img-duo .figure-wrap:hover .figure img {
  transform: scale(1.025);
}
.img-caption {
  margin-top: 14px;
  font-size: 13.5px;
  line-height: 1.55;
  letter-spacing: .015em;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
}
.img-caption::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}
@media (max-width: 760px) {
  .img-duo {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .img-duo .figure {
    aspect-ratio: 16 / 10;
  }
}

/* Dải ảnh tràn viền mang câu tuyên ngôn */
.parallax-band {
  position: relative; isolation: isolate; overflow: hidden;
  color: var(--on-dark); background: var(--navy-deep);
  padding-block: clamp(76px, 10vw, 158px);
}
.parallax-band > img {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover;
}
@supports (animation-timeline: view()) {
  .parallax-band { view-timeline-name: --band; }
  .parallax-band > img {
    height: 122%;
    animation: band-drift linear both;
    animation-timeline: --band;
  }
  @keyframes band-drift { from { transform: translateY(-10%); } to { transform: translateY(0); } }
}
.parallax-band::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, oklch(18% 0.05 250 / .9) 6%, oklch(18% 0.05 250 / .6) 50%, oklch(18% 0.05 250 / .3)),
    linear-gradient(0deg, oklch(15% 0.045 250 / .5), transparent 55%);
}
.band-quote {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(1.9rem, 3.6vw, 3.1rem); line-height: 1.2;
  letter-spacing: -.028em; max-width: 19ch; text-wrap: balance;
}
.band-note {
  margin-top: 22px; max-width: 46ch;
  font-size: 14.5px; line-height: 1.9; color: oklch(92% 0.008 250);
}

/* Thẻ ngành có ảnh */
.trade:has(.figure) { border-top: 0; padding-top: 0; }
.trade-figure { aspect-ratio: 1.42; margin-bottom: 22px; }
.trade-figure img { transition: transform .9s var(--ease-out); }
.trade:hover .trade-figure img { transform: scale(1.05); }

/* ── 25. Trang tin tức & Phân tích chuyên sâu ───────────── */
/* Băng nghiệp vụ đối soát & chỉ số tin cậy (Trust Strip) */
.news-trust-strip {
  background: var(--soft);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
  margin-bottom: 0;
}
.news-trust-strip + .section {
  padding-top: clamp(32px, 3.8vw, 48px);
  padding-bottom: clamp(24px, 3vw, 36px);
}
.trust-strip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 20px 32px;
}
.trust-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.trust-badge {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-ink);
}
.trust-item p {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink);
  margin: 0;
}

/* Thanh chủ đề nóng (Trending Topics) */
.news-trending {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-bottom: clamp(24px, 3vw, 36px);
  padding: 14px 20px;
  background: var(--soft);
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.trending-title {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--navy);
  flex-shrink: 0;
}
.trending-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.trend-tag {
  font-size: 12.5px;
  color: var(--muted);
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 4px 12px;
  border-radius: 999px;
  text-decoration: none;
  transition: all .25s var(--ease-out);
}
.trend-tag:hover {
  color: var(--navy);
  border-color: var(--gold);
  background: var(--soft-2);
}

/* Bộ lọc phân loại chuyên mục (Pill filter) */
.news-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: clamp(28px, 3.2vw, 42px);
}
.news-filter button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 8px 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 2px 6px oklch(20% 0.05 250 / .03);
  transition: background .3s var(--ease-out), color .3s var(--ease-out),
              border-color .3s var(--ease-out), transform .3s var(--ease-out),
              box-shadow .3s var(--ease-out);
}
.news-filter button:hover {
  border-color: var(--line-strong);
  color: var(--ink);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px oklch(20% 0.05 250 / .06);
}
.news-filter button[aria-pressed="true"] {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--on-dark);
  font-weight: 600;
  box-shadow: 0 4px 14px oklch(18% 0.04 250 / .2);
}

/* Lưới bài viết (News Cards Grid) */
.news-list {
  display: grid;
  gap: clamp(26px, 2.8vw, 36px);
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
}
.news-list .card[hidden] {
  display: none;
}

/* Thẻ tin tức riêng biệt (News Card Design) */
.news-card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) * 1.1);
  overflow: hidden;
  height: 100%;
  box-shadow: 0 6px 18px oklch(20% 0.05 250 / .04);
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .4s var(--ease-out);
}
.news-card:hover {
  transform: translateY(-5px);
  border-color: var(--line-strong);
  box-shadow: 0 16px 36px oklch(20% 0.05 250 / .09);
}
.news-card .card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--soft-2);
  border-radius: 0;
}
.news-card .card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease-out);
}
.news-card:hover .card-media img {
  transform: scale(1.05);
}
.card-cat-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--on-dark);
  background: oklch(15% 0.04 250 / .85);
  backdrop-filter: blur(8px);
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid oklch(100% 0 0 / .15);
}
.news-card .card-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: clamp(20px, 2.4vw, 26px);
}
.news-card .meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--muted);
}
.news-card .meta time {
  color: var(--ink);
  font-weight: 500;
}
.meta-dot {
  opacity: .5;
}
.news-card h3 {
  font-size: clamp(17px, 1.4vw, 19.5px);
  line-height: 1.42;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.85em;
}
.news-card h3 a {
  color: var(--navy);
  text-decoration: none;
  background-image: linear-gradient(var(--gold-ink), var(--gold-ink));
  background-size: 0% 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size .45s var(--ease-out);
}
.news-card h3 a:hover {
  background-size: 100% 1px;
}
.card-desc {
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
  margin-bottom: 22px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-footer-action {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.card-footer-action .link {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}
.card-footer-action .link .arrow {
  color: var(--gold-ink);
  transition: transform .35s var(--ease-out);
}
.news-card:hover .card-footer-action .link .arrow {
  transform: translate(3px, -3px);
}

/* Khối thông báo rủi ro visa & Thẩm định khẩn cấp (Case Audit Alert) */
.news-audit-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--on-dark);
  border-radius: calc(var(--radius) * 1.2);
  padding: clamp(32px, 4vw, 52px);
  margin: clamp(36px, 4vw, 52px) 0 20px;
  box-shadow: 0 20px 48px oklch(20% 0.05 250 / .2);
  display: grid;
  grid-template-columns: 1.4fr .8fr;
  gap: clamp(24px, 3.5vw, 44px);
  align-items: center;
}
.news-audit-banner + .disclaimer {
  margin-top: 0;
  padding-top: 14px;
}
@media (max-width: 860px) {
  .news-audit-banner {
    grid-template-columns: 1fr;
  }
}
.audit-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.news-audit-banner h3 {
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  color: var(--on-dark);
  line-height: 1.25;
  margin-bottom: 12px;
}
.news-audit-banner p {
  font-size: 14.5px;
  line-height: 1.75;
  color: oklch(88% 0.01 250);
  margin: 0;
}
.audit-banner-action {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.audit-action-note {
  font-size: 12px;
  color: oklch(75% 0.02 250);
  letter-spacing: .02em;
}

/* Khối bản tin chính sách di trú (Policy Newsletter) */
.news-newsletter {
  padding: clamp(36px, 4vw, 52px) 0;
  background: var(--soft);
  border-top: 1px solid var(--line);
  margin-top: 0;
}
.newsletter-inner {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}
@media (max-width: 860px) {
  .newsletter-inner {
    grid-template-columns: 1fr;
  }
}
.newsletter-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-ink);
  display: block;
  margin-bottom: 8px;
}
.newsletter-text h3 {
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  line-height: 1.25;
  margin-bottom: 10px;
}
.newsletter-text p {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
}
.newsletter-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.newsletter-form input[type="email"] {
  flex-grow: 1;
  min-width: 220px;
  height: 48px;
  padding: 0 18px;
  font-family: inherit;
  font-size: 14px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
}
.newsletter-form input[type="email"]:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 2px;
}
.newsletter-form .btn-navy {
  background: var(--navy);
  color: var(--on-dark);
  border: 1px solid var(--navy);
  height: 48px;
  padding: 0 24px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all .3s var(--ease-out);
}
.newsletter-form .btn-navy:hover {
  background: var(--navy-deep);
  transform: translateY(-1px);
}

.news-empty { padding: 40px 0; font-size: 14.5px; color: var(--muted); }
.news-empty-all {
  text-align: center; padding: clamp(48px, 6vw, 80px) 24px;
  background: var(--soft); border-radius: var(--radius);
  margin-block: 24px;
}
.news-empty-all p { font-size: 16px; color: var(--muted); margin-bottom: 20px; }
.copy-fallback-input {
  font-family: inherit; font-size: 12px; padding: 4px 8px;
  border: 1px solid var(--line); border-radius: 4px;
  background: var(--paper); color: var(--ink);
}
.table-scroll {
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  margin-block: 24px;
}
.table-scroll table { width: 100%; min-width: 500px; border-collapse: collapse; }

/* ── 26. Cảm nhận khách hàng ───────────────────────────────── */
.testimonials { padding-block: var(--section-y); background: var(--soft); }
.quote-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(290px, 100%), 1fr));
  gap: clamp(22px, 2.6vw, 34px);
}
.quote-card {
  display: flex; flex-direction: column;
  padding: clamp(28px, 3vw, 40px);
  background: var(--paper); border-radius: var(--radius);
  border-top: 2px solid var(--gold);
}
.quote-mark {
  font-family: var(--serif); font-size: 52px; line-height: .8;
  color: var(--gold); margin-bottom: 14px;
}
.quote-card blockquote {
  margin: 0; flex-grow: 1;
  font-family: var(--serif); font-size: clamp(16px, 1.5vw, 18.5px);
  line-height: 1.65; color: var(--ink);
}
.quote-card figcaption {
  margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line);
  font-size: 13px; line-height: 1.6; color: var(--muted);
}
.quote-card figcaption strong {
  display: block; font-weight: 500; font-size: 14.5px; color: var(--ink);
}

/* ── 27. Trang tin tức: bài nổi bật (Editorial Featured Hero) ─ */
.featured {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(26px, 3.4vw, 52px);
  align-items: stretch;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) * 1.2);
  padding: clamp(22px, 2.8vw, 36px);
  box-shadow: 0 14px 42px oklch(20% 0.05 250 / .06);
  margin-bottom: clamp(34px, 4vw, 56px);
}
.featured .featured-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--soft-2);
}
.featured .featured-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .9s var(--ease-out);
}
.featured:hover .featured-media img {
  transform: scale(1.04);
}
.featured-media-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--on-dark);
  background: oklch(15% 0.04 250 / .85);
  backdrop-filter: blur(8px);
  padding: 5px 14px;
  border-radius: 999px;
  border: 1px solid oklch(100% 0 0 / .18);
}
.featured-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 8px 4px;
}
.featured-top-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.featured-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-ink);
}
.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0 oklch(78% 0.14 78 / .6);
  animation: pulse-ring 2s infinite;
}
@keyframes pulse-ring {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 oklch(78% 0.14 78 / .7); }
  70% { transform: scale(1); box-shadow: 0 0 0 7px oklch(78% 0.14 78 / 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 oklch(78% 0.14 78 / 0); }
}
.featured-read-time {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: .02em;
}
.featured-body h3 {
  font-size: clamp(1.6rem, 2.5vw, 2.3rem);
  line-height: 1.25;
  letter-spacing: -.024em;
  margin-bottom: 16px;
}
.featured-body h3 a {
  color: var(--navy);
  text-decoration: none;
  background-image: linear-gradient(var(--gold-ink), var(--gold-ink));
  background-size: 0 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size .5s var(--ease-out);
  padding-bottom: 3px;
}
.featured-body h3 a:hover {
  background-size: 100% 1px;
}
.featured-desc {
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 24px;
  max-width: 52ch;
}
.featured-footer {
  margin-top: auto;
  width: 100%;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.meta-date {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
}
.btn-outline {
  --bg: transparent;
  --fg: var(--navy);
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--navy);
}
.btn-outline:hover {
  background: var(--navy);
  color: var(--on-dark);
  border-color: var(--navy);
}

.featured-btn {
  font-size: 13.5px;
  min-height: 44px;
  padding: 10px 22px;
  background: var(--navy);
  color: var(--on-dark) !important;
  border: 1px solid var(--navy);
  border-radius: var(--radius);
  gap: 12px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.featured-btn .arrow {
  color: var(--gold);
  transition: transform .3s var(--ease-out);
}
.featured-btn:hover {
  background: var(--navy-deep);
  color: var(--on-dark) !important;
  border-color: var(--navy-deep);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px oklch(18% 0.04 250 / .2);
}
.featured-btn:hover .arrow {
  transform: translateX(4px);
}
@media (max-width: 860px) {
  .featured {
    grid-template-columns: 1fr;
  }
}

/* ── 28. Trang bài viết ────────────────────────────────────── */
.article { padding-block: clamp(40px, 5vw, 72px) var(--section-y); }
.crumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  font-size: 12.5px; color: var(--muted); margin-bottom: clamp(22px, 2.6vw, 34px);
}
.crumbs a:hover { color: var(--gold-ink); }
.crumbs span[aria-hidden] { color: var(--line-strong); }

.article-head { max-width: 780px; }
.article-head h1 {
  font-size: clamp(2rem, 3.8vw, 3.2rem); line-height: 1.14;
  letter-spacing: -.03em; margin: 14px 0 20px;
}
.article-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px;
  font-size: 12.5px; color: var(--muted);
}
.article-meta .cat {
  padding: 5px 13px; border-radius: 999px;
  background: var(--soft); color: var(--gold-ink);
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
}
.article-lead {
  max-width: 700px; margin-top: 22px;
  font-size: clamp(16px, 1.7vw, 19px); line-height: 1.85; color: var(--ink);
}
.article-cover { margin: clamp(32px, 4vw, 52px) 0; }
.article-cover .figure { aspect-ratio: 1.85; }
.article-cover figcaption { margin-top: 12px; font-size: 12px; color: var(--muted); }

.article-body { max-width: 700px; }
.article-body h2 {
  font-size: clamp(1.4rem, 2.1vw, 1.85rem); line-height: 1.28;
  margin: clamp(34px, 4vw, 52px) 0 16px;
}
.article-body h3 {
  font-size: 1.15rem; margin: 30px 0 12px;
}
.article-body p { font-size: 16px; line-height: 1.9; color: var(--ink); margin-bottom: 18px; }
.article-body ul { margin: 0 0 20px; padding-left: 0; list-style: none; }
.article-body ul li {
  position: relative; padding-left: 26px; margin-bottom: 11px;
  font-size: 16px; line-height: 1.85; color: var(--ink);
}
.article-body ul li::before {
  content: ''; position: absolute; left: 4px; top: 13px;
  width: 7px; height: 7px; background: var(--gold); border-radius: 50%;
}
.article-body .pullquote {
  margin: clamp(30px, 3.6vw, 44px) 0; padding-left: 26px;
  border-left: 2px solid var(--gold);
  font-family: var(--serif); font-size: clamp(1.15rem, 1.9vw, 1.45rem);
  line-height: 1.5; color: var(--navy);
}
.article-body .callout {
  margin: clamp(28px, 3.4vw, 40px) 0; padding: 24px 26px;
  background: var(--soft); border-radius: var(--radius);
  font-size: 14.5px; line-height: 1.85; color: var(--muted);
}
.article-body .callout strong { color: var(--ink); font-weight: 500; }

/* Chia sẻ */
.share {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
  max-width: 700px; margin-top: clamp(34px, 4vw, 50px);
  padding-top: 24px; border-top: 1px solid var(--line);
}
.share-label { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-right: 4px; }
.share a, .share button {
  display: inline-flex; align-items: center; gap: 9px;
  min-height: 42px; padding: 9px 17px;
  border: 1px solid var(--line); border-radius: 999px;
  background: var(--paper); color: var(--ink);
  font-size: 13.5px; font-weight: 500; cursor: pointer;
  transition: border-color .3s var(--ease-out), background .3s var(--ease-out);
}
.share a:hover, .share button:hover { border-color: var(--navy); background: var(--soft); }
.share svg { width: 16px; height: 16px; fill: currentColor; flex: none; }

/* Bình luận mạng xã hội */
.comments {
  max-width: 780px; margin-top: clamp(44px, 5vw, 70px);
  padding-top: clamp(30px, 3.4vw, 44px); border-top: 1px solid var(--line);
}
.comments h2 { font-size: clamp(1.4rem, 2.1vw, 1.8rem); margin-bottom: 10px; }
.comments-note { font-size: 13.5px; line-height: 1.8; color: var(--muted); margin-bottom: 22px; max-width: 58ch; }
.comments-shell {
  min-height: 140px; padding: 28px 26px;
  background: var(--soft); border-radius: var(--radius);
}
.comments-shell[data-state="loaded"] { background: transparent; padding: 0; }
.comments-fallback { font-size: 14px; line-height: 1.85; color: var(--muted); }
.comments-fallback a { color: var(--gold-ink); text-decoration: underline; text-underline-offset: 3px; }

/* Bài liên quan */
.related { margin-top: clamp(50px, 6vw, 84px); padding-top: clamp(30px, 3.4vw, 44px); border-top: 1px solid var(--line); }
.related h2 { font-size: clamp(1.4rem, 2.1vw, 1.8rem); margin-bottom: clamp(22px, 2.6vw, 32px); }

/* ── 29. Popup giới thiệu công cụ thẩm định ────────────────── */
/* Dùng <dialog> gốc của trình duyệt: có sẵn bẫy focus, phím Esc và
   lớp nền mờ, nên không phải tự dựng lại những thứ dễ làm sai. */
dialog.promo {
  width: min(880px, 100% - 32px);
  max-width: none; padding: 0;
  border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 40px 100px oklch(18% 0.04 250 / .4);
}
.promo-grid { display: grid; grid-template-columns: 1.12fr .88fr; }
.promo-body {
  padding: clamp(30px, 3.6vw, 48px) clamp(26px, 3.2vw, 44px);
  display: flex; flex-direction: column; align-items: flex-start;
}
.promo-badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 15px; margin-bottom: 20px;
  border: 1px solid var(--line); border-radius: 999px;
  background: var(--soft);
  font-size: 10.5px; font-weight: 500; letter-spacing: .17em;
  text-transform: uppercase; color: var(--gold-ink);
}
.promo-badge::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold-ink);
  animation: pulse 2.6s var(--ease-inout) infinite;
}
dialog.promo h2 {
  font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1.16;
  letter-spacing: -.03em; margin-bottom: 16px;
}
dialog.promo h2 em { font-style: normal; color: var(--gold-ink); }
.promo-sub {
  font-size: 15px; line-height: 1.8; color: var(--muted);
  max-width: 42ch; margin-bottom: 26px;
}
.promo-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.btn-plain {
  background: none; border: 0; color: var(--muted);
  min-height: 50px; padding: 13px 8px;
  font-size: 14px; font-weight: 500;
  transition: color .3s var(--ease-out);
}
.btn-plain:hover { color: var(--ink); }
.promo-trust {
  margin-top: 14px; font-size: 12.5px; color: var(--muted);
}
.promo-trust span { color: var(--gold); margin-inline: 6px; }
.promo-points {
  display: grid; gap: 9px; margin: 26px 0 0; padding-top: 22px;
  border-top: 1px solid var(--line); width: 100%;
}
.promo-points li {
  position: relative; padding-left: 22px;
  font-size: 12.5px; line-height: 1.65; color: var(--muted);
}
.promo-points li::before {
  content: ''; position: absolute; left: 3px; top: 7px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--gold);
}
.promo-points strong { font-weight: 500; color: var(--ink); }

.promo-media { position: relative; overflow: hidden; background: var(--surface-sunken); }
.promo-media img { width: 100%; height: 100%; object-fit: cover; }
.promo-media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(200deg, transparent 40%, oklch(18% 0.05 250 / .38));
}
.promo-quote {
  position: absolute; z-index: 1; left: 22px; right: 22px; bottom: 20px;
  font-family: var(--serif); font-style: italic; font-size: 15px;
  line-height: 1.45; color: var(--on-dark);
  text-shadow: 0 1px 12px oklch(18% 0.05 250 / .7);
}
.promo-close {
  position: absolute; z-index: 3; right: 10px; top: 8px;
  width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: oklch(100% 0 0 / .82); backdrop-filter: blur(6px);
  font-size: 26px; line-height: 1; color: var(--ink);
  transition: background .3s var(--ease-out), transform .4s var(--ease-out);
}
.promo-close:hover { background: var(--paper); transform: rotate(90deg); }

@media (max-width: 760px) {
  .promo-grid { grid-template-columns: 1fr; }
  .promo-media { display: none; }
  dialog.promo h2 { font-size: 1.65rem; }
  .promo-actions { width: 100%; }
  /* Chỉ nút chính kéo hết bề ngang; "Để sau" giữ nguyên cỡ chữ */
  .promo-actions .btn-solid { flex: 1 1 100%; }
  .promo-actions .btn-plain { flex: 0 0 auto; margin-inline: auto; }
  /* Cột ảnh bị ẩn nên nút đóng nằm trên nền trắng: cho nó viền để thấy rõ,
     và chừa chỗ phía trên để badge không chui xuống dưới nút. */
  .promo-body { padding-top: 60px; }
  .promo-close { background: var(--soft); border: 1px solid var(--line); }
  .promo-badge {
    max-width: 100%; font-size: 9.5px; letter-spacing: .12em;
    text-align: left; line-height: 1.5;
  }
}

/* Thanh đếm ngược tự động đóng pop-up sau 10s */
.promo-timer-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--line);
  overflow: hidden;
  z-index: 10;
}
.promo-timer-fill {
  height: 100%;
  width: 100%;
  background: var(--gold);
  transform-origin: left;
  transition: width 1s linear;
}
.promo-countdown-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 10px;
}
.promo-countdown-tag strong {
  color: var(--gold-ink);
  font-weight: 600;
  min-width: 1.4em;
  display: inline-block;
  text-align: center;
}

/* Nút nổi kích hoạt pop-up thẩm định visa góc màn hình */
.promo-trigger-badge {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 95;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 8px 18px;
  background: var(--navy-deep);
  color: var(--on-dark);
  border: 1px solid var(--gold);
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  cursor: pointer;
  box-shadow: 0 8px 24px oklch(15.2% 0.045 245 / .35);
  transition: transform .25s var(--ease-out), background .25s var(--ease-out), box-shadow .25s var(--ease-out);
}
.promo-trigger-badge:hover {
  background: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px oklch(15.2% 0.045 245 / .45);
}
.promo-trigger-badge .dot-live {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse 2.2s infinite ease-in-out;
}
.promo-trigger-badge .arrow {
  color: var(--gold);
  transition: transform .25s var(--ease-out);
}
.promo-trigger-badge:hover .arrow {
  transform: translate(2px, -2px);
}
@media (max-width: 760px) {
  .promo-trigger-badge {
    bottom: 16px;
    right: 16px;
    padding: 8px 14px;
    font-size: 12px;
  }
}

/* ── 30. Chuyển ngôn ngữ ───────────────────────────────────── */
.lang-switch {
  display: inline-flex; align-items: center; flex: none;
  border: 1px solid var(--line); border-radius: 999px;
  padding: 3px; background: var(--paper);
}
.lang-switch a {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 38px; min-height: 30px; padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px; font-weight: 500; letter-spacing: .06em;
  color: var(--muted);
  transition: background .3s var(--ease-out), color .3s var(--ease-out);
}
.lang-switch a:hover { color: var(--ink); }
.lang-switch a[aria-current="true"] {
  background: var(--navy); color: var(--on-dark);
}
.header-cta { display: flex; align-items: center; gap: 14px; }

/* Trong panel di động: hàng riêng, to hơn cho dễ bấm */
.mobile-nav .lang-switch { align-self: flex-start; padding: 4px; }
.mobile-nav .lang-switch a { min-width: 52px; min-height: 44px; font-size: 13.5px; }

@media (max-width: 640px) {
  :root { --header-h: 64px; }
  .site-header .shell.header-inner {
    padding-inline: clamp(10px, 2.5vw, 14px);
    gap: 6px;
    width: 100%;
  }
  .site-header .brand svg {
    width: clamp(96px, 26vw, 116px);
    height: auto;
  }
  .header-cta {
    gap: 6px;
    margin-left: auto;
    flex-shrink: 1;
    min-width: 0;
  }
  .lang-switch {
    padding: 2px;
    flex-shrink: 0;
  }
  .lang-switch a {
    min-width: 28px;
    min-height: 26px;
    padding: 2px 6px;
    font-size: 11px;
  }
  .header-cta .btn {
    min-height: 36px;
    padding: 6px 11px;
    font-size: 11.5px;
    gap: 4px;
    letter-spacing: normal;
    white-space: nowrap;
    border-radius: calc(var(--radius) - 2px);
    flex-shrink: 1;
  }
  .header-cta .btn .arrow {
    font-size: 11px;
  }
  .menu-toggle {
    width: 38px;
    height: 38px;
    gap: 5px;
    flex-shrink: 0;
    border-radius: calc(var(--radius) - 2px);
  }
  .menu-toggle span {
    width: 17px;
  }
}

@media (max-width: 380px) {
  :root { --header-h: 60px; }
  .site-header .shell.header-inner {
    padding-inline: 8px;
    gap: 4px;
  }
  .site-header .brand svg {
    width: 90px;
  }
  .header-cta {
    gap: 4px;
  }
  .lang-switch a {
    min-width: 24px;
    min-height: 24px;
    padding: 1px 4px;
    font-size: 10px;
  }
  .header-cta .btn {
    min-height: 32px;
    padding: 5px 8px;
    font-size: 10.5px;
    gap: 3px;
  }
  .header-cta .btn .arrow {
    display: none;
  }
  .menu-toggle {
    width: 34px;
    height: 34px;
    gap: 4px;
  }
  .menu-toggle span {
    width: 15px;
  }
}

/* ── 21. Giảm chuyển động ──────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .js-reveal [data-reveal] { opacity: 1; transform: none; }
  .split-word { opacity: 1; transform: none; }
  .curtain { display: none; }
  /* Dải chạy ngang: dừng hẳn và xuống dòng thay vì trượt */
  .marquee-track, .partner-track, .partner-articles-track { animation: none !important; transform: none !important; }
  .marquee, .partner-marquee, .partner-articles-marquee { mask-image: none; }
  .partner-track { flex-wrap: wrap; width: 100%; justify-content: center; }
  .partner-set[data-dup], .partner-articles-set[data-dup] { display: none; }
  .partner-set { flex-wrap: wrap; justify-content: center; row-gap: 28px; }
  .partner-articles-set { flex-wrap: wrap; justify-content: center; row-gap: 24px; }
  .marquee-track { flex-wrap: wrap; width: 100%; justify-content: center; row-gap: 8px; }
  /* Ảnh parallax: đứng yên, cao đúng bằng khung */
  .figure img, .parallax-band > img, .page-hero .hero-media img { height: 100%; }
  .promo-badge::before { animation: none; }
  .img-duo .figure:last-child { margin-top: 0; }
}

/* ── 31. Form tư vấn (OneStep Signature Design) ───────────── */
dialog#consult-dialog {
  position: relative;
  isolation: isolate;
  width: min(640px, 100% - 24px);
  max-height: min(90svh, 90vh);
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--gold-ink) transparent;
  padding: clamp(28px, 4.8vw, 48px) clamp(18px, 4.2vw, 42px);
  border-top: 3px solid var(--gold);
}
dialog#consult-dialog::-webkit-scrollbar {
  width: 6px;
}
dialog#consult-dialog::-webkit-scrollbar-track {
  background: transparent;
}
dialog#consult-dialog::-webkit-scrollbar-thumb {
  background: var(--gold-ink);
  border-radius: 999px;
}
/* Hình ảnh Singapore chìm nghệ thuật ở nửa dưới nền dialog */
dialog#consult-dialog::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: url('assets/singapore.jpg');
  background-position: center bottom;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: .085;
  pointer-events: none;
  mask-image: linear-gradient(to bottom, transparent 20%, oklch(0% 0 0 / .6) 60%, black 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 20%, oklch(0% 0 0 / .6) 60%, black 100%);
}
.consult-form {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}
.form-grid {
  display: grid;
  gap: 16px;
}
@media (min-width: 540px) {
  .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  /* Họ tên & Số điện thoại chia đều 2 cột cân xứng 50/50 */
  .form-grid > .form-field:nth-child(1),
  .form-grid > .form-field:nth-child(2) {
    grid-column: span 1;
  }
  /* Email và Chương trình quan tâm tự động bung trọn hàng ngang để tên trường dài
     hiển thị thoáng đãng, sắc nét, không bị chèn ép hay làm lệch form */
  .form-grid > .form-field:nth-child(3),
  .form-grid > .form-field:nth-child(4),
  .form-grid > .form-field-full,
  .form-grid > .form-field:has(select) {
    grid-column: 1 / -1;
  }
}
.form-grid > * {
  min-width: 0;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.form-field span {
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.form-field abbr {
  text-decoration: none;
  color: var(--gold-ink);
  font-weight: 700;
  font-size: 13px;
  line-height: 1;
}
.form-field input,
.form-field select,
.form-field textarea {
  min-height: 48px;
  padding: 11px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font: inherit;
  font-size: 14.5px;
  line-height: 1.5;
  background: var(--paper);
  color: var(--ink);
  transition: border-color .25s var(--ease-out), box-shadow .25s var(--ease-out), background .25s var(--ease-out);
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
.form-field textarea {
  min-height: 92px;
  resize: vertical;
  line-height: 1.6;
}
.form-field input::placeholder,
.form-field textarea::placeholder {
  color: oklch(62% 0.020 85);
  font-weight: 400;
}
.form-field input:hover,
.form-field select:hover,
.form-field textarea:hover {
  border-color: var(--line-strong);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 2px solid var(--gold-ink);
  outline-offset: 2px;
  border-color: var(--navy);
  box-shadow: 0 0 0 4px oklch(76.2% 0.118 78 / .18);
}
.form-field input:user-invalid,
.form-field select:user-invalid {
  border-color: oklch(.6 .22 25);
}

/* Custom select phong cách OneStep với mũi tên vàng chữ V */
.form-field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='oklch(55.4%25 0.083 78)' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 42px;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  cursor: pointer;
}

/* Nút Submit vàng kim đẳng cấp */
.btn-consult-submit {
  width: 100%;
  min-height: 50px;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: .04em;
  background: var(--gold);
  color: var(--navy-deep);
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out), background .25s var(--ease-out);
}
.btn-consult-submit:hover {
  background: oklch(72% 0.13 78);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px oklch(76.2% 0.118 78 / .35);
}
.btn-consult-submit:active {
  transform: translateY(0);
}
.btn-consult-submit .arrow {
  display: inline-block;
  transition: transform .3s var(--ease-out);
}
.btn-consult-submit:hover .arrow {
  transform: translateX(4px);
}
.btn-consult-submit[disabled] {
  opacity: .6;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

/* Cam kết quyền riêng tư */
.form-privacy {
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
  text-align: center;
  margin-top: -4px;
}

.form-hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }

/* Trạng thái phản hồi của form */
.form-status {
  font-size: 13.5px;
  min-height: 1.5em;
  margin: 6px 0 0;
  border-radius: var(--radius);
  padding: 0;
  text-align: center;
  transition: all .3s var(--ease-out);
}
.form-status.ok {
  color: oklch(35% 0.12 145);
  background: oklch(95% 0.05 145);
  border: 1px solid oklch(85% 0.1 145);
  padding: 10px 14px;
  font-weight: 500;
}
.form-status.err {
  color: oklch(40% 0.15 25);
  background: oklch(95% 0.06 25);
  border: 1px solid oklch(85% 0.12 25);
  padding: 10px 14px;
  font-weight: 500;
}

.consult-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--muted);
  font-size: 12.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin: 24px 0 16px;
}
.consult-divider::before,
.consult-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line);
}

/* Lưới Thẻ Liên Hệ Nhanh (Quick Contact Cards) — Chiều cao cân xứng tuyệt đối */
.contact-methods-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: stretch;
}
@media (min-width: 500px) {
  .contact-methods-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.contact-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 76px;
  height: 100%;
  padding: 14px 18px;
  margin: 0 !important;
  box-sizing: border-box;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--ink);
  transition: background .3s var(--ease-out), border-color .3s var(--ease-out), transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.contact-card:hover {
  background: var(--paper);
  border-color: var(--gold-ink);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px oklch(18% 0.04 250 / .08);
}
.contact-card .contact-card-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
  margin: 0 0 4px 0;
  line-height: 1.2;
  display: block;
}
.contact-card .contact-card-val {
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 0;
  line-height: 1.3;
  white-space: nowrap;
}
.contact-card .contact-card-val i {
  font-style: normal;
  color: var(--gold-ink);
  font-size: 16px;
  transition: transform .3s var(--ease-out);
}
.contact-card:hover .contact-card-val i {
  transform: translate(3px, -3px);
}

/* ── 31a. Màn hình xác nhận tiếp nhận thông tin thân thiện ───── */
.consult-success[hidden],
.consult-form[hidden] {
  display: none !important;
}
.consult-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 8px 0 4px;
  animation: fadeIn .4s var(--ease-out);
}
.consult-success .success-icon {
  color: var(--gold-ink);
  margin-bottom: 12px;
  display: inline-flex;
}
.consult-success .eyebrow {
  justify-content: center;
  margin-bottom: 10px;
}
.consult-success .success-title {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 3.8vw, 1.85rem);
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 14px;
}
.consult-success .success-content {
  display: grid;
  gap: 10px;
  color: var(--ink);
  font-size: 14.5px;
  line-height: 1.6;
  max-width: 480px;
  margin: 0 auto 18px;
}
.consult-success .success-content strong {
  color: var(--navy);
}
.consult-success .success-ref-card {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 22px;
  background: var(--soft);
  border: 1px dashed var(--gold-ink);
  border-radius: var(--radius);
  margin-bottom: 16px;
}
.consult-success .success-ref-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
}
.consult-success .success-ref-code {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .05em;
  color: var(--navy);
}
.consult-success .success-urgency {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 22px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
}
.consult-success .success-phone {
  font-size: 15px;
  font-weight: 700;
  color: var(--gold-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity .2s var(--ease-out);
}
.consult-success .success-phone:hover {
  opacity: .8;
}
.consult-success .success-done-btn {
  min-height: 48px;
  padding: 12px 32px;
  font-size: 14px;
  width: min(320px, 100%);
  cursor: pointer;
}

@media (max-width: 640px) {
  dialog#consult-dialog {
    width: min(100% - 16px, 640px);
    max-height: 88svh;
    padding: 22px 14px 26px;
    margin: auto;
  }
  dialog#consult-dialog h2 {
    font-size: clamp(1.4rem, 5.2vw, 1.75rem);
    line-height: 1.2;
    margin-bottom: 6px;
  }
  dialog#consult-dialog .dialog-lead {
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 10px;
  }
  .consult-form {
    margin-top: 12px;
    gap: 12px;
  }
  .form-grid {
    gap: 12px;
  }
  .form-field input,
  .form-field select,
  .form-field textarea {
    min-height: 44px;
    padding: 9px 12px;
    font-size: 14px;
  }
  .btn-consult-submit {
    min-height: 46px;
    padding: 10px 16px;
    font-size: 14px;
  }
}

/* ── 31b. Giao diện tạp chí bài viết & Khối CTA tương tác ───── */
.article-editorial-header {
  padding: clamp(36px, 4.5vw, 64px) 0 clamp(24px, 3vw, 40px);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.article-editorial-hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 4.5vw, 64px);
  align-items: center;
}
.article-editorial-hero h1 {
  font-size: clamp(2rem, 3.4vw, 3rem);
  line-height: 1.2;
  letter-spacing: -.028em;
  color: var(--navy);
  margin: 14px 0 18px;
}
.article-editorial-lead {
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.75;
  color: var(--muted);
  margin-bottom: 22px;
}
.article-hero-media {
  position: relative;
  aspect-ratio: 16 / 10.5;
  border-radius: calc(var(--radius) * 1.3);
  overflow: hidden;
  box-shadow: 0 24px 60px oklch(20% 0.05 250 / .14), 0 4px 16px oklch(20% 0.05 250 / .06), 0 0 0 1px oklch(76% 0.12 78 / .25);
  background: var(--soft-2);
  transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out);
}
.article-hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, oklch(100% 0 0 / .12) 0%, transparent 45%, oklch(20% 0.05 250 / .18) 100%);
  pointer-events: none;
  transition: opacity .5s var(--ease-out);
}
/* Hiệu ứng tia sáng quét nhẹ qua mặt kính khi tương tác */
.article-hero-media::before {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 70%;
  height: 100%;
  background: linear-gradient(90deg, transparent, oklch(100% 0 0 / .2), transparent);
  transform: skewX(-22deg);
  z-index: 2;
  pointer-events: none;
  transition: left 1s var(--ease-out);
}
.article-hero-media:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 32px 75px oklch(20% 0.05 250 / .18), 0 8px 24px oklch(76% 0.12 78 / .25), 0 0 0 1.5px var(--gold);
}
.article-hero-media:hover::before {
  left: 150%;
}
.article-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .9s cubic-bezier(0.16, 1, 0.3, 1);
}
.article-hero-media:hover img {
  transform: scale(1.045);
}

.article-editorial-body {
  padding: clamp(40px, 5vw, 72px) 0 var(--section-y);
  background: var(--paper);
}
.article-editorial-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: clamp(36px, 5vw, 64px);
  align-items: start;
}
.article-content-main {
  min-width: 0;
}
.article-content-main p {
  font-size: 16.5px;
  line-height: 1.9;
  color: var(--ink);
  margin-bottom: 24px;
}
.article-content-main h2 {
  font-size: clamp(1.45rem, 2.2vw, 1.95rem);
  line-height: 1.3;
  color: var(--navy);
  margin: 44px 0 18px;
}

/* Chữ cái Drop Cap phong cách báo chí cao cấp */
.article-drop-cap::first-letter {
  font-family: var(--serif);
  font-size: 3.8rem;
  line-height: .8;
  float: left;
  margin: 8px 14px 0 0;
  color: var(--gold-ink);
  font-weight: 600;
}

/* Dòng dẫn Tagline Box */
.tagline-lead {
  font-size: 18.5px !important;
  font-weight: 500;
  line-height: 1.75 !important;
  color: var(--navy) !important;
  background: var(--soft);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 24px;
  margin-bottom: 32px !important;
}

/* Ảnh minh họa trong bài viết (Editorial Figure) */
.article-editorial-figure {
  margin: clamp(34px, 4vw, 50px) 0;
}
.editorial-img-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--soft-2);
  box-shadow: 0 10px 28px oklch(20% 0.05 250 / .08);
}
.editorial-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease-out);
}
.article-editorial-figure:hover .editorial-img-wrap img {
  transform: scale(1.03);
}
.editorial-img-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--on-dark);
  background: oklch(15% 0.04 250 / .85);
  backdrop-filter: blur(8px);
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid oklch(100% 0 0 / .18);
}
.article-editorial-figure figcaption {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--muted);
  margin-top: 12px;
  padding-left: 12px;
  border-left: 2px solid var(--gold);
}
.article-editorial-figure figcaption strong {
  color: var(--ink);
}

/* Bảng ma trận đối soát chuẩn mực OneStep (Editorial Comparison Matrix) */
.article-comparison-matrix {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 2.5vw, 28px);
  margin: clamp(34px, 4vw, 50px) 0;
  align-items: stretch;
}
@media (max-width: 680px) {
  .article-comparison-matrix {
    grid-template-columns: 1fr;
  }
}
.matrix-column {
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 30px);
  position: relative;
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out);
}

/* Cột 1: Thực trạng / Rủi ro thị trường (Neutral Muted Tone - Điềm tĩnh, khách quan) */
.matrix-column.risk-col {
  background: var(--soft);
  border: 1px solid var(--line);
  box-shadow: 0 4px 16px oklch(20% 0.05 250 / .03);
}
.matrix-column.risk-col:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px oklch(20% 0.05 250 / .06);
}
.risk-col .matrix-header {
  border-bottom: 1px solid var(--line);
}
.risk-col .matrix-icon {
  background: var(--soft-2);
  color: var(--muted);
  border: 1px solid var(--line);
}
.risk-col .matrix-header h4 {
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .02em;
}
.risk-col li {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.65;
}
.risk-col li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--muted);
  font-weight: 600;
}

/* Cột 2: Chuẩn mực đối soát OneStep (Prestige Navy & Gold - Đẳng cấp OneStep) */
.matrix-column.safe-col {
  background: var(--paper);
  border: 1.5px solid var(--gold);
  box-shadow: 0 8px 28px oklch(76% 0.12 78 / .12);
  position: relative;
}
.matrix-column.safe-col::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gold);
  border-radius: var(--radius) var(--radius) 0 0;
}
.matrix-column.safe-col:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px oklch(76% 0.12 78 / .2);
}
.safe-col .matrix-header {
  border-bottom: 1px solid oklch(76% 0.12 78 / .25);
}
.safe-col .matrix-icon {
  background: var(--navy);
  color: var(--gold);
  border: 1px solid var(--gold);
  box-shadow: 0 2px 8px oklch(20% 0.05 250 / .15);
}
.safe-col .matrix-header h4 {
  color: var(--navy);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .02em;
}
.safe-col li {
  color: var(--navy);
  font-size: 14px;
  line-height: 1.65;
  font-weight: 500;
}
.safe-col li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold-ink);
  font-weight: 700;
}
.matrix-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  padding-bottom: 12px;
}
.matrix-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
}
.matrix-header h4 {
  font-size: 15px;
  font-weight: 600;
  margin: 0;
}
.matrix-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.matrix-column li {
  position: relative;
  padding-left: 20px;
}

/* Trích dẫn chuyên gia (Editorial Quote) */
.article-editorial-quote {
  margin: clamp(34px, 4vw, 50px) 0;
  padding: 28px 32px;
  background: var(--soft);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  position: relative;
}
.article-editorial-quote p {
  font-family: var(--serif);
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.7;
  color: var(--navy);
  font-style: italic;
  margin: 0 0 12px 0;
}
.article-editorial-quote cite {
  display: block;
  font-size: 13px;
  font-style: normal;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--gold-ink);
}

/* Khối Căn cứ Pháp lý & Nguồn Đối chiếu (Statutory Citations & Verified Sources) */
.article-sources-box {
  margin: clamp(36px, 4.5vw, 54px) 0 24px;
  padding: clamp(24px, 3vw, 32px);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  position: relative;
}
.sources-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.sources-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--navy);
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sources-icon svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}
.sources-header h4 {
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--navy);
  margin: 0;
}
.sources-intro {
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--muted);
  margin-bottom: 16px;
}
.sources-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.sources-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-left: 16px;
  border-left: 2.5px solid var(--gold);
}
.sources-item strong {
  font-size: 14px;
  color: var(--navy);
  font-weight: 600;
}
.sources-item .source-doc {
  font-size: 13px;
  color: var(--ink);
  line-height: 1.5;
}
.sources-item .source-link {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--gold-ink);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.sources-item .source-link:hover {
  text-decoration: underline;
}
.sources-disclaimer {
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  margin: 0;
  font-style: italic;
}

/* ── KHỐI CTA BÀI TEST THẨM ĐỊNH RỦI RO (VISUAL QUIZ CTA — POPUP LIGHT THEME) ──── */
.article-quiz-cta {
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius);
  margin: clamp(44px, 5vw, 64px) 0 32px;
  box-shadow: 0 20px 60px oklch(20% 0.05 250 / .08);
  border: 1px solid var(--line);
  border-top: 3.5px solid var(--gold);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 0;
}
.quiz-grid {
  display: grid;
  grid-template-columns: 1.16fr 0.84fr;
  align-items: stretch;
}
@media (max-width: 780px) {
  .quiz-grid {
    grid-template-columns: 1fr;
  }
}

/* Cột nội dung kêu gọi (Trái) */
.quiz-body {
  padding: clamp(28px, 3.6vw, 44px) clamp(24px, 3.2vw, 38px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.quiz-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  margin-bottom: 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--soft);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold-ink);
}
.quiz-badge .pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-ink);
  animation: pulse 2.6s var(--ease-inout) infinite;
}
.quiz-body h3 {
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.2vw, 1.85rem);
  line-height: 1.25;
  color: var(--ink);
  margin: 0 0 12px 0;
  letter-spacing: -.02em;
}
.quiz-body h3 em {
  font-style: normal;
  color: var(--gold-ink);
  font-weight: 600;
}
.article-content-main .article-quiz-cta p,
.article-quiz-cta .quiz-sub {
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--muted);
  margin: 0 0 16px 0;
  max-width: 44ch;
}

/* Đồ họa mũi tên chỉ thị tương tác */
.directional-pointer-cue {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 4px 0 14px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .02em;
  animation: pointer-bounce 2.2s ease-in-out infinite;
}
@keyframes pointer-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px) translateX(2px); }
}
.pointer-arrow-svg {
  width: 24px;
  height: 24px;
  stroke: var(--navy);
  fill: none;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 2px 4px oklch(20% 0.05 250 / .15));
}

.quiz-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.btn-quiz-cta {
  min-height: 48px;
  padding: 12px 28px;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: .02em;
  background: var(--navy);
  color: var(--on-dark) !important;
  border-radius: var(--radius);
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 8px 24px oklch(26.5% 0.052 254 / .22);
  animation: pulse-glow-navy 2.6s infinite;
  transition: transform .25s var(--ease-out), background .25s var(--ease-out), box-shadow .25s var(--ease-out);
}
@keyframes pulse-glow-navy {
  0% { box-shadow: 0 0 0 0 oklch(26.5% 0.052 254 / .4); }
  70% { box-shadow: 0 0 0 10px oklch(26.5% 0.052 254 / 0); }
  100% { box-shadow: 0 0 0 0 oklch(26.5% 0.052 254 / 0); }
}
.btn-quiz-cta:hover {
  background: var(--navy-deep);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px oklch(26.5% 0.052 254 / .32);
}
.btn-quiz-cta .arrow {
  color: var(--gold);
  transition: transform .25s var(--ease-out);
}
.btn-quiz-cta:hover .arrow {
  transform: translate(2px, -2px);
}

.quiz-trust {
  margin: 14px 0 0 0;
  font-size: 12.5px;
  color: var(--muted);
}
.quiz-trust span {
  color: var(--gold-ink);
  margin-inline: 4px;
}

.quiz-points {
  display: grid;
  gap: 8px;
  margin: 20px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  width: 100%;
  list-style: none;
  padding-left: 0;
}
.quiz-points li {
  position: relative;
  padding-left: 18px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted);
}
.quiz-points li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 7px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}
.quiz-points strong {
  font-weight: 600;
  color: var(--ink);
}

/* Cột hình ảnh chuyên gia tràn viền (Phải) */
.quiz-media {
  position: relative;
  overflow: hidden;
  background: var(--soft-2);
  min-height: 420px;
}
@media (max-width: 780px) {
  .quiz-media {
    min-height: 320px;
    order: -1;
  }
}
.quiz-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 25% center;
  transition: transform .8s var(--ease-out);
}
.article-quiz-cta:hover .quiz-media img {
  transform: scale(1.03);
}
.quiz-media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, oklch(18% 0.05 250 / .45) 75%, oklch(14% 0.05 250 / .75) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  color: var(--on-dark);
}
.quiz-media-badge {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 8px;
}
.quiz-media-badge strong {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--on-dark);
  letter-spacing: .02em;
}
.quiz-media-badge span {
  font-size: 11.5px;
  color: var(--gold);
  font-weight: 500;
}
.quiz-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 13.5px;
  line-height: 1.45;
  color: oklch(92% 0.01 250);
  margin: 0;
  text-shadow: 0 1px 8px oklch(0% 0 0 / .6);
}

/* Sidebar dán dính (Sticky Sidebar Rail) */
.article-sidebar {
  position: sticky;
  top: calc(var(--header-h) + 28px);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.sidebar-summary-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px;
  box-shadow: 0 6px 18px oklch(20% 0.05 250 / .04);
}
.sidebar-summary-card h4 {
  font-size: 13.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-ink);
  margin-bottom: 14px;
  font-weight: 600;
}
.sidebar-summary-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sidebar-summary-card li {
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink);
  border-bottom: 1px dashed var(--line);
  padding-bottom: 8px;
}
.sidebar-summary-card li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

/* Nút chia sẻ mạng xã hội */
.article-social-share {
  margin-top: clamp(40px, 4.5vw, 60px);
  padding-top: 26px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.share-heading {
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-ink);
  font-weight: 600;
  margin-right: 6px;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all .3s var(--ease-out);
}
.share-btn:hover {
  border-color: var(--gold);
  background: var(--soft);
  transform: translateY(-2px);
}
.share-btn svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
  flex-shrink: 0;
}

@media (max-width: 980px) {
  .article-editorial-hero {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .article-editorial-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .article-sidebar {
    position: static;
  }
}

/* ── 32. Chế độ tương phản cao (High Contrast / Forced Colors) ─ */
@media (forced-colors: active) {
  :focus-visible {
    outline: 2px solid Highlight;
    outline-offset: 4px;
  }
  .btn, .btn-gold, .btn-solid, .btn-outline, .btn-plain {
    border: 1px solid ButtonText;
  }
  .btn-gold:hover, .btn-solid:hover {
    background: Highlight;
    color: HighlightText;
  }
  .card, .quote-card, .article, .trade, .callout, dialog {
    border: 1px solid CanvasText;
  }
  hr, .line, .principles .principle, .footer-bottom, .article-cover {
    border-color: CanvasText;
  }
  svg {
    forced-color-adjust: auto;
  }
  .eyebrow .dot {
    background: CanvasText;
  }
}

/* ── 33. Style in ấn (@media print) ────────────────────────── */
@media print {
  /* Ẩn các thành phần tương tác, trang trí và chuyển động */
  .curtain,
  .scroll-progress,
  .site-header,
  .site-footer,
  .mobile-nav,
  .menu-toggle,
  [data-consult],
  .btn,
  .marquee,
  .partner-marquee,
  .promo,
  dialog,
  .share,
  .comments,
  .lang-switch,
  .skip-link {
    display: none !important;
  }

  /* Nền trắng chữ đen tiết kiệm mực và tăng độ rõ khi in */
  *, *::before, *::after {
    background: transparent !important;
    color: oklch(0% 0 0) !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  body {
    background: var(--paper) !important;
    color: var(--ink) !important;
    font-size: 12pt;
    line-height: 1.5;
  }

  /* Tránh ngắt trang dở dang giữa các thẻ và tiêu đề */
  .card, .quote-card, .article-cover, .figure, tr, img {
    break-inside: avoid;
    page-break-inside: avoid;
  }

  h1, h2, h3, h4 {
    break-after: avoid;
    page-break-after: avoid;
  }

  /* Hiện URL đầy đủ cho các liên kết ngoài */
  a[href^="http"]:not(.btn)::after {
    content: " (" attr(href) ")";
    font-size: 85%;
    color: var(--muted) !important;
  }
}
