/* ==========================================================================
   MARESA · Landing page
   Hệ nhận diện đề xuất (bản nháp):
   - Navy đêm  (#0F2733) lấy từ chữ MARESA trong logo  → nền tối, chữ chính
   - Vàng Maresa (#DDA53F) lấy từ chữ M                 → nút chính, điểm nhấn
   - Xanh biển (#0B6F6B / #43B9AE) từ hồ sơ năng lực   → màu phụ: icon, link, biểu đồ
   - Ngà (#F7F5F0)                                      → nền sáng
   Font: Be Vietnam Pro (toàn bộ) + Cormorant Garamond Italic (chỉ cho từ nhấn)
   ========================================================================== */

/* ---------- Fonts (tự lưu trên website, giấy phép SIL OFL: assets/fonts/OFL-*.txt) ----------
   Chỉ giữ bộ ký tự vietnamese + latin (đủ cho toàn bộ chữ trên trang); trình duyệt tự tải đúng phần cần dùng. */
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/be-vietnam-pro-400-vietnamese.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/be-vietnam-pro-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/be-vietnam-pro-500-vietnamese.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/be-vietnam-pro-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/be-vietnam-pro-600-vietnamese.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/be-vietnam-pro-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/be-vietnam-pro-700-vietnamese.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/be-vietnam-pro-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/cormorant-garamond-600-italic-vietnamese.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/cormorant-garamond-600-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/cormorant-garamond-600-vietnamese.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/cormorant-garamond-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


:root {
  /* Navy */
  --navy-950: #061620;
  --navy-900: #0A1F2B;
  --navy-850: #0F2733;
  --navy-800: #15364A;
  --navy-700: #1E4A60;
  /* Gold */
  --gold-200: #F8E3B0;
  --gold-300: #F4D48A;
  --gold-400: #ECC163;
  --gold-500: #DDA53F;
  --gold-600: #B8862C;
  --gold-700: #8A6219;
  /* Teal */
  --teal-50: #E8F4F2;
  --teal-200: #BFE7E1;
  --teal-300: #7FD3C9;
  --teal-400: #43B9AE;
  --teal-500: #1E948B;
  --teal-600: #0B6F6B;
  /* Neutrals */
  --ivory: #F7F5F0;
  --ivory-2: #EFEBE2;
  --white: #FFFFFF;
  --ink: #0F2733;
  --ink-2: #44596A;
  --ink-3: #5F727C;
  --line: #E4E8E8;
  --line-2: #D6DCDD;
  /* Trên nền tối */
  --on-dark: #F1F5F6;
  --on-dark-2: #AFC2C8;
  --on-dark-3: #82989F;

  --gold-grad: linear-gradient(135deg, #F7DA8E 0%, #E8B654 42%, #D29839 74%, #EDC46A 100%);
  --gold-text: linear-gradient(100deg, #F7DA8E 0%, #E6B04C 48%, #F3CF7E 100%);
  --gold-text-ink: linear-gradient(100deg, #A87A22 0%, #8A6219 100%);

  --f-sans: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --nav-h: 72px;
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(15, 39, 51, .05), 0 2px 8px rgba(15, 39, 51, .04);
  --shadow: 0 18px 40px -18px rgba(15, 39, 51, .28);
  --shadow-lg: 0 50px 100px -30px rgba(2, 10, 15, .7);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 8px); }
body {
  margin: 0;
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  overflow-x: clip;
}
body.no-scroll { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, figure, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--gold-500); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 200; padding: 10px 16px; border-radius: 8px; background: var(--gold-500); color: var(--navy-900); font-weight: 600; }
.skip-link:focus { top: 16px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.center { display: flex; justify-content: center; }

.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.i--xs { width: 14px; height: 14px; stroke-width: 2.2; }

/* ---------- Typography ---------- */
.h2 {
  font-size: clamp(2rem, 1.35rem + 2.3vw, 3.2rem);
  font-weight: 500;
  line-height: 1.17;
  letter-spacing: -.025em;
  text-wrap: balance;
}
.h3 { font-size: 1.25rem; font-weight: 600; }
.lead {
  font-size: clamp(1.03rem, .98rem + .25vw, 1.16rem);
  line-height: 1.7;
  color: var(--ink-2);
  max-width: 62ch;
  text-wrap: pretty;
}
.eyebrow {
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--teal-600);
}
.eyebrow--gold, .section--dark .eyebrow { color: var(--gold-400); }

/* Từ nhấn: serif nghiêng vàng — gợi nét thư pháp của chữ M trong logo */
.accent {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 600;
  font-size: 1.14em;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
  padding-right: .06em;
  background: var(--gold-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.accent--ink { background-image: var(--gold-text-ink); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  min-height: 48px;
  padding: .75rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, border-color .25s, color .25s, background-position .5s var(--ease);
}
.btn .i { width: 18px; height: 18px; stroke-width: 2; transition: transform .25s var(--ease); }
.btn:hover .i { transform: translateX(3px); }
.btn--sm { min-height: 40px; padding: .5rem 1rem; font-size: .92rem; }
.btn--lg { min-height: 54px; padding: .9rem 1.6rem; font-size: 1.05rem; }
.btn--block { width: 100%; }

.btn--gold {
  color: var(--navy-900);
  background-image: var(--gold-grad);
  background-size: 160% 160%;
  background-position: 0% 50%;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 10px 26px -12px rgba(221, 165, 63, .7);
}
.btn--gold:hover { transform: translateY(-1px); background-position: 100% 50%; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 16px 32px -12px rgba(221, 165, 63, .8); }
.btn--ghost { color: var(--on-dark); background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .2); }
.btn--ghost:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .34); }
.btn--navy { color: #fff; background: var(--navy-850); }
.btn--navy:hover { background: var(--navy-800); transform: translateY(-1px); box-shadow: 0 14px 28px -14px rgba(15, 39, 51, .6); }
.btn-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 10px; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--teal-600); padding-bottom: 3px; border-bottom: 1px solid currentColor; }
.link-arrow .i { width: 16px; height: 16px; stroke-width: 2; transition: transform .25s var(--ease); }
.link-arrow:hover .i { transform: translateX(3px); }
.link-arrow--gold { color: var(--gold-400); }

.chip { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 8px; border-radius: 999px; font-size: .82rem; font-weight: 500; }
.chip--dark { color: var(--on-dark-2); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); }
.chip__spark { width: 20px; height: 20px; padding: 3px; border-radius: 50%; fill: var(--navy-900); stroke: none; background: var(--gold-grad); box-shadow: 0 0 0 4px rgba(221, 165, 63, .14); }

.pill { display: inline-flex; justify-self: start; align-items: center; padding: 7px 14px; border-radius: 999px; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.pill--gold { color: var(--gold-300); background: rgba(221, 165, 63, .12); border: 1px solid rgba(221, 165, 63, .3); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; font-size: .9rem; font-weight: 500; color: var(--ink); }
.chips b { color: var(--gold-600); font-weight: 700; }
.chips--dark li { color: var(--on-dark); background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .14); }
.chips--dark b { color: var(--gold-400); }

/* Placeholder cần điền thông tin thật */
.ph { padding: 0 5px; border-radius: 4px; background: rgba(221, 165, 63, .18); }

/* Avatar + nhãn trạng thái dùng trong các minh họa giao diện */
.av { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; font-size: .68rem; font-weight: 700; color: #fff; }
.av--gold { background: var(--gold-grad); color: var(--navy-900); }
.av--teal { background: linear-gradient(140deg, var(--teal-400), var(--teal-600)); }
.av--navy { background: linear-gradient(140deg, var(--navy-700), var(--navy-850)); }
.tag { padding: 3px 8px; border-radius: 6px; font-size: .68rem; font-weight: 500; color: var(--ink-2); background: var(--ivory-2); white-space: nowrap; }
.st { padding: 3px 9px; border-radius: 999px; font-size: .68rem; font-weight: 600; white-space: nowrap; }
.st--new { color: var(--gold-700); background: #FBEFD5; }
.st--doing { color: var(--teal-600); background: var(--teal-50); }
.st--done { color: var(--navy-800); background: #E3EBF0; }

/* ==========================================================================
   NAV
   ========================================================================== */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  color: var(--on-dark);
  border-bottom: 1px solid transparent;
  transition: background-color .35s, border-color .35s;
}
.nav.is-scrolled, .nav.is-open {
  background: rgba(7, 24, 34, .84);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  border-bottom-color: rgba(255, 255, 255, .07);
}
.nav__inner { height: var(--nav-h); display: flex; align-items: center; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; flex: none; }
.brand__mark { width: 30px; height: auto; }
.brand__word { font-family: var(--f-serif); font-weight: 600; font-size: 1.3rem; line-height: 1; letter-spacing: .3em; margin-right: -.3em; }
.brand--lg .brand__mark { width: 40px; }
.brand--lg .brand__word { font-size: 1.6rem; }

.nav__menu { margin-inline: auto; }
.nav__list { display: flex; align-items: center; gap: 2px; }
.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 0;
  border-radius: 8px;
  background: none;
  font-size: .94rem;
  font-weight: 500;
  color: rgba(241, 245, 246, .85);
  transition: color .2s, background-color .2s;
}
.nav__link:hover, .nav__link[aria-expanded="true"] { color: #fff; background: rgba(255, 255, 255, .08); }
.nav__link .i { transition: transform .25s var(--ease); }
.nav__link[aria-expanded="true"] .i { transform: rotate(180deg); }

.has-sub { position: relative; }
.nav__sub {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  width: 368px;
  padding: 8px;
  border-radius: 16px;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: 0 30px 60px -24px rgba(2, 10, 15, .55);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 6px);
  transition: opacity .2s, transform .25s var(--ease), visibility .2s;
}
.nav__sub::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.has-sub.is-open .nav__sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
@media (hover: hover) and (min-width: 1080px) {
  .has-sub:hover .nav__sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
}
.nav__sub a { display: flex; align-items: flex-start; gap: 12px; padding: 12px; border-radius: 10px; transition: background-color .2s; }
.nav__sub a:hover { background: var(--ivory); }
.nav__sub-icon { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 10px; color: var(--teal-600); background: var(--teal-50); }
.nav__sub strong { display: block; font-size: .94rem; font-weight: 600; line-height: 1.35; }
.nav__sub small { display: block; margin-top: 2px; font-size: .8rem; line-height: 1.45; color: var(--ink-3); }

.nav__menu-cta { display: none; }
.nav__actions { display: flex; align-items: center; gap: 10px; flex: none; }
.nav__burger {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .04);
}
.nav__burger span { display: block; width: 18px; height: 1.6px; border-radius: 2px; background: currentColor; transition: transform .3s var(--ease); }
.nav.is-open .nav__burger span:nth-child(1) { transform: translateY(3.3px) rotate(45deg); }
.nav.is-open .nav__burger span:nth-child(2) { transform: translateY(-3.3px) rotate(-45deg); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--on-dark);
  background: var(--navy-950);
  padding: calc(var(--nav-h) + clamp(40px, 6vw, 84px)) 0 clamp(64px, 8vw, 112px);
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(900px 560px at 80% 6%, rgba(30, 148, 139, .32), transparent 62%),
    radial-gradient(720px 420px at 4% 104%, rgba(221, 165, 63, .16), transparent 62%),
    linear-gradient(180deg, #0C2533 0%, #081B26 55%, #061620 100%);
}
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1.3px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 55% 30%, #000 25%, transparent 78%);
  mask-image: radial-gradient(ellipse 75% 65% at 55% 30%, #000 25%, transparent 78%);
}
.hero__inner { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr); gap: clamp(40px, 5vw, 72px); align-items: center; }
.hero__title {
  margin-top: 24px;
  font-size: clamp(2.25rem, .9rem + 3.9vw, 4rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.028em;
  color: #fff;
  text-wrap: balance;
}
.hero__lead { margin-top: 24px; color: var(--on-dark-2); max-width: 54ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__proof { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 36px; font-size: .9rem; color: var(--on-dark-2); }
.hero__proof li { display: inline-flex; align-items: center; gap: 8px; }
.hero__proof .i { width: 16px; height: 16px; stroke-width: 2.6; color: var(--gold-400); }

/* Minh họa giao diện trong hero */
.hero__visual { position: relative; }
.hv { position: relative; padding: 28px 20px 56px 64px; }
.hv-window {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: #FBFAF7;
  color: var(--ink);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, .08);
}
.hv-bar { display: flex; align-items: center; gap: 14px; padding: 11px 16px; background: #F1EFEA; border-bottom: 1px solid #E8E4DB; }
.hv-dots { display: flex; gap: 6px; }
.hv-dots i { width: 10px; height: 10px; border-radius: 50%; background: #DAD5CB; }
.hv-url { display: inline-flex; align-items: center; gap: 6px; margin-inline: auto; transform: translateX(-26px); padding: 4px 12px; border-radius: 7px; font-size: .72rem; color: var(--ink-3); background: #fff; border: 1px solid #E6E2D9; }
.hv-url .i { width: 12px; height: 12px; stroke-width: 2.2; color: var(--teal-600); }
.hv-body { display: grid; gap: 14px; padding: 18px; }
.hv-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.hv-head small { display: block; font-size: .66rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.hv-head strong { font-size: 1.05rem; font-weight: 600; }
.hv-pill { padding: 4px 10px; border-radius: 999px; font-size: .7rem; font-weight: 500; color: var(--ink-2); background: var(--ivory-2); }
.hv-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.hv-kpi { padding: 11px 12px; border-radius: 12px; background: #fff; border: 1px solid #ECE8E0; }
.hv-kpi small { display: block; font-size: .68rem; color: var(--ink-3); }
.hv-kpi strong { font-size: 1.35rem; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.hv-kpi em { margin-left: 6px; font-style: normal; font-size: .68rem; font-weight: 600; color: var(--teal-600); }
.hv-chart { padding: 12px 12px 6px; border-radius: 12px; background: #fff; border: 1px solid #ECE8E0; }
.hv-chart__top { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 6px; }
.hv-chart__top small { font-size: .7rem; font-weight: 600; color: var(--ink-2); }
.hv-legend { display: flex; gap: 12px; font-size: .66rem; color: var(--ink-3); }
.hv-legend > span { display: inline-flex; align-items: center; gap: 5px; }
.lg { display: inline-block; width: 8px; height: 8px; border-radius: 2px; }
.lg--gold { background: #D99E36; }
.lg--teal { background: var(--teal-500); }
.hv-chart__svg { width: 100%; height: auto; }
.hv-list li { display: grid; grid-template-columns: 28px 1fr auto auto; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid #EFECE5; font-size: .8rem; }
.hv-name { font-weight: 600; }

.hv-card {
  position: absolute;
  z-index: 2;
  padding: 14px 16px;
  border-radius: 14px;
  font-size: .8rem;
  color: var(--on-dark);
  background: rgba(11, 33, 46, .86);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, .13);
  box-shadow: 0 26px 50px -18px rgba(0, 0, 0, .7);
}
.hv-card--chat { left: 0; top: 22%; width: 236px; }
.hv-card--auto { right: 0; top: 54%; width: 214px; display: grid; gap: 6px; }
.hv-card__top { display: flex; align-items: center; gap: 10px; }
.hv-card__top strong { display: block; font-size: .82rem; font-weight: 600; color: #fff; line-height: 1.3; }
.hv-card__top small { font-size: .7rem; color: var(--on-dark-3); }
.hv-ico { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; color: var(--teal-300); background: rgba(67, 185, 174, .16); }
.hv-ico .i { width: 17px; height: 17px; }
.hv-msg { margin-top: 10px; padding: 9px 11px; border-radius: 4px 12px 12px 12px; background: rgba(255, 255, 255, .08); color: var(--on-dark); line-height: 1.45; }
.hv-ok { display: flex; align-items: center; gap: 6px; margin-top: 10px; font-size: .74rem; font-weight: 600; color: var(--teal-300); }
.hv-ok .i { width: 14px; height: 14px; stroke-width: 2.6; }
.hv-card__row { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.hv-eyebrow { font-size: .64rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-400); }
.live { display: inline-flex; align-items: center; gap: 5px; font-size: .68rem; color: var(--on-dark-2); }
.live i { width: 6px; height: 6px; border-radius: 50%; background: var(--teal-300); box-shadow: 0 0 0 3px rgba(127, 211, 201, .2); }
.hv-card--auto strong { font-size: .9rem; font-weight: 600; color: #fff; }
.bar { height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.bar i { display: block; width: 92%; height: 100%; border-radius: inherit; background: var(--gold-grad); }
.hv-card--auto small { font-size: .7rem; color: var(--on-dark-3); }

.hv-talk {
  position: absolute;
  z-index: 3;
  right: 8px;
  bottom: 14px;
  width: min(360px, 90%);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 9px 9px 10px;
  border-radius: 999px;
  color: #fff;
  background: rgba(11, 33, 46, .9);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, .15);
  box-shadow: 0 24px 50px -18px rgba(0, 0, 0, .75);
  transition: transform .3s var(--ease), border-color .3s;
}
.hv-talk:hover { transform: translateY(-2px); border-color: rgba(221, 165, 63, .5); }
.hv-talk__av { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, #173E52, #0A1F2B); border: 1px solid rgba(221, 165, 63, .4); }
.hv-talk__av img { width: 22px; height: auto; }
.hv-talk__text { flex: 1; min-width: 0; line-height: 1.3; }
.hv-talk__text small { display: block; font-size: .72rem; color: var(--on-dark-3); }
.hv-talk__text strong { display: block; overflow: hidden; font-size: .95rem; font-weight: 600; white-space: nowrap; text-overflow: ellipsis; }
.hv-talk__go { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 50%; color: var(--navy-900); background: var(--gold-grad); }
.hv-talk__go .i { stroke-width: 2.2; transition: transform .25s var(--ease); }
.hv-talk:hover .hv-talk__go .i { transform: translateX(2px); }

/* ==========================================================================
   KHÁCH HÀNG
   ========================================================================== */
.clients { color: var(--on-dark); background: #071A24; border-top: 1px solid rgba(255, 255, 255, .06); }
.clients__inner { display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: center; padding-block: 34px; }
.clients__title { font-size: 1.05rem; font-weight: 600; line-height: 1.4; color: #fff; max-width: 15ch; }
.clients__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.clients__list li { display: grid; gap: 4px; padding: 6px 24px; border-left: 1px solid rgba(255, 255, 255, .1); }
.clients__name { font-family: var(--f-serif); font-size: 1.7rem; font-weight: 600; line-height: 1.1; letter-spacing: .03em; color: #fff; }
.clients__what { font-size: .82rem; line-height: 1.45; color: var(--on-dark-3); }

/* ==========================================================================
   SECTION SHELL
   ========================================================================== */
.section { position: relative; padding-block: clamp(80px, 9.5vw, 136px); }
.section--ivory { background: var(--ivory); }
.section--white { background: #fff; }
.section--dark { color: var(--on-dark); background: var(--navy-950); isolation: isolate; overflow: hidden; }
.section--dark .h2 { color: #fff; }
.section--dark .lead { color: var(--on-dark-2); }
.section--tight-top { padding-top: 0; }
.glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(900px 520px at 86% 0%, rgba(30, 148, 139, .22), transparent 62%),
    radial-gradient(700px 420px at 0% 60%, rgba(221, 165, 63, .07), transparent 60%);
}
.glow--alt {
  background:
    radial-gradient(800px 480px at 12% 0%, rgba(30, 148, 139, .2), transparent 62%),
    radial-gradient(700px 420px at 100% 100%, rgba(221, 165, 63, .09), transparent 60%);
}
.section-head { display: grid; gap: 18px; max-width: 800px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head--center { margin-inline: auto; text-align: center; justify-items: center; }
.head-split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 20px 64px; align-items: end; margin-bottom: clamp(40px, 5vw, 60px); }
.head-split .h2 { margin-top: 18px; }
.head-split__aside { display: grid; gap: 18px; justify-items: start; padding-bottom: 6px; }
.sub-title { margin: clamp(56px, 7vw, 88px) 0 20px; font-size: 1.2rem; font-weight: 600; letter-spacing: -.01em; color: #fff; }
.sub-title--ink { color: var(--ink); }

/* ==========================================================================
   BA GIẢI PHÁP (tabs + showcase)
   ========================================================================== */
.split { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.split__copy { display: grid; gap: 18px; justify-items: start; }
.split__copy .tabs { margin: 18px 0 14px; }
.tabs { width: 100%; border-top: 1px solid var(--line-2); }
.tab {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  width: 100%;
  padding: 18px 16px 18px 14px;
  border: 0;
  border-bottom: 1px solid var(--line-2);
  background: none;
  text-align: left;
  transition: background-color .3s;
}
.tab::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 2px; border-radius: 2px; background: var(--gold-500); transform: scaleY(0); transition: transform .35s var(--ease); }
.tab:hover { background: rgba(255, 255, 255, .6); }
.tab.is-active { background: #fff; }
.tab.is-active::before { transform: scaleY(1); }
.tab__icon { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 11px; color: var(--teal-600); background: var(--teal-50); transition: background-color .3s, color .3s; }
.tab.is-active .tab__icon { color: var(--gold-400); background: var(--navy-850); }
.tab__text strong { display: block; font-size: 1.06rem; font-weight: 600; color: var(--ink); }
.tab__text > span { display: block; margin-top: 3px; font-size: .93rem; line-height: 1.55; color: var(--ink-2); }

.showcase {
  position: relative;
  min-height: 540px;
  border-radius: 24px;
  overflow: hidden;
  background:
    radial-gradient(520px 340px at 85% 0%, rgba(30, 148, 139, .35), transparent 65%),
    radial-gradient(400px 300px at 0% 100%, rgba(221, 165, 63, .12), transparent 60%),
    linear-gradient(160deg, #0F2E3D 0%, #081B26 100%);
  box-shadow: 0 40px 80px -36px rgba(15, 39, 51, .55);
}
.showcase::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1.3px); background-size: 20px 20px; -webkit-mask-image: linear-gradient(180deg, #000, transparent 75%); mask-image: linear-gradient(180deg, #000, transparent 75%); }
.showcase__panel { position: absolute; inset: 0; display: flex; flex-direction: column; opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility .5s; }
.showcase__panel.is-active { opacity: 1; visibility: visible; }
.showcase__panel:focus-visible { outline-offset: -4px; }
.showcase__stage { flex: 1; display: grid; place-items: center; padding: 36px 32px 8px; }
.showcase__panel .showcase__stage > * { transform: translateY(14px); transition: transform .6s var(--ease); }
.showcase__panel.is-active .showcase__stage > * { transform: none; }
.showcase__cap { display: grid; gap: 6px; justify-items: start; padding: 26px 30px 28px; background: linear-gradient(180deg, transparent, rgba(3, 12, 18, .7) 45%); }
.showcase__cap > span { font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-400); }
.showcase__cap strong { font-size: clamp(1.15rem, 1rem + .6vw, 1.45rem); font-weight: 500; line-height: 1.3; letter-spacing: -.01em; color: #fff; }
.showcase__cap a { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; font-size: .9rem; font-weight: 600; color: var(--on-dark-2); }
.showcase__cap a:hover { color: #fff; }
.showcase__cap a .i { width: 15px; height: 15px; }

/* Panel 1 — pipeline */
.pipe { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; width: 100%; max-width: 540px; }
.pipe__col { display: grid; align-content: start; gap: 8px; min-height: 232px; padding: 12px; border-radius: 14px; background: rgba(255, 255, 255, .045); border: 1px solid rgba(255, 255, 255, .08); }
.pipe__h { display: flex; justify-content: space-between; padding: 2px 2px 6px; font-size: .7rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-2); }
.pipe__h b { font-weight: 600; color: var(--gold-300); }
.pipe__card { position: relative; display: flex; align-items: center; gap: 9px; padding: 10px; border-radius: 10px; font-size: .78rem; font-weight: 600; line-height: 1.25; color: var(--ink); background: #FBFAF7; box-shadow: 0 8px 18px -10px rgba(0, 0, 0, .6); }
.pipe__card small { display: block; font-size: .68rem; font-weight: 400; color: var(--ink-3); }
.pipe__card .av { width: 26px; height: 26px; font-size: .62rem; }
.pipe__card--ghost { height: 48px; background: transparent; border: 1px dashed rgba(255, 255, 255, .16); box-shadow: none; }
.pipe__card--lift { transform: rotate(-2.5deg); box-shadow: 0 20px 34px -14px rgba(0, 0, 0, .8), 0 0 0 2px var(--gold-400); }
.pipe__flag { position: absolute; right: -6px; top: -11px; padding: 3px 8px; border-radius: 999px; font-style: normal; font-size: .6rem; font-weight: 700; color: var(--navy-900); background: var(--gold-400); white-space: nowrap; }
.pipe__card--done .i { margin-left: auto; width: 16px; height: 16px; stroke-width: 2.6; color: var(--teal-500); }

/* Panel 2 — roster */
.roster { display: grid; gap: 10px; width: 100%; max-width: 440px; }
.roster__card { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 14px; color: var(--ink); background: #FBFAF7; box-shadow: 0 12px 26px -16px rgba(0, 0, 0, .7); }
.roster__card .av { width: 42px; height: 42px; font-size: .74rem; }
.roster__who { flex: 1; min-width: 0; line-height: 1.35; }
.roster__who strong { display: block; font-size: .9rem; font-weight: 600; }
.roster__who small { font-size: .76rem; color: var(--ink-3); }
.roster__card--lift { transform: translateX(16px); box-shadow: 0 22px 40px -16px rgba(0, 0, 0, .8), 0 0 0 2px var(--gold-400); }
.roster__note { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: .8rem; color: var(--on-dark-2); }
.roster__note .i { width: 16px; height: 16px; color: var(--gold-400); }

/* Panel 3 — AI chat */
.aichat { display: grid; gap: 12px; width: 100%; max-width: 450px; }
.aichat__q { justify-self: end; max-width: 84%; padding: 12px 16px; border-radius: 16px 16px 4px 16px; font-size: .86rem; font-weight: 500; line-height: 1.45; color: var(--navy-900); background: var(--gold-grad); box-shadow: 0 12px 26px -14px rgba(221, 165, 63, .6); }
.aichat__a { display: grid; gap: 12px; max-width: 92%; padding: 16px; border-radius: 16px 16px 16px 4px; color: var(--ink); background: #FBFAF7; box-shadow: 0 16px 30px -16px rgba(0, 0, 0, .7); }
.aichat__who { display: flex; align-items: center; gap: 6px; font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-600); }
.aichat__who .i { width: 14px; height: 14px; fill: currentColor; stroke: none; }
.aichat__bars { display: grid; grid-template-columns: repeat(3, 1fr); align-items: end; gap: 14px; height: 92px; padding: 0 8px; border-bottom: 1px solid var(--line); }
.aichat__bars span { position: relative; height: var(--h); border-radius: 6px 6px 0 0; background: linear-gradient(180deg, var(--teal-400), var(--teal-600)); }
.aichat__bars span:nth-child(2) { background: linear-gradient(180deg, var(--gold-400), var(--gold-600)); }
.aichat__bars b { position: absolute; bottom: calc(100% + 3px); left: 50%; transform: translateX(-50%); font-size: .62rem; font-weight: 600; color: var(--ink-3); white-space: nowrap; }
.aichat__a ul { display: grid; gap: 6px; font-size: .8rem; line-height: 1.45; color: var(--ink-2); }
.aichat__a li { display: flex; gap: 8px; }
.aichat__a li::before { content: ""; flex: none; width: 5px; height: 5px; margin-top: .55em; border-radius: 50%; background: var(--gold-500); }
.aichat__tag { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; color: var(--on-dark-2); }
.aichat__tag .i { width: 16px; height: 16px; color: var(--gold-400); }

/* ==========================================================================
   QUY TRÌNH
   ========================================================================== */
.flow { position: relative; padding-bottom: 66px; margin-bottom: 44px; }
.flow__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 3fr 1fr 1fr; gap: 14px; }
.flow__group { display: flex; flex-direction: column; padding: 18px 14px 14px; border-radius: 18px; background: #F1F6F5; border: 1px solid #E0ECEA; }
.flow__head { min-height: 96px; padding: 0 4px; }
.flow__pill { display: inline-flex; padding: 6px 12px; border-radius: 999px; font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-600); background: #fff; border: 1px solid var(--teal-200); }
.flow__head p { margin-top: 12px; font-size: .9rem; line-height: 1.5; color: var(--ink-2); }
.flow__head b { font-weight: 600; color: var(--ink); }
.flow__steps { position: relative; flex: 1; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 12px; padding-top: 34px; }
.flow__step {
  position: relative;
  display: grid;
  align-content: start;
  gap: 6px;
  padding: 18px 16px 20px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.flow__step:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--teal-200); }
.flow__step::before { content: ""; position: absolute; z-index: 3; left: 50%; top: -27px; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: #fff; border: 2px solid var(--teal-500); }
.flow__num { font-size: .74rem; font-weight: 600; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.flow__icon { display: grid; place-items: center; width: 38px; height: 38px; margin: 2px 0 8px; border-radius: 10px; color: var(--teal-600); background: var(--teal-50); }
.flow__step h3 { font-size: 1.1rem; font-weight: 600; }
.flow__step p { font-size: .9rem; line-height: 1.5; color: var(--ink-2); }
.flow__line { position: absolute; z-index: 2; left: 0; right: 0; top: 127px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--teal-300), var(--teal-500) 55%, var(--gold-500)); }
.flow__pulse { position: absolute; top: 50%; left: 0; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: var(--gold-400); box-shadow: 0 0 0 4px rgba(221, 165, 63, .25), 0 0 18px 4px rgba(221, 165, 63, .5); opacity: 0; }
.flow__frame { position: absolute; z-index: 0; top: 128px; left: -24px; right: -24px; bottom: 22px; border: 1.5px dashed var(--teal-300); border-radius: 22px; }
.flow__loop { position: absolute; z-index: 2; left: 50%; bottom: 0; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 10px; padding: 10px 20px; border-radius: 999px; font-size: .9rem; color: var(--ink); white-space: nowrap; background: #fff; border: 1px solid var(--line-2); box-shadow: var(--shadow-sm); }
.flow__loop .i { width: 16px; height: 16px; color: var(--teal-600); }

/* ==========================================================================
   01 · SOLUTION — kiến trúc
   ========================================================================== */
.arch {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 72px minmax(0, 1.3fr) 72px minmax(0, 1fr);
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(22px, 3vw, 40px);
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .015));
  border: 1px solid rgba(255, 255, 255, .09);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}
.arch__col { display: flex; flex-direction: column; min-width: 0; }
.arch__label { height: 20px; margin-bottom: 16px; font-size: .68rem; font-weight: 600; line-height: 20px; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; color: var(--on-dark-3); }
.arch__srcs { flex: 1; display: grid; grid-template-rows: repeat(4, 1fr); }
.arch__srcs li { display: flex; align-items: center; padding: 6px 0; }
.arch__src { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; border-radius: 12px; font-weight: 500; color: #fff; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.arch__ico { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 9px; color: var(--teal-300); background: rgba(67, 185, 174, .14); }
.arch__ico .i { width: 18px; height: 18px; }
.arch__wires { display: flex; flex-direction: column; padding-top: 36px; }
.arch__wires svg { flex: 1; width: 100%; height: 100%; overflow: visible; }
.arch__wires path { fill: none; stroke: rgba(127, 211, 201, .55); stroke-width: 1.5; stroke-dasharray: 3 6; vector-effect: non-scaling-stroke; }
.arch__wires--out path { stroke: rgba(236, 193, 99, .55); }
.arch__crm { flex: 1; display: grid; align-content: center; gap: 12px; padding: 22px; border-radius: 18px; color: var(--ink); background: #FBFAF7; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .7), 0 0 0 1px rgba(221, 165, 63, .45), 0 0 50px -10px rgba(221, 165, 63, .25); }
.arch__crm-head { display: flex; align-items: center; gap: 12px; }
.arch__crm-ico { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 11px; color: var(--navy-900); background: var(--gold-grad); }
.arch__crm-head strong { display: block; font-size: 1.15rem; font-weight: 600; line-height: 1.3; }
.arch__crm-head small { font-size: .78rem; color: var(--ink-3); }
.arch__crm-list { display: grid; gap: 8px; }
.arch__crm-list li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; font-size: .9rem; background: var(--teal-50); }
.arch__crm-list .i { width: 16px; height: 16px; stroke-width: 2.4; color: var(--teal-600); }
.arch__crm-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding-top: 4px; }
.arch__badge { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; font-size: .78rem; font-weight: 600; color: var(--gold-700); background: #FBEFD5; }
.arch__badge .i { width: 14px; height: 14px; stroke-width: 2.2; }
.arch__infra { font-size: .74rem; color: var(--ink-3); }
.arch__outs { flex: 1; display: grid; grid-template-rows: 1fr 1fr; }
.arch__out { display: grid; align-content: center; gap: 4px; margin: 7px 0; padding: 18px; border-radius: 14px; }
.arch__out .i { width: 22px; height: 22px; margin-bottom: 6px; }
.arch__out strong { font-size: 1.05rem; font-weight: 600; }
.arch__out span { font-size: .84rem; line-height: 1.45; }
.arch__out--teal { color: #fff; background: linear-gradient(150deg, #23A096, #0B6F6B); }
.arch__out--teal span { color: rgba(255, 255, 255, .8); }
.arch__out--gold { color: var(--navy-900); background: var(--gold-grad); }
.arch__out--gold span { color: rgba(10, 31, 43, .78); }

.why { margin-top: clamp(88px, 10vw, 136px); }
.cards-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.card-dark {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 28px 26px 30px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .018));
  border: 1px solid rgba(255, 255, 255, .09);
  transition: border-color .3s, transform .3s var(--ease);
}
.card-dark:hover { border-color: rgba(221, 165, 63, .38); transform: translateY(-3px); }
.icon-tile { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; color: var(--gold-400); background: rgba(221, 165, 63, .1); border: 1px solid rgba(221, 165, 63, .22); }
.card-dark h3 { margin-top: 18px; font-size: 1.2rem; font-weight: 600; letter-spacing: -.01em; color: #fff; }
.card-dark p { font-size: .95rem; line-height: 1.6; color: var(--on-dark-2); }

/* ==========================================================================
   02 · TALENT
   ========================================================================== */
.feature-card { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); border-radius: 26px; overflow: hidden; border: 1px solid rgba(127, 211, 201, .16); background: linear-gradient(135deg, rgba(30, 148, 139, .12), rgba(255, 255, 255, .02) 55%); }
.feature-card__media { display: grid; place-items: center; padding: clamp(22px, 3vw, 40px); background: radial-gradient(520px 320px at 30% 18%, rgba(30, 148, 139, .26), transparent 70%), linear-gradient(180deg, #0D2A38, #0A2130); border-right: 1px solid rgba(255, 255, 255, .06); }
.feature-card__body { display: grid; align-content: start; gap: 20px; padding: clamp(28px, 4vw, 56px); }

.sched { width: 100%; max-width: 520px; padding: 22px; border-radius: 18px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); }
.sched__head, .sched__row { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 12px; align-items: center; }
.sched__head { margin-bottom: 4px; padding-bottom: 12px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.sched__title { font-size: .64rem; font-weight: 600; line-height: 1.4; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-3); }
.sched__days { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.sched__days i { font-style: normal; font-size: .74rem; font-weight: 600; text-align: center; color: var(--on-dark-2); }
.sched__row { padding: 14px 0; border-bottom: 1px dashed rgba(255, 255, 255, .08); }
.sched__label { line-height: 1.35; }
.sched__label strong { display: block; font-size: .86rem; font-weight: 600; color: #fff; }
.sched__label small { font-size: .72rem; color: var(--on-dark-3); }
.sched__track { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; height: 40px; }
.sched__bar { position: relative; grid-column: 1 / -1; display: flex; align-items: center; min-width: 0; padding: 0 34px 0 12px; border-radius: 9px; font-size: .74rem; font-weight: 500; color: var(--teal-200); background: rgba(67, 185, 174, .14); border: 1px solid rgba(127, 211, 201, .45); }
.sched__bar > span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.sched__diamond { position: absolute; right: 12px; top: 50%; width: 11px; height: 11px; margin-top: -5.5px; border-radius: 2px; background: var(--gold-400); transform: rotate(45deg); }
.sched__blk { grid-row: 1; border-radius: 9px; background: linear-gradient(180deg, var(--teal-400), var(--teal-600)); }
.sched__blk--gold { background: var(--gold-grad); }
.sched__note { margin-top: 14px; font-size: .76rem; color: var(--on-dark-3); }

.numbered { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; margin-top: 4px; }
.numbered li { padding: 18px 0 20px; border-top: 1px solid rgba(255, 255, 255, .1); }
.numbered span { font-size: .76rem; font-weight: 600; letter-spacing: .04em; color: var(--gold-400); }
.numbered h3 { margin-top: 8px; font-size: 1.05rem; font-weight: 600; color: #fff; }
.numbered p { margin-top: 4px; font-size: .9rem; line-height: 1.55; color: var(--on-dark-2); }
.industries { display: grid; gap: 12px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); }
.industries > p { font-size: .9rem; color: var(--on-dark-2); }
.industries b { font-weight: 600; color: #fff; }

.packages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.package { display: flex; flex-direction: column; gap: 10px; padding: 26px; border-radius: 18px; background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .1); transition: border-color .3s, transform .3s var(--ease); }
.package:hover { border-color: rgba(221, 165, 63, .38); transform: translateY(-3px); }
.package__name { display: flex; align-items: center; gap: 10px; font-size: 1.2rem; font-weight: 600; color: #fff; }
.package__name .i { color: var(--gold-400); }
.package__desc { font-size: .95rem; color: var(--on-dark-2); }
.package__fit { margin-top: auto; padding-top: 14px; border-top: 1px dashed rgba(255, 255, 255, .15); font-size: .92rem; color: var(--on-dark); }
.package__fit span { display: block; margin-bottom: 4px; font-size: .66rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-400); }

/* ==========================================================================
   03 · ĐÀO TẠO
   ========================================================================== */
/* Đường vàng đi lên phía trên ba bậc; tọa độ khớp chiều cao cố định của .level (170/230/290) */
.levels-wrap { position: relative; padding-top: 72px; }
.levels__path { position: absolute; top: 0; left: 0; width: 100%; height: 362px; overflow: visible; pointer-events: none; z-index: 1; }
.levels__path path { fill: none; stroke: var(--gold-500); stroke-width: 2; stroke-dasharray: 6 7; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.levels__star { position: absolute; z-index: 2; top: -5px; right: calc(3% - 11px); width: 22px; height: 22px; fill: var(--gold-500); stroke: none; filter: drop-shadow(0 0 8px rgba(221, 165, 63, .6)); }
.levels { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end; gap: 16px; }
.level { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; padding: 22px 24px; border-radius: 18px; }
.level--1 { height: 170px; background: #fff; border: 1px solid var(--line); }
.level--2 { height: 230px; color: #fff; background: linear-gradient(170deg, #2A9A91, #0B6F6B); }
.level--3 { height: 290px; color: #fff; background: radial-gradient(420px 220px at 100% 0%, rgba(221, 165, 63, .26), transparent 62%), var(--navy-850); }
.level__tag { font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-600); }
.level--2 .level__tag { color: var(--teal-200); }
.level--3 .level__tag { color: var(--gold-400); }
.level h3 { font-size: clamp(1.12rem, .98rem + .6vw, 1.42rem); font-weight: 600; line-height: 1.25; letter-spacing: -.01em; }
.level p { font-size: .93rem; color: var(--ink-2); }
.level--2 p { color: rgba(255, 255, 255, .84); }
.level--3 p { color: var(--on-dark-2); }
.levels__note { margin-top: 16px; font-size: .9rem; color: var(--ink-3); }

.audiences { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.audiences:focus-visible { outline-offset: 6px; }
.aud { display: flex; flex-direction: column; overflow: hidden; border-radius: 18px; background: #fff; border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s; }
.aud:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.aud__art { position: relative; display: grid; place-items: center; height: 150px; overflow: hidden; }
.aud__art--1 { color: var(--gold-700); background: radial-gradient(circle at 30% 20%, #FFF7E3, #F1DFB6); }
.aud__art--2 { color: var(--teal-600); background: radial-gradient(circle at 30% 20%, #ECF8F5, #C6E6DF); }
.aud__art--3 { color: var(--navy-800); background: radial-gradient(circle at 30% 20%, #F0F5F8, #D2DFE7); }
.aud__art--4 { color: #6B5320; background: radial-gradient(circle at 30% 20%, #F9F3E8, #E7DCC6); }
.aud__art .i { position: relative; z-index: 1; width: 40px; height: 40px; stroke-width: 1.5; }
.aud__ring { position: absolute; width: 92px; height: 92px; border-radius: 50%; background: rgba(255, 255, 255, .7); box-shadow: 0 0 0 14px rgba(255, 255, 255, .32), 0 0 0 30px rgba(255, 255, 255, .15); }
.aud__chip { position: absolute; z-index: 1; padding: 4px 10px; border-radius: 999px; font-size: .68rem; font-weight: 600; color: var(--ink); background: #fff; box-shadow: 0 8px 16px -10px rgba(15, 39, 51, .45); }
.aud__chip--a { top: 20px; left: 16px; }
.aud__chip--b { right: 16px; bottom: 20px; }
.aud__body { display: grid; gap: 12px; padding: 20px 22px 24px; }
.aud h3 { font-size: 1.08rem; font-weight: 600; line-height: 1.35; }
.aud dt { font-size: .66rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-600); }
.aud dd { margin-top: 4px; font-size: .9rem; line-height: 1.55; color: var(--ink-2); }
.aud dd + dt { margin-top: 12px; }

.formats { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line-2); }
.formats > p { font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }

/* ==========================================================================
   DỰ ÁN
   ========================================================================== */
.cases { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.case { display: flex; flex-direction: column; overflow: hidden; border-radius: 22px; background: rgba(255, 255, 255, .025); border: 1px solid rgba(255, 255, 255, .09); transition: border-color .3s, transform .3s var(--ease); }
.case:hover { border-color: rgba(221, 165, 63, .38); transform: translateY(-3px); }
.case__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; padding: 28px 28px 26px; background: radial-gradient(440px 220px at 100% 0%, rgba(30, 148, 139, .3), transparent 70%), linear-gradient(180deg, rgba(30, 148, 139, .1), rgba(30, 148, 139, 0)); border-bottom: 1px solid rgba(255, 255, 255, .07); }
.case__client { font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-400); }
.case h3 { margin-top: 12px; font-size: clamp(1.35rem, 1.08rem + 1vw, 1.85rem); font-weight: 500; line-height: 1.22; letter-spacing: -.02em; color: #fff; }
.case__art { flex: none; width: 112px; }
.c-surf { fill: rgba(255, 255, 255, .13); }
.c-teal { fill: var(--teal-400); }
.c-gold { fill: var(--gold-400); }
.c-gold-soft { fill: rgba(236, 193, 99, .38); }
.c-teal-soft { fill: rgba(67, 185, 174, .38); }
.c-line { fill: none; stroke: var(--gold-400); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.c-line--teal { stroke: var(--teal-400); }
.case__body { flex: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; padding: 24px 28px 28px; }
.case__body p { color: var(--on-dark-2); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { padding: 5px 11px; border-radius: 999px; font-size: .78rem; color: var(--on-dark-2); border: 1px solid rgba(255, 255, 255, .14); }
.cases__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; margin-top: 32px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .1); }
.cases__foot p { color: var(--on-dark-2); }

/* ==========================================================================
   ĐỘI NGŨ
   ========================================================================== */
.team { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.person { display: flex; flex-direction: column; gap: 6px; padding: 26px 24px 24px; border-radius: 18px; background: #fff; border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s; }
.person:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.person__avatar { display: grid; place-items: center; width: 72px; height: 72px; margin-bottom: 14px; border-radius: 50%; font-size: 1.3rem; font-weight: 600; letter-spacing: .02em; color: #fff; box-shadow: 0 0 0 4px #fff, 0 0 0 5px var(--line); }
.person__avatar--1 { background: linear-gradient(140deg, var(--teal-400), var(--teal-600)); }
.person__avatar--2 { background: linear-gradient(140deg, var(--navy-700), var(--navy-850)); }
.person__avatar--3 { color: var(--navy-900); background: var(--gold-grad); }
.person__avatar--4 { background: linear-gradient(140deg, #2C6378, #123647); }
.person__phase { margin-top: auto; padding: 14px 16px; border-radius: 12px; font-size: .9rem; font-weight: 600; line-height: 1.4; color: var(--ink); background: var(--teal-50); }
.person__phase span { display: block; margin-bottom: 3px; font-size: .64rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-600); }
.person > ul { margin-bottom: 18px; }
.person h3 { font-size: 1.2rem; font-weight: 600; }
.person__role { font-size: .93rem; font-weight: 500; line-height: 1.45; color: var(--gold-700); }
.person ul { display: grid; gap: 6px; margin-top: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.person li { display: flex; gap: 10px; font-size: .9rem; line-height: 1.5; color: var(--ink-2); }
.person li::before { content: ""; flex: none; width: 5px; height: 5px; margin-top: .62em; border-radius: 50%; background: var(--gold-500); }

/* ==========================================================================
   HỎI ĐÁP
   ========================================================================== */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq__intro { position: sticky; top: calc(var(--nav-h) + 32px); display: grid; gap: 18px; justify-items: start; }
.faq__intro .btn { margin-top: 8px; }
.faq__item { border-top: 1px solid var(--line-2); }
.faq__item:last-child { border-bottom: 1px solid var(--line-2); }
.faq__item summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; font-size: 1.1rem; font-weight: 500; line-height: 1.45; color: var(--ink); cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--teal-600); }
.faq__icon { position: relative; flex: none; width: 30px; height: 30px; border-radius: 50%; color: var(--ink); border: 1px solid var(--line-2); transition: background-color .3s, border-color .3s, color .3s; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.6px; margin: -.8px 0 0 -5.5px; border-radius: 2px; background: currentColor; transition: transform .3s var(--ease); }
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon { color: #fff; background: var(--navy-850); border-color: var(--navy-850); }
.faq__item[open] .faq__icon::after { transform: rotate(0deg); }
.faq__a { padding: 0 54px 26px 0; color: var(--ink-2); }

/* ==========================================================================
   LIÊN HỆ
   ========================================================================== */
.section--contact { padding-block: clamp(64px, 7vw, 104px); }
.cta-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 480px);
  gap: clamp(32px, 5vw, 72px);
  padding: clamp(24px, 5vw, 64px);
  border-radius: 28px;
  color: var(--on-dark);
  background:
    radial-gradient(760px 420px at 18% 0%, rgba(30, 148, 139, .3), transparent 64%),
    radial-gradient(620px 420px at 100% 100%, rgba(221, 165, 63, .15), transparent 60%),
    var(--navy-950);
}
.cta-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1.3px); background-size: 22px 22px; -webkit-mask-image: radial-gradient(ellipse 70% 70% at 25% 20%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 70% 70% at 25% 20%, #000 20%, transparent 75%); }
.cta-card__copy { display: grid; align-content: start; gap: 20px; }
.cta-card .h2 { color: #fff; }
.cta-card .lead { color: var(--on-dark-2); }
.cta-steps { display: grid; gap: 12px; counter-reset: s; }
.cta-steps li { display: flex; align-items: center; gap: 12px; counter-increment: s; color: var(--on-dark); }
.cta-steps li::before { content: counter(s); display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; font-size: .8rem; font-weight: 600; color: var(--gold-300); background: rgba(221, 165, 63, .12); border: 1px solid rgba(221, 165, 63, .3); }
.contact-list { display: grid; gap: 14px; margin-top: 8px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); }
.contact-list > li { display: flex; align-items: center; gap: 14px; }
.contact-list small { display: block; font-size: .74rem; color: var(--on-dark-3); }
.contact-list__ico { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 11px; color: var(--gold-400); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.contact-list__ico .i { width: 18px; height: 18px; }

.lead-form { display: grid; align-content: start; gap: 16px; padding: clamp(22px, 3vw, 32px); border-radius: 20px; color: var(--ink); background: #fff; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .65); }
.lead-form h3 { font-size: 1.3rem; font-weight: 600; letter-spacing: -.01em; }
.field { display: grid; gap: 6px; min-width: 0; }
fieldset.field { margin: 0; padding: 0; border: 0; }
.field label, .field legend { padding: 0; font-size: .86rem; font-weight: 500; color: var(--ink); }
.req { color: var(--gold-600); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  font: inherit;
  font-size: .95rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line-2);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 92px; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2344596A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.field input::placeholder, .field textarea::placeholder { color: #93A3AA; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal-500); box-shadow: 0 0 0 4px rgba(30, 148, 139, .14); }
.field.has-error input { border-color: #C8442F; }
.field__err { min-height: 0; font-size: .8rem; color: #B42318; }
.field__err:empty { display: none; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.choice-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.choice-chips label { position: relative; }
.choice-chips input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.choice-chips span { display: inline-flex; padding: 8px 14px; border-radius: 999px; font-size: .85rem; border: 1px solid var(--line-2); cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.choice-chips label:hover span { border-color: var(--ink-3); }
.choice-chips input:checked + span { color: #fff; background: var(--navy-850); border-color: var(--navy-850); }
.choice-chips input:focus-visible + span { outline: 2px solid var(--gold-500); outline-offset: 2px; }
.lead-form .btn { margin-top: 4px; }
.form-note { font-size: .78rem; text-align: center; color: var(--ink-3); }
.form-status { font-size: .9rem; text-align: center; }
.form-status:empty { display: none; }
.form-status.is-ok { padding: 12px; border-radius: 10px; color: var(--teal-600); background: var(--teal-50); }
.form-status.is-warn { padding: 12px; border-radius: 10px; color: var(--gold-700); background: #FBEFD5; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { position: relative; overflow: hidden; isolation: isolate; padding-top: clamp(64px, 7vw, 96px); color: var(--on-dark); background: linear-gradient(180deg, #0A1F2B 0%, #0E3343 100%); }
.footer::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 140px; z-index: -1; background: repeating-linear-gradient(90deg, rgba(127, 211, 201, .1) 0 1px, transparent 1px 7px); -webkit-mask-image: linear-gradient(0deg, #000, transparent); mask-image: linear-gradient(0deg, #000, transparent); }
.footer__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 64px; padding-bottom: clamp(48px, 6vw, 80px); }
.footer__brand { display: grid; justify-items: start; align-content: start; }
.footer__tag { max-width: 17ch; margin-top: 28px; font-size: clamp(1.6rem, 1.2rem + 1.3vw, 2.3rem); font-weight: 500; line-height: 1.22; letter-spacing: -.02em; color: #fff; }
.footer__cta { display: flex; justify-content: space-between; align-items: center; gap: 16px; width: min(360px, 100%); margin-top: 32px; padding: 16px 0; font-weight: 600; color: #fff; border-top: 1px solid rgba(255, 255, 255, .14); border-bottom: 1px solid rgba(255, 255, 255, .14); }
.footer__cta .i { color: var(--gold-400); transition: transform .25s var(--ease); }
.footer__cta:hover .i { transform: translateX(4px); }
.footer__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.footer__cols h3 { margin-bottom: 18px; font-size: 1.05rem; font-weight: 600; color: #fff; }
.footer__cols li + li { margin-top: 10px; }
.footer__cols a, .footer__contact li { font-size: .95rem; color: var(--on-dark-2); transition: color .2s; }
.footer__cols a:hover { color: #fff; }
.footer__contact .ph { width: fit-content; }
.footer__bottom { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 22px 30px; font-size: .84rem; color: var(--on-dark-3); }
.footer__bottom::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: rgba(255, 255, 255, .08); }

/* ==========================================================================
   MOTION
   ========================================================================== */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: no-preference) {
  .float-a { animation: floatY 7s ease-in-out infinite; }
  .float-b { animation: floatY 8s ease-in-out -3s infinite; }
  .flow__pulse { animation: travel 6.5s cubic-bezier(.45, 0, .55, 1) infinite; }
  .arch__wires path { animation: dash 1.4s linear infinite; }
  .live i { animation: blink 2s ease-in-out infinite; }
}
@keyframes floatY { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@keyframes travel { 0% { left: 0; opacity: 0; } 8%, 90% { opacity: 1; } 100% { left: calc(100% - 10px); opacity: 0; } }
@keyframes dash { to { stroke-dashoffset: -18; } }
@keyframes blink { 50% { opacity: .35; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .showcase__panel, .showcase__panel .showcase__stage > * { transition: none; }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1179px) {
  .cards-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1079px) {
  /* Nav thu gọn. backdrop-filter tạo containing block cho phần tử fixed bên trong,
     nên khi mở menu phải tắt nó để menu phủ cả màn hình. */
  .nav.is-open { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--navy-900); }
  .nav__menu {
    position: fixed;
    inset: var(--nav-h) 0 0 0;
    display: none;
    margin: 0;
    padding: 12px var(--gutter) 40px;
    overflow-y: auto;
    background: var(--navy-900);
  }
  .nav.is-open .nav__menu { display: block; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__link { justify-content: space-between; width: 100%; padding: 16px 4px; border-radius: 0; font-size: 1.1rem; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .nav__link:hover, .nav__link[aria-expanded="true"] { background: none; }
  .nav__sub { position: static; display: none; width: auto; padding: 6px 0 12px; opacity: 1; visibility: visible; transform: none; color: var(--on-dark); background: none; border: 0; box-shadow: none; }
  .nav__sub::before { display: none; }
  .has-sub.is-open .nav__sub { display: block; transform: none; }
  .nav__sub a:hover { background: rgba(255, 255, 255, .05); }
  .nav__sub small { color: var(--on-dark-3); }
  .nav__sub-icon { color: var(--teal-300); background: rgba(67, 185, 174, .14); }
  .nav__menu-cta { display: block; margin-top: 28px; }
  .nav__ghost { display: none; }
  .nav__burger { display: inline-flex; }
  .nav__actions { margin-left: auto; }

  .hero__inner { grid-template-columns: minmax(0, 1fr); }
  .hero__copy { max-width: 720px; }
  .hero__visual { width: 100%; max-width: 640px; margin-inline: auto; }
}

@media (max-width: 999px) {
  .split { grid-template-columns: minmax(0, 1fr); }
  .feature-card { grid-template-columns: minmax(0, 1fr); }
  .feature-card__media { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .06); }

  .arch { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
  .arch__wires { display: none; }
  .arch__srcs { grid-template-columns: 1fr 1fr; grid-template-rows: none; gap: 10px; }
  .arch__srcs li { padding: 0; }
  .arch__core, .arch__outputs { position: relative; margin-top: 52px; }
  .arch__core::before, .arch__outputs::before { content: ""; position: absolute; left: 50%; top: -44px; height: 30px; border-left: 1.5px dashed rgba(127, 211, 201, .7); }
  .arch__outs { grid-template-columns: 1fr 1fr; grid-template-rows: none; gap: 10px; }
  .arch__out { margin: 0; }
}

@media (max-width: 959px) {
  .flow { padding-bottom: 0; }
  .flow__frame, .flow__line { display: none; }
  .flow__grid { grid-template-columns: minmax(0, 1fr); }
  .flow__head { min-height: 0; }
  .flow__steps { grid-auto-flow: row; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); padding-top: 16px; }
  .flow__step::before { display: none; }
  .flow__loop { position: static; transform: none; display: flex; width: fit-content; max-width: 100%; margin: 20px auto 0; white-space: normal; text-align: left; }

  .faq { grid-template-columns: minmax(0, 1fr); }
  .faq__intro { position: static; }
  .cta-card { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 899px) {
  .clients__inner { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .clients__title { max-width: none; }
  .clients__list li:first-child { padding-left: 0; border-left: 0; }
  .head-split { grid-template-columns: minmax(0, 1fr); }
  .packages { grid-template-columns: minmax(0, 1fr); }
  .cases { grid-template-columns: minmax(0, 1fr); }
  .footer__inner { grid-template-columns: minmax(0, 1fr); gap: 48px; }

  .audiences {
    display: flex;
    gap: 12px;
    margin-inline: calc(var(--gutter) * -1);
    padding: 4px var(--gutter) 18px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .audiences::-webkit-scrollbar { display: none; }
  .aud { flex: 0 0 min(80%, 300px); scroll-snap-align: start; }
}

@media (max-width: 759px) {
  .levels-wrap { padding-top: 0; }
  .levels__path, .levels__star { display: none; }
  .levels { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .level { height: auto; min-height: 0; }
  .level--1 { min-height: 130px; }
  .level--2 { min-height: 150px; }
  .level--3 { min-height: 170px; }
}

@media (max-width: 639px) {
  .clients__list { grid-template-columns: 1fr 1fr; row-gap: 18px; }
  .clients__list li { padding: 2px 16px; }
  .clients__list li:nth-child(odd) { padding-left: 0; border-left: 0; }
  .cards-4, .team { grid-template-columns: minmax(0, 1fr); }
  .numbered { grid-template-columns: minmax(0, 1fr); }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .footer__cols > div:last-child { grid-column: 1 / -1; }
  .case__top { flex-direction: column-reverse; }
  .case__art { width: 96px; }
  .sched { padding: 16px; }
  .sched__head, .sched__row { grid-template-columns: 92px minmax(0, 1fr); gap: 8px; }
  .sched__bar { padding-right: 28px; font-size: .68rem; }
  .showcase { min-height: 500px; }
  .showcase__stage { padding: 28px 18px 4px; }
  .showcase__cap { padding: 22px 20px 24px; }
  .pipe { gap: 8px; }
  .pipe__col { padding: 8px; min-height: 210px; }
  .pipe__card { padding: 8px; gap: 7px; font-size: .72rem; }
  .pipe__card .av { display: none; }
  .roster__card--lift { transform: translateX(8px); }
}

@media (max-width: 560px) {
  .nav__cta { display: none; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .hv { padding: 12px 0 64px 18px; }
  .hv-card--chat { top: 16%; width: 200px; padding: 12px; }
  .hv-card--auto { display: none; }
  .hv-kpi { padding: 9px; }
  .hv-kpi strong { font-size: 1.1rem; }
  .hv-kpi em { display: none; }
  .hv-list li { grid-template-columns: 28px 1fr auto; }
  .hv-list .tag { display: none; }
  .hv-talk { left: 0; right: 0; width: auto; bottom: 8px; }
  .field-row { grid-template-columns: minmax(0, 1fr); }
  .faq__a { padding-right: 0; }
  .flow__loop { font-size: .84rem; }
  /* Bước quy trình dạng hàng ngang gọn: icon bên trái, chữ bên phải */
  .flow__step { grid-template-columns: 38px minmax(0, 1fr); column-gap: 14px; row-gap: 2px; padding: 14px 16px; }
  .flow__icon { grid-column: 1; grid-row: 1 / span 3; margin: 2px 0 0; }
  .flow__num { grid-column: 2; grid-row: 1; }
  .flow__step h3 { grid-column: 2; grid-row: 2; font-size: 1.02rem; }
  .flow__step p { grid-column: 2; grid-row: 3; }
}
