@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);
}

/* 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: 46ch;
}

.trust-logos .logo-item {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  font-size: clamp(12px, 11px + 0.28vw, 15px);
  letter-spacing: 0.01em;
  color: var(--c-text);
  opacity: 0.72;
  transition: opacity 0.18s ease;
}

.trust-logos .logo-item:hover {
  opacity: 1;
}

.trust-logos .logo-item .bi {
  font-size: 1.15em;
  opacity: 0.8;
}

.logo-serif {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 700;
}

.logo-underline {
  border-bottom: 2px solid currentColor;
  padding-bottom: 1px;
}

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

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

.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;
}

.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);
}

.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.35rem, 1.1rem + 0.8vw, 1.75rem);
  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: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);
}

/* desktop: thẻ metric nổi đè lên ảnh (đúng như mockup) */
@media (min-width: 992px) {
  .hero-photo {
    aspect-ratio: 16/12;
  }
  .metric-stack {
    position: absolute;
    z-index: 3;
    top: 6%;
    right: 3.2%;
    width: min(268px, 42%);
  }
  .play-pill {
    position: absolute;
    z-index: 3;
    right: 3.2%;
    bottom: 5%;
  }
}
@media (max-width: 991.98px) {
  .metric-stack {
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  }
}
.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);
}

.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;
  }
}
.check-list li {
  font-size: 15px;
  line-height: 1.5;
}

.check-list .bi {
  color: var(--c-text);
  font-size: 19px;
  flex: 0 0 auto;
  margin-top: 1px;
}

[data-bs-theme=dark] .check-list .bi {
  color: var(--c-primary);
}

.device {
  border-radius: var(--r-card);
  background: #0F172A;
  border: 1px solid #334155;
  box-shadow: 0 30px 70px -34px var(--c-shadow-lg);
}

.device-screen {
  border-radius: var(--r-btn);
  overflow: hidden;
  background: #0F172A;
  display: grid;
  grid-template-columns: 118px 1fr;
  min-height: 290px;
}

.dev-side {
  background: #1E293B;
  border-right: 1px solid #334155;
}

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

.dev-logo {
  display: block;
  width: auto;
  height: 15px;
}

.dev-nav li {
  font-size: 9px;
  color: #94A3B8;
  border-radius: 5px;
}

.dev-nav li .bi {
  font-size: 8px;
}

.dev-nav li.on {
  background: #334155;
  color: #F1F5F9;
}

.dev-main {
  display: grid;
  grid-template-rows: auto 1.15fr 1fr;
  align-content: stretch;
}

.dev-title {
  font-size: 10px;
  font-weight: 700;
  color: #F1F5F9;
}

.dev-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr 1fr;
}

.dev-grid-2 {
  display: grid;
  grid-template-columns: 2fr 1fr;
}

.dev-panel {
  border: 1px solid #334155;
  background-color: #1E293B;
  border-radius: var(--r-btn);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.dev-panel .pl {
  font-size: 8px;
  color: #94A3B8;
}

.dev-panel .pv {
  font-size: 14px;
  font-weight: 700;
  color: #F1F5F9;
  line-height: 1.1;
}

.dev-panel .ps {
  font-size: 7.5px;
  color: #94A3B8;
}

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

@media (max-width: 575.98px) {
  .device-screen {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .dev-side {
    display: none;
  }
  .dev-grid, .dev-grid-2 {
    grid-template-columns: 1fr 1fr;
  }
}
.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);
}

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

.price-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;
}

.price-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 44px -26px var(--c-shadow-lg);
}

.price-card h3 {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.price-amount {
  font-size: clamp(0.95rem, 0.85rem + 0.35vw, 1.15rem);
  font-weight: 700;
  line-height: 1.25;
  text-wrap: balance;
}

.price-amount.is-free {
  color: var(--c-growth);
}

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

.price-feats li {
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--c-text-muted);
}

.price-feats .bi {
  color: var(--c-growth);
  font-size: 13px;
  flex: 0 0 auto;
  margin-top: 1px;
}

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

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

.price-card.is-featured .price-amount {
  color: var(--c-primary);
}

.price-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  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);
}

.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);
}

.site-footer h4 {
  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;
}

/* 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, 3.1rem);
  line-height: 1.12;
}

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

/* dải số liệu dưới hero */
.hero-stats {
  display: flex;
  flex-wrap: wrap;
}

.hstat {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

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

.hstat .bi {
  font-size: 20px;
  flex: 0 0 auto;
}

.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;
}

/* 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;
}

@media (min-width: 992px) {
  .float-cards {
    position: absolute;
    z-index: 3;
    top: 8%;
    right: 2.5%;
    width: min(250px, 40%);
  }
}
.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;
}

/* câu viết tay trang trí */
.script-note {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: clamp(13px, 12px + 0.3vw, 15.5px);
  line-height: 1.5;
  color: var(--c-text-muted);
}

.script-note b {
  color: var(--c-text);
  font-weight: 700;
}

/* ả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%);
}

.ibox {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 20px;
  background: color-mix(in srgb, var(--c-text-muted) 12%, transparent);
  color: var(--c-text-muted);
}

.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: 100%;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-card);
}

.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: 100%;
  background: var(--c-surface);
  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 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
}

.stepline .sl-item {
  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 {
  display: block;
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--c-text-muted);
}

.stepline .sl-arrow {
  display: none;
  align-self: center;
  color: var(--c-text-muted);
  opacity: 0.65;
  font-size: 14px;
  text-align: center;
}

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

@media (min-width: 768px) {
  .stepline {
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    align-items: start;
  }
  .stepline .sl-arrow {
    display: block;
    grid-auto-columns: max-content;
    width: 22px;
    padding-top: 12px;
  }
  .stepline > .sl-arrow {
    flex: 0 0 auto;
  }
}
/* 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 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: 768px) {
  .numline {
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    align-items: start;
  }
  .numline .nl-arrow {
    display: block;
    width: 20px;
  }
}
.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 {
  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;
}

.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);
}

.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--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;
}

.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 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 + 1vw, 1.75rem);
  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 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;
}

.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 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;
}

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

/* 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;
}

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 */
