/* ==========================================================================
   Ai4w · AI for Work — Design system dùng chung cho toàn bộ website
   Màu sắc lấy mẫu trực tiếp từ logo (navy → blue → cyan)
   ========================================================================== */

:root{
  --c-navy:#051c61;
  --c-navy-2:#08237a;
  --c-blue:#0043c7;
  --c-blue-2:#0b5fef;
  --c-cyan:#10c4f3;
  --c-cyan-2:#5fe0ff;
  --c-ink:#0b1220;
  --c-ink-soft:#414a5c;
  --c-muted:#6b7386;
  --c-bg:#ffffff;
  --c-bg-soft:#f4f7fc;
  --c-bg-soft-2:#eef2fb;
  --c-border:#e3e8f4;
  --c-white:#ffffff;
  --c-success:#0fa968;
  --c-warn:#c7590b;

  --gradient-brand: linear-gradient(135deg, var(--c-navy) 0%, var(--c-blue) 55%, var(--c-cyan) 100%);
  --gradient-soft: linear-gradient(135deg, rgba(5,28,97,.06) 0%, rgba(16,196,243,.08) 100%);

  --shadow-sm: 0 1px 2px rgba(5,20,60,.06), 0 1px 1px rgba(5,20,60,.04);
  --shadow-md: 0 8px 24px rgba(5,20,60,.08);
  --shadow-lg: 0 20px 48px rgba(5,20,60,.14);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --container: 1160px;
  --font-body: 'Be Vietnam Pro', 'Inter', system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family: var(--font-body);
  color: var(--c-ink);
  background: var(--c-bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
  overflow-x: hidden; /* an toàn: tránh cuộn ngang nếu tiêu đề 1 dòng chạm mép ở màn hình trung gian */
}
img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{ margin:0; line-height:1.22; font-weight:800; letter-spacing:-.01em; }
p{ margin:0; }
button{ font-family:inherit; cursor:pointer; }
.section{ padding: 88px 0; }
.section--tight{ padding: 56px 0; }
.section--soft{ background: var(--c-bg-soft); }
.container{ width:100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container--narrow{ max-width: 820px; }

.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-size: 13px; font-weight:700; letter-spacing:.06em; text-transform:uppercase;
  color: var(--c-blue);
  background: rgba(0,67,199,.08);
  padding: 6px 14px; border-radius: var(--radius-pill);
  margin-bottom: 16px;
}
.eyebrow--light{ color:#fff; background: rgba(255,255,255,.14); }

.section-head{ max-width: 920px; margin-bottom: 48px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.section-head .section-lede{ max-width:720px; margin-left:auto; margin-right:auto; }
h2.section-title{ font-size: clamp(19px, 2.4vw, 33px); }
h1.hero-title{ font-size: clamp(34px, 5vw, 58px); }
.section-lede{ margin-top:14px; font-size:18px; color: var(--c-ink-soft); }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding: 14px 26px; border-radius: var(--radius-pill);
  font-weight:700; font-size:15.5px; border:1px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn-primary{ background: var(--gradient-brand); color:#fff; box-shadow: var(--shadow-md); }
.btn-primary:hover{ transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-outline{ background: transparent; color: var(--c-navy); border-color: var(--c-border); }
.btn-outline:hover{ border-color: var(--c-blue); color: var(--c-blue); }
.btn-ghost-light{ background: rgba(255,255,255,.12); color:#fff; border-color: rgba(255,255,255,.35); }
.btn-ghost-light:hover{ background: rgba(255,255,255,.22); }
.btn-block{ width:100%; }
.btn-sm{ padding:10px 18px; font-size:14px; }

/* ---------- Header ---------- */
.site-header{
  position: sticky; top:0; z-index: 60;
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--c-border);
}
.nav{
  display:flex; align-items:center; justify-content:space-between;
  padding: 12px 0;
}
.brand{ display:flex; align-items:center; gap:10px; font-weight:800; }
.brand img{ height: 40px; width:auto; }
.brand-text{ display:flex; flex-direction:column; line-height:1.1; }
.brand-text strong{ font-size:16px; color: var(--c-navy); }
.brand-text span{ font-size:11px; color: var(--c-muted); letter-spacing:.04em; }

.nav-links{ display:flex; align-items:center; gap:6px; }
.nav-links > li{ position:relative; }
.nav-links a.nav-link{
  display:flex; align-items:center; gap:4px;
  padding: 10px 14px; border-radius: var(--radius-pill);
  font-weight:600; font-size:15px; color: var(--c-ink-soft);
}
.nav-links a.nav-link:hover, .nav-links a.nav-link.is-active{ color: var(--c-navy); background: var(--c-bg-soft); }
.has-dropdown .dropdown{
  position:absolute; top: calc(100% + 8px); left:0; min-width: 300px;
  background:#fff; border:1px solid var(--c-border); border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg); padding:10px; opacity:0; visibility:hidden; transform: translateY(6px);
  transition: all .18s ease;
}
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown{ opacity:1; visibility:visible; transform:translateY(0); }
.dropdown a{ display:flex; flex-direction:column; gap:2px; padding:10px 12px; border-radius:10px; }
.dropdown a:hover{ background: var(--c-bg-soft); }
.dropdown a strong{ font-size:14.5px; color:var(--c-navy); }
.dropdown a small{ font-size:12.5px; color: var(--c-muted); }

.nav-cta{ display:flex; align-items:center; gap:10px; }
.nav-toggle{ display:none; background:none; border:none; padding:8px; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after{
  content:""; display:block; width:22px; height:2px; background: var(--c-navy); position:relative; transition: all .2s;
}
.nav-toggle span::before{ position:absolute; top:-7px; }
.nav-toggle span::after{ position:absolute; top:7px; }

/* ---------- Hero ---------- */
.hero{
  position:relative; overflow:hidden;
  background: var(--gradient-brand);
  color:#fff;
  padding: 76px 0 96px;
}
.hero::before{
  content:""; position:absolute; inset:0;
  background-image: radial-gradient(circle at 12% 18%, rgba(255,255,255,.14), transparent 40%),
                     radial-gradient(circle at 92% 82%, rgba(16,196,243,.35), transparent 45%);
  pointer-events:none;
}
.hero-grid{ position:relative; display:grid; grid-template-columns: 1.1fr .9fr; gap:56px; align-items:center; }
.hero p.section-lede{ color: rgba(255,255,255,.85); }
.hero-actions{ display:flex; flex-wrap:wrap; gap:14px; margin-top:32px; }
.hero-trust{ display:flex; flex-wrap:wrap; gap:10px 22px; margin-top:36px; }
.hero-trust li{ display:flex; align-items:center; gap:8px; font-size:14px; color: rgba(255,255,255,.88); font-weight:600; }
.hero-trust li svg{ flex:none; }
.hero-card{
  position:relative; background: rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.25);
  border-radius: var(--radius-lg); padding: 28px; backdrop-filter: blur(6px);
}
.hero-card img{ border-radius: var(--radius-md); }
.hero-stats{ display:grid; grid-template-columns: repeat(3,1fr); gap:14px; margin-top:20px; }
.hero-stats div{ background: rgba(255,255,255,.1); border-radius: 14px; padding:14px 10px; text-align:center; }
.hero-stats strong{ display:block; font-size:22px; }
.hero-stats span{ font-size:12px; color: rgba(255,255,255,.78); }

/* ---------- Stat bar ---------- */
.statbar{ background: var(--c-navy); color:#fff; padding: 36px 0; }
.statbar .container{ display:grid; grid-template-columns: repeat(4,1fr); gap:24px; text-align:center; }
.statbar strong{ display:block; font-size: clamp(24px,3vw,34px); background: linear-gradient(90deg,#fff,var(--c-cyan)); -webkit-background-clip:text; background-clip:text; color:transparent; }
.statbar span{ font-size:13px; color: rgba(255,255,255,.75); }

/* ---------- Cards ---------- */
.grid{ display:grid; gap:24px; }
.grid-2{ grid-template-columns: repeat(2,1fr); }
.grid-3{ grid-template-columns: repeat(3,1fr); }
.grid-4{ grid-template-columns: repeat(4,1fr); }

.card{
  background:#fff; border:1px solid var(--c-border); border-radius: var(--radius-md);
  padding: 28px; box-shadow: var(--shadow-sm); transition: box-shadow .2s ease, transform .2s ease;
}
.card:hover{ box-shadow: var(--shadow-md); transform: translateY(-3px); }
.card .icon-badge{
  width:48px; height:48px; border-radius:14px; display:flex; align-items:center; justify-content:center;
  background: var(--gradient-soft); color: var(--c-blue); margin-bottom:16px;
}
.card h3{ font-size:18px; margin-bottom:8px; }
.card p{ color: var(--c-ink-soft); font-size:15px; }

/* ---------- Course cards ---------- */
.course-card{
  display:flex; flex-direction:column; background:#fff; border:1px solid var(--c-border);
  border-radius: var(--radius-lg); overflow:hidden; box-shadow: var(--shadow-sm); transition: box-shadow .2s ease, transform .2s ease;
}
.course-card:hover{ box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.course-card-top{ padding: 28px 28px 0; }
.course-tag{ display:inline-block; font-size:12px; font-weight:700; letter-spacing:.04em; text-transform:uppercase; color: var(--c-blue); background: rgba(0,67,199,.08); padding:5px 12px; border-radius: var(--radius-pill); margin-bottom:14px; }
.course-card h3{ font-size: 22px; margin-bottom:10px; }
.course-card p{ color: var(--c-ink-soft); }
.course-meta{ display:flex; flex-wrap:wrap; gap:10px 18px; margin:18px 0; padding: 16px 0; border-top:1px solid var(--c-border); border-bottom:1px solid var(--c-border); }
.course-meta div{ font-size:13px; color: var(--c-ink-soft); display:flex; align-items:center; gap:6px; }
.course-meta strong{ color: var(--c-navy); }
.course-card-actions{ display:flex; gap:12px; padding: 22px 28px 28px; margin-top:auto; }

/* ---------- Level track (3 cấp độ) ---------- */
.level-track{ display:grid; grid-template-columns: repeat(3, 1fr); gap:20px; align-items:stretch; }
.level-card{
  position:relative; display:flex; flex-direction:column; gap:14px; background:#fff;
  border:1px solid var(--c-border); border-radius: var(--radius-lg); padding:30px 26px;
  box-shadow: var(--shadow-sm); transition: box-shadow .2s ease, transform .2s ease;
}
.level-card:hover{ box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.level-card:not(:last-child)::after{
  content:"→"; position:absolute; top:38px; right:-30px; width:24px; height:24px;
  color: var(--c-blue); font-size:20px; font-weight:800; line-height:1;
  display:flex; align-items:center; justify-content:center;
}
.level-card__art{
  width:72px; height:72px; border-radius:20px; background: var(--gradient-soft);
  color: var(--c-blue); display:flex; align-items:center; justify-content:center;
}
.level-card__art svg{ width:36px; height:36px; }
.level-card__tag{ font-size:12px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; color: var(--c-blue); }
.level-card h3{ font-size:19px; }
.level-card__lede{ color: var(--c-ink-soft); font-size:14.5px; }
.level-card__points{ display:flex; flex-direction:column; gap:9px; margin-top:auto; padding-top:14px; border-top:1px solid var(--c-border); }
.level-card__points li{ display:flex; gap:8px; align-items:flex-start; font-size:13.5px; color: var(--c-ink-soft); }
.level-card__points li svg{ flex:none; margin-top:2px; color: var(--c-success); }

/* ---------- Curriculum table ---------- */
.curriculum{ display:flex; flex-direction:column; gap:14px; }
.curriculum-row{
  display:grid; grid-template-columns: 72px 1.6fr 1fr; gap:20px; align-items:center;
  background:#fff; border:1px solid var(--c-border); border-radius: var(--radius-md); padding:20px 22px;
}
.curriculum-session{
  width:48px; height:48px; border-radius:12px; background: var(--c-bg-soft); color: var(--c-blue);
  display:flex; align-items:center; justify-content:center; font-weight:800; font-size: 15px; text-align:center;
}
.curriculum-row h4{ font-size:16px; margin-bottom:4px; color: var(--c-navy); }
.curriculum-row p{ font-size:14px; color: var(--c-ink-soft); }
.curriculum-output{ font-size:13px; color: var(--c-blue); font-weight:700; background: rgba(0,67,199,.06); padding:10px 14px; border-radius:10px; }

/* ---------- Checklist ---------- */
.checklist{ display:flex; flex-direction:column; gap:14px; }
.checklist li{ display:flex; gap:12px; align-items:flex-start; font-size:15.5px; color: var(--c-ink-soft); }
.checklist li svg{ flex:none; color: var(--c-success); margin-top:2px; }

/* ---------- Info table ---------- */
.info-table{ width:100%; border-collapse:collapse; background:#fff; border:1px solid var(--c-border); border-radius: var(--radius-md); overflow:hidden; }
.info-table tr:not(:last-child) td{ border-bottom:1px solid var(--c-border); }
.info-table td{ padding:16px 20px; font-size:15px; }
.info-table td:first-child{ width:220px; font-weight:700; color: var(--c-navy); background: var(--c-bg-soft); }
.info-table td:last-child{ color: var(--c-ink-soft); }

/* ---------- FAQ ---------- */
.faq{ display:flex; flex-direction:column; gap:12px; }
.faq-item{ background:#fff; border:1px solid var(--c-border); border-radius: var(--radius-md); overflow:hidden; }
.faq-q{
  width:100%; display:flex; justify-content:space-between; align-items:center; gap:16px;
  background:none; border:none; padding:20px 22px; text-align:left; font-weight:700; font-size:16px; color: var(--c-navy);
}
.faq-q .plus{ flex:none; width:22px; height:22px; position:relative; }
.faq-q .plus::before, .faq-q .plus::after{ content:""; position:absolute; background: var(--c-blue); border-radius:2px; transition: transform .2s ease; }
.faq-q .plus::before{ width:100%; height:2px; top:10px; left:0; }
.faq-q .plus::after{ width:2px; height:100%; left:10px; top:0; }
.faq-item.is-open .faq-q .plus::after{ transform: rotate(90deg); opacity:0; }
.faq-a{ max-height:0; overflow:hidden; transition: max-height .25s ease; }
.faq-a-inner{ padding: 0 22px 20px; color: var(--c-ink-soft); font-size:15px; }

/* ---------- CTA band ---------- */
.cta-band{
  background: var(--gradient-brand); color:#fff; border-radius: var(--radius-lg);
  padding: 56px; display:flex; align-items:center; justify-content:space-between; gap:32px; flex-wrap:wrap;
}
.cta-band h2{ font-size: clamp(24px,3vw,32px); max-width:520px; }
.cta-band p{ color: rgba(255,255,255,.82); margin-top:10px; }

/* ---------- Footer ---------- */
.site-footer{ background: var(--c-navy); color: rgba(255,255,255,.82); padding: 64px 0 28px; }
.footer-grid{ display:grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap:40px; }
.footer-brand img{ height:38px; margin-bottom:14px; }
.footer-brand p{ font-size:14px; color: rgba(255,255,255,.65); max-width:280px; }
.footer-col h4{ font-size:14px; color:#fff; margin-bottom:16px; text-transform:uppercase; letter-spacing:.04em; }
.footer-col ul{ display:flex; flex-direction:column; gap:10px; }
.footer-col a{ font-size:14.5px; color: rgba(255,255,255,.7); }
.footer-col a:hover{ color:#fff; }
.footer-bottom{ margin-top:48px; padding-top:24px; border-top:1px solid rgba(255,255,255,.12); display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px; font-size:13px; color: rgba(255,255,255,.55); }

/* ---------- Modal / registration form ---------- */
.modal-overlay{
  position:fixed; inset:0; background: rgba(5,12,35,.55); backdrop-filter: blur(3px);
  display:flex; align-items:center; justify-content:center; padding:20px; z-index:100;
  opacity:0; visibility:hidden; transition: opacity .2s ease;
}
.modal-overlay.is-open{ opacity:1; visibility:visible; }
.modal{
  background:#fff; border-radius: var(--radius-lg); max-width:520px; width:100%;
  max-height: 90vh; overflow-y:auto; padding: 32px; position:relative; box-shadow: var(--shadow-lg);
  transform: translateY(12px); transition: transform .2s ease;
}
.modal-overlay.is-open .modal{ transform:translateY(0); }
.modal-close{ position:absolute; top:18px; right:18px; background: var(--c-bg-soft); border:none; width:34px; height:34px; border-radius:50%; font-size:18px; color: var(--c-ink-soft); }
.modal h3{ font-size:22px; margin-bottom:6px; }
.modal .modal-sub{ color: var(--c-ink-soft); font-size:14.5px; margin-bottom:22px; }

.form-field{ margin-bottom:16px; }
.form-field label{ display:block; font-size:13.5px; font-weight:700; color: var(--c-navy); margin-bottom:6px; }
.form-field input, .form-field select, .form-field textarea{
  width:100%; padding:12px 14px; border-radius:10px; border:1px solid var(--c-border);
  font-family:inherit; font-size:15px; background: var(--c-bg-soft); transition: border-color .18s;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus{ outline:none; border-color: var(--c-blue); background:#fff; }
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.form-note{ font-size:12.5px; color: var(--c-muted); margin-top:14px; }
.form-status{ margin-top:14px; font-size:14px; font-weight:600; padding:12px 14px; border-radius:10px; display:none; }
.form-status.is-success{ display:block; background: rgba(15,169,104,.1); color: var(--c-success); }
.form-status.is-error{ display:block; background: rgba(199,89,11,.1); color: var(--c-warn); }
.form-status.is-loading{ display:block; background: var(--c-bg-soft); color: var(--c-ink-soft); }

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta{
  position:fixed; left:0; right:0; bottom:0; z-index:70; background:#fff; border-top:1px solid var(--c-border);
  padding:12px 16px; box-shadow: 0 -8px 24px rgba(5,20,60,.08); display:none;
}

/* ---------- Breadcrumb ---------- */
.breadcrumb{ display:flex; flex-wrap:wrap; gap:6px; font-size:13.5px; color: rgba(255,255,255,.75); margin-bottom:18px; }
.breadcrumb a{ color: rgba(255,255,255,.75); }
.breadcrumb a:hover{ color:#fff; }

/* ---------- Utility ---------- */
.text-center{ text-align:center; }
.mt-8{ margin-top:8px; } .mt-16{ margin-top:16px; } .mt-24{ margin-top:24px; } .mt-32{ margin-top:32px; } .mt-48{ margin-top:48px; }
.badge-outline{ display:inline-flex; align-items:center; gap:6px; font-size:12.5px; font-weight:700; padding:6px 12px; border-radius: var(--radius-pill); border:1px solid var(--c-border); color: var(--c-ink-soft); }
.divider{ height:1px; background: var(--c-border); margin: 40px 0; }
.two-col{ display:grid; grid-template-columns: 1.1fr .9fr; gap:56px; align-items:start; }
.placeholder-block{ border:1.5px dashed var(--c-border); background: var(--c-bg-soft); border-radius: var(--radius-md); padding:22px; font-size:14px; color: var(--c-muted); }
.placeholder-block strong{ color: var(--c-ink-soft); display:block; margin-bottom:4px; }

/* ---------- Brand mark — mọi chỗ hiển thị chữ "Ai4w" dùng màu logo ---------- */
.brand-mark{
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 800;
  white-space: nowrap;
}
/* Trên nền tối (hero, footer, cta-band) gradient navy sẽ chìm vào nền — dùng cyan đặc để vẫn nổi bật và giữ đúng tông màu logo */
.brand-mark--onDark{
  color: var(--c-cyan-2);
  font-weight: 800;
  white-space: nowrap;
}

/* ---------- Callout quote (điểm nhấn trong khối văn bản) ---------- */
.callout-quote{
  position:relative; margin-top:22px; padding:18px 22px 18px 26px;
  background: var(--gradient-soft); border-radius: 4px var(--radius-md) var(--radius-md) 4px;
  font-size:16.5px; color: var(--c-navy); font-weight:600; line-height:1.55;
}
.callout-quote::before{
  content:""; position:absolute; left:0; top:0; bottom:0; width:4px;
  background: var(--gradient-brand); border-radius:4px 0 0 4px;
}

/* ---------- Chart card (minh hoạ trực quan) ---------- */
.chart-card{
  background:#fff; border:1px solid var(--c-border); border-radius: var(--radius-lg);
  padding:22px 24px; box-shadow: var(--shadow-sm);
}
.chart-card h4{ font-size:13.5px; font-weight:800; color:var(--c-navy); margin-bottom:2px; }
.chart-card .chart-sub{ font-size:12.5px; color:var(--c-muted); margin-bottom:6px; }
.chart-legend{ display:flex; gap:18px; margin-top:10px; flex-wrap:wrap; }
.chart-legend span{ display:flex; align-items:center; gap:6px; font-size:12px; font-weight:600; color:var(--c-ink-soft); }
.chart-legend i{ width:14px; height:3px; border-radius:2px; display:inline-block; }

/* ---------- Quote bubble grid (thay danh sách phẳng) ---------- */
.quote-grid{ display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-top:16px; }
.quote-bubble{
  background:#fff; border:1px solid var(--c-border); border-radius: var(--radius-md);
  padding:16px; font-size:13.5px; color:var(--c-ink-soft); line-height:1.5;
  transition: transform .2s ease, box-shadow .2s ease;
}
.quote-bubble:hover{ transform: translateY(-3px); box-shadow: var(--shadow-md); }
.quote-bubble .quote-icon{
  width:30px; height:30px; border-radius:9px; background: var(--gradient-soft); color: var(--c-blue);
  display:flex; align-items:center; justify-content:center; margin-bottom:10px;
}

/* ---------- Vertical timeline (ví dụ: "Ai4w đồng hành cùng bạn") ---------- */
.vtimeline{ position:relative; max-width:760px; margin:0 auto; }
.vtimeline::before{
  content:""; position:absolute; left:27px; top:30px; bottom:30px; width:2px;
  background: linear-gradient(var(--c-border), var(--c-border));
}
.vtimeline-item{
  position:relative; display:flex; gap:24px; padding-bottom:44px;
}
.vtimeline-item:last-child{ padding-bottom:0; }
.vtimeline-node{
  position:relative; z-index:1; flex:none; width:56px; height:56px; border-radius:50%;
  background: var(--gradient-brand); color:#fff; display:flex; align-items:center; justify-content:center;
  box-shadow: var(--shadow-md);
}
.vtimeline-content{ padding-top:8px; }
.vtimeline-step{
  display:inline-block; font-size:12px; font-weight:800; letter-spacing:.08em; text-transform:uppercase;
  color: var(--c-blue); margin-bottom:6px;
}
.vtimeline-content h3{ font-size:19px; margin-bottom:6px; }
.vtimeline-content p{ color: var(--c-ink-soft); max-width:520px; }

/* ---------- Horizontal timeline (ví dụ: "Quy trình đơn giản") ---------- */
.htimeline{ display:flex; position:relative; align-items:flex-start; }
.htimeline::before{
  content:""; position:absolute; top:27px; left:calc(100% / 8); right:calc(100% / 8); height:2px;
  background: var(--c-border); z-index:0;
}
.htimeline-item{
  position:relative; z-index:1; flex:1; display:flex; flex-direction:column; align-items:center;
  text-align:center; padding:0 14px;
}
.htimeline-node{
  width:56px; height:56px; border-radius:50%; flex:none; margin-bottom:18px;
  background: var(--gradient-brand); color:#fff; font-weight:800; font-size:20px;
  display:flex; align-items:center; justify-content:center; box-shadow: var(--shadow-md);
}
.htimeline-step{
  display:block; font-size:12px; font-weight:800; letter-spacing:.08em; text-transform:uppercase;
  color: var(--c-blue); margin-bottom:6px;
}
.htimeline-item h3{ font-size:17px; margin-bottom:8px; }
.htimeline-item p{ font-size:14px; color: var(--c-ink-soft); }

/* ---------- Why Ai4w — bento showcase ---------- */
.why-bento{
  display:grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 210px;
  gap:20px;
}
.why-item{
  position:relative; overflow:hidden; isolation:isolate;
  border-radius: var(--radius-lg);
  padding:28px;
  display:flex; flex-direction:column; justify-content:flex-end;
  color:#fff;
  transition: transform .35s ease, box-shadow .35s ease;
}
.why-item:hover{ transform: translateY(-6px) rotate(-.25deg); box-shadow: 0 24px 56px rgba(5,20,60,.28); }
.why-item::before{
  content:""; position:absolute; top:-30%; right:-15%; width:280px; height:280px;
  background: radial-gradient(circle, rgba(255,255,255,.22), transparent 70%);
  border-radius:50%; z-index:-1; transition: transform .5s ease;
  pointer-events:none;
}
.why-item:hover::before{ transform: scale(1.2) translate(-10px,10px); }
.why-badge-num{
  position:absolute; top:22px; right:26px; font-size:12.5px; font-weight:800;
  letter-spacing:.08em; color: rgba(255,255,255,.6);
}
.why-item h3{ font-size:20px; margin-bottom:8px; color:#fff; position:relative; z-index:1; }
.why-item p{ font-size:14.5px; color: rgba(255,255,255,.85); max-width:360px; position:relative; z-index:1; }
.why-illustration{ position:absolute; opacity:.95; pointer-events:none; }

.why-item--feature{ grid-column: 1 / 3; grid-row: 1 / 3; background: var(--gradient-brand); }
.why-item--wide{ grid-column: 3 / 7; grid-row: 1 / 2; background: linear-gradient(120deg, #0b5fef, #10c4f3); }
.why-item--b{ grid-column: 3 / 5; grid-row: 2 / 3; background: linear-gradient(135deg, #08237a, #0043c7); }
.why-item--c{ grid-column: 5 / 7; grid-row: 2 / 3; background: linear-gradient(135deg, #051c61, #0b5fef); }

.why-item--feature .why-illustration{ top:26px; left:26px; width:132px; }
.why-item--wide .why-illustration{ top:8px; right:22px; width:190px; }
.why-item--b .why-illustration, .why-item--c .why-illustration{ top:18px; right:18px; width:88px; }

.why-stat{ position:relative; z-index:1; font-size:15px; font-weight:700; color: rgba(255,255,255,.75); margin-bottom:6px; letter-spacing:.03em; }
.why-stat strong{ display:block; font-size:38px; font-weight:800; letter-spacing:-.02em; color:#fff; line-height:1; margin-bottom:4px; }

/* Reveal-on-scroll */
.reveal{ opacity:0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible{ opacity:1; transform:none; }

/* ---------- Print (Hồ sơ năng lực) ---------- */
@media print{
  .site-header, .site-footer, .sticky-cta, .modal-overlay, .no-print{ display:none !important; }
  body{ font-size:12.5pt; }
  .hero{ background: var(--c-navy) !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px){
  .hero-grid, .two-col{ grid-template-columns: 1fr; }
  .grid-4{ grid-template-columns: repeat(2,1fr); }
  .grid-3{ grid-template-columns: repeat(2,1fr); }
  .grid-2{ grid-template-columns: 1fr; }
  .statbar .container{ grid-template-columns: repeat(2,1fr); gap:28px; }
  .footer-grid{ grid-template-columns: 1fr 1fr; }
  .why-bento{ grid-template-columns: repeat(2,1fr); grid-auto-rows:auto; }
  .why-item--feature, .why-item--wide, .why-item--b, .why-item--c{ grid-column: span 2; grid-row:auto; min-height:230px; }
  .htimeline-node{ width:48px; height:48px; font-size:17px; margin-bottom:14px; }
  .htimeline::before{ top:23px; }
  .level-track{ grid-template-columns: 1fr; gap:16px; }
  .level-card:not(:last-child)::after{ content:"↓"; top:auto; right:auto; left:32px; bottom:-24px; }
}
@media (max-width: 760px){
  .nav-links, .nav-cta .btn-outline{ display:none; }
  .nav-toggle{ display:block; }
  .nav.is-open .nav-links{
    display:flex; flex-direction:column; position:absolute; left:0; right:0; top:100%;
    background:#fff; border-bottom:1px solid var(--c-border); padding:14px; gap:4px; box-shadow: var(--shadow-md);
  }
  .nav.is-open .has-dropdown .dropdown{ position:static; opacity:1; visibility:visible; transform:none; box-shadow:none; border:none; display:none; margin-top:4px; }
  .nav.is-open .has-dropdown.is-expanded .dropdown{ display:flex; flex-direction:column; }
  .section{ padding: 56px 0; }
  .grid-4, .grid-3{ grid-template-columns: 1fr; }
  .curriculum-row{ grid-template-columns: 1fr; text-align:left; }
  .cta-band{ padding:32px; flex-direction:column; text-align:center; align-items:center; }
  .footer-grid{ grid-template-columns: 1fr; gap:28px; }
  .form-row{ grid-template-columns: 1fr; }
  .sticky-cta{ display:block; }
  .course-card-actions{ flex-direction:column; }
  .why-item{ min-height:200px; padding:24px; }
  .why-item--feature .why-illustration{ width:96px; }
  .why-item--wide .why-illustration{ width:140px; }
  .why-item--b .why-illustration, .why-item--c .why-illustration{ width:68px; }
  .vtimeline::before{ left:21px; }
  .vtimeline-item{ gap:16px; padding-bottom:32px; }
  .vtimeline-node{ width:44px; height:44px; }
  .htimeline{ flex-direction:column; gap:28px; }
  .htimeline::before{ display:none; }
  .htimeline-item{ flex-direction:row; text-align:left; align-items:flex-start; padding:0; gap:16px; }
  .htimeline-node{ margin-bottom:0; }
  h2.section-title{ white-space: normal; font-size: clamp(24px, 6.5vw, 30px); }
  .quote-grid{ grid-template-columns: 1fr; }
}
