/* Lao Financial Product Factory — landing v4 (multi-page, image cards, NO SVG in design)
   Art direction: "Wave finance light" — white + warm-paper sections, soft-shadow image cards,
   pill buttons, gold accent, CSS-curved wave dividers, canvas + conic charts, dark footer.
   Icons: Hugeicons + Font Awesome only. */

:root {
  /* FINTECH — trustworthy, precise, data-driven. Deep blue + indigo + teal on cool white. */
  --bg: #FFFFFF; --bg-soft: #F6F9FC; --bg-warm: #F4F6FF;
  --ink: #0A2540; --ink-2: #33475B; --mut: #5A6B7B; --line: #E3E9F1;
  --gold: #635BFF; --gold-deep: #4B45C7; --gold-soft: #ECEBFF;   /* brand accent = indigo (token name kept) */
  --blue: #2F6DB5; --green: #0E9E77; --purple: #7C5CFC; --teal: #00B39B; --red: #E5484D;
  --navy: #0A2540;
  --card-sh: 0 4px 16px rgba(10,37,64,.06), 0 1px 2px rgba(10,37,64,.05);
  --card-sh-hover: 0 12px 30px rgba(10,37,64,.12);
  --r: 10px; --pill: 999px;
  --font-sans: "Inter","Noto Sans Lao",-apple-system,"Segoe UI",sans-serif;
  --font-display: "Inter","Noto Sans Lao","Segoe UI",sans-serif;
  --wrap: 1200px; --sp-2: 16px; --sp-3: 24px; --sp-4: 40px; --sp-5: 64px; --sp-6: 100px;
}
/* tabular numerals for all figures (fintech precision) */
.stat-v, .legend .pc, .road-w, .flow, table, .axis-l { font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-sans); color: var(--ink-2); background: var(--bg); line-height: 1.65; -webkit-text-size-adjust: 100%; }
body:lang(lo) { line-height: 1.8; }
:lang(lo) h1, :lang(lo) h2, :lang(lo) h3, :lang(lo) h4 { line-height: 1.42; letter-spacing: 0; }
img, video, canvas { max-width: 100%; display: block; }
a { color: var(--gold-deep); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); line-height: 1.18; margin: 0 0 .45em; letter-spacing: -.015em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
.grad { color: var(--gold); }

/* accent helpers */
.a-gold { --acc: var(--gold); } .a-blue { --acc: var(--blue); } .a-green { --acc: var(--green); }
.a-teal { --acc: var(--teal); } .a-purple { --acc: var(--purple); }

/* buttons / chips */
.btn { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: .95rem; text-decoration: none;
  border-radius: var(--pill); border: 1.5px solid transparent; padding: 13px 28px; cursor: pointer;
  transition: background .15s, color .15s, border-color .15s, box-shadow .15s, transform .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 8px 18px; font-size: .85rem; }
.btn-gold { background: var(--gold); color: #fff; border-color: var(--gold); box-shadow: 0 8px 20px -8px rgba(99,91,255,.55); }
.btn-gold:hover { background: var(--gold-deep); border-color: var(--gold-deep); }
.btn-line { background: transparent; color: var(--ink); border-color: #D9D9D9; }
.btn-line:hover { border-color: var(--gold); color: var(--gold-deep); }
.btn[disabled] { opacity: .55; cursor: wait; }
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; margin: var(--sp-3) 0; }
.chip { font-size: .74rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; border-radius: var(--pill); padding: 7px 16px; color: #fff; }
.c-gold { background: var(--gold); } .c-blue { background: var(--blue); } .c-green { background: var(--green); } .c-teal { background: var(--teal); } .c-purple { background: var(--purple); }

/* header */
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--gold); color: #fff; font-weight: 700; padding: 10px 18px; border-radius: 0 0 8px 0; z-index: 100; }
.skip-link:focus { left: 0; }
.site-head { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.4) blur(6px); }
.head-row { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); }
.brand-mark { font-family: var(--font-display); font-weight: 700; font-size: 1rem; background: var(--gold); color: #fff; width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.brand-name { font-size: .74rem; font-weight: 700; line-height: 1.25; letter-spacing: .05em; text-transform: uppercase; }
.site-nav { display: flex; gap: 22px; margin-left: auto; }
.site-nav a { color: var(--ink-2); text-decoration: none; font-size: .92rem; font-weight: 500; padding: 4px 0; border-bottom: 2px solid transparent; }
.site-nav a:hover { color: var(--gold-deep); }
.site-nav a.active { color: var(--gold-deep); border-bottom-color: var(--gold); font-weight: 600; }
.head-tools { display: flex; align-items: center; gap: 16px; }
.lang-switch { display: flex; align-items: center; gap: 7px; }
.lang-btn { background: none; border: 0; color: var(--mut); font: inherit; font-size: .88rem; font-weight: 600; cursor: pointer; padding: 4px 2px; }
.lang-btn:hover { color: var(--gold-deep); }
.lang-btn.is-active { color: var(--gold-deep); border-bottom: 2px solid var(--gold); }
.lang-sep { color: var(--line); }
.nav-burger { display: none; background: none; border: 0; color: var(--ink); font-size: 1.25rem; cursor: pointer; padding: 8px; margin-left: auto; }
.mobile-nav { display: none; flex-direction: column; background: #fff; border-top: 1px solid var(--line); }
.mobile-nav a { color: var(--ink); text-decoration: none; padding: 14px 24px; border-bottom: 1px solid var(--line); }
.mobile-nav a.active { color: var(--gold-deep); font-weight: 600; }
.mobile-nav.open { display: flex; }

/* CSS wave dividers (no SVG) — convex ellipse of the NEXT section's colour */
.hero, .statement { position: relative; padding-bottom: 88px; }
.hero::after, .statement::after { content: ""; position: absolute; left: -6%; right: -6%; bottom: -1px; height: 70px; z-index: 1; border-radius: 50% 50% 0 0 / 100% 100% 0 0; }
.hero::after { background: var(--bg-warm); }
.statement::after { background: var(--bg); }

/* hero */
.hero { background: var(--bg); }
.hero-grid { display: grid; grid-template-columns: minmax(0,6fr) minmax(0,6fr); gap: var(--sp-5); padding-top: var(--sp-6); padding-bottom: var(--sp-4); align-items: center; }
.eyebrow { color: var(--gold-deep); font-weight: 700; margin-bottom: var(--sp-2); }
.eyebrow .fa-bolt { margin-right: 6px; }
.hero h1 { font-size: clamp(2.6rem,5.2vw,4.1rem); font-weight: 700; }
.hero-sub { font-size: 1.16rem; color: var(--ink-2); max-width: 33em; }
.hero-claim { color: var(--gold-deep); font-weight: 600; max-width: 36em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: var(--sp-3); }
.hero-visual { margin: 0; border-radius: 18px; overflow: hidden; box-shadow: var(--card-sh-hover); }
.hero-visual img { width: 100%; height: auto; }
.stat-band { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; position: relative; z-index: 2; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--card-sh); padding: 20px 24px; }
.stat-v { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.8rem,3.2vw,2.4rem); line-height: 1.05; margin: 0 0 4px; color: var(--gold); }
.stat-l { color: var(--mut); font-size: .9rem; margin: 0; }

/* statement */
.statement { background: var(--bg-warm); }
.statement .wrap { padding-top: var(--sp-5); padding-bottom: var(--sp-5); }
.st-quote { margin: 0 auto var(--sp-4); max-width: 62em; text-align: center; position: relative; padding-top: 30px; }
.st-ic { position: absolute; top: -4px; left: 50%; transform: translateX(-50%); background: var(--gold); color: #fff; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-size: .9rem; box-shadow: 0 6px 16px -6px rgba(99,91,255,.6); }
.st-quote h2 { font-size: clamp(1.3rem,2.6vw,1.75rem); }
.st-quote p { color: var(--gold-deep); margin: 0; font-weight: 500; }
.step-rail { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.step-rail li { background: #fff; border-radius: var(--r); box-shadow: var(--card-sh); padding: 20px 22px; position: relative; }
.step-rail li + li::before { content: "\2192"; position: absolute; left: -15px; top: 50%; transform: translateY(-50%); color: var(--gold); font-weight: 700; }
.step-n { color: var(--gold); font-family: var(--font-display); font-weight: 700; }
.step-rail h3 { font-size: 1.1rem; margin: 2px 0 4px; }
.step-rail p { color: var(--mut); font-size: .88rem; margin: 0; }

/* sections */
.sect .wrap { padding-top: var(--sp-6); padding-bottom: var(--sp-6); }
.page-top { border-top: 3px solid var(--gold); }
.sect-head { display: flex; gap: 24px; align-items: flex-start; margin-bottom: var(--sp-4); }
.sect-no { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.6rem,6vw,4rem); line-height: .9; color: var(--gold-soft); -webkit-text-stroke: 1.5px var(--gold); flex: none; }
.sect-head h1, .sect-head h2 { font-size: clamp(1.6rem,3.2vw,2.25rem); }
.sect-sub { color: var(--mut); max-width: 54em; }
.sub-h { font-size: 1.4rem; margin-top: var(--sp-5); }

/* card grids */
.bento { display: grid; gap: 18px; }
.cards-2 { grid-template-columns: repeat(2,1fr); }
.cards-3 { grid-template-columns: repeat(3,1fr); }
.cards-4 { grid-template-columns: repeat(4,1fr); }
.cell { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px; box-shadow: var(--card-sh); transition: box-shadow .2s, transform .2s; }
.cell:hover { box-shadow: var(--card-sh-hover); transform: translateY(-3px); }

/* image cards */
.img-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; border-top: 3px solid var(--acc, var(--gold)); }
.img-wrap { aspect-ratio: 56 / 30; overflow: hidden; background: var(--bg-soft); }
.img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.img-card:hover .img-wrap img { transform: scale(1.06); }
.card-body { padding: 22px 24px 26px; flex: 1; }
.card-body h3 { font-size: 1.14rem; }
.card-body p { color: var(--mut); font-size: .93rem; margin: 0; }
.card-body .tag { color: var(--acc, var(--gold)); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 4px; }
.ticks li, .dots li { position: relative; padding: 6px 0 6px 18px; color: var(--mut); font-size: .9rem; }
.ticks li::before { content: "\2713"; position: absolute; left: 0; top: 6px; color: var(--acc, var(--green)); font-weight: 700; }
.dots li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 6px; height: 6px; border-radius: 50%; background: var(--acc, var(--gold)); }

/* home nav cards */
.nav-bento { grid-template-columns: repeat(4,1fr); }
.nav-cell { text-decoration: none; color: inherit; display: flex; flex-direction: column; border-top: 3px solid var(--acc, var(--gold)); }
.nc-ic { font-size: 1.9rem; color: var(--acc, var(--gold)); margin-bottom: 12px; }
.nav-cell h3 { font-size: 1.16rem; }
.nav-cell p { color: var(--mut); font-size: .9rem; }
.nav-cell .more { color: var(--acc, var(--gold-deep)); font-weight: 700; margin-top: auto; font-size: .9rem; }

/* value / why-us */
.val-cell { text-align: left; }
.val-ic { font-size: 2rem; color: var(--gold); margin-bottom: 12px; }
.val-cell:nth-child(2) .val-ic { color: var(--blue); }
.val-cell:nth-child(3) .val-ic { color: var(--green); }
.val-cell:nth-child(4) .val-ic { color: var(--purple); }
.val-cell h3 { font-size: 1.12rem; }
.val-cell p { color: var(--mut); font-size: .92rem; margin: 0; }

/* business-model flow */
.flow { display: flex; flex-wrap: wrap; gap: 10px; align-items: stretch; margin-bottom: var(--sp-4); }
.flow li { display: flex; align-items: center; }
.flow li span { background: #fff; border: 1px solid var(--line); box-shadow: var(--card-sh); border-radius: var(--pill); padding: 10px 18px; font-weight: 600; color: var(--ink); font-size: .9rem; }
.flow li:not(:last-child)::after { content: "\2192"; color: var(--gold); font-weight: 700; margin: 0 8px; }
.flow li:first-child span { background: var(--gold); color: #fff; border-color: var(--gold); }
.biz-cta { margin-top: var(--sp-3); }

/* challenges answer / fail list */
.why-band { display: grid; grid-template-columns: minmax(0,7fr) minmax(0,5fr); gap: var(--sp-4); margin-top: var(--sp-5); align-items: start; }
.why-list h2 { font-size: 1.5rem; }
.fail-list li { background: #fff; border-left: 4px solid var(--red); border-radius: 8px; box-shadow: var(--card-sh); padding: 14px 18px; margin-bottom: 12px; }
.fail-list strong { display: block; }
.fail-list span { color: var(--mut); font-size: .9rem; }
.f-gold { border-left-color: var(--gold) !important; } .f-blue { border-left-color: var(--blue) !important; } .f-green { border-left-color: var(--green) !important; }
.cell-answer { background: var(--navy); border-color: var(--navy); display: flex; flex-direction: column; justify-content: center; }
.cell-answer:hover { transform: none; }
.mini-brand { color: var(--gold); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; }
.cell-answer h3 { font-size: 1.25rem; color: #fff; }
.cell-answer p { color: #C9CFD6; }

.note-band { background: var(--gold-soft); border: 1px solid rgba(99,91,255,.35); color: #6B5312; border-radius: var(--r); padding: 15px 22px; text-align: center; font-weight: 600; margin: var(--sp-4) 0 0; }

/* charts */
.charts { display: grid; grid-template-columns: minmax(0,7fr) minmax(0,5fr); gap: 18px; margin-top: var(--sp-3); }
.chart-card { display: flex; flex-direction: column; }
.chart-card:hover { transform: none; }
.chart-card figcaption h3 { font-size: 1.2rem; }
.chart-card figcaption .sect-sub { font-size: .88rem; margin-bottom: 14px; }
.chart-holder { position: relative; }
.chart-holder canvas { width: 100%; height: auto; }
.axis-l { color: var(--mut); font-size: .8rem; text-align: center; margin: 8px 0 0; }
.tip { position: absolute; pointer-events: none; background: var(--navy); color: #fff; border-radius: 8px; padding: 7px 11px; font-size: .8rem; line-height: 1.4; white-space: nowrap; transform: translate(-50%, calc(-100% - 12px)); opacity: 0; transition: opacity .12s; z-index: 5; box-shadow: var(--card-sh); }
.tip.show { opacity: 1; }
.tip b { color: #4FE3CE; }
.donut-wrap { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.donut-holder { position: relative; width: 210px; height: 210px; flex: none; margin: 0 auto; }
.donut { width: 210px; height: 210px; border-radius: 50%; -webkit-mask: radial-gradient(circle 56px at center, transparent 98%, #000 100%); mask: radial-gradient(circle 56px at center, transparent 98%, #000 100%); transition: background .2s; }
.donut-center { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; pointer-events: none; }
.donut-center .stat-v { font-size: 2.2rem; color: var(--ink); }
.donut-center .stat-l { font-size: .82rem; }
.legend { flex: 1; min-width: 170px; }
.legend li { display: flex; align-items: center; gap: 10px; padding: 8px 4px; border-bottom: 1px dashed var(--line); font-size: .9rem; color: var(--ink-2); cursor: default; transition: opacity .15s; }
.legend li:last-child { border-bottom: 0; }
.legend .sw { width: 12px; height: 12px; border-radius: 3px; flex: none; }
.legend .pc { margin-left: auto; font-family: var(--font-display); font-weight: 700; color: var(--ink); }
.legend li.dim { opacity: .4; }

/* pack / roadmap / war strip */
.pack-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; }
.pack-grid li { background: #fff; border: 1px solid var(--line); box-shadow: var(--card-sh); color: var(--ink-2); border-radius: var(--r); padding: 12px 14px; font-size: .85rem; display: flex; gap: 9px; align-items: baseline; }
.pack-grid .fa-check { color: var(--green); }
.road { display: grid; grid-template-columns: repeat(5,1fr); gap: 14px; }
.road li { background: #fff; border: 1px solid var(--line); box-shadow: var(--card-sh); border-radius: var(--r); padding: 18px 20px; border-top: 3px solid var(--acc,var(--gold)); }
.road-w { font-weight: 700; color: var(--acc,var(--gold)); font-size: .8rem; letter-spacing: .06em; margin: 0 0 2px; }
.road h3 { font-size: 1.18rem; margin-bottom: 6px; }
.road p:last-child { color: var(--mut); font-size: .84rem; margin: 0; }
.war-strip { background: var(--navy); color: #4FE3CE; border-radius: var(--r); text-align: center; padding: 15px 20px; font-weight: 600; margin: var(--sp-3) 0 0; }
.war-strip .fa-clipboard-list { margin-right: 8px; }

/* media */
.media-grid { display: grid; grid-template-columns: minmax(0,8fr) minmax(0,4fr); gap: 18px; align-items: start; }
.video-frame { margin: 0; background: #000; border-radius: var(--r); overflow: hidden; box-shadow: var(--card-sh-hover); }
.video-frame video { width: 100%; height: auto; }
.media-side { display: grid; gap: 14px; }
.media-card { margin: 0; background: #fff; border: 1px solid var(--line); box-shadow: var(--card-sh); border-radius: var(--r); overflow: hidden; }
.media-card img { width: 100%; height: auto; }
.media-card figcaption { padding: 10px 14px; font-size: .83rem; color: var(--mut); border-top: 1px solid var(--line); }

/* cta band */
.cta-final .wrap { padding-top: var(--sp-5); padding-bottom: var(--sp-5); }
.cta-band { background: var(--navy); border-radius: 18px; padding: 40px 44px; display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: 4px; }
.cta-band .sect-sub { color: #C9CFD6; margin: 0; }

/* contact */
.contact-grid { display: grid; grid-template-columns: minmax(0,5fr) minmax(0,7fr); gap: var(--sp-5); align-items: start; }
.direct { margin-top: var(--sp-3); color: var(--mut); }
.direct a { font-weight: 600; text-decoration: none; }
.promise-line { color: var(--gold-deep); font-size: .88rem; font-weight: 600; }
.contact-form { border-top: 3px solid var(--gold); }
.contact-form:hover { transform: none; }
.fld { margin-bottom: 16px; }
.fld label { display: block; font-weight: 600; font-size: .9rem; color: var(--ink); margin-bottom: 6px; }
.fld input, .fld textarea { width: 100%; border: 1.5px solid var(--line); border-radius: 10px; padding: 12px 14px; font: inherit; color: var(--ink); background: var(--bg-soft); }
.fld input:focus, .fld textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(99,91,255,.18); background: #fff; }
.fld input:user-invalid, .fld textarea:user-invalid { border-color: var(--red); }
.hp { position: absolute; left: -9999px; top: -9999px; }
.form-msg { min-height: 1.4em; margin: 12px 0 0; font-weight: 600; }
.form-msg.ok { color: var(--green); } .form-msg.err { color: var(--red); }

/* footer */
.site-foot { background: var(--navy); color: #9AA3AC; }
.foot-grid { display: flex; justify-content: space-between; gap: var(--sp-4); padding: var(--sp-4) 24px; flex-wrap: wrap; }
.foot-brand { color: #fff; margin-bottom: 6px; }
.foot-tag { max-width: 30em; font-size: .9rem; margin: 0; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 6px 18px; align-content: flex-start; }
.foot-nav a { color: #9AA3AC; text-decoration: none; font-size: .88rem; }
.foot-nav a:hover { color: #4FE3CE; }
.foot-promise { color: #4FE3CE; font-size: .84rem; font-weight: 600; align-self: center; margin: 0; max-width: 22em; }
.foot-base { display: flex; justify-content: space-between; align-items: center; padding: 14px 24px 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: .82rem; }
.foot-base p { margin: 0; }
.to-top { color: #4FE3CE; font-size: 1.05rem; text-decoration: none; border: 1px solid rgba(255,255,255,.2); border-radius: 9px; padding: 8px 11px; }
.to-top:hover { border-color: var(--gold); }

/* reveal */
.rv { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.rv.in { opacity: 1; transform: none; }

/* responsive */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .cards-4, .nav-bento { grid-template-columns: repeat(2,1fr); }
  .why-band { grid-template-columns: 1fr; }
  .charts { grid-template-columns: 1fr; }
  .pack-grid { grid-template-columns: repeat(2,1fr); }
  .road { grid-template-columns: repeat(3,1fr); }
  .media-grid { grid-template-columns: 1fr; }
  .media-side { grid-template-columns: repeat(3,1fr); }
}
@media (max-width: 900px) { .site-nav { display: none; } .nav-burger { display: block; } }
@media (max-width: 760px) {
  .head-tools .btn { display: none; }
  .head-row { gap: 14px; }
  .hero-grid { padding-top: var(--sp-5); }
  .stat-band, .cards-2, .cards-3, .cards-4, .nav-bento, .step-rail, .pack-grid, .road, .contact-grid, .media-side { grid-template-columns: 1fr; }
  .step-rail li + li::before { content: "\2193"; left: 50%; top: -17px; transform: translateX(-50%); }
  .sect .wrap { padding-top: var(--sp-5); padding-bottom: var(--sp-5); }
  .sect-head { flex-direction: column; gap: 8px; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .foot-grid { flex-direction: column; }
  .donut-wrap { flex-direction: column; }
  .hero, .statement { padding-bottom: 60px; }
  .hero::after, .statement::after { height: 40px; }
}

/* ============ v5 — Bootstrap grid + Chart.js + Phetsarath OT (Lao) ============ */
:lang(lo) { font-family: "Phetsarath OT", "Phetsarath", "Noto Sans Lao", var(--font-sans); }
body:lang(lo), :lang(lo) h1, :lang(lo) h2, :lang(lo) h3, :lang(lo) h4 { font-family: "Phetsarath OT", "Phetsarath", "Noto Sans Lao", var(--font-sans); }

/* header collapse (Bootstrap) */
.head-collapse { display: flex; align-items: center; gap: 22px; flex: 1; }
.site-nav { margin-left: auto; }
@media (min-width: 901px) { .head-collapse.collapse:not(.show) { display: flex !important; } .nav-burger { display: none; } }
@media (max-width: 900px) {
  .head-collapse { flex-direction: column; align-items: stretch; width: 100%; gap: 4px; padding: 8px 0 12px; }
  .site-nav { display: flex !important; flex-direction: column; margin-left: 0; gap: 0; }
  .site-nav a { padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .head-tools { padding-top: 10px; }
  .nav-burger { display: block; }
}

/* grids that are now Bootstrap .row (neutralise older CSS-grid rules) */
.stat-band, .step-rail, .road, .pack-grid { display: flex; margin-top: 0; }
.step { background: #fff; border-radius: var(--r); box-shadow: var(--card-sh); padding: 20px 22px; height: 100%; }
.step h3 { font-size: 1.1rem; margin: 2px 0 4px; }
.step p { color: var(--mut); font-size: .88rem; margin: 0; }
.step .step-n { color: var(--gold); font-family: var(--font-display); font-weight: 700; }
.road-i { background: #fff; border: 1px solid var(--line); box-shadow: var(--card-sh); border-radius: var(--r); padding: 18px 20px; border-top: 3px solid var(--acc, var(--gold)); height: 100%; }
.road-i .road-w { font-weight: 700; color: var(--acc, var(--gold)); font-size: .8rem; letter-spacing: .06em; margin: 0 0 2px; }
.road-i h3 { font-size: 1.18rem; margin-bottom: 6px; }
.road-i p:last-child { color: var(--mut); font-size: .84rem; margin: 0; }
.pack-item { background: #fff; border: 1px solid var(--line); box-shadow: var(--card-sh); color: var(--ink-2); border-radius: var(--r); padding: 12px 14px; font-size: .85rem; height: 100%; }
.pack-item .fa-check { color: var(--green); margin-right: 6px; }
.step-rail { margin-bottom: 0; }

/* donut is a Chart.js canvas now */
.donut-holder { width: 220px; height: 220px; }
.donut-holder canvas { width: 220px !important; height: 220px !important; }

/* Bootstrap row inside .wrap — keep charts holder tidy */
.charts .row, .why-band { }

/* ============ v6 — UX helpers ============ */
/* anchor offset under sticky header */
[id] { scroll-margin-top: 84px; }
/* scroll progress bar */
.scroll-prog { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: linear-gradient(90deg, var(--gold), var(--gold-deep)); z-index: 200; transition: width .1s linear; }
/* floating back-to-top */
.scroll-top { position: fixed; right: 20px; bottom: 22px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--navy); color: #4FE3CE; font-size: 1.05rem; cursor: pointer; box-shadow: var(--card-sh-hover); z-index: 90; transition: transform .15s, background .15s; }
.scroll-top:hover { transform: translateY(-2px); background: #1c2632; }
.scroll-top[hidden] { display: none; }
/* prev / next pager */
.page-pager { display: flex; justify-content: space-between; gap: 14px; padding-top: var(--sp-4); padding-bottom: var(--sp-5); }
.pager-btn { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); background: #fff; border: 1px solid var(--line); box-shadow: var(--card-sh); border-radius: var(--r); padding: 12px 18px; transition: border-color .15s, transform .15s; max-width: 46%; }
.pager-btn:hover { border-color: var(--gold); transform: translateY(-2px); }
.pager-next { margin-left: auto; text-align: right; }
.pager-btn small { display: block; color: var(--mut); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; }
.pager-btn b { font-family: var(--font-display); font-size: 1rem; }
.pager-btn i { color: var(--gold); }
/* compact CTA strip on inner pages */
.cta-strip { background: var(--bg-warm); border-top: 1px solid var(--line); }
.cta-strip .wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding: 26px 24px; }
.cta-strip p { margin: 0; font-family: var(--font-display); font-size: 1.15rem; color: var(--ink); font-weight: 600; }
@media (max-width: 560px) { .cta-strip .wrap { flex-direction: column; align-items: flex-start; } .scroll-top { right: 14px; bottom: 14px; } }
