/* =========================================================
   FMAP — Financial Map · Shared stylesheet
   Font: Inter
   Brand Core  : Navy #0B1D3A (logo, chữ) · Gold #D4AF37 (điểm nhấn)
   Digital/UI  : Sapphire #1A3A6B (heading, nút, tương tác)
                 Deep Sapphire #0B1D3A (dải tối, footer)
                 Action Blue #2F6FD6 (biểu đồ, trạng thái tương tác — không dùng cho nút)
   Tỷ lệ diện tích mục tiêu: nền sáng 60 · tối 25 · sapphire 10 · vàng ≤5
   ========================================================= */

:root{
  --navy:#0B1D3A;
  --gold:#D4AF37;
  --sapphire:#1A3A6B;     /* Digital primary: h1/h2, nút chính, icon, trạng thái active */
  --deep:#0B1D3A;         /* Dải tối: footer, CTA band, section tối, header bảng */
  --action:#2F6FD6;       /* Chỉ cho biểu đồ + focus/hover/selected — KHÔNG làm nút */
  --text-2:#5B6472;       /* Chữ phụ cỡ nhỏ (Warm Gray #687280 không đạt AA trên ivory) */
  --black:#111111;
  --ivory:#F3EFE7;
  --beige:#E8DCC5;
  --gray:#687280;
  --line:rgba(11,29,58,.09);
  --white:#FFFFFF;
  --radius:16px;
  --radius-lg:22px;
  --shadow:0 18px 40px -18px rgba(11,29,58,.18);
}

*{box-sizing:border-box; margin:0; padding:0;}
html{scroll-behavior:smooth;}
body{
  font-family:'Inter', sans-serif;
  color:var(--navy);
  background:var(--ivory);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
h1,h2,h3,h4{font-family:'Inter', sans-serif; line-height:1.12; letter-spacing:-.02em;}
h1,h2{color:var(--sapphire);}
h1{font-weight:800;}
h2{font-weight:800;}
h3,h4{font-weight:700; letter-spacing:-.01em;}
a{text-decoration:none; color:inherit;}
img{max-width:100%; display:block;}
ul{list-style:none;}

.wrap{max-width:1160px; margin:0 auto; padding:0 24px;}
.section{padding:96px 0;}
.section-sm{padding:64px 0;}
.bg-white{background:var(--white);}
.bg-ivory{background:var(--ivory);}
.bg-navy{background:var(--deep); color:var(--ivory);}
.bg-beige{background:var(--beige);}

.eyebrow{
  display:inline-block; text-transform:uppercase; letter-spacing:.14em;
  font-size:12px; font-weight:700; color:var(--navy); margin-bottom:14px;
}
.eyebrow::before{content:''; display:inline-block; width:22px; height:2px; background:var(--gold); vertical-align:middle; margin-right:10px; position:relative; top:-2px;}
.bg-navy .eyebrow, .cta-band .eyebrow, .quiz-result .eyebrow{color:var(--gold);}

.section-head{max-width:660px; margin-bottom:48px;}
.section-head.center{margin-left:auto; margin-right:auto; text-align:center;}
.section-head h2{font-size:clamp(26px,3vw,38px);}
.section-head p{color:var(--text-2); font-size:16px; margin-top:14px;}
.bg-navy .section-head p{color:rgba(243,239,231,.68);}

.lead{font-size:17.5px; color:var(--text-2);}
.muted{color:var(--text-2);}
.accent, .hero h1 em{color:inherit; font-style:normal; background:linear-gradient(transparent 64%, rgba(212,175,55,.42) 64%, rgba(212,175,55,.42) 90%, transparent 90%); -webkit-box-decoration-break:clone; box-decoration-break:clone;}
.bg-navy .accent{color:var(--gold); background:none;}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:15px 30px; border-radius:999px; font-weight:600; font-size:15px;
  transition:all .2s ease; border:1.5px solid transparent; cursor:pointer; white-space:nowrap;
}
.btn svg{width:16px; height:16px;}
.btn-gold{background:var(--gold); color:var(--navy);}
.btn-gold:hover{filter:brightness(1.06); transform:translateY(-1px);}
.btn-navy{background:var(--sapphire); color:#FFFFFF;}
.btn-navy:hover{background:var(--deep); transform:translateY(-1px);}
.btn-outline{border-color:rgba(243,239,231,.35); color:var(--ivory);}
.btn-outline:hover{border-color:var(--gold); color:var(--gold);}
.btn-outline-navy{border-color:rgba(26,58,107,.35); color:var(--sapphire);}
.btn-outline-navy:hover{background:var(--sapphire); color:#FFFFFF; border-color:var(--sapphire);}
.btn-ivory{background:var(--ivory); color:var(--deep);}
.btn-ivory:hover{background:#FFFFFF; transform:translateY(-1px);}
.btn-row{display:flex; gap:14px; flex-wrap:wrap;}
.link-arrow{font-weight:600; font-size:14px; color:var(--sapphire); display:inline-flex; align-items:center; gap:6px;}
.link-arrow:hover{text-decoration:underline; text-decoration-color:var(--gold); text-underline-offset:4px;}
.bg-navy .link-arrow{color:var(--gold);}

/* ---------- Header ---------- */
.site-header{
  position:sticky; top:0; z-index:100;
  background:rgba(243,239,231,.94); backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
}
.nav{display:flex; align-items:center; justify-content:space-between; gap:24px; padding:14px 24px; max-width:1160px; margin:0 auto;}
.logo{display:flex; align-items:center; gap:10px; font-size:21px; font-weight:800; letter-spacing:-.01em;}
.logo img{height:46px; width:auto; display:block;}
@media (max-width:560px){.logo img{height:40px;}}
.nav-links{display:flex; gap:28px; align-items:center;}
.nav-links a{font-size:14.5px; font-weight:500; opacity:.8; position:relative; padding:6px 0;}
.nav-links a:hover{opacity:1;}
.nav-links a.active{opacity:1; font-weight:600;}
.nav-links a.active::after{content:''; position:absolute; left:0; right:0; bottom:-2px; height:2px; background:var(--gold); border-radius:2px;}
.nav-cta{display:flex; align-items:center; gap:12px;}
.nav-cta .btn{padding:11px 22px; font-size:14px;}
.menu-toggle{display:none; background:none; border:none; cursor:pointer; color:var(--navy); padding:6px;}
.menu-toggle svg{width:26px; height:26px;}
.nav-links .mobile-only{display:none;}

@media (max-width:980px){
  .nav-links{
    position:fixed; top:64px; left:0; right:0;
    background:var(--ivory); flex-direction:column; align-items:flex-start;
    padding:10px 24px 28px; gap:4px; border-bottom:1px solid var(--line);
    box-shadow:0 20px 30px -20px rgba(11,29,58,.25);
    display:none;
  }
  .nav-links.open{display:flex;}
  .nav-links a{font-size:16px; padding:12px 0; width:100%; border-bottom:1px solid var(--line);}
  .nav-links a.active::after{display:none;}
  .nav-links .mobile-only{display:block; border-bottom:none; margin-top:10px;}
  .menu-toggle{display:block;}
  .nav-cta .btn{display:none;}
}

/* ---------- Home hero ---------- */
.hero{padding:64px 0 72px;}
.hero .wrap{display:grid; grid-template-columns:1.05fr .95fr; gap:56px; align-items:center;}
.hero h1{font-size:clamp(34px,4.6vw,56px); margin-bottom:22px;}

.hero .lead{max-width:480px; margin-bottom:32px;}

.hero-photo{position:relative; aspect-ratio:4/5; border-radius:var(--radius-lg); overflow:hidden; background:var(--deep);}
.hero-photo img{width:100%; height:100%; object-fit:cover; object-position:50% 18%;}
.photo-badge{
  position:absolute; left:18px; right:18px; bottom:18px;
  background:rgba(11,29,58,.78); backdrop-filter:blur(8px);
  border-radius:14px; padding:14px 18px; color:var(--ivory);
  display:flex; justify-content:space-between; align-items:center; gap:12px;
}
.photo-badge .name{font-weight:700; font-size:16px;}
.photo-badge .role{font-size:12.5px; color:rgba(243,239,231,.7); margin-top:2px;}
.photo-badge .tag{font-size:11.5px; font-weight:700; color:var(--navy); background:var(--gold); border-radius:999px; padding:5px 12px; white-space:nowrap;}

/* frame with gold offset — premium photo treatment */
.photo-frame{position:relative;}
.photo-frame::before{
  content:''; position:absolute; inset:18px -18px -18px 18px;
  border:1.5px solid var(--gold); border-radius:var(--radius-lg); z-index:0;
}
.photo-frame > *{position:relative; z-index:1;}

@media (max-width:900px){
  .hero .wrap{grid-template-columns:1fr; gap:40px;}
  .hero-photo{max-width:420px; width:100%; margin:0 auto;}
  .photo-frame::before{inset:12px -12px -12px 12px;}
}

/* ---------- Inner page hero ---------- */
.page-hero{padding:64px 0 72px; border-bottom:1px solid var(--line);}
.page-hero .wrap{display:grid; grid-template-columns:1.1fr .9fr; gap:56px; align-items:center;}
.page-hero.solo .wrap{grid-template-columns:1fr; max-width:860px;}
.breadcrumb{font-size:13px; color:var(--text-2); margin-bottom:18px;}
.breadcrumb a:hover{color:var(--sapphire);}
.breadcrumb span{margin:0 8px; opacity:.5;}
.page-hero h1{font-size:clamp(32px,4.2vw,52px); margin-bottom:20px;}
.page-hero .lead{max-width:540px;}
.page-hero .btn-row{margin-top:30px;}
.page-hero-visual{display:flex; justify-content:center;}
@media (max-width:900px){.page-hero .wrap{grid-template-columns:1fr; gap:40px;}}

/* ---------- Stat strip ---------- */
.stat-strip{background:var(--deep); color:var(--ivory);}
.stat-strip .wrap{display:grid; grid-template-columns:repeat(4,1fr); padding-top:36px; padding-bottom:36px;}
.stat-item{text-align:center; padding:0 12px; border-right:1px solid rgba(243,239,231,.14);}
.stat-item:last-child{border-right:none;}
.stat-num{font-size:clamp(28px,3vw,38px); font-weight:800; letter-spacing:-.02em; color:var(--gold);}
.stat-label{font-size:13px; color:rgba(243,239,231,.65); margin-top:4px;}
@media (max-width:760px){
  .stat-strip .wrap{grid-template-columns:repeat(2,1fr); gap:24px 0;}
  .stat-item:nth-child(2){border-right:none;}
}

/* ---------- Grids ---------- */
.grid-2{display:grid; grid-template-columns:1fr 1fr; gap:24px;}
.grid-3{display:grid; grid-template-columns:repeat(3,1fr); gap:22px;}
.grid-4{display:grid; grid-template-columns:repeat(4,1fr); gap:20px;}
.split{display:grid; grid-template-columns:1fr 1fr; gap:64px; align-items:center;}
.split.reverse > :first-child{order:2;}
@media (max-width:960px){.grid-4{grid-template-columns:repeat(2,1fr);}}
@media (max-width:900px){
  .grid-2,.grid-3,.split{grid-template-columns:1fr;}
  .split{gap:40px;}
  .split.reverse > :first-child{order:0;}
}
@media (max-width:560px){.grid-4{grid-template-columns:1fr;}}

/* ---------- Icon tile ---------- */
.ico{
  width:44px; height:44px; border-radius:12px; background:var(--sapphire);
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.ico svg{width:20px; height:20px; stroke:var(--gold); fill:none; stroke-width:2; stroke-linecap:round; stroke-linejoin:round;}
.ico.soft{background:rgba(212,175,55,.14);}
.ico.light{background:rgba(11,29,58,.07);}
.ico.light svg{stroke:var(--navy);}

/* ---------- Cards ---------- */
.card{background:var(--white); border:1px solid var(--line); border-radius:var(--radius); padding:28px;}
.bg-white .card{background:var(--ivory); border-color:transparent;}
.card h3{font-size:18px; margin:18px 0 8px;}
.card p{font-size:14px; color:var(--text-2);}
.card-hover{transition:transform .2s ease, box-shadow .2s ease;}
.card-hover:hover{transform:translateY(-4px); box-shadow:var(--shadow);}

.chip-row{display:flex; gap:14px; align-items:flex-start; padding:18px; border-radius:14px; background:var(--ivory);}
.chip-row .ico{width:38px; height:38px; border-radius:10px;}
.chip-row .ico svg{width:18px; height:18px;}
.chip-row h4{font-size:15px; margin-bottom:3px;}
.chip-row p{font-size:13.5px; color:var(--text-2);}

/* service cards */
.service-card{display:flex; flex-direction:column;}
.service-card .tag{font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:.1em; color:var(--navy); margin-top:18px;}
.service-card h3{margin-top:6px;}
.service-card p{flex-grow:1; margin-bottom:18px;}
.price{font-size:17px; font-weight:800; letter-spacing:-.01em; margin-bottom:14px;}
.price small{font-size:12px; font-weight:500; color:var(--text-2); margin-left:3px;}

/* ---------- Charts ---------- */
.chart-card{background:var(--white); border:1px solid var(--line); border-radius:20px; padding:32px;}
.chart-svg{width:100%; height:auto; overflow:visible;}
.grid-line{stroke:rgba(11,29,58,.08); stroke-width:1;}
.axis-label{font-size:11px; fill:var(--text-2); font-family:'Inter',sans-serif;}
.end-label{font-size:12.5px; font-weight:700; font-family:'Inter',sans-serif;}
.legend{display:flex; gap:24px; flex-wrap:wrap; margin-top:16px;}
.legend-item{display:flex; align-items:center; gap:8px; font-size:13.5px; font-weight:600;}
.legend-dot{width:10px; height:10px; border-radius:50%; flex-shrink:0;}
.caption{font-size:12.5px; color:var(--text-2); margin-top:12px; font-style:italic;}

/* donut legend (on navy) */
.donut-legend{width:100%; max-width:300px;}
.donut-legend .row{display:flex; justify-content:space-between; align-items:center; padding:10px 0; border-bottom:1px solid rgba(243,239,231,.1); font-size:14.5px; font-weight:600;}
.donut-legend .row:last-child{border-bottom:none;}
.donut-legend .left{display:flex; align-items:center; gap:10px;}
.donut-legend .pct{font-weight:800; font-size:17px;}

/* ---------- Feature list (icon + text) ---------- */
.feature-list{display:flex; flex-direction:column; gap:22px;}
.feature{display:flex; gap:16px; align-items:flex-start;}
.feature h4{font-size:16.5px; margin-bottom:4px;}
.feature p{font-size:14px; color:var(--text-2);}
.bg-navy .feature p{color:rgba(243,239,231,.65);}

/* check list */
.check-list{display:flex; flex-direction:column; gap:10px;}
.check-list li{display:flex; gap:10px; font-size:14.5px; align-items:flex-start;}
.check-list li::before{
  content:''; width:18px; height:18px; flex-shrink:0; margin-top:3px; border-radius:50%;
  background:var(--sapphire) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D4AF37' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/11px no-repeat;
}
.bg-navy .check-list li::before{background-color:rgba(212,175,55,.2);}

/* ---------- Photo blocks ---------- */
.photo{border-radius:var(--radius-lg); overflow:hidden; background:var(--beige);}
.photo img{width:100%; height:100%; object-fit:cover;}
.photo-caption{font-size:13px; color:var(--text-2); margin-top:12px;}

/* ---------- Timeline ---------- */
.timeline{position:relative; display:flex; flex-direction:column; gap:26px; padding-left:34px;}
.timeline::before{content:''; position:absolute; left:8px; top:6px; bottom:6px; width:2px; background:linear-gradient(var(--gold), rgba(212,175,55,.15));}
.tl-item{position:relative;}
.tl-item::before{content:''; position:absolute; left:-32px; top:5px; width:14px; height:14px; border-radius:50%; background:var(--ivory); border:3px solid var(--gold);}
.tl-item.now::before{background:var(--gold);}
.tl-item h4{font-size:15.5px; margin-bottom:3px;}
.tl-item p{font-size:13.5px; color:var(--text-2);}

/* ---------- Process steps ---------- */
.steps{display:grid; grid-template-columns:repeat(5,1fr); gap:0; position:relative;}
.steps::before{content:''; position:absolute; top:27px; left:10%; right:10%; height:2px; background:repeating-linear-gradient(90deg, var(--gold) 0 8px, transparent 8px 14px); opacity:.6;}
.step{text-align:center; padding:0 12px; position:relative;}
.step .num{
  width:56px; height:56px; border-radius:50%; margin:0 auto 18px;
  background:var(--sapphire); color:var(--gold); font-weight:800; font-size:18px;
  display:flex; align-items:center; justify-content:center; border:4px solid var(--ivory);
}
.bg-white .step .num{border-color:var(--white);}
.step h4{font-size:15.5px; margin-bottom:6px;}
.step p{font-size:13px; color:var(--text-2);}
@media (max-width:900px){
  .steps{grid-template-columns:1fr; gap:22px;}
  .steps::before{display:none;}
  .step{display:grid; grid-template-columns:56px 1fr; gap:16px; text-align:left; align-items:start; padding:0;}
  .step .num{margin:0;}
}

/* ---------- Compare table ---------- */
.table-wrap{overflow-x:auto; border-radius:var(--radius); border:1px solid var(--line); background:var(--white);}
.compare{width:100%; border-collapse:collapse; min-width:720px;}
.compare th, .compare td{padding:16px 18px; text-align:left; font-size:14px; border-bottom:1px solid var(--line); vertical-align:top;}
.compare thead th{background:var(--deep); color:var(--ivory); font-weight:700; font-size:14px;}
.compare thead th:first-child{background:var(--deep);}
.compare tbody th{font-weight:600; color:var(--text-2); width:170px; background:rgba(243,239,231,.5);}
.compare tbody tr:last-child td, .compare tbody tr:last-child th{border-bottom:none;}
.compare .hl{color:var(--navy); font-weight:700;}

/* ---------- FAQ ---------- */
.faq{display:flex; flex-direction:column; gap:12px; max-width:820px;}
.faq details{background:var(--white); border:1px solid var(--line); border-radius:14px; padding:0 22px;}
.bg-white .faq details{background:var(--ivory); border-color:transparent;}
.faq summary{cursor:pointer; list-style:none; padding:20px 0; font-weight:600; font-size:15.5px; display:flex; justify-content:space-between; align-items:center; gap:16px;}
.faq summary::-webkit-details-marker{display:none;}
.faq summary::after{content:'+'; font-size:22px; font-weight:400; color:var(--sapphire); flex-shrink:0; transition:transform .2s;}
.faq details[open] summary::after{transform:rotate(45deg);}
.faq details p{padding:0 0 20px; font-size:14.5px; color:var(--text-2);}

/* ---------- Category chips / posts ---------- */
.cat-row{display:flex; gap:10px; flex-wrap:wrap; margin-bottom:36px;}
.cat{padding:9px 18px; border-radius:999px; font-size:13.5px; font-weight:600; background:var(--white); border:1px solid var(--line); cursor:pointer; transition:all .15s; color:var(--navy); font-family:inherit;}
.cat:hover{border-color:var(--sapphire);}
.cat.active{background:var(--sapphire); color:#FFFFFF; border-color:var(--sapphire);}

.post-card{background:var(--white); border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; display:flex; flex-direction:column;}
.post-thumb{aspect-ratio:16/10; background:var(--deep); position:relative; overflow:hidden;}
.post-thumb svg{width:100%; height:100%; display:block;}
.post-body{padding:22px 22px 24px; display:flex; flex-direction:column; flex-grow:1;}
.post-meta{display:flex; justify-content:space-between; align-items:center; margin-bottom:10px; gap:8px;}
.post-cat{font-size:11.5px; font-weight:700; text-transform:uppercase; letter-spacing:.08em; color:var(--navy);}
.soon{font-size:11px; font-weight:700; color:var(--text-2); background:rgba(11,29,58,.06); padding:4px 10px; border-radius:999px;}
.post-card h3{font-size:17px; line-height:1.35; margin-bottom:8px;}
.post-card p{font-size:13.5px; color:var(--text-2);}
.post-feature{display:grid; grid-template-columns:1.2fr 1fr;}
.post-feature .post-thumb{aspect-ratio:auto; min-height:320px;}
.post-feature .post-body{padding:40px; justify-content:center;}
.post-feature h3{font-size:26px; line-height:1.25;}
@media (max-width:900px){.post-feature{grid-template-columns:1fr;} .post-feature .post-thumb{min-height:220px;} .post-feature .post-body{padding:26px;}}

/* ---------- CTA band ---------- */
.cta-band{background:var(--deep); color:var(--ivory); border-radius:26px; padding:56px; display:grid; grid-template-columns:1.3fr .7fr; gap:40px; align-items:center; position:relative; overflow:hidden;}
.cta-band{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 300' preserveAspectRatio='none'%3E%3Cg fill='none' stroke='%23D4AF37' stroke-opacity='.22' stroke-width='1.2'%3E%3Cpath d='M0 250 C120 210 180 280 300 230 S480 160 600 200'/%3E%3Cpath d='M0 200 C110 160 200 230 310 180 S470 110 600 150'/%3E%3Cpath d='M0 150 C120 110 210 180 320 130 S460 60 600 100'/%3E%3Cpath d='M0 100 C130 60 220 130 330 80 S470 10 600 50'/%3E%3Cpath d='M0 50 C140 10 230 80 340 30 S480 -30 600 0'/%3E%3C/g%3E%3C/svg%3E"); background-size:100% 100%; background-repeat:no-repeat;}
.cta-band h2{font-size:clamp(24px,3vw,34px); margin-bottom:12px;}
.cta-band p{color:rgba(243,239,231,.7); font-size:15.5px;}
.cta-band .btn-row{justify-content:flex-end; position:relative; z-index:1;}
@media (max-width:900px){.cta-band{grid-template-columns:1fr; padding:36px 28px;} .cta-band .btn-row{justify-content:flex-start;}}

/* ---------- Contact ---------- */
.qr-card{background:var(--white); border-radius:20px; padding:26px; display:flex; align-items:center; gap:20px; border:1px solid var(--line);}
.bg-navy .qr-card{background:rgba(243,239,231,.06); border-color:rgba(212,175,55,.25);}
.qr-card img{width:112px; height:112px; border-radius:10px; background:#fff; padding:6px; flex-shrink:0;}
.qr-card .label{font-size:11.5px; text-transform:uppercase; letter-spacing:.1em; color:var(--navy); font-weight:700; margin-bottom:6px;}
.bg-navy .qr-card .label{color:var(--gold);}
.qr-card .phone{font-size:22px; font-weight:800; letter-spacing:-.01em;}
.qr-card .sub{font-size:13px; color:var(--text-2); margin-top:4px;}
.bg-navy .qr-card .sub{color:rgba(243,239,231,.6);}

/* ---------- Footer ---------- */
.site-footer{background:var(--deep); color:rgba(243,239,231,.62); padding:64px 0 28px; font-size:14px;}
.footer-grid{display:grid; grid-template-columns:1.4fr 1fr 1fr 1.2fr; gap:36px; padding-bottom:40px; border-bottom:1px solid rgba(243,239,231,.1);}
.site-footer .logo{color:var(--ivory); margin-bottom:14px;}
.site-footer .logo img{height:54px;}
.footer-tagline{font-size:14px; max-width:280px;}
.site-footer h5{color:var(--ivory); font-size:13px; text-transform:uppercase; letter-spacing:.1em; margin-bottom:16px; font-weight:700;}
.site-footer li{margin-bottom:10px;}
.site-footer a:hover{color:var(--gold);}
.footer-bottom{display:flex; justify-content:space-between; gap:16px; flex-wrap:wrap; padding-top:24px; font-size:12.5px;}
.disclaimer{max-width:640px; opacity:.75;}
@media (max-width:860px){.footer-grid{grid-template-columns:1fr 1fr;}}
@media (max-width:520px){.footer-grid{grid-template-columns:1fr;}}

/* ---------- Mobile sticky Zalo ---------- */
.float-zalo{
  position:fixed; right:18px; bottom:18px; z-index:90;
  display:none; align-items:center; gap:8px;
  background:var(--gold); color:var(--navy); font-weight:700; font-size:14px;
  padding:13px 20px; border-radius:999px; box-shadow:0 12px 28px -10px rgba(11,29,58,.45);
}
.float-zalo svg{width:18px; height:18px;}
.float-zalo:hover{background:var(--gold);}
@media (max-width:980px){.float-zalo{display:flex;}}

/* utilities */
.mt-8{margin-top:8px;} .mt-16{margin-top:16px;} .mt-24{margin-top:24px;} .mt-32{margin-top:32px;} .mt-48{margin-top:48px;}
.center{text-align:center;}

/* ---------- Extra components ---------- */
.num-badge{width:52px; height:52px; border-radius:50%; margin:0 auto 18px; background:var(--sapphire); color:var(--gold); font-weight:800; font-size:18px; display:flex; align-items:center; justify-content:center;}
.b2b-card{display:grid; grid-template-columns:auto 1fr auto; gap:28px; align-items:center; padding:36px;}
.b2b-card h3{margin:0 0 6px;}
@media (max-width:760px){.b2b-card{grid-template-columns:1fr; gap:18px; padding:28px;}}

.result-card{background:var(--white); border-radius:22px; padding:30px; box-shadow:var(--shadow); border:1px solid var(--line); width:100%; max-width:430px;}
.result-head{display:flex; justify-content:space-between; align-items:center; gap:12px; margin-bottom:10px;}
.result-head .t{font-weight:800; font-size:16px;}
.pill{font-size:11px; font-weight:700; padding:5px 11px; border-radius:999px; background:rgba(212,175,55,.16); color:var(--navy); white-space:nowrap;}
.mini-tiles{display:grid; grid-template-columns:1fr 1fr; gap:10px; margin:6px 0 16px;}
.mini-tile{background:var(--ivory); border-radius:12px; padding:12px 14px;}
.mini-tile .k{font-size:11.5px; color:var(--text-2);}
.mini-tile .v{font-size:20px; font-weight:800; letter-spacing:-.01em;}
.split-bar{display:flex; height:30px; gap:2px; border-radius:8px; overflow:hidden; margin:8px 0 6px;}
.split-bar div{display:flex; align-items:center; justify-content:center; color:#fff; font-size:12px; font-weight:700;}
.bar-labels{display:flex; justify-content:space-between; font-size:12px; color:var(--text-2);}
.rec{margin-top:16px; padding-top:14px; border-top:1px solid var(--line); display:flex; flex-direction:column; gap:8px; font-size:13.5px;}
.rec div{display:flex; gap:8px;}
.rec b{color:var(--navy);}

.contact-tile{display:flex; flex-direction:column; gap:10px;}
.contact-tile .big{font-size:20px; font-weight:800; letter-spacing:-.01em;}

/* ---------- Mobile: force stacked layouts (overrides inline column ratios) ---------- */
@media (max-width:900px){
  .split, .cta-band{grid-template-columns:1fr !important;}
  .photo-frame{margin-right:12px;}
}
.swipe-hint{display:none; font-size:12.5px; color:var(--text-2); margin-bottom:10px;}
@media (max-width:760px){.swipe-hint{display:block;}}
.page-hero.solo .wrap{display:block; max-width:1160px;}
.page-hero.solo .wrap > div{max-width:760px;}
.cta-band{grid-template-columns:1fr auto;}

/* =========== Home v3 (Ramsey-style hub) =========== */
.hero-actions{display:grid; grid-template-columns:1fr 1fr; gap:12px; max-width:520px;}
.hero-actions .btn{width:100%; padding:14px 18px;}
.hero-actions .btn:first-child{grid-column:1 / -1;}
@media (max-width:480px){.hero-actions{grid-template-columns:1fr;}}

.stat-card{background:var(--ivory); border-radius:var(--radius); padding:26px 24px;}
.stat-card .n{font-size:30px; font-weight:800; letter-spacing:-.02em; margin-top:18px; line-height:1.1;}
.stat-card .l{font-size:13.5px; color:var(--text-2); margin-top:6px;}

.quiz-box{background:var(--white); border:1px solid var(--line); border-radius:26px; padding:44px; box-shadow:var(--shadow); max-width:1000px; margin:0 auto;}
.quiz-top{display:flex; justify-content:space-between; align-items:center; gap:20px; margin-bottom:16px;}
.quiz-progress{width:180px; height:6px; border-radius:6px; background:var(--ivory); overflow:hidden;}
.quiz-progress span{display:block; height:100%; width:22%; background:var(--gold); border-radius:6px; transition:width .4s ease;}
.quiz-box.answered .quiz-progress span{width:100%;}
.quiz-q{font-size:clamp(22px,2.6vw,30px); margin-bottom:26px; max-width:640px;}
.quiz-options{display:grid; grid-template-columns:repeat(4,1fr); gap:14px;}
.quiz-opt{
  font-family:inherit; text-align:left; cursor:pointer; background:var(--ivory); color:var(--navy);
  border:2px solid transparent; border-radius:18px; padding:20px 18px; display:flex; flex-direction:column; gap:6px;
  transition:border-color .15s, transform .15s, background .15s;
}
.quiz-opt:hover{border-color:rgba(11,29,58,.25); transform:translateY(-2px);}
.quiz-opt.selected{border-color:var(--action); background:#F3EFE7; box-shadow:0 0 0 3px rgba(47,111,214,.18);}
.quiz-opt .qi{width:48px; height:48px; border-radius:14px; background:var(--sapphire); display:flex; align-items:center; justify-content:center; margin-bottom:10px;}
.quiz-opt .qi svg{width:24px; height:24px; stroke:var(--gold); fill:none; stroke-width:2; stroke-linecap:round; stroke-linejoin:round;}
.quiz-opt b{font-size:15px; line-height:1.3;}
.quiz-opt small{font-size:13px; color:var(--text-2);}
.quiz-result{margin-top:22px; padding:24px 26px; border-radius:18px; background:var(--deep); color:var(--ivory); display:flex; justify-content:space-between; align-items:center; gap:24px; flex-wrap:wrap;}
.quiz-result[hidden]{display:none;}
.quiz-result h3{font-size:19px; margin-bottom:4px;}
.quiz-result p{font-size:14px; color:rgba(243,239,231,.72); max-width:520px;}
.quiz-result .eyebrow{color:var(--gold);}
.quiz-note{margin-top:18px; font-size:13.5px; color:var(--text-2);}
.quiz-note a{color:var(--sapphire); font-weight:600;}
@media (max-width:900px){.quiz-options{grid-template-columns:1fr 1fr;} .quiz-box{padding:28px 20px;}}
@media (max-width:480px){.quiz-options{grid-template-columns:1fr;} .quiz-top{flex-direction:column; align-items:flex-start;}}

.episode-list{display:flex; flex-direction:column; gap:12px;}
.episode{display:block; padding:20px 22px; border-radius:16px; background:rgba(243,239,231,.05); border:1px solid rgba(243,239,231,.1); transition:background .15s, border-color .15s;}
.episode:hover{background:rgba(243,239,231,.09); border-color:rgba(212,175,55,.35);}
.ep-tag{font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:.1em; color:var(--gold);}
.episode h4{font-size:17px; margin:6px 0 4px; color:var(--ivory);}
.episode p{font-size:13.5px; color:rgba(243,239,231,.65);}
.ep-go{display:inline-block; margin-top:8px; font-size:13.5px; font-weight:600; color:var(--gold);}

.hub-link{display:flex; align-items:center; gap:14px; padding:18px; background:var(--white); border:1px solid var(--line); border-radius:14px; font-weight:600; font-size:14.5px; line-height:1.35; transition:border-color .15s, transform .15s;}
.hub-link:hover{border-color:var(--action); transform:translateY(-2px);}
.hub-link .ico{width:40px; height:40px; border-radius:11px;}
.hub-link .ico svg{width:19px; height:19px;}
.hub-link i{margin-left:auto; font-style:normal; color:var(--sapphire); font-weight:700;}
.hub{gap:14px;}

.hex-steps{display:grid; grid-template-columns:repeat(5,1fr); position:relative;}
.hex-steps::before{content:''; position:absolute; top:33px; left:10%; right:10%; height:2px; background:repeating-linear-gradient(90deg, var(--gold) 0 8px, transparent 8px 14px); opacity:.6;}
.hex-step{text-align:center; padding:0 12px; position:relative;}
.hex-step .hex{width:60px; height:66px; margin:0 auto 18px; display:block; filter:drop-shadow(0 0 0 #fff);}
.hex-step h4{font-size:15.5px; margin-bottom:6px;}
.hex-step p{font-size:13px; color:var(--text-2);}
@media (max-width:900px){
  .hex-steps{grid-template-columns:1fr; gap:22px;}
  .hex-steps::before{display:none;}
  .hex-step{display:grid; grid-template-columns:60px 1fr; column-gap:16px; text-align:left; padding:0;}
  .hex-step .hex{margin:0; grid-row:span 2;}
}

.cta-band.community{grid-template-columns:1.2fr .8fr;}
.qr-pair{display:flex; gap:18px; justify-content:flex-end; position:relative; z-index:1;}
.qr-pair div{background:var(--white); border-radius:16px; padding:12px; text-align:center;}
.qr-pair img{width:120px; height:120px;}
.qr-pair span{display:block; font-size:12px; font-weight:700; color:var(--navy); margin-top:6px;}
@media (max-width:900px){.qr-pair{justify-content:flex-start;}}
/* fixes */
.split > *, .grid-2 > *, .grid-3 > *, .grid-4 > *{min-width:0;}
.chart-card .legend-item{color:var(--navy);}
.hero-actions{grid-template-columns:repeat(3,1fr); max-width:560px;}
.hero-actions .btn{padding:13px 12px; font-size:14px;}
@media (max-width:480px){.hero-actions{grid-template-columns:1fr;}}
.footer-motto{font-size:12px; letter-spacing:.12em; text-transform:uppercase; color:var(--gold); margin-top:14px; max-width:300px; line-height:1.7;}

/* ---------- Digital system guards ---------- */
.bg-navy h1,.bg-navy h2,.cta-band h2,.quiz-result h2,.quiz-result h3,.site-footer h2,.stat-strip h2{color:var(--ivory);}
:focus-visible{outline:3px solid var(--action); outline-offset:3px; border-radius:6px;}
a:not(.btn):not(.logo):hover{text-decoration-color:var(--action);}
