/* Tiến Thành Bosky — landing (tông màu khớp Bika web: indigo #6366f1 → tím #8b5cf6) */
:root {
  --brand: #6366f1;
  --brand-600: #4f46e5;
  --brand-400: #818cf8;
  --violet: #8b5cf6;
  --brand-50: #eef2ff;
  --brand-line: #c7d2fe;
  --grad: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #64748b;
  --faint: #94a3b8;
  --line: #e2e8f0;
  --line-2: #eef2f7;
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --night: #070816;
  --night-2: #0d0f24;
  --ok: #10b981;
  --ok-bg: #d1fae5;
  --warn: #f59e0b;
  --warn-bg: #fef3c7;
  --bad: #ef4444;
  --bad-bg: #fee2e2;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 12px 32px -14px rgba(15, 23, 42, .16);
  --shadow-lg: 0 40px 100px -30px rgba(79, 70, 229, .55);
  --wrap: 1200px;
  --font: "Be Vietnam Pro", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.65; color: var(--ink);
  background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -.025em; text-wrap: balance; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.section { padding: 112px 0; position: relative; }
.section--soft { background: var(--bg-soft); }
.section--tight { padding: 72px 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
  font-size: 13px; font-weight: 600; color: var(--brand-600); background: var(--brand-50); border: 1px solid var(--brand-line);
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--grad); }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(30px, 4.2vw, 48px); font-weight: 800; margin: 18px 0 16px; }
.section-head p { font-size: 18px; color: var(--muted); }
@media (min-width: 561px) { .hl { white-space: nowrap; } }
.hl { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 26px; border-radius: 999px; font-weight: 700; font-size: 15px;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .2s; }
.btn:hover svg:last-child { transform: translateX(2px); }
.btn--primary { background: var(--grad); color: #fff; box-shadow: 0 10px 30px -10px rgba(99, 102, 241, .9), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -10px rgba(99, 102, 241, .9), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .4); }
.btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .04); backdrop-filter: blur(8px); }
.btn--ghost:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .35); }
.btn--outline { color: var(--ink); border-color: var(--line); background: #fff; }
.btn--outline:hover { border-color: var(--brand); color: var(--brand-600); }
.btn--sm { height: 42px; padding: 0 18px; font-size: 14px; }

/* Header – thanh menu nổi dạng viên thuốc */
.header { position: fixed; inset: 14px 0 auto; z-index: 50; pointer-events: none; padding: 0 14px; }
.header__inner {
  pointer-events: auto; display: flex; align-items: center; gap: 24px; height: 64px;
  max-width: calc(var(--wrap) - 16px); margin: 0 auto; padding: 0 10px 0 16px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .1); background: rgba(13, 15, 36, .45);
  backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px);
  transition: background .3s, border-color .3s, box-shadow .3s;
}
.header.is-solid .header__inner { background: rgba(255, 255, 255, .82); border-color: var(--line); box-shadow: 0 10px 30px -14px rgba(15, 23, 42, .25); }
.logo { display: flex; align-items: center; gap: 10px; color: #fff; }
.logo__mark { width: 36px; height: 36px; flex: none; }
.logo__text { display: flex; flex-direction: column; line-height: 1.1; }
.logo__name { font-weight: 800; font-size: 15px; letter-spacing: .02em; }
.logo__tag { font-size: 10.5px; font-weight: 500; opacity: .6; letter-spacing: .06em; text-transform: uppercase; }
.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a { padding: 8px 14px; border-radius: 999px; font-size: 14.5px; font-weight: 600; color: rgba(255, 255, 255, .72); transition: color .2s, background .2s; }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .1); }
.header__cta { display: flex; align-items: center; gap: 10px; }
.header__cta .btn { height: 44px; padding: 0 18px; font-size: 14px; }
.header.is-solid .logo { color: var(--ink); }
.header.is-solid .nav a { color: var(--ink-2); }
.header.is-solid .nav a:hover, .header.is-solid .nav a[aria-current="page"] { color: var(--brand-600); background: var(--brand-50); }
.header.is-solid .burger span { background: var(--ink); }

.burger { display: none; width: 44px; height: 44px; margin-left: auto; border: 0; background: none; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 11px; width: 22px; height: 2px; border-radius: 2px; background: #fff; transition: transform .25s, opacity .25s, top .25s; }
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 27px; }
.nav-open .burger span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-open .burger span:nth-child(2) { opacity: 0; }
.nav-open .burger span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* Nền tối dùng chung: hero, page-hero, CTA */
.dark { position: relative; overflow: hidden; color: #fff; background: var(--night); isolation: isolate; }
.aurora { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.aurora i { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; animation: drift 18s ease-in-out infinite alternate; }
.aurora i:nth-child(1) { width: 620px; height: 620px; left: -160px; top: -220px; background: #4f46e5; }
.aurora i:nth-child(2) { width: 520px; height: 520px; right: -140px; top: -120px; background: #8b5cf6; animation-delay: -6s; }
.aurora i:nth-child(3) { width: 680px; height: 420px; left: 30%; top: 40%; background: #3b82f6; opacity: .25; animation-delay: -12s; }
.aurora::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 55% at 50% 30%, #000 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 30%, #000 20%, transparent 80%);
}
@keyframes drift { to { transform: translate(60px, 40px) scale(1.12); } }

/* Hero */
.hero { padding: 168px 0 0; text-align: center; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 240px; background: linear-gradient(transparent, var(--bg)); z-index: -1; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 5px 14px 5px 5px; border-radius: 999px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); font-size: 13.5px; color: rgba(255, 255, 255, .85);
}
.pill b { padding: 3px 10px; border-radius: 999px; background: var(--grad); color: #fff; font-size: 12px; font-weight: 700; }
.hero h1 { font-size: clamp(40px, 6.6vw, 80px); font-weight: 800; margin: 26px auto 22px; letter-spacing: -.04em; line-height: 1.04; max-width: 980px; }
.hero h1 .grad { background: linear-gradient(90deg, #a5b4fc 0%, #c4b5fd 40%, #fff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lead { font-size: clamp(17px, 1.6vw, 20px); color: rgba(255, 255, 255, .68); max-width: 680px; margin: 0 auto; }
.hero__lead strong { color: #fff; font-weight: 600; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; justify-content: center; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 32px; font-size: 14px; color: rgba(255, 255, 255, .62); justify-content: center; }
.hero__trust li { display: flex; align-items: center; gap: 8px; }
.hero__trust svg { width: 18px; height: 18px; color: #34d399; flex: none; }

.hero__visual { position: relative; margin: 72px auto 0; max-width: 1100px; perspective: 2000px; }
.hero__visual::before { content: ""; position: absolute; inset: 10% 6% -4%; z-index: -1; border-radius: 40px; background: var(--grad); filter: blur(70px); opacity: .55; }
.frame {
  position: relative; text-align: left; border-radius: 20px; padding: 6px; background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16); box-shadow: var(--shadow-lg);
  transform: rotateX(14deg) scale(.96); transform-origin: 50% 0; transition: transform 1.2s cubic-bezier(.2, .8, .2, 1);
}
.hero__visual.is-in .frame { transform: none; }
.frame__win { border-radius: 15px; overflow: hidden; background: #fff; }
.frame__bar { display: flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; background: #f8fafc; border-bottom: 1px solid var(--line); }
.frame__bar i { width: 11px; height: 11px; border-radius: 50%; background: #e2e8f0; }
.frame__bar i:nth-child(1) { background: #ff5f57; }
.frame__bar i:nth-child(2) { background: #febc2e; }
.frame__bar i:nth-child(3) { background: #28c840; }
.frame__url { margin: 0 auto; padding: 3px 14px; border-radius: 8px; background: #fff; border: 1px solid var(--line); font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.frame__url svg { width: 12px; height: 12px; color: var(--ok); }

.float {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px; text-align: left;
  padding: 12px 16px; border-radius: 16px; background: rgba(255, 255, 255, .94); color: var(--ink);
  backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, .7);
  box-shadow: 0 24px 50px -20px rgba(15, 23, 42, .5); font-size: 13px; line-height: 1.35;
  animation: bob 6s ease-in-out infinite;
}
.float b { display: block; font-size: 14px; }
.float small { color: var(--muted); }
.float__icon { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; flex: none; }
.float__icon svg { width: 19px; height: 19px; }
.float--alert { left: 110px; top: -34px; }
.float--alert .float__icon { background: var(--bad-bg); color: var(--bad); }
.float--ok { right: 40px; top: -34px; animation-delay: -3s; }
.float--ok .float__icon { background: var(--ok-bg); color: #059669; }
@keyframes bob { 50% { transform: translateY(-10px); } }

/* Integrations strip */
.integrations { padding: 64px 0 8px; }
.integrations__inner { display: flex; align-items: center; gap: 20px 40px; flex-wrap: wrap; justify-content: center; }
.integrations__label { font-size: 14px; font-weight: 600; color: var(--muted); }
.integrations__list { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.integrations__list li { padding: 10px 20px; border-radius: 14px; border: 1px solid var(--line); background: #fff; font-weight: 800; color: var(--ink-2); font-size: 16px; letter-spacing: -.01em; transition: all .2s; }
.integrations__list li:hover { border-color: var(--brand-line); color: var(--brand-600); transform: translateY(-2px); }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.cell { position: relative; grid-column: span 2; padding: 30px; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); transition: transform .3s ease, box-shadow .3s ease, border-color .3s; }
.cell:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--brand-line); }
.cell--4 { grid-column: span 4; grid-row: span 2; }
.cell--3 { grid-column: span 3; }
.cell__icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand-600); margin-bottom: 20px; }
.cell__icon svg { width: 24px; height: 24px; }
.cell h3 { font-size: 21px; font-weight: 800; margin-bottom: 8px; }
.cell p { color: var(--muted); font-size: 15.5px; }
.cell--dark { background: radial-gradient(500px 300px at 100% 0%, rgba(139, 92, 246, .35), transparent 60%), var(--night-2); color: #fff; border-color: transparent; }
.cell--dark p { color: rgba(255, 255, 255, .65); }
.cell--dark .cell__icon { background: rgba(255, 255, 255, .08); color: #c4b5fd; }
.cell--grad { background: var(--grad); color: #fff; border-color: transparent; }
.cell--grad p { color: rgba(255, 255, 255, .85); }
.cell--grad .cell__icon { background: rgba(255, 255, 255, .16); color: #fff; }
.price, .big-num { font-size: 44px; font-weight: 800; letter-spacing: -.03em; line-height: 1; margin: 6px 0 10px; }
.price small { display: block; margin-top: 8px; font-size: 15px; font-weight: 500; opacity: .8; letter-spacing: 0; }

.feed { margin-top: 26px; display: grid; gap: 10px; }
.feed li { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); font-size: 14px; }
.feed__ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none; font-weight: 800; }
.feed__ic.bad { background: rgba(239, 68, 68, .16); color: #fca5a5; }
.feed__ic.warn { background: rgba(245, 158, 11, .16); color: #fcd34d; }
.feed b { display: block; font-size: 14.5px; color: #fff; }
.feed span { color: rgba(255, 255, 255, .55); font-size: 13px; }
.feed time { margin-left: auto; font-size: 12px; color: rgba(255, 255, 255, .45); font-variant-numeric: tabular-nums; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chips span { padding: 6px 12px; border-radius: 10px; background: var(--bg-soft); border: 1px solid var(--line); font-weight: 700; font-size: 13.5px; color: var(--ink-2); }

/* Services */
.service { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.service + .service { margin-top: 120px; }
.service--rev .service__media { order: 2; }
.service--wide { grid-template-columns: 1fr; gap: 40px; }
.service--wide .service__text { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px 72px; align-items: end; }
.service__num { font-size: 13px; font-weight: 800; letter-spacing: .1em; color: var(--brand-600); display: inline-flex; align-items: center; gap: 12px; }
.service__num span { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--grad); color: #fff; font-size: 14px; letter-spacing: 0; box-shadow: 0 8px 20px -8px rgba(99, 102, 241, .8); }
.service h3 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; margin: 20px 0 16px; }
.service p { color: var(--muted); font-size: 17px; }
.checks { display: grid; gap: 12px; margin-top: 24px; }
.service--wide .checks { margin-top: 0; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; color: var(--ink-2); }
.checks svg { width: 22px; height: 22px; color: var(--brand); flex: none; margin-top: 1px; }
.service__media { position: relative; isolation: isolate; }
.service__media::before { content: ""; position: absolute; inset: 12% 8%; z-index: -1; background: var(--grad); filter: blur(60px); opacity: .28; border-radius: 40px; }
.service__media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; height: auto; background: #fff; border: 1px solid var(--line); }
.service__media--contain img { padding: 8px 24px; }

/* Models */
.models { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.model { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; color: #fff; display: flex; align-items: flex-end; isolation: isolate; }
.model img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s cubic-bezier(.2, .8, .2, 1); }
.model::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7, 8, 22, 0) 35%, rgba(7, 8, 22, .92) 100%); }
.model:hover img { transform: scale(1.07); }
.model__body { padding: 28px; }
.model__tag { display: inline-block; font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .2); backdrop-filter: blur(8px); margin-bottom: 12px; }
.model h3 { font-size: 25px; font-weight: 800; }
.model p { color: rgba(255, 255, 255, .75); font-size: 15px; margin-top: 6px; }

/* Customers */
.logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; max-width: 980px; margin: 0 auto; }
.logos a, .logos div { width: 128px; aspect-ratio: 1; border-radius: var(--radius-sm); overflow: hidden; background: #fff; border: 1px solid var(--line); transition: transform .25s, box-shadow .25s; }
.logos a:hover, .logos div:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.logos img { width: 100%; height: 100%; object-fit: cover; }
/* logo nằm trong poster (An Nhiệt): phóng vào phần logo ở đáy ảnh */
img.logo-zoom { transform: scale(2.1); transform-origin: 50% 86%; }

.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 18px; width: max-content; animation: marquee 45s linear infinite; padding: 6px 0; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track a { width: 132px; height: 132px; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); background: #fff; flex: none; transition: transform .25s, box-shadow .25s; }
.marquee__track a:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.marquee__track img { width: 100%; height: 100%; object-fit: cover; }
@keyframes marquee { to { transform: translateX(calc(-50% - 9px)); } }

/* Case cards */
.cases { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.case { grid-column: span 2; display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); transition: transform .3s, box-shadow .3s, border-color .3s; }
.case:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--brand-line); }
.case__img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.case__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.case:hover .case__img img { transform: scale(1.04); }
.case__body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; min-width: 0; }
.case__type { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--brand-600); }
.case h3 { font-size: 18px; font-weight: 700; line-height: 1.35; }
.case__loc { display: flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--muted); }
.case__loc svg { width: 15px; height: 15px; flex: none; }
.case__more { margin-top: auto; padding-top: 10px; font-size: 14px; font-weight: 600; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.case:hover .case__more { color: var(--brand-600); }
.case__more svg { width: 16px; height: 16px; transition: transform .2s; }
.case:hover .case__more svg { transform: translateX(3px); }
.case--featured { grid-column: span 3; flex-direction: row; }
.case--featured .case__img { aspect-ratio: 1; width: 42%; flex: none; border-bottom: 0; border-right: 1px solid var(--line); }
.case--featured h3 { font-size: 20px; }
.case--featured .case__body { padding: 26px; justify-content: center; }
.case__badge { display: inline-flex; align-self: flex-start; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: var(--ok-bg); color: #047857; font-weight: 700; font-size: 12.5px; }

/* Articles */
.posts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.post { display: grid; grid-template-columns: 220px 1fr; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); transition: transform .3s, box-shadow .3s, border-color .3s; }
.post:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--brand-line); }
.post__img { overflow: hidden; background: var(--bg-soft); }
.post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.post:hover .post__img img { transform: scale(1.05); }
.post__body { padding: 22px 24px; display: flex; flex-direction: column; gap: 10px; }
.post__cat { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--brand-600); }
.post h3 { font-size: 18px; font-weight: 700; line-height: 1.4; }
.post p { font-size: 15px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.posts--page { grid-template-columns: 1fr; }
.posts--page .post { grid-template-columns: 360px 1fr; }
.posts--page .post h3 { font-size: 22px; }
.posts--page .post__body { padding: 30px 34px; justify-content: center; }

/* Filters */
.filters { display: inline-flex; gap: 4px; max-width: 100%; overflow-x: auto; scrollbar-width: none; margin-bottom: 32px; padding: 4px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); }
.filters::-webkit-scrollbar { display: none; }
.filters button { flex: none; white-space: nowrap; height: 38px; padding: 0 18px; border-radius: 999px; border: 0; background: transparent; font-size: 14px; font-weight: 600; color: var(--muted); cursor: pointer; transition: all .2s; }
.filters button:hover { color: var(--ink); }
.filters button.is-active { background: #fff; color: var(--brand-600); box-shadow: 0 2px 8px -2px rgba(15, 23, 42, .15); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.step { position: relative; padding: 28px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: transform .3s, box-shadow .3s; }
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; margin-bottom: 20px;
  font-size: 17px; font-weight: 800; color: #fff; background: var(--grad); box-shadow: 0 10px 24px -10px rgba(99, 102, 241, .9);
}
.step h3 { font-size: 19px; font-weight: 800; margin-bottom: 6px; }
.step p { font-size: 15px; color: var(--muted); }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 18px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: var(--brand-line); box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 26px; font-weight: 700; font-size: 17px; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-50); font-size: 20px; font-weight: 500; color: var(--brand-600); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 26px 24px; color: var(--muted); }

/* CTA */
.cta { border-radius: 32px; padding: 80px 64px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.cta .aurora i:nth-child(1) { left: -200px; top: -300px; }
.cta .aurora i:nth-child(2) { right: -200px; top: auto; bottom: -300px; }
.cta h2 { font-size: clamp(30px, 4vw, 48px); font-weight: 800; }
.cta p { color: rgba(255, 255, 255, .7); font-size: 18px; margin-top: 14px; }
.cta__side { position: relative; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; padding: 28px; border-radius: 22px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); backdrop-filter: blur(10px); }
.cta__phone { font-size: clamp(30px, 3.4vw, 40px); font-weight: 800; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.cta__phone small { display: block; font-size: 13px; font-weight: 500; opacity: .6; letter-spacing: .04em; text-transform: uppercase; }
.cta__btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* Page hero */
.page-hero { padding: 168px 0 96px; }
.page-hero h1 { font-size: clamp(36px, 5.4vw, 60px); font-weight: 800; margin: 18px 0 14px; letter-spacing: -.035em; }
.page-hero p { font-size: 18px; color: rgba(255, 255, 255, .68); max-width: 640px; }
.crumbs { font-size: 14px; color: rgba(255, 255, 255, .5); display: flex; gap: 8px; }
.crumbs a:hover { color: #fff; }

/* Footer */
.footer { background: var(--night); color: rgba(255, 255, 255, .58); padding: 80px 0 32px; font-size: 15px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 48px; }
.footer .logo { margin-bottom: 18px; }
.footer h4 { color: #fff; font-size: 14px; font-weight: 700; margin-bottom: 18px; letter-spacing: 0; }
.footer ul { display: grid; gap: 10px; }
.footer a:hover { color: #fff; }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer__contact svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--brand-400); }
.footer__bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .08); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; }

/* Floating contact */
.fab { position: fixed; right: 20px; bottom: 20px; z-index: 40; display: flex; flex-direction: column; gap: 12px; }
.fab a { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: 0 12px 28px -8px rgba(15, 23, 42, .5); transition: transform .2s; }
.fab a:hover { transform: scale(1.08); }
.fab svg { width: 24px; height: 24px; }
.fab__zalo { background: #0068ff; font-weight: 800; font-size: 13px; }
.fab__call { background: var(--grad); position: relative; }
.fab__call::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--brand); animation: ping 2.2s cubic-bezier(0, 0, .2, 1) infinite; z-index: -1; }
@keyframes ping { 75%, 100% { transform: scale(1.7); opacity: 0; } }

/* Reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2, .8, .2, 1), transform .8s cubic-bezier(.2, .8, .2, 1); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------------------------------------------------------------- Timeline (dựng lại từ Bika web) */
.tlx { --tlx-left: 220px; position: relative; background: #fff; color: var(--ink); font-size: 13px; line-height: 1.4; font-family: var(--font); text-align: left; }
.tlx-head { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line-2); }
.tlx-head h3 { font-size: 14px; font-weight: 800; letter-spacing: -.01em; white-space: nowrap; }
.tlx-live { white-space: nowrap; }
.is-narrow .tlx-kpi { padding: 10px 12px; }
.is-narrow .tlx-kpi b { font-size: 17px; white-space: nowrap; }
.tlx-live { display: inline-flex; align-items: center; gap: 6px; padding: 2px 9px; border-radius: 999px; background: var(--ok-bg); color: #047857; font-size: 11.5px; font-weight: 700; }
.tlx-live i { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); animation: blink 1.4s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .25; } }
.tlx-date { margin-left: auto; padding: 3px 10px; border: 1px solid var(--line); border-radius: 8px; font-size: 12px; font-weight: 600; color: var(--muted); }
.tlx-toggle { display: flex; border: 1px solid var(--line); border-radius: 8px; padding: 2px; }
.tlx-toggle button { border: 0; background: none; padding: 2px 9px; border-radius: 6px; font-size: 12px; font-weight: 700; color: var(--muted); cursor: pointer; }
.tlx-toggle button[aria-checked="true"] { background: var(--brand); color: #fff; }
.tlx-kpis { display: grid; grid-template-columns: repeat(5, 1fr); border-bottom: 1px solid var(--line-2); }
.tlx-kpi { padding: 12px 16px; border-right: 1px solid var(--line-2); }
.tlx-kpi:last-child { border-right: 0; }
.tlx-kpi b { display: block; font-size: 22px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.tlx-kpi b small { font-size: 12px; color: var(--faint); font-weight: 600; }
.tlx-kpi b.bad { color: var(--bad); }
.tlx-kpi span { font-size: 12px; color: var(--muted); font-weight: 500; }
.tlx-scroll { overflow-x: auto; overscroll-behavior-x: contain; }
.tlx-scroll::-webkit-scrollbar { height: 8px; }
.tlx-scroll::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }
.tlx-inner { position: relative; min-width: calc(var(--tlx-left) + 24 * 22px); }
.tlx-left { position: sticky; left: 0; z-index: 3; width: var(--tlx-left); flex: none; background: inherit; padding: 0 16px; box-shadow: 2px 0 5px rgba(0, 0, 0, .03); }
.tlx-ruler { display: flex; height: 38px; border-bottom: 1px solid var(--line); background: #fff; }
.tlx-ruler .tlx-left { display: flex; align-items: center; font-size: 11.5px; font-weight: 700; color: var(--muted); letter-spacing: .02em; }
.tlx-hours { flex: 1; display: grid; grid-template-columns: repeat(24, 1fr); }
.tlx-hours span { display: grid; place-items: center; border-left: 1px solid var(--line-2); font-size: 10.5px; color: var(--faint); font-variant-numeric: tabular-nums; }
.tlx-body { position: relative; }
.tlx-group { display: flex; height: 28px; align-items: center; background: #f8fafc; border-bottom: 1px solid var(--line-2); }
.tlx-group .tlx-left { font-size: 11.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--brand-600); white-space: nowrap; box-shadow: none; }
.tlx-group em { font-style: normal; color: var(--faint); text-transform: none; letter-spacing: 0; font-weight: 600; }
.tlx-row { display: flex; height: 46px; border-bottom: 1px solid var(--line-2); background: #fff; }
.tlx-row .tlx-left { display: flex; flex-direction: column; justify-content: center; }
.tlx-name { display: flex; align-items: center; gap: 6px; }
.tlx-name strong { font-size: 13.5px; }
.tlx-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); margin-left: auto; box-shadow: 0 0 0 3px rgba(16, 185, 129, .18); }
.tlx-meta { font-size: 11px; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.tlx-meta b { color: var(--ink-2); font-weight: 700; }
.tlx-grid { position: relative; flex: 1; background: repeating-linear-gradient(to right, transparent 0, transparent calc(100% / 24 - 1px), var(--line-2) calc(100% / 24 - 1px), var(--line-2) calc(100% / 24)); }
.tlx-bar {
  position: absolute; top: 50%; height: 22px; min-width: 5px; transform: translateY(-50%) scaleX(0); transform-origin: left center;
  border: 0; padding: 0; border-radius: 6px; box-shadow: 0 2px 5px rgba(15, 23, 42, .15); color: #fff; font-size: 12px; line-height: 1;
  display: flex; align-items: center; justify-content: center; overflow: visible; cursor: pointer;
  transition: transform .7s cubic-bezier(.2, .8, .2, 1) var(--d, 0ms), filter .15s;
}
.is-play .tlx-bar { transform: translateY(-50%) scaleX(1); }
.tlx-bar:hover, .tlx-bar:focus-visible { z-index: 4; filter: brightness(.95); outline: 2px solid var(--brand); outline-offset: 0; }
.tlx-bar.normal { background: linear-gradient(90deg, #34d399, #10b981); }
.tlx-bar.warning { background: linear-gradient(90deg, #fbbf24, #f59e0b); }
.tlx-bar.danger { background: linear-gradient(90deg, #f87171, #ef4444); }
.tlx-bar.item-deleted { box-shadow: inset 0 0 0 2px #b91c1c, 0 2px 5px rgba(15, 23, 42, .15); }
.tlx-bar.bill-cancelled { box-shadow: none; outline: 2px dashed #b91c1c; outline-offset: -2px; opacity: .6; }
.tlx-bar.running { opacity: .85; }
.tlx-bar.running::after, .tlx-sw.running::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: repeating-linear-gradient(135deg, rgb(255 255 255 / .38) 0 4px, transparent 4px 8px); }
.tlx-bar .x { font-size: 16px; font-weight: 800; }
.tlx-mk { position: absolute; top: 50%; left: 0; width: 7px; height: 7px; transform: translate(-50%, -50%); border: 1px solid #888; border-radius: 50%; background: #fff; }
.tlx-mk.end { left: 100%; }
.tlx-bar.tiny .tlx-mk { display: none; }
.tlx-now { position: absolute; top: 0; bottom: 0; z-index: 5; width: 2px; background: var(--brand); pointer-events: none; }
.tlx-now::before { content: ""; position: absolute; top: -4px; left: -3px; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }
.tlx-now span { position: absolute; top: 6px; left: 6px; padding: 2px 6px; border-radius: 5px; background: var(--brand); color: #fff; font-size: 11px; font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.tlx-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; padding: 10px 16px; border-top: 1px solid var(--line-2); font-size: 11.5px; color: var(--muted); }
.tlx-legend span { display: inline-flex; align-items: center; gap: 6px; }
.tlx-legend__hint { margin-left: auto; color: var(--faint); }
.tlx-sw { position: relative; display: inline-block; width: 16px; height: 8px; border-radius: 2px; overflow: hidden; }
.tlx-sw.normal { background: var(--ok); } .tlx-sw.warning { background: var(--warn); } .tlx-sw.danger { background: var(--bad); }
/* khung hẹp: dạng thẻ giống bản điện thoại của app */
.tlx-ruler-n { position: relative; height: 26px; margin: 0 14px; font-size: 10px; color: var(--faint); }
.tlx-ruler-n > span { position: absolute; top: 6px; transform: translateX(-50%); }
.tlx-ruler-n > span:first-child { transform: none; }
.tlx-ruler-n > span:nth-child(5) { transform: translateX(-100%); }
.tlx-ruler-n .tlx-now-tag { top: 3px; padding: 1px 5px; border-radius: 4px; background: var(--brand); color: #fff; font-weight: 700; font-variant-numeric: tabular-nums; }
.is-narrow .tlx-group { height: auto; padding: 5px 14px; font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--brand-600); }
.tlx-card { padding: 9px 14px 11px; border-bottom: 1px solid var(--line-2); }
.tlx-card__top { display: flex; align-items: center; gap: 6px; margin-bottom: 7px; min-width: 0; }
.tlx-card__top strong { font-size: 14px; flex: none; }
.tlx-card__stat { margin-left: auto; flex: none; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.tlx-card__stat b { color: var(--ink-2); }
.tlx-badge { padding: 0 7px; border-radius: 999px; font-size: 11px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tlx-badge.ok { background: var(--ok-bg); color: #065f46; }
.tlx-badge.bad { background: var(--bad-bg); color: #991b1b; }
.tlx-track { position: relative; height: 16px; border-radius: 5px; background:
  linear-gradient(90deg, transparent calc(25% - .5px), #e9eef5 0 calc(25% + .5px), transparent 0 calc(50% - .5px), #e9eef5 0 calc(50% + .5px), transparent 0 calc(75% - .5px), #e9eef5 0 calc(75% + .5px), transparent 0), #f8fafc; }
.tlx-track .tlx-bar { height: 12px; border-radius: 3px; min-width: 3px; }
.tlx-now-n { position: absolute; top: -2px; bottom: -2px; width: 2px; background: var(--brand); pointer-events: none; z-index: 5; }
.tlx-tip {
  display: none; position: fixed; z-index: 90; width: 240px; padding: 12px; border-radius: 12px; pointer-events: none;
  background: #fff; border: 1px solid var(--line); box-shadow: 0 20px 40px -12px rgba(15, 23, 42, .35); font-size: 13px; color: var(--ink); font-family: var(--font); line-height: 1.4;
}
.tlx-tip__h { font-weight: 800; margin-bottom: 8px; }
.tlx-tip__h span { color: var(--brand-600); font-weight: 600; }
.tlx-tip__r { display: flex; justify-content: space-between; gap: 12px; padding: 2px 0; }
.tlx-tip__r span { color: var(--muted); }
.tlx-tip__r b { font-variant-numeric: tabular-nums; }
.tlx-tip__lv { margin-top: 8px; font-weight: 800; }
.tlx-tip__lv.ok { color: #059669; } .tlx-tip__lv.warn { color: #b45309; } .tlx-tip__lv.bad { color: #dc2626; }
.tlx-tip__alert { margin-top: 2px; font-size: 12px; color: #dc2626; }
.tl-card { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: #fff; }

/* Responsive */
@media (max-width: 1080px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .cell, .cell--3 { grid-column: span 1; }
  .cell--4 { grid-column: span 2; grid-row: auto; }
  .case--featured .case__img { width: 38%; }
  .case--featured .case__body { padding: 20px; }
  .case--featured h3 { font-size: 17px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .float--alert { left: 16px; }
  .float--ok { right: 16px; }
  .service--wide .service__text { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .section { padding: 84px 0; }
  .header { inset: 10px 0 auto; padding: 0 10px; }
  .burger { display: block; }
  .header__cta { display: none; }
  .nav {
    position: fixed; top: 84px; left: 10px; right: 10px; flex-direction: column; gap: 4px; padding: 12px;
    background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 30px 60px -20px rgba(15, 23, 42, .4);
    transform: translateY(-12px) scale(.98); opacity: 0; pointer-events: none; transition: all .25s ease;
  }
  .nav a { color: var(--ink); padding: 14px 16px; font-size: 17px; }
  .nav a:hover, .nav a[aria-current="page"] { color: var(--brand-600); background: var(--brand-50); }
  .nav-open .nav { transform: none; opacity: 1; pointer-events: auto; }
  .nav-open .header__inner { background: #fff; border-color: var(--line); }
  .nav-open .header .logo { color: var(--ink); }
  .nav-open .header .burger span { background: var(--ink); }
  .service, .service--rev { grid-template-columns: 1fr; gap: 40px; }
  .service--rev .service__media { order: 0; }
  .service + .service { margin-top: 88px; }
  .models { grid-template-columns: 1fr; }
  .model { aspect-ratio: 16 / 11; }
  .posts { grid-template-columns: 1fr; }
  .posts--page .post { grid-template-columns: 1fr; }
  .posts--page .post__img { aspect-ratio: 16 / 9; }
  .cta { grid-template-columns: 1fr; padding: 52px 28px; }
  .cases { grid-template-columns: repeat(2, 1fr); }
  .case { grid-column: span 1; }
  .case--featured { grid-column: 1 / -1; }
  .case--featured .case__img { width: 220px; }
  .case--featured h3 { font-size: 19px; }
  .tlx-kpis { grid-template-columns: repeat(3, 1fr); }
  .tlx-kpi:nth-child(n+4) { display: none; }
  .tlx-kpi:nth-child(3) { border-right: 0; }
  .float { display: none; }
  .frame { transform: none; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .hero { padding: 132px 0 0; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__visual { margin-top: 48px; }
  .frame { padding: 4px; border-radius: 16px; }
  .frame__url { display: none; }
  .bento { grid-template-columns: 1fr; }
  .cell, .cell--3, .cell--4 { grid-column: auto; }
  .cell { padding: 24px; }
  .feed time { display: none; }
  .cases { grid-template-columns: 1fr; gap: 12px; }
  .case, .case--featured { grid-column: auto; flex-direction: row; align-items: stretch; }
  .case, .case--featured { align-items: center; }
  .case .case__img, .case--featured .case__img { flex: none; width: 88px; height: 88px; aspect-ratio: 1; margin: 12px 0 12px 12px; border-radius: 12px; border: 1px solid var(--line); }
  .case__body, .case--featured .case__body { padding: 14px 16px; gap: 5px; justify-content: center; }
  .case h3, .case--featured h3 { font-size: 15.5px; }
  .case__badge { font-size: 11.5px; padding: 3px 9px; }
  .case__more { display: none; }
  .logos { gap: 10px; }
  .filters button { padding: 0 13px; font-size: 13.5px; }
  .logos a, .logos div { width: calc((100% - 30px) / 4); }
  .steps { grid-template-columns: 1fr; }
  .post { grid-template-columns: 120px 1fr; }
  .post__body { padding: 16px; }
  .post h3 { font-size: 16px; }
  .post p { display: none; }
  .footer__grid { grid-template-columns: 1fr; gap: 36px; }
  .logo__tag { display: none; }
  .tlx-date, .tlx-legend__hint { display: none; }
  .tlx-head .tlx-toggle { margin-left: auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .tlx-bar { transform: translateY(-50%); }
  .frame { transform: none; }
}

/* ---------------------------------------------------------------- Trang chi tiết khách hàng */
.cs-hero { padding: 150px 0 120px; }
.cs-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 48px; align-items: center; }
.cs-hero .crumbs { margin-bottom: 22px; }
.cs-hero__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.cs-tag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, .85); background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); }
.cs-tag--ok { color: #6ee7b7; background: rgba(16, 185, 129, .12); border-color: rgba(16, 185, 129, .3); }
.cs-hero h1 { font-size: clamp(30px, 4.2vw, 50px); font-weight: 800; letter-spacing: -.03em; line-height: 1.12; max-width: 760px; }
.cs-hero__lead { margin-top: 18px; font-size: 18px; color: rgba(255, 255, 255, .7); max-width: 680px; }
.cs-logo { width: 240px; aspect-ratio: 1; border-radius: 28px; overflow: hidden; background: #fff; border: 6px solid rgba(255, 255, 255, .1); box-shadow: 0 30px 70px -24px rgba(0, 0, 0, .6); }
.cs-logo img { width: 100%; height: 100%; object-fit: cover; }

.cs-facts { position: relative; z-index: 2; margin-top: -64px; display: grid; grid-template-columns: repeat(4, 1fr); border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; }
.cs-fact { padding: 22px 24px; border-right: 1px solid var(--line); }
.cs-fact:last-child { border-right: 0; }
.cs-fact small { display: block; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); margin-bottom: 6px; }
.cs-fact b { display: block; font-size: 17px; font-weight: 700; color: var(--ink); line-height: 1.35; }
.cs-fact b.hl { font-size: 22px; }

.cs-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: start; padding: 72px 0 104px; }
.prose { color: var(--ink-2); font-size: 17px; line-height: 1.75; }
.prose > * + * { margin-top: 18px; }
.prose h2 { font-size: 26px; font-weight: 800; color: var(--ink); margin-top: 48px; display: flex; align-items: center; gap: 12px; }
.prose h2:first-child { margin-top: 0; }
.prose h2 .num { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--grad); color: #fff; font-size: 14px; }
.prose ul.checks { margin-top: 18px; }
.prose strong { color: var(--ink); }
.prose a { color: var(--brand-600); text-decoration: underline; text-underline-offset: 3px; }
.cs-quote { margin: 28px 0 0; padding: 22px 26px; border-radius: var(--radius); background: var(--brand-50); border-left: 4px solid var(--brand); color: var(--ink); font-size: 18px; font-weight: 600; line-height: 1.6; }
.cs-result { margin-top: 24px; display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; padding: 24px 26px; border-radius: var(--radius); background: linear-gradient(135deg, #ecfdf5, #f0fdfa); border: 1px solid #a7f3d0; }
.cs-result__num { font-size: 44px; font-weight: 800; letter-spacing: -.03em; color: #047857; line-height: 1; }
.cs-result p { margin: 0; color: #065f46; font-size: 16px; }
.cs-demo { margin-top: 24px; }
.cs-demo figcaption { margin-top: 10px; font-size: 13.5px; color: var(--muted); text-align: center; }
.cs-sources { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.cs-sources h3 { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); margin-bottom: 10px; }
.cs-sources li { padding: 3px 0; }
.cs-sources a { color: var(--brand-600); word-break: break-word; }

.cs-aside { position: sticky; top: 104px; display: grid; gap: 18px; }
.cs-card { border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; }
.cs-card__h { padding: 18px 22px; border-bottom: 1px solid var(--line); font-weight: 800; font-size: 15px; }
.cs-info { padding: 8px 22px 14px; }
.cs-info li { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--line); font-size: 14.5px; color: var(--ink-2); }
.cs-info li:last-child { border-bottom: 0; }
.cs-info svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--brand); }
.cs-info small { display: block; font-size: 12px; color: var(--faint); font-weight: 600; }
.cs-info a { color: var(--brand-600); font-weight: 600; word-break: break-word; }
.cs-cta { padding: 26px 24px; border-radius: var(--radius); color: #fff; background: radial-gradient(400px 200px at 100% 0%, rgba(139, 92, 246, .45), transparent 70%), var(--night-2); }
.cs-cta h3 { font-size: 19px; font-weight: 800; color: #fff; }
.cs-cta p { margin-top: 8px; font-size: 14.5px; color: rgba(255, 255, 255, .7); }
.cs-cta .btn { width: 100%; margin-top: 18px; height: 48px; }
.cs-cta .btn + .btn { margin-top: 10px; }

.cs-related .cases { grid-template-columns: repeat(3, 1fr); }
.cs-related .case { grid-column: auto; }

@media (max-width: 1080px) {
  .cs-layout { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .cs-aside { position: static; grid-template-columns: 1fr 1fr; }
  .cs-facts { grid-template-columns: repeat(2, 1fr); }
  .cs-fact:nth-child(2) { border-right: 0; }
  .cs-fact:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .cs-related .cases { grid-template-columns: repeat(2, 1fr); }
  .cs-related .case:nth-child(3) { display: none; }
}
@media (max-width: 760px) {
  .cs-hero { padding: 124px 0 104px; }
  .cs-hero__grid { grid-template-columns: 1fr; gap: 28px; }
  .cs-logo { width: 120px; border-radius: 20px; border-width: 4px; order: -1; }
  .cs-aside { grid-template-columns: 1fr; }
  .cs-related .cases { grid-template-columns: 1fr; }
  .cs-related .case:nth-child(3) { display: flex; }
}
@media (max-width: 560px) {
  .cs-hero__lead { font-size: 16px; }
  .cs-fact { padding: 16px; }
  .cs-fact b { font-size: 15px; }
  .cs-fact b.hl { font-size: 19px; }
  .cs-layout { padding: 48px 0 72px; }
  .prose { font-size: 16px; }
  .prose h2 { font-size: 21px; margin-top: 36px; }
  .cs-result { grid-template-columns: 1fr; gap: 8px; }
  .cs-result__num { font-size: 36px; }
}

/* ---------------------------------------------------------------- tinh chỉnh review */
.pill b { white-space: nowrap; }
.post__img--logo { background: #fff; display: grid; place-items: center; }
.post__img--logo img { width: 62%; height: auto; object-fit: contain; }
.post:hover .post__img--logo img { transform: scale(1.04); }
.post__img--shot img { object-fit: cover; object-position: 0 0; }
.posts--page .post { align-items: stretch; }
@media (min-width: 861px) { .posts--page .post__img { min-height: 240px; } }
@media (max-width: 560px) {
  .pill { font-size: 12.5px; padding-right: 12px; }
  .pill b { font-size: 11.5px; padding: 3px 8px; }
  .cta__btns { width: 100%; }
  .cta__btns .btn { flex: 1 1 100%; }
  .footer { padding-bottom: 96px; }
  .post__img--logo img { width: 78%; }
}

/* ---------------------------------------------------------------- bài viết Kiến thức */
.page-hero h1.post-title { font-size: clamp(28px, 3.8vw, 44px); max-width: 900px; line-height: 1.2; }
.post-cover { margin: 0 0 32px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #fff; }
.post-cover img { width: 100%; height: auto; max-height: 460px; object-fit: cover; }
.post-cover--logo { display: grid; place-items: center; padding: 32px; }
.post-cover--logo img { width: 220px; max-height: none; }
.prose .tl-card { margin-top: 24px; }
.cs-info li > span:only-child a { font-weight: 600; }

/* ---------------------------------------------------------------- ảnh thật của khách hàng */
.cs-hero__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.cs-hero--photo .aurora { opacity: .55; }
.cs-hero--photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(7, 8, 22, .92) 0%, rgba(7, 8, 22, .7) 55%, rgba(7, 8, 22, .35) 100%); }
.gal { display: grid; gap: 12px; margin-top: 20px; min-width: 0; }
.gal > * { min-width: 0; }
.gal--1 { grid-template-columns: 1fr; }
.gal--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gal--3 { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); grid-template-rows: 1fr 1fr; }
.gal--3 .gal__item:first-child { grid-row: span 2; }
.gal--6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gal--6 .gal__item:first-child { grid-column: span 2; grid-row: span 2; }
.gal__item { position: relative; margin: 0; border-radius: 14px; overflow: hidden; background: var(--bg-soft); min-height: 150px; }
.gal--1 .gal__item { aspect-ratio: 16 / 10; }
.gal--2 .gal__item { aspect-ratio: 4 / 3; }
.gal__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.gal__item:hover img { transform: scale(1.04); }
.gal__item figcaption { position: absolute; left: 10px; bottom: 10px; padding: 4px 10px; border-radius: 999px; background: rgba(7, 8, 22, .65); color: #fff; font-size: 12.5px; font-weight: 600; backdrop-filter: blur(6px); }
.prose .gal__src { margin-top: 8px; font-size: 13px; color: var(--faint); }
.prose h2 .num:empty, .prose h2 .num { flex: none; }

.spaces { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; gap: 14px; }
.space { position: relative; border-radius: var(--radius); overflow: hidden; display: block; isolation: isolate; }
.space--big { grid-column: span 2; grid-row: span 2; }
.space--wide { grid-column: span 2; }
.space img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .7s cubic-bezier(.2, .8, .2, 1); }
.space::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 45%, rgba(7, 8, 22, .85)); }
.space:hover img { transform: scale(1.05); }
.space span { position: absolute; left: 16px; right: 16px; bottom: 14px; color: #fff; font-weight: 700; font-size: 15px; }
.space span small { display: block; font-size: 12px; font-weight: 500; opacity: .75; }
@media (max-width: 860px) {
  .spaces { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; }
  .gal--6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gal--6 .gal__item:first-child { grid-row: auto; }
}
@media (max-width: 560px) {
  .spaces { grid-auto-rows: 140px; gap: 10px; }
  .space span { font-size: 13.5px; left: 12px; bottom: 10px; }
  .gal--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto; }
  .gal--3 .gal__item:first-child { grid-column: span 2; grid-row: auto; aspect-ratio: 16 / 10; }
  .gal--2 { grid-template-columns: minmax(0, 1fr); }
}

.gal__item figcaption { max-width: calc(100% - 20px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.spaces--row { grid-auto-rows: 240px; }
@media (max-width: 860px) { .spaces--row { grid-auto-rows: 170px; } .spaces--row .space--wide { grid-column: 1 / -1; } }
