/*!
 * Bee's Home Academy — PREMIUM UPGRADE LAYER
 * Loads AFTER main.css. Only adds/overrides — never required by base.
 * Direction: warm editorial premium (#1) + subtle modern/tech (#2) + friendly bee warmth (#3)
 * Method: grounded in ui-ux-pro-max rules (a11y, touch, perf, animation 150–400ms, reduced-motion).
 */

/* ===============================================================
   1. TOKENS — refine on top of main.css :root (this loads later)
   =============================================================== */
:root {
  /* Display face for headlines (Fraunces has Vietnamese subset; Be Vietnam Pro fallback is safe for any glyph) */
  --font-display: 'Fraunces', 'Be Vietnam Pro', Georgia, 'Times New Roman', serif;

  /* Premium soft, layered, warm-neutral shadows (override base scale) */
  --shadow-xs: 0 1px 2px rgba(28,25,23,0.04), 0 1px 3px rgba(28,25,23,0.05);
  --shadow-sm: 0 2px 6px rgba(28,25,23,0.05), 0 6px 16px rgba(28,25,23,0.06);
  --shadow-md: 0 6px 16px rgba(28,25,23,0.06), 0 14px 34px rgba(28,25,23,0.09);
  --shadow-lg: 0 14px 30px rgba(28,25,23,0.09), 0 30px 66px rgba(28,25,23,0.13);
  --shadow-gold: 0 10px 30px rgba(255,176,32,0.30);

  /* Motion — premium expo-out + gentle spring (ui-ux-pro-max: spring/physics feel) */
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.4, 0.64, 1);
  --t-micro: 0.16s;

  /* Generous, deliberate vertical rhythm */
  --section-pad: clamp(68px, 9vw, 130px);
}

/* ===============================================================
   2. TYPOGRAPHY — editorial display headings
   Headings currently inherit Be Vietnam Pro (no own font-family rule),
   so this cleanly upgrades h1/h2/h3 site-wide on pages that load premium.css.
   =============================================================== */
h1, h2, h3 {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-weight: 600;
  letter-spacing: -0.018em;
  line-height: 1.12;
}
h1 { font-weight: 600; }
/* Italic flourish — Fraunces italic is the editorial signature (e.g. hero "không phải dạy thêm") */
h1 em, h2 em, .hero h1 em {
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.01em;
}
/* Eyebrow: refined small-caps label */
.eyebrow {
  font-family: var(--font-main, 'Be Vietnam Pro', sans-serif);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
  font-size: 0.72rem;
}
.lead { font-size: clamp(1.02rem, 1.5vw, 1.18rem); line-height: 1.7; }

/* ===============================================================
   3. RHYTHM — more generous sections
   =============================================================== */
.section { padding-top: var(--section-pad); padding-bottom: var(--section-pad); }

/* ===============================================================
   4. MICRO-INTERACTIONS (ui-ux-pro-max: scale-feedback, 150–300ms, ease-out)
   =============================================================== */
.btn {
  transition: background var(--t-base) var(--ease),
              color var(--t-base) var(--ease),
              box-shadow var(--t-base) var(--ease),
              transform var(--t-micro) var(--ease-spring),
              border-color var(--t-base) var(--ease);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-gold); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn-lg { letter-spacing: 0.005em; }

/* Content cards — subtle premium lift */
.included-card, .cm-card, .fit-card, .need-card, .pricing-main-card,
.bs-phase, .kho-card, .tg-method-card, .ho-mon-card {
  transition: transform var(--t-base) var(--ease-out),
              box-shadow var(--t-base) var(--ease-out),
              border-color var(--t-base) var(--ease-out);
  will-change: transform;
}
.included-card:hover, .cm-card:hover, .need-card:hover,
.pricing-main-card:hover, .bs-phase:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.need-card { cursor: default; } /* Owner 2026-07-03: card bỏ link */
.need-card:hover { border-color: var(--gold-border-2, rgba(255,192,32,0.45)); }

/* Image reveal-on-hover (premium feel for photo blocks) */
.hero-img-wrap { overflow: hidden; }
.hero-img-wrap img { transition: transform 0.7s var(--ease-out); will-change: transform; }
.hero-img-wrap:hover img { transform: scale(1.045); }

/* Sticky header — glassy on scroll */
.site-header { transition: background var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease); }
.brand-note { margin: 10px auto 0; max-width: 760px; font-size: 0.78rem; line-height: 1.5; color: rgba(255,255,255,0.55); }
.brand-note a { color: var(--brand-gold, #FFC020); font-weight: 600; }

/* Local-SEO "gần trường" link chips */
.khuvuc-links { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.khuvuc-links a { display: inline-block; padding: 9px 16px; border: 1px solid var(--border, #E4E0D6); border-radius: 999px; font-size: 0.88rem; font-weight: 600; color: var(--text-body, #1E1E1E); background: var(--cream, #F8F6F1); text-decoration: none; transition: border-color var(--t-fast), color var(--t-fast); }
.khuvuc-links a:hover { border-color: var(--brand-gold, #FFC020); color: var(--brand-gold-text, #8a6a00); }

/* Test lead-magnet popup (toàn site) */
.bh-tpop-overlay { position: fixed; inset: 0; background: rgba(26,26,26,0.55); z-index: 10000; display: flex; align-items: center; justify-content: center; padding: 20px; opacity: 0; transition: opacity .25s ease; }
.bh-tpop-overlay.show { opacity: 1; }
.bh-tpop { background: #fff; border-radius: 22px; max-width: 420px; width: 100%; padding: 32px 28px 26px; text-align: center; position: relative; box-shadow: 0 24px 60px rgba(0,0,0,0.3); transform: translateY(14px) scale(.98); transition: transform .25s ease; }
.bh-tpop-overlay.show .bh-tpop { transform: none; }
.bh-tpop-close { position: absolute; top: 10px; right: 12px; width: 36px; height: 36px; border: none; background: transparent; font-size: 1.6rem; line-height: 1; color: #999; cursor: pointer; border-radius: 8px; }
.bh-tpop-close:hover { background: #f0f0f0; color: #333; }
.bh-tpop-badge { display: inline-block; background: var(--brand-gold, #FFC020); color: #1a1a1a; font-size: .72rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; padding: 5px 14px; border-radius: 999px; margin-bottom: 12px; }
.bh-tpop h3 { margin: 0 0 8px; font-size: 1.3rem; }
.bh-tpop p { margin: 0 0 18px; color: var(--text-body, #1E1E1E); font-size: .94rem; line-height: 1.6; }
.bh-tpop .btn { width: 100%; }
.bh-tpop-later { display: inline-block; margin-top: 12px; background: none; border: none; color: #999; font-size: .85rem; cursor: pointer; text-decoration: underline; }
.bh-tpop-perks { list-style: none; padding: 0; margin: 6px auto 16px; text-align: left; display: inline-block; }
.bh-tpop-perks li { position: relative; padding-left: 26px; margin: 7px 0; font-size: .9rem; color: var(--text-body,#1E1E1E); }
.bh-tpop-perks li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 18px; height: 18px; background: #16A34A; color: #fff; border-radius: 50%; font-size: .68rem; display: flex; align-items: center; justify-content: center; }
.bh-tpop-form { display: flex; flex-direction: column; gap: 10px; text-align: left; }
.bh-tpop-form input, .bh-tpop-form select { width: 100%; padding: 12px 14px; border: 1px solid var(--border,#E4E0D6); border-radius: 12px; font: inherit; }
.bh-tpop-err { color: #c0392b; font-size: .82rem; margin: 2px 0 0; display: none; }
.bh-tpop-foot { font-size: .82rem; color: #777; margin: 14px 0 0; }
.bh-tpop-foot a { color: var(--brand-gold-text,#8a6a00); font-weight: 600; }
@media (prefers-reduced-motion: reduce) { .bh-tpop-overlay, .bh-tpop { transition: none; } }

/* Thanh liên hệ nổi: Zalo · Messenger · Gọi. Desktop: chỉ FAB (ẩn bar).
   Mobile (<=768): bar CTA dính đáy (Gọi tư vấn · Đăng ký học thử) SỐNG LẠI theo spec tuyển sinh;
   FAB được đẩy lên trên bar để không chồng nhau. */
@media (min-width: 769px) { .zalo-sticky { display: none !important; } }
/* (offset FAB tránh bar: xem cuối file — phải đứng SAU các rule .bh-contact-fab để thắng cascade) */
.bh-contact-fab { position: fixed; right: 16px; bottom: 16px; z-index: 9998; display: flex; flex-direction: column; gap: 10px; }
.bh-contact-fab a { width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; box-shadow: 0 5px 16px rgba(0,0,0,0.24); transition: transform .18s ease; position: relative; }
.bh-contact-fab a:hover { transform: scale(1.09); }
.bh-contact-fab a svg { width: 26px; height: 26px; }
.bh-contact-fab a svg.bh-zalo-mark { width: 34px; height: 15px; }

/* ── Cá nhân hoá xưng hô (prompt + câu chào) ── */
.bh-hero-greet { font-size: 1.05rem; font-weight: 700; color: var(--brand-gold, #FFC020); margin: 0 0 6px; }   /* nền hero tối → vàng sáng */
.bh-greet-modal { position: fixed; inset: 0; z-index: 10000; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(26,40,71,0.28); opacity: 0; transition: opacity .22s ease; }
.bh-greet-modal.open { opacity: 1; }
.bh-greet-card { position: relative; width: 100%; max-width: 380px; background: #fff; border-radius: 20px; padding: 30px 26px 22px; box-shadow: 0 20px 60px rgba(26,40,71,0.28); text-align: center; transform: translateY(10px) scale(.98); transition: transform .22s ease; }
.bh-greet-modal.open .bh-greet-card { transform: none; }
.bh-greet-x { position: absolute; top: 12px; right: 14px; background: none; border: 0; font-size: 1.05rem; color: #9a9a9a; cursor: pointer; line-height: 1; }
.bh-greet-emoji { font-size: 40px; line-height: 1; }
.bh-greet-card h3 { margin: 10px 0 6px; font-size: 1.2rem; color: #1a2847; }
.bh-greet-card > p { margin: 0 0 16px; font-size: .92rem; color: #5a5a5a; line-height: 1.55; }
.bh-greet-seg { display: inline-flex; border: 1.5px solid var(--border, #E4E0D6); border-radius: 999px; overflow: hidden; margin-bottom: 12px; }
.bh-greet-seg button { border: 0; background: #fff; padding: 8px 22px; font-weight: 700; color: #5a5a5a; cursor: pointer; }
.bh-greet-seg button.on { background: var(--brand-gold, #FFC020); color: #1a2847; }
.bh-greet-input { width: 100%; box-sizing: border-box; padding: 12px 14px; border: 1.5px solid var(--border, #E4E0D6); border-radius: 12px; font-size: 16px; margin-bottom: 14px; }
.bh-greet-input:focus { outline: 2px solid var(--brand-gold, #FFC020); outline-offset: 1px; border-color: var(--brand-gold, #FFC020); }
.bh-greet-row { display: flex; align-items: stretch; gap: 10px; margin-bottom: 10px; }
.bh-greet-lbl { flex: 0 0 62px; display: flex; align-items: center; justify-content: center; border: 1.5px solid var(--border, #E4E0D6); border-radius: 12px; font-weight: 700; font-size: 1rem; color: #1a2847; background: #FFF9EC; transition: background .15s, border-color .15s; }
.bh-greet-row .bh-greet-input { margin-bottom: 0; }
.bh-greet-row.active .bh-greet-lbl { background: var(--brand-gold, #FFC020); border-color: var(--brand-gold, #FFC020); }
.bh-shake { animation: bh-greet-shake .42s; }
@keyframes bh-greet-shake { 0%,100%{transform:translateX(0)} 20%,60%{transform:translateX(-6px)} 40%,80%{transform:translateX(6px)} }
.bh-greet-btns { display: flex; gap: 10px; }
.bh-greet-btns button { flex: 1; padding: 12px; border-radius: 12px; font-weight: 700; cursor: pointer; }
.bh-greet-skip { background: #fff; border: 1.5px solid var(--border, #E4E0D6); color: #5a5a5a; }
.bh-greet-ok { background: var(--brand-gold, #FFC020); border: 0; color: #1a2847; }
.bh-greet-note { margin: 12px 0 0; font-size: .74rem; color: #9a9a9a; line-height: 1.5; }
.bh-greet-btns { flex-direction: column-reverse; }   /* nút chính (dài) đủ rộng, xếp trên */
.bh-greet-eg { margin: -6px 0 14px; font-size: .8rem; color: #9a9a9a; }
.bh-greet-eg em { font-style: normal; color: #5a5a5a; font-weight: 600; }
.bh-greet-change { display: inline-block; margin: 6px 0 0 8px; background: none; border: 0; padding: 0; font-size: .82rem; color: rgba(255,255,255,0.65); text-decoration: underline; cursor: pointer; }
.bh-greet-toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 12px); z-index: 10001; background: #1a2847; color: #fff; padding: 12px 18px; border-radius: 12px; font-size: .9rem; max-width: 340px; line-height: 1.5; box-shadow: 0 12px 30px rgba(0,0,0,0.25); opacity: 0; transition: opacity .28s ease, transform .28s ease; }
.bh-greet-toast.show { opacity: 1; transform: translate(-50%, 0); }
@media (prefers-reduced-motion: reduce) { .bh-greet-modal, .bh-greet-card, .bh-greet-toast { transition: none; } }
.bh-contact-fab .bh-fab-zalo { background: #0068FF; }
.bh-contact-fab .bh-fab-mess { background: #0084FF; }
.bh-contact-fab .bh-fab-call { background: #16A34A; }
.bh-contact-fab a::after { content: attr(data-label); position: absolute; right: 62px; top: 50%; transform: translateY(-50%); background: #1a1a1a; color: #fff; font-size: .78rem; font-weight: 600; padding: 6px 11px; border-radius: 8px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .15s; }
.bh-contact-fab a:hover::after { opacity: 1; }
@media (max-width: 600px) { .bh-contact-fab { right: 12px; bottom: 12px; gap: 9px; } .bh-contact-fab a { width: 48px; height: 48px; } .bh-contact-fab a::after { display: none; } }


.site-header.scrolled {
  background: rgba(26,26,26,0.82);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 6px 24px rgba(0,0,0,0.35);
}

/* Inline content links — animated underline (scoped to prose, not nav/buttons) */
.lead a:not(.btn), .fit-card a:not(.btn), .ho-price-note a, .form-note a {
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1.5px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size var(--t-base) var(--ease-out);
  text-decoration: none;
}
.lead a:not(.btn):hover, .fit-card a:not(.btn):hover { background-size: 100% 1.5px; }

/* ===============================================================
   5. HERO — signature moment (ambient warmth + staggered entrance)
   =============================================================== */
.hero { position: relative; isolation: isolate; }
/* Soft warm gold glow — the "honey light" (subtle, behind content) */
.hero::before {
  content: "";
  position: absolute;
  top: -140px; right: -60px;
  width: 580px; height: 580px;
  max-width: 70vw;
  background: radial-gradient(circle at center, rgba(255,192,32,0.18), rgba(255,192,32,0.05) 45%, transparent 70%);
  z-index: 0;
  pointer-events: none;
  filter: blur(4px);
}
.hero .container { position: relative; z-index: 1; }

/* Float card — gentle continuous breathe (premium liveliness, very subtle) */
.hero-float-card { animation: bh-float 6s ease-in-out infinite; }

/* On-load entrance sequence (CSS-only, robust without JS) */
@keyframes bh-rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes bh-fade-in { from { opacity: 0; transform: scale(0.985); } to { opacity: 1; transform: none; } }
@keyframes bh-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

.hero-content > * { animation: bh-rise 0.72s var(--ease-out) backwards; }
.hero-content > *:nth-child(1) { animation-delay: 0.05s; }
.hero-content > *:nth-child(2) { animation-delay: 0.13s; }
.hero-content > *:nth-child(3) { animation-delay: 0.21s; }
.hero-content > *:nth-child(4) { animation-delay: 0.29s; }
.hero-content > *:nth-child(5) { animation-delay: 0.37s; }
.hero-visual { animation: bh-fade-in 0.9s var(--ease-out) 0.22s backwards; }

/* ===============================================================
   6. SECTION HEADERS — refined intro spacing
   =============================================================== */
.section-header { margin-bottom: clamp(34px, 4.5vw, 56px); }
.section-header.centered { max-width: 760px; margin-left: auto; margin-right: auto; }

/* ===============================================================
   7. HONEYCOMB texture utility (optional, faint warmth accent)
   =============================================================== */
.hexture { position: relative; }
.hexture::after {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='64' viewBox='0 0 56 64'%3E%3Cpath fill='none' stroke='%23FFC020' stroke-opacity='0.10' stroke-width='1.5' d='M28 1l24 14v28L28 57 4 43V15z'/%3E%3C/svg%3E");
  background-size: 56px 64px;
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}
.hexture > * { position: relative; z-index: 1; }

/* ===============================================================
   8. REDUCED MOTION — neutralize all premium-layer motion
   (base main.css already handles .reveal; this covers new animations)
   =============================================================== */
@media (prefers-reduced-motion: reduce) {
  .hero-content > *, .hero-visual, .hero-float-card { animation: none !important; }
  .hero-img-wrap img { transition: none; }
  .btn, .included-card, .cm-card, .fit-card, .need-card,
  .pricing-main-card, .bs-phase, .kho-card, .tg-method-card, .ho-mon-card { transition: none; }
  .hero::before { display: none; }
}

/* ===============================================================
   9. EXPENSIVE DETAILS — crafted micro-interactions (whisper, not shout)
   Goal: make sections feel "đắt tiền", not busier. One refined move each.
   =============================================================== */

/* 9a · Editorial serif numerals (the "$10K checklist" 01/02/03 look) */
.value-num, .ai-role-num, .step-number, .journey-step-grade,
.included-num, .bs-phase-num, .prog-card-top .prog-num {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-weight: 500;
  font-variant-numeric: lining-nums;
  letter-spacing: -0.01em;
}

/* 9b · Crafted card hover — slower, softer lift + warm border (replaces generic uniform lift) */
.need-card, .pain-card, .cm-card, .prog-card, .team-card,
.included-card, .tg-method-card, .bs-phase, .pricing-main-card, .ho-mon-card {
  transition: transform .3s var(--ease-out),
              box-shadow .3s var(--ease-out),
              border-color .3s var(--ease-out);
}
.need-card:hover, .pain-card:hover, .cm-card:hover, .prog-card:hover,
.team-card:hover, .included-card:hover, .ho-mon-card:hover, .bs-phase:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold-border, rgba(255,192,32,0.42));
}

/* 9c · Icon micro-response — tinted square fills gold, icon flips dark (deliberate state change) */
.cm-icon, .pain-icon, .prog-icon, .report-icon, .need-card-icon {
  transition: background-color .3s var(--ease-out),
              color .3s var(--ease-out),
              transform .35s var(--ease-spring);
}
.cm-card:hover .cm-icon, .pain-card:hover .pain-icon,
.prog-card:hover .prog-icon, .report-item:hover .report-icon,
.need-card:hover .need-card-icon {
  background-color: var(--gold);
  color: var(--dark);
  transform: translateY(-1px);
}

/* 9c-ring · vòng vàng mảnh "chạy quanh" ô icon khi hover — tinh tế, áp toàn hệ thống icon */
.cm-icon, .pain-icon, .prog-icon, .report-icon, .need-card-icon { position: relative; }
.cm-icon::after, .pain-icon::after, .prog-icon::after,
.report-icon::after, .need-card-icon::after {
  content: "";
  position: absolute;
  inset: -9px;
  border-radius: 50%;
  padding: 2px;                          /* độ dày vòng */
  background: conic-gradient(from 0deg, var(--brand-gold), rgba(255,192,32,0) 68%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;        /* khoét rỗng giữa → chỉ còn viền vòng */
  opacity: 0;
  transition: opacity .4s var(--ease-out);
  animation: bh-icon-ring 2.8s linear infinite;
  animation-play-state: paused;           /* chỉ chạy khi hover */
  pointer-events: none;
}
.cm-card:hover .cm-icon::after,
.pain-card:hover .pain-icon::after,
.prog-card:hover .prog-icon::after,
.report-item:hover .report-icon::after,
.need-card:hover .need-card-icon::after {
  opacity: 1;
  animation-play-state: running;
}
@keyframes bh-icon-ring { to { transform: rotate(1turn); } }
@media (prefers-reduced-motion: reduce) {
  .cm-icon::after, .pain-icon::after, .prog-icon::after,
  .report-icon::after, .need-card-icon::after { animation: none !important; }
}

/* 9d · Photo reveal-on-hover — subtle zoom within a clipped frame */
.program-featured-img, .team-photo { overflow: hidden; }
.program-featured-img img, .team-photo img {
  transition: transform .7s var(--ease-out);
  will-change: transform;
}
.program-featured:hover .program-featured-img img,
.team-card:hover .team-photo img { transform: scale(1.045); }

/* 9e · Eyebrow — editorial leading hairline */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before {
  content: "";
  width: 22px; height: 1.5px;
  background: currentColor;
  opacity: 0.5;
  flex: 0 0 auto;
}
.section-header.centered .eyebrow { justify-content: center; }

/* 9f · Premium focus-visible ring (a11y CRITICAL + crafted) */
a:focus-visible, button:focus-visible, .btn:focus-visible,
.need-card:focus-visible, .faq-question:focus-visible, .ho-mon-card:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: var(--r-sm, 6px);
}

/* 9g · Signature reveal — subtle 3D "pop into place" as you scroll (motion-on only) */
@media (prefers-reduced-motion: no-preference) {
  html.js-reveal-ready .reveal {
    opacity: 0;
    transform: perspective(1200px) rotateX(7deg) translateY(28px);
    transition: opacity .72s var(--ease-out), transform .72s var(--ease-out);
    transition-delay: calc(var(--i, 0) * 80ms);
    transform-origin: center top;
  }
  html.js-reveal-ready .reveal.revealed {
    opacity: 1;
    transform: perspective(1200px) rotateX(0deg) translateY(0);
  }
}

/* 9h · Hover parity for remaining section types (so no block feels "đại trà") */
.ai-role, .report-item, .value-item, .method-step, .kho-card, .journey-step {
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .4s var(--ease-out);
}
.ai-role:hover, .report-item:hover, .value-item:hover, .method-step:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}
.kho-card:hover { transform: translateY(-3px); border-color: rgba(255,192,32,0.40); }
.journey-step:hover { transform: translateY(-2px); }

/* reduced-motion: neutralize hovers/zooms (reveal handled above via no-preference guard) */
@media (prefers-reduced-motion: reduce) {
  .need-card, .pain-card, .cm-card, .prog-card, .team-card,
  .included-card, .tg-method-card, .bs-phase, .pricing-main-card, .ho-mon-card,
  .cm-icon, .pain-icon, .prog-icon, .report-icon, .need-card-icon,
  .program-featured-img img, .team-photo img,
  .ai-role, .report-item, .value-item, .method-step, .kho-card, .journey-step { transition: none; }
}

/* ===============================================================
   10. CÂN DÒNG — text-wrap (chống ngắt dòng lệch / mồ côi chữ trên desktop)
   =============================================================== */
h1, h2, h3, .eyebrow { text-wrap: balance; }
.lead, .hero-sub, .prog-hero-desc, .page-hero-sub, .section-header p { text-wrap: balance; }
p { text-wrap: pretty; }

/* ===============================================================
   11. BADGE LỚP nổi bật — phụ huynh xác định mục tiêu nhanh
   =============================================================== */
.prog-grades {
  background: rgba(255,192,32,0.24);
  color: var(--dark, #1a1a1a);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  padding: 4px 11px;
  border-radius: 999px;
  white-space: nowrap;
}

/* ===============================================================
   12. TƯƠNG PHẢN (a11y AA) — chữ không chìm: gold-trên-gold / gold-trên-sáng
   =============================================================== */
/* Pill "Lớp X" trên timeline Hành trình: chữ tối đọc rõ (trước gold trên gold-tint) */
.journey-step-grade { color: var(--dark, #1a1a1a) !important; }
/* Node ĐANG active (vd Lớp 8): số TỐI trên vòng tròn gold (trước số hoà vào nền) */
.journey-step.active .journey-dot,
.journey-step.active .journey-dot span { color: #3a2a00 !important; }
/* Nút outline trên nền sáng: chữ gold ĐẬM đọc rõ (trước dùng #FFC020 bị chìm) */
.btn-outline, .btn-outline:hover { color: #8a6a00; }
/* Link "Xem môn …" trên thẻ trắng: gold đậm đọc rõ */
.prog-card .prog-link { color: #8a6a00; }
/* Eyebrow trên nền SÁNG: gold đậm đọc rõ (eyebrow-light trên nền tối giữ nguyên gold sáng) */
.eyebrow:not(.eyebrow-light) { color: #8a6a00; }

/* ===============================================================
   13. "MỘT NGÀY Ở BEE'S HOME" — timeline editorial cân đối
   (trước: cột giờ ẩn -> chừa khoảng trống 140px, khối chữ dồn lệch.
    nay: hiện giờ bằng số serif + đường ray vàng + chấm mốc nối liền)
   =============================================================== */
.schedule-layout { grid-template-columns: 1fr 300px; gap: 48px; }
/* FIX mobile: cột phụ 300px không co -> tràn ngang. Media query đặt SAU (premium load cuối) để thắng. */
@media (max-width: 760px) { .schedule-layout { grid-template-columns: 1fr; gap: 28px; } }
/* FIX mobile: thẻ học phí chính stack dọc + cột giá full-width để giá dài (vd "trọn khoá 8 tuần") không tràn */
@media (max-width: 560px) {
  .pricing-main-card { flex-direction: column; align-items: flex-start; }
  .pricing-main-right { text-align: left; width: 100%; }
}

/* mỗi mốc: [giờ 96px] | [khối nội dung], đường ray chạy dọc trong khe */
.schedule-item {
  grid-template-columns: 96px 1fr;
  gap: 30px;
  padding: 20px 0;
  border-bottom: none;            /* bỏ gạch ngang — đường ray dọc thay thế */
  align-items: start;
  position: relative;
}
/* đường ray dọc nối liền các mốc (đặt giữa khe giờ↔nội dung) */
.schedule-item::before {
  content: "";
  position: absolute;
  left: 110px; top: 0; bottom: 0;
  width: 2px;
  background: rgba(255,192,32,0.38);
}
.schedule-item:first-child::before { top: 28px; }            /* ray bắt đầu từ chấm đầu */
.schedule-item:last-child::before  { bottom: auto; height: 28px; } /* và kết ở chấm cuối */
/* chấm mốc — đục lỗ qua đường ray bằng viền trắng */
.schedule-item::after {
  content: "";
  position: absolute;
  left: 105px; top: 22px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: #fff;
  border: 2.5px solid var(--gold, #FFC020);
  box-shadow: 0 0 0 4px #fff;
  transition: transform .2s ease;
}
.schedule-item:last-child::after { background: var(--gold, #FFC020); } /* mốc cuối tô đầy = kết thúc ngày */
.schedule-item:hover::after { transform: scale(1.18); }

/* giờ: số serif Fraunces, vàng đậm (AA trên nền trắng), canh phải về phía ray */
.schedule-time {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: #8a6a00;
  letter-spacing: 0;
  text-align: right;
  padding-top: 1px;
  line-height: 1.35;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.schedule-last .schedule-time { color: #8a6a00; }   /* base đặt var(--gold) sáng -> ép vàng đậm */

/* khối nội dung lùi vào khỏi đường ray, chữ thoáng hơn */
.schedule-block { padding-left: 30px; }
.schedule-block h4 {
  font-size: 1.03rem; font-weight: 700; margin-bottom: 6px;
  transition: color .2s ease;
}
.schedule-block p { font-size: 0.875rem; line-height: 1.62; }
.schedule-item:hover .schedule-block h4 { color: #8a6a00; }

/* thẻ phụ căn đỉnh + tiêu đề vàng đủ tương phản trên nền vàng nhạt */
.schedule-aside { gap: 14px; }
.aside-card-gold h4 { color: #8a6a00; }

/* hai ca học: Buổi sáng (Lớp 6 & 8) / Buổi chiều (Lớp 7 & 9) */
.schedule-shift + .schedule-shift { margin-top: 44px; }
.shift-head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 6px; }
.shift-head .shift-tag { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; color: var(--dark, #1a1a1a); letter-spacing: -0.01em; }
.shift-head .shift-grades { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.05em; color: #8a6a00; background: rgba(255,192,32,0.20); padding: 4px 11px; border-radius: 999px; text-transform: uppercase; }

/* MOBILE: ray dồn về mép trái, giờ thành nhãn trên khối */
@media (max-width: 768px) {
  .schedule-item {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 14px 0 14px 24px;
  }
  .schedule-item::before { left: 5px; top: 0; bottom: 0; height: auto; }
  .schedule-item:first-child::before { top: 10px; }
  .schedule-item:last-child::before  { bottom: auto; height: 12px; }
  .schedule-item::after { left: 0; top: 6px; }
  .schedule-time { text-align: left; padding-top: 0; font-size: 0.92rem; }
  .schedule-block { padding-left: 0; }
}

/* ===============================================================
   14. BẢNG GIÁ 3 GÓI — mảng tối sang trọng (navy + vàng #FFC020 + Fraunces)
   Render bởi pricing-cards.js vào [data-pricing-cards]
   =============================================================== */
.section.pricing-band {
  background: linear-gradient(165deg, #101a30 0%, #0c1320 60%, #0b1418 100%);
  color: #fff; position: relative; overflow: hidden;
  padding-top: 76px; padding-bottom: 76px;
}
.section.pricing-band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 50% at 50% 0%, rgba(255,192,32,0.10), transparent 70%);
}
.pricing-band .container { position: relative; z-index: 1; }

.pb-header { text-align: center; max-width: 680px; margin: 0 auto 40px; }
.pb-eyebrow { display: inline-block; color: #FFC020; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 14px; }
.pb-heading { font-family: var(--font-display); color: #fff; font-size: clamp(1.9rem, 4vw, 2.6rem); line-height: 1.12; margin: 0 0 12px; text-wrap: balance; }
.pb-submeta { color: rgba(255,255,255,0.62); font-size: 0.98rem; margin: 0; }

.pb-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: start; }

.pb-card { position: relative; background: rgba(255,255,255,0.035); border: 1px solid rgba(255,255,255,0.12); border-radius: 20px; padding: 28px 24px; text-align: center; transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.pb-card:hover { border-color: rgba(255,255,255,0.22); transform: translateY(-4px); }
.pb-card--featured { background: linear-gradient(180deg, rgba(255,192,32,0.10) 0%, rgba(255,192,32,0.02) 100%); border: 2px solid #FFC020; box-shadow: 0 0 0 1px rgba(255,192,32,0.25), 0 24px 60px -24px rgba(255,192,32,0.45); margin-top: -12px; }

.pb-ribbon { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg, #FFD54A, #FFC020); color: #1a1a1a; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; padding: 7px 18px; border-radius: 999px; white-space: nowrap; box-shadow: 0 6px 18px -6px rgba(255,192,32,0.6); }
.pb-ribbon--premium { background: #16203a; color: #FFC020; border: 1px solid rgba(255,192,32,0.6); box-shadow: none; }

.pb-label { color: rgba(255,255,255,0.5); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; margin: 0 0 10px; }
.pb-name { font-family: var(--font-display); font-size: 1.42rem; font-weight: 600; color: #fff; margin: 0 0 6px; }
.pb-card--featured .pb-name, .pb-card--premium .pb-name { color: #FFC020; }
.pb-tagline { color: rgba(255,255,255,0.6); font-size: 0.86rem; line-height: 1.45; margin: 0 0 18px; min-height: 34px; }

.pb-price { background: rgba(0,0,0,0.18); border: 1px solid rgba(255,255,255,0.08); border-radius: 14px; padding: 16px 14px; margin-bottom: 14px; }
.pb-price-goc { color: rgba(255,255,255,0.42); font-size: 0.95rem; text-decoration: line-through; margin: 0 0 4px; }
.pb-price-sale { font-family: var(--font-display); color: #FFC020; font-size: 2.05rem; font-weight: 700; line-height: 1; margin: 0 0 6px; }
.pb-price-sale .pb-d { font-size: 1rem; font-weight: 600; margin-left: 1px; }
.pb-perday { color: rgba(255,255,255,0.5); font-size: 0.8rem; margin: 0; }

.pb-save { background: rgba(79,209,165,0.12); border: 1px solid rgba(79,209,165,0.32); color: #5fdcb0; font-size: 0.82rem; font-weight: 700; border-radius: 10px; padding: 9px 12px; margin-bottom: 20px; }

.pb-features { list-style: none; padding: 0; margin: 0 0 22px; text-align: left; }
.pb-features li { position: relative; padding: 0 0 0 28px; margin-bottom: 9px; color: rgba(255,255,255,0.85); font-size: 0.9rem; line-height: 1.45; }
.pb-features li::before { position: absolute; left: 0; top: 0; font-weight: 700; font-size: 0.95rem; }
.pb-features li.is-on::before { content: "✓"; color: #FFC020; }
.pb-features li.is-off::before { content: "✕"; color: rgba(255,255,255,0.28); }
.pb-features li.is-off { color: rgba(255,255,255,0.4); }
.pb-features li.is-hl { color: #FFC020; font-weight: 600; }

.pb-gift { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; text-align: left; background: rgba(255,192,32,0.10); border: 1px dashed rgba(255,192,32,0.55); border-radius: 12px; padding: 12px 14px; margin: -6px 0 22px; color: #FFC020; font-size: 0.86rem; font-weight: 600; }
.pb-gift-tag { background: #FFC020; color: #1a1a1a; font-size: 0.66rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; padding: 3px 8px; border-radius: 6px; }

.pb-cta { display: block; text-decoration: none; text-align: center; padding: 15px 18px; border-radius: 12px; font-size: 0.98rem; font-weight: 700; transition: all .2s ease; border: 1.5px solid rgba(255,255,255,0.3); color: #fff; background: rgba(255,255,255,0.06); }
.pb-cta:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.5); }
.pb-cta--featured { background: linear-gradient(135deg, #FFD54A, #FFC020); color: #1a1a1a; border-color: transparent; font-weight: 800; box-shadow: 0 10px 26px -10px rgba(255,192,32,0.7); }
.pb-cta--featured:hover { filter: brightness(1.05); transform: translateY(-2px); }
.pb-cta--premium { background: transparent; border-color: #FFC020; color: #FFC020; }
.pb-cta--premium:hover { background: rgba(255,192,32,0.12); }

.pb-footnote { text-align: center; color: rgba(255,255,255,0.55); font-size: 0.9rem; margin: 36px 0 0; }
.pb-note { text-align: center; color: rgba(255,255,255,0.5); font-size: 0.85rem; margin: 10px auto 0; max-width: 560px; }

@media (max-width: 920px) {
  .pb-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; gap: 28px; }
  .pb-card--featured { margin-top: 0; }
  .pb-tagline { min-height: 0; }
}

/* Hiệu ứng 3D fan + số chạy (desktop · tôn trọng giảm chuyển động) — thay framer-motion/NumberFlow của bản React */
@media (min-width: 921px) and (prefers-reduced-motion: no-preference) {
  .pb-grid.pb-anim { perspective: 1900px; }
  .pb-grid.pb-anim .pb-card { opacity: 0; transform: translateY(46px); transition: opacity .7s ease, transform 1s cubic-bezier(.2,.75,.2,1); transition-delay: calc(var(--i, 0) * 0.1s); }
  .pb-grid.pb-anim.pb-in .pb-card { opacity: 1; transform: translateY(0); }
  .pb-grid.pb-anim.pb-in .pb-card:first-child { transform: rotateY(7deg) scale(0.965); transform-origin: right center; }
  .pb-grid.pb-anim.pb-in .pb-card:last-child { transform: rotateY(-7deg) scale(0.965); transform-origin: left center; }
  .pb-grid.pb-anim.pb-in .pb-card--featured { transform: translateY(0) scale(1.03); }
}

/* ===============================================================
   15. 4 MÙA — selector chương trình theo mùa + câu nói mỗi ngày
   (engine inline trong index.html; .reveal sở hữu opacity/transform
    nên dim dùng !important + chuyên biệt hơn để thắng fallback reveal)
   =============================================================== */
.hero-daily { font-style: italic; color: rgba(255,255,255,0.72); font-size: 0.92rem; line-height: 1.55; margin: 12px 0 2px; max-width: 48ch; }

#program-grid .prog-card { position: relative; transition: border-color .4s ease, box-shadow .4s ease; }
.prog-badge { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); z-index: 3; font-size: 0.66rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; padding: 5px 13px; border-radius: 999px; white-space: nowrap; box-shadow: 0 6px 16px -6px rgba(0,0,0,0.35); }
.prog-badge--summer { background: linear-gradient(135deg, #00B894, #00CEC9); color: #fff; }
.prog-badge--year { background: linear-gradient(135deg, #FFD54A, #FFC020); color: #1a1a1a; }
.prog-card.bh-spotlight { border-color: var(--gold, #FFC020); box-shadow: 0 0 0 2px rgba(255,192,32,0.35), 0 18px 44px -20px rgba(255,192,32,0.42); }
.prog-card.is-season-dim { opacity: 0.5 !important; }
.prog-card.is-season-hidden { display: none !important; }

/* ===============================================================
   16. CÂU CHUYỆN PHỤ HUYNH — landing pages (premium, tái dùng)
   =============================================================== */
.parent-story { position: relative; background: var(--cream, #F8F6F1); border-left: 4px solid var(--gold, #FFC020); border-radius: 16px; padding: 32px 30px; box-shadow: 0 12px 32px -18px rgba(0,0,0,0.16); }
.parent-story-tag { display: inline-block; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: #8a6a00; background: rgba(255,192,32,0.18); padding: 5px 12px; border-radius: 999px; margin-bottom: 16px; }
.parent-story-quote { font-family: var(--font-display); font-size: 1.2rem; font-style: italic; line-height: 1.6; color: var(--dark, #1a1a1a); margin: 0 0 16px; text-wrap: pretty; }
.parent-story-resolve { font-size: 0.98rem; line-height: 1.72; color: var(--text-sec, #555); margin: 0 0 14px; }
.parent-story-resolve strong { color: #8a6a00; }
.parent-story-by { font-size: 0.85rem; color: var(--text-ter, #888); font-style: italic; margin: 0; }
@media (max-width: 640px) { .parent-story { padding: 26px 20px; } .parent-story-quote { font-size: 1.08rem; } }

/* ===============================================================
   17. PHOTO STACK — hộp hero "Kỷ cương · Hỗ trợ · Tiến bộ" (lật ảnh học sinh)
   Box ẩn ≤992px (chỉ hiện desktop). Ảnh là PLACEHOLDER — thay ảnh đã xin phép trước khi deploy.
   =============================================================== */
.prog-hero-visual { overflow: hidden; }
.photo-stack { position: absolute; inset: 0; display: grid; place-items: center; perspective: 1000px; z-index: 1; }
.photo-stack-card {
  position: absolute; width: 66%; aspect-ratio: 4 / 5;
  border-radius: 14px; overflow: hidden; background: #1a1a1a;
  border: 3px solid #fff;
  box-shadow: 0 18px 44px -14px rgba(0,0,0,0.6);
  transform: translate(calc(var(--n,0) * -14px), calc(var(--n,0) * -10px)) rotate(calc(var(--n,0) * -3.5deg));
  z-index: calc(60 - var(--n,0) * 10);
  transition: transform .55s cubic-bezier(.2,.7,.2,1);
  cursor: pointer;
}
.photo-stack-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* nhãn ô hình — CĂN GIỮA dưới đáy */
.media-box-label {
  position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 70;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase; text-align: center; text-wrap: balance; white-space: normal;
  line-height: 1.4; max-width: calc(100% - 28px);   /* cho phép xuống dòng, không tràn/cắt mép */
  color: #FFC020; background: rgba(10,16,26,0.78); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  padding: 6px 14px; border-radius: 14px;
}
/* FADE / KENBURNS — hiệu ứng ô hình (cho các trang khác) */
.photo-fade { position: absolute; inset: 0; }
.photo-fade-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; }
.photo-fade-slide.is-active { opacity: 1; }
.photo-fade-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-fade--kenburns .photo-fade-slide.is-active img { animation: bh-kenburns 9s ease-out forwards; }
@keyframes bh-kenburns { from { transform: scale(1); } to { transform: scale(1.12); } }
@media (prefers-reduced-motion: reduce) { .photo-fade--kenburns .photo-fade-slide.is-active img { animation: none; } }

/* ô hình hero TRANG CHỦ (lồng trong .hero-img-wrap đã có sẵn aspect 4/5 + bo góc) */
.hero-media { position: absolute; inset: 0; z-index: 1; }
.hero-media img, .hero-media .photo-fade-slide img, .hero-media .photo-stack-card img { object-position: center top; }
/* Tối ưu hero trang chủ: lớp phủ editorial (nền lùi lại, chủ thể nổi, cảm giác premium kể cả ảnh nền lộn xộn) */
.hero-img-wrap::after {
  background:
    linear-gradient(180deg, rgba(20,16,10,0.26) 0%, transparent 26%, transparent 50%, rgba(20,16,10,0.66) 100%),
    radial-gradient(130% 92% at 50% 30%, transparent 50%, rgba(20,16,10,0.44) 100%);
}
@media (prefers-reduced-motion: reduce) { .photo-stack-card { transition: none; } }

/* ===============================================================
   18. STAKES grid — hook "nỗi đau" cho landing page (vd Lớp 6 bước ngoặt)
   =============================================================== */
.stakes-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin: 36px auto 0; max-width: 920px; }
.stakes-card { background: #fff; border: 1px solid var(--border, #ececec); border-left: 4px solid var(--gold, #FFC020); border-radius: 14px; padding: 22px 24px; }
.stakes-card h4 { font-size: 1.05rem; margin: 0 0 6px; color: var(--dark, #1a1a1a); text-wrap: balance; }
.stakes-card p { font-size: 0.92rem; line-height: 1.62; color: var(--text-sec, #555); margin: 0; }
@media (max-width: 640px) { .stakes-grid { grid-template-columns: 1fr; } }

/* ===============================================================
   19. TRỢ LÝ HỌC TẬP — USP grid (framing an toàn)
   =============================================================== */
.assistant-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin: 36px auto 0; max-width: 920px; }
.assistant-card { background: var(--cream, #F8F6F1); border: 1px solid var(--border, #ececec); border-radius: 14px; padding: 22px 24px; }
.assistant-card h4 { font-size: 1.02rem; margin: 0 0 6px; color: var(--dark, #1a1a1a); }
.assistant-card h4::before { content: "\2713"; color: #8a6a00; font-weight: 800; margin-right: 8px; }
.assistant-card p { font-size: 0.9rem; line-height: 1.6; color: var(--text-sec, #555); margin: 0; }
.assistant-note { max-width: 720px; margin: 24px auto 0; text-align: center; font-size: 0.9rem; line-height: 1.6; color: var(--text-sec, #555); font-style: italic; }
@media (max-width: 640px) { .assistant-grid { grid-template-columns: 1fr; } }

/* ===============================================================
   20. VALUE / BONUS — cam kết đồng hành + tặng kèm (landing)
   =============================================================== */
.value-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin: 36px auto 0; max-width: 920px; }
.value-card { background: #fff; border: 1px solid var(--border, #ececec); border-radius: 16px; padding: 26px 24px; }
.value-card h4 { font-size: 1.08rem; margin: 0 0 8px; color: var(--dark, #1a1a1a); text-wrap: balance; }
.value-card p { font-size: 0.92rem; line-height: 1.65; color: var(--text-sec, #555); margin: 0; }
.value-card .value-note { margin-top: 12px; background: var(--cream, #F8F6F1); border-left: 3px solid var(--gold, #FFC020); border-radius: 8px; padding: 10px 12px; font-size: 0.84rem; }
.value-grid--dark .value-card { background: rgba(255,255,255,0.05); border-color: rgba(255,192,32,0.3); }
.value-grid--dark .value-card h4 { color: #FFC020; }
.value-grid--dark .value-card p { color: rgba(255,255,255,0.85); }
@media (max-width: 640px) { .value-grid { grid-template-columns: 1fr; } }

/* ===============================================================
   21b/22. FX — lưới động + thanh vàng chạy (nền cho mảng TỐI)
   Thêm class .fx-lines vào section tối + 1 lớp .fx-scan span (tuỳ chọn)
   =============================================================== */
.fx-lines { position: relative; overflow: hidden; }
.fx-lines > *:not(.fx-scan) { position: relative; z-index: 2; }
.fx-lines::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,192,32,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,192,32,0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  animation: fxGrid 22s linear infinite;
}
@keyframes fxGrid { from { background-position: 0 0; } to { background-position: 48px 48px; } }
.fx-scan { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.fx-scan span { position: absolute; left: 0; width: 100%; height: 2px; opacity: 0.4; background: linear-gradient(90deg, transparent, #FFC020 20%, #FFD54A 50%, #FFC020 80%, transparent); animation: fxScan 5s linear infinite; }
.fx-scan span:nth-child(even) { animation-direction: reverse; animation-delay: 2s; opacity: 0.26; }
@keyframes fxScan { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
@media (prefers-reduced-motion: reduce) { .fx-lines::before { animation: none; } .fx-scan { display: none; } }

/* ===============================================================
   23. BẢNG ĐIỀU HƯỚNG "Chọn hướng đồng hành" (trang chủ Hub)
   6 thẻ: Ai phù hợp · Giúp gì · 1 nút. Nút ghim đáy → thẻ canh đều.
   =============================================================== */
.path-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 8px; }
.path-card {
  display: flex; flex-direction: column; gap: 14px;
  background: #fff; border: 1px solid rgba(26,26,26,0.09); border-radius: 18px;
  padding: 26px 24px; box-shadow: 0 1px 2px rgba(26,26,26,0.04);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.path-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px -18px rgba(26,26,26,0.28); border-color: rgba(255,192,32,0.55); }
.path-card h3 { margin: 0; font-size: 1.2rem; line-height: 1.3; padding-bottom: 12px; border-bottom: 1px solid rgba(26,26,26,0.08); }
.path-row { display: flex; flex-direction: column; gap: 3px; }
.path-label { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #8a6a00; }
.path-row p { margin: 0; font-size: .95rem; line-height: 1.55; color: #4a4a4a; }
.path-card .btn { margin-top: auto; }
.path-cta {
  margin: 36px auto 0; max-width: 760px; text-align: center;
  background: #fff; border: 1px solid rgba(26,26,26,0.08); border-radius: 20px;
  padding: 28px 28px 30px; box-shadow: 0 10px 30px -20px rgba(26,26,26,0.3);
}
.path-cta p { margin: 0 auto 18px; max-width: 620px; font-size: 1.04rem; line-height: 1.6; color: #1a1a1a; }
.path-cta-btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
@media (max-width: 900px) { .path-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .path-grid { grid-template-columns: 1fr; } }

/* ===============================================================
   24. "Bee's Home khác gì?" — 4 ý tương phản (Không chỉ X · mà Y)
   =============================================================== */
.diff-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin: 8px auto 0; max-width: 900px; }
.diff-card { position: relative; background: #fff; border: 1px solid rgba(26,26,26,0.07); border-radius: 16px; padding: 24px 26px 24px 32px; box-shadow: 0 6px 22px rgba(0,0,0,0.05); }
.diff-card::before { content: ""; position: absolute; left: 14px; top: 22px; bottom: 22px; width: 5px; border-radius: 3px; background: var(--solution-accent, #2F8A5B); }
/* Hover thẻ Khác biệt: nhấc nhẹ + bóng đậm hơn + viền xanh (vai trò giải pháp) */
html.js-reveal-ready .diff-card { transition: transform .28s var(--ease-out, ease), box-shadow .28s ease, border-color .28s ease; }
.diff-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(26,26,26,0.10); border-color: rgba(47,138,91,0.38); }
.diff-no { display: block; font-size: .95rem; color: #6e6e6e; text-decoration: line-through; text-decoration-color: #b4b4b4; text-decoration-thickness: 1.5px; }
.diff-yes { display: block; font-size: 1.22rem; font-weight: 800; color: #1a2847; margin-top: 8px; line-height: 1.4; }
.diff-key { color: #8a6a00; }
@media (max-width: 640px) { .diff-grid { grid-template-columns: 1fr; } }
/* Hiệu ứng khi CUỘN TỚI ô (reveal) — DÙNG CHUNG: Khác biệt (.diff-card) · Nỗi lo (.pain-card) · Chọn nhu cầu (.need-card).
   Thanh vàng "vẽ" xuống + nền quét sáng + quầng vàng 1 nhịp (outline — không đụng bóng gốc). Stagger theo thứ tự đọc. */
.diff-card::before,
.pain-card::after { transform: scaleY(0); transform-origin: top center; transition: transform .55s var(--ease-out, ease); transition-delay: calc(var(--i, 0) * .09s); }
.diff-card.revealed::before,
.pain-card.revealed::after { transform: scaleY(1); }
.diff-card.revealed,
.pain-card.revealed,
.need-card.revealed { animation: bh-card-arrive 1.1s ease calc(var(--i, 0) * .09s) 1 backwards; }
@keyframes bh-card-arrive {
  0%   { background: #FFF7E6; outline: 0 solid rgba(255,192,32,0);    outline-offset: 2px; }
  45%  { background: #FFFDF6; outline: 3px solid rgba(255,192,32,0.38); outline-offset: 2px; }
  100% { background: #ffffff; outline: 0 solid rgba(255,192,32,0);    outline-offset: 2px; }
}
@media (prefers-reduced-motion: reduce) {
  .diff-card::before, .pain-card::after { transform: none; transition: none; }
  .diff-card.revealed, .pain-card.revealed, .need-card.revealed { animation: none; }
}

/* ===============================================================
   25/26. Reporting nâng cấp — 3 nhóm bằng chứng + mẫu báo cáo tuần
   =============================================================== */
.evidence-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; margin-top: 8px; }
.evidence-col { display: flex; flex-direction: column; gap: 16px; }
.evidence-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12); border-radius: 16px; padding: 20px 22px; }
.evidence-tag { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .04em; color: #FFC020; margin-bottom: 10px; }
.evidence-card ul { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; }
.evidence-card li { font-size: .94rem; line-height: 1.5; color: rgba(255,255,255,0.78); }
.report-mock { margin: 0; background: #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 20px 50px -24px rgba(0,0,0,0.6); }
.report-mock-head { display: flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 700; color: #1a1a1a; padding: 14px 20px; background: #F8F6F1; border-bottom: 1px solid rgba(26,26,26,0.08); }
.report-mock-dot { width: 10px; height: 10px; border-radius: 50%; background: #FFC020; flex: none; }
.report-mock-tag { margin-left: auto; font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #8a6a00; background: rgba(255,192,32,0.18); padding: 3px 8px; border-radius: 999px; }
.report-mock-body { padding: 18px 20px 6px; }
.report-mock-body .rm-h { margin: 0 0 6px; font-size: .82rem; font-weight: 700; color: #1a1a1a; }
.report-mock-body ul { margin: 0 0 16px; padding-left: 18px; display: flex; flex-direction: column; gap: 4px; }
.report-mock-body li { font-size: .9rem; line-height: 1.5; color: #4a4a4a; }
.report-mock-note { margin: 0; padding: 12px 20px 16px; font-size: .76rem; font-style: italic; color: #8a8a8a; border-top: 1px dashed rgba(26,26,26,0.12); }
@media (max-width: 820px) { .evidence-layout { grid-template-columns: 1fr; } }

/* ===============================================================
   27. Team preview 3 thẻ (trang chủ Hub)
   =============================================================== */
.team-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 860px) { .team-grid-3 { grid-template-columns: 1fr; max-width: 420px !important; } }

/* ===============================================================
   28. MEDIA EDITORIAL — ô hình AN TOÀN (không ảnh người), chờ ảnh minh hoạ
   Dùng khi page-media.js đặt effect:'editorial' hoặc images rỗng.
   =============================================================== */
.media-editorial { position: relative; width: 100%; height: 100%; min-height: 360px; display: grid; place-items: center; background: linear-gradient(155deg, #2c2519 0%, #1e1c18 50%, #151210 100%); border-radius: inherit; overflow: hidden; }
.media-editorial::before { content: ""; position: absolute; top: -28%; right: -18%; width: 62%; height: 62%; border-radius: 50%; background: radial-gradient(circle, rgba(255,192,32,0.20) 0%, transparent 70%); pointer-events: none; }
.media-editorial-mark { position: relative; z-index: 1; width: 92px; height: 92px; border-radius: 50%; border: 2px solid #FFC020; color: #FFC020; display: grid; place-items: center; box-shadow: 0 0 0 8px rgba(255,192,32,0.08); }
.media-editorial-mark svg { width: 42px; height: 42px; }

/* ===============================================================
   29. Hero trust badges (prog-hero dark) — dải điểm nổi bật dưới CTA
   =============================================================== */
.prog-hero-trust { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.prog-hero-trust li { font-size: 0.82rem; font-weight: 600; color: rgba(255,255,255,0.82); }

/* ===============================================================
   30. Method steps (Trust Bridge: Chẩn đoán → Lấp lỗ hổng → Tăng tốc)
   =============================================================== */
.method-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 34px; }
.method-step { background: var(--cream); border: 1px solid var(--border); border-radius: 18px; padding: 28px 24px; text-align: center; }
.method-step-num { width: 54px; height: 54px; border-radius: 50%; margin: 0 auto 16px; display: grid; place-items: center; font-family: 'Fraunces', Georgia, serif; font-size: 1.5rem; font-weight: 700; color: #FFC020; background: rgba(255,192,32,0.16); border: 2px solid #FFC020; }
.method-step h3 { font-size: 1.12rem; margin: 0 0 8px; }
.method-step p { font-size: 0.92rem; line-height: 1.6; color: var(--text-sec); margin: 0; }
@media (max-width: 760px) { .method-steps { grid-template-columns: 1fr; } }

/* Learn-flow: METHOD 5 bước "học chủ động" nhúng trong mục Khác biệt (trang chủ) */
.learn-flow { margin-top: 36px; background: var(--white, #fff); border: 1px solid var(--border); border-radius: 18px; padding: 26px 24px; }
.learn-flow-title { font-weight: 700; color: var(--dark); text-align: center; margin: 0 0 18px; font-size: 1.02rem; }
.learn-flow-steps { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; margin: 0; padding: 0; }
.learn-flow-steps li { display: flex; align-items: center; gap: 9px; font-weight: 600; color: var(--dark); font-size: 0.95rem; background: var(--cream); border: 1px solid var(--border); border-radius: 999px; padding: 8px 16px; }
.learn-flow-steps li:not(:last-child)::after { content: "\2192"; margin-left: 5px; color: #8a6a00; font-weight: 700; }
.lf-num { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 0.82rem; font-weight: 700; color: #8a6a00; background: rgba(255,192,32,0.18); border: 1.5px solid #FFC020; flex-shrink: 0; transition: background .2s ease, color .2s ease; }
/* Hover từng bước "cách con học": nhấc nhẹ + viền vàng + số đảo vàng đặc */
.learn-flow-steps li { transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease; }
.learn-flow-steps li:hover { transform: translateY(-2px); border-color: var(--gold, #FFC020); background: #fff; box-shadow: 0 6px 16px rgba(255,192,32,0.18); }
.learn-flow-steps li:hover .lf-num { background: var(--brand-gold, #FFC020); color: #1a2847; }
.learn-flow-note { text-align: center; color: var(--text-sec); font-size: 0.9rem; line-height: 1.6; margin: 18px auto 0; max-width: 680px; }
@media (max-width: 560px) { .learn-flow-steps { flex-direction: column; } .learn-flow-steps li { width: 100%; justify-content: center; } .learn-flow-steps li:not(:last-child)::after { content: ""; margin: 0; } }

/* Kết quả thi vào 10 (trang /ket-qua/) — render từ ket-qua-thi.js */
.kqthi-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 228px), 1fr)); gap: 16px; margin-top: 30px; }
.kqthi-card { background: var(--white, #fff); border: 1px solid var(--border); border-radius: 16px; padding: 22px 20px; text-align: center; box-shadow: 0 1px 3px rgba(0,0,0,.04); }
.kqthi-top { font-weight: 700; color: var(--dark); margin: 0 0 10px; font-size: .95rem; }
.kqthi-top span { font-weight: 500; color: var(--text-sec); font-size: .84rem; }
.kqthi-tong { font-family: 'Fraunces', Georgia, serif; font-size: 2.4rem; font-weight: 700; color: #3B6D11; line-height: 1; margin: 0; }
.kqthi-tong small { font-size: .88rem; font-weight: 600; color: var(--text-sec); font-family: inherit; }
.kqthi-mon { font-size: .87rem; color: var(--text-sec); margin: 8px 0 12px; }
.kqthi-do { font-weight: 700; color: #8a6a00; margin: 0; font-size: .94rem; }
.kqthi-empty { text-align: center; color: var(--text-sec); font-style: italic; grid-column: 1 / -1; }
.kqthi-note { text-align: center; color: var(--text-sec); font-size: .85rem; margin: 22px auto 0; max-width: 720px; line-height: 1.6; }
.kqthi-summary { max-width: 760px; margin: 28px auto 0; background: rgba(255,192,32,.07); border: 1px solid var(--border); border-left: 4px solid #FFC020; border-radius: 14px; padding: 20px 24px; }
.kqthi-summary p { margin: 0; font-size: .95rem; line-height: 1.7; color: var(--text-sec); }
.kqthi-summary strong { color: var(--dark); }

/* ===============================================================
   31. Roadmap timeline (Lộ trình 4 giai đoạn)
   =============================================================== */
.roadmap { max-width: 760px; margin: 36px auto 0; position: relative; }
.roadmap::before { content: ''; position: absolute; left: 26px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(#FFC020, rgba(255,192,32,0.2)); }
.roadmap-stage { position: relative; padding: 0 0 28px 70px; }
.roadmap-stage:last-child { padding-bottom: 0; }
.roadmap-badge { position: absolute; left: 0; top: 0; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--dark, #1a1a1a); color: #FFC020; font-family: 'Fraunces', Georgia, serif; font-weight: 700; font-size: 0.92rem; }
.roadmap-when { display: inline-block; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: #8a6a00; margin-bottom: 4px; }
.roadmap-stage h3 { font-size: 1.1rem; margin: 4px 0 6px; }
.roadmap-stage p { font-size: 0.92rem; line-height: 1.6; color: var(--text-sec); margin: 0; }
@media (max-width: 560px) { .roadmap-stage { padding-left: 62px; } }

/* Biến thể .roadmap-item / .roadmap-body (dùng ở Bán trú Hè) — mirror .roadmap-stage để badge nằm đúng trên đường timeline */
.roadmap-item { position: relative; padding: 0 0 28px 70px; }
.roadmap-item:last-child { padding-bottom: 0; }
.roadmap-body { display: contents; }   /* badge (dù nằm trong body) vẫn định vị theo .roadmap-item */
.roadmap-item h4 { font-size: 1.1rem; margin: 4px 0 6px; }
.roadmap-item p { font-size: 0.92rem; line-height: 1.6; color: var(--text-sec); margin: 0; }
@media (max-width: 560px) { .roadmap-item { padding-left: 62px; } }

/* ===============================================================
   32. Commitments (Cam kết đồng hành — remediate, không hứa điểm)
   =============================================================== */
.commit { max-width: 800px; margin: 0 auto; background: var(--cream); border: 1px solid var(--border); border-radius: 22px; padding: 32px; }
.commit ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.commit li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.96rem; line-height: 1.55; }
.commit li svg { flex: none; width: 22px; height: 22px; color: #1a8f5a; margin-top: 2px; }
@media (min-width: 680px) { .commit ul { grid-template-columns: 1fr 1fr; } }

/* ===============================================================
   33. Photo gallery (Khoảnh khắc học tập — ảnh thật)
   =============================================================== */
.photo-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 34px; }
.photo-gallery figure { margin: 0; border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow-sm); }
.photo-gallery img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s var(--ease-out, ease); }
.photo-gallery figure:hover img { transform: scale(1.06); }
@media (min-width: 680px) { .photo-gallery { grid-template-columns: repeat(5, 1fr); } }

/* ===============================================================
   34. Marquee (dải ảnh tự trượt vô tận — "Không khí lớp học")
   =============================================================== */
.marquee { overflow: hidden; width: 100%; -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee-scroll 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { flex: 0 0 auto; width: clamp(180px, 26vw, 280px); aspect-ratio: 4 / 5; margin-right: 18px; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-md); }
.marquee-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s var(--ease-out, ease); }
.marquee-item:hover img { transform: scale(1.05); }
@keyframes marquee-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } .marquee { overflow-x: auto; } }

/* ===============================================================
   35. Expand gallery (hover nở rộng — "Không khí học tập")
   =============================================================== */
.expand-gallery { display: flex; gap: 10px; height: 400px; width: 100%; margin-top: 34px; }
.expand-gallery .eg-item { position: relative; flex: 1; min-width: 0; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-md); transition: flex 0.5s var(--ease-out, ease); }
.expand-gallery .eg-item img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.expand-gallery .eg-item:hover, .expand-gallery .eg-item:focus-within { flex: 4; }
@media (max-width: 680px) { .expand-gallery { flex-wrap: wrap; height: auto; gap: 8px; } .expand-gallery .eg-item { flex: 1 1 47%; height: 180px; } .expand-gallery .eg-item:hover { flex: 1 1 47%; } }
@media (prefers-reduced-motion: reduce) { .expand-gallery .eg-item { transition: none; } }

/* ═══════════════════════════════════════════════════════════════
   BẰNG CHỨNG / LỜI PHỤ HUYNH (social proof + testimonials)
   Lời phụ huynh THẬT, gõ lại + ẩn danh (không đăng ảnh Zalo raw).
   =============================================================== */
.proof-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; max-width: 940px; margin: 0 auto 40px; }
.proof-stat { background: var(--cream, #F8F6F1); border: 1px solid var(--border, #E4E0D6); border-radius: var(--r-lg, 16px); padding: 24px 16px; text-align: center; }
.proof-stat strong { display: block; font-family: 'Fraunces', Georgia, serif; font-size: 2rem; font-weight: 700; color: #8a6a00; line-height: 1; margin-bottom: 6px; }
.proof-stat span { font-size: 0.8rem; color: var(--text-sec, #5a5a5a); font-weight: 600; line-height: 1.4; }
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); gap: 20px; max-width: 1100px; margin: 0 auto; }
.testimonial-card { background: #fff; border: 1px solid var(--border, #E4E0D6); border-left: 4px solid var(--brand-gold, #FFC020); border-radius: 0 var(--r-lg, 16px) var(--r-lg, 16px) 0; padding: 24px 26px; display: flex; flex-direction: column; gap: 14px; box-shadow: var(--shadow-sm, 0 4px 18px -10px rgba(0,0,0,0.12)); }
.testimonial-quote { font-size: 0.97rem; line-height: 1.72; color: var(--dark, #1a1a1a); margin: 0; font-style: italic; }
.testimonial-by { display: flex; align-items: center; gap: 11px; margin-top: auto; }
.testimonial-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--brand-gold-light, #FFF3D6); color: #8a6a00; display: grid; place-items: center; font-family: 'Fraunces', Georgia, serif; font-weight: 700; font-size: 0.9rem; flex-shrink: 0; }
.testimonial-name { font-size: 0.85rem; font-weight: 700; color: var(--dark, #1a1a1a); }
.testimonial-meta { font-size: 0.76rem; color: var(--text-ter, #8a8a8a); }
.proof-note { text-align: center; font-size: 0.8rem; color: var(--text-ter, #8a8a8a); max-width: 660px; margin: 28px auto 0; line-height: 1.6; }
@media (max-width: 680px) { .proof-stats { grid-template-columns: repeat(2, 1fr); } }

/* Giấy khen cá nhân hóa (ảnh ngang 16:9) */
.giaykhen-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); gap: 18px; max-width: 1120px; margin: 0 auto; }
.giaykhen-card { margin: 0; border-radius: var(--r-lg, 16px); overflow: hidden; border: 1px solid var(--border, #E4E0D6); box-shadow: var(--shadow-md, 0 8px 28px rgba(0,0,0,0.11)); background: var(--cream, #F8F6F1); }
.giaykhen-card img { width: 100%; height: auto; display: block; aspect-ratio: 16 / 9; object-fit: cover; }
/* Dải ảnh tin nhắn thật (ảnh dọc, đã ẩn thông tin) */
.loiph-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); gap: 14px; max-width: 1000px; margin: 0 auto; }
.loiph-card { margin: 0; border-radius: var(--r-md, 10px); overflow: hidden; border: 1px solid var(--border, #E4E0D6); box-shadow: var(--shadow-sm, 0 2px 10px rgba(0,0,0,0.07)); background: #fff; }
.loiph-card img { width: 100%; height: auto; display: block; }
/* Câu chuyện đằng sau danh hiệu */
.danhhieu-stories { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 18px; max-width: 1100px; margin: 28px auto 0; }
.story-card { background: var(--cream, #F8F6F1); border: 1px solid var(--border, #E4E0D6); border-radius: var(--r-lg, 16px); padding: 24px 22px; }
.story-card .story-emoji { font-size: 1.7rem; line-height: 1; }
.story-card h4 { font-family: 'Fraunces', Georgia, serif; font-size: 1.12rem; margin: 12px 0 2px; color: var(--dark, #1a1a1a); }
.story-card .story-en { font-style: italic; color: #8a6a00; font-size: 0.78rem; margin: 0 0 12px; }
.story-card .story-text { font-size: 0.92rem; line-height: 1.72; color: var(--text-sec, #4A4A4A); margin: 0; }

/* ── Cookie consent — thẻ premium (học layout Grok, tông Bee's Home) ──── */
.bh-cookie-bar {
  position: fixed; z-index: 9000;
  bottom: 20px; right: 20px; left: auto;
  width: min(410px, calc(100vw - 40px));
  background: #fff; border: 1px solid var(--border, #E4E0D6);
  border-radius: 18px; padding: 20px 22px 18px;
  box-shadow: 0 18px 50px -12px rgba(26,40,71,.28), 0 4px 14px -8px rgba(0,0,0,.14);
  transform: translateY(22px); opacity: 0;
  transition: transform .4s cubic-bezier(.22,1,.36,1), opacity .35s ease;
  overflow: hidden;
}
.bh-cookie-bar::before { /* dải vàng mảnh trên đầu thẻ */
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--brand-gold, #FFC020), #ffd966);
}
.bh-cookie-bar.visible { transform: translateY(0); opacity: 1; }
.bh-cookie-close {
  position: absolute; top: 12px; right: 12px; width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  background: transparent; border: none; border-radius: 8px; cursor: pointer;
  color: #9a9a9a; font-size: .95rem; line-height: 1; padding: 0;
}
.bh-cookie-close:hover { background: rgba(0,0,0,.05); color: #444; }
.bh-cookie-head { display: flex; align-items: center; gap: 9px; margin-bottom: 8px; padding-right: 26px; }
.bh-cookie-head .ico { font-size: 1.15rem; line-height: 1; }
.bh-cookie-head h4 { margin: 0; font-family: var(--font-display, 'Fraunces'), Georgia, serif; font-size: 1.02rem; font-weight: 600; color: var(--dark, #1a2847); }
.bh-cookie-bar p { margin: 0 0 16px; font-size: .85rem; line-height: 1.58; color: var(--text-sec, #4A4A4A); }
.bh-cookie-bar p a { color: #8a6a00; text-decoration: underline; }
.bh-cookie-actions { display: flex; gap: 10px; }
.btn-cookie-accept {
  flex: 1; background: var(--brand-gold, #FFC020); color: #1a1a1a;
  border: none; border-radius: 10px; padding: 11px 18px;
  font-family: inherit; font-size: .875rem; font-weight: 700; cursor: pointer; white-space: nowrap;
  transition: background .15s ease;
}
.btn-cookie-accept:hover { background: #e6ac00; }
.btn-cookie-reject {
  background: transparent; color: var(--text-sec, #555);
  border: 1.5px solid var(--border, #ddd); border-radius: 10px; padding: 10px 18px;
  font-family: inherit; font-size: .875rem; font-weight: 600; cursor: pointer; white-space: nowrap;
  transition: border-color .15s ease, color .15s ease;
}
.btn-cookie-reject:hover { border-color: #999; color: #222; }
.bh-fab-hidden { display: none !important; }
@media (max-width: 600px) {
  .bh-cookie-bar { bottom: 0; right: 0; left: 0; width: auto; border-radius: 16px 16px 0 0;
    padding: 18px 18px calc(18px + env(safe-area-inset-bottom, 0px)); }
}
@media (prefers-reduced-motion: reduce) { .bh-cookie-bar { transition: opacity .2s ease; transform: none !important; } }

/* ═══════════════════════════════════════════════════════════════════
   VIỀN CHẠY QUANH CARD KHI HOVER — "đang ở đây" (toàn hệ thống, tinh tế)
   Vòng gradient vàng chạy quanh viền card khi rê chuột. CSS thuần (GPU),
   tôn trọng prefers-reduced-motion (giảm chuyển động → viền tĩnh).
   ═══════════════════════════════════════════════════════════════════ */
@property --bh-cardangle {
  syntax: '<angle>'; initial-value: 0deg; inherits: false;
}
.need-card, .pain-card, .cm-card, .prog-card, .team-card, .included-card,
.ho-mon-card, .pp-step-card, .story-card, .program-featured, .exam-card,
.tg-method-card, .bs-phase, .pricing-main-card {
  position: relative;
}
.need-card::before, .pain-card::before, .cm-card::before, .prog-card::before,
.team-card::before, .included-card::before, .ho-mon-card::before, .pp-step-card::before,
.story-card::before, .program-featured::before, .exam-card::before,
.tg-method-card::before, .bs-phase::before, .pricing-main-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;                       /* độ dày viền */
  background: conic-gradient(from var(--bh-cardangle),
    rgba(255,192,32,0) 0deg, var(--brand-gold) 55deg, rgba(255,192,32,0) 135deg, rgba(255,192,32,0) 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;     /* khoét rỗng giữa → chỉ còn viền */
  opacity: 0;
  transition: opacity .35s var(--ease-out, ease);
  pointer-events: none;
  z-index: 3;
}
.need-card:hover::before, .pain-card:hover::before, .cm-card:hover::before,
.prog-card:hover::before, .team-card:hover::before, .included-card:hover::before,
.ho-mon-card:hover::before, .pp-step-card:hover::before, .story-card:hover::before,
.program-featured:hover::before, .exam-card:hover::before, .tg-method-card:hover::before,
.bs-phase:hover::before, .pricing-main-card:hover::before {
  opacity: 1;
  animation: bh-card-runborder 2.6s linear infinite;
}
@keyframes bh-card-runborder { to { --bh-cardangle: 360deg; } }
@media (prefers-reduced-motion: reduce) {
  .need-card:hover::before, .pain-card:hover::before, .cm-card:hover::before,
  .prog-card:hover::before, .team-card:hover::before, .included-card:hover::before,
  .ho-mon-card:hover::before, .pp-step-card:hover::before, .story-card:hover::before,
  .program-featured:hover::before, .exam-card:hover::before, .tg-method-card:hover::before,
  .bs-phase:hover::before, .pricing-main-card:hover::before { animation: none; opacity: 1; }
}


/* ===== POLISH-CARD-HOVER: noi bat + hieu ung the phang toan he thong ===== */
.philosophy-card, .value-card, .vbh-skill-card, .feature-card, .giaykhen-card,
.testimonial-card, .article-card, .included-card, .res-card, .fit-card,
.prog-detail-card, .pp-step-card {
  box-shadow: 0 2px 10px rgba(26,26,26,0.045);
}
html.js-reveal-ready .philosophy-card, html.js-reveal-ready .value-card,
html.js-reveal-ready .vbh-skill-card, html.js-reveal-ready .feature-card,
html.js-reveal-ready .giaykhen-card, html.js-reveal-ready .testimonial-card,
html.js-reveal-ready .article-card, html.js-reveal-ready .included-card,
html.js-reveal-ready .res-card, html.js-reveal-ready .fit-card,
html.js-reveal-ready .prog-detail-card, html.js-reveal-ready .pp-step-card {
  transition: transform .26s cubic-bezier(.4,0,.2,1), box-shadow .26s, border-color .26s;
}
html.js-reveal-ready .philosophy-card:hover, html.js-reveal-ready .value-card:hover,
html.js-reveal-ready .vbh-skill-card:hover, html.js-reveal-ready .feature-card:hover,
html.js-reveal-ready .giaykhen-card:hover, html.js-reveal-ready .testimonial-card:hover,
html.js-reveal-ready .article-card:hover, html.js-reveal-ready .included-card:hover,
html.js-reveal-ready .res-card:hover, html.js-reveal-ready .fit-card:hover,
html.js-reveal-ready .prog-detail-card:hover, html.js-reveal-ready .pp-step-card:hover,
.philosophy-card:hover, .value-card:hover, .vbh-skill-card:hover, .feature-card:hover,
.giaykhen-card:hover, .testimonial-card:hover, .article-card:hover, .included-card:hover,
.res-card:hover, .fit-card:hover, .prog-detail-card:hover, .pp-step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(26,26,26,0.11);
  border-color: rgba(255,192,32,0.45);
}
html.js-reveal-ready .value-grid--dark .value-card:hover, .value-grid--dark .value-card:hover { border-color: rgba(255,192,32,0.6); box-shadow: 0 14px 32px rgba(0,0,0,0.35); }


/* ===== SLIDE (trượt ngang carousel) ===== */
.photo-slide { position: absolute; inset: 0; overflow: hidden; }
.photo-slide-track { display: flex; width: 100%; height: 100%; transition: transform .7s cubic-bezier(.4,0,.2,1); will-change: transform; }
.photo-slide-item { flex: 0 0 100%; height: 100%; }
.photo-slide-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (prefers-reduced-motion: reduce) { .photo-slide-track { transition: none; } }


/* ===== FOOTER: khối pháp lý + chăm sóc phụ huynh (2 cột -> 1 cột mobile) ===== */
.footer-legal-block { display:block; padding:18px 0 2px; margin-top:8px; border-top:1px solid rgba(255,255,255,0.12); }
.footer-legal-block .flb-list { columns:2; column-gap:44px; }
.footer-legal-block .flb-list li { break-inside:avoid; }
@media(max-width:760px){ .footer-legal-block .flb-list { columns:1; } }
@media(max-width:760px){ .footer-legal-block{ grid-template-columns:1fr; gap:18px; } }
.flb-title { text-transform:uppercase; letter-spacing:0.05em; font-size:0.74rem; font-weight:800; color:#FFC020; margin:0 0 8px; padding-bottom:5px; border-bottom:2px solid #FFC020; display:inline-block; }
.flb-intro { font-size:0.78rem; line-height:1.5; color:rgba(255,255,255,0.7); margin:0 0 8px; }
.flb-list { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:3px; }
.flb-list li { font-size:0.785rem; line-height:1.4; color:rgba(255,255,255,0.7); }
.flb-list li strong { color:rgba(255,255,255,0.9); font-weight:600; }
.flb-list a, .flb-policies a { color:#FFC020; text-decoration:none; }
.flb-list a:hover { text-decoration:underline; }
.flb-policies { display:flex; flex-wrap:wrap; gap:6px 20px; padding:11px 0 2px; margin-top:12px; border-top:1px solid rgba(255,255,255,0.12); }
.flb-policies a { font-size:0.82rem; font-weight:600; color:rgba(255,255,255,0.82); }
.flb-policies a:hover { color:#FFC020; }


/* ===== FOOTER-COMPACT: gọn lại (góp ý "dài loằng ngoằng") ===== */
.site-footer .footer-main { gap: 36px; padding-bottom: 22px; }
.site-footer .footer-links { gap: 6px; }
.site-footer .footer-links a { line-height: 1.35; }
/* cột Bee's Home đã tách 2 cột riêng (Về Bee's Home / Tuyển dụng & Nhân sự) -> không cần chảy cột nữa */
/* bỏ hàng policy CŨ ở footer-bottom (đã thay bằng .flb-policies mới đầy đủ hơn) */
.site-footer .footer-bottom .footer-legal { display: none; }

/* FOOTER-BIZ — thông tin pháp lý gọn trong cột thương hiệu */
.footer-brand .footer-biz { list-style:none; margin:14px 0 0; padding:12px 0 0; border-top:1px solid rgba(255,255,255,0.12); }
.footer-brand .footer-biz li { font-size:0.76rem; line-height:1.55; color:rgba(255,255,255,0.62); margin:0 0 3px; }
.footer-brand .footer-biz li strong { color:rgba(255,255,255,0.85); font-weight:600; letter-spacing:0.02em; }

/* ============================================================
   3D TILT (nhẹ, CSS transform + preserve-3d) — opt-in [data-tilt]
   Chỉ chạy khi có hover + con trỏ mịn; JS gắn/tháo, CSS lo chiều sâu.
   ============================================================ */
.need-grid { perspective: 950px; }                         /* cha tạo phối cảnh cho các thẻ con */
.need-card[data-tilt] { transform-style: preserve-3d; will-change: transform; }
/* các lớp bên trong nhô lên khi thẻ đang nghiêng -> cảm giác chiều sâu thật */
.need-card[data-tilt] > .need-card-icon,
.need-card[data-tilt] > h4,
.need-card[data-tilt] > p { transition: transform .4s var(--ease-out); }
.need-card[data-tilt].tilt-active > .need-card-icon { transform: translateZ(42px); }
.need-card[data-tilt].tilt-active > h4 { transform: translateZ(26px); }
.need-card[data-tilt].tilt-active > p  { transform: translateZ(15px); }
/* an toàn: thiết bị cảm ứng / giảm chuyển động -> phẳng hoàn toàn */
@media (hover: none), (pointer: coarse) {
  .need-grid { perspective: none; }
  .need-card[data-tilt] { transform-style: flat; }
}
@media (prefers-reduced-motion: reduce) {
  .need-card[data-tilt].tilt-active > .need-card-icon,
  .need-card[data-tilt].tilt-active > h4,
  .need-card[data-tilt].tilt-active > p { transform: none; }
}

/* ============================================================
   NAV 2.0 — menu tuyển sinh (mobile accordion + sticky bar + footer)
   ============================================================ */
/* Mobile menu: CTA đầu menu */
.mobile-nav .mobile-cta-top { margin: 0 0 18px; }
.mobile-nav .mobile-cta-top .btn { min-height: 48px; font-size: 1rem; justify-content: center; }
/* Accordion nhóm (details/summary — không cần JS) */
.mnav-group { border-bottom: 1px solid rgba(255,255,255,0.07); }
.mnav-group summary {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px; min-height: 48px; cursor: pointer;
  font-size: 1.075rem; font-weight: 600; color: rgba(255,255,255,0.85);
  border-radius: var(--r-sm); list-style: none;
  transition: color .2s ease, background .2s ease;
}
.mnav-group summary::-webkit-details-marker { display: none; }
.mnav-group summary::after {
  content: ''; width: 9px; height: 9px; flex-shrink: 0; margin-left: 12px;
  border-right: 2px solid rgba(255,255,255,0.5); border-bottom: 2px solid rgba(255,255,255,0.5);
  transform: rotate(45deg); transition: transform .25s ease;
}
.mnav-group[open] summary { color: var(--gold); }
.mnav-group[open] summary::after { transform: rotate(-135deg); border-color: var(--gold); }
.mnav-group .mnav-links { padding: 0 0 8px; }
.mobile-nav .mnav-links a {
  padding: 12px 16px 12px 28px; min-height: 44px;
  font-size: 0.98rem; font-weight: 500; border-bottom: none;
  color: rgba(255,255,255,0.72);
}
.mobile-nav a.mnav-single {
  min-height: 48px; font-size: 1.075rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
/* Footer: link Chỉ đường + cột thoáng */
.footer-map-link {
  display: inline-block; margin-top: 10px;
  font-size: 0.84rem; font-weight: 600; color: var(--gold);
}
.footer-map-link:hover { text-decoration: underline; }
/* Footer mobile: accordion nhóm link (chỉ <=768px, JS toggle .fcol-open) */
@media (max-width: 768px) {
  .site-footer .footer-col h5 {
    display: flex; align-items: center; justify-content: space-between;
    min-height: 44px; margin-bottom: 0; cursor: pointer;
  }
  .site-footer .footer-col h5::after {
    content: ''; width: 8px; height: 8px;
    border-right: 1.5px solid rgba(255,255,255,0.45); border-bottom: 1.5px solid rgba(255,255,255,0.45);
    transform: rotate(45deg); transition: transform .25s ease;
  }
  .site-footer .footer-col .footer-links { display: none; padding-bottom: 12px; }
  .site-footer .footer-col.fcol-open .footer-links { display: flex; }
  .site-footer .footer-col.fcol-open h5::after { transform: rotate(-135deg); border-color: var(--gold); }
  .site-footer .footer-links a { min-height: 44px; display: flex; align-items: center; font-size: 0.95rem; }
  /* cột Địa chỉ luôn mở (không có .footer-links) */
}

/* FAB tránh bar CTA đáy (mobile) — đặt CUỐI để thắng .bh-contact-fab base + rule 600px */
@media (max-width: 768px) {
  .bh-contact-fab { bottom: 88px; }
}

/* ============================================================
   P2 WOA — dải ảnh trang phụ + tilt danh mục chương trình
   ============================================================ */
.media-band {
  position: relative; aspect-ratio: 21 / 9;
  border-radius: var(--r-xl, 20px); overflow: hidden;
  box-shadow: 0 18px 44px -18px rgba(0,0,0,0.35);
}
.media-band .photo-fade, .media-band .photo-slide { position: absolute; inset: 0; }
.media-band img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 600px) { .media-band { aspect-ratio: 16 / 10; } }
/* tilt cho thẻ danh mục chương trình */
.prog-detail-grid, .programs-grid { perspective: 950px; }
.prog-detail-card[data-tilt] { transform-style: preserve-3d; will-change: transform; }
.prog-detail-card[data-tilt].tilt-active h3 { transform: translateZ(22px); }
.prog-detail-card[data-tilt].tilt-active .prog-icon { transform: translateZ(36px); }
.prog-detail-card[data-tilt] h3, .prog-detail-card[data-tilt] .prog-icon { transition: transform .4s var(--ease-out); }
@media (hover: none), (pointer: coarse) {
  .prog-detail-grid, .programs-grid { perspective: none; }
  .prog-detail-card[data-tilt] { transform-style: flat; }
}
/* hover polish cho card đội ngũ render động */
.team-member-card { transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out), border-color .3s var(--ease-out); }
.team-member-card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px -14px rgba(0,0,0,0.5); border-color: rgba(255,192,32,0.42); }

/* HEADER dễ đọc hơn (yêu cầu landing 2026-07): chữ menu to + sáng hơn, CTA rõ */
.site-nav a { font-size: 0.92rem; color: rgba(255,255,255,0.84); }
.site-nav a:hover, .site-nav a.active { color: var(--gold); }
.header-cta .btn { font-size: 0.88rem; padding: 10px 22px; }
.nav-dropdown a { font-size: 0.88rem; padding: 10px 18px; }

/* ============================================================
   QSUM — component "Trong 30 giây, phụ huynh cần biết"
   (dùng chung 9 trang chương trình — thay đoạn tóm tắt dài)
   ============================================================ */
.qsum { background: var(--cream); border-left: 4px solid var(--brand-gold); border-radius: 0 var(--r-md) var(--r-md) 0; padding: 24px 26px; }
.qsum-title { font-size: 1.08rem; font-weight: 800; color: var(--dark); margin: 0 0 8px; }
.qsum-intro { margin: 0 0 14px; line-height: 1.7; color: var(--text-body); }
.qsum-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 9px 24px; }
.qsum-list li { position: relative; padding-left: 22px; font-size: 0.95rem; line-height: 1.62; color: var(--text-body); }
.qsum-list li::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--brand-gold-text, #8a6a00); font-weight: 800; }
.qsum-list li strong { color: var(--dark); }
.qsum-more { margin-top: 16px; border-top: 1px dashed var(--border, #E4E0D6); padding-top: 10px; }
.qsum-more summary { cursor: pointer; font-size: 0.88rem; font-weight: 700; color: var(--brand-gold-text, #8a6a00); list-style: none; display: inline-flex; align-items: center; gap: 7px; min-height: 36px; }
.qsum-more summary::-webkit-details-marker { display: none; }
.qsum-more summary::after { content: ''; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-1px); transition: transform .2s ease; }
.qsum-more[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.qsum-more-list { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 7px; }
.qsum-more-list li { font-size: 0.88rem; line-height: 1.65; color: var(--text-sec); padding-left: 14px; position: relative; }
.qsum-more-list li::before { content: '·'; position: absolute; left: 2px; font-weight: 800; color: var(--brand-gold-text, #8a6a00); }
@media (max-width: 640px) {
  .qsum { padding: 20px 18px; }
  .qsum-list { grid-template-columns: 1fr; gap: 11px; }
  .qsum-list li { font-size: 0.98rem; }
}

/* HOMEPAGE 2026-07: header CTA nổi bật + 4 trust points hero */
.header-cta .btn { font-weight: 700; box-shadow: 0 4px 16px rgba(255,192,32,0.35); }
.header-cta .btn:hover { box-shadow: 0 6px 20px rgba(255,192,32,0.5); }
.hero-stats { flex-wrap: wrap; row-gap: 14px; }
@media (max-width: 640px) {
  .hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
}

/* Mobile: thẻ nổi "Học thử miễn phí" đè lên 4 trust points (hero-stats 4 điểm cao hơn bản cũ) -> ẩn ở màn hẹp, thông tin đã có trong trust point 1 */
@media (max-width: 760px) { .hero-float-card { display: none; } }

/* LT-REMIND — bar nhắc kỳ thi (gộp countdown + CTA), nổi bật theo nhận diện vàng-đen */
.lt-remind {
  display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap;
  background: var(--dark, #1a1a1a);
  border-top: 2px solid var(--brand-gold); border-bottom: 2px solid var(--brand-gold);
  padding: 14px 20px; text-align: center;
}
.lt-remind p { margin: 0; font-size: 1.02rem; font-weight: 700; color: #fff; }
.lt-remind p::selection { background: var(--brand-gold); }
.lt-remind .lt-remind-btn { white-space: nowrap; font-weight: 700; box-shadow: 0 4px 16px rgba(255,192,32,0.35); }
@media (max-width: 640px) {
  .lt-remind { flex-direction: column; gap: 10px; padding: 14px 16px; }
  .lt-remind p { font-size: 0.95rem; }
  .lt-remind .lt-remind-btn { width: 100%; }
}

/* cụm thời gian trong bar nhắc kỳ thi — vàng brand nổi trên nền đen */
.lt-remind .lt-time { font-style: normal; color: var(--brand-gold, #FFC020); font-weight: 800; }

/* FIX tương phản: .method-step đã reskin nền KEM (premium) nhưng h3/p còn màu trắng của bản nền tối (main.css) -> chữ chìm */
.method-step h3 { color: var(--dark, #1a1a1a); }
.method-step p { color: var(--text-sec, #5a5a5a); }

/* method-step hover: nền chuyển tối (rule main.css cũ) -> chữ phải chuyển trắng theo, kèm viền vàng */
.method-step h3, .method-step p { transition: color .3s var(--ease-out); }
.method-step:hover { border-color: rgba(255,192,32,0.45); }
.method-step:hover h3 { color: #fff; }
.method-step:hover p { color: rgba(255,255,255,0.78); }

/* Nav pill "Học sinh luyện tập" — CTA nhỏ cuối menu chính, không rối menu */
.site-nav a.nav-pill { border: 1.5px solid rgba(255,192,32,0.55); border-radius: 999px; padding: 7px 15px; color: var(--gold); font-weight: 600; margin-left: 6px; }
.site-nav a.nav-pill:hover, .site-nav a.nav-pill.active { background: rgba(255,192,32,0.12); color: var(--gold); }

/* Banner cookie mở -> tạm ẩn thanh gọi/Zalo đáy (mobile) để không che nút; đóng banner là bar hiện lại */
html.bh-cookie-open .zalo-sticky { display: none !important; }

/* FIX căn lề ảnh đội ngũ (Owner 2026-07-03): aspect-ratio 3/4 + max-height 320 làm khung co 240px dạt trái,
   lề 2 bên lệch (mobile card căn giữa). Cho khung full ngang thẻ — ảnh cover vẫn đẹp, lề đều 2 bên. */
.team-photo { width: 100%; }

/* ============================================================
   ĐỒNG BỘ HIỆU ỨNG THẺ TOÀN SITE (Owner 2026-07-03)
   = chuẩn trang chủ: (a) arrive khi cuộn tới, (b) hover nổi + viền vàng, (c) tilt ở trang trọng điểm
   ============================================================ */
/* (a) hiệu ứng XUẤT HIỆN có nhịp (bh-card-arrive đã có keyframe) cho mọi thẻ .reveal */
html.js-reveal-ready .included-card.revealed, html.js-reveal-ready .fit-card.revealed,
html.js-reveal-ready .feature-card.revealed, html.js-reveal-ready .article-card.revealed,
html.js-reveal-ready .value-card.revealed, html.js-reveal-ready .philosophy-card.revealed,
html.js-reveal-ready .giaykhen-card.revealed, html.js-reveal-ready .testimonial-card.revealed,
html.js-reveal-ready .vbh-skill-card.revealed, html.js-reveal-ready .pp-step-card.revealed,
html.js-reveal-ready .timeline-item.revealed, html.js-reveal-ready .prog-detail-card.revealed {
  animation: bh-card-arrive 1.1s ease calc(var(--i, 0) * .09s) 1 backwards;
}
/* (b) hover nổi + viền vàng cho thẻ CHƯA có */
.feature-card, .fit-card, .article-card, .value-card, .philosophy-card, .giaykhen-card,
.testimonial-card, .vbh-skill-card, .res-card, .path-card, .aside-card, .prog-detail-card, .timeline-item {
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out), border-color .3s var(--ease-out);
}
html.js-reveal-ready .feature-card:hover, html.js-reveal-ready .fit-card:hover,
html.js-reveal-ready .article-card:hover, html.js-reveal-ready .value-card:hover,
html.js-reveal-ready .philosophy-card:hover, html.js-reveal-ready .giaykhen-card:hover,
html.js-reveal-ready .testimonial-card:hover, html.js-reveal-ready .vbh-skill-card:hover,
html.js-reveal-ready .res-card:hover, html.js-reveal-ready .path-card:hover,
html.js-reveal-ready .aside-card:hover, html.js-reveal-ready .prog-detail-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md, 0 12px 28px -12px rgba(0,0,0,0.18));
  border-color: var(--gold-border, rgba(255,192,32,0.42));
}
@media (prefers-reduced-motion: reduce) {
  html.js-reveal-ready .included-card.revealed, html.js-reveal-ready .fit-card.revealed,
  html.js-reveal-ready .feature-card.revealed, html.js-reveal-ready .article-card.revealed,
  html.js-reveal-ready .value-card.revealed, html.js-reveal-ready .philosophy-card.revealed,
  html.js-reveal-ready .giaykhen-card.revealed, html.js-reveal-ready .testimonial-card.revealed,
  html.js-reveal-ready .vbh-skill-card.revealed, html.js-reveal-ready .pp-step-card.revealed,
  html.js-reveal-ready .timeline-item.revealed, html.js-reveal-ready .prog-detail-card.revealed { animation: none; }
}
/* (c) tilt 3D cho 2 trang trọng điểm Owner nêu */
.included-grid, .philosophy-grid, .values-grid { perspective: 950px; }
.included-card[data-tilt], .philosophy-card[data-tilt], .value-card[data-tilt] { transform-style: preserve-3d; will-change: transform; }
@media (hover: none), (pointer: coarse) {
  .included-grid, .philosophy-grid, .values-grid { perspective: none; }
  .included-card[data-tilt], .philosophy-card[data-tilt], .value-card[data-tilt] { transform-style: flat; }
}

/* CHẠM NHẸ LÀ THẤY (Owner 2026-07-03): điện thoại không có hover -> :active phản hồi ngay khi chạm, 0.12s */
@media (hover: none) {
  .need-card:active, .pain-card:active, .cm-card:active, .prog-card:active, .team-card:active,
  .included-card:active, .fit-card:active, .feature-card:active, .article-card:active,
  .value-card:active, .philosophy-card:active, .giaykhen-card:active, .testimonial-card:active,
  .vbh-skill-card:active, .res-card:active, .path-card:active, .prog-detail-card:active,
  .method-step:active, .roadmap-stage:active {
    transform: translateY(-2px) scale(0.995);
    border-color: var(--gold-border, rgba(255,192,32,0.5));
    box-shadow: 0 10px 24px -12px rgba(0,0,0,0.22);
    transition-duration: .12s;
  }
}
/* ROADMAP luyện thi = chuẩn trang chủ: arrive + tương tác */
html.js-reveal-ready .roadmap-stage.revealed { animation: bh-card-arrive 1.1s ease calc(var(--i, 0) * .09s) 1 backwards; }
.roadmap-stage { transition: transform .3s var(--ease-out); border-radius: 12px; }
.roadmap-stage:hover { transform: translateX(6px); }
.roadmap-stage:hover .roadmap-badge { background: var(--brand-gold); color: #1a1a1a; transition: background .3s, color .3s; }
@media (prefers-reduced-motion: reduce) {
  html.js-reveal-ready .roadmap-stage.revealed { animation: none; }
  .roadmap-stage:hover { transform: none; }
}
