/* ============================================================
   BÁO CÁO THƯỜNG NIÊN GAS SOUTH (PGS) 2025 - Design System
   Chủ đề: Thích ứng sẵn sàng - Vững vàng vượt qua
   ============================================================ */

/* ---------- 1. Biến thiết kế (Design Tokens) ---------- */
:root {
  /* Màu thương hiệu Gas South */
  --fpt-orange: #f2a33a;        /* cam ngọn lửa (flame) */
  --fpt-orange-dark: #d98218;
  --fpt-blue: #2f7d32;          /* xanh năng lượng */
  --fpt-blue-dark: #1f5f24;
  --fpt-green: #76bd43;         /* teal khí sạch */
  --fpt-green-dark: #4f922d;

  /* Màu nền & chữ */
  --bg: #ffffff;
  --bg-soft: #f4f8ef;
  --bg-dark: #123d1d;           /* navy đậm */
  --bg-dark-soft: #1f5f2d;
  --ink: #12212e;
  --ink-soft: #46586a;
  --ink-muted: #8293a3;
  --line: #e1e8f0;

  /* Gradient chủ đề năng lượng */
  --grad-ai: linear-gradient(120deg, #2f7d32 0%, #76bd43 100%);
  --grad-hero: linear-gradient(135deg, #123d1d 0%, #20682f 58%, #4f922d 100%);
  --grad-orange: linear-gradient(120deg, #f2a33a 0%, #ffc56d 100%);

  /* Khoảng cách & bo góc */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-pill: 999px;
  --shadow-sm: 0 2px 10px rgba(12, 27, 42, 0.06);
  --shadow-md: 0 10px 30px rgba(12, 27, 42, 0.10);
  --shadow-lg: 0 24px 60px rgba(12, 27, 42, 0.16);

  /* Layout */
  --maxw: 1200px;
  --nav-h: 72px;

  /* Typography */
  --font: "Be Vietnam Pro", "Segoe UI", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.2; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }

/* ---------- 3. Tiện ích layout ---------- */
.container { width: min(100% - 40px, var(--maxw)); margin-inline: auto; }
.section { padding: clamp(48px, 8vw, 110px) 0; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--bg-dark); color: #e8eef5; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--fpt-orange);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--fpt-orange); border-radius: 2px; }
.section-title { font-size: clamp(1.7rem, 3.6vw, 2.7rem); }
.section-lead { font-size: 1.08rem; color: var(--ink-soft); max-width: 760px; }
.section--dark .section-lead { color: #b7c6d6; }
.text-grad {
  background: var(--grad-ai); -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- 4. Nút ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 26px; border-radius: var(--r-pill);
  font-weight: 600; font-size: .98rem; cursor: pointer; border: 0;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
}
.btn--primary { background: var(--grad-orange); color: #fff; box-shadow: 0 8px 22px rgba(243,112,33,.32); }
.btn--ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.5); }
.btn--dark { background: var(--bg-dark); color: #fff; }
.btn:hover { transform: translateY(-2px); }
.btn--ghost:hover { background: rgba(255,255,255,.12); }

/* ---------- 5. Thanh điều hướng ---------- */
.nav {
  position: sticky; top: 0; z-index: 100; height: var(--nav-h);
  background: rgba(255,255,255,.88); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s;
}
.nav.is-scrolled { box-shadow: var(--shadow-sm); }
.nav__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.nav__brand { display: flex; align-items: center; gap: 12px; font-weight: 800; }
.nav__logo {
  width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center;
  background: var(--grad-orange); color: #fff; font-weight: 800; font-size: 1.05rem;
  box-shadow: 0 6px 16px rgba(243,112,33,.3);
}
.nav__brand small { display: block; font-size: .72rem; font-weight: 600; color: var(--ink-muted); letter-spacing: .04em; }
.nav__menu { display: flex; align-items: center; gap: 4px; }
.nav__menu a {
  padding: 9px 15px; border-radius: var(--r-pill); font-size: .93rem; font-weight: 600; color: var(--ink-soft);
  transition: color .2s, background .2s;
}
.nav__menu a:hover { color: var(--fpt-blue); background: var(--bg-soft); }
.nav__menu a.is-active { color: #fff; background: var(--fpt-blue); }
.nav__toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; }
.nav__toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px auto; border-radius: 2px; transition: .3s; }
.nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 6. Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--grad-hero); color: #fff;
  padding: clamp(70px, 11vw, 150px) 0 clamp(60px, 9vw, 120px);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(600px 300px at 85% 10%, rgba(0,166,81,.28), transparent 60%),
    radial-gradient(500px 320px at 10% 90%, rgba(243,112,33,.22), transparent 60%);
  pointer-events: none;
}
.hero__inner { position: relative; max-width: 820px; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 16px; border-radius: var(--r-pill);
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22);
  font-size: .86rem; font-weight: 600; margin-bottom: 24px;
}
.hero__badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--fpt-green); box-shadow: 0 0 0 4px rgba(0,166,81,.25); }
.hero h1 { font-size: clamp(2.2rem, 6vw, 4.2rem); line-height: 1.05; margin-bottom: 22px; }
.hero h1 em { font-style: normal; background: var(--grad-orange); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__sub { font-size: clamp(1.05rem, 2.2vw, 1.3rem); color: #c5d4e3; max-width: 640px; margin-bottom: 36px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- 7. Dải chỉ số (stats) ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.stat {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 28px 26px; box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.stat:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.stat__num { font-size: clamp(1.9rem, 4vw, 2.7rem); font-weight: 800; line-height: 1; color: var(--fpt-blue); white-space: nowrap; letter-spacing: -.03em; }
.stat__num .unit { font-size: .5em; color: var(--fpt-orange); margin-left: 4px; }
.stat__label { margin-top: 10px; color: var(--ink-soft); font-size: .96rem; }
.stat__delta { display: inline-block; margin-top: 8px; font-size: .82rem; font-weight: 700; color: var(--fpt-green); }

.stat--above { border: 2px solid rgba(118, 189, 67, .72); box-shadow: 0 18px 40px rgba(47, 125, 50, .14); }
.stat--near { border: 2px solid rgba(242, 163, 58, .72); box-shadow: 0 18px 40px rgba(242, 163, 58, .14); }
.stat--below { border: 2px solid rgba(213, 70, 58, .72); box-shadow: 0 18px 40px rgba(213, 70, 58, .13); }
.stat__status {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 14px;
  padding: 6px 11px; border-radius: var(--r-pill); font-size: .78rem; font-weight: 800;
}
.stat--above .stat__status { background: rgba(118,189,67,.16); color: #2f7d32; }
.stat--near .stat__status { background: rgba(242,163,58,.18); color: #a86611; }
.stat--below .stat__status { background: rgba(213,70,58,.13); color: #c73327; }
.stat__bar { margin-top: 16px; height: 8px; background: #e8efe2; border-radius: var(--r-pill); overflow: hidden; }
.stat__bar span { display: block; height: 100%; border-radius: inherit; background: var(--grad-ai); }
.stat--near .stat__bar span { background: var(--grad-orange); }
.stat--below .stat__bar span { background: linear-gradient(120deg, #d6453a, #ff8a7d); }

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 22px;
  margin-top: 36px;
}
.highlight-grid .stat { min-height: 238px; }
.highlight-grid .stat:nth-child(1),
.highlight-grid .stat:nth-child(2) { grid-column: span 3; }
.highlight-grid .stat:nth-child(n+3) { grid-column: span 2; }

.theme-panel {
  position: relative; overflow: hidden; border-radius: 30px;
  padding: clamp(34px, 6vw, 70px); color: #fff; background: var(--grad-hero);
  box-shadow: 0 28px 70px rgba(18, 61, 29, .22);
}
.theme-panel::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(420px 220px at 85% 16%, rgba(242,163,58,.3), transparent 65%),
    radial-gradient(560px 240px at 18% 95%, rgba(118,189,67,.36), transparent 65%);
  pointer-events: none;
}
.theme-panel::after {
  content: ""; position: absolute; right: -80px; bottom: -90px; width: 360px; height: 360px;
  border-radius: 50%; border: 1px solid rgba(255,255,255,.16);
  box-shadow: inset 0 0 0 32px rgba(255,255,255,.035), inset 0 0 0 72px rgba(255,255,255,.025);
}
.theme-panel > * { position: relative; z-index: 1; }
.theme-panel .section-lead { color: #d7ead2; }

.toc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.toc-card {
  position: relative; min-height: 265px; padding: 28px; border-radius: 28px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbf4 100%);
  border: 1px solid rgba(47,125,50,.16); box-shadow: var(--shadow-sm); overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
}
.toc-card:hover { transform: translateY(-7px); border-color: rgba(47,125,50,.38); box-shadow: var(--shadow-lg); }
.toc-card__num {
  position: absolute; right: 20px; top: 12px; font-size: 4.6rem; line-height: 1;
  font-weight: 800; color: rgba(47,125,50,.11); letter-spacing: -.06em;
}
.toc-card__icon {
  width: 58px; height: 58px; display: grid; place-items: center; border-radius: 18px;
  background: rgba(118,189,67,.16); color: var(--fpt-blue); font-size: 1.55rem; margin-bottom: 22px;
}
.toc-card h3 { font-size: 1.25rem; margin-right: 56px; }
.toc-card p { color: var(--ink-soft); font-size: .94rem; }
.toc-card__links { margin-top: 16px; display: grid; gap: 7px; color: var(--ink-soft); font-size: .86rem; }
.toc-card__links span { padding-left: 14px; position: relative; }
.toc-card__links span::before { content: ""; position: absolute; left: 0; top: .72em; width: 5px; height: 5px; border-radius: 50%; background: var(--fpt-green); }
.toc-card__more { position: absolute; left: 28px; bottom: 22px; color: var(--fpt-blue); font-weight: 800; font-size: .9rem; }

.home-chart { display: grid; grid-template-columns: 1.05fr .95fr; gap: 28px; align-items: stretch; margin-top: 34px; }
.plan-list { display: grid; gap: 12px; }
.plan-row { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 14px 16px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.plan-row, .chart-card, .stat, .toc-card { transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease); }
.plan-row:hover, .chart-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(47,125,50,.28); }
.plan-row strong { display: block; line-height: 1.25; }
.plan-row span { color: var(--ink-muted); font-size: .86rem; }
.plan-row b { color: var(--fpt-blue); font-size: 1.05rem; }

.hero-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; margin-top: 34px; }
.hero-kpi {
  position: relative; overflow: hidden; border-radius: 30px; padding: clamp(28px, 4vw, 46px);
  background: #fff; border: 1px solid rgba(47,125,50,.16); box-shadow: 0 24px 60px rgba(47,125,50,.14);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease), background .35s var(--ease);
}
.hero-kpi:hover { transform: translateY(-7px); box-shadow: 0 34px 80px rgba(47,125,50,.22); }
.hero-kpi--revenue { background: linear-gradient(135deg, #ffffff 0%, #fff8e8 52%, #eff8e8 100%); border: 2px solid rgba(242,163,58,.8); }
.hero-kpi--profit { border: 2px solid rgba(118,189,67,.72); background: linear-gradient(135deg, #ffffff 0%, #f0fae9 100%); }
.hero-kpi--cost { border: 2px solid rgba(242,163,58,.55); background: linear-gradient(135deg, #ffffff 0%, #fff6e5 100%); }
.hero-kpi--revenue { grid-column: 1 / 4; grid-row: 1; }
.hero-kpi--years { grid-column: 4 / 5; grid-row: 1; }
.hero-kpi--cost { grid-column: 1 / 3; grid-row: 2; }
.hero-kpi--profit { grid-column: 3 / 5; grid-row: 2; }
.hero-kpi::after { content: ""; position: absolute; right: -70px; bottom: -80px; width: 220px; height: 220px; border-radius: 50%; background: rgba(118,189,67,.14); }
.hero-kpi__label { color: var(--ink-soft); font-weight: 800; letter-spacing: .05em; text-transform: uppercase; font-size: .85rem; }
.hero-kpi__num { position: relative; z-index: 1; margin-top: 10px; font-size: clamp(2.4rem, 6vw, 5.2rem); font-weight: 800; line-height: .95; color: var(--fpt-blue); white-space: nowrap; letter-spacing: -.05em; }
.hero-kpi__num .unit { font-size: .34em; letter-spacing: 0; color: var(--fpt-orange); margin-left: 8px; }
.hero-kpi:not(.hero-kpi--revenue) .hero-kpi__num { font-size: clamp(2rem, 3.4vw, 3.1rem); letter-spacing: -.04em; }
.hero-kpi__desc { position: relative; z-index: 1; color: var(--ink-soft); margin-top: 16px; margin-bottom: 0; }
.hero-kpi--years { display: grid; place-content: center; text-align: center; background: var(--grad-hero); color: #fff; }
.hero-kpi--years .hero-kpi__num { color: #fff; }
.hero-kpi--years .hero-kpi__label, .hero-kpi--years .hero-kpi__desc { color: #d7ead2; }

.float-menu { position: fixed; left: 6px; top: 50%; transform: translateY(-50%); z-index: 90; display: none; }
.float-menu__rail { width: 34px; min-height: 46px; border-radius: 999px; background: rgba(255,255,255,.92); border: 1px solid rgba(47,125,50,.22); box-shadow: var(--shadow-md); backdrop-filter: blur(12px); overflow: hidden; transition: width .28s var(--ease), border-radius .28s var(--ease); }
.float-menu:hover .float-menu__rail { width: 260px; border-radius: 22px; }
.float-menu__trigger { width: 34px; height: 46px; display: grid; place-items: center; color: var(--fpt-blue); font-weight: 900; }
.float-menu__list { display: grid; gap: 4px; padding: 0 12px 14px; opacity: 0; transform: translateX(-8px); transition: opacity .2s, transform .2s; }
.float-menu:hover .float-menu__list { opacity: 1; transform: none; }
.float-menu__list a { padding: 8px 10px; border-radius: 10px; color: var(--ink-soft); font-weight: 700; font-size: .84rem; white-space: nowrap; }
.float-menu__list a:hover { background: var(--bg-soft); color: var(--fpt-blue); }

@media (min-width: 1180px) { .float-menu { display: block; } }

/* ---------- 8. Lưới điều hướng các phần ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  position: relative; display: block; background: var(--bg);
  border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px 28px;
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
}
.card::after {
  content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 100%;
  background: var(--grad-ai); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card:hover::after { transform: scaleX(1); }
.card__icon {
  width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center;
  background: var(--bg-soft); font-size: 1.6rem; margin-bottom: 18px;
}
.card h3 { font-size: 1.22rem; }
.card p { color: var(--ink-soft); font-size: .96rem; margin-bottom: 0; }
.card__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; color: var(--fpt-blue); font-weight: 600; font-size: .92rem; }
.card__more svg { transition: transform .3s; }
.card:hover .card__more svg { transform: translateX(4px); }

/* ---------- 9. Trụ cột chiến lược ---------- */
.pillars { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.pillar {
  border-radius: var(--r-lg); padding: 28px 22px; color: #fff; position: relative; overflow: hidden;
  min-height: 230px; display: flex; flex-direction: column; justify-content: flex-end;
  transition: transform .35s var(--ease);
}
.pillar:hover { transform: translateY(-6px); }
.pillar:nth-child(1) { background: linear-gradient(160deg,#0072bc,#003e66); }
.pillar:nth-child(2) { background: linear-gradient(160deg,#00a651,#00663a); }
.pillar:nth-child(3) { background: linear-gradient(160deg,#f37021,#a8400f); }
.pillar:nth-child(4) { background: linear-gradient(160deg,#7c3aed,#3b1d73); }
.pillar:nth-child(5) { background: linear-gradient(160deg,#0ea5b7,#0a5560); }
.pillar__k { font-size: 3rem; font-weight: 800; opacity: .25; position: absolute; top: 12px; right: 18px; }
.pillar h3 { font-size: 1.3rem; }
.pillar p { font-size: .9rem; opacity: .9; margin: 0; }

/* ---------- 10. Bảng dữ liệu ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-sm); }
table.data { width: 100%; border-collapse: collapse; min-width: 560px; font-size: .96rem; }
table.data th, table.data td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); }
table.data thead th { background: var(--bg-dark); color: #fff; font-weight: 600; white-space: nowrap; }
table.data tbody tr:nth-child(even) { background: var(--bg-soft); }
table.data tbody tr:hover { background: #eef4fb; }
table.data td.num, table.data th.num { text-align: right; font-variant-numeric: tabular-nums; }
table.data tfoot td { font-weight: 700; background: #eef4fb; border-top: 2px solid var(--fpt-blue); }
.delta-up { color: var(--fpt-green); font-weight: 700; }
.delta-down { color: #d6453a; font-weight: 700; }

/* ---------- 11. Biểu đồ ---------- */
.chart-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: start; }
.chart-card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; box-shadow: var(--shadow-sm); }
.chart-card h3 { font-size: 1.15rem; }
.chart-card .chart-box { position: relative; height: 320px; }

/* ---------- 12. Timeline ---------- */
.timeline { position: relative; padding-left: 32px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.tl-item { position: relative; padding-bottom: 30px; }
.tl-item::before { content: ""; position: absolute; left: -32px; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--bg); border: 3px solid var(--fpt-orange); }
.tl-item .yr { font-weight: 800; color: var(--fpt-blue); font-size: 1.05rem; }

/* ---------- 13. Trích dẫn ---------- */
.quote { display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: center; }
.quote__photo { width: 220px; height: 260px; border-radius: var(--r-lg); background: var(--grad-hero); display: grid; place-items: center; color: rgba(255,255,255,.4); font-size: 3rem; box-shadow: var(--shadow-md); }
.quote blockquote { margin: 0; font-size: clamp(1.2rem,2.4vw,1.6rem); font-weight: 500; line-height: 1.5; position: relative; }
.quote blockquote::before { content: "\201C"; font-size: 4rem; color: var(--fpt-orange); position: absolute; left: -8px; top: -34px; opacity: .35; }
.quote cite { display: block; margin-top: 18px; font-style: normal; font-weight: 700; color: var(--fpt-blue); }
.quote cite span { display: block; font-weight: 500; color: var(--ink-muted); font-size: .9rem; }

/* ---------- 14. Breadcrumb & page header ---------- */
.page-head { background: var(--grad-hero); color: #fff; padding: clamp(50px,8vw,90px) 0 clamp(40px,6vw,70px); }
.page-head h1 { font-size: clamp(1.9rem,4.5vw,3rem); }
.page-head p { color: #c5d4e3; max-width: 680px; margin: 0; }
.crumb { display: flex; gap: 8px; font-size: .85rem; color: #9fb3c6; margin-bottom: 18px; }
.crumb a:hover { color: #fff; }

/* ---------- 15. Footer ---------- */
.footer { background: var(--bg-dark); color: #9fb3c6; padding: 60px 0 30px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer a { display: block; padding: 5px 0; transition: color .2s; }
.footer a:hover { color: var(--fpt-orange); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .85rem; }

/* ---------- 16. Hiệu ứng scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }

/* ---------- 17. Responsive ---------- */
@media (max-width: 980px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .highlight-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .highlight-grid .stat:nth-child(n) { grid-column: span 1; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .toc-grid { grid-template-columns: repeat(2, 1fr); }
  .home-chart { grid-template-columns: 1fr; }
  .hero-kpis { grid-template-columns: 1fr; }
  .hero-kpi--revenue, .hero-kpi--years, .hero-kpi--cost, .hero-kpi--profit { grid-column: auto; grid-row: auto; }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .chart-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .quote { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .quote blockquote::before { display: none; }
}
@media (max-width: 760px) {
  .nav__toggle { display: block; }
  .nav__menu {
    position: fixed; inset: var(--nav-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; padding: 14px 20px 22px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
    transform: translateY(-130%); transition: transform .35s var(--ease); max-height: calc(100vh - var(--nav-h)); overflow-y: auto;
  }
  .nav.is-open .nav__menu { transform: none; }
  .nav__menu a { padding: 13px 14px; border-radius: var(--r-sm); }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; }
}
@media (max-width: 520px) {
  .stats { grid-template-columns: 1fr; }
  .highlight-grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .toc-grid { grid-template-columns: 1fr; }
  .hero-kpi__num { font-size: 2.8rem; }
  .pillars { grid-template-columns: 1fr; }
}

/* ---------- 18. Tinh chỉnh in ấn ---------- */
@media print {
  .nav, .footer, .hero__actions { display: none; }
  .section { padding: 20px 0; }
}
