/* =========================================================
   KÍCH KHÍ SINH TÀI — LANDING STYLES
   Font: Lora (heading, full Vietnamese) + Be Vietnam Pro (body)
   ========================================================= */

:root {
  color-scheme: light;
  --cream: #F5F1E8;
  --cream2: #FAFAF8;
  --cream3: #EFE9D8;
  --ink: #2C2C2C;
  --body: #444;
  --muted: #888;
  --line: #E6E1D4;
  --burgundy: #A4161A;
  --burgundyDark: #7A1015;
  --gold: #C9A357;
  --goldSoft: #D8BE82;
  --goldDeep: #A0813F;
  --navy: #1A1A2E;
  --navy2: #0F0F1E;
}

html { scroll-behavior: smooth; scroll-padding-top: 132px; }
@media (max-width: 1024px) { html { scroll-padding-top: 72px; } }

body {
  font-family: 'Be Vietnam Pro', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "kern" 1, "liga" 1;
  text-rendering: optimizeLegibility;
}

.font-serif { font-family: 'Lora', 'Source Serif Pro', Georgia, serif; font-feature-settings: "kern" 1, "liga" 1; }
.font-display { font-family: 'Lora', 'Source Serif Pro', Georgia, serif; letter-spacing: -0.012em; }

h1, h2, h3 { text-wrap: balance; }
p, li { text-wrap: pretty; }

/* ===================== Color helpers ===================== */
.text-cream { color: var(--cream); }
.text-cream2 { color: var(--cream2); }
.text-ink { color: var(--ink); }
.text-body { color: var(--body); }
.text-muted { color: var(--muted); }
.text-gold { color: var(--gold); }
.text-goldSoft { color: var(--goldSoft); }
.text-burgundy { color: var(--burgundy); }
.bg-cream { background: var(--cream); }
.bg-cream2 { background: var(--cream2); }
.bg-cream3 { background: var(--cream3); }
.bg-navy { background: var(--navy); }
.border-line { border-color: var(--line); }

/* ===================== Eyebrow / smcaps ===================== */
.eyebrow {
  font-size: 11.5px; letter-spacing: 0.28em; text-transform: uppercase;
  font-weight: 500; display: inline-flex; align-items: center; gap: 14px;
}
.smcaps { font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; font-weight: 500; }

/* ===================== Gold rule with traveling dot ===================== */
.gold-rule {
  position: relative; display: inline-block;
  width: 64px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  vertical-align: middle;
  overflow: visible;
}
.gold-rule::after {
  content: ''; position: absolute; top: 50%; left: 0; width: 5px; height: 5px;
  border-radius: 9999px; background: var(--goldSoft);
  box-shadow: 0 0 8px var(--gold), 0 0 16px rgba(201,163,87,0.4);
  transform: translateY(-50%);
  animation: rule-dot 4.5s ease-in-out infinite;
}
@keyframes rule-dot {
  0%, 100% { left: -2px; opacity: 0; }
  10%      { opacity: 1; }
  90%      { opacity: 1; }
  100%     { left: 64px; opacity: 0; }
}

.gold-rule.long { width: 96px; }
.gold-rule.long::after { animation-duration: 6s; }

/* ===================== Mandala / Compass divider ===================== */
.mandala {
  width: 64px; height: 64px;
  animation: spin-slow 36s linear infinite;
}
.mandala-fast { animation-duration: 22s; }
@keyframes spin-slow { from { transform: rotate(0); } to { transform: rotate(360deg); } }

/* ===================== Logo compass rotation ===================== */
.logo-compass {
  animation: compass-sway 18s ease-in-out infinite;
  transform-origin: center;
  will-change: transform;
}
@keyframes compass-sway {
  0%, 100% { transform: rotate(-4deg); }
  50%      { transform: rotate(4deg); }
}

/* ===================== Hero atmospheric bg (photo with top+bottom dark fade) ===================== */
.hero-bg {
  background-color: #14151f; /* fallback if image fails */
  background-image:
    linear-gradient(180deg,
      rgba(0,0,0,0.98) 0%,
      rgba(0,0,0,0.82) 8%,
      rgba(0,0,0,0.35) 22%,
      rgba(0,0,0,0.12) 42%,
      rgba(0,0,0,0.15) 58%,
      rgba(0,0,0,0.55) 75%,
      rgba(0,0,0,0.88) 90%,
      rgba(0,0,0,0.98) 100%
    ),
    radial-gradient(ellipse at 50% 110%, rgba(201,163,87,0.22), transparent 55%),
    url('hero-audience.webp');
  background-size: cover, cover, cover;
  background-position: center, center, center 30%;
  background-repeat: no-repeat;
  position: relative;
}

/* Star/particle canvas layer */
.hero-particles {
  position: absolute; inset: 0;
  width: 100%; height: 100%;       /* canvas is a replaced element — needs explicit 100% */
  pointer-events: none; z-index: 1;
  display: block;
}

/* Hero grain */
.hero-grain {
  position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background-image:
    radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 3px 3px, 7px 7px;
  background-position: 0 0, 1px 2px;
  mix-blend-mode: overlay;
  opacity: 0.5;
}

/* Paper grain for cream sections */
.paper-grain {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    radial-gradient(rgba(170,140,80,0.06) 1px, transparent 1px),
    radial-gradient(rgba(170,140,80,0.05) 1px, transparent 1.5px);
  background-size: 4px 4px, 9px 9px;
  background-position: 0 0, 2px 3px;
  opacity: 0.55;
}

/* Drifting warm light over cream */
.drift-light {
  position: absolute; pointer-events: none; z-index: 0;
  width: 480px; height: 480px; border-radius: 9999px;
  background: radial-gradient(closest-side, rgba(201,163,87,0.16), transparent 70%);
  filter: blur(20px);
  animation: drift 28s ease-in-out infinite;
}
.drift-light.b { animation-duration: 38s; animation-delay: -10s; background: radial-gradient(closest-side, rgba(164,22,26,0.06), transparent 70%); }
@keyframes drift {
  0%   { transform: translate(-20%, -10%); }
  25%  { transform: translate(40%, 20%); }
  50%  { transform: translate(80%, -8%); }
  75%  { transform: translate(35%, 28%); }
  100% { transform: translate(-20%, -10%); }
}

/* ===================== Aurora (dark Hội Ngộ section) ===================== */
.aurora {
  position: absolute; inset: -10% -10% -10% -10%;
  pointer-events: none; z-index: 0;
  filter: blur(60px); opacity: 0.55;
}
.aurora::before, .aurora::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 40% at 30% 30%, rgba(201,163,87,0.35), transparent 60%),
              radial-gradient(ellipse 50% 35% at 75% 60%, rgba(164,22,26,0.25), transparent 60%);
  animation: aurora-shift 22s ease-in-out infinite;
}
.aurora::after {
  background: radial-gradient(ellipse 55% 30% at 60% 20%, rgba(216,190,130,0.25), transparent 60%),
              radial-gradient(ellipse 60% 40% at 20% 80%, rgba(201,163,87,0.22), transparent 60%);
  animation: aurora-shift 28s ease-in-out infinite reverse;
}
@keyframes aurora-shift {
  0%, 100% { transform: translate3d(0,0,0) scale(1); }
  50%      { transform: translate3d(4%, -3%, 0) scale(1.05); }
}

/* ===================== Shimmer on serif headings =====================
   Pass an explicit base color via --shimmer-base (defaults to white). */
.shimmer {
  --shimmer-base: #ffffff;
  background: linear-gradient(
    100deg,
    var(--shimmer-base) 0%,
    var(--shimmer-base) 40%,
    var(--goldSoft) 50%,
    var(--shimmer-base) 60%,
    var(--shimmer-base) 100%
  );
  background-size: 280% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: shimmer-pass 7s ease-in-out infinite;
}
@keyframes shimmer-pass {
  0%, 70% { background-position: 100% 0; }
  85%     { background-position: 0% 0; }
  100%    { background-position: -100% 0; }
}

/* ===================== Quote pulse ===================== */
.quote-mark { animation: q-pulse 5s ease-in-out infinite; }
@keyframes q-pulse {
  0%, 100% { opacity: 0.45; transform: scale(1); }
  50%      { opacity: 0.65; transform: scale(1.04); }
}

/* ===================== Buttons + ripple ===================== */
.btn-primary {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--burgundy); color: #fff; font-weight: 500;
  padding: 14px 30px; border-radius: 6px; letter-spacing: 0.12em;
  text-transform: uppercase; font-size: 13px;
  box-shadow: 0 4px 14px rgba(164,22,26,0.22);
  transition: all .2s ease;
  border: 1px solid transparent;
  font-family: 'Be Vietnam Pro', sans-serif;
  cursor: pointer;
}
.btn-primary:hover {
  background: var(--burgundyDark);
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(164,22,26,0.32);
}
.btn-primary:active { transform: translateY(0); }

.btn-gold {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--gold); color: #1a1a2e; font-weight: 600;
  padding: 14px 30px; border-radius: 6px; letter-spacing: 0.12em;
  text-transform: uppercase; font-size: 13px;
  box-shadow: 0 6px 18px rgba(201,163,87,0.28);
  transition: all .2s ease; cursor: pointer;
  border: 1px solid transparent;
}
.btn-gold:hover {
  background: var(--goldSoft);
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(201,163,87,0.38);
}

.btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid rgba(255,255,255,0.45); color: #fff;
  padding: 13px 28px; border-radius: 6px; letter-spacing: 0.12em;
  text-transform: uppercase; font-size: 13px; font-weight: 500;
  transition: all .2s ease; cursor: pointer;
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(2px);
}
.btn-ghost:hover { background: rgba(255,255,255,0.12); border-color: #fff; }

.btn-ghost-dark {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid rgba(44,44,44,0.7); color: var(--ink);
  padding: 13px 28px; border-radius: 6px; letter-spacing: 0.12em;
  text-transform: uppercase; font-size: 13px; font-weight: 500;
  transition: all .2s ease; cursor: pointer; background: transparent;
}
.btn-ghost-dark:hover { background: var(--ink); color: #fff; }

/* Ripple effect (JS injects .ripple span) */
.btn-primary .ripple, .btn-gold .ripple, .btn-ghost .ripple {
  position: absolute; border-radius: 9999px; pointer-events: none;
  background: rgba(255,255,255,0.4); transform: scale(0);
  animation: ripple-spread 700ms ease-out forwards;
}
.btn-gold .ripple { background: rgba(255,255,255,0.55); }
@keyframes ripple-spread {
  to { transform: scale(4); opacity: 0; }
}

/* Energy ripple aura on CTA hover (extra) */
.btn-primary::before {
  content: ''; position: absolute; inset: -2px;
  border-radius: inherit; pointer-events: none;
  box-shadow: 0 0 0 0 rgba(164,22,26,0.4);
  transition: box-shadow .35s ease;
}
.btn-primary:hover::before { box-shadow: 0 0 0 8px rgba(164,22,26,0); }

/* ===================== Pricing popular card animated border ===================== */
.popular-wrap {
  position: relative; border-radius: 14px; padding: 2px;
  background: conic-gradient(from 0deg,
    var(--gold) 0deg, var(--goldSoft) 60deg,
    var(--gold) 120deg, var(--goldDeep) 180deg,
    var(--gold) 240deg, var(--goldSoft) 300deg, var(--gold) 360deg);
  animation: border-spin 8s linear infinite;
}
@keyframes border-spin { to { transform: rotate(360deg); } }
.popular-wrap > .popular-inner {
  background: #fff; border-radius: 12px;
  animation: border-spin-counter 8s linear infinite;
}
@keyframes border-spin-counter { to { transform: rotate(-360deg); } }

/* Alt: keep card static, rotate gradient via background-position */
.popular-wrap.steady { animation: none; background-size: 200% 200%; animation: border-shift 6s ease-in-out infinite alternate; }
.popular-wrap.steady > .popular-inner { animation: none; }
@keyframes border-shift {
  0%   { background-position: 0% 0%; }
  100% { background-position: 100% 100%; }
}

/* ===================== Schedule cards breathing numbers ===================== */
.num-badge {
  font-family: 'Lora', serif; font-weight: 600;
  font-size: 56px; line-height: 1; color: var(--gold);
  letter-spacing: -0.02em; display: inline-block;
}
.num-breathe { animation: breathe 5s ease-in-out infinite; transform-origin: left center; display: inline-block; }
@keyframes breathe {
  0%, 100% { transform: scale(1); opacity: .9; }
  50%      { transform: scale(1.04); opacity: 1; }
}

/* ===================== Calligraphic number stroke (SVG path animation) ===================== */
.calli-num path {
  fill: none; stroke: var(--gold); stroke-width: 3;
  stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: var(--len, 400);
  stroke-dashoffset: var(--len, 400);
  transition: stroke-dashoffset 1.2s ease;
}
.calli-num.drawn path { stroke-dashoffset: 0; }

/* ===================== Section reveal (cinematic entrance) ===================== */
.reveal { opacity: 0; transition: opacity .9s ease, transform .9s cubic-bezier(.22,.61,.36,1); }
.reveal.up    { transform: translateY(28px); }
.reveal.down  { transform: translateY(-18px); }
.reveal.left  { transform: translateX(-28px); }
.reveal.right { transform: translateX(28px); }
.reveal.scale { transform: scale(.94); }
.reveal.in {
  opacity: 1; transform: translate(0,0) scale(1);
}
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }
.reveal[data-delay="5"] { transition-delay: 0.40s; }
.reveal[data-delay="6"] { transition-delay: 0.48s; }

/* Gold rule draw-in */
.rule-draw {
  display: inline-block; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  width: 0; transition: width .9s cubic-bezier(.22,.61,.36,1) .15s;
  vertical-align: middle;
}
.in .rule-draw, .reveal.in .rule-draw { width: 64px; }

/* ===================== Form ===================== */
.field input, .field textarea, .field select {
  width: 100%; background: #fff; border: 1px solid #DDD4BD; color: var(--ink);
  padding: 13px 14px; border-radius: 6px; font-size: 15px;
  font-family: 'Be Vietnam Pro', sans-serif;
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(201,163,87,0.18);
}
.field label.lbl {
  display: block; font-size: 13px; font-weight: 500; color: var(--ink);
  margin-bottom: 6px; letter-spacing: 0.02em;
}
.req { color: var(--burgundy); margin-left: 2px; }

.pkg-radio { position: relative; }
.pkg-radio input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.pkg-radio .box {
  border: 1.5px solid #DDD4BD; border-radius: 8px; padding: 14px 16px;
  background: #fff; cursor: pointer; transition: all .15s;
  display: flex; align-items: center; gap: 12px; height: 100%;
}
.pkg-radio input:checked + .box {
  border-color: var(--burgundy); background: #FFF7F4;
  box-shadow: 0 0 0 3px rgba(164,22,26,0.08);
}
.pkg-radio .dot {
  width: 18px; height: 18px; border-radius: 9999px;
  border: 1.5px solid #C9C0AA;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.pkg-radio input:checked + .box .dot { border-color: var(--burgundy); }
.pkg-radio input:checked + .box .dot::after {
  content: ''; width: 9px; height: 9px; border-radius: 9999px; background: var(--burgundy);
}

/* ===================== FAQ accordion ===================== */
details.faq > summary { list-style: none; cursor: pointer; }
details.faq > summary::-webkit-details-marker { display: none; }
details.faq .chev {
  width: 24px; height: 24px; border-radius: 9999px;
  border: 1px solid var(--gold); color: var(--gold);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 16px; line-height: 1; transition: transform .25s ease, background .25s, color .25s;
  flex-shrink: 0;
}
details.faq[open] .chev { transform: rotate(45deg); background: var(--gold); color: #fff; }
details.faq[open] .faq-a { animation: faq-in .25s ease both; }
@keyframes faq-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* ===================== Placeholder box ===================== */
.ph-box {
  background: repeating-linear-gradient(135deg, #EDE7D7 0 12px, #E6DFCB 12px 24px);
  color: #9A8E6C; display: flex; align-items: center; justify-content: center;
  text-align: center; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  border: 1px solid #DDD4BD; border-radius: 8px; padding: 12px;
  font-family: 'Be Vietnam Pro', sans-serif;
}

/* Charity photos — 1:1 cover, hover lift, gold ring */
.charity-img {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid rgba(201,163,87,0.25);
  box-shadow: 0 6px 18px -10px rgba(40,28,10,0.25);
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
  background: #EDE7D7;
}
.charity-img img {
  width: 100%; height: 100%; object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.charity-img:hover {
  transform: translateY(-4px);
  border-color: rgba(201,163,87,0.6);
  box-shadow: 0 14px 30px -10px rgba(40,28,10,0.35);
}
.charity-img:hover img { transform: scale(1.04); }

/* ===================== Header ===================== */
.site-header {
  position: fixed; top: 0; inset-inline: 0; z-index: 50;
  transition: background .25s ease, border-color .25s ease, color .25s ease;
}
.site-header.over-dark { color: #fff; }
.site-header.over-dark .nav-link,
.site-header.over-dark .head-text { color: rgba(255,255,255,0.92); }
.site-header.over-dark .head-sub { color: rgba(255,255,255,0.65); }
.site-header.over-dark .head-ico { color: rgba(255,255,255,0.85); }
.site-header.over-light { color: var(--ink); }
.site-header.over-light.scrolled {
  background: rgba(245,241,232,0.86);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.site-header.over-dark.scrolled {
  background: rgba(20,21,31,0.78);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(201,163,87,0.18);
}

.nav-link { position: relative; transition: color .15s; font-size: 13.5px; letter-spacing: 0.04em; }
.nav-link::after {
  content: ''; position: absolute; left: 0; bottom: -5px; height: 1px; width: 0;
  background: var(--gold); transition: width .25s;
}
.nav-link:hover::after { width: 100%; }
.site-header.over-dark .nav-link:hover { color: var(--goldSoft); }
.site-header.over-light .nav-link:hover { color: var(--burgundy); }

/* Header nav row (Row 2 desktop) — divider above */
.header-nav-row { border-top: 1px solid rgba(201,163,87,0.18); }
.site-header.over-light .header-nav-row { border-top-color: rgba(0,0,0,0.08); }
.site-header.over-dark  .header-nav-row { border-top-color: rgba(201,163,87,0.22); }
.header-nav-row .nav-link { font-size: 13px; letter-spacing: 0.05em; }

/* ===================== Section pad ===================== */
.sec-pad { padding-top: 76px; padding-bottom: 76px; position: relative; overflow: hidden; }
@media (max-width: 1024px) { .sec-pad { padding-top: 60px; padding-bottom: 60px; } }
@media (max-width: 640px)  { .sec-pad { padding-top: 48px; padding-bottom: 48px; } }

/* ===================== Quote card ===================== */
.quote-card {
  background: var(--navy); color: var(--cream2);
  border-radius: 12px; padding: 44px 48px;
  position: relative; overflow: hidden;
}
.quote-card::before {
  content: '"'; position: absolute; left: 24px; top: 4px;
  font-family: 'Lora', serif; font-size: 140px; color: var(--gold);
  line-height: 1; opacity: 0.35;
  animation: q-pulse 5s ease-in-out infinite;
}
@media (max-width: 640px) {
  .quote-card { padding: 36px 28px 32px; }
  .quote-card::before { left: 12px; top: -4px; font-size: 100px; }
}

/* ===================== Schedule card ===================== */
.schedule-card {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 28px 26px; transition: all .25s ease;
  position: relative; overflow: hidden;
}
.schedule-card:hover {
  border-color: var(--gold);
  box-shadow: 0 14px 28px -12px rgba(40,28,10,0.16);
  transform: translateY(-2px);
}
.schedule-card .corner {
  position: absolute; right: -22px; top: -22px;
  width: 84px; height: 84px; border-radius: 9999px;
  background: rgba(201,163,87,0.06);
}
.schedule-card.featured {
  background: linear-gradient(155deg, #fff 0%, #FBF6E6 100%);
  border-color: var(--gold);
  box-shadow: 0 10px 24px -10px rgba(201,163,87,0.25);
}

/* ===================== Chip ===================== */
.chip {
  background: rgba(201,163,87,0.12); color: #7A5A1A;
  padding: 5px 11px; border-radius: 9999px;
  font-size: 12px; font-weight: 500; letter-spacing: 0.02em;
  display: inline-block;
}
.chip-dark { background: rgba(201,163,87,0.18); color: var(--goldSoft); }

/* ===================== Pricing cards ===================== */
.pkg-card {
  transition: transform .25s ease, box-shadow .25s ease;
  display: flex; flex-direction: column;
}
.pkg-card.side { transform: translateY(0); }
.pkg-card.side:hover { transform: translateY(-4px); }
.pkg-card.center { transform: translateY(0); }
@media (min-width: 1024px) {
  .pkg-card.center { transform: translateY(-16px) scale(1.03); }
  .pkg-card.center:hover { transform: translateY(-22px) scale(1.04); }
}

/* ===================== Dark section ===================== */
.dark-section {
  background: linear-gradient(180deg, #14151f 0%, #0F0F1E 100%);
  color: var(--cream2); position: relative; overflow: hidden;
}
.form-section {
  background: linear-gradient(180deg, #14151f 0%, #2A1F1A 100%);
  position: relative; overflow: hidden;
}

/* ===================== Hint dot — bát quái corner ===================== */
.bagua-corner {
  position: absolute; pointer-events: none;
  display: grid; grid-template-columns: repeat(3, 5px); gap: 6px;
  opacity: 0.55;
}
.bagua-corner span {
  display: block; width: 4px; height: 4px; border-radius: 9999px;
  background: var(--gold);
}
.bagua-corner span.empty { opacity: 0; }
.bagua-corner.tl { top: 24px; left: 24px; }
.bagua-corner.tr { top: 24px; right: 24px; }
.bagua-corner.bl { bottom: 24px; left: 24px; }
.bagua-corner.br { bottom: 24px; right: 24px; }

/* ===================== Gold thread (left-side connecting line) ===================== */
.gold-thread {
  position: fixed; top: 0; bottom: 0; left: 14px; width: 1px;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(201,163,87,0.55) 8%,
    rgba(201,163,87,0.55) 92%,
    transparent 100%);
  z-index: 30; pointer-events: none;
}
.gold-thread::after {
  content: ''; position: absolute; left: -3px; width: 7px; height: 7px;
  border-radius: 9999px; background: var(--goldSoft);
  box-shadow: 0 0 10px var(--gold);
  top: var(--y, 30%);
  transition: top .2s ease-out;
}
@media (max-width: 1280px) { .gold-thread { display: none; } }

/* ===================== Hero typography big ===================== */
.hero-h1 {
  font-family: 'Lora', serif; font-weight: 600;
  font-size: clamp(46px, 8vw, 84px); line-height: 1.02;
  letter-spacing: -0.02em;
}
.hero-sub {
  font-family: 'Lora', serif; font-style: italic; font-weight: 500;
  font-size: clamp(20px, 3vw, 32px);
}

/* ===================== Misc icons / dividers ===================== */
.check-i { color: #1F7A4D; flex-shrink: 0; }
.cross-i { color: #B4A88A; flex-shrink: 0; }
.gem-i   { color: var(--burgundy); flex-shrink: 0; }

/* Centered medallion divider (for cam kết) */
.medallion {
  width: 96px; height: 96px; border-radius: 9999px;
  background: radial-gradient(circle at 30% 30%, #FBF6E6, var(--cream3));
  border: 1px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 20px -8px rgba(201,163,87,0.4);
  position: relative; z-index: 2;
}
.medallion img { width: 56px; height: 56px; object-fit: contain; }

/* ===================== Mobile menu ===================== */
.mobile-menu { display: none; }
.mobile-menu.open { display: block; }

/* ===================== Page background subtle ===================== */
.bg-cream-soft {
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream2) 100%);
}

/* ===================== Headings sizes ===================== */
.h2 { font-family:'Lora', serif; font-weight: 600; font-size: clamp(28px, 4vw, 44px); line-height: 1.15; letter-spacing: -0.012em; }
.h3 { font-family:'Lora', serif; font-weight: 600; font-size: clamp(22px, 2.5vw, 28px); line-height: 1.25; }

/* ===================== Stat number ===================== */
.stat-num {
  font-family: 'Lora', serif; font-weight: 600;
  font-size: clamp(34px, 5vw, 48px); line-height: 1; color: var(--goldSoft);
  letter-spacing: -0.01em;
}

/* ===================== Hero CTA cluster ===================== */
.cta-row {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 12px;
}

/* ===================== Bio image frame ===================== */
.bio-frame {
  position: relative;
}
.bio-frame::before {
  content: ''; position: absolute; inset: -10px;
  border: 1px solid rgba(201,163,87,0.45);
  border-radius: 12px; pointer-events: none;
  animation: frame-pulse 4s ease-in-out infinite;
}
@keyframes frame-pulse {
  0%, 100% { opacity: 0.4; }
  50%      { opacity: 0.85; }
}

/* ===================== Value Stack (Giá Trị Chương Trình) ===================== */
.value-stack {
  background: #FFFFFF;
  border: 1px solid rgba(201,163,87,0.3);
  border-radius: 14px;
  box-shadow: 0 12px 36px -16px rgba(40,28,10,0.18), 0 0 0 1px rgba(201,163,87,0.08);
  overflow: hidden;
}
.vs-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 26px;
  border-bottom: 1px dashed rgba(201,163,87,0.25);
}
.vs-row:last-of-type { border-bottom: 1px solid rgba(201,163,87,0.4); }
.vs-left { display: flex; align-items: flex-start; gap: 14px; flex: 1; min-width: 0; }
.vs-icon {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(201,163,87,0.12);
  color: #C9A357;
  display: flex; align-items: center; justify-content: center;
  margin-top: 2px;
}
.vs-title {
  font-family: 'Lora', Georgia, serif;
  font-size: 16px;
  font-weight: 600;
  color: #2C2C2C;
  line-height: 1.4;
}
.vs-sub {
  margin-top: 4px;
  font-size: 13px;
  color: #888;
  line-height: 1.6;
}
.vs-right {
  text-align: right;
  flex-shrink: 0;
  min-width: 130px;
}
.vs-label {
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #B8B098;
}
.vs-value {
  font-family: 'Lora', Georgia, serif;
  font-size: 18px;
  font-weight: 600;
  color: #C9A357;
  margin-top: 3px;
  white-space: nowrap;
}
.vs-included {
  font-size: 13px;
  font-weight: 500;
  color: #6FA56C;
  font-style: italic;
}
.vs-priceless {
  font-size: 13px;
  font-weight: 500;
  color: #A4161A;
  font-style: italic;
}

.vs-total {
  background: linear-gradient(180deg, rgba(201,163,87,0.06) 0%, rgba(164,22,26,0.04) 100%);
  padding: 22px 26px 24px;
}
.vs-total-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
}
.vs-total-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #555;
  font-weight: 500;
}
.vs-total-value {
  font-family: 'Lora', Georgia, serif;
  font-size: 22px;
  font-weight: 700;
  color: #2C2C2C;
  text-align: right;
}
.vs-fee-row {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(201,163,87,0.3);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
}
.vs-fee-label {
  font-size: 13px;
  color: #444;
  font-weight: 500;
}
.vs-fee-value {
  font-family: 'Lora', Georgia, serif;
  font-size: 26px;
  font-weight: 700;
  color: #A4161A;
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
}
.vs-fee-tag {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: #A4161A;
  color: #FFF;
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 600;
}

@media (max-width: 639px) {
  .vs-row { flex-direction: column; gap: 10px; padding: 18px 20px; }
  .vs-right { text-align: left; align-self: flex-start; padding-left: 42px; }
  .vs-value { font-size: 16px; }
  .vs-total, .vs-total > div { padding-left: 20px; padding-right: 20px; }
  .vs-total-value { font-size: 18px; }
  .vs-fee-value { font-size: 22px; }
  .vs-fee-row { flex-direction: column; align-items: flex-start; gap: 6px; }
}

/* ===================== Upgrade tease ===================== */
.upgrade-tease {
  background: linear-gradient(180deg, #FFFFFF 0%, #F8F1DC 100%);
  border: 1px solid rgba(164,22,26,0.2);
  border-radius: 14px;
  padding: 28px 28px;
  box-shadow: 0 8px 24px -12px rgba(164,22,26,0.15);
}
@media (min-width: 640px) {
  .upgrade-tease { padding: 32px 36px; }
}
.upgrade-tease-head { text-align: center; padding-bottom: 18px; border-bottom: 1px dashed rgba(164,22,26,0.2); margin-bottom: 18px; }
.upgrade-list {
  display: flex; flex-direction: column;
  gap: 11px;
  font-size: 14.5px;
  color: #444;
  line-height: 1.7;
}
.upgrade-list li {
  display: flex; align-items: flex-start; gap: 12px;
}
.upgrade-list .i-check {
  flex-shrink: 0;
  width: 18px; height: 18px;
  margin-top: 2px;
  border-radius: 50%;
  background: rgba(201,163,87,0.15);
  position: relative;
}
.upgrade-list .i-check::before {
  content: '✓';
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: #C9A357;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}
.upgrade-tease-foot {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px dashed rgba(164,22,26,0.2);
  text-align: center;
  font-size: 14px;
  color: #555;
  line-height: 1.7;
}

/* ===================== Benefit cards (Tham Dự) ===================== */
.benefit-card {
  background: #FFFFFF;
  border: 1px solid #E6E1D4;
  border-radius: 12px;
  padding: 28px 26px;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  box-shadow: 0 2px 12px rgba(40,28,10,0.04);
}
.benefit-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201,163,87,0.45);
  box-shadow: 0 12px 30px -10px rgba(201,163,87,0.25), 0 0 0 1px rgba(201,163,87,0.15);
}
.benefit-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(201,163,87,0.12), rgba(201,163,87,0.04));
  border: 1px solid rgba(201,163,87,0.3);
  color: #C9A357;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
}
.benefit-title {
  font-family: 'Lora', Georgia, serif;
  font-size: 19px;
  font-weight: 600;
  color: #2C2C2C;
  line-height: 1.35;
}
.benefit-body {
  margin-top: 12px;
  font-size: 14.5px;
  color: #555;
  line-height: 1.75;
  flex: 1;
}

/* ===================== Event Info Card ===================== */
.event-card {
  background: linear-gradient(180deg, rgba(201,163,87,0.06) 0%, rgba(201,163,87,0.02) 100%);
  border: 1px solid rgba(201,163,87,0.25);
  border-radius: 14px;
  padding: 22px 28px;
  box-shadow: 0 8px 24px -10px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.04);
}
.event-divider {
  height: 1px;
  margin: 14px 0 14px;
  background: linear-gradient(90deg, transparent 0%, rgba(201,163,87,0.5) 50%, transparent 100%);
}

/* ===================== Registration form ===================== */
.reg-form {
  background: linear-gradient(180deg, #FAFAF8 0%, #F2EBDB 100%);
  border-radius: 14px;
  padding: 32px 28px;
  box-shadow: 0 20px 50px -16px rgba(0,0,0,0.45), 0 0 0 1px rgba(201,163,87,0.18);
  transition: opacity 0.5s ease, transform 0.5s ease, max-height 0.6s ease, padding 0.6s ease, margin 0.6s ease;
}
@media (min-width: 640px) {
  .reg-form { padding: 36px 36px; }
}
.reg-form .field { display: flex; flex-direction: column; gap: 6px; }
.reg-form .lbl {
  font-size: 12.5px;
  font-weight: 500;
  color: #2C2C2C;
  letter-spacing: 0.02em;
}
.reg-form .req { color: #A4161A; }
.reg-form input,
.reg-form textarea {
  width: 100%;
  background: #FFFFFF;
  border: 1px solid #DDD5C0;
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 14.5px;
  font-family: inherit;
  color: #2C2C2C;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.reg-form input::placeholder,
.reg-form textarea::placeholder { color: #B8B098; font-style: italic; }
.reg-form input:focus,
.reg-form textarea:focus {
  outline: none;
  border-color: #C9A357;
  box-shadow: 0 0 0 3px rgba(201,163,87,0.15);
}
.reg-form.submitted {
  opacity: 0;
  transform: translateY(-8px) scale(0.98);
  max-height: 0;
  overflow: hidden;
  padding-top: 0;
  padding-bottom: 0;
  margin-top: 0;
  pointer-events: none;
}

/* ===================== Upsell reveal ===================== */
.upsell-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.upsell-reveal.hidden { display: none; }
.upsell-reveal.shown { opacity: 1; transform: translateY(0); }

.success-card {
  background: linear-gradient(180deg, rgba(201,163,87,0.1) 0%, rgba(164,22,26,0.05) 100%);
  border: 1px solid rgba(201,163,87,0.4);
  border-radius: 14px;
  padding: 28px 24px;
  text-align: center;
  box-shadow: 0 20px 50px -16px rgba(0,0,0,0.4);
}
.success-icon { display: flex; justify-content: center; margin-bottom: 16px; }
.success-icon svg { animation: success-pop 0.7s 0.1s cubic-bezier(0.34, 1.56, 0.64, 1) both; }
@keyframes success-pop {
  from { transform: scale(0) rotate(-15deg); opacity: 0; }
  to   { transform: scale(1) rotate(0); opacity: 1; }
}

/* ===================== Tier cards (3-tier upsell) ===================== */
.tier-card {
  position: relative;
  border-radius: 14px;
  padding: 28px 26px 24px;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}
.tier-card:hover { transform: translateY(-4px); }
.tier-card .tier-head { padding-bottom: 18px; border-bottom: 1px solid rgba(0,0,0,0.06); }
.tier-card .tier-price { margin-top: 14px; line-height: 1; }
.tier-card .tier-list {
  flex: 1;
  margin-top: 18px;
  display: flex; flex-direction: column;
  gap: 11px;
  font-size: 14px;
  line-height: 1.55;
}
.tier-card .tier-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.tier-card .tier-list li.ok { color: #444; }
.tier-card .tier-list li.no { color: #999; }
.tier-card .tier-list .i-check,
.tier-card .tier-list .i-cross {
  flex-shrink: 0;
  width: 16px; height: 16px;
  margin-top: 2px;
  display: inline-block;
  position: relative;
}
.tier-card .tier-list .i-check::before {
  content: '✓';
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: #C9A357;
  font-size: 14px; font-weight: 700;
  line-height: 1;
}
.tier-card .tier-list .i-cross::before {
  content: '✕';
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: #C8B89C;
  font-size: 12px;
}
.tier-card .tier-cta { margin-top: 22px; padding-top: 6px; }

/* TIER variants */
.tier-card.tier-free {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(201,163,87,0.18);
  color: #E8E2D2;
}
.tier-card.tier-free .tier-head { border-bottom-color: rgba(201,163,87,0.2); }
.tier-card.tier-free .tier-list li.ok { color: #D8D2C2; }
.tier-card.tier-free .tier-list li.no { color: #7E7A6F; }

.tier-card.tier-popular {
  background: linear-gradient(180deg, #FAFAF8 0%, #F2EBDB 100%);
  border: 2px solid #C9A357;
  box-shadow: 0 30px 60px -20px rgba(201,163,87,0.4), 0 0 0 1px rgba(201,163,87,0.2);
  transform: translateY(-8px);
}
@media (max-width: 1023px) { .tier-card.tier-popular { transform: none; } }
.tier-card.tier-popular .badge-popular {
  position: absolute;
  top: -14px; left: 50%; transform: translateX(-50%);
  background: #C9A357;
  color: #2C2C2C;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  padding: 6px 14px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 6px 14px rgba(201,163,87,0.4);
}
.tier-card.tier-vip {
  background: #15161f;
  border: 1px solid rgba(201,163,87,0.35);
  color: #E0DACA;
  box-shadow: 0 18px 40px -14px rgba(0,0,0,0.4);
}
.tier-card.tier-vip .tier-head { border-bottom-color: rgba(255,255,255,0.08); }
.tier-card.tier-vip .tier-list li.ok { color: #D0CABA; }

.badge-registered {
  display: inline-block;
  width: 100%;
  text-align: center;
  padding: 12px;
  background: rgba(46, 125, 50, 0.12);
  border: 1px solid rgba(46, 125, 50, 0.4);
  color: #6FA56C;
  font-size: 12.5px;
  font-weight: 600;
  border-radius: 8px;
  letter-spacing: 0.02em;
}

/* ===================== Payment panel ===================== */
.payment-panel {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.payment-panel.hidden { display: none; }
.payment-panel.shown { opacity: 1; transform: translateY(0); }

.pay-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(201,163,87,0.25);
  border-radius: 12px;
  padding: 24px 22px;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.pay-card.pay-bank dl > div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  font-size: 13px;
  align-items: baseline;
}
.pay-card.pay-bank dt {
  color: #B8B19E;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 10.5px;
  flex-shrink: 0;
}
.pay-card.pay-bank dd {
  color: #EEE5D0;
  text-align: right;
  word-break: break-word;
}
.pay-card.pay-qr {
  align-items: center;
  text-align: center;
  background: linear-gradient(180deg, rgba(255,255,255,0.06) 0%, rgba(201,163,87,0.06) 100%);
  border-color: rgba(201,163,87,0.4);
}
.qr-frame {
  background: #FFFFFF;
  padding: 12px;
  border-radius: 12px;
  width: 100%;
  max-width: 220px;
  margin-top: 4px;
  box-shadow: 0 8px 24px -8px rgba(0,0,0,0.4);
}
.qr-frame img { width: 100%; height: auto; display: block; }

.btn-ghost-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.25);
  color: #E0DACA;
  background: transparent;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: all 0.2s ease;
}
.btn-ghost-light:hover {
  border-color: #C9A357;
  color: #C9A357;
  background: rgba(201,163,87,0.06);
}

/* ===================== Mobile Menu — fixed & polished ===================== */
.menu-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; cursor: pointer; background: transparent; border: none; }
.menu-icon { position: relative; width: 22px; height: 16px; display: inline-block; }
.menu-icon > span {
  position: absolute; left: 0; right: 0; height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1), top 0.35s cubic-bezier(0.4,0,0.2,1), opacity 0.2s ease;
}
.menu-icon > span:nth-child(1) { top: 0; }
.menu-icon > span:nth-child(2) { top: 7px; }
.menu-icon > span:nth-child(3) { top: 14px; }
.menu-btn[aria-expanded="true"] .menu-icon > span:nth-child(1) { top: 7px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-icon > span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] .menu-icon > span:nth-child(3) { top: 7px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 100vh;
  height: 100dvh;
  padding-top: 60px;
  background: linear-gradient(180deg, rgba(15,15,30,0.99) 0%, rgba(15,15,30,1) 100%);
  backdrop-filter: blur(12px);
  z-index: 49;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity 0.3s ease, transform 0.35s ease, visibility 0.3s ease;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.mobile-menu.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.mobile-menu-inner {
  padding: 2px 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: 480px;
  margin: 0 auto;
}
.mobile-menu .mm-link {
  display: block;
  padding: 16px 18px;
  font-family: 'Lora', serif;
  font-size: 18px;
  color: #FAFAF8;
  border-bottom: 1px solid rgba(201,163,87,0.12);
  transition: color 0.2s ease, padding-left 0.2s ease, background 0.2s ease;
}
.mobile-menu .mm-link:hover,
.mobile-menu .mm-link:active {
  color: #C9A357;
  padding-left: 24px;
  background: rgba(201,163,87,0.05);
}
.mobile-menu .mm-cta {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #A4161A;
  color: #FAFAF8 !important;
  padding: 14px 20px;
  border-radius: 6px;
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border-bottom: none !important;
  transition: background 0.2s ease;
}
.mobile-menu .mm-cta:hover { background: #7A1015; padding-left: 20px !important; background-color: #7A1015 !important; }
.mobile-menu .mm-tel {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  color: #C9A357;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  border: 1px solid rgba(201,163,87,0.3);
  border-radius: 6px;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.mobile-menu .mm-tel:hover {
  background: rgba(201,163,87,0.06);
  border-color: #C9A357;
}

/* Prevent body scroll when mobile menu is open (JS locks body position too) */
body.menu-open { overflow: hidden; }

/* When mobile menu is open, force header opaque so dark menu doesn't bleed through.
   High specificity to override .site-header.over-light.scrolled (3 classes). */
body.menu-open .site-header,
body.menu-open .site-header.over-light,
body.menu-open .site-header.over-dark,
body.menu-open .site-header.over-light.scrolled,
body.menu-open .site-header.over-dark.scrolled {
  background: rgba(15,15,30,0.99) !important;
  color: #FAFAF8 !important;
  border-bottom: 1px solid rgba(201,163,87,0.18) !important;
  backdrop-filter: blur(12px);
}
body.menu-open .site-header .head-text,
body.menu-open .site-header a:not(.btn-primary) { color: #FAFAF8 !important; }
body.menu-open .site-header .head-sub { color: rgba(255,255,255,0.65) !important; }

/* =====================================================
   NEW SECTIONS — Testimonials, Qualifier, Countdown, Closing
   ===================================================== */

/* ----- Testimonials ----- */
.testimonial-card {
  position: relative;
  background: #FFFFFF;
  border: 1px solid #E6E1D4;
  border-radius: 14px;
  padding: 36px 28px 28px;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  box-shadow: 0 2px 12px rgba(40,28,10,0.04);
}
.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201,163,87,0.45);
  box-shadow: 0 16px 40px -12px rgba(201,163,87,0.25);
}
.testimonial-card.testimonial-center {
  background: linear-gradient(180deg, #FFFFFF 0%, #FAF4E2 100%);
  border-color: rgba(201,163,87,0.4);
  box-shadow: 0 14px 32px -10px rgba(201,163,87,0.2);
}
.testimonial-mark {
  position: absolute;
  top: 8px;
  left: 18px;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 72px;
  line-height: 1;
  color: rgba(201,163,87,0.35);
  font-weight: 700;
  pointer-events: none;
}
.testimonial-text {
  font-family: 'Lora', Georgia, serif;
  font-style: italic;
  font-size: 16px;
  line-height: 1.75;
  color: #3D3D3D;
  flex: 1;
  margin-bottom: 24px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid #EFE9D8;
}
.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #C9A357, #A0813F);
  color: #FAFAF8;
  font-family: 'Lora', serif;
  font-weight: 600;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  border: 1.5px solid rgba(201,163,87,0.6);
  box-shadow: 0 4px 10px -4px rgba(201,163,87,0.4);
}
.testimonial-avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.testimonial-name {
  font-family: 'Lora', Georgia, serif;
  font-weight: 600;
  font-size: 16px;
  color: #2C2C2C;
}
.testimonial-role {
  font-size: 13px;
  color: #888;
  margin-top: 2px;
}

/* ======================================================
   QUALIFIER SECTION (#phu-hop) — Demo 4 enhanced w/ premium effects
   ====================================================== */
.qa-section {
  position: relative;
  background: linear-gradient(180deg, #FAFAF8 0%, #F5F1E8 40%, #EFE9D8 75%, #F5F1E8 100%);
  overflow: hidden;
  isolation: isolate;
}

/* Paper grain texture */
.qa-grain {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 25% 35%, rgba(201,163,87,0.04) 1px, transparent 2px),
    radial-gradient(circle at 75% 80%, rgba(126,100,40,0.03) 1px, transparent 2px),
    radial-gradient(circle at 50% 50%, rgba(201,163,87,0.02) 1px, transparent 2px);
  background-size: 60px 60px, 80px 80px, 40px 40px;
  pointer-events: none;
  z-index: 0;
}

/* Floating gold dust — multi-layer drift */
.qa-dust {
  position: absolute; inset: 0;
  pointer-events: none;
  background-repeat: repeat;
  opacity: 0.55;
  z-index: 0;
}
.qa-dust-1 {
  background-image:
    radial-gradient(circle 1.5px at 12% 18%, #C9A357, transparent 60%),
    radial-gradient(circle 1px at 28% 64%, #D8BE82, transparent 60%),
    radial-gradient(circle 2px at 56% 22%, #C9A357, transparent 60%),
    radial-gradient(circle 1.2px at 78% 48%, #E5C97A, transparent 60%),
    radial-gradient(circle 1px at 92% 78%, #C9A357, transparent 60%),
    radial-gradient(circle 1.5px at 36% 88%, #D8BE82, transparent 60%);
  background-size: 100% 100%;
  animation: qa-dust-drift 28s linear infinite;
}
.qa-dust-2 {
  background-image:
    radial-gradient(circle 1px at 8% 72%, #C9A357, transparent 60%),
    radial-gradient(circle 1.5px at 44% 14%, #E5C97A, transparent 60%),
    radial-gradient(circle 1.2px at 66% 92%, #C9A357, transparent 60%),
    radial-gradient(circle 1px at 88% 32%, #D8BE82, transparent 60%),
    radial-gradient(circle 1.5px at 20% 50%, #C9A357, transparent 60%);
  background-size: 100% 100%;
  animation: qa-dust-drift 42s linear infinite reverse;
  opacity: 0.4;
}
@keyframes qa-dust-drift {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(28px, -22px); }
}

/* Soft orbs of warm light drifting */
.qa-orb {
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.25;
  pointer-events: none;
  z-index: 0;
}
.qa-orb-1 {
  background: radial-gradient(circle, #C9A357 0%, transparent 70%);
  top: 10%; left: -120px;
  animation: qa-orb-float-1 18s ease-in-out infinite;
}
.qa-orb-2 {
  background: radial-gradient(circle, #E5C97A 0%, transparent 70%);
  bottom: 5%; right: -120px;
  animation: qa-orb-float-2 22s ease-in-out infinite;
}
@keyframes qa-orb-float-1 {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.2; }
  50%      { transform: translate(80px, 60px) scale(1.1); opacity: 0.35; }
}
@keyframes qa-orb-float-2 {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.18; }
  50%      { transform: translate(-60px, -40px) scale(1.15); opacity: 0.3; }
}

/* Background corner mandalas REMOVED per request — replaced with clean dust + orbs only */

/* Container */
.qa-container { position: relative; max-width: 1140px; margin: 0 auto; padding-left: 24px; padding-right: 24px; z-index: 2; }

/* Header */
.qa-header { text-align: center; max-width: 760px; margin: 0 auto; }
.qa-eyebrow {
  display: inline-flex; align-items: center; gap: 16px;
  color: #7E6428; margin-bottom: 18px;
}
.qa-rule {
  width: 56px; height: 1px;
  background: linear-gradient(90deg, transparent, #C9A357, transparent);
  position: relative; overflow: hidden;
}
.qa-rule::after {
  content: ''; position: absolute; left: -8px; top: -1px;
  width: 8px; height: 3px; border-radius: 50%;
  background: #E5C97A;
  filter: blur(1px);
  animation: qa-rule-dot 4s ease-in-out infinite;
}
.qa-eyebrow .qa-rule:last-child::after { animation-delay: 2s; left: auto; right: -8px; }
@keyframes qa-rule-dot {
  0%, 100% { transform: translateX(0); opacity: 0; }
  10%      { opacity: 1; }
  90%      { opacity: 1; }
  100%     { transform: translateX(64px); opacity: 0; }
}
.qa-eyebrow-text {
  text-transform: uppercase; letter-spacing: 0.28em;
  font-size: 13.5px; font-weight: 500;
}

.qa-title {
  font-family: 'Cormorant Garamond', 'Playfair Display', serif;
  font-size: clamp(34px, 4.5vw, 52px);
  font-weight: 600;
  color: #2C2C2C;
  line-height: 1.18;
  letter-spacing: -0.01em;
  margin: 0;
}
.qa-title-underline {
  display: block;
  height: 2px;
  width: 0;
  max-width: 140px;
  margin: 18px auto 0;
  background: linear-gradient(90deg, transparent, #C9A357 30%, #E5C97A 50%, #C9A357 70%, transparent);
  transition: width 1.4s cubic-bezier(0.4, 0, 0.2, 1) 0.3s;
}
.qa-header.in ~ .qa-grid .qa-title-underline,
.qa-section .reveal.in + .qa-title-underline,
.reveal.in.qa-header .qa-title-underline { width: 140px; }
/* Simpler: when header revealed, draw line */
.qa-section .qa-header.in .qa-title-underline { width: 140px; }

.qa-intro {
  margin-top: 28px;
  font-family: 'Lora', Georgia, serif;
  font-style: italic;
  font-size: 17px;
  line-height: 1.85;
  color: #5E5648;
  max-width: 620px;
  margin-left: auto; margin-right: auto;
}

/* Grid with center thread */
.qa-grid {
  margin-top: 64px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 36px;
  align-items: stretch;
  max-width: 1080px;
  margin-left: auto; margin-right: auto;
}
@media (max-width: 1023px) {
  .qa-grid { grid-template-columns: 1fr; gap: 28px; }
  .qa-thread { display: none; }
}

/* Cards */
.qa-card {
  position: relative;
  border-radius: 18px;
  isolation: isolate;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.5s ease;
}
.qa-card-inner {
  position: relative;
  background: linear-gradient(180deg, #FFFFFF 0%, #FAF4E2 100%);
  border-radius: 18px;
  padding: 44px 36px 40px;
  height: 100%;
  display: flex; flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(201,163,87,0.25);
  box-shadow: 0 10px 30px -12px rgba(40,28,10,0.12);
  transition: box-shadow 0.4s ease;
}
.qa-card:hover .qa-card-inner { box-shadow: 0 24px 50px -16px rgba(201,163,87,0.4); }
.qa-card:hover { transform: translateY(-8px); }

/* CARD YES — static gold border (rotation removed per request) */
.qa-card-yes .qa-ring { display: none; }
.qa-card-yes .qa-card-inner {
  border: 2px solid #C9A357;
  background: linear-gradient(180deg, #FFFFFF 0%, #FAF4E2 100%);
  box-shadow: 0 14px 36px -14px rgba(201,163,87,0.4), inset 0 1px 0 rgba(255,255,255,0.6);
}

/* Pulsing glow behind ✦ mark on YES card */
.qa-card-yes .qa-card-glow {
  position: absolute;
  top: 50px; left: 50%;
  transform: translateX(-50%);
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,163,87,0.35) 0%, rgba(201,163,87,0.08) 40%, transparent 70%);
  filter: blur(20px);
  z-index: 1;
  animation: qa-glow-breathe 4s ease-in-out infinite;
  pointer-events: none;
}
@keyframes qa-glow-breathe {
  0%, 100% { opacity: 0.5; transform: translateX(-50%) scale(0.9); }
  50%      { opacity: 1; transform: translateX(-50%) scale(1.15); }
}

/* Card corner mandala REMOVED per request */

/* Yin-Yang (Thái Cực) icon wrapper */
.qa-mark-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  z-index: 3;
}
.qa-yinyang {
  width: 64px; height: 64px;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 2px 8px rgba(201,163,87,0.35));
}
/* Subtle gentle scale breath on YES card yin-yang */
.qa-card-yes .qa-yinyang {
  animation: qa-yy-breathe 5s ease-in-out infinite;
}
@keyframes qa-yy-breathe {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.06); }
}

.qa-yinyang-faded {
  width: 54px; height: 54px;
  filter: none;
  opacity: 0.85;
}

/* Halo behind yin-yang on YES card */
.qa-mark-halo {
  position: absolute;
  width: 92px; height: 92px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,163,87,0.28), transparent 65%);
  z-index: 1;
  animation: qa-halo-pulse 3.8s ease-in-out infinite;
}
@keyframes qa-halo-pulse {
  0%, 100% { transform: scale(0.88); opacity: 0.55; }
  50%      { transform: scale(1.18); opacity: 1; }
}

/* Category / title */
.qa-cat {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 12.5px;
  font-weight: 500;
  color: #7E6428;
  margin-bottom: 10px;
  position: relative;
  z-index: 3;
}
.qa-cat-muted { color: #999; }

.qa-card-title {
  font-family: 'Cormorant Garamond', 'Playfair Display', serif;
  font-size: 26px;
  font-weight: 600;
  line-height: 1.25;
  color: #2C2C2C;
  text-align: center;
  margin: 0;
  position: relative;
  z-index: 3;
}
.qa-card-title-muted { color: #5E5648; }

.qa-card-title-line {
  display: block;
  width: 50px; height: 1.5px;
  margin: 14px auto 24px;
  background: linear-gradient(90deg, transparent, #C9A357, transparent);
  position: relative;
}
.qa-card-title-line::after {
  content: ''; position: absolute;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #C9A357;
  box-shadow: 0 0 8px rgba(201,163,87,0.7);
  animation: qa-line-dot 3s ease-in-out infinite;
}
@keyframes qa-line-dot {
  0%, 100% { box-shadow: 0 0 4px rgba(201,163,87,0.4); }
  50%      { box-shadow: 0 0 16px rgba(201,163,87,0.9); }
}
.qa-card-title-line-muted::after { display: none; }
.qa-card-title-line-muted { background: linear-gradient(90deg, transparent, rgba(126,100,40,0.4), transparent); }

/* List */
.qa-list {
  list-style: none;
  margin: 0; padding: 0;
  display: flex; flex-direction: column;
  gap: 16px;
  position: relative;
  z-index: 3;
}
.qa-list li {
  display: block;
  position: relative;
  padding: 2px 0 2px 28px;
  font-family: 'Lora', Georgia, serif;
  font-size: 16px;
  line-height: 1.8;
  color: #3D3D3D;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.55s cubic-bezier(0.22, 0.61, 0.36, 1), transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.qa-card.in .qa-list li { opacity: 1; transform: translateY(0); }
.qa-card.in .qa-list li:nth-child(1) { transition-delay: 0.15s; }
.qa-card.in .qa-list li:nth-child(2) { transition-delay: 0.25s; }
.qa-card.in .qa-list li:nth-child(3) { transition-delay: 0.35s; }
.qa-card.in .qa-list li:nth-child(4) { transition-delay: 0.45s; }
.qa-card.in .qa-list li:nth-child(5) { transition-delay: 0.55s; }

.qa-list em { color: #7E6428; font-style: italic; }

.qa-dot {
  position: absolute;
  left: 4px; top: 12px;
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #C9A357;
  box-shadow: 0 0 0 0 rgba(201,163,87, 0.5);
}
.qa-card-yes.in .qa-list li:nth-child(1) .qa-dot { animation: qa-dot-pulse 1.6s 0.4s ease-out 1; }
.qa-card-yes.in .qa-list li:nth-child(2) .qa-dot { animation: qa-dot-pulse 1.6s 0.5s ease-out 1; }
.qa-card-yes.in .qa-list li:nth-child(3) .qa-dot { animation: qa-dot-pulse 1.6s 0.6s ease-out 1; }
.qa-card-yes.in .qa-list li:nth-child(4) .qa-dot { animation: qa-dot-pulse 1.6s 0.7s ease-out 1; }
@keyframes qa-dot-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(201,163,87, 0.7); transform: scale(0.85); }
  60%  { box-shadow: 0 0 0 8px rgba(201,163,87, 0); transform: scale(1.15); }
  100% { box-shadow: 0 0 0 12px rgba(201,163,87, 0); transform: scale(1); }
}
.qa-dot-muted {
  background: #B8B098;
  box-shadow: none;
  width: 6px; height: 6px;
  top: 13px;
  left: 5px;
}

/* CARD NO — softer, deliberately less prominent */
.qa-card-no .qa-card-inner {
  background: linear-gradient(180deg, #F8F4ED 0%, #ECE5D2 100%);
  border-color: rgba(126,100,40,0.18);
  opacity: 0.96;
}
.qa-card-no .qa-list li { color: #6B6259; }

/* Connecting thread between cards */
.qa-thread {
  position: relative;
  width: 40px;
  display: flex; align-items: center; justify-content: center;
}
.qa-thread-line {
  position: absolute;
  top: 15%; bottom: 15%;
  left: 50%;
  width: 1px;
  background: linear-gradient(180deg, transparent 0%, rgba(201,163,87,0.5) 20%, rgba(201,163,87,0.7) 50%, rgba(201,163,87,0.5) 80%, transparent 100%);
  transform: translateX(-50%);
}
.qa-thread-dot {
  position: absolute;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #E5C97A;
  box-shadow: 0 0 12px rgba(229,201,122, 0.9), 0 0 20px rgba(201,163,87, 0.5);
  left: 50%; transform: translateX(-50%);
  animation: qa-thread-travel 5s ease-in-out infinite;
}
@keyframes qa-thread-travel {
  0%, 100% { top: 15%; }
  50%      { top: 85%; }
}

/* Footer */
.qa-footer {
  margin-top: 70px;
  text-align: center;
  max-width: 700px;
  margin-left: auto; margin-right: auto;
}
.qa-footer-text {
  font-family: 'Lora', Georgia, serif;
  font-size: 19px;
  line-height: 1.85;
  color: #2C2C2C;
}
.qa-footer-text em { color: #7E6428; font-style: italic; font-weight: 600; }
.qa-footer-text strong { color: #8B1318; font-weight: 600; }

.qa-arrow-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  padding: 14px 28px;
  background: linear-gradient(135deg, #A4161A 0%, #7A1015 100%);
  color: #FAFAF8;
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px -8px rgba(164,22,26,0.4);
  position: relative; overflow: hidden;
}
.qa-arrow-cta::before {
  content: ''; position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(255,255,255,0.2) 50%, transparent 100%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}
.qa-arrow-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -10px rgba(164,22,26,0.55);
}
.qa-arrow-cta:hover::before { transform: translateX(100%); }
.qa-arrow-cta svg { transition: transform 0.3s ease; }
.qa-arrow-cta:hover svg { transform: translateX(6px); }

/* Mobile adjustments */
@media (max-width: 640px) {
  .qa-card-inner { padding: 36px 24px 32px; }
  .qa-mark { font-size: 38px; }
  .qa-mark-halo { width: 64px; height: 64px; }
  .qa-card-title { font-size: 22px; }
  .qa-list li { font-size: 15px; }
  .qa-mandala { display: none; }
  .qa-orb { width: 280px; height: 280px; }
}

/* Old qualifier-card styles preserved for compat (not used now) */
.qualifier-card { display: none; }

/* ----- Countdown ----- */
.cd-box {
  background: linear-gradient(180deg, rgba(201,163,87,0.08) 0%, rgba(201,163,87,0.02) 100%);
  border: 1px solid rgba(201,163,87,0.4);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 20px 50px -16px rgba(0,0,0,0.4), 0 0 0 1px rgba(201,163,87,0.15);
  max-width: 720px;
  margin: 0 auto;
}
.cd-label {
  font-family: 'Be Vietnam Pro', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 13px;
  color: #C9A357;
  font-weight: 500;
  margin-bottom: 18px;
}
.cd-display {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.cd-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 80px;
}
.cd-num {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 56px;
  font-weight: 700;
  color: #FAFAF8;
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.cd-unit-label {
  font-family: 'Be Vietnam Pro', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 11.5px;
  color: rgba(245,250,248,0.7);
  margin-top: 10px;
}
.cd-sep {
  font-family: 'Playfair Display', serif;
  font-size: 44px;
  color: rgba(201,163,87,0.55);
  font-weight: 300;
  padding: 0 2px;
}
.cd-footer {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(201,163,87,0.25);
  font-size: 14px;
  color: rgba(245,250,248,0.85);
  font-style: italic;
}
@media (max-width: 640px) {
  .cd-num { font-size: 40px; }
  .cd-unit { min-width: 64px; }
  .cd-sep { font-size: 32px; }
}

/* ----- Reasons (Why Now) ----- */
.reason-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(201,163,87,0.2);
  border-radius: 12px;
  padding: 28px 24px;
  height: 100%;
  text-align: center;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}
.reason-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201,163,87,0.5);
  background: rgba(201,163,87,0.08);
}
.reason-num {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 40px;
  color: #C9A357;
  margin-bottom: 12px;
  line-height: 1;
}
.reason-title {
  font-family: 'Cormorant Garamond', 'Lora', serif;
  font-size: 22px;
  font-weight: 600;
  color: #FAFAF8;
  margin-bottom: 12px;
  line-height: 1.35;
}
.reason-body {
  font-size: 15px;
  line-height: 1.75;
  color: rgba(232,226,210,0.88);
}

/* ----- Closing CTA ----- */
.closing-quote {
  position: relative;
  font-family: 'Lora', Georgia, serif;
  font-style: italic;
  font-size: 22px;
  line-height: 1.7;
  color: #3D3D3D;
  max-width: 720px;
  margin: 0 auto;
  padding: 56px 28px 30px;
  background: linear-gradient(180deg, #FFFFFF 0%, #FAF4E2 100%);
  border-left: 3px solid #C9A357;
  border-radius: 0 12px 12px 0;
  box-shadow: 0 6px 20px -8px rgba(40,28,10,0.15);
  text-align: left;
}
.closing-quote .closing-mark {
  position: absolute;
  top: -22px; left: 18px;
  font-family: 'Playfair Display', serif;
  font-size: 56px;
  line-height: 1;
  color: #C9A357;
  font-style: normal;
  font-weight: 700;
  background: #FAFAF8;
  padding: 0 8px;
}
.closing-quote p {
  margin: 0;
  font-size: 19px;
}
.closing-quote footer {
  margin-top: 14px;
  font-style: normal;
  font-size: 14px;
  letter-spacing: 0.08em;
  color: #888;
  text-transform: uppercase;
}

/* =====================================================
   TYPOGRAPHY — minimum 18px on desktop, scale proportionally
   ===================================================== */

/* Apply new font assignments */
body {
  font-family: 'Be Vietnam Pro', system-ui, sans-serif;
  font-size: 18px;       /* Base body now 18px (desktop floor) */
  line-height: 1.75;
}

/* Display H1 (Hero) — Playfair Display for dramatic impact */
.hero-h1,
section#top h1,
.font-display { font-family: 'Playfair Display', 'Lora', Georgia, serif; }

/* Section H2 — Cormorant Garamond for refined classical feel */
h2, .h2,
.font-heading { font-family: 'Cormorant Garamond', 'Playfair Display', Georgia, serif; font-weight: 600; }

/* Card titles / sub-headings keep Lora for warmth */
h3, h4, .font-serif,
.font-serif * { font-family: 'Lora', 'Cormorant Garamond', Georgia, serif; }

/* Calligraphy accent for VERY specific decorative text */
.font-script,
.script-accent { font-family: 'Sail', 'Playfair Display', cursive; }

/* ============== Desktop font-size floor: 18px ==============
   Override Tailwind arbitrary-value classes below 18px.
   Mobile (<1024px) gets slightly smaller floor (15-16px). */

@media (min-width: 1024px) {
  /* Floor: smallest readable on desktop is 18px (match both .text-[X] and Tailwind !important variant .\!text-[X]) */
  .text-\[10px\], .text-\[10\.5px\], .text-\[11px\],
  .\!text-\[10px\], .\!text-\[10\.5px\], .\!text-\[11px\] { font-size: 14px !important; line-height: 1.65; }   /* tiny labels: smcaps, copyright */
  .text-\[11\.5px\], .text-\[12px\], .text-\[12\.5px\],
  .\!text-\[11\.5px\], .\!text-\[12px\], .\!text-\[12\.5px\] { font-size: 15px !important; line-height: 1.65; }
  .text-\[13px\], .text-\[13\.5px\],
  .\!text-\[13px\], .\!text-\[13\.5px\] { font-size: 16px !important; line-height: 1.7; }
  .text-\[14px\], .text-\[14\.5px\],
  .\!text-\[14px\], .\!text-\[14\.5px\] { font-size: 17px !important; line-height: 1.75; }
  .text-\[15px\], .text-\[15\.5px\],
  .\!text-\[15px\], .\!text-\[15\.5px\] { font-size: 18px !important; line-height: 1.8; }
  .text-\[16px\], .text-\[16\.5px\], .text-\[17px\],
  .\!text-\[16px\], .\!text-\[16\.5px\], .\!text-\[17px\] { font-size: 18px !important; line-height: 1.8; }
  .text-xs { font-size: 14px !important; }
  .text-sm { font-size: 17px !important; }
  .text-base { font-size: 18px !important; }
  .text-lg { font-size: 20px !important; }

  /* UI elements: nav, buttons, chips — bump to readable size */
  .nav-link { font-size: 16px !important; }
  .btn-primary, .btn-ghost, .btn-ghost-dark, .btn-gold, .btn-ghost-light { font-size: 15px !important; }
  /* But preserve smaller for header CTA (compact pill) — still 14px min */
  #site-header .btn-primary { font-size: 14px !important; }
  .chip { font-size: 14px !important; }
  .mm-link { font-size: 18px !important; }
  .mm-cta { font-size: 16px !important; }
  .mm-tel { font-size: 15px !important; }

  /* Value Stack components */
  .vs-sub { font-size: 15px !important; line-height: 1.7; }
  .vs-title { font-size: 18px !important; }
  .vs-value { font-size: 19px !important; }
  .vs-included, .vs-priceless { font-size: 15px !important; }
  .vs-label { font-size: 12px !important; }
  .vs-fee-tag { font-size: 12px !important; padding: 5px 12px !important; }
  .vs-total-value { font-size: 24px !important; }
  .vs-fee-value { font-size: 28px !important; }
  .vs-total-label, .vs-fee-label { font-size: 14px !important; }

  /* Form fields */
  .reg-form input, .reg-form textarea { font-size: 16px !important; }
  .reg-form .lbl { font-size: 14px !important; }
  .reg-form .req { font-size: 14px; }

  /* Modal payment bank */
  .modal-bank dt { font-size: 12px !important; }
  .modal-bank dd { font-size: 15px !important; }
  .pay-card.pay-bank dt { font-size: 12px !important; }
  .pay-card.pay-bank dd { font-size: 15px !important; }

  /* FAQ */
  .faq summary > span { font-size: 18px; }
  .faq .text-gold { font-size: 18px !important; }
  .faq-a { font-size: 17px !important; line-height: 1.85; }

  /* Tier card lists */
  .tier-list { font-size: 15px !important; line-height: 1.65; }

  /* Benefit cards */
  .benefit-body { font-size: 15.5px !important; line-height: 1.75; }
  .benefit-title { font-size: 20px !important; }

  /* Upgrade tease */
  .upgrade-list { font-size: 16px !important; line-height: 1.75; }
  .upgrade-tease-foot { font-size: 14px !important; }

  /* Schedule cards small text */
  .schedule-card .text-muted { font-size: 14px !important; }

  /* Body p, li default 18px on desktop */
  section p:not(.eyebrow):not(.smcaps),
  section li,
  .faq-a,
  .modal-sub,
  .upgrade-list,
  .benefit-body,
  .tier-list,
  .reg-form .lbl,
  .vs-title,
  .vs-fee-label,
  .vs-total-label { font-size: max(18px, 1em); }

  /* Bigger body p in main reading flow */
  section p.text-body,
  section p[class*="leading-"] { font-size: 18px; line-height: 1.85; }
}

/* Mobile: minimum 15-16px (still readable, but room for layout) */
@media (max-width: 1023px) {
  .text-\[10px\], .text-\[10\.5px\], .text-\[11px\] { font-size: 12px !important; }
  .text-\[11\.5px\], .text-\[12px\], .text-\[12\.5px\] { font-size: 13px !important; }
  .text-\[13px\], .text-\[13\.5px\] { font-size: 14.5px !important; }
  .text-\[14px\], .text-\[14\.5px\] { font-size: 15.5px !important; }
  .text-\[15px\], .text-\[15\.5px\] { font-size: 16px !important; }
  .text-\[16px\], .text-\[16\.5px\], .text-\[17px\] { font-size: 16.5px !important; }
  body { font-size: 16px; }
}

/* Hero H1 specific size adjustments to maintain hierarchy with bigger body */
.hero-h1 { font-size: clamp(48px, 8vw, 96px); }
.hero-h1 .text-goldSoft { font-size: clamp(40px, 7vw, 80px); }

/* Section H2 boost proportionally */
.h2 { font-size: clamp(32px, 4.5vw, 56px); line-height: 1.15; letter-spacing: -0.01em; }

/* H3 subheads */
h3.font-serif,
.tier-card h3,
.tier-card h4,
.benefit-title { font-size: clamp(20px, 2.2vw, 26px); }

/* Eyebrow stays small but readable */
.eyebrow { letter-spacing: 0.28em; font-weight: 500; }
@media (min-width: 1024px) { .eyebrow { font-size: 14px; } }
@media (max-width: 1023px) { .eyebrow { font-size: 12.5px; } }

/* SMCAPS uniform readable size */
.smcaps { text-transform: uppercase; letter-spacing: 0.18em; font-weight: 500; font-size: 13.5px; }
@media (min-width: 1024px) { .smcaps { font-size: 14px; } }


/* =====================================================
   CONTRAST POLISH — WCAG AA compliance
   Issue: text-gold (#C9A357) on cream/white = 2.1:1 (fail)
   Fix:   darker gold (#7E6428) for text in light sections;
          keep bright gold for dark sections + decorative elements
   ===================================================== */

:root {
  --gold-text:    #7E6428;  /* AA-safe gold for body text on cream/white (5.3:1) */
  --gold-text-lg: #8C6F2A;  /* AA-safe gold for large text on cream/white (4.5:1) */
  --muted-light:  #5E5648;  /* AA-safe muted body text on cream/white (6.4:1) */
  --burgundy-text: #8B1318; /* deepened burgundy for text contrast */
}

/* SMCAPS labels in gold on light section */
section.bg-cream .smcaps.text-gold,
section.bg-cream2 .smcaps.text-gold,
section.bg-cream .smcaps[class*="text-gold"],
section.bg-cream2 .smcaps[class*="text-gold"],
section.bg-cream .text-gold.smcaps,
section.bg-cream2 .text-gold.smcaps,
/* Eyebrow text inside light sections — gold needs darkening */
section.bg-cream .eyebrow.text-gold > span:not(.rule-draw),
section.bg-cream2 .eyebrow.text-gold > span:not(.rule-draw),
section.bg-cream .eyebrow[class*="text-gold"] > span:not(.rule-draw),
section.bg-cream2 .eyebrow[class*="text-gold"] > span:not(.rule-draw) {
  color: var(--gold-text) !important;
}

/* FAQ Q1-Q6 numbers */
.faq summary > span:first-child,
.faq .text-gold {
  color: var(--gold-text) !important;
}

/* Numbered badges (01-06) — unified Playfair Display matching reason-num + cd-num */
.num-badge,
.num-badge.num-breathe {
  color: var(--gold-text-lg) !important;
  font-family: 'Playfair Display', Georgia, serif !important;
  font-weight: 700 !important;
}

/* Value Stack totals — unified Playfair Display for large numeric display */
.vs-total-value,
.vs-fee-value {
  font-family: 'Playfair Display', Georgia, serif !important;
}

/* Testimonial avatar initials — unified Playfair Display */
.testimonial-avatar { font-family: 'Playfair Display', Georgia, serif !important; }

/* Hero stat numbers (20+, 20.000+, 100%, 6) — unified Playfair Display */
.stat-num,
.stat-num * { font-family: 'Playfair Display', Georgia, serif !important; }

/* Tier prices (600.000đ, 1.200.000đ) — unified Playfair Display */
.tier-price > span,
.tier-price .font-serif,
.tier-price [class*="font-serif"] {
  font-family: 'Playfair Display', Georgia, serif !important;
}

/* ===== UNIFIED CARD TITLE SYSTEM =====
   All card-level titles (h3/h4 inside .card, .tier-card, .benefit-card, .reason-card,
   .qa-card, .qualifier-card, etc) use Lora 600 at consistent size:
   - Primary card title: 24px
   - Section H2 (page-level): Cormorant Garamond clamp(32px, 4.5vw, 56px) — unchanged */
.benefit-title,
.reason-title,
.tier-card h3,
.tier-card h4,
.tier-card.tier-popular h3,
.tier-card.tier-popular h4,
.qa-card-title,
.qa-card-title-muted,
.benefit-card h3,
.benefit-card h4,
.reason-card h4,
.tier-card h3.font-serif,
.tier-card h4.font-serif,
.upgrade-tease h3,
.upgrade-tease-head h3,
.modal-title,
.modal-bank dd,
.success-card h3 {
  font-family: 'Lora', 'Cormorant Garamond', Georgia, serif !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
}
.benefit-title,
.reason-title,
.tier-card h3,
.tier-card h4,
.tier-card.tier-popular h3,
.tier-card.tier-popular h4,
.qa-card-title,
.qa-card-title-muted,
.benefit-card h3,
.benefit-card h4,
.reason-card h4,
.tier-card h3.font-serif,
.tier-card h4.font-serif,
.upgrade-tease h3,
.upgrade-tease-head h3,
/* Cam Kết card titles — inline Tailwind text-[26px] override */
article h3.font-serif.text-\[26px\] {
  font-size: clamp(20px, 2.2vw, 24px) !important;
}

/* ===== UNIFIED EYEBROW SYSTEM =====
   All smcaps/eyebrow labels: Be Vietnam Pro 500, 14px, letter-spacing 0.18em */
.smcaps,
.qa-eyebrow-text,
.qa-cat,
.eyebrow > span:not(.line):not(.rule-draw):not(.qa-rule):not(.dot),
section [class*="smcaps"]:not(.h2):not(h2):not(h3):not(h4) {
  font-family: 'Be Vietnam Pro', sans-serif !important;
  font-weight: 500 !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
}
/* Apply size only at desktop — mobile may be smaller */
@media (min-width: 1024px) {
  .smcaps,
  .qa-eyebrow-text,
  .qa-cat,
  .eyebrow > span:not(.line):not(.rule-draw):not(.qa-rule):not(.dot) {
    font-size: 14px !important;
  }
}

/* Sub-section headings (state changes / mid-page) — clearly distinct from card titles */
.success-card h3,
#upsell-reveal > div.text-center > h3,
#upsell-reveal h3.font-serif {
  font-size: clamp(26px, 3.2vw, 32px) !important;
}

/* Unify .qa-title with other section H2 */
.qa-title {
  font-size: clamp(34px, 5vw, 56px) !important;
}

/* Unify button weights — all .btn-* at weight 600 */
.btn-primary, .btn-ghost, .btn-gold, .btn-ghost-dark, .btn-ghost-light, .qa-arrow-cta {
  font-weight: 600 !important;
}

/* Italic em — always Lora italic, regardless of parent context */
em, .italic em, p em {
  font-family: 'Lora', Georgia, serif !important;
  font-style: italic !important;
}

/* 3 Goals h3 (Nhìn Thấu / Kích Hoạt / Chuyển Hóa) — also unify */
.h3.text-ink,
section .h3:not(.h2) {
  font-size: clamp(20px, 2.2vw, 24px) !important;
  font-family: 'Lora', 'Cormorant Garamond', Georgia, serif !important;
  font-weight: 600 !important;
}

/* Value Stack — gold on white */
.value-stack .vs-value:not(.vs-included):not(.vs-priceless) { color: var(--gold-text-lg); }
.value-stack .vs-label { color: #7A7263; }

/* Body-level small muted gray text */
.vs-sub { color: var(--muted-light) !important; }
.benefit-body { color: var(--muted-light) !important; }

/* Text-burgundy /80 opacity → use full burgundy on cream */
section.bg-cream .text-burgundy\/80,
section.bg-cream2 .text-burgundy\/80 { color: var(--burgundy-text) !important; }

/* Bio section labels (Lineage / Giải Thưởng / Cộng Đồng Học Viên) */
#vien-truong .smcaps,
#vien-truong .smcaps.text-gold { color: var(--gold-text) !important; }

/* Cam Kết section eyebrows */
section[class*="bg-cream"] .smcaps[class*="text-gold"] { color: var(--gold-text) !important; }

/* Eyebrow gold rule still bright (decorative line — OK) */
.eyebrow .rule-draw { background: linear-gradient(90deg, transparent, #C9A357, transparent) !important; }

/* PRESERVE bright gold in dark contexts */
#top .text-gold, #top [class*="text-gold"],
.dark-section .text-gold, .dark-section [class*="text-gold"],
.form-section .text-gold, .form-section [class*="text-gold"],
.tier-vip .text-gold, .tier-vip [class*="text-gold"],
.bg-navy .text-gold, .bg-navy [class*="text-gold"],
footer .text-gold, footer [class*="text-gold"],
.modal-payment .text-gold,
/* Bio Pháp Nhân band has dark navy bg INSIDE cream section — re-brighten */
#vien-truong .bg-navy .smcaps,
#vien-truong .bg-navy .text-gold,
#vien-truong .bg-navy [class*="smcaps"] {
  color: #C9A357 !important;
}
.tier-vip .text-goldSoft,
#top .text-goldSoft { color: #D8BE82 !important; }

/* Bio Pháp Nhân band — cream2/60 text inside dark navy is too dim */
#vien-truong .bg-navy .text-cream2\/60,
#vien-truong .bg-navy [class*="text-cream2/"] { color: rgba(245,250,248,0.78) !important; }
#vien-truong .bg-navy .text-cream2\/65 { color: rgba(245,250,248,0.82) !important; }
#vien-truong .bg-navy .text-cream2\/90,
#vien-truong .bg-navy .text-cream2\/85 { color: rgba(245,250,248,0.95) !important; }
/* Direct ink-colored values inside Pháp Nhân band should be cream */
#vien-truong .bg-navy { color: #E8E2D2; }

/* Tier-popular badge "PHỔ BIẾN NHẤT" — already gold bg + dark text, OK contrast (false alarm in audit) */
.badge-popular { color: #1A1A2E !important; background: #C9A357 !important; }

/* Tier-popular card content is on CREAM bg (not navy parent of upsell) — ensure text colors are dark */
.tier-card.tier-popular .smcaps,
.tier-card.tier-popular .text-burgundy { color: var(--burgundy-text) !important; }
.tier-card.tier-popular .text-muted { color: #5E5648 !important; }

/* "Đã bao gồm" / "Phước báu" — boost contrast */
.vs-included { color: #3F7A3D !important; }   /* darker green */
.vs-priceless { color: #8B1318 !important; }  /* darker burgundy */

/* Generic .text-muted on cream/white globally — darken from #888 to AA-safe */
.text-muted { color: #5E5648 !important; }
.text-cream2\/60 { color: rgba(245,250,248,0.82) !important; }
.text-cream2\/70,
.text-cream2\/75,
.text-cream2\/80 { color: rgba(245,250,248,0.92) !important; }

/* Stats hero count-up labels were white/70 — boost */
#top .text-white\/70,
#top .text-white\/85 { color: rgba(255,255,255,0.92) !important; }

/* Tier card "ok" body items in dark VIP tier — already light, ensure */
.tier-vip .tier-list li.ok { color: #E8E2D2 !important; }
.tier-free .tier-list li.no { color: #9A9180 !important; }

/* Upgrade-tease tease-text — already ink, just ensure muted footnote is readable */
.upgrade-tease-foot .text-muted,
.upgrade-tease-foot .text-\[13px\].text-muted { color: var(--muted-light) !important; }

/* Form section — disclaimer text below button: increase opacity */
.reg-form + p,
.reg-form ~ p.text-cream2\/60 { color: rgba(245, 250, 248, 0.85) !important; }

/* ===================== Journey Infographic (Before / Bridge / After) ===================== */
.journey {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 220px 1fr;
  gap: 0;
  align-items: stretch;
  border-radius: 18px;
  box-shadow: 0 22px 60px -28px rgba(40,28,10,0.3);
  overflow: hidden;
}

.journey-panel {
  padding: 56px 40px;
  position: relative;
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden;
}
.journey-panel.before { background: linear-gradient(135deg, #1A1A2E 0%, #2a1820 100%); color: rgba(250,250,248,0.85); }
.journey-panel.after  { background: linear-gradient(135deg, #FFFFFF 0%, #FAF4E2 100%); color: var(--ink); }
.journey-panel > * { position: relative; z-index: 1; }

.journey-panel-label {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase; font-weight: 700;
}
.journey-panel.before .journey-panel-label { color: rgba(255,170,170,0.9); }
.journey-panel.after  .journey-panel-label { color: var(--goldDark, #7E6428); }

.journey-panel-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 38px; font-weight: 700;
  margin: 10px 0 0; line-height: 1.15;
}
.journey-panel.before .journey-panel-title { color: var(--cream2); }
.journey-panel.after  .journey-panel-title { color: var(--ink); }

.journey-list {
  margin: 24px 0 0; padding: 0;
  display: flex; flex-direction: column; gap: 12px;
  list-style: none;
}
.journey-li {
  display: flex; gap: 10px;
  font-family: 'Lora', serif;
  font-size: 15px; line-height: 1.65;
  align-items: flex-start;
}
.journey-panel.before .journey-li { color: rgba(248,225,225,0.85); font-style: italic; }
.journey-panel.after  .journey-li { color: var(--body); }
.journey-li::before {
  content: ''; flex-shrink: 0;
  width: 6px; height: 6px; border-radius: 50%;
  margin-top: 9px; display: inline-block;
}
.journey-panel.before .journey-li::before { background: rgba(255,120,120,0.7); }
.journey-panel.after  .journey-li::before { background: var(--gold); }

/* Decorative backgrounds */
.journey-panel.before::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 0; opacity: 0.5;
  background:
    repeating-linear-gradient(45deg, transparent, transparent 18px, rgba(255,120,120,0.04) 18px, rgba(255,120,120,0.04) 19px),
    radial-gradient(circle at 80% 30%, rgba(164,22,26,0.18), transparent 50%);
}
.journey-panel.after::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(circle at 25% 80%, rgba(201,163,87,0.18), transparent 55%);
}

/* Bridge — Desktop vertical */
.journey-bridge {
  background: var(--navy);
  padding: 36px 18px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 18px;
  position: relative;
}
.journey-cap {
  position: relative; z-index: 2;
  background: rgba(201,163,87,0.1);
  border: 1px solid rgba(201,163,87,0.45);
  border-radius: 999px;
  padding: 6px 14px;
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); font-weight: 600;
  white-space: nowrap;
}
.journey-step {
  width: 92px; height: 92px; border-radius: 50%;
  background: linear-gradient(180deg, #FFFFFF, #FAF4E2);
  border: 1.5px solid var(--gold);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px -8px rgba(201,163,87,0.5);
  position: relative; z-index: 1;
  flex-shrink: 0;
  padding: 6px;
}
.journey-step-num {
  font-family: 'Playfair Display', serif;
  font-size: 11px; color: var(--gold);
  letter-spacing: 0.18em; font-weight: 700; line-height: 1;
}
.journey-step-name {
  font-family: 'Lora', serif;
  font-size: 14px; font-weight: 600;
  color: var(--ink); margin-top: 4px; line-height: 1.1;
  white-space: nowrap;
}

/* ===== Tablet & mobile (<960px): bridge becomes horizontal band ===== */
@media (max-width: 959px) {
  .journey { grid-template-columns: 1fr; }
  .journey-panel { padding: 44px 32px; }
  .journey-bridge {
    flex-direction: row; flex-wrap: nowrap;
    justify-content: space-between; align-items: center;
    gap: 12px;
    padding: 30px 32px;
  }
}

/* ===== Mobile small (<540px): shrink steps + chips; wrap step names ===== */
@media (max-width: 539px) {
  .journey { border-radius: 14px; }
  .journey-panel { padding: 36px 22px; }
  .journey-panel-title { font-size: 30px; }
  .journey-list { margin-top: 18px; }
  .journey-li { font-size: 14px; }
  .journey-bridge { padding: 22px 14px; gap: 10px; }
  .journey-cap { font-size: 9px; padding: 5px 9px; letter-spacing: 0.14em; }
  .journey-step { width: 68px; height: 68px; border-width: 1.2px; padding: 4px; }
  .journey-step-num { font-size: 9px; letter-spacing: 0.14em; }
  .journey-step-name {
    font-size: 10px; margin-top: 3px; line-height: 1.1;
    white-space: normal; max-width: 56px; text-align: center;
  }
}

/* ===== Mobile very narrow (<380px): wrap if needed ===== */
@media (max-width: 379px) {
  .journey-bridge { flex-wrap: wrap; justify-content: center; padding: 22px 12px; }
  .journey-cap { font-size: 8.5px; }
}

/* ===================== Reduce motion ===================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001s !important; animation-iteration-count: 1 !important; transition-duration: 0.001s !important; }
}
