/* ============================================================
   THDS — Tinh Hoa Digital Solutions — Landing Page
   Brand system per Cẩm nang nhận diện v1.0
   ============================================================ */

:root {
  /* Brand palette */
  --navy:        #071A3A;
  --navy-soft:   #102A55;
  --navy-deep:   #04122A;
  --gold:        #C9A646;
  --gold-light:  #E4C46A;
  --gold-deep:   #9B7828;
  --cream:       #F7F4EC;
  --cream-2:     #EFEADD;
  --white:       #FFFFFF;
  --gray:        #6B6B6B;
  --gray-line:   #DDD6C7;
  --ink:         #111111;

  --gold-grad:   linear-gradient(135deg, #E4C46A 0%, #C9A646 45%, #9B7828 100%);
  --navy-grad:   linear-gradient(160deg, #102A55 0%, #071A3A 60%, #04122A 100%);

  --font-head: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Lato", "Helvetica Neue", Arial, sans-serif;

  --maxw: 1180px;
  --pad: clamp(20px, 5vw, 64px);
  --radius: 18px;
  --shadow-sm: 0 2px 14px rgba(7, 26, 58, 0.08);
  --shadow-md: 0 18px 50px rgba(7, 26, 58, 0.14);
  --shadow-gold: 0 14px 34px rgba(155, 120, 40, 0.30);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  color: var(--navy);
  background: var(--cream);
  line-height: 1.65;
  font-size: 17px;
  overflow-x: hidden;
}

h1, h2, h3, h4, .head { font-family: var(--font-head); line-height: 1.12; color: var(--navy); }

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

::selection { background: var(--gold-light); color: var(--navy-deep); }

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

.section { padding: clamp(64px, 9vw, 124px) 0; position: relative; }

.eyebrow {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before { content: ""; width: 30px; height: 2px; background: var(--gold); display: inline-block; }
.eyebrow.center { justify-content: center; }
.on-dark .eyebrow { color: var(--gold-light); }

.sec-title {
  font-size: clamp(28px, 4.2vw, 46px);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 18px 0 0;
  text-wrap: balance;
}
.sec-sub {
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--gray);
  max-width: 640px;
  margin-top: 18px;
}
.on-dark .sec-title, .on-dark h1, .on-dark h2, .on-dark h3 { color: var(--white); }
.on-dark .sec-sub, .on-dark p { color: rgba(247, 244, 236, 0.78); }

.head-block.center { text-align: center; display: flex; flex-direction: column; align-items: center; }
.head-block.center .sec-sub { margin-left: auto; margin-right: auto; }

.gold-text {
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--gold-deep);
}

/* ---------- Buttons ---------- */
.btn {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 16px;
  border: none;
  border-radius: 999px;
  padding: 16px 30px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s, background .25s, color .25s;
  white-space: nowrap;
  line-height: 1;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--gold-grad); color: var(--navy-deep); box-shadow: var(--shadow-gold); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 20px 44px rgba(155,120,40,.42); }
.btn-ghost { background: transparent; color: var(--navy); border: 1.5px solid var(--gray-line); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-deep); transform: translateY(-2px); }
.on-dark .btn-ghost, .hero .btn-ghost { color: var(--white); border-color: rgba(228,196,106,.55); }
.on-dark .btn-ghost:hover, .hero .btn-ghost:hover { border-color: var(--gold-light); color: var(--gold-light); }
.btn-lg { padding: 19px 38px; font-size: 17px; }

/* ---------- Header → Apple-style Dynamic Island ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 16px 0 0;
  transition: padding .5s cubic-bezier(.34,1.25,.5,1);
  pointer-events: none;
}
.site-header.scrolled { padding: 12px 0 0; }

.header-inner {
  pointer-events: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
  max-width: 1180px; margin: 0 auto;
  padding: 12px clamp(20px, 5vw, 64px);
  border-radius: 30px;
  border: 1px solid transparent;
  background: transparent;
  box-shadow: 0 18px 44px rgba(4,18,42,0);
  transition:
    max-width .6s cubic-bezier(.34,1.25,.5,1),
    gap .55s cubic-bezier(.34,1.25,.5,1),
    padding .55s cubic-bezier(.34,1.25,.5,1),
    background .45s ease,
    border-color .45s ease,
    box-shadow .55s ease,
    border-radius .5s ease;
}
/* collapsed floating island */
.site-header.scrolled .header-inner {
  max-width: 968px;
  gap: 20px;
  padding: 9px 10px 9px 24px;
  border-radius: 999px;
  background: rgba(7,26,58,.78);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
  border-color: rgba(228,196,106,.26);
  box-shadow: 0 16px 46px rgba(4,18,42,.5), inset 0 1px 0 rgba(255,255,255,.07);
}

.nav-links { display: flex; gap: 30px; align-items: center; transition: gap .55s cubic-bezier(.34,1.25,.5,1); }
.site-header.scrolled .nav-links { gap: 22px; }
.nav-links a {
  font-family: var(--font-head); font-weight: 600; font-size: 14.5px;
  color: rgba(247,244,236,.9);
  position: relative; padding: 4px 0; transition: color .2s; white-space: nowrap;
}
.nav-links a::after { content:""; position:absolute; left:0; bottom:-2px; width:0; height:2px; background:var(--gold); transition:width .25s; }
.nav-links a:hover { color: var(--gold-light); }
.nav-links a:hover::after { width: 100%; }

.header-cta { display: flex; align-items: center; gap: 14px; }
.header-cta .btn-primary { transition: padding .55s cubic-bezier(.34,1.25,.5,1), transform .25s, box-shadow .25s, background .25s; }
.site-header.scrolled .header-cta .btn-primary { padding: 12px 24px; font-size: 15px; }

/* logo reads light over both the dark hero and the dark island */
.site-header .logo-lockup .ll-name { color: var(--white); }
.site-header .logo-lockup .ll-sub {
  color: rgba(247,244,236,.66);
  overflow: hidden; max-height: 20px;
  transition: max-height .5s cubic-bezier(.34,1.25,.5,1), opacity .4s ease, margin-top .45s ease;
}
/* condense the lockup as it tucks into the island */
.site-header.scrolled .logo-lockup .ll-sub { max-height: 0; opacity: 0; margin-top: 0; }
.logo-mark { transition: width .55s cubic-bezier(.34,1.25,.5,1), height .55s cubic-bezier(.34,1.25,.5,1); }
.site-header.scrolled .logo-mark { width: 44px; height: 34px; }

/* ---------- Logo lockup ---------- */
.logo-lockup { display: flex; align-items: center; gap: 13px; }
.logo-mark {
  width: 54px; height: 42px; flex: none; position: relative;
  display: grid; place-items: center;
}
.logo-mark img { width: 100%; height: 100%; object-fit: contain; display: block; }
.logo-lockup .ll-text { display: flex; flex-direction: column; }
.logo-lockup .ll-name { display: block; font-family: var(--font-head); font-weight: 800; font-size: 18px; letter-spacing: 0.12em; color: var(--navy); line-height: 1; }
.logo-lockup .ll-sub { display: block; font-family: var(--font-body); font-weight: 400; font-size: 11px; letter-spacing: 0.16em; color: var(--gray); text-transform: uppercase; margin-top: 3px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }
.reveal.d5 { transition-delay: .40s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity:1; transform:none; transition:none; } }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; background: var(--navy-grad); color: var(--white);
  overflow: hidden; padding-top: 132px;
}
.hero::before {
  content:""; position:absolute; inset:0;
  background:
    radial-gradient(900px 500px at 78% 8%, rgba(228,196,106,.16), transparent 60%),
    radial-gradient(700px 600px at 8% 92%, rgba(16,42,85,.6), transparent 60%);
  pointer-events: none;
}
.hero-grid-bg {
  position:absolute; inset:0; opacity:.5; pointer-events:none;
  background-image:
    linear-gradient(rgba(228,196,106,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(228,196,106,.06) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(circle at 70% 30%, #000, transparent 75%);
          mask-image: radial-gradient(circle at 70% 30%, #000, transparent 75%);
}
.hero .wrap { position: relative; z-index: 2; }

/* shared hero pieces */
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(228,196,106,.1); border: 1px solid rgba(228,196,106,.32);
  color: var(--gold-light); font-family: var(--font-head); font-weight: 600;
  font-size: 13px; letter-spacing: .04em; padding: 8px 16px; border-radius: 999px;
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold-light); box-shadow: 0 0 0 4px rgba(228,196,106,.2); }
.hero h1 {
  font-size: clamp(34px, 5.4vw, 64px); font-weight: 800; letter-spacing: -0.02em;
  margin: 22px 0 0; text-wrap: balance; color: var(--white);
}
.hero .lede { font-size: clamp(16px, 1.7vw, 20px); color: rgba(247,244,236,.82); max-width: 600px; margin-top: 24px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 34px; align-items: center; }
.hero-trust { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 14px 30px; align-items: center; }
.hero-trust .ht-item { display: flex; align-items: center; gap: 10px; font-size: 14px; color: rgba(247,244,236,.72); }
.hero-trust .ht-item svg { width: 18px; height: 18px; color: var(--gold-light); flex: none; }
.scroll-cue { position:absolute; left:50%; bottom:26px; transform:translateX(-50%); z-index:3; color:rgba(247,244,236,.5); font-size:12px; letter-spacing:.2em; text-transform:uppercase; display:flex; flex-direction:column; align-items:center; gap:8px; animation: bob 2.4s ease-in-out infinite; }
@keyframes bob { 0%,100%{transform:translate(-50%,0);} 50%{transform:translate(-50%,8px);} }

/* portrait frame */
.portrait-wrap { position: relative; }
.portrait-frame {
  position: relative; border-radius: 26px; overflow: hidden;
  box-shadow: 0 40px 90px rgba(4,18,42,.55); border: 1px solid rgba(228,196,106,.28);
  background: linear-gradient(160deg, #102A55, #04122A);
}
.portrait-frame image-slot { width: 100%; height: 100%; display: block; }
.portrait-badge {
  position: absolute; background: var(--white); color: var(--navy);
  border-radius: 14px; padding: 14px 18px; box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 12px;
}
.portrait-badge .pb-ico { width: 38px; height: 38px; border-radius: 10px; background: var(--gold-grad); display: grid; place-items: center; flex: none; }
.portrait-badge .pb-ico svg { width: 20px; height: 20px; color: var(--navy-deep); }
.portrait-badge .pb-num { display: block; font-family: var(--font-head); font-weight: 800; font-size: 20px; color: var(--navy); line-height: 1.1; }
.portrait-badge .pb-lbl { display: block; font-size: 12px; color: var(--gray); margin-top: 3px; }

/* Hero variant A — split */
.hero-a .hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 70px); align-items: center; padding-bottom: 96px; }
.hero-a .portrait-frame { aspect-ratio: 3/4; }
.hero-a .portrait-wrap { margin-top: 18px; }
.hero-a .portrait-badge.b1 { bottom: 22px; left: -26px; }
.hero-a .portrait-badge.b2 { bottom: 96px; right: -22px; }

/* Hero variant B — centered */
.hero-b .hero-inner { text-align: center; max-width: 880px; margin: 0 auto; padding-bottom: 70px; display: flex; flex-direction: column; align-items: center; }
.hero-b h1 { font-size: clamp(36px, 6vw, 72px); }
.hero-b .lede { margin-left: auto; margin-right: auto; }
.hero-b .hero-ctas { justify-content: center; }
.hero-b .hero-trust { justify-content: center; }
.hero-b .hero-band { margin-top: 54px; width: 100%; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.hero-b .hb-card { background: rgba(247,244,236,.05); border: 1px solid rgba(228,196,106,.16); border-radius: 14px; padding: 18px 16px; text-align: left; }
.hero-b .hb-card .hb-k { font-family: var(--font-head); font-weight: 800; font-size: 13px; color: var(--gold-light); letter-spacing: .04em; }
.hero-b .hb-card .hb-v { font-size: 13.5px; color: rgba(247,244,236,.72); margin-top: 6px; }

/* Hero variant C — editorial / offset */
.hero-c .hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 0; align-items: stretch; padding-bottom: 0; min-height: 600px; }
.hero-c .hc-left { padding: 30px 56px 80px 0; display: flex; flex-direction: column; justify-content: center; }
.hero-c .hc-right { position: relative; }
.hero-c .hc-right .portrait-frame { position: absolute; inset: 0; border-radius: 0; height: 100%; border: none; border-left: 1px solid rgba(228,196,106,.2); }
.hero-c .hc-right .portrait-frame image-slot { height: 100%; }
.hero-c h1 { font-size: clamp(34px, 5vw, 58px); }
.hero-c .hc-pillars { display: flex; gap: 26px; margin-top: 34px; flex-wrap: wrap; }
.hero-c .hc-pillar { display: flex; flex-direction: column; gap: 4px; }
.hero-c .hc-pillar .hp-k { font-family: var(--font-head); font-weight: 800; font-size: 16px; color: var(--gold-light); }
.hero-c .hc-pillar .hp-v { font-size: 13px; color: rgba(247,244,236,.66); }
.hero-c .hc-overlay-badge { position: absolute; left: -34px; bottom: 56px; z-index: 4; }

/* hide inactive heroes */
.hero[data-hero]:not(.active) { display: none; }

/* hero switcher (compare control) */
.hero-switch {
  position: fixed; z-index: 120; left: 50%; transform: translateX(-50%);
  bottom: 84px; background: rgba(7,26,58,.94); backdrop-filter: blur(10px);
  border: 1px solid rgba(228,196,106,.4); border-radius: 999px; padding: 7px;
  display: flex; gap: 5px; box-shadow: 0 18px 50px rgba(4,18,42,.5);
  transition: opacity .3s, transform .3s;
}
.hero-switch.hidden { opacity: 0; pointer-events: none; transform: translate(-50%, 20px); }
.hero-switch .hs-label { font-family: var(--font-head); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(228,196,106,.75); display: grid; place-items: center; padding: 0 12px 0 14px; }
.hero-switch button {
  font-family: var(--font-head); font-weight: 700; font-size: 13.5px; color: rgba(247,244,236,.7);
  background: transparent; border: none; border-radius: 999px; padding: 9px 18px; cursor: pointer; transition: all .2s;
}
.hero-switch button.on { background: var(--gold-grad); color: var(--navy-deep); }
.hero-switch button:not(.on):hover { color: var(--gold-light); }

/* ============================================================
   PAIN POINTS
   ============================================================ */
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 50px; }
.pain-card {
  background: var(--white); border: 1px solid var(--gray-line); border-radius: var(--radius);
  padding: 28px 26px; transition: transform .3s, box-shadow .3s, border-color .3s; position: relative;
}
.pain-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: rgba(201,166,70,.4); }
.pain-card .pc-q { width: 44px; height: 44px; border-radius: 12px; background: var(--cream); display: grid; place-items: center; margin-bottom: 18px; }
.pain-card .pc-q svg { width: 22px; height: 22px; color: var(--gold-deep); }
.pain-card p { font-size: 16.5px; color: var(--navy); font-weight: 500; }

/* ============================================================
   SOLUTION (Đúng gốc / Rõ nghẽn / Đúng đường)
   ============================================================ */
.axis-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 50px; }
.axis-card {
  border-radius: var(--radius); padding: 34px 30px; position: relative; overflow: hidden;
  background: rgba(247,244,236,.04); border: 1px solid rgba(228,196,106,.2);
}
.axis-card .ax-num { font-family: var(--font-head); font-weight: 800; font-size: 54px; color: rgba(228,196,106,.22); line-height: 1; }
.axis-card h3 { font-size: 23px; margin-top: 8px; color: var(--white); }
.axis-card p { font-size: 15.5px; margin-top: 12px; }
.axis-card .ax-line { width: 46px; height: 3px; background: var(--gold-grad); border-radius: 3px; margin-top: 20px; }

.solutions-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap: 18px; margin-top: 40px; }
.sol-card {
  background: rgba(247,244,236,.05); border: 1px solid rgba(228,196,106,.16); border-radius: var(--radius);
  padding: 26px; transition: transform .3s, background .3s, border-color .3s;
}
.sol-card:hover { transform: translateY(-4px); background: rgba(247,244,236,.09); border-color: rgba(228,196,106,.4); }
.sol-ico { width: 50px; height: 50px; border-radius: 13px; background: rgba(228,196,106,.12); border: 1px solid rgba(228,196,106,.3); display: grid; place-items: center; margin-bottom: 18px; }
.sol-ico svg { width: 25px; height: 25px; color: var(--gold-light); }
.sol-card h4 { font-size: 18px; color: var(--white); }
.sol-card p { font-size: 14.5px; margin-top: 8px; }

/* ============================================================
   AUDIENCE
   ============================================================ */
.aud-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 50px; }
.aud-card {
  background: var(--white); border-radius: var(--radius); padding: 26px 22px; border: 1px solid var(--gray-line);
  transition: transform .3s, box-shadow .3s; position: relative; overflow: hidden;
}
.aud-card::before { content:""; position:absolute; top:0; left:0; width:100%; height:4px; background: var(--gold-grad); transform: scaleX(0); transform-origin: left; transition: transform .35s; }
.aud-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.aud-card:hover::before { transform: scaleX(1); }
.aud-card .ac-tag { font-family: var(--font-head); font-weight: 700; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-deep); }
.aud-card h4 { font-size: 18px; margin-top: 9px; min-height: 50px; }
.aud-card .ac-pain { font-size: 14px; color: var(--gray); margin-top: 10px; }
.aud-card .ac-msg { font-size: 14px; color: var(--navy); margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--gray-line); font-weight: 600; display: flex; gap: 9px; }
.aud-card .ac-msg svg { width: 18px; height: 18px; color: var(--gold-deep); flex: none; margin-top: 3px; }

/* ============================================================
   PROGRAMS / PRICING
   ============================================================ */
.prog-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 50px; }
.prog-card {
  background: var(--white); border: 1px solid var(--gray-line); border-radius: var(--radius);
  padding: 30px 24px; display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s, border-color .3s; position: relative;
}
.prog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.prog-card.featured { border: 1.5px solid var(--gold); box-shadow: var(--shadow-md); }
.prog-card.featured::after { content:"Phổ biến"; position:absolute; top:-12px; right:24px; background: var(--gold-grad); color: var(--navy-deep); font-family: var(--font-head); font-weight: 700; font-size: 12px; letter-spacing:.04em; padding: 6px 14px; border-radius: 999px; }
.prog-num { font-family: var(--font-head); font-weight: 800; font-size: 14px; color: var(--gold-deep); }
.prog-card h4 { font-size: 20px; margin-top: 10px; min-height: 52px; }
.prog-for { font-size: 13.5px; color: var(--gold-deep); font-family: var(--font-head); font-weight: 600; margin-top: 4px; min-height: 38px; }
.prog-price { margin: 22px 0 4px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.prog-price .pp-val { font-family: var(--font-head); font-weight: 800; font-size: 23px; color: var(--navy); white-space: nowrap; }
.prog-meta { margin: 18px 0 6px; padding: 16px 0; border-top: 1px solid var(--gray-line); border-bottom: 1px solid var(--gray-line); }
.prog-meta .pm-price { font-family: var(--font-head); font-weight: 800; font-size: 22px; color: var(--navy); line-height: 1.1; letter-spacing: -0.01em; }
.prog-meta .pm-price span { font-size: 15px; font-weight: 700; color: var(--gold-deep); margin-left: 1px; }
.prog-meta .pm-detail { font-size: 12.5px; color: var(--gray); margin-top: 7px; font-weight: 500; }
.prog-price .pp-note { font-size: 13px; color: var(--gray); }
.prog-price .pp-edit { font-size: 11px; color: var(--gold-deep); border: 1px dashed var(--gold); border-radius: 6px; padding: 2px 7px; }
.prog-list { list-style: none; margin: 16px 0 26px; display: flex; flex-direction: column; gap: 11px; flex: 1; }
.prog-list li { font-size: 14.5px; color: var(--navy); display: flex; gap: 11px; align-items: flex-start; }
.prog-list li svg { width: 17px; height: 17px; color: var(--gold-deep); flex: none; margin-top: 4px; }
.prog-card .btn { width: 100%; justify-content: center; }

/* ============================================================
   PROOF
   ============================================================ */
.proof-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px,1fr)); gap: 18px; margin-top: 48px; }
.stat-card { background: rgba(247,244,236,.05); border: 1px solid rgba(228,196,106,.2); border-radius: var(--radius); padding: 28px 26px; }
.stat-card .st-num { font-family: var(--font-head); font-weight: 800; font-size: 40px; }
.stat-card .st-lbl { font-size: 14px; color: rgba(247,244,236,.72); margin-top: 8px; }
.proof-gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 14px; margin-top: 28px; }
.gal-item { position: relative; border-radius: 14px; overflow: hidden; border: 1px solid rgba(228,196,106,.2); }
.gal-item image-slot { width: 100%; height: 100%; }
.gal-item .gal-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 16px; background: linear-gradient(transparent, rgba(4,18,42,.85)); color: var(--white); font-size: 13px; font-weight: 600; }
.gal-item.span2 { grid-column: span 2; grid-row: span 2; }
.proof-note { margin-top: 24px; font-size: 13.5px; color: rgba(247,244,236,.55); font-style: italic; display:flex; gap:10px; align-items:flex-start; }
.proof-note svg { width: 16px; height: 16px; flex: none; margin-top: 3px; color: rgba(228,196,106,.6); }

/* ============================================================
   METHOD (5 steps)
   ============================================================ */
.method-track { margin-top: 56px; position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.method-track::before { content:""; position:absolute; top:32px; left: 8%; right: 8%; height: 2px; background: linear-gradient(90deg, var(--gold-deep), var(--gold-light)); opacity:.5; }
.method-step { text-align: center; position: relative; }
.ms-node {
  width: 66px; height: 66px; border-radius: 50%; margin: 0 auto 22px;
  background: var(--white); border: 2px solid var(--gold); display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 800; font-size: 24px; color: var(--gold-deep);
  position: relative; z-index: 2; box-shadow: var(--shadow-sm);
}
.method-step h4 { font-size: 17px; margin-bottom: 8px; }
.method-step p { font-size: 14px; color: var(--gray); }

/* ============================================================
   RESULTS
   ============================================================ */
.result-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 50px; }
.result-card { background: var(--white); border-radius: var(--radius); padding: 30px 28px; border: 1px solid var(--gray-line); border-top: 4px solid var(--gold); }
.result-card .rc-ico { width: 46px; height: 46px; border-radius: 12px; background: var(--cream); display: grid; place-items: center; margin-bottom: 16px; }
.result-card .rc-ico svg { width: 23px; height: 23px; color: var(--gold-deep); }
.result-card h4 { font-size: 18px; }
.result-card ul { list-style: none; margin-top: 14px; display: flex; flex-direction: column; gap: 9px; }
.result-card li { font-size: 14.5px; color: var(--navy); display: flex; gap: 10px; align-items: flex-start; }
.result-card li svg { width: 16px; height: 16px; color: var(--gold-deep); flex: none; margin-top: 4px; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { max-width: 820px; margin: 50px auto 0; display: flex; flex-direction: column; gap: 14px; }
.faq-item { background: var(--white); border: 1px solid var(--gray-line); border-radius: 14px; overflow: hidden; transition: border-color .25s, box-shadow .25s; }
.faq-item.open { border-color: rgba(201,166,70,.5); box-shadow: var(--shadow-sm); }
.faq-q { width: 100%; text-align: left; background: none; border: none; cursor: pointer; padding: 22px 26px; display: flex; justify-content: space-between; align-items: center; gap: 18px; font-family: var(--font-head); font-weight: 700; font-size: 17px; color: var(--navy); }
.faq-q .faq-ico { width: 28px; height: 28px; border-radius: 50%; background: var(--cream); display: grid; place-items: center; flex: none; transition: transform .3s, background .3s; }
.faq-q .faq-ico svg { width: 16px; height: 16px; color: var(--gold-deep); }
.faq-item.open .faq-ico { transform: rotate(45deg); background: var(--gold-grad); }
.faq-item.open .faq-ico svg { color: var(--navy-deep); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a-inner { padding: 0 26px 24px; color: var(--gray); font-size: 15.5px; }

/* ============================================================
   FINAL CTA + FORM
   ============================================================ */
.cta-final { background: var(--navy-grad); position: relative; overflow: hidden; }
.cta-final::before { content:""; position:absolute; inset:0; background: radial-gradient(700px 400px at 85% 20%, rgba(228,196,106,.16), transparent 60%); }
.cta-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.cta-copy h2 { font-size: clamp(28px, 4vw, 44px); color: var(--white); }
.cta-copy p { margin-top: 18px; font-size: 17px; }
.cta-contacts { margin-top: 30px; display: flex; flex-direction: column; gap: 14px; }
.cta-contacts a { display: flex; align-items: center; gap: 14px; color: rgba(247,244,236,.86); font-size: 16px; transition: color .2s; }
.cta-contacts a:hover { color: var(--gold-light); }
.cta-contacts .cc-ico { width: 42px; height: 42px; border-radius: 11px; background: rgba(228,196,106,.12); border: 1px solid rgba(228,196,106,.3); display: grid; place-items: center; flex: none; }
.cta-contacts .cc-ico svg { width: 20px; height: 20px; color: var(--gold-light); }

.lead-form { background: var(--white); border-radius: 22px; padding: 38px 36px; box-shadow: 0 40px 90px rgba(4,18,42,.5); }
.lead-form h3 { font-size: 24px; }
.lead-form .lf-sub { font-size: 15px; color: var(--gray); margin-top: 8px; }
.lf-field { margin-top: 18px; }
.lf-field label { font-family: var(--font-head); font-weight: 700; font-size: 13.5px; color: var(--navy); display: block; margin-bottom: 7px; }
.lf-field label .req { color: var(--gold-deep); }
.lf-field input, .lf-field select, .lf-field textarea {
  width: 100%; font-family: var(--font-body); font-size: 16px; color: var(--navy);
  border: 1.5px solid var(--gray-line); border-radius: 11px; padding: 13px 15px; background: var(--cream); transition: border-color .2s, background .2s;
}
.lf-field textarea { resize: vertical; min-height: 80px; }
.lf-field input:focus, .lf-field select:focus, .lf-field textarea:focus { outline: none; border-color: var(--gold); background: var(--white); }
.lf-field input.err, .lf-field select.err { border-color: #c0392b; }
.lf-err-msg { color: #c0392b; font-size: 12.5px; margin-top: 5px; display: none; }
.lf-field.show-err .lf-err-msg { display: block; }
.lead-form .btn { width: 100%; justify-content: center; margin-top: 24px; }
.lead-form .lf-fine { font-size: 12.5px; color: var(--gray); margin-top: 14px; text-align: center; }
.lf-success { text-align: center; padding: 30px 10px; display: none; }
.lf-success.show { display: block; animation: pop .4s ease; }
@keyframes pop { from { opacity:0; transform: scale(.92);} to {opacity:1; transform:none;} }
.lf-success .lfs-ico { width: 72px; height: 72px; border-radius: 50%; background: var(--gold-grad); display: grid; place-items: center; margin: 0 auto 20px; }
.lf-success .lfs-ico svg { width: 36px; height: 36px; color: var(--navy-deep); }
.lf-success h3 { font-size: 24px; }
.lf-success p { color: var(--gray); margin-top: 10px; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--navy-deep); color: rgba(247,244,236,.7); padding: 64px 0 30px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-brand .logo-lockup .ll-name { color: var(--white); }
.footer-brand .logo-lockup .ll-sub { color: rgba(247,244,236,.6); }
.footer-brand p { font-size: 14.5px; margin-top: 18px; max-width: 340px; }
.footer-col h5 { font-family: var(--font-head); font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 18px; }
.footer-col a, .footer-col p { display: block; font-size: 14.5px; color: rgba(247,244,236,.7); margin-bottom: 12px; transition: color .2s; }
.footer-col a:hover { color: var(--gold-light); }
.footer-col .fc-row { display: flex; gap: 11px; align-items: flex-start; }
.footer-col .fc-row svg { width: 17px; height: 17px; color: var(--gold); flex: none; margin-top: 3px; }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(228,196,106,.16); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; color: rgba(247,244,236,.5); }

/* ============================================================
   STICKY CTA BAR
   ============================================================ */
.sticky-cta {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
  background: rgba(7,26,58,.96); backdrop-filter: blur(12px); border-top: 1px solid rgba(228,196,106,.3);
  padding: 12px var(--pad); display: flex; align-items: center; justify-content: space-between; gap: 16px;
  transform: translateY(110%); transition: transform .4s cubic-bezier(.2,.8,.2,1);
}
.sticky-cta.show { transform: none; }
.sticky-cta .sc-text { color: var(--white); font-family: var(--font-head); font-weight: 700; font-size: 15px; }
.sticky-cta .sc-text span { display: block; font-family: var(--font-body); font-weight: 400; font-size: 13px; color: rgba(247,244,236,.65); }
.sticky-cta .sc-actions { display: flex; gap: 10px; }
.sticky-cta .btn-ghost { color: #fff; border-color: rgba(228,196,106,.55); }
.sticky-cta .btn-ghost:hover { color: var(--gold-light); border-color: var(--gold-light); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .axis-grid { grid-template-columns: 1fr; }
  .method-track { grid-template-columns: repeat(2, 1fr); gap: 32px 16px; }
  .method-track::before { display: none; }
  .cta-inner { grid-template-columns: 1fr; }
  .proof-gallery { grid-template-columns: repeat(2, 1fr); }
  .prog-grid { grid-template-columns: repeat(2, 1fr); }
  .pain-grid { grid-template-columns: repeat(2, 1fr); }
  .aud-grid { grid-template-columns: repeat(3, 1fr); }
  .prog-card h4 { min-height: 0; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .hero-c .hero-inner { grid-template-columns: 1fr; min-height: 0; }
  .hero-c .hc-left { padding: 0 0 60px; }
  .hero-c .hc-right { min-height: 420px; }
  .hero-c .hc-right .portrait-frame { position: relative; border-radius: 22px; border: 1px solid rgba(228,196,106,.28); }
  .hero-c .hc-overlay-badge { left: 16px; }
  .hero-b .hero-band { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .hero-a .hero-inner { grid-template-columns: 1fr; padding-bottom: 70px; }
  .hero-a .hero-inner > * { min-width: 0; }
  .hero-a .portrait-wrap { max-width: 360px; width: 100%; min-width: 0; margin: 8px auto 0; }
  .hero-a .portrait-badge.b1 { left: 6px; }
  .hero-a .portrait-badge.b2 { right: 6px; bottom: 80px; }
  /* Long Vietnamese CTA must wrap on phones instead of forcing overflow */
  .hero-ctas { width: 100%; }
  .hero-ctas .btn { white-space: normal; width: 100%; justify-content: center; text-align: center; }
  .sticky-cta .sc-text span { display: none; }
  .sticky-cta .sc-text { font-size: 0; }
  .sticky-cta .sc-actions { flex: 1; }
  .sticky-cta .sc-actions .btn { flex: 1; justify-content: center; }
  .header-cta .btn-primary { display: none; }
  .proof-gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }
  .prog-grid { grid-template-columns: 1fr; }
  .result-grid { grid-template-columns: 1fr; }
  .pain-grid { grid-template-columns: 1fr; }
  .aud-grid { grid-template-columns: 1fr; }
  .aud-card h4 { min-height: 0; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .hero-switch { flex-wrap: wrap; justify-content: center; bottom: 78px; width: calc(100% - 32px); max-width: 360px; }
  .hero-switch .hs-label { width: 100%; padding: 4px 0 6px; }
  .scroll-cue { display: none; }
}

/* ============================================================
   IMAGE SLOTS (production — replaces the design <image-slot>)
   Reproduces the design's object-fit:cover framing.
   ============================================================ */
.img-slot { width: 100%; height: 100%; overflow: hidden; }
.img-slot img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block;
}

/* ============================================================
   MOBILE NAV (hamburger + slide-down menu)
   ============================================================ */
.nav-toggle {
  display: none;
  pointer-events: auto;
  width: 44px; height: 44px; flex: none;
  background: transparent; border: none; cursor: pointer;
  padding: 11px 10px;
  border-radius: 12px;
}
.nav-toggle span {
  display: block; height: 2px; width: 100%; border-radius: 2px;
  background: var(--white);
  transition: transform .3s cubic-bezier(.2,.8,.2,1), opacity .25s ease;
}
.nav-toggle span + span { margin-top: 5px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed; top: 0; left: 0; right: 0; z-index: 99;
  padding: 92px var(--pad) 28px;
  background: rgba(7,26,58,.97);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
  border-bottom: 1px solid rgba(228,196,106,.26);
  box-shadow: 0 24px 60px rgba(4,18,42,.55);
  transform: translateY(-110%);
  transition: transform .42s cubic-bezier(.2,.8,.2,1);
  pointer-events: none;
}
.mobile-menu.open { transform: none; pointer-events: auto; }
.mobile-menu-inner { display: flex; flex-direction: column; gap: 4px; max-width: 1180px; margin: 0 auto; }
.mobile-menu-inner a {
  font-family: var(--font-head); font-weight: 700; font-size: 18px;
  color: rgba(247,244,236,.92);
  padding: 15px 6px; border-bottom: 1px solid rgba(228,196,106,.14);
  transition: color .2s;
}
.mobile-menu-inner a:hover { color: var(--gold-light); }
.mobile-menu-inner .btn { justify-content: center; margin-top: 18px; border-bottom: none; }
body.menu-open { overflow: hidden; }

@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .header-cta { display: none; }
}

/* ============================================================
   FORM extras (optional label, honeypot, error banner, busy state)
   ============================================================ */
.lf-field { position: relative; }
.lf-field .lf-opt { font-weight: 400; color: var(--gray); font-size: 12px; }
.lf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lf-error-banner {
  display: none;
  margin-top: 14px; padding: 12px 14px;
  background: #fbeceb; border: 1px solid #e3b6b1; border-radius: 10px;
  color: #a3271c; font-size: 13.5px; text-align: center;
}
.lf-error-banner.show { display: block; }
.btn[aria-busy="true"] { opacity: .75; pointer-events: none; }
