/* =====================================================================
   Việt Hàn Composite — shared design system (Pro edition)
   Brand palette: xanh lá #2b9348 + cam #e29a2e (from logo)
   Thông điệp: vì khách hàng · vì cộng đồng · vì phát triển bền vững
   Since 2011
   ===================================================================== */

:root {
  /* ── Brand palette ── */
  --bg: #f5f7f4;
  --surface: #ffffff;
  --surface-2: #eef2ec;
  --surface-warm: var(--surface);
  --fg: #15211a;
  --fg-2: #28332b;
  --muted: #5d6862;
  --meta: var(--muted);
  --border: #e2e7df;
  --border-soft: #edf0ea;

  --brand: #2b9348;
  --brand-deep: #1d6b34;
  --brand-darker: #123f20;
  --accent: #2b9348;
  --accent-on: #ffffff;
  --accent-hover: #1d6b34;
  --accent-active: #123f20;
  --accent-soft: color-mix(in oklab, #2b9348, white 88%);

  --accent-orange: #e29a2e;
  --accent-orange-deep: #c97f16;
  --brand-orange: #e29a2e;
  --brand-orange-soft: color-mix(in oklab, #e29a2e, white 86%);

  --ink: #0e1a12;
  --ink-2: #16271b;
  --ink-fg: #eaf1ea;
  --ink-muted: #9fb3a4;
  --on-dark: #eaf1ea;
  --on-dark-muted: #9fb3a4;

  --success: #17a34a;
  --warn: #eab308;
  --danger: #dc2626;
  --zalo: #0068ff;
  --messenger: #a855f7;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-display: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-mono: ui-monospace, 'JetBrains Mono', monospace;

  --text-xs: 12px; --text-sm: 14px; --text-base: 16px;
  --text-lg: 20px; --text-xl: 24px; --text-2xl: 32px;
  --text-3xl: 48px; --text-4xl: 64px;

  --leading-body: 1.6;
  --leading-tight: 1.12;
  --tracking-display: -0.02em;

  --space-1: 4px;  --space-2: 8px;  --space-3: 12px; --space-4: 16px;
  --space-5: 20px; --space-6: 24px; --space-8: 32px; --space-12: 48px;
  --space-16: 64px; --space-20: 80px;

  --container: 1240px;
  --container-max: 1240px;
  --gutter: 28px;

  --r-sm: 8px; --r-md: 12px; --r-lg: 18px; --r-pill: 999px;
  --radius-sm: 8px; --radius-md: 12px; --radius-lg: 18px; --radius-pill: 9999px;

  --shadow: 0 1px 2px rgba(15,33,20,.04), 0 8px 24px rgba(15,33,20,.06);
  --shadow-lg: 0 24px 60px rgba(15,33,20,.16);
  --elev-ring: 0 0 0 1px var(--border);
  --elev-raised: 0 2px 8px rgba(15,33,20,.08);
  --elev-card: 0 1px 2px rgba(15,33,20,.04), 0 8px 24px rgba(15,33,20,.06);
  --focus-ring: 0 0 0 3px color-mix(in oklab, var(--accent), transparent 70%);

  --ease: cubic-bezier(.2,0,0,1);
  --ease-standard: cubic-bezier(.2,0,0,1);
  --motion-fast: 150ms;
  --motion-base: 220ms;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-body);
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: none; }
ul { padding-left: 1.1em; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-display);
  color: var(--fg);
}
h1 { font-size: clamp(34px, 5vw, 58px); }
h2 { font-size: clamp(28px, 3.2vw, 42px); }
h3 { font-size: var(--text-xl); }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: none; box-shadow: var(--focus-ring); border-radius: 4px; }

/* ── Layout ── */
.container { max-width: var(--container-max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: 88px; }
.section.alt, .section--band { background: var(--surface); }
.section.dark, .section--ink { background: var(--ink); color: var(--ink-fg); }
.section.dark h2, .section--ink h2 { color: #fff; }
.section.dark .muted, .section--ink .muted { color: var(--on-dark-muted); }
.section--tight { padding-block: var(--space-12); }
.grid { display: grid; gap: var(--space-6); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: var(--space-12); align-items: center; }

/* ── Type helpers ── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--brand-deep);
  margin-bottom: var(--space-3);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--accent-orange); display: inline-block; }
.eyebrow.on-dark { color: var(--accent-orange); }
.section-head.center .eyebrow::before { display: none; }
.section-head.center .eyebrow { display: flex; justify-content: center; }
.lead { font-size: 18px; color: var(--muted); line-height: 1.55; max-width: 60ch; }
.muted { color: var(--muted); }
.section-head { max-width: 680px; margin-bottom: var(--space-12); }
.section-head h2 { margin: 14px 0 14px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { margin-top: var(--space-4); }
.section-head .lead { color: var(--muted); }
.section.dark .section-head .lead, .section--ink .section-head .lead { color: var(--on-dark-muted); }
.section.dark .eyebrow, .section--ink .eyebrow { color: var(--accent-orange); }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-display); font-size: 15px; font-weight: 700;
  padding: 13px 22px; border-radius: var(--r-sm); border: 1.5px solid transparent;
  cursor: pointer; transition: .18s var(--ease); white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 18px rgba(43,147,72,.28); }
.btn-primary:hover { background: var(--brand-deep); }
.btn-primary:active { background: var(--brand-darker); transform: translateY(0); }
.btn-accent { background: var(--accent-orange); color: #23170a; }
.btn-accent:hover { background: var(--accent-orange-deep); }
.btn-secondary { background: var(--surface); color: var(--fg); border-color: var(--border); }
.btn-secondary:hover { border-color: var(--fg); }
.btn-ghost { border-color: var(--border); background: var(--surface); color: var(--fg); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand-deep); }
.btn-ghost-dark { border-color: rgba(255,255,255,.28); color: #fff; }
.btn-ghost-dark:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #eef2ec; }
.btn-lg { padding: 16px 28px; font-size: 16px; }
.btn-block { width: 100%; }

/* ── Badges / pills ── */
.badge {
  display: inline-flex; align-items: center; gap: 6px; font-size: var(--text-xs);
  font-weight: 600; padding: 5px 11px; border-radius: var(--radius-pill);
  background: var(--accent-soft); color: var(--accent);
}
.badge-success { background: color-mix(in oklab, var(--success), white 86%); color: var(--success); }
.badge-line { background: transparent; border: 1px solid var(--border); color: var(--muted); }
.tag { font-size: var(--text-xs); color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }

/* ── Cards ── */
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: var(--space-6);
  transition: box-shadow var(--motion-base) var(--ease-standard),
    transform var(--motion-base) var(--ease-standard), border-color var(--motion-base);
}
.card-hover:hover { box-shadow: var(--elev-card); transform: translateY(-3px); border-color: var(--border-soft); }
.card-pad-0 { padding: 0; overflow: hidden; }

/* ── Image placeholders ── */
.ph-img {
  position: relative; border-radius: var(--radius-md); overflow: hidden;
  background: linear-gradient(135deg, color-mix(in oklab, var(--accent), white 78%), color-mix(in oklab, var(--ink), white 80%));
  border: 1px solid var(--border);
  display: flex; align-items: flex-end; aspect-ratio: 4 / 3;
}
.ph-img::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(color-mix(in oklab, var(--ink), transparent 92%) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in oklab, var(--ink), transparent 92%) 1px, transparent 1px);
  background-size: 26px 26px; opacity: 0.55;
}
.ph-img > span {
  position: relative; z-index: 1; font-size: var(--text-xs); font-weight: 600;
  color: var(--ink); background: color-mix(in oklab, #fff, transparent 12%);
  padding: 6px 10px; border-radius: var(--radius-pill); margin: 12px; backdrop-filter: blur(2px);
}
.ph-img.wide { aspect-ratio: 16 / 9; }
.ph-img.square { aspect-ratio: 1 / 1; }
.ph-img.tall { aspect-ratio: 3 / 4; }
.ph-img > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.ph-img:has(img)::before { display: none; }
.ph-img:has(img) > span { z-index: 2; }
.ph-icon {
  width: 48px; height: 48px; border-radius: var(--radius-sm);
  display: grid; place-items: center; background: var(--accent-soft); color: var(--accent);
  flex: none;
}
.ph-icon svg { width: 24px; height: 24px; }

/* =====================================================================
   Top utility bar (.utility) — Pro design
   ===================================================================== */
.utility { background: var(--brand-darker); color: var(--on-dark); font-size: 13.5px; }
.utility .container { display: flex; justify-content: space-between; align-items: center; height: 42px; gap: 18px; }
.utility a { color: var(--on-dark); opacity: .9; }
.utility a:hover { opacity: 1; color: #fff; }
.u-left { display: flex; gap: 22px; align-items: center; }
.u-left span, .u-left a { display: inline-flex; align-items: center; gap: 7px; }
.u-left svg { width: 15px; height: 15px; color: var(--accent-orange); }
.u-right { display: flex; gap: 16px; align-items: center; }
.u-right .dot { opacity: .4; }
@media (max-width: 860px) {
  .utility .container { justify-content: center; }
  .u-left span:not(.keep), .u-right { display: none; }
}

/* Legacy topbar (kept for compatibility) */
.topbar { background: var(--brand-darker); color: var(--on-dark); font-size: var(--text-sm); }
.topbar .container { display: flex; align-items: center; justify-content: space-between; height: 42px; gap: var(--space-4); }
.topbar a { color: var(--on-dark); }
.topbar .tb-left { display: flex; gap: var(--space-6); color: var(--on-dark-muted); }
.topbar .tb-left span { display: inline-flex; align-items: center; gap: 7px; }
.topbar .tb-left svg { width: 15px; height: 15px; opacity: 0.85; }
.topbar .tb-right { display: flex; gap: var(--space-4); align-items: center; }

/* =====================================================================
   Header (.header) — Pro design
   ===================================================================== */
.header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.header .container { display: flex; align-items: center; gap: 28px; height: 78px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 50px; width: auto; }
.brand .bt { display: flex; flex-direction: column; line-height: 1.1; }
.brand .bt strong { font-size: 18px; font-weight: 800; letter-spacing: -.02em; color: var(--brand-deep); }
.brand .bt small { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.nav { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.nav > a, .nav .drop > a {
  display: inline-flex; align-items: center; gap: 5px; padding: 10px 14px;
  border-radius: var(--r-sm); font-weight: 600; font-size: 15px; color: var(--fg-2);
  transition: .15s;
}
.nav > a:hover, .nav .drop > a:hover { color: var(--brand-deep); background: var(--surface-2); }
.nav > a.active, .nav > a[aria-current="page"] { color: var(--brand-deep); }
.drop { position: relative; }
.drop svg { width: 14px; height: 14px; }
.submenu {
  position: absolute; top: calc(100% + 8px); left: 0;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md);
  box-shadow: var(--shadow-lg); padding: 8px; min-width: 290px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: .18s var(--ease); z-index: 60;
}
.drop:hover .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.submenu a { display: flex; flex-direction: column; padding: 10px 12px; border-radius: 8px; color: var(--fg); }
.submenu a:hover { background: var(--surface-2); }
.submenu a strong { font-size: 14.5px; font-weight: 600; color: var(--fg); }
.submenu a small { font-size: 12.5px; color: var(--muted); font-weight: 400; }
.head-cta { display: flex; gap: 10px; align-items: center; }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--border); border-radius: 8px;
  width: 44px; height: 44px; align-items: center; justify-content: center; cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; }
@media (max-width: 1100px) {
  .nav, .head-cta .btn { display: none; }
  .nav-toggle { display: inline-flex; }
  .head-cta { margin-left: auto; }
}

/* Legacy site-header (kept for compatibility) */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: var(--space-6); }
.brand-mark {
  width: 40px; height: 40px; border-radius: 9px; flex: none;
  background: var(--accent); color: #fff; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800; font-size: 17px; letter-spacing: -0.04em;
}
.brand-logo { width: 48px; height: 48px; flex: none; object-fit: contain; background: #fff; border-radius: 10px; padding: 3px; }
.brand-name { font-family: var(--font-display); font-size: var(--text-lg); color: var(--fg); line-height: 1.05; letter-spacing: -0.01em; }
.brand-name small { display: block; font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.has-sub { position: relative; }
.nav .has-sub:hover .submenu, .nav .has-sub:focus-within .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav .submenu a { display: flex; flex-direction: column; gap: 1px; padding: 9px 11px; font-weight: 600; }
.nav .submenu a small { font-weight: 500; color: var(--muted); font-size: var(--text-xs); }
.header-cta { display: flex; align-items: center; gap: var(--space-3); }

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(14,26,18,.5); opacity: 0; visibility: hidden; transition: .2s;
}
.drawer.open { opacity: 1; visibility: visible; }
.drawer-panel {
  position: absolute; right: 0; top: 0; bottom: 0; width: min(330px, 86vw);
  background: var(--surface); padding: 22px;
  transform: translateX(100%); transition: .24s var(--ease); overflow: auto;
}
.drawer.open .drawer-panel { transform: none; }
.drawer-panel a {
  display: block; padding: 13px 12px; border-radius: 8px;
  font-weight: 600; border-bottom: 1px solid var(--border-soft); color: var(--fg-2);
}
.drawer-panel a:hover { background: var(--surface-2); color: var(--brand-deep); }
.drawer-close { float: right; background: none; border: none; cursor: pointer; }
.drawer-close svg { width: 26px; height: 26px; }

/* =====================================================================
   Stats band
   ===================================================================== */
.statband { background: linear-gradient(120deg, var(--brand-deep), var(--brand-darker)); color: #fff; }
.statband .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; padding-block: 54px; }
.stat { text-align: center; position: relative; }
.stat:not(:last-child)::after {
  content: ""; position: absolute; right: -15px; top: 14%; height: 72%; width: 1px;
  background: rgba(255,255,255,.16);
}
.stat .n, .stat .num { font-size: clamp(34px, 4vw, 52px); font-weight: 900; letter-spacing: -.03em; color: #fff; }
.stat .n b { color: var(--accent-orange); }
.stat .l, .stat .lab { font-size: 14.5px; color: var(--on-dark-muted); margin-top: 6px; }
.section--ink .stat .num { color: #fff; }
@media (max-width: 760px) {
  .statband .container { grid-template-columns: 1fr 1fr; gap: 30px 18px; }
  .stat::after { display: none; }
}

/* Stats grid (section--ink) */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-6); }
.stat { text-align: center; padding: var(--space-6); }

/* =====================================================================
   Mission cards
   ===================================================================== */
.mgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 8px; }
.mcard {
  position: relative; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 34px 30px; transition: .22s var(--ease); overflow: hidden;
}
.mcard::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: var(--brand); transform: scaleY(0); transform-origin: top; transition: .28s var(--ease);
}
.mcard:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--brand); }
.mcard:hover::before { transform: scaleY(1); }
.mcard .mic {
  width: 58px; height: 58px; border-radius: 14px; display: flex; align-items: center;
  justify-content: center; background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  margin-bottom: 20px; box-shadow: 0 8px 20px rgba(43,147,72,.22);
}
.mcard .mic svg { width: 30px; height: 30px; color: #fff; }
.mcard.accent .mic {
  background: linear-gradient(135deg, var(--accent-orange), var(--accent-orange-deep));
  box-shadow: 0 8px 20px rgba(226,154,46,.24);
}
.mcard h3 { font-size: 21px; font-weight: 800; margin-bottom: 10px; }
.mcard .mki { display: block; font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-orange-deep); margin-bottom: 6px; }
.mcard p { font-size: 15px; color: var(--muted); margin: 0 0 16px; line-height: 1.7; }
.mcard ul { list-style: none; padding: 0; display: grid; gap: 9px; }
.mcard ul li { display: flex; gap: 9px; font-size: 14px; color: var(--fg-2); align-items: flex-start; }
.mcard ul li svg { width: 17px; height: 17px; color: var(--brand); flex-shrink: 0; margin-top: 2px; }
@media (max-width: 880px) { .mgrid { grid-template-columns: 1fr; } }

/* =====================================================================
   Capability section
   ===================================================================== */
.cap { display: grid; grid-template-columns: .95fr 1.05fr; gap: 56px; align-items: center; }
.cap .imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cap .imgs img { border-radius: var(--r-md); width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1/1; box-shadow: var(--shadow); }
.cap .imgs img:first-child { grid-row: span 2; aspect-ratio: auto; height: 100%; }
.cap-list { display: grid; gap: 16px; margin-top: 26px; }
.cap-item { display: flex; gap: 14px; }
.cap-item .ic { flex-shrink: 0; width: 46px; height: 46px; border-radius: 10px; background: var(--surface-2); display: flex; align-items: center; justify-content: center; color: var(--brand-deep); }
.cap-item .ic svg { width: 24px; height: 24px; }
.cap-item h4 { font-size: 17px; font-weight: 700; margin-bottom: 3px; }
.cap-item p { font-size: 14.5px; color: var(--muted); margin: 0; }
@media (max-width: 880px) { .cap { grid-template-columns: 1fr; gap: 36px; } }

/* =====================================================================
   Product grid (.pgrid / .pcard)
   ===================================================================== */
.pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pcard {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  overflow: hidden; transition: .2s var(--ease); display: flex; flex-direction: column;
}
.pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--brand); }
.pcard .ph { aspect-ratio: 16/10; overflow: hidden; position: relative; }
.pcard .ph img { width: 100%; height: 100%; object-fit: cover; transition: .4s var(--ease); }
.pcard:hover .ph img { transform: scale(1.05); }
.pcard .tag { position: absolute; top: 12px; left: 12px; background: rgba(14,26,18,.7); color: #fff; font-size: 11.5px; font-weight: 700; padding: 5px 11px; border-radius: var(--r-pill); backdrop-filter: blur(4px); }
.pcard .body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.pcard h3 { font-size: 19px; margin-bottom: 8px; }
.pcard p { font-size: 14.5px; color: var(--muted); margin-bottom: 16px; flex: 1; }
.pcard .more { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: 14.5px; color: var(--brand-deep); }
.pcard .more svg { width: 16px; height: 16px; transition: .2s; }
.pcard:hover .more svg { transform: translateX(4px); }
@media (max-width: 920px) { .pgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .pgrid { grid-template-columns: 1fr; } }

/* Legacy prod-card */
.prod-card { display: flex; flex-direction: column; }
.prod-card .ph-img { aspect-ratio: 16 / 11; border: none; border-bottom: 1px solid var(--border); border-radius: 0; }
.prod-card .body { padding: var(--space-5); display: flex; flex-direction: column; gap: 10px; flex: 1; }
.prod-card h3 { font-size: var(--text-lg); }
.prod-card .price { font-family: var(--font-display); font-weight: 700; color: var(--accent); }
.prod-card .price small { color: var(--muted); font-weight: 500; }
.prod-card .feat { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: var(--text-sm); color: var(--muted); }
.prod-card .feat li { display: flex; gap: 8px; align-items: flex-start; }
.prod-card .feat svg { width: 16px; height: 16px; color: var(--success); flex: none; margin-top: 3px; }
.prod-card .card-foot { margin-top: auto; padding: var(--space-4) var(--space-5); border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }

/* =====================================================================
   Why / standards (dark section)
   ===================================================================== */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.why-card { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: var(--r-md); padding: 26px 22px; }
.why-card .ic { width: 48px; height: 48px; border-radius: 11px; background: var(--brand); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.why-card .ic svg { width: 25px; height: 25px; color: #fff; }
.why-card h4 { color: #fff; font-size: 17px; margin-bottom: 8px; }
.why-card p { font-size: 14px; color: var(--on-dark-muted); margin: 0; }
@media (max-width: 900px) { .why-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .why-grid { grid-template-columns: 1fr; } }

/* Feature / why-us */
.feature { display: flex; flex-direction: column; gap: 12px; }
.feature h3 { font-size: var(--text-lg); }
.feature p { color: var(--muted); font-size: var(--text-sm); }

/* =====================================================================
   Process steps
   ===================================================================== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: s; }
.step { position: relative; padding-top: 18px; }
.step::before {
  counter-increment: s; content: "0" counter(s);
  font-size: 46px; font-weight: 900; color: var(--surface-2); letter-spacing: -.03em;
  line-height: 1; display: block; margin-bottom: 10px;
}
.section.alt .step::before, .section--band .step::before { color: #e6ece3; }
.step h3, .step h4 { font-size: 17px; margin-bottom: 7px; }
.step p { font-size: 14px; color: var(--muted); margin: 0; }
.step .bar { position: absolute; top: 30px; left: 62px; right: -11px; height: 2px; background: var(--border); }
.step:last-child .bar { display: none; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr 1fr; } .step .bar { display: none; } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }

/* =====================================================================
   Certifications
   ===================================================================== */
.certs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; align-items: stretch; }
.cert { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); padding: 22px 16px; text-align: center; }
.cert .ic { width: 42px; height: 42px; margin: 0 auto 12px; border-radius: 50%; background: var(--surface-2); display: flex; align-items: center; justify-content: center; color: var(--brand-deep); }
.cert .ic svg { width: 22px; height: 22px; }
.cert strong { display: block; font-size: 14.5px; font-weight: 700; }
.cert small { font-size: 12.5px; color: var(--muted); }
@media (max-width: 900px) { .certs { grid-template-columns: repeat(2, 1fr); } }

/* =====================================================================
   Projects grid
   ===================================================================== */
.proj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.proj { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4/3; display: block; }
.proj img { width: 100%; height: 100%; object-fit: cover; transition: .4s var(--ease); }
.proj:hover img { transform: scale(1.06); }
.proj .ov { position: absolute; inset: 0; background: linear-gradient(to top, rgba(14,26,18,.85), transparent 55%); display: flex; flex-direction: column; justify-content: flex-end; padding: 22px; color: #fff; }
.proj .ov span { font-size: 12px; font-weight: 700; color: var(--accent-orange); text-transform: uppercase; letter-spacing: .08em; }
.proj .ov h4 { color: #fff; font-size: 18px; margin-top: 5px; }
@media (max-width: 900px) { .proj-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .proj-grid { grid-template-columns: 1fr; } }

/* =====================================================================
   Testimonials
   ===================================================================== */
.tgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tcard { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 28px; }
.stars { color: var(--accent-orange); font-size: 16px; letter-spacing: 2px; margin-bottom: 14px; }
.tcard p { font-size: 15px; color: var(--fg-2); margin-bottom: 20px; }
.tperson { display: flex; align-items: center; gap: 12px; }
.tperson .av { width: 44px; height: 44px; border-radius: 50%; background: var(--brand-deep); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 16px; }
.tperson strong { font-size: 14.5px; display: block; }
.tperson small { font-size: 13px; color: var(--muted); }
@media (max-width: 900px) { .tgrid { grid-template-columns: 1fr; } }

/* =====================================================================
   CTA band
   ===================================================================== */
.ctaband {
  background: linear-gradient(120deg, var(--brand-deep), var(--brand-darker)); color: #fff;
  border-radius: 22px; padding: 54px 48px; text-align: center; position: relative; overflow: hidden;
}
.ctaband::before {
  content: ""; position: absolute; right: -60px; top: -60px; width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(226,154,46,.4), transparent 70%); filter: blur(10px);
}
.ctaband h2 { color: #fff; font-size: clamp(26px, 3vw, 38px); position: relative; }
.ctaband p { color: var(--on-dark-muted); font-size: 18px; margin: 14px auto 28px; max-width: 56ch; position: relative; }
.ctaband .hero-actions { justify-content: center; position: relative; }

/* Legacy cta-band */
.cta-band {
  border-radius: var(--radius-lg); padding: clamp(32px, 5vw, 56px);
  background: linear-gradient(120deg, var(--ink), var(--ink-2)); color: var(--ink-fg);
  display: grid; grid-template-columns: 1.4fr auto; gap: var(--space-8); align-items: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: var(--ink-muted); margin-top: 10px; }
.cta-band .actions { display: flex; gap: var(--space-3); flex-wrap: wrap; }

/* =====================================================================
   Hero
   ===================================================================== */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--ink) 0%, var(--brand-darker) 60%, var(--ink-2) 100%);
  color: #fff; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: url('../assets/img/nha-xuong.jpg') center/cover;
  opacity: .16; mix-blend-mode: luminosity;
}
.hero::before {
  content: ""; position: absolute; top: -20%; right: -10%; width: 540px; height: 540px;
  background: radial-gradient(circle, rgba(43,147,72,.5), transparent 70%); filter: blur(20px);
}
.hero .container {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 54px;
  align-items: center; padding-block: 78px 90px;
}
.hero h1 { font-size: clamp(34px, 4.4vw, 58px); font-weight: 900; color: #fff; letter-spacing: -.03em; }
.hero h1 .hl { color: var(--accent-orange); }
.hero p.lead { color: var(--on-dark-muted); font-size: 19px; max-width: 54ch; margin-top: 20px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 30px; }
.hb {
  display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16); border-radius: var(--r-pill);
  padding: 8px 15px; font-size: 13.5px; font-weight: 600; color: var(--on-dark);
}
.hb svg { width: 16px; height: 16px; color: var(--accent-orange); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 42px; border-top: 1px solid rgba(255,255,255,.14); padding-top: 26px; }
.hero-stats .n { font-size: 32px; font-weight: 900; color: #fff; letter-spacing: -.02em; }
.hero-stats .n b { color: var(--accent-orange); font-weight: 900; }
.hero-stats .l { font-size: 13px; color: var(--on-dark-muted); margin-top: 2px; }
.hero-visual { position: relative; }
.hero-visual .main-img { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.12); aspect-ratio: 4/4.4; }
.hero-visual .main-img img { width: 100%; height: 100%; object-fit: cover; }
.float-card { position: absolute; left: -26px; bottom: 38px; background: var(--surface); color: var(--fg); border-radius: var(--r-md); padding: 16px 18px; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 13px; max-width: 248px; }
.float-card .ic { flex-shrink: 0; width: 44px; height: 44px; border-radius: 10px; background: var(--brand); display: flex; align-items: center; justify-content: center; }
.float-card .ic svg { width: 24px; height: 24px; color: #fff; }
.float-card strong { font-size: 15px; display: block; }
.float-card small { font-size: 12.5px; color: var(--muted); }
.float-badge { position: absolute; right: -14px; top: 30px; background: var(--accent-orange); color: #23170a; border-radius: var(--r-md); padding: 12px 16px; box-shadow: var(--shadow-lg); text-align: center; }
.float-badge b { font-size: 24px; font-weight: 900; display: block; line-height: 1; }
.float-badge span { font-size: 11.5px; font-weight: 700; }

/* Legacy hero (inner pages) */
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: var(--space-12); align-items: center; }
.hero-trust { display: flex; gap: var(--space-8); flex-wrap: wrap; }
.hero-trust .t-num { font-family: var(--font-display); font-size: var(--text-2xl); font-weight: 800; letter-spacing: -0.02em; color: var(--brand-orange); }
.hero-trust .t-lab { font-size: var(--text-sm); color: var(--muted); }
.hero-float {
  position: absolute; bottom: 18px; left: -18px; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--elev-card);
  padding: 14px 16px; display: flex; align-items: center; gap: 12px; max-width: 260px;
}
.hero-float .ph-icon { width: 38px; height: 38px; background: color-mix(in oklab, var(--success), white 86%); color: var(--success); }
.hero-float strong { font-size: var(--text-sm); }
.hero-float small { display: block; color: var(--muted); font-size: var(--text-xs); }

@media (max-width: 980px) {
  .hero .container { grid-template-columns: 1fr; gap: 40px; padding-block: 54px 64px; }
  .hero-visual { max-width: 440px; }
  .float-card { left: 0; }
}

/* Trust strip */
.trust { background: var(--surface); border-bottom: 1px solid var(--border); }
.trust .container { padding-block: 30px; }
.trust p { text-align: center; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 18px; }
.logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; align-items: center; }
.logo-chip { font-weight: 800; font-size: 15px; color: var(--fg-2); opacity: .62; letter-spacing: -.01em; border: 1px solid var(--border); border-radius: var(--r-pill); padding: 9px 20px; }
.logos .logo-item { font-family: var(--font-display); font-weight: 700; color: var(--muted); font-size: var(--text-lg); opacity: 0.7; letter-spacing: -0.01em; }

/* Partner logo grid */
.logo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.logo-box { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 24px 16px; text-align: center; transition: box-shadow .2s, transform .2s; }
.logo-box:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.logo-box img { max-width: 120px; max-height: 48px; object-fit: contain; filter: grayscale(100%); opacity: .65; transition: filter .2s, opacity .2s; }
.logo-box:hover img { filter: grayscale(0%); opacity: 1; }
.logo-box .logo-abbr { font-family: var(--font-display); font-size: 22px; font-weight: 800; color: var(--brand-green); letter-spacing: -0.02em; }
.logo-box .logo-name { font-size: 12px; color: var(--muted); font-weight: 600; letter-spacing: .01em; }
@media (max-width: 640px) { .logo-grid { grid-template-columns: repeat(2, 1fr); } }

/* =====================================================================
   Footer (.footer) — Pro design
   ===================================================================== */
.footer { background: var(--ink); color: var(--on-dark-muted); padding-block: 64px 0; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 42px; }
.footer .brand img { height: 54px; background: #fff; border-radius: 10px; padding: 6px; }
.footer .brand .bt strong { color: #fff; }
.footer .brand .bt small { color: var(--on-dark-muted); }
.foot-about { font-size: 14px; margin: 18px 0; max-width: 36ch; }
.foot-social { display: flex; gap: 10px; }
.foot-social a { width: 40px; height: 40px; border-radius: 9px; background: rgba(255,255,255,.07); display: flex; align-items: center; justify-content: center; transition: .18s; }
.foot-social a:hover { background: var(--brand); }
.foot-social svg { width: 19px; height: 19px; color: #fff; }
.footer h5 { color: #fff; font-size: 15px; font-weight: 700; margin-bottom: 18px; }
.footer ul { list-style: none; padding: 0; }
.footer li { margin-bottom: 11px; }
.footer a:hover { color: #fff; }
.footer li { font-size: 14px; }
.foot-contact li { display: flex; gap: 10px; align-items: flex-start; }
.foot-contact svg { width: 17px; height: 17px; color: var(--accent-orange); flex-shrink: 0; margin-top: 3px; }
.foot-bottom {
  border-top: 1px solid rgba(255,255,255,.1); margin-top: 48px; padding-block: 22px;
  font-size: 13.5px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
}
@media (max-width: 880px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }

/* Legacy site-footer (kept for compatibility) */
.site-footer { background: var(--ink); color: var(--ink-muted); padding-block: var(--space-16) var(--space-8); }
.site-footer a { color: var(--ink-muted); }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: var(--space-8); }
.footer-grid h4 { color: #fff; font-size: var(--text-sm); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: var(--space-4); }
.footer-grid ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: var(--text-sm); }
.footer-about p { font-size: var(--text-sm); margin: var(--space-4) 0; line-height: 1.6; }
.footer-about .brand-name { color: #fff; }
.footer-about .brand-name small { color: var(--ink-muted); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { width: 16px; height: 16px; flex: none; margin-top: 3px; color: var(--accent); }
.footer-bottom { border-top: 1px solid var(--ink-2); margin-top: var(--space-12); padding-top: var(--space-6); display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--space-4); font-size: var(--text-xs); }
.social { display: flex; gap: 10px; }
.social a { width: 36px; height: 36px; border-radius: var(--radius-sm); border: 1px solid var(--ink-2); display: grid; place-items: center; }
.social a:hover { background: var(--ink-2); }
.social svg { width: 18px; height: 18px; }

/* =====================================================================
   Floating actions (.fab / .mobilebar) — Pro design
   ===================================================================== */
.fab {
  position: fixed; right: 20px; bottom: 22px; z-index: 70;
  display: flex; flex-direction: column; gap: 12px;
}
.fab a {
  width: 54px; height: 54px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg); color: #fff; position: relative;
  transition: transform var(--motion-fast) var(--ease-standard);
}
.fab a:hover { transform: scale(1.06); }
.fab a svg { width: 26px; height: 26px; }
.fab .call { background: var(--brand); }
.fab .zalo { background: #0068ff; font-weight: 800; font-size: 12px; font-family: var(--font-display); }
.fab .mess { background: #a855f7; }
.fab a::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid currentColor; opacity: .5; animation: ring 1.8s infinite;
}
@keyframes ring { 0% { transform: scale(1); opacity: .5; } 100% { transform: scale(1.5); opacity: 0; } }
.mobilebar { display: none; }
@media (max-width: 1100px) {
  .fab { bottom: 78px; }
  .mobilebar {
    display: grid; grid-template-columns: 1fr 1fr 1fr;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 75;
    background: var(--surface); border-top: 1px solid var(--border);
    box-shadow: 0 -4px 16px rgba(15,33,20,.08);
  }
  .mobilebar a { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 9px; font-size: 11.5px; font-weight: 700; color: var(--fg-2); }
  .mobilebar a svg { width: 21px; height: 21px; color: var(--brand-deep); }
  .mobilebar a.primary { background: var(--brand); color: #fff; }
  .mobilebar a.primary svg { color: #fff; }
}

/* Legacy fab-dock / mobile-bar */
.fab-dock { position: fixed; right: 18px; bottom: 18px; z-index: 80; display: flex; flex-direction: column; gap: 12px; }
.fab-call { background: var(--success); }
.fab-zalo { background: var(--zalo); font-weight: 800; font-size: 13px; font-family: var(--font-display); }
.fab-mess { background: var(--messenger); }
.fab-pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid currentColor; animation: pulse 1.8s ease-out infinite; opacity: 0; }
@keyframes pulse { 0% { transform: scale(1); opacity: 0.6; } 100% { transform: scale(1.6); opacity: 0; } }
.fab-label {
  position: absolute; right: 64px; top: 50%; transform: translateY(-50%);
  background: var(--ink); color: #fff; font-size: var(--text-xs); font-weight: 600;
  padding: 6px 11px; border-radius: var(--radius-sm); white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity var(--motion-fast);
}
.fab a:hover .fab-label { opacity: 1; }
.mobile-bar {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 79;
  background: var(--surface); border-top: 1px solid var(--border); box-shadow: 0 -2px 12px rgba(0,0,0,0.06);
}
.mobile-bar a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 9px 4px; font-size: 11px; font-weight: 600; color: var(--fg); }
.mobile-bar a:hover { text-decoration: none; }
.mobile-bar svg { width: 20px; height: 20px; }
.mobile-bar .mb-primary { background: var(--accent); color: #fff; }

/* =====================================================================
   Page sub-components
   ===================================================================== */
.breadcrumb-wrap { background: var(--surface-2); border-bottom: 1px solid var(--border); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: var(--text-sm); color: var(--muted); padding-block: 14px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { opacity: 0.5; }
.breadcrumb [aria-current] { color: var(--fg); font-weight: 600; }

.page-hero {
  padding-block: var(--space-16) var(--space-12);
  background: radial-gradient(900px 360px at 80% -20%, var(--accent-soft), transparent 60%);
}
.page-hero h1 { margin-bottom: var(--space-4); max-width: 18ch; }
.page-hero .lead { max-width: 60ch; }

.seo-note { display: flex; gap: 12px; align-items: flex-start; font-size: var(--text-sm); background: var(--accent-soft); border: 1px dashed color-mix(in oklab, var(--accent), white 55%); border-radius: var(--radius-md); padding: var(--space-4) var(--space-5); color: var(--fg); }
.seo-note svg { width: 18px; height: 18px; color: var(--accent); flex: none; margin-top: 2px; }
.seo-note code { font-family: var(--font-mono); font-size: var(--text-xs); }

.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { width: 100%; text-align: left; background: none; border: none; cursor: pointer; padding: var(--space-5) 0; display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); font-family: var(--font-display); font-weight: 600; font-size: var(--text-lg); color: var(--fg); }
.faq-q .ic { flex: none; width: 24px; height: 24px; transition: transform var(--motion-base) var(--ease-standard); color: var(--accent); }
.faq-item.open .faq-q .ic { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height var(--motion-base) var(--ease-standard); }
.faq-a > div { padding-bottom: var(--space-5); color: var(--muted); line-height: 1.6; }

.spec-table { width: 100%; border-collapse: collapse; font-size: var(--text-sm); }
.spec-table th, .spec-table td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--border); }
.spec-table thead th { background: var(--surface-2); font-family: var(--font-display); }
.spec-table tbody th { font-weight: 600; color: var(--muted); width: 38%; }
.spec-table td { font-variant-numeric: tabular-nums; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: none; }
.spec-table tbody tr:hover td, .spec-table tbody tr:hover th { background: var(--surface-2); }
.spec-table td .hl { color: var(--accent); font-weight: 700; }

.prose { font-size: var(--text-base); line-height: var(--leading-body); color: var(--fg); }
.prose > * + * { margin-top: var(--space-4); }
.prose h2 { margin-top: var(--space-12); }
.prose h3 { margin-top: var(--space-8); font-size: var(--text-lg); }
.prose h2 + p, .prose h3 + p, .prose h2 + ul, .prose h3 + ul { margin-top: var(--space-3); }
.prose p { color: var(--fg); }
.prose strong { font-weight: 700; }
.prose a { color: var(--accent); font-weight: 600; }
.prose a:hover { text-decoration: underline; }
.prose ul, .prose ol { padding-left: 1.25em; display: grid; gap: 8px; }
.prose li { line-height: 1.55; }
.prose li::marker { color: var(--accent); }
.prose .lead-first::first-letter { font-size: 3.1em; font-weight: 800; float: left; line-height: 0.8; padding: 4px 10px 0 0; color: var(--accent); font-family: var(--font-display); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: var(--text-sm); font-weight: 600; padding: 7px 13px; border-radius: var(--radius-pill); border: 1px solid var(--border); background: var(--surface); color: var(--muted); transition: all var(--motion-fast); }
a.chip:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }

.callout { display: flex; gap: 14px; align-items: flex-start; padding: var(--space-5); border-radius: var(--radius-md); background: var(--accent-soft); border: 1px solid color-mix(in oklab, var(--accent), white 70%); }
.callout svg { width: 22px; height: 22px; color: var(--accent); flex: none; margin-top: 2px; }
.callout strong { color: color-mix(in oklab, var(--accent), black 25%); }
.callout p { font-size: var(--text-sm); color: var(--fg); margin: 0; }

.iconbox { display: flex; flex-direction: column; gap: 10px; padding: var(--space-5); border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface); transition: all var(--motion-fast); height: 100%; }
.iconbox:hover { border-color: var(--border-soft); box-shadow: var(--elev-card); transform: translateY(-2px); }
.iconbox .ic-badge { width: 42px; height: 42px; border-radius: var(--radius-sm); display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.iconbox .ic-badge svg { width: 22px; height: 22px; }
.iconbox h3 { font-size: var(--text-base); }
.iconbox p { font-size: var(--text-sm); color: var(--muted); margin: 0; line-height: 1.5; }
.iconbox .kicker { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.iconbox.accent { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.iconbox.accent .ic-badge { background: var(--accent); color: #fff; }
.ticks { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-direction: column; gap: 7px; }
.ticks li { display: flex; gap: 9px; align-items: flex-start; font-size: var(--text-sm); color: var(--muted); line-height: 1.45; }
.ticks svg { width: 16px; height: 16px; color: var(--success); flex: none; margin-top: 2px; }

.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: var(--space-4); }
.field label { font-size: var(--text-sm); font-weight: 600; }
.field label .req { color: var(--danger); }
.field input, .field select, .field textarea { font-family: inherit; font-size: var(--text-base); padding: 11px 13px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); color: var(--fg); width: 100%; transition: border-color var(--motion-fast), box-shadow var(--motion-fast); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: var(--focus-ring); }
.field textarea { resize: vertical; min-height: 120px; }
.field .err { color: var(--danger); font-size: var(--text-xs); display: none; }
.field.invalid input, .field.invalid textarea, .field.invalid select { border-color: var(--danger); }
.field.invalid .err { display: block; }
.form-note { font-size: var(--text-xs); color: var(--muted); }
.form-success { display: none; background: color-mix(in oklab, var(--success), white 88%); border: 1px solid color-mix(in oklab, var(--success), white 60%); color: color-mix(in oklab, var(--success), black 20%); border-radius: var(--radius-md); padding: var(--space-5); }
.form-success.show { display: block; }

.info-row { display: flex; gap: 14px; align-items: flex-start; padding: var(--space-4) 0; border-bottom: 1px solid var(--border); }
.info-row:last-child { border-bottom: none; }
.info-row .ph-icon { width: 40px; height: 40px; }
.info-row strong { display: block; }
.info-row span { color: var(--muted); font-size: var(--text-sm); }

.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: var(--space-8); }
.filter-bar button { font-family: var(--font-display); font-size: var(--text-sm); font-weight: 600; padding: 8px 16px; border-radius: var(--radius-pill); border: 1px solid var(--border); background: var(--surface); color: var(--fg); cursor: pointer; transition: all var(--motion-fast); }
.filter-bar button:hover { border-color: var(--accent); color: var(--accent); }
.filter-bar button.active { background: var(--accent); color: #fff; border-color: var(--accent); }

.contact-list { display: grid; gap: var(--space-3); }
.contact-line { display: flex; align-items: center; gap: var(--space-4); padding: 14px 16px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface); transition: border-color .15s, box-shadow .15s, transform .15s; }
.contact-line:hover { border-color: var(--accent); box-shadow: var(--elev-card); transform: translateY(-1px); }
.contact-line .cl-ic { flex-shrink: 0; width: 46px; height: 46px; border-radius: var(--radius-sm); display: inline-flex; align-items: center; justify-content: center; background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: var(--text-sm); }
.contact-line .cl-ic svg { width: 22px; height: 22px; }
.contact-line .cl-txt { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.contact-line .cl-txt small { font-size: var(--text-xs); color: var(--muted); }
.contact-line .cl-txt strong { font-size: var(--text-lg); color: var(--fg); letter-spacing: -.01em; }
.contact-line .cl-go { margin-left: auto; flex-shrink: 0; font-size: var(--text-sm); font-weight: 600; color: var(--accent); }
.contact-line.is-primary { border-color: var(--accent); background: var(--accent-soft); }
.contact-line.is-primary .cl-ic { background: var(--accent); color: var(--accent-on); }
.contact-line.is-zalo .cl-ic { background: #0068ff; color: #fff; letter-spacing: -.02em; }
@media (max-width: 480px) { .contact-line .cl-txt strong { font-size: var(--text-base); } .contact-line .cl-go { display: none; } }

/* =====================================================================
   Reveal animation
   ===================================================================== */
.reveal { opacity: 0; transform: translateY(22px); transition: .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* =====================================================================
   Utilities
   ===================================================================== */
.text-center { text-align: center; }
.mt-2 { margin-top: var(--space-2); } .mt-4 { margin-top: var(--space-4); } .mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); } .mt-12 { margin-top: var(--space-12); }
.flex { display: flex; } .items-center { align-items: center; } .gap-3 { gap: var(--space-3); } .gap-4 { gap: var(--space-4); }
.wrap { flex-wrap: wrap; } .between { justify-content: space-between; }
.divider { height: 1px; background: var(--border); border: none; margin-block: var(--space-12); }
.maxw-prose { max-width: 70ch; }

/* =====================================================================
   Responsive
   ===================================================================== */
@media (max-width: 1023px) {
  :root { --gutter: 20px; }
  .section { padding-block: var(--space-16); }
  .hero-grid, .split, .cta-band { grid-template-columns: 1fr; }
  .cta-band { gap: var(--space-6); }
  .cols-4, .stats, .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
  .hero-visual { order: -1; }
}

@media (max-width: 768px) {
  .nav, .header-cta .btn-secondary, .topbar .tb-left span:nth-child(n+3) { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-header { position: sticky; }
  .nav.open {
    display: flex; flex-direction: column; align-items: stretch; gap: 2px;
    position: absolute; top: 78px; left: 0; right: 0; background: var(--surface);
    border-bottom: 1px solid var(--border); padding: var(--space-3); box-shadow: var(--elev-card);
  }
  .nav.open a { padding: 13px; }
  .nav.open .submenu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; border-left: 2px solid var(--border); border-radius: 0; margin-left: 12px; padding: 0; display: none; }
  .nav.open .has-sub.expand .submenu { display: block; }
  .cols-2, .cols-3, .grid.cols-3, .grid.cols-4 { grid-template-columns: 1fr; }
  .stats, .steps { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .fab-dock { bottom: 70px; }
  .mobile-bar { display: flex; }
  .hero-float { position: static; margin-top: var(--space-4); max-width: none; }
}

@media (max-width: 430px) {
  .stats, .steps, .cols-4 { grid-template-columns: 1fr; }
  h1 { font-size: 30px; }
  .hero-trust { gap: var(--space-5); }
}
