/* ============================================================
   ICapCom (ICC) — Trang giới thiệu dịch vụ ứng COD
   Design system: brand kit chính thức ICC — Navy blue ramp + Gold CTA
   Quy tắc 60/30/10: Navy ~60% diện tích, trắng/trung tính ~30%, Gold ~10% (CTA/badge)
   Type: Palatino/Book Antiqua (serif display) × Segoe UI (thân bài)
   ============================================================ */

:root {
  /* Bảng màu — nhận diện ICapCom chính thức: Navy blue ramp + Gold CTA */
  --pine-950: #151a66;
  --pine-900: #26269e;
  --pine-800: #2e4eb8;
  --pine-700: #3771d3;
  --pine-600: #5fa0e8;
  --leaf-600: #c98600;
  --leaf-500: #f2a900;
  --leaf-400: #f5be40;
  --leaf-300: #f8d27a;
  --mint-150: #bfe6ff;
  --mint-100: #cfeeff;
  --mint-50:  #f7faff;
  --paper:    #f7faff;
  --ink:      #232323;
  --ink-soft: #5b6072;
  --ink-mute: #7f7f7f;
  --line:     #dce6f5;
  --line-dark: rgba(21, 26, 102, .16);
  --amber-bg: #fdecc8;
  --amber-bd: #eac978;
  --amber-tx: #7a5200;
  --success: #1e9e5c;
  --brand-blue: #26269e;
  --white: #ffffff;

  --font-display: "Palatino Linotype", "Book Antiqua", Georgia, "Times New Roman", serif;
  --font-body: "Segoe UI", Verdana, "Trebuchet MS", system-ui, sans-serif;

  --shadow-sm: 0 1px 3px rgba(21, 26, 102, .08);
  --shadow-md: 0 10px 30px -12px rgba(21, 26, 102, .18);
  --shadow-lg: 0 30px 60px -24px rgba(21, 26, 102, .3);

  --radius: 14px;
  --radius-lg: 20px;
  --container: 1180px;
  --header-h: 92px;
}

/* ---------- 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: 16.5px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }
strong { font-weight: 600; }
::selection { background: var(--leaf-500); color: #fff; }

/* ---------- Nền hạt giấy (grain) ---------- */
.grain::after {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E");
}

/* ---------- Khung chung ---------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 28px; }
.section { padding: 96px 0; position: relative; }
.section--mint { background: var(--mint-50); }
.section--dark { background: var(--mint-100); color: var(--ink); }
.section--dark .section-head h2 { color: var(--pine-950); }
.section--dark .section-head .lead { color: var(--ink-soft); }

/* Tiêu đề khối — ô vuông xanh + chữ hoa giãn cách (như deck) */
.overline {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .22em;
  text-transform: uppercase; color: var(--pine-700);
  margin-bottom: 18px;
}
.overline::before {
  content: ""; width: 12px; height: 12px; background: var(--leaf-500);
  border-radius: 2px; flex: none;
}
.section--dark .overline { color: var(--pine-700); }

.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head h2 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(30px, 4.2vw, 46px);
  line-height: 1.18;
  letter-spacing: -.01em;
  color: var(--pine-950);
  text-wrap: balance;
}
.section-head .lead {
  margin-top: 16px;
  font-size: 17.5px;
  color: var(--ink-soft);
  max-width: 640px;
}
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .lead { margin-inline: auto; }

/* ---------- Nút ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 600; font-size: 15.5px;
  line-height: 1.2;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn svg { width: 19px; height: 19px; flex: none; }
.btn:active { transform: translateY(1px); }
.btn--primary {
  background: var(--leaf-500); color: #fff;
  box-shadow: 0 8px 24px -8px rgba(242, 169, 0, .55);
}
.btn--primary:hover { background: var(--leaf-600); transform: translateY(-2px); }
.btn--dark {
  background: var(--pine-900); color: #fff;
}
.btn--dark:hover { background: var(--pine-800); transform: translateY(-2px); }
.btn--ghost {
  background: transparent; color: var(--pine-800);
  box-shadow: inset 0 0 0 1.5px var(--pine-700);
}
.btn--ghost:hover { background: var(--mint-100); transform: translateY(-2px); }
.btn--ghost-light {
  background: transparent; color: #fff;
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.5);
}
.btn--ghost-light:hover { background: rgba(255,255,255,.1); transform: translateY(-2px); }
.btn--lg { padding: 18px 34px; font-size: 16.5px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .3s ease, border-color .25s ease, box-shadow .25s ease;
}
.site-header.is-scrolled,
body.nav-open .site-header {
  background: rgba(252, 253, 251, .86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px -16px rgba(21, 26, 102, .25);
}
.site-header .container {
  display: flex; align-items: center; gap: 36px; width: 100%;
}
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 50px; width: auto; }
.brand .brand-light { display: none; }
.brand .brand-dark { display: block; }
.site-nav { display: flex; gap: 22px; margin-inline: auto; }
.site-nav a {
  font-size: 14.5px; font-weight: 500; color: var(--ink-soft);
  padding: 6px 2px; position: relative;
  white-space: nowrap;
}
.site-nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 2px; background: var(--leaf-500);
  transition: right .22s ease;
}
.site-nav a:hover { color: var(--pine-900); }
.site-nav a:hover::after, .site-nav a.is-active::after { right: 0; }
.site-nav a.is-active { color: var(--pine-900); font-weight: 600; }
.header-actions { display: flex; align-items: center; gap: 12px; flex: none; }
.header-actions .btn { padding: 11px 20px; font-size: 14.5px; }

/* Header luôn đứng trên nền sáng (hero không còn tối) — dùng 1 bộ màu duy nhất */
.site-header .btn--dark {
  background: var(--pine-900); color: #fff; box-shadow: none;
}
.site-header .btn--dark:hover { background: var(--pine-800); }
.site-header .nav-toggle { color: var(--pine-900); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: 10px;
  align-items: center; justify-content: center;
  color: var(--pine-900);
}
.nav-toggle svg { width: 26px; height: 26px; }
.nav-toggle .icon-close { display: none; }
body.nav-open .nav-toggle .icon-menu { display: none; }
body.nav-open .nav-toggle .icon-close { display: block; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(160deg, var(--mint-50) 0%, var(--mint-100) 100%);
  color: var(--ink);
  padding: calc(var(--header-h) + 84px) 0 110px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(21,26,102,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21,26,102,.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(900px 600px at 70% 20%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(900px 600px at 70% 20%, #000 0%, transparent 75%);
  animation: heroGridDrift 26s linear infinite;
}
.hero-glow {
  position: absolute; border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
  will-change: transform;
}
.hero-glow--a {
  width: 680px; height: 680px; top: -260px; right: -140px;
  background: radial-gradient(closest-side, rgba(242, 169, 0, .28), transparent 72%);
  transform-origin: center;
  animation: heroFloatA 10s ease-in-out infinite;
}
.hero-routes {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  fill: none;
  pointer-events: none;
}
.hero-route {
  stroke: rgba(21, 26, 102, .12);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-dasharray: 3 11;
  animation: heroRouteFlow 34s linear infinite;
}
.hero-route--accent {
  stroke: rgba(242, 169, 0, .22);
  stroke-width: 1.3;
  animation-duration: 42s;
  animation-direction: reverse;
}
.hero-route--loop {
  stroke: rgba(242, 169, 0, .24);
  stroke-width: 1.6;
  stroke-dasharray: 2 9;
  animation-duration: 26s;
}
.hero-route--faint {
  stroke: rgba(21, 26, 102, .07);
  stroke-width: 2.2;
  stroke-dasharray: 1 16;
  animation-duration: 55s;
  animation-direction: reverse;
}
.hero-node { fill: rgba(21, 26, 102, .18); }
.hero-node--accent { fill: rgba(242, 169, 0, .35); }
.hero-node--ring { fill: none; stroke: rgba(21, 26, 102, .16); stroke-width: 1.2; }
.hero-scrim { display: none; }
@keyframes heroGridDrift {
  from { background-position: 0 0, 0 0; }
  to   { background-position: 56px 56px, 56px 56px; }
}
@keyframes heroFloatA {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: .82; }
  50%      { transform: translate(-40px, 28px) scale(1.34); opacity: 1; }
}
@keyframes heroRouteFlow {
  to { stroke-dashoffset: -280; }
}
@media (prefers-reduced-motion: reduce) {
  .hero::before, .hero-glow, .hero-route { animation: none; }
}
.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero-checks { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 22px; font-size: 14px; font-weight: 600; color: var(--ink-soft); }
.hero-checks span::before { content: "✓ "; color: var(--leaf-500); font-weight: 800; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--pine-700);
  margin-bottom: 26px;
}
.hero-badge::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--leaf-400);
  box-shadow: 0 0 0 4px rgba(242, 169, 0, .25);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(242,169,0,.28); }
  50% { box-shadow: 0 0 0 7px rgba(242,169,0,.08); }
}
.hero h1 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(40px, 5.6vw, 66px);
  line-height: 1.12;
  letter-spacing: -.015em;
  text-wrap: balance;
}
.hero h1 .accent { color: var(--leaf-500); }
.hero .sub {
  margin-top: 22px;
  font-size: 18.5px;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 540px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-note {
  margin-top: 20px;
  font-size: 13.5px;
  color: var(--ink-mute);
  max-width: 520px;
}
.hero-proof {
  display: flex; flex-wrap: wrap; gap: 10px 26px;
  margin-top: 34px; padding-top: 26px;
  border-top: 1px solid var(--line);
  font-size: 14.5px; color: var(--ink-soft);
}
.hero-proof span strong { color: var(--ink); font-weight: 700; }
.hero-proof .carrier-line { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; width: 100%; }
.hero-proof .chip {
  padding: 5px 13px; border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 12.5px; font-weight: 600; color: var(--ink-soft);
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}
.hero-proof .chip:hover { border-color: var(--leaf-500); background: var(--mint-100); transform: translateY(-1px); }
.hero-proof .chip--more { border-style: dashed; background: transparent; color: var(--ink-mute); }

/* ---------- Hero — đồ họa hành trình đơn hàng ---------- */
.hero-visual { position: relative; width: 100%; }
.hero-journey { display: block; width: 100%; height: auto; overflow: visible; }
.hj-route-path { fill: none; stroke: var(--leaf-400); stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 1 11; }
.hj-route-glow { fill: none; stroke: var(--leaf-500); stroke-width: 6; stroke-linecap: round; opacity: .12; }
.hj-node-dot { fill: #fff; stroke-width: 1.6; filter: drop-shadow(0 6px 12px rgba(21,26,102,.16)); }
.hj-node--start .hj-node-dot { stroke: var(--leaf-400); }
.hj-node--end .hj-node-dot { stroke: var(--pine-700); }
.hj-node--wallet .hj-node-dot { stroke: var(--leaf-500); }
.hj-node-icon { font-size: 19px; text-anchor: middle; dominant-baseline: central; }
.hj-node--start .hj-node-icon { fill: var(--leaf-500); }
.hj-node--end .hj-node-icon { fill: var(--pine-700); }
.hj-node--wallet .hj-node-icon { fill: var(--leaf-500); }
.hj-node-pill { fill: rgba(255,255,255,.92); }
.hj-node-label { font-family: var(--font-body); font-size: 11.5px; font-weight: 700; letter-spacing: .02em; fill: var(--ink-soft); text-anchor: middle; }
.hj-parcel-icon { font-size: 26px; text-anchor: middle; dominant-baseline: central; filter: drop-shadow(0 4px 8px rgba(21,26,102,.35)); }
.hj-jump-icon {
  font-size: 20px; text-anchor: middle; dominant-baseline: central;
  filter: drop-shadow(0 3px 6px rgba(21,26,102,.3));
  animation: hjPackageJump 5.5s cubic-bezier(.3,.6,.3,1) infinite;
}
@keyframes hjPackageJump {
  0% { opacity: 1; transform: translate(0,-4px) scale(1); }
  3% { opacity: 1; transform: translate(9px,-20px) scale(.95); }
  7% { opacity: 0; transform: translate(17px,-4px) scale(.4); }
  100% { opacity: 0; }
}
.hj-coin-group { animation: hjCoinFly 5.5s cubic-bezier(.2,.7,.2,1) infinite; }
.hj-coin-icon { font-size: 22px; text-anchor: middle; dominant-baseline: central; filter: drop-shadow(0 4px 8px rgba(242,169,0,.4)); }
@keyframes hjCoinFly {
  0% { opacity: 0; transform: translate(0,0) scale(.6); }
  9% { opacity: 1; transform: translate(0,0) scale(1); }
  34% { opacity: 1; transform: translate(40px,-270px) scale(.9); }
  40% { opacity: 0; transform: translate(40px,-270px) scale(.6); }
  100% { opacity: 0; }
}
.hj-plus-group { animation: hjPlusPop 5.5s cubic-bezier(.2,.7,.2,1) infinite; }
.hj-plus-text { font-family: var(--font-display); font-weight: 700; font-size: 20px; fill: var(--leaf-500); text-anchor: middle; dominant-baseline: central; }
@keyframes hjPlusPop {
  0%, 36% { opacity: 0; transform: translateY(6px) scale(.7); }
  42% { opacity: 1; transform: translateY(-4px) scale(1.1); }
  50% { opacity: 1; transform: translateY(-8px) scale(1); }
  62% { opacity: 0; transform: translateY(-16px) scale(.9); }
  100% { opacity: 0; }
}
.hj-pulse-ring { fill: none; stroke: var(--leaf-400); stroke-width: 2; opacity: 0; animation: hjWalletPulse 5.5s ease-out infinite; }
@keyframes hjWalletPulse {
  0%, 36% { r: 24px; opacity: 0; }
  42% { r: 24px; opacity: .55; }
  60% { r: 40px; opacity: 0; }
  100% { opacity: 0; }
}

/* Tích xanh sáng lên khi xe tải đến điểm giao thành công */
.hj-end-pulse-ring { fill: none; stroke: var(--success); stroke-width: 2; opacity: 0; animation: hjEndPulse 5.5s ease-out infinite; }
@keyframes hjEndPulse {
  0%, 87% { r: 25px; opacity: 0; }
  92% { r: 25px; opacity: .6; }
  100% { r: 42px; opacity: 0; }
}
.hj-node-dot--end { animation: hjEndDotGlow 5.5s ease-out infinite; }
@keyframes hjEndDotGlow {
  0%, 87% { stroke: var(--pine-700); }
  92% { stroke: var(--success); }
  100% { stroke: var(--pine-700); }
}
.hj-node-icon--end { transform-box: fill-box; transform-origin: center; animation: hjEndCheckGlow 5.5s ease-out infinite; }
@keyframes hjEndCheckGlow {
  0%, 87% { fill: var(--pine-700); transform: scale(1); }
  92% { fill: var(--success); transform: scale(1.3); }
  100% { fill: var(--pine-700); transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .hj-coin-group, .hj-plus-group, .hj-pulse-ring, .hj-jump-icon, .hj-end-pulse-ring { animation: none; opacity: 0; }
  .hj-node-dot--end, .hj-node-icon--end { animation: none; }
}

/* ---------- Dải số liệu kiểu hoá đơn (hero + section) ---------- */
.stat-strip {
  margin-top: 48px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow-md);
  display: flex; flex-wrap: wrap;
  overflow: hidden;
  max-width: 900px;
  margin-inline: auto;
}
.stat-strip .stat {
  flex: 1; min-width: 150px;
  padding: 26px 22px;
  text-align: center;
  border-right: 1px dashed var(--line);
  position: static;
}
.stat-strip .stat:last-child { border-right: none; }
.stat-strip .stat::before { content: none; }
.stat-strip .stat b {
  display: block;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(24px, 2.6vw, 32px); line-height: 1.15;
  color: var(--leaf-500);
}
.stat-strip .stat > span { font-size: 13.5px; color: var(--ink-soft); margin-top: 4px; display: block; }
@media (max-width: 640px) {
  .stat-strip { flex-direction: column; }
  .stat-strip .stat { border-right: none; border-bottom: 1px dashed var(--line); }
  .stat-strip .stat:last-child { border-bottom: none; }
}

/* ---------- Dải số liệu (stat band) ---------- */
.stat-band { background: #fff; color: var(--ink); padding: 34px 0; position: relative; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat-band .container {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px;
}
.stat-band .stat {
  text-align: center; position: relative; padding: 6px 8px;
}
.stat-band .stat + .stat::before {
  content: ""; position: absolute; left: -14px; top: 12%; bottom: 12%;
  width: 1px; background: var(--line);
}
.stat-band .stat b {
  display: block;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(26px, 3vw, 38px); line-height: 1.15;
  color: var(--leaf-500);
}
.stat-band .stat > span { font-size: 14px; color: var(--ink-soft); }
.stat-band .stat b .count { font-size: inherit; color: inherit; font-family: inherit; }
.stat-band .band-note {
  margin-top: 18px; text-align: center;
  font-size: 12.5px; color: var(--ink-mute); font-style: italic;
}

/* ---------- So sánh chờ tiền (bars) ---------- */
.wait-compare {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 44px; align-items: stretch;
}
.wait-list { display: grid; gap: 18px; align-content: center; }
.wait-row { display: grid; grid-template-columns: 170px 1fr; align-items: center; gap: 16px; }
.wait-row .who { font-size: 15px; font-weight: 600; color: var(--ink-soft); }
.wait-row .track {
  position: relative; height: 42px;
  background: var(--mint-100);
  border-radius: 10px;
  overflow: hidden;
}
.wait-row .fill {
  position: absolute; inset: 0 auto 0 0;
  width: 0;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: flex-end;
  padding-right: 14px;
  font-size: 14px; font-weight: 700; color: #fff;
  transition: width 1.1s cubic-bezier(.2, .7, .2, 1);
}
.wait-row .fill--slow { background: #c0392b; }
.wait-row .fill--mid { background: #d98e04; }
.wait-row .fill--fast { background: #e3b505; }
.wait-source { font-size: 12.5px; color: var(--ink-mute); font-style: italic; margin-top: 6px; }
.wait-hero {
  background: linear-gradient(165deg, var(--mint-100), var(--mint-50));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  color: var(--ink);
  padding: 44px 40px;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center;
  position: relative; overflow: hidden;
  box-shadow: var(--shadow-md);
}
.wait-hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(420px 300px at 50% -20%, rgba(242,169,0,.18), transparent 70%);
}
.wait-hero .t0 {
  position: relative;
  font-family: var(--font-display); font-weight: 700; font-style: italic;
  font-size: clamp(72px, 8vw, 108px); line-height: 1;
  color: var(--leaf-500);
}
.wait-hero p { position: relative; margin-top: 12px; font-size: 16.5px; font-weight: 600; color: var(--pine-950); }
.wait-hero small { position: relative; margin-top: 8px; font-size: 13px; color: var(--ink-mute); display: block; }

/* ---------- Quy trình — story panel hữu cơ ---------- */
.story { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.story + .story { margin-top: 88px; }
.story .blob {
  aspect-ratio: 1;
  border-radius: 44% 56% 62% 38% / 48% 42% 58% 52%;
  background: linear-gradient(150deg, var(--mint-150), var(--leaf-400));
  display: flex; align-items: center; justify-content: center;
  position: relative;
  box-shadow: var(--shadow-md);
  animation: blobFloat 7s ease-in-out infinite;
}
@keyframes blobFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(1.5deg); }
}
@media (prefers-reduced-motion: reduce) {
  .story .blob { animation: none; }
}
.story .blob .num {
  font-family: var(--font-display); font-style: italic; font-weight: 700;
  font-size: clamp(38px, 5vw, 56px); color: #fff;
  text-shadow: 0 4px 18px rgba(21,26,102,.22);
}
.story .story-info .flow-eyebrow {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: .2em;
  text-transform: uppercase; color: var(--pine-700);
  margin-bottom: 16px;
}
.story .story-info .flow-eyebrow::before { content: ""; width: 10px; height: 10px; background: var(--leaf-500); border-radius: 2px; flex: none; }
.story .story-info h3 {
  font-family: var(--font-display); font-style: italic; font-weight: 600;
  font-size: clamp(22px, 2.6vw, 28px); line-height: 1.32; margin-bottom: 16px;
  text-wrap: balance;
}
.story .story-info p { font-size: 15.5px; line-height: 1.8; color: var(--ink-soft); max-width: 480px; }
.story .step-meta {
  display: inline-block; margin-top: 18px; padding: 5px 12px;
  border-radius: 999px; font-size: 12.5px; font-weight: 700;
  background: var(--mint-100); color: var(--pine-700);
}
.story.rev { grid-template-columns: 1.1fr .9fr; }
.story.rev .blob { order: 2; }
.story.rev .blob { background: linear-gradient(150deg, var(--leaf-300), var(--pine-700)); }
@media (max-width: 760px) {
  .story, .story.rev { grid-template-columns: 1fr; }
  .story.rev .blob { order: 0; }
  .story .blob { max-width: 260px; margin: 0 auto; }
}

/* ---------- Gói dịch vụ ---------- */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: stretch; }
.plan {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 42px 38px 38px;
  display: flex; flex-direction: column;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease;
}
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.plan--featured {
  background: linear-gradient(170deg, var(--mint-100), var(--mint-150));
  border-color: var(--leaf-400);
  box-shadow: 0 0 0 1px var(--leaf-400), var(--shadow-sm);
  color: var(--ink);
}
.plan-flag {
  position: absolute; top: 22px; right: 22px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px;
  background: var(--leaf-500); color: #fff;
}
.plan .plan-kicker {
  font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--pine-700);
}
.plan--featured .plan-kicker { color: var(--pine-700); }
.plan h3 {
  font-family: var(--font-display); font-style: italic; font-weight: 600;
  font-size: 31px; margin-top: 8px;
}
.plan .plan-sub { font-size: 15px; color: var(--ink-soft); margin-top: 6px; }
.plan--featured .plan-sub { color: var(--ink-soft); }
.plan .plan-price {
  display: flex; align-items: baseline; gap: 10px;
  margin: 26px 0 4px;
  font-family: var(--font-display); font-weight: 700;
  font-size: 52px; line-height: 1;
  color: var(--pine-900);
}
.plan--featured .plan-price { color: var(--leaf-500); }
.plan .plan-price small { font-family: var(--font-body); font-size: 15px; font-weight: 600; color: var(--ink-mute); }
.plan--featured .plan-price small { color: var(--ink-mute); }
.plan ul { margin-top: 26px; display: grid; gap: 13px; flex: 1; }
.plan ul li {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 15px; color: var(--ink-soft);
}
.plan--featured ul li { color: var(--ink-soft); }
.plan ul li svg { width: 20px; height: 20px; flex: none; margin-top: 2px; color: var(--leaf-500); }
.plan--featured ul li svg { color: var(--leaf-500); }
.plan ul li.li-free { font-weight: 600; }
.free-badge {
  display: inline-flex; align-items: center; vertical-align: 1px;
  margin-right: 6px; padding: 2px 10px;
  border-radius: 6px;
  background: var(--leaf-500);
  color: #fff;
  font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
  line-height: 1.6;
}
.plan .btn { margin-top: 30px; width: 100%; }
.plan-note {
  margin-top: 26px;
  display: flex; align-items: flex-start; gap: 10px;
  border: 1px solid var(--amber-bd);
  background: var(--amber-bg);
  color: var(--amber-tx);
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 14px;
}
.plan-note .note-icon {
  display: flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; flex: none;
  border-radius: 6px;
  background: var(--amber-tx);
  color: #fff;
}
.plan-note .note-icon svg { width: 15px; height: 15px; }

/* ---------- Bảng giá chi tiết theo hạng mục ---------- */
.rate-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.rate-card {
  border-radius: var(--radius-lg);
  padding: 24px 22px 22px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.rate-card--dark {
  background: linear-gradient(175deg, var(--pine-950), var(--pine-900));
  border-color: var(--pine-900);
  color: rgba(255,255,255,.85);
}
.rate-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--pine-700);
  margin-bottom: 8px;
}
.rate-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--leaf-500); }
.rate-card--dark .rate-badge { border-color: rgba(245,190,64,.4); color: var(--leaf-400); }
.rate-card--dark .rate-badge::before { background: var(--leaf-400); }
.rate-title {
  font-family: var(--font-display); font-style: italic; font-weight: 700;
  font-size: 23px; color: var(--pine-950);
}
.rate-card--dark .rate-title { color: var(--leaf-400); }
.rate-sub { margin-top: 3px; font-size: 13.5px; color: var(--ink-soft); }
.rate-card--dark .rate-sub { color: rgba(255,255,255,.72); }
.rate-sub strong { color: var(--pine-950); font-weight: 700; }
.rate-card--dark .rate-sub strong { color: #fff; }
.rate-vat {
  display: inline-block; margin-top: 8px;
  font-size: 11.5px; font-style: italic; color: var(--ink-mute);
  border: 1px dashed var(--line); border-radius: 999px; padding: 3px 12px;
}
.rate-card--dark .rate-vat { color: rgba(255,255,255,.55); border-color: rgba(255,255,255,.22); }

.rate-groups { margin-top: 16px; display: grid; gap: 8px; }
.rate-group {
  border-radius: 12px; padding: 13px 16px;
  background: #fff; border: 1px solid var(--line);
}
.rate-card--dark .rate-group { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); }
.rate-group-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.rate-group-head h4 { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 700; color: var(--pine-950); }
.rate-card--dark .rate-group-head h4 { color: #fff; }
.rate-letter {
  flex: none; display: grid; place-items: center;
  width: 19px; height: 19px; border-radius: 5px;
  background: var(--mint-100); color: var(--pine-700);
  font-size: 11px; font-weight: 800;
}
.rate-card--dark .rate-letter { background: var(--leaf-500); color: #fff; }
.rate-tag {
  flex: none; font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 6px;
  background: var(--leaf-500); color: #fff;
}
.rate-tag--warn { background: var(--amber-bg); color: var(--amber-tx); }
.rate-card--dark .rate-tag--warn { background: rgba(245,190,64,.16); color: var(--leaf-400); }

.rate-tier-label {
  margin-top: 9px; font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-mute);
}
.rate-card--dark .rate-tier-label { color: rgba(255,255,255,.45); }
.rate-tiers { margin-top: 3px; display: grid; }
.rate-tier-row {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  padding: 6px 0;
  border-top: 1px dashed var(--line);
  font-size: 13px;
}
.rate-card--dark .rate-tier-row { border-top-color: rgba(255,255,255,.14); }
.rate-tier-row .rate-tier-name { color: var(--ink-soft); }
.rate-card--dark .rate-tier-row .rate-tier-name { color: rgba(255,255,255,.68); }
.rate-tier-row .rate-tier-value { font-weight: 700; color: var(--pine-950); white-space: nowrap; }
.rate-card--dark .rate-tier-row .rate-tier-value { color: var(--leaf-400); }
.rate-tier-row .rate-tier-value.is-muted { font-weight: 400; font-style: italic; color: var(--ink-mute); }
.rate-card--dark .rate-tier-row .rate-tier-value.is-muted { color: rgba(255,255,255,.5); }
.rate-tier-row .rate-tier-value.is-warn { color: var(--amber-tx); }
.rate-card--dark .rate-tier-row .rate-tier-value.is-warn { color: var(--leaf-400); }

.rate-group-note {
  margin-top: 7px; padding-top: 6px; border-top: 1px dashed var(--line);
  font-size: 11.5px; font-style: italic; color: var(--ink-mute);
}
.rate-card--dark .rate-group-note { border-top-color: rgba(255,255,255,.14); color: rgba(255,255,255,.5); }
.rate-group-note strong { color: var(--pine-800); font-style: normal; }
.rate-card--dark .rate-group-note strong { color: var(--leaf-400); }

/* Bảng so sánh */
.compare-wrap { margin-top: 56px; overflow-x: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
table.compare { width: 100%; border-collapse: collapse; background: #fff; min-width: 720px; }
table.compare th, table.compare td {
  padding: 16px 20px; text-align: center; font-size: 15px;
  border-bottom: 1px solid var(--line);
}
table.compare thead th {
  background: var(--pine-900); color: #fff;
  font-size: 14px; font-weight: 700; letter-spacing: .04em;
}
table.compare thead th:first-child { text-align: left; border-radius: 0; }
table.compare thead th.hl { background: var(--pine-700); color: #fff; }
table.compare tbody th {
  text-align: left; font-weight: 600; color: var(--ink-soft); background: var(--mint-50);
  font-size: 14.5px;
}
table.compare td.hl {
  background: var(--mint-100); font-weight: 700; color: var(--pine-800);
  border-left: 1px solid var(--mint-150); border-right: 1px solid var(--mint-150);
  border-bottom-color: var(--mint-150);
}
table.compare td.dim { color: var(--ink-mute); }
table.compare tbody tr:last-child th, table.compare tbody tr:last-child td { border-bottom: none; }
.compare-note { margin-top: 16px; font-size: 13px; color: var(--ink-mute); font-style: italic; }

/* ---------- Máy tính phí ---------- */
.calc {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow-sm);
}
.calc-inputs label { display: block; font-size: 14px; font-weight: 600; color: var(--pine-900); margin-bottom: 8px; }
.calc-field { margin-bottom: 22px; }
.calc-text-input {
  width: 100%;
  font-family: var(--font-display); font-weight: 700; font-size: 21px;
  color: var(--pine-950);
  border: 1.5px solid var(--line); border-radius: 10px;
  padding: 13px 16px;
  background: var(--mint-50);
  transition: border-color .15s ease, background .15s ease;
}
.calc-text-input:focus {
  outline: none; border-color: var(--leaf-500); background: #fff;
}
.calc-hint { font-size: 12.5px; color: var(--ink-mute); margin-top: 6px; }
.calc-submit { width: 100%; margin-top: 4px; margin-bottom: 22px; justify-content: center; }
.calc-results { display: grid; gap: 16px; align-content: start; order: -1; }
.calc-total {
  background: var(--mint-50);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 24px;
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 16px;
}
.calc-total span { font-size: 14.5px; color: var(--ink-soft); }
.calc-total b { font-family: var(--font-display); font-size: 26px; font-weight: 700; color: var(--pine-950); white-space: nowrap; }
.calc-total-note { flex-basis: 100%; margin-top: 4px; font-size: 11px; color: var(--ink-mute); font-style: italic; }
.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.calc-card {
  border-radius: var(--radius);
  padding: 22px 24px;
  border: 1px solid var(--line);
  background: var(--mint-50);
  position: relative;
}
.calc-card.is-better { border-color: var(--leaf-400); background: var(--mint-100); }
.calc-card .best-tag {
  display: none;
  position: absolute; top: -11px; right: 14px;
  background: var(--leaf-500); color: #fff;
  font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 999px;
}
.calc-card.is-better .best-tag { display: inline-block; }
.calc-card h4 { font-size: 14px; font-weight: 700; color: var(--pine-700); }
.calc-card .fee { font-family: var(--font-display); font-weight: 700; font-size: 26px; margin-top: 6px; color: var(--pine-950); }
.calc-card p { font-size: 12.5px; color: var(--ink-mute); margin-top: 4px; }
.calc-note { font-size: 12.5px; color: var(--ink-mute); font-style: italic; }

/* ---------- Pháp lý / niềm tin ---------- */
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.trust-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.trust-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 30px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}
.trust-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--leaf-500), var(--pine-700));
}
.trust-card .trust-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--mint-100); color: var(--pine-700);
  display: grid; place-items: center;
  margin-bottom: 20px;
}
.trust-card .trust-icon svg { width: 26px; height: 26px; }
.trust-card h3 { font-size: 18.5px; font-weight: 700; margin-bottom: 10px; color: var(--pine-950); }
.trust-card p { font-size: 15px; color: var(--ink-soft); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 22px 26px;
  font-size: 16.5px; font-weight: 600; color: var(--pine-950);
  transition: background .18s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { background: var(--mint-50); }
.faq-item summary .faq-plus {
  flex: none; width: 30px; height: 30px; border-radius: 50%;
  background: var(--mint-100); color: var(--pine-700);
  display: grid; place-items: center;
  font-size: 19px; font-weight: 600; line-height: 1;
  transition: transform .25s ease, background .18s ease, color .18s ease;
}
.faq-item[open] summary .faq-plus { transform: rotate(45deg); background: var(--leaf-500); color: #fff; }
.faq-item .faq-body { padding: 0 26px 24px; font-size: 15.5px; color: var(--ink-soft); }
.faq-item .faq-body a { color: var(--pine-700); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
/* Mở/đóng mượt — trình duyệt chưa hỗ trợ sẽ mở tức thì như cũ */
@supports (interpolate-size: allow-keywords) {
  :root { interpolate-size: allow-keywords; }
}
.faq-item::details-content {
  opacity: 0; block-size: 0; overflow-y: clip;
  transition: content-visibility .32s allow-discrete, opacity .32s ease, block-size .32s ease;
}
.faq-item[open]::details-content { opacity: 1; block-size: auto; }

/* ---------- Băng giới thiệu Đại lý / CTA chéo ---------- */
.cross-band {
  background:
    radial-gradient(700px 420px at 88% 0%, rgba(242,169,0,.3), transparent 60%),
    linear-gradient(150deg, var(--pine-800), var(--pine-950));
  border-radius: var(--radius-lg);
  color: #fff;
  padding: 62px 60px;
  display: grid; grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px; align-items: center;
  position: relative; overflow: hidden;
  box-shadow: var(--shadow-md);
}
.cross-band .big-pct {
  position: absolute; right: -30px; bottom: -66px;
  font-family: var(--font-display); font-style: italic; font-weight: 700;
  font-size: 250px; line-height: 1;
  color: rgba(255,255,255,.055);
  pointer-events: none;
  user-select: none;
}
.cross-band h2 {
  font-family: var(--font-display); font-style: italic; font-weight: 600;
  font-size: clamp(26px, 3.4vw, 38px); line-height: 1.2;
  position: relative;
}
.cross-band p { margin-top: 14px; font-size: 16px; color: rgba(255,255,255,.78); max-width: 560px; position: relative; }
.cross-band .band-note-small { margin-top: 10px; font-size: 11px; color: rgba(255,255,255,.45); font-style: italic; max-width: 560px; }
.cross-band .band-actions { display: flex; flex-direction: column; gap: 12px; position: relative; }

/* ---------- Khối liên hệ cuối ---------- */
.contact-final { text-align: center; }
.contact-final h2 {
  font-family: var(--font-display); font-style: italic; font-weight: 600;
  font-size: clamp(32px, 4.6vw, 52px); line-height: 1.15;
  color: var(--pine-950);
  text-wrap: balance;
}
.contact-final .lead { margin: 18px auto 0; max-width: 560px; color: var(--ink-soft); }

/* Biến thể nền tối cho khối liên hệ cuối, ngay trước footer */
.section--closing {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(560px 380px at 82% 8%, rgba(242,169,0,.16), transparent 70%),
    linear-gradient(165deg, var(--pine-950), var(--pine-900));
}
.section--closing .overline { color: var(--leaf-400); }
.section--closing .overline::before { background: var(--leaf-400); }
.section--closing h2 { color: #fff; }
.section--closing .lead { color: rgba(255,255,255,.72); }
.section--closing p { color: rgba(255,255,255,.6); }
.section--closing .contact-card span { color: var(--ink-mute); }
.contact-cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  max-width: 900px; margin: 48px auto 0;
}
.contact-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
a.contact-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.contact-card .contact-ico {
  width: 50px; height: 50px; margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--mint-100); color: var(--pine-700);
  display: grid; place-items: center;
}
.contact-card .contact-ico svg { width: 24px; height: 24px; }
.contact-card b { display: block; font-size: 16.5px; color: var(--pine-950); }
.contact-card span { font-size: 14px; color: var(--ink-mute); }

/* ---------- Footer ---------- */
.site-footer {
  background:
    radial-gradient(640px 420px at 100% 100%, rgba(242,169,0,.20), transparent 62%),
    radial-gradient(420px 320px at 0% 0%, rgba(242,169,0,.10), transparent 65%),
    var(--pine-950);
  color: rgba(255,255,255,.75);
  padding: 70px 0 36px;
  font-size: 14.5px;
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: "";
  z-index: 0;
  position: absolute; right: -70px; bottom: -90px;
  width: 480px; height: 480px;
  background-image: url("../images/logo-white.png");
  background-repeat: no-repeat;
  background-size: contain;
  opacity: .08;
  transform: rotate(-6deg);
  pointer-events: none;
}
.site-footer::after {
  content: "";
  z-index: 0;
  position: absolute; left: -60px; top: -70px;
  width: 220px; height: 220px;
  background-image: url("../images/logo-white.png");
  background-repeat: no-repeat;
  background-size: contain;
  opacity: .05;
  transform: rotate(10deg);
  pointer-events: none;
}
.footer-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: 48px;
}
.footer-brand .logo-chip {
  display: block;
  margin: 0;
  line-height: 0;
}
.footer-brand .logo-chip img { display: block; height: 58px; }
.footer-brand p { margin-top: 18px; max-width: 400px; line-height: 1.75; }
.footer-brand .legal-name { color: #fff; font-weight: 700; }
.site-footer h4 {
  margin-top: 0;
  color: #fff; font-size: 13px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  margin-bottom: 18px;
}
.site-footer ul { display: grid; gap: 11px; }
.site-footer ul a { color: rgba(255,255,255,.72); transition: color .15s ease; }
.site-footer ul a:hover { color: var(--leaf-300); }
.footer-disclaimer {
  position: relative;
  z-index: 1;
  margin-top: 52px; padding-top: 28px;
  border-top: 1px solid var(--line-dark);
  font-size: 12.8px; line-height: 1.75; color: rgba(255,255,255,.48);
}
.footer-disclaimer p + p { margin-top: 10px; }
.footer-bottom {
  position: relative;
  z-index: 1;
  margin-top: 30px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  font-size: 13px; color: rgba(255,255,255,.5);
}

/* ---------- Trang Đại lý: khối riêng ---------- */
.money-flow { display: grid; gap: 0; max-width: 720px; margin: 0 auto; }
.money-flow .mf-box {
  border-radius: var(--radius);
  padding: 26px 32px;
  text-align: center;
  position: relative;
}
.money-flow .mf-box b {
  display: block;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(24px, 3vw, 34px); line-height: 1.2;
}
.money-flow .mf-box span { font-size: 14px; opacity: .82; }
.money-flow .mf-box--cod { background: var(--pine-900); color: #fff; }
.money-flow .mf-box--fee { background: var(--pine-700); color: #fff; }
.money-flow .mf-box--hh {
  background: var(--leaf-500); color: #fff;
  box-shadow: var(--shadow-md);
  animation: mfGlow 3.2s ease-in-out infinite;
}
.money-flow .mf-arrow {
  text-align: center;
  padding: 8px 0 10px;
  font-size: 13.5px; font-weight: 600; color: var(--ink-mute);
  display: flex; flex-direction: column; align-items: center; gap: 5px;
}
.money-flow .mf-arrow::before {
  content: "";
  width: 2px; height: 24px;
  background: linear-gradient(180deg, var(--leaf-500) 0 5px, transparent 5px 10px);
  background-size: 2px 10px;
  background-repeat: repeat-y;
  animation: mfFlow 1s linear infinite;
}
.money-flow .mf-arrow::after {
  content: "";
  width: 0; height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 7px solid var(--leaf-500);
}
@keyframes mfFlow { to { background-position-y: 10px; } }
@keyframes mfGlow {
  0%, 100% { box-shadow: var(--shadow-md); }
  50%      { box-shadow: 0 12px 42px -8px rgba(242, 169, 0, .6); }
}
.split-bar {
  max-width: 720px; margin: 30px auto 0;
  display: flex; height: 46px; border-radius: 10px; overflow: hidden;
  font-size: 13.5px; font-weight: 700; color: #fff;
}
.split-bar .sb-icp { flex: 85; background: var(--pine-900); display: flex; align-items: center; padding-left: 16px; white-space: nowrap; }
.split-bar .sb-agent {
  flex: 0.001; min-width: 0;
  background: var(--leaf-500);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; white-space: nowrap;
  transition: flex-grow 1.1s cubic-bezier(.2, .7, .2, 1) .4s, min-width 1.1s cubic-bezier(.2, .7, .2, 1) .4s;
}
.split-bar.is-visible .sb-agent { flex-grow: 15; min-width: 86px; }

/* Ước tính hoa hồng theo mạng lưới */
.agent-calc {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 34px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 34px 38px; margin-bottom: 34px;
  box-shadow: var(--shadow-sm);
}
.agent-calc label { display: block; font-size: 14px; font-weight: 700; color: var(--pine-800); margin-bottom: 12px; }
.agent-calc .range-row { display: flex; align-items: center; gap: 16px; }
.agent-calc input[type="range"] {
  flex: 1; appearance: none; -webkit-appearance: none;
  height: 6px; border-radius: 6px;
  background: var(--mint-150);
  outline: none;
}
.agent-calc input[type="range"]::-webkit-slider-thumb {
  appearance: none; -webkit-appearance: none;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--leaf-500);
  border: 3px solid #fff;
  box-shadow: 0 3px 10px rgba(21,26,102,.25);
  cursor: grab;
  transition: transform .15s ease, box-shadow .15s ease;
}
.agent-calc input[type="range"]:hover::-webkit-slider-thumb { transform: scale(1.15); }
.agent-calc input[type="range"]:active::-webkit-slider-thumb {
  cursor: grabbing;
  transform: scale(1.28);
  box-shadow: 0 0 0 9px rgba(242,169,0,.16), 0 3px 10px rgba(21,26,102,.25);
}
.agent-calc input[type="range"]::-moz-range-thumb {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--leaf-500); border: 3px solid #fff; cursor: grab;
  transition: transform .15s ease, box-shadow .15s ease;
}
.agent-calc input[type="range"]:hover::-moz-range-thumb { transform: scale(1.15); }
.agent-calc input[type="range"]:active::-moz-range-thumb {
  cursor: grabbing;
  transform: scale(1.28);
  box-shadow: 0 0 0 9px rgba(242,169,0,.16);
}
.agent-calc output {
  min-width: 100px; text-align: right;
  font-family: var(--font-display); font-weight: 700; font-size: 21px;
  color: var(--pine-700);
}
.ac-hint { font-size: 12.5px; color: var(--ink-mute); margin-top: 8px; }
.ac-results { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ac-card {
  border-radius: var(--radius);
  padding: 18px 22px;
  background: var(--mint-50);
  border: 1px solid var(--line);
}
.ac-card span { display: block; font-size: 13px; color: var(--ink-mute); }
.ac-card b {
  display: block; margin-top: 6px;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(22px, 2.4vw, 28px); line-height: 1.2;
  color: var(--pine-900); white-space: nowrap;
}
.ac-card--month { background: var(--pine-900); border-color: var(--pine-900); }
.ac-card--month span { color: rgba(255,255,255,.7); }
.ac-card--month b { color: var(--leaf-300); }
@media (max-width: 860px) {
  .agent-calc { grid-template-columns: 1fr; padding: 28px 24px; gap: 24px; }
}

/* Bảng thu nhập mạng lưới */
.income-table-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
table.income { width: 100%; border-collapse: collapse; background: #fff; min-width: 640px; }
table.income th, table.income td { padding: 17px 22px; font-size: 15.5px; border-bottom: 1px solid var(--line); text-align: left; }
table.income thead th { background: var(--pine-900); color: #fff; font-size: 14px; letter-spacing: .04em; }
table.income td:nth-child(2), table.income td:nth-child(3),
table.income th:nth-child(2), table.income th:nth-child(3) { text-align: right; }
table.income td:nth-child(2) { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--pine-800); }
table.income tr.is-real { background: var(--amber-bg); }
table.income tr.is-real td { font-weight: 600; color: var(--amber-tx); }
table.income tr.is-real td:nth-child(2) { color: var(--amber-tx); }
table.income tr:last-child td { border-bottom: none; }
.real-badge {
  display: inline-block; margin-left: 8px;
  font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  background: var(--leaf-500); color: #fff;
  padding: 3px 9px; border-radius: 999px;
  vertical-align: middle;
}

/* Danh sách quyền lợi / điều kiện */
.check-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.check-panel {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 32px;
  box-shadow: var(--shadow-sm);
}
.check-panel--dark { background: var(--pine-900); border-color: var(--pine-900); color: #fff; }
.check-panel h3 { font-size: 19px; font-weight: 700; margin-bottom: 20px; }
.check-panel ul { display: grid; gap: 14px; }
.check-panel li { display: flex; gap: 12px; font-size: 15px; color: var(--ink-soft); }
.check-panel--dark li { color: rgba(255,255,255,.8); }
.check-panel li svg { width: 20px; height: 20px; flex: none; margin-top: 3px; color: var(--leaf-500); }
.check-panel--dark li svg { color: var(--leaf-300); }
.trust-card, .check-panel { transition: transform .22s ease, box-shadow .22s ease; }
.trust-card:hover, .check-panel:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }

/* ---------- Ghi chú vàng dùng chung ---------- */
.note-amber {
  border: 1px solid var(--amber-bd);
  background: var(--amber-bg);
  color: var(--amber-tx);
  border-radius: 12px;
  padding: 16px 22px;
  font-size: 14.5px;
}

/* ---------- Nút liên hệ nổi (bên trái, chạy theo cuộn) ---------- */
.fab-backdrop {
  position: fixed; inset: 0; z-index: 290;
  background: rgba(21, 26, 102, .45);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  opacity: 0; pointer-events: none;
  transition: opacity .25s ease;
}
.fab-backdrop.show { opacity: 1; pointer-events: auto; }
.contact-fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 300;
  display: flex; flex-direction: column; align-items: flex-end; gap: 14px;
  pointer-events: none;
}
.contact-fab .fab-main { pointer-events: auto; }
.fab-main {
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--leaf-500); color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 14px 30px -8px rgba(242, 169, 0, .65);
  position: relative;
  transition: transform .2s ease, background .2s ease;
}
.fab-main:hover { transform: scale(1.07); }
.fab-main::before {
  content: ""; position: absolute; inset: -5px; border-radius: 50%;
  border: 2px solid rgba(242, 169, 0, .5);
  animation: fabPulse 2.4s ease-out infinite;
}
@keyframes fabPulse {
  0% { transform: scale(.82); opacity: 1; }
  70%, 100% { transform: scale(1.3); opacity: 0; }
}
.fab-main svg { width: 26px; height: 26px; }
.fab-main .icon-close { display: none; }
.contact-fab.open .fab-main { background: var(--pine-800); }
.contact-fab.open .fab-main::before { animation: none; opacity: 0; }
.contact-fab.open .fab-main .icon-chat { display: none; }
.contact-fab.open .fab-main .icon-close { display: block; }

.fab-menu { display: flex; flex-direction: column; align-items: flex-end; gap: 11px; pointer-events: none; }
.contact-fab.open .fab-menu { pointer-events: auto; }
.fab-item {
  display: flex; flex-direction: row-reverse; align-items: center; gap: 11px;
  opacity: 0; transform: translateY(12px) scale(.92);
  pointer-events: none;
  transition: opacity .24s ease, transform .24s cubic-bezier(.2, .7, .3, 1.3);
}
.contact-fab.open .fab-item { opacity: 1; transform: none; pointer-events: auto; }
.contact-fab.open .fab-item:nth-child(3) { transition-delay: .03s; }
.contact-fab.open .fab-item:nth-child(2) { transition-delay: .1s; }
.contact-fab.open .fab-item:nth-child(1) { transition-delay: .17s; }
.fab-icon {
  width: 46px; height: 46px; border-radius: 50%; flex: none;
  background: #fff; color: var(--pine-800);
  display: grid; place-items: center;
  border: 1px solid var(--line);
  box-shadow: 0 10px 22px -8px rgba(21, 26, 102, .4);
  transition: transform .18s ease;
}
.fab-item:hover .fab-icon { transform: scale(1.08); }
.fab-icon svg { width: 21px; height: 21px; }
.fab-icon--zalo { color: #0068ff; }
.fab-label {
  background: var(--pine-900); color: #fff;
  font-size: 13.5px; font-weight: 600;
  padding: 9px 16px; border-radius: 999px;
  box-shadow: var(--shadow-md);
  white-space: nowrap;
}
@media (max-width: 560px) {
  .contact-fab { right: 14px; bottom: 14px; }
  .fab-main { width: 54px; height: 54px; }
}

/* ---------- Nút lên đầu trang ---------- */
.to-top {
  position: fixed; right: 28px; bottom: 92px; z-index: 290;
  width: 46px; height: 46px; border-radius: 50%;
  background: #fff; color: var(--pine-800);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  display: grid; place-items: center;
  opacity: 0; transform: translateY(14px); pointer-events: none;
  transition: opacity .25s ease, transform .25s ease, background .18s ease, color .18s ease;
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
body.fab-open .to-top.show { opacity: 0; transform: translateY(14px); pointer-events: none; }
.to-top:hover { background: var(--pine-900); color: #fff; }
.to-top svg { width: 20px; height: 20px; }

/* ---------- Thanh CTA di động ---------- */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 280;
  display: none;
  gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(252, 253, 251, .93);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  transform: translateY(110%);
  transition: transform .3s ease;
}
.mobile-cta.show { transform: none; }
.mobile-cta .btn { flex: 1; justify-content: center; padding: 12px 14px; font-size: 15px; white-space: nowrap; }
@media (max-width: 720px) {
  .mobile-cta { display: flex; }
  .contact-fab { bottom: calc(74px + env(safe-area-inset-bottom, 0px)); }
  .to-top { right: 28px; bottom: calc(144px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 560px) {
  .to-top { right: 18px; bottom: calc(140px + env(safe-area-inset-bottom, 0px)); }
}

/* ---------- Hiệu ứng xuất hiện ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .65, .25, 1); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; }
.reveal-d2 { transition-delay: .16s; }
.reveal-d3 { transition-delay: .24s; }
.reveal-d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .wait-row .fill, .flow-track .flow-progress { transition: none; }
  .money-flow .mf-arrow::before, .money-flow .mf-box--hh { animation: none; }
  .split-bar .sb-agent { transition: none; }
  .faq-item::details-content { transition: none; }
  .to-top, .mobile-cta { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { display: none; }
  .wait-compare { grid-template-columns: 1fr; }
  .benefit-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .calc { grid-template-columns: 1fr; padding: 34px 28px; }
  .cross-band { grid-template-columns: 1fr; padding: 48px 40px; }
  .cross-band .band-actions { flex-direction: row; flex-wrap: wrap; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .site-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 12px 28px 22px;
    box-shadow: 0 24px 40px -24px rgba(21,26,102,.3);
    transform: translateY(-12px);
    opacity: 0; pointer-events: none;
    transition: opacity .22s ease, transform .22s ease;
    margin: 0;
  }
  body.nav-open .site-nav { opacity: 1; transform: none; pointer-events: auto; }
  .site-nav a { padding: 13px 2px; font-size: 16px; border-bottom: 1px solid var(--mint-100); }
  .site-nav a::after { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-actions { margin-left: auto; }
  .steps { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  .rate-cards { grid-template-columns: 1fr; }
  .stat-band .container { grid-template-columns: 1fr 1fr; gap: 22px; }
  .stat-band .stat:nth-child(odd)::before { display: none; }
  .check-cols { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr; max-width: 460px; }
  .calc-grid { grid-template-columns: 1fr; }
  .flow-header { align-items: flex-start; }
  .flow-points { flex-direction: column; gap: 22px; }
  .flow-point { width: 100%; padding: 0 0 0 44px; }
  .flow-point-num { top: 0; left: 0; }
  .flow-track { display: none; }
}
@media (max-width: 560px) {
  .section { padding: 68px 0; }
  .container { padding: 0 20px; }
  .site-header .container { gap: 14px; }
  .brand img { height: 40px; }
  .header-actions { gap: 8px; }
  .header-actions .btn { padding: 10px 16px; font-size: 14px; }
  .nav-toggle { width: 40px; height: 40px; }
  .hero { padding: calc(var(--header-h) + 52px) 0 72px; }
  .wait-row { grid-template-columns: 1fr; gap: 8px; }
  .stat-band .container { grid-template-columns: 1fr 1fr; }
  .cross-band { padding: 40px 26px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .calc-total b { font-size: 21px; }
}
