@import url("https://fonts.googleapis.com/css2?family=Bai+Jamjuree:wght@400;500;600;700&display=swap");

:root {
  --navy: #203567;
  --navy-dark: #112347;
  --green: #8cc63f;
  --green-dark: #456a24;
  --ink: #203353;
  --muted: #526277;
  --paper: #f5f8f5;
  --line: #d7e1d8;
  --gold: #d79537;
  --radius: 24px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  margin: 0;
  font:
    16px/1.75 "Bai Jamjuree",
    Arial,
    sans-serif;
  color: var(--ink);
  background: var(--paper);
}
body.dialog-open {
  overflow: hidden;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select,
summary {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
  color: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
img,
svg {
  display: block;
  max-width: 100%;
}
p {
  margin: 0 0 20px;
}
h1,
h2,
h3,
h4 {
  margin: 0 0 20px;
  line-height: 1.25;
  letter-spacing: -0.035em;
  font-weight: 700;
}
h2 {
  font-size: clamp(30px, 3.1vw, 46px);
}
h3 {
  font-size: clamp(20px, 2vw, 27px);
}
h4 {
  font-size: 19px;
}
[hidden] {
  display: none !important;
}
:focus-visible {
  outline: 3px solid #527b2c;
  outline-offset: 5px;
}
.navy-zone :focus-visible {
  outline-color: #d1efab;
}
button:disabled {
  cursor: not-allowed;
  background: #dce4df !important;
  color: #4d5f55 !important;
  border-color: #9cab9f !important;
  box-shadow: none !important;
  animation: none !important;
}
.wrap {
  width: min(1220px, calc(100% - 64px));
  margin-inline: auto;
}
.section {
  padding: 100px 0;
  position: relative;
  overflow: clip;
}
.section-heading {
  max-width: 920px;
  margin: 0 auto 48px;
  text-align: center;
}
.section-heading .lead {
  max-width: 840px;
  margin: 24px auto 0;
}
.lead {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.85;
}
.center {
  text-align: center;
  margin-top: 42px;
}
.light-zone {
  background:
    radial-gradient(ellipse at 90% 5%, #e3edde 0%, transparent 45%),
    linear-gradient(145deg, #fff, #f1f6f2);
}
.navy-zone {
  background:
    radial-gradient(ellipse at 80% 30%, #45658b55, transparent 55%),
    linear-gradient(130deg, #112347, #203567 55%, #172d54);
  color: #fff;
}
.navy-zone p {
  color: #d8e3ef;
}
.orbital-light {
  position: absolute;
  width: 640px;
  height: 640px;
  border: 1px solid #ffffff0e;
  border-radius: 50%;
  right: -180px;
  top: 0;
  box-shadow:
    0 0 0 70px #ffffff03,
    0 0 0 140px #ffffff03;
  pointer-events: none;
}
.cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  min-height: 54px;
  padding: 16px 25px;
  border-radius: 14px;
  border: 1px solid #93be5a;
  background: var(--green);
  color: #15284d;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 700;
  box-shadow:
    0 9px 24px #20356712,
    inset 0 1px 0 #ffffff70;
  overflow: hidden;
  isolation: isolate;
}
.cta svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.cta-quiet {
  background: transparent;
  color: inherit;
  border-color: #aabdb3;
  box-shadow: none;
}
.cta:hover:not(:disabled) {
  background: #a9d56c;
  border-color: #5c8433;
  text-decoration: underline;
  text-underline-offset: 5px;
}
.cta:active:not(:disabled) {
  box-shadow:
    inset 3px 3px 7px #668f38,
    inset -3px -3px 7px #d2eca9;
}
.cta-quiet:hover:not(:disabled) {
  background: #ffffff12;
  border-color: currentColor;
}
.actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.icon-button {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid #8eaa9b;
  border-radius: 14px;
  background: #f5f8f4;
  color: var(--navy);
  font-size: 20px;
}
.icon-button:hover {
  background: #e0ecd8;
  border-color: var(--navy);
}
.icon-button svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}
.skip-link {
  position: fixed;
  top: 0;
  left: 15px;
  transform: translateY(-130%);
  padding: 10px 20px;
  background: var(--navy);
  color: #fff;
  z-index: 100;
}
.skip-link:focus {
  transform: none;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #f7f9fdee;
  backdrop-filter: blur(18px);
  border-bottom: 1px solid #c9d6ea80;
}
.header-inner {
  min-height: 86px;
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: space-between;
}
.logo {
  flex-shrink: 0;
}
.logo img {
  width: 120px;
  height: auto;
  border-radius: 4px;
}
.header-inner nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
}
.header-inner nav a {
  min-height: 44px;
  display: flex;
  align-items: center;
  position: relative;
}
.header-inner nav a:hover {
  color: var(--green-dark);
  text-decoration: underline;
  text-underline-offset: 7px;
}
.header-book {
  font-size: 11px;
  max-width: 330px;
  padding: 12px 16px;
  min-height: 48px;
  gap: 12px;
}
.header-book svg {
  width: 18px;
}
#menu-toggle {
  display: none;
}

/* Hero banner: shown at the image ratio (2500×1000) so nothing is cropped;
   CTAs are placed in % so they stay under the headline baked into the image. */
.hero {
  position: relative;
  overflow: hidden;
  background: #e6edf5;
  color: var(--navy);
  --hero-image: url("images/hero-banner.jpg");
}
.hero-media {
  aspect-ratio: 5 / 2;
  background-image: var(--hero-image, linear-gradient(120deg, #f3f6fa, #dbe5f0));
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-grid.wrap {
  position: absolute;
  z-index: 1;
  left: 7%;
  top: 71%;
  width: auto;
  max-width: none;
  margin: 0;
  padding: 0;
}
/* Mobile: ảnh dọc riêng (1080×1441); 2 CTA cùng một hàng, đặt giữa vùng trời trống của ảnh. */
@media (max-width: 640px) {
  .hero {
    --hero-image: url("images/hero-banner-mobile.jpg");
  }
  .hero-media {
    aspect-ratio: 1080 / 1441;
  }
  .hero-grid.wrap {
    left: 12px;
    right: 12px;
    top: 31%;
  }
  .hero .actions {
    flex-wrap: nowrap;
    justify-content: center;
    gap: 8px;
  }
  .hero .actions .cta {
    flex: 0 1 auto;
    min-height: 46px;
    padding: 10px 12px;
    gap: 8px;
    font-size: 10.5px;
    text-align: center;
  }
  .hero .actions .cta svg {
    width: 16px;
    height: 16px;
  }
  .hero .cta-quiet {
    background: #ffffffb3;
  }
}
@media (max-width: 400px) {
  .hero .actions .cta svg {
    display: none;
  }
}
/* 2 CTA hero co giãn theo bề ngang (ảnh hero tỷ lệ 5:2), giữ cân với chữ trong ảnh. */
.hero .cta {
  min-height: clamp(38px, 3.3vw, 72px);
  padding: clamp(8px, 0.85vw, 18px) clamp(14px, 1.5vw, 32px);
  gap: clamp(10px, 1.2vw, 24px);
  border-radius: clamp(10px, 0.9vw, 18px);
  font-size: clamp(10px, 0.88vw, 18px);
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}
.hero .actions {
  gap: clamp(10px, 1.1vw, 22px);
}
.hero .cta svg {
  width: clamp(16px, 1.3vw, 26px);
  height: clamp(16px, 1.3vw, 26px);
}
.hero .cta:hover:not(:disabled) {
  background: var(--navy-dark);
  border-color: var(--navy-dark);
}
.hero .cta:active:not(:disabled) {
  box-shadow:
    inset 3px 3px 7px #0b1733,
    inset -3px -3px 7px #3a5288;
}
.hero .cta-quiet {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
  box-shadow: none;
}
.hero .cta-quiet:hover:not(:disabled) {
  background: #20356712;
  border-color: var(--navy);
}
.hero .cta-quiet:active:not(:disabled) {
  box-shadow: inset 0 2px 6px #20356733;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.coin {
  display: block;
  position: relative;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 28%, #fff6d6, #efc864 18%, #c9952d 58%, #8f651c 100%);
  border: 2px solid rgba(131, 95, 19, 0.9);
  box-shadow:
    inset 0 0 0 4px rgba(252, 245, 212, 0.8),
    0 8px 16px rgba(82, 57, 12, 0.18);
}
.coin > span {
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(145, 102, 23, 0.95);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #6f4d12;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.05em;
}
/* 4 nỗi đau phổ biến: nền xanh nhạt, 4 thẻ kính có số tròn + minh hoạ người ở dưới. */
.pain-section {
  background:
    radial-gradient(ellipse at 8% 10%, #d7ebd0 0%, transparent 40%),
    radial-gradient(ellipse at 95% 90%, #dcecd3 0%, transparent 42%),
    linear-gradient(160deg, #f5faf2, #edf5ea);
}
.pain-badge {
  display: inline-block;
  margin: 0 0 18px;
  padding: 8px 26px;
  border: 1.5px solid #5f9a6e;
  border-radius: 999px;
  font-size: clamp(14px, 1.6vw, 20px);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #2f6e46;
  background: #ffffff8c;
}
.pain-section h2 {
  color: #164a35;
}
.pain-accent {
  color: #2f8a5b;
}
.pain-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.pain-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #d3e4d0;
  border-radius: 24px;
  background: linear-gradient(170deg, #ffffffd9, #f0f7ee);
  box-shadow: 0 16px 40px #2f6e4614;
  transition:
    translate 0.3s,
    box-shadow 0.3s;
}
.pain-card-head {
  display: flex;
  gap: 14px;
  padding: 22px 20px 0;
}
.pain-num {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #1f5e3f;
  color: #fff;
  font-size: 21px;
  font-weight: 800;
  box-shadow: 0 8px 18px #1f5e3f40;
}
.pain-card h3 {
  margin: 4px 0 0;
  font-size: 17px;
  line-height: 1.5;
  color: #164a35;
}
.pain-card h3 + p {
  margin-top: 8px;
}
.pain-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #4a5f52;
}
.pain-visual {
  position: relative;
  margin-top: auto;
  padding-top: 12px;
}
.pain-art {
  display: block;
  width: 100%;
  height: auto;
}
/* Ảnh người (vuông, nền trong suốt): có ảnh thì thay hình vẽ, hiện trọn ảnh không cắt. */
.pain-photo {
  display: none;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
}
.pain-visual.has-photo .pain-photo {
  display: block;
  animation: soft-fade 0.5s ease-out;
}
.pain-visual.has-photo .pain-art {
  display: none;
}
/* Nhãn nổi phủ lên ảnh người (chỉ hiện khi có ảnh). */
.pain-overlay {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  pointer-events: none;
}
.pain-visual.has-photo .pain-overlay {
  display: block;
}
.art-chip rect {
  fill: #fff;
  filter: drop-shadow(0 4px 6px #2f6e461f);
}
.art-chip circle {
  fill: #5f8f33;
}
.art-chip text,
.art-list text,
.art-note {
  font: 600 15px "Bai Jamjuree", sans-serif;
  fill: #2a4a36;
}
.art-list text {
  font-style: italic;
}
.art-q {
  font: 800 34px "Bai Jamjuree", sans-serif;
  fill: #2f8a5b;
}
@media (hover: hover) {
  .pain-card:hover {
    translate: 0 -6px;
    box-shadow: 0 24px 48px #2f6e4626;
  }
}
.bridge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin-top: 48px;
  padding: 28px 45px;
  border-block: 1px solid var(--line);
}
.bridge p {
  max-width: 830px;
  font-size: 23px;
  font-weight: 500;
  margin: 0;
}
.bridge-emblem {
  position: relative;
  flex-shrink: 0;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow:
    0 10px 24px #10204230,
    0 0 0 6px #d4a64a1a;
}
.bridge-emblem svg {
  display: block;
  width: 100%;
  height: 100%;
}
.bridge-emblem::after {
  content: "";
  position: absolute;
  inset: -20%;
  background: linear-gradient(115deg, transparent 40%, #fff6d855 50%, transparent 60%);
  transform: translateX(-80%);
  pointer-events: none;
}
.solution-section {
  position: relative;
  background:
    radial-gradient(ellipse at 15% 50%, rgba(211, 230, 198, 0.95), transparent 52%),
    linear-gradient(150deg, #edf5eb, #f8faf5);
}
.solution-intro {
  font-size: 23px;
  line-height: 1.65;
  max-width: 1090px;
  margin: 0 auto 65px;
  text-align: center;
}
.solution-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 480px) minmax(0, 1fr);
  grid-template-areas: "left stage right";
  align-items: center;
  gap: 36px;
}
.feature-col-left {
  grid-area: left;
}
.feature-col-right {
  grid-area: right;
}
.solution-grid .orbit-stage {
  grid-area: stage;
}
.feature-col {
  display: grid;
  gap: 18px;
}
.solution-intro strong {
  color: var(--navy);
  font-weight: 700;
}
.feature-card {
  display: grid;
  padding: 0;
  border: 1px solid #cfdcc8;
  border-radius: 18px;
  background: #ffffffb8;
  box-shadow: 0 10px 28px #36503310;
  transition:
    border-color 0.25s,
    box-shadow 0.25s,
    background-color 0.25s;
}
.feature-card h3 {
  margin: 0;
  font-size: 17px;
  line-height: 1.35;
}
/* Thẻ đặc điểm tĩnh: số bên trái, tiêu đề + mô tả bên phải; 4 thẻ cao bằng nhau. */
.feature-card {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 14px;
  padding: 20px 22px;
}
.feature-copy h3 {
  margin: 4px 0 6px;
  font-size: 17px;
  line-height: 1.35;
}
/* Desktop: 4 thẻ cùng chiều cao cố định để 2 cột thẳng hàng. */
@media (min-width: 1101px) {
  .solution-grid .feature-col {
    grid-auto-rows: 172px;
  }
  .solution-grid .feature-card {
    height: 100%;
  }
}
@media (max-width: 1100px) {
  .solution-section .solution-grid {
    row-gap: 16px;
  }
}
@media (max-width: 640px) {
  .solution-section .solution-grid {
    row-gap: 12px;
  }
  .feature-card {
    padding: 16px 18px;
  }
}
.feature-copy p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #3d4b63;
}
/* Box chỉ hiện số + tiêu đề; mô tả ẩn, rê chuột (máy có chuột) hoặc bấm/chạm vào box mới trượt ra. */
.solution-grid .feature-card {
  align-content: center;
  cursor: pointer;
}
.feature-copy p {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition:
    max-height 0.4s ease,
    opacity 0.3s ease;
}
.feature-card.is-open .feature-copy p {
  max-height: 160px;
  opacity: 1;
}
.feature-card.is-open {
  border-color: #7f9bcf;
  box-shadow: 0 16px 36px #2035671f;
}
.feature-card.is-open .feature-number {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}
@media (hover: hover) and (pointer: fine) {
  .feature-card:is(:hover, :focus-visible) .feature-copy p {
    max-height: 160px;
    opacity: 1;
  }
  .feature-card:is(:hover, :focus-visible) {
    border-color: #7f9bcf;
    box-shadow: 0 16px 36px #2035671f;
  }
}
.feature-number {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #eef3fb;
  border: 1px solid #8ea4cc;
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
  transition: background-color 0.25s, border-color 0.25s;
}
.feature-card.is-active {
  border-color: #8eaa77;
  background: #fff;
  box-shadow: 0 16px 36px #36503322;
}
.feature-card.is-active .feature-number {
  background: var(--green);
  border-color: var(--green-dark);
}

/* 02 hình thức đầu tư linh hoạt. */
.flex-plans {
  margin-top: 70px;
}
.flex-plans-title {
  margin: 0 0 28px;
  text-align: center;
  font-size: clamp(24px, 3vw, 34px);
}
/* Một box chung, 2 hình thức xếp dọc, ngăn bằng đường kẻ; chỉ hiển thị thông tin. */
.flex-plans-box {
  max-width: 980px;
  margin: 0 auto;
  border: 1px solid #cfdcc8;
  border-radius: 24px;
  background: #ffffffc9;
  box-shadow: 0 16px 40px #36503314;
}
.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 30px 34px;
}
.plan-card + .plan-card {
  border-top: 1px dashed #c3d3ba;
}

.plan-card-number {
  position: absolute;
  top: 18px;
  right: 24px;
  font-size: 46px;
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px #9fb3d6;
}
.plan-card h4 {
  margin: 0;
  padding-right: 60px;
  font-size: 21px;
  color: var(--navy);
}
.plan-card > p {
  margin: 0;
  font-size: 15px;
  color: #405545;
}
.plan-goals {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}
/* Mục tiêu của gói nạp định kỳ: ô vuông, icon ở trên, tên ở dưới. */
.plan-goals {
  grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
}
.plan-goals li {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 18px 8px 14px;
  border: 1px solid #d3e0cb;
  border-radius: 18px;
  background: #f6f9f3;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  text-align: center;
}
.plan-goals .goal-icon {
  width: 58px;
}
.plan-strategies {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.plan-strategies .goal-icon {
  width: 44px;
}
.plan-strategies li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 14px;
  border: 1px solid #d3e0cb;
  border-radius: 16px;
  background: #f6f9f3;
}
.plan-strategies div {
  display: grid;
  gap: 2px;
  font-size: 13.5px;
  color: #405545;
}
.plan-strategies strong {
  font-size: 16px;
  color: var(--ink);
}
.plan-card .goal-icon {
  flex-shrink: 0;
  border-width: 2px;
  box-shadow: 0 0 0 1px #c7d6be;
}

.plan-strategy-rate {
  margin: 0;
  font-size: 14px;
  color: #405545;
}
.plan-strategy-rate b {
  color: var(--green-dark);
}
.orbit-stage {
  position: relative;
  width: min(540px, 100%);
  aspect-ratio: 1;
  margin-inline: auto;
  container-type: inline-size;
  background: radial-gradient(circle at center, rgba(154, 198, 87, 0.2), transparent 62%);
  border-radius: 50%;
}
.orbit-system {
  position: absolute;
  inset: 0;
  transform: rotate(var(--orbit-turn, 0deg));
  transition: transform 0.25s ease;
}
.orbit-ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.ring-inner {
  inset: 25%;
  border: 1px solid #90b48299;
  box-shadow: 0 0 0 3.5cqw #9dbc8812;
}
.orbit-track {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.orbit-goal {
  position: absolute;
  left: var(--x);
  top: var(--y);
  translate: -50% -50%;
  pointer-events: auto;
  padding: 0;
  border: 0;
  background: none;
  color: var(--navy);
  cursor: pointer;
}
.orbit-upright {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8cqw;
  transform: rotate(calc(-1 * var(--orbit-turn, 0deg)));
  transition: transform 0.25s ease;
}
/* Icon mục tiêu: khung tròn kính sáng, icon nét theo màu riêng của từng mục tiêu. */
.goal-icon {
  display: grid;
  place-items: center;
  width: clamp(36px, 14.5cqw, 80px);
  aspect-ratio: 1;
  border-radius: 50%;
  color: var(--accent);
  background:
    radial-gradient(circle at 32% 25%, #fff, transparent 62%),
    linear-gradient(145deg, #fbfdf9, #e3edda);
  border: 3px solid #fff;
  box-shadow:
    0 0 0 1px #a0b697,
    6px 8px 18px #536e5133;
  transition: box-shadow 0.25s, scale 0.25s;
}
.goal-icon svg {
  width: 64%;
  height: 64%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.goal-icon .fill {
  fill: currentColor;
  fill-opacity: 0.18;
}
.orbit-goal .orbit-upright > span {
  font-size: clamp(9px, 2.3cqw, 13px);
  font-weight: 700;
  padding: 1px 7px;
  background: #ffffffe6;
  border-radius: 999px;
  white-space: nowrap;
}
.orbit-goal[aria-pressed="true"] .goal-icon {
  box-shadow:
    0 0 0 3px var(--green),
    6px 8px 18px #536e5140;
}
.orbit-goal[aria-pressed="true"] .orbit-upright > span {
  background: var(--navy);
  color: #fff;
}

.orbit-goal:focus-visible {
  outline: none;
}
.orbit-goal:focus-visible .goal-icon {
  outline: 3px solid var(--navy);
  outline-offset: 3px;
}
.orbit-center {
  position: absolute;
  inset: 36%;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, #ffffff, #d8e9ca);
  border: 1px solid rgba(82, 116, 80, 0.5);
  box-shadow:
    12px 18px 30px #66816d33,
    inset 1px 1px 5px #fff;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 0.6cqw;
  text-align: center;
  pointer-events: none;
}
.orbit-target {
  width: 38%;
  fill: none;
  stroke: var(--green-dark);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.orbit-target circle:last-of-type {
  fill: var(--green);
}
.orbit-center .orbit-icon {
  width: 46%;
  border-width: 0;
  background: none;
  box-shadow: none;
}
.orbit-center strong {
  position: relative;
  max-width: 80%;
  font-size: clamp(10px, 2.4cqw, 14px);
  line-height: 1.25;
  color: var(--navy);
}
.orbit-center.has-goal .orbit-target {
  display: none;
}
@media (hover: hover) and (pointer: fine) {
  .orbit-goal:hover .goal-icon {
    scale: 1.08;
  }

}
@media (max-width: 640px) {
  .orbit-stage {
    margin-bottom: 34px;
  }
  .orbit-goal .goal-icon {
    border-width: 2px;
  }
}
summary::-webkit-details-marker {
  display: none;
}
.expand-icon {
  width: 18px;
  height: 18px;
  margin-left: auto;
  flex-shrink: 0;
  position: relative;
}
.expand-icon::before,
.expand-icon::after {
  content: "";
  position: absolute;
  background: currentColor;
  width: 12px;
  height: 1.5px;
  top: 8px;
  left: 3px;
}
.expand-icon::after {
  transform: rotate(90deg);
}
details[open] > summary .expand-icon::after {
  transform: none;
}

.glass-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  font-size: 29px;
  color: var(--green-dark);
  background: linear-gradient(135deg, #fff, #d7e5cf);
  border: 1px solid #b1c4a3;
  border-radius: 17px;
  box-shadow: 4px 5px 9px #a7b59d33;
}

/* Tiêu đề section Mô hình luôn nằm trên một dòng: cỡ chữ co theo độ rộng khung. */
#model .section-heading {
  max-width: 1000px;
  container-type: inline-size;
}
#model .section-heading h2 {
  white-space: nowrap;
  font-size: min(46px, 4.6cqi);
}
/* Section Mô hình: 3 khối xếp dọc — giới thiệu, 04 lớp tài sản, 03 tầng quản trị. */
.model-block {
  margin-top: 28px;
  padding: 36px;
  border: 1px solid #ffffff26;
  border-radius: 26px;
  background: #ffffff07;
}
.model-block h3 {
  font-size: 24px;
  margin-bottom: 10px;
}
.model-block-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: end;
  margin-bottom: 28px;
}
.model-block-head h3,
.model-block-head p {
  margin: 0;
}
.model-block-head p {
  font-size: 15px;
  color: #d3deec;
}
.asset-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.asset-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px 24px;
  background: linear-gradient(160deg, #ffffff14, #ffffff04);
  border: 1px solid #7894aa70;
  border-radius: 20px;
  color: #fff;
  overflow: hidden;
  transition: border-color 0.25s, background-color 0.25s;
}
.asset-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent 75%);
  opacity: 0.8;
}
.asset-num {
  position: absolute;
  top: 14px;
  right: 20px;
  font-size: 46px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1px #ffffff38;
}
.asset-icon {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  margin-bottom: 10px;
  border-radius: 18px;
  color: var(--accent);
  background:
    radial-gradient(circle at 30% 25%, #ffffff26, transparent 60%),
    linear-gradient(145deg, #ffffff1c, #ffffff06);
  border: 1px solid #ffffff30;
  box-shadow:
    inset 0 1px 0 #ffffff30,
    0 12px 26px #07162d40;
  transition: box-shadow 0.3s, translate 0.3s;
}
.asset-icon svg {
  width: 40px;
  height: 40px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.asset-icon .fill {
  fill: currentColor;
  fill-opacity: 0.28;
}
.asset-card h4 {
  font-size: 18px;
  letter-spacing: 0.01em;
  margin: 0;
}
.asset-card p {
  font-size: 14px;
  line-height: 1.65;
  color: #dbe4f1;
  margin: 0;
}
@media (hover: hover) {
  .asset-card:hover {
    border-color: var(--accent);
    background-color: #ffffff08;
  }
  .asset-card:hover .asset-icon {
    box-shadow:
      inset 0 1px 0 #ffffff30,
      0 0 0 6px #ffffff0d,
      0 14px 30px #07162d55;
  }
}
/* 03 tầng quản trị: kim tự tháp 3 tầng hình thang, mỗi tầng đi kèm thẻ thông tin bên phải. */
.pyramid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 56px;
  align-items: center;
}
/* Đường nối tầng → thẻ: nằm trên kim tự tháp, dưới các thẻ; không nhận chuột. */
.pyr-links {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  z-index: 1;
}
.pyr-link path {
  fill: none;
  stroke: var(--accent);
  stroke-linecap: round;
  stroke-linejoin: round;
}
.pyr-link-base {
  stroke-width: 1.2;
  stroke-opacity: 0.35;
  stroke-dasharray: 2 6;
}
/* Nét chính vẽ ra từ tháp tới thẻ khi tầng được chọn và rút về khi bỏ chọn. */
.pyr-link-draw {
  stroke-width: 2;
  stroke-dasharray: 1 1;
  stroke-dashoffset: 1;
  filter: drop-shadow(0 0 4px var(--accent));
  transition: stroke-dashoffset 0.75s cubic-bezier(0.45, 0, 0.2, 1);
}
.pyr-link.is-active .pyr-link-draw {
  stroke-dashoffset: 0;
}
.pyr-link-flow {
  stroke: #fff !important;
  stroke-width: 3.5;
  stroke-dasharray: 0.08 0.92;
  opacity: 0;
}
.pyr-link-start,
.pyr-link-end {
  transform-box: fill-box;
  transform-origin: center;
  transition:
    opacity 0.4s,
    fill 0.4s;
}
.pyr-link-start {
  fill: var(--accent);
  stroke: #fff;
  stroke-width: 1.5;
  opacity: 0.55;
}
.pyr-link-end {
  fill: #172b55;
  stroke: var(--accent);
  stroke-width: 1.5;
  opacity: 0.55;
}
.pyr-link.is-active :is(.pyr-link-start, .pyr-link-end) {
  opacity: 1;
}
.pyr-link.is-active .pyr-link-end {
  fill: var(--accent);
  transition-delay: 0.55s;
}
/* Mobile: thẻ xếp dưới tháp, chỉ hiện đường nối của tầng đang chọn cho gọn. */
.links-stacked .pyr-link {
  transition: opacity 0.35s;
}
.links-stacked .pyr-link:not(.is-active) {
  opacity: 0;
}
/* Khung vuông 1:1 chứa kim tự tháp SVG. */
.pyramid-art {
  position: relative;
  z-index: 0;
  aspect-ratio: 1;
  width: 100%;
  max-width: 520px;
  justify-self: center;
}
.pyramid-tiers {
  position: absolute;
  inset: 0;
}
.layer-panels {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 12px;
}
/* Kim tự tháp SVG. */
.pyramid-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.pyr-tier {
  transform-box: view-box;
  transform-origin: 50% 94%;
  filter: saturate(0.72) brightness(0.84);
  transition: filter 0.45s;
}
.pyr-tier.is-active {
  filter: drop-shadow(0 0 14px #ffffff40);
}
.pyr-shine {
  fill: #fff;
  opacity: 0;
}
.pyr-edge {
  fill: none;
  stroke: #ffffffa0;
  stroke-width: 1.4;
  stroke-linejoin: round;
}
.pyr-ridge {
  stroke: #ffffffc0;
  stroke-width: 1.6;
  stroke-linecap: round;
}
.pyr-star {
  fill: #f7e3a3;
}
/* Vùng bấm trong suốt phủ đúng từng tầng. */
.pyramid-layer {
  position: absolute;
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: transparent;
  font-size: 0;
  cursor: pointer;
}
.pyramid-layer:focus-visible {
  outline: 2px dashed #d1efab;
  outline-offset: 2px;
}
.layer-panel {
  position: relative;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 10px 18px;
  align-content: center;
  padding: 20px 24px;
  border: 1px solid #ffffff26;
  border-radius: 18px;
  background: linear-gradient(160deg, #ffffff12, #ffffff04);
  overflow: hidden;
  transition:
    border-color 0.4s,
    background-color 0.4s,
    box-shadow 0.4s;
}
.layer-panel::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--accent);
  opacity: 0.35;
  transition: opacity 0.4s;
}
.layer-panel .asset-icon {
  width: 56px;
  height: 56px;
  margin: 0;
  border-radius: 16px;
}
.layer-panel .asset-icon svg {
  width: 32px;
  height: 32px;
}
.layer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 12px;
}
.layer-meta h4 {
  flex-basis: 100%;
  font-size: 17px;
  margin: 0;
}
.layer-english {
  font-size: 13px;
  color: #c4d2e4;
  margin: 0;
}
.period {
  display: inline-block;
  padding: 2px 10px;
  border: 1px solid var(--accent, #a8c77d);
  color: var(--accent, #d0e8b3);
  border-radius: 999px;
  font-size: 11px;
}
.layer-body {
  grid-column: 2;
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: #dbe4f1;
}
.layer-panel.is-active {
  border-color: var(--accent);
  background-color: #ffffff0a;
  box-shadow: 0 16px 36px #07162d45;
}
.layer-panel.is-active::before {
  opacity: 1;
}
/* Hiệu quả đầu tư: xếp dọc — tiêu đề + mô tả căn giữa ở trên, biểu đồ trải hết bề ngang bên dưới. */
.backtest-grid {
  display: grid;
  gap: 36px;
}
.backtest-grid > .reveal:first-child {
  max-width: 860px;
  margin-inline: auto;
  text-align: center;
}
.backtest-grid h2 {
  margin-bottom: 16px;
}
.backtest-grid .lead {
  margin: 0;
}
/* Biểu đồ backtest là ảnh thiết kế sẵn (images/backtest-hieu-suat.png); bấm vào để xem cỡ lớn. */
.backtest-figure {
  margin: 0;
}
.backtest-zoom {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 18px;
  background: none;
  cursor: zoom-in;
  box-shadow: 0 24px 60px #0a1f4426;
}
.backtest-zoom img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
}
.backtest-zoom .icon-button {
  position: absolute;
  top: 14px;
  right: 14px;
  pointer-events: none;
}
.backtest-zoom:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 4px;
}
#image-dialog {
  width: min(1400px, calc(100% - 28px));
  padding: 64px 20px 20px;
  background: #0b2748;
  border-color: #0b2748;
}
#image-dialog .close {
  background: #fff;
}
.backtest-full {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}
/* Điện thoại: thay ảnh bằng biểu đồ thanh ngang cùng phong cách (nền navy, cột AAS trắng),
   chiều dài thanh đúng tỷ lệ trên thang 0–300%. */
.backtest-mobile {
  display: none;
}
@media (max-width: 700px) {
  .backtest-zoom {
    display: none;
  }
  .backtest-mobile {
    display: block;
    padding: 20px 16px 18px;
    border-radius: 16px;
    background: #0b2748;
    color: #fff;
    box-shadow: 0 18px 40px #0a1f4426;
  }
  .backtest-mobile p {
    margin: 0;
  }
  .btm-title {
    font-size: 17px;
    font-weight: 800;
    line-height: 1.3;
  }
  .btm-sub {
    margin-top: 4px !important;
    color: #c9d6ea;
    font-size: 13px;
  }
  .btm-bars {
    display: grid;
    gap: 9px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
  }
  .btm-bars li {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) 48px;
    align-items: center;
    gap: 8px;
    font-size: 12px;
  }
  .btm-name {
    color: #dbe4f1;
  }
  .btm-track {
    height: 14px;
    border-radius: 3px;
    background: #ffffff0f;
    overflow: hidden;
  }
  .btm-track i {
    display: block;
    height: 100%;
    border-radius: 3px;
    background: #646f8c;
  }
  .btm-bars b {
    color: #fff;
    text-align: right;
  }
  .btm-bars .is-aas .btm-track i {
    background: #eaf3fc;
  }
  .btm-bars .is-aas :is(.btm-name, b) {
    color: #fff;
    font-weight: 800;
  }
  .btm-note {
    margin-top: 14px !important;
    color: #c9d6ea;
    font-size: 11.5px;
    font-style: italic;
    line-height: 1.5;
  }
  .btm-note + .btm-note {
    margin-top: 4px !important;
  }
  .btm-zoom {
    margin-top: 16px;
    padding: 9px 14px;
    border: 1px solid #ffffff55;
    border-radius: 999px;
    background: none;
    color: #fff;
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: zoom-in;
  }
  .btm-zoom:focus-visible {
    outline: 3px solid var(--green);
    outline-offset: 3px;
  }
}
.backtest-hint {
  display: none;
}
@media (max-width: 700px) {
  .backtest-zoom,
  .backtest-zoom img {
    border-radius: 12px;
  }
  .backtest-zoom .icon-button {
    top: 6px;
    right: 6px;
    width: 34px;
    height: 34px;
    font-size: 15px;
  }
  /* Popup trên điện thoại: ảnh giữ cỡ đọc được, vuốt ngang để xem hết. */
  #image-dialog {
    padding: 60px 0 16px;
  }
  .backtest-hint {
    display: block;
    margin: 0 16px 10px;
    color: #c9d6ea;
    font-size: 13px;
  }
  .backtest-scroll {
    overflow-x: auto;
    padding: 0 16px 8px;
    -webkit-overflow-scrolling: touch;
  }
  .backtest-full {
    width: 1100px;
    max-width: none;
  }
}
.periods {
  padding: 18px 22px;
  border-left: 3px solid var(--green);
  background: #e8f0e4;
  border-radius: 0 12px 12px 0;
}
.periods p {
  margin: 0;
  font-size: 14px;
}
.notice {
  margin: 35px 0 0;
  padding: 20px 24px;
  border: 1px solid #ccd9c2;
  background: #edf3e7;
  color: #445839;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.8;
}
.comparison-section {
  background: linear-gradient(120deg, #e8efe5, #f4f8f1);
}
.table-scroll {
  overflow: auto;
  border: 1px solid #c3d1bd;
  border-radius: 23px;
  background: #fff;
  box-shadow: 0 15px 45px #20356709;
}
table {
  width: 100%;
  border-collapse: collapse;
  min-width: 800px;
  font-size: 14px;
}
th,
td {
  text-align: left;
  padding: 23px 25px;
  border-bottom: 1px solid #dce5d6;
  min-width: 140px;
}
thead th {
  background: #eaf0e7;
  font-weight: 600;
}
thead th:last-child {
  background: var(--navy);
  color: #fff;
}
td:last-child {
  background: #eff5e8;
  font-weight: 500;
}
tbody tr:last-child > * {
  border-bottom: 0;
}
.compound-section {
  background:
    radial-gradient(ellipse at 76% 24%, #dcecca, transparent 50%), #f9fbf7;
}
.compound-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}
.compound-factors h3 {
  font-size: 24px;
}
.compound-factors article {
  display: flex;
  gap: 22px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.compound-factors h4 {
  margin-bottom: 12px;
  font-size: 17px;
}
.compound-factors p {
  margin: 0;
  font-size: 15px;
}
.factor-orb {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  color: var(--green-dark);
  background: linear-gradient(130deg, #fff, #d8e7cb);
  border: 1px solid #b9cdac;
  box-shadow: 4px 7px 13px #4f774421;
  border-radius: 14px;
}
.factor-orb svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.factor-orb .fill {
  fill: currentColor;
  fill-opacity: 0.2;
}
/* Minh hoạ lãi kép: thẻ trắng, cột chồng phẳng (vốn góp navy + lợi nhuận tái đầu tư xanh nhạt). */
.compound-art {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 24px 24px 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 18px 40px #0a1f4414;
}
.cc-head {
  display: grid;
  gap: 4px;
}
.cc-head strong {
  color: var(--navy);
  font-size: 17px;
}
.cc-head span {
  color: var(--muted);
  font-size: 14px;
}
.cc-plot {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 8px;
  height: 230px;
  padding-top: 6px;
  border-bottom: 1px solid #b9c6da;
  background: repeating-linear-gradient(to top, transparent 0 calc(25% - 1px), #e6ecf5 calc(25% - 1px) 25%);
}
.cc-col {
  position: relative;
  display: grid;
}
.cc-stack {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  transform-origin: bottom;
}
.cc-gain {
  border-radius: 4px 4px 0 0;
  background: #9dbbe8;
}
.cc-cap {
  background: var(--navy);
}
.cc-col small {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}
.cc-axis {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}
.cc-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--ink);
  font-size: 13px;
}
.cc-legend li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.cc-legend li::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: var(--navy);
}
.cc-legend .is-gain::before {
  background: #9dbbe8;
}
.cc-note {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-style: italic;
}
@media (max-width: 560px) {
  .compound-art {
    padding: 20px 16px 16px;
  }
  .cc-plot {
    gap: 5px;
    height: 190px;
  }
}
/* Ví dụ cổ phiếu: xếp dọc — câu hỏi + mô tả căn trái ở trên, biểu đồ dài hết box bên dưới. */
.stock-area {
  display: grid;
  gap: 20px;
  margin-top: 50px;
  border: 1px solid #c4d5bb;
  background: #ffffff85;
  border-radius: 24px;
  padding: 30px 32px;
}
.stock-intro > p {
  margin-bottom: 0;
}
.stock-area h3 {
  font-size: 19px;
  line-height: 1.4;
  margin-bottom: 8px;
}
.stock-intro > p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 18px;
}
.stock-comparison {
  display: grid;
  gap: 14px;
  padding: 20px 22px;
  border-radius: 16px;
  background: #f4f8f0;
  border: 1px solid #d3e0cb;
}
.stock-caption {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0 0 2px;
  font-size: 13px;
}
.stock-caption strong {
  font-size: 18px;
}
.stock-caption span {
  color: var(--muted);
}
.stock-caption b {
  margin-left: auto;
  font-size: 18px;
  color: var(--green-dark);
}
.stock-rate {
  margin: -6px 0 2px;
  font-size: 13px;
  color: var(--muted);
}
.stock-rate b {
  color: var(--green-dark);
  font-size: 15px;
}
.stock-dots {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}
.stock-dots button {
  width: 34px;
  height: 18px;
  padding: 7px 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.stock-dots i {
  display: block;
  height: 4px;
  border-radius: 2px;
  background: #cfdcc8;
  overflow: hidden;
  position: relative;
}
.stock-dots i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--green-dark);
  transform: scaleX(0);
  transform-origin: left;
}
.stock-dots [aria-pressed="true"] i::after {
  transform: scaleX(1);
}
.stock-dots button:hover i {
  background: #b4c9a6;
}
/* Biểu đồ đường trong hộp cổ phiếu: vốn ban đầu (nét đứt) và giá trị theo mốc 5 năm. */
.stock-chart {
  width: 100%;
  height: auto;
  overflow: visible;
}
.stock-chart text {
  font: 600 10px "Bai Jamjuree", sans-serif;
  fill: #5f735a;
}
.stock-grid path {
  stroke: #d6e2cf;
}
.stock-capital {
  fill: none;
  stroke: #42648b;
  stroke-width: 2;
  stroke-dasharray: 5 5;
}
.stock-value {
  fill: none;
  stroke: #5f8f33;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1 1;
}
.stock-marks circle {
  fill: #fff;
  stroke: #5f8f33;
  stroke-width: 2;
}
.stock-marks circle.is-last {
  fill: #5f8f33;
}
.stock-marks text {
  font-size: 10.5px;
  fill: #35571f;
}
.stock-marks text.is-last {
  font-size: 13px;
  font-weight: 700;
}
.stock-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 16px;
  font-size: 12px;
  color: var(--muted);
}
.stock-legend span::before {
  display: inline-block;
  width: 18px;
  margin-right: 6px;
  vertical-align: middle;
  content: "";
  border-top: 3px solid #5f8f33;
}
.stock-legend .is-capital::before {
  border-top: 2px dashed #42648b;
}
.stock-legend b {
  color: var(--ink);
  font-size: 14px;
}
/* 5 bước: nền trắng, nút số tròn có đuôi nhọn, màu nhạt dần từ bước 1 (navy đậm) tới bước 5 (--tone). */
.steps-section {
  overflow: hidden;
  background: #fff;
}
#steps .section-heading h2 {
  text-wrap: balance;
}
/* Đường lượn sóng ngang nối 5 nút số; tên bước nằm dưới nút. */
.steps-flow {
  position: relative;
  height: 290px;
}
.steps-wave {
  position: absolute;
  inset: 0 0 auto;
  width: 100%;
  height: 200px;
  overflow: visible;
}
.wave-base {
  fill: none;
  stroke: #b9c6da;
  stroke-width: 2;
  stroke-dasharray: 6 8;
  vector-effect: non-scaling-stroke;
}
.wave-flow {
  display: none;
  fill: none;
  stroke: #3f70bf;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 0.06 0.94;
  vector-effect: non-scaling-stroke;
}
.steps-grid {
  list-style: none;
  margin: 0;
  padding: 0;
}
.step-node {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 190px;
  translate: -50% -32px;
  display: grid;
  justify-items: center;
  text-align: center;
  z-index: 1;
}
.step-node:is(:hover, :focus-within, .is-open) {
  z-index: 5;
}
.step-token {
  position: relative;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, color-mix(in srgb, var(--tone) 62%, #fff), var(--tone) 70%);
  color: #fff;
  font-size: 24px;
  font-weight: 800;
  cursor: pointer;
  box-shadow:
    inset 0 0 0 3px #fff,
    0 0 0 5px color-mix(in srgb, var(--tone) 16%, transparent),
    0 10px 22px #0a1f4430;
  transition:
    scale 0.25s,
    box-shadow 0.25s;
}
/* Đuôi nhọn dưới nút số, chỉ xuống tên bước. */
.step-token::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  translate: -50% 0;
  border: 8px solid transparent;
  border-top-color: var(--tone);
  border-bottom: 0;
}
.step-node:is(:hover, :focus-within, .is-open) .step-token {
  scale: 1.08;
  box-shadow:
    inset 0 0 0 3px #fff,
    0 0 0 8px color-mix(in srgb, var(--tone) 22%, transparent),
    0 14px 28px #0a1f4440;
}
.step-name {
  margin: 16px 0 0;
  font-size: 15px;
  line-height: 1.4;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0;
}
/* Thẻ chi tiết: ẩn, hiện khi rê chuột / focus / chạm vào bước. */
.step-detail {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  width: 260px;
  translate: -50% 6px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--tone);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 40px #0a1f4422;
  text-align: left;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.25s,
    translate 0.25s,
    visibility 0.25s;
}
.step-detail::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 50%;
  width: 12px;
  height: 12px;
  translate: -50% 0;
  rotate: 45deg;
  background: var(--tone);
}
.step-node:first-child .step-detail {
  left: 0;
  translate: 0 6px;
}
.step-node:first-child .step-detail::before {
  left: 95px;
}
.step-node:last-child .step-detail {
  left: auto;
  right: 0;
  translate: 0 6px;
}
.step-node:last-child .step-detail::before {
  left: auto;
  right: 89px;
}
.step-node:is(:hover, :focus-within, .is-open) .step-detail {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  translate: -50% 0;
}
.step-node:first-child:is(:hover, :focus-within, .is-open) .step-detail,
.step-node:last-child:is(:hover, :focus-within, .is-open) .step-detail {
  translate: 0 0;
}
.step-detail p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: #4b5a70 !important;
}

/* Planner: sheet 16 is intentionally isolated as a demo module. */
.planner-section {
  background:
    radial-gradient(ellipse at 15% 70%, #dcecca, transparent 55%), #f4f8f1;
}
/* Thanh khôi phục lần nhập trước (dữ liệu lưu trên trình duyệt). */

/* Ô nhập mô phỏng: ghi chú điều kiện, ô vi phạm được tô viền đỏ. */

/* Chưa đủ điều kiện: ẩn kết quả, liệt kê lý do và gợi ý. */

/* Chưa nhập gì: số liệu minh hoạ hiển thị mờ, chưa cho xác nhận. */

label {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 20px 0 8px;
  font-size: 14px;
  font-weight: 600;
}
input:not([type="radio"]):not([type="range"]),
select {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #859c7d;
  border-radius: 12px;
  background: #f6f9f3;
  color: var(--ink);
  font-size: 16px;
}
input[type="range"] {
  width: 100%;
  min-height: 28px;
  accent-color: #547c34;
}

.error {
  color: #a12f29;
  font-size: 14px;
  padding: 12px 15px;
  margin: 15px 0;
  background: #fff2ed;
  border-left: 3px solid #a12f29;
  border-radius: 8px;
}
.error:empty {
  display: none;
}

.carousel-heading .section-heading {
  text-align: left;
  margin: 0 0 35px;
  max-width: 890px;
}
.carousel-heading .lead {
  margin-left: 0;
}
.experts-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  padding: 5px 2px 25px;
}
/* Thẻ chuyên gia: ảnh tròn viền ở trên, tên + chức vụ + mô tả căn giữa bên dưới. */
.expert-card {
  flex: 0 0 calc((100% - 24px * 2) / 3);
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  scroll-snap-align: start;
  padding: 30px 26px 28px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 24px;
  text-align: center;
}
.portrait {
  position: relative;
  display: grid;
  place-items: center;
  width: 150px;
  aspect-ratio: 1;
  flex-shrink: 0;
  overflow: hidden;
  border: 4px solid #fff;
  border-radius: 50%;
  background: linear-gradient(145deg, #dbe5f4, #aebfdc);
  box-shadow:
    0 0 0 2px #c9d6ea,
    0 14px 30px #20356726;
}
.portrait img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 12%;
}
/* Có ảnh thì ẩn chữ viết tắt (ảnh nền trong suốt). */
.portrait:has(img) .portrait-initials {
  visibility: hidden;
}
.portrait-initials {
  font-size: 40px;
  font-weight: 700;
  color: var(--navy);
}
.expert-copy {
  padding: 20px 0 0;
}
.expert-copy h3 {
  font-size: 20px;
  margin-bottom: 8px;
}
.expert-copy p {
  font-size: 14px;
  line-height: 1.65;
  margin-bottom: 0;
}
.expert-role {
  font-weight: 600;
  color: var(--green-dark);
  margin-bottom: 12px !important;
}
.carousel-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 6px;
}
.carousel-dots {
  display: flex;
  gap: 4px;
}
.carousel-dots button {
  width: 30px;
  height: 24px;
  padding: 10px 2px;
  border: 0;
  background: none;
  cursor: pointer;
}
.carousel-dots i {
  display: block;
  height: 4px;
  border-radius: 2px;
  background: #cfdcc8;
  transition: background-color 0.3s;
}
.carousel-dots .in-view i {
  background: #9fb78f;
}
.carousel-dots [aria-pressed="true"] i {
  background: var(--green-dark);
}
.faq-section {
  background: linear-gradient(130deg, #e9f0e3, #f8faf4);
}
.faq-grid {
  display: grid;
  gap: 36px;
}
.faq-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
}
.faq-heading h2 {
  margin: 0;
}
/* Danh sách câu hỏi đánh số, không dấu cộng. Desktop: câu trả lời hiện ở khung bên phải. */
.faq-heading h2 {
  font-size: 37px;
}
.faq-heading > .cta {
  margin-top: 0;
}
.faq-list {
  position: relative;
  display: grid;
  gap: 8px;
}
.faq-item summary {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 18px;
  border: 1px solid transparent;
  border-radius: 14px;
  list-style: none;
  font-weight: 500;
  line-height: 1.5;
  cursor: pointer;
  transition:
    background-color 0.2s,
    border-color 0.2s,
    color 0.2s;
}
.faq-item summary > span[data-source] {
  flex: 1;
}
.faq-number {
  flex-shrink: 0;
  min-width: 26px;
  padding-top: 2px;
  font-size: 13px;
  font-weight: 700;
  color: var(--green-dark);
}
.faq-item[open] summary {
  border-color: #b9cdac;
  background: #fff;
  color: var(--navy);
  font-weight: 700;
  box-shadow: 0 10px 26px #36503314;
}
.faq-item p {
  margin: 0;
  white-space: pre-line;
  font-size: 15px;
  line-height: 1.75;
  color: #41563c;
}
.faq-answer,
.faq-more {
  display: none;
}
.faq-answer-q {
  margin: 0 0 14px;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--navy);
}
@media (min-width: 1025px) {
  /* Danh sách câu hỏi cuộn trong khung cao cố định, câu trả lời ở khung bên phải cùng chiều cao. */
  .faq-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 32px;
    height: 540px;
  }
  .faq-list {
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 4px 12px 4px 4px;
    scrollbar-width: thin;
    scrollbar-color: #9fb3d6 transparent;
    mask-image: linear-gradient(#000 88%, transparent);
  }
  .faq-item[open] summary {
    border-left: 3px solid var(--navy);
  }
  .faq-item p {
    display: none;
  }
  .faq-answer {
    display: block;
    overflow-y: auto;
    padding: 30px 34px;
    border: 1px solid #c7d4ea;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 18px 44px #2035671a;
  }
  .faq-answer p[data-source] {
    display: block;
  }
}
@media (max-width: 1024px) {
  .faq-list:not(.is-expanded) .faq-item:nth-child(n + 7) {
    display: none;
  }
  .faq-more {
    display: block;
    margin: 18px auto 0;
    padding: 12px 24px;
    border: 1px solid var(--navy);
    border-radius: 999px;
    background: #fff;
    color: var(--navy);
    font-weight: 700;
    cursor: pointer;
  }
  .faq-item {
    border-bottom: 1px solid #d3dfcb;
  }
  .faq-item summary {
    padding-inline: 4px;
    border-radius: 0;
  }
  .faq-item[open] summary {
    border-color: transparent;
    background: none;
    box-shadow: none;
  }
  .faq-item p {
    padding: 0 4px 16px 44px;
  }
}
.closing {
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}
.closing-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 1;
}
.closing h2 {
  max-width: 700px;
  font-size: clamp(34px, 4.2vw, 62px);
}
.closing p {
  max-width: 690px;
  font-size: 16px;
}
.closing .cta {
  flex-shrink: 0;
}
.closing-coin {
  position: absolute;
  left: 65%;
  top: -20px;
  scale: 2.6;
  opacity: 0.15;
}
/* Footer deep blue: thương hiệu + liên hệ, trụ sở/chi nhánh, bản tin + QR ứng dụng; hàng dưới là chính sách. */
.site-footer {
  position: relative;
  overflow: hidden;
  padding: 56px 0 0;
  color: #d8e3ef;
  background:
    radial-gradient(ellipse at 88% 10%, #2f5aa066, transparent 55%),
    radial-gradient(ellipse at 10% 100%, #8cc63f1f, transparent 45%),
    linear-gradient(135deg, #0d1c3d, #172d5c 55%, #112347);
  border-top: 0;
}
.site-footer a {
  color: inherit;
}
.site-footer a:hover {
  color: #fff;
}
.site-footer svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: #b6dc89;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 40px 56px;
}
/* Hạ tiêu đề cột Trụ sở / Quét QR cho thẳng hàng với phần chữ của logo (ảnh logo có lề trong). */
.footer-offices,
.footer-side {
  padding-top: 17px;
}
.footer-logo img {
  width: 150px;
  height: auto;
  filter: brightness(0) invert(1);
}
.footer-contact {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
}
.footer-contact li {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-contact b {
  color: #fff;
}
.footer-offices {
  display: grid;
  gap: 24px;
}
.footer-office {
  display: flex;
  gap: 14px;
}
.footer-office h2 {
  margin: 0 0 8px;
  font-size: 15px;
  color: #fff;
}
.footer-office p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: #d8e3ef;
}
.footer-apps-title {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.25;
  font-weight: 700;
  color: #fff;
}
.footer-apps {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
}
.footer-app {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  line-height: 1.45;
}
.footer-app .qr {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  overflow: hidden;
  border-radius: 10px;
  background:
    repeating-linear-gradient(45deg, #ffffff10 0 6px, transparent 6px 12px),
    #ffffff0d;
  border: 1px dashed #ffffff40;
}
.footer-app .qr img {
  color: transparent;
  font-size: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 44px;
  padding: 20px 0 24px;
  border-top: 1px solid #ffffff1f;
  font-size: 13px;
}
.footer-bottom nav {
  display: flex;
  flex-wrap: wrap;
}
.footer-bottom nav a {
  padding: 2px 16px;
  border-left: 1px solid #ffffff2e;
}
.footer-bottom nav a:first-child {
  padding-left: 0;
  border-left: 0;
}
.footer-bottom p {
  margin: 0;
  color: #aebbd0;
}
@media (max-width: 1100px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-side {
    grid-column: 1 / -1;
    padding-top: 0;
  }
}
@media (max-width: 640px) {
  .site-footer {
    padding-top: 40px;
  }
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }
  .footer-offices {
    padding-top: 0;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    margin-top: 30px;
  }
  .footer-bottom nav a {
    padding: 2px 10px;
  }
}
.back-top {
  position: fixed;
  right: 18px;
  bottom: 72px;
  z-index: 35;
  background: #f4f8efee;
  box-shadow: 0 5px 16px #14293e1a;
}
.back-top {
  bottom: 18px;
}
dialog {
  border: 1px solid #c8d6c0;
  border-radius: 28px;
  padding: 38px;
  width: min(540px, calc(100% - 28px));
  max-height: 90dvh;
  overflow: auto;
  background: #f6f9f1;
  color: var(--ink);
  box-shadow: 0 30px 100px #07152d55;
}
dialog::backdrop {
  background: #0b1d3caa;
  backdrop-filter: blur(8px);
}
.close {
  position: absolute;
  right: 16px;
  top: 16px;
}
.close:disabled {
  cursor: wait;
}
dialog h2 {
  font-size: 27px;
  padding-right: 28px;
}
dialog p {
  font-size: 15px;
}
#contact-submit {
  width: 100%;
  margin-top: 24px;
}
#contact-success {
  text-align: center;
}
.success-check {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 4px auto 14px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 32px;
  font-weight: 700;
  box-shadow: 0 0 0 8px #8cc63f2e;
}
#contact-success p {
  margin: 0;
  font-size: 16px;
}
#contact-success:focus {
  outline: none;
}
@media (hover: hover) {
  .expert-card:hover {
    border-color: #8eaa77;
    box-shadow: 0 20px 45px #36503315;
  }
  .asset-card:hover {
    background: #c6dd961c;
  }
  .faq-item summary:hover {
    color: var(--green-dark);
  }

  tbody tr:hover td {
    background: #e1edd7;
  }
}
@media (max-width: 1100px) {
  .header-inner {
    gap: 18px;
  }
  .header-inner nav {
    gap: 16px;
    font-size: 13px;
  }
  .header-book {
    max-width: 290px;
    font-size: 10px;
  }
  .solution-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas: "stage stage";
    align-items: stretch;
    gap: 18px;
  }
  .solution-grid .orbit-stage {
    justify-self: center;
  }
  .solution-grid .orbit-stage {
    width: min(480px, 100%);
    margin-bottom: 12px;
  }
  .feature-col {
    display: contents;
  }

  .asset-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .governance {
    gap: 36px;
  }
  /* Tablet: chữ ở trên, biểu đồ backtest trải hết bề ngang để thấy đủ 13 cột không cần cuộn. */
  .backtest-grid {
    gap: 32px;
  }
  table {
    min-width: 0;
  }
  th,
  td {
    min-width: 0;
    padding: 18px 16px;
  }
  .step-node {
    width: 150px;
  }
  .step-name {
    font-size: 14px;
  }
  .expert-card {
    flex-basis: calc((100% - 24px) / 2);
  }

}
@media (max-width: 850px) {
  .plan-strategies {
    grid-template-columns: minmax(0, 1fr);
  }

  .wrap {
    width: calc(100% - 40px);
  }
  .section {
    padding: 75px 0;
  }
  .header-inner {
    min-height: 76px;
  }
  .logo img {
    width: 100px;
  }
  .header-book {
    margin-left: auto;
    max-width: 260px;
  }
  #menu-toggle {
    display: grid;
  }
  .header-inner nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: #f5f8f1;
    padding: 20px;
    border-bottom: 1px solid #b8cdb0;
    border-radius: 0 0 18px 18px;
    font-size: 15px;
  }
  .header-inner nav.open {
    display: grid;
  }
  .pain-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .solution-intro {
    font-size: 20px;
  }
  .pyramid {
    grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
    gap: 36px;
  }
  .compound-grid {
    grid-template-columns: 1fr 1fr;
    gap: 25px;
  }
  .step-token {
    width: 54px;
    height: 54px;
    font-size: 19px;
  }
  .step-node {
    width: 124px;
    translate: -50% -27px;
  }
  .step-name {
    font-size: 13px;
  }
  .step-detail {
    width: 230px;
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }
  .faq-heading {
    position: static;
  }
  .faq-heading h2 {
    font-size: 34px;
  }
  .closing-grid {
    flex-direction: column;
    align-items: flex-start;
    gap: 25px;
  }
}
@media (max-width: 640px) {
  .wrap {
    width: calc(100% - 32px);
  }
  .section {
    padding: 58px 0;
  }
  .section-heading {
    margin-bottom: 32px;
  }
  .lead {
    font-size: 15px;
  }
  .header-inner {
    gap: 9px;
  }
  .logo img {
    width: 78px;
  }
  .header-book {
    font-size: 9px;
    padding: 9px 11px;
    min-height: 44px;
    max-width: 195px;
    gap: 7px;
  }
  .header-book svg {
    display: none;
  }
  #menu-toggle {
    width: 40px;
    min-width: 40px;
    height: 44px;
  }
  .pain-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
  .pain-card-head {
    padding: 18px 16px 0;
  }
  .pain-num {
    width: 46px;
    height: 46px;
    font-size: 18px;
  }
  .bridge {
    padding: 25px 0;
    gap: 10px;
    margin-top: 32px;
  }
  .bridge p {
    font-size: 19px;
  }
  .bridge-emblem {
    width: 54px;
    height: 54px;
  }
  .solution-intro {
    font-size: 18px;
    margin-bottom: 30px;
  }
  .solution-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "stage";
    gap: 14px;
  }
  .solution-grid .orbit-stage {
    margin-bottom: 8px;
  }

  .glass-icon {
    width: 44px;
    height: 44px;
    font-size: 25px;
  }
  .model-block {
    padding: 22px 16px;
    margin-top: 18px;
  }
  .model-block h3 {
    font-size: 20px;
  }
  .model-block-head {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    margin-bottom: 18px;
  }
  .asset-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
  .asset-card {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    column-gap: 14px;
    row-gap: 6px;
    padding: 20px 16px;
  }
  .asset-icon {
    grid-row: span 2;
    width: 52px;
    height: 52px;
    margin: 0;
    border-radius: 15px;
  }
  .asset-icon svg {
    width: 28px;
    height: 28px;
  }
  .asset-num {
    font-size: 34px;
    top: 12px;
    right: 14px;
  }
  .asset-card h4 {
    padding-right: 44px;
  }
  /* Mobile: kim tự tháp ở trên, 3 thẻ thông tin xếp bên dưới. */
  .pyramid {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }
  .pyramid-art {
    max-width: 280px;
  }
  /* Chừa lề trái cho đường nối chạy dọc xuống từng thẻ. */
  .layer-panels {
    padding-left: 20px;
  }
  .layer-panel {
    grid-template-columns: minmax(0, 1fr);
    padding: 16px;
  }
  .layer-panel .asset-icon {
    display: none;
  }
  .layer-body {
    grid-column: 1;
    font-size: 13px;
  }
  .backtest-grid {
    gap: 24px;
  }
  .notice {
    font-size: 12px;
    padding: 18px;
  }
  .compound-grid {
    grid-template-columns: 1fr;
  }
  .compound-factors article {
    gap: 16px;
  }
  .compound-art {
    border-radius: 22px;
  }
  /* So sánh: mỗi tiêu chí thành một thẻ, 3 kênh xếp dọc kèm nhãn; cột AAS được làm nổi. */
  .table-scroll {
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
  }
  table,
  tbody,
  tr,
  tbody th,
  tbody td {
    display: block;
  }
  thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
  tbody {
    display: grid;
    gap: 12px;
  }
  tbody tr {
    border: 1px solid #c3d1bd;
    border-radius: 18px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 10px 28px #20356709;
  }
  tbody th {
    padding: 14px 16px;
    background: #eaf0e7;
    font-size: 15px;
  }
  tbody td {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 12px;
    padding: 12px 16px;
    font-size: 14px;
  }
  tbody td::before {
    content: attr(data-label);
    font-size: 12px;
    color: var(--muted);
  }
  /* Mỗi thẻ tự có đường kẻ giữa các dòng, trừ dòng cuối. */
  tbody tr > * {
    border-bottom: 1px solid #dce5d6 !important;
  }
  tbody tr > :last-child {
    border-bottom: 0 !important;
  }
  td.is-aas {
    box-shadow: inset 3px 0 0 var(--navy);
  }
  td.is-aas::before {
    color: var(--navy);
    font-weight: 700;
  }
  .flex-plans {
    margin-top: 44px;
  }
  .flex-plans-title {
    margin-bottom: 20px;
  }
  .plan-card {
    padding: 22px 18px;
  }
  .plan-card-number {
    top: 14px;
    right: 16px;
    font-size: 36px;
  }
  .plan-card h4 {
    font-size: 19px;
  }
  .plan-goals {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }
  .plan-goals li {
    padding: 12px 4px 10px;
    font-size: 13px;
  }
  .plan-goals .goal-icon {
    width: 46px;
  }
  .stock-area {
    margin-top: 25px;
    padding: 20px 16px;
  }
  .stock-intro > p {
  margin-bottom: 0;
}
.stock-area h3 {
    font-size: 17px;
  }
  .stock-comparison {
    padding: 16px;
  }
  .steps-flow {
    height: auto;
  }
  .steps-wave {
    display: none;
  }
  .steps-grid {
    position: relative;
    display: grid;
    gap: 20px;
  }
  .steps-grid::before {
    content: "";
    position: absolute;
    top: 24px;
    bottom: 24px;
    left: 23px;
    border-left: 2px dashed #b9c6da;
  }
  .step-node {
    position: relative;
    left: auto;
    top: auto;
    width: auto;
    translate: none;
    grid-template-columns: 48px minmax(0, 1fr);
    column-gap: 16px;
    align-items: center;
    justify-items: start;
    text-align: left;
  }
  .step-token {
    width: 48px;
    height: 48px;
    font-size: 17px;
  }
  .step-name {
    margin: 0;
    font-size: 16px;
  }
  .step-detail,
  .step-node:first-child .step-detail,
  .step-node:last-child .step-detail {
    position: static;
    grid-column: 2;
    display: none;
    width: auto;
    margin-top: 8px;
    translate: none;
    opacity: 1;
    visibility: visible;
  }
  .step-detail::before {
    display: none;
  }
  .step-node:is(.is-open, :focus-within) .step-detail {
    display: block;
    translate: none;
  }

  /* Chuyên gia: ảnh ở trên, thông tin bên dưới; thẻ kế tiếp ló ra để gợi ý vuốt. */
  .experts-track {
    gap: 14px;
  }
  .expert-card {
    flex-basis: 84%;
    padding: 24px 18px;
  }
  .portrait {
    width: 120px;
  }
  .expert-copy {
    padding-top: 16px;
  }
  .expert-copy h3 {
    font-size: 17px;
  }
  .expert-copy p {
    font-size: 13.5px;
    line-height: 1.6;
  }
  .carousel-nav {
    gap: 10px;
  }
  .carousel-dots button {
    width: 24px;
  }
  .expert-role {
    margin-bottom: 8px !important;
  }
  .faq-grid {
    gap: 24px;
  }
  .faq-heading h2 {
    font-size: 31px;
  }
  .faq-item summary {
    font-size: 15px;
    gap: 10px;
  }
  .faq-item p {
    padding-left: 40px;
    font-size: 14px;
  }
  .closing {
    padding: 60px 0;
  }
  .closing p {
    font-size: 15px;
  }
  .back-top {
    right: 10px;
  }
  dialog {
    padding: 32px 23px;
  }
  dialog h2 {
    font-size: 23px;
  }
  .close {
    top: 12px;
    right: 12px;
  }
}
@media (max-width: 360px) {
  .header-book {
    max-width: 150px;
    font-size: 9px;
  }
  .logo img {
    width: 70px;
  }
}
/* ==================== Bố cục mới (09/2026) ==================== */
/* Giải pháp: tiêu đề + mô tả, quỹ đạo lớn hơn chỉ có các mục tiêu, 4 thẻ đặc điểm cùng kích thước. */
.solution-intro {
  max-width: 980px;
  margin: 0 auto 56px;
  text-align: center;
}
.solution-title {
  margin: 0 0 14px;
  font-size: clamp(28px, 3.4vw, 44px);
  color: var(--navy);
}
.solution-intro p {
  margin: 0 0 6px;
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.7;
}
.solution-grid {
  grid-template-columns: minmax(0, 1fr) minmax(400px, 580px) minmax(0, 1fr);
  gap: 32px;
}
.orbit-stage {
  width: min(580px, 100%);
}
.ring-inner {
  inset: 16%;
}
.orbit-goal .goal-icon {
  width: clamp(48px, 16cqw, 96px);
}
.orbit-goal .orbit-upright > span {
  font-size: clamp(10px, 2.6cqw, 14px);
}
.orbit-center {
  inset: 35%;
}
.feature-col {
  grid-auto-rows: 1fr;
  gap: 16px;
}
.feature-card {
  align-content: start;
}
.flex-plans .center {
  margin-top: 28px;
}

/* Vì sao chọn AAS: 2 khối cạnh nhau, mỗi khối một màu (deep blue / xanh lá). */
.why-blocks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  align-items: stretch;
}
.why-block {
  --tone: var(--navy);
  --tone-soft: #e6edf8;
  --tone-line: #c9d6ea;
  overflow: hidden;
  border: 1px solid var(--tone-line);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 18px 44px #2035671a;
}
.why-block.is-green {
  --tone: #3f7a26;
  --tone-soft: #eaf4e1;
  --tone-line: #cfe2bf;
}
.why-block-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 28px;
  background: var(--tone);
  color: #fff;
}
.why-block-head h3 {
  margin: 0;
  font-size: 18px;
  letter-spacing: 0.06em;
  color: #fff;
}
.why-block-num {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid #ffffff66;
  border-radius: 50%;
  font-size: 15px;
  font-weight: 700;
}
.why-list {
  display: grid;
  margin: 0;
  padding: 8px 28px;
  list-style: none;
}
.why-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 0;
}
.why-item + .why-item {
  border-top: 1px dashed var(--tone-line);
}
.why-icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  color: var(--tone);
  background: var(--tone-soft);
}
.why-icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.why-icon .fill {
  fill: currentColor;
  fill-opacity: 0.2;
}
.why-item h4 {
  margin: 2px 0 6px;
  font-size: 17px;
  color: var(--tone);
}
.why-item p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--muted);
}
@media (max-width: 900px) {
  .why-blocks {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }
}
@media (max-width: 640px) {
  .why-block-head {
    padding: 16px 18px;
  }
  .why-block-head h3 {
    font-size: 15px;
  }
  .why-list {
    padding: 4px 18px;
  }
  .why-item {
    gap: 12px;
    padding: 14px 0;
  }
  .why-icon {
    width: 46px;
    height: 46px;
  }
}

/* Thiết kế lộ trình đầu tư (bản v2): khung video 16:9 (khung chờ khi chưa có video) + 2 nút bên dưới. */
#planner .section-heading h2 {
  text-wrap: balance;
}
.video-frame {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 24px;
  background: #0f2146;
  box-shadow: 0 24px 60px #20356733;
}
.video-frame :is(iframe, video) {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}
/* Khung dọc 9:16 cho điện thoại; khung ngang ẩn khi có bản dọc. Cao tối đa ~78% màn hình. */
.video-frame.is-tall {
  display: none;
  aspect-ratio: 9 / 16;
  width: min(100%, calc(78svh * 9 / 16));
}
@media (max-width: 640px) {
  .video-frame.is-tall {
    display: block;
  }
  .video-frame.has-tall {
    display: none;
  }
}
.video-wait {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 8px;
  color: #fff;
  text-align: center;
  background:
    radial-gradient(ellipse at 70% 20%, #45658b88, transparent 60%),
    linear-gradient(135deg, #102253, #1d3a7c 55%, #142b61);
}
.video-play {
  display: grid;
  place-items: center;
  width: clamp(64px, 9vw, 96px);
  aspect-ratio: 1;
  margin-bottom: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 12px #8cc63f33;
}
.video-play svg {
  width: 42%;
  fill: #15284d;
  translate: 6% 0;
}
.video-wait strong {
  font-size: clamp(16px, 2vw, 22px);
}
.video-wait span:last-child {
  color: #c9d6e6;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.video-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 32px;
}
@media (max-width: 640px) {
  .video-frame {
    border-radius: 16px;
  }
  .video-actions .cta {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 1100px) {
  .solution-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .solution-intro {
    margin-bottom: 32px;
  }
  .solution-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ==================== Tông chủ đạo Deep Blue ====================
   Nền các section sáng chuyển sang xanh dương nhạt; chữ nhấn, số thứ tự, icon dùng deep blue.
   Xanh lá (--green) chỉ còn là màu nhấn cho nút CTA và điểm sáng nhỏ. */
:root {
  --green-dark: #24478a;
  --line: #d3ddeb;
  --paper: #f3f6fb;
}
.light-zone,
.solution-section,
.compound-section,
.faq-section,
.planner-section {
  background:
    radial-gradient(ellipse at 88% 6%, #d9e5f6 0%, transparent 46%),
    radial-gradient(ellipse at 6% 90%, #e2ebf7 0%, transparent 42%),
    linear-gradient(160deg, #ffffff, #eef3fa);
}
.pain-section {
  background:
    radial-gradient(ellipse at 8% 10%, #d6e3f5 0%, transparent 40%),
    radial-gradient(ellipse at 95% 90%, #dbe6f6 0%, transparent 42%),
    linear-gradient(160deg, #f6f9fd, #ebf1f9);
}
.pain-badge {
  border-color: #3f64a8;
  color: var(--navy);
}
.pain-section h2,
.pain-card h3 {
  color: var(--navy-dark);
}
.pain-accent {
  color: #2f63c0;
}
.pain-num {
  background: var(--navy);
  box-shadow: 0 8px 18px #20356740;
}
.pain-card {
  border-color: #d3ddeb;
  background: linear-gradient(170deg, #ffffffe6, #eef3fb);
  box-shadow: 0 16px 40px #2035671a;
}
.feature-card,
.plan-goals li,
.plan-strategies li,
.faq-item[open] summary {
  border-color: #d3ddeb;
}
.plan-goals li,
.plan-strategies li {
  background: #f3f6fb;
}
.feature-card.is-active {
  border-color: #7f9bcf;
}
.feature-card.is-active .feature-number {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}
.glass-icon,
.factor-orb {
  background: linear-gradient(135deg, #fff, #dbe5f4);
  border-color: #b3c3de;
}
.orbit-stage {
  background: radial-gradient(circle at center, #9fb8e033, transparent 62%);
}
.ring-inner {
  border-color: #9fb3d6aa;
  box-shadow: 0 0 0 3.5cqw #9fb3d618;
}
.orbit-center {
  background: linear-gradient(135deg, #ffffff, #d9e4f5);
  border-color: #8ea4cc;
}
/* So sánh với các kênh truyền thống: chuyển sang nền deep blue, bảng trắng nổi trên nền. */
.comparison-section.navy-zone {
  background:
    radial-gradient(ellipse at 80% 30%, #45658b55, transparent 55%),
    linear-gradient(130deg, #112347, #203567 55%, #172d54);
}
.comparison-section .table-scroll {
  color: var(--ink);
  background: #fff;
}
.comparison-section :is(th, td) {
  color: var(--ink);
  border-bottom-color: #dfe6f1;
}
.comparison-section thead th:last-child {
  background: var(--navy);
  color: #fff;
}
@media (max-width: 640px) {
  .comparison-section .table-scroll {
    background: none;
  }
  .comparison-section tbody tr {
    border-color: #ffffff2e;
  }
  .comparison-section tbody th {
    background: #e6edf8;
  }
}
.comparison-section.navy-zone .section-heading h2 {
  color: #fff;
}
.table-scroll {
  border-color: #ffffff2e;
}
.comparison-section thead th {
  background: #e6edf8;
}
.comparison-section td:last-child {
  background: #eaf0fa;
}
.faq-item[open] summary {
  border-left-color: var(--navy);
}
/* Minh hoạ 4 nỗi đau: chấm, dấu hỏi và icon nét chuyển sang tông xanh dương. */
.pain-card .art-chip circle {
  fill: #2f63c0;
}
.pain-card .art-q {
  fill: #2f63c0;
}
.pain-card [stroke="#456a24"] {
  stroke: var(--navy);
}
.pain-card [fill="#456a24"],
.pain-card [fill="#5f8f33"] {
  fill: #2f63c0;
}
.pain-card [fill="#cfe3bd"] {
  fill: #cfdcf2;
}
.pain-card [fill="#d9695f"] {
  fill: #9dbbe8;
}
.pain-card [stroke="#d9695f"] {
  stroke: #9dbbe8;
}
.pain-num {
  background: linear-gradient(145deg, #2f57a0, #15285a);
}
/* Section 2–3: icon một tông gradient deep blue, nét icon trắng (không còn mỗi icon một màu). */
.goal-icon {
  color: #fff;
  background: linear-gradient(145deg, #3a64ad, #15285a);
  box-shadow:
    0 0 0 1px #c3d0e4,
    0 8px 18px #0a1f4433;
}
.goal-icon .fill {
  fill-opacity: 0.22;
}
/* Nhãn tên mục tiêu (span) có nền trắng; icon cũng là span nên cần giữ nền gradient riêng. */
.orbit-goal .orbit-upright > .goal-icon {
  background: linear-gradient(145deg, #3a64ad, #15285a);
}
.orbit-goal[aria-pressed="true"] .goal-icon {
  box-shadow:
    0 0 0 3px #7fa6e0,
    0 8px 18px #0a1f4440;
}
.orbit-center {
  background: linear-gradient(135deg, #ffffff, #dde7f5);
  border-color: #c3d0e4;
  box-shadow:
    12px 18px 30px #0a1f4420,
    inset 1px 1px 5px #fff;
}
.orbit-target {
  stroke: var(--navy);
}
.orbit-target circle:last-of-type {
  fill: #3f70bf;
}
/* Tâm quỹ đạo khi đang chọn mục tiêu: icon nét navy trên nền sáng. */
.orbit-center .orbit-icon {
  color: var(--navy);
  background: none;
}
.faq-item p {
  color: #3d4b63;
}
.notice {
  border-color: #cdd8ea;
  background: #eef3fa;
  color: #34425c;
}
/* Footer nền trắng (tách khỏi section navy phía trên): logo màu gốc, chữ và icon deep blue. */
.site-footer {
  color: #3d4b63;
  background: #fff;
  border-top: 1px solid var(--line);
}
.site-footer a:hover {
  color: var(--navy);
}
.site-footer svg {
  stroke: var(--navy);
}
.footer-logo img {
  filter: none;
}
.footer-contact b,
.footer-office h2,
.footer-apps-title {
  color: var(--navy-dark);
}
.footer-office p {
  color: #3d4b63;
}
.footer-app .qr {
  border-color: #b3c3de;
  background:
    repeating-linear-gradient(45deg, #20356710 0 6px, transparent 6px 12px),
    #f3f6fb;
}
.footer-bottom {
  border-top-color: var(--line);
}
.footer-bottom nav a {
  border-left-color: #c9d6ea;
}
.footer-bottom p {
  color: #6b778a;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
@media (forced-colors: active) {
  .cta,
  .asset-card,
  .pyramid-layer,
  .icon-button {
    border: 2px solid ButtonText;
    box-shadow: none;
  }
  [aria-pressed="true"] {
    outline: 2px solid Highlight;
    outline-offset: -5px;
  }
  :focus-visible {
    outline-color: Highlight;
  }
}
@media print {
  .site-header,
  .back-top,
  .site-footer,
  dialog,
  .cta {
    display: none !important;
  }
  .section {
    padding: 25px 0;
  }
  .wrap {
    width: 100%;
  }
  .navy-zone {
    color: #203567;
    background: #fff;
  }
  .navy-zone p {
    color: #203567;
  }
}

/* ==== Mô hình — bản theo mẫu infographic: tiêu đề căn trái 2 dòng, bỏ khung 2 khối (ngăn bằng đường kẻ),
   thẻ tài sản ô icon màu riêng, 3 tầng dạng dòng phân cách (không khung thẻ). ==== */
#model .mb-heading {
  max-width: none;
  margin: 0;
  text-align: left;
}
#model .mb-heading h2 {
  white-space: normal;
  font-size: clamp(32px, 4.6vw, 62px);
  line-height: 1.08;
}
#model .mb-heading h2::before {
  content: "";
  display: block;
  width: 76px;
  height: 4px;
  margin-bottom: 22px;
  border-radius: 2px;
  background: #b9e44a;
}
.mb-accent {
  display: block;
  color: #b9e44a;
}
#model .mb-heading .lead {
  max-width: 860px;
  margin: 18px 0 0;
  text-align: left;
}
#model .model-block {
  margin-top: 48px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
}
#model .governance {
  padding-top: 40px;
  border-top: 1px solid #ffffff1f;
}
#model .model-block-head {
  display: block;
  margin-bottom: 26px;
}
.mb-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 18px;
  margin: 0;
  color: #fff;
  font-size: clamp(22px, 2.5vw, 34px);
}
.mb-title b {
  color: #b9e44a;
}
/* Dấu gạch giữ trong DOM nhưng hiện thành vạch dọc mảnh. */
.mb-sep {
  display: inline-block;
  width: 2px;
  height: 1em;
  overflow: hidden;
  background: #ffffff4d;
  color: transparent;
  font-size: 0.9em;
}
.mb-title small {
  color: #d3def0;
  font-size: clamp(15px, 1.4vw, 20px);
  font-weight: 500;
}
#model .asset-card {
  background: #ffffff08;
  border-color: #ffffff24;
  border-radius: 16px;
}
#model .asset-num {
  top: 18px;
  right: 20px;
  color: #ffffff4d;
  font-size: 30px;
  font-weight: 600;
  -webkit-text-stroke: 0;
}
#model .asset-card .asset-icon {
  width: 64px;
  height: 64px;
  border: 1.5px solid var(--accent);
  border-radius: 16px;
  background: color-mix(in srgb, var(--accent) 16%, #0d1f45);
  box-shadow: 0 0 22px color-mix(in srgb, var(--accent) 22%, transparent);
}
#model .asset-card h4 {
  font-size: 22px;
}
/* 3 tầng: dòng phân cách thay cho khung thẻ; tầng đang chọn sáng icon + nhãn theo màu tầng. */
#model .layer-panels {
  gap: 0;
}
#model .layer-panel {
  padding: 22px 0 22px 4px;
  border: 0;
  border-bottom: 1px solid #ffffff1f;
  border-radius: 0;
  background: none;
  box-shadow: none;
}
#model .layer-panel:last-child {
  border-bottom: 0;
}
#model .layer-panel::before {
  display: none;
}
#model .layer-panel .asset-icon {
  border: 1px solid #ffffff26;
  background: #ffffff0d;
  transition: border-color 0.4s, box-shadow 0.4s;
}
#model .layer-panel.is-active .asset-icon {
  border-color: var(--accent);
  box-shadow: 0 0 20px color-mix(in srgb, var(--accent) 30%, transparent);
}
#model .layer-panel.is-active {
  background: none;
  box-shadow: none;
}
#model .layer-meta h4 {
  flex-basis: auto;
  font-size: 19px;
  letter-spacing: 0;
}
#model .period {
  order: 1;
  padding: 3px 14px;
  border-width: 1.5px;
  font-size: 13px;
  font-weight: 700;
}
#model .layer-english {
  order: 2;
  flex-basis: 100%;
  color: #c4d2e4;
  font-size: 14px;
  font-weight: 700;
}
#model .layer-body {
  color: #dbe4f1;
  font-size: 15px;
}
@media (max-width: 640px) {
  #model .model-block {
    margin-top: 36px;
    padding: 0;
  }
  #model .governance {
    padding-top: 30px;
  }
  #model .layer-panel {
    padding: 18px 0;
  }
}
/* Kim tự tháp theo mẫu: cả 3 tầng giữ màu tươi, tầng đang chọn có quầng sáng; 3 đường nối đều liền nét,
   có chấm ở 2 đầu (tầng đang chọn vẫn có vệt sáng chạy như cũ). */
#model .pyr-tier {
  filter: none;
}
#model .pyr-tier.is-active {
  filter: drop-shadow(0 0 16px #ffffff55) brightness(1.06);
}
#model .pyr-link-base {
  stroke-width: 1.5;
  stroke-opacity: 0.75;
  stroke-dasharray: none;
}
#model .pyr-link-start,
#model .pyr-link-end {
  opacity: 1;
  fill: var(--accent);
}
#model .mb-heading h2 {
  text-wrap: balance;
}
@media (max-width: 640px) {
  /* Điện thoại: phụ đề xuống dòng riêng (bỏ vạch ngăn), ô icon vừa cột 52px, chừa lề trái cho đường nối. */
  .mb-sep {
    display: none;
  }
  .mb-title small {
    flex-basis: 100%;
  }
  #model .asset-card .asset-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
  }
  #model .asset-card h4 {
    font-size: 19px;
  }
  #model .layer-panel {
    padding-left: 16px;
  }
}

/* Hoạ tiết nhận diện AAS ở khoảng trống các section nền sáng: chuỗi chữ "A" nét mảnh (tín hiệu nhận diện),
   đồng tiền. Nằm dưới nội dung, không nhận chuột; vị trí theo slot tl/tr/ml/mr/bl/br. */
.has-brand-deco {
  position: relative;
  overflow: hidden;
}
.has-brand-deco > .wrap {
  position: relative;
  z-index: 1;
}
.brand-deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
/* Parallax theo cuộn: app.js đặt --py (dịch dọc) và --pr (góc xoay đồng xu) cho từng hoạ tiết. */
.bd-item {
  position: absolute;
  translate: 0 var(--py, 0px);
  rotate: var(--pr, 0deg);
  will-change: translate;
}
.bd-item svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
.bd-line {
  fill: none;
  stroke: #20356738;
  stroke-width: 1.4;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
.bd-accent {
  fill: none;
  stroke: #8cc63f73;
  stroke-width: 1.6;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}
/* Nét tự vẽ của chuỗi chữ "A" nằm trên nét nền rất mờ; đồng xu lật quanh trục dọc. */
.bd-base {
  stroke: #20356717;
}
.bd-draw {
  stroke-dasharray: 1 1;
  stroke-dashoffset: 0;
}
.bd-face,
.bd-layer {
  transform-box: fill-box;
  transform-origin: center;
}
/* Chuỗi chữ "A" cỡ lớn chạy sau chữ: nét nhạt hơn đồng tiền để không làm rối tiêu đề. */
.bd-band .bd-line {
  stroke: #20356729;
}
.bd-run {
  fill: none;
  stroke: #8cc63f;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 0.08 0.92;
  opacity: 0;
}
.bd-tl {
  top: -170px;
  left: -470px;
  width: 920px;
}
.bd-tr {
  top: -180px;
  right: -490px;
  width: 960px;
}
.bd-ml {
  top: 34%;
  left: -210px;
  width: 400px;
}
.bd-mr {
  top: 32%;
  right: -210px;
  width: 410px;
}
.bd-bl {
  bottom: -190px;
  left: -260px;
  width: 680px;
}
.bd-br {
  right: -330px;
  bottom: -150px;
  width: 880px;
}
@media (max-width: 900px) {
  .bd-tl,
  .bd-tr {
    width: 620px;
  }
  .bd-bl,
  .bd-br {
    width: 480px;
  }
  .bd-ml,
  .bd-mr {
    width: 280px;
  }
}
@media (max-width: 560px) {
  /* Điện thoại: bớt hoạ tiết ở giữa để không chen vào nội dung hẹp. */
  .bd-ml,
  .bd-mr {
    display: none;
  }
  .bd-tl,
  .bd-tr {
    top: -50px;
    width: 460px;
  }
  .bd-tl {
    left: -200px;
  }
  .bd-tr {
    right: -210px;
  }
  .bd-bl,
  .bd-br {
    width: 340px;
  }
  .bd-bl {
    left: -150px;
  }
  .bd-br {
    right: -170px;
  }
}

/* Mục tiêu AAS Tích sản: ảnh minh hoạ khung bo góc (thay icon), tên mục tiêu dưới ảnh; rê chuột ảnh phóng nhẹ. */
.plan-goals li {
  gap: 0;
  padding: 0;
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  transition: border-color 0.25s, box-shadow 0.25s, translate 0.25s;
}
.plan-goal-photo {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
}
.plan-goal-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: scale 0.4s ease;
}
.plan-goal-name {
  display: block;
  width: 100%;
  padding: 10px 6px 12px;
  color: var(--navy);
  font-weight: 700;
}
@media (hover: hover) {
  .plan-goals li:hover {
    border-color: #7f9bcf;
    box-shadow: 0 12px 24px #0a1f441f;
    translate: 0 -3px;
  }
  .plan-goals li:hover .plan-goal-photo img {
    scale: 1.06;
  }
}
@media (max-width: 640px) {
  .plan-goals li {
    padding: 0;
    border-radius: 12px;
  }
  .plan-goal-name {
    padding: 8px 4px 10px;
    font-size: 12.5px;
  }
}
/* Ô đang được tự chạy sáng (is-auto, lần lượt trái → phải) dùng cùng kiểu với lúc rê chuột. */
.plan-goals li.is-auto {
  border-color: #7f9bcf;
  box-shadow: 0 12px 24px #0a1f441f;
  translate: 0 -3px;
}
.plan-goals li.is-auto .plan-goal-photo img {
  scale: 1.06;
}
.plan-strategies li {
  transition: border-color 0.25s, box-shadow 0.25s, translate 0.25s, background 0.25s;
}
.plan-strategies li.is-auto {
  border-color: #7f9bcf;
  background: #fff;
  box-shadow: 0 12px 24px #0a1f441f;
  translate: 0 -3px;
}
@media (hover: hover) {
  .plan-strategies li:hover {
    border-color: #7f9bcf;
    background: #fff;
    box-shadow: 0 12px 24px #0a1f441f;
    translate: 0 -3px;
  }
}

/* Giảm khoảng trắng giữa các section và giữa tiêu đề với nội dung. */
.section {
  padding: 68px 0;
}
.section-heading {
  margin-bottom: 36px;
}
.center {
  margin-top: 32px;
}
#model .model-block {
  margin-top: 36px;
}
#model .governance {
  padding-top: 32px;
}
.stock-area {
  margin-top: 36px;
}
@media (max-width: 1100px) {
  .section {
    padding: 56px 0;
  }
}
@media (max-width: 640px) {
  .section {
    padding: 44px 0;
  }
  .section-heading {
    margin-bottom: 26px;
  }
  .center {
    margin-top: 26px;
  }
  #model .model-block {
    margin-top: 28px;
  }
}
@media (min-width: 641px) {
  .steps-flow {
    height: 250px;
  }
}

/* Footer: kênh chính thức của AAS (Fanpage, Zalo, TikTok). */
.footer-social-title {
  margin: 22px 0 10px;
  color: var(--navy-dark);
  font-size: 14px;
  font-weight: 700;
}
.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 8px;
  border: 1px solid #c9d6ea;
  border-radius: 999px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}
.footer-social a:hover {
  border-color: var(--navy);
  background: #eef3fa;
}
.footer-social svg {
  width: 26px;
  height: 26px;
  padding: 5px;
  border-radius: 50%;
  background: var(--navy);
  fill: none;
  stroke: #fff;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Icon Zalo theo logo thương hiệu Zalo: bong bóng trắng viền xanh, chữ "Zalo" xanh. */
.footer-social .icon-zalo {
  padding: 0;
  background: none;
  stroke: none;
}
.icon-zalo .zalo-bubble {
  fill: #fff;
  stroke: #0068ff;
  stroke-width: 3.5;
  stroke-linejoin: round;
}
.icon-zalo text {
  fill: #0068ff;
  font: 800 14px/1 Arial, Helvetica, sans-serif;
  letter-spacing: -0.3px;
}
