/* =========================================================================
 * Khóa học Dựng hình BIM — BIM Modeler
 * Toàn bộ selector nằm dưới .vdt-bim-modeler-page nên không ảnh hưởng trang khác.
 *
 * NGÔN NGỮ THỊ GIÁC ("Digital Construction Lab"):
 *  - Page Manager = lưới blueprint đều; page Coordinator = lớp chồng + đường nối.
 *  - Page Modeler = BẢN VẼ KỸ THUẬT ĐANG ĐƯỢC DỰNG: lưới trục mảnh, các lớp mô hình
 *    Kiến trúc (cyan) · Kết cấu (gold) · MEP (blue) tách rời, mã bộ môn A/S/M.
 *
 * QUY ƯỚC:
 *  - Cỡ chữ tiêu đề kế thừa theme (--vdt-fs-*); chỉ đổi màu/khoảng cách.
 *  - Chỉ dùng font-weight 400/600/700 (weight lẻ bị render thành Segoe UI Black).
 *  - `body.vdt-page h1..h6` = (0,1,2) nên rule màu tiêu đề phải có tiền tố
 *    .vdt-bim-modeler-page để thắng.
 * ========================================================================= */

.vdt-bim-modeler-page {
  --bmm-navy: #0b1f3a;
  --bmm-navy-deep: #06162b;
  --bmm-blue: #1e5bff;
  --bmm-blue-ink: #1442c8;
  --bmm-cyan: #00b8d9;
  --bmm-cyan-ink: #05677a;
  --bmm-cyan-soft: #e3f6fb;
  --bmm-gold: #f5b842;
  --bmm-gold-ink: #7a5405;
  --bmm-gold-soft: #fdf3dd;
  --bmm-mep: #7ea6ff;
  --bmm-soft: #f3f7fc;
  --bmm-ink: #172033;
  --bmm-muted: #56617a;
  --bmm-line: #dbe4f0;
  --bmm-radius: 20px;
  --bmm-radius-sm: 14px;
  --bmm-shadow: 0 18px 46px rgba(11, 31, 58, .08);
  --bmm-shadow-sm: 0 8px 22px rgba(11, 31, 58, .06);
  --bmm-grid-line: rgba(0, 184, 217, .09);
  --bmm-toc-top: 0px;
}

/* ------------------------------------------------------------------ Base */

.vdt-bmm-main {
  background: #fff;
  color: var(--bmm-ink);
  overflow-x: clip;
}

.vdt-bim-modeler-page .vdt-bmm-main p {
  margin: 0 0 14px;
  color: var(--bmm-ink);
}

.vdt-bim-modeler-page .vdt-bmm-main p:last-child { margin-bottom: 0; }

.vdt-bim-modeler-page .vdt-bmm-main a { color: var(--bmm-blue-ink); }
.vdt-bim-modeler-page .vdt-bmm-main a:hover { color: var(--bmm-navy); }

.vdt-bim-modeler-page .vdt-bmm-main h2,
.vdt-bim-modeler-page .vdt-bmm-main h3 { color: var(--bmm-navy); }

.vdt-bim-modeler-page .vdt-bmm-main ul,
.vdt-bim-modeler-page .vdt-bmm-main ol { margin: 0; padding: 0; list-style: none; }

.vdt-bmm-main a:focus-visible,
.vdt-bmm-main button:focus-visible,
.vdt-bmm-main input:focus-visible,
.vdt-bmm-main select:focus-visible,
.vdt-bmm-main textarea:focus-visible,
.vdt-bmm-sticky a:focus-visible {
  outline: 3px solid var(--bmm-cyan);
  outline-offset: 2px;
  border-radius: 6px;
}

.vdt-bmm-narrow { max-width: 900px; }

/* Fade-up dùng cơ chế chung của theme (main.css + main.js thêm .vdt-is-visible);
 * JS trang có lưới an toàn để nội dung không bao giờ kẹt ở opacity 0. */

/* ------------------------------------------------------------ Breadcrumb */

.vdt-bmm-breadcrumb {
  background: var(--bmm-navy-deep);
  font-size: 14px;
  line-height: 1.5;
}

.vdt-bmm-breadcrumb .vdt-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  padding-top: 12px;
  padding-bottom: 12px;
  color: rgba(255, 255, 255, .72);
}

.vdt-bim-modeler-page .vdt-bmm-breadcrumb a { color: rgba(255, 255, 255, .86); text-decoration: none; }
.vdt-bim-modeler-page .vdt-bmm-breadcrumb a:hover { color: #fff; text-decoration: underline; }
.vdt-bmm-breadcrumb [aria-current="page"] { color: #fff; font-weight: 600; }

/* ------------------------------------------------------------------ Hero */

.vdt-bmm-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 72px 0 112px;
  color: #fff;
  background:
    radial-gradient(900px 480px at 85% 20%, rgba(0, 184, 217, .20), transparent 60%),
    radial-gradient(700px 420px at 0% 100%, rgba(30, 91, 255, .22), transparent 60%),
    linear-gradient(160deg, var(--bmm-navy) 0%, var(--bmm-navy-deep) 70%);
}

.vdt-bmm-hero__photo {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vdt-bmm-hero.has-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, rgba(6, 22, 43, .94) 0%, rgba(6, 22, 43, .82) 48%, rgba(6, 22, 43, .55) 100%);
}

/* Lưới trục mảnh kiểu bản vẽ, mờ dần về phía dưới. */
.vdt-bmm-hero__grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(var(--bmm-grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--bmm-grid-line) 1px, transparent 1px);
  background-size: 36px 36px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .35) 80%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .35) 80%, transparent 100%);
  animation: vdt-bmm-grid-drift 14s ease-out 1 both;
}

@keyframes vdt-bmm-grid-drift {
  from { background-position: -36px -36px; }
  to { background-position: 0 0; }
}

/* Mô hình 3 lớp (Kiến trúc/Kết cấu/MEP) — trang trí, nằm sau card tuyển sinh. */
.vdt-bmm-hero__model {
  position: absolute;
  z-index: -1;
  right: max(-40px, calc((100vw - 1200px) / 2 - 120px));
  bottom: -30px;
  width: min(560px, 52vw);
  height: auto;
  opacity: .5;
  pointer-events: none;
}

.vdt-bmm-layer {
  fill: none;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  animation: vdt-bmm-layer-in .9s ease-out both;
}

.vdt-bmm-layer path:first-child { fill: currentColor; fill-opacity: .06; }
.vdt-bmm-layer circle { fill: currentColor; stroke: none; }
.vdt-bmm-layer--mep { color: var(--bmm-mep); stroke: var(--bmm-mep); animation-delay: .1s; }
.vdt-bmm-layer--str { color: var(--bmm-gold); stroke: var(--bmm-gold); animation-delay: .3s; }
.vdt-bmm-layer--arc { color: var(--bmm-cyan); stroke: var(--bmm-cyan); animation-delay: .5s; }

@keyframes vdt-bmm-layer-in {
  from { opacity: 0; transform: translateY(-22px); }
  to { opacity: 1; transform: none; }
}

.vdt-bmm-hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: 48px;
  align-items: center;
}

.vdt-bmm-hero__content { min-width: 0; }

.vdt-bim-modeler-page .vdt-bmm-hero .vdt-bmm-badge {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  margin: 0 0 18px;
  padding: 7px 14px;
  border: 1px solid rgba(0, 184, 217, .45);
  border-radius: 999px;
  background: rgba(0, 184, 217, .12);
  color: #bdf3ff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1.4;
}

.vdt-bim-modeler-page .vdt-bmm-hero h1 {
  margin: 0 0 18px;
  color: #fff;
  overflow-wrap: break-word;
}

.vdt-bim-modeler-page .vdt-bmm-hero .vdt-bmm-hero__lead {
  max-width: 640px;
  margin: 0 0 22px;
  color: rgba(255, 255, 255, .88);
}

.vdt-bmm-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px !important;
}

.vdt-bmm-tags li {
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 8px;
  background: rgba(255, 255, 255, .06);
  color: rgba(255, 255, 255, .92);
  font-size: 14px;
  line-height: 1.4;
}

.vdt-bmm-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.vdt-bim-modeler-page .vdt-bmm-hero .vdt-bmm-hero__trust {
  margin: 20px 0 0;
  padding-left: 14px;
  border-left: 3px solid var(--bmm-gold);
  color: rgba(255, 255, 255, .78);
  font-size: 15px;
}

.vdt-bmm-hero__panel { min-width: 0; display: flex; justify-content: flex-end; }

/* Card do plugin render: bỏ fade-up mặc định để không trễ nội dung đầu trang. */
.vdt-bmm-hero__panel .vdt-tm-hero-card { opacity: 1 !important; transform: none !important; }

/* Rule `a` chung (0,2,1) của trang đè màu link trong card plugin -> trả lại. */
.vdt-bim-modeler-page .vdt-bmm-main .vdt-tm-hero-card a { color: rgba(255, 255, 255, .9); }
.vdt-bim-modeler-page .vdt-bmm-main .vdt-tm-hero-card a:hover { color: #fff; }
.vdt-bim-modeler-page .vdt-bmm-main .vdt-tm-hero-card a.vdt-tm-hero-primary { color: #0b1f3a; }
.vdt-bim-modeler-page .vdt-bmm-main .vdt-tm-hero-card a.vdt-tm-hero-class__select { color: #ffe7a3; }
.vdt-bim-modeler-page .vdt-bmm-main .vdt-tm-hero-card p { color: rgba(255, 255, 255, .8); }

/* Card dự phòng khi plugin chưa bật / chưa có khóa. */
.vdt-bmm-fallback-card {
  width: min(100%, 520px);
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(7, 19, 35, .9), rgba(12, 47, 72, .72));
  box-shadow: 0 28px 70px rgba(0, 0, 0, .3);
}

.vdt-bim-modeler-page .vdt-bmm-fallback-card .vdt-bmm-fallback-card__eyebrow {
  margin: 0 0 16px;
  color: #bdf3ff;
  font-size: 13px;
  font-weight: 700;
}

.vdt-bmm-fallback-card dl { display: grid; gap: 10px; margin: 0 0 20px; }
.vdt-bmm-fallback-card dl div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.vdt-bmm-fallback-card dt { color: rgba(255, 255, 255, .7); font-size: 14px; }
.vdt-bmm-fallback-card dd { margin: 0; color: #fff; font-weight: 600; }

/* --------------------------------------------------------------- Buttons */

.vdt-bim-modeler-page .vdt-bmm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease;
}

.vdt-bmm-btn svg { width: 18px; height: 18px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.vdt-bim-modeler-page .vdt-bmm-main a.vdt-bmm-btn--primary {
  background: var(--bmm-gold);
  color: var(--bmm-navy);
  box-shadow: 0 12px 28px rgba(245, 184, 66, .32);
}

.vdt-bim-modeler-page .vdt-bmm-main a.vdt-bmm-btn--primary:hover {
  background: #ffc75a;
  color: var(--bmm-navy);
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(245, 184, 66, .42);
}

.vdt-bim-modeler-page .vdt-bmm-main a.vdt-bmm-btn--ghost {
  border-color: rgba(255, 255, 255, .36);
  background: rgba(255, 255, 255, .06);
  color: #fff;
}

.vdt-bim-modeler-page .vdt-bmm-main a.vdt-bmm-btn--ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, .14);
  color: #fff;
}

/* Nút ghost trên nền sáng. */
.vdt-bim-modeler-page .vdt-bmm-section:not(.vdt-bmm-section--dark):not(.vdt-bmm-section--final) a.vdt-bmm-btn--ghost {
  border-color: var(--bmm-line);
  background: #fff;
  color: var(--bmm-navy);
}

/* ------------------------------------------------------------ Quick info */

.vdt-bmm-quick {
  position: relative;
  z-index: 2;
  margin-top: -64px;
}

.vdt-bmm-quick__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  border: 1px solid var(--bmm-line);
  border-radius: var(--bmm-radius);
  background: #fff;
  box-shadow: var(--bmm-shadow);
  overflow: hidden;
}

.vdt-bmm-quick__item {
  min-width: 0;
  padding: 20px 22px;
  border-right: 1px solid var(--bmm-line);
}

.vdt-bmm-quick__item:last-child { border-right: 0; }

.vdt-bmm-quick__item dt {
  margin-bottom: 4px;
  color: var(--bmm-cyan-ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.vdt-bmm-quick__item dd {
  margin: 0;
  color: var(--bmm-navy);
  font-weight: 600;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

/* ------------------------------------------------------------------ TOC */

.vdt-bmm-toc {
  position: sticky;
  top: var(--bmm-toc-top);
  z-index: 30;
  margin-top: 28px;
  border-top: 1px solid var(--bmm-line);
  border-bottom: 1px solid var(--bmm-line);
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(12px);
}

.vdt-bmm-toc ul {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}

.vdt-bmm-toc ul::-webkit-scrollbar { display: none; }

.vdt-bim-modeler-page .vdt-bmm-toc a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 14px;
  border-bottom: 3px solid transparent;
  color: var(--bmm-muted);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.vdt-bim-modeler-page .vdt-bmm-toc a:hover,
.vdt-bim-modeler-page .vdt-bmm-toc a.is-active {
  border-bottom-color: var(--bmm-cyan);
  color: var(--bmm-navy);
}

/* -------------------------------------------------------------- Sections */

.vdt-bmm-section {
  padding: 88px 0;
  scroll-margin-top: 72px;
}

.vdt-bmm-section--soft {
  background:
    linear-gradient(var(--bmm-grid-line) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(90deg, var(--bmm-grid-line) 1px, transparent 1px) 0 0 / 48px 48px,
    var(--bmm-soft);
}

.vdt-bmm-section--dark {
  background:
    radial-gradient(700px 360px at 100% 0%, rgba(0, 184, 217, .16), transparent 60%),
    linear-gradient(160deg, var(--bmm-navy), var(--bmm-navy-deep));
  color: #fff;
}

.vdt-bmm-heading { max-width: 780px; margin-bottom: 36px; }
.vdt-bmm-heading--center { margin-right: auto; margin-left: auto; text-align: center; }

.vdt-bim-modeler-page .vdt-bmm-heading h2 { margin: 0 0 12px; }
.vdt-bim-modeler-page .vdt-bmm-heading p { color: var(--bmm-muted); }

.vdt-bmm-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--bmm-cyan-ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.vdt-bmm-label::before {
  content: "";
  width: 22px;
  height: 2px;
  background: currentColor;
}

.vdt-bmm-heading--center .vdt-bmm-label::after {
  content: "";
  width: 22px;
  height: 2px;
  background: currentColor;
}

.vdt-bim-modeler-page .vdt-bmm-heading--invert h2 { color: #fff; }
.vdt-bim-modeler-page .vdt-bmm-heading--invert p { color: rgba(255, 255, 255, .8); }
.vdt-bmm-heading--invert .vdt-bmm-label { color: #7fe3f5; }

.vdt-bmm-split {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 48px;
  align-items: start;
}

.vdt-bmm-split--media { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; margin-bottom: 36px; }

.vdt-bim-modeler-page .vdt-bmm-prose p { font-size: 17px; }

.vdt-bim-modeler-page .vdt-bmm-main .vdt-bmm-more {
  margin-top: 16px;
  color: var(--bmm-muted);
  font-size: 15px;
}

/* Callout */
.vdt-bmm-callout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  margin-top: 32px;
  padding: 20px 24px;
  border: 1px solid var(--bmm-line);
  border-left: 4px solid var(--bmm-cyan);
  border-radius: var(--bmm-radius-sm);
  background: #fff;
}

.vdt-bmm-callout p { flex: 1 1 420px; }
.vdt-bmm-callout--note { border-left-color: var(--bmm-gold); background: var(--bmm-gold-soft); }
.vdt-bim-modeler-page .vdt-bmm-callout--note p { color: #3d2f0c; }

/* ------------------------------------------------------------ Flow (02) */

.vdt-bmm-flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 14px;
  margin-top: 48px !important;
}

/* Đường chạy dọc các bước: "progress/flow line". */
.vdt-bmm-flow::before {
  content: "";
  position: absolute;
  top: 22px;
  right: 7%;
  left: 7%;
  height: 2px;
  background: linear-gradient(90deg, var(--bmm-cyan), var(--bmm-blue) 60%, var(--bmm-gold));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1.4s ease-out;
}

.vdt-bmm-flow.is-visible::before { transform: scaleX(1); }

.vdt-bmm-flow__item { position: relative; min-width: 0; text-align: center; }

.vdt-bmm-flow__no {
  position: relative;
  z-index: 1;
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 12px;
  border: 2px solid var(--bmm-cyan);
  border-radius: 50%;
  background: #fff;
  color: var(--bmm-navy);
  font-weight: 700;
}

.vdt-bmm-flow__item:last-child .vdt-bmm-flow__no { border-color: var(--bmm-gold); background: var(--bmm-gold-soft); }

.vdt-bmm-flow__code {
  display: block;
  margin-bottom: 4px;
  color: var(--bmm-cyan-ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  overflow-wrap: anywhere;
}

.vdt-bim-modeler-page .vdt-bmm-flow h3 { margin: 0 0 6px; font-size: 16px; line-height: 1.35; }
.vdt-bim-modeler-page .vdt-bmm-flow p { color: var(--bmm-muted); font-size: 14px; line-height: 1.55; }

/* ----------------------------------------------------------- Roles (03) */

.vdt-bmm-roles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  counter-reset: bmm-role;
}

.vdt-bmm-role {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 28px;
  border: 1px solid var(--bmm-line);
  border-radius: var(--bmm-radius);
  background: #fff;
  box-shadow: var(--bmm-shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}

.vdt-bmm-role:hover { transform: translateY(-4px); box-shadow: var(--bmm-shadow); }

.vdt-bmm-role.is-current {
  border-color: var(--bmm-cyan);
  box-shadow: 0 0 0 3px rgba(0, 184, 217, .14), var(--bmm-shadow);
}

.vdt-bmm-role__badge {
  align-self: flex-start;
  margin-bottom: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--bmm-cyan-soft);
  color: var(--bmm-cyan-ink);
  font-size: 13px;
  font-weight: 700;
}

.vdt-bim-modeler-page .vdt-bmm-role h3 { margin: 0 0 4px; }
.vdt-bim-modeler-page .vdt-bmm-role .vdt-bmm-role__focus { margin-bottom: 16px; color: var(--bmm-cyan-ink); font-weight: 600; }

.vdt-bmm-role ul { display: grid; gap: 8px; margin-bottom: 16px !important; }

.vdt-bmm-role li,
.vdt-bmm-axis li,
.vdt-bmm-module__panel li {
  position: relative;
  padding-left: 22px;
}

.vdt-bmm-role li::before,
.vdt-bmm-axis li::before,
.vdt-bmm-module__panel li::before {
  content: "";
  position: absolute;
  top: .68em;
  left: 2px;
  width: 9px;
  height: 9px;
  border: 2px solid var(--bmm-cyan);
  transform: rotate(45deg);
}

.vdt-bim-modeler-page .vdt-bmm-role .vdt-bmm-role__scope {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed var(--bmm-line);
  color: var(--bmm-muted);
  font-size: 15px;
}

.vdt-bim-modeler-page .vdt-bmm-main a.vdt-bmm-role__link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  margin-top: 8px;
  font-weight: 600;
}

/* -------------------------------------------------------------- Cards */

.vdt-bmm-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 18px;
}

.vdt-bmm-card {
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--bmm-line);
  border-radius: var(--bmm-radius-sm);
  background: #fff;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.vdt-bmm-card:hover { transform: translateY(-3px); border-color: rgba(0, 184, 217, .5); box-shadow: var(--bmm-shadow-sm); }

.vdt-bim-modeler-page .vdt-bmm-card h3 { margin: 0 0 8px; font-size: 18px; line-height: 1.4; }
.vdt-bim-modeler-page .vdt-bmm-card p { color: var(--bmm-muted); font-size: 15px; }

.vdt-bmm-cards--tools { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* ------------------------------------------------------- Benefits (dark) */

.vdt-bmm-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.vdt-bmm-benefit {
  min-width: 0;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--bmm-radius-sm);
  background: rgba(255, 255, 255, .04);
  transition: border-color .25s ease, background-color .25s ease;
}

.vdt-bmm-benefit:hover { border-color: rgba(0, 184, 217, .5); background: rgba(0, 184, 217, .07); }

.vdt-bmm-benefit__no { display: block; margin-bottom: 10px; color: var(--bmm-gold); font-weight: 700; }

.vdt-bim-modeler-page .vdt-bmm-section--dark h3 { margin: 0 0 8px; color: #fff; font-size: 18px; line-height: 1.4; }
.vdt-bim-modeler-page .vdt-bmm-section--dark p { color: rgba(255, 255, 255, .78); }
.vdt-bim-modeler-page .vdt-bmm-section--dark .vdt-bmm-benefit p { font-size: 15px; }

/* ------------------------------------------------------------ Axes (06) */

.vdt-bmm-axes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.vdt-bmm-axis {
  --axis: var(--bmm-cyan);
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--bmm-line);
  border-radius: var(--bmm-radius);
  background: #fff;
  box-shadow: var(--bmm-shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}

.vdt-bmm-axis--struct { --axis: var(--bmm-gold); }
.vdt-bmm-axis--mep { --axis: var(--bmm-blue); }

.vdt-bmm-axis:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px var(--axis), var(--bmm-shadow); }

.vdt-bmm-axis__media {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background:
    linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(150deg, var(--bmm-navy), var(--bmm-navy-deep));
}

.vdt-bmm-axis__media img { width: 100%; height: 100%; object-fit: cover; }

.vdt-bmm-axis__media figcaption {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(6, 22, 43, .75);
  color: #fff;
  font-size: 12px;
}

.vdt-bmm-axis__svg {
  position: absolute;
  inset: 12% 8%;
  width: 84%;
  height: 76%;
  fill: none;
  stroke: var(--axis);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.vdt-bmm-axis__svg path:first-child { fill: var(--axis); fill-opacity: .08; }
.vdt-bmm-axis__svg circle { fill: var(--axis); fill-opacity: .25; }

.vdt-bmm-axis__code {
  position: absolute;
  top: 14px;
  left: 14px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--axis);
  border-radius: 10px;
  background: rgba(6, 22, 43, .6);
  color: #fff;
  font-weight: 700;
}

.vdt-bmm-axis__body { padding: 24px; }

.vdt-bmm-axis__label { color: var(--bmm-muted); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.vdt-bim-modeler-page .vdt-bmm-axis h3 { margin: 4px 0 14px; }
.vdt-bmm-axis ul { display: grid; gap: 8px; }
.vdt-bmm-axis li::before { border-color: var(--axis); }

/* ---------------------------------------------------- Modules accordion */

.vdt-bmm-modules { display: grid; gap: 12px; counter-reset: none; }

.vdt-bmm-module {
  border: 1px solid var(--bmm-line);
  border-radius: var(--bmm-radius-sm);
  background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.vdt-bmm-module.is-open { border-color: rgba(0, 184, 217, .6); box-shadow: var(--bmm-shadow-sm); }

.vdt-bim-modeler-page .vdt-bmm-module .vdt-bmm-module__head { margin: 0; font-size: inherit; line-height: inherit; }

.vdt-bmm-module__toggle,
.vdt-bmm-faq__q button {
  display: grid;
  width: 100%;
  min-height: 56px;
  align-items: center;
  border: 0;
  background: transparent;
  color: var(--bmm-navy);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.vdt-bmm-module__toggle {
  grid-template-columns: auto minmax(0, 1fr) auto 24px;
  gap: 8px 16px;
  padding: 16px 20px;
}

.vdt-bmm-module__no {
  padding: 4px 10px;
  border-radius: 8px;
  background: var(--bmm-navy);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.vdt-bmm-module__title { font-size: 17px; font-weight: 700; line-height: 1.4; }
.vdt-bmm-module__tags { display: flex; flex-wrap: wrap; gap: 6px; }

.vdt-bmm-chip {
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--bmm-cyan-soft);
  color: var(--bmm-cyan-ink);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.vdt-bmm-chip--practice { background: var(--bmm-gold-soft); color: var(--bmm-gold-ink); }

.vdt-bmm-module__toggle svg,
.vdt-bmm-faq__q svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .25s ease;
}

.vdt-bmm-module__toggle[aria-expanded="true"] svg,
.vdt-bmm-faq__q button[aria-expanded="true"] svg { transform: rotate(180deg); }

.vdt-bmm-module__panel { padding: 0 20px 20px 20px; }
.vdt-bmm-module__panel[hidden],
.vdt-bmm-faq__a[hidden] { display: none; }
.vdt-bmm-module__panel ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 24px; padding-top: 14px !important; border-top: 1px dashed var(--bmm-line); }

/* ------------------------------------------------------- Timeline (08) */

.vdt-bmm-timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.vdt-bmm-timeline__item {
  position: relative;
  min-width: 0;
  padding: 22px 22px 22px 22px;
  border: 1px solid var(--bmm-line);
  border-top: 3px solid var(--bmm-cyan);
  border-radius: var(--bmm-radius-sm);
  background: #fff;
}

.vdt-bmm-timeline__item:nth-child(n+5) { border-top-color: var(--bmm-blue); }
.vdt-bmm-timeline__item:last-child { border-top-color: var(--bmm-gold); }

.vdt-bmm-timeline__no { display: block; margin-bottom: 8px; color: var(--bmm-cyan-ink); font-size: 14px; font-weight: 700; letter-spacing: .06em; }
.vdt-bim-modeler-page .vdt-bmm-timeline h3 { margin: 0 0 6px; font-size: 17px; }
.vdt-bim-modeler-page .vdt-bmm-timeline p { color: var(--bmm-muted); font-size: 15px; }

/* --------------------------------------------------------- Stages (09) */

.vdt-bmm-stages {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.vdt-bmm-stage {
  position: relative;
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--bmm-line);
  border-radius: var(--bmm-radius-sm);
  background: #fff;
}

.vdt-bmm-stage__lod {
  display: inline-block;
  margin-bottom: 10px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--bmm-navy);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.vdt-bim-modeler-page .vdt-bmm-stage h3 { margin: 0 0 8px; font-size: 17px; }
.vdt-bim-modeler-page .vdt-bmm-stage p { color: var(--bmm-muted); font-size: 15px; }

.vdt-bmm-figure { margin: 0; overflow: hidden; border-radius: var(--bmm-radius); box-shadow: var(--bmm-shadow); }
.vdt-bmm-figure img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.vdt-bmm-figure figcaption { padding: 10px 14px; background: #fff; color: var(--bmm-muted); font-size: 13px; }

.vdt-bmm-duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 32px; }

/* ------------------------------------------------------------- QA (10) */

.vdt-bmm-qa {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.vdt-bmm-qa__item {
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--bmm-line);
  border-radius: var(--bmm-radius-sm);
  background: #fff;
}

.vdt-bmm-qa__item.is-current { border-color: var(--bmm-cyan); background: linear-gradient(180deg, var(--bmm-cyan-soft), #fff 70%); }
.vdt-bmm-qa__no { color: var(--bmm-navy); font-size: 28px; font-weight: 700; line-height: 1; }
.vdt-bmm-qa__who { display: block; margin: 10px 0 4px; color: var(--bmm-cyan-ink); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.vdt-bim-modeler-page .vdt-bmm-qa h3 { margin: 0 0 8px; font-size: 17px; }
.vdt-bim-modeler-page .vdt-bmm-qa p { color: var(--bmm-muted); font-size: 15px; }

/* ------------------------------------------------------ Admission (13) */

.vdt-bmm-admission {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--bmm-line);
  border-radius: var(--bmm-radius);
  background: #fff;
}

.vdt-bmm-admission__row {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 12px;
  padding: 16px 22px;
  border-bottom: 1px solid var(--bmm-line);
}

.vdt-bmm-admission__row:nth-child(odd) { border-right: 1px solid var(--bmm-line); }
.vdt-bmm-admission dt { color: var(--bmm-muted); font-weight: 600; }
.vdt-bmm-admission dd { margin: 0; color: var(--bmm-navy); font-weight: 600; overflow-wrap: anywhere; }

.vdt-bim-modeler-page .vdt-bmm-main .vdt-bmm-admission__note { margin-top: 18px; color: var(--bmm-muted); }

/* ----------------------------------------------------------- Cert (14) */

/* Nền ấm nhẹ + quầng vàng sau ảnh: gợi chất liệu giấy chứng nhận, vẫn cùng brand. */
.vdt-bmm-section--cert {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(620px 420px at 78% 50%, rgba(245, 184, 66, .16), transparent 70%),
    linear-gradient(180deg, #fff 0%, #fffaf0 100%);
}

.vdt-bmm-cert {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  max-width: 880px;
}

.vdt-bmm-cert.has-image {
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  max-width: none;
  gap: 56px;
}

.vdt-bim-modeler-page .vdt-bmm-cert h2 { margin: 0 0 14px; }

.vdt-bmm-cert__points {
  display: grid;
  gap: 12px;
  margin: 24px 0 !important;
}

.vdt-bmm-cert__points li {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 14px 16px;
  border: 1px solid rgba(245, 184, 66, .35);
  border-radius: var(--bmm-radius-sm);
  background: rgba(255, 255, 255, .8);
}

.vdt-bmm-cert__points strong { display: block; color: var(--bmm-navy); }
.vdt-bmm-cert__points li > span:last-child { color: var(--bmm-muted); font-size: 15px; line-height: 1.55; }

.vdt-bmm-cert__check {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bmm-gold-soft);
}

.vdt-bmm-cert__check svg { width: 20px; height: 20px; fill: none; stroke: var(--bmm-gold-ink); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

.vdt-bim-modeler-page .vdt-bmm-main a.vdt-bmm-cert__lookup {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--bmm-navy);
  border-radius: 12px;
  color: var(--bmm-navy);
  font-weight: 700;
  text-decoration: none;
  transition: background-color .2s ease, color .2s ease;
}

.vdt-bim-modeler-page .vdt-bmm-main a.vdt-bmm-cert__lookup:hover { background: var(--bmm-navy); color: #fff; }
.vdt-bmm-cert__lookup svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

/* Ảnh chứng nhận: khung nổi, nghiêng nhẹ, thẳng lại khi rê chuột. */
.vdt-bmm-cert__figure { margin: 0; perspective: 1400px; }

.vdt-bmm-cert__frame {
  position: relative;
  display: block;
  padding: 10px;
  border-radius: 14px;
  background: #fff;
  box-shadow:
    0 2px 0 rgba(245, 184, 66, .6),
    0 30px 60px rgba(11, 31, 58, .18),
    0 10px 20px rgba(11, 31, 58, .08);
  transform: rotateY(-7deg) rotateX(3deg) rotate(1deg);
  transform-origin: center;
  transition: transform .45s ease, box-shadow .45s ease;
}

.vdt-bmm-cert__frame:hover,
.vdt-bmm-cert__frame:focus-visible {
  transform: none;
  box-shadow:
    0 2px 0 rgba(245, 184, 66, .8),
    0 36px 70px rgba(11, 31, 58, .22),
    0 12px 24px rgba(11, 31, 58, .1);
}

.vdt-bmm-cert__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2000 / 1490;
  border-radius: 6px;
}

.vdt-bmm-cert__zoom {
  position: absolute;
  right: 20px;
  bottom: 20px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(11, 31, 58, .82);
  color: #fff;
  opacity: 0;
  transition: opacity .25s ease;
}

.vdt-bmm-cert__frame:hover .vdt-bmm-cert__zoom,
.vdt-bmm-cert__frame:focus-visible .vdt-bmm-cert__zoom { opacity: 1; }

.vdt-bmm-cert__zoom svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.vdt-bmm-cert__figure figcaption {
  margin-top: 18px;
  color: var(--bmm-muted);
  font-size: 14px;
  text-align: center;
}

/* ------------------------------------------------------------ B2B (15) */

.vdt-bmm-b2b {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr);
  gap: 40px;
  align-items: center;
}

.vdt-bmm-b2b .vdt-bmm-heading { margin-bottom: 0; }
.vdt-bmm-b2b__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

.vdt-bmm-b2b__list { display: grid; gap: 10px; }

.vdt-bmm-b2b__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 12px;
  background: rgba(255, 255, 255, .05);
  color: #fff;
  font-weight: 600;
}

.vdt-bmm-b2b__list li::before { content: ""; width: 10px; height: 10px; border-radius: 2px; background: var(--bmm-gold); transform: rotate(45deg); }

/* -------------------------------------------------------- Gallery (16) */

.vdt-bmm-gallery { margin: 0; }
.vdt-bmm-gallery__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.vdt-bmm-gallery__grid img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--bmm-radius-sm); }
.vdt-bmm-gallery figcaption { margin-top: 14px; color: var(--bmm-muted); font-size: 14px; }

/* -------------------------------------------------------- Related (17) */

.vdt-bmm-related { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.vdt-bmm-related li { min-width: 0; }

.vdt-bim-modeler-page .vdt-bmm-main a.vdt-bmm-related__card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  height: 100%;
  padding: 22px;
  border: 1px solid var(--bmm-line);
  border-radius: var(--bmm-radius-sm);
  background: #fff;
  color: var(--bmm-navy);
  text-decoration: none;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.vdt-bim-modeler-page .vdt-bmm-main a.vdt-bmm-related__card:hover { transform: translateY(-3px); border-color: var(--bmm-cyan); box-shadow: var(--bmm-shadow-sm); }
.vdt-bmm-related__label { color: var(--bmm-cyan-ink); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.vdt-bmm-related strong { font-size: 17px; line-height: 1.4; }
.vdt-bmm-related__text { color: var(--bmm-muted); font-size: 15px; line-height: 1.55; }

/* ------------------------------------------------------------ FAQ (18) */

.vdt-bmm-faq { display: grid; gap: 10px; }

.vdt-bmm-faq__item {
  border: 1px solid var(--bmm-line);
  border-radius: var(--bmm-radius-sm);
  background: #fff;
}

.vdt-bim-modeler-page .vdt-bmm-faq .vdt-bmm-faq__q { margin: 0; font-size: 17px; line-height: 1.45; }

.vdt-bmm-faq__q button {
  grid-template-columns: minmax(0, 1fr) 24px;
  gap: 16px;
  padding: 16px 20px;
  font-weight: 600;
}

.vdt-bmm-faq__a { padding: 0 20px 18px; }
.vdt-bim-modeler-page .vdt-bmm-faq__a p { color: var(--bmm-muted); }

/* ----------------------------------------------------------- Form (19) */

.vdt-bmm-section--form { background: linear-gradient(180deg, var(--bmm-soft), #fff); }

.vdt-bmm-form-wrap {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 40px;
  align-items: start;
}

.vdt-bmm-contact { display: grid; gap: 10px; margin-top: 20px !important; color: var(--bmm-ink); }
.vdt-bmm-contact a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; }
.vdt-bmm-contact svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }

.vdt-bmm-form {
  min-width: 0;
  padding: 28px;
  border: 1px solid var(--bmm-line);
  border-radius: var(--bmm-radius);
  background: #fff;
  box-shadow: var(--bmm-shadow);
}

.vdt-bmm-form .vdt-form { opacity: 1; transform: none; }

/* Label của form theme đặt display riêng nên đè thuộc tính [hidden] của ô "khóa khác". */
.vdt-bim-modeler-page .vdt-bmm-form [data-vdt-course-other-wrap][hidden] { display: none !important; }
.vdt-bim-modeler-page .vdt-bmm-form .vdt-form__full { grid-column: 1 / -1; }
.vdt-bim-modeler-page .vdt-bmm-main .vdt-bmm-form__privacy { margin-top: 12px; color: var(--bmm-muted); font-size: 14px; }

/* ------------------------------------------------------ Final CTA (20) */

.vdt-bmm-section--final {
  background:
    linear-gradient(var(--bmm-grid-line) 1px, transparent 1px) 0 0 / 36px 36px,
    linear-gradient(90deg, var(--bmm-grid-line) 1px, transparent 1px) 0 0 / 36px 36px,
    linear-gradient(135deg, var(--bmm-navy), #0d3a5a);
  text-align: center;
}

.vdt-bim-modeler-page .vdt-bmm-final h2 { margin: 0 0 14px; color: #fff; }
.vdt-bim-modeler-page .vdt-bmm-final p { margin-bottom: 26px; color: rgba(255, 255, 255, .84); }
.vdt-bmm-final__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ------------------------------------------------------- Sticky mobile */

.vdt-bmm-sticky { display: none; }

/* ----------------------------------------------------------- Responsive */

@media (max-width: 1100px) {
  .vdt-bmm-flow { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 28px; }
  .vdt-bmm-flow::before { display: none; }
  .vdt-bmm-benefits,
  .vdt-bmm-related { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vdt-bmm-timeline,
  .vdt-bmm-stages,
  .vdt-bmm-qa { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1024px) {
  .vdt-bmm-hero__inner { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .vdt-bmm-hero__panel { justify-content: flex-start; }
  .vdt-bmm-hero__panel .vdt-tm-hero-card,
  .vdt-bmm-fallback-card { justify-self: start; width: 100%; max-width: 640px; }
  .vdt-bmm-hero__model { right: -60px; width: 440px; opacity: .28; }
  .vdt-bmm-split,
  .vdt-bmm-split--media,
  .vdt-bmm-form-wrap,
  .vdt-bmm-b2b { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .vdt-bmm-roles,
  .vdt-bmm-axes,
  .vdt-bmm-cards--tools { grid-template-columns: minmax(0, 1fr); }
  .vdt-bmm-roles,
  .vdt-bmm-axes { max-width: 640px; margin-right: auto; margin-left: auto; }
  .vdt-bmm-axis { display: grid; grid-template-columns: minmax(0, 1fr); }
  .vdt-bmm-cert.has-image { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .vdt-bmm-cert__figure { max-width: 720px; }
  .vdt-bmm-cert__frame { transform: rotate(-1deg); }
}

@media (max-width: 768px) {
  .vdt-bmm-section { padding: 60px 0; }
  .vdt-bmm-hero { padding: 44px 0 96px; }
  .vdt-bmm-hero__cta { flex-direction: column; align-items: stretch; }
  .vdt-bmm-hero__cta .vdt-bmm-btn { width: 100%; }
  .vdt-bmm-quick { margin-top: -56px; }
  .vdt-bmm-quick__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vdt-bmm-quick__item:nth-child(2) { border-right: 0; }
  .vdt-bmm-quick__item:nth-child(-n+2) { border-bottom: 1px solid var(--bmm-line); }
  .vdt-bmm-toc { position: static; margin-top: 20px; }

  .vdt-bmm-flow { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .vdt-bmm-flow__item {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    column-gap: 16px;
    padding-bottom: 18px;
    text-align: left;
  }
  .vdt-bmm-flow__item::after {
    content: "";
    position: absolute;
    top: 46px;
    bottom: 0;
    left: 22px;
    width: 2px;
    background: var(--bmm-line);
  }
  .vdt-bmm-flow__item:last-child::after { display: none; }
  .vdt-bmm-flow__no { grid-row: span 3; margin-bottom: 0; }

  .vdt-bmm-benefits,
  .vdt-bmm-timeline,
  .vdt-bmm-stages,
  .vdt-bmm-qa,
  .vdt-bmm-related,
  .vdt-bmm-duo,
  .vdt-bmm-admission { grid-template-columns: minmax(0, 1fr); }
  .vdt-bmm-admission__row:nth-child(odd) { border-right: 0; }
  .vdt-bmm-admission__row { grid-template-columns: 110px minmax(0, 1fr); padding: 14px 16px; }

  .vdt-bmm-module__toggle { grid-template-columns: minmax(0, 1fr) 24px; padding: 14px 16px; }
  .vdt-bmm-module__no { justify-self: start; }
  .vdt-bmm-module__title { grid-column: 1 / 2; }
  .vdt-bmm-module__tags { grid-column: 1 / 2; }
  .vdt-bmm-module__toggle svg { grid-column: 2; grid-row: 1 / span 3; }
  .vdt-bmm-module__panel { padding: 0 16px 16px; }
  .vdt-bmm-module__panel ul { grid-template-columns: minmax(0, 1fr); }

  .vdt-bmm-gallery__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vdt-bmm-gallery__grid img:first-child { grid-column: 1 / -1; }

  .vdt-bmm-cert__frame { padding: 6px; transform: none; }
  .vdt-bmm-cert__zoom { opacity: 1; right: 14px; bottom: 14px; }
  .vdt-bim-modeler-page .vdt-bmm-main a.vdt-bmm-cert__lookup { width: 100%; justify-content: center; }

  .vdt-bmm-form { padding: 20px; }
  .vdt-bmm-callout { padding: 18px; }
  .vdt-bmm-callout .vdt-bmm-btn { width: 100%; }
  .vdt-bmm-b2b__cta .vdt-bmm-btn,
  .vdt-bmm-final__cta .vdt-bmm-btn { width: 100%; }

  /* Sticky CTA 3 nút: chừa chỗ cuối trang để không che footer/form. */
  .vdt-bim-modeler-page { padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px)); }

  .vdt-bmm-sticky {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 60;
    display: grid;
    grid-template-columns: 1fr 1fr 1.3fr;
    gap: 8px;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--bmm-line);
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 -10px 30px rgba(11, 31, 58, .12);
    transition: transform .25s ease;
  }

  .vdt-bmm-sticky.is-hidden { transform: translateY(120%); }

  .vdt-bim-modeler-page .vdt-bmm-sticky a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 48px;
    border: 1px solid var(--bmm-line);
    border-radius: 12px;
    background: #fff;
    color: var(--bmm-navy);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
  }

  .vdt-bmm-sticky svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  .vdt-bim-modeler-page .vdt-bmm-sticky a.vdt-bmm-sticky__cta { border-color: var(--bmm-gold); background: var(--bmm-gold); }

  /* Có thanh liên hệ toàn site (đã có Gọi/Zalo): chỉ giữ nút Đăng ký, nổi phía trên thanh đó. */
  .vdt-bmm-sticky.vdt-bmm-sticky--compact {
    right: 12px;
    bottom: calc(var(--bmm-sitebar, 0px) + 10px);
    left: auto;
    grid-template-columns: auto;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .vdt-bmm-sticky--compact a:not(.vdt-bmm-sticky__cta) { display: none !important; }

  .vdt-bim-modeler-page .vdt-bmm-sticky.vdt-bmm-sticky--compact a.vdt-bmm-sticky__cta {
    padding: 0 22px;
    border-radius: 999px;
    box-shadow: 0 10px 26px rgba(11, 31, 58, .22);
  }

  .vdt-bmm-sticky.vdt-bmm-sticky--compact.is-hidden { transform: translateY(calc(100% + var(--bmm-sitebar, 0px) + 20px)); }
}

@media (max-width: 420px) {
  .vdt-bmm-quick__list { grid-template-columns: minmax(0, 1fr); }
  .vdt-bmm-quick__item { border-right: 0; border-bottom: 1px solid var(--bmm-line); }
  .vdt-bmm-quick__item:last-child { border-bottom: 0; }
  .vdt-bmm-fallback-card { padding: 20px; }
  .vdt-bmm-fallback-card dl div { grid-template-columns: 96px 1fr; }
  .vdt-bmm-hero__model { display: none; }
}

/* --------------------------------------------------------- Reduced motion */

@media (prefers-reduced-motion: reduce) {
  .vdt-bmm-hero__grid,
  .vdt-bmm-layer { animation: none; }
  .vdt-bmm-flow::before { transform: none; transition: none; }
  .vdt-bmm-role,
  .vdt-bmm-card,
  .vdt-bmm-axis,
  .vdt-bim-modeler-page .vdt-bmm-btn,
  .vdt-bim-modeler-page .vdt-bmm-main a.vdt-bmm-related__card,
  .vdt-bmm-sticky { transition: none; }
  .vdt-bmm-role:hover,
  .vdt-bmm-card:hover,
  .vdt-bmm-axis:hover { transform: none; }
  .vdt-bmm-cert__frame { transform: none; transition: none; }
}
