/* ViAI Coaching landing — styles. Biến màu/font/radius lấy từ tokens.css */

:root {
  --viai-danger: #C8372D;
  --gutter: clamp(16px, 4vw, 32px);
  --section-y: clamp(44px, 6vw, 80px);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--viai-font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--viai-body);
  background: var(--viai-surface);
  -webkit-font-smoothing: antialiased;
  /* Phần tử đang chờ hiện dần (dịch ngang 40px) không được tạo thanh cuộn ngang; clip không làm hỏng sticky header */
  overflow-x: clip;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }

:focus-visible { outline: 3px solid var(--viai-blue-700); outline-offset: 2px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 16px; top: -48px; z-index: 100;
  padding: 10px 16px; background: var(--viai-blue-800); color: #fff; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: calc(var(--viai-container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(800px + var(--gutter) * 2); }

.accent { color: var(--viai-orange-500); }

/* ---------- Icon ---------- */
.ic {
  width: 1.25em; height: 1.25em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 20px;
  border: 1.5px solid transparent; border-radius: var(--viai-radius-sm);
  font-weight: 700; font-size: 15px; line-height: 1.3; text-align: center; cursor: pointer;
  transition: background-color .15s, box-shadow .15s, transform .15s, border-color .15s;
}
.btn--primary { background: var(--viai-orange-500); color: #fff; box-shadow: 0 8px 20px rgba(255, 106, 27, .28); }
.btn--primary:hover { background: var(--viai-orange-600); transform: translateY(-1px); }
.btn--primary:active { transform: translateY(0); }
.btn--outline { background: #fff; color: var(--viai-blue-800); border-color: #B9CCF5; box-shadow: 0 6px 16px rgba(23, 71, 212, .08); }
.btn--outline:hover { border-color: var(--viai-blue-700); background: var(--viai-blue-050); }
.btn--sm { min-height: 38px; padding: 8px 16px; font-size: 13px; }
.btn--lg { min-height: 48px; padding: 12px 24px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .7; cursor: progress; transform: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: linear-gradient(90deg, rgba(255,255,255,.97) 0%, rgba(236,243,255,.95) 50%, rgba(255,255,255,.97) 100%);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(23, 71, 212, .10);
}
.site-header__inner { display: flex; align-items: center; gap: 32px; min-height: var(--header-h); }

/* Nền lấp lánh / phát sáng: chỉ CSS, nằm dưới nội dung (z-index -1) và không dùng overflow để menu mobile không bị cắt */
.site-header::before,
.site-header__fx,
.site-header__fx::before,
.site-header__fx::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.site-header__fx { content: none; }
.site-header::before {
  background:
    radial-gradient(280px 110px at 6% 0%, rgba(36, 89, 228, .16), transparent 70%),
    radial-gradient(420px 90px at 50% 0%, rgba(36, 89, 228, .07), transparent 70%),
    radial-gradient(300px 120px at 94% 100%, rgba(255, 106, 27, .16), transparent 70%);
  animation: fx-glow 5s ease-in-out infinite;
}
.site-header__fx::before {
  background:
    radial-gradient(circle at 4% 34%, rgba(36, 89, 228, .75) 0 2px, transparent 3.6px),
    radial-gradient(circle at 15% 72%, rgba(255, 106, 27, .8) 0 1.8px, transparent 3.2px),
    radial-gradient(circle at 27% 26%, rgba(36, 89, 228, .6) 0 1.6px, transparent 3px),
    radial-gradient(circle at 41% 80%, rgba(36, 89, 228, .7) 0 2px, transparent 3.4px),
    radial-gradient(circle at 58% 22%, rgba(255, 106, 27, .75) 0 1.8px, transparent 3.2px),
    radial-gradient(circle at 73% 70%, rgba(36, 89, 228, .65) 0 1.8px, transparent 3.2px),
    radial-gradient(circle at 88% 30%, rgba(36, 89, 228, .75) 0 2px, transparent 3.6px),
    radial-gradient(circle at 96% 78%, rgba(255, 106, 27, .8) 0 1.8px, transparent 3.2px);
  animation: fx-twinkle 3.2s ease-in-out infinite;
}
.site-header__fx::after {
  background:
    radial-gradient(circle at 9% 62%, rgba(255, 106, 27, .8) 0 1.8px, transparent 3.2px),
    radial-gradient(circle at 21% 18%, rgba(36, 89, 228, .7) 0 2px, transparent 3.4px),
    radial-gradient(circle at 34% 58%, rgba(36, 89, 228, .6) 0 1.6px, transparent 3px),
    radial-gradient(circle at 49% 30%, rgba(36, 89, 228, .75) 0 2px, transparent 3.6px),
    radial-gradient(circle at 64% 76%, rgba(255, 106, 27, .75) 0 1.8px, transparent 3.2px),
    radial-gradient(circle at 80% 24%, rgba(255, 106, 27, .7) 0 1.6px, transparent 3px),
    radial-gradient(circle at 92% 56%, rgba(36, 89, 228, .7) 0 2px, transparent 3.4px);
  animation: fx-twinkle 4.6s ease-in-out -1.6s infinite;
}
/* Đường glow chạy dọc đáy header */
.site-header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; pointer-events: none;
  background: linear-gradient(90deg, transparent 0%, #2459E4 35%, #FF6A1B 65%, transparent 100%) no-repeat;
  background-size: 34% 100%;
  filter: drop-shadow(0 0 4px rgba(36, 89, 228, .65));
  animation: fx-sweep 7s linear infinite;
}
@keyframes fx-twinkle { 0%, 100% { opacity: .2; } 50% { opacity: 1; } }
@keyframes fx-glow { 0%, 100% { opacity: .6; } 50% { opacity: 1; } }
@keyframes fx-sweep { 0% { background-position: -40% 0; } 100% { background-position: 140% 0; } }

.logo { display: inline-flex; align-items: center; flex: none; }
.logo img { height: 44px; width: auto; }

.nav { display: flex; align-items: center; gap: 32px; margin-left: 8px; flex: 1; }
.nav a:not(.btn) { font-size: 15px; font-weight: 600; color: var(--viai-blue-800); padding: 8px 0; transition: color .15s; }
.nav a:not(.btn):hover { color: var(--viai-orange-500); }
.nav__cta { display: none; }
.header__cta { box-shadow: 0 8px 22px rgba(255, 106, 27, .38), 0 0 0 4px rgba(255, 106, 27, .08); }

.nav-toggle {
  display: none; width: 44px; height: 44px; margin-left: auto;
  align-items: center; justify-content: center;
  background: #fff; border: 1px solid var(--viai-border); border-radius: var(--viai-radius-sm);
  color: var(--viai-blue-900); cursor: pointer; font-size: 20px;
}
.nav-toggle .ic--close { display: none; }
.nav-toggle[aria-expanded="true"] .ic--open { display: none; }
.nav-toggle[aria-expanded="true"] .ic--close { display: block; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: #fff; }
.hero__main { position: relative; overflow: hidden; min-height: 540px; display: flex; }
.hero__inner { position: relative; z-index: 2; display: flex; align-items: center; padding-block: 56px; }
.hero__content { max-width: 560px; }

.hero h1 {
  font-size: clamp(1.875rem, 1rem + 2.7vw, 2.75rem); text-wrap: balance;
  line-height: 1.14; letter-spacing: -0.02em; font-weight: 800; color: var(--viai-blue-900);
}
.hero__eyebrow { margin-bottom: 16px; }
.hero__lead { margin-top: 20px; font-size: clamp(1rem, .9rem + .4vw, 1.125rem); color: var(--viai-ink); max-width: 520px; }
.hero__note { margin-top: 18px; font-size: 13.5px; line-height: 1.5; color: var(--viai-muted); }
.hero__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 28px; }
.hero__actions .btn { min-width: 300px; }

/* Ảnh coaching nằm bên phải, Agent + sơ đồ hiện trọn; chỉ mép trái mờ dần vào nền trắng để chữ dễ đọc */
.hero__visual { position: absolute; inset: 0; z-index: 1; }
.hero__bg { position: absolute; top: 0; right: 0; bottom: 0; width: clamp(520px, 62%, 1100px); overflow: hidden; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%; }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,.9) 8%, rgba(255,255,255,.55) 16%, rgba(255,255,255,0) 28%); }

.principles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding-block: 28px 8px; }
.principles li { display: flex; align-items: center; gap: 12px; }
.principles__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--viai-blue-100); color: var(--viai-blue-800); font-size: 20px; flex: none; }
.principles strong { display: block; font-size: 14px; font-weight: 700; color: var(--viai-blue-900); line-height: 1.3; }
.principles span:not(.principles__icon) { display: block; font-size: 12.5px; color: var(--viai-muted); line-height: 1.4; }

/* ---------- Section chung ---------- */
.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(28px, 4vw, 44px); }
.section--soft { background: var(--viai-blue-050); }
.section--soft + .section--soft { padding-top: 0; }
.section__head { text-align: center; margin-bottom: clamp(24px, 3.5vw, 40px); }
.section__head h2, .audience h2, .cta h2, .cost h2 {
  font-size: clamp(1.5rem, 1rem + 1.7vw, 2.25rem); line-height: 1.22; letter-spacing: -0.015em; font-weight: 800; color: var(--viai-blue-900);
}
.section__sub { margin: 14px auto 0; max-width: 760px; font-size: 16px; color: #6B7A99; }
.section__sub--small { font-size: 15px; }

/* Tiêu đề section theo mẫu: chữ HOA, hai tông xanh + cam (gỡ text-transform nếu muốn về chữ thường) */
.section__head h2 {
  font-size: clamp(1.375rem, 1rem + 1.5vw, 2rem); line-height: 1.25; letter-spacing: .005em; font-weight: 800;
  text-transform: uppercase; text-wrap: balance;
}
.section__head h2 .accent { color: var(--viai-orange-500); }
.section__head .eyebrow {
  padding: 6px 14px 6px 10px; margin-bottom: 14px;
  background: #fff; border: 1px solid var(--viai-border); border-radius: var(--viai-radius-pill); box-shadow: 0 4px 12px rgba(31, 67, 145, .07);
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 12px;
  font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--viai-orange-500);
}
.eyebrow::before {
  content: ""; width: 16px; height: 16px; border-radius: 50%; flex: none;
  background: radial-gradient(circle, var(--viai-orange-500) 0 3px, transparent 3.5px), var(--viai-orange-100);
  box-shadow: inset 0 0 0 1.5px var(--viai-orange-500);
}
.eyebrow--light { color: #FFB48A; }
.eyebrow--light::before { background: radial-gradient(circle, #FFB48A 0 3px, transparent 3.5px), transparent; box-shadow: inset 0 0 0 1.5px #FFB48A; }

.card-base, .pain-card, .output-card, .step__card, .deliver-grid li, .faq__item, .form {
  background: #fff; border: 1px solid var(--viai-border); border-radius: var(--viai-radius-md); box-shadow: var(--viai-shadow-card);
}

/* ---------- Nỗi đau (đỏ san hô chỉ dành cho vấn đề, điểm nghẽn, cảnh báo) ---------- */
.section--pain { background: linear-gradient(180deg, var(--viai-pain-bg) 0%, #fff 100%); }
.eyebrow--alert { color: var(--viai-pain-red-ink); }
.eyebrow--alert::before { display: none; }
.eyebrow--alert .ic { font-size: 16px; color: var(--viai-pain-red); }
.section__head .eyebrow--alert { border-color: var(--viai-pain-border); box-shadow: 0 4px 12px rgba(233, 56, 77, .10); }
.section__head h2 .accent--alert { color: var(--viai-pain-red); }

.pain-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.pain-card {
  display: grid; grid-template-columns: minmax(0, 42%) minmax(0, 1fr); overflow: hidden;
  border: 1px solid var(--viai-pain-border); border-left: 4px solid var(--viai-pain-red); border-radius: var(--viai-radius-md);
  box-shadow: 0 12px 30px rgba(233, 56, 77, .08);
}
.pain-card__media { position: relative; min-height: 100%; margin: 0; overflow: hidden; }
.pain-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.pain-card__body { display: flex; flex-direction: column; gap: 10px; padding: 18px 20px; }
.pain-card__head { display: flex; align-items: center; gap: 12px; }
.pain-card__num {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; flex: none;
  font-size: 13px; font-weight: 800; color: #fff; background: var(--viai-pain-red); box-shadow: 0 6px 14px rgba(233, 56, 77, .3);
}
.pain-card h3 { font-size: 18px; line-height: 1.3; font-weight: 700; color: var(--viai-blue-900); }
.pain-card p { font-size: 14px; line-height: 1.55; color: var(--viai-body); }
.pain-card__cost { margin-top: auto; padding: 10px 12px; background: var(--viai-pain-bg); border: 1px solid var(--viai-pain-border); border-radius: 10px; }
.pain-card__cost span { display: block; font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--viai-pain-red-ink); }
.pain-card__cost strong { display: block; margin-top: 2px; font-size: 14px; font-weight: 600; line-height: 1.4; color: var(--viai-ink); }

.bridge { max-width: 720px; margin: 28px auto 0; text-align: center; font-size: 15.5px; font-weight: 500; line-height: 1.65; color: var(--viai-ink); }

/* ---------- Khoảng cách từ biết đến làm: banner, chữ + chuỗi 4 bước bên trái, ảnh + checklist bên phải ---------- */
.gap-banner { position: relative; overflow: hidden; background: #fff; }
.gap-banner__visual { position: absolute; top: 0; right: 0; bottom: 0; width: clamp(460px, 58%, 980px); overflow: hidden; }
.gap-banner__visual img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 22%; }
@media (max-width: 1300px) { .gap-banner__visual img { object-position: 50% 22%; } }
.gap-banner__visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,.94) 10%, rgba(255,255,255,.6) 22%, rgba(255,255,255,0) 40%); }
.gap-banner__inner { display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; min-height: 480px; padding-block: 56px; }
.gap-banner__content { position: relative; z-index: 2; max-width: 660px; }
.gap-banner h2 { font-size: clamp(1.625rem, 1rem + 1.8vw, 2.375rem); line-height: 1.2; letter-spacing: -0.015em; font-weight: 800; color: var(--viai-blue-900); text-wrap: balance; }
.gap__text { margin-top: 14px; max-width: 520px; font-size: 16px; color: var(--viai-body); }

/* Chuỗi 4 bước */
.flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin-top: 28px; }
.flow__item { position: relative; display: flex; flex-direction: column; gap: 8px; }
.flow__box { display: flex; align-items: center; gap: 10px; min-height: 64px; padding: 10px 12px; background: #fff; border: 1px solid var(--viai-border); border-radius: 14px; box-shadow: var(--viai-shadow-card); }
.flow__icon { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 50%; font-size: 18px; color: var(--viai-blue-800); background: var(--viai-blue-100); }
.flow__box strong { font-size: 14px; line-height: 1.25; font-weight: 700; color: var(--viai-blue-950); }
.flow__note { font-size: 12.5px; line-height: 1.4; color: var(--viai-muted); }
.flow__item:not(:last-child)::after { content: ""; position: absolute; top: 28px; right: -19px; width: 8px; height: 8px; border-top: 2.5px solid var(--viai-blue-700); border-right: 2.5px solid var(--viai-blue-700); transform: rotate(45deg); }

/* Thẻ checklist nằm trên mép phải của ảnh */
.gap-checklist { position: absolute; z-index: 3; top: 50%; right: clamp(16px, 2.5vw, 48px); width: 270px; transform: translateY(-50%); padding: 14px; background: rgba(255, 255, 255, .97); border: 1px solid var(--viai-border); border-radius: 20px; box-shadow: var(--viai-shadow-float); }
.gap-checklist ul { display: grid; gap: 16px; }
.gap-checklist li { position: relative; display: flex; align-items: center; gap: 12px; padding: 10px 12px; font-size: 14px; font-weight: 700; line-height: 1.3; color: var(--viai-blue-950); background: var(--viai-surface-soft); border: 1px solid var(--viai-border); border-radius: 12px; }
.gap-checklist li:not(:last-child)::after { content: ""; position: absolute; left: 50%; top: calc(100% + 3px); width: 7px; height: 7px; border-right: 2px solid #7FA0EE; border-bottom: 2px solid #7FA0EE; transform: translateX(-50%) rotate(45deg); }
.gap-checklist__icon { display: grid; place-items: center; width: 32px; height: 32px; flex: none; border-radius: 50%; font-size: 16px; color: var(--viai-blue-800); background: var(--viai-blue-100); }
.gap-checklist__text { flex: 1; }
.gap-checklist__tick { display: grid; place-items: center; width: 22px; height: 22px; flex: none; border-radius: 50%; color: #fff; background: var(--viai-blue-700); }
.gap-checklist__tick .ic { font-size: 13px; stroke-width: 3; }

/* ---------- 5 điểm nghẽn: chuỗi bước, giữa các bước có điểm đứt (đường đỏ nét đứt + dấu "!") ---------- */
.bottleneck { --link: 40px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--link); }
.bottleneck__step {
  position: relative; display: flex; flex-direction: column; gap: 14px; padding: 16px 14px;
  background: #fff; border: 1px solid var(--viai-border); border-radius: var(--viai-radius-md); box-shadow: var(--viai-shadow-card);
  transition: transform .35s var(--ease-out), box-shadow .35s, border-color .35s;
}
.bottleneck__step:hover { transform: translateY(-5px); border-color: #BFD1F6; box-shadow: var(--viai-shadow-float); }
.bottleneck__head { display: flex; align-items: center; gap: 10px; min-height: 42px; }
.bottleneck__num { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; flex: none; font-size: 12.5px; font-weight: 800; color: #fff; background: var(--viai-blue-800); box-shadow: 0 6px 14px rgba(23, 71, 212, .28); }
.bottleneck__head h3 { font-size: 15.5px; line-height: 1.3; font-weight: 700; color: var(--viai-blue-900); }
/* Khung ảnh từng bước: ẩn khi chưa có ảnh */
.bottleneck__media { margin: 0; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 10px; background: var(--viai-blue-050); }
.bottleneck__media:empty { display: none; }
.bottleneck__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: transform .8s var(--ease-out); }
.bottleneck__step:hover .bottleneck__media img { transform: scale(1.05); }
.bottleneck__alert {
  display: flex; align-items: center; gap: 10px; margin-top: auto; padding: 10px 12px;
  font-size: 13px; line-height: 1.45; color: var(--viai-ink); background: var(--viai-pain-bg); border: 1px solid var(--viai-pain-border); border-radius: 10px;
}
.bottleneck__bang { display: grid; place-items: center; width: 26px; height: 26px; flex: none; border-radius: 50%; font-size: 14px; font-weight: 800; line-height: 1; color: #fff; background: var(--viai-pain-red); }

/* Điểm đứt giữa hai bước, căn giữa chiều cao thẻ */
.bottleneck__step:not(:last-child)::after {
  content: ""; position: absolute; left: 100%; top: 50%; width: var(--link); border-top: 2px dashed var(--viai-pain-red); transform: translateY(-1px);
}
.bottleneck__step:not(:last-child)::before {
  content: "!"; position: absolute; z-index: 2; left: calc(100% + var(--link) / 2); top: 50%; display: grid; place-items: center;
  width: 22px; height: 22px; border-radius: 50%; transform: translate(-50%, -50%);
  font-size: 13px; font-weight: 800; line-height: 1; color: #fff; background: var(--viai-pain-red); box-shadow: 0 0 0 4px var(--viai-blue-050), 0 6px 12px rgba(233, 56, 77, .35);
}

/* ---------- Chi phí trì hoãn ---------- */
.cost { padding-block: clamp(40px, 5.5vw, 68px); text-align: center; color: #fff; background: linear-gradient(100deg, #0F3BC4 0%, var(--viai-blue-800) 55%, #1E52E8 100%); }
.cost h2 { color: #fff; font-size: clamp(1.375rem, 1rem + 1.2vw, 1.875rem); max-width: 1000px; margin-inline: auto; text-wrap: balance; }
.cost__sub { max-width: 680px; margin: 12px auto 0; font-size: 16px; line-height: 1.6; color: rgba(255, 255, 255, .82); }
.cost__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 32px; text-align: left; }
.cost__grid li {
  display: flex; align-items: flex-start; gap: 14px; padding: 20px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); border-radius: 16px;
  backdrop-filter: blur(6px); transition: transform .3s var(--ease-out), background-color .3s, border-color .3s;
}
.cost__grid li:hover { transform: translateY(-4px); background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .32); }
.cost__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; font-size: 22px; flex: none; }
.cost__grid h3 { font-size: 16px; font-weight: 700; color: #fff; line-height: 1.3; }
.cost__grid p { margin-top: 6px; font-size: 13.5px; line-height: 1.5; color: rgba(255, 255, 255, .8); }
.cost__formula { margin-top: 28px; font-size: 15px; line-height: 1.6; color: rgba(255, 255, 255, .9); }
.cost__formula strong { color: #FFBE92; }
.cost__calc { max-width: 920px; margin: 18px auto 0; padding: 22px 24px; text-align: left; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22); border-radius: 20px; backdrop-filter: blur(8px); }
.cost__calc-title { margin-bottom: 14px; font-size: 15px; font-weight: 700; color: #fff; }
.cost__calc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.calc-field label { display: block; margin-bottom: 6px; font-size: 12.5px; font-weight: 600; color: rgba(255, 255, 255, .88); }
.calc-field input { width: 100%; min-height: 48px; padding: 11px 14px; font-size: 15px; color: var(--viai-ink); background: #fff; border: 1px solid transparent; border-radius: 12px; transition: box-shadow .2s; }
.calc-field input::placeholder { color: #8A99B5; }
.calc-field input:focus { outline: none; box-shadow: 0 0 0 3px rgba(255, 170, 120, .55); }
.cost__result { display: block; margin-top: 16px; padding: 14px 18px; font-size: 15px; font-weight: 600; line-height: 1.5; color: #fff; background: rgba(255, 255, 255, .08); border: 1px dashed rgba(255, 255, 255, .38); border-radius: 12px; transition: background-color .3s, border-color .3s; }
.cost__result.is-ready { background: rgba(255, 106, 27, .2); border: 1px solid rgba(255, 170, 120, .65); }
.cost__result b { font-size: 20px; font-weight: 800; color: #FFD2B3; }
.cost__note { margin-top: 10px; font-size: 12.5px; color: rgba(255, 255, 255, .72); }
.eyebrow--pill { margin-bottom: 16px; padding: 6px 14px 6px 10px; color: var(--viai-pain-red-ink); background: #fff; border-radius: var(--viai-radius-pill); box-shadow: 0 8px 18px rgba(5, 25, 100, .22); }
.eyebrow--pill::before { display: none; }
.eyebrow--pill .ic { font-size: 16px; color: var(--viai-pain-red); }

/* ---------- Trước/sau: hai lane song song, thẻ nhãn bên trái + chuỗi bước có ảnh bên phải ---------- */
.lanes { display: grid; gap: 20px; }
.lane { display: grid; grid-template-columns: minmax(0, 230px) minmax(0, 1fr); align-items: center; gap: 22px; padding: 14px; border: 1px solid; border-radius: 22px; box-shadow: var(--viai-shadow-card); }
.lane--before { --arrow: #98A3B8; --label-bg: #FFE4E4; background: linear-gradient(135deg, #FFF3F3, #fff 80%); border-color: var(--viai-pain-border); }
.lane--after { --arrow: var(--viai-blue-700); --label-bg: #DEE8FA; background: linear-gradient(135deg, #EEF4FF, #fff 80%); border-color: #CFE0FF; }

.lane__side { align-self: stretch; display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 20px 18px; border-radius: 16px; background: var(--label-bg); }
.lane__badge { display: grid; place-items: center; width: 52px; height: 52px; flex: none; overflow: hidden; border-radius: 50%; background: #fff; color: var(--viai-pain-red); font-size: 26px; box-shadow: 0 6px 16px rgba(233, 56, 77, .22); }
.lane__badge--agent { padding: 5px; box-shadow: 0 6px 16px rgba(23, 71, 212, .22); }
.lane__badge--agent img { width: 100%; height: 100%; object-fit: contain; }
.lane__title { font-size: 21px; line-height: 1.2; font-weight: 800; color: var(--viai-blue-900); }
.lane__desc { margin-top: 4px; font-size: 14px; line-height: 1.5; color: #4A5A7A; }

.lane__flow { --gap: 34px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
/* Cung đứt đỏ phía trên lane thủ công: nối tâm bước này tới tâm bước kia */
.lane__arcs { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); column-gap: var(--gap); height: 36px; }
.lane-arc { position: relative; margin-inline: calc((100% - var(--gap)) / 4); border: 2px dashed var(--viai-pain-red); border-bottom: 0; border-radius: 16px 16px 0 0; }
.lane-arc--1 { grid-column: 2 / span 2; }
.lane-arc--2 { grid-column: 4 / span 2; }
.lane-arc__label { position: absolute; left: 50%; top: -13px; padding: 3px 12px; transform: translateX(-50%); font-size: 12px; font-weight: 700; line-height: 1.4; white-space: nowrap; color: #fff; background: var(--viai-pain-red); border-radius: var(--viai-radius-pill); box-shadow: 0 6px 12px rgba(233, 56, 77, .3); }

.lane__steps { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); column-gap: var(--gap); }
.lane-step {
  position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--viai-border); border-radius: 14px; box-shadow: 0 8px 20px rgba(31, 67, 145, .07);
  transition: transform .3s var(--ease-out), box-shadow .3s;
}
.lane-step:hover { transform: translateY(-4px); box-shadow: var(--viai-shadow-card); }
.lane--before .lane-step { border-color: var(--viai-pain-border); }
/* Ảnh từng bước (ẩn khi để trống) */
.lane-step__media { margin: 0; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 13px 13px 0 0; background: var(--viai-blue-050); }
.lane-step__media:empty { display: none; }
.lane-step__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.lane-step:hover .lane-step__media img { transform: scale(1.06); }
.lane-step__foot { display: flex; align-items: center; gap: 10px; flex: 1; padding: 12px; }
.lane-step__icon { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 10px; font-size: 18px; color: var(--viai-blue-800); background: var(--viai-blue-100); }
.lane--before .lane-step__icon { color: var(--viai-pain-red); background: var(--viai-pain-bg); }
.lane-step__label { font-size: 13.5px; font-weight: 700; line-height: 1.3; color: var(--viai-blue-950); }
.lane--before .lane-step__label { color: #3F4B63; }
.lane-step--human { border-color: #FFD9C0; background: linear-gradient(180deg, #fff 45%, var(--viai-orange-100)); }
.lane-step--human .lane-step__icon { color: var(--viai-orange-600); background: var(--viai-orange-100); }

/* Hình minh họa vẽ bằng CSS cho bước chưa có ảnh (không chứa chữ hay số liệu) */
.lane-step__media--ui { display: grid; place-items: center; background: linear-gradient(135deg, var(--viai-blue-100), #F4F8FF); }
.mini-check { display: grid; gap: 8px; width: 64%; padding: 12px 14px; background: #fff; border-radius: 10px; box-shadow: 0 6px 16px rgba(31, 67, 145, .14); }
.mini-check i { position: relative; display: block; height: 9px; margin-left: 22px; border-radius: 5px; background: #DCE7FB; }
.mini-check i:nth-child(2) { width: 82%; }
.mini-check i:nth-child(3) { width: 66%; }
.mini-check i::before { content: ""; position: absolute; left: -22px; top: 50%; width: 14px; height: 14px; transform: translateY(-50%); border-radius: 4px; background: var(--viai-blue-700); }
.mini-check i::after { content: ""; position: absolute; left: -18px; top: 50%; width: 5px; height: 8px; transform: translateY(-62%) rotate(45deg); border: solid #fff; border-width: 0 2px 2px 0; }
.mini-doc { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 8px 12px; align-items: center; width: 68%; padding: 14px; background: #fff; border-radius: 10px; box-shadow: 0 6px 16px rgba(31, 67, 145, .14); }
.mini-doc b { position: relative; grid-row: 1 / span 2; width: 30px; height: 30px; border-radius: 50%; background: var(--viai-blue-700); }
.mini-doc b::after { content: ""; position: absolute; left: 11px; top: 7px; width: 6px; height: 11px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.mini-doc i { display: block; height: 8px; border-radius: 4px; background: #DCE7FB; }
.mini-doc i:first-of-type { width: 70%; background: #B9CCF5; }

/* Mũi tên nối giữa các bước (xám ở lane thủ công, xanh ở lane có Agent) */
.lane-step:not(:last-child)::after { content: ""; position: absolute; top: 50%; left: calc(100% + 4px); width: calc(var(--gap) - 14px); height: 2px; transform: translateY(-1px); background: var(--arrow); }
.lane-step:not(:last-child)::before { content: ""; position: absolute; top: 50%; left: calc(100% + var(--gap) - 10px); width: 0; height: 0; transform: translateY(-50%); border-left: 8px solid var(--arrow); border-top: 6px solid transparent; border-bottom: 6px solid transparent; }

.note-bar { display: flex; align-items: center; gap: 12px; margin-top: 24px; padding: 16px 20px; font-size: 15px; font-weight: 600; line-height: 1.5; color: var(--viai-blue-800); background: #EAF1FF; border: 1px solid #D5E2FA; border-radius: 14px; }
.note-bar .ic { color: var(--viai-orange-500); font-size: 20px; }

/* ---------- Ví dụ chạy được: đầu vào → Agent → đầu ra → người duyệt ---------- */
.proof { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; }
.proof-step {
  position: relative; display: flex; flex-direction: column; gap: 14px; padding: 16px;
  background: #fff; border: 1px solid var(--viai-border); border-radius: 18px; box-shadow: var(--viai-shadow-card);
  transition: transform .3s var(--ease-out), box-shadow .3s;
}
.proof-step:hover { transform: translateY(-5px); box-shadow: var(--viai-shadow-float); }
.proof-step__head { display: flex; align-items: center; gap: 12px; }
.proof-step__num { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; flex: none; font-size: 14px; font-weight: 800; color: var(--viai-blue-800); background: var(--viai-blue-100); border: 1px solid #D5E2FA; }
.proof-step__tag { display: block; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--viai-blue-800); }
.proof-step h3 { font-size: 16.5px; line-height: 1.3; font-weight: 700; color: var(--viai-blue-950); }
.proof-step__media { position: relative; margin: 0; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 12px; background: var(--viai-blue-050); }
.proof-step__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.proof-step:hover .proof-step__media img { transform: scale(1.04); }
.proof-step--human { border-color: #FFD9C0; background: linear-gradient(180deg, #fff 60%, var(--viai-orange-100)); }
.proof-step--human .proof-step__num { color: var(--viai-orange-600); background: var(--viai-orange-100); border-color: #FFD9C0; }
.proof-step--human .proof-step__tag { color: var(--viai-orange-600); }

/* Mũi tên nối giữa các bước */
.proof-step:not(:last-child)::after {
  content: ""; position: absolute; top: 50%; right: -34px; width: 26px; height: 3px; transform: translateY(-50%);
  background: repeating-linear-gradient(90deg, var(--viai-blue-700) 0 6px, transparent 6px 10px); animation: chain-march 1s linear infinite;
}
.proof-step:not(:last-child)::before {
  content: ""; position: absolute; top: 50%; right: -40px; width: 0; height: 0; transform: translateY(-50%);
  border-left: 9px solid var(--viai-blue-700); border-top: 6.5px solid transparent; border-bottom: 6.5px solid transparent;
}

.criteria-card {
  display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: center; gap: clamp(20px, 3vw, 36px);
  margin-top: 32px; padding: clamp(16px, 2.5vw, 24px); background: #fff; border: 1px solid var(--viai-border); border-radius: 24px; box-shadow: var(--viai-shadow-card);
}
.criteria-card__media { margin: 0; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 16px; }
.criteria-card__media img { width: 100%; height: 100%; object-fit: cover; }
.criteria__title { font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--viai-muted); }
.criteria { display: grid; gap: 12px; margin-top: 14px; }
.criteria li { padding: 16px 20px; background: #fff; border: 1px solid var(--viai-border); border-left: 3px solid var(--viai-orange-500); border-radius: 14px; transition: transform .3s var(--ease-out), box-shadow .3s; }
.criteria li:hover { transform: translateX(4px); box-shadow: var(--viai-shadow-card); }
.criteria h3 { font-size: 15.5px; line-height: 1.35; font-weight: 700; color: var(--viai-blue-900); }
.criteria p { margin-top: 6px; font-size: 13.5px; line-height: 1.55; color: var(--viai-body); }

/* ---------- Đầu ra: 3 ví dụ ---------- */
.output-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.output-card { display: flex; flex-direction: column; overflow: hidden; }
/* Khung ảnh ví dụ: ẩn khi chưa có ảnh */
.output-card__shot { position: relative; margin: 0; aspect-ratio: 16 / 9; overflow: hidden; background: var(--viai-blue-100); }
.output-card__shot:empty { display: none; }
.output-card__shot img { width: 100%; height: 100%; object-fit: cover; }
.tag-demo {
  position: absolute; right: 10px; bottom: 10px; padding: 5px 11px; font-size: 11.5px; font-weight: 700; line-height: 1.3;
  color: var(--viai-blue-800); background: #fff; border: 1px solid #C9D8F7; border-radius: var(--viai-radius-pill); box-shadow: 0 6px 14px rgba(31, 67, 145, .14);
}
.output-card__body { padding: 22px 22px 24px; }
.output-card__tag { display: inline-block; margin-bottom: 12px; padding: 3px 10px; font-size: 11.5px; font-weight: 800; color: var(--viai-blue-800); background: var(--viai-blue-100); border-radius: var(--viai-radius-pill); }
.output-card h3 { font-size: 18px; line-height: 1.35; font-weight: 700; color: var(--viai-blue-900); }
.output-card__body p { margin-top: 8px; font-size: 14.5px; line-height: 1.55; color: var(--viai-body); }

/* ---------- Lộ trình (timeline) ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.steps::before, .steps::after { content: ""; position: absolute; top: 22px; left: 12.5%; right: 12.5%; height: 4px; border-radius: 4px; }
.steps::before { background: #DCE7FB; }
.steps::after {
  background: linear-gradient(90deg, var(--viai-blue-700) 0%, #6C8CF0 55%, var(--viai-orange-500) 100%);
  box-shadow: 0 0 14px rgba(36, 89, 228, .4); transform-origin: left center;
  transition: transform 1.8s cubic-bezier(.65, 0, .35, 1) .15s;
}
.step { position: relative; display: flex; flex-direction: column; align-items: center; }
.step__marker { position: relative; z-index: 2; display: grid; place-items: center; width: 48px; height: 48px; }
.step__marker::after { content: ""; position: absolute; left: 50%; top: 100%; width: 2px; height: 22px; margin-left: -1px; background: linear-gradient(#B9CCF5, transparent); }
.step__marker::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(36, 89, 228, .55);
  animation: step-ping 2.8s ease-out infinite; animation-delay: calc(var(--i) * .5s + 1.2s);
}
.step__num {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  font-size: 18px; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--viai-blue-700), var(--viai-blue-900));
  border: 3px solid #fff; box-shadow: 0 0 0 5px rgba(36, 89, 228, .16), 0 10px 22px rgba(36, 89, 228, .32);
}
.step__card {
  position: relative; width: 100%; flex: 1; margin-top: 22px; padding: 22px 20px; overflow: hidden;
  transition: transform .35s var(--ease-out), box-shadow .35s, border-color .35s;
}
.step__card::after {
  content: attr(data-step); position: absolute; right: 14px; top: 8px; font-size: 64px; line-height: 1; font-weight: 800;
  color: rgba(36, 89, 228, .07); pointer-events: none; transition: transform .5s var(--ease-out), color .35s;
}
.step__icon {
  display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 14px; border-radius: 14px; font-size: 22px;
  color: var(--viai-blue-800); background: linear-gradient(135deg, var(--viai-blue-100), #fff); border: 1px solid #D5E2FA;
  transition: transform .4s var(--ease-out), background .3s, color .3s, box-shadow .3s;
}
.steps--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.steps--5::before, .steps--5::after { left: 10%; right: 10%; }
.steps--5 .step__card { padding: 22px 18px; }
.steps--5 { margin-top: 116px; }
.step__mascot { position: absolute; left: 50%; bottom: calc(100% - 6px); z-index: 3; width: 148px; height: auto; margin-left: -74px; pointer-events: none; filter: drop-shadow(0 10px 14px rgba(31, 67, 145, .25)); animation: bob 4.5s ease-in-out infinite; }
.step h3 { font-size: 17px; line-height: 1.35; font-weight: 700; color: var(--viai-blue-900); }
.step .step__out { margin-top: 14px; padding-top: 12px; border-top: 1px dashed #D5E2FA; font-size: 13px; font-weight: 600; line-height: 1.45; color: var(--viai-blue-800); }
.step .step__out span { display: block; margin-bottom: 2px; font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--viai-orange-600); }
.step p { margin-top: 6px; font-size: 14px; line-height: 1.55; color: var(--viai-body); }
.step:hover .step__card { transform: translateY(-6px); border-color: #BFD1F6; box-shadow: var(--viai-shadow-float); }
.step:hover .step__card::after { transform: scale(1.12); color: rgba(255, 106, 27, .14); }
.step:hover .step__icon { color: #fff; background: linear-gradient(135deg, var(--viai-blue-700), var(--viai-blue-900)); border-color: transparent; transform: rotate(-6deg) scale(1.08); box-shadow: 0 10px 20px rgba(36, 89, 228, .3); }

/* Trạng thái "chưa sáng" chỉ bật khi có JS (JS thêm .steps--anim), nên không JS vẫn hiển thị đầy đủ */
.steps--anim::after { transform: scaleX(0); }
.steps--anim.is-in::after { transform: scaleX(1); }
.steps--anim .step__num { color: var(--viai-blue-800); background: #fff; border-color: #C9D8F7; box-shadow: none; }
.steps--anim .step__marker::before { opacity: 0; animation: none; }
.steps--anim.is-in .step__num { animation: step-on .7s cubic-bezier(.34, 1.56, .64, 1) forwards; animation-delay: calc(.35s + var(--i) * .5s); }
.steps--anim.is-in .step__marker::before { opacity: 1; animation: step-ping 2.8s ease-out infinite; animation-delay: calc(var(--i) * .5s + 1.6s); }
@keyframes step-on {
  0% { color: var(--viai-blue-800); background: #fff; border-color: #C9D8F7; box-shadow: none; transform: scale(1); }
  55% { transform: scale(1.22); }
  100% { color: #fff; background: linear-gradient(135deg, var(--viai-blue-700), var(--viai-blue-900)); border-color: #fff; box-shadow: 0 0 0 5px rgba(36, 89, 228, .16), 0 10px 22px rgba(36, 89, 228, .32); transform: scale(1); }
}
@keyframes step-ping { 0% { transform: scale(1); opacity: .7; } 70%, 100% { transform: scale(1.7); opacity: 0; } }

/* ---------- Giải pháp triển khai: 4 thẻ đồng đều, hình minh họa ở trên, tiêu đề + mô tả ở dưới ---------- */
.deliver-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.deliver-grid .deliver-card { display: flex; flex-direction: column; overflow: hidden; }
/* Khung hình: nền sáng nhẹ để ảnh WebP trong suốt nổi lên; ẩn khi để trống */
.deliver__media { position: relative; margin: 0; padding: 14px 12px; aspect-ratio: 7 / 4; display: grid; place-items: center; background: linear-gradient(135deg, var(--viai-blue-100), #F8FAFF); }
.deliver__media:empty { display: none; }
.deliver__media img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 6px 12px rgba(31, 67, 145, .16)); }
.deliver__media .tag-demo { top: 8px; right: 8px; bottom: auto; padding: 3px 9px; font-size: 10.5px; }
.deliver-card__body { flex: 1; padding: 18px 18px 22px; }
.deliver-card h3 { font-size: 17px; line-height: 1.35; font-weight: 700; color: var(--viai-blue-900); }
.deliver-card p { margin-top: 8px; font-size: 14px; line-height: 1.55; color: var(--viai-body); }

/* ---------- Đối tượng phù hợp ---------- */
.audience { position: relative; overflow: hidden; background: linear-gradient(90deg, var(--viai-blue-100) 0%, var(--viai-blue-050) 60%, #fff 100%); }
/* Ảnh mờ dần ở mép trái bằng mặt nạ (không dùng lớp phủ màu nên không bao giờ lệch tông với nền); overflow hidden giữ hiệu ứng phóng ảnh trong khung */
.audience__media { position: absolute; top: 0; right: 0; bottom: 0; width: 46%; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 30%); mask-image: linear-gradient(90deg, transparent 0, #000 30%); }
.audience__media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 45%; }
.audience__inner { position: relative; z-index: 1; display: flex; align-items: center; min-height: 380px; padding-block: 56px; }
.audience__content { max-width: 620px; }
.audience h2 { font-size: clamp(1.5rem, 1rem + 1.4vw, 1.875rem); }
.audience__actions { margin-top: 20px; }
.audience__tag { margin-top: 16px; font-size: 12px; font-weight: 800; line-height: 1.5; letter-spacing: .05em; text-transform: uppercase; color: var(--viai-orange-600); }
.audience__text { margin-top: 14px; font-size: 16px; color: var(--viai-body); max-width: 480px; }
.callout { display: flex; align-items: center; gap: 12px; margin-top: 22px; padding: 12px 16px; font-size: 14.5px; font-weight: 600; color: var(--viai-blue-900); background: #fff; border: 1px solid #D5E2FA; border-radius: var(--viai-radius-sm); box-shadow: 0 8px 20px rgba(23, 71, 212, .08); }
.callout__icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; background: var(--viai-blue-100); color: var(--viai-blue-700); font-size: 18px; flex: none; }

/* ---------- Chuyên gia ---------- */
.expert-intro { padding-bottom: 0; }
.expert-intro .section__head { margin-bottom: 8px; }
.expert {
  position: relative; overflow: hidden; padding-block: clamp(40px, 5.5vw, 72px);
  background:
    radial-gradient(55% 70% at 88% 25%, rgba(36, 89, 228, .09), transparent 70%),
    radial-gradient(40% 60% at 5% 90%, rgba(255, 106, 27, .06), transparent 70%),
    linear-gradient(180deg, #fff 0%, var(--viai-blue-050) 100%);
}
.expert--reverse {
  background:
    radial-gradient(50% 70% at 10% 25%, rgba(36, 89, 228, .09), transparent 70%),
    radial-gradient(40% 60% at 95% 90%, rgba(255, 106, 27, .06), transparent 70%),
    linear-gradient(180deg, var(--viai-blue-050) 0%, #fff 100%);
}
.expert__inner { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); align-items: center; gap: clamp(36px, 6vw, 88px); }
.expert--reverse .expert__media { order: 2; }

/* Khung ảnh: ảnh 4:5, viền trắng, nền gradient lệch phía sau, lưới chấm và chip chức danh nổi */
.expert__media { position: relative; width: 100%; max-width: 480px; justify-self: center; }
.expert__media::before {
  content: ""; position: absolute; inset: 24px -24px -24px 24px; z-index: 0; border-radius: 38px; opacity: .17;
  background: linear-gradient(135deg, var(--viai-blue-700), var(--viai-orange-500)); transform: rotate(3deg);
  transition: transform .7s var(--ease-out), opacity .5s;
}
.expert__media::after {
  content: ""; position: absolute; top: -30px; right: -34px; z-index: 0; width: 132px; height: 132px; opacity: .75;
  background: radial-gradient(circle, rgba(36, 89, 228, .5) 0 2px, transparent 2.6px) 0 0 / 16px 16px;
}
.expert--reverse .expert__media::before { inset: 24px 24px -24px -24px; transform: rotate(-3deg); }
.expert--reverse .expert__media::after { right: auto; left: -34px; }
.expert__photo {
  position: relative; z-index: 1; aspect-ratio: 4 / 5; margin: 0; overflow: hidden;
  border: 6px solid #fff; border-radius: 32px; background: var(--viai-blue-100); box-shadow: 0 30px 70px rgba(31, 67, 145, .28);
}
.expert__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; transition: transform 1s var(--ease-out); }
.expert__media:hover .expert__photo img { transform: scale(1.05); }
.expert__media:hover::before { transform: rotate(5deg) translate(5px, 5px); opacity: .26; }
.expert--reverse .expert__media:hover::before { transform: rotate(-5deg) translate(-5px, 5px); }
.expert__chip {
  position: absolute; z-index: 2; left: -20px; bottom: 40px; display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px;
  font-size: 13px; font-weight: 700; line-height: 1.3; color: var(--viai-blue-950);
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px); border: 1px solid var(--viai-border); border-radius: var(--viai-radius-pill);
  box-shadow: 0 14px 30px rgba(31, 67, 145, .22); animation: bob 4.5s ease-in-out infinite;
}
.expert__chip .ic { color: var(--viai-orange-500); font-size: 16px; }
.expert--reverse .expert__chip { left: auto; right: -20px; animation-delay: -2s; }

.expert__content .expert__badge {
  display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 7px 16px;
  font-size: 13px; font-weight: 700; line-height: 1.3; color: var(--viai-blue-950);
  background: #E7F6FF; border: 1px solid #BFE3F7; border-radius: var(--viai-radius-pill);
}
.expert__dot { width: 8px; height: 8px; border-radius: 50%; background: #22C55E; box-shadow: 0 0 0 3px rgba(34, 197, 94, .2); animation: dot-ping 2s ease-out infinite; }
.expert h2 { margin-top: 14px; font-size: clamp(1.75rem, 1.1rem + 2vw, 2.75rem); line-height: 1.1; letter-spacing: -0.02em; font-weight: 800; color: var(--viai-blue-950); }
.expert__role {
  display: block; margin-top: 8px; font-size: clamp(1rem, .9rem + .5vw, 1.25rem); line-height: 1.3; letter-spacing: 0; font-weight: 700;
  background: linear-gradient(90deg, var(--viai-blue-700), var(--viai-orange-500)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.expert__content p { margin-top: 14px; font-size: 15.5px; line-height: 1.7; color: var(--viai-body); }
.expert__list { display: grid; gap: 10px; margin-top: 20px; }
.expert__list li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; line-height: 1.5; color: var(--viai-ink); }
.expert__tick { display: grid; place-items: center; width: 24px; height: 24px; margin-top: 0; border-radius: 50%; background: #D9F5E3; color: var(--viai-green-600); flex: none; transition: transform .3s var(--ease-out), background .3s, color .3s; }
.expert__tick .ic { font-size: 14px; stroke-width: 2.4; }
.expert__list li:hover .expert__tick { transform: scale(1.18); background: var(--viai-green-600); color: #fff; }
.btn--blue {
  color: #fff; background: linear-gradient(90deg, var(--viai-blue-900), #1E7BFF);
  border-radius: var(--viai-radius-pill); box-shadow: 0 12px 28px rgba(23, 71, 212, .32);
}
.btn--blue:hover { filter: brightness(1.08); transform: translateY(-1px); }
.expert .btn--blue { margin-top: 26px; padding-inline: 28px; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: start; }
.faq__item { border-radius: 14px; box-shadow: 0 8px 22px rgba(31, 67, 145, .07); }
.faq__item summary {
  display: grid; grid-template-columns: 32px minmax(0, 1fr) 28px; align-items: center; gap: 14px; padding: 18px 20px;
  cursor: pointer; list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__q { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; font-size: 15px; font-weight: 800; color: var(--viai-blue-800); background: var(--viai-blue-100); }
.faq__text { font-size: 16px; font-weight: 700; line-height: 1.4; color: var(--viai-blue-950); }
.faq__toggle { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; color: var(--viai-blue-700); }
.faq__toggle .ic { font-size: 18px; stroke-width: 2.2; transition: transform .35s var(--ease-out); }
.faq__item[open] .faq__toggle .ic { transform: rotate(180deg); }
.faq__item[open] summary { padding-bottom: 10px; }
/* Mở/đóng mượt (Chrome/Edge); trình duyệt chưa hỗ trợ sẽ bỏ qua và đóng/mở tức thì */
.faq__item::details-content { block-size: 0; overflow: clip; transition: block-size .38s var(--ease-out), content-visibility .38s allow-discrete; }
.faq__item[open]::details-content { block-size: auto; }
.faq__item { transition: transform .3s var(--ease-out), box-shadow .3s, border-color .3s; }
.faq__item:hover { transform: translateY(-3px); border-color: #BFD1F6; box-shadow: 0 14px 30px rgba(31, 67, 145, .12); }
.faq__item p { padding: 0 24px 22px 66px; font-size: 15px; line-height: 1.65; color: var(--viai-body); }

/* ---------- CTA + form ---------- */
.cta {
  position: relative; padding-block: var(--section-y); color: #fff;
  background: url("../assets/bg/cta-waves.svg") center / cover no-repeat, linear-gradient(135deg, #0A36B8 0%, #1747D4 55%, #0F3FC8 100%);
}
.cta__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); align-items: center; gap: clamp(28px, 5vw, 72px); }
.cta h2 { color: #fff; text-wrap: balance; }
.cta h2 .accent { color: #FFAA78; }
.cta .eyebrow { color: #CFE0FF; }
.cta .eyebrow::before {
  width: 20px; height: 20px; box-shadow: none;
  background: radial-gradient(circle, var(--viai-orange-500) 0 5px, #fff 5.5px);
}
.cta__text--small { font-size: 14.5px; color: rgba(255, 255, 255, .78); }
.cta__text + .cta__text { margin-top: 12px; }
.form__head h3 { font-size: 22px; line-height: 1.25; font-weight: 800; color: var(--viai-blue-950); }
.form__head p { margin-top: 4px; font-size: 14px; color: var(--viai-body); }
.cta__text { text-wrap: pretty; margin-top: 16px; font-size: 17px; line-height: 1.65; color: rgba(255, 255, 255, .9); }

.form {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px;
  padding: clamp(20px, 3vw, 32px); border: 0; border-radius: 24px; box-shadow: 0 30px 70px rgba(5, 25, 100, .38);
}
.field { min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 600; color: var(--viai-ink); }
.field label span { color: var(--viai-orange-500); }
.field input, .field textarea {
  width: 100%; min-height: 52px; padding: 13px 16px; font-size: 15px; line-height: 1.4; color: var(--viai-ink);
  background: var(--viai-surface-soft); border: 1px solid #D5E0F2; border-radius: 12px;
  transition: border-color .15s, box-shadow .15s, background-color .15s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder, .field textarea::placeholder { color: #8A99B5; }
.field input:hover, .field textarea:hover { border-color: #B9CCF5; }
.field input:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--viai-blue-700); box-shadow: 0 0 0 3px rgba(36, 89, 228, .16); }
.field [aria-invalid="true"] { border-color: var(--viai-danger); background: #FFF8F7; }
.field [aria-invalid="true"]:focus { box-shadow: 0 0 0 3px rgba(200, 55, 45, .16); }
.field__error { min-height: 0; margin-top: 4px; font-size: 12px; line-height: 1.4; color: var(--viai-danger); }
.field__error:empty { display: none; }
.form .btn--lg { min-height: 54px; border-radius: 12px; font-size: 15px; text-transform: uppercase; letter-spacing: .03em; box-shadow: 0 12px 28px rgba(255, 106, 27, .38); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { grid-column: 1 / -1; font-size: 14px; font-weight: 600; }
.form__status:empty { display: none; }
.form__status.is-success { padding: 12px 14px; color: var(--viai-green-600); background: var(--viai-green-100); border-radius: var(--viai-radius-sm); }
.form__status.is-error { padding: 12px 14px; color: var(--viai-danger); background: #FDEDEB; border-radius: var(--viai-radius-sm); }

/* ---------- Footer ---------- */
.site-footer { color: #fff; background: #0A2570; border-top: 1px solid rgba(255, 255, 255, .12); }
.site-footer__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(0, 1fr)); gap: 36px 32px; padding-block: 44px 34px; }
.site-footer__tagline { font-size: 14.5px; line-height: 1.5; font-weight: 500; color: rgba(255, 255, 255, .92); }
.site-footer__contact { display: grid; gap: 12px; margin-top: 16px; }
.site-footer__contact li { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; line-height: 1.5; color: rgba(255, 255, 255, .92); }
.site-footer__contact .ic { margin-top: 2px; font-size: 17px; color: #FFB02E; }
.site-footer__contact--main a { font-size: 16.5px; font-weight: 800; color: #fff; }
.site-footer__contact a { transition: color .15s; }
.site-footer__contact a:hover { color: #FFC670; }
.site-footer__zalo { flex: none; min-width: 17px; margin-top: 2px; font-size: 12px; font-weight: 800; font-style: italic; line-height: 1.5; color: #FFB02E; }
.site-footer__title { margin-bottom: 14px; font-size: 17px; line-height: 1.3; font-weight: 700; color: #fff; }
.site-footer__links { display: grid; gap: 12px; }
.site-footer__links a { display: inline-flex; align-items: center; gap: 10px; font-size: 14.5px; line-height: 1.4; color: rgba(255, 255, 255, .88); transition: color .15s, transform .2s var(--ease-out); }
.site-footer__links .ic { font-size: 16px; color: #FFB02E; }
.site-footer__links a:hover { color: #fff; transform: translateX(3px); }
.site-footer__social { display: flex; gap: 12px; margin-top: 22px; }
.site-footer__social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: #fff; font-size: 19px; background: rgba(255, 255, 255, .12); transition: background-color .15s, transform .2s var(--ease-out); }
.site-footer__social a:hover { background: rgba(255, 255, 255, .24); transform: translateY(-2px); }
.site-footer__zalo-icon { font-size: 11.5px; font-weight: 800; font-style: italic; line-height: 1; letter-spacing: -.01em; color: #fff; }
.site-footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 20px 24px; border-top: 1px solid rgba(255, 255, 255, .14); }
.site-footer__copy { font-size: 14px; color: rgba(255, 255, 255, .82); }
.to-top {
  display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid rgba(255, 255, 255, .55); border-radius: 50%;
  color: #fff; font-size: 20px; transition: background-color .15s, color .15s, transform .15s;
}
.to-top:hover { background: #fff; color: var(--viai-blue-800); transform: translateY(-2px); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1180px) {
  /* 5 điểm nghẽn: 2 cột, bỏ đường nối ngang */
  .bottleneck { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .bottleneck__step:not(:last-child)::before, .bottleneck__step:not(:last-child)::after { display: none; }
  .bottleneck__step:last-child:nth-child(odd) { grid-column: 1 / -1; width: calc(50% - 10px); justify-self: center; }
  /* ví dụ chạy được: 2×2 */
  .proof { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .proof-step:not(:last-child)::before, .proof-step:not(:last-child)::after { display: none; }
  .deliver-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cost__grid { grid-template-columns: repeat(2, 1fr); gap: 28px 24px; }
  /* trước/sau: lane xếp dọc, ảnh + nhãn nằm ngang phía trên các bước */
  .lane { grid-template-columns: 1fr; gap: 18px; align-items: stretch; }
  .lane__side { flex-direction: row; align-items: center; justify-content: flex-start; gap: 16px; padding: 16px 18px; }
  .lane__badge { width: 46px; height: 46px; font-size: 22px; }
  .principles { grid-template-columns: repeat(2, 1fr); gap: 20px 24px; }
}

@media (max-width: 1100px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 20px; }
  .steps::before, .steps::after, .step__marker::after { display: none; }
  .step { align-items: stretch; }
  .step__marker { position: absolute; top: -18px; left: 18px; width: 40px; height: 40px; }
  .step__num { width: 40px; height: 40px; font-size: 16px; }
  .step__card, .steps--5 .step__card { margin-top: 0; padding: 34px 20px 22px; }
  .steps .step:last-child:nth-child(odd) { grid-column: 1 / -1; width: calc(50% - 10px); justify-self: center; }
  .steps--5 { margin-top: 0; }
  .step__mascot { display: none; }

  /* Khoảng cách: xếp dọc — chữ + chuỗi bước, ảnh, rồi checklist */
  .gap-banner { display: flex; flex-direction: column; }
  .gap-banner__inner { display: contents; }
  .gap-banner__content { order: 1; max-width: none; margin: 0 var(--gutter); padding-block: 44px 28px; }
  .gap-banner__visual { order: 2; position: relative; width: auto; aspect-ratio: 16 / 9; margin: 0 var(--gutter); border-radius: 24px; box-shadow: var(--viai-shadow-float); }
  .gap-banner__visual img { object-position: 50% 35%; }
  .gap-banner__visual::after { display: none; }
  .gap-checklist { order: 3; position: relative; top: auto; right: auto; width: auto; transform: none; margin: 20px var(--gutter) 44px; }
  .gap-checklist ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .gap-checklist li:not(:last-child)::after { display: none; }
}

@media (max-width: 900px) {
  :root { --header-h: 64px; }

  /* Header → menu thu gọn */
  .nav-toggle { display: inline-flex; }
  .header__cta { margin-left: auto; }
  .site-header__inner { gap: 12px; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    display: none; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 8px var(--gutter) 16px;
    background: #fff; border-bottom: 1px solid var(--viai-border); box-shadow: 0 16px 28px rgba(31, 67, 145, .1);
  }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--viai-border); font-size: 15px; }

  /* Hero xếp dọc, nội dung trước */
  .hero__main { display: block; min-height: 0; overflow: visible; }
  .hero__inner { padding-block: 36px 24px; }
  .hero__content { max-width: none; }
  .hero__actions .btn { min-width: 0; }
  .hero__visual { position: relative; inset: auto; }
  .hero__bg { position: relative; width: 100%; aspect-ratio: 16 / 10; }
  .hero__bg img { object-position: 50% 35%; }
  .hero__bg::after { background: linear-gradient(180deg, #fff 0%, rgba(255,255,255,0) 22%); }

  .criteria-card { grid-template-columns: 1fr; }
  /* lane: bước 2 cột, bỏ cung đứt và mũi tên */
  .lane__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .lane__arcs { display: none; }
  .lane--before .lane-step:not(:last-child)::before, .lane--before .lane-step:not(:last-child)::after,
  .lane--after .lane-step:not(:last-child)::before, .lane--after .lane-step:not(:last-child)::after { display: none; }
  .output-grid { grid-template-columns: 1fr; }
  .cost__calc-grid { grid-template-columns: 1fr; }
  .cta__inner { grid-template-columns: 1fr; }
  .faq { grid-template-columns: 1fr; }
  .expert__inner { grid-template-columns: 1fr; }
  .expert--reverse .expert__media { order: 0; }
  .expert__media { max-width: 400px; }
  .expert__media::before, .expert--reverse .expert__media::before { inset: 16px -12px -16px 12px; }
  .expert--reverse .expert__media::before { inset: 16px 12px -16px -12px; }
  .expert__media::after { right: -12px; width: 96px; height: 96px; }
  .expert--reverse .expert__media::after { left: -12px; }
  .expert__chip { left: 10px; bottom: 24px; }
  .expert--reverse .expert__chip { left: auto; right: 10px; }

  .audience__media { position: relative; width: 100%; aspect-ratio: 16 / 9; -webkit-mask-image: linear-gradient(180deg, #000 58%, transparent 100%); mask-image: linear-gradient(180deg, #000 58%, transparent 100%); }
  .audience__inner { min-height: 0; padding-block: 8px 44px; }
}

@media (max-width: 680px) {
  .pain-grid { grid-template-columns: 1fr; }
  .pain-card { grid-template-columns: 1fr; }
  .pain-card__media { min-height: 0; aspect-ratio: 16 / 9; }
  .proof { grid-template-columns: 1fr; }
  .cost__grid { grid-template-columns: 1fr; }
  .lane__steps { grid-template-columns: 1fr; }
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 20px; }
  .flow__item:not(:last-child)::after { display: none; }
  .gap-checklist ul { grid-template-columns: 1fr; }

  /* 5 điểm nghẽn: 1 cột, nối dọc bằng đường đỏ nét đứt + "!" */
  .bottleneck { grid-template-columns: 1fr; gap: 44px; }
  .bottleneck__step:last-child:nth-child(odd) { grid-column: auto; width: auto; justify-self: stretch; }
  .bottleneck__step:not(:last-child)::after { display: block; left: 50%; top: 100%; width: 0; height: 44px; border-top: 0; border-left: 2px dashed var(--viai-pain-red); transform: translateX(-1px); }
  .bottleneck__step:not(:last-child)::before { display: grid; left: 50%; top: calc(100% + 22px); }

  /* timeline dọc */
  .steps { grid-template-columns: 1fr; gap: 22px; padding-left: 58px; }
  .steps::before, .steps::after { display: block; top: 24px; bottom: 24px; left: 18px; right: auto; width: 4px; height: auto; }
  .steps::after { background: linear-gradient(180deg, var(--viai-blue-700) 0%, #6C8CF0 55%, var(--viai-orange-500) 100%); transform-origin: top center; }
  .steps--anim::after { transform: scaleY(0); }
  .steps--anim.is-in::after { transform: scaleY(1); }
  .step__marker { top: 16px; left: -58px; }
  .step__card, .steps--5 .step__card { padding: 22px 20px; }
  .steps .step:last-child:nth-child(odd) { grid-column: auto; width: auto; justify-self: stretch; }
  .form { grid-template-columns: 1fr; }
}

/* Chân trang: 5 cột -> thông tin liên hệ một hàng + 4 cột liên kết (tablet) -> 2 cột (điện thoại) -> 1 cột (màn hẹp) */
@media (max-width: 1100px) {
  .site-footer__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .site-footer__col--about { grid-column: 1 / -1; }
  .site-footer__contact { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; }
}
@media (max-width: 760px) {
  .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-block: 36px 28px; }
  .site-footer__contact { grid-template-columns: 1fr; }
  .site-footer__bottom { align-items: center; }
}
@media (max-width: 420px) {
  .site-footer__grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .hero__lead br { display: none; }
  .header__cta { display: none; }
  .nav-toggle { margin-left: auto; }
  .nav__cta { display: inline-flex; margin-top: 14px; }
  .logo img { height: 40px; }
  .deliver-grid { grid-template-columns: 1fr; }
  .principles { grid-template-columns: 1fr; }
  .hero__actions { align-items: stretch; }
  .hero__actions .btn { width: 100%; }
  .faq__item p { padding-left: 24px; }
}

/* =========================================================
   Chuyển động (cải tiến dần: không JS vẫn đủ nội dung; luôn chạy kể cả khi hệ điều hành bật giảm chuyển động)
   ========================================================= */
:root { --ease-out: cubic-bezier(.2, .7, .2, 1); interpolate-size: allow-keywords; }

@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes hero-fade { from { opacity: 0; transform: scale(1.03); } to { opacity: 1; transform: none; } }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@keyframes cta-pulse {
  0%, 100% { box-shadow: 0 8px 20px rgba(255, 106, 27, .28), 0 0 0 0 rgba(255, 106, 27, .45); }
  60% { box-shadow: 0 8px 20px rgba(255, 106, 27, .28), 0 0 0 14px rgba(255, 106, 27, 0); }
}
@keyframes icon-glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .0); } 50% { box-shadow: 0 0 0 9px rgba(255, 255, 255, .12); } }
@keyframes dot-ping { 0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, .5); } 70%, 100% { box-shadow: 0 0 0 9px rgba(34, 197, 94, 0); } }
@keyframes eyebrow-ping { 0% { box-shadow: inset 0 0 0 1.5px var(--viai-orange-500), 0 0 0 0 rgba(255, 106, 27, .45); } 70%, 100% { box-shadow: inset 0 0 0 1.5px var(--viai-orange-500), 0 0 0 9px rgba(255, 106, 27, 0); } }
@keyframes bg-drift { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
@keyframes orb { from { translate: 0 0; scale: 1; } to { translate: 60px 40px; scale: 1.18; } }
@keyframes chain-march { to { background-position: 10px 0; } }
@keyframes nudge-up { 0%, 100% { translate: 0 0; } 50% { translate: 0 -3px; } }

/* Thanh tiến độ cuộn + header co lại */
.scroll-progress { position: fixed; inset: 0 0 auto 0; z-index: 60; height: 3px; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; transform: scaleX(0); transform-origin: left center; background: linear-gradient(90deg, var(--viai-blue-700), #6C8CF0, var(--viai-orange-500)); box-shadow: 0 0 10px rgba(36, 89, 228, .6); }
.site-header { transition: box-shadow .3s; }
.site-header__inner { transition: min-height .3s var(--ease-out); }
.logo img { transition: height .3s var(--ease-out); }
.site-header.is-scrolled { box-shadow: 0 10px 30px rgba(31, 67, 145, .13); }
.site-header.is-scrolled .site-header__inner { min-height: 62px; }
.site-header.is-scrolled .logo img { height: 38px; }

/* Hero: vào cảnh lần lượt, ảnh hiện dần (khung .hero__bg cắt phần tràn nên không lộ dải ảnh thừa) */
.hero__eyebrow, .hero h1, .hero__lead, .hero__actions, .hero__note { animation: rise .9s var(--ease-out) both; }
.hero__note { animation-delay: .62s; }
.hero h1 { animation-delay: .1s; }
.hero__eyebrow { animation-delay: 0s; }
.hero__lead { animation-delay: .28s; }
.hero__actions { animation-delay: .44s; }
.hero__bg img { animation: hero-fade 1s var(--ease-out) both; }
.hero__main::before, .hero__main::after { content: ""; position: absolute; z-index: 1; border-radius: 50%; pointer-events: none; animation: orb 16s ease-in-out infinite alternate; }
.hero__main::before { width: 420px; height: 420px; left: -140px; top: -120px; background: radial-gradient(circle, rgba(36, 89, 228, .16), transparent 68%); }
.hero__main::after { width: 360px; height: 360px; left: 28%; bottom: -160px; background: radial-gradient(circle, rgba(255, 106, 27, .13), transparent 68%); animation-delay: -6s; }

/* Nút: ánh sáng quét, mũi tên nhích, CTA hero nhịp nhẹ */
.btn { position: relative; overflow: hidden; }
.btn .ic { transition: translate .25s var(--ease-out); }
.btn:hover .ic { translate: 4px 0; }
.btn--primary::after, .btn--blue::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -70%; width: 40%; pointer-events: none;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .5), transparent); transform: skewX(-20deg); transition: left .7s var(--ease-out);
}
.btn--primary:hover::after, .btn--blue:hover::after { left: 130%; }
.hero__actions .btn--primary { animation: cta-pulse 2.8s ease-out 2.2s infinite; }

/* Thẻ: nhấc lên, ảnh phóng nhẹ, icon xoay */
.pain-card, .output-card, .deliver-grid li { transition: transform .35s var(--ease-out), box-shadow .35s, border-color .35s; }
.pain-card:hover, .output-card:hover, .deliver-grid li:hover { transform: translateY(-6px); border-color: #BFD1F6; box-shadow: var(--viai-shadow-float); }
.pain-card:hover { border-color: var(--viai-pain-border); border-left-color: var(--viai-pain-red); }
.pain-card__media img, .output-card__shot img { transition: transform .8s var(--ease-out); }
.pain-card:hover .pain-card__media img { transform: scale(1.07); }
.output-card:hover .output-card__shot img { transform: scale(1.04); }
.principles__icon, .cost__icon { transition: transform .4s var(--ease-out), background-color .3s, color .3s; }
.principles li:hover .principles__icon { transform: scale(1.12) rotate(-6deg); background: var(--viai-blue-800); color: #fff; }
.cost__grid li:hover .cost__icon { transform: scale(1.12); background: rgba(255, 255, 255, .24); }

/* Nền chuyển động nhẹ ở dải chi phí, CTA; vòng sáng ở các điểm nhấn */
.cost { background-size: 220% 100%; animation: bg-drift 14s ease-in-out infinite alternate; }
.cost__icon { animation: icon-glow 3.6s ease-in-out infinite; }
.cost__grid li:nth-child(2) .cost__icon { animation-delay: .6s; }
.cost__grid li:nth-child(3) .cost__icon { animation-delay: 1.2s; }
.cost__grid li:nth-child(4) .cost__icon { animation-delay: 1.8s; }
.section__head .eyebrow::before { animation: eyebrow-ping 2.4s ease-out infinite; }
.cta { overflow: hidden; }
.cta::before { content: ""; position: absolute; left: -140px; top: -160px; width: 560px; height: 560px; border-radius: 50%; pointer-events: none; background: radial-gradient(circle, rgba(62, 123, 255, .5), transparent 65%); animation: orb 14s ease-in-out infinite alternate; }
.cta__inner { position: relative; z-index: 1; }
.field label { transition: color .2s; }
.field:focus-within label { color: var(--viai-blue-700); }
.form__status.is-success, .form__status.is-error { animation: rise .5s var(--ease-out) both; }
.to-top .ic { animation: nudge-up 2.2s ease-in-out infinite; }

/* Hiện dần khi cuộn tới (JS thêm .reveal; sau khi hiện xong JS gỡ class để hiệu ứng hover hoạt động bình thường) */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); transition-delay: var(--d, 0ms); }
.reveal--left { transform: translateX(-40px); }
.reveal--right { transform: translateX(40px); }
.reveal--zoom { transform: scale(.92); }
.reveal.is-in { opacity: 1; transform: none; }

/* =========================================================
   Hiệu ứng lặp cho các banner (JS thêm .fx-on khi section đang trong khung nhìn, rời khung thì dừng cho nhẹ máy;
   chỉ dùng transform/opacity; không JS thì đứng yên)
   ========================================================= */
@keyframes sparkle {
  0%, 100% { opacity: 0; transform: scale(.15) rotate(0deg); }
  42% { opacity: 1; transform: scale(1.15) rotate(35deg); }
  62% { opacity: .85; transform: scale(.8) rotate(55deg); }
  80% { opacity: 0; transform: scale(.3) rotate(80deg); }
}
@keyframes sheen { 0% { transform: translateX(-130%) skewX(-18deg); } 38%, 100% { transform: translateX(540%) skewX(-18deg); } }
@keyframes kenburns-a { from { transform: scale(1) translate(0, 0); } to { transform: scale(1.08) translate(-1.5%, -1%); } }
@keyframes kenburns-b { from { transform: scale(1) translate(0, 0); } to { transform: scale(1.07) translate(1.5%, -1%); } }
@keyframes card-shine { 0% { transform: translateX(-170%) skewX(-18deg); } 30%, 100% { transform: translateX(420%) skewX(-18deg); } }
@keyframes warn-pulse { 0%, 100% { transform: scale(1) rotate(0deg); } 50% { transform: scale(1.28) rotate(-8deg); } }
@keyframes chip-hot {
  0%, 28%, 100% { transform: none; border-color: var(--viai-border); box-shadow: var(--viai-shadow-card); }
  6%, 20% { transform: translateY(-4px); border-color: #7FA0EE; box-shadow: 0 16px 30px rgba(36, 89, 228, .24); }
}
@keyframes chip-icon-hot {
  0%, 28%, 100% { color: var(--viai-blue-800); background: var(--viai-blue-100); transform: none; }
  6%, 20% { color: #fff; background: var(--viai-blue-800); transform: scale(1.1); }
}
@keyframes check-hot {
  0%, 28%, 100% { transform: none; background: var(--viai-surface-soft); border-color: var(--viai-border); }
  6%, 20% { transform: translateX(-6px); background: #EAF1FF; border-color: #9DB8F4; }
}
@keyframes tick-hot {
  0%, 28%, 100% { transform: none; box-shadow: 0 0 0 0 rgba(36, 89, 228, 0); }
  8%, 14% { transform: scale(1.22); box-shadow: 0 0 0 7px rgba(36, 89, 228, .18); }
  22% { transform: none; box-shadow: 0 0 0 0 rgba(36, 89, 228, 0); }
}
@keyframes ring-blue { 0% { box-shadow: 0 0 0 0 rgba(36, 89, 228, .4); } 70%, 100% { box-shadow: 0 0 0 10px rgba(36, 89, 228, 0); } }

/* Hero (section đầu): lấp lánh quanh Agent + vệt sáng quét qua ảnh */
.sparkles { position: absolute; inset: 0; z-index: 2; overflow: hidden; pointer-events: none; }
.spk { position: absolute; left: var(--x); top: var(--y); width: var(--s); height: var(--s); margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2); fill: currentColor; stroke: none; opacity: 0; filter: drop-shadow(0 0 5px currentColor) drop-shadow(0 0 13px currentColor); }
.spk--white { color: #fff; filter: drop-shadow(0 0 4px #7FA0EE) drop-shadow(0 0 12px rgba(59, 123, 255, .75)); }
.spk--blue { color: #3B7BFF; }
.spk--orange { color: #FF8A3D; }
.fx-on .spk { animation: sparkle var(--t, 3.6s) ease-in-out var(--d, 0s) infinite; }
.sparkles__sheen { position: absolute; top: -10%; bottom: -10%; left: 0; width: 24%; opacity: 0; transform: translateX(-130%) skewX(-18deg); background: linear-gradient(105deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.42) 50%, rgba(255,255,255,0) 100%); }
.fx-on .sparkles__sheen { opacity: 1; animation: sheen 8s ease-in-out 1.6s infinite; }

/* Khoảng cách: ảnh trôi chậm + lần lượt sáng từng bước ở chuỗi 4 chip và checklist (cùng nhịp 9s) */
.fx-on.gap-banner .gap-banner__visual img { animation: kenburns-a 22s ease-in-out infinite alternate; }
.fx-on .flow__box { animation: chip-hot 9s ease-in-out infinite; }
.fx-on .flow__icon { animation: chip-icon-hot 9s ease-in-out infinite; }
.fx-on .gap-checklist li { animation: check-hot 9s ease-in-out infinite; }
.fx-on .gap-checklist__tick { animation: tick-hot 9s ease-in-out infinite; }
.fx-on .flow__item:nth-child(2) .flow__box, .fx-on .flow__item:nth-child(2) .flow__icon, .fx-on .gap-checklist li:nth-child(2), .fx-on .gap-checklist li:nth-child(2) .gap-checklist__tick { animation-delay: 2.25s; }
.fx-on .flow__item:nth-child(3) .flow__box, .fx-on .flow__item:nth-child(3) .flow__icon, .fx-on .gap-checklist li:nth-child(3), .fx-on .gap-checklist li:nth-child(3) .gap-checklist__tick { animation-delay: 4.5s; }
.fx-on .flow__item:nth-child(4) .flow__box, .fx-on .flow__item:nth-child(4) .flow__icon, .fx-on .gap-checklist li:nth-child(4), .fx-on .gap-checklist li:nth-child(4) .gap-checklist__tick { animation-delay: 6.75s; }

/* Chi phí trì hoãn: quầng sáng trôi, thẻ bị vệt sáng quét lần lượt, icon cảnh báo nhấp nháy */
.cost { position: relative; overflow: hidden; }
.cost > .container { position: relative; z-index: 1; }
.cost::before, .cost::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.cost::before { left: -160px; top: -220px; width: 520px; height: 520px; background: radial-gradient(circle, rgba(62, 123, 255, .5), transparent 65%); }
.cost::after { right: -140px; bottom: -200px; width: 460px; height: 460px; background: radial-gradient(circle, rgba(255, 106, 27, .3), transparent 65%); }
.fx-on.cost::before { animation: orb 14s ease-in-out infinite alternate; }
.fx-on.cost::after { animation: orb 16s ease-in-out -6s infinite alternate; }
.cost__grid li { position: relative; overflow: hidden; }
.cost__grid li::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 38%; pointer-events: none; transform: translateX(-170%) skewX(-18deg); background: linear-gradient(105deg, transparent, rgba(255,255,255,.2), transparent); }
.fx-on .cost__grid li::after { animation: card-shine 7s ease-in-out infinite; }
.fx-on .cost__grid li:nth-child(2)::after { animation-delay: 1s; }
.fx-on .cost__grid li:nth-child(3)::after { animation-delay: 2s; }
.fx-on .cost__grid li:nth-child(4)::after { animation-delay: 3s; }
.fx-on .eyebrow--pill .ic { animation: warn-pulse 1.8s ease-in-out infinite; }

/* Đối tượng phù hợp: ảnh đội ngũ trôi chậm, quầng sáng nền, icon cam kết và nút đặt lịch nhịp nhẹ */
.audience::before { content: ""; position: absolute; left: -140px; bottom: -180px; width: 440px; height: 440px; border-radius: 50%; pointer-events: none; background: radial-gradient(circle, rgba(36, 89, 228, .16), transparent 65%); }
.fx-on.audience::before { animation: orb 15s ease-in-out infinite alternate; }
.fx-on.audience .audience__media img { transform-origin: 70% 50%; animation: kenburns-b 24s ease-in-out infinite alternate; }
.fx-on .callout__icon { animation: ring-blue 2.6s ease-out infinite; }
.fx-on .audience__actions .btn--primary { animation: cta-pulse 2.8s ease-out 1s infinite; }

/* Chủ ý: KHÔNG tắt animation theo "giảm chuyển động" của hệ điều hành — một số máy bật sẵn tuỳ chọn này sẽ mất hết hiệu ứng của landing. */
