@charset "UTF-8";
:root {
  /* --- 4 màu thương hiệu --- */
  --c-red: #E31B23;
  --c-blue: #2563EB;
  --c-cyan: #06B6D4;
  --c-violet: #7C3AED;
  /* --- alias ngữ nghĩa --- */
  --c-primary: var(--c-red);
  --c-primary-strong: #C1161D; /* (suy ra) hover / active */
  --c-primary-soft: #FF5A61; /* (suy ra) glow, accent nhạt */
  --c-trust: var(--c-blue);
  --c-info: var(--c-cyan);
  --c-success: var(--c-cyan); /* palette mới KHÔNG có xanh lá — dùng Cyan */
  --c-growth: var(--c-cyan);
  --c-warning: var(--c-red); /* guideline: Red kiêm vai trò cảnh báo */
  /* --- LIGHT MODE: nền & chữ --- */
  --c-bg: #F8FAFC; /* Neutral (70%) — nền, khoảng thở layout */
  --c-surface: #FFFFFF; /* (suy ra) mặt thẻ nổi trên nền Neutral */
  --c-surface-2: #F1F5F9; /* Neutral (70%) — biến thể */
  --c-band: #F3F4F6; /* Cool Gray — nền phụ section */
  --c-text: #0F172A; /* Carbon */
  --c-text-muted: #475569; /* (suy ra) Steel Gray #94A3B8 không đạt AA trên nền sáng */
  --c-border: #E2E8F0; /* (suy ra) viền thẻ mảnh */
  --c-border-strong: #94A3B8; /* Steel Gray — viền icon, divider đậm */
  --c-shadow: rgba(15, 23, 42, .07);
  --c-shadow-lg: rgba(15, 23, 42, .12);
  --c-hero-sky-1: #F1F5F9;
  --c-hero-sky-2: #E2E8F0;
  --c-hero-city: #94A3B8;
  --c-hero-fore: #64748B;
  /* Typography — ERPCONS-VISUAL-004 §02 : Inter */
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  /* Grid & Layout — §04 : spacing 8px system · radius 8–12px · 12 columns */
  --r-card: 12px;
  --r-btn: 8px;
  --r-pill: 999px;
  --header-h: 76px;
}

[data-bs-theme=dark] {
  /* 4 màu thương hiệu KHÔNG đổi hex — guideline dùng chung cho cả 2 mode */
  --c-primary-strong: #F5333C; /* (suy ra) hover trên nền tối */
  --c-bg: #0F172A; /* Neutral (70%) / Carbon */
  --c-surface: #1E293B; /* Neutral (70%) — biến thể */
  --c-surface-2: #0F172A;
  --c-band: #1E293B;
  --c-text: #F1F5F9; /* (suy ra) chữ chính trên nền tối */
  --c-text-muted: #94A3B8; /* Steel Gray / Light Gray */
  --c-border: #334155; /* Cool Gray */
  --c-border-strong: #475569; /* (suy ra) */
  --c-shadow: rgba(0, 0, 0, .45);
  --c-shadow-lg: rgba(0, 0, 0, .6);
  --c-hero-sky-1: #1E293B;
  --c-hero-sky-2: #0F172A;
  --c-hero-city: #334155;
  --c-hero-fore: #64748B;
}

.p-6 {
  padding: 4rem !important;
}

.p-7 {
  padding: 6rem !important;
}

.px-6 {
  padding-right: 4rem !important;
  padding-left: 4rem !important;
}

.px-7 {
  padding-right: 6rem !important;
  padding-left: 6rem !important;
}

.py-6 {
  padding-top: 4rem !important;
  padding-bottom: 4rem !important;
}

.py-7 {
  padding-top: 6rem !important;
  padding-bottom: 6rem !important;
}

.pt-6 {
  padding-top: 4rem !important;
}

.pt-7 {
  padding-top: 6rem !important;
}

.pb-6 {
  padding-bottom: 4rem !important;
}

.pb-7 {
  padding-bottom: 6rem !important;
}

.m-6 {
  margin: 4rem !important;
}

.m-7 {
  margin: 6rem !important;
}

.my-6 {
  margin-top: 4rem !important;
  margin-bottom: 4rem !important;
}

.my-7 {
  margin-top: 6rem !important;
  margin-bottom: 6rem !important;
}

.mt-6 {
  margin-top: 4rem !important;
}

.mt-7 {
  margin-top: 6rem !important;
}

.mb-6 {
  margin-bottom: 4rem !important;
}

.mb-7 {
  margin-bottom: 6rem !important;
}

.gap-6 {
  gap: 4rem !important;
}

.gap-7 {
  gap: 6rem !important;
}

@media (min-width: 576px) {
  .p-sm-6 {
    padding: 4rem !important;
  }
  .p-sm-7 {
    padding: 6rem !important;
  }
  .px-sm-6 {
    padding-right: 4rem !important;
    padding-left: 4rem !important;
  }
  .px-sm-7 {
    padding-right: 6rem !important;
    padding-left: 6rem !important;
  }
  .py-sm-6 {
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
  }
  .py-sm-7 {
    padding-top: 6rem !important;
    padding-bottom: 6rem !important;
  }
  .pt-sm-6 {
    padding-top: 4rem !important;
  }
  .pt-sm-7 {
    padding-top: 6rem !important;
  }
  .pb-sm-6 {
    padding-bottom: 4rem !important;
  }
  .pb-sm-7 {
    padding-bottom: 6rem !important;
  }
  .m-sm-6 {
    margin: 4rem !important;
  }
  .m-sm-7 {
    margin: 6rem !important;
  }
  .my-sm-6 {
    margin-top: 4rem !important;
    margin-bottom: 4rem !important;
  }
  .my-sm-7 {
    margin-top: 6rem !important;
    margin-bottom: 6rem !important;
  }
  .mt-sm-6 {
    margin-top: 4rem !important;
  }
  .mt-sm-7 {
    margin-top: 6rem !important;
  }
  .mb-sm-6 {
    margin-bottom: 4rem !important;
  }
  .mb-sm-7 {
    margin-bottom: 6rem !important;
  }
  .gap-sm-6 {
    gap: 4rem !important;
  }
  .gap-sm-7 {
    gap: 6rem !important;
  }
}
@media (min-width: 768px) {
  .p-md-6 {
    padding: 4rem !important;
  }
  .p-md-7 {
    padding: 6rem !important;
  }
  .px-md-6 {
    padding-right: 4rem !important;
    padding-left: 4rem !important;
  }
  .px-md-7 {
    padding-right: 6rem !important;
    padding-left: 6rem !important;
  }
  .py-md-6 {
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
  }
  .py-md-7 {
    padding-top: 6rem !important;
    padding-bottom: 6rem !important;
  }
  .pt-md-6 {
    padding-top: 4rem !important;
  }
  .pt-md-7 {
    padding-top: 6rem !important;
  }
  .pb-md-6 {
    padding-bottom: 4rem !important;
  }
  .pb-md-7 {
    padding-bottom: 6rem !important;
  }
  .m-md-6 {
    margin: 4rem !important;
  }
  .m-md-7 {
    margin: 6rem !important;
  }
  .my-md-6 {
    margin-top: 4rem !important;
    margin-bottom: 4rem !important;
  }
  .my-md-7 {
    margin-top: 6rem !important;
    margin-bottom: 6rem !important;
  }
  .mt-md-6 {
    margin-top: 4rem !important;
  }
  .mt-md-7 {
    margin-top: 6rem !important;
  }
  .mb-md-6 {
    margin-bottom: 4rem !important;
  }
  .mb-md-7 {
    margin-bottom: 6rem !important;
  }
  .gap-md-6 {
    gap: 4rem !important;
  }
  .gap-md-7 {
    gap: 6rem !important;
  }
}
@media (min-width: 992px) {
  .p-lg-6 {
    padding: 4rem !important;
  }
  .p-lg-7 {
    padding: 6rem !important;
  }
  .px-lg-6 {
    padding-right: 4rem !important;
    padding-left: 4rem !important;
  }
  .px-lg-7 {
    padding-right: 6rem !important;
    padding-left: 6rem !important;
  }
  .py-lg-6 {
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
  }
  .py-lg-7 {
    padding-top: 6rem !important;
    padding-bottom: 6rem !important;
  }
  .pt-lg-6 {
    padding-top: 4rem !important;
  }
  .pt-lg-7 {
    padding-top: 6rem !important;
  }
  .pb-lg-6 {
    padding-bottom: 4rem !important;
  }
  .pb-lg-7 {
    padding-bottom: 6rem !important;
  }
  .m-lg-6 {
    margin: 4rem !important;
  }
  .m-lg-7 {
    margin: 6rem !important;
  }
  .my-lg-6 {
    margin-top: 4rem !important;
    margin-bottom: 4rem !important;
  }
  .my-lg-7 {
    margin-top: 6rem !important;
    margin-bottom: 6rem !important;
  }
  .mt-lg-6 {
    margin-top: 4rem !important;
  }
  .mt-lg-7 {
    margin-top: 6rem !important;
  }
  .mb-lg-6 {
    margin-bottom: 4rem !important;
  }
  .mb-lg-7 {
    margin-bottom: 6rem !important;
  }
  .gap-lg-6 {
    gap: 4rem !important;
  }
  .gap-lg-7 {
    gap: 6rem !important;
  }
}
@media (min-width: 1200px) {
  .p-xl-6 {
    padding: 4rem !important;
  }
  .p-xl-7 {
    padding: 6rem !important;
  }
  .px-xl-6 {
    padding-right: 4rem !important;
    padding-left: 4rem !important;
  }
  .px-xl-7 {
    padding-right: 6rem !important;
    padding-left: 6rem !important;
  }
  .py-xl-6 {
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
  }
  .py-xl-7 {
    padding-top: 6rem !important;
    padding-bottom: 6rem !important;
  }
  .pt-xl-6 {
    padding-top: 4rem !important;
  }
  .pt-xl-7 {
    padding-top: 6rem !important;
  }
  .pb-xl-6 {
    padding-bottom: 4rem !important;
  }
  .pb-xl-7 {
    padding-bottom: 6rem !important;
  }
  .m-xl-6 {
    margin: 4rem !important;
  }
  .m-xl-7 {
    margin: 6rem !important;
  }
  .my-xl-6 {
    margin-top: 4rem !important;
    margin-bottom: 4rem !important;
  }
  .my-xl-7 {
    margin-top: 6rem !important;
    margin-bottom: 6rem !important;
  }
  .mt-xl-6 {
    margin-top: 4rem !important;
  }
  .mt-xl-7 {
    margin-top: 6rem !important;
  }
  .mb-xl-6 {
    margin-bottom: 4rem !important;
  }
  .mb-xl-7 {
    margin-bottom: 6rem !important;
  }
  .gap-xl-6 {
    gap: 4rem !important;
  }
  .gap-xl-7 {
    gap: 6rem !important;
  }
}
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection {
  background: var(--c-primary);
  color: #fff;
}

a {
  color: inherit;
  text-decoration: none;
}

img, svg {
  max-width: 100%;
}

/* Typography scale — DS §6 : H1 48/56 · H2 32/40 · H3 24/32 · Body 16/24 · Small 14/20 */
/* §02 — H1 32–56px Bold · H2 20–32px Semibold */
h1, .h1 {
  font-weight: 700;
  letter-spacing: -0.02em;
}

h2, .h2 {
  font-weight: 600;
  letter-spacing: -0.015em;
  font-size: clamp(1.25rem, 1rem + 1.15vw, 2rem);
  line-height: 1.25;
}

h3, h4, .h3 {
  font-weight: 700;
  letter-spacing: -0.01em;
}

h3, .h3 {
  font-size: clamp(1.125rem, 0.95rem + 0.6vw, 1.5rem);
  line-height: 1.34;
}

.fw-800 {
  font-weight: 700;
} /* Inter: Bold là nấc đậm nhất theo guideline */
.tx-primary {
  color: var(--c-primary);
}

.tx-muted {
  color: var(--c-text-muted);
}

.tx-success {
  color: var(--c-success);
}

.tx-sm {
  font-size: 14px;
  line-height: 20px;
}

.tx-xs {
  font-size: 12.5px;
  line-height: 18px;
}

.eyebrow {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-text-muted);
}

.sec {
  background: var(--c-surface);
}

.sec-alt {
  background: var(--c-band);
}

.sec-bg {
  background: var(--c-bg);
}

.sec-head h2 {
  text-transform: uppercase;
}

.sec-head h2 .no-upper, .cta-band h2 .no-upper {
  text-transform: none;
}

.sec-note {
  color: var(--c-text-muted);
  font-size: 14px;
}

.btn-erp {
  --bs-btn-border-width: 1.5px;
  --bs-btn-border-radius: var(--r-btn);
  --bs-btn-font-weight: 700;
  --bs-btn-font-size: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

.btn-erp:hover {
  transform: translateY(-2px);
}

.btn-erp-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--c-primary);
  --bs-btn-border-color: var(--c-primary);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--c-primary-strong);
  --bs-btn-hover-border-color: var(--c-primary-strong);
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--c-primary-strong);
  --bs-btn-active-border-color: var(--c-primary-strong);
  box-shadow: 0 6px 18px -6px color-mix(in srgb, var(--c-primary) 65%, transparent);
}

.btn-erp-primary:hover {
  box-shadow: 0 10px 26px -8px color-mix(in srgb, var(--c-primary) 75%, transparent);
}

.btn-erp-outline {
  --bs-btn-color: var(--c-primary);
  --bs-btn-bg: transparent;
  --bs-btn-border-color: var(--c-primary);
  --bs-btn-hover-color: var(--c-primary);
  --bs-btn-hover-bg: color-mix(in srgb, var(--c-primary) 8%, transparent);
  --bs-btn-hover-border-color: var(--c-primary);
}

.btn-erp-ghost {
  --bs-btn-color: var(--c-text);
  --bs-btn-bg: var(--c-surface);
  --bs-btn-border-color: var(--c-border);
  --bs-btn-hover-color: var(--c-text);
  --bs-btn-hover-bg: var(--c-surface);
  --bs-btn-hover-border-color: var(--c-text-muted);
}

/* Nút đặc, tương phản cao — dùng cho CTA phụ cạnh nút đỏ (gói Enterprise).
   Lấy --c-text làm nền nên sáng ra xanh than, tối ra trắng ngà: không cần
   khai báo riêng cho từng chế độ. */
.btn-erp-dark {
  --bs-btn-color: var(--c-surface);
  --bs-btn-bg: var(--c-text);
  --bs-btn-border-color: var(--c-text);
  --bs-btn-hover-color: var(--c-surface);
  --bs-btn-hover-bg: color-mix(in srgb, var(--c-text) 86%, var(--c-surface));
  --bs-btn-hover-border-color: color-mix(in srgb, var(--c-text) 86%, var(--c-surface));
  --bs-btn-active-color: var(--c-surface);
  --bs-btn-active-bg: color-mix(in srgb, var(--c-text) 86%, var(--c-surface));
  --bs-btn-active-border-color: color-mix(in srgb, var(--c-text) 86%, var(--c-surface));
}

/* chấm play tròn bên trong nút ghost */
.btn-play-dot {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  flex: 0 0 26px;
  display: inline-grid;
  place-items: center;
  font-size: 11px;
  background: var(--c-text);
  color: var(--c-surface);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1040;
  background: color-mix(in srgb, var(--c-surface) 88%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid color-mix(in srgb, var(--c-border) 70%, transparent);
}

.site-header .navbar {
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
}

/* Logo ERPCons — file ảnh chính thức (assets/img/erpcons-logo.png) */
.brand-logo {
  display: block;
  width: auto;
  height: 34px;
}

.brand-logo--sm {
  height: 26px;
}

.brand-logo--lg {
  height: 42px;
}

@media (max-width: 575.98px) {
  .brand-logo {
    height: 28px;
  }
}
/* Guideline dùng chung #E31B23 cho cả 2 mode nên không lọc màu logo. */
.nav-main .nav-link {
  font-size: 15px;
  font-weight: 600;
  color: var(--c-text);
  position: relative;
  opacity: 0.88;
}

.nav-main .nav-link:hover, .nav-main .nav-link.active {
  opacity: 1;
  color: var(--c-primary);
}

.nav-main .nav-link.active::after {
  content: "";
  position: absolute;
  left: 0.5rem;
  right: 0.5rem;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--c-primary);
}

.icon-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--r-btn);
  border: 1.5px solid var(--c-border);
  background: transparent;
  color: var(--c-text);
  display: inline-grid;
  place-items: center;
  font-size: 16px;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.icon-btn:hover {
  border-color: var(--c-text-muted);
  background: var(--c-surface-2);
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  width: auto;
  font-size: 14px;
  font-weight: 700;
}

.theme-toggle .bi-sun-fill {
  display: none;
}

[data-bs-theme=dark] .theme-toggle .bi-sun-fill {
  display: block;
}

[data-bs-theme=dark] .theme-toggle .bi-moon-stars {
  display: none;
}

.hero {
  position: relative;
  overflow: hidden;
  background: var(--c-surface);
}

.hero-title {
  font-weight: 700;
  letter-spacing: -0.025em;
  font-size: clamp(2rem, 1rem + 3.7vw, 3.5rem); /* 32 → 56px (§02) */
  line-height: 1.1;
}

.hero-title--stack {
  max-width: 12ch;
}

.hero-title--wide {
  font-size: clamp(2rem, 1.1rem + 3vw, 3rem);
}

.hero-lead {
  font-size: clamp(15px, 14px + 0.25vw, 17px);
  line-height: 1.62;
  color: var(--c-text-muted);
  max-width: 58ch;
}

/* --- visual --- */
.hero-visual {
  position: relative;
}

.hero-photo {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/11;
  background: var(--c-hero-sky-1);
  box-shadow: 0 24px 60px -30px var(--c-shadow-lg);
  border-radius: 0 12px 12px 0;
}

.hero-photo > svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

/* Thay bằng ảnh công trường thật: <img class="hero-photo-img" src="..." alt=""> */
.hero-photo-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0 12px 12px 0;
}

.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(100deg, color-mix(in srgb, var(--c-surface) 92%, transparent) 0%, color-mix(in srgb, var(--c-surface) 45%, transparent) 26%, transparent 58%);
}

.metric-stack {
  display: grid;
}

.metric-card {
  background: color-mix(in srgb, var(--c-surface) 92%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid color-mix(in srgb, var(--c-border) 85%, transparent);
  border-radius: var(--r-card);
  box-shadow: 0 12px 30px -18px var(--c-shadow-lg);
  padding: 12px;
}

.metric-label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-text-muted);
}

.metric-value {
  font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.3rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.metric-value sup {
  font-size: 0.5em;
  top: -0.7em;
}

.metric-sub {
  font-size: 11.5px;
  color: var(--c-text-muted);
  line-height: 1.35;
}

.metric-delta {
  font-size: 14px;
  font-weight: 700;
  color: var(--c-success);
}

.play-pill {
  display: inline-flex;
  align-items: center;
  background: color-mix(in srgb, var(--c-surface) 92%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid color-mix(in srgb, var(--c-border) 85%, transparent);
  border-radius: var(--r-pill);
  box-shadow: 0 12px 30px -18px var(--c-shadow-lg);
}

.play-pill .play-circle {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 50%;
  background: var(--c-text);
  color: var(--c-surface);
  display: grid;
  place-items: center;
  font-size: 14px;
}

.play-pill > span:last-child {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1.15;
}

.play-pill > span:last-child > span {
  margin: 0;
}

.play-pill:hover .play-circle {
  background: var(--c-primary);
  color: #fff;
}

.play-pill b {
  display: block;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
}

.play-pill span {
  font-size: 12.5px;
  color: var(--c-text-muted);
}

/* =========================================================
   METRIC BASE
   ========================================================= */
.metric-line-chart {
  display: block;
  width: 100%;
  height: 36px;
}

.chart {
  display: block;
  width: 100%;
  height: 24px;
}

.metric-progress-chart {
  display: block;
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
}

.metric-cost-chart {
  display: block;
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
}

/* =========================================================
   DESKTOP LARGE — 1400+
   ========================================================= */
@media (min-width: 1400px) {
  .hero-photo {
    aspect-ratio: 16/12;
  }
  .metric-stack {
    position: absolute;
    z-index: 3;
    top: 6%;
    right: 3.2%;
    width: min(268px, 36%);
  }
  .play-pill {
    position: absolute;
    z-index: 4;
    right: 3.2%;
    bottom: 5%;
  }
}
/* =========================================================
   DESKTOP COMPACT — 1200–1399
   ========================================================= */
@media (min-width: 1200px) and (max-width: 1399.98px) {
  .metric-stack {
    position: absolute;
    z-index: 3;
    top: 4%;
    right: 3%;
    width: 32%;
    gap: 5px !important;
  }
  .metric-card {
    padding: 10px !important;
    border-radius: 10px;
  }
  .metric-label {
    font-size: 9px;
    margin-bottom: 4px !important;
  }
  .metric-value {
    font-size: 16px;
    line-height: 1.05;
  }
  .metric-sub {
    font-size: 8px;
    line-height: 1.1;
  }
  .metric-delta {
    font-size: 10px;
  }
  .metric-line-chart {
    height: 20px;
  }
  .chart {
    height: 14px;
    margin-top: 3px !important;
  }
  .metric-progress-chart {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }
  .metric-cost-chart {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }
  .play-pill {
    position: absolute;
    z-index: 4;
    right: 3%;
    bottom: 4%;
    padding: 6px 10px 6px 6px !important;
    gap: 6px !important;
  }
  .play-pill .play-circle {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
  }
  .play-pill b {
    font-size: 10px;
  }
  .play-pill > span:last-child > span {
    font-size: 8px;
  }
}
/* =========================================================
   TABLET — 576–1199
   ========================================================= */
@media (min-width: 576px) and (max-width: 1199.98px) {
  .metric-stack {
    position: absolute;
    z-index: 3;
    top: 4%;
    right: 3%;
    width: 30%;
    gap: 5px !important;
  }
  .metric-card {
    padding: 8px !important;
    border-radius: 9px;
  }
  .metric-label {
    font-size: 9px;
    line-height: 1.1;
    margin-bottom: 3px !important;
  }
  .metric-value {
    font-size: 15px;
    line-height: 1.05;
  }
  .metric-sub {
    font-size: 8px;
    line-height: 1.1;
  }
  .metric-delta {
    font-size: 9px;
  }
  .metric-line-chart {
    height: 20px;
  }
  .chart {
    height: 14px;
    margin-top: 3px !important;
  }
  .metric-progress-chart {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }
  .metric-cost-chart {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }
  .play-pill {
    position: absolute;
    z-index: 4;
    right: 3%;
    bottom: 4%;
    padding: 5px 8px 5px 5px !important;
    gap: 6px !important;
  }
  .play-pill .play-circle {
    width: 26px;
    height: 26px;
    flex: 0 0 26px;
  }
  .play-pill b {
    font-size: 9px;
  }
  .play-pill > span:last-child > span {
    font-size: 8px;
  }
}
/* =========================================================
   MOBILE — <576
   ========================================================= */
@media (max-width: 575.98px) {
  .metric-stack {
    position: absolute;
    z-index: 3;
    top: 3%;
    right: 3%;
    width: 38%;
    gap: 3px !important;
  }
  .metric-card {
    padding: 5px !important;
    border-radius: 7px;
  }
  .metric-label {
    font-size: 6px;
    line-height: 1.05;
    letter-spacing: 0.06em;
    margin-bottom: 2px !important;
  }
  .metric-value {
    font-size: 11px;
    line-height: 1;
  }
  .metric-value sup {
    font-size: 5px;
  }
  .metric-sub {
    font-size: 5.5px;
    line-height: 1.05;
  }
  .metric-delta {
    font-size: 6.5px;
    line-height: 1;
  }
  .metric-line-chart {
    height: 13px;
  }
  .chart {
    height: 9px;
    margin-top: 2px !important;
  }
  .metric-progress-chart {
    width: 25px;
    height: 25px;
    flex-basis: 25px;
  }
  .metric-cost-chart {
    width: 27px;
    height: 27px;
    flex-basis: 27px;
  }
  .play-pill {
    position: absolute;
    z-index: 4;
    right: 3%;
    bottom: 3%;
    padding: 3px 6px 3px 3px !important;
    gap: 4px !important;
  }
  .play-pill .play-circle {
    width: 21px;
    height: 21px;
    flex: 0 0 21px;
  }
  .play-pill .play-circle i {
    font-size: 9px;
  }
  .play-pill > span:last-child {
    display: flex;
    flex-direction: column;
    gap: 0;
    line-height: 1.05;
  }
  .play-pill b {
    font-size: 6.5px;
    line-height: 1.05;
    white-space: nowrap;
  }
  .play-pill > span:last-child > span {
    display: block;
    margin-top: 1px;
    font-size: 5.5px;
    line-height: 1.05;
    white-space: nowrap;
  }
}
/* =========================================================
   LOGO SLIDER
   ========================================================= */
.logo-slider {
  position: relative;
  width: 100%;
  max-width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  box-sizing: border-box;
}

.logo-slider-viewport {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
}

.logo-slider-track {
  --items-per-view: 4;
  --logo-gap: 10px;
  display: flex;
  gap: var(--logo-gap);
  width: 100%;
  transition: transform 0.4s ease;
  will-change: transform;
}

.logo-slide {
  flex: 0 0 calc((100% - (var(--items-per-view) - 1) * var(--logo-gap)) / var(--items-per-view));
  min-width: 0;
  height: 72px;
  padding: 8px 12px;
  background: var(--tek-logo-chip);
  color: var(--tek-logo-chip-ink);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.logo-slide img {
  display: block;
  width: 100%;
  max-width: 135px;
  height: 50px;
  object-fit: contain;
}

/* Nút prev / next */
.logo-slider-btn {
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--tek-surface);
  color: var(--tek-ink);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.logo-slider-btn:hover:not(:disabled) {
  background: var(--tek-ink);
  color: rgba(209, 213, 219, 0.262745098);
}

.logo-slider-btn:active:not(:disabled) {
  transform: scale(0.94);
}

.logo-slider-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.lien-sy-logo {
  height: 34px !important;
}

/* =========================================================
   TABLET
   ========================================================= */
@media (max-width: 991.98px) {
  .logo-slider-track {
    --items-per-view: 3;
    --logo-gap: 10px;
  }
  .logo-slide {
    height: 62px;
  }
  .logo-slide img {
    max-width: 100px;
    height: 40px;
  }
}
/* =========================================================
   MOBILE
   ========================================================= */
@media (max-width: 575.98px) {
  .logo-slider {
    gap: 7px;
  }
  .logo-slider-track {
    --items-per-view: 2;
    --logo-gap: 8px;
  }
  .logo-slide {
    height: 58px;
    padding: 7px 9px;
  }
  .logo-slide img {
    max-width: 90px;
    height: 38px;
  }
  .logo-slider-btn {
    flex-basis: 28px;
    width: 28px;
    height: 28px;
  }
}
.e-card {
  height: 100%;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.e-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--c-primary) 40%, var(--c-border));
  box-shadow: 0 18px 40px -24px var(--c-shadow-lg);
}

.pain-card .ic, .problem-card .ic {
  display: block;
  line-height: 1;
}

.pain-card .ic {
  font-size: 30px;
}

.pain-card h3 {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pain-card p {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--c-text-muted);
}

.problem-card .ic {
  font-size: 28px;
}

.problem-card h3 {
  font-size: 15.5px;
  font-weight: 700;
}

.problem-card p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--c-text-muted);
}

.feature-ring {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 27px;
  border: 1px solid var(--c-border);
  background: var(--c-surface);
  box-shadow: 0 10px 26px -18px var(--c-shadow-lg);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.feature-item:hover .feature-ring {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--c-primary) 45%, var(--c-border));
}

.feature-item h3 {
  font-size: 15.5px;
  font-weight: 700;
}

.feature-item p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--c-text-muted);
}

/* Tên theo guideline */
.ic-red {
  color: var(--c-red);
}

.ic-blue {
  color: var(--c-blue);
}

.ic-cyan {
  color: var(--c-cyan);
}

.ic-violet {
  color: var(--c-violet);
}

/* Alias giữ tương thích với markup cũ */
.ic-primary {
  color: var(--c-red);
}

.ic-trust {
  color: var(--c-blue);
}

.ic-info {
  color: var(--c-cyan);
}

.ic-success, .ic-growth {
  color: var(--c-cyan);
}

/* AUTO GRID — custom responsive layout */
@media (min-width: 425px) and (max-width: 767.98px) {
  .auto-grid-card {
    width: 50%;
  }
}
.flow {
  display: grid;
}

.flow-step {
  position: relative;
}

.flow-ic {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 26px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  box-shadow: 0 10px 26px -18px var(--c-shadow-lg);
}

.flow-step h3 {
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.flow-step p {
  font-size: 13px;
  line-height: 1.5;
  color: var(--c-text-muted);
}

.flow-step.is-active .flow-ic {
  border-color: var(--c-primary);
  color: var(--c-primary);
}

.flow-step.is-active h3 {
  color: var(--c-primary);
}

/* đường nối + đầu mũi tên giữa 2 bước — chỉ hiện ở desktop */
.flow-step::after {
  content: "";
  display: none;
  position: absolute;
  top: 34px;
  left: calc(50% + 46px);
  right: calc(-50% + 46px);
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--c-text-muted) 0 5px, transparent 5px 10px);
  opacity: 0.5;
}

.flow-step::before {
  content: "";
  display: none;
  position: absolute;
  top: 30px;
  right: calc(-50% + 46px);
  width: 8px;
  height: 8px;
  border-top: 1.5px solid var(--c-text-muted);
  border-right: 1.5px solid var(--c-text-muted);
  transform: rotate(45deg);
  opacity: 0.6;
}

.flow-step:last-child::after, .flow-step:last-child::before {
  content: none;
}

.flow--numbered .flow-step::before {
  content: none;
}

@media (min-width: 992px) {
  .flow {
    grid-template-columns: repeat(5, 1fr);
  }
  .flow-step::after, .flow-step::before {
    display: block;
  }
}
@media (min-width: 576px) and (max-width: 991.98px) {
  .flow {
    grid-template-columns: repeat(2, 1fr);
  }
}
/* biến thể B: số lớn cạnh icon */
.flow--numbered .flow-num {
  font-size: clamp(1.5rem, 1.1rem + 1.1vw, 2rem);
  font-weight: 700;
  color: var(--c-text);
  line-height: 1;
}

.flow--numbered .flow-ic {
  width: 60px;
  height: 60px;
  font-size: 23px;
}

.flow--numbered h3 {
  text-transform: none;
  letter-spacing: 0;
  font-size: 15px;
}

.flow--numbered .flow-step::after {
  top: 30px;
  left: calc(50% + 62px);
  right: calc(-50% + 42px);
  background: repeating-linear-gradient(90deg, var(--c-border) 0 4px, transparent 4px 9px);
  opacity: 1;
}

.flow--numbered .flow-step .dot {
  display: none;
  position: absolute;
  top: 27px;
  left: calc(50% + 78px);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--c-primary);
}

@media (min-width: 992px) {
  .flow--numbered .flow-step:not(:last-child) .dot {
    display: block;
  }
}
.device {
  width: 100%;
  border-radius: var(--r-card);
  background: #0F172A;
  border: 1px solid #334155;
  padding: 8px;
  box-shadow: 0 30px 70px -34px var(--c-shadow-lg);
  overflow: hidden;
}

.device-screen {
  width: 100%;
  border-radius: var(--r-btn);
  overflow: hidden;
  background: #0F172A;
}

.erpcons-illustration {
  display: block;
  width: 100%;
  height: auto;
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(128px, 1fr));
}

.module-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 124px;
  border-radius: var(--r-card);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--c-text);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.module-chip .bi {
  font-size: 22px;
  color: var(--c-text-muted);
}

.module-chip:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--c-primary) 45%, var(--c-border));
  box-shadow: 0 16px 36px -24px var(--c-shadow-lg);
  color: var(--c-text);
}

.module-chip.is-active {
  background: var(--c-primary);
  border-color: var(--c-primary);
  color: #fff;
  box-shadow: 0 14px 34px -14px color-mix(in srgb, var(--c-primary) 60%, transparent);
}

.module-chip.is-active .bi {
  color: #fff;
}

.module-chip.is-active:hover {
  color: #fff;
}

.module-chip small {
  display: block;
  font-weight: 600;
  opacity: 0.9;
  font-size: 11px;
}

.module-chip.is-more {
  border-style: dashed;
}

.module-chip.is-more .bi, .module-chip.is-more strong {
  color: var(--c-primary);
}

/* =========================
   HERO
   ========================= */
.price-hero {
  background: linear-gradient(160deg, color-mix(in srgb, var(--c-blue) 12%, var(--c-surface)) 0%, color-mix(in srgb, var(--c-blue) 5%, var(--c-surface)) 45%, var(--c-bg) 100%);
}

.price-hero .pull-quote {
  color: #0F172A !important;
}

.page-hero--bg-image .hero-title .tx-primary {
  color: #0F172A !important;
}

.price-hero .tick--blue > li,
.price-hero .tick--blue > li > span {
  color: #FFFFFF !important;
}

.price-hero .hero-panel {
  color: #0F172A;
}

.price-hero .hero-panel .tick > li > span {
  color: #0F172A !important;
}

/* Cần cẩu và dãy nhà vẽ nét, nằm chìm ở góc phải hero. */
.price-hero__deco {
  position: absolute;
  z-index: 0;
  right: 0;
  bottom: 0;
  width: min(460px, 42%);
  pointer-events: none;
  opacity: 0.22;
  mask-image: linear-gradient(90deg, transparent 0%, #000 34%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 34%);
}

.price-hero__deco svg {
  display: block;
  width: 100%;
  height: auto;
  stroke: var(--c-blue);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.price-hero > .container {
  position: relative;
  z-index: 1;
}

@media (max-width: 991.98px) {
  .price-hero__deco {
    opacity: 0.1;
    width: 70%;
  }
}
/* Chuyển kỳ thanh toán: tháng / năm. */
.price-toggle {
  display: inline-flex;
  padding: 4px;
  border-radius: var(--r-pill);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  box-shadow: 0 10px 26px -20px var(--c-shadow-lg);
}

.price-toggle__btn {
  border: 0;
  border-radius: var(--r-pill);
  padding: 0.5rem 1rem;
  background: transparent;
  color: var(--c-text-muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.price-toggle__btn:hover {
  color: var(--c-text);
}

.price-toggle__btn.is-active {
  background: var(--c-primary);
  color: #fff;
  box-shadow: 0 6px 16px -8px color-mix(in srgb, var(--c-primary) 70%, transparent);
}

/* =========================
   BỐN GÓI
   ========================= */
.plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(238px, 1fr));
}

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.plan-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 46px -28px var(--c-shadow-lg);
}

.plan-card--featured {
  border-color: var(--c-primary);
  box-shadow: 0 18px 44px -26px color-mix(in srgb, var(--c-primary) 55%, transparent);
}

.plan-card--featured:hover {
  box-shadow: 0 26px 52px -26px color-mix(in srgb, var(--c-primary) 60%, transparent);
}

.plan-badge {
  position: absolute;
  top: -12px;
  right: 16px;
  background: var(--c-primary);
  color: #fff;
  border-radius: var(--r-pill);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 8px 20px -8px color-mix(in srgb, var(--c-primary) 70%, transparent);
}

.plan-name {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.plan-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.plan-price__from {
  font-size: 15px;
  font-weight: 600;
  color: var(--c-text-muted);
}

.plan-price__num {
  font-size: clamp(1.6rem, 1.15rem + 1.7vw, 2.15rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  text-wrap: balance;
}

.plan-card--featured .plan-price__num {
  color: var(--c-primary);
}

.plan-price__unit {
  font-size: 12.5px;
  color: var(--c-text-muted);
}

.plan-note {
  font-size: 13px;
  line-height: 1.55;
  color: var(--c-text-muted);
}

.plan-feats li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--c-text-muted);
}

.plan-feats .bi {
  flex: 0 0 auto;
  margin-top: 1px;
  font-size: 14px;
  color: var(--c-blue);
}

.plan-card .btn {
  width: 100%;
}

/* =========================
   GIÁ THEO GIÁ TRỊ HỢP ĐỒNG
   ========================= */
.tier-strip,
.addon-panel,
.assure-strip {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--r-card);
}

.tier-strip__title,
.addon-panel__title {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.tier-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tier-item {
  min-width: 0;
  display: grid;
  gap: 0.25rem;
  justify-items: center;
  text-align: center;
  padding: 0.25rem 1rem;
}

.tier-item + .tier-item {
  border-left: 1px solid var(--c-border);
}

.tier-item__range {
  font-size: 13px;
  color: var(--c-text-muted);
}

.tier-item__price {
  font-size: clamp(1rem, 0.85rem + 0.6vw, 1.3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

@media (max-width: 767.98px) {
  .tier-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 1rem;
  }
  .tier-item:nth-child(odd) {
    border-left: 0;
  }
}
/* =========================
   TÙY CHỌN MỞ RỘNG
   ========================= */
/* Sáu tuỳ chọn xếp một hàng trên desktop; auto-fit sẽ để lẻ một thẻ ở hàng
   dưới nên khai báo thẳng số cột theo từng điểm gãy. */
.addon-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 576px) {
  .addon-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (min-width: 1200px) {
  .addon-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}
.addon-card {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-btn);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.addon-card:hover {
  border-color: color-mix(in srgb, var(--c-primary) 34%, var(--c-border));
  box-shadow: 0 14px 30px -24px var(--c-shadow-lg);
}

.addon-card > div {
  min-width: 0;
}

.addon-card b {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.35;
}

.addon-card__price {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--c-text);
  overflow-wrap: anywhere;
}

.addon-card__price--quote {
  color: var(--c-primary);
}

/* =========================
   BA CAM KẾT
   ========================= */
.assure-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.assure-item {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.25rem 1.25rem;
}

.assure-item + .assure-item {
  border-left: 1px solid var(--c-border);
}

.assure-item > .bi {
  font-size: 24px;
  color: var(--c-text-muted);
  flex: 0 0 auto;
}

.assure-item b {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.4;
}

.assure-item span {
  display: block;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--c-text-muted);
}

@media (max-width: 991.98px) {
  .assure-strip {
    grid-template-columns: 1fr;
    row-gap: 1rem;
  }
  .assure-item + .assure-item {
    border-left: 0;
  }
}
.stats-bar, .quote-box {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-card);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
}

.stat .bi {
  font-size: 24px;
  flex: 0 0 auto;
}

.stat b {
  display: block;
  font-size: clamp(1.2rem, 1rem + 0.8vw, 1.6rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.stat span {
  font-size: 12.5px;
  color: var(--c-text-muted);
  line-height: 1.35;
}

.quote-box .bi-quote {
  font-size: 26px;
  color: var(--c-text-muted);
  opacity: 0.5;
  line-height: 1;
}

.quote-box p {
  font-size: 13.5px;
  line-height: 1.6;
}

.quote-box cite {
  font-style: normal;
  font-size: 12.5px;
  color: var(--c-text-muted);
}

.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--c-band);
}

.cta-band .container {
  position: relative;
  z-index: 1;
}

.cta-band h2 {
  text-transform: uppercase;
}

.cta-band p {
  color: var(--c-text-muted);
}

.site-footer {
  background: var(--c-surface-2);
  border-top: 1px solid var(--c-border);
}

/* Tiêu đề cột là h2 (đứng ngay sau h2 cuối của trang, không nhảy cấp) nhưng trông như nhãn nhỏ. */
.site-footer .footer-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-text-muted);
}

.site-footer a {
  font-size: 13.5px;
  color: var(--c-text);
  opacity: 0.82;
}

.site-footer a:hover {
  opacity: 1;
  color: var(--c-primary);
}

.footer-bottom {
  border-top: 1px solid var(--c-border);
  font-size: 12.5px;
  color: var(--c-text-muted);
}

.trust-layer {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
}

.trust-layer div {
  font-size: 12.5px;
  font-weight: 700;
}

.trust-layer .bi {
  color: var(--c-trust);
  font-size: 16px;
}

.offcanvas {
  background: var(--c-surface);
  color: var(--c-text);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .btn-erp:hover, .e-card:hover, .module-chip:hover, .price-card:hover {
    transform: none;
  }
}
.page-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, color-mix(in srgb, var(--c-blue) 5%, var(--c-surface)) 0%, var(--c-surface) 42%, var(--c-bg) 100%);
  border-bottom: 1px solid var(--c-border);
}

.page-hero--dark {
  background: linear-gradient(150deg, #0F172A 0%, #16233d 45%, #1E293B 100%);
  color: #F1F5F9;
}

.page-hero--dark .hero-lead,
.page-hero--dark .crumb,
.page-hero--dark .crumb a,
.page-hero--dark .hstat span {
  color: #94A3B8;
}

.page-hero--dark .hero-title,
.page-hero--dark .hstat b {
  color: #F1F5F9;
}

.page-hero--dark .btn-erp-ghost {
  --bs-btn-color: #F1F5F9;
  --bs-btn-bg: transparent;
  --bs-btn-border-color: #475569;
  --bs-btn-hover-color: #F1F5F9;
  --bs-btn-hover-bg: rgba(255,255,255,.06);
  --bs-btn-hover-border-color: #94A3B8;
}

.page-hero--dark .btn-play-dot {
  background: #F1F5F9;
  color: #0F172A;
}

/* HERO CÓ ẢNH NỀN
   Dùng cho những page hero muốn ảnh phủ toàn section */
.page-hero--bg-image {
  position: relative;
  overflow: hidden;
}

.page-hero--bg-image > .page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.page-hero--bg-image .page-hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
  display: block;
}

.page-hero--bg-image::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.88) 35%, rgba(255, 255, 255, 0.35) 60%, rgba(255, 255, 255, 0) 100%);
}

.page-hero--bg-image > .container {
  position: relative;
  z-index: 2;
}

.page-hero--bg-image .hero-title,
.page-hero--bg-image .hero-lead {
  color: #0F172A;
}

.page-hero--bg-image .hstat span {
  color: #0F172A;
}

.page-hero--bg-image > .container > .row > .col-lg-6:first-child .tick > li > span {
  color: #0F172A !important;
}

[data-bs-theme=dark] .page-hero--bg-image .hero-panel .tick > li > span {
  color: #FFFFFF !important;
}

.page-hero--bg-image .float-cards-intelligence .float-card {
  color: #0F172A;
}

.page-hero--bg-image .float-cards-intelligence .float-card .tx-muted {
  color: #475569 !important;
}

[data-bs-theme=dark] .page-hero--bg-image .float-cards-intelligence .float-card {
  color: #FFFFFF;
}

[data-bs-theme=dark] .page-hero--bg-image .float-cards-intelligence .float-card .tx-muted {
  color: #CBD5E1 !important;
}

.page-hero--bg-image .row-cols-sm-3 .tx-sm,
.page-hero--bg-image .row-cols-sm-3 .tx-muted {
  color: #0F172A !important;
}

@media (max-width: 767.98px) {
  .page-hero--bg-image::after {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.97) 0%, rgba(255, 255, 255, 0.92) 48%, rgba(255, 255, 255, 0.55) 100%);
  }
  .page-hero--bg-image .page-hero__bg-img {
    object-position: 65% center;
  }
}
@media (min-width: 768px) and (max-width: 1199.98px) {
  .page-hero--bg-image::after {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.97) 0%, rgba(255, 255, 255, 0.9) 42%, rgba(255, 255, 255, 0.45) 68%, rgba(255, 255, 255, 0.05) 100%);
  }
}
/* breadcrumb */
.crumb {
  font-size: 12.5px;
  color: var(--c-text-muted);
}

.crumb a {
  color: var(--c-text-muted);
}

.crumb a:hover {
  color: var(--c-primary);
}

.crumb .sep {
  opacity: 0.5;
  margin: 0 0.45rem;
}

.crumb .cur {
  color: var(--c-primary);
  font-weight: 600;
}

/* nhãn đỏ trên tiêu đề */
.kicker {
  display: inline-flex;
  align-items: center;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-primary);
}

.kicker--blue {
  color: var(--c-blue);
}

.kicker--muted {
  color: var(--c-text-muted);
}

.kicker-box {
  border-radius: var(--r-btn);
  padding: 0.3rem 0.6rem;
  background: color-mix(in srgb, var(--c-primary) 10%, transparent);
}

.kicker-box.kicker--blue {
  background: color-mix(in srgb, var(--c-blue) 10%, transparent);
}

.hero-title--page {
  font-size: clamp(1.9rem, 1.05rem + 2.9vw, 3rem);
  line-height: 1.12;
}

.hero-title--page .ln2 {
  display: block;
}

/* =========================
   HERO STATS
   ========================= */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  width: 100%;
}

.hstat {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 1rem;
}

.hstat + .hstat {
  border-left: 1px solid var(--c-border);
}

.hstat b {
  display: block;
  font-size: clamp(1.05rem, 0.9rem + 0.6vw, 1.4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--c-blue);
}

.hstat span {
  display: block;
  font-size: 12px;
  color: var(--c-text-muted);
  line-height: 1.3;
}

/* =========================
   TABLET
   ========================= */
@media (min-width: 576px) and (max-width: 991.98px) {
  .hero-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 1rem;
  }
  .hstat {
    padding: 0 0.75rem;
  }
  .hstat span {
    font-size: 11px;
  }
  .hstat:nth-child(4) {
    border-left: 0;
  }
}
/* =========================
   MOBILE
   ========================= */
@media (max-width: 575.98px) {
  .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 1rem;
  }
  .hstat {
    padding: 0 0.5rem;
  }
  .hstat b {
    font-size: 1.1rem;
  }
  .hstat span {
    font-size: 10px;
    line-height: 1.25;
  }
  .hstat:nth-child(odd) {
    border-left: 0;
  }
}
/* danh sách tick cạnh tiêu đề hero */
.hero-checks li {
  font-size: 14px;
  line-height: 1.45;
}

.hero-checks .bi {
  color: var(--c-primary);
  font-size: 16px;
  flex: 0 0 auto;
  margin-top: 2px;
}

/* thẻ nổi góc phải hero (KPI) */
.float-cards {
  display: grid;
}

/* 3 thẻ: desktop = góc trên phải */
.page-hero--bg-image .float-cards-intelligence {
  position: absolute;
  z-index: 3;
  top: 5%;
  right: 4%;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

/* tablet + mobile = về flow, 1 cột */
@media (max-width: 991.98px) {
  .page-hero--bg-image .float-cards-intelligence {
    position: relative;
    top: auto;
    right: auto;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: calc(100% - 1.5rem);
    margin: 0 auto;
  }
}
@media (min-width: 992px) {
  .float-cards {
    position: absolute;
    z-index: 3;
    top: 8%;
    right: 2.5%;
    width: min(250px, 40%);
  }
  .float-card--quote {
    position: absolute;
    z-index: 3;
    width: min(250px, 45%);
  }
}
.float-card {
  background: color-mix(in srgb, var(--c-surface) 93%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid color-mix(in srgb, var(--c-border) 85%, transparent);
  border-radius: var(--r-card);
  box-shadow: 0 12px 30px -18px var(--c-shadow-lg);
}

.float-card .fc-l {
  font-size: 11.5px;
  color: var(--c-text-muted);
  line-height: 1.3;
}

.float-card .fc-v {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.float-card .fc-d {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--c-cyan);
}

.float-card .fc-d.is-bad {
  color: var(--c-primary);
}

/* danh sách "lợi ích" trong hộp mờ ở hero */
.hero-panel {
  background: color-mix(in srgb, var(--c-surface) 92%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid color-mix(in srgb, var(--c-border) 85%, transparent);
  border-radius: var(--r-card);
  box-shadow: 0 12px 30px -18px var(--c-shadow-lg);
}

.hero-panel li {
  font-size: 13px;
  line-height: 1.4;
}

.hero-panel .bi {
  font-size: 15px;
  color: var(--c-blue);
  flex: 0 0 auto;
}

.page-hero--bg-image .hero-panel:not(.hero-acceptance-panel):not(.price-hero .hero-panel) {
  position: absolute;
  z-index: 3;
  right: 2%;
  bottom: 5%;
  width: min(440px, 38%);
}

@media (max-width: 991.98px) {
  .page-hero--bg-image .hero-panel:not(.hero-acceptance-panel):not(.price-hero .hero-panel) {
    position: relative;
    right: auto;
    bottom: auto;
    width: calc(100% - 1.5rem);
    margin: 1.5rem auto 0;
  }
}
/* ảnh nền công trường dùng lại cho mọi hero trang trong */
.site-photo {
  position: relative;
  border-radius: var(--r-card);
  overflow: hidden;
  aspect-ratio: 16/10;
  background: var(--c-hero-sky-1);
  box-shadow: 0 24px 60px -30px var(--c-shadow-lg);
}

.site-photo > svg, .site-photo > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.site-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(100deg, color-mix(in srgb, var(--c-surface) 90%, transparent) 0%, color-mix(in srgb, var(--c-surface) 40%, transparent) 28%, transparent 60%);
}

.page-hero--dark .site-photo::after {
  background: linear-gradient(100deg, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.45) 28%, transparent 60%);
}

.page-hero--dark .hero-panel,
.page-hero--dark .float-card {
  color: var(--c-text);
}

.page-hero--dark .hero-panel li {
  color: var(--c-text-muted);
}

@media (min-width: 380px) {
  .hero-panel .tick {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 1rem;
  }
}
/* Quantity & quality acceptance */
.hero-right-content {
  position: relative;
  min-height: 430px;
}

.hero-quote {
  position: absolute;
  z-index: 3;
  top: 0;
  left: 0;
}

.hero-loop-panel {
  position: absolute;
  z-index: 3;
  top: 120px;
  right: 95px;
  width: min(100%, 440px);
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .hero-loop-panel {
    position: absolute;
    z-index: 3;
    top: 120px;
    right: 0;
    width: min(100%, 440px);
  }
}
.hero-acceptance-panel {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 0;
  width: min(440px, 80%);
}

@media (max-width: 991.98px) {
  .hero-right-content {
    min-height: 0;
  }
  .hero-quote,
  .hero-loop-panel,
  .hero-acceptance-panel {
    position: relative;
    inset: auto;
    width: 100%;
  }
  .hero-loop-panel {
    margin-top: 1rem;
  }
  .hero-acceptance-panel {
    margin-top: 1rem;
  }
}
/* =========================
   PRICING HERO — TICK LIST
   ========================= */
.price-hero .hero-panel .tick {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 1rem;
}

/* Desktop ≥ 1200px → 3 cột */
@media (min-width: 1200px) {
  .price-hero .hero-panel .tick {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
/* Mobile < 576px → 1 cột */
@media (max-width: 575.98px) {
  .price-hero .hero-panel .tick {
    grid-template-columns: 1fr;
  }
}
.ibox {
  width: 44px !important;
  height: 44px !important;
  flex: 0 0 44px !important;
  border-radius: 10px !important;
  display: grid !important;
  place-items: center !important;
  font-size: 20px !important;
  background: color-mix(in srgb, var(--c-text-muted) 12%, transparent);
  color: var(--c-text-muted) !important;
}

.ibox > i {
  display: block;
}

.ibox--sm {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  font-size: 16px;
  border-radius: 8px;
}

.ibox--lg {
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  font-size: 25px;
  border-radius: 12px;
}

.ibox--round {
  border-radius: 50%;
}

.ibox.ic-red {
  background: color-mix(in srgb, var(--c-red) 11%, transparent);
  color: var(--c-red);
}

.ibox.ic-blue {
  background: color-mix(in srgb, var(--c-blue) 11%, transparent);
  color: var(--c-blue);
}

.ibox.ic-cyan {
  background: color-mix(in srgb, var(--c-cyan) 12%, transparent);
  color: var(--c-cyan);
}

.ibox.ic-violet {
  background: color-mix(in srgb, var(--c-violet) 11%, transparent);
  color: var(--c-violet);
}

/* thẻ thông tin cơ bản: icon + tiêu đề + mô tả */
.icard {
  height: fit-content;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-card);
  line-height: 1rem;
}

.icard--hover {
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.icard--hover:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--c-primary) 38%, var(--c-border));
  box-shadow: 0 16px 36px -24px var(--c-shadow-lg);
}

.icard h3, .icard .h3s {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0;
}

.icard p {
  font-size: 13px;
  line-height: 1.55;
  color: var(--c-text-muted);
  margin: 0;
}

.icard ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.icard ul li {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--c-text-muted);
}

/* thẻ có gạch màu trên đầu */
.icard--top-red {
  border-top: 3px solid var(--c-red);
}

.icard--top-blue {
  border-top: 3px solid var(--c-blue);
}

.icard--top-cyan {
  border-top: 3px solid var(--c-cyan);
}

.icard--top-violet {
  border-top: 3px solid var(--c-violet);
}

/* thẻ nền nhạt theo màu */
.soft-red {
  background: color-mix(in srgb, var(--c-red) 6%, var(--c-surface));
  border-color: color-mix(in srgb, var(--c-red) 22%, var(--c-border));
}

.soft-blue {
  background: color-mix(in srgb, var(--c-blue) 6%, var(--c-surface));
  border-color: color-mix(in srgb, var(--c-blue) 22%, var(--c-border));
}

.soft-cyan {
  background: color-mix(in srgb, var(--c-cyan) 7%, var(--c-surface));
  border-color: color-mix(in srgb, var(--c-cyan) 24%, var(--c-border));
}

.soft-violet {
  background: color-mix(in srgb, var(--c-violet) 6%, var(--c-surface));
  border-color: color-mix(in srgb, var(--c-violet) 22%, var(--c-border));
}

.panel {
  height: fit-content;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-card);
}

.panel-gray {
  height: 100%;
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  border-radius: var(--r-card);
}

.panel--plain {
  background: transparent;
  border: 0;
}

.panel-h {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.35;
}

.panel-h .bi {
  color: var(--c-primary);
}

.panel-sub {
  font-size: 13px;
  line-height: 1.55;
  color: var(--c-text-muted);
}

/* tiêu đề có tam giác đỏ đứng đầu (mẫu trang Pain) */
.panel-h--tri::before {
  content: "";
  display: inline-block;
  vertical-align: 2px;
  margin-right: 0.5rem;
  border: 5px solid transparent;
  border-left-color: var(--c-primary);
  border-right-width: 0;
}

/* STEPLINE */
.stepline {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
}

.stepline .sl-item {
  min-width: 0;
  text-align: center;
}

.stepline .sl-item .ibox {
  margin: 0 auto 0.5rem;
}

.stepline .sl-item b {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.35;
}

.stepline .sl-item > span:not(.ibox) {
  display: block;
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--c-text-muted);
}

.stepline .sl-arrow {
  display: none;
  flex: 0 0 22px;
  align-self: flex-start;
  width: 22px;
  color: var(--c-text-muted);
  opacity: 0.65;
  font-size: 14px;
  text-align: center;
  padding-top: 8px;
}

.stepline--red .sl-arrow {
  color: var(--c-primary);
  opacity: 1;
}

@media (min-width: 320px) {
  .stepline {
    display: flex;
    align-items: flex-start;
    gap: 0;
  }
  .stepline .sl-item {
    flex: 1 1 0;
    min-width: 0;
  }
  .stepline .sl-arrow {
    display: block;
  }
}
/* biến thể: các bước đánh số tròn màu */
.numline {
  display: grid;
  gap: 0.5rem;
  grid-template-columns: 1fr;
}

.numline .nl-item {
  text-align: center;
}

.numline .nl-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin: 0 auto 0.5rem;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
}

.numline .nl-item b {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.35;
}

.numline .nl-item > div > span {
  display: block;
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--c-text-muted);
}

.numline .nl-arrow {
  display: none;
  align-self: center;
  color: var(--c-text-muted);
  opacity: 0.6;
  text-align: center;
  padding-top: 6px;
}

@media (min-width: 576px) {
  .numline {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: start;
    gap: 0;
  }
  .numline .nl-arrow {
    display: block;
    width: 20px;
    text-align: center;
  }
  .numline--4 {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  }
}
.n-red {
  background: var(--c-red);
}

.n-blue {
  background: var(--c-blue);
}

.n-cyan {
  background: var(--c-cyan);
}

.n-violet {
  background: var(--c-violet);
}

.n-slate {
  background: var(--c-border-strong);
}

.loop5 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem 0.25rem;
}

@media (min-width: 768px) {
  .loop5 {
    grid-template-columns: repeat(5, 1fr);
    gap: 0.25rem;
  }
}
.loop-node {
  position: relative;
  text-align: center;
}

.loop-ring {
  width: 62px;
  height: 62px;
  margin: 0 auto 0.5rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 22px;
  border: 1.5px solid var(--c-border);
  background: var(--c-surface);
  color: var(--c-text-muted);
}

.loop-node b {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.loop-node span {
  display: block;
  font-size: 11px;
  color: var(--c-text-muted);
  line-height: 1.35;
}

.loop-node .loop-idx {
  position: absolute;
  top: -6px;
  left: 50%;
  margin-left: 16px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  display: grid;
  place-items: center;
  background: var(--c-surface);
  border: 1.5px solid var(--c-border);
  color: var(--c-text-muted);
}

.loop-node.is-core .loop-ring {
  width: 76px;
  height: 76px;
  font-size: 27px;
  border-width: 2.5px;
  border-color: var(--c-primary);
  color: var(--c-primary);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--c-primary) 9%, transparent);
}

.loop-node.is-core b {
  color: var(--c-primary);
}

.loop-node.is-core .loop-idx {
  background: var(--c-primary);
  border-color: var(--c-primary);
  color: #fff;
}

.loop-node::after {
  content: "";
  display: none;
  position: absolute;
  top: 31px;
  left: calc(50% + 40px);
  right: calc(-50% + 40px);
  height: 1.5px;
  background: var(--c-border);
}

.loop-node:last-child::after {
  content: none;
}

@media (min-width: 768px) {
  .loop-node::after {
    display: block;
  }
}
.loop-note {
  display: inline-block;
  border-radius: var(--r-pill);
  border: 1px dashed var(--c-primary);
  color: var(--c-primary);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* =========================================================
   BROWSER FRAME
   Khung trình duyệt dùng để chứa screenshot / UI image
   ========================================================= */
.browser-frame {
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--c-border);
  border-radius: var(--r-card);
  background: var(--c-surface);
  box-shadow: 0 30px 70px -34px var(--c-shadow-lg);
}

/* Thanh trình duyệt */
.browser-frame__bar {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 38px;
  padding: 0.45rem 0.7rem;
  background: var(--c-surface-2);
  border-bottom: 1px solid var(--c-border);
}

/* 3 chấm */
.browser-frame__dots {
  display: flex;
  align-items: center;
  gap: 5px;
  flex: 0 0 auto;
}

.browser-frame__dots span {
  display: block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.browser-frame__dots span:nth-child(1) {
  background: #F87171;
}

.browser-frame__dots span:nth-child(2) {
  background: #FBBF24;
}

.browser-frame__dots span:nth-child(3) {
  background: #34D399;
}

/* Thanh URL */
.browser-frame__url {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0.2rem 0.7rem;
  border: 1px solid var(--c-border);
  border-radius: var(--r-pill);
  background: var(--c-surface);
  color: var(--c-text-muted);
  font-size: 11px;
  line-height: 1.3;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Khu vực chứa ảnh */
.browser-frame__content {
  width: 100%;
  overflow: hidden;
  background: var(--c-surface);
}

/* Ảnh đặt thẳng trong khung (các trang sản phẩm) cũng phải co theo khung: thẻ
   img có sẵn width/height để giữ chỗ, thiếu height:auto thì ảnh bị méo. */
.browser-frame__content img,
.browser-frame > img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
}

/* khung trình duyệt kiểu cũ */
.browser {
  border-radius: var(--r-card);
  overflow: hidden;
  border: 1px solid var(--c-border);
  background: var(--c-surface);
  box-shadow: 0 30px 70px -34px var(--c-shadow-lg);
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: var(--c-surface-2);
  border-bottom: 1px solid var(--c-border);
}

.browser-dots {
  display: flex;
  gap: 5px;
  flex: 0 0 auto;
}

.browser-dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: block;
}

.browser-dots i:nth-child(1) {
  background: #F87171;
}

.browser-dots i:nth-child(2) {
  background: #FBBF24;
}

.browser-dots i:nth-child(3) {
  background: #34D399;
}

.browser-url {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 11px;
  color: var(--c-text-muted);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-pill);
  padding: 0.15rem 0.7rem;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* nhãn "Dữ liệu mẫu" (C10) — luôn hiển thị, không phải chú thích nhỏ */
.sample-tag {
  flex: 0 0 auto;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: var(--r-pill);
  padding: 0.2rem 0.6rem;
  background: color-mix(in srgb, var(--c-red) 12%, transparent);
  color: var(--c-red);
  border: 1px solid color-mix(in srgb, var(--c-red) 35%, transparent);
}

.sample-tag .bi {
  font-size: 10px;
}

/* ảnh UI: sidebar tối + vùng nội dung sáng */
.app {
  display: grid;
  grid-template-columns: 132px 1fr;
  min-height: 300px;
  background: var(--c-surface);
}

.app-side {
  background: #0F172A;
  padding: 0.6rem 0.5rem;
}

.app-side .as-brand {
  height: 15px;
  width: auto;
  display: block;
  margin: 0.1rem 0.25rem 0.7rem;
}

.app-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px;
}

.app-nav li {
  font-size: 9.5px;
  color: #94A3B8;
  border-radius: 5px;
  padding: 0.28rem 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  line-height: 1.3;
}

.app-nav li .bi {
  font-size: 9px;
}

.app-nav li.on {
  background: var(--c-primary);
  color: #fff;
}

.app-main {
  padding: 0.7rem;
  display: grid;
  gap: 0.55rem;
  align-content: start;
  min-width: 0;
}

.app-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.app-title {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
}

.app-crumb {
  font-size: 9.5px;
  color: var(--c-text-muted);
}

.kpi-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
  gap: 0.45rem;
}

.kpi {
  border: 1px solid var(--c-border);
  border-radius: 8px;
  padding: 0.45rem 0.55rem;
  background: var(--c-surface-2);
  min-width: 0;
}

.kpi .k-l {
  font-size: 8.5px;
  color: var(--c-text-muted);
  line-height: 1.3;
}

.kpi .k-v {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.kpi .k-d {
  font-size: 8.5px;
  font-weight: 700;
  color: var(--c-cyan);
}

.kpi .k-d.is-bad {
  color: var(--c-primary);
}

.app-panel {
  border: 1px solid var(--c-border);
  border-radius: 8px;
  background: var(--c-surface-2);
  padding: 0.5rem;
  min-width: 0;
}

.app-panel .ap-h {
  font-size: 9.5px;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.app-panel svg {
  display: block;
  width: 100%;
}

.app-cols-2 {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 0.5rem;
}

.app-cols-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

@media (max-width: 575.98px) {
  .app {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .app-side {
    display: none;
  }
  .app-cols-2, .app-cols-3 {
    grid-template-columns: 1fr;
  }
}
/* bảng nhỏ trong ảnh UI */
.app-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 9px;
}

.app-table th, .app-table td {
  padding: 0.28rem 0.35rem;
  border-bottom: 1px solid var(--c-border);
  text-align: left;
  white-space: nowrap;
}

.app-table th {
  color: var(--c-text-muted);
  font-weight: 600;
  font-size: 8.5px;
}

.app-table td {
  color: var(--c-text);
}

.app-wrap {
  overflow-x: auto;
}

/* nhãn trạng thái */
.st {
  display: inline-block;
  border-radius: var(--r-pill);
  padding: 0.05rem 0.4rem;
  font-size: 8px;
  font-weight: 700;
  white-space: nowrap;
}

.st-ok {
  background: color-mix(in srgb, var(--c-cyan) 15%, transparent);
  color: var(--c-cyan);
}

.st-warn {
  background: color-mix(in srgb, var(--c-red) 12%, transparent);
  color: var(--c-red);
}

.st-info {
  background: color-mix(in srgb, var(--c-blue) 12%, transparent);
  color: var(--c-blue);
}

.st-mute {
  background: color-mix(in srgb, var(--c-text-muted) 14%, transparent);
  color: var(--c-text-muted);
}

/* kanban trong ảnh UI */
.app-kanban {
  display: grid;
  grid-template-columns: repeat(4, minmax(118px, 1fr));
  gap: 0.45rem;
  overflow-x: auto;
}

.app-kanban--5 {
  grid-template-columns: repeat(5, minmax(108px, 1fr));
}

.kb-col {
  display: grid;
  gap: 0.35rem;
  align-content: start;
  padding: 0.4rem;
  border-radius: 8px;
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
}

.kb-h {
  font-size: 9px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  gap: 0.3rem;
}

.kb-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: 6px;
  padding: 0.35rem 0.4rem;
}

.kb-card b {
  display: block;
  font-size: 8.5px;
  font-weight: 700;
  line-height: 1.3;
}

.kb-card span {
  display: block;
  font-size: 7.5px;
  color: var(--c-text-muted);
  line-height: 1.35;
}

.tick {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.tick li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 13px;
  line-height: 1.5;
}

.tick li .bi {
  flex: 0 0 auto;
  margin-top: 2px;
  font-size: 14px;
}

.tick--red .bi {
  color: var(--c-red);
}

.tick--blue .bi {
  color: var(--c-blue);
}

.tick--cyan .bi {
  color: var(--c-cyan);
}

.tick--muted li {
  color: var(--c-text-muted);
}

.tick--center li {
  align-items: center;
}

.tick--center li .bi {
  margin-top: 0;
}

.tick--sm li {
  font-size: 12.5px;
}

/* danh sách chấm tròn nhỏ */
.dotlist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.32rem;
}

.dotlist li {
  position: relative;
  padding-left: 0.85rem;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--c-text-muted);
}

.dotlist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.7;
}

.dotlist--red li::before {
  background: var(--c-red);
  opacity: 1;
}

.dotlist--blue li::before {
  background: var(--c-blue);
  opacity: 1;
}

.dotlist--cyan li::before {
  background: var(--c-cyan);
  opacity: 1;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  border-radius: var(--r-pill);
  padding: 0.2rem 0.6rem;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.5;
  background: var(--c-surface-2);
  color: var(--c-text-muted);
  border: 1px solid var(--c-border);
}

.tag--red {
  background: color-mix(in srgb, var(--c-red) 10%, transparent);
  color: var(--c-red);
  border-color: transparent;
}

.tag--blue {
  background: color-mix(in srgb, var(--c-blue) 10%, transparent);
  color: var(--c-blue);
  border-color: transparent;
}

.tag--cyan {
  background: color-mix(in srgb, var(--c-cyan) 12%, transparent);
  color: var(--c-cyan);
  border-color: transparent;
}

.tag--violet {
  background: color-mix(in srgb, var(--c-violet) 10%, transparent);
  color: var(--c-violet);
  border-color: transparent;
}

.tag .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

/* nút lọc dạng pill */
.filter-pill {
  border-radius: var(--r-pill);
  border: 1px solid var(--c-border);
  background: var(--c-surface);
  color: var(--c-text-muted);
  font-size: 12.5px;
  font-weight: 600;
  padding: 0.3rem 0.8rem;
  transition: border-color 0.18s ease, color 0.18s ease, background-color 0.18s ease;
}

.filter-pill:hover {
  color: var(--c-primary);
  border-color: color-mix(in srgb, var(--c-primary) 45%, var(--c-border));
}

.filter-pill.on {
  background: var(--c-primary);
  border-color: var(--c-primary);
  color: #fff;
}

/* Pill là nhãn của radio .btn-check (form đặt demo) */
label.filter-pill {
  cursor: pointer;
  margin: 0;
}

.btn-check:checked + .filter-pill {
  background: var(--c-primary);
  border-color: var(--c-primary);
  color: #fff;
}

.btn-check:focus-visible + .filter-pill {
  outline: 2px solid var(--c-primary);
  outline-offset: 2px;
}

.iogrid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  align-items: stretch;
}

.iogrid .io-arrow {
  display: none;
  align-self: center;
  color: var(--c-text-muted);
  opacity: 0.6;
}

@media (min-width: 992px) {
  .iogrid {
    grid-template-columns: 1fr 20px 1fr 20px 1fr;
    gap: 0.5rem;
  }
  .iogrid .io-arrow {
    display: block;
    text-align: center;
  }
}
.io-head {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ba-head {
  font-size: 13px;
  font-weight: 700;
  border-radius: var(--r-btn);
  padding: 0.4rem 0.7rem;
  margin-bottom: 0.6rem;
}

.ba-before {
  background: color-mix(in srgb, var(--c-red) 10%, transparent);
  color: var(--c-red);
}

.ba-after {
  background: color-mix(in srgb, var(--c-blue) 10%, transparent);
  color: var(--c-blue);
}

.faq .accordion-item {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-btn) !important;
  margin-bottom: 0.5rem;
}

.faq .accordion-button {
  background: transparent;
  color: var(--c-text);
  font-size: 13.5px;
  font-weight: 600;
  padding: 0.7rem 0.9rem;
  border-radius: var(--r-btn) !important;
  box-shadow: none;
}

.faq .accordion-button:not(.collapsed) {
  color: var(--c-primary);
  background: transparent;
}

.faq .accordion-button::after {
  width: 15px;
  height: 15px;
  background-size: 15px;
}

.faq .accordion-body {
  font-size: 13px;
  line-height: 1.6;
  color: var(--c-text-muted);
  padding: 0 0.9rem 0.8rem;
}

.linkcard {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  height: 100%;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-card);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.linkcard:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--c-primary) 40%, var(--c-border));
  box-shadow: 0 14px 32px -22px var(--c-shadow-lg);
}

.linkcard b {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.3;
}

.linkcard > div > span {
  display: block;
  font-size: 11.5px;
  color: var(--c-text-muted);
  line-height: 1.4;
}

.linkcard .go {
  margin-left: auto;
  color: var(--c-text-muted);
  flex: 0 0 auto;
}

.linkcard:hover .go {
  color: var(--c-primary);
}

.link-more {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--c-blue);
}

.link-more:hover {
  color: var(--c-primary);
}

.cta-red {
  position: relative;
  overflow: hidden;
  background: linear-gradient(100deg, var(--c-primary) 0%, var(--c-primary-strong) 100%);
  color: #fff;
}

.cta-red h2, .cta-red p {
  color: #fff;
}

.cta-red h2 {
  text-transform: none;
  font-size: clamp(1.15rem, 0.95rem + 1vw, 1.7rem);
}

.cta-red p {
  opacity: 0.92;
  font-size: 14px;
}

.cta-red .btn-erp-ghost {
  --bs-btn-color: #fff;
  --bs-btn-bg: transparent;
  --bs-btn-border-color: rgba(255,255,255,.55);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: rgba(255,255,255,.12);
  --bs-btn-hover-border-color: #fff;
}

.cta-red .btn-erp-white {
  --bs-btn-color: var(--c-primary);
  --bs-btn-bg: #fff;
  --bs-btn-border-color: #fff;
  --bs-btn-hover-color: var(--c-primary);
  --bs-btn-hover-bg: #fff;
  --bs-btn-hover-border-color: #fff;
}

.cta-red .tick li, .cta-red .tick li .bi {
  color: #fff;
}

/* CTA nền nhạt */
.cta-soft {
  background: linear-gradient(100deg, color-mix(in srgb, var(--c-primary) 7%, var(--c-surface)) 0%, color-mix(in srgb, var(--c-blue) 6%, var(--c-surface)) 100%);
  border-top: 1px solid var(--c-border);
}

.trust-band {
  background: #0F172A;
  color: #F1F5F9;
}

.trust-band .tb-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
}

.trust-band .tb-item {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
}

.trust-band .tb-item .bi {
  font-size: 20px;
  color: var(--c-cyan);
  flex: 0 0 auto;
}

.trust-band .tb-item b {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.3;
}

.trust-band .tb-item span {
  display: block;
  font-size: 11.5px;
  color: #94A3B8;
  line-height: 1.4;
}

.trust-band .tb-head b {
  font-size: 15px;
}

.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1035;
  background: color-mix(in srgb, #0F172A 94%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid #334155;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.sticky-cta.show {
  transform: none;
}

.sticky-cta .sc-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #94A3B8;
}

.sticky-cta .btn-sc {
  --bs-btn-color: #F1F5F9;
  --bs-btn-bg: transparent;
  --bs-btn-border-color: #475569;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: rgba(255,255,255,.08);
  --bs-btn-hover-border-color: #94A3B8;
  --bs-btn-font-size: 13px;
}

@media (max-width: 991.98px) {
  .sticky-cta {
    display: none;
  }
}
.result-tile {
  text-align: center;
}

.result-tile .rt-v {
  font-size: clamp(1.3rem, 1.05rem + 0.5vw, 1.3rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.result-tile .rt-l {
  font-size: 12px;
  color: var(--c-text-muted);
  line-height: 1.4;
}

/* thẻ chỉ số dạng ngang: icon + số + nhãn */
.mtile {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.mtile .mt-v {
  font-size: clamp(1.05rem, 0.9rem + 0.7vw, 1.4rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.mtile .mt-l {
  font-size: 11.5px;
  color: var(--c-text-muted);
  line-height: 1.35;
}

.mtile .mt-d {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--c-cyan);
}

.mtile .mt-d.is-bad {
  color: var(--c-primary);
}

.domain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
}

.domain-card {
  position: relative;
  height: 100%;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-card);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.domain-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--c-primary) 40%, var(--c-border));
  box-shadow: 0 14px 32px -22px var(--c-shadow-lg);
}

.domain-card .dc-no {
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.domain-card b {
  display: block;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
}

.domain-card > div > span {
  display: block;
  font-size: 11px;
  color: var(--c-text-muted);
  line-height: 1.4;
}

.domain-card.is-sys {
  background: var(--c-surface-2);
  border-style: dashed;
}

.vsteps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.vstep {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
}

.vstep .vs-n {
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  background: color-mix(in srgb, var(--c-primary) 12%, transparent);
  color: var(--c-primary);
}

.vstep b {
  display: block;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.vstep span {
  display: block;
  font-size: 12px;
  color: var(--c-text-muted);
  line-height: 1.45;
}

.vs-head {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.75rem;
}

.vs-head .vs-t {
  font-size: 14px;
  font-weight: 700;
}

.vs-head .vs-x {
  font-size: 12px;
  font-style: italic;
  color: var(--c-text-muted);
}

.post-card {
  height: 100%;
  overflow: hidden;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.post-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -24px var(--c-shadow-lg);
}

.post-thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--c-hero-sky-1);
}

.post-thumb > svg, .post-thumb > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-badge {
  position: absolute;
  left: 0.6rem;
  bottom: 0.6rem;
  z-index: 2;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 4px;
  padding: 0.15rem 0.45rem;
  background: var(--c-primary);
  color: #fff;
}

.post-badge.is-blue {
  background: var(--c-blue);
}

.post-badge.is-cyan {
  background: var(--c-cyan);
}

.post-card h3 {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}

.post-card .pm {
  font-size: 11.5px;
  color: var(--c-text-muted);
}

.play-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
}

.play-overlay i {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.92);
  color: #0F172A;
  font-size: 16px;
}

.post-card--news {
  color: var(--c-text);
}

.post-card--news:hover {
  color: var(--c-text);
}

.post-card--news h2, .post-card--news h3 {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-excerpt {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--c-text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-pager .pagination {
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin: 0;
}

.news-pager .page-link {
  border: 1px solid var(--c-border);
  border-radius: var(--r-btn);
  background: var(--c-surface);
  color: var(--c-text);
  font-size: 13.5px;
  font-weight: 600;
}

.news-pager .page-link:hover {
  border-color: var(--c-primary);
  color: var(--c-primary);
}

.news-pager .page-item.active .page-link {
  background: var(--c-primary);
  border-color: var(--c-primary);
  color: #fff;
}

.hero-title--article {
  font-size: clamp(1.6rem, 1.1rem + 2vw, 2.5rem);
  line-height: 1.2;
  text-wrap: balance;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
  font-size: 13px;
  color: var(--c-text-muted);
}

.article-meta .bi {
  margin-right: 0.2rem;
}

.article-hero {
  margin: 0 0 2rem;
}

.article-hero img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--c-border);
  border-radius: var(--r-card);
}

.article-toc {
  margin-bottom: 2rem;
  padding: 1rem 1.25rem;
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  border-radius: var(--r-card);
}

.article-toc .toc-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.article-toc ol, .article-toc ul {
  margin: 0;
  padding-left: 1.2rem;
}

.article-toc li {
  font-size: 14px;
  line-height: 1.5;
  margin: 0.3rem 0;
}

.article-toc a {
  color: var(--c-text);
}

.article-toc a:hover, .article-toc a.active {
  color: var(--c-primary);
}

.article-body {
  max-width: 72ch;
  font-size: 16.5px;
  line-height: 1.75;
  overflow-wrap: break-word;
}

.article-body > :first-child {
  margin-top: 0;
}

.article-body > :last-child {
  margin-bottom: 0;
}

.article-body p, .article-body ul, .article-body ol, .article-body figure,
.article-body blockquote, .article-body table, .article-body pre {
  margin-bottom: 1.15rem;
}

.article-body h2 {
  font-size: clamp(1.3rem, 1.15rem + 0.7vw, 1.6rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin: 2.25rem 0 0.85rem;
}

.article-body h3 {
  font-size: clamp(1.1rem, 1.03rem + 0.35vw, 1.3rem);
  font-weight: 700;
  line-height: 1.35;
  margin: 1.75rem 0 0.65rem;
}

.article-body h4, .article-body h5, .article-body h6 {
  font-size: 1rem;
  font-weight: 700;
  margin: 1.4rem 0 0.5rem;
}

.article-body h2, .article-body h3, .article-body h4 {
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

.article-body a {
  color: var(--c-blue);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.article-body a:hover {
  color: var(--c-primary);
}

.article-body ul, .article-body ol {
  padding-left: 1.4rem;
}

.article-body li {
  margin-bottom: 0.4rem;
}

.article-body img, .article-body video, .article-body iframe {
  max-width: 100%;
  border-radius: var(--r-btn);
}

.article-body img {
  height: auto;
}

.article-body figure {
  margin-inline: 0;
}

.article-body .aligncenter {
  text-align: center;
}

.article-body .aligncenter img {
  margin-inline: auto;
}

.article-body figcaption {
  margin-top: 0.5rem;
  font-size: 13px;
  color: var(--c-text-muted);
  text-align: center;
}

.article-body blockquote {
  padding: 0.9rem 1.15rem;
  border-left: 4px solid var(--c-primary);
  border-radius: 0 var(--r-btn) var(--r-btn) 0;
  background: var(--c-surface-2);
  font-weight: 500;
}

.article-body blockquote > :last-child {
  margin-bottom: 0;
}

.article-body .wp-block-table {
  overflow-x: auto;
}

.article-body table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
}

.article-body th, .article-body td {
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--c-border);
  text-align: left;
  vertical-align: top;
}

.article-body th {
  background: var(--c-surface-2);
  font-weight: 700;
}

.article-body hr {
  margin-block: 2rem;
  border-color: var(--c-border-strong);
}

.article-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--c-border);
}

.share-btn {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  color: var(--c-text-muted);
  font-size: 14px;
}

.share-btn:hover {
  background: var(--c-primary);
  border-color: var(--c-primary);
  color: #fff;
}

@media (min-width: 992px) {
  .article-side {
    position: sticky;
    top: calc(var(--header-h) + 1rem);
  }
}
.mini-thumb {
  flex: 0 0 88px;
  width: 88px;
  height: 66px;
  border-radius: var(--r-btn);
  overflow: hidden;
  background: var(--c-hero-sky-1);
}

.mini-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mini-title {
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--c-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mini-title:hover {
  color: var(--c-primary);
}

.dl-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  border: 1px solid var(--c-border);
  border-radius: var(--r-btn);
  background: var(--c-surface);
}

.dl-row b {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.35;
}

.dl-row > div > span {
  display: block;
  font-size: 11px;
  color: var(--c-text-muted);
}

.note-box {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  border-radius: var(--r-card);
  background: color-mix(in srgb, var(--c-blue) 6%, var(--c-surface));
  border: 1px solid color-mix(in srgb, var(--c-blue) 22%, var(--c-border));
}

.note-box .bi {
  color: var(--c-blue);
  font-size: 18px;
  flex: 0 0 auto;
}

.note-box b {
  font-size: 13px;
  font-weight: 700;
}

.note-box p {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--c-text-muted);
  margin: 0;
}

/* trích dẫn lớn */
.pull-quote {
  font-size: clamp(14px, 13px + 0.35vw, 16px);
  line-height: 1.65;
  font-weight: 600;
  color: #fff;
}

.pull-quote .bi {
  color: var(--c-text-muted);
  opacity: 0.45;
  font-size: 22px;
}

.pull-quote--light {
  color: #fff;
}

.pull-quote--light .bi {
  color: #fff;
  opacity: 0.6;
}

/* thanh tiến độ mảnh */
.bar {
  height: 6px;
  border-radius: var(--r-pill);
  background: var(--c-surface-2);
  overflow: hidden;
}

.bar > i {
  display: block;
  height: 100%;
  border-radius: var(--r-pill);
  background: var(--c-blue);
}

.divider-y {
  border-left: 1px solid var(--c-border);
}

@media (max-width: 991.98px) {
  .divider-y {
    border-left: 0;
  }
}
.sec-title {
  font-size: clamp(1.2rem, 1rem + 1vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.25;
}

.sec-title--upper {
  text-transform: uppercase;
  font-size: clamp(1rem, 0.9rem + 0.5vw, 1.25rem);
  letter-spacing: 0.02em;
}

/* hero: ảnh công trường + thẻ KPI nổi đè lên ảnh (≥1200px), nhỏ hơn thì xếp dưới */
.hero-float {
  display: grid;
}

@media (min-width: 1200px) {
  .hero-visual .hero-photo {
    aspect-ratio: 5/4;
  }
  .hero-float {
    position: absolute;
    z-index: 3;
    top: 6%;
    right: 4%;
    width: min(300px, 54%);
  }
  .hero-float--sm {
    width: min(250px, 46%);
  }
}
.float-card .fc-h {
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.35;
}

.tile {
  border: 1px solid var(--c-border);
  border-radius: 10px;
  background: var(--c-surface);
}

.chart-mini {
  display: block;
  width: 100%;
  height: 64px;
}

/* dải 4 số liệu dưới hero — biến thể 4 cột của .hero-stats (mặc định 5) */
.hero-stats--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (min-width: 576px) and (max-width: 991.98px) {
  .hero-stats--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .hero-stats--4 .hstat:nth-child(4) {
    border-left: 1px solid var(--c-border);
  }
}
@media (max-width: 575.98px) {
  .hero-stats--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
/* 5 bước + mũi tên: mobile 2 cột, ≥768px một hàng — mũi tên chỉ rộng 22px */
.stepline.stepline--fit {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 0.5rem;
}

.stepline.stepline--fit .sl-arrow {
  display: none;
}

@media (min-width: 768px) {
  .stepline.stepline--fit {
    grid-template-columns: minmax(0, 1fr) 22px minmax(0, 1fr) 22px minmax(0, 1fr) 22px minmax(0, 1fr) 22px minmax(0, 1fr);
    gap: 0.25rem;
  }
  .stepline.stepline--fit .sl-arrow {
    display: block;
    width: auto;
    padding-top: 16px;
  }
}
/* CTA cuối trang nền navy + số liệu */
.cta-navy {
  background: linear-gradient(100deg, #0F172A 0%, #15254A 55%, #1E3A8A 100%);
  color: #F1F5F9;
}

.cta-navy h2 {
  color: #fff;
  font-size: clamp(1.15rem, 0.95rem + 1vw, 1.7rem);
}

.cta-navy p {
  color: #CBD5E1;
  font-size: 14px;
}

.cta-navy .btn-erp-ghost {
  --bs-btn-color: #fff;
  --bs-btn-bg: transparent;
  --bs-btn-border-color: rgba(255,255,255,.55);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: rgba(255,255,255,.1);
  --bs-btn-hover-border-color: #fff;
}

.cta-navy .cn-stat .bi {
  font-size: 24px;
  color: #CBD5E1;
  flex: 0 0 auto;
}

.cta-navy .cn-stat b {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.1;
  color: #fff;
}

.cta-navy .cn-stat span {
  display: block;
  font-size: 12px;
  line-height: 1.35;
  color: #94A3B8;
}

body.toolbar-fixed .site-header {
  top: var(--drupal-displace-offset-top, 0);
}

.messages {
  border-radius: var(--r-card);
  border: 1px solid var(--c-border);
  background: var(--c-surface);
  color: var(--c-text);
}
.messages--error {
  border-left: 4px solid var(--c-red);
}
.messages--warning {
  border-left: 4px solid var(--c-primary-soft);
}
.messages--status {
  border-left: 4px solid var(--c-cyan);
}

.form-control,
.form-select {
  border-radius: var(--r-btn);
  border-color: var(--c-border);
  background: var(--c-surface);
  color: var(--c-text);
}
.form-control:focus,
.form-select:focus {
  border-color: var(--c-primary);
  box-shadow: 0 0 0 0.2rem rgba(227, 27, 35, 0.15);
}

.region-content:empty {
  display: none;
}

.visually-hidden-focusable:focus {
  position: static !important;
  display: block;
  padding: 0.5rem 1rem;
  background: var(--c-primary);
  color: #fff;
}

/*# sourceMappingURL=style.css.map */
