/* ==========================================================================
   BAMFLOW — ve-chung-toi.css (trang "Về chúng tôi", vòng 98)
   Chỉ dùng cho ve-chung-toi.html. Mọi lớp mới mang tiền tố vct- để không
   đụng các quy tắc chung trong theme-fluent-glass.css.
   Nhịp nền: trắng / #f2f5fa / xanh (xanh 1 lần). Hiệu ứng chạy một chiều,
   không lặp lại khi cuộn ngược; tắt hết khi bật giảm chuyển động.
   ========================================================================== */

.vct-page {
  --vct-ink: #0b1633;
  --vct-text: #475569;
  --vct-muted: #64748b;
  --vct-blue: #1d4ed8;
  --vct-blue-d: #133c9f;
  --vct-blue-soft: #eef3ff;
  --vct-line: #e3e9f3;
  --vct-soft: #f2f5fa;
  --vct-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  background: #ffffff;
  overflow-x: clip;
}

/* Header: body.page-light-hero (theme chung) cho chữ tối trên hero sáng;
   viên thuốc "NocoBase Partner" dùng quy tắc Round 98 trong theme chung. */

.vct-verified { width: 18px; height: 18px; flex: none; }

/* ---------- Khung section + tiêu đề ---------- */
.vct-sec { padding-block: clamp(64px, 8vw, 104px); }

.vct-head {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.vct-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.2vw, 2.6rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--vct-ink);
  text-wrap: balance;
}

.vct-head h2 em,
.vct-hero__title em {
  font-style: normal;
  background: linear-gradient(120deg, var(--vct-blue) 0%, var(--vct-blue-d) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.vct-head p {
  margin: 14px auto 0;
  max-width: 60ch;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--vct-text);
  text-wrap: pretty;
}

.vct-head--on-blue h2 { color: #ffffff; }

/* Liên kết chữ có mũi tên */
.vct-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--vct-blue);
  text-decoration: none;
}

.vct-link span { transition: transform 0.25s var(--vct-ease); }
.vct-link:hover { color: var(--vct-blue-d); }
.vct-link:hover span { transform: translateX(4px); }

.vct-partner-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 700;
  color: var(--vct-ink);
  text-decoration: none;
  transition: color 0.2s ease;
}

.vct-partner-link:hover { color: var(--vct-blue); }

/* ==========================================================================
   1. Hero sáng
   ========================================================================== */
.vct-hero {
  position: relative;
  overflow: hidden;
  background: #ffffff;
  padding: calc(var(--header-h) + var(--header-offset) + clamp(40px, 7vh, 88px)) 0 clamp(56px, 9vh, 104px);
}

.vct-hero__aura {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(52% 64% at 82% 30%, rgba(29, 78, 216, 0.13), transparent 70%),
    radial-gradient(38% 46% at 8% 0%, rgba(59, 130, 246, 0.09), transparent 70%),
    linear-gradient(180deg, #f5f8ff 0%, #ffffff 78%);
}

.vct-hero__aura::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(29, 78, 216, 0.16) 1px, transparent 1.3px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(70% 80% at 75% 35%, #000 0%, transparent 75%);
  mask-image: radial-gradient(70% 80% at 75% 35%, #000 0%, transparent 75%);
}

.vct-hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.vct-hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.7rem, 5.6vw, 4.6rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: var(--vct-ink);
}

.vct-hero__lead {
  margin: 22px 0 0;
  max-width: 34em;
  font-size: clamp(1.02rem, 1.3vw, 1.15rem);
  line-height: 1.65;
  color: var(--vct-text);
  text-wrap: pretty;
}

/* Dòng uy tín: đối tác NocoBase (liên kết nổi bật) + năm thành lập, nằm DƯỚI tiêu đề */
.vct-hero__cred {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-top: 24px;
}

.vct-hero__partner {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 8px;
  border-radius: 999px;
  border: 1px solid #cddcf8;
  background: #f3f7ff;
  font-size: 0.93rem;
  font-weight: 700;
  color: var(--vct-blue);
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.25s ease, translate 0.25s var(--vct-ease);
}

.vct-hero__partner .vct-verified { width: 20px; height: 20px; }
.vct-hero__partner span { transition: transform 0.25s var(--vct-ease); }

.vct-hero__partner:hover {
  background: #e7efff;
  border-color: #9fbcf3;
  box-shadow: 0 10px 22px -14px rgba(29, 78, 216, 0.6);
  translate: 0 -1px;
}

.vct-hero__partner:hover span { transform: translateX(3px); }

.vct-hero__facts { font-size: 0.93rem; font-weight: 600; color: var(--vct-text); }

.vct-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

/* ----- Hai tấm thẻ: tên cũ → tên mới ----- */
.vct-evo {
  position: relative;
  perspective: 1400px;
  min-height: 520px;
}

.vct-evo__stage {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transform: rotateX(calc(5deg + var(--rx, 0deg))) rotateY(calc(-11deg + var(--ry, 0deg)));
  transition: transform 0.6s var(--vct-ease);
}

.vct-evo__card {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-radius: 22px;
  padding: 22px 24px 24px;
  text-align: left;
  transition: translate 0.35s var(--vct-ease), box-shadow 0.35s var(--vct-ease);
}

.vct-evo__card--old {
  --base: translateZ(-50px) rotate(-4deg);
  top: 4px;
  left: 0;
  width: 290px;
  background: #ffffff;
  border: 1px solid var(--vct-line);
  box-shadow: 0 24px 50px -30px rgba(15, 23, 42, 0.35);
  transform: var(--base);
}

.vct-evo__card--new {
  --base: translateZ(40px) rotate(2deg);
  top: 214px;
  right: 0;
  width: min(360px, 80%);
  color: #ffffff;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(255, 255, 255, 0.16), transparent 55%),
    linear-gradient(145deg, #2b63e6 0%, var(--vct-blue) 45%, var(--vct-blue-d) 100%);
  box-shadow: 0 50px 90px -40px rgba(19, 60, 159, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.12) inset;
  transform: var(--base);
}

.vct-evo__card:hover { translate: 0 -5px; }
.vct-evo__card--new:hover { box-shadow: 0 60px 100px -40px rgba(19, 60, 159, 0.78), 0 0 0 1px rgba(255, 255, 255, 0.16) inset; }

.vct-evo__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.vct-evo__ico {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
}

.vct-evo__ico svg { width: 24px; height: 24px; }
.vct-evo__ico--amber { background: #fff4d6; color: #b45309; }
.vct-evo__ico--blue { background: rgba(255, 255, 255, 0.16); color: #ffffff; }

.vct-evo__year {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--vct-muted);
}

.vct-evo__card--new .vct-evo__year { color: rgba(255, 255, 255, 0.8); }

.vct-evo__name {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--vct-ink);
}

.vct-evo__card--new .vct-evo__name { font-size: 1.9rem; color: #ffffff; letter-spacing: 0.01em; }

.vct-evo__sub {
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--vct-muted);
}

.vct-evo__card--new .vct-evo__sub { color: rgba(255, 255, 255, 0.85); }

.vct-evo__line {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed #d8e0ec;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--vct-text);
}

.vct-evo__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }

.vct-evo__tags i {
  font-style: normal;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.vct-evo__partner {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
}

.vct-evo__partner .vct-verified {
  width: 24px;
  height: 24px;
  padding: 2px;
  border-radius: 50%;
  background: #ffffff;
}

.vct-evo__partner:hover { text-decoration: underline; text-underline-offset: 3px; }

.vct-evo__arrow {
  position: absolute;
  top: 70px;
  left: 300px;
  width: 120px;
  height: 110px;
  overflow: visible;
  fill: none;
  stroke: #6b8fe6;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform: translateZ(0);
}

.vct-evo__arrow path:first-child { stroke-dasharray: 5 7; }

/* Hero vào khung: chữ trượt lên, hai thẻ "đáp" vào vị trí, mũi tên hiện theo.
   Chỉ chạy một lần khi tải trang; fill-mode backwards để hover vẫn hoạt động. */
@media (prefers-reduced-motion: no-preference) {
  .js .vct-hero__copy > * { animation: vctUp 0.8s var(--vct-ease) backwards; }
  .js .vct-hero__copy > :nth-child(2) { animation-delay: 0.08s; }
  .js .vct-hero__copy > :nth-child(3) { animation-delay: 0.16s; }
  .js .vct-hero__copy > :nth-child(4) { animation-delay: 0.24s; }
  .js .vct-evo__card--old { animation: vctSettleOld 1s var(--vct-ease) 0.2s backwards; }
  .js .vct-evo__card--new { animation: vctSettleNew 1.1s var(--vct-ease) 0.5s backwards; }
  .js .vct-evo__arrow { animation: vctWipe 0.7s ease-out 1.05s backwards; }
}

@keyframes vctUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

@keyframes vctSettleOld {
  from { opacity: 0; transform: translate3d(-28px, 26px, -50px) rotate(-11deg); }
  to { opacity: 1; transform: var(--base); }
}

@keyframes vctSettleNew {
  from { opacity: 0; transform: translate3d(34px, 46px, 40px) rotate(7deg); }
  to { opacity: 1; transform: var(--base); }
}

@keyframes vctWipe {
  from { clip-path: inset(0 100% 0 0); }
  to { clip-path: inset(0 0 0 0); }
}

/* ==========================================================================
   2. Hành trình
   ========================================================================== */
.vct-tl {
  --gap: 20px;
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--gap);
  margin: 52px 0 0;
  padding: 0;
  list-style: none;
}

.vct-tl__item {
  position: relative;
  display: flex;
  flex-direction: column;
  padding-top: 46px;
}

/* Chấm mốc: tâm tại (26px, 16px) */
.vct-tl__dot {
  position: absolute;
  top: 8px;
  left: 18px;
  z-index: 2;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid var(--vct-blue);
  box-shadow: 0 0 0 5px rgba(29, 78, 216, 0.1);
}

.vct-tl__item--partner .vct-tl__dot {
  top: 2px;
  left: 12px;
  width: 28px;
  height: 28px;
  border: 0;
  background: linear-gradient(145deg, #2b63e6, var(--vct-blue-d));
  box-shadow: 0 0 0 6px rgba(29, 78, 216, 0.14), 0 8px 18px -6px rgba(19, 60, 159, 0.6);
  display: grid;
  place-items: center;
}

.vct-tl__item--partner .vct-tl__dot svg { width: 18px; height: 18px; }

/* Đoạn nối tới mốc kế tiếp */
.vct-tl__item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 14.5px;
  left: 26px;
  z-index: 1;
  width: calc(100% + var(--gap));
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--vct-blue), #3b6ff0);
  transform-origin: left center;
}

.vct-tl__item.is-next::after {
  background: repeating-linear-gradient(90deg, #8fb0f2 0 8px, transparent 8px 14px);
}

.vct-tl__item.is-future .vct-tl__dot {
  border-style: dashed;
  border-color: #7fa3ef;
  box-shadow: none;
}

.vct-tl__card {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 20px 20px 22px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid var(--vct-line);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.vct-tl__item--partner .vct-tl__card {
  border-color: rgba(29, 78, 216, 0.42);
  background: linear-gradient(180deg, #f3f7ff 0%, #ffffff 70%);
  box-shadow: 0 22px 44px -28px rgba(29, 78, 216, 0.55);
}

.vct-tl__date {
  display: block;
  margin-bottom: 8px;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: var(--vct-blue);
}

.vct-tl__card h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.04rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--vct-ink);
}

.vct-tl__card h3 .vct-verified {
  display: inline-block;
  width: 19px;
  height: 19px;
  margin-right: 5px;
  vertical-align: -4px;
}

.vct-tl__card p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--vct-text);
}

.vct-tl__card p a { color: var(--vct-blue); font-weight: 600; }

.vct-tl__card .vct-link { margin-top: auto; padding-top: 14px; font-size: 0.9rem; }

.vct-tl__soon {
  align-self: flex-start;
  margin-bottom: 10px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--vct-blue-d);
  background: var(--vct-blue-soft);
  border: 1px dashed #9db8f3;
}

/* Vẽ một lần: đoạn nối chạy từ mốc này sang mốc kế tiếp, chấm và thẻ hiện theo */
.js .vct-tl__item::after {
  transform: scaleX(0);
  transition: transform 0.55s cubic-bezier(0.45, 0, 0.2, 1);
  transition-delay: calc(var(--i) * 0.42s + 0.28s);
}

.js .vct-tl__dot {
  transform: scale(0);
  transition: transform 0.45s cubic-bezier(0.3, 1.5, 0.5, 1);
  transition-delay: calc(var(--i) * 0.42s);
}

.js .vct-tl__card {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.55s ease calc(var(--i) * 0.42s + 0.06s),
    transform 0.65s var(--vct-ease) calc(var(--i) * 0.42s + 0.06s),
    translate 0.3s var(--vct-ease) 0s,
    box-shadow 0.3s ease 0s,
    border-color 0.3s ease 0s;
}

.js .vct-tl.is-drawn .vct-tl__item::after { transform: scaleX(1); }
.js .vct-tl.is-drawn .vct-tl__dot { transform: scale(1); }
.js .vct-tl.is-drawn .vct-tl__card { opacity: 1; transform: none; }

.vct-tl__card:hover {
  translate: 0 -4px;
  border-color: rgba(29, 78, 216, 0.35);
  box-shadow: 0 22px 40px -26px rgba(15, 40, 100, 0.4);
}

/* ==========================================================================
   3. Hai mảng hoạt động
   ========================================================================== */
.vct-do {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.vct-do__card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: clamp(26px, 3vw, 36px);
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid var(--vct-line);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  transition: translate 0.35s var(--vct-ease), box-shadow 0.35s ease, border-color 0.35s ease;
}

.vct-do__card::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(29, 78, 216, 0.1), transparent 68%);
  pointer-events: none;
  transition: transform 0.6s var(--vct-ease);
}

.vct-do__card:hover {
  translate: 0 -5px;
  border-color: rgba(29, 78, 216, 0.3);
  box-shadow: 0 34px 60px -38px rgba(15, 40, 100, 0.45);
}

.vct-do__card:hover::before { transform: scale(1.25); }

.vct-do__ico {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: var(--vct-blue-soft);
  color: var(--vct-blue);
  transition: background 0.3s ease, color 0.3s ease;
}

.vct-do__ico svg { width: 27px; height: 27px; }
.vct-do__card:hover .vct-do__ico { background: var(--vct-blue); color: #ffffff; }

.vct-do__card h3 {
  margin: 20px 0 8px;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--vct-ink);
}

.vct-do__card > p {
  margin: 0;
  max-width: 44ch;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--vct-text);
}

/* Năm bước: thanh bước ngang, số tròn nối bằng vạch mảnh */
.vct-do__steps {
  counter-reset: vctstep;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 26px 0 0;
  padding: 16px 8px 14px;
  border-radius: 16px;
  background: var(--vct-soft);
  list-style: none;
}

.vct-do__steps li {
  counter-increment: vctstep;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 0 2px;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  color: var(--vct-ink);
}

.vct-do__steps li::before {
  content: counter(vctstep);
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #ffffff;
  border: 1.5px solid #c9d7f3;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--vct-blue);
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.vct-do__steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 13.5px;
  left: calc(50% + 16px);
  right: calc(-50% + 16px);
  height: 1.5px;
  background: #c9d7f3;
}

.vct-do__steps li:hover::before { background: var(--vct-blue); border-color: var(--vct-blue); color: #ffffff; }

.vct-do__note {
  margin: 14px 0 0;
  font-size: 0.86rem;
  color: var(--vct-muted);
}

.vct-do__facts { margin: 20px 0 0; }

.vct-do__facts div {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 12px;
  padding: 11px 0;
  border-top: 1px solid #edf1f7;
}

.vct-do__facts div:last-child { border-bottom: 1px solid #edf1f7; }
.vct-do__facts dt { font-size: 0.88rem; color: var(--vct-muted); }
.vct-do__facts dd { margin: 0; font-size: 0.93rem; font-weight: 600; color: var(--vct-ink); }
.vct-do__facts dd a { color: var(--vct-blue); }

.vct-do__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: auto;
  padding-top: 24px;
}

/* ==========================================================================
   4. Ba nguyên tắc
   ========================================================================== */
.vct-pr {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 44px;
}

.vct-pr__card {
  position: relative;
  padding: 28px 26px 30px;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid var(--vct-line);
  transition: translate 0.35s var(--vct-ease), box-shadow 0.35s ease, border-color 0.35s ease;
}

.vct-pr__card::after {
  content: "";
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(90deg, var(--vct-blue), #60a5fa);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.45s var(--vct-ease);
}

.vct-pr__card:hover {
  translate: 0 -4px;
  border-color: rgba(29, 78, 216, 0.28);
  box-shadow: 0 28px 50px -34px rgba(15, 40, 100, 0.45);
}

.vct-pr__card:hover::after { transform: scaleX(1); }

.vct-pr__n {
  display: block;
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  background: linear-gradient(180deg, #9db8f3 0%, #d6e2fb 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.vct-pr__card h3 {
  margin: 18px 0 8px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--vct-ink);
}

.vct-pr__card p { margin: 0; font-size: 0.95rem; line-height: 1.6; color: var(--vct-text); }

.js .vct-pr.reveal .vct-pr__card {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.6s ease calc(var(--i) * 0.12s),
    transform 0.7s var(--vct-ease) calc(var(--i) * 0.12s),
    translate 0.35s var(--vct-ease) 0s,
    box-shadow 0.35s ease 0s,
    border-color 0.35s ease 0s;
}

.js .vct-pr.reveal.is-visible .vct-pr__card { opacity: 1; transform: none; }

/* ==========================================================================
   5. Dải số liệu (nền xanh)
   ========================================================================== */
.vct-num { position: relative; overflow: hidden; }

.vct-num::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(50% 80% at 50% -10%, rgba(255, 255, 255, 0.14), transparent 70%),
    radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1.3px) 0 0 / 26px 26px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 90%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 90%);
}

.vct-num .container { position: relative; }

.vct-num__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 44px 0 0;
  padding: 0;
  list-style: none;
}

.vct-num__grid li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  text-align: center;
}

.vct-num__grid li + li { border-left: 1px solid rgba(255, 255, 255, 0.2); }

.vct-num__val {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5.2vw, 4.2rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
  color: #ffffff;
}

.vct-num__grid span {
  font-size: 0.98rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.84);
}

/* ==========================================================================
   6. Người sáng lập
   ========================================================================== */
.vct-fd {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}

.vct-fd__photo {
  position: relative;
  isolation: isolate;
  margin: 0;
  width: 100%;
  max-width: 460px;
  justify-self: center;
}

.vct-fd__photo::before {
  content: "";
  position: absolute;
  inset: 22px -22px -22px 22px;
  z-index: -1;
  border-radius: 30px;
  border: 2px solid rgba(29, 78, 216, 0.2);
  background: repeating-linear-gradient(135deg, rgba(29, 78, 216, 0.06) 0 2px, transparent 2px 12px);
  transition: transform 0.5s var(--vct-ease);
}

.vct-fd__photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: 0 30px 50px -30px rgba(19, 60, 159, 0.5);
  transition: translate 0.5s var(--vct-ease);
}

.vct-fd__photo:hover img { translate: -4px -4px; }
.vct-fd__photo:hover::before { transform: translate(4px, 4px); }

.vct-fd__body h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.2vw, 2.6rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--vct-ink);
}

.vct-fd__name {
  margin: 22px 0 0;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--vct-blue);
}

.vct-fd__role { margin: 4px 0 0; font-size: 0.95rem; font-weight: 600; color: var(--vct-muted); }

.vct-fd__bio {
  margin: 18px 0 0;
  max-width: 56ch;
  font-size: 1.04rem;
  line-height: 1.7;
  color: var(--vct-text);
}

.vct-fd__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 28px 0 26px;
  padding: 0;
  list-style: none;
}

.vct-fd__facts li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 14px;
  border-top: 2px solid var(--vct-line);
  transition: border-color 0.3s ease;
}

.vct-fd__facts li:hover { border-top-color: var(--vct-blue); }

.vct-fd__facts b {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--vct-ink);
}

.vct-fd__facts span { font-size: 0.88rem; line-height: 1.45; color: var(--vct-muted); }

/* ==========================================================================
   7. Khách hàng + lĩnh vực
   ========================================================================== */
.vct-cl {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin: 44px 0 0;
  padding: 0;
  list-style: none;
}

.vct-cl li {
  display: grid;
  place-items: center;
  min-height: 76px;
  padding: 10px 12px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid var(--vct-line);
  font-family: var(--font-display);
  font-size: 1.06rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-align: center;
  color: #334155;
  transition: translate 0.3s var(--vct-ease), color 0.25s ease, border-color 0.25s ease, box-shadow 0.3s ease;
}

.vct-cl li:hover {
  translate: 0 -3px;
  color: var(--vct-blue);
  border-color: rgba(29, 78, 216, 0.32);
  box-shadow: 0 18px 32px -24px rgba(15, 40, 100, 0.45);
}

.js .vct-cl.reveal li {
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.5s ease calc(var(--i) * 0.04s),
    transform 0.6s var(--vct-ease) calc(var(--i) * 0.04s),
    translate 0.3s var(--vct-ease) 0s,
    color 0.25s ease 0s,
    border-color 0.25s ease 0s,
    box-shadow 0.3s ease 0s;
}

.js .vct-cl.reveal.is-visible li { opacity: 1; transform: none; }

.vct-fields {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 18px;
  margin-top: 36px;
  text-align: center;
}

.vct-fields__lead { margin: 0; font-size: 0.92rem; font-weight: 700; color: var(--vct-ink); }

.vct-fields__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.vct-fields__list li {
  padding: 6px 13px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid var(--vct-line);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--vct-text);
}

/* ==========================================================================
   8. Thông tin doanh nghiệp + liên hệ + CTA
   ========================================================================== */
.vct-info {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 24px;
  margin-top: 44px;
}

.vct-info__card {
  padding: clamp(24px, 3vw, 32px);
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid var(--vct-line);
  transition: box-shadow 0.35s ease, border-color 0.35s ease;
}

.vct-info__card:hover { border-color: rgba(29, 78, 216, 0.25); box-shadow: 0 28px 50px -38px rgba(15, 40, 100, 0.4); }

.vct-info__card--contact {
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #f5f8ff 0%, #ffffff 100%);
  border-color: #d9e4fa;
}

.vct-info__card h3 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--vct-ink);
}

.vct-info__dl { margin: 0; }

.vct-info__dl div {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 14px;
  padding: 12px 0;
  border-top: 1px solid #edf1f7;
}

.vct-info__dl dt { font-size: 0.9rem; color: var(--vct-muted); }
.vct-info__dl dd { margin: 0; font-size: 0.97rem; font-weight: 600; line-height: 1.5; color: var(--vct-ink); }
.vct-info__dl .vct-partner-link { color: var(--vct-blue); vertical-align: -4px; }
.vct-info__dl .vct-partner-link:hover { color: var(--vct-blue-d); text-decoration: underline; text-underline-offset: 3px; }

.vct-contact {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}

.vct-contact li { display: flex; align-items: center; gap: 14px; }

.vct-contact__ico {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid #d9e4fa;
  color: var(--vct-blue);
}

.vct-contact__ico svg { width: 20px; height: 20px; }

.vct-contact li > span:last-child {
  display: flex;
  flex-direction: column;
  min-width: 0;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--vct-ink);
  overflow-wrap: break-word;
}

.vct-contact small { font-size: 0.8rem; font-weight: 500; color: var(--vct-muted); }
.vct-contact a { color: var(--vct-ink); text-decoration: none; }
.vct-contact a:hover { color: var(--vct-blue); }

.vct-contact { margin-bottom: 26px; }
.vct-info__btn { align-self: flex-start; margin-top: auto; }

.vct-closing { margin-top: 48px; }
.vct-closing .closing__actions .btn { transition: translate 0.25s var(--vct-ease), background 0.25s ease, box-shadow 0.25s ease; }
.vct-closing .closing__actions .btn:hover { translate: 0 -2px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  /* Hành trình chuyển sang trục dọc */
  .vct-tl {
    --gap: 14px;
    grid-template-columns: minmax(0, 1fr);
    max-width: 680px;
    margin-inline: auto;
  }

  .vct-tl__item { padding-top: 0; padding-left: 50px; }
  .vct-tl__dot { top: 22px; left: 6px; }
  .vct-tl__item--partner .vct-tl__dot { top: 16px; left: 0; }

  .vct-tl__item:not(:last-child)::after {
    top: 30px;
    left: 12.5px;
    width: 3px;
    height: calc(100% + var(--gap));
    background: linear-gradient(180deg, var(--vct-blue), #3b6ff0);
    transform-origin: center top;
  }

  .vct-tl__item.is-next::after {
    background: repeating-linear-gradient(180deg, #8fb0f2 0 8px, transparent 8px 14px);
  }

  .js .vct-tl__item::after { transform: scaleY(0); }
  .js .vct-tl.is-drawn .vct-tl__item::after { transform: scaleY(1); }
}

@media (max-width: 960px) {
  .vct-hero__grid { grid-template-columns: minmax(0, 1fr); }
  .vct-hero__copy { text-align: center; }
  .vct-hero__lead { margin-inline: auto; }
  .vct-hero__cred, .vct-hero__actions { justify-content: center; }
  .vct-evo { min-height: 520px; max-width: 560px; width: 100%; margin: 8px auto 0; }

  .vct-do, .vct-info { grid-template-columns: minmax(0, 1fr); }
  .vct-pr { grid-template-columns: minmax(0, 1fr); max-width: 620px; margin-inline: auto; }

  .vct-num__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .vct-num__grid li + li { border-left: 0; }
  .vct-num__grid li:nth-child(even) { border-left: 1px solid rgba(255, 255, 255, 0.2); }

  .vct-fd { grid-template-columns: minmax(0, 1fr); }
  .vct-fd__photo { max-width: 380px; }
  .vct-fd__body { text-align: center; }
  .vct-fd__bio { margin-inline: auto; }
  .vct-fd__facts li { align-items: center; }

  .vct-cl { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .vct-hero__cred { flex-direction: column; gap: 10px; }
  .vct-hero__actions .btn { width: 100%; justify-content: center; }
  .vct-evo { min-height: 466px; }
  .vct-evo__card { padding: 18px 18px 20px; }
  .vct-evo__card--old { width: 244px; }
  .vct-evo__card--new { top: 196px; width: min(300px, 88%); }
  .vct-evo__card--new .vct-evo__name { font-size: 1.6rem; }
  .vct-evo__name { font-size: 1.08rem; }
  .vct-evo__arrow { top: 60px; left: 246px; width: 76px; height: 116px; }

  .vct-tl__item { padding-left: 44px; }
  .vct-tl__card { padding: 16px 16px 18px; }

  .vct-do__facts div, .vct-info__dl div { grid-template-columns: minmax(0, 1fr); gap: 2px; }

  /* Năm bước: chuyển sang trục dọc cho màn hẹp */
  .vct-do__steps { grid-template-columns: minmax(0, 1fr); row-gap: 10px; padding: 16px 18px; }
  .vct-do__steps li { flex-direction: row; gap: 12px; font-size: 0.9rem; text-align: left; }
  .vct-do__steps li:not(:last-child)::after { top: 28px; bottom: -10px; left: 15.25px; right: auto; width: 1.5px; height: auto; }

  .vct-fd__facts { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .vct-fd__photo::before { inset: 14px -12px -14px 12px; }

  .vct-cl { gap: 8px; }
  .vct-cl li { min-height: 60px; padding: 8px 6px; font-size: 0.86rem; border-radius: 12px; }

  .vct-num__val { font-size: 2.5rem; }
  .vct-num__grid span { font-size: 0.88rem; }

  .vct-info__btn { align-self: stretch; }
  .vct-info__card { padding: 22px 20px; }
  .vct-contact li { gap: 12px; }
  .vct-contact__ico { width: 38px; height: 38px; border-radius: 11px; }
  .vct-contact li > span:last-child { font-size: 0.92rem; }
}

/* Vòng 98 (rà soát chéo): mọi cụm "đối tác chính thức của NocoBase" đều dẫn tới nocobase-partner.html */
.vct-tl__plink { color: inherit; text-decoration: none; transition: color 0.2s ease; }
.vct-tl__plink:hover { color: var(--vct-blue); }
.vct-inline-link {
  color: var(--vct-blue);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(29, 78, 216, 0.35);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}
.vct-inline-link:hover { color: var(--vct-blue-d); text-decoration-color: currentColor; }
.vct-tl__plink:focus-visible, .vct-inline-link:focus-visible { outline: 2px solid var(--vct-blue); outline-offset: 2px; border-radius: 4px; }

/* ==========================================================================
   Vòng 109 — anh Hòa: phần "Hai mảng hoạt động" (#hoat-dong) nền xanh royal,
   hai thẻ giữ nền trắng để nổi trên nền xanh; tiêu đề + đoạn dẫn chữ trắng.
   ========================================================================== */
/* the theme forces `section.tone-w { background: #fff !important }` → override with a more specific !important */
main > section#hoat-dong.vct-sec.tone-w {
  background: linear-gradient(180deg, #1e4fd6 0%, #133c9f 100%) !important;
  color: #ffffff;
}
#hoat-dong .vct-head h2 { color: #ffffff; }
#hoat-dong .vct-head p { color: rgba(255, 255, 255, 0.88); }
#hoat-dong .vct-do__card {
  background: #ffffff;
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: 0 30px 60px -34px rgba(4, 16, 60, 0.55), 0 2px 0 rgba(255, 255, 255, 0.35) inset;
}
@media (hover: hover) and (pointer: fine) {
  #hoat-dong .vct-do__card:hover { box-shadow: 0 36px 70px -34px rgba(4, 16, 60, 0.65); border-color: #bfdbfe; }
}
#hoat-dong .vct-link:focus-visible, #hoat-dong a:focus-visible { outline-color: #1d4ed8; }

/* ==========================================================================
   Vòng 108 — rà soát trước khi mở trang
   ========================================================================== */
/* Ghi chú dưới năm bước: ".vct-do__card > p" (0,1,1) đè mất lề trên, cỡ và màu của ghi chú */
.vct-do__card > p.vct-do__note { margin: 14px 0 0; font-size: 0.86rem; color: var(--vct-muted); }
/* Số 01–03 của "Ba nguyên tắc": gradient bắt đầu từ xanh royal để đạt ≥ 3:1 (chữ lớn) */
.vct-pr__n { background: linear-gradient(180deg, #1d4ed8 0%, #3b82f6 100%); -webkit-background-clip: text; background-clip: text; }
/* ≤ 960px: ba thẻ nguyên tắc rộng bằng các thẻ ở section trên và dưới */
@media (max-width: 960px) {
  .vct-pr { max-width: none; margin-inline: 0; }
}
/* Nhãn số liệu và câu dẫn thẻ CTA: không để một âm tiết lẻ dòng */
.vct-num__grid span, .vct-closing p { text-wrap: balance; }
/* 961–1100px: nhãn bước "Vận hành thử" không tách dòng giữa cụm từ */
@media (min-width: 961px) and (max-width: 1100px) {
  .vct-do__steps li { white-space: nowrap; letter-spacing: -0.01em; font-size: 0.75rem; }
}
